@things-factory/operato-wms 7.0.1-alpha.85 → 7.0.1-alpha.87

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 (219) hide show
  1. package/client/bootstrap.js +2 -2
  2. package/client/pages/adjustment/transfer-inventory.js +2 -2
  3. package/client/pages/billing/claim-chit/claim-chit-detail.js +2 -2
  4. package/client/pages/billing/claim-chit/claim-chit-list.js +6 -6
  5. package/client/pages/billing/claim-chit/create-claim-chit.js +2 -2
  6. package/client/pages/billing/transport-summary-report.js +1 -1
  7. package/client/pages/bulk-operation/bulk-operation.js +1 -1
  8. package/client/pages/bulk-operation/validate-gan-popup.js +2 -2
  9. package/client/pages/bulk-operation/validate-ro-popup.js +3 -3
  10. package/client/pages/components/attachment-viewer.js +1 -1
  11. package/client/pages/components/image-viewer.js +1 -1
  12. package/client/pages/components/partner-selector.js +2 -2
  13. package/client/pages/components/popup-note.js +1 -1
  14. package/client/pages/components/popup-reusable-pallet.js +1 -1
  15. package/client/pages/components/select-inventory-popup.js +3 -3
  16. package/client/pages/components/select-product-popup.js +3 -3
  17. package/client/pages/components/vas-templates/vas-pallet-add-popup.js +1 -1
  18. package/client/pages/components/vas-templates/vas-relabel.js +2 -2
  19. package/client/pages/components/vas-templates/vas-repack-relabel.js +2 -2
  20. package/client/pages/components/vas-templates/vas-repack.js +2 -2
  21. package/client/pages/components/vas-templates/vas-repalletizing.js +2 -2
  22. package/client/pages/components/vas-templates/vas-template.js +1 -1
  23. package/client/pages/components/vas-templates/vas-unpack.js +1 -1
  24. package/client/pages/components/worksheet-information-popup.js +1 -1
  25. package/client/pages/constants/picking-strategy.js +1 -1
  26. package/client/pages/constants/vas-target-type.js +1 -1
  27. package/client/pages/constants/vas-template.js +1 -1
  28. package/client/pages/constants/worksheet.js +1 -1
  29. package/client/pages/inbound/adjust-pallet-qty.js +1 -1
  30. package/client/pages/inbound/carton-label-popup.js +1 -1
  31. package/client/pages/inbound/expiry-date-popup.js +1 -1
  32. package/client/pages/inbound/external-return-worksheet.js +3 -3
  33. package/client/pages/inbound/inbound-reusable-pallet.js +2 -2
  34. package/client/pages/inbound/inbound-worksheet.js +3 -3
  35. package/client/pages/inbound/pallet-label-popup.js +8 -3
  36. package/client/pages/inbound/palletizing-pallets-popup.js +2 -2
  37. package/client/pages/inbound/putaway-product.js +8 -9
  38. package/client/pages/inbound/putaway-same-carton-popup.js +2 -2
  39. package/client/pages/inbound/putaway-worksheet-generate-popup.js +2 -2
  40. package/client/pages/inbound/select-location-popup.js +2 -2
  41. package/client/pages/inbound/select-product-batch.js +2 -2
  42. package/client/pages/inbound/serial-number-list-popup.js +3 -3
  43. package/client/pages/inbound/undo-putaway-popup.js +2 -2
  44. package/client/pages/inbound/undo-unload-popup.js +2 -2
  45. package/client/pages/inbound/unload-product.js +3 -3
  46. package/client/pages/inbound/unloaded-inventories-popup.js +2 -2
  47. package/client/pages/inbound/vas-selector.js +3 -3
  48. package/client/pages/inbound/worksheet-putaway-return.js +2 -2
  49. package/client/pages/inbound/worksheet-putaway.js +2 -2
  50. package/client/pages/inbound/worksheet-unloading-return.js +2 -2
  51. package/client/pages/inbound/worksheet-unloading.js +1 -1
  52. package/client/pages/inventory/inventory-adjustment-approval.js +2 -2
  53. package/client/pages/inventory/inventory-adjustment.js +2 -2
  54. package/client/pages/inventory/inventory-by-product-detail.js +3 -3
  55. package/client/pages/inventory/inventory-by-product.js +3 -3
  56. package/client/pages/inventory/inventory-history-by-pallet.js +3 -3
  57. package/client/pages/inventory/inventory-history.js +3 -3
  58. package/client/pages/inventory/non-loaded-inventory.js +3 -3
  59. package/client/pages/inventory/onhand-inventory.js +2 -2
  60. package/client/pages/inventory/serial-number-list-popup.js +2 -2
  61. package/client/pages/inventory-check/check-inventory-popup.js +1 -1
  62. package/client/pages/inventory-check/create-cycle-count.js +2 -2
  63. package/client/pages/inventory-check/cycle-count-recheck-popup.js +2 -2
  64. package/client/pages/inventory-check/cycle-count-report.js +2 -2
  65. package/client/pages/inventory-check/inspecting-product.js +2 -2
  66. package/client/pages/inventory-check/inventory-check-list.js +3 -3
  67. package/client/pages/inventory-check/search-popup.js +2 -2
  68. package/client/pages/inventory-check/worksheet-cycle-count.js +2 -2
  69. package/client/pages/manifest/create-loading-manifest.js +2 -2
  70. package/client/pages/manifest/dispatcher-verification-popup.js +1 -1
  71. package/client/pages/manifest/loading-manifest-detail.js +2 -2
  72. package/client/pages/manifest/loading-manifest-list.js +3 -3
  73. package/client/pages/master/generate-location-list.js +8 -9
  74. package/client/pages/master/location-list.js +2 -2
  75. package/client/pages/master/pallet-list.js +2 -2
  76. package/client/pages/master/print-location-label.js +3 -3
  77. package/client/pages/master/product/product-detail-bizplace-setting-popup.js +2 -2
  78. package/client/pages/master/product/product-details-popup.js +3 -3
  79. package/client/pages/master/product/product-list.js +2 -2
  80. package/client/pages/master/tote-list.js +2 -2
  81. package/client/pages/master/transport-driver.js +2 -2
  82. package/client/pages/master/transport-vehicle.js +2 -2
  83. package/client/pages/master/warehouse-list.js +2 -2
  84. package/client/pages/master/worker-list.js +2 -2
  85. package/client/pages/order/arrival-notice/arrival-notice-detail.js +12 -16
  86. package/client/pages/order/arrival-notice/arrival-notice-list.js +3 -3
  87. package/client/pages/order/arrival-notice/arrival-notice-requests.js +3 -3
  88. package/client/pages/order/arrival-notice/assign-buffer-location.js +9 -10
  89. package/client/pages/order/arrival-notice/check-arrived-notice.js +9 -10
  90. package/client/pages/order/arrival-notice/create-arrival-notice.js +5 -6
  91. package/client/pages/order/arrival-notice/duplicate-arrival-notice.js +10 -11
  92. package/client/pages/order/arrival-notice/edit-product-popup.js +3 -3
  93. package/client/pages/order/arrival-notice/proceed-edit-product-popup.js +3 -3
  94. package/client/pages/order/arrival-notice/receive-arrival-notice.js +9 -10
  95. package/client/pages/order/arrival-notice/rejected-arrival-notice.js +9 -10
  96. package/client/pages/order/arrival-notice/view-product-changes-popup.js +3 -3
  97. package/client/pages/order/draft-release-good/draft-release-good-detail.js +3 -3
  98. package/client/pages/order/draft-release-good/draft-release-good-list.js +2 -2
  99. package/client/pages/order/goods-received-note/customer-grn-list.js +3 -3
  100. package/client/pages/order/goods-received-note/customer-received-note.js +1 -1
  101. package/client/pages/order/goods-received-note/received-note-detail.js +1 -1
  102. package/client/pages/order/goods-received-note/received-note-list.js +3 -3
  103. package/client/pages/order/release-order/b2b/b2b-order-list.js +1 -1
  104. package/client/pages/order/release-order/b2b/b2b-order-requests.js +2 -2
  105. package/client/pages/order/release-order/b2c/b2c-order-requests.js +1 -1
  106. package/client/pages/order/release-order/batch-generate-single-picking-worksheet-popup.js +3 -3
  107. package/client/pages/order/release-order/batch-picking-popup.js +3 -3
  108. package/client/pages/order/release-order/bulk-print-packing-list.js +2 -2
  109. package/client/pages/order/release-order/create-release-order.js +7 -8
  110. package/client/pages/order/release-order/receive-release-order-request.js +9 -10
  111. package/client/pages/order/release-order/rejected-release-order.js +9 -10
  112. package/client/pages/order/release-order/release-extra-product-popup.js +3 -3
  113. package/client/pages/order/release-order/release-order-detail.js +27 -29
  114. package/client/pages/order/return-order/check-return-order.js +9 -10
  115. package/client/pages/order/return-order/create-return-order.js +2 -2
  116. package/client/pages/order/return-order/receive-return-order-requests.js +9 -10
  117. package/client/pages/order/return-order/rejected-return-order.js +9 -10
  118. package/client/pages/order/return-order/return-order-assign-buffer-location.js +9 -10
  119. package/client/pages/order/return-order/return-order-detail.js +9 -10
  120. package/client/pages/order/return-order/return-order-inventory-popup.js +2 -2
  121. package/client/pages/order/return-order/return-order-list.js +3 -3
  122. package/client/pages/order/return-order/return-order-requests.js +3 -3
  123. package/client/pages/order/reverse-kitting-order/reverse-kitting-order-detail.js +2 -2
  124. package/client/pages/order/reverse-kitting-order/reverse-kitting-order-list.js +2 -2
  125. package/client/pages/order/reverse-kitting-order/reverse-kitting-pallet-label-popup.js +8 -3
  126. package/client/pages/order/transfer-order/receive-transfer-order-request.js +1 -1
  127. package/client/pages/order/transfer-order/rejected-transfer-order.js +2 -2
  128. package/client/pages/order/transfer-order/transfer-order-detail.js +2 -2
  129. package/client/pages/order/transfer-order/transfer-order-requests.js +3 -3
  130. package/client/pages/order/transport-order/contact-point-selector-popup.js +3 -3
  131. package/client/pages/order/transport-order/create-delivery-order.js +2 -2
  132. package/client/pages/order/transport-order/delivery-note-popup.js +2 -2
  133. package/client/pages/order/transport-order/delivery-order-list.js +3 -3
  134. package/client/pages/order/transport-order/print-delivery-note.js +1 -1
  135. package/client/pages/order/transport-order/transport-driver-popup.js +3 -3
  136. package/client/pages/order/transport-order/upload-delivery-note.js +2 -2
  137. package/client/pages/order/transport-order/view-delivery-note.js +1 -1
  138. package/client/pages/order/vas-order/create-vas-order.js +2 -2
  139. package/client/pages/order/vas-order/popup/target-product-selector-popup.js +3 -3
  140. package/client/pages/order/vas-order/popup/vas-create-batch-product-type-form.js +17 -19
  141. package/client/pages/order/vas-order/popup/vas-create-batch-type-form.js +4 -5
  142. package/client/pages/order/vas-order/popup/vas-create-etc-type-form.js +1 -1
  143. package/client/pages/order/vas-order/popup/vas-create-popup.js +36 -36
  144. package/client/pages/order/vas-order/popup/vas-create-product-type-form.js +6 -7
  145. package/client/pages/order/vas-order/receive-vas-order.js +2 -2
  146. package/client/pages/order/vas-order/vas-order-detail.js +2 -2
  147. package/client/pages/order/vas-order/vas-order-list.js +3 -3
  148. package/client/pages/order/vas-order/vas-order-requests.js +3 -3
  149. package/client/pages/outbound/generate-worksheet-popup.js +2 -2
  150. package/client/pages/outbound/inventory-assign-popup.js +2 -2
  151. package/client/pages/outbound/inventory-auto-assign-popup.js +2 -2
  152. package/client/pages/outbound/inventory-reassign-popup.js +2 -2
  153. package/client/pages/outbound/loading-product.js +2 -2
  154. package/client/pages/outbound/logistics-init/branch-logistics-popup.js +3 -3
  155. package/client/pages/outbound/logistics-init/logistics-init-popup.js +1 -1
  156. package/client/pages/outbound/logistics-init/pickup-logistics-popup.js +3 -3
  157. package/client/pages/outbound/merged-outbound-worksheet.js +2 -2
  158. package/client/pages/outbound/order-remark-popup.js +1 -1
  159. package/client/pages/outbound/outbound-reusable-pallet.js +2 -2
  160. package/client/pages/outbound/packing-product.js +7 -7
  161. package/client/pages/outbound/packing-worksheet-list.js +2 -2
  162. package/client/pages/outbound/picking-product.js +16 -18
  163. package/client/pages/outbound/picking-replacement-popup.js +2 -2
  164. package/client/pages/outbound/return-pallet-check-popup.js +2 -2
  165. package/client/pages/outbound/route-label-popup.js +2 -2
  166. package/client/pages/outbound/select-operator-popup.js +2 -2
  167. package/client/pages/outbound/serial-number-popup.js +2 -2
  168. package/client/pages/outbound/show-my-worksheet-list-popup.js +1 -1
  169. package/client/pages/outbound/show-ro-list-popup.js +3 -3
  170. package/client/pages/outbound/single-outbound-worksheet.js +2 -2
  171. package/client/pages/outbound/sorting-product.js +2 -2
  172. package/client/pages/outbound/tote-popup.js +3 -3
  173. package/client/pages/outbound/transport-vehicles-popup.js +3 -3
  174. package/client/pages/outbound/worksheet-batch-picking.js +2 -2
  175. package/client/pages/outbound/worksheet-loading.js +2 -2
  176. package/client/pages/outbound/worksheet-packing.js +2 -2
  177. package/client/pages/outbound/worksheet-picking.js +2 -2
  178. package/client/pages/outbound/worksheet-return.js +2 -2
  179. package/client/pages/outbound/worksheet-sorting.js +2 -2
  180. package/client/pages/report/costing-report.js +1 -1
  181. package/client/pages/report/custom-elccl/elccl-daily-collection-report.js +1 -1
  182. package/client/pages/report/custom-elccl/elccl-daily-order-inventory-report.js +1 -1
  183. package/client/pages/report/custom-elccl/elccl-delivery-order-summary.js +7 -7
  184. package/client/pages/report/custom-elccl/elccl-inventory-pallet-detail-report.js +1 -1
  185. package/client/pages/report/custom-elccl/elccl-inventory-report.js +1 -1
  186. package/client/pages/report/custom-elccl/elccl-inventory-summary-report.js +1 -1
  187. package/client/pages/report/inbound-order-details-report.js +1 -1
  188. package/client/pages/report/inbound-serial-number-report.js +1 -1
  189. package/client/pages/report/inventory-pallet-report.js +1 -1
  190. package/client/pages/report/inventory-pallet-storage-report.js +1 -1
  191. package/client/pages/report/inventory-report.js +1 -1
  192. package/client/pages/report/inventory-summary-report.js +1 -1
  193. package/client/pages/report/job-sheet-list.js +2 -2
  194. package/client/pages/report/job-sheet-popup.js +1 -1
  195. package/client/pages/report/job-sheet-report.js +1 -1
  196. package/client/pages/report/outbound-order-details-report.js +1 -1
  197. package/client/pages/report/outbound-serial-number-report.js +1 -1
  198. package/client/pages/report/product-label-report.js +1 -1
  199. package/client/pages/report/release-inventory-report.js +1 -1
  200. package/client/pages/report/volume-summary-report.js +1 -1
  201. package/client/pages/support/inventory-comparison.js +3 -3
  202. package/client/pages/system/location-sorting-rule.js +2 -2
  203. package/client/pages/vas/abstract-execute-vas.js +1 -1
  204. package/client/pages/vas/execute-pure-vas.js +2 -2
  205. package/client/pages/vas/execute-ref-vas.js +3 -3
  206. package/client/pages/vas/execute-vas.js +1 -1
  207. package/client/pages/vas/print-product-label.js +2 -2
  208. package/client/pages/vas/related-vas-list.js +2 -2
  209. package/client/pages/vas/reverse-kitting/execute-reverse-kitting.js +2 -2
  210. package/client/pages/vas/reverse-kitting/popup-combination-sets.js +2 -2
  211. package/client/pages/vas/reverse-kitting/popup-reverse-kitting-template.js +2 -2
  212. package/client/pages/vas/target-inventory-assignment-popup.js +2 -2
  213. package/client/pages/vas/vas-pallet-label-popup.js +2 -2
  214. package/client/pages/vas/vas-worksheet-list.js +7 -7
  215. package/client/pages/vas/worksheet-ref-vas.js +7 -7
  216. package/client/pages/vas/worksheet-vas.js +2 -2
  217. package/client/route.js +1 -1
  218. package/dist-server/tsconfig.tsbuildinfo +1 -1
  219. package/package.json +15 -15
