@things-factory/operato-wms 7.0.1-alpha.1 → 7.0.1-alpha.100

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 (233) hide show
  1. package/_index.html +6 -2
  2. package/client/apptools/dashboard-tool.js +1 -1
  3. package/client/bootstrap.js +18 -9
  4. package/client/fetch-board-settings.js +1 -1
  5. package/client/fetch-location-sorting-rule.js +1 -1
  6. package/client/fetch-setting-value.js +1 -1
  7. package/client/pages/adjustment/transfer-inventory.js +3 -3
  8. package/client/pages/billing/claim-chit/claim-chit-detail.js +3 -3
  9. package/client/pages/billing/claim-chit/claim-chit-list.js +6 -6
  10. package/client/pages/billing/claim-chit/create-claim-chit.js +3 -3
  11. package/client/pages/billing/transport-summary-report.js +2 -2
  12. package/client/pages/bulk-operation/bulk-operation.js +3 -3
  13. package/client/pages/bulk-operation/validate-gan-popup.js +2 -2
  14. package/client/pages/bulk-operation/validate-ro-popup.js +3 -3
  15. package/client/pages/components/attachment-viewer.js +2 -2
  16. package/client/pages/components/image-viewer.js +2 -2
  17. package/client/pages/components/partner-selector.js +11 -12
  18. package/client/pages/components/popup-note.js +2 -2
  19. package/client/pages/components/popup-reusable-pallet.js +3 -3
  20. package/client/pages/components/select-inventory-popup.js +4 -4
  21. package/client/pages/components/select-product-popup.js +4 -4
  22. package/client/pages/components/vas-templates/vas-pallet-add-popup.js +3 -3
  23. package/client/pages/components/vas-templates/vas-relabel.js +2 -2
  24. package/client/pages/components/vas-templates/vas-repack-relabel.js +2 -2
  25. package/client/pages/components/vas-templates/vas-repack.js +2 -2
  26. package/client/pages/components/vas-templates/vas-repalletizing.js +2 -2
  27. package/client/pages/components/vas-templates/vas-template.js +1 -1
  28. package/client/pages/components/vas-templates/vas-unpack.js +2 -2
  29. package/client/pages/components/worksheet-information-popup.js +3 -3
  30. package/client/pages/constants/picking-strategy.js +1 -1
  31. package/client/pages/constants/vas-target-type.js +1 -1
  32. package/client/pages/constants/vas-template.js +1 -1
  33. package/client/pages/constants/worksheet.js +1 -1
  34. package/client/pages/inbound/adjust-pallet-qty.js +3 -3
  35. package/client/pages/inbound/carton-label-popup.js +9 -14
  36. package/client/pages/inbound/expiry-date-popup.js +2 -2
  37. package/client/pages/inbound/external-return-worksheet.js +3 -3
  38. package/client/pages/inbound/inbound-reusable-pallet.js +3 -3
  39. package/client/pages/inbound/inbound-worksheet.js +3 -3
  40. package/client/pages/inbound/pallet-label-popup.js +10 -12
  41. package/client/pages/inbound/palletizing-pallets-popup.js +3 -3
  42. package/client/pages/inbound/putaway-product.js +8 -9
  43. package/client/pages/inbound/putaway-same-carton-popup.js +2 -2
  44. package/client/pages/inbound/putaway-worksheet-generate-popup.js +4 -4
  45. package/client/pages/inbound/select-location-popup.js +5 -5
  46. package/client/pages/inbound/select-product-batch.js +4 -4
  47. package/client/pages/inbound/serial-number-list-popup.js +4 -4
  48. package/client/pages/inbound/undo-putaway-popup.js +2 -2
  49. package/client/pages/inbound/undo-unload-popup.js +2 -2
  50. package/client/pages/inbound/unload-product.js +3 -3
  51. package/client/pages/inbound/unloaded-inventories-popup.js +5 -5
  52. package/client/pages/inbound/vas-selector.js +4 -4
  53. package/client/pages/inbound/worksheet-putaway-return.js +3 -3
  54. package/client/pages/inbound/worksheet-putaway.js +3 -3
  55. package/client/pages/inbound/worksheet-unloading-return.js +3 -3
  56. package/client/pages/inbound/worksheet-unloading.js +2 -2
  57. package/client/pages/inventory/inventory-adjustment-approval.js +3 -3
  58. package/client/pages/inventory/inventory-adjustment.js +2 -2
  59. package/client/pages/inventory/inventory-by-product-detail.js +4 -4
  60. package/client/pages/inventory/inventory-by-product.js +3 -3
  61. package/client/pages/inventory/inventory-history-by-pallet.js +4 -4
  62. package/client/pages/inventory/inventory-history.js +3 -3
  63. package/client/pages/inventory/non-loaded-inventory.js +3 -3
  64. package/client/pages/inventory/onhand-inventory.js +2 -2
  65. package/client/pages/inventory/serial-number-list-popup.js +7 -7
  66. package/client/pages/inventory-check/check-inventory-popup.js +4 -4
  67. package/client/pages/inventory-check/create-cycle-count.js +2 -2
  68. package/client/pages/inventory-check/cycle-count-recheck-popup.js +4 -4
  69. package/client/pages/inventory-check/cycle-count-report.js +3 -3
  70. package/client/pages/inventory-check/inspecting-product.js +3 -3
  71. package/client/pages/inventory-check/inventory-check-list.js +3 -3
  72. package/client/pages/inventory-check/search-popup.js +5 -5
  73. package/client/pages/inventory-check/worksheet-cycle-count.js +3 -3
  74. package/client/pages/manifest/create-loading-manifest.js +3 -3
  75. package/client/pages/manifest/dispatcher-verification-popup.js +2 -2
  76. package/client/pages/manifest/loading-manifest-detail.js +3 -3
  77. package/client/pages/manifest/loading-manifest-list.js +3 -3
  78. package/client/pages/master/generate-location-list.js +9 -10
  79. package/client/pages/master/location-list.js +2 -2
  80. package/client/pages/master/pallet-list.js +2 -2
  81. package/client/pages/master/print-location-label.js +7 -7
  82. package/client/pages/master/product/product-detail-bizplace-setting-popup.js +2 -2
  83. package/client/pages/master/product/product-details-popup.js +3 -3
  84. package/client/pages/master/product/product-list.js +2 -2
  85. package/client/pages/master/tote-list.js +2 -2
  86. package/client/pages/master/transport-driver.js +2 -2
  87. package/client/pages/master/transport-vehicle.js +2 -2
  88. package/client/pages/master/warehouse-list.js +2 -2
  89. package/client/pages/master/worker-list.js +2 -2
  90. package/client/pages/order/arrival-notice/arrival-notice-detail.js +13 -17
  91. package/client/pages/order/arrival-notice/arrival-notice-list.js +3 -3
  92. package/client/pages/order/arrival-notice/arrival-notice-requests.js +3 -3
  93. package/client/pages/order/arrival-notice/assign-buffer-location.js +10 -11
  94. package/client/pages/order/arrival-notice/check-arrived-notice.js +10 -11
  95. package/client/pages/order/arrival-notice/create-arrival-notice.js +6 -7
  96. package/client/pages/order/arrival-notice/duplicate-arrival-notice.js +11 -12
  97. package/client/pages/order/arrival-notice/edit-product-popup.js +3 -3
  98. package/client/pages/order/arrival-notice/proceed-edit-product-popup.js +3 -3
  99. package/client/pages/order/arrival-notice/receive-arrival-notice.js +10 -11
  100. package/client/pages/order/arrival-notice/rejected-arrival-notice.js +10 -11
  101. package/client/pages/order/arrival-notice/view-product-changes-popup.js +3 -3
  102. package/client/pages/order/draft-release-good/draft-release-good-detail.js +4 -4
  103. package/client/pages/order/draft-release-good/draft-release-good-list.js +2 -2
  104. package/client/pages/order/goods-received-note/customer-grn-list.js +3 -3
  105. package/client/pages/order/goods-received-note/customer-received-note.js +1 -1
  106. package/client/pages/order/goods-received-note/received-note-detail.js +1 -1
  107. package/client/pages/order/goods-received-note/received-note-list.js +3 -3
  108. package/client/pages/order/release-order/b2b/b2b-order-list.js +1 -1
  109. package/client/pages/order/release-order/b2b/b2b-order-requests.js +2 -2
  110. package/client/pages/order/release-order/b2c/b2c-order-requests.js +1 -1
  111. package/client/pages/order/release-order/batch-generate-single-picking-worksheet-popup.js +3 -3
  112. package/client/pages/order/release-order/batch-picking-popup.js +3 -3
  113. package/client/pages/order/release-order/bulk-print-packing-list.js +3 -3
  114. package/client/pages/order/release-order/create-release-order.js +9 -10
  115. package/client/pages/order/release-order/receive-release-order-request.js +10 -11
  116. package/client/pages/order/release-order/rejected-release-order.js +10 -11
  117. package/client/pages/order/release-order/release-extra-product-popup.js +3 -3
  118. package/client/pages/order/release-order/release-order-detail.js +28 -30
  119. package/client/pages/order/return-order/check-return-order.js +10 -11
  120. package/client/pages/order/return-order/create-return-order.js +3 -3
  121. package/client/pages/order/return-order/receive-return-order-requests.js +10 -11
  122. package/client/pages/order/return-order/rejected-return-order.js +10 -11
  123. package/client/pages/order/return-order/return-order-assign-buffer-location.js +10 -11
  124. package/client/pages/order/return-order/return-order-detail.js +10 -11
  125. package/client/pages/order/return-order/return-order-inventory-popup.js +3 -3
  126. package/client/pages/order/return-order/return-order-list.js +3 -3
  127. package/client/pages/order/return-order/return-order-requests.js +3 -3
  128. package/client/pages/order/reverse-kitting-order/reverse-kitting-order-detail.js +3 -3
  129. package/client/pages/order/reverse-kitting-order/reverse-kitting-order-list.js +2 -2
  130. package/client/pages/order/reverse-kitting-order/reverse-kitting-pallet-label-popup.js +8 -5
  131. package/client/pages/order/transfer-order/receive-transfer-order-request.js +2 -2
  132. package/client/pages/order/transfer-order/rejected-transfer-order.js +3 -3
  133. package/client/pages/order/transfer-order/transfer-order-detail.js +3 -3
  134. package/client/pages/order/transfer-order/transfer-order-requests.js +3 -3
  135. package/client/pages/order/transport-order/contact-point-selector-popup.js +4 -4
  136. package/client/pages/order/transport-order/create-delivery-order.js +3 -3
  137. package/client/pages/order/transport-order/delivery-note-popup.js +10 -9
  138. package/client/pages/order/transport-order/delivery-order-list.js +3 -3
  139. package/client/pages/order/transport-order/print-delivery-note.js +1 -1
  140. package/client/pages/order/transport-order/transport-driver-popup.js +4 -4
  141. package/client/pages/order/transport-order/upload-delivery-note.js +4 -4
  142. package/client/pages/order/transport-order/view-delivery-note.js +1 -1
  143. package/client/pages/order/vas-order/create-vas-order.js +3 -3
  144. package/client/pages/order/vas-order/popup/target-product-selector-popup.js +5 -5
  145. package/client/pages/order/vas-order/popup/vas-create-batch-product-type-form.js +17 -19
  146. package/client/pages/order/vas-order/popup/vas-create-batch-type-form.js +4 -5
  147. package/client/pages/order/vas-order/popup/vas-create-etc-type-form.js +1 -1
  148. package/client/pages/order/vas-order/popup/vas-create-popup.js +36 -36
  149. package/client/pages/order/vas-order/popup/vas-create-product-type-form.js +6 -7
  150. package/client/pages/order/vas-order/receive-vas-order.js +3 -3
  151. package/client/pages/order/vas-order/vas-order-detail.js +3 -3
  152. package/client/pages/order/vas-order/vas-order-list.js +3 -3
  153. package/client/pages/order/vas-order/vas-order-requests.js +3 -3
  154. package/client/pages/outbound/generate-worksheet-popup.js +3 -3
  155. package/client/pages/outbound/inventory-assign-popup.js +5 -5
  156. package/client/pages/outbound/inventory-auto-assign-popup.js +4 -4
  157. package/client/pages/outbound/inventory-reassign-popup.js +3 -3
  158. package/client/pages/outbound/loading-product.js +3 -3
  159. package/client/pages/outbound/logistics-init/branch-logistics-popup.js +4 -4
  160. package/client/pages/outbound/logistics-init/logistics-init-popup.js +3 -3
  161. package/client/pages/outbound/logistics-init/pickup-logistics-popup.js +4 -4
  162. package/client/pages/outbound/merged-outbound-worksheet.js +2 -2
  163. package/client/pages/outbound/order-remark-popup.js +3 -3
  164. package/client/pages/outbound/outbound-reusable-pallet.js +3 -3
  165. package/client/pages/outbound/packing-product.js +7 -7
  166. package/client/pages/outbound/packing-worksheet-list.js +2 -2
  167. package/client/pages/outbound/picking-product.js +16 -18
  168. package/client/pages/outbound/picking-replacement-popup.js +5 -5
  169. package/client/pages/outbound/return-pallet-check-popup.js +4 -4
  170. package/client/pages/outbound/route-label-popup.js +4 -4
  171. package/client/pages/outbound/select-operator-popup.js +3 -3
  172. package/client/pages/outbound/serial-number-popup.js +5 -5
  173. package/client/pages/outbound/show-my-worksheet-list-popup.js +2 -2
  174. package/client/pages/outbound/show-ro-list-popup.js +3 -3
  175. package/client/pages/outbound/single-outbound-worksheet.js +2 -2
  176. package/client/pages/outbound/sorting-product.js +2 -2
  177. package/client/pages/outbound/tote-popup.js +4 -4
  178. package/client/pages/outbound/transport-vehicles-popup.js +4 -4
  179. package/client/pages/outbound/worksheet-batch-picking.js +3 -3
  180. package/client/pages/outbound/worksheet-loading.js +3 -3
  181. package/client/pages/outbound/worksheet-packing.js +3 -3
  182. package/client/pages/outbound/worksheet-picking.js +3 -3
  183. package/client/pages/outbound/worksheet-return.js +3 -3
  184. package/client/pages/outbound/worksheet-sorting.js +3 -3
  185. package/client/pages/report/costing-report.js +2 -2
  186. package/client/pages/report/custom-elccl/elccl-daily-collection-report.js +1 -1
  187. package/client/pages/report/custom-elccl/elccl-daily-order-inventory-report.js +1 -1
  188. package/client/pages/report/custom-elccl/elccl-delivery-order-summary.js +7 -7
  189. package/client/pages/report/custom-elccl/elccl-inventory-pallet-detail-report.js +1 -1
  190. package/client/pages/report/custom-elccl/elccl-inventory-report.js +1 -1
  191. package/client/pages/report/custom-elccl/elccl-inventory-summary-report.js +1 -1
  192. package/client/pages/report/inbound-order-details-report.js +2 -2
  193. package/client/pages/report/inbound-serial-number-report.js +2 -2
  194. package/client/pages/report/inventory-pallet-report.js +1 -1
  195. package/client/pages/report/inventory-pallet-storage-report.js +2 -2
  196. package/client/pages/report/inventory-report.js +1 -1
  197. package/client/pages/report/inventory-summary-report.js +2 -2
  198. package/client/pages/report/job-sheet-list.js +2 -2
  199. package/client/pages/report/job-sheet-popup.js +3 -3
  200. package/client/pages/report/job-sheet-report.js +1 -1
  201. package/client/pages/report/outbound-order-details-report.js +2 -2
  202. package/client/pages/report/outbound-serial-number-report.js +2 -2
  203. package/client/pages/report/product-label-report.js +1 -1
  204. package/client/pages/report/release-inventory-report.js +1 -1
  205. package/client/pages/report/volume-summary-report.js +2 -2
  206. package/client/pages/support/inventory-comparison.js +3 -3
  207. package/client/pages/system/location-sorting-rule.js +3 -3
  208. package/client/pages/vas/abstract-execute-vas.js +2 -2
  209. package/client/pages/vas/execute-pure-vas.js +2 -2
  210. package/client/pages/vas/execute-ref-vas.js +3 -3
  211. package/client/pages/vas/execute-vas.js +2 -2
  212. package/client/pages/vas/print-product-label.js +2 -2
  213. package/client/pages/vas/related-vas-list.js +4 -4
  214. package/client/pages/vas/reverse-kitting/execute-reverse-kitting.js +3 -3
  215. package/client/pages/vas/reverse-kitting/popup-combination-sets.js +4 -4
  216. package/client/pages/vas/reverse-kitting/popup-reverse-kitting-template.js +3 -3
  217. package/client/pages/vas/target-inventory-assignment-popup.js +4 -4
  218. package/client/pages/vas/vas-pallet-label-popup.js +4 -4
  219. package/client/pages/vas/vas-worksheet-list.js +7 -7
  220. package/client/pages/vas/worksheet-ref-vas.js +8 -8
  221. package/client/pages/vas/worksheet-vas.js +3 -3
  222. package/client/route.js +1 -1
  223. package/client/themes/app-theme.css +15 -5
  224. package/client/themes/auth-theme.css +1 -1
  225. package/client/themes/grist-theme.css +7 -5
  226. package/client/themes/layout-theme.css +2 -2
  227. package/client/themes/report-theme.css +1 -1
  228. package/config/config.development.js +0 -1
  229. package/config/config.production.js +2 -2
  230. package/dist-server/tsconfig.tsbuildinfo +1 -1
  231. package/package.json +39 -39
  232. package/views/auth-page.html +3 -2
  233. package/views/public/home.html +4 -2
