@operato/shell 1.0.7 → 1.0.15

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/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ### [1.0.15](https://github.com/hatiolab/operato/compare/v1.0.14...v1.0.15) (2022-09-12)
7
+
8
+
9
+ ### :mega: Other
10
+
11
+ * remove comment ([7925720](https://github.com/hatiolab/operato/commit/79257204dd549948a70ceaa001525b3c568c9823))
12
+
13
+
14
+
6
15
  ### [1.0.7](https://github.com/hatiolab/operato/compare/v1.0.6...v1.0.7) (2022-07-31)
7
16
 
8
17
 
@@ -0,0 +1,6 @@
1
+ export declare const UPDATE_PAGE = "UPDATE_PAGE";
2
+ export declare const UPDATE_CONTEXT = "UPDATE_CONTEXT";
3
+ export declare const UPDATE_ACTIVE_PAGE = "UPDATE_ACTIVE_PAGE";
4
+ export declare const REGISTER_NAVIGATION_CALLBACK = "REGISTER_NAVIGATION_CALLBACK";
5
+ export declare const UNREGISTER_NAVIGATION_CALLBACK = "UNREGISTER_NAVIGATION_CALLBACK";
6
+ export declare const HOMEPAGE = "";
@@ -0,0 +1,7 @@
1
+ export const UPDATE_PAGE = 'UPDATE_PAGE';
2
+ export const UPDATE_CONTEXT = 'UPDATE_CONTEXT';
3
+ export const UPDATE_ACTIVE_PAGE = 'UPDATE_ACTIVE_PAGE';
4
+ export const REGISTER_NAVIGATION_CALLBACK = 'REGISTER_NAVIGATION_CALLBACK';
5
+ export const UNREGISTER_NAVIGATION_CALLBACK = 'UNREGISTER_NAVIGATION_CALLBACK';
6
+ export const HOMEPAGE = '';
7
+ //# sourceMappingURL=const.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"const.js","sourceRoot":"","sources":["../../../src/actions/const.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA;AACxC,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAA;AAC9C,MAAM,CAAC,MAAM,kBAAkB,GAAG,oBAAoB,CAAA;AAEtD,MAAM,CAAC,MAAM,4BAA4B,GAAG,8BAA8B,CAAA;AAC1E,MAAM,CAAC,MAAM,8BAA8B,GAAG,gCAAgC,CAAA;AAE9E,MAAM,CAAC,MAAM,QAAQ,GAAG,EAAE,CAAA","sourcesContent":["export const UPDATE_PAGE = 'UPDATE_PAGE'\nexport const UPDATE_CONTEXT = 'UPDATE_CONTEXT'\nexport const UPDATE_ACTIVE_PAGE = 'UPDATE_ACTIVE_PAGE'\n\nexport const REGISTER_NAVIGATION_CALLBACK = 'REGISTER_NAVIGATION_CALLBACK'\nexport const UNREGISTER_NAVIGATION_CALLBACK = 'UNREGISTER_NAVIGATION_CALLBACK'\n\nexport const HOMEPAGE = ''\n"]}
@@ -1,2 +1,3 @@
1
1
  export * from './app';
2
2
  export * from './route';
3
+ export * from './const';
@@ -1,3 +1,4 @@
1
1
  export * from './app';
2
2
  export * from './route';
3
+ export * from './const';
3
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA","sourcesContent":["export * from './app'\nexport * from './route'\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA","sourcesContent":["export * from './app'\nexport * from './route'\nexport * from './const'\n"]}
@@ -1,9 +1,3 @@
1
- export declare const UPDATE_PAGE = "UPDATE_PAGE";
2
- export declare const UPDATE_CONTEXT = "UPDATE_CONTEXT";
3
- export declare const UPDATE_ACTIVE_PAGE = "UPDATE_ACTIVE_PAGE";
4
- export declare const REGISTER_NAVIGATION_CALLBACK = "REGISTER_NAVIGATION_CALLBACK";
5
- export declare const UNREGISTER_NAVIGATION_CALLBACK = "UNREGISTER_NAVIGATION_CALLBACK";
6
- export declare const HOMEPAGE = "";
7
1
  /**
8
2
  * 페이지를 이동하는 방법으로는 다음 두가지가 있다.
9
3
  * 1. page link를 사용하는 방법 <a href='page'>goto page</a>
@@ -13,7 +7,7 @@ export declare const HOMEPAGE = "";
13
7
  * @param string page
14
8
  */
15
9
  export declare const navigate: (location: string, replace?: boolean) => void;
16
- export declare const navigateWithSilence: ({ pathname: path, search, params }: {
10
+ export declare const navigateWithSilence: ({ pathname, search, params }: {
17
11
  pathname: string;
18
12
  search?: string | undefined;
19
13
  params?: {
@@ -1,11 +1,6 @@
1
1
  import { getPathInfo } from '@operato/utils';
2
+ import { HOMEPAGE, UPDATE_PAGE } from '../actions/const';
2
3
  import { store } from '../store';
3
- export const UPDATE_PAGE = 'UPDATE_PAGE';
4
- export const UPDATE_CONTEXT = 'UPDATE_CONTEXT';
5
- export const UPDATE_ACTIVE_PAGE = 'UPDATE_ACTIVE_PAGE';
6
- export const REGISTER_NAVIGATION_CALLBACK = 'REGISTER_NAVIGATION_CALLBACK';
7
- export const UNREGISTER_NAVIGATION_CALLBACK = 'UNREGISTER_NAVIGATION_CALLBACK';
8
- export const HOMEPAGE = '';
9
4
  /**
10
5
  * 페이지를 이동하는 방법으로는 다음 두가지가 있다.
11
6
  * 1. page link를 사용하는 방법 <a href='page'>goto page</a>
@@ -1 +1 @@
1
- {"version":3,"file":"route.js","sourceRoot":"","sources":["../../../src/actions/route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAEhC,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA;AACxC,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAA;AAC9C,MAAM,CAAC,MAA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AAA;AACJ,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,GAAW,EAAE,EAAE;IACnC,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;IAExC,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAE9B,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;IAC/B,IAAI,CAAC,KAAK,EAAE,CAAA;IACZ,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;AACjC,CAAC,CAAA","sourcesContent":["import { getPathInfo } from '@operato/utils'\n\nimport { store } from '../store'\n\nexport const UPDATE_PAGE = 'UPDATE_PAGE'\nexport const UPDATE_CONTEXT = 'UPDATE_CONTEXT'\nexport const UPDATE_ACTIVE_PAGE = 'UPDATE_ACTIVE_PAGE'\n\nexport const REGISTER_NAVIGATION_CALLBACK = 'REGISTER_NAVIGATION_CALLBACK'\nexport const UNREGISTER_NAVIGATION_CALLBACK = 'UNREGISTER_NAVIGATION_CALLBACK'\n\nexport const HOMEPAGE = ''\n\n/**\n * 페이지를 이동하는 방법으로는 다음 두가지가 있다.\n * 1. page link를 사용하는 방법 <a href='page'>goto page</a>\n * 이 방법은 route(page)와 동일하다.\n * 2. navigate('page')를 사용하는 방법\n *\n * @param string page\n */\nexport const navigate = (location: string, replace?: boolean) => {\n if (replace) history.replaceState(history.state, '', location)\n else history.pushState({}, '', location)\n\n window.dispatchEvent(new Event('popstate'))\n}\n\nexport const navigateWithSilence =\n ({ pathname: path, search, params }: { pathname: string; search?: string; params?: { [key: string]: any } }) =>\n (dispatch: any) => {\n const { path: pathname } = getPathInfo(path)\n\n const reg = /\\/([^\\/]+)\\/*([^\\/]*)/\n const decodePath = decodeURIComponent(pathname!)\n const matchReturn = decodePath.match(reg) || []\n const page = matchReturn[1] || HOMEPAGE\n const id = matchReturn[2]\n\n if (!params) {\n params = {}\n\n new URLSearchParams(search).forEach((value, key) => {\n params![key] = value\n })\n }\n\n // Any other info you might want to extract from the path (like page type),\n // you can do here\n dispatch(loadPage(page, id, params))\n }\n\nconst _preLoadPage = (page: any) => {\n /*\n * _preLoadPage 에서는 page를 load하기 전처리를 수행한다.\n * 예를 들면, page dynamic import 또는 page re-routing\n */\n var state: any = store.getState()\n\n /* override 기능을 위해서 dependency 관계의 역순으로 route를 실행한다. */\n var modules = state.app.modules\n if (modules) {\n for (let i = modules.length - 1; i >= 0; i--) {\n let factoryModule = modules[i]\n let _page = factoryModule.route && factoryModule.route(page)\n if (_page) {\n return _page\n }\n }\n }\n}\n\nexport const loadPage = (page: string, id: string, params: { [key: string]: any }) => (dispatch: any) => {\n var newPage = _preLoadPage(page)\n\n if (page !== newPage && newPage.indexOf('/') == 0) {\n dispatch(\n navigateWithSilence({\n pathname: newPage,\n params\n })\n )\n return\n }\n\n dispatch({\n type: UPDATE_PAGE,\n page: newPage,\n resourceId: id,\n params\n })\n}\n\nexport const route = (url: string) => {\n const link = document.createElement('a')\n\n link.setAttribute('href', url)\n\n document.body.appendChild(link)\n link.click()\n document.body.removeChild(link)\n}\n"]}
1
+ {"version":3,"file":"route.js","sourceRoot":"","sources":["../../../src/actions/route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAEhC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,QAAgB,EAAE,OAAiB,EAAE,EAAE;IAC9D,IAAI,OAAO;QAAE,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;;QACzD,OAAO,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;IAEx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store } from '../store'\n\n/**\n * 페이지를 이동하는 방법으로는 다음 두가지가 있다.\n * 1. page link를 사용하는 방법 <a href='page'>goto page</a>\n * 이 방법은 route(page)와 동일하다.\n * 2. navigate('page')를 사용하는 방법\n *\n * @param string page\n */\nexport const navigate = (location: string, replace?: boolean) => {\n if (replace) history.replaceState(history.state, '', location)\n else history.pushState({}, '', location)\n\n window.dispatchEvent(new Event('popstate'))\n}\n\nexport const navigateWithSilence =\n ({ pathname: path, search, params }: { pathname: string; search?: string; params?: { [key: string]: any } }) =>\n (dispatch: any) => {\n const { path: pathname } = getPathInfo(path)\n\n const reg = /\\/([^\\/]+)\\/*([^\\/]*)/\n const decodePath = decodeURIComponent(pathname!)\n const matchReturn = decodePath.match(reg) || []\n const page = matchReturn[1] || HOMEPAGE\n const id = matchReturn[2]\n\n if (!params) {\n params = {}\n\n new URLSearchParams(search).forEach((value, key) => {\n params![key] = value\n })\n }\n\n // Any other info you might want to extract from the path (like page type),\n // you can do here\n dispatch(loadPage(page, id, params))\n }\n\nconst _preLoadPage = (page: any) => {\n /*\n * _preLoadPage 에서는 page를 load하기 전처리를 수행한다.\n * 예를 들면, page dynamic import 또는 page re-routing\n */\n var state: any = store.getState()\n\n /* override 기능을 위해서 dependency 관계의 역순으로 route를 실행한다. */\n var modules = state.app.modules\n if (modules) {\n for (let i = modules.length - 1; i >= 0; i--) {\n let factoryModule = modules[i]\n let _page = factoryModule.route && factoryModule.route(page)\n if (_page) {\n return _page\n }\n }\n }\n}\n\nexport const loadPage = (page: string, id: string, params: { [key: string]: any }) => (dispatch: any) => {\n var newPage = _preLoadPage(page)\n\n if (page !== newPage && newPage.indexOf('/') == 0) {\n dispatch(\n navigateWithSilence({\n pathname: newPage,\n params\n })\n )\n return\n }\n\n dispatch({\n type: UPDATE_PAGE,\n page: newPage,\n resourceId: id,\n params\n })\n}\n\nexport const route = (url: string) => {\n const link = document.createElement('a')\n\n link.setAttribute('href', url)\n\n document.body.appendChild(link)\n link.click()\n document.body.removeChild(link)\n}\n"]}
@@ -5,8 +5,7 @@ import { connect } from 'pwa-helpers/connect-mixin.js';
5
5
  import { installRouter } from 'pwa-helpers/router.js';
6
6
  import { ScrollbarStyles } from '@operato/styles';
7
7
  import { getPathInfo } from '@operato/utils';
8
- import { UPDATE_CONTEXT_PATH, UPDATE_MODULES } from '../actions/app';
9
- import { navigateWithSilence, UPDATE_ACTIVE_PAGE } from '../actions/route';
8
+ import { navigateWithSilence, UPDATE_ACTIVE_PAGE, UPDATE_CONTEXT_PATH, UPDATE_MODULES } from '../actions';
10
9
  import { store } from '../store';
11
10
  import { AppStyle } from './app-style';
12
11
  let ThingsApp = class ThingsApp extends connect(store)(LitElement) {
@@ -1 +1 @@
1
- {"version":3,"file":"app.js","sourceRoot":"","sources":["../../../src/app/app.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAkB,MAAM,KAAK,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAErD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AACpE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAGtC,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,OAAO,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC;IAmChD;QACE,KAAK,EAAE,CAAA;QA/BA,WAAM,GAA+B,EAAE,CAAA;QAGvC,eAAU,G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,EAAE;YAC1B,CAAC,CAAC,MAAM;gBACN,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;oBAC9B,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;wBAC5B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,OAAO,CAAA;qBACxC;gBACH,CAAC,CAAC,CAAA;QACN,CAAC,CAAC,CAAA;IACJ,CAAC;IAED,OAAO;QACL,IAAI,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAA;QACzC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;IAC/E,CAAC;CACF,CAAA;AA5LQ,gBAAM,GAAG,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAA;AAElC;IAAR,KAAK,EAAE;+CAAsB;AACrB;IAAR,KAAK,EAAE;wCAAe;AACd;IAAR,KAAK,EAAE;yCAAwC;AACvC;IAAR,KAAK,EAAE;8CAAqB;AACpB;IAAR,KAAK,EAAE;0CAAc;AACb;IAAR,KAAK,EAAE;6CAA4B;AAC3B;IAAR,KAAK,EAAE;8CAAiB;AAChB;IAAR,KAAK,EAAE;2CAAc;AACb;IAAR,KAAK,EAAE;2CAA0B;AAX9B,SAAS;IADd,aAAa,CAAC,YAAY,CAAC;GACtB,SAAS,CA6Ld","sourcesContent":["import { html, LitElement, PropertyValues } from 'lit'\nimport { customElement, state } from 'lit/decorators.js'\nimport { connect } from 'pwa-helpers/connect-mixin.js'\nimport { installRouter } from 'pwa-helpers/router.js'\n\nimport { ScrollbarStyles } from '@operato/styles'\nimport { getPathInfo } from '@operato/utils'\n\nimport { UPDATE_CONTEXT_PATH, UPDATE_MODULES } from '../actions/app'\nimport { navigateWithSilence, UPDATE_ACTIVE_PAGE } from '../actions/route'\nimport { store } from '../store'\nimport { AppStyle } from './app-style'\n\n@customElement('things-app')\nclass ThingsApp extends connect(store)(LitElement) {\n static styles = [ScrollbarStyles, AppStyle]\n\n @state() _contextPath?: string\n @state() _page?: string\n @state() _pages: { [path: string]: string } = {}\n @state() _resourceId?: string\n @state() _params?: any\n @state() _callbacks: Array<any> = []\n @state() _activePage: any\n @state() _context: any\n @state() _modules: Array<any> = []\n\n _moduleInitialized = false\n\n render() {\n var params = this._params || {}\n var fullbleed = (this._context && this._context.fullbleed) || (params.fullbleed && params.fullbleed == 'Y')\n var widebleed = (this._context && this._context.widebleed) || (params.widebleed && params.widebleed == 'Y')\n\n return html`\n <ox-header-bar ?fullbleed=${fullbleed}></ox-header-bar>\n\n <ox-nav-bar ?fullbleed=${fullbleed || widebleed}></ox-nav-bar>\n\n <main></main>\n\n <ox-aside-bar ?fullbleed=${fullbleed || widebleed}></ox-aside-bar>\n\n <ox-footer-bar ?fullbleed=${fullbleed}></ox-footer-bar>\n\n <ox-snack-bar></ox-snack-bar>\n `\n }\n\n constructor() {\n super()\n }\n\n connectedCallback() {\n super.connectedCallback()\n\n /* 모듈 임포트를 동적으로 처리한다. */\n import(\n /* webpackPrefetch: true */\n /* webpackPreload: true */\n /* webpackChunkName: \"modules\" */\n '../module-importer.import'\n ).then(module => {\n var modules: {\n name: string\n bootstrap: any\n }[] = module.modules\n\n /* lifecycle - bootstrapping */\n this.dispatchEvent(new Event('lifecycle-bootstrap-begin'))\n modules.forEach((m, idx) => {\n try {\n m.bootstrap && m.bootstrap()\n // console.info(`[${idx} BOOTSTRAPED - ${m.name}]`)\n } catch (e) {\n console.error(`[${idx} BOOTSTRAP ERROR -${m.name}]`, e)\n }\n })\n this.dispatchEvent(new Event('lifecycle-bootstrap-finish'))\n\n /* shouldUpdate를 활성화한다. */\n this._moduleInitialized = true\n\n /* modules를 store에 dispatch 함으로써, update를 invoke 시킨다. */\n store.dispatch({\n type: UPDATE_MODULES,\n modules\n })\n\n installRouter((location, e) => {\n var { contextPath } = getPathInfo(location.pathname)\n\n if (this._contextPath !== contextPath) {\n store.dispatch({\n type: UPDATE_CONTEXT_PATH,\n contextPath\n })\n }\n\n store.dispatch(navigateWithSilence(location) as any)\n this._callbacks &&\n this._callbacks.forEach(callback => {\n try {\n callback.call(this, location, e)\n } catch (ex) {\n console.error(ex)\n }\n })\n })\n })\n\n this.setBase()\n }\n\n routeToPage() {\n let activePages = this.renderRoot.querySelectorAll('main > .page[active]')\n activePages.forEach(page => {\n page.removeAttribute('active')\n })\n\n this._activePage = this.renderRoot.querySelector(`main > .page[data-page=${this._page}]`)\n\n if (!this._activePage) {\n /* 해당 route에 연결된 page가 없는 경우에 main 섹션에 해당 element를 추가해준다. */\n var tagname = this._pages[this._page!]\n if (tagname) {\n var main = this.renderRoot.querySelector('main')\n\n var el = document.createElement(tagname)\n el.setAttribute('class', 'page')\n el.setAttribute('data-page', this._page!)\n\n main?.appendChild(el)\n\n this._activePage = el\n }\n }\n\n if (this._activePage) {\n this._activePage.setAttribute('active', true)\n this._activePage.setAttribute('context-path', this._contextPath)\n this._activePage.lifecycle = {\n ...(this._activePage.lifecycle || {}),\n active: true,\n params: this._params,\n resourceId: this._resourceId,\n page: this._page\n }\n }\n\n store.dispatch({\n type: UPDATE_ACTIVE_PAGE,\n activePage: this._activePage\n })\n }\n\n async updated(changes: PropertyValues<this>) {\n if (changes.has('_modules')) {\n this._readyPageList()\n }\n\n if (changes.has('_page') || changes.has('_resourceId') || changes.has('_params')) {\n this.routeToPage()\n }\n\n if (changes.has('_contextPath')) {\n this.setBase()\n }\n }\n\n shouldUpdate() {\n return this._moduleInitialized\n }\n\n stateChanged(state: any) {\n this._page = state.route.page\n this._params = state.route.params\n this._resourceId = state.route.resourceId\n this._callbacks = state.route.callbacks\n this._context = state.route.context\n this._modules = state.app.modules\n this._contextPath = state.app.contextPath\n }\n\n _readyPageList() {\n var reversedModules = [...this._modules].reverse()\n this._pages = {}\n\n /* 모듈 참조 순서 역순으로 page를 추가한다. (for overidable) */\n reversedModules.forEach(m => {\n m.routes &&\n m.routes.forEach((route: any) => {\n if (!this._pages[route.page]) {\n this._pages[route.page] = route.tagname\n }\n })\n })\n }\n\n setBase() {\n var base = document.querySelector('base')\n base?.setAttribute('href', this._contextPath ? `${this._contextPath}/` : '/')\n }\n}\n"]}
1
+ {"version":3,"file":"app.js","sourceRoot":"","sources":["../../../src/app/app.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAkB,MAAM,KAAK,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAErD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AACzG,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAGtC,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,OAAO,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC;IAmChD;QACE,KAAK,EAAE,CAAA;QA/BA,WAAM,GAA+B,EAAE,CAAA;QAGvC,eAAU,GAAe,EAAE,CAAA;QAG3B,aAAQ,GAAe,EAAE,CAAA;QAElC,uBAAkB,GAAG,KAAK,CAAA;IAwB1B,CAAC;IAtBD,MAAM;QACJ,IAAI,MAAM,GAAG,IAAI,CAAC,OAAO,IAAI,EAAE,CAAA;QAC/B,IAAI,SAAS,GAAG,CAAC,IAAI,CAAC,QAAQ,IAA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CAAC,GAAG,KAAK,CAAC,OAAO,CAAA;qBACxC;gBACH,CAAC,CAAC,CAAA;QACN,CAAC,CAAC,CAAA;IACJ,CAAC;IAED,OAAO;QACL,IAAI,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAA;QACzC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;IAC/E,CAAC;;AA3LM,gBAAM,GAAG,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAA;AAElC;IAAR,KAAK,EAAE;+CAAsB;AACrB;IAAR,KAAK,EAAE;wCAAe;AACd;IAAR,KAAK,EAAE;yCAAwC;AACvC;IAAR,KAAK,EAAE;8CAAqB;AACpB;IAAR,KAAK,EAAE;0CAAc;AACb;IAAR,KAAK,EAAE;6CAA4B;AAC3B;IAAR,KAAK,EAAE;8CAAiB;AAChB;IAAR,KAAK,EAAE;2CAAc;AACb;IAAR,KAAK,EAAE;2CAA0B;AAX9B,SAAS;IADd,aAAa,CAAC,YAAY,CAAC;GACtB,SAAS,CA6Ld","sourcesContent":["import { html, LitElement, PropertyValues } from 'lit'\nimport { customElement, state } from 'lit/decorators.js'\nimport { connect } from 'pwa-helpers/connect-mixin.js'\nimport { installRouter } from 'pwa-helpers/router.js'\n\nimport { ScrollbarStyles } from '@operato/styles'\nimport { getPathInfo } from '@operato/utils'\n\nimport { navigateWithSilence, UPDATE_ACTIVE_PAGE, UPDATE_CONTEXT_PATH, UPDATE_MODULES } from '../actions'\nimport { store } from '../store'\nimport { AppStyle } from './app-style'\n\n@customElement('things-app')\nclass ThingsApp extends connect(store)(LitElement) {\n static styles = [ScrollbarStyles, AppStyle]\n\n @state() _contextPath?: string\n @state() _page?: string\n @state() _pages: { [path: string]: string } = {}\n @state() _resourceId?: string\n @state() _params?: any\n @state() _callbacks: Array<any> = []\n @state() _activePage: any\n @state() _context: any\n @state() _modules: Array<any> = []\n\n _moduleInitialized = false\n\n render() {\n var params = this._params || {}\n var fullbleed = (this._context && this._context.fullbleed) || (params.fullbleed && params.fullbleed == 'Y')\n var widebleed = (this._context && this._context.widebleed) || (params.widebleed && params.widebleed == 'Y')\n\n return html`\n <ox-header-bar ?fullbleed=${fullbleed}></ox-header-bar>\n\n <ox-nav-bar ?fullbleed=${fullbleed || widebleed}></ox-nav-bar>\n\n <main></main>\n\n <ox-aside-bar ?fullbleed=${fullbleed || widebleed}></ox-aside-bar>\n\n <ox-footer-bar ?fullbleed=${fullbleed}></ox-footer-bar>\n\n <ox-snack-bar></ox-snack-bar>\n `\n }\n\n constructor() {\n super()\n }\n\n connectedCallback() {\n super.connectedCallback()\n\n /* 모듈 임포트를 동적으로 처리한다. */\n import(\n /* webpackPrefetch: true */\n /* webpackPreload: true */\n /* webpackChunkName: \"modules\" */\n '../module-importer.import'\n ).then(module => {\n var modules: {\n name: string\n bootstrap: any\n }[] = module.modules\n\n /* lifecycle - bootstrapping */\n this.dispatchEvent(new Event('lifecycle-bootstrap-begin'))\n modules.forEach((m, idx) => {\n try {\n m.bootstrap && m.bootstrap()\n // console.info(`[${idx} BOOTSTRAPED - ${m.name}]`)\n } catch (e) {\n console.error(`[${idx} BOOTSTRAP ERROR -${m.name}]`, e)\n }\n })\n this.dispatchEvent(new Event('lifecycle-bootstrap-finish'))\n\n /* shouldUpdate를 활성화한다. */\n this._moduleInitialized = true\n\n /* modules를 store에 dispatch 함으로써, update를 invoke 시킨다. */\n store.dispatch({\n type: UPDATE_MODULES,\n modules\n })\n\n installRouter((location, e) => {\n var { contextPath } = getPathInfo(location.pathname)\n\n if (this._contextPath !== contextPath) {\n store.dispatch({\n type: UPDATE_CONTEXT_PATH,\n contextPath\n })\n }\n\n store.dispatch(navigateWithSilence(location) as any)\n this._callbacks &&\n this._callbacks.forEach(callback => {\n try {\n callback.call(this, location, e)\n } catch (ex) {\n console.error(ex)\n }\n })\n })\n })\n\n this.setBase()\n }\n\n routeToPage() {\n let activePages = this.renderRoot.querySelectorAll('main > .page[active]')\n activePages.forEach(page => {\n page.removeAttribute('active')\n })\n\n this._activePage = this.renderRoot.querySelector(`main > .page[data-page=${this._page}]`)\n\n if (!this._activePage) {\n /* 해당 route에 연결된 page가 없는 경우에 main 섹션에 해당 element를 추가해준다. */\n var tagname = this._pages[this._page!]\n if (tagname) {\n var main = this.renderRoot.querySelector('main')\n\n var el = document.createElement(tagname)\n el.setAttribute('class', 'page')\n el.setAttribute('data-page', this._page!)\n\n main?.appendChild(el)\n\n this._activePage = el\n }\n }\n\n if (this._activePage) {\n this._activePage.setAttribute('active', true)\n this._activePage.setAttribute('context-path', this._contextPath)\n this._activePage.lifecycle = {\n ...(this._activePage.lifecycle || {}),\n active: true,\n params: this._params,\n resourceId: this._resourceId,\n page: this._page\n }\n }\n\n store.dispatch({\n type: UPDATE_ACTIVE_PAGE,\n activePage: this._activePage\n })\n }\n\n async updated(changes: PropertyValues<this>) {\n if (changes.has('_modules')) {\n this._readyPageList()\n }\n\n if (changes.has('_page') || changes.has('_resourceId') || changes.has('_params')) {\n this.routeToPage()\n }\n\n if (changes.has('_contextPath')) {\n this.setBase()\n }\n }\n\n shouldUpdate() {\n return this._moduleInitialized\n }\n\n stateChanged(state: any) {\n this._page = state.route.page\n this._params = state.route.params\n this._resourceId = state.route.resourceId\n this._callbacks = state.route.callbacks\n this._context = state.route.context\n this._modules = state.app.modules\n this._contextPath = state.app.contextPath\n }\n\n _readyPageList() {\n var reversedModules = [...this._modules].reverse()\n this._pages = {}\n\n /* 모듈 참조 순서 역순으로 page를 추가한다. (for overidable) */\n reversedModules.forEach(m => {\n m.routes &&\n m.routes.forEach((route: any) => {\n if (!this._pages[route.page]) {\n this._pages[route.page] = route.tagname\n }\n })\n })\n }\n\n setBase() {\n var base = document.querySelector('base')\n base?.setAttribute('href', this._contextPath ? `${this._contextPath}/` : '/')\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"page-404.js","sourceRoot":"","sources":["../../../../src/app/pages/page-404.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAGtC,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,QAAQ;IAkCnC,IAAI,OAAO;QACT,OAAO;YACL,KAAK,EAAE,gBAAgB;SACxB,CAAA;IACH,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAA;;;;;;KAMV,CAAA;IACH,CAAC;CACF,CAAA;AAhDQ,cAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BlB,CAAA;AAhCU,OAAO;IADnB,aAAa,CAAC,UAAU,CAAC;GACb,OAAO,CAiDnB;SAjDY,OAAO","sourcesContent":["import { css, html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { PageView } from './page-view'\n\n@customElement('page-404')\nexport class Page404 extends PageView {\n static styles = css`\n :host {\n display: block;\n box-sizing: border-box;\n background-color: var(--main-section-background-color);\n --padding-wide: 15%;\n }\n section {\n padding: var(--padding-wide) 0 0 0;\n text-align: center;\n color: var(--secondary-color);\n }\n mwc-icon {\n --mdc-icon-size: 120px;\n color: var(--status-danger-color);\n text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);\n }\n h2 {\n margin: 0 auto;\n font-size: 2.5em;\n text-transform: capitalize;\n }\n @media only screen and (max-width: 460px) {\n mwc-icon {\n padding-top: 25%;\n --mdc-icon-size: 90px;\n }\n h2 {\n font-size: 2em;\n }\n }\n `\n\n get context() {\n return {\n title: 'Page Not Found'\n }\n }\n\n render() {\n return html`\n <section>\n <mwc-icon>error_outline</mwc-icon>\n <h2>page not found!</h2>\n The page you requested cannot be found.\n </section>\n `\n }\n}\n"]}
1
+ {"version":3,"file":"page-404.js","sourceRoot":"","sources":["../../../../src/app/pages/page-404.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAG/B,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,QAAQ;IAkCnC,IAAI,OAAO;QACT,OAAO;YACL,KAAK,EAAE,gBAAgB;SACxB,CAAA;IACH,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAA;;;;;;KAMV,CAAA;IACH,CAAC;;AA/CM,cAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BlB,CAAA;AAhCU,OAAO;IADnB,aAAa,CAAC,UAAU,CAAC;GACb,OAAO,CAiDnB;SAjDY,OAAO","sourcesContent":["import { css, html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { PageView } from './page-view'\n\n@customElement('page-404')\nexport class Page404 extends PageView {\n static styles = css`\n :host {\n display: block;\n box-sizing: border-box;\n background-color: var(--main-section-background-color);\n --padding-wide: 15%;\n }\n section {\n padding: var(--padding-wide) 0 0 0;\n text-align: center;\n color: var(--secondary-color);\n }\n mwc-icon {\n --mdc-icon-size: 120px;\n color: var(--status-danger-color);\n text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);\n }\n h2 {\n margin: 0 auto;\n font-size: 2.5em;\n text-transform: capitalize;\n }\n @media only screen and (max-width: 460px) {\n mwc-icon {\n padding-top: 25%;\n --mdc-icon-size: 90px;\n }\n h2 {\n font-size: 2em;\n }\n }\n `\n\n get context() {\n return {\n title: 'Page Not Found'\n }\n }\n\n render() {\n return html`\n <section>\n <mwc-icon>error_outline</mwc-icon>\n <h2>page not found!</h2>\n The page you requested cannot be found.\n </section>\n `\n }\n}\n"]}
@@ -2,7 +2,7 @@ import { __decorate } from "tslib";
2
2
  import { LitElement } from 'lit';
3
3
  import { property } from 'lit/decorators.js';
4
4
  import isEqual from 'lodash-es/isEqual';
5
- import { UPDATE_CONTEXT } from '../../actions/route';
5
+ import { UPDATE_CONTEXT } from '../../actions/const';
6
6
  import { store } from '../../store';
7
7
  function diff(after, before) {
8
8
  var changed = false;
@@ -1 +1 @@
1
- {"version":3,"file":"page-view.js","sourceRoot":"","sources":["../../../../src/app/pages/page-view.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAkB,MAAM,KAAK,CAAA;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAC5C,OAAO,OAAO,MAAM,mBAAmB,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAEnC,SAAS,IAAI,CAAC,KAAU,EAAE,MAAW;IACnC,IAAI,OAAO,GAAG,KAAK,CAAA;IACnB,IAAI,OAAO,GAA2B,EAAE,CAAA;IAExC,MAAM,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,UAAU,GAAG;QACrD,IAAI,UAAU,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;QAC5B,IAAI,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC,CAAA;QAE1B,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,SAAS,CAAC,EAAE;YACnC,OAAO,CAAC,GAAG,CAAC,GAAG,SAAS,CAAA;YACxB,OAAO,GAAG,IAAI,CAAA;SACf;IACH,CAAC,CAAC,CAAA;IAEF,OAAO,OAAO,IAAI,OAAO,CAAA;AAC3B,CAAC;AAED,MAAM,OAAO,QAAS,SAAQ,UAAU;IAAxC;;QAwB+B,WAAM,GAAY,KAAK,CAAA;IA6FtD,CAAC;IApHC,kDAAkD;IAClD,YAAY,CAAC,OAA6B;QACxC,IAAI,MAA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C,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO;SACpE,CAAC,CAAA;IACJ,CAAC;IAED,IAAI,OAAO;QACT,OAAO,EAAE,CAAA;IACX,CAAC;CACF;AA7F8B;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;wCAAwB;AACxB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;2CAAe;AACa;IAAtD,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC;6CAAqB","sourcesContent":["import { LitElement, PropertyValues } from 'lit'\nimport { property } from 'lit/decorators.js'\nimport isEqual from 'lodash-es/isEqual'\n\nimport { UPDATE_CONTEXT } from '../../actions/route'\nimport { store } from '../../store'\n\nfunction diff(after: any, before: any): any {\n var changed = false\n var changes: { [key: string]: any } = {}\n\n Object.getOwnPropertyNames(after).forEach(function (key) {\n let before_val = before[key]\n let after_val = after[key]\n\n if (!isEqual(before_val, after_val)) {\n changes[key] = after_val\n changed = true\n }\n })\n\n return changed && changes\n}\n\nexport class PageView extends LitElement {\n // Only render this page if it's actually visible.\n shouldUpdate(changes: PropertyValues<this>) {\n var active = String(this.active) == 'true'\n var { active: oldActive = false } = this._oldLifecycleInfo$ || {}\n\n /*\n * page lifecycle\n * case 1. page가 새로 activate 되었다.\n * case 2. page가 active 상태에서 lifecycle 정보가 바뀌었다.\n **/\n if (active) {\n this.pageUpdate({\n active\n })\n } else if (oldActive) {\n this.pageUpdate({\n active\n })\n }\n\n return active\n }\n\n @property({ type: Boolean }) active: boolean = false\n @property({ type: Object }) lifecycle: any\n @property({ type: String, attribute: 'context-path' }) contextPath?: string\n\n _oldLifecycleInfo$: any\n\n /* lifecycle */\n async pageUpdate(changes: any = {}, force: boolean = false) {\n var before = this._oldLifecycleInfo$ || {}\n\n var after = {\n ...before,\n ...this.lifecycle,\n contextPath: this.contextPath,\n ...changes\n }\n\n if (!('initialized' in changes) && after.active && !before.initialized) {\n after.initialized = true\n }\n\n if (force) {\n after.updated = Date.now()\n }\n\n var changed = diff(after, before)\n if (!changed) {\n return\n }\n\n this._oldLifecycleInfo$ = after\n\n /* page의 이미 초기화된 상태에서 contextPath가 바뀐다면, 무조건 page가 리셋되어야 한다. */\n if (before.initialized && changed.contextPath) {\n await this.pageReset()\n return\n }\n\n if (changed.initialized) {\n await this.pageInitialized(after)\n }\n\n if ('initialized' in changed) {\n if (changed.initialized) {\n /*\n * 방금 초기화된 경우라면, 엘리먼트들이 만들어지지 않았을 가능성이 있으므로,\n * 다음 animationFrame에서 pageUpdated 콜백을 호출한다.\n */\n requestAnimationFrame(async () => {\n await this.pageUpdated(changed, after, before)\n /* active page인 경우에는, page Context 갱신도 필요할 것이다. */\n after.active && this.updateContext()\n })\n } else {\n await this.pageDisposed(after)\n }\n } else {\n await this.pageUpdated(changed, after, before)\n /* active page인 경우에는, page Context 갱신도 필요할 것이다. */\n after.active && this.updateContext()\n }\n }\n\n async pageReset() {\n var { initialized } = this._oldLifecycleInfo$ || {}\n\n if (initialized) {\n await this.pageDispose()\n await this.pageUpdate({}, true)\n }\n }\n\n async pageDispose() {\n await this.pageUpdate({\n initialized: false\n })\n }\n\n pageInitialized(pageInfo: any) {}\n pageUpdated(changes: any, after: any, before: any) {}\n pageDisposed(pageInfo: any) {}\n\n /* context */\n updateContext(override?: any) {\n store.dispatch({\n type: UPDATE_CONTEXT,\n context: override ? { ...this.context, ...override } : this.context\n })\n }\n\n get context() {\n return {}\n }\n}\n"]}
1
+ {"version":3,"file":"page-view.js","sourceRoot":"","sources":["../../../../src/app/pages/page-view.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAkB,MAAM,KAAK,CAAA;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAC5C,OAAO,OAAO,MAAM,mBAAmB,CA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import { property } from 'lit/decorators.js'\nimport isEqual from 'lodash-es/isEqual'\n\nimport { UPDATE_CONTEXT } from '../../actions/const'\nimport { store } from '../../store'\n\nfunction diff(after: any, before: any): any {\n var changed = false\n var changes: { [key: string]: any } = {}\n\n Object.getOwnPropertyNames(after).forEach(function (key) {\n let before_val = before[key]\n let after_val = after[key]\n\n if (!isEqual(before_val, after_val)) {\n changes[key] = after_val\n changed = true\n }\n })\n\n return changed && changes\n}\n\nexport class PageView extends LitElement {\n // Only render this page if it's actually visible.\n shouldUpdate(changes: PropertyValues<this>) {\n var active = String(this.active) == 'true'\n var { active: oldActive = false } = this._oldLifecycleInfo$ || {}\n\n /*\n * page lifecycle\n * case 1. page가 새로 activate 되었다.\n * case 2. page가 active 상태에서 lifecycle 정보가 바뀌었다.\n **/\n if (active) {\n this.pageUpdate({\n active\n })\n } else if (oldActive) {\n this.pageUpdate({\n active\n })\n }\n\n return active\n }\n\n @property({ type: Boolean }) active: boolean = false\n @property({ type: Object }) lifecycle: any\n @property({ type: String, attribute: 'context-path' }) contextPath?: string\n\n _oldLifecycleInfo$: any\n\n /* lifecycle */\n async pageUpdate(changes: any = {}, force: boolean = false) {\n var before = this._oldLifecycleInfo$ || {}\n\n var after = {\n ...before,\n ...this.lifecycle,\n contextPath: this.contextPath,\n ...changes\n }\n\n if (!('initialized' in changes) && after.active && !before.initialized) {\n after.initialized = true\n }\n\n if (force) {\n after.updated = Date.now()\n }\n\n var changed = diff(after, before)\n if (!changed) {\n return\n }\n\n this._oldLifecycleInfo$ = after\n\n /* page의 이미 초기화된 상태에서 contextPath가 바뀐다면, 무조건 page가 리셋되어야 한다. */\n if (before.initialized && changed.contextPath) {\n await this.pageReset()\n return\n }\n\n if (changed.initialized) {\n await this.pageInitialized(after)\n }\n\n if ('initialized' in changed) {\n if (changed.initialized) {\n /*\n * 방금 초기화된 경우라면, 엘리먼트들이 만들어지지 않았을 가능성이 있으므로,\n * 다음 animationFrame에서 pageUpdated 콜백을 호출한다.\n */\n requestAnimationFrame(async () => {\n await this.pageUpdated(changed, after, before)\n /* active page인 경우에는, page Context 갱신도 필요할 것이다. */\n after.active && this.updateContext()\n })\n } else {\n await this.pageDisposed(after)\n }\n } else {\n await this.pageUpdated(changed, after, before)\n /* active page인 경우에는, page Context 갱신도 필요할 것이다. */\n after.active && this.updateContext()\n }\n }\n\n async pageReset() {\n var { initialized } = this._oldLifecycleInfo$ || {}\n\n if (initialized) {\n await this.pageDispose()\n await this.pageUpdate({}, true)\n }\n }\n\n async pageDispose() {\n await this.pageUpdate({\n initialized: false\n })\n }\n\n pageInitialized(pageInfo: any) {}\n pageUpdated(changes: any, after: any, before: any) {}\n pageDisposed(pageInfo: any) {}\n\n /* context */\n updateContext(override?: any) {\n store.dispatch({\n type: UPDATE_CONTEXT,\n context: override ? { ...this.context, ...override } : this.context\n })\n }\n\n get context() {\n return {}\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"home.js","sourceRoot":"","sources":["../../../../src/entries/public/home.ts"],"names":[],"mappings":";AAAA,OAAO,2BAA2B,CAAA;AAClC,OAAO,sBAAsB,CAAA;AAE7B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAGjD,IAAa,QAAQ,GAArB,MAAa,QAAS,SAAQ,UAAU;IA0DtC,MAAM;QACJ,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,eAAe,CAAA;QAEvD,OAAO,IAAI,CAAA;iDACkC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAG,GAAG,CAAC;;;kBAGjE,KAAK;UACb,WAAW;;;KAGhB,CAAA;IACH,CAAC;IAED,IAAI,eAAe;QACjB,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE;YAC1B,IAAI,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,8BAA8B,CAAoB,CAAA;YACxF,IAAI,SAAS,GAAG,QAAQ,CAAC,aAAa,CAAC,+BAA+B,CAAoB,CAAA;YAC1F,IAAI,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC,sCAAsC,CAAoB,CAAA;YAEvG,IAAI,CAAC,gBAAgB,GAAG;gBACtB,IAAI,EAAE,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI;gBACpB,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,gBAAgB;gBACvD,WAAW,EAAE,eAAe,CAAC,CAAC,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,sBAAsB;aAChF,CAAA;SACF;QAED,OAAO,IAAI,CAAC,gBAAgB,CAAA;IAC9B,CAAC;CACF,CAAA;AAtFQ,eAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDlB,CAAA;AAlDU,QAAQ;IADpB,aAAa,CAAC,WAAW,CAAC;GACd,QAAQ,CAuFpB;SAvFY,QAAQ","sourcesContent":["import '@material/mwc-icon-button'\nimport '@material/mwc-button'\n\nimport { css, html, LitElement } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\n@customElement('home-page')\nexport class HomePage extends LitElement {\n static styles = css`\n :host {\n background-color: var(--main-section-background-color);\n\n display: block;\n position: relative;\n\n --mdc-theme-primary: white;\n }\n\n [home] {\n position: absolute;\n left: 20px;\n top: 20px;\n font-size: 2em;\n color: white;\n }\n\n [message] {\n background-color: rgba(50, 66, 97, 0.8);\n padding: 60px 50px 0 50px;\n color: #fff;\n text-align: center;\n font-size: 20px;\n }\n [message] strong {\n display: block;\n font-size: 2.5rem;\n }\n [message] img {\n width: 450px;\n max-width: 90%;\n display: block;\n margin: auto;\n margin-top: 20px;\n }\n\n @media screen and (max-width: 480px) {\n [message] {\n padding: 60px 30px 0 30px;\n color: #fff;\n text-align: center;\n font-size: 15px;\n }\n\n [message] strong {\n font-size: 1.6rem;\n }\n }\n `\n\n _applicationMeta?: {\n icon: string\n title: string\n description: string\n }\n\n render() {\n var { icon, title, description } = this.applicationMeta\n\n return html`\n <mwc-icon-button home icon=\"home\" @click=${() => (window.location.href = '/')}></mwc-icon-button>\n\n <div message>\n <strong>${title}</strong>\n ${description}\n <img src=\"/assets/images/home.png\" />\n </div>\n `\n }\n\n get applicationMeta() {\n if (!this._applicationMeta) {\n var iconLink = document.querySelector('link[rel=\"application-icon\"]') as HTMLLinkElement\n var titleMeta = document.querySelector('meta[name=\"application-name\"]') as HTMLMetaElement\n var descriptionMeta = document.querySelector('meta[name=\"application-description\"]') as HTMLMetaElement\n\n this._applicationMeta = {\n icon: iconLink?.href,\n title: titleMeta ? titleMeta.content : 'Things Factory',\n description: descriptionMeta ? descriptionMeta.content : 'Reimagining Software'\n }\n }\n\n return this._applicationMeta\n }\n}\n"]}
1
+ {"version":3,"file":"home.js","sourceRoot":"","sources":["../../../../src/entries/public/home.ts"],"names":[],"mappings":";AAAA,OAAO,2BAA2B,CAAA;AAClC,OAAO,sBAAsB,CAAA;AAE7B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAG1C,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,UAAU;IA0DtC,MAAM;QACJ,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,eAAe,CAAA;QAEvD,OAAO,IAAI,CAAA;iDACkC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAG,GAAG,CAAC;;;kBAGjE,KAAK;UACb,WAAW;;;KAGhB,CAAA;IACH,CAAC;IAED,IAAI,eAAe;QACjB,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE;YAC1B,IAAI,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,8BAA8B,CAAoB,CAAA;YACxF,IAAI,SAAS,GAAG,QAAQ,CAAC,aAAa,CAAC,+BAA+B,CAAoB,CAAA;YAC1F,IAAI,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC,sCAAsC,CAAoB,CAAA;YAEvG,IAAI,CAAC,gBAAgB,GAAG;gBACtB,IAAI,EAAE,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI;gBACpB,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,gBAAgB;gBACvD,WAAW,EAAE,eAAe,CAAC,CAAC,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,sBAAsB;aAChF,CAAA;SACF;QAED,OAAO,IAAI,CAAC,gBAAgB,CAAA;IAC9B,CAAC;;AArFM,eAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDlB,CAAA;AAlDU,QAAQ;IADpB,aAAa,CAAC,WAAW,CAAC;GACd,QAAQ,CAuFpB;SAvFY,QAAQ","sourcesContent":["import '@material/mwc-icon-button'\nimport '@material/mwc-button'\n\nimport { css, html, LitElement } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\n@customElement('home-page')\nexport class HomePage extends LitElement {\n static styles = css`\n :host {\n background-color: var(--main-section-background-color);\n\n display: block;\n position: relative;\n\n --mdc-theme-primary: white;\n }\n\n [home] {\n position: absolute;\n left: 20px;\n top: 20px;\n font-size: 2em;\n color: white;\n }\n\n [message] {\n background-color: rgba(50, 66, 97, 0.8);\n padding: 60px 50px 0 50px;\n color: #fff;\n text-align: center;\n font-size: 20px;\n }\n [message] strong {\n display: block;\n font-size: 2.5rem;\n }\n [message] img {\n width: 450px;\n max-width: 90%;\n display: block;\n margin: auto;\n margin-top: 20px;\n }\n\n @media screen and (max-width: 480px) {\n [message] {\n padding: 60px 30px 0 30px;\n color: #fff;\n text-align: center;\n font-size: 15px;\n }\n\n [message] strong {\n font-size: 1.6rem;\n }\n }\n `\n\n _applicationMeta?: {\n icon: string\n title: string\n description: string\n }\n\n render() {\n var { icon, title, description } = this.applicationMeta\n\n return html`\n <mwc-icon-button home icon=\"home\" @click=${() => (window.location.href = '/')}></mwc-icon-button>\n\n <div message>\n <strong>${title}</strong>\n ${description}\n <img src=\"/assets/images/home.png\" />\n </div>\n `\n }\n\n get applicationMeta() {\n if (!this._applicationMeta) {\n var iconLink = document.querySelector('link[rel=\"application-icon\"]') as HTMLLinkElement\n var titleMeta = document.querySelector('meta[name=\"application-name\"]') as HTMLMetaElement\n var descriptionMeta = document.querySelector('meta[name=\"application-description\"]') as HTMLMetaElement\n\n this._applicationMeta = {\n icon: iconLink?.href,\n title: titleMeta ? titleMeta.content : 'Things Factory',\n description: descriptionMeta ? descriptionMeta.content : 'Reimagining Software'\n }\n }\n\n return this._applicationMeta\n }\n}\n"]}
package/dist/src/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  export * from './store';
2
2
  export * from './actions';
3
3
  export * from './app/pages/page-view';
4
- // export * from './app/app' /* @operato/shell couldn't be used because the app has to handle A at the time of bundling. */
5
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,uBAAuB,CAAA;AACrC,2HAA2H","sourcesContent":["export * from './store'\nexport * from './actions'\nexport * from './app/pages/page-view'\n// export * from './app/app' /* @operato/shell couldn't be used because the app has to handle A at the time of bundling. */\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,uBAAuB,CAAA","sourcesContent":["export * from './store'\nexport * from './actions'\nexport * from './app/pages/page-view'\n"]}
@@ -0,0 +1,16 @@
1
+ declare type OxObjectStore = {
2
+ add: (value: any, key?: IDBValidKey | undefined) => IDBValidKey;
3
+ delete: (query: IDBValidKey | IDBKeyRange) => undefined;
4
+ clear: () => undefined;
5
+ get: (query: IDBValidKey | IDBKeyRange) => any;
6
+ getAll: (query?: IDBValidKey | IDBKeyRange | null | undefined, count?: number | undefined) => any[];
7
+ getAllKeys: (query?: IDBValidKey | IDBKeyRange | null | undefined, count?: number | undefined) => IDBValidKey[];
8
+ count: (query?: IDBValidKey | IDBKeyRange | undefined) => number;
9
+ put: (value: any, key?: IDBValidKey | undefined) => IDBValidKey;
10
+ openCursor: (query?: IDBValidKey | IDBKeyRange | null | undefined, direction?: IDBCursorDirection | undefined) => IDBCursorWithValue | null;
11
+ openKeyCursor: (query?: IDBValidKey | IDBKeyRange | null | undefined, direction?: IDBCursorDirection | undefined) => IDBCursor | null;
12
+ limit: (limit?: number) => undefined;
13
+ };
14
+ export declare const clientSettingStore: OxObjectStore;
15
+ export declare const notificationStore: OxObjectStore;
16
+ export {};
@@ -0,0 +1,129 @@
1
+ /*
2
+ * [ Caution ]
3
+ * Since this module is being used by a service worker, be very careful about adding imports or using functions for browsers.
4
+ */
5
+ /* promise queue */
6
+ class Queue {
7
+ static enqueue(promise) {
8
+ return new Promise((resolve, reject) => {
9
+ this.queue.push({
10
+ promise,
11
+ resolve,
12
+ reject
13
+ });
14
+ this.dequeue();
15
+ });
16
+ }
17
+ static dequeue() {
18
+ if (this.workingOnPromise) {
19
+ return false;
20
+ }
21
+ const item = this.queue.shift();
22
+ if (!item) {
23
+ return false;
24
+ }
25
+ try {
26
+ this.workingOnPromise = true;
27
+ item.promise
28
+ .then(value => {
29
+ this.workingOnPromise = false;
30
+ item.resolve(value);
31
+ this.dequeue();
32
+ })
33
+ .catch(err => {
34
+ this.workingOnPromise = false;
35
+ item.reject(err);
36
+ this.dequeue();
37
+ });
38
+ }
39
+ catch (err) {
40
+ this.workingOnPromise = false;
41
+ item.reject(err);
42
+ this.dequeue();
43
+ }
44
+ return true;
45
+ }
46
+ }
47
+ Queue.queue = [];
48
+ Queue.workingOnPromise = false;
49
+ function getStore(storeName) {
50
+ return [
51
+ 'add',
52
+ 'delete',
53
+ 'clear',
54
+ 'get',
55
+ 'getAll',
56
+ 'getAllKeys',
57
+ 'count',
58
+ 'put',
59
+ 'openCursor',
60
+ 'openKeyCursor'
61
+ ].reduce((sum, m) => {
62
+ sum[m] = async (...params) => {
63
+ const db = (await getIndexDB());
64
+ const transaction = db.transaction(storeName, 'readwrite');
65
+ const store = transaction.objectStore(storeName);
66
+ const method = store[m];
67
+ const request = method.apply(store, params);
68
+ return await new Promise((resolve, reject) => {
69
+ request.onsuccess = (event) => {
70
+ var _a;
71
+ resolve((_a = event.target) === null || _a === void 0 ? void 0 : _a.result);
72
+ };
73
+ request.onerror = (event) => {
74
+ reject(event);
75
+ };
76
+ });
77
+ };
78
+ return sum;
79
+ }, {
80
+ async limit(limit = 50) {
81
+ const keys = (await this.getAllKeys()).slice(0, -limit);
82
+ for (let i = 0; i < keys.length; i++) {
83
+ await this.delete(keys[i]);
84
+ }
85
+ }
86
+ });
87
+ }
88
+ function getIndexedDB() {
89
+ if (typeof window !== 'undefined') {
90
+ return window.indexedDB;
91
+ }
92
+ else {
93
+ return self.indexedDB;
94
+ }
95
+ }
96
+ var db;
97
+ function getIndexDB() {
98
+ if (db) {
99
+ return db;
100
+ }
101
+ return Queue.enqueue(new Promise(function (resolve, reject) {
102
+ const indexedDB = getIndexedDB();
103
+ if (!indexedDB) {
104
+ reject('this browser does not support indexedDB');
105
+ }
106
+ const request = indexedDB.open('things-factory-database');
107
+ request.onerror = function (event) {
108
+ console.log("Why didn't you allow my web app to use IndexedDB?!");
109
+ reject(event);
110
+ };
111
+ request.onupgradeneeded = function (event) {
112
+ var _a;
113
+ var db = (_a = event.target) === null || _a === void 0 ? void 0 : _a.result;
114
+ var store = db.createObjectStore('notifications', { keyPath: 'id', autoIncrement: true });
115
+ store.createIndex('notification_id_unqiue', 'id', { unique: true });
116
+ var store = db.createObjectStore('client_settings', { keyPath: 'key', autoIncrement: true });
117
+ store.createIndex('client_setting_key_unqiue', 'key', { unique: true });
118
+ };
119
+ request.onsuccess = function (event) {
120
+ console.log('IndexedDB opened successfully');
121
+ db = request.result;
122
+ resolve(db);
123
+ };
124
+ }));
125
+ }
126
+ /* ready indexedDB Stores */
127
+ export const clientSettingStore = getStore('client_settings');
128
+ export const notificationStore = getStore('notifications');
129
+ //# sourceMappingURL=object-store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"object-store.js","sourceRoot":"","sources":["../../src/object-store.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAsBH,mBAAmB;AACnB,MAAM,KAAK;IAST,MAAM,CAAC,OAAO,CAAC,OAAqB;QAClC,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YACrC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;gBACd,OAAO;gBACP,OAAO;gBACP,MAAM;aACP,CAAC,CAAA;YACF,IAAI,CAAC,OAAO,EAAE,CAAA;QAChB,CAAC,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,CAAC,OAAO;QACZ,IAAI,IAAI,CAAC,gBAAgB,EAAE;YACzB,OAAO,KAAK,CAAA;SACb;QACD,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAA;QAC/B,IAAI,CAAC,IAAI,EAAE;YACT,OAAO,KAAK,CAAA;SACb;QACD,IAAI;YACF,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAA;YAC5B,IAAI,CAAC,OAAO;iBACT,IAAI,CAAC,KAAK,CAAC,EAAE;gBACZ,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAA;gBAC7B,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;gBACnB,IAAI,CAAC,OAAO,EAAE,CAAA;YAChB,CAAC,CAAC;iBACD,KAAK,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,CAAC,CAAA;YACjE,MAAM,CAAC,KAAK,CAAC,CAAA;QACf,CAAC,CAAA;QAED,OAAO,CAAC,eAAe,GAAG,UAAU,KAA4B;;YAC9D,IAAI,EAAE,GAAgB,MAAC,KAAK,CAAC,MAAqB,0CAAE,MAAM,CAAA;YAE1D,IAAI,KAAK,GAAG,EAAE,CAAC,iBAAiB,CAAC,eAAe,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAA;YACzF,KAAK,CAAC,WAAW,CAAC,wBAAwB,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAA;YAEnE,IAAI,KAAK,GAAG,EAAE,CAAC,iBAAiB,CAAC,iBAAiB,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAA;YAC5F,KAAK,CAAC,WAAW,CAAC,2BAA2B,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAA;QACzE,CAAC,CAAA;QAED,OAAO,CAAC,SAAS,GAAG,UAAU,KAAK;YACjC,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAA;YAC5C,EAAE,GAAG,OAAO,CAAC,MAAM,CAAA;YACnB,OAAO,CAAC,EAAE,CAAC,CAAA;QACb,CAAC,CAAA;IACH,CAAC,CAAC,CACH,CAAA;AACH,CAAC;AAED,4BAA4B;AAC5B,MAAM,CAAC,MAAM,kBAAkB,GAAkB,QAAQ,CAAC,iBAAiB,CAAC,CAAA;AAC5E,MAAM,CAAC,MAAM,iBAAiB,GAAkB,QAAQ,CAAC,eAAe,CAAC,CAAA","sourcesContent":["/*\n * [ Caution ]\n * Since this module is being used by a service worker, be very careful about adding imports or using functions for browsers.\n */\n\ntype OxObjectStore = {\n add: (value: any, key?: IDBValidKey | undefined) => IDBValidKey\n delete: (query: IDBValidKey | IDBKeyRange) => undefined\n clear: () => undefined\n get: (query: IDBValidKey | IDBKeyRange) => any\n getAll: (query?: IDBValidKey | IDBKeyRange | null | undefined, count?: number | undefined) => any[]\n getAllKeys: (query?: IDBValidKey | IDBKeyRange | null | undefined, count?: number | undefined) => IDBValidKey[]\n count: (query?: IDBValidKey | IDBKeyRange | undefined) => number\n put: (value: any, key?: IDBValidKey | undefined) => IDBValidKey\n openCursor: (\n query?: IDBValidKey | IDBKeyRange | null | undefined,\n direction?: IDBCursorDirection | undefined\n ) => IDBCursorWithValue | null\n openKeyCursor: (\n query?: IDBValidKey | IDBKeyRange | null | undefined,\n direction?: IDBCursorDirection | undefined\n ) => IDBCursor | null\n limit: (limit?: number) => undefined\n}\n\n/* promise queue */\nclass Queue {\n private static queue: {\n promise: Promise<IDBDatabase>\n resolve: (db: IDBDatabase) => void\n reject: (reason?: any) => void\n }[] = []\n\n private static workingOnPromise: boolean = false\n\n static enqueue(promise: Promise<any>) {\n return new Promise((resolve, reject) => {\n this.queue.push({\n promise,\n resolve,\n reject\n })\n this.dequeue()\n })\n }\n\n static dequeue() {\n if (this.workingOnPromise) {\n return false\n }\n const item = this.queue.shift()\n if (!item) {\n return false\n }\n try {\n this.workingOnPromise = true\n item.promise\n .then(value => {\n this.workingOnPromise = false\n item.resolve(value)\n this.dequeue()\n })\n .catch(err => {\n this.workingOnPromise = false\n item.reject(err)\n this.dequeue()\n })\n } catch (err) {\n this.workingOnPromise = false\n item.reject(err)\n this.dequeue()\n }\n return true\n }\n}\n\nfunction getStore(storeName: string): OxObjectStore {\n return [\n 'add',\n 'delete',\n 'clear',\n 'get',\n 'getAll',\n 'getAllKeys',\n 'count',\n 'put',\n 'openCursor',\n 'openKeyCursor'\n ].reduce(\n (sum, m) => {\n sum[m] = async (...params: any) => {\n const db = (await getIndexDB()) as IDBDatabase\n\n const transaction = db.transaction(storeName, 'readwrite')\n const store = transaction.objectStore(storeName)\n const method: (...p: any) => any = (store as any)[m]\n const request = method.apply(store, params)\n\n return await new Promise((resolve, reject) => {\n request.onsuccess = (event: Event) => {\n resolve((event.target as IDBRequest)?.result)\n }\n\n request.onerror = (event: Event) => {\n reject(event)\n }\n })\n }\n\n return sum\n },\n {\n async limit(this: OxObjectStore, limit = 50) {\n const keys = (await this.getAllKeys()).slice(0, -limit)\n for (let i = 0; i < keys.length; i++) {\n await this.delete(keys[i])\n }\n }\n } as any\n )\n}\n\nfunction getIndexedDB(): IDBFactory {\n if (typeof window !== 'undefined') {\n return window.indexedDB\n } else {\n return self.indexedDB\n }\n}\n\nvar db: IDBDatabase\n\nfunction getIndexDB() {\n if (db) {\n return db\n }\n\n return Queue.enqueue(\n new Promise(function (resolve, reject) {\n const indexedDB = getIndexedDB()\n\n if (!indexedDB) {\n reject('this browser does not support indexedDB')\n }\n const request = indexedDB.open('things-factory-database')\n\n request.onerror = function (event) {\n console.log(\"Why didn't you allow my web app to use IndexedDB?!\")\n reject(event)\n }\n\n request.onupgradeneeded = function (event: IDBVersionChangeEvent) {\n var db: IDBDatabase = (event.target as IDBRequest)?.result\n\n var store = db.createObjectStore('notifications', { keyPath: 'id', autoIncrement: true })\n store.createIndex('notification_id_unqiue', 'id', { unique: true })\n\n var store = db.createObjectStore('client_settings', { keyPath: 'key', autoIncrement: true })\n store.createIndex('client_setting_key_unqiue', 'key', { unique: true })\n }\n\n request.onsuccess = function (event) {\n console.log('IndexedDB opened successfully')\n db = request.result\n resolve(db)\n }\n })\n )\n}\n\n/* ready indexedDB Stores */\nexport const clientSettingStore: OxObjectStore = getStore('client_settings')\nexport const notificationStore: OxObjectStore = getStore('notifications')\n"]}
@@ -1,6 +1,6 @@
1
1
  import startCase from 'lodash-es/startCase';
2
2
  import { updateMetadata } from 'pwa-helpers/metadata.js';
3
- import { REGISTER_NAVIGATION_CALLBACK, UNREGISTER_NAVIGATION_CALLBACK, UPDATE_ACTIVE_PAGE, UPDATE_CONTEXT, UPDATE_PAGE } from '../actions/route.js';
3
+ import { REGISTER_NAVIGATION_CALLBACK, UNREGISTER_NAVIGATION_CALLBACK, UPDATE_ACTIVE_PAGE, UPDATE_CONTEXT, UPDATE_PAGE } from '../actions/const';
4
4
  const APP_TITLE_EL = document.querySelector('meta[name="application-name"]');
5
5
  var appTitle;
6
6
  if (APP_TITLE_EL) {
@@ -1 +1 @@
1
- {"version":3,"file":"route.js","sourceRoot":"","sources":["../../../src/reducers/route.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,qBAAqB,CAAA;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAExD,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,kBAAkB,EAClB,cAAc,EACd,WAAW,EACZ,MAAM,qBAAqB,CAAA;AAE5B,MAAM,YAAY,GAAG,QAAQ,CAAC,aAAa,CAAC,+BAA+B,CAAoB,CAAA;AAE/F,IAAI,QAA4B,CAAA;AAChC,IAAI,YAAY,EAAE;IAChB,QAAQ,GAAG,YAAY,CAAC,OAAO,CAAA;CAChC;AAED,MAAM,aAAa,GAOf;IACF,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,EAAE;IACd,MAAM,EAAE,EAAE;IACV,UAAU,EAAE,IAAI;IAChB,OAAO,EAAE,EAAE;IACX,SAAS,EAAE,EAAE;CACd,CAAA;AAED,MAAM,KAAK,GAAG,CAAC,KAAK,GAAG,aAAa,EAAE,MAAW,EAAE,EAAE;;IACnD,QAAQ,MAAM,CAAC,IAAI,EAAE;QACnB,KAAK,WAAW;YACd,OAAO;gBACL,GAAG,KAAK;gBACR,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,UAAU,EAAE,MAAM,CAAC,UAAU;gBAC7B,MAAM,EAAE,MAAM,CAAC,MAAM;aACtB,CAAA;QACH,KAAK,cAAc;YACjB,IAAI,KAAK,GAAG,MAAA,MAAM,CAAC,OAAO,0CAAE,KAAK,CAAA;YACjC,IAAI,IAAI,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAA;YAEzD,cAAc,CAAC;gBACb,KAAK,EAAE,QAAQ,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;aACxD,CAAC,CAAA;YACF,OAAO;gBACL,GAAG,KAAK;gBACR,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,IAAI,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,EAAE;aAChF,CAAA;QACH,KAAK,kBAAkB;YACrB,OAAO;gBACL,GAAG,KAAK;gBACR,UAAU,EAAE,MAAM,CAAC,UAAU;aAC9B,CAAA;QAEH,KAAK,4BAA4B;YAC/B,OAAO;gBACL,GAAG,KAAK;gBACR,SAAS,EAAE,CAAC,GAAG,KAAK,CAAC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC;aACjD,CAAA;QACH,KAAK,8BAA8B;YACjC,OAAO;gBACL,GAAG,KAAK;gBACR,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,KAAK,MAAM,CAAC,QAAQ,CAAC;aAC5E,CAAA;QAEH;YACE,OAAO,KAAK,CAAA;KACf;AACH,CAAC,CAAA;AAED,eAAe,KAAK,CAAA","sourcesContent":["import startCase from 'lodash-es/startCase'\nimport { updateMetadata } from 'pwa-helpers/metadata.js'\n\nimport {\n REGISTER_NAVIGATION_CALLBACK,\n UNREGISTER_NAVIGATION_CALLBACK,\n UPDATE_ACTIVE_PAGE,\n UPDATE_CONTEXT,\n UPDATE_PAGE\n} from '../actions/route.js'\n\nconst APP_TITLE_EL = document.querySelector('meta[name=\"application-name\"]') as HTMLMetaElement\n\nvar appTitle: string | undefined\nif (APP_TITLE_EL) {\n appTitle = APP_TITLE_EL.content\n}\n\nconst INITIAL_STATE: {\n page: string\n resourceId: string\n params: any\n activePage: any\n context: any\n callbacks: any[]\n} = {\n page: '',\n resourceId: '',\n params: {},\n activePage: null,\n context: {},\n callbacks: []\n}\n\nconst route = (state = INITIAL_STATE, action: any) => {\n switch (action.type) {\n case UPDATE_PAGE:\n return {\n ...state,\n page: action.page,\n resourceId: action.resourceId,\n params: action.params\n }\n case UPDATE_CONTEXT:\n let title = action.context?.title\n let text = typeof title === 'object' ? title.text : title\n\n updateMetadata({\n title: appTitle + (text ? ` - ${startCase(text)}` : '')\n })\n return {\n ...state,\n context: action.context || (state.activePage && state.activePage.context) || {}\n }\n case UPDATE_ACTIVE_PAGE:\n return {\n ...state,\n activePage: action.activePage\n }\n\n case REGISTER_NAVIGATION_CALLBACK:\n return {\n ...state,\n callbacks: [...state.callbacks, action.callback]\n }\n case UNREGISTER_NAVIGATION_CALLBACK:\n return {\n ...state,\n callbacks: state.callbacks.filter(callback => callback !== action.callback)\n }\n\n default:\n return state\n }\n}\n\nexport default route\n"]}
1
+ {"version":3,"file":"route.js","sourceRoot":"","sources":["../../../src/reducers/route.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,qBAAqB,CAAA;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAExD,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,kBAAkB,EAClB,cAAc,EACd,WAAW,EACZ,MAAM,kBAAkB,CAAA;AAEzB,MAAM,YAAY,GAAG,QAAQ,CAAC,aAAa,CAAC,+BAA+B,CAAoB,CAAA;AAE/F,IAAI,QAA4B,CAAA;AAChC,IAAI,YAAY,EAAE;IAChB,QAAQ,GAAG,YAAY,CAAC,OAAO,CAAA;CAChC;AAED,MAAM,aAAa,GAOf;IACF,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,EAAE;IACd,MAAM,EAAE,EAAE;IACV,UAAU,EAAE,IAAI;IAChB,OAAO,EAAE,EAAE;IACX,SAAS,EAAE,EAAE;CACd,CAAA;AAED,MAAM,KAAK,GAAG,CAAC,KAAK,GAAG,aAAa,EAAE,MAAW,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AAK,CAAA","sourcesContent":["import startCase from 'lodash-es/startCase'\nimport { updateMetadata } from 'pwa-helpers/metadata.js'\n\nimport {\n REGISTER_NAVIGATION_CALLBACK,\n UNREGISTER_NAVIGATION_CALLBACK,\n UPDATE_ACTIVE_PAGE,\n UPDATE_CONTEXT,\n UPDATE_PAGE\n} from '../actions/const'\n\nconst APP_TITLE_EL = document.querySelector('meta[name=\"application-name\"]') as HTMLMetaElement\n\nvar appTitle: string | undefined\nif (APP_TITLE_EL) {\n appTitle = APP_TITLE_EL.content\n}\n\nconst INITIAL_STATE: {\n page: string\n resourceId: string\n params: any\n activePage: any\n context: any\n callbacks: any[]\n} = {\n page: '',\n resourceId: '',\n params: {},\n activePage: null,\n context: {},\n callbacks: []\n}\n\nconst route = (state = INITIAL_STATE, action: any) => {\n switch (action.type) {\n case UPDATE_PAGE:\n return {\n ...state,\n page: action.page,\n resourceId: action.resourceId,\n params: action.params\n }\n case UPDATE_CONTEXT:\n let title = action.context?.title\n let text = typeof title === 'object' ? title.text : title\n\n updateMetadata({\n title: appTitle + (text ? ` - ${startCase(text)}` : '')\n })\n return {\n ...state,\n context: action.context || (state.activePage && state.activePage.context) || {}\n }\n case UPDATE_ACTIVE_PAGE:\n return {\n ...state,\n activePage: action.activePage\n }\n\n case REGISTER_NAVIGATION_CALLBACK:\n return {\n ...state,\n callbacks: [...state.callbacks, action.callback]\n }\n case UNREGISTER_NAVIGATION_CALLBACK:\n return {\n ...state,\n callbacks: state.callbacks.filter(callback => callback !== action.callback)\n }\n\n default:\n return state\n }\n}\n\nexport default route\n"]}
package/dist/src/store.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { lazyReducerEnhancer } from 'pwa-helpers/lazy-reducer-enhancer.js';
2
2
  import { applyMiddleware, combineReducers, compose, createStore } from 'redux';
3
3
  import thunk from 'redux-thunk';
4
- import app from './reducers/app.js';
5
- import route from './reducers/route.js';
4
+ import app from './reducers/app';
5
+ import route from './reducers/route';
6
6
  // Sets up a Chrome extension for time travel debugging.
7
7
  // See https://github.com/zalmoxisus/redux-devtools-extension for more information.
8
8
  const devCompose = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
@@ -1 +1 @@
1
- {"version":3,"file":"store.js","sourceRoot":"","sources":["../../src/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAa,MAAM,sCAAsC,CAAA;AACrF,OAAO,EAAU,eAAe,EAAE,eAAe,EAAE,OAAO,EAAE,WAAW,EAAS,MAAM,OAAO,CAAA;AAC7F,OAAO,KAAK,MAAM,aAAa,CAAA;AAE/B,OAAO,GAAG,MAAM,mBAAmB,CAAA;AACnC,OAAO,KAAK,MAAM,qBAAqB,CAAA;AAMvC,wDAAwD;AACxD,mFAAmF;AACnF,MAAM,UAAU,GAAG,MAAM,CAAC,oCAAoC,IAAI,OAAO,CAAA;AAEzE,MAAM,CAAC,MAAM,KAAK,GAA4C,WAAW,CACvE,KAAK,CAAC,EAAE,CAAC,KAAK,EACd,UAAU,CAAC,mBAAmB,CAAC,eAAe,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC,CACzE,CAAA;AAED,6BAA6B;AAC7B,KAAK,CAAC,WAAW,CAAC;IAChB,GAAG;IACH,KAAK;CACN,CAAC,CAAA","sourcesContent":["import { lazyReducerEnhancer, LazyStore } from 'pwa-helpers/lazy-reducer-enhancer.js'\nimport { Action, applyMiddleware, combineReducers, compose, createStore, Store } from 'redux'\nimport thunk from 'redux-thunk'\n\nimport app from './reducers/app.js'\nimport route from './reducers/route.js'\n\ndeclare global {\n var __REDUX_DEVTOOLS_EXTENSION_COMPOSE__: any\n}\n\n// Sets up a Chrome extension for time travel debugging.\n// See https://github.com/zalmoxisus/redux-devtools-extension for more information.\nconst devCompose = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose\n\nexport const store: Store<unknown, Action<any>> & LazyStore = createStore(\n state => state,\n devCompose(lazyReducerEnhancer(combineReducers), applyMiddleware(thunk))\n)\n\n// Initially loaded reducers.\nstore.addReducers({\n app,\n route\n})\n"]}
1
+ {"version":3,"file":"store.js","sourceRoot":"","sources":["../../src/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAa,MAAM,sCAAsC,CAAA;AACrF,OAAO,EAAU,eAAe,EAAE,eAAe,EAAE,OAAO,EAAE,WAAW,EAAS,MAAM,OAAO,CAAA;AAC7F,OAAO,KAAK,MAAM,aAAa,CAAA;AAE/B,OAAO,GAAG,MAAM,gBAAgB,CAAA;AAChC,OAAO,KAAK,MAAM,kBAAkB,CAAA;AAMpC,wDAAwD;AACxD,mFAAmF;AACnF,MAAM,UAAU,GAAG,MAAM,CAAC,oCAAoC,IAAI,OAAO,CAAA;AAEzE,MAAM,CAAC,MAAM,KAAK,GAA4C,WAAW,CACvE,KAAK,CAAC,EAAE,CAAC,KAAK,EACd,UAAU,CAAC,mBAAmB,CAAC,eAAe,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC,CACzE,CAAA;AAED,6BAA6B;AAC7B,KAAK,CAAC,WAAW,CAAC;IAChB,GAAG;IACH,KAAK;CACN,CAAC,CAAA","sourcesContent":["import { lazyReducerEnhancer, LazyStore } from 'pwa-helpers/lazy-reducer-enhancer.js'\nimport { Action, applyMiddleware, combineReducers, compose, createStore, Store } from 'redux'\nimport thunk from 'redux-thunk'\n\nimport app from './reducers/app'\nimport route from './reducers/route'\n\ndeclare global {\n var __REDUX_DEVTOOLS_EXTENSION_COMPOSE__: any\n}\n\n// Sets up a Chrome extension for time travel debugging.\n// See https://github.com/zalmoxisus/redux-devtools-extension for more information.\nconst devCompose = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose\n\nexport const store: Store<unknown, Action<any>> & LazyStore = createStore(\n state => state,\n devCompose(lazyReducerEnhancer(combineReducers), applyMiddleware(thunk))\n)\n\n// Initially loaded reducers.\nstore.addReducers({\n app,\n route\n})\n"]}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../@types/global/index.d.ts","../../../node_modules/tslib/tslib.d.ts","../../../node_modules/redux/index.d.ts","../../../node_modules/pwa-helpers/lazy-reducer-enhancer.d.ts","../../../node_modules/redux-thunk/es/types.d.ts","../../../node_modules/redux-thunk/es/index.d.ts","../../utils/dist/src/sleep.d.ts","../../utils/dist/src/file-drop-helper.d.ts","../../utils/dist/src/context-path.d.ts","../../utils/dist/src/os.d.ts","../../utils/dist/src/swipe-listener.d.ts","../../utils/dist/src/fullscreen.d.ts","../../utils/dist/src/parse-jwt.d.ts","../../utils/dist/src/password-pattern.d.ts","../../utils/dist/src/closest-element.d.ts","../../utils/dist/src/detect-overflow.d.ts","../../utils/dist/src/timecapsule/snapshot-taker.d.ts","../../utils/dist/src/timecapsule/timecapsule.d.ts","../../utils/dist/src/timecapsule/index.d.ts","../../utils/dist/src/clipboard.d.ts","../../utils/dist/src/format.d.ts","../../utils/dist/src/adjust-list-param.d.ts","../../utils/dist/src/is-unvalued.d.ts","../../utils/dist/src/index.d.ts","../src/actions/app.ts","../src/reducers/app.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/lodash-es/startcase.d.ts","../../../node_modules/pwa-helpers/metadata.d.ts","../src/actions/route.ts","../src/reducers/route.ts","../src/store.ts","../src/actions/index.ts","../../../node_modules/@lit/reactive-element/css-tag.d.ts","../../../node_modules/@lit/reactive-element/reactive-controller.d.ts","../../../node_modules/@lit/reactive-element/reactive-element.d.ts","../../../node_modules/@types/trusted-types/lib/index.d.ts","../../../node_modules/@types/trusted-types/index.d.ts","../../../node_modules/lit-html/directive.d.ts","../../../node_modules/lit-html/lit-html.d.ts","../../../node_modules/lit-element/lit-element.d.ts","../../../node_modules/lit/index.d.ts","../../../node_modules/@lit/reactive-element/decorators/base.d.ts","../../../node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../../../node_modules/@lit/reactive-element/decorators/property.d.ts","../../../node_modules/@lit/reactive-element/decorators/state.d.ts","../../../node_modules/@lit/reactive-element/decorators/event-options.d.ts","../../../node_modules/@lit/reactive-element/decorators/query.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-all.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-async.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts","../../../node_modules/lit/decorators.d.ts","../../../node_modules/@types/lodash-es/isequal.d.ts","../src/app/pages/page-view.ts","../src/index.ts","../src/app/app-style.ts","../../../node_modules/pwa-helpers/connect-mixin.d.ts","../../../node_modules/pwa-helpers/router.d.ts","../../styles/dist/src/headroom-styles.d.ts","../../styles/dist/src/scrollbar-styles.d.ts","../../styles/dist/src/spinner-styles.d.ts","../../styles/dist/src/tooltip-styles.d.ts","../../styles/dist/src/common-button-styles.d.ts","../../styles/dist/src/common-grist-styles.d.ts","../../styles/dist/src/index.d.ts","../src/app/app.ts","../src/app/pages/page-404.ts","../../../node_modules/@material/base/foundation.d.ts","../../../node_modules/@material/mwc-base/utils.d.ts","../../../node_modules/@material/base/types.d.ts","../../../node_modules/@material/mwc-base/base-element.d.ts","../../../node_modules/@material/ripple/types.d.ts","../../../node_modules/@material/ripple/adapter.d.ts","../../../node_modules/@material/ripple/foundation.d.ts","../../../node_modules/@material/mwc-ripple/mwc-ripple-base.d.ts","../../../node_modules/@material/mwc-ripple/mwc-ripple.d.ts","../../../node_modules/@material/mwc-base/aria-property.d.ts","../../../node_modules/@material/mwc-ripple/ripple-handlers.d.ts","../../../node_modules/@material/mwc-icon-button/mwc-icon-button-base.d.ts","../../../node_modules/@material/mwc-icon-button/mwc-icon-button.d.ts","../../../node_modules/@material/mwc-icon/mwc-icon.d.ts","../../../node_modules/lit-html/directives/class-map.d.ts","../../../node_modules/lit/directives/class-map.d.ts","../../../node_modules/@material/mwc-button/mwc-button-base.d.ts","../../../node_modules/@material/mwc-button/mwc-button.d.ts","../src/entries/public/home.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3f149f903dd20dfeb7c80e228b659f0e436532de772469980dbd00702cc05cc1","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},"439ece86b8b4d4af78af97e74d373ae1cd657c7169f4dee55038648217ca9fcf","14a84fbe4ec531dcbaf5d2594fd95df107258e60ae6c6a076404f13c3f66f28e",{"version":"fd624f7d7b264922476685870f08c5e1c6d6a0f05dee2429a9747b41f6b699d4","affectsGlobalScope":true},"701978f3975f96e76e3ffc2e1762e3a97e3d323812049fb6fdfd559579b89708","d50a158fc581be7b1c51253ad33cb29c0a8ce3c42ca38775ffadf104c36376d0","1f2cdbf59d0b7933678a64ac26ae2818c48ff9ebf93249dde775dc3e173e16bf","05cfea0488751015b0b85911b6cdcde7c6cebdd9b8cada1ec0b5c1736357a552","6d1f118cfbf15c813f578cf6b87da76d075698bf7db964cb7c3d75f0309652f7","74a8a08e5d642a108ae7b23e72bded7b9d784c665458affdfb1770c1b19bcdd1","a9e5489311de854cb96bfcf5eaf969c9b322c658e3575f30e03180e4d4ca3994","f8c86fcbfb0a1e69a0ed28d3249cc33c312fa23a39c17e15cbbcc539bdcdc303","7179b6924a816d72bf206803d8cdc27ccc14f02f2d4f4145d5183eb083f5bf17","39d2d450df6efbf38585fd316f18922c8ac3fdfd4c3fc412d0bee34e2bc86378","7470dedadf72566f57f46fa8a8950afe388a4e90935b4e4b3d33add9a611929d","90feb2c17c1fd53720e1dd8738c6660aa14402394bb30caed6f2a7cdd54fea40","75f8b003f4362cb9a9e1d9d8b00c6a1e866868f05b27ede146dd8830b675bdf7","e56a260134af75a771b5e19534d30007034e2757183546193f8b191683c6b2b9","70926949fb828e317443687c9f3b5288e1ef6ec1e5130c1001f406b4ba3665ff","f499d7fb533781939c7a5ab778ac6e6c8ffe65601b1a61a843c36ee0013f05b6","46d98d129de9914564a5c8909c9098175c5896919e8e698d206cfffdfa7c3999","c8f7da57a17479145ea922b90a1efb2ff8e8096992bb0a4658606c9fbd944efc","28b3ab6f54b290c19897dff3d4346b7f1caf6e7d2057119ec6332dc1ddf25e85","1e73d612f806d183d6c16c4135c16c1a14dd827c1a67097e72ab1841852bfcb9","171109b02b7c87120b262c5ca0ccb9ecbc88ad92f81eb4e62b7ef6237f0fc9e2",{"version":"7b48718e216c87c95034533cb162482b9e7d8135b830089e31796aa192b45e29","signature":"641089f0b8094ef74b9d4b3364d5dec1592d5e3b8a51c1ba491bc8872049e79a"},{"version":"7ed9e9171143f9e565a55d9b9e8b52a70946490021141395ed8a6083d2026bc1","signature":"c0dab6e6130fcc1162e18e1d7ee3038525ee9daebaa8f4f221fb67440ae38509"},"675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","ca59fe42b81228a317812e95a2e72ccc8c7f1911b5f0c2a032adf41a0161ec5d","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"4d180dd4d0785f2cd140bc069d56285d0121d95b53e4348feb4f62db2d7035d3","66e64ed8de436d3ceabe6c3f59dd0a39a5237991bccfda5751c78d129e436f68",{"version":"c11f4e74c320859728c87d297349698412b30ce48604d75689f080b8c981f6d1","signature":"6d0c23f8c9efcd67b96bae7e7140cd9fdfeacc314c79220f48aaa5086585e31d"},{"version":"5069283e2b9275218a07c05a7dd341cf09c2ef07e369170c66fb5ffc63d8a899","signature":"7611542379a72f7b8a92110271908b9d1913d72a581e14a779491c9083dc33db"},{"version":"3a99549e5ab3f58c28eaeaf94468a4fbb8353f5b42cab4bc271cd2d5b3808185","signature":"4ab17f80ced148d509345cee706b2b85941515dd76e32cf47118bcdf6a4bd56a","affectsGlobalScope":true},{"version":"25682e1aaa60af71bb32a0daebb8ba7a15551aff880651d4c2cc0fa5b5fc9309","signature":"0dd5f5946c922d5bcf94d0b088bfed3f6a4dd3331e9fce9423d0adbb60c889c1"},"52dd370c807255c61765347fc90a9bee3c522b8744dc222714e2bf6b5be3a823","1e5743b25a63fd34ffbae89adcbf248ee17db6ed08d90079ffa93803c3e80d2a","13bb750b495c48fd60d7b5e09f65d4a7b010ab7e09a8943a6d54511e7d184f84","2fcd2d22b1f30555e785105597cd8f57ed50300e213c4f1bbca6ae149f782c38",{"version":"bb4248c7f953233ac52332088fac897d62b82be07244e551d87c5049600b6cf7","affectsGlobalScope":true},"3f30c6b57bf5eb7a7d4298506b78b18d428a39a409e1eadd93a3fdd0299d2687","19926529d718864dd255640a05f1b7b87fad1ac5791a4092ea00a83713b6a77b","eba7cf33380cc3a3cf614faf67300e14d0bdff9ea6c5cd6f4b040b1756a48ab1","f07a77a7fb1d49aa2b61cb68bf712a083487acd7130d20223a83de03af0c257d","241000969e5367a9a9b9a4f57963e54e5a012c9d89c273526c0115650a7b9e5f","ac388c7c7a262213a3700451bc921e382a93fb27c0252c34ccf03540b4ce044b","097a7e3badfd1c4b35f72aa0f722f5714a4f6a84e53fca5a79dcfebbfc5e718d","fb0107c83e2e0e75b77dacd0c3c6c3ab6844e98dce2a8f858c6f0a57c12136a6","0a478dcb6e6bd8a5d871165659c79cee7b8c3b7a87289118d22e1a04d171e252","e385eb01000d045ea07cea09c488f66e051709a9ac460bf271623f9984e0c419","bf69beba89702c85d84546269e0d4e8b128d32e26b314ee9b501b0b32c82490b","46f3a421b048670d16a3c02589261f17c1cea687f2602eed31e1335b53aed785","4bcb813ea56182beaaab1e8274524eb9f1449b0d8e79efc4a0399de09e43f816","c784eab1cf838d9d6527bce3d9f2d373145606666b68f7610291a7adf6e6bda9","f0380f581cb015778c0fe51e95b5b7f6dae237280654558469b2486c1572268a","da66c1b3e50ef9908e31ce7a281b137b2db41423c2b143c62524f97a536a53d9",{"version":"5f941b103a1d687f3a743906d28586e2932265a1ccb2c7c5717ab9e773f49a43","signature":"6bf72b2541469cac7a7882468d25a04fdff489625452ff7d3e670c764e5a9ba1"},{"version":"a11ce9bfed704535565c3a4df2cefa850e10e159c135623547b2c12fe040174d","signature":"5257b95e47714b754c367ce742ada7042aade5bf8c88bc7dd5a23194e3a50fb0"},{"version":"7a9b5d885b67d43f2aff182b88b0e79630613fddc88d73db9f3c9a21fec40244","signature":"561e8c7af0e65a4ea90af6b43a54399db172aec993f14981ff45769ee8b6a33e"},"23c05cc4d97aa608b5ea8badadb4e1b0c4e306ed5d651c5d1760552e91d1ad92","452807fa3050dbc39caf1ffd2e9cf9b36e719e36ee062f6adebe50be426790d3","cf93fb9208a01c80f0fad245c4360356e5de6c2384b7641acf0b9cc2f5c42448","336398b0efaf964124e636a9b29c4edd5870aee79ac64bf87be58a9d66b7c048","571bc65ec37ba124e762bb822e14a2b8502dc684e356be8feaccbd6b9cadd023","2bbbefc1235500bdb5091f240dc8cba861a95342272f7d11b7574a0d2ef4f85e","7cd455fc4c4818f19263d73b29c59f3fb5fd54b45a6ab83ca3eb3661281db56b","1c6b9b5501774a2ece6574be8e26092800e3f1f836f8c179b4f9fdd271a620f8","0929ec89582904044a56ca8220114b7256450a197da22eb5c9b630be69a41372",{"version":"5de73d13ebe11a4947b1b39d6f2c8ad86e37c31bef04246632995b60d87a9eca","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"f61767413d019de6565fb8a382405ae71b71344a7dfbf272cfbf8a8f5364ceb9","signature":"fdec01c831cb7c40699061016742faf26811b5690fde7ce414d0c7a3780a09ee"},"a0667520a6521c12128fc28cbd5b2af58eef11c5b2a7441e0f0d47f50bf6c8e3","0dcf4c2bf1bb547e2ae5b8dce4656a56fbd15e3401ff5236ea0b93b6c60f9249","820c26194ad4089bc503b02bbedbd86a865e9c8a05c58ef88c8d19d9c019712a","790b453e1b76814112c3870d6e12f5db992d3194fdb3529445317dd75cb538be","d375de88ab19f6c105a65fc89eca1ae782362c5c395283b0c85ef39c7b835dfe","aeda2fffbc651fe1fa60b913d45f291f5544c4840206cb3b1badc16d9f01a0f0","7b3c1d688dcb8645b5a6c37bce5b047da92b4c298ed8709e03e987e0efb035b1","29c64e1acb5b73f08a60e71154c65c8a34f885f1f2cc55ffa06dfd244c058883",{"version":"7d176f155e5f6fc9756ddcc1a6d3eb2673030a066e2b7846dfc81b5271f3e269","affectsGlobalScope":true},"024fea9ee598cfe747f18340ad74e4ea428fc2a7988250ff9fcfce5673b7d422","aea18a267a0770c365cc390ad0a0b9725ed7a4540e9a96319b0f5094ee0ca124","a5a7c7d197c7b1918bddb0dd30bf8979a38828b24467ec45db093bf4621507ef",{"version":"afcd875785333f656f79bf1b3a445ceecc6aaf8e2b7cde59309a8778f41de613","affectsGlobalScope":true},{"version":"27b285e901600242883d62a5fff9f5d262c6fa128b6e6c6963f981f2630a957e","affectsGlobalScope":true},"147cb5b590b77c8c58e4ef0af1ff11ee90ee2b34262816df0665b6ff8fd50aad","6e0575b628aedce5db38c17569e5c909beead07f9052fe7944fb8bfccc3db92e","ae1351ed65b27a2b29a70a238024c957910e944aabbffce286099ed2b04f9baf",{"version":"3c19b3fb2f88bbd8f103fe2de0d6c0700dd9bf6678553f6db803162620b49e27","affectsGlobalScope":true},{"version":"38ce75ed10ede8e74c867895d3babfe8536df2cac026efe61a46250f2cdcdfbc","signature":"79f6932003c4c5650124a7b5a0ff908f775ff9d60bf2519ab4c3dc5c622e48b4"},"9122ed7070e054b73ebab37c2373a196def2d90e7d1a9a7fcd9d46b0e51fae78","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"3e4624c306340ad303cc536a07004e81336c3f088308a9e4a9f4c957a3cda2fd","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","34ec1daf3566f26c43dbab380af0de1aac29166e57e4f9ef379a2f154e0cb290","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"249a2b90439cdfd51709539fbfa4dfe0791cbae6efce1e9b327ba8f8cd703f49","affectsGlobalScope":true},"acc8fa7e1d03f0d8c4af03c75027086d80bf1cb17edd2d71313bee7bd12dfb91","a9b6b0f7b1e30359283b131ba6d1c51ee2d3601a2f12e1623141e6a1a60c92a5","aeee0090b38de0dd47ca9a79ad5c2d156e3e09d92306719b0b45a3e96098e564","7bac475dcdd9f7e4e9da934d32c305bc889c4ce3c8ac0ef45a93a8d670fff607","09416dd69576b03a3f485adf329a02f043e4a481e060ef5b208194e488d31fd9","8acf99b1c8682276a63ea5bb68433782715892726b97e4604a415e4e56bce41c",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"3b145a2351f5cf16abf999c8d5f4481c74dffdc54ec1e9a89992e2622e1226c5","a907bf91df26df2400858ef75f749498fb5cf00062bf90a737ac3949cc07978d","cb92bc2e42b261e4299025756f1beb826b3d9666a3f0d46f8a7254ca512f57e4","4275d5f964e7fc7afc18538e26b3748c207dd772998346d17f409749aa1f3a63",{"version":"59a638a504490fecaacf0020b9814b6abee37edb66047eb1ab9f7c2274bf1da0","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","d1a78a3c5708807e8de3e399f91df4797c62e44b02195eefc2209b2e713e54ee","8c4c1a64db28930732033c31418f817dcb9d09d706766707ae6d38f23faf0c53","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","556bf5c36deb62cffa1bf697c1789fe008ec82db0273025001db66732714e9d9","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","653968fc1b35c5eb3d273d36fac1c1dc66f9537edf28f33485b8776bd956e23d",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","a381f079c4804442f179d742fdb2e495fe28d67a47cac673485f75ae2e77aeca","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"bfe39beb986d2a2e512c091cbe924f1c415bc65de54de0e2f6a0dc6f84c183d9","affectsGlobalScope":true},"2af17363f8a062e3a8cd1b26030af0058b3f86e783f4fc6aa9f57247f240ebaa","06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","dfe08140492cdc135fb7fd9c4a652c05207b61a436906079b87da1d3111314bf","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","089e1f8603cbc35ab977c8dcc662eb754b82fca32ed1dfb16bd682726c2d5432","8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"64d5585e08ad1ab194b18bf4e851f22a626eae33ac7312ca4ba90bb7ea7daf64",{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","sourceMap":true,"strict":true,"target":5,"useDefineForClassFields":false},"fileIdsList":[[185],[89,185],[96,185],[89,96,185],[89,96,104,185],[87,88,185],[95,122,123,124,185],[95,130,131,132,135,137,185],[95,138,185],[95,130,131,132,185],[95,133,185],[95,185],[95,123,125,127,128,185],[95,129,185],[123,185],[124,126,185],[122,127,185],[80,185],[68,70,71,72,73,74,75,76,77,78,79,80,185],[68,69,71,72,73,74,75,76,77,78,79,80,185],[69,70,71,72,73,74,75,76,77,78,79,80,185],[68,69,70,72,73,74,75,76,77,78,79,80,185],[68,69,70,71,73,74,75,76,77,78,79,80,185],[68,69,70,71,72,74,75,76,77,78,79,80,185],[68,69,70,71,72,73,75,76,77,78,79,80,185],[68,69,70,71,72,73,74,76,77,78,79,80,185],[68,69,70,71,72,73,74,75,77,78,79,80,185],[68,69,70,71,72,73,74,75,76,78,79,80,185],[68,69,70,71,72,73,74,75,76,77,79,80,185],[68,69,70,71,72,73,74,75,76,77,78,80,185],[68,69,70,71,72,73,74,75,76,77,78,79,185],[141,185],[144,185],[145,150,185],[146,156,157,164,173,184,185],[146,147,156,164,185],[148,185],[149,150,157,165,185],[150,173,181,185],[151,153,156,164,185],[152,185],[153,154,185],[155,156,185],[156,185],[156,157,158,173,184,185],[156,157,158,173,176,185],[185,189],[159,164,173,184,185],[156,157,159,160,164,173,181,184,185],[159,161,173,181,184,185],[141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191],[156,162,185],[163,184,185],[153,156,164,173,185],[165,185],[166,185],[144,167,185],[168,183,185,189],[169,185],[170,185],[156,171,185],[171,172,185,187],[156,173,174,175,176,185],[173,175,185],[173,174,185],[176,185],[177,185],[156,179,180,185],[179,180,185],[150,164,173,181,185],[182,185],[164,183,185],[145,159,170,184,185],[150,185],[173,185,186],[185,187],[185,188],[145,150,156,158,167,173,184,185,187,189],[173,185,190],[90,185],[89,93,185],[93,185],[92,93,185],[91,92,185],[97,98,99,100,101,102,103,104,105,185],[136,185],[89,93,94,185],[44,185],[44,46,185],[43,185],[43,66,83,185],[43,65,85,185],[43,95,185],[42,43,65,66,83,85,95,106,110,111,112,119,185],[43,95,106,108,185],[43,83,85,95,106,107,185],[43,95,106,134,139,185],[43,85,86,108,185],[43,65,66,185],[43,81,82,83,185],[43,44,45,47,67,84,185],[113,114,115,116,117,118,185],[48,49,50,51,52,53,54,55,56,57,60,61,62,63,64,185],[58,59,185],[59,185],[58,185],[66,83],[95],[93,95,108],[93,95,134,139],[85,86,108],[44,45]],"referencedMap":[[87,1],[96,2],[97,3],[100,4],[98,4],[102,4],[105,5],[104,1],[103,4],[101,4],[99,3],[88,1],[89,6],[122,1],[124,1],[131,1],[125,7],[123,1],[138,8],[139,9],[133,10],[134,11],[135,12],[129,13],[130,14],[132,15],[127,16],[128,17],[126,1],[107,18],[81,18],[69,19],[70,20],[68,21],[71,22],[72,23],[73,24],[74,25],[75,26],[76,27],[77,28],[78,29],[79,30],[80,31],[193,1],[141,32],[142,32],[144,33],[145,34],[146,35],[147,36],[148,37],[149,38],[150,39],[151,40],[152,41],[153,42],[154,42],[155,43],[156,44],[157,45],[158,46],[143,47],[191,1],[159,48],[160,49],[161,50],[192,51],[162,52],[163,53],[164,54],[165,55],[166,56],[167,57],[168,58],[169,59],[170,60],[171,61],[172,62],[173,63],[175,64],[174,65],[176,66],[177,67],[178,1],[179,68],[180,69],[181,70],[182,71],[183,72],[184,73],[185,74],[186,75],[187,76],[188,77],[189,78],[190,79],[91,80],[90,1],[94,81],[92,82],[136,83],[93,84],[106,85],[137,86],[95,87],[111,88],[45,88],[82,1],[112,1],[47,89],[46,88],[44,1],[43,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[34,1],[39,1],[40,1],[35,1],[36,1],[37,1],[38,1],[1,1],[41,1],[42,1],[66,90],[86,91],[83,92],[110,93],[120,94],[121,95],[108,96],[140,97],[109,98],[67,99],[84,100],[85,101],[117,1],[118,12],[113,12],[119,102],[114,12],[115,12],[116,12],[63,1],[61,1],[56,1],[50,1],[57,1],[49,1],[62,1],[53,1],[65,103],[64,1],[51,1],[54,1],[55,1],[48,1],[52,1],[60,104],[58,105],[59,106]],"exportedModulesMap":[[87,1],[96,2],[97,3],[100,4],[98,4],[102,4],[105,5],[104,1],[103,4],[101,4],[99,3],[88,1],[89,6],[122,1],[124,1],[131,1],[125,7],[123,1],[138,8],[139,9],[133,10],[134,11],[135,12],[129,13],[130,14],[132,15],[127,16],[128,17],[126,1],[107,18],[81,18],[69,19],[70,20],[68,21],[71,22],[72,23],[73,24],[74,25],[75,26],[76,27],[77,28],[78,29],[79,30],[80,31],[193,1],[141,32],[142,32],[144,33],[145,34],[146,35],[147,36],[148,37],[149,38],[150,39],[151,40],[152,41],[153,42],[154,42],[155,43],[156,44],[157,45],[158,46],[143,47],[191,1],[159,48],[160,49],[161,50],[192,51],[162,52],[163,53],[164,54],[165,55],[166,56],[167,57],[168,58],[169,59],[170,60],[171,61],[172,62],[173,63],[175,64],[174,65],[176,66],[177,67],[178,1],[179,68],[180,69],[181,70],[182,71],[183,72],[184,73],[185,74],[186,75],[187,76],[188,77],[189,78],[190,79],[91,80],[90,1],[94,81],[92,82],[136,83],[93,84],[106,85],[137,86],[95,87],[111,88],[45,88],[82,1],[112,1],[47,89],[46,88],[44,1],[43,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[34,1],[39,1],[40,1],[35,1],[36,1],[37,1],[38,1],[1,1],[41,1],[42,1],[86,107],[110,108],[121,109],[108,108],[140,110],[109,111],[85,112],[117,1],[118,12],[113,12],[119,102],[114,12],[115,12],[116,12],[63,1],[61,1],[56,1],[50,1],[57,1],[49,1],[62,1],[53,1],[65,103],[64,1],[51,1],[54,1],[55,1],[48,1],[52,1],[60,104],[58,105],[59,106]],"semanticDiagnosticsPerFile":[87,96,97,100,98,102,105,104,103,101,99,88,89,122,124,131,125,123,138,139,133,134,135,129,130,132,127,128,126,107,81,69,70,68,71,72,73,74,75,76,77,78,79,80,193,141,142,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,143,191,159,160,161,192,162,163,164,165,166,167,168,169,170,171,172,173,175,174,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,91,90,94,92,136,93,106,137,95,111,45,82,112,47,46,44,43,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,30,31,32,33,7,34,39,40,35,36,37,38,1,41,42,66,86,83,110,120,121,108,140,109,67,84,85,117,118,113,119,114,115,116,63,61,56,50,57,49,62,53,65,64,51,54,55,48,52,60,58,59]},"version":"4.7.4"}
1
+ {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../@types/global/index.d.ts","../../../node_modules/tslib/tslib.d.ts","../../../node_modules/redux/index.d.ts","../../../node_modules/pwa-helpers/lazy-reducer-enhancer.d.ts","../../../node_modules/redux-thunk/es/types.d.ts","../../../node_modules/redux-thunk/es/index.d.ts","../../utils/dist/src/sleep.d.ts","../../utils/dist/src/file-drop-helper.d.ts","../../utils/dist/src/context-path.d.ts","../../utils/dist/src/os.d.ts","../../utils/dist/src/swipe-listener.d.ts","../../utils/dist/src/fullscreen.d.ts","../../utils/dist/src/parse-jwt.d.ts","../../utils/dist/src/password-pattern.d.ts","../../utils/dist/src/closest-element.d.ts","../../utils/dist/src/detect-overflow.d.ts","../../utils/dist/src/timecapsule/snapshot-taker.d.ts","../../utils/dist/src/timecapsule/timecapsule.d.ts","../../utils/dist/src/timecapsule/index.d.ts","../../utils/dist/src/clipboard.d.ts","../../utils/dist/src/format.d.ts","../../utils/dist/src/adjust-list-param.d.ts","../../utils/dist/src/is-unvalued.d.ts","../../utils/dist/src/index.d.ts","../src/actions/app.ts","../src/reducers/app.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/lodash-es/startcase.d.ts","../../../node_modules/pwa-helpers/metadata.d.ts","../src/actions/const.ts","../src/reducers/route.ts","../src/store.ts","../src/actions/route.ts","../src/actions/index.ts","../../../node_modules/@lit/reactive-element/css-tag.d.ts","../../../node_modules/@lit/reactive-element/reactive-controller.d.ts","../../../node_modules/@lit/reactive-element/reactive-element.d.ts","../../../node_modules/@types/trusted-types/lib/index.d.ts","../../../node_modules/@types/trusted-types/index.d.ts","../../../node_modules/lit-html/directive.d.ts","../../../node_modules/lit-html/lit-html.d.ts","../../../node_modules/lit-element/lit-element.d.ts","../../../node_modules/lit/index.d.ts","../../../node_modules/@lit/reactive-element/decorators/base.d.ts","../../../node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../../../node_modules/@lit/reactive-element/decorators/property.d.ts","../../../node_modules/@lit/reactive-element/decorators/state.d.ts","../../../node_modules/@lit/reactive-element/decorators/event-options.d.ts","../../../node_modules/@lit/reactive-element/decorators/query.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-all.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-async.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts","../../../node_modules/lit/decorators.d.ts","../../../node_modules/@types/lodash-es/isequal.d.ts","../src/app/pages/page-view.ts","../src/index.ts","../src/object-store.ts","../src/app/app-style.ts","../../../node_modules/pwa-helpers/connect-mixin.d.ts","../../../node_modules/pwa-helpers/router.d.ts","../../styles/dist/src/headroom-styles.d.ts","../../styles/dist/src/scrollbar-styles.d.ts","../../styles/dist/src/spinner-styles.d.ts","../../styles/dist/src/tooltip-styles.d.ts","../../styles/dist/src/common-button-styles.d.ts","../../styles/dist/src/common-grist-styles.d.ts","../../styles/dist/src/index.d.ts","../src/app/app.ts","../src/app/pages/page-404.ts","../../../node_modules/@material/base/foundation.d.ts","../../../node_modules/@material/mwc-base/utils.d.ts","../../../node_modules/@material/base/types.d.ts","../../../node_modules/@material/mwc-base/base-element.d.ts","../../../node_modules/@material/ripple/types.d.ts","../../../node_modules/@material/ripple/adapter.d.ts","../../../node_modules/@material/ripple/foundation.d.ts","../../../node_modules/@material/mwc-ripple/mwc-ripple-base.d.ts","../../../node_modules/@material/mwc-ripple/mwc-ripple.d.ts","../../../node_modules/@material/mwc-base/aria-property.d.ts","../../../node_modules/@material/mwc-ripple/ripple-handlers.d.ts","../../../node_modules/@material/mwc-icon-button/mwc-icon-button-base.d.ts","../../../node_modules/@material/mwc-icon-button/mwc-icon-button.d.ts","../../../node_modules/@material/mwc-icon/mwc-icon.d.ts","../../../node_modules/lit-html/directives/class-map.d.ts","../../../node_modules/lit/directives/class-map.d.ts","../../../node_modules/@material/mwc-button/mwc-button-base.d.ts","../../../node_modules/@material/mwc-button/mwc-button.d.ts","../src/entries/public/home.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"439ece86b8b4d4af78af97e74d373ae1cd657c7169f4dee55038648217ca9fcf","14a84fbe4ec531dcbaf5d2594fd95df107258e60ae6c6a076404f13c3f66f28e",{"version":"fd624f7d7b264922476685870f08c5e1c6d6a0f05dee2429a9747b41f6b699d4","affectsGlobalScope":true},"701978f3975f96e76e3ffc2e1762e3a97e3d323812049fb6fdfd559579b89708","d50a158fc581be7b1c51253ad33cb29c0a8ce3c42ca38775ffadf104c36376d0","1f2cdbf59d0b7933678a64ac26ae2818c48ff9ebf93249dde775dc3e173e16bf","05cfea0488751015b0b85911b6cdcde7c6cebdd9b8cada1ec0b5c1736357a552","6d1f118cfbf15c813f578cf6b87da76d075698bf7db964cb7c3d75f0309652f7","74a8a08e5d642a108ae7b23e72bded7b9d784c665458affdfb1770c1b19bcdd1","a9e5489311de854cb96bfcf5eaf969c9b322c658e3575f30e03180e4d4ca3994","f8c86fcbfb0a1e69a0ed28d3249cc33c312fa23a39c17e15cbbcc539bdcdc303","7179b6924a816d72bf206803d8cdc27ccc14f02f2d4f4145d5183eb083f5bf17","39d2d450df6efbf38585fd316f18922c8ac3fdfd4c3fc412d0bee34e2bc86378","7470dedadf72566f57f46fa8a8950afe388a4e90935b4e4b3d33add9a611929d","90feb2c17c1fd53720e1dd8738c6660aa14402394bb30caed6f2a7cdd54fea40","75f8b003f4362cb9a9e1d9d8b00c6a1e866868f05b27ede146dd8830b675bdf7","e56a260134af75a771b5e19534d30007034e2757183546193f8b191683c6b2b9","70926949fb828e317443687c9f3b5288e1ef6ec1e5130c1001f406b4ba3665ff","f499d7fb533781939c7a5ab778ac6e6c8ffe65601b1a61a843c36ee0013f05b6","46d98d129de9914564a5c8909c9098175c5896919e8e698d206cfffdfa7c3999","c8f7da57a17479145ea922b90a1efb2ff8e8096992bb0a4658606c9fbd944efc","28b3ab6f54b290c19897dff3d4346b7f1caf6e7d2057119ec6332dc1ddf25e85","1e73d612f806d183d6c16c4135c16c1a14dd827c1a67097e72ab1841852bfcb9","171109b02b7c87120b262c5ca0ccb9ecbc88ad92f81eb4e62b7ef6237f0fc9e2",{"version":"7b48718e216c87c95034533cb162482b9e7d8135b830089e31796aa192b45e29","signature":"641089f0b8094ef74b9d4b3364d5dec1592d5e3b8a51c1ba491bc8872049e79a"},{"version":"7ed9e9171143f9e565a55d9b9e8b52a70946490021141395ed8a6083d2026bc1","signature":"c0dab6e6130fcc1162e18e1d7ee3038525ee9daebaa8f4f221fb67440ae38509"},"675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","6702a1cd8818cb22ee95c85dcf2c31c117bde892e1afd2bc254bd720f4c6263c","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","7a79ca84e4370ed2e1afaa99ff7d25194901916b7672e977d16f77af3b71342f","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"4d180dd4d0785f2cd140bc069d56285d0121d95b53e4348feb4f62db2d7035d3","66e64ed8de436d3ceabe6c3f59dd0a39a5237991bccfda5751c78d129e436f68",{"version":"93621eb03f607927957920ba4eef6f8b6fb0898ed79e848cc533344907b8f1eb","signature":"7af29b0589483f7bb8a99405ddb849f34bc053146184561ed4179e02f5fe4d0f"},{"version":"aeb7e98e44ccf93b887e377de3182b9382e8b0f8047eae1f40eca0985486280a","signature":"7611542379a72f7b8a92110271908b9d1913d72a581e14a779491c9083dc33db"},{"version":"c49b0e5a71a930657eb78879ffd2eeb2908fdd06ab79641da36429adce1a8ab3","signature":"4ab17f80ced148d509345cee706b2b85941515dd76e32cf47118bcdf6a4bd56a","affectsGlobalScope":true},{"version":"740cb9304e6498873ad5c53d86c78e1c3027befe245f8afa11d19ccd073fe74c","signature":"632e30c6a6cc93743264180e3a21db48158840aa780d64b36d5d344d6a936271"},{"version":"dbafe8734014446e224714be75f829f12ec13242f8b1b69728317ae9299bf742","signature":"d8afb84d78023735e55f1b96e06b3e221eb7ce5473ca1c93564d30e7efb0f991"},"52dd370c807255c61765347fc90a9bee3c522b8744dc222714e2bf6b5be3a823","1e5743b25a63fd34ffbae89adcbf248ee17db6ed08d90079ffa93803c3e80d2a","13bb750b495c48fd60d7b5e09f65d4a7b010ab7e09a8943a6d54511e7d184f84","2fcd2d22b1f30555e785105597cd8f57ed50300e213c4f1bbca6ae149f782c38",{"version":"bb4248c7f953233ac52332088fac897d62b82be07244e551d87c5049600b6cf7","affectsGlobalScope":true},"3f30c6b57bf5eb7a7d4298506b78b18d428a39a409e1eadd93a3fdd0299d2687","19926529d718864dd255640a05f1b7b87fad1ac5791a4092ea00a83713b6a77b","eba7cf33380cc3a3cf614faf67300e14d0bdff9ea6c5cd6f4b040b1756a48ab1","f07a77a7fb1d49aa2b61cb68bf712a083487acd7130d20223a83de03af0c257d","241000969e5367a9a9b9a4f57963e54e5a012c9d89c273526c0115650a7b9e5f","ac388c7c7a262213a3700451bc921e382a93fb27c0252c34ccf03540b4ce044b","097a7e3badfd1c4b35f72aa0f722f5714a4f6a84e53fca5a79dcfebbfc5e718d","fb0107c83e2e0e75b77dacd0c3c6c3ab6844e98dce2a8f858c6f0a57c12136a6","0a478dcb6e6bd8a5d871165659c79cee7b8c3b7a87289118d22e1a04d171e252","e385eb01000d045ea07cea09c488f66e051709a9ac460bf271623f9984e0c419","bf69beba89702c85d84546269e0d4e8b128d32e26b314ee9b501b0b32c82490b","46f3a421b048670d16a3c02589261f17c1cea687f2602eed31e1335b53aed785","4bcb813ea56182beaaab1e8274524eb9f1449b0d8e79efc4a0399de09e43f816","c784eab1cf838d9d6527bce3d9f2d373145606666b68f7610291a7adf6e6bda9","f0380f581cb015778c0fe51e95b5b7f6dae237280654558469b2486c1572268a","da66c1b3e50ef9908e31ce7a281b137b2db41423c2b143c62524f97a536a53d9",{"version":"831c69ecdbfd9b1a941199093a398ff621df5e6461585a36b002d35f86bd4d39","signature":"6bf72b2541469cac7a7882468d25a04fdff489625452ff7d3e670c764e5a9ba1"},{"version":"891593d6c5f3647ceb478ca3637da5fec0cd466cd165ede60ed95b3205427e50","signature":"5257b95e47714b754c367ce742ada7042aade5bf8c88bc7dd5a23194e3a50fb0"},{"version":"4f1a2df041b302d49a7637e72f2a48d04f84d4a738e01d4351aff891f93a6cc4","signature":"1cdb2527d7c6477a781bff6bf27e21cefd653e91eabb68a7d232b83648937c09"},{"version":"7a9b5d885b67d43f2aff182b88b0e79630613fddc88d73db9f3c9a21fec40244","signature":"561e8c7af0e65a4ea90af6b43a54399db172aec993f14981ff45769ee8b6a33e"},"23c05cc4d97aa608b5ea8badadb4e1b0c4e306ed5d651c5d1760552e91d1ad92","452807fa3050dbc39caf1ffd2e9cf9b36e719e36ee062f6adebe50be426790d3","cf93fb9208a01c80f0fad245c4360356e5de6c2384b7641acf0b9cc2f5c42448","336398b0efaf964124e636a9b29c4edd5870aee79ac64bf87be58a9d66b7c048","571bc65ec37ba124e762bb822e14a2b8502dc684e356be8feaccbd6b9cadd023","2bbbefc1235500bdb5091f240dc8cba861a95342272f7d11b7574a0d2ef4f85e","7cd455fc4c4818f19263d73b29c59f3fb5fd54b45a6ab83ca3eb3661281db56b","1c6b9b5501774a2ece6574be8e26092800e3f1f836f8c179b4f9fdd271a620f8","0929ec89582904044a56ca8220114b7256450a197da22eb5c9b630be69a41372",{"version":"cd6e5c223922f1b1bf2a35a08f2b81968b271e0ed162fa46f73269e16e104101","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"f61767413d019de6565fb8a382405ae71b71344a7dfbf272cfbf8a8f5364ceb9","signature":"fdec01c831cb7c40699061016742faf26811b5690fde7ce414d0c7a3780a09ee"},"a0667520a6521c12128fc28cbd5b2af58eef11c5b2a7441e0f0d47f50bf6c8e3","0dcf4c2bf1bb547e2ae5b8dce4656a56fbd15e3401ff5236ea0b93b6c60f9249","820c26194ad4089bc503b02bbedbd86a865e9c8a05c58ef88c8d19d9c019712a","790b453e1b76814112c3870d6e12f5db992d3194fdb3529445317dd75cb538be","d375de88ab19f6c105a65fc89eca1ae782362c5c395283b0c85ef39c7b835dfe","aeda2fffbc651fe1fa60b913d45f291f5544c4840206cb3b1badc16d9f01a0f0","7b3c1d688dcb8645b5a6c37bce5b047da92b4c298ed8709e03e987e0efb035b1","29c64e1acb5b73f08a60e71154c65c8a34f885f1f2cc55ffa06dfd244c058883",{"version":"7d176f155e5f6fc9756ddcc1a6d3eb2673030a066e2b7846dfc81b5271f3e269","affectsGlobalScope":true},"024fea9ee598cfe747f18340ad74e4ea428fc2a7988250ff9fcfce5673b7d422","aea18a267a0770c365cc390ad0a0b9725ed7a4540e9a96319b0f5094ee0ca124","a5a7c7d197c7b1918bddb0dd30bf8979a38828b24467ec45db093bf4621507ef",{"version":"afcd875785333f656f79bf1b3a445ceecc6aaf8e2b7cde59309a8778f41de613","affectsGlobalScope":true},{"version":"27b285e901600242883d62a5fff9f5d262c6fa128b6e6c6963f981f2630a957e","affectsGlobalScope":true},"147cb5b590b77c8c58e4ef0af1ff11ee90ee2b34262816df0665b6ff8fd50aad","6e0575b628aedce5db38c17569e5c909beead07f9052fe7944fb8bfccc3db92e","ae1351ed65b27a2b29a70a238024c957910e944aabbffce286099ed2b04f9baf",{"version":"3c19b3fb2f88bbd8f103fe2de0d6c0700dd9bf6678553f6db803162620b49e27","affectsGlobalScope":true},{"version":"38ce75ed10ede8e74c867895d3babfe8536df2cac026efe61a46250f2cdcdfbc","signature":"79f6932003c4c5650124a7b5a0ff908f775ff9d60bf2519ab4c3dc5c622e48b4"},"9122ed7070e054b73ebab37c2373a196def2d90e7d1a9a7fcd9d46b0e51fae78","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"002d6d5f044365b3fbfba0ba9be3bb57cac09b81547c8df4b0795755d2081d90","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","c4cfc9a6e2ebb8bc8c0e2392dfc4056993ced3b35069ebf132ac18ca7a562881","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"bae4ea23beb8397755b935cb84d3cdc6cdb0b1b4a329b90de9fc6c8774d71994","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","df36874d9e56aff601e921c4b3971d37cf66d14f6455935ce821e6cad13b1823","3c135ff5bda0355f6b52a10ea931736ec7c5a80b7fb8772019054e0eaa0fd6b6","1abb206a4ecd13b21536b677d7d5f66e0d7316f0d44610197cfcc5776f78884a","dbe5aa5a5dd8bd1c6a8d11b1310c3f0cdabaacc78a37b394a8c7b14faeb5fb84","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"76527127c8b749bee5977408861ce3ee56ec19ddcea8704c628f98ca610283e6","a907bf91df26df2400858ef75f749498fb5cf00062bf90a737ac3949cc07978d","cb92bc2e42b261e4299025756f1beb826b3d9666a3f0d46f8a7254ca512f57e4","cb4f3f03480e1727eae46400606cecaa97f550186ff8fa909ebc00db4180531b",{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","d1a78a3c5708807e8de3e399f91df4797c62e44b02195eefc2209b2e713e54ee","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","556bf5c36deb62cffa1bf697c1789fe008ec82db0273025001db66732714e9d9","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","0830071706fa0e477fb5e95f0955cc1062b5948b146b7d4e03a126f12ad6085f",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"bfe39beb986d2a2e512c091cbe924f1c415bc65de54de0e2f6a0dc6f84c183d9","affectsGlobalScope":true},"2d526e6f21d8cc66ac11ada32874e95ae88d870c6c9d3d9d4e03b1d1f9ad7b8e","06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","d2ec52f565f0570e90b659811347bd689f8c6039b11eaaccd0f243759d46da6e","8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a12806a1bde5e9f137bb79728d87a4ceaedf04e95efc9967d3288a3c252d9a7b",{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","sourceMap":true,"strict":true,"target":5,"useDefineForClassFields":false},"fileIdsList":[[188],[90,188],[97,188],[90,97,188],[90,97,105,188],[88,89,188],[96,124,125,126,188],[96,132,133,134,137,139,188],[96,140,188],[96,132,133,134,188],[96,135,188],[96,188],[96,125,127,129,130,188],[96,131,188],[125,188],[126,128,188],[124,129,188],[80,188],[68,70,71,72,73,74,75,76,77,78,79,80,188],[68,69,71,72,73,74,75,76,77,78,79,80,188],[69,70,71,72,73,74,75,76,77,78,79,80,188],[68,69,70,72,73,74,75,76,77,78,79,80,188],[68,69,70,71,73,74,75,76,77,78,79,80,188],[68,69,70,71,72,74,75,76,77,78,79,80,188],[68,69,70,71,72,73,75,76,77,78,79,80,188],[68,69,70,71,72,73,74,76,77,78,79,80,188],[68,69,70,71,72,73,74,75,77,78,79,80,188],[68,69,70,71,72,73,74,75,76,78,79,80,188],[68,69,70,71,72,73,74,75,76,77,79,80,188],[68,69,70,71,72,73,74,75,76,77,78,80,188],[68,69,70,71,72,73,74,75,76,77,78,79,188],[143,188],[146,188],[147,152,188],[148,158,159,166,176,187,188],[148,149,158,166,188],[150,188],[151,152,159,167,188],[152,176,184,188],[153,155,158,166,188],[154,188],[155,156,188],[157,158,188],[158,188],[158,159,160,176,187,188],[158,159,160,176,179,188],[188,192],[161,166,176,187,188],[158,159,161,162,166,176,184,187,188],[161,163,176,184,187,188],[143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],[158,164,188],[165,187,188],[155,158,166,176,188],[167,188],[168,188],[146,169,188],[170,186,188,192],[171,188],[172,188],[158,173,174,188],[173,175,188,190],[158,176,177,178,179,188],[176,178,188],[176,177,188],[179,188],[180,188],[158,182,183,188],[182,183,188],[152,166,176,184,188],[185,188],[166,186,188],[147,161,172,187,188],[152,188],[176,188,189],[188,190],[188,191],[147,152,158,160,169,176,187,188,190,192],[176,188,193],[91,188],[90,94,188],[94,188],[93,94,188],[92,93,188],[98,99,100,101,102,103,104,105,106,188],[138,188],[90,94,95,188],[44,188],[44,46,188],[43,188],[43,66,83,86,188],[43,65,83,85,188],[43,96,188],[42,43,65,85,87,96,107,112,113,114,121,188],[43,96,107,109,188],[43,83,85,96,107,108,188],[43,96,107,136,141,188],[43,85,87,109,188],[43,65,66,188],[43,81,82,83,188],[43,44,45,47,67,84,188],[115,116,117,118,119,120,188],[48,49,50,51,52,53,54,55,56,57,60,61,62,63,64,188],[58,59,188],[59,188],[58,188],[66,83,86],[96],[94,96,109],[94,96,136,141],[85,87,109],[44,45]],"referencedMap":[[88,1],[97,2],[98,3],[101,4],[99,4],[103,4],[106,5],[105,1],[104,4],[102,4],[100,3],[89,1],[90,6],[124,1],[126,1],[133,1],[127,7],[125,1],[140,8],[141,9],[135,10],[136,11],[137,12],[131,13],[132,14],[134,15],[129,16],[130,17],[128,1],[108,18],[81,18],[69,19],[70,20],[68,21],[71,22],[72,23],[73,24],[74,25],[75,26],[76,27],[77,28],[78,29],[79,30],[80,31],[196,1],[143,32],[144,32],[146,33],[147,34],[148,35],[149,36],[150,37],[151,38],[152,39],[153,40],[154,41],[155,42],[156,42],[157,43],[158,44],[159,45],[160,46],[145,47],[194,1],[161,48],[162,49],[163,50],[195,51],[164,52],[165,53],[166,54],[167,55],[168,56],[169,57],[170,58],[171,59],[172,60],[173,61],[174,61],[175,62],[176,63],[178,64],[177,65],[179,66],[180,67],[181,1],[182,68],[183,69],[184,70],[185,71],[186,72],[187,73],[188,74],[189,75],[190,76],[191,77],[192,78],[193,79],[92,80],[91,1],[95,81],[93,82],[138,83],[94,84],[107,85],[139,86],[96,87],[113,88],[45,88],[82,1],[114,1],[47,89],[46,88],[44,1],[43,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[34,1],[39,1],[40,1],[35,1],[36,1],[37,1],[38,1],[1,1],[41,1],[42,1],[66,90],[83,90],[87,91],[86,92],[112,93],[122,94],[123,95],[109,96],[142,97],[110,98],[111,90],[67,99],[84,100],[85,101],[119,1],[120,12],[115,12],[121,102],[116,12],[117,12],[118,12],[63,1],[61,1],[56,1],[50,1],[57,1],[49,1],[62,1],[53,1],[65,103],[64,1],[51,1],[54,1],[55,1],[48,1],[52,1],[60,104],[58,105],[59,106]],"exportedModulesMap":[[88,1],[97,2],[98,3],[101,4],[99,4],[103,4],[106,5],[105,1],[104,4],[102,4],[100,3],[89,1],[90,6],[124,1],[126,1],[133,1],[127,7],[125,1],[140,8],[141,9],[135,10],[136,11],[137,12],[131,13],[132,14],[134,15],[129,16],[130,17],[128,1],[108,18],[81,18],[69,19],[70,20],[68,21],[71,22],[72,23],[73,24],[74,25],[75,26],[76,27],[77,28],[78,29],[79,30],[80,31],[196,1],[143,32],[144,32],[146,33],[147,34],[148,35],[149,36],[150,37],[151,38],[152,39],[153,40],[154,41],[155,42],[156,42],[157,43],[158,44],[159,45],[160,46],[145,47],[194,1],[161,48],[162,49],[163,50],[195,51],[164,52],[165,53],[166,54],[167,55],[168,56],[169,57],[170,58],[171,59],[172,60],[173,61],[174,61],[175,62],[176,63],[178,64],[177,65],[179,66],[180,67],[181,1],[182,68],[183,69],[184,70],[185,71],[186,72],[187,73],[188,74],[189,75],[190,76],[191,77],[192,78],[193,79],[92,80],[91,1],[95,81],[93,82],[138,83],[94,84],[107,85],[139,86],[96,87],[113,88],[45,88],[82,1],[114,1],[47,89],[46,88],[44,1],[43,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[34,1],[39,1],[40,1],[35,1],[36,1],[37,1],[38,1],[1,1],[41,1],[42,1],[87,107],[112,108],[123,109],[109,108],[142,110],[110,111],[85,112],[119,1],[120,12],[115,12],[121,102],[116,12],[117,12],[118,12],[63,1],[61,1],[56,1],[50,1],[57,1],[49,1],[62,1],[53,1],[65,103],[64,1],[51,1],[54,1],[55,1],[48,1],[52,1],[60,104],[58,105],[59,106]],"semanticDiagnosticsPerFile":[88,97,98,101,99,103,106,105,104,102,100,89,90,124,126,133,127,125,140,141,135,136,137,131,132,134,129,130,128,108,81,69,70,68,71,72,73,74,75,76,77,78,79,80,196,143,144,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,145,194,161,162,163,195,164,165,166,167,168,169,170,171,172,173,174,175,176,178,177,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,92,91,95,93,138,94,107,139,96,113,45,82,114,47,46,44,43,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,30,31,32,33,7,34,39,40,35,36,37,38,1,41,42,66,83,87,86,112,122,123,109,142,110,111,67,84,85,119,120,115,121,116,117,118,63,61,56,50,57,49,62,53,65,64,51,54,55,48,52,60,58,59]},"version":"4.8.3"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "WebApplication architecturing shell following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "heartyoh",
6
- "version": "1.0.7",
6
+ "version": "1.0.15",
7
7
  "main": "dist/src/index.js",
8
8
  "module": "dist/src/index.js",
9
9
  "exports": {
@@ -11,7 +11,8 @@
11
11
  "./app.js": "./dist/src/app/app.js",
12
12
  "./app-style.js": "./dist/src/app/app-style.js",
13
13
  "./page-view.js": "./dist/src/app/pages/page-view.js",
14
- "./page-404.js": "./dist/src/app/pages/page-404.js"
14
+ "./page-404.js": "./dist/src/app/pages/page-404.js",
15
+ "./object-store.js": "./dist/src/object-store.js"
15
16
  },
16
17
  "typesVersions": {
17
18
  "*": {
@@ -26,6 +27,9 @@
26
27
  ],
27
28
  "page-404.js": [
28
29
  "dist/src/app/pages/page-404.d.ts"
30
+ ],
31
+ "object-store.js": [
32
+ "dist/src/object-store.d.ts"
29
33
  ]
30
34
  }
31
35
  },
@@ -96,5 +100,5 @@
96
100
  "prettier --write"
97
101
  ]
98
102
  },
99
- "gitHead": "24e241b4f2d4cde785816ea5241f110ffb7a692c"
103
+ "gitHead": "6b727ee8ad5598ab97dfc0bc77d3dc685f6a1328"
100
104
  }
@@ -0,0 +1,8 @@
1
+ export const UPDATE_PAGE = 'UPDATE_PAGE'
2
+ export const UPDATE_CONTEXT = 'UPDATE_CONTEXT'
3
+ export const UPDATE_ACTIVE_PAGE = 'UPDATE_ACTIVE_PAGE'
4
+
5
+ export const REGISTER_NAVIGATION_CALLBACK = 'REGISTER_NAVIGATION_CALLBACK'
6
+ export const UNREGISTER_NAVIGATION_CALLBACK = 'UNREGISTER_NAVIGATION_CALLBACK'
7
+
8
+ export const HOMEPAGE = ''
@@ -1,2 +1,3 @@
1
1
  export * from './app'
2
2
  export * from './route'
3
+ export * from './const'
@@ -1,16 +1,8 @@
1
1
  import { getPathInfo } from '@operato/utils'
2
2
 
3
+ import { HOMEPAGE, UPDATE_PAGE } from '../actions/const'
3
4
  import { store } from '../store'
4
5
 
5
- export const UPDATE_PAGE = 'UPDATE_PAGE'
6
- export const UPDATE_CONTEXT = 'UPDATE_CONTEXT'
7
- export const UPDATE_ACTIVE_PAGE = 'UPDATE_ACTIVE_PAGE'
8
-
9
- export const REGISTER_NAVIGATION_CALLBACK = 'REGISTER_NAVIGATION_CALLBACK'
10
- export const UNREGISTER_NAVIGATION_CALLBACK = 'UNREGISTER_NAVIGATION_CALLBACK'
11
-
12
- export const HOMEPAGE = ''
13
-
14
6
  /**
15
7
  * 페이지를 이동하는 방법으로는 다음 두가지가 있다.
16
8
  * 1. page link를 사용하는 방법 <a href='page'>goto page</a>
package/src/app/app.ts CHANGED
@@ -6,8 +6,7 @@ import { installRouter } from 'pwa-helpers/router.js'
6
6
  import { ScrollbarStyles } from '@operato/styles'
7
7
  import { getPathInfo } from '@operato/utils'
8
8
 
9
- import { UPDATE_CONTEXT_PATH, UPDATE_MODULES } from '../actions/app'
10
- import { navigateWithSilence, UPDATE_ACTIVE_PAGE } from '../actions/route'
9
+ import { navigateWithSilence, UPDATE_ACTIVE_PAGE, UPDATE_CONTEXT_PATH, UPDATE_MODULES } from '../actions'
11
10
  import { store } from '../store'
12
11
  import { AppStyle } from './app-style'
13
12
 
@@ -2,7 +2,7 @@ import { LitElement, PropertyValues } from 'lit'
2
2
  import { property } from 'lit/decorators.js'
3
3
  import isEqual from 'lodash-es/isEqual'
4
4
 
5
- import { UPDATE_CONTEXT } from '../../actions/route'
5
+ import { UPDATE_CONTEXT } from '../../actions/const'
6
6
  import { store } from '../../store'
7
7
 
8
8
  function diff(after: any, before: any): any {
package/src/index.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export * from './store'
2
2
  export * from './actions'
3
3
  export * from './app/pages/page-view'
4
- // export * from './app/app' /* @operato/shell couldn't be used because the app has to handle A at the time of bundling. */
@@ -0,0 +1,173 @@
1
+ /*
2
+ * [ Caution ]
3
+ * Since this module is being used by a service worker, be very careful about adding imports or using functions for browsers.
4
+ */
5
+
6
+ type OxObjectStore = {
7
+ add: (value: any, key?: IDBValidKey | undefined) => IDBValidKey
8
+ delete: (query: IDBValidKey | IDBKeyRange) => undefined
9
+ clear: () => undefined
10
+ get: (query: IDBValidKey | IDBKeyRange) => any
11
+ getAll: (query?: IDBValidKey | IDBKeyRange | null | undefined, count?: number | undefined) => any[]
12
+ getAllKeys: (query?: IDBValidKey | IDBKeyRange | null | undefined, count?: number | undefined) => IDBValidKey[]
13
+ count: (query?: IDBValidKey | IDBKeyRange | undefined) => number
14
+ put: (value: any, key?: IDBValidKey | undefined) => IDBValidKey
15
+ openCursor: (
16
+ query?: IDBValidKey | IDBKeyRange | null | undefined,
17
+ direction?: IDBCursorDirection | undefined
18
+ ) => IDBCursorWithValue | null
19
+ openKeyCursor: (
20
+ query?: IDBValidKey | IDBKeyRange | null | undefined,
21
+ direction?: IDBCursorDirection | undefined
22
+ ) => IDBCursor | null
23
+ limit: (limit?: number) => undefined
24
+ }
25
+
26
+ /* promise queue */
27
+ class Queue {
28
+ private static queue: {
29
+ promise: Promise<IDBDatabase>
30
+ resolve: (db: IDBDatabase) => void
31
+ reject: (reason?: any) => void
32
+ }[] = []
33
+
34
+ private static workingOnPromise: boolean = false
35
+
36
+ static enqueue(promise: Promise<any>) {
37
+ return new Promise((resolve, reject) => {
38
+ this.queue.push({
39
+ promise,
40
+ resolve,
41
+ reject
42
+ })
43
+ this.dequeue()
44
+ })
45
+ }
46
+
47
+ static dequeue() {
48
+ if (this.workingOnPromise) {
49
+ return false
50
+ }
51
+ const item = this.queue.shift()
52
+ if (!item) {
53
+ return false
54
+ }
55
+ try {
56
+ this.workingOnPromise = true
57
+ item.promise
58
+ .then(value => {
59
+ this.workingOnPromise = false
60
+ item.resolve(value)
61
+ this.dequeue()
62
+ })
63
+ .catch(err => {
64
+ this.workingOnPromise = false
65
+ item.reject(err)
66
+ this.dequeue()
67
+ })
68
+ } catch (err) {
69
+ this.workingOnPromise = false
70
+ item.reject(err)
71
+ this.dequeue()
72
+ }
73
+ return true
74
+ }
75
+ }
76
+
77
+ function getStore(storeName: string): OxObjectStore {
78
+ return [
79
+ 'add',
80
+ 'delete',
81
+ 'clear',
82
+ 'get',
83
+ 'getAll',
84
+ 'getAllKeys',
85
+ 'count',
86
+ 'put',
87
+ 'openCursor',
88
+ 'openKeyCursor'
89
+ ].reduce(
90
+ (sum, m) => {
91
+ sum[m] = async (...params: any) => {
92
+ const db = (await getIndexDB()) as IDBDatabase
93
+
94
+ const transaction = db.transaction(storeName, 'readwrite')
95
+ const store = transaction.objectStore(storeName)
96
+ const method: (...p: any) => any = (store as any)[m]
97
+ const request = method.apply(store, params)
98
+
99
+ return await new Promise((resolve, reject) => {
100
+ request.onsuccess = (event: Event) => {
101
+ resolve((event.target as IDBRequest)?.result)
102
+ }
103
+
104
+ request.onerror = (event: Event) => {
105
+ reject(event)
106
+ }
107
+ })
108
+ }
109
+
110
+ return sum
111
+ },
112
+ {
113
+ async limit(this: OxObjectStore, limit = 50) {
114
+ const keys = (await this.getAllKeys()).slice(0, -limit)
115
+ for (let i = 0; i < keys.length; i++) {
116
+ await this.delete(keys[i])
117
+ }
118
+ }
119
+ } as any
120
+ )
121
+ }
122
+
123
+ function getIndexedDB(): IDBFactory {
124
+ if (typeof window !== 'undefined') {
125
+ return window.indexedDB
126
+ } else {
127
+ return self.indexedDB
128
+ }
129
+ }
130
+
131
+ var db: IDBDatabase
132
+
133
+ function getIndexDB() {
134
+ if (db) {
135
+ return db
136
+ }
137
+
138
+ return Queue.enqueue(
139
+ new Promise(function (resolve, reject) {
140
+ const indexedDB = getIndexedDB()
141
+
142
+ if (!indexedDB) {
143
+ reject('this browser does not support indexedDB')
144
+ }
145
+ const request = indexedDB.open('things-factory-database')
146
+
147
+ request.onerror = function (event) {
148
+ console.log("Why didn't you allow my web app to use IndexedDB?!")
149
+ reject(event)
150
+ }
151
+
152
+ request.onupgradeneeded = function (event: IDBVersionChangeEvent) {
153
+ var db: IDBDatabase = (event.target as IDBRequest)?.result
154
+
155
+ var store = db.createObjectStore('notifications', { keyPath: 'id', autoIncrement: true })
156
+ store.createIndex('notification_id_unqiue', 'id', { unique: true })
157
+
158
+ var store = db.createObjectStore('client_settings', { keyPath: 'key', autoIncrement: true })
159
+ store.createIndex('client_setting_key_unqiue', 'key', { unique: true })
160
+ }
161
+
162
+ request.onsuccess = function (event) {
163
+ console.log('IndexedDB opened successfully')
164
+ db = request.result
165
+ resolve(db)
166
+ }
167
+ })
168
+ )
169
+ }
170
+
171
+ /* ready indexedDB Stores */
172
+ export const clientSettingStore: OxObjectStore = getStore('client_settings')
173
+ export const notificationStore: OxObjectStore = getStore('notifications')
@@ -7,7 +7,7 @@ import {
7
7
  UPDATE_ACTIVE_PAGE,
8
8
  UPDATE_CONTEXT,
9
9
  UPDATE_PAGE
10
- } from '../actions/route.js'
10
+ } from '../actions/const'
11
11
 
12
12
  const APP_TITLE_EL = document.querySelector('meta[name="application-name"]') as HTMLMetaElement
13
13
 
package/src/store.ts CHANGED
@@ -2,8 +2,8 @@ import { lazyReducerEnhancer, LazyStore } from 'pwa-helpers/lazy-reducer-enhance
2
2
  import { Action, applyMiddleware, combineReducers, compose, createStore, Store } from 'redux'
3
3
  import thunk from 'redux-thunk'
4
4
 
5
- import app from './reducers/app.js'
6
- import route from './reducers/route.js'
5
+ import app from './reducers/app'
6
+ import route from './reducers/route'
7
7
 
8
8
  declare global {
9
9
  var __REDUX_DEVTOOLS_EXTENSION_COMPOSE__: any