@things-factory/operato-wms 4.3.635 → 4.3.636

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.
@@ -5,37 +5,19 @@ import './generate-location-list'
5
5
  import './print-location-label'
6
6
 
7
7
  import gql from 'graphql-tag'
8
- import {
9
- css,
10
- html
11
- } from 'lit-element'
8
+ import { css, html } from 'lit-element'
12
9
  import isEmpty from 'lodash-es/isEmpty'
13
10
  import { connect } from 'pwa-helpers/connect-mixin'
14
11
 
15
12
  import { DirectPrinter } from '@things-factory/barcode-base'
16
- import {
17
- i18next,
18
- localize
19
- } from '@things-factory/i18n-base'
13
+ import { i18next, localize } from '@things-factory/i18n-base'
20
14
  import { openPopup } from '@things-factory/layout-base'
21
- import {
22
- client,
23
- CustomAlert,
24
- PageView,
25
- store
26
- } from '@things-factory/shell'
27
- import {
28
- CommonButtonStyles,
29
- ScrollbarStyles
30
- } from '@things-factory/styles'
15
+ import { client, CustomAlert, PageView, store } from '@things-factory/shell'
16
+ import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
31
17
  import { isMobileDevice } from '@things-factory/utils'
32
18
 
33
19
  import { showToast } from '../../util'
34
- import {
35
- LOCATION_LABEL_SETTING_KEY,
36
- LOCATION_STATUS,
37
- LOCATION_TYPE
38
- } from '../constants'
20
+ import { LOCATION_LABEL_SETTING_KEY, LOCATION_STATUS, LOCATION_TYPE } from '../constants'
39
21
 
40
22
  class LocationList extends connect(store)(localize(i18next)(PageView)) {
41
23
  static get styles() {
@@ -686,12 +668,14 @@ class LocationList extends connect(store)(localize(i18next)(PageView)) {
686
668
  return this.config.columns
687
669
  }
688
670
 
689
- _exportableData() {
671
+ async _exportableData() {
690
672
  let records = []
691
673
  if (this.dataGrist.selected && this.dataGrist.selected.length > 0) {
692
674
  records = this.dataGrist.selected
693
675
  } else {
694
- records = this.dataGrist.data.records
676
+ // Fetch all records
677
+ const response = await this.fetchHandler({ page: 1, limit: 9999999 })
678
+ records = response.records
695
679
  }
696
680
 
697
681
  var headerSetting = this.dataGrist._config.columns
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.635",
3
+ "version": "4.3.636",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -91,7 +91,7 @@
91
91
  "@things-factory/print-ui": "^4.3.591",
92
92
  "@things-factory/product-base": "^4.3.595",
93
93
  "@things-factory/resource-ui": "^4.3.591",
94
- "@things-factory/sales-ui": "^4.3.635",
94
+ "@things-factory/sales-ui": "^4.3.636",
95
95
  "@things-factory/scene-data-transform": "^4.3.591",
96
96
  "@things-factory/scene-excel": "^4.3.591",
97
97
  "@things-factory/scene-firebase": "^4.3.591",
@@ -107,8 +107,8 @@
107
107
  "@things-factory/system-ui": "^4.3.591",
108
108
  "@things-factory/transport-base": "^4.3.631",
109
109
  "@things-factory/tutorial-ui": "^4.3.591",
110
- "@things-factory/warehouse-base": "^4.3.626",
111
- "@things-factory/worksheet-base": "^4.3.635"
110
+ "@things-factory/warehouse-base": "^4.3.636",
111
+ "@things-factory/worksheet-base": "^4.3.636"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^4.3.591",
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "bf18da41305936d8a50b2884ea7a0e54b3cb0faa"
120
+ "gitHead": "876351704622885dd9c6f5980b37cd12d9702b00"
121
121
  }