package/_index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="utf-8" />
@@ -52,6 +52,10 @@
52
52
  <!-- Performance tip: hint to the browser to start the handshake for the fonts site -->
53
53
  <link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin />
54
54
  <link href="/node_modules/@material-design-icons/font/index.css" rel="stylesheet" />
55
+ <link href="/node_modules/material-symbols/index.css" rel="stylesheet" />
56
+ <link href="/node_modules/@fontsource/roboto/index.css" rel="stylesheet" />
57
+ <link rel="stylesheet" href="/theme.css" />
58
+
55
59
  <style>
56
60
  body {
57
61
  margin: 0;
@@ -89,7 +93,7 @@
89
93
  }
90
94
  </script>
91
95
  </head>
92
- <body>
96
+ <body class="light">
93
97
  <things-app></things-app>
94
98
  <noscript> Please enable JavaScript to view this website. </noscript>
95
99
  <!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
@@ -3,7 +3,7 @@ import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
 
4
4
  import '@material/mwc-icon'
5
5
 
6
- import { navigate, store } from '@things-factory/shell'
6
+ import { navigate, store } from '@operato/shell'
7
7
 
8
8
  export class DashboardTool extends connect(store)(LitElement) {
9
9
  static get properties() {
@@ -1,5 +1,6 @@
1
1
  import '@things-factory/barcode-base'
2
2
  import '@things-factory/notification'
3
+ import '@things-factory/setting-ui/dist-client' /* theme-mode-setting-let */
3
4
  import '@things-factory/system'
4
5
  import '@operato/i18n/ox-i18n.js'
5
6
 
@@ -7,21 +8,21 @@ import gql from 'graphql-tag'
7
8
  import { html } from 'lit'
8
9
 
9
10
  import { setupMenuPart } from '@things-factory/meta-ui'
10
- import { ADD_MORENDA } from '@things-factory/more-base'
11
+ import { ADD_MORENDA } from '@things-factory/more-base/client'
11
12
  import { registerDefaultGroups } from '@operato/board/register-default-groups.js'
12
- import { APPEND_APP_TOOL } from '@things-factory/apptool-base'
13
- import { setupAppToolPart } from '@things-factory/apptool-ui'
13
+ import { APPEND_APP_TOOL } from '@things-factory/apptool-base/client'
14
+ import { setupAppToolPart } from '@things-factory/apptool-ui/dist-client'
14
15
  import { auth } from '@things-factory/auth-base/dist-client'
15
- import { setAuthManagementMenus } from '@things-factory/auth-ui'
16
- import { setupContextUIPart } from '@things-factory/context-ui'
17
- import { i18next } from '@things-factory/i18n-base'
16
+ import { setAuthManagementMenus } from '@things-factory/auth-ui/dist-client'
17
+ import { setupContextUIPart } from '@things-factory/context-ui/dist-client'
18
+ import { i18next } from '@operato/i18n'
18
19
  import { appendViewpart, openPopup, toggleOverlay, TOOL_POSITION, VIEWPART_POSITION } from '@operato/layout'
19
20
  import { updateMenuProvider } from '@things-factory/menu-base'
20
21
  import { USE_ROLE_BY_MENUS_MANAGEMENT } from '@things-factory/menu-base/client/actions/menu'
21
22
  import { ADD_REFRESH_HANDLER, ADD_SETTING } from '@things-factory/setting-base'
22
23
  import { client, store, UPDATE_BASE_URL } from '@things-factory/shell'
23
24
  import { ReleaseNoteNotice } from '@things-factory/system/client/viewparts/release-note-notice'
24
- import { isMobileDevice } from '@things-factory/utils'
25
+ import { isMobileDevice } from '@operato/utils'
25
26
 
26
27
  import { UPDATE_DASHBOARD_SETTINGS } from './actions/dashboard-settings'
27
28
  import { fetchBoardSettings } from './fetch-board-settings'
@@ -77,6 +78,14 @@ export default async function bootstrap() {
77
78
  }
78
79
  })
