@things-factory/operato-wms 4.0.2 → 4.0.6

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.
@@ -1,13 +1,15 @@
1
1
  import '@things-factory/form-ui'
2
2
  import '@things-factory/grist-ui'
3
- import { i18next, localize } from '@things-factory/i18n-base'
4
3
  import '@things-factory/import-ui'
4
+
5
+ import gql from 'graphql-tag'
6
+ import { css, html } from 'lit-element'
7
+
8
+ import { i18next, localize } from '@things-factory/i18n-base'
5
9
  import { openPopup } from '@things-factory/layout-base'
6
10
  import { client, CustomAlert, PageView } from '@things-factory/shell'
7
11
  import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
8
12
  import { isMobileDevice } from '@things-factory/utils'
9
- import gql from 'graphql-tag'
10
- import { css, html } from 'lit-element'
11
13
 
12
14
  class TransportDriver extends localize(i18next)(PageView) {
13
15
  static get properties() {
@@ -228,7 +230,7 @@ class TransportDriver extends localize(i18next)(PageView) {
228
230
  async importHandler(patches) {
229
231
  const response = await client.mutate({
230
232
  mutation: gql`
231
- mutation updateMultipleTransportDriver($patches: [TransportDriverPatch]!) {
233
+ mutation updateMultipleTransportDriver($patches: [TransportDriverPatch!]!) {
232
234
  updateMultipleTransportDriver(patches: $patches) {
233
235
  name
234
236
  }
@@ -254,7 +256,7 @@ class TransportDriver extends localize(i18next)(PageView) {
254
256
  } else {
255
257
  const response = await client.mutate({
256
258
  mutation: gql`
257
- mutation updateMultipleTransportDriver($patches: [TransportDriverPatch]!) {
259
+ mutation updateMultipleTransportDriver($patches: [TransportDriverPatch!]!) {
258
260
  updateMultipleTransportDriver(patches: $patches) {
259
261
  name
260
262
  }
@@ -290,7 +292,7 @@ class TransportDriver extends localize(i18next)(PageView) {
290
292
 
291
293
  const response = await client.mutate({
292
294
  mutation: gql`
293
- mutation deleteTransportDrivers($ids: [String]!) {
295
+ mutation deleteTransportDrivers($ids: [String!]!) {
294
296
  deleteTransportDrivers(ids: $ids)
295
297
  }
296
298
  `,
@@ -1,14 +1,16 @@
1
1
  import '@things-factory/form-ui'
2
2
  import '@things-factory/grist-ui'
3
- import { i18next, localize } from '@things-factory/i18n-base'
4
3
  import '@things-factory/import-ui'
5
- import { openPopup } from '@things-factory/layout-base'
6
- import { client, CustomAlert, PageView } from '@things-factory/shell'
7
- import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
8
- import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
4
+
9
5
  import gql from 'graphql-tag'
10
6
  import { css, html } from 'lit-element'
11
7
 
8
+ import { i18next, localize } from '@things-factory/i18n-base'
9
+ import { openPopup } from '@things-factory/layout-base'
10
+ import { client, CustomAlert, PageView } from '@things-factory/shell'
11
+ import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
12
+ import { isMobileDevice } from '@things-factory/utils'
13
+
12
14
  class TransportVehicle extends localize(i18next)(PageView) {
13
15
  static get styles() {
14
16
  return [
@@ -239,7 +241,7 @@ class TransportVehicle extends localize(i18next)(PageView) {
239
241
  async importHandler(patches) {
240
242
  const response = await client.mutate({
241
243
  mutation: gql`
242
- mutation updateMultipleTransportVehicle($patches: [TransportVehiclePatch]!) {
244
+ mutation updateMultipleTransportVehicle($patches: [TransportVehiclePatch!]!) {
243
245
  updateMultipleTransportVehicle(patches: $patches) {
244
246
  name
245
247
  }
@@ -265,7 +267,7 @@ class TransportVehicle extends localize(i18next)(PageView) {
265
267
  } else {
266
268
  const response = await client.mutate({
267
269
  mutation: gql`
268
- mutation updateMultipleTransportVehicle($patches: [TransportVehiclePatch]!) {
270
+ mutation updateMultipleTransportVehicle($patches: [TransportVehiclePatch!]!) {
269
271
  updateMultipleTransportVehicle(patches: $patches) {
270
272
  name
271
273
  }
@@ -301,7 +303,7 @@ class TransportVehicle extends localize(i18next)(PageView) {
301
303
 
302
304
  const response = await client.mutate({
303
305
  mutation: gql`
304
- mutation deleteTransportVehicles($ids: [String]!) {
306
+ mutation deleteTransportVehicles($ids: [String!]!) {
305
307
  deleteTransportVehicles(ids: $ids)
306
308
  }
307
309
  `,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.0.2",
3
+ "version": "4.0.6",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -41,72 +41,72 @@
41
41
  "docker:run": "docker run -p 4000:3000 hatiolab/operato-wms:latest"
42
42
  },
43
43
  "dependencies": {
44
- "@operato/ghost-print": "0.1.14",
45
- "@things-factory/apptool-ui": "^4.0.1",
46
- "@things-factory/attachment-ui": "^4.0.1",
47
- "@things-factory/auth-ui": "^4.0.2",
48
- "@things-factory/barcode-ui": "^4.0.1",
49
- "@things-factory/biz-ui": "^4.0.1",
50
- "@things-factory/board-service": "^4.0.1",
51
- "@things-factory/board-ui": "^4.0.1",
52
- "@things-factory/code-ui": "^4.0.1",
53
- "@things-factory/context-ui": "^4.0.1",
54
- "@things-factory/export-ui": "^4.0.1",
55
- "@things-factory/export-ui-csv": "^4.0.1",
56
- "@things-factory/export-ui-excel": "^4.0.1",
57
- "@things-factory/fav-base": "^4.0.1",
58
- "@things-factory/form-ui": "^4.0.1",
59
- "@things-factory/grist-ui": "^4.0.1",
60
- "@things-factory/help": "^4.0.1",
61
- "@things-factory/i18n-ui": "^4.0.1",
62
- "@things-factory/id-rule-base": "^4.0.1",
63
- "@things-factory/import-ui": "^4.0.1",
64
- "@things-factory/import-ui-excel": "^4.0.1",
65
- "@things-factory/menu-ui": "^4.0.1",
66
- "@things-factory/more-ui": "^4.0.1",
67
- "@things-factory/notification": "^4.0.1",
68
- "@things-factory/pdf": "^4.0.1",
69
- "@things-factory/print-proxy-service": "^4.0.1",
70
- "@things-factory/print-service": "^4.0.1",
71
- "@things-factory/print-ui": "^4.0.1",
72
- "@things-factory/product-base": "^4.0.1",
73
- "@things-factory/resource-ui": "^4.0.2",
74
- "@things-factory/sales-ui": "^4.0.2",
75
- "@things-factory/scene-chartjs": "^4.0.1",
76
- "@things-factory/scene-clock": "^4.0.1",
77
- "@things-factory/scene-clone": "^4.0.1",
78
- "@things-factory/scene-compass": "^4.0.1",
79
- "@things-factory/scene-data-transform": "^4.0.1",
80
- "@things-factory/scene-excel": "^4.0.1",
81
- "@things-factory/scene-firebase": "^4.0.1",
82
- "@things-factory/scene-form": "^4.0.1",
83
- "@things-factory/scene-gauge": "^4.0.1",
84
- "@things-factory/scene-google-map": "^4.0.1",
85
- "@things-factory/scene-graphql": "^4.0.1",
86
- "@things-factory/scene-half-roundrect": "^4.0.1",
87
- "@things-factory/scene-indoor-map": "^4.0.1",
88
- "@things-factory/scene-label": "^4.0.1",
89
- "@things-factory/scene-legend": "^4.0.1",
90
- "@things-factory/scene-marker": "^4.0.1",
91
- "@things-factory/scene-mqtt": "^4.0.1",
92
- "@things-factory/scene-news-ticker": "^4.0.1",
93
- "@things-factory/scene-progressbar": "^4.0.1",
94
- "@things-factory/scene-random": "^4.0.1",
95
- "@things-factory/scene-restful": "^4.0.1",
96
- "@things-factory/scene-switch": "^4.0.1",
97
- "@things-factory/scene-tab": "^4.0.1",
98
- "@things-factory/scene-table": "^4.0.1",
99
- "@things-factory/scene-visualizer": "^4.0.1",
100
- "@things-factory/scene-wheel-sorter": "^4.0.1",
101
- "@things-factory/setting-ui": "^4.0.1",
102
- "@things-factory/system-ui": "^4.0.1",
103
- "@things-factory/transport-base": "^4.0.1",
104
- "@things-factory/tutorial-ui": "^4.0.1",
105
- "@things-factory/warehouse-base": "^4.0.2",
106
- "@things-factory/worksheet-base": "^4.0.2"
44
+ "@operato/ghost-print": "0.2.26",
45
+ "@operato/scene-switch": "^0.0.3",
46
+ "@things-factory/apptool-ui": "^4.0.6",
47
+ "@things-factory/attachment-ui": "^4.0.6",
48
+ "@things-factory/auth-ui": "^4.0.6",
49
+ "@things-factory/barcode-ui": "^4.0.6",
50
+ "@things-factory/biz-ui": "^4.0.6",
51
+ "@things-factory/board-service": "^4.0.6",
52
+ "@things-factory/board-ui": "^4.0.6",
53
+ "@things-factory/code-ui": "^4.0.6",
54
+ "@things-factory/context-ui": "^4.0.6",
55
+ "@things-factory/export-ui": "^4.0.6",
56
+ "@things-factory/export-ui-csv": "^4.0.6",
57
+ "@things-factory/export-ui-excel": "^4.0.6",
58
+ "@things-factory/fav-base": "^4.0.6",
59
+ "@things-factory/form-ui": "^4.0.6",
60
+ "@things-factory/grist-ui": "^4.0.6",
61
+ "@things-factory/help": "^4.0.6",
62
+ "@things-factory/i18n-ui": "^4.0.6",
63
+ "@things-factory/id-rule-base": "^4.0.6",
64
+ "@things-factory/import-ui": "^4.0.6",
65
+ "@things-factory/import-ui-excel": "^4.0.6",
66
+ "@things-factory/menu-ui": "^4.0.6",
67
+ "@things-factory/more-ui": "^4.0.6",
68
+ "@things-factory/notification": "^4.0.6",
69
+ "@things-factory/pdf": "^4.0.6",
70
+ "@things-factory/print-proxy-service": "^4.0.6",
71
+ "@things-factory/print-service": "^4.0.6",
72
+ "@things-factory/print-ui": "^4.0.6",
73
+ "@things-factory/product-base": "^4.0.6",
74
+ "@things-factory/resource-ui": "^4.0.6",
75
+ "@things-factory/sales-ui": "^4.0.6",
76
+ "@things-factory/scene-chartjs": "^4.0.6",
77
+ "@things-factory/scene-clock": "^4.0.6",
78
+ "@things-factory/scene-clone": "^4.0.6",
79
+ "@things-factory/scene-compass": "^4.0.6",
80
+ "@things-factory/scene-data-transform": "^4.0.6",
81
+ "@things-factory/scene-excel": "^4.0.6",
82
+ "@things-factory/scene-firebase": "^4.0.6",
83
+ "@things-factory/scene-form": "^4.0.6",
84
+ "@things-factory/scene-gauge": "^4.0.6",
85
+ "@things-factory/scene-google-map": "^4.0.6",
86
+ "@things-factory/scene-graphql": "^4.0.6",
87
+ "@things-factory/scene-half-roundrect": "^4.0.6",
88
+ "@things-factory/scene-indoor-map": "^4.0.6",
89
+ "@things-factory/scene-label": "^4.0.6",
90
+ "@things-factory/scene-legend": "^4.0.6",
91
+ "@things-factory/scene-marker": "^4.0.6",
92
+ "@things-factory/scene-mqtt": "^4.0.6",
93
+ "@things-factory/scene-news-ticker": "^4.0.6",
94
+ "@things-factory/scene-progressbar": "^4.0.6",
95
+ "@things-factory/scene-random": "^4.0.6",
96
+ "@things-factory/scene-restful": "^4.0.6",
97
+ "@things-factory/scene-tab": "^4.0.6",
98
+ "@things-factory/scene-table": "^4.0.6",
99
+ "@things-factory/scene-visualizer": "^4.0.6",
100
+ "@things-factory/scene-wheel-sorter": "^4.0.6",
101
+ "@things-factory/setting-ui": "^4.0.6",
102
+ "@things-factory/system-ui": "^4.0.6",
103
+ "@things-factory/transport-base": "^4.0.6",
104
+ "@things-factory/tutorial-ui": "^4.0.6",
105
+ "@things-factory/warehouse-base": "^4.0.6",
106
+ "@things-factory/worksheet-base": "^4.0.6"
107
107
  },
108
108
  "devDependencies": {
109
- "@things-factory/builder": "^4.0.1"
109
+ "@things-factory/builder": "^4.0.6"
110
110
  },
111
- "gitHead": "db0fba9891f6706d3e07a2b2deab1e81eb064135"
111
+ "gitHead": "471247c3499ba439b074c7654ae8d8e9fc3972f0"
112
112
  }
@@ -80,7 +80,6 @@
80
80
  <!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
81
81
  <script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
82
82
  <script src="node_modules/web-animations-js/web-animations-next.min.js"></script>
83
- <script src="node_modules/@lottiefiles/lottie-player/dist/lottie-player.js"></script>
84
83
  <!-- Built with love using PWA Starter Kit -->
85
84
 
86
85
  <script src="<%- elementScript %>"></script>