@things-factory/operato-wms 6.0.25 → 6.0.28

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 (218) hide show
  1. package/client/apptools/dashboard-tool.js +2 -4
  2. package/client/bootstrap.js +1 -1
  3. package/client/pages/adjustment/transfer-inventory.js +1 -1
  4. package/client/pages/billing/claim-chit/claim-chit-detail.js +1 -1
  5. package/client/pages/billing/claim-chit/claim-chit-list.js +1 -1
  6. package/client/pages/billing/claim-chit/create-claim-chit.js +1 -1
  7. package/client/pages/billing/transport-summary-report.js +1 -1
  8. package/client/pages/bulk-operation/bulk-operation.js +1 -1
  9. package/client/pages/bulk-operation/validate-gan-popup.js +1 -1
  10. package/client/pages/bulk-operation/validate-ro-popup.js +1 -1
  11. package/client/pages/components/attachment-viewer.js +2 -4
  12. package/client/pages/components/image-viewer.js +1 -1
  13. package/client/pages/components/partner-selector.js +1 -1
  14. package/client/pages/components/popup-note.js +1 -1
  15. package/client/pages/components/popup-reusable-pallet.js +1 -1
  16. package/client/pages/components/select-inventory-popup.js +1 -1
  17. package/client/pages/components/select-product-popup.js +1 -1
  18. package/client/pages/components/vas-templates/vas-pallet-add-popup.js +1 -1
  19. package/client/pages/components/vas-templates/vas-relabel.js +1 -1
  20. package/client/pages/components/vas-templates/vas-repack-relabel.js +1 -1
  21. package/client/pages/components/vas-templates/vas-repack.js +1 -1
  22. package/client/pages/components/vas-templates/vas-repalletizing.js +1 -1
  23. package/client/pages/components/vas-templates/vas-template.js +1 -1
  24. package/client/pages/components/vas-templates/vas-unpack.js +1 -1
  25. package/client/pages/components/worksheet-information-popup.js +1 -1
  26. package/client/pages/inbound/adjust-pallet-qty.js +1 -1
  27. package/client/pages/inbound/carton-label-popup.js +1 -1
  28. package/client/pages/inbound/expiry-date-popup.js +1 -1
  29. package/client/pages/inbound/external-return-worksheet.js +1 -1
  30. package/client/pages/inbound/inbound-reusable-pallet.js +1 -1
  31. package/client/pages/inbound/inbound-worksheet.js +1 -1
  32. package/client/pages/inbound/pallet-label-popup.js +1 -1
  33. package/client/pages/inbound/palletizing-pallets-popup.js +1 -1
  34. package/client/pages/inbound/putaway-product.js +1 -1
  35. package/client/pages/inbound/putaway-same-carton-popup.js +1 -1
  36. package/client/pages/inbound/putaway-worksheet-generate-popup.js +1 -1
  37. package/client/pages/inbound/select-location-popup.js +1 -1
  38. package/client/pages/inbound/select-product-batch.js +1 -1
  39. package/client/pages/inbound/serial-number-list-popup.js +1 -1
  40. package/client/pages/inbound/undo-putaway-popup.js +1 -1
  41. package/client/pages/inbound/undo-unload-popup.js +1 -1
  42. package/client/pages/inbound/unload-product.js +1 -1
  43. package/client/pages/inbound/unloaded-inventories-popup.js +1 -1
  44. package/client/pages/inbound/vas-selector.js +1 -1
  45. package/client/pages/inbound/worksheet-putaway-return.js +1 -1
  46. package/client/pages/inbound/worksheet-putaway.js +1 -1
  47. package/client/pages/inbound/worksheet-unloading-return.js +3 -3
  48. package/client/pages/inbound/worksheet-unloading.js +1 -1
  49. package/client/pages/inventory/inventory-adjustment-approval.js +5 -6
  50. package/client/pages/inventory/inventory-adjustment.js +1 -1
  51. package/client/pages/inventory/inventory-by-product-detail.js +1 -1
  52. package/client/pages/inventory/inventory-by-product.js +1 -1
  53. package/client/pages/inventory/inventory-history-by-pallet.js +1 -1
  54. package/client/pages/inventory/inventory-history.js +1 -1
  55. package/client/pages/inventory/non-loaded-inventory.js +1 -1
  56. package/client/pages/inventory/onhand-inventory.js +1 -1
  57. package/client/pages/inventory/serial-number-list-popup.js +1 -1
  58. package/client/pages/inventory-check/check-inventory-popup.js +1 -1
  59. package/client/pages/inventory-check/create-cycle-count.js +1 -1
  60. package/client/pages/inventory-check/cycle-count-recheck-popup.js +1 -1
  61. package/client/pages/inventory-check/cycle-count-report.js +1 -1
  62. package/client/pages/inventory-check/inspecting-product.js +1 -1
  63. package/client/pages/inventory-check/inventory-check-list.js +1 -1
  64. package/client/pages/inventory-check/search-popup.js +1 -1
  65. package/client/pages/inventory-check/worksheet-cycle-count.js +1 -1
  66. package/client/pages/manifest/create-loading-manifest.js +1 -1
  67. package/client/pages/manifest/dispatcher-verification-popup.js +1 -1
  68. package/client/pages/manifest/loading-manifest-detail.js +1 -1
  69. package/client/pages/manifest/loading-manifest-list.js +1 -1
  70. package/client/pages/master/generate-location-list.js +1 -1
  71. package/client/pages/master/location-list.js +1 -1
  72. package/client/pages/master/pallet-list.js +1 -1
  73. package/client/pages/master/print-location-label.js +1 -1
  74. package/client/pages/master/product/product-detail-bizplace-setting-popup.js +1 -1
  75. package/client/pages/master/product/product-details-popup.js +1 -1
  76. package/client/pages/master/product/product-list.js +1 -1
  77. package/client/pages/master/tote-list.js +1 -1
  78. package/client/pages/master/transport-driver.js +1 -1
  79. package/client/pages/master/transport-vehicle.js +1 -1
  80. package/client/pages/master/warehouse-list.js +1 -1
  81. package/client/pages/master/worker-list.js +1 -1
  82. package/client/pages/order/arrival-notice/arrival-notice-detail.js +1 -1
  83. package/client/pages/order/arrival-notice/arrival-notice-list.js +1 -1
  84. package/client/pages/order/arrival-notice/arrival-notice-requests.js +1 -1
  85. package/client/pages/order/arrival-notice/assign-buffer-location.js +1 -1
  86. package/client/pages/order/arrival-notice/check-arrived-notice.js +1 -1
  87. package/client/pages/order/arrival-notice/create-arrival-notice.js +1 -1
  88. package/client/pages/order/arrival-notice/duplicate-arrival-notice.js +1 -1
  89. package/client/pages/order/arrival-notice/edit-product-popup.js +1 -1
  90. package/client/pages/order/arrival-notice/proceed-edit-product-popup.js +1 -1
  91. package/client/pages/order/arrival-notice/receive-arrival-notice.js +1 -1
  92. package/client/pages/order/arrival-notice/rejected-arrival-notice.js +1 -1
  93. package/client/pages/order/arrival-notice/view-product-changes-popup.js +1 -1
  94. package/client/pages/order/draft-release-good/draft-release-good-detail.js +1 -1
  95. package/client/pages/order/draft-release-good/draft-release-good-list.js +1 -1
  96. package/client/pages/order/goods-received-note/customer-grn-list.js +1 -1
  97. package/client/pages/order/goods-received-note/customer-received-note.js +1 -1
  98. package/client/pages/order/goods-received-note/received-note-detail.js +1 -1
  99. package/client/pages/order/goods-received-note/received-note-list.js +1 -1
  100. package/client/pages/order/release-order/b2b/b2b-order-list.js +1 -1
  101. package/client/pages/order/release-order/b2b/b2b-order-requests.js +1 -1
  102. package/client/pages/order/release-order/b2c/b2c-order-requests.js +1 -1
  103. package/client/pages/order/release-order/batch-generate-single-picking-worksheet-popup.js +1 -1
  104. package/client/pages/order/release-order/batch-picking-popup.js +1 -1
  105. package/client/pages/order/release-order/bulk-print-packing-list.js +1 -1
  106. package/client/pages/order/release-order/create-release-order.js +1 -1
  107. package/client/pages/order/release-order/receive-release-order-request.js +1 -1
  108. package/client/pages/order/release-order/rejected-release-order.js +1 -1
  109. package/client/pages/order/release-order/release-extra-product-popup.js +1 -1
  110. package/client/pages/order/release-order/release-order-detail.js +1 -1
  111. package/client/pages/order/return-order/check-return-order.js +1 -1
  112. package/client/pages/order/return-order/create-return-order.js +1 -1
  113. package/client/pages/order/return-order/receive-return-order-requests.js +1 -1
  114. package/client/pages/order/return-order/rejected-return-order.js +1 -1
  115. package/client/pages/order/return-order/return-order-assign-buffer-location.js +1 -1
  116. package/client/pages/order/return-order/return-order-detail.js +1 -1
  117. package/client/pages/order/return-order/return-order-inventory-popup.js +1 -1
  118. package/client/pages/order/return-order/return-order-list.js +1 -1
  119. package/client/pages/order/return-order/return-order-requests.js +1 -1
  120. package/client/pages/order/reverse-kitting-order/reverse-kitting-order-detail.js +1 -1
  121. package/client/pages/order/reverse-kitting-order/reverse-kitting-order-list.js +1 -1
  122. package/client/pages/order/reverse-kitting-order/reverse-kitting-pallet-label-popup.js +1 -1
  123. package/client/pages/order/transfer-order/receive-transfer-order-request.js +2 -2
  124. package/client/pages/order/transfer-order/rejected-transfer-order.js +1 -1
  125. package/client/pages/order/transfer-order/transfer-order-detail.js +1 -1
  126. package/client/pages/order/transfer-order/transfer-order-requests.js +1 -1
  127. package/client/pages/order/transport-order/contact-point-selector-popup.js +1 -1
  128. package/client/pages/order/transport-order/create-delivery-order.js +1 -1
  129. package/client/pages/order/transport-order/delivery-note-popup.js +1 -1
  130. package/client/pages/order/transport-order/delivery-order-list.js +1 -1
  131. package/client/pages/order/transport-order/print-delivery-note.js +1 -1
  132. package/client/pages/order/transport-order/transport-driver-popup.js +1 -1
  133. package/client/pages/order/transport-order/upload-delivery-note.js +1 -1
  134. package/client/pages/order/transport-order/view-delivery-note.js +1 -1
  135. package/client/pages/order/vas-order/create-vas-order.js +1 -1
  136. package/client/pages/order/vas-order/popup/abastract-vas-create-form.js +1 -1
  137. package/client/pages/order/vas-order/popup/target-product-selector-popup.js +1 -1
  138. package/client/pages/order/vas-order/popup/vas-create-batch-product-type-form.js +1 -1
  139. package/client/pages/order/vas-order/popup/vas-create-batch-type-form.js +1 -1
  140. package/client/pages/order/vas-order/popup/vas-create-etc-type-form.js +1 -1
  141. package/client/pages/order/vas-order/popup/vas-create-popup.js +1 -1
  142. package/client/pages/order/vas-order/popup/vas-create-product-type-form.js +1 -1
  143. package/client/pages/order/vas-order/receive-vas-order.js +1 -1
  144. package/client/pages/order/vas-order/vas-order-detail.js +1 -1
  145. package/client/pages/order/vas-order/vas-order-list.js +1 -1
  146. package/client/pages/order/vas-order/vas-order-requests.js +1 -1
  147. package/client/pages/outbound/generate-worksheet-popup.js +1 -1
  148. package/client/pages/outbound/inventory-assign-popup.js +1 -1
  149. package/client/pages/outbound/inventory-auto-assign-popup.js +1 -1
  150. package/client/pages/outbound/inventory-reassign-popup.js +1 -1
  151. package/client/pages/outbound/loading-product.js +1 -1
  152. package/client/pages/outbound/logistics-init/branch-logistics-popup.js +1 -1
  153. package/client/pages/outbound/logistics-init/logistics-init-popup.js +1 -1
  154. package/client/pages/outbound/logistics-init/pickup-logistics-popup.js +1 -1
  155. package/client/pages/outbound/merged-outbound-worksheet.js +1 -1
  156. package/client/pages/outbound/order-remark-popup.js +1 -1
  157. package/client/pages/outbound/outbound-reusable-pallet.js +1 -1
  158. package/client/pages/outbound/packing-product.js +1 -1
  159. package/client/pages/outbound/packing-worksheet-list.js +1 -1
  160. package/client/pages/outbound/picking-product.js +1 -1
  161. package/client/pages/outbound/picking-replacement-popup.js +1 -1
  162. package/client/pages/outbound/return-pallet-check-popup.js +1 -1
  163. package/client/pages/outbound/route-label-popup.js +1 -1
  164. package/client/pages/outbound/select-operator-popup.js +4 -5
  165. package/client/pages/outbound/serial-number-popup.js +1 -1
  166. package/client/pages/outbound/show-my-worksheet-list-popup.js +1 -1
  167. package/client/pages/outbound/show-ro-list-popup.js +1 -1
  168. package/client/pages/outbound/single-outbound-worksheet.js +1 -1
  169. package/client/pages/outbound/sorting-product.js +1 -1
  170. package/client/pages/outbound/tote-popup.js +1 -1
  171. package/client/pages/outbound/transport-vehicles-popup.js +1 -1
  172. package/client/pages/outbound/worksheet-batch-picking.js +1 -1
  173. package/client/pages/outbound/worksheet-loading.js +1 -1
  174. package/client/pages/outbound/worksheet-packing.js +1 -1
  175. package/client/pages/outbound/worksheet-picking.js +1 -1
  176. package/client/pages/outbound/worksheet-return.js +1 -1
  177. package/client/pages/outbound/worksheet-sorting.js +1 -1
  178. package/client/pages/report/costing-report.js +1 -1
  179. package/client/pages/report/custom-elccl/elccl-daily-collection-report.js +1 -1
  180. package/client/pages/report/custom-elccl/elccl-daily-order-inventory-report.js +1 -1
  181. package/client/pages/report/custom-elccl/elccl-delivery-order-summary.js +1 -1
  182. package/client/pages/report/custom-elccl/elccl-inventory-pallet-detail-report.js +1 -1
  183. package/client/pages/report/custom-elccl/elccl-inventory-report.js +1 -1
  184. package/client/pages/report/custom-elccl/elccl-inventory-summary-report.js +1 -1
  185. package/client/pages/report/inbound-order-details-report.js +1 -1
  186. package/client/pages/report/inbound-serial-number-report.js +1 -1
  187. package/client/pages/report/inventory-pallet-report.js +1 -1
  188. package/client/pages/report/inventory-pallet-storage-report.js +1 -1
  189. package/client/pages/report/inventory-report.js +1 -1
  190. package/client/pages/report/inventory-summary-report.js +1 -1
  191. package/client/pages/report/job-sheet-list.js +1 -1
  192. package/client/pages/report/job-sheet-popup.js +1 -1
  193. package/client/pages/report/job-sheet-report.js +1 -1
  194. package/client/pages/report/outbound-order-details-report.js +1 -1
  195. package/client/pages/report/outbound-serial-number-report.js +2 -2
  196. package/client/pages/report/product-label-report.js +1 -1
  197. package/client/pages/report/release-inventory-report.js +1 -1
  198. package/client/pages/report/volume-summary-report.js +1 -1
  199. package/client/pages/support/inventory-comparison.js +1 -1
  200. package/client/pages/system/location-sorting-rule.js +1 -1
  201. package/client/pages/vas/abstract-execute-vas.js +1 -1
  202. package/client/pages/vas/execute-pure-vas.js +1 -1
  203. package/client/pages/vas/execute-ref-vas.js +1 -1
  204. package/client/pages/vas/execute-vas.js +2 -3
  205. package/client/pages/vas/print-product-label.js +1 -1
  206. package/client/pages/vas/related-vas-list.js +1 -1
  207. package/client/pages/vas/reverse-kitting/execute-reverse-kitting.js +1 -1
  208. package/client/pages/vas/reverse-kitting/popup-combination-sets.js +1 -1
  209. package/client/pages/vas/reverse-kitting/popup-reverse-kitting-template.js +1 -1
  210. package/client/pages/vas/target-inventory-assignment-popup.js +1 -1
  211. package/client/pages/vas/vas-pallet-label-popup.js +1 -1
  212. package/client/pages/vas/vas-worksheet-list.js +1 -1
  213. package/client/pages/vas/worksheet-ref-vas.js +1 -1
  214. package/client/pages/vas/worksheet-vas.js +1 -1
  215. package/config.development.js +13 -0
  216. package/config.production.js +57 -0
  217. package/dist-server/tsconfig.tsbuildinfo +1 -1
  218. package/package.json +37 -37
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
 