79
80
 
81
+ store.dispatch({
82
+ type: ADD_SETTING,
83
+ setting: {
84
+ seq: 10,
85
+ template: html` <theme-mode-setting-let></theme-mode-setting-let> `
86
+ }
87
+ })
88
+
80
89
  store.dispatch({
81
90
  type: ADD_SETTING,
82
91
  setting: {
@@ -99,7 +108,7 @@ export default async function bootstrap() {
99
108
  store.dispatch({
100
109
  type: ADD_MORENDA,
101
110
  morenda: {
102
- icon: html` <mwc-icon>settings</mwc-icon> `,
111
+ icon: html` <md-icon>settings</md-icon> `,
103
112
  name: html` <ox-i18n msgid="label.setting"></ox-i18n> `,
104
113
  action: () => {
105
114
  navigate('setting')
@@ -126,7 +135,7 @@ export default async function bootstrap() {
126
135
  store.dispatch({
127
136
  type: ADD_MORENDA,
128
137
  morenda: {
129
- icon: html`<mwc-icon>help</mwc-icon>`,
138
+ icon: html`<md-icon>help</md-icon>`,
130
139
  name: html`<ox-i18n msgid="text.help"></ox-i18n>`,
131
140
  action: () => {
132
141
  navigate('help')
@@ -1,4 +1,4 @@
1
- import { client } from '@things-factory/shell'
1
+ import { client } from '@operato/graphql'
2
2
  import gql from 'graphql-tag'
3
3
 
4
4
  export async function fetchBoardSettings() {
@@ -1,4 +1,4 @@
1
- import { client } from '@things-factory/shell'
1
+ import { client } from '@operato/graphql'
2
2
  import gql from 'graphql-tag'
3
3
 
4
4
  export async function fetchLocationSortingRule(sortingRule) {
@@ -1,6 +1,6 @@
1
1
  import gql from 'graphql-tag'
2
2
 
3
- import { client } from '@things-factory/shell'
3
+ import { client } from '@operato/graphql'
4
4
 
5
5
  export async function fetchSettingRule(setting, partnerDomainId) {
6
6
  const response = await client.query({
@@ -1,11 +1,11 @@
1
1
  import '@things-factory/barcode-ui'
2
2
  import { MultiColumnFormStyles, SingleColumnFormStyles } from '@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 { openPopup } from '@operato/layout'
6
6
  import { client, CustomAlert, PageView, store } from '@things-factory/shell'
7
7
  import { CommonButtonStyles } from '@things-factory/styles'
8
- import { isMobileDevice } from '@things-factory/utils'
8
+ import { isMobileDevice } from '@operato/utils'
9
9
  import gql from 'graphql-tag'
10
10
  import { css, html } from 'lit'
11
11
  import { connect } from 'pwa-helpers/connect-mixin.js'
@@ -39,7 +39,7 @@ class TransferInventory extends connect(store)(localize(i18next)(PageView)) {
39
39
 
40
40
  .grist {
41
41
  min-height: 180px;
42
- background-color: var(--main-section-background-color);
42
+ background-color: var(--md-sys-color-background);
43
43
  display: flex;
44
44
  flex: 1;
45
45
  overflow: auto;
@@ -1,10 +1,10 @@
1
1
  import { MultiColumnFormStyles } from '@things-factory/form-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 { getCodeByName } from '@things-factory/code-base'
6
6
  import { client, PageView, store, UPDATE_CONTEXT } from '@things-factory/shell'
7
- import { isMobileDevice } from '@things-factory/utils'
7
+ import { isMobileDevice } from '@operato/utils'
8
8
  import { CommonButtonStyles } from '@things-factory/styles'
9
9
  import gql from 'graphql-tag'
10
10
  import { css, html } from 'lit'
@@ -27,7 +27,7 @@ class ClaimChitDetail extends connect(store)(localize(i18next)(PageView)) {
27
27
 
28
28
  .grist,
29
29
  .summary {
30
- background-color: var(--main-section-background-color);
30
+ background-color: var(--md-sys-color-background);
31
31
  display: flex;
32
32
  flex-direction: column;
33
33
  overflow-y: auto;
@@ -4,9 +4,9 @@ import '@operato/data-grist'
4
4
  import { PageView, client, navigate, store } from '@things-factory/shell'
5
5
  import { css, html } from 'lit'
6
6
  import { flattenObject, isMobileDevice } from '@things-factory/utils'
7
- import { i18next, localize } from '@things-factory/i18n-base'
7
+ import { i18next, localize } from '@operato/i18n'
8
8
 
9
- import { ScrollbarStyles } from '@things-factory/styles'
9
+ import { ScrollbarStyles } from '@operato/styles'
10
10
  import { connect } from 'pwa-helpers/connect-mixin'
11
11
  import gql from 'graphql-tag'
12
12
 
@@ -343,10 +343,10 @@ class ClaimChitList extends connect(store)(localize(i18next)(PageView)) {
343
343
  field.type === 'text'
344
344
  ? field.value
345
345
  : field.type === 'checkbox'
346
- ? field.checked
347
- : field.type === 'number'
348
- ? parseFloat(field.value)
349
- : field.value,
346
+ ? field.checked
347
+ : field.type === 'number'
348
+ ? parseFloat(field.value)
349
+ : field.value,
350
350
  operator: field.getAttribute('searchOper')
351
351
  }
352
352
  })
@@ -2,9 +2,9 @@ import { getCodeByName } from '@things-factory/code-base'
2
2
  import '@things-factory/form-ui'
3
3
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
4
4
  import '@operato/data-grist'
5
- import { i18next, localize } from '@things-factory/i18n-base'
5
+ import { i18next, localize } from '@operato/i18n'
6
6
  import { client, PageView, store } from '@things-factory/shell'
7
- import { isMobileDevice } from '@things-factory/utils'
7
+ import { isMobileDevice } from '@operato/utils'
8
8
  import { CommonButtonStyles } from '@things-factory/styles'
9
9
  import gql from 'graphql-tag'
10
10
  import { css, html } from 'lit'
@@ -23,7 +23,7 @@ class CreateClaimChit extends connect(store)(localize(i18next)(PageView)) {
23
23
 
24
24
  .grist,
25
25
  .summary {
26
- background-color: var(--main-section-background-color);
26
+ background-color: var(--md-sys-color-background);
27
27
  display: flex;
28
28
  flex-direction: column;
29
29
  overflow-y: auto;
@@ -1,7 +1,7 @@
1
1
  import '@things-factory/form-ui'
2
2
  import { MultiColumnFormStyles } from '@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, store } from '@things-factory/shell'
6
6
  import { flattenObject, isMobileDevice } from '@things-factory/utils'
7
7
  import gql from 'graphql-tag'
@@ -20,7 +20,7 @@ class TransportSummaryReport extends connect(store)(localize(i18next)(PageView))
20
20
  overflow-x: auto;
21
21
  }
22
22
  .grist {
23
- background-color: var(--main-section-background-color);
23
+ background-color: var(--md-sys-color-background);
24
24
  display: flex;
25
25
  flex-direction: column;
26
26
  flex: 1;
@@ -8,7 +8,7 @@ import { css, html } from 'lit'
8
8
  import XLSX from 'xlsx'
9
9
 
10
10
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
11
- import { i18next, localize } from '@things-factory/i18n-base'
11
+ import { i18next, localize } from '@operato/i18n'
12
12
  import { openPopup } from '@operato/layout'
13
13
  import { client, PageView, navigate, CustomAlert } from '@things-factory/shell'
14
14
  import { fetchSettingRule } from '../../fetch-setting-value'
@@ -34,9 +34,9 @@ class BulkOperation extends localize(i18next)(PageView) {
34
34
  li {
35
35
  display: block;
36
36
  float: left;
37
- background-color: var(--main-section-background-color);
37
+ background-color: var(--md-sys-color-background);
38
38
  border-radius: var(--border-radius);
39
- border: 1px solid var(--main-section-background-color);
39
+ border: 1px solid var(--md-sys-color-background);
40
40
  box-shadow: var(--box-shadow);
41
41
  margin: var(--margin-narrow) var(--margin-default) var(--margin-default) 0;
42
42
  padding: var(--padding-default) var(--padding-default) var(--padding-narrow) var(--padding-default);
@@ -4,9 +4,9 @@ import '@operato/data-grist'
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html, LitElement } from 'lit'
6
6
 
7
- import { i18next, localize } from '@things-factory/i18n-base'
7
+ import { i18next, localize } from '@operato/i18n'
8
8
  import { client, CustomAlert } from '@things-factory/shell'
9
- import { ScrollbarStyles } from '@things-factory/styles'
9
+ import { ScrollbarStyles } from '@operato/styles'
10
10
  import { isMobileDevice, sleep } from '@things-factory/utils'
11
11
 
12
12
  class ValidateGanPopup extends localize(i18next)(LitElement) {
@@ -4,10 +4,10 @@ import '@operato/data-grist'
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html, LitElement } from 'lit'
6
6
 
7
- import { i18next, localize } from '@things-factory/i18n-base'
7
+ import { i18next, localize } from '@operato/i18n'
8
8
  import { client, CustomAlert } from '@things-factory/shell'
9
- import { ScrollbarStyles } from '@things-factory/styles'
10
- import { isMobileDevice } from '@things-factory/utils'
9
+ import { ScrollbarStyles } from '@operato/styles'
10
+ import { isMobileDevice } from '@operato/utils'
11
11
 
12
12
  class ValidateRoPopup extends localize(i18next)(LitElement) {
13
13
  static get properties() {
@@ -1,4 +1,4 @@
1
- import { i18next, localize } from '@things-factory/i18n-base'
1
+ import { i18next, localize } from '@operato/i18n'
2
2
  import { css, html, LitElement } from 'lit'
3
3
 
4
4
  class AttachmentViewer extends localize(i18next)(LitElement) {
@@ -19,7 +19,7 @@ class AttachmentViewer extends localize(i18next)(LitElement) {
19
19
  display: flex;
20
20
  flex-direction: column;
21
21
  overflow-x: overlay;
22
- background-color: var(--main-section-background-color);
22
+ background-color: var(--md-sys-color-background);
23
23
  }
24
24
  .container {
25
25
  display: flex;
@@ -1,4 +1,4 @@
1
- import { i18next, localize } from '@things-factory/i18n-base'
1
+ import { i18next, localize } from '@operato/i18n'
2
2
  import { css, html, LitElement } from 'lit'
3
3
 
4
4
  class ImageViewer extends localize(i18next)(LitElement) {
@@ -19,7 +19,7 @@ class ImageViewer extends localize(i18next)(LitElement) {
19
19
  display: flex;
20
20
  flex-direction: column;
21
21
  overflow-x: overlay;
22
- background-color: var(--main-section-background-color);
22
+ background-color: var(--md-sys-color-background);
23
23
  }
24
24
  .container {
25
25
  display: flex;
@@ -1,17 +1,20 @@
1
- import '@material/mwc-button'
1
+ import '@material/web/icon/icon.js'
2
+
2
3
  import '@things-factory/form-ui'
3
4
  import '@operato/data-grist'
4
5
 
5
6
  import gql from 'graphql-tag'
6
7
  import { css, html, LitElement } from 'lit'
7
8
 
8
- import { i18next } from '@things-factory/i18n-base'
9
- import { client } from '@things-factory/shell'
10
- import { isMobileDevice } from '@things-factory/utils'
9
+ import { i18next } from '@operato/i18n'
10
+ import { client } from '@operato/graphql'
11
+ import { isMobileDevice } from '@operato/utils'
12
+ import { ButtonContainerStyles } from '@operato/styles'
11
13
 
12
14
  class PartnerSelector extends LitElement {
13
15
  static get styles() {
14
16
  return [
17
+ ButtonContainerStyles,
15
18
  css`
16
19
  :host {
17
20
  display: flex;
@@ -19,16 +22,10 @@ class PartnerSelector extends LitElement {
19
22
  overflow: hidden;
20
23
  background-color: white;
21
24
  }
25
+
22
26
  ox-grist {
23
27
  flex: 1;
24
28
  }
25
- .button-container {
26
- padding: var(--button-container-padding);
27
- margin: var(--button-container-margin);
28
- text-align: var(--button-container-align);
29
- background-color: var(--button-container-background);
30
- height: var(--button-container-height);
31
- }
32
29
  `
33
30
  ]
34
31
  }
@@ -52,7 +49,9 @@ class PartnerSelector extends LitElement {
52
49
  ></ox-grist>
53
50
 
54
51
  <div class="button-container">
55
- <mwc-button raised @click="${this.select.bind(this)}">${i18next.t('button.select')}</mwc-button>
52
+ <button @click="${this.select.bind(this)}">
53
+ <md-icon>select_check_box</md-icon>${i18next.t('button.select')}
54
+ </button>
56
55
  </div>
57
56
  `
58
57
  }
@@ -1,4 +1,4 @@
1
- import { i18next, localize } from '@things-factory/i18n-base'
1
+ import { i18next, localize } from '@operato/i18n'
2
2
  import { css, html, LitElement } from 'lit'
3
3
 
4
4
  class PopupNote extends localize(i18next)(LitElement) {
@@ -17,7 +17,7 @@ class PopupNote extends localize(i18next)(LitElement) {
17
17
  display: flex;
18
18
  flex-direction: column;
19
19
  overflow-x: overlay;
20
- background-color: var(--main-section-background-color);
20
+ background-color: var(--md-sys-color-background);
21
21
  }
22
22
  .container {
23
23
  display: flex;
@@ -2,8 +2,8 @@ import gql from 'graphql-tag'
2
2
  import { css, html, LitElement } from 'lit'
3
3
 
4
4
  import { SingleColumnFormStyles } from '@things-factory/form-ui'
5
- import { i18next, localize } from '@things-factory/i18n-base'
6
- import { client } from '@things-factory/shell'
5
+ import { i18next, localize } from '@operato/i18n'
6
+ import { client } from '@operato/graphql'
7
7
 
8
8
  import { PALLET_STATUS } from '../constants'
9
9
 
@@ -25,7 +25,7 @@ class PopupReusablePallet extends localize(i18next)(LitElement) {
25
25
  display: flex;
26
26
  flex-direction: column;
27
27
  overflow-x: overlay;
28
- background-color: var(--main-section-background-color);
28
+ background-color: var(--md-sys-color-background);
29
29
  }
30
30
  .container {
31
31
  display: flex;
@@ -4,10 +4,10 @@ import gql from 'graphql-tag'
4
4
  import { css, html, LitElement } from 'lit'
5
5
 
6
6
  import { getCodeByName } from '@things-factory/code-base'
7
- import { i18next, localize } from '@things-factory/i18n-base'
8
- import { client } from '@things-factory/shell'
9
- import { ScrollbarStyles } from '@things-factory/styles'
10
- import { isMobileDevice } from '@things-factory/utils'
7
+ import { i18next, localize } from '@operato/i18n'
8
+ import { client } from '@operato/graphql'
9
+ import { ScrollbarStyles } from '@operato/styles'
10
+ import { isMobileDevice } from '@operato/utils'
11
11
 
12
12
  import { GROUP_TYPES, INVENTORY_STATUS } from '../constants'
13
13
 
@@ -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'
7
- import { client } from '@things-factory/shell'
8
- import { ScrollbarStyles } from '@things-factory/styles'
9
- import { isMobileDevice } from '@things-factory/utils'
6
+ import { i18next, localize } from '@operato/i18n'
7
+ import { client } from '@operato/graphql'
8
+ import { ScrollbarStyles } from '@operato/styles'
9
+ import { isMobileDevice } from '@operato/utils'
10
10
 
11
11
  class SelectProductPopup extends localize(i18next)(LitElement) {
12
12
  static get properties() {
@@ -1,7 +1,7 @@
1
- import { localize, i18next } from '@things-factory/i18n-base'
1
+ import { localize, i18next } from '@operato/i18n'
2
2
  import { SingleColumnFormStyles } from '@things-factory/form-ui'
3
3
  import { LitElement, html, css } from 'lit'
4
- import { client } from '@things-factory/shell'
4
+ import { client } from '@operato/graphql'
5
5
  import gql from 'graphql-tag'
6
6
  import '@things-factory/barcode-ui'
7
7
 
@@ -14,7 +14,7 @@ class VasPalletAddPopup extends localize(i18next)(LitElement) {
14
14
  display: flex;
15
15
  flex-direction: column;
16
16
  overflow-x: overlay;
17
- background-color: var(--main-section-background-color);
17
+ background-color: var(--md-sys-color-background);
18
18
  padding: 20px;
19
19
  }
20
20
  .button-container {
@@ -1,10 +1,10 @@
1
1
  import '@things-factory/barcode-ui'
2
2
  import { SingleColumnFormStyles } from '@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 { openPopup } from '@operato/layout'
6
6
  import { client, CustomAlert } from '@things-factory/shell'
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_TYPES, ORDER_VAS_STATUS, WORKSHEET_STATUS } from '../../constants'
@@ -7,10 +7,10 @@ import gql from 'graphql-tag'
7
7
  import { css, html } from 'lit'
8
8
 
9
9
  import { SingleColumnFormStyles } 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 } from '@things-factory/shell'
13
- import { isMobileDevice } from '@things-factory/utils'
13
+ import { isMobileDevice } from '@operato/utils'
14
14
 
15
15
  import { PACKING_UNIT_QTY, PACKING_UNIT_UOM, PACKING_UNITS } from '../../constants'
16
16
  import { VasTemplate } from './vas-template'
@@ -5,9 +5,9 @@ import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
6
6
 
7
7
  import { SingleColumnFormStyles } 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, CustomAlert } from '@things-factory/shell'
10
- import { isMobileDevice } from '@things-factory/utils'
10
+ import { isMobileDevice } from '@operato/utils'
11
11
 
12
12
  import { PACKING_UNIT_QTY, PACKING_UNIT_UOM, PACKING_UNITS } from '../../constants'
13
13
  import { VasTemplate } from './vas-template'
@@ -1,9 +1,9 @@
1
1
  import '@things-factory/barcode-ui'
2
2
  import { SingleColumnFormStyles } from '@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, CustomAlert } 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 { PALLET_TYPES, REUSABLE_PALLET } from '../../constants'
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit'
2
2
  import '../image-viewer'
3
- import { i18next } from '@things-factory/i18n-base'
3
+ import { i18next } from '@operato/i18n'
4
4
 
5
5
  export class VasTemplate extends LitElement {
6
6
  get contextButtons() {
@@ -1,8 +1,8 @@
1
1
  import '@things-factory/barcode-ui'
2
2
  import { SingleColumnFormStyles } from '@things-factory/form-ui'
3
3
  import '@operato/data-grist'
4
- import { i18next, localize } from '@things-factory/i18n-base'
5
- import { client } from '@things-factory/shell'
4
+ import { i18next, localize } from '@operato/i18n'
5
+ import { client } from '@operato/graphql'
6
6
  import gql from 'graphql-tag'
7
7
  import { css, html } from 'lit'
8
8
  import { ORDER_TYPES } from '../../constants'
@@ -4,8 +4,8 @@ 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'
7
- import { i18next, localize } from '@things-factory/i18n-base'
8
- import { store } from '@things-factory/shell'
7
+ import { i18next, localize } from '@operato/i18n'
8
+ import { store } from '@operato/shell'
9
9
 
10
10
  class WorksheetInformationPopup extends connect(store)(localize(i18next)(LitElement)) {
11
11
  static get properties() {
@@ -23,7 +23,7 @@ class WorksheetInformationPopup extends connect(store)(localize(i18next)(LitElem
23
23
  display: flex;
24
24
  flex-direction: column;
25
25
  overflow-x: overlay;
26
- background-color: var(--main-section-background-color);
26
+ background-color: var(--md-sys-color-background);
27
27
  }
28
28
  `
29
29
  ]
@@ -1,4 +1,4 @@
1
- import { i18next } from '@things-factory/i18n-base'
1
+ import { i18next } from '@operato/i18n'
2
2
 
3
3
  export const PICKING_STRATEGY = [
4
4
  {
@@ -1,4 +1,4 @@
1
- import { i18next } from '@things-factory/i18n-base'
1
+ import { i18next } from '@operato/i18n'
2
2
 
3
3
  export const VAS_BATCH_AND_PRODUCT_TYPE = 'BATCH_AND_PRODUCT_TYPE'
4
4
  export const VAS_BATCH_NO_TYPE = 'BATCH_NO'
@@ -1,4 +1,4 @@
1
- import { i18next } from '@things-factory/i18n-base'
1
+ import { i18next } from '@operato/i18n'
2
2
 
3
3
  export const PACKING_UNIT_UOM = {
4
4
  value: 'UOM',
@@ -1,4 +1,4 @@
1
- import { i18next } from '@things-factory/i18n-base'
1
+ import { i18next } from '@operato/i18n'
2
2
 
3
3
  export const WORKSHEET_TYPE = {
4
4
  UNLOADING: {
@@ -5,8 +5,8 @@ import gql from 'graphql-tag'
5
5
  import { css, html, LitElement } from 'lit'
6
6
 
7
7
  import { SingleColumnFormStyles } from '@things-factory/form-ui'
8
- import { i18next, localize } from '@things-factory/i18n-base'
9
- import { client } from '@things-factory/shell'
8
+ import { i18next, localize } from '@operato/i18n'
9
+ import { client } from '@operato/graphql'
10
10
 
11
11
  class AdjustPalletQty extends localize(i18next)(LitElement) {
12
12
  static get properties() {
@@ -26,7 +26,7 @@ class AdjustPalletQty extends localize(i18next)(LitElement) {
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  overflow-x: overlay;
29
- background-color: var(--main-section-background-color);
29
+ background-color: var(--md-sys-color-background);
30
30
  }
31
31
  .button-container {
32
32
  padding: var(--button-container-padding);