@things-factory/operato-wms 6.0.0-alpha.18 → 6.0.0-alpha.19

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.
Files changed (2) hide show
  1. package/client/bootstrap.js +13 -14
  2. package/package.json +14 -14
@@ -1,6 +1,7 @@
1
1
  import '@things-factory/barcode-base'
2
2
  import '@things-factory/notification'
3
3
  import '@things-factory/system-ui'
4
+ import '@operato/i18n/ox-i18n.js'
4
5
 
5
6
  import gql from 'graphql-tag'
6
7
  import { html } from 'lit-element'
@@ -42,19 +43,19 @@ export default function bootstrap() {
42
43
 
43
44
  setupMenuPart({ hovering: isMobileDevice(), position: VIEWPART_POSITION.NAVBAR })
44
45
 
45
-
46
46
  /* setting app-tools */
47
47
  store.dispatch({
48
48
  type: APPEND_APP_TOOL,
49
49
  tool: {
50
50
  name: 'notification-badge',
51
51
  template: html`
52
- <notification-badge @click=${e => {
52
+ <notification-badge
53
+ @click=${e => {
53
54
  toggleOverlay('notification', {
54
55
  backdrop: true
55
56
  })
56
57
  }}
57
- >
58
+ >
58
59
  </notification-badge>
59
60
  `,
60
61
  position: TOOL_POSITION.REAR
@@ -99,7 +100,7 @@ export default function bootstrap() {
99
100
  type: ADD_MORENDA,
100
101
  morenda: {
101
102
  icon: html`<mwc-icon>help</mwc-icon>`,
102
- name: html`<i18n-msg msgid="text.help"></i18n-msg>`,
103
+ name: html`<ox-i18n msgid="text.help"></ox-i18n>`,
103
104
  action: () => {
104
105
  navigate('help')
105
106
  }
@@ -189,7 +190,7 @@ export default function bootstrap() {
189
190
  )
190
191
  }
191
192
  // route 함수 교체
192
- this.route = applicationDynamicRoute;
193
+ this.route = applicationDynamicRoute
193
194
  }
194
195
 
195
196
  async function loadOpaAppSettings() {
@@ -204,15 +205,13 @@ async function loadOpaAppSettings() {
204
205
  })
205
206
  }
206
207
 
207
-
208
-
209
208
  /**
210
209
  * 최상위 애플리케이션의 실제 라우팅 처리 로직
211
- *
212
- * @param {*} page
213
- * @returns
210
+ *
211
+ * @param {*} page
212
+ * @returns
214
213
  */
215
- function applicationDynamicRoute(page) {
214
+ function applicationDynamicRoute(page) {
216
215
  // if (!page || page == '') {
217
216
  // return '/home'
218
217
  // } else if (page == 'home') {
@@ -220,9 +219,9 @@ async function loadOpaAppSettings() {
220
219
  // return page
221
220
  // }
222
221
 
223
- let modules = store.getState().app.modules;
224
- let appModule = modules[modules.length - 1];
225
- let appRoutes = appModule.routes;
222
+ let modules = store.getState().app.modules
223
+ let appModule = modules[modules.length - 1]
224
+ let appRoutes = appModule.routes
226
225
 
227
226
  let route = appRoutes.find(mapping => mapping.page == page)
228
227
  if (route) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "6.0.0-alpha.18",
3
+ "version": "6.0.0-alpha.19",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -71,11 +71,11 @@
71
71
  "@operato/scene-table": "^1.0.0",
72
72
  "@operato/scene-wheel-sorter": "^1.0.0",
73
73
  "@things-factory/apptool-ui": "^6.0.0-alpha.13",
74
- "@things-factory/auth-ui": "^6.0.0-alpha.13",
74
+ "@things-factory/auth-ui": "^6.0.0-alpha.19",
75
75
  "@things-factory/barcode-ui": "^6.0.0-alpha.13",
76
76
  "@things-factory/biz-ui": "^6.0.0-alpha.13",
77
77
  "@things-factory/board-service": "^6.0.0-alpha.13",
78
- "@things-factory/board-ui": "^6.0.0-alpha.17",
78
+ "@things-factory/board-ui": "^6.0.0-alpha.19",
79
79
  "@things-factory/code-ui": "^6.0.0-alpha.17",
80
80
  "@things-factory/context-ui": "^6.0.0-alpha.13",
81
81
  "@things-factory/env": "^6.0.0-alpha.8",
@@ -88,27 +88,27 @@
88
88
  "@things-factory/grist-ui": "^6.0.0-alpha.13",
89
89
  "@things-factory/help": "^6.0.0-alpha.13",
90
90
  "@things-factory/i18n-base": "^6.0.0-alpha.13",
91
- "@things-factory/id-rule-base": "^6.0.0-alpha.13",
91
+ "@things-factory/id-rule-base": "^6.0.0-alpha.19",
92
92
  "@things-factory/import-ui": "^6.0.0-alpha.13",
93
93
  "@things-factory/import-ui-excel": "^6.0.0-alpha.18",
94
94
  "@things-factory/more-ui": "^6.0.0-alpha.13",
95
- "@things-factory/notification": "^6.0.0-alpha.13",
96
- "@things-factory/operato-tools": "^6.0.0-alpha.14",
95
+ "@things-factory/notification": "^6.0.0-alpha.19",
96
+ "@things-factory/operato-tools": "^6.0.0-alpha.19",
97
97
  "@things-factory/pdf": "^6.0.0-alpha.13",
98
98
  "@things-factory/print-proxy-service": "^6.0.0-alpha.13",
99
99
  "@things-factory/print-service": "^6.0.0-alpha.13",
100
100
  "@things-factory/print-ui": "^6.0.0-alpha.13",
101
101
  "@things-factory/product-base": "^6.0.0-alpha.13",
102
- "@things-factory/resource-ui": "^6.0.0-alpha.18",
103
- "@things-factory/sales-ui": "^6.0.0-alpha.18",
102
+ "@things-factory/resource-ui": "^6.0.0-alpha.19",
103
+ "@things-factory/sales-ui": "^6.0.0-alpha.19",
104
104
  "@things-factory/scene-google-map": "^6.0.0-alpha.8",
105
- "@things-factory/scene-visualizer": "^6.0.0-alpha.13",
106
- "@things-factory/setting-ui": "^6.0.0-alpha.13",
105
+ "@things-factory/scene-visualizer": "^6.0.0-alpha.19",
106
+ "@things-factory/setting-ui": "^6.0.0-alpha.19",
107
107
  "@things-factory/system-ui": "^6.0.0-alpha.13",
108
108
  "@things-factory/transport-base": "^6.0.0-alpha.13",
109
- "@things-factory/tutorial-ui": "^6.0.0-alpha.13",
110
- "@things-factory/warehouse-base": "^6.0.0-alpha.18",
111
- "@things-factory/worksheet-base": "^6.0.0-alpha.18"
109
+ "@things-factory/tutorial-ui": "^6.0.0-alpha.19",
110
+ "@things-factory/warehouse-base": "^6.0.0-alpha.19",
111
+ "@things-factory/worksheet-base": "^6.0.0-alpha.19"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^6.0.0-alpha.14",
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "effb2327e699c2880833aa2b1c412a2a323176e1"
120
+ "gitHead": "b4a7e60e4ffbb2e5186ed031157cf183c69d352a"
121
121
  }