4
4
  import '@material/mwc-icon'
@@ -27,9 +27,7 @@ export class DashboardTool extends connect(store)(LitElement) {
27
27
  var renderable = (this.whiteList || []).indexOf(this.page) !== -1
28
28
 
29
29
  return renderable
30
- ? html`
31
- <mwc-icon @click=${e => navigate('dashboard')} .whiteList=${['menu-list']}>insert_chart</mwc-icon>
32
- `
30
+ ? html` <mwc-icon @click=${e => navigate('dashboard')} .whiteList=${['menu-list']}>insert_chart</mwc-icon> `
33
31
  : html``
34
32
  }
35
33
 
@@ -4,7 +4,7 @@ import '@things-factory/system-ui'
4
4
  import '@operato/i18n/ox-i18n.js'
5
5
 
6
6
  import gql from 'graphql-tag'
7
- import { html } from 'lit-element'
7
+ import { html } from 'lit'
8
8
 
9
9
  import { setupMenuPart } from '@things-factory/meta-ui'
10
10
  import { ADD_MORENDA } from '@things-factory/more-base'
@@ -7,7 +7,7 @@ import { client, CustomAlert, PageView, store } from '@things-factory/shell'
7
7
  import { CommonButtonStyles } from '@things-factory/styles'
8
8
  import { isMobileDevice } from '@things-factory/utils'
