@things-factory/operato-hub 3.6.33 → 3.6.38
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.
|
@@ -219,14 +219,14 @@ class BizplacePage extends connect(store)(PageView) {
|
|
|
219
219
|
|
|
220
220
|
<div field>
|
|
221
221
|
<label
|
|
222
|
-
>
|
|
222
|
+
>latitude longitude
|
|
223
223
|
<input type="text" name="latlng" .value=${bizplace.latlng} />
|
|
224
224
|
</label>
|
|
225
225
|
</div>
|
|
226
226
|
|
|
227
227
|
<div field>
|
|
228
228
|
<label
|
|
229
|
-
>
|
|
229
|
+
>postal code
|
|
230
230
|
<input type="text" name="postalCode" .value=${bizplace.postalCode} />
|
|
231
231
|
</label>
|
|
232
232
|
</div>
|
|
@@ -238,13 +238,6 @@ class BizplacePage extends connect(store)(PageView) {
|
|
|
238
238
|
</label>
|
|
239
239
|
</div>
|
|
240
240
|
|
|
241
|
-
<div field>
|
|
242
|
-
<label
|
|
243
|
-
>status
|
|
244
|
-
<input type="text" name="status" .value=${bizplace.status} />
|
|
245
|
-
</label>
|
|
246
|
-
</div>
|
|
247
|
-
|
|
248
241
|
<div field grid-span>
|
|
249
242
|
<mwc-button @click=${e => this.onSave()} raised label="Save"></mwc-button>
|
|
250
243
|
</div>
|
|
@@ -344,7 +337,7 @@ class BizplacePage extends connect(store)(PageView) {
|
|
|
344
337
|
if (this.active) {
|
|
345
338
|
if ('resourceId' in changes) {
|
|
346
339
|
this.bizplace = await this.fetchBizplace(lifecycle.resourceId)
|
|
347
|
-
this.bizplaceDomain =
|
|
340
|
+
this.bizplaceDomain = this.bizplace?.domain
|
|
348
341
|
this.dataChanged = false
|
|
349
342
|
this.form.addEventListener('change', () => (this.dataChanged = true))
|
|
350
343
|
}
|
|
@@ -386,6 +379,9 @@ class BizplacePage extends connect(store)(PageView) {
|
|
|
386
379
|
}
|
|
387
380
|
domain {
|
|
388
381
|
id
|
|
382
|
+
name
|
|
383
|
+
subdomain
|
|
384
|
+
extType
|
|
389
385
|
}
|
|
390
386
|
updatedAt
|
|
391
387
|
updater {
|
|
@@ -404,18 +400,18 @@ class BizplacePage extends connect(store)(PageView) {
|
|
|
404
400
|
return response.data.bizplace
|
|
405
401
|
}
|
|
406
402
|
|
|
407
|
-
async fetchBizplaceDomain(
|
|
403
|
+
async fetchBizplaceDomain(id) {
|
|
408
404
|
const response = await client.query({
|
|
409
405
|
query: gql`
|
|
410
|
-
query domain($
|
|
411
|
-
domain(
|
|
406
|
+
query domain($id: String!) {
|
|
407
|
+
domain(id: $id) {
|
|
412
408
|
name
|
|
413
409
|
subdomain
|
|
414
410
|
extType
|
|
415
411
|
}
|
|
416
412
|
}
|
|
417
413
|
`,
|
|
418
|
-
variables: {
|
|
414
|
+
variables: { id }
|
|
419
415
|
})
|
|
420
416
|
|
|
421
417
|
return response.data.domain
|
|
@@ -476,7 +472,7 @@ class BizplacePage extends connect(store)(PageView) {
|
|
|
476
472
|
})
|
|
477
473
|
|
|
478
474
|
if (!response.errors) {
|
|
479
|
-
this.bizplaceDomain = await this.fetchBizplaceDomain(this.bizplace.
|
|
475
|
+
this.bizplaceDomain = await this.fetchBizplaceDomain(this.bizplace?.domain.id)
|
|
480
476
|
|
|
481
477
|
await CustomAlert({
|
|
482
478
|
type: 'success',
|
|
@@ -533,7 +529,7 @@ class BizplacePage extends connect(store)(PageView) {
|
|
|
533
529
|
if (!response.errors) {
|
|
534
530
|
this.showToast(i18next.t('text.data_updated_successfully'))
|
|
535
531
|
this.bizplace.name = patch.name
|
|
536
|
-
this.bizplaceDomain = await this.fetchBizplaceDomain(this.bizplace.
|
|
532
|
+
this.bizplaceDomain = await this.fetchBizplaceDomain(this.bizplace?.domain.id)
|
|
537
533
|
this.dataChanged = false
|
|
538
534
|
store.dispatch(fetchHubStatus())
|
|
539
535
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { i18next } from '@things-factory/i18n-base'
|
|
2
|
-
import { client, PageView, store } from '@things-factory/shell'
|
|
3
1
|
import gql from 'graphql-tag'
|
|
4
2
|
import { css, html } from 'lit-element'
|
|
5
3
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
4
|
+
|
|
5
|
+
import { i18next } from '@things-factory/i18n-base'
|
|
6
|
+
import { client, PageView, store } from '@things-factory/shell'
|
|
7
|
+
|
|
6
8
|
import { fetchHubStatus } from '../../actions/hub'
|
|
7
9
|
import { getCountryCodes } from '../../utils'
|
|
8
10
|
|
|
@@ -121,10 +123,11 @@ class BusinessHome extends connect(store)(PageView) {
|
|
|
121
123
|
return html`
|
|
122
124
|
<div>
|
|
123
125
|
<img src="/assets/images/image-join.png" />
|
|
124
|
-
<h2>
|
|
126
|
+
<h2>Central Hub for <strong>${company.name}</strong></h2>
|
|
125
127
|
<p page-description>
|
|
126
|
-
|
|
127
|
-
your
|
|
128
|
+
Our intuitive cloud platform puts everything in one place. From order to delivery, our software is designed to
|
|
129
|
+
orchestrate and optimize your inventory and orders across your global logistics network and serve as a central
|
|
130
|
+
collaboration hub for your team across region.
|
|
128
131
|
</p>
|
|
129
132
|
</div>
|
|
130
133
|
|
|
@@ -152,14 +155,14 @@ class BusinessHome extends connect(store)(PageView) {
|
|
|
152
155
|
|
|
153
156
|
<div field>
|
|
154
157
|
<label
|
|
155
|
-
>
|
|
158
|
+
>postal code
|
|
156
159
|
<input type="text" name="postalCode" .value=${company.postalCode} />
|
|
157
160
|
</label>
|
|
158
161
|
</div>
|
|
159
162
|
|
|
160
163
|
<div field>
|
|
161
164
|
<label
|
|
162
|
-
>
|
|
165
|
+
>country
|
|
163
166
|
<select type="text" name="countryCode">
|
|
164
167
|
${(this.countryCodes || []).map(
|
|
165
168
|
code =>
|
|
@@ -178,13 +181,6 @@ class BusinessHome extends connect(store)(PageView) {
|
|
|
178
181
|
</label>
|
|
179
182
|
</div>
|
|
180
183
|
|
|
181
|
-
<div field>
|
|
182
|
-
<label
|
|
183
|
-
>status
|
|
184
|
-
<input type="text" name="status" .value=${company.status} />
|
|
185
|
-
</label>
|
|
186
|
-
</div>
|
|
187
|
-
|
|
188
184
|
<div field grid-span>
|
|
189
185
|
<mwc-button @click=${e => this.onSave()} raised label="Save"></mwc-button>
|
|
190
186
|
</div>
|
|
@@ -3,3 +3,4 @@ export const PALLET_LABEL_SETTING_KEY = 'pallet-label'
|
|
|
3
3
|
export const CARTON_LABEL_SETTING_KEY = 'carton-label'
|
|
4
4
|
export const REUSABLE_PALLET_LABEL_SETTING_KEY = 'reusable-pallet-label'
|
|
5
5
|
export const HOME_DASHBOARD_SETTING_KEY = 'dashboard'
|
|
6
|
+
export const PRODUCT_LABEL_SETTING_KEY = 'product-label'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-hub",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.38",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -41,80 +41,80 @@
|
|
|
41
41
|
"@material/mwc-formfield": "^0.22.1",
|
|
42
42
|
"@material/mwc-linear-progress": "^0.22.1",
|
|
43
43
|
"@material/mwc-radio": "^0.22.1",
|
|
44
|
-
"@things-factory/api": "^3.6.
|
|
45
|
-
"@things-factory/apptool-ui": "^3.6.
|
|
46
|
-
"@things-factory/attachment-base": "^3.6.
|
|
47
|
-
"@things-factory/auth-base": "^3.6.
|
|
48
|
-
"@things-factory/auth-ui": "^3.6.
|
|
49
|
-
"@things-factory/biz-base": "^3.6.
|
|
50
|
-
"@things-factory/biz-ui": "^3.6.
|
|
51
|
-
"@things-factory/board-service": "^3.6.
|
|
52
|
-
"@things-factory/board-ui": "^3.6.
|
|
53
|
-
"@things-factory/code-ui": "^3.6.
|
|
54
|
-
"@things-factory/component-ui": "^3.6.
|
|
55
|
-
"@things-factory/context-ui": "^3.6.
|
|
56
|
-
"@things-factory/document-template-ui": "^3.6.
|
|
57
|
-
"@things-factory/export-ui": "^3.6.
|
|
58
|
-
"@things-factory/export-ui-csv": "^3.6.
|
|
59
|
-
"@things-factory/export-ui-excel": "^3.6.
|
|
60
|
-
"@things-factory/grist-ui": "^3.6.
|
|
61
|
-
"@things-factory/i18n-base": "^3.6.
|
|
62
|
-
"@things-factory/i18n-ui": "^3.6.
|
|
63
|
-
"@things-factory/import-ui": "^3.6.
|
|
64
|
-
"@things-factory/import-ui-excel": "^3.6.
|
|
65
|
-
"@things-factory/integration-accounting": "^3.6.
|
|
66
|
-
"@things-factory/integration-fulfillment": "^3.6.
|
|
67
|
-
"@things-factory/integration-lmd": "^3.6.
|
|
68
|
-
"@things-factory/integration-marketplace": "^3.6.
|
|
69
|
-
"@things-factory/integration-pos": "^3.6.
|
|
70
|
-
"@things-factory/integration-sellercraft": "^3.6.
|
|
71
|
-
"@things-factory/lite-menu": "^3.6.
|
|
72
|
-
"@things-factory/more-ui": "^3.6.
|
|
73
|
-
"@things-factory/notification": "^3.6.
|
|
74
|
-
"@things-factory/pdf": "^3.6.
|
|
75
|
-
"@things-factory/product-ui": "^3.6.
|
|
76
|
-
"@things-factory/resource-ui": "^3.6.
|
|
77
|
-
"@things-factory/sales-base": "^3.6.
|
|
78
|
-
"@things-factory/scene-chartjs": "^3.6.
|
|
79
|
-
"@things-factory/scene-clock": "^3.6.
|
|
80
|
-
"@things-factory/scene-clone": "^3.6.
|
|
81
|
-
"@things-factory/scene-compass": "^3.6.
|
|
82
|
-
"@things-factory/scene-data-transform": "^3.6.
|
|
83
|
-
"@things-factory/scene-excel": "^3.6.
|
|
84
|
-
"@things-factory/scene-firebase": "^3.6.
|
|
85
|
-
"@things-factory/scene-form": "^3.6.
|
|
86
|
-
"@things-factory/scene-gauge": "^3.6.
|
|
87
|
-
"@things-factory/scene-google-map": "^3.6.
|
|
88
|
-
"@things-factory/scene-graphql": "^3.6.
|
|
89
|
-
"@things-factory/scene-half-roundrect": "^3.6.
|
|
90
|
-
"@things-factory/scene-indoor-map": "^3.6.
|
|
91
|
-
"@things-factory/scene-label": "^3.6.
|
|
92
|
-
"@things-factory/scene-legend": "^3.6.
|
|
93
|
-
"@things-factory/scene-marker": "^3.6.
|
|
94
|
-
"@things-factory/scene-mqtt": "^3.6.
|
|
95
|
-
"@things-factory/scene-news-ticker": "^3.6.
|
|
96
|
-
"@things-factory/scene-progressbar": "^3.6.
|
|
97
|
-
"@things-factory/scene-random": "^3.6.
|
|
98
|
-
"@things-factory/scene-restful": "^3.6.
|
|
99
|
-
"@things-factory/scene-switch": "^3.6.
|
|
100
|
-
"@things-factory/scene-tab": "^3.6.
|
|
101
|
-
"@things-factory/scene-table": "^3.6.
|
|
102
|
-
"@things-factory/scene-visualizer": "^3.6.
|
|
103
|
-
"@things-factory/scene-wheel-sorter": "^3.6.
|
|
104
|
-
"@things-factory/setting-ui": "^3.6.
|
|
105
|
-
"@things-factory/shell": "^3.6.
|
|
106
|
-
"@things-factory/system-ui": "^3.6.
|
|
107
|
-
"@things-factory/warehouse-base": "^3.6.
|
|
108
|
-
"@things-factory/worksheet-base": "^3.6.
|
|
44
|
+
"@things-factory/api": "^3.6.38",
|
|
45
|
+
"@things-factory/apptool-ui": "^3.6.38",
|
|
46
|
+
"@things-factory/attachment-base": "^3.6.38",
|
|
47
|
+
"@things-factory/auth-base": "^3.6.38",
|
|
48
|
+
"@things-factory/auth-ui": "^3.6.38",
|
|
49
|
+
"@things-factory/biz-base": "^3.6.38",
|
|
50
|
+
"@things-factory/biz-ui": "^3.6.38",
|
|
51
|
+
"@things-factory/board-service": "^3.6.38",
|
|
52
|
+
"@things-factory/board-ui": "^3.6.38",
|
|
53
|
+
"@things-factory/code-ui": "^3.6.38",
|
|
54
|
+
"@things-factory/component-ui": "^3.6.37",
|
|
55
|
+
"@things-factory/context-ui": "^3.6.38",
|
|
56
|
+
"@things-factory/document-template-ui": "^3.6.38",
|
|
57
|
+
"@things-factory/export-ui": "^3.6.38",
|
|
58
|
+
"@things-factory/export-ui-csv": "^3.6.38",
|
|
59
|
+
"@things-factory/export-ui-excel": "^3.6.38",
|
|
60
|
+
"@things-factory/grist-ui": "^3.6.37",
|
|
61
|
+
"@things-factory/i18n-base": "^3.6.38",
|
|
62
|
+
"@things-factory/i18n-ui": "^3.6.38",
|
|
63
|
+
"@things-factory/import-ui": "^3.6.38",
|
|
64
|
+
"@things-factory/import-ui-excel": "^3.6.38",
|
|
65
|
+
"@things-factory/integration-accounting": "^3.6.38",
|
|
66
|
+
"@things-factory/integration-fulfillment": "^3.6.38",
|
|
67
|
+
"@things-factory/integration-lmd": "^3.6.38",
|
|
68
|
+
"@things-factory/integration-marketplace": "^3.6.38",
|
|
69
|
+
"@things-factory/integration-pos": "^3.6.38",
|
|
70
|
+
"@things-factory/integration-sellercraft": "^3.6.38",
|
|
71
|
+
"@things-factory/lite-menu": "^3.6.38",
|
|
72
|
+
"@things-factory/more-ui": "^3.6.38",
|
|
73
|
+
"@things-factory/notification": "^3.6.38",
|
|
74
|
+
"@things-factory/pdf": "^3.6.37",
|
|
75
|
+
"@things-factory/product-ui": "^3.6.38",
|
|
76
|
+
"@things-factory/resource-ui": "^3.6.38",
|
|
77
|
+
"@things-factory/sales-base": "^3.6.38",
|
|
78
|
+
"@things-factory/scene-chartjs": "^3.6.37",
|
|
79
|
+
"@things-factory/scene-clock": "^3.6.37",
|
|
80
|
+
"@things-factory/scene-clone": "^3.6.37",
|
|
81
|
+
"@things-factory/scene-compass": "^3.6.37",
|
|
82
|
+
"@things-factory/scene-data-transform": "^3.6.37",
|
|
83
|
+
"@things-factory/scene-excel": "^3.6.37",
|
|
84
|
+
"@things-factory/scene-firebase": "^3.6.37",
|
|
85
|
+
"@things-factory/scene-form": "^3.6.37",
|
|
86
|
+
"@things-factory/scene-gauge": "^3.6.37",
|
|
87
|
+
"@things-factory/scene-google-map": "^3.6.37",
|
|
88
|
+
"@things-factory/scene-graphql": "^3.6.37",
|
|
89
|
+
"@things-factory/scene-half-roundrect": "^3.6.37",
|
|
90
|
+
"@things-factory/scene-indoor-map": "^3.6.37",
|
|
91
|
+
"@things-factory/scene-label": "^3.6.38",
|
|
92
|
+
"@things-factory/scene-legend": "^3.6.37",
|
|
93
|
+
"@things-factory/scene-marker": "^3.6.37",
|
|
94
|
+
"@things-factory/scene-mqtt": "^3.6.37",
|
|
95
|
+
"@things-factory/scene-news-ticker": "^3.6.37",
|
|
96
|
+
"@things-factory/scene-progressbar": "^3.6.37",
|
|
97
|
+
"@things-factory/scene-random": "^3.6.37",
|
|
98
|
+
"@things-factory/scene-restful": "^3.6.37",
|
|
99
|
+
"@things-factory/scene-switch": "^3.6.37",
|
|
100
|
+
"@things-factory/scene-tab": "^3.6.37",
|
|
101
|
+
"@things-factory/scene-table": "^3.6.37",
|
|
102
|
+
"@things-factory/scene-visualizer": "^3.6.37",
|
|
103
|
+
"@things-factory/scene-wheel-sorter": "^3.6.37",
|
|
104
|
+
"@things-factory/setting-ui": "^3.6.38",
|
|
105
|
+
"@things-factory/shell": "^3.6.38",
|
|
106
|
+
"@things-factory/system-ui": "^3.6.38",
|
|
107
|
+
"@things-factory/warehouse-base": "^3.6.38",
|
|
108
|
+
"@things-factory/worksheet-base": "^3.6.38",
|
|
109
109
|
"koa2-swagger-ui": "^5.0.2",
|
|
110
110
|
"swagger-jsdoc": "^5.0.0",
|
|
111
111
|
"yamljs": "^0.3.0"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
|
-
"@things-factory/builder": "^3.6.
|
|
114
|
+
"@things-factory/builder": "^3.6.37"
|
|
115
115
|
},
|
|
116
116
|
"resolutions": {
|
|
117
117
|
"core-js": "^3.16.0"
|
|
118
118
|
},
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "95b6401d665c7625d1e5f9e78925571b2fca1cdc"
|
|
120
120
|
}
|