@@ -14,11 +14,11 @@ import { connect } from 'pwa-helpers/connect-mixin'
14
14
 
15
15
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
16
16
  import { getRenderer } from '@operato/data-grist'
17
- import { i18next, localize } from '@things-factory/i18n-base'
17
+ import { i18next, localize } from '@operato/i18n'
18
18
  import { openPopup } from '@operato/layout'
19
19
  import { client, CustomAlert, navigate, PageView, store } from '@things-factory/shell'
20
20
  import { CommonButtonStyles } from '@things-factory/styles'
21
- import { isMobileDevice } from '@things-factory/utils'
21
+ import { isMobileDevice } from '@operato/utils'
22
22
 
23
23
  import { fetchSettingRule } from '../../../fetch-setting-value'
24
24
  import {
@@ -430,7 +430,7 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
430
430
 
431
431
  <label ?hidden="${this.roType === 'b2b'}">${i18next.t('label.order_remark')}</label>
432
432
  <textarea name="remark" ?hidden="${this.roType === 'b2b'}" rows="5" ?readonly="${!this
433
- ?._editable}"></textarea>
433
+ ?._editable}"></textarea>
434
434
 
435
435
  ${
436
436
  this._crossDocking
@@ -446,14 +446,13 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
446
446
  <label>${i18next.t('label.attachment')}</label>
447
447
  <ul attachment-wrap>
448
448
  ${(this._attachments || []).map(
449
- attachment =>
450
- html`
451
- <li>
452
- <a href="${location.origin}/attachment/${attachment.path}" download
453
- ><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
454
- >
455
- </li>
456
- `
449
+ attachment => html`
450
+ <li>
451
+ <a href="${location.origin}/attachment/${attachment.path}" download
452
+ ><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
453
+ >
454
+ </li>
455
+ `
457
456
  )}
458
457
  </ul>
459
458
  `
@@ -594,26 +593,26 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
594
593
 
595
594
  <label>${i18next.t('label.state')}</label>
596
595
  <input ?disabled=${this._disableBillingAddress} name="billingState" .value="${
597
- this._releaseOrder.billingState
598
- }" />
596
+ this._releaseOrder.billingState
597
+ }" />
599
598
 
600
599
  <label>${i18next.t('label.city')}</label>
601
600
  <input ?disabled=${this._disableBillingAddress} name="billingCity" .value="${
602
- this._releaseOrder.billingCity
603
- }" />
601
+ this._releaseOrder.billingCity
602
+ }" />
604
603
 
605
604
  <label>${i18next.t('label.billing_address')}</label>
606
605
  <textarea ?disabled=${this._disableBillingAddress} name="billingAddress" .value="${
607
- this._releaseOrder.billingAddress || ''
608
- }"></textarea>
606
+ this._releaseOrder.billingAddress || ''
607
+ }"></textarea>
609
608
 
610
609
  <input type="checkbox" id="matchDeliveryAddress" name="matchDeliveryAddressInputa" ?checked=${
611
610
  this._releaseOrder.postalCode == this._releaseOrder.billingPostalCode &&
612
611
  this._releaseOrder.billingAddress == this._releaseOrder.deliveryAddress1
613
612
  } @click=${e => {
614
- e.currentTarget.checked ? (this._disableBillingAddress = true) : (this._disableBillingAddress = false)
615
- e.currentTarget.checked ? this.matchDeliveryAddress() : ''
616
- }} />
613
+ e.currentTarget.checked ? (this._disableBillingAddress = true) : (this._disableBillingAddress = false)
614
+ e.currentTarget.checked ? this.matchDeliveryAddress() : ''
615
+ }} />
617
616
  <label for="matchDeliveryAddress">${i18next.t('label.match_delivery_address')}</label>
618
617
 
619
618
 
@@ -635,15 +634,14 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
635
634
  <select name="containerSize" required>
636
635
  <option value="">--${i18next.t('label.please_select_a_container_size')}--</option>
637
636
  ${(this.containerSizes || []).map(
638
- containerSize =>
639
- html`
640
- <option
641
- value="${containerSize && containerSize.name}"
642
- ?selected="${containerSize.name === this._shippingOrder?.containerSize ? true : false}"
643
- >
644
- ${containerSize && containerSize.name}
645
- </option>
646
- `
637
+ containerSize => html`
638
+ <option
639
+ value="${containerSize && containerSize.name}"
640
+ ?selected="${containerSize.name === this._shippingOrder?.containerSize ? true : false}"
641
+ >
642
+ ${containerSize && containerSize.name}
643
+ </option>
644
+ `
647
645
  )}
648
646
  </select>
649
647
 
@@ -1,9 +1,9 @@
1
1
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
2
2
  import '@operato/data-grist'
3
- import { i18next, localize } from '@things-factory/i18n-base'
3
+ import { i18next, localize } from '@operato/i18n'
4
4
  import { client, CustomAlert, navigate, PageView, store } from '@things-factory/shell'
5
5
  import { CommonButtonStyles } from '@things-factory/styles'
6
- import { isMobileDevice } from '@things-factory/utils'
6
+ import { isMobileDevice } from '@operato/utils'
7
7
  import gql from 'graphql-tag'
8
8
  import { css, html } from 'lit'
9
9
  import { connect } from 'pwa-helpers/connect-mixin'
@@ -165,14 +165,13 @@ class CheckReturnOrder extends connect(store)(localize(i18next)(PageView)) {
165
165
  <label>${i18next.t('label.attachment')}</label>
166
166
  <ul attachment-wrap>
167
167
  ${(this._attachments || []).map(
168
- attachment =>
169
- html`
170
- <li>
171
- <a href="${location.origin}/attachment/${attachment.path}" download
172
- ><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
173
- >
174
- </li>
175
- `
168
+ attachment => html`
169
+ <li>
170
+ <a href="${location.origin}/attachment/${attachment.path}" download
171
+ ><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
172
+ >
173
+ </li>
174
+ `
176
175
  )}
177
176
  </ul>
178
177
  `
@@ -6,11 +6,11 @@ import gql from 'graphql-tag'
6
6
  import { css, html } from 'lit'
7
7
 
8
8
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
9
- import { i18next, localize } from '@things-factory/i18n-base'
9
+ import { i18next, localize } from '@operato/i18n'
10
10
  import { openPopup } from '@operato/layout'
11
11
  import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
12
12
  import { CommonButtonStyles } from '@things-factory/styles'
13
- import { isMobileDevice } from '@things-factory/utils'
13
+ import { isMobileDevice } from '@operato/utils'
14
14
 
15
15
  import { fetchSettingRule } from '../../../fetch-setting-value'
16
16
  import { ORDER_INVENTORY_STATUS, ORDER_TYPES } from '../../constants'
@@ -1,10 +1,10 @@
1
1
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
2
2
  import '@operato/data-grist'
3
- import { i18next, localize } from '@things-factory/i18n-base'
3
+ import { i18next, localize } from '@operato/i18n'
4
4
  import { openPopup } from '@operato/layout'
5
5
  import { client, CustomAlert, navigate, PageView, store } from '@things-factory/shell'
6
6
  import { CommonButtonStyles } from '@things-factory/styles'
7
- import { isMobileDevice } from '@things-factory/utils'
7
+ import { isMobileDevice } from '@operato/utils'
8
8
  import gql from 'graphql-tag'
9
9
  import { css, html } from 'lit'
10
10
  import { connect } from 'pwa-helpers/connect-mixin'
@@ -166,14 +166,13 @@ class ReceiveReturnOrderRequests extends connect(store)(localize(i18next)(PageVi
166
166
  <label>${i18next.t('label.attachment')}</label>
167
167
  <ul attachment-wrap>
168
168
  ${(this._attachments || []).map(
169
- attachment =>
170
- html`
171
- <li>
172
- <a href="${location.origin}/attachment/${attachment.path}" download
173
- ><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
174
- >
175
- </li>
176
- `
169
+ attachment => html`
170
+ <li>
171
+ <a href="${location.origin}/attachment/${attachment.path}" download
172
+ ><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
173
+ >
174
+ </li>
175
+ `
177
176
  )}
178
177
  </ul>
179
178
  `
@@ -1,9 +1,9 @@
1
1
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
2
2
  import { CommonButtonStyles } from '@things-factory/styles'
3
3
  import '@operato/data-grist'
4
- import { i18next, localize } from '@things-factory/i18n-base'
4
+ import { i18next, localize } from '@operato/i18n'
5
5
  import { client, PageView, store } from '@things-factory/shell'
6
- import { isMobileDevice } from '@things-factory/utils'
6
+ import { isMobileDevice } from '@operato/utils'
7
7
  import gql from 'graphql-tag'
8
8
  import { css, html } from 'lit'
9
9
  import { connect } from 'pwa-helpers/connect-mixin'
@@ -172,14 +172,13 @@ class RejectedReturnOrder extends connect(store)(localize(i18next)(PageView)) {
172
172
  <label>${i18next.t('label.attachment')}</label>
173
173
  <ul attachment-wrap>
174
174
  ${(this._attachments || []).map(
175
- attachment =>
176
- html`
177
- <li>
178
- <a href="${location.origin}/attachment/${attachment.path}" download
179
- ><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
180
- >
181
- </li>
182
- `
175
+ attachment => html`
176
+ <li>
177
+ <a href="${location.origin}/attachment/${attachment.path}" download
178
+ ><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
179
+ >
180
+ </li>
181
+ `
183
182
  )}
184
183
  </ul>
185
184
  `
@@ -1,10 +1,10 @@
1
1
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
2
2
  import '@operato/data-grist'
3
- import { i18next, localize } from '@things-factory/i18n-base'
3
+ import { i18next, localize } from '@operato/i18n'
4
4
  import { openPopup } from '@operato/layout'
5
5
  import { client, CustomAlert, navigate, PageView, store } from '@things-factory/shell'
6
6
  import { CommonButtonStyles } from '@things-factory/styles'
7
- import { isMobileDevice } from '@things-factory/utils'
7
+ import { isMobileDevice } from '@operato/utils'
8
8
  import gql from 'graphql-tag'
9
9
  import { css, html } from 'lit'
10
10
  import { connect } from 'pwa-helpers/connect-mixin'
@@ -167,14 +167,13 @@ class ReturnOrderAssignBufferLocation extends connect(store)(localize(i18next)(P
167
167
  <label>${i18next.t('label.attachment')}</label>
168
168
  <ul attachment-wrap>
169
169
  ${(this._attachments || []).map(
170
- attachment =>
171
- html`
172
- <li>
173
- <a href="${location.origin}/attachment/${attachment.path}" download
174
- ><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
175
- >
176
- </li>
177
- `
170
+ attachment => html`
171
+ <li>
172
+ <a href="${location.origin}/attachment/${attachment.path}" download
173
+ ><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
174
+ >
175
+ </li>
176
+ `
178
177
  )}
179
178
  </ul>
180
179
  `
@@ -1,9 +1,9 @@
1
1
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
2
2
  import '@operato/data-grist'
3
- import { i18next, localize } from '@things-factory/i18n-base'
3
+ import { i18next, localize } from '@operato/i18n'
4
4
  import { client, CustomAlert, navigate, PageView, store } from '@things-factory/shell'
5
5
  import { CommonButtonStyles } from '@things-factory/styles'
6
- import { isMobileDevice } from '@things-factory/utils'
6
+ import { isMobileDevice } from '@operato/utils'
7
7
  import gql from 'graphql-tag'
8
8
  import { css, html } from 'lit'
9
9
  import { connect } from 'pwa-helpers/connect-mixin'
@@ -176,14 +176,13 @@ class ReturnOrderDetail extends connect(store)(localize(i18next)(PageView)) {
176
176
  <label>${i18next.t('label.attachment')}</label>
177
177
  <ul attachment-wrap>
178
178
  ${(this._attachments || []).map(
179
- attachment =>
180
- html`
181
- <li>
182
- <a href="${location.origin}/attachment/${attachment.path}" download
183
- ><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
184
- >
185
- </li>
186
- `
179
+ attachment => html`
180
+ <li>
181
+ <a href="${location.origin}/attachment/${attachment.path}" download
182
+ ><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
183
+ >
184
+ </li>
185
+ `
187
186
  )}
188
187
  </ul>
189
188
  `
@@ -1,8 +1,8 @@
1
1
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
2
2
  import '@operato/data-grist'
3
- import { i18next, localize } from '@things-factory/i18n-base'
3
+ import { i18next, localize } from '@operato/i18n'
4
4
  import { client } from '@operato/graphql'
5
- import { isMobileDevice } from '@things-factory/utils'
5
+ import { isMobileDevice } from '@operato/utils'
6
6
  import gql from 'graphql-tag'
7
7
  import { css, html, LitElement } from 'lit'
8
8
  import { ORDER_INVENTORY_STATUS, ORDER_TYPES } from '../../constants'
@@ -1,10 +1,10 @@
1
1
  import '@things-factory/form-ui'
2
2
  import '@operato/data-grist'
3
- import { i18next, localize } from '@things-factory/i18n-base'
3
+ import { i18next, localize } from '@operato/i18n'
4
4
  import { client, navigate, PageView } from '@things-factory/shell'
5
- import { ScrollbarStyles } from '@things-factory/styles'
5
+ import { ScrollbarStyles } from '@operato/styles'
6
6
  import { getCodeByName } from '@things-factory/code-base'
7
- import { isMobileDevice } from '@things-factory/utils'
7
+ import { isMobileDevice } from '@operato/utils'
8
8
  import gql from 'graphql-tag'
9
9
  import { css, html } from 'lit'
10
10
  import { ORDER_STATUS } from '../../constants'
@@ -1,10 +1,10 @@
1
1
  import { getCodeByName } from '@things-factory/code-base'
2
2
  import '@things-factory/form-ui'
3
3
  import '@operato/data-grist'
4
- import { i18next, localize } from '@things-factory/i18n-base'
4
+ import { i18next, localize } from '@operato/i18n'
5
5
  import { client, navigate, PageView } from '@things-factory/shell'
6
- import { ScrollbarStyles } from '@things-factory/styles'
7
- import { isMobileDevice } from '@things-factory/utils'
6
+ import { ScrollbarStyles } from '@operato/styles'
7
+ import { isMobileDevice } from '@operato/utils'
8
8
  import gql from 'graphql-tag'
9
9
  import { css, html } from 'lit'
10
10
  import { ORDER_STATUS } from '../../constants'
@@ -9,11 +9,11 @@ import { css, html } from 'lit'
9
9
  import { connect } from 'pwa-helpers/connect-mixin.js'
10
10
 
11
11
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
12
- import { i18next, localize } from '@things-factory/i18n-base'
12
+ import { i18next, localize } from '@operato/i18n'
13
13
  import { openPopup } from '@operato/layout'
14
14
  import { client, CustomAlert, navigate, PageView, store } from '@things-factory/shell'
15
15
  import { CommonButtonStyles } from '@things-factory/styles'
16
- import { isMobileDevice } from '@things-factory/utils'
16
+ import { isMobileDevice } from '@operato/utils'
17
17
 
18
18
  import { fetchLocationSortingRule } from '../../../fetch-location-sorting-rule'
19
19
  import { INVENTORY_STATUS, LOCATION_SORTING_RULE, ORDER_STATUS } from '../../constants'
@@ -3,10 +3,10 @@ import '@operato/data-grist'
3
3
  import gql from 'graphql-tag'
4
4
  import { css, html } from 'lit'
5
5
 
6
- import { i18next, localize } from '@things-factory/i18n-base'
6
+ import { i18next, localize } from '@operato/i18n'
7
7
  import { client, navigate, PageView } from '@things-factory/shell'
8
8
  import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
9
- import { isMobileDevice } from '@things-factory/utils'
9
+ import { isMobileDevice } from '@operato/utils'
10
10
 
11
11
  import { ORDER_STATUS } from '../../constants'
12
12
 
@@ -6,9 +6,9 @@ import { css, html, LitElement } from 'lit'
6
6
  import { connect } from 'pwa-helpers/connect-mixin'
7
7
 
8
8
  import { DirectPrinter } from '@things-factory/barcode-base'
9
- import { i18next, localize } from '@things-factory/i18n-base'
9
+ import { i18next, localize } from '@operato/i18n'
10
10
  import { client, store } from '@things-factory/shell'
11
- import { isMobileDevice } from '@things-factory/utils'
11
+ import { isMobileDevice } from '@operato/utils'
12
12
  import { ButtonContainerStyles } from '@operato/styles'
13
13
 
14
14
  import { PALLET_LABEL_SETTING_KEY } from '../../constants'
@@ -100,7 +100,12 @@ class ReverseKittingPalletLabelPopup extends connect(store)(localize(i18next)(Li
100
100
  render() {
101
101
  return html`
102
102
  <div class="grist">
103
- <ox-grist id="grist" .mode=${isMobileDevice() ? 'LIST' : 'GRID'} .config=${this.config} .data="${this.data}"></ox-grist>
103
+ <ox-grist
104
+ id="grist"
105
+ .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
106
+ .config=${this.config}
107
+ .data="${this.data}"
108
+ ></ox-grist>
104
109
  </div>
105
110
 
106
111
  <div class="button-container">
@@ -3,7 +3,7 @@ import '@operato/data-grist'
3
3
  import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
4
4
  import { css, html } from 'lit'
5
5
  import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
6
- import { i18next, localize } from '@things-factory/i18n-base'
6
+ import { i18next, localize } from '@operato/i18n'
7
7
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
8
8
  import { openPopup } from '@operato/layout'
9
9
  import { ORDER_TYPES, ORDER_STATUS, TRANSFER_TYPES } from '../../constants'
@@ -3,9 +3,9 @@ import '../../components/vas-templates'
3
3
  import '@operato/data-grist'
4
4
  import { client, PageView } from '@things-factory/shell'
5
5
  import { css, html } from 'lit'
6
- import { isMobileDevice } from '@things-factory/utils'
6
+ import { isMobileDevice } from '@operato/utils'
7
7
  import { CommonButtonStyles } from '@things-factory/styles'
8
- import { i18next, localize } from '@things-factory/i18n-base'
8
+ import { i18next, localize } from '@operato/i18n'
9
9
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
10
10
  import gql from 'graphql-tag'
11
11
  import { ORDER_STATUS, TRANSFER_TYPES } from '../../constants'
@@ -1,10 +1,10 @@
1
1
  import { getCodeByName } from '@things-factory/code-base'
2
2
  import '@things-factory/form-ui'
3
3
  import '@operato/data-grist'
4
- import { i18next, localize } from '@things-factory/i18n-base'
4
+ import { i18next, localize } from '@operato/i18n'
5
5
  import { client, PageView } from '@things-factory/shell'
6
6
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
7
- import { isMobileDevice } from '@things-factory/utils'
7
+ import { isMobileDevice } from '@operato/utils'
8
8
  import gql from 'graphql-tag'
9
9
  import { css, html } from 'lit'
10
10
  import { ORDER_STATUS, TRANSFER_TYPES } from '../../constants'
@@ -3,10 +3,10 @@ import '@operato/data-grist'
3
3
  import { client, navigate, PageView } from '@things-factory/shell'
4
4
  import { css, html } from 'lit'
5
5
  import { getCodeByName } from '@things-factory/code-base'
6
- import { isMobileDevice } from '@things-factory/utils'
7
- import { i18next, localize } from '@things-factory/i18n-base'
6
+ import { isMobileDevice } from '@operato/utils'
7
+ import { i18next, localize } from '@operato/i18n'
8
8
  import { ORDER_STATUS } from '../../constants'
9
- import { ScrollbarStyles } from '@things-factory/styles'
9
+ import { ScrollbarStyles } from '@operato/styles'
10
10
  import gql from 'graphql-tag'
11
11
 
12
12
  class TransferOrderRequests extends localize(i18next)(PageView) {
@@ -1,10 +1,10 @@
1
1
  import '@operato/data-grist'
2
2
  import '@things-factory/import-ui'
3
3
  import '@things-factory/form-ui'
4
- import { i18next, localize } from '@things-factory/i18n-base'
4
+ import { i18next, localize } from '@operato/i18n'
5
5
  import { client } from '@operato/graphql'
6
- import { ScrollbarStyles } from '@things-factory/styles'
7
- import { isMobileDevice } from '@things-factory/utils'
6
+ import { ScrollbarStyles } from '@operato/styles'
7
+ import { isMobileDevice } from '@operato/utils'
8
8
  import gql from 'graphql-tag'
9
9
  import { css, html, LitElement } from 'lit'
10
10
 
@@ -9,11 +9,11 @@ import { css, html } from 'lit'
9
9
 
10
10
  import { getCodeByName } from '@things-factory/code-base'
11
11
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
12
- import { i18next, localize } from '@things-factory/i18n-base'
12
+ import { i18next, localize } from '@operato/i18n'
13
13
  import { openPopup } from '@operato/layout'
14
14
  import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
15
15
  import { CommonButtonStyles } from '@things-factory/styles'
16
- import { isMobileDevice } from '@things-factory/utils'
16
+ import { isMobileDevice } from '@operato/utils'
17
17
 
18
18
  import { fetchSettingRule } from '../../../fetch-setting-value'
19
19
 
@@ -6,10 +6,10 @@ import '@things-factory/biz-ui'
6
6
  import { sleep } from '@operato/utils'
7
7
  import '../../outbound/transport-vehicles-popup'
8
8
 
9
- import { i18next, localize } from '@things-factory/i18n-base'
9
+ import { i18next, localize } from '@operato/i18n'
10
10
  import { openPopup } from '@operato/layout'
11
11
  import { client } from '@operato/graphql'
12
- import { isMobileDevice } from '@things-factory/utils'
12
+ import { isMobileDevice } from '@operato/utils'
13
13
  import gql from 'graphql-tag'
14
14
  import { css, html, LitElement } from 'lit'
15
15
  import { fetchSettingRule } from '../../../fetch-setting-value'
@@ -6,10 +6,10 @@ import gql from 'graphql-tag'
6
6
  import { css, html } from 'lit'
7
7
 
8
8
  import { getCodeByName } from '@things-factory/code-base'
9
- import { i18next, localize } from '@things-factory/i18n-base'
9
+ import { i18next, localize } from '@operato/i18n'
10
10
  import { client, navigate, PageView } from '@things-factory/shell'
11
- import { ScrollbarStyles } from '@things-factory/styles'
12
- import { isMobileDevice } from '@things-factory/utils'
11
+ import { ScrollbarStyles } from '@operato/styles'
12
+ import { isMobileDevice } from '@operato/utils'
13
13
 
14
14
  class DeliveryOrderList extends localize(i18next)(PageView) {
15
15
  static get styles() {
@@ -1,4 +1,4 @@
1
- import { i18next, localize } from '@things-factory/i18n-base'
1
+ import { i18next, localize } from '@operato/i18n'
2
2
  import { openPopup } from '@operato/layout'
3
3
  import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
4
4
  import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
@@ -1,11 +1,11 @@
1
1
  import '@things-factory/barcode-ui'
2
2
  import '@things-factory/form-ui'
3
3
  import '@operato/data-grist'
4
- import { i18next, localize } from '@things-factory/i18n-base'
4
+ import { i18next, localize } from '@operato/i18n'
5
5
  import '@things-factory/import-ui'
6
6
  import { client } from '@operato/graphql'
7
- import { ScrollbarStyles } from '@things-factory/styles'
8
- import { isMobileDevice } from '@things-factory/utils'
7
+ import { ScrollbarStyles } from '@operato/styles'
8
+ import { isMobileDevice } from '@operato/utils'
9
9
  import gql from 'graphql-tag'
10
10
  import { css, html, LitElement } from 'lit'
11
11
 
@@ -5,9 +5,9 @@ import gql from 'graphql-tag'
5
5
  import { css, html, LitElement } from 'lit'
6
6
 
7
7
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
8
- import { i18next, localize } from '@things-factory/i18n-base'
8
+ import { i18next, localize } from '@operato/i18n'
9
9
  import { client } from '@operato/graphql'
10
- import { isMobileDevice } from '@things-factory/utils'
10
+ import { isMobileDevice } from '@operato/utils'
11
11
 
12
12
  class UploadDeliveryNote extends localize(i18next)(LitElement) {
13
13
  static get styles() {
@@ -1,4 +1,4 @@
1
- import { i18next, localize } from '@things-factory/i18n-base'
1
+ import { i18next, localize } from '@operato/i18n'
2
2
  import { openPopup } from '@operato/layout'
3
3
  import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
4
4
  import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
@@ -7,11 +7,11 @@ import gql from 'graphql-tag'
7
7
  import { css, html } from 'lit'
8
8
 
9
9
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
10
- import { i18next, localize } from '@things-factory/i18n-base'
10
+ import { i18next, localize } from '@operato/i18n'
11
11
  import { openPopup } from '@operato/layout'
12
12
  import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
13
13
  import { CommonButtonStyles } from '@things-factory/styles'
14
- import { isMobileDevice } from '@things-factory/utils'
14
+ import { isMobileDevice } from '@operato/utils'
15
15
 
16
16
  import { VAS_BATCH_AND_PRODUCT_TYPE, VAS_BATCH_NO_TYPE, VAS_PRODUCT_TYPE } from '../../constants'
17
17
 
@@ -3,10 +3,10 @@ import '@operato/data-grist'
3
3
  import gql from 'graphql-tag'
4
4
  import { css, html, LitElement } from 'lit'
5
5
 
6
- import { i18next, localize } from '@things-factory/i18n-base'
6
+ import { i18next, localize } from '@operato/i18n'
7
7
  import { client } from '@operato/graphql'
8
- import { ScrollbarStyles } from '@things-factory/styles'
9
- import { isMobileDevice } from '@things-factory/utils'
8
+ import { ScrollbarStyles } from '@operato/styles'
9
+ import { isMobileDevice } from '@operato/utils'
10
10
 
11
11
  class TargetProductSelectorPopup extends localize(i18next)(LitElement) {
12
12
  static get properties() {