@things-factory/operato-wms 6.0.153 → 6.1.0

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 (198) hide show
  1. package/client/pages/adjustment/transfer-inventory.js +5 -5
  2. package/client/pages/billing/claim-chit/claim-chit-detail.js +7 -7
  3. package/client/pages/billing/claim-chit/claim-chit-list.js +5 -5
  4. package/client/pages/billing/claim-chit/create-claim-chit.js +7 -7
  5. package/client/pages/billing/transport-summary-report.js +6 -6
  6. package/client/pages/bulk-operation/validate-gan-popup.js +4 -4
  7. package/client/pages/bulk-operation/validate-ro-popup.js +4 -4
  8. package/client/pages/components/partner-selector.js +5 -5
  9. package/client/pages/components/select-inventory-popup.js +5 -5
  10. package/client/pages/components/select-product-popup.js +5 -5
  11. package/client/pages/components/vas-templates/vas-relabel.js +4 -8
  12. package/client/pages/components/vas-templates/vas-repack-relabel.js +4 -8
  13. package/client/pages/components/vas-templates/vas-repack.js +4 -8
  14. package/client/pages/components/vas-templates/vas-repalletizing.js +4 -4
  15. package/client/pages/components/vas-templates/vas-unpack.js +2 -2
  16. package/client/pages/components/worksheet-information-popup.js +1 -1
  17. package/client/pages/inbound/adjust-pallet-qty.js +1 -1
  18. package/client/pages/inbound/carton-label-popup.js +1 -1
  19. package/client/pages/inbound/expiry-date-popup.js +1 -1
  20. package/client/pages/inbound/external-return-worksheet.js +5 -5
  21. package/client/pages/inbound/inbound-reusable-pallet.js +6 -6
  22. package/client/pages/inbound/inbound-worksheet.js +5 -5
  23. package/client/pages/inbound/pallet-label-popup.js +5 -5
  24. package/client/pages/inbound/palletizing-pallets-popup.js +4 -4
  25. package/client/pages/inbound/putaway-product.js +5 -5
  26. package/client/pages/inbound/putaway-same-carton-popup.js +5 -5
  27. package/client/pages/inbound/putaway-worksheet-generate-popup.js +7 -7
  28. package/client/pages/inbound/select-location-popup.js +5 -5
  29. package/client/pages/inbound/select-product-batch.js +5 -5
  30. package/client/pages/inbound/serial-number-list-popup.js +5 -5
  31. package/client/pages/inbound/undo-putaway-popup.js +5 -5
  32. package/client/pages/inbound/undo-unload-popup.js +5 -5
  33. package/client/pages/inbound/unload-product.js +6 -6
  34. package/client/pages/inbound/unloaded-inventories-popup.js +5 -5
  35. package/client/pages/inbound/vas-selector.js +5 -5
  36. package/client/pages/inbound/worksheet-putaway-return.js +6 -6
  37. package/client/pages/inbound/worksheet-putaway.js +9 -9
  38. package/client/pages/inbound/worksheet-unloading-return.js +6 -6
  39. package/client/pages/inbound/worksheet-unloading.js +9 -9
  40. package/client/pages/inventory/inventory-adjustment-approval.js +6 -6
  41. package/client/pages/inventory/inventory-adjustment.js +6 -6
  42. package/client/pages/inventory/inventory-by-product-detail.js +5 -5
  43. package/client/pages/inventory/inventory-by-product.js +5 -5
  44. package/client/pages/inventory/inventory-history-by-pallet.js +5 -5
  45. package/client/pages/inventory/inventory-history.js +5 -5
  46. package/client/pages/inventory/non-loaded-inventory.js +5 -5
  47. package/client/pages/inventory/onhand-inventory.js +5 -5
  48. package/client/pages/inventory/serial-number-list-popup.js +4 -4
  49. package/client/pages/inventory-check/check-inventory-popup.js +1 -1
  50. package/client/pages/inventory-check/create-cycle-count.js +7 -7
  51. package/client/pages/inventory-check/cycle-count-recheck-popup.js +4 -4
  52. package/client/pages/inventory-check/cycle-count-report.js +6 -6
  53. package/client/pages/inventory-check/inspecting-product.js +9 -9
  54. package/client/pages/inventory-check/inventory-check-list.js +5 -5
  55. package/client/pages/inventory-check/search-popup.js +5 -5
  56. package/client/pages/inventory-check/worksheet-cycle-count.js +6 -6
  57. package/client/pages/manifest/create-loading-manifest.js +6 -6
  58. package/client/pages/manifest/dispatcher-verification-popup.js +1 -1
  59. package/client/pages/manifest/loading-manifest-detail.js +6 -6
  60. package/client/pages/manifest/loading-manifest-list.js +5 -5
  61. package/client/pages/master/generate-location-list.js +4 -4
  62. package/client/pages/master/location-list.js +5 -5
  63. package/client/pages/master/pallet-list.js +5 -5
  64. package/client/pages/master/print-location-label.js +5 -5
  65. package/client/pages/master/product/product-detail-bizplace-setting-popup.js +5 -5
  66. package/client/pages/master/product/product-details-popup.js +5 -5
  67. package/client/pages/master/product/product-list.js +5 -5
  68. package/client/pages/master/tote-list.js +5 -5
  69. package/client/pages/master/transport-driver.js +5 -5
  70. package/client/pages/master/transport-vehicle.js +5 -5
  71. package/client/pages/master/warehouse-list.js +5 -5
  72. package/client/pages/master/worker-list.js +5 -5
  73. package/client/pages/order/arrival-notice/arrival-notice-detail.js +10 -10
  74. package/client/pages/order/arrival-notice/arrival-notice-list.js +5 -5
  75. package/client/pages/order/arrival-notice/arrival-notice-requests.js +5 -5
  76. package/client/pages/order/arrival-notice/assign-buffer-location.js +10 -10
  77. package/client/pages/order/arrival-notice/check-arrived-notice.js +10 -10
  78. package/client/pages/order/arrival-notice/create-arrival-notice.js +9 -9
  79. package/client/pages/order/arrival-notice/duplicate-arrival-notice.js +9 -9
  80. package/client/pages/order/arrival-notice/edit-product-popup.js +8 -8
  81. package/client/pages/order/arrival-notice/proceed-edit-product-popup.js +8 -8
  82. package/client/pages/order/arrival-notice/receive-arrival-notice.js +10 -10
  83. package/client/pages/order/arrival-notice/rejected-arrival-notice.js +10 -10
  84. package/client/pages/order/arrival-notice/view-product-changes-popup.js +5 -5
  85. package/client/pages/order/draft-release-good/draft-release-good-detail.js +6 -6
  86. package/client/pages/order/draft-release-good/draft-release-good-list.js +5 -5
  87. package/client/pages/order/goods-received-note/customer-grn-list.js +5 -5
  88. package/client/pages/order/goods-received-note/received-note-list.js +5 -5
  89. package/client/pages/order/release-order/b2b/b2b-order-list.js +5 -5
  90. package/client/pages/order/release-order/b2b/b2b-order-requests.js +5 -5
  91. package/client/pages/order/release-order/b2c/b2c-order-requests.js +5 -5
  92. package/client/pages/order/release-order/batch-generate-single-picking-worksheet-popup.js +6 -6
  93. package/client/pages/order/release-order/batch-picking-popup.js +8 -8
  94. package/client/pages/order/release-order/bulk-print-packing-list.js +6 -6
  95. package/client/pages/order/release-order/create-release-order.js +12 -12
  96. package/client/pages/order/release-order/receive-release-order-request.js +10 -10
  97. package/client/pages/order/release-order/rejected-release-order.js +10 -10
  98. package/client/pages/order/release-order/release-extra-product-popup.js +8 -8
  99. package/client/pages/order/release-order/release-order-detail.js +11 -11
  100. package/client/pages/order/return-order/check-return-order.js +6 -6
  101. package/client/pages/order/return-order/create-return-order.js +6 -6
  102. package/client/pages/order/return-order/receive-return-order-requests.js +6 -6
  103. package/client/pages/order/return-order/rejected-return-order.js +7 -7
  104. package/client/pages/order/return-order/return-order-assign-buffer-location.js +6 -6
  105. package/client/pages/order/return-order/return-order-detail.js +6 -6
  106. package/client/pages/order/return-order/return-order-inventory-popup.js +5 -5
  107. package/client/pages/order/return-order/return-order-list.js +5 -5
  108. package/client/pages/order/return-order/return-order-requests.js +5 -5
  109. package/client/pages/order/reverse-kitting-order/reverse-kitting-order-detail.js +6 -6
  110. package/client/pages/order/reverse-kitting-order/reverse-kitting-order-list.js +5 -5
  111. package/client/pages/order/reverse-kitting-order/reverse-kitting-pallet-label-popup.js +5 -5
  112. package/client/pages/order/transfer-order/receive-transfer-order-request.js +6 -6
  113. package/client/pages/order/transfer-order/rejected-transfer-order.js +7 -7
  114. package/client/pages/order/transfer-order/transfer-order-detail.js +6 -6
  115. package/client/pages/order/transfer-order/transfer-order-requests.js +5 -5
  116. package/client/pages/order/transport-order/contact-point-selector-popup.js +5 -5
  117. package/client/pages/order/transport-order/create-delivery-order.js +6 -6
  118. package/client/pages/order/transport-order/delivery-note-popup.js +5 -5
  119. package/client/pages/order/transport-order/delivery-order-list.js +5 -5
  120. package/client/pages/order/transport-order/transport-driver-popup.js +5 -5
  121. package/client/pages/order/transport-order/upload-delivery-note.js +5 -5
  122. package/client/pages/order/vas-order/create-vas-order.js +9 -9
  123. package/client/pages/order/vas-order/popup/target-product-selector-popup.js +8 -8
  124. package/client/pages/order/vas-order/popup/vas-create-popup.js +6 -6
  125. package/client/pages/order/vas-order/receive-vas-order.js +5 -9
  126. package/client/pages/order/vas-order/vas-order-detail.js +6 -6
  127. package/client/pages/order/vas-order/vas-order-list.js +5 -5
  128. package/client/pages/order/vas-order/vas-order-requests.js +5 -5
  129. package/client/pages/outbound/generate-worksheet-popup.js +4 -4
  130. package/client/pages/outbound/inventory-assign-popup.js +5 -5
  131. package/client/pages/outbound/inventory-auto-assign-popup.js +5 -5
  132. package/client/pages/outbound/inventory-reassign-popup.js +9 -9
  133. package/client/pages/outbound/loading-product.js +12 -12
  134. package/client/pages/outbound/logistics-init/branch-logistics-popup.js +5 -5
  135. package/client/pages/outbound/logistics-init/logistics-init-popup.js +3 -3
  136. package/client/pages/outbound/logistics-init/pickup-logistics-popup.js +8 -8
  137. package/client/pages/outbound/merged-outbound-worksheet.js +5 -5
  138. package/client/pages/outbound/order-remark-popup.js +1 -1
  139. package/client/pages/outbound/outbound-reusable-pallet.js +5 -5
  140. package/client/pages/outbound/packing-product.js +5 -5
  141. package/client/pages/outbound/packing-worksheet-list.js +5 -5
  142. package/client/pages/outbound/picking-product.js +5 -5
  143. package/client/pages/outbound/picking-replacement-popup.js +4 -4
  144. package/client/pages/outbound/return-pallet-check-popup.js +5 -5
  145. package/client/pages/outbound/route-label-popup.js +5 -5
  146. package/client/pages/outbound/select-operator-popup.js +4 -4
  147. package/client/pages/outbound/serial-number-popup.js +5 -5
  148. package/client/pages/outbound/show-ro-list-popup.js +4 -8
  149. package/client/pages/outbound/single-outbound-worksheet.js +5 -5
  150. package/client/pages/outbound/sorting-product.js +5 -5
  151. package/client/pages/outbound/tote-popup.js +5 -5
  152. package/client/pages/outbound/transport-vehicles-popup.js +5 -5
  153. package/client/pages/outbound/worksheet-batch-picking.js +9 -9
  154. package/client/pages/outbound/worksheet-loading.js +9 -9
  155. package/client/pages/outbound/worksheet-packing.js +6 -6
  156. package/client/pages/outbound/worksheet-picking.js +12 -12
  157. package/client/pages/outbound/worksheet-return.js +6 -6
  158. package/client/pages/outbound/worksheet-sorting.js +6 -6
  159. package/client/pages/report/costing-report.js +5 -5
  160. package/client/pages/report/custom-elccl/elccl-daily-collection-report.js +1 -1
  161. package/client/pages/report/custom-elccl/elccl-daily-order-inventory-report.js +5 -5
  162. package/client/pages/report/custom-elccl/elccl-delivery-order-summary.js +5 -5
  163. package/client/pages/report/custom-elccl/elccl-inventory-pallet-detail-report.js +2 -2
  164. package/client/pages/report/custom-elccl/elccl-inventory-report.js +1 -1
  165. package/client/pages/report/custom-elccl/elccl-inventory-summary-report.js +5 -5
  166. package/client/pages/report/inbound-order-details-report.js +5 -5
  167. package/client/pages/report/inbound-serial-number-report.js +5 -5
  168. package/client/pages/report/inventory-pallet-report.js +2 -2
  169. package/client/pages/report/inventory-pallet-storage-report.js +5 -5
  170. package/client/pages/report/inventory-report.js +1 -1
  171. package/client/pages/report/inventory-summary-report.js +5 -5
  172. package/client/pages/report/job-sheet-list.js +5 -5
  173. package/client/pages/report/job-sheet-popup.js +1 -1
  174. package/client/pages/report/outbound-order-details-report.js +5 -5
  175. package/client/pages/report/outbound-serial-number-report.js +5 -5
  176. package/client/pages/report/product-label-report.js +1 -1
  177. package/client/pages/report/release-inventory-report.js +5 -5
  178. package/client/pages/report/volume-summary-report.js +7 -7
  179. package/client/pages/support/inventory-comparison.js +5 -5
  180. package/client/pages/system/location-sorting-rule.js +3 -3
  181. package/client/pages/vas/abstract-execute-vas.js +5 -5
  182. package/client/pages/vas/execute-pure-vas.js +7 -7
  183. package/client/pages/vas/execute-ref-vas.js +5 -5
  184. package/client/pages/vas/print-product-label.js +5 -5
  185. package/client/pages/vas/related-vas-list.js +6 -6
  186. package/client/pages/vas/reverse-kitting/execute-reverse-kitting.js +3 -3
  187. package/client/pages/vas/reverse-kitting/popup-combination-sets.js +2 -2
  188. package/client/pages/vas/reverse-kitting/popup-reverse-kitting-template.js +2 -2
  189. package/client/pages/vas/target-inventory-assignment-popup.js +8 -8
  190. package/client/pages/vas/vas-pallet-label-popup.js +5 -5
  191. package/client/pages/vas/vas-worksheet-list.js +5 -5
  192. package/client/pages/vas/worksheet-ref-vas.js +5 -5
  193. package/client/pages/vas/worksheet-vas.js +9 -9
  194. package/client/themes/grist-theme-for-compatiblility.css +41 -0
  195. package/client/themes/grist-theme.css +198 -0
  196. package/client/themes/report-theme.css +47 -0
  197. package/dist-server/tsconfig.tsbuildinfo +1 -1
  198. package/package.json +41 -41