9
9
  import gql from 'graphql-tag'
10
- import { css, html } from 'lit-element'
10
+ import { css, html } from 'lit'
11
11
  import { connect } from 'pwa-helpers/connect-mixin.js'
12
12
  import { CARTON, LOT } from '../constants'
13
13
  import '../inbound/select-location-popup'
@@ -7,7 +7,7 @@ import { client, PageView, store, UPDATE_CONTEXT } from '@things-factory/shell'
7
7
  import { isMobileDevice } from '@things-factory/utils'
8
8
  import { CommonButtonStyles } from '@things-factory/styles'
9
9
  import gql from 'graphql-tag'
10
- import { css, html } from 'lit-element'
10
+ import { css, html } from 'lit'
11
11
  import { connect } from 'pwa-helpers/connect-mixin.js'
12
12
 
13
13
  class ClaimChitDetail extends connect(store)(localize(i18next)(PageView)) {
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
2
2
  import '@things-factory/grist-ui'
3
3
 
4
4
  import { PageView, client, navigate, store } from '@things-factory/shell'
5
- import { css, html } from 'lit-element'
5
+ import { css, html } from 'lit'
6
6
  import { flattenObject, isMobileDevice } from '@things-factory/utils'
7
7
  import { i18next, localize } from '@things-factory/i18n-base'
8
8
 
@@ -7,7 +7,7 @@ import { client, PageView, store } from '@things-factory/shell'
7
7
  import { isMobileDevice } from '@things-factory/utils'
8
8
  import { CommonButtonStyles } from '@things-factory/styles'
9
9
  import gql from 'graphql-tag'
10
- import { css, html } from 'lit-element'
10
+ import { css, html } from 'lit'
11
11
  import { connect } from 'pwa-helpers/connect-mixin.js'
12
12
 
13
13
  class CreateClaimChit extends connect(store)(localize(i18next)(PageView)) {
@@ -5,7 +5,7 @@ import { i18next, localize } from '@things-factory/i18n-base'
5
5
  import { client, PageView, store } from '@things-factory/shell'
6
6
  import { flattenObject, isMobileDevice } from '@things-factory/utils'
7
7
  import gql from 'graphql-tag'
8
- import { css, html } from 'lit-element'
8
+ import { css, html } from 'lit'
9
9
  import { connect } from 'pwa-helpers/connect-mixin.js'
10
10
  import { TRIP_CLAIM } from '../constants'
11
11
 
@@ -4,7 +4,7 @@ import './validate-gan-popup'
4
4
  import './validate-ro-popup'
5
5
 
6
6
  import gql from 'graphql-tag'
7
- import { css, html } from 'lit-element'
7
+ import { css, html } from 'lit'
8
8
  import XLSX from 'xlsx'
9
9
 
10
10
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
@@ -2,7 +2,7 @@ import '@material/mwc-button/mwc-button'
2
2
  import '@things-factory/grist-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import { css, html, LitElement } from 'lit-element'
5
+ import { css, html, LitElement } from 'lit'
6
6
 
7
7
  import { i18next, localize } from '@things-factory/i18n-base'
8
8
  import { client, CustomAlert } from '@things-factory/shell'
@@ -2,7 +2,7 @@ import '@material/mwc-button/mwc-button'
2
2
  import '@things-factory/grist-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import { css, html, LitElement } from 'lit-element'
5
+ import { css, html, LitElement } from 'lit'
6
6
 
7
7
  import { i18next, localize } from '@things-factory/i18n-base'
8
8
  import { client, CustomAlert } from '@things-factory/shell'
@@ -1,5 +1,5 @@
1
1
  import { i18next, localize } from '@things-factory/i18n-base'
2
- import { css, html, LitElement } from 'lit-element'
2
+ import { css, html, LitElement } from 'lit'
3
3
 
4
4
  class AttachmentViewer extends localize(i18next)(LitElement) {
5
5
  static get properties() {
@@ -62,9 +62,7 @@ class AttachmentViewer extends localize(i18next)(LitElement) {
62
62
  render() {
63
63
  return html`
64
64
  <div class="card">
65
- <div class="container">
66
- ${this.name ? html` <h3>${this.name}</h3> ` : ''}
67
- </div>
65
+ <div class="container">${this.name ? html` <h3>${this.name}</h3> ` : ''}</div>
68
66
 
69
67
  ${this.downloadable
70
68
  ? html`
@@ -1,5 +1,5 @@
1
1
  import { i18next, localize } from '@things-factory/i18n-base'
2
- import { css, html, LitElement } from 'lit-element'
2
+ import { css, html, LitElement } from 'lit'
3
3
 
4
4
  class ImageViewer extends localize(i18next)(LitElement) {
5
5
  static get properties() {
@@ -3,7 +3,7 @@ import '@things-factory/form-ui'
3
3
  import '@things-factory/grist-ui'
4
4
 
5
5
  import gql from 'graphql-tag'
6
- import { css, html, LitElement } from 'lit-element'
6
+ import { css, html, LitElement } from 'lit'
7
7
 
8
8
  import { i18next } from '@things-factory/i18n-base'
9
9
  import { client } from '@things-factory/shell'
@@ -1,5 +1,5 @@
1
1
  import { i18next, localize } from '@things-factory/i18n-base'
2
- import { css, html, LitElement } from 'lit-element'
2
+ import { css, html, LitElement } from 'lit'
3
3
 
4
4
  class PopupNote extends localize(i18next)(LitElement) {
5
5
  static get properties() {
@@ -1,5 +1,5 @@
1
1
  import gql from 'graphql-tag'
2
- import { css, html, LitElement } from 'lit-element'
2
+ import { css, html, LitElement } from 'lit'
3
3
 
4
4
  import { SingleColumnFormStyles } from '@things-factory/form-ui'
5
5
  import { i18next, localize } from '@things-factory/i18n-base'
@@ -1,7 +1,7 @@
1
1
  import '@things-factory/grist-ui'
2
2
 
3
3
  import gql from 'graphql-tag'
4
- import { css, html, LitElement } from 'lit-element'
4
+ import { css, html, LitElement } from 'lit'
5
5
 
6
6
  import { getCodeByName } from '@things-factory/code-base'
7
7
  import { i18next, localize } from '@things-factory/i18n-base'
@@ -1,7 +1,7 @@
1
1
  import '@things-factory/grist-ui'
2
2
 
3
3
  import gql from 'graphql-tag'
4
- import { css, html, LitElement } from 'lit-element'
4
+ import { css, html, LitElement } from 'lit'
5
5
 
6
6
  import { i18next, localize } from '@things-factory/i18n-base'
7
7
  import { client } from '@things-factory/shell'
@@ -1,6 +1,6 @@
1
1
  import { localize, i18next } from '@things-factory/i18n-base'
2
2
  import { SingleColumnFormStyles } from '@things-factory/form-ui'
3
- import { LitElement, html, css } from 'lit-element'
3
+ import { LitElement, html, css } from 'lit'
4
4
  import { client } from '@things-factory/shell'
5
5
  import gql from 'graphql-tag'
6
6
  import '@things-factory/barcode-ui'
@@ -6,7 +6,7 @@ import { openPopup } from '@things-factory/layout-base'
6
6
  import { client, CustomAlert } from '@things-factory/shell'
7
7
  import { isMobileDevice } from '@things-factory/utils'
8
8
  import gql from 'graphql-tag'
9
- import { css, html } from 'lit-element'
9
+ import { css, html } from 'lit'
10
10
  import { ORDER_TYPES, ORDER_VAS_STATUS, WORKSHEET_STATUS } from '../../constants'
11
11
  import '../image-viewer'
12
12
  import { VasTemplate } from './vas-template'
@@ -4,7 +4,7 @@ import '../../components/attachment-viewer'
4
4
  import '../../components/select-product-popup'
5
5
 
6
6
  import gql from 'graphql-tag'
7
- import { css, html } from 'lit-element'
7
+ import { css, html } from 'lit'
8
8
 
9
9
  import { SingleColumnFormStyles } from '@things-factory/form-ui'
10
10
  import { i18next, localize } from '@things-factory/i18n-base'
@@ -2,7 +2,7 @@ import '@things-factory/barcode-ui'
2
2
  import '@things-factory/grist-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import { css, html } from 'lit-element'
5
+ import { css, html } from 'lit'
6
6
 
7
7
  import { SingleColumnFormStyles } from '@things-factory/form-ui'
8
8
  import { i18next, localize } from '@things-factory/i18n-base'
@@ -5,7 +5,7 @@ import { i18next, localize } from '@things-factory/i18n-base'
5
5
  import { client, CustomAlert } from '@things-factory/shell'
6
6
  import { isMobileDevice } from '@things-factory/utils'
7
7
  import gql from 'graphql-tag'
8
- import { css, html } from 'lit-element'
8
+ import { css, html } from 'lit'
9
9
  import { PALLET_TYPES, REUSABLE_PALLET } from '../../constants'
10
10
  import './vas-pallet-add-popup'
11
11
  import { VasTemplate } from './vas-template'
@@ -1,4 +1,4 @@
1
- import { LitElement } from 'lit-element'
1
+ import { LitElement } from 'lit'
2
2
  import '../image-viewer'
3
3
  import { i18next } from '@things-factory/i18n-base'
4
4
 
@@ -4,7 +4,7 @@ import '@things-factory/grist-ui'
4
4
  import { i18next, localize } from '@things-factory/i18n-base'
5
5
  import { client } from '@things-factory/shell'
6
6
  import gql from 'graphql-tag'
7
- import { css, html } from 'lit-element'
7
+ import { css, html } from 'lit'
8
8
  import { ORDER_TYPES } from '../../constants'
9
9
  import { VasTemplate } from './vas-template'
10
10
 
@@ -1,6 +1,6 @@
1
1
  import '@things-factory/grist-ui'
2
2
 
3
- import { css, html, LitElement } from 'lit-element'
3
+ import { css, html, LitElement } from 'lit'
4
4
  import { connect } from 'pwa-helpers/connect-mixin'
5
5
 
6
6
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
@@ -2,7 +2,7 @@ import '@things-factory/grist-ui'
2
2
  import './vas-selector'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import { css, html, LitElement } from 'lit-element'
5
+ import { css, html, LitElement } from 'lit'
6
6
 
7
7
  import { SingleColumnFormStyles } from '@things-factory/form-ui'
8
8
  import { i18next, localize } from '@things-factory/i18n-base'
@@ -4,7 +4,7 @@ import '@things-factory/grist-ui'
4
4
  import { i18next, localize } from '@things-factory/i18n-base'
5
5
  import { client, store } from '@things-factory/shell'
6
6
  import gql from 'graphql-tag'
7
- import { css, html, LitElement } from 'lit-element'
7
+ import { css, html, LitElement } from 'lit'
8
8
  import { connect } from 'pwa-helpers/connect-mixin'
9
9
  import { CARTON_LABEL_SETTING_KEY } from '../constants'
10
10
 
@@ -3,7 +3,7 @@ import '@things-factory/grist-ui'
3
3
  import { i18next, localize } from '@things-factory/i18n-base'
4
4
  import { client, store } from '@things-factory/shell'
5
5
  import gql from 'graphql-tag'
6
- import { css, html, LitElement } from 'lit-element'
6
+ import { css, html, LitElement } from 'lit'
7
7
  import { connect } from 'pwa-helpers/connect-mixin'
8
8
 
9
9
  class ExpiryDatePopup extends connect(store)(localize(i18next)(LitElement)) {
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
2
2
  import '@things-factory/grist-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import { css, html } from 'lit-element'
5
+ import { css, html } from 'lit'
6
6
 
7
7
  import { getCodeByName } from '@things-factory/code-base'
8
8
  import { i18next, localize } from '@things-factory/i18n-base'
@@ -6,7 +6,7 @@ import { client, PageView, store } from '@things-factory/shell'
6
6
  import { isMobileDevice } from '@things-factory/utils'
7
7
  import { CommonButtonStyles } from '@things-factory/styles'
8
8
  import gql from 'graphql-tag'
9
- import { css, html } from 'lit-element'
9
+ import { css, html } from 'lit'
10
10
  import { connect } from 'pwa-helpers/connect-mixin.js'
11
11
  import '../components/popup-note'
12
12
 
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
2
2
  import '@things-factory/grist-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import { css, html } from 'lit-element'
5
+ import { css, html } from 'lit'
6
6
 
7
7
  import { getCodeByName } from '@things-factory/code-base'
8
8
  import { i18next, localize } from '@things-factory/i18n-base'
@@ -1,7 +1,7 @@
1
1
  import '@things-factory/grist-ui'
2
2
 
3
3
  import gql from 'graphql-tag'
4
- import { css, html, LitElement } from 'lit-element'
4
+ import { css, html, LitElement } from 'lit'
5
5
  import { connect } from 'pwa-helpers/connect-mixin'
6
6
 
7
7
  import { DirectPrinter } from '@things-factory/barcode-base'
@@ -5,7 +5,7 @@ import { i18next, localize } from '@things-factory/i18n-base'
5
5
  import { client } from '@things-factory/shell'
6
6
  import { isMobileDevice } from '@things-factory/utils'
7
7
  import gql from 'graphql-tag'
8
- import { css, html, LitElement } from 'lit-element'
8
+ import { css, html, LitElement } from 'lit'
9
9
  import { VAS_TYPE, VAS_ETC_TYPE } from '../constants'
10
10
  import '../components/popup-note'
11
11
 
@@ -6,7 +6,7 @@ import '../components/worksheet-information-popup'
6
6
  import './putaway-same-carton-popup'
7
7
 
8
8
  import gql from 'graphql-tag'
9
- import { css, html } from 'lit-element'
9
+ import { css, html } from 'lit'
10
10
  import { connect } from 'pwa-helpers/connect-mixin.js'
11
11
 
12
12
  import { sleep } from '@operato/utils'
@@ -1,6 +1,6 @@
1
1
  import '@things-factory/grist-ui'
2
2
 
3
- import { css, html, LitElement } from 'lit-element'
3
+ import { css, html, LitElement } from 'lit'
4
4
  import { connect } from 'pwa-helpers/connect-mixin'
5
5
 
6
6
  import { SingleColumnFormStyles } from '@things-factory/form-ui'
@@ -1,5 +1,5 @@
1
1
  import gql from 'graphql-tag'
2
- import { css, html, LitElement } from 'lit-element'
2
+ import { css, html, LitElement } from 'lit'
3
3
 
4
4
  import { i18next, localize } from '@things-factory/i18n-base'
5
5
  import { client, CustomAlert } from '@things-factory/shell'
@@ -2,7 +2,7 @@ import '@things-factory/grist-ui'
2
2
  import { i18next, localize } from '@things-factory/i18n-base'
3
3
  import { store } from '@things-factory/shell'
4
4
  import { isMobileDevice } from '@things-factory/utils'
5
- import { css, html, LitElement } from 'lit-element'
5
+ import { css, html, LitElement } from 'lit'
6
6
  import { connect } from 'pwa-helpers/connect-mixin'
7
7
 
8
8
  class SelectLocationPopup extends connect(store)(localize(i18next)(LitElement)) {
@@ -1,7 +1,7 @@
1
1
  import '@things-factory/grist-ui'
2
2
  import { i18next } from '@things-factory/i18n-base'
3
3
  import { isMobileDevice } from '@things-factory/utils'
4
- import { css, html, LitElement } from 'lit-element'
4
+ import { css, html, LitElement } from 'lit'
5
5
 
6
6
  class SelectProductBatch extends LitElement {
7
7
  static get properties() {
@@ -2,7 +2,7 @@ import '@things-factory/grist-ui'
2
2
  import '@things-factory/barcode-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import { css, html, LitElement } from 'lit-element'
5
+ import { css, html, LitElement } from 'lit'
6
6
 
7
7
  import { MultiColumnFormStyles, SingleColumnFormStyles } from '@things-factory/form-ui'
8
8
  import { i18next, localize } from '@things-factory/i18n-base'
@@ -1,7 +1,7 @@
1
1
  import '@things-factory/grist-ui'
2
2
 
3
3
  import gql from 'graphql-tag'
4
- import { css, html, LitElement } from 'lit-element'
4
+ import { css, html, LitElement } from 'lit'
5
5
  import { connect } from 'pwa-helpers/connect-mixin'
6
6
 
7
7
  import { SingleColumnFormStyles } from '@things-factory/form-ui'
@@ -1,7 +1,7 @@
1
1
  import '@things-factory/grist-ui'
2
2
 
3
3
  import gql from 'graphql-tag'
4
- import { css, html, LitElement } from 'lit-element'
4
+ import { css, html, LitElement } from 'lit'
5
5
  import { connect } from 'pwa-helpers/connect-mixin'
6
6
 
7
7
  import { SingleColumnFormStyles } from '@things-factory/form-ui'
@@ -10,7 +10,7 @@ import './select-product-batch'
10
10
  import './serial-number-list-popup'
11
11
 
12
12
  import gql from 'graphql-tag'
13
- import { css, html } from 'lit-element'
13
+ import { css, html } from 'lit'
14
14
  import orderBy from 'lodash-es/orderBy'
15
15
  import { connect } from 'pwa-helpers/connect-mixin.js'
16
16
 
@@ -1,6 +1,6 @@
1
1
  import '@things-factory/grist-ui'
2
2
 
3
- import { css, html, LitElement } from 'lit-element'
3
+ import { css, html, LitElement } from 'lit'
4
4
  import { connect } from 'pwa-helpers/connect-mixin'
5
5
 
6
6
  import { i18next, localize } from '@things-factory/i18n-base'
@@ -5,7 +5,7 @@ import { client } from '@things-factory/shell'
5
5
  import { ScrollbarStyles } from '@things-factory/styles'
6
6
  import { isMobileDevice } from '@things-factory/utils'
7
7
  import gql from 'graphql-tag'
8
- import { css, html, LitElement } from 'lit-element'
8
+ import { css, html, LitElement } from 'lit'
9
9
 
10
10
  export class VasSelector extends localize(i18next)(LitElement) {
11
11
  static get styles() {
@@ -6,7 +6,7 @@ import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
6
6
  import { CommonButtonStyles } from '@things-factory/styles'
7
7
  import { isMobileDevice } from '@things-factory/utils'
8
8
  import gql from 'graphql-tag'
9
- import { css, html } from 'lit-element'
9
+ import { css, html } from 'lit'
10
10
  import { WORKSHEET_STATUS } from '../constants'
11
11
 
12
12
  class WorksheetPutawayReturn extends localize(i18next)(PageView) {
@@ -2,7 +2,7 @@ import '@things-factory/barcode-ui'
2
2
  import '@things-factory/grist-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import { css, html } from 'lit-element'
5
+ import { css, html } from 'lit'
6
6
 
7
7
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
8
8
  import { getRenderer } from '@things-factory/grist-ui'
@@ -7,7 +7,7 @@ import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
7
7
  import { CommonButtonStyles } from '@things-factory/styles'
8
8
  import { isMobileDevice } from '@things-factory/utils'
9
9
  import gql from 'graphql-tag'
10
- import { css, html } from 'lit-element'
10
+ import { css, html } from 'lit'
11
11
  import { fetchSettingRule } from '../../fetch-setting-value'
12
12
  import { WORKSHEET_STATUS } from '../constants'
13
13
  import './carton-label-popup'
@@ -285,7 +285,7 @@ class WorksheetUnloadingReturn extends localize(i18next)(PageView) {
285
285
  if (!this._worksheetNo) return
286
286
  const response = await client.query({
287
287
  query: gql`
288
- query($name: String!) {
288
+ query ($name: String!) {
289
289
  worksheet(name: $name) {
290
290
  status
291
291
  releaseGood {
@@ -447,7 +447,7 @@ class WorksheetUnloadingReturn extends localize(i18next)(PageView) {
447
447
 
448
448
  const response = await client.mutate({
449
449
  mutation: gql`
450
- mutation($worksheetNo: String!, $unloadingReturnWorksheetDetails: [WorksheetDetailPatch]) {
450
+ mutation ($worksheetNo: String!, $unloadingReturnWorksheetDetails: [WorksheetDetailPatch]) {
451
451
  activateUnloadingReturn(
452
452
  worksheetNo: $worksheetNo
453
453
  unloadingReturnWorksheetDetails: $unloadingReturnWorksheetDetails
@@ -8,7 +8,7 @@ import './pallet-label-popup'
8
8
  import './putaway-worksheet-generate-popup'
9
9
 
10
10
  import gql from 'graphql-tag'
11
- import { css, html } from 'lit-element'
11
+ import { css, html } from 'lit'
12
12
 
13
13
  import { getCodeByName } from '@things-factory/code-base'
14
14
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
@@ -3,12 +3,12 @@ import '@things-factory/grist-ui'
3
3
  import '../inventory/serial-number-list-popup'
4
4
 
5
5
  import gql from 'graphql-tag'
6
- import { css, html } from 'lit-element'
6
+ import { css, html } from 'lit'
7
7
  import { connect } from 'pwa-helpers/connect-mixin'
8
8
 
9
9
  import { getCodeByName } from '@things-factory/code-base'
10
10
  import { i18next, localize } from '@things-factory/i18n-base'
11
- import { client, PageView, store,gqlContext } from '@things-factory/shell'
11
+ import { client, PageView, store, gqlContext } from '@things-factory/shell'
12
12
  import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
13
13
  import { isMobileDevice } from '@things-factory/utils'
14
14
  import { openPopup } from '@things-factory/layout-base'
@@ -142,8 +142,7 @@ class InventoryAdjustmentApproval extends connect(store)(localize(i18next)(PageV
142
142
  { column: 'manufactureDate', name: 'Mfg. Date' },
143
143
  { column: 'unitCost', name: 'Unit Cost' },
144
144
  { column: 'inventoryItemChange', name: 'Inventory Item Changes' },
145
- { column: 'status', name: 'Status' },
146
-
145
+ { column: 'status', name: 'Status' }
147
146
  ]
148
147
 
149
148
  this.config = {
@@ -200,7 +199,7 @@ class InventoryAdjustmentApproval extends connect(store)(localize(i18next)(PageV
200
199
 
201
200
  if (item.column == 'status' && record.transactionType == 'MISSING') {
202
201
  updatedVal = record.transactionType || '[N/A]'
203
- }else if(item.column == 'status'){
202
+ } else if (item.column == 'status') {
204
203
  updatedVal = '[N/A]'
205
204
  }
206
205
 
@@ -692,4 +691,4 @@ class InventoryAdjustmentApproval extends connect(store)(localize(i18next)(PageV
692
691
  }
693
692
  }
694
693
 
695
- window.customElements.define('inventory-adjustment-approval', InventoryAdjustmentApproval)
694
+ window.customElements.define('inventory-adjustment-approval', InventoryAdjustmentApproval)
@@ -6,7 +6,7 @@ import './inventory-history-by-pallet'
6
6
  import '../inventory/serial-number-list-popup'
7
7
 
8
8
  import gql from 'graphql-tag'
9
- import { css, html } from 'lit-element'
9
+ import { css, html } from 'lit'
10
10
  import { connect } from 'pwa-helpers/connect-mixin'
11
11
 
12
12
  import { DirectPrinter } from '@things-factory/barcode-base'
@@ -3,7 +3,7 @@ import '@things-factory/grist-ui'
3
3
  import './inventory-history-by-pallet'
4
4
 
5
5
  import gql from 'graphql-tag'
6
- import { css, html, LitElement } from 'lit-element'
6
+ import { css, html, LitElement } from 'lit'
7
7
 
8
8
  import { i18next, localize } from '@things-factory/i18n-base'
9
9
  import { openPopup } from '@things-factory/layout-base'
@@ -4,7 +4,7 @@ import '@things-factory/import-ui'
4
4
  import './inventory-by-product-detail'
5
5
 
6
6
  import gql from 'graphql-tag'
7
- import { css, html } from 'lit-element'
7
+ import { css, html } from 'lit'
8
8
 
9
9
  import { i18next, localize } from '@things-factory/i18n-base'
10
10
  import { openPopup } from '@things-factory/layout-base'
@@ -5,7 +5,7 @@ import { client } from '@things-factory/shell'
5
5
  import { isMobileDevice } from '@things-factory/utils'
6
6
  import { ScrollbarStyles } from '@things-factory/styles'
7
7
  import gql from 'graphql-tag'
8
- import { css, html, LitElement } from 'lit-element'
8
+ import { css, html, LitElement } from 'lit'
9
9
 
10
10
  class InventoryHistoryByPallet extends localize(i18next)(LitElement) {
11
11
  static get styles() {
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
2
2
  import '@things-factory/grist-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import { css, html } from 'lit-element'
5
+ import { css, html } from 'lit'
6
6
 
7
7
  import { i18next, localize } from '@things-factory/i18n-base'
8
8
  import { client, PageView } from '@things-factory/shell'
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
2
2
  import '@things-factory/grist-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import { css, html } from 'lit-element'
5
+ import { css, html } from 'lit'
6
6
  import { connect } from 'pwa-helpers/connect-mixin'
7
7
 
8
8
  import { i18next, localize } from '@things-factory/i18n-base'
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
2
2
  import '@things-factory/grist-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import { css, html } from 'lit-element'
5
+ import { css, html } from 'lit'
6
6
  import { connect } from 'pwa-helpers/connect-mixin'
7
7
 
8
8
  import { getCodeByName } from '@things-factory/code-base'