@@ -1,6 +1,6 @@
1
1
  import '@things-factory/barcode-ui'
2
2
  import '@things-factory/form-ui'
3
- import '@things-factory/grist-ui'
3
+ import '@operato/data-grist'
4
4
  import { i18next, localize } from '@things-factory/i18n-base'
5
5
  import '@things-factory/import-ui'
6
6
  import { client } from '@things-factory/shell'
@@ -43,7 +43,7 @@ class TransportVehiclesPopup extends localize(i18next)(LitElement) {
43
43
  display: flex;
44
44
  flex: 1;
45
45
  }
46
- data-grist {
46
+ ox-grist {
47
47
  overflow-y: hidden;
48
48
  flex: 1;
49
49
  }
@@ -93,12 +93,12 @@ class TransportVehiclesPopup extends localize(i18next)(LitElement) {
93
93
 
94
94
  <div class="grist-container">
95
95
  <div class="grist">
96
- <data-grist
96
+ <ox-grist
97
97
  id="transportVehicles"
98
98
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
99
99
  .config=${this.vehiclesConfig}
100
100
  .fetchHandler="${this.fetchHandler.bind(this)}"
101
- ></data-grist>
101
+ ></ox-grist>
102
102
  </div>
103
103
  </div>
104
104
 
@@ -188,7 +188,7 @@ class TransportVehiclesPopup extends localize(i18next)(LitElement) {
188
188
  }
189
189
 
190
190
  get transportVehiclesGrist() {
191
- return this.shadowRoot.querySelector('data-grist#transportVehicles')
191
+ return this.shadowRoot.querySelector('ox-grist#transportVehicles')
192
192
  }
193
193
 
194
194
  async fetchHandler({ page, limit, sorters = [] }) {
@@ -1,5 +1,5 @@
1
1
  import '@things-factory/barcode-ui'
2
- import '@things-factory/grist-ui'
2
+ import '@operato/data-grist'
3
3
  import './inventory-assign-popup'
4
4
  import './inventory-auto-assign-popup'
5
5
  import './select-operator-popup'
@@ -69,7 +69,7 @@ class WorksheetBatchPicking extends localize(i18next)(PageView) {
69
69
  flex-direction: column;
70
70
  overflow: auto;
71
71
  }
72
- data-grist {
72
+ ox-grist {
73
73
  overflow-y: hidden;
74
74
  flex: 1;
75
75
  }
@@ -93,7 +93,7 @@ class WorksheetBatchPicking extends localize(i18next)(PageView) {
93
93
  color: var(--grist-title-icon-color);
94
94
  }
95
95
 
96
- h2 + data-grist {
96
+ h2 + ox-grist {
97
97
  padding-top: var(--grist-title-with-grid-padding);
98
98
  }
99
99
  `
@@ -206,24 +206,24 @@ class WorksheetBatchPicking extends localize(i18next)(PageView) {
206
206
  <div class="grist-column">
207
207
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.product')}</h2>
208
208
 
209
- <data-grist
209
+ <ox-grist
210
210
  id="product-grist"
211
211
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
212
212
  .config=${this.productGristConfig}
213
213
  .data="${this.productGristData}"
214
- ></data-grist>
214
+ ></ox-grist>
215
215
  </div>
216
216
  `
217
217
  : ''}
218
218
 
219
219
  <div class="grist-column">
220
220
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.worksheet_detail')}</h2>
221
- <data-grist
221
+ <ox-grist
222
222
  id="wsd-grist"
223
223
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
224
224
  .config=${this.wsdGristConfig}
225
225
  .data="${this.worksheetDetailData}"
226
- ></data-grist>
226
+ ></ox-grist>
227
227
  </div>
228
228
  </div>
229
229
  `
@@ -452,7 +452,7 @@ class WorksheetBatchPicking extends localize(i18next)(PageView) {
452
452
  }
453
453
 
454
454
  get productGrist() {
455
- return this.shadowRoot.querySelector('data-grist#product-grist')
455
+ return this.shadowRoot.querySelector('ox-grist#product-grist')
456
456
  }
457
457
 
458
458
  get operatorInput() {
@@ -460,7 +460,7 @@ class WorksheetBatchPicking extends localize(i18next)(PageView) {
460
460
  }
461
461
 
462
462
  get wsdGrist() {
463
- return this.shadowRoot.querySelector('data-grist#wsd-grist')
463
+ return this.shadowRoot.querySelector('ox-grist#wsd-grist')
464
464
  }
465
465
 
466
466
  get undoable() {
@@ -1,8 +1,8 @@
1
1
  import '@things-factory/barcode-ui'
2
2
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
3
- import '@things-factory/grist-ui'
3
+ import '@operato/data-grist'
4
4
  import { i18next, localize } from '@things-factory/i18n-base'
5
- import { getRenderer } from '@things-factory/grist-ui'
5
+ import { getRenderer } from '@operato/data-grist'
6
6
  import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
7
7
  import { isMobileDevice } from '@things-factory/utils'
8
8
  import { CommonButtonStyles } from '@things-factory/styles'
@@ -57,7 +57,7 @@ class WorksheetLoading extends localize(i18next)(PageView) {
57
57
  flex: 1;
58
58
  overflow-y: auto;
59
59
  }
60
- data-grist {
60
+ ox-grist {
61
61
  overflow-y: hidden;
62
62
  flex: 1;
63
63
  }
@@ -81,7 +81,7 @@ class WorksheetLoading extends localize(i18next)(PageView) {
81
81
  color: var(--grist-title-icon-color);
82
82
  }
83
83
 
84
- h2 + data-grist {
84
+ h2 + ox-grist {
85
85
  padding-top: var(--grist-title-with-grid-padding);
86
86
  }
87
87
  `
@@ -153,22 +153,22 @@ class WorksheetLoading extends localize(i18next)(PageView) {
153
153
  <div class="grist">
154
154
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.inventory')}</h2>
155
155
 
156
- <data-grist
156
+ <ox-grist
157
157
  id="grist"
158
158
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
159
159
  .config=${this.config}
160
160
  .data="${this.data}"
161
- ></data-grist>
161
+ ></ox-grist>
162
162
 
163
163
  ${this.vasData?.records
164
164
  ? html`
165
165
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.vas')}</h2>
166
- <data-grist
166
+ <ox-grist
167
167
  id="vas-grist"
168
168
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
169
169
  .config=${this.vasGristConfig}
170
170
  .data="${this.vasData}"
171
- ></data-grist>
171
+ ></ox-grist>
172
172
  `
173
173
  : ''}
174
174
  </div>
@@ -360,7 +360,7 @@ class WorksheetLoading extends localize(i18next)(PageView) {
360
360
  }
361
361
 
362
362
  get grist() {
363
- return this.shadowRoot.querySelector('data-grist')
363
+ return this.shadowRoot.querySelector('ox-grist')
364
364
  }
365
365
 
366
366
  async fetchWorksheet() {
@@ -1,5 +1,5 @@
1
1
  import '@things-factory/barcode-ui'
2
- import '@things-factory/grist-ui'
2
+ import '@operato/data-grist'
3
3
  import './logistics-init/logistics-init-popup'
4
4
 
5
5
  import gql from 'graphql-tag'
@@ -62,7 +62,7 @@ class WorksheetPacking extends localize(i18next)(PageView) {
62
62
  flex-direction: column;
63
63
  overflow: auto;
64
64
  }
65
- data-grist {
65
+ ox-grist {
66
66
  overflow-y: hidden;
67
67
  flex: 1;
68
68
  }
@@ -86,7 +86,7 @@ class WorksheetPacking extends localize(i18next)(PageView) {
86
86
  color: var(--grist-title-icon-color);
87
87
  }
88
88
 
89
- h2 + data-grist {
89
+ h2 + ox-grist {
90
90
  padding-top: var(--grist-title-with-grid-padding);
91
91
  }
92
92
  `
@@ -198,12 +198,12 @@ class WorksheetPacking extends localize(i18next)(PageView) {
198
198
  <div class="grist">
199
199
  <div class="grist-column">
200
200
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.worksheet_detail')}</h2>
201
- <data-grist
201
+ <ox-grist
202
202
  id="wsd-grist"
203
203
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
204
204
  .config=${this.wsdGristConfig}
205
205
  .data="${this.worksheetDetailData}"
206
- ></data-grist>
206
+ ></ox-grist>
207
207
  </div>
208
208
  </div>
209
209
  `
@@ -301,7 +301,7 @@ class WorksheetPacking extends localize(i18next)(PageView) {
301
301
  }
302
302
 
303
303
  get wsdGrist() {
304
- return this.shadowRoot.querySelector('data-grist#wsd-grist')
304
+ return this.shadowRoot.querySelector('ox-grist#wsd-grist')
305
305
  }
306
306
 
307
307
  async fetchWorksheet() {
@@ -1,5 +1,5 @@
1
1
  import '@things-factory/barcode-ui'
2
- import '@things-factory/grist-ui'
2
+ import '@operato/data-grist'
3
3
  import './inventory-assign-popup'
4
4
  import './inventory-auto-assign-popup'
5
5
  import './select-operator-popup'
@@ -9,7 +9,7 @@ import gql from 'graphql-tag'
9
9
  import { css, html } from 'lit'
10
10
 
11
11
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
12
- import { getRenderer } from '@things-factory/grist-ui'
12
+ import { getRenderer } from '@operato/data-grist'
13
13
  import { i18next, localize } from '@things-factory/i18n-base'
14
14
  import { openPopup } from '@things-factory/layout-base'
15
15
  import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
@@ -87,7 +87,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
87
87
  flex-direction: column;
88
88
  overflow: auto;
89
89
  }
90
- data-grist {
90
+ ox-grist {
91
91
  overflow-y: hidden;
92
92
  flex: 1;
93
93
  }
@@ -111,7 +111,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
111
111
  color: var(--grist-title-icon-color);
112
112
  }
113
113
 
114
- h2 + data-grist {
114
+ h2 + ox-grist {
115
115
  padding-top: var(--grist-title-with-grid-padding);
116
116
  }
117
117
  `
@@ -264,34 +264,34 @@ class WorksheetPicking extends localize(i18next)(PageView) {
264
264
  <div class="grist-column">
265
265
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.product')}</h2>
266
266
 
267
- <data-grist
267
+ <ox-grist
268
268
  id="product-grist"
269
269
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
270
270
  .config=${this.productGristConfig}
271
271
  .data="${this.productGristData}"
272
- ></data-grist>
272
+ ></ox-grist>
273
273
  </div>
274
274
  `
275
275
  : ''}
276
276
 
277
277
  <div class="grist-column">
278
278
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.worksheet_detail')}</h2>
279
- <data-grist
279
+ <ox-grist
280
280
  id="wsd-grist"
281
281
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
282
282
  .config=${this.wsdGristConfig}
283
283
  .data="${this.worksheetDetailData}"
284
- ></data-grist>
284
+ ></ox-grist>
285
285
 
286
286
  ${this.vasData?.records
287
287
  ? html`
288
288
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.vas')}</h2>
289
- <data-grist
289
+ <ox-grist
290
290
  id="vas-grist"
291
291
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
292
292
  .config=${this.vasGristConfig}
293
293
  .data="${this.vasData}"
294
- ></data-grist>
294
+ ></ox-grist>
295
295
  `
296
296
  : ''}
297
297
  </div>
@@ -616,11 +616,11 @@ class WorksheetPicking extends localize(i18next)(PageView) {
616
616
  }
617
617
 
618
618
  get productGrist() {
619
- return this.shadowRoot.querySelector('data-grist#product-grist')
619
+ return this.shadowRoot.querySelector('ox-grist#product-grist')
620
620
  }
621
621
 
622
622
  get wsdGrist() {
623
- return this.shadowRoot.querySelector('data-grist#wsd-grist')
623
+ return this.shadowRoot.querySelector('ox-grist#wsd-grist')
624
624
  }
625
625
 
626
626
  get operatorInput() {
@@ -1,6 +1,6 @@
1
1
  import '@things-factory/barcode-ui'
2
2
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
3
- import '@things-factory/grist-ui'
3
+ import '@operato/data-grist'
4
4
  import { i18next, localize } from '@things-factory/i18n-base'
5
5
  import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
6
6
  import { CommonButtonStyles } from '@things-factory/styles'
@@ -47,7 +47,7 @@ class WorksheetReturn extends localize(i18next)(PageView) {
47
47
  flex: 1;
48
48
  overflow-y: auto;
49
49
  }
50
- data-grist {
50
+ ox-grist {
51
51
  overflow-y: hidden;
52
52
  flex: 1;
53
53
  }
@@ -71,7 +71,7 @@ class WorksheetReturn extends localize(i18next)(PageView) {
71
71
  color: var(--grist-title-icon-color);
72
72
  }
73
73
 
74
- h2 + data-grist {
74
+ h2 + ox-grist {
75
75
  padding-top: var(--grist-title-with-grid-padding);
76
76
  }
77
77
  `
@@ -135,12 +135,12 @@ class WorksheetReturn extends localize(i18next)(PageView) {
135
135
  <div class="grist">
136
136
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.product')}</h2>
137
137
 
138
- <data-grist
138
+ <ox-grist
139
139
  id="grist"
140
140
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
141
141
  .config=${this.config}
142
142
  .data="${this.data}"
143
- ></data-grist>
143
+ ></ox-grist>
144
144
  </div>
145
145
  `
146
146
  }
@@ -226,7 +226,7 @@ class WorksheetReturn extends localize(i18next)(PageView) {
226
226
  }
227
227
 
228
228
  get grist() {
229
- return this.shadowRoot.querySelector('data-grist')
229
+ return this.shadowRoot.querySelector('ox-grist')
230
230
  }
231
231
 
232
232
  async fetchWorksheet() {
@@ -1,6 +1,6 @@
1
1
  import '@things-factory/barcode-ui'
2
2
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
3
- import '@things-factory/grist-ui'
3
+ import '@operato/data-grist'
4
4
  import { i18next, localize } from '@things-factory/i18n-base'
5
5
  import { client, PageView } from '@things-factory/shell'
6
6
  import { CommonButtonStyles } from '@things-factory/styles'
@@ -47,7 +47,7 @@ class WorksheetSorting extends localize(i18next)(PageView) {
47
47
  flex: 1;
48
48
  overflow-y: auto;
49
49
  }
50
- data-grist {
50
+ ox-grist {
51
51
  overflow-y: hidden;
52
52
  flex: 1;
53
53
  }
@@ -71,7 +71,7 @@ class WorksheetSorting extends localize(i18next)(PageView) {
71
71
  color: var(--grist-title-icon-color);
72
72
  }
73
73
 
74
- h2 + data-grist {
74
+ h2 + ox-grist {
75
75
  padding-top: var(--grist-title-with-grid-padding);
76
76
  }
77
77
  `
@@ -131,12 +131,12 @@ class WorksheetSorting extends localize(i18next)(PageView) {
131
131
  <div class="grist">
132
132
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.inventory')}</h2>
133
133
 
134
- <data-grist
134
+ <ox-grist
135
135
  id="grist"
136
136
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
137
137
  .config=${this.config}
138
138
  .data="${this.data}"
139
- ></data-grist>
139
+ ></ox-grist>
140
140
  </div>
141
141
  `
142
142
  }
@@ -228,7 +228,7 @@ class WorksheetSorting extends localize(i18next)(PageView) {
228
228
  }
229
229
 
230
230
  get grist() {
231
- return this.shadowRoot.querySelector('data-grist')
231
+ return this.shadowRoot.querySelector('ox-grist')
232
232
  }
233
233
 
234
234
  async fetchWorksheet() {
@@ -1,5 +1,5 @@
1
1
  import '@things-factory/form-ui'
2
- import '@things-factory/grist-ui'
2
+ import '@operato/data-grist'
3
3
  import '../inventory/inventory-by-product-detail'
4
4
 
5
5
  import gql from 'graphql-tag'
@@ -20,7 +20,7 @@ class CostingReport extends connect(store)(localize(i18next)(PageView)) {
20
20
  width: 100%;
21
21
  }
22
22
 
23
- data-grist {
23
+ ox-grist {
24
24
  overflow-y: auto;
25
25
  flex: 1;
26
26
  }
@@ -63,7 +63,7 @@ class CostingReport extends connect(store)(localize(i18next)(PageView)) {
63
63
  }
64
64
 
65
65
  get dataGrist() {
66
- return this.shadowRoot.querySelector('data-grist')
66
+ return this.shadowRoot.querySelector('ox-grist')
67
67
  }
68
68
 
69
69
  get searchForm() {
@@ -234,11 +234,11 @@ class CostingReport extends connect(store)(localize(i18next)(PageView)) {
234
234
  return html`
235
235
  <search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
236
236
 
237
- <data-grist
237
+ <ox-grist
238
238
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
239
239
  .config=${this._config}
240
240
  .fetchHandler="${this.fetchHandler.bind(this)}"
241
- ></data-grist>
241
+ ></ox-grist>
242
242
  `
243
243
  }
244
244
 
@@ -1,5 +1,5 @@
1
1
  import '@things-factory/form-ui'
2
- import '@things-factory/grist-ui'
2
+ import '@operato/data-grist'
3
3
 
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
@@ -1,5 +1,5 @@
1
1
  import '@things-factory/form-ui'
2
- import '@things-factory/grist-ui'
2
+ import '@operato/data-grist'
3
3
 
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
@@ -18,7 +18,7 @@ class ElcclDailyOrderInventoryReport extends connect(store)(localize(i18next)(Pa
18
18
  width: 100%;
19
19
  }
20
20
 
21
- data-grist {
21
+ ox-grist {
22
22
  overflow-y: auto;
23
23
  flex: 1;
24
24
  }
@@ -45,7 +45,7 @@ class ElcclDailyOrderInventoryReport extends connect(store)(localize(i18next)(Pa
45
45
  }
46
46
 
47
47
  get dataGrist() {
48
- return this.shadowRoot.querySelector('data-grist')
48
+ return this.shadowRoot.querySelector('ox-grist')
49
49
  }
50
50
 
51
51
  get searchForm() {
@@ -64,11 +64,11 @@ class ElcclDailyOrderInventoryReport extends connect(store)(localize(i18next)(Pa
64
64
  return html`
65
65
  <search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
66
66
 
67
- <data-grist
67
+ <ox-grist
68
68
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
69
69
  .config=${this._config}
70
70
  .fetchHandler="${this.fetchHandler.bind(this)}"
71
- ></data-grist>
71
+ ></ox-grist>
72
72
  `
73
73
  }
74
74
 
@@ -1,5 +1,5 @@
1
1
  import '@things-factory/form-ui'
2
- import '@things-factory/grist-ui'
2
+ import '@operato/data-grist'
3
3
 
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
@@ -18,7 +18,7 @@ class ElcclDeliveryOrderSummary extends connect(store)(localize(i18next)(PageVie
18
18
  width: 100%;
19
19
  }
20
20
 
21
- data-grist {
21
+ ox-grist {
22
22
  overflow-y: auto;
23
23
  flex: 1;
24
24
  }
@@ -45,7 +45,7 @@ class ElcclDeliveryOrderSummary extends connect(store)(localize(i18next)(PageVie
45
45
  }
46
46
 
47
47
  get dataGrist() {
48
- return this.shadowRoot.querySelector('data-grist')
48
+ return this.shadowRoot.querySelector('ox-grist')
49
49
  }
50
50
 
51
51
  get searchForm() {
@@ -68,11 +68,11 @@ class ElcclDeliveryOrderSummary extends connect(store)(localize(i18next)(PageVie
68
68
  return html`
69
69
  <search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
70
70
 
71
- <data-grist
71
+ <ox-grist
72
72
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
73
73
  .config=${this._config}
74
74
  .fetchHandler="${this.fetchHandler.bind(this)}"
75
- ></data-grist>
75
+ ></ox-grist>
76
76
  `
77
77
  }
78
78
 
@@ -1,5 +1,5 @@
1
1
  import '@things-factory/form-ui'
2
- import '@things-factory/grist-ui'
2
+ import '@operato/data-grist'
3
3
 
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
@@ -74,7 +74,7 @@ class ElcclInventoryPalletDetailReport extends connect(store)(localize(i18next)(
74
74
  <data-report
75
75
  .config=${this._config}
76
76
  .fetchHandler="${this.fetchHandler.bind(this)}"
77
- ></data-grist>
77
+ ></ox-grist>
78
78
  `
79
79
  }
80
80
 
@@ -1,5 +1,5 @@
1
1
  import '@things-factory/form-ui'
2
- import '@things-factory/grist-ui'
2
+ import '@operato/data-grist'
3
3
 
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
@@ -1,5 +1,5 @@
1
1
  import '@things-factory/form-ui'
2
- import '@things-factory/grist-ui'
2
+ import '@operato/data-grist'
3
3
 
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
@@ -18,7 +18,7 @@ class ElcclInventorySummaryReport extends connect(store)(localize(i18next)(PageV
18
18
  width: 100%;
19
19
  }
20
20
 
21
- data-grist {
21
+ ox-grist {
22
22
  overflow-y: auto;
23
23
  flex: 1;
24
24
  }
@@ -45,7 +45,7 @@ class ElcclInventorySummaryReport extends connect(store)(localize(i18next)(PageV
45
45
  }
46
46
 
47
47
  get dataGrist() {
48
- return this.shadowRoot.querySelector('data-grist')
48
+ return this.shadowRoot.querySelector('ox-grist')
49
49
  }
50
50
 
51
51
  get searchForm() {
@@ -68,11 +68,11 @@ class ElcclInventorySummaryReport extends connect(store)(localize(i18next)(PageV
68
68
  return html`
69
69
  <search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
70
70
 
71
- <data-grist
71
+ <ox-grist
72
72
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
73
73
  .config=${this._config}
74
74
  .fetchHandler="${this.fetchHandler.bind(this)}"
75
- ></data-grist>
75
+ ></ox-grist>
76
76
  `
77
77
  }
78
78
 
@@ -1,5 +1,5 @@
1
1
  import '@things-factory/form-ui'
2
- import '@things-factory/grist-ui'
2
+ import '@operato/data-grist'
3
3
  import '../inventory/inventory-by-product-detail'
4
4
 
5
5
  import gql from 'graphql-tag'
@@ -19,7 +19,7 @@ class InboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVie
19
19
  width: 100%;
20
20
  }
21
21
 
22
- data-grist {
22
+ ox-grist {
23
23
  overflow-y: auto;
24
24
  flex: 1;
25
25
  }
@@ -62,7 +62,7 @@ class InboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVie
62
62
  }
63
63
 
64
64
  get dataGrist() {
65
- return this.shadowRoot.querySelector('data-grist')
65
+ return this.shadowRoot.querySelector('ox-grist')
66
66
  }
67
67
 
68
68
  get searchForm() {
@@ -85,11 +85,11 @@ class InboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVie
85
85
  return html`
86
86
  <search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
87
87
 
88
- <data-grist
88
+ <ox-grist
89
89
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
90
90
  .config=${this._config}
91
91
  .fetchHandler="${this.fetchHandler.bind(this)}"
92
- ></data-grist>
92
+ ></ox-grist>
93
93
  `
94
94
  }
95
95
 
@@ -1,5 +1,5 @@
1
1
  import '@things-factory/form-ui'
2
- import '@things-factory/grist-ui'
2
+ import '@operato/data-grist'
3
3
  import '../inventory/inventory-by-product-detail'
4
4
 
5
5
  import gql from 'graphql-tag'
@@ -19,7 +19,7 @@ class InboundSerialNumberReport extends connect(store)(localize(i18next)(PageVie
19
19
  width: 100%;
20
20
  }
21
21
 
22
- data-grist {
22
+ ox-grist {
23
23
  overflow-y: auto;
24
24
  flex: 1;
25
25
  }
@@ -66,7 +66,7 @@ class InboundSerialNumberReport extends connect(store)(localize(i18next)(PageVie
66
66
  }
67
67
 
68
68
  get dataGrist() {
69
- return this.shadowRoot.querySelector('data-grist')
69
+ return this.shadowRoot.querySelector('ox-grist')
70
70
  }
71
71
 
72
72
  get searchForm() {
@@ -89,11 +89,11 @@ class InboundSerialNumberReport extends connect(store)(localize(i18next)(PageVie
89
89
  return html`
90
90
  <search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
91
91
 
92
- <data-grist
92
+ <ox-grist
93
93
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
94
94
  .config=${this._config}
95
95
  .fetchHandler="${this.fetchHandler.bind(this)}"
96
- ></data-grist>
96
+ ></ox-grist>
97
97
  `
98
98
  }
99
99