@things-factory/operato-wms 4.2.9 → 4.3.0-alpha.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.
@@ -11,7 +11,7 @@ import './serial-number-list-popup'
11
11
 
12
12
  import gql from 'graphql-tag'
13
13
  import { css, html } from 'lit-element'
14
- import orderBy from 'lodash/orderBy'
14
+ import orderBy from 'lodash-es/orderBy'
15
15
  import { connect } from 'pwa-helpers/connect-mixin.js'
16
16
 
17
17
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
@@ -16,8 +16,6 @@ import { isMobileDevice } from '@things-factory/utils'
16
16
  import { fetchLocationSortingRule } from '../../fetch-location-sorting-rule'
17
17
  import { LOCATION_SORTING_RULE } from '../constants'
18
18
 
19
- const _ = require('lodash')
20
-
21
19
  class CreateCycleCount extends localize(i18next)(PageView) {
22
20
  static get properties() {
23
21
  return {
@@ -9,8 +9,6 @@ import { client, CustomAlert, gqlContext } from '@things-factory/shell'
9
9
  import { ScrollbarStyles } from '@things-factory/styles'
10
10
  import { flattenObject, isMobileDevice } from '@things-factory/utils'
11
11
 
12
- const _ = require('lodash')
13
-
14
12
  export class ProductDetailBizplaceSettingPopup extends localize(i18next)(LitElement) {
15
13
  static get styles() {
16
14
  return [
@@ -3,6 +3,9 @@ import '@things-factory/grist-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html, LitElement } from 'lit-element'
6
+ import isEmpty from 'lodash-es/isEmpty'
7
+ import isNaN from 'lodash-es/isNaN'
8
+ import isNumber from 'lodash-es/isNumber'
6
9
 
7
10
  import { getCodeByName } from '@things-factory/code-base'
8
11
  import { i18next, localize } from '@things-factory/i18n-base'
@@ -10,8 +13,6 @@ import { client, CustomAlert, gqlContext } from '@things-factory/shell'
10
13
  import { ScrollbarStyles } from '@things-factory/styles'
11
14
  import { isMobileDevice } from '@things-factory/utils'
12
15
 
13
- const _ = require('lodash')
14
-
15
16
  export class ProductDetailsPopup extends localize(i18next)(LitElement) {
16
17
  static get styles() {
17
18
  return [
@@ -555,20 +556,20 @@ export class ProductDetailsPopup extends localize(i18next)(LitElement) {
555
556
  let data = this.dataGrist._data.records.map(itm => {
556
557
  itm.error = false
557
558
 
558
- if (_.isEmpty(itm.gtin) || '') {
559
+ if (isEmpty(itm.gtin) || '') {
559
560
  itm.error = true
560
561
  if (!errors.find(err => err.type == 'gtin')) errors.push({ type: 'gtin', value: 'GTIN is required' })
561
562
  }
562
- if (_.isEmpty(itm.packingType) || '') {
563
+ if (isEmpty(itm.packingType) || '') {
563
564
  itm.error = true
564
565
  if (!errors.find(err => err.type == 'packingType'))
565
566
  errors.push({ type: 'packingType', value: 'Packing type is required' })
566
567
  }
567
- if (_.isEmpty(itm.uom) || '') {
568
+ if (isEmpty(itm.uom) || '') {
568
569
  itm.error = true
569
570
  if (!errors.find(err => err.type == 'uom')) errors.push({ type: 'uom', value: 'UOM is required' })
570
571
  }
571
- if (!_.isNumber(itm.uomValue) || _.isNaN(itm.uomValue) || '') {
572
+ if (!isNumber(itm.uomValue) || isNaN(itm.uomValue) || '') {
572
573
  itm.error = true
573
574
  if (!errors.find(err => err.type == 'uomValue'))
574
575
  errors.push({ type: 'uomValue', value: 'UOM Value is required' })
@@ -626,7 +627,7 @@ export class ProductDetailsPopup extends localize(i18next)(LitElement) {
626
627
  ...this.dataGrist._data,
627
628
  records: this._updateRowOption(
628
629
  this.dataGrist._data.records.map((record, idx) => {
629
- if (!_.isEmpty(record.childProductDetail) && record.childProductDetail == before) {
630
+ if (!isEmpty(record.childProductDetail) && record.childProductDetail == before) {
630
631
  record.childProductDetail = after
631
632
  }
632
633
  return record
@@ -636,7 +637,7 @@ export class ProductDetailsPopup extends localize(i18next)(LitElement) {
636
637
 
637
638
  break
638
639
  case 'uomValue':
639
- if (_.isNaN(after)) {
640
+ if (isNaN(after)) {
640
641
  updatedRecords.records[row].uomValue = 1
641
642
  }
642
643
  break
@@ -691,7 +692,7 @@ export class ProductDetailsPopup extends localize(i18next)(LitElement) {
691
692
  value: ''
692
693
  },
693
694
  ...data
694
- .filter(child => child.gtin != itm.gtin && !_.isEmpty(child.gtin))
695
+ .filter(child => child.gtin != itm.gtin && !isEmpty(child.gtin))
695
696
  .map(x => {
696
697
  const rowOption = {
697
698
  display: x.gtin,
@@ -5,6 +5,9 @@ import './product-detail-bizplace-setting-popup'
5
5
 
6
6
  import gql from 'graphql-tag'
7
7
  import { css, html } from 'lit-element'
8
+ import isEmpty from 'lodash-es/isEmpty'
9
+ import isNaN from 'lodash-es/isNaN'
10
+ import isNumber from 'lodash-es/isNumber'
8
11
 
9
12
  import { getCodeByName } from '@things-factory/code-base'
10
13
  import { i18next, localize } from '@things-factory/i18n-base'
@@ -14,8 +17,6 @@ import { client, CustomAlert, gqlContext, PageView } from '@things-factory/shell
14
17
  import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
15
18
  import { isMobileDevice } from '@things-factory/utils'
16
19
 
17
- const _ = require('lodash')
18
-
19
20
  class ProductList extends localize(i18next)(PageView) {
20
21
  static get properties() {
21
22
  return {
@@ -821,7 +822,7 @@ class ProductList extends localize(i18next)(PageView) {
821
822
 
822
823
  async _saveProducts(patches) {
823
824
  try {
824
- if (_.isEmpty(this._bizplaceInput.value) || this._bizplaceInput?.value == undefined) {
825
+ if (isEmpty(this._bizplaceInput.value) || this._bizplaceInput?.value == undefined) {
825
826
  return this.showToast(i18next.t('text.no_company_selected'))
826
827
  }
827
828
 
@@ -944,23 +945,23 @@ class ProductList extends localize(i18next)(PageView) {
944
945
  _validate(data) {
945
946
  let errors = []
946
947
  data = data.map(itm => {
947
- if (_.isEmpty(itm.sku) || '') {
948
+ if (isEmpty(itm.sku) || '') {
948
949
  if (!errors.find(err => err.type == 'sku')) errors.push({ type: 'sku', value: 'Product SKU is required' })
949
950
  }
950
- if (_.isEmpty(itm.name) || '') {
951
+ if (isEmpty(itm.name) || '') {
951
952
  if (!errors.find(err => err.type == 'name')) errors.push({ type: 'name', value: 'Product name is required' })
952
953
  }
953
- if (_.isEmpty(itm.type) || '') {
954
+ if (isEmpty(itm.type) || '') {
954
955
  if (!errors.find(err => err.type == 'type')) errors.push({ type: 'name', value: 'Product type is required' })
955
956
  }
956
- if (_.isEmpty(itm.packingType) || '') {
957
+ if (isEmpty(itm.packingType) || '') {
957
958
  if (!errors.find(err => err.type == 'packingType'))
958
959
  errors.push({ type: 'packingType', value: 'Packing type is required' })
959
960
  }
960
- if (_.isEmpty(itm.uom) || '') {
961
+ if (isEmpty(itm.uom) || '') {
961
962
  if (!errors.find(err => err.type == 'uom')) errors.push({ type: 'uom', value: 'UOM is required' })
962
963
  }
963
- if (!_.isNumber(itm.uomValue) || _.isNaN(itm.uomValue) || '' || itm?.uomValue <= 0) {
964
+ if (!isNumber(itm.uomValue) || isNaN(itm.uomValue) || '' || itm?.uomValue <= 0) {
964
965
  if (!errors.find(err => err.type == 'uomValue'))
965
966
  errors.push({ type: 'uomValue', value: 'UOM Value is required' })
966
967
  }
@@ -6,7 +6,7 @@ import './select-operator-popup'
6
6
 
7
7
  import gql from 'graphql-tag'
8
8
  import { css, html } from 'lit-element'
9
- import orderBy from 'lodash/orderBy'
9
+ import orderBy from 'lodash-es/orderBy'
10
10
 
11
11
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
12
12
  import { i18next, localize } from '@things-factory/i18n-base'
@@ -0,0 +1,73 @@
1
+ module.exports = {
2
+ useVirtualHostBasedDomain: false,
3
+ ormconfig: {
4
+ name: 'default',
5
+ type: 'postgres',
6
+ host: 'operato-instance-1.cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
7
+ database: 'operato',
8
+ username: 'operato',
9
+ password: 'abcd1234',
10
+ port: 55432,
11
+ synchronize: false,
12
+ logging: true
13
+ },
14
+ reportApiUrl: 'http://localhost:8090/rest/report/show_html',
15
+ storage: {
16
+ type: 's3',
17
+ accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
18
+ secretAccessKey: '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',
19
+ bucketName: 'opa-one'
20
+ },
21
+ port: 3000,
22
+ uploads: 'uploads',
23
+ attachmentsPath: 'attachments',
24
+ SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
25
+ logger: {
26
+ file: {
27
+ filename: 'logs/application-%DATE%.log',
28
+ datePattern: 'YYYY-MM-DD-HH',
29
+ zippedArchive: true,
30
+ maxSize: '200m',
31
+ maxFiles: '1m',
32
+ level: 'info'
33
+ }
34
+ },
35
+
36
+ email: {
37
+ host: 'smtp.office365.com',
38
+ port: 587,
39
+ secure: false, // true for 465, false for other ports
40
+ auth: {
41
+ user: 'no-reply@hatiolab.com', // generated ethereal user
42
+ pass: 'h@ti0LAB1008' // generated ethereal password
43
+ },
44
+ secureConnection: false,
45
+ tls: {
46
+ ciphers: 'SSLv3'
47
+ }
48
+ },
49
+
50
+ notification: {
51
+ fcm: {
52
+ serviceAccount: {
53
+ project_id: 'operato',
54
+ private_key:
55
+ '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9\nzU1qs0cpVK5cVfadcUaw5g+hkQZMOMlAA7uqW2eX4vkayj7MzbYUayH+sei8044Q\nJIyl6f26dNX1VT3UgTmSmCS0v48EBEZHCgusrUGFjduLRN6OS6uvrXW1xKA18k9q\nai1C2EHCXF2AE4PTvf239RC1UIOnVePcMtT7rMTdHRO4s8OKVuSDbzIt8k1cV3Zt\nES0YsJlkELqBisYpV//2/ZSILTt39J9JzrVef03X9kkoo9p+YnNyy6tWsfQPfgJO\nybiRGBNxiyJ/E2pxRo/WqU0go9OzYJlGaSUrUx09heNiRD1b0MAOmyPDJz/6AaTk\nkU/A+kLzAgMBAAECggEADQ5s2gtR53VSujk1V/Xe8e0Di99DwaWUj5w6YhcK7/wX\nPdQRN4Fw6RLeLjL7xeG/rCNSwzm6hKSrQJL5zLnWW7XbMdyQRk6jdmn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lLpHOFTQXt5tF2/F7NW7kaQJNlLr/h5jPi3O9XHeFmuaN2z150ZB6zzgjeGKzr8\ni+1fgTsRfDtNw8xkSH9qL1Y=\n-----END PRIVATE KEY-----\n',
56
+ client_email: 'firebase-adminsdk-xmm2e@operato.iam.gserviceaccount.com'
57
+ },
58
+ appConfig: {
59
+ apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
60
+ projectId: 'operato',
61
+ messagingSenderId: 79537064975,
62
+ appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
63
+ },
64
+ serverKey:
65
+ 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
66
+ },
67
+ vapidKey: {
68
+ subject: 'mailto:heartyoh@hatiolab.com',
69
+ publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
70
+ privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
71
+ }
72
+ }
73
+ }
@@ -0,0 +1,113 @@
1
+ module.exports = {
2
+ useVirtualHostBasedDomain: false,
3
+
4
+ ormconfig: {
5
+ name: 'default',
6
+
7
+ type: 'postgres',
8
+
9
+ host: 'operato-instance-1.cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
10
+
11
+ database: 'operato',
12
+
13
+ username: 'operato',
14
+
15
+ password: 'abcd1234',
16
+
17
+ port: 55432,
18
+
19
+ synchronize: false,
20
+
21
+ logging: true
22
+ },
23
+
24
+ reportApiUrl: 'http://localhost:8090/rest/report/show_html',
25
+
26
+ storage: {
27
+ type: 's3',
28
+
29
+ accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
30
+
31
+ secretAccessKey: 'AuDAgmODf9EJNB24OveRhTSLV/OJy6IFFoRxe8k2',
32
+
33
+ bucketName: 'opa-one'
34
+ },
35
+
36
+ port: 3000,
37
+
38
+ uploads: 'uploads',
39
+
40
+ attachmentsPath: 'attachments',
41
+
42
+ SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
43
+
44
+ logger: {
45
+ file: {
46
+ filename: 'logs/application-%DATE%.log',
47
+
48
+ datePattern: 'YYYY-MM-DD-HH',
49
+
50
+ zippedArchive: true,
51
+
52
+ maxSize: '200m',
53
+
54
+ maxFiles: '1m',
55
+
56
+ level: 'info'
57
+ }
58
+ },
59
+
60
+ email: {
61
+ host: 'smtp.office365.com',
62
+
63
+ port: 587,
64
+
65
+ secure: false, // true for 465, false for other ports
66
+
67
+ auth: {
68
+ user: 'no-reply@hatiolab.com', // generated ethereal user
69
+
70
+ pass: 'h@ti0LAB1008' // generated ethereal password
71
+ },
72
+
73
+ secureConnection: false,
74
+
75
+ tls: {
76
+ ciphers: 'SSLv3'
77
+ }
78
+ },
79
+
80
+ notification: {
81
+ fcm: {
82
+ serviceAccount: {
83
+ project_id: 'operato',
84
+
85
+ private_key:
86
+ '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9\nzU1qs0cpVK5cVfadcUaw5g+hkQZMOMlAA7uqW2eX4vkayj7MzbYUayH+sei8044Q\nJIyl6f26dNX1VT3UgTmSmCS0v48EBEZHCgusrUGFjduLRN6OS6uvrXW1xKA18k9q\nai1C2EHCXF2AE4PTvf239RC1UIOnVePcMtT7rMTdHRO4s8OKVuSDbzIt8k1cV3Zt\nES0YsJlkELqBisYpV//2/ZSILTt39J9JzrVef03X9kkoo9p+YnNyy6tWsfQPfgJO\nybiRGBNxiyJ/E2pxRo/WqU0go9OzYJlGaSUrUx09heNiRD1b0MAOmyPDJz/6AaTk\nkU/A+kLzAgMBAAECggEAD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Iss4Bo4/lb+1lAoGAFOexvaBh21K6W3inmRW4\nLlkVYJaBJ20OwokXg5aXjBiHxqmk7VLAuFbkpb5LOKH2xPILRQ0OEkn51yVymS3T\n9lLpHOFTQXt5tF2/F7NW7kaQJNlLr/h5jPi3O9XHeFmuaN2z150ZB6zzgjeGKzr8\ni+1fgTsRfDtNw8xkSH9qL1Y=\n-----END PRIVATE KEY-----\n',
87
+
88
+ client_email: 'firebase-adminsdk-xmm2e@operato.iam.gserviceaccount.com'
89
+ },
90
+
91
+ appConfig: {
92
+ apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
93
+
94
+ projectId: 'operato',
95
+
96
+ messagingSenderId: 79537064975,
97
+
98
+ appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
99
+ },
100
+
101
+ serverKey:
102
+ 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
103
+ },
104
+
105
+ vapidKey: {
106
+ subject: 'mailto:heartyoh@hatiolab.com',
107
+
108
+ publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
109
+
110
+ privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
111
+ }
112
+ }
113
+ }
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/graphql/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAmC;AACnC,uDAAwC;AAE3B,QAAA,MAAM,GAAG;IACpB,QAAQ;IACR,SAAS;CACV,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/graphql/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAmC;AACnC,uDAAwC;AAE3B,QAAA,MAAM,GAAG;IACpB,QAAQ;IACR,SAAS;CACV,CAAA"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/resolvers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,8DAA+C;AAC/C,4DAA6C;AAC7C,8DAA+C;AAC/C,uDAAwC;AACxC,+CAAgC;AAChC,oDAAqC;AACrC,mDAAoC;AACpC,4EAA6D;AAC7D,uEAAwD;AAE3C,QAAA,OAAO,GAAG;IACrB,YAAY,CAAC,KAAK;IAClB,WAAW,CAAC,KAAK;IACjB,YAAY,CAAC,KAAK;IAClB,SAAS,CAAC,KAAK;IACf,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,KAAK;IACb,mBAAmB,CAAC,KAAK;IACzB,iBAAiB,CAAC,KAAK;CACxB,CAAA;AAEY,QAAA,SAAS,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/resolvers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAA+C;AAC/C,4DAA6C;AAC7C,8DAA+C;AAC/C,uDAAwC;AACxC,+CAAgC;AAChC,oDAAqC;AACrC,mDAAoC;AACpC,4EAA6D;AAC7D,uEAAwD;AAE3C,QAAA,OAAO,GAAG;IACrB,YAAY,CAAC,KAAK;IAClB,WAAW,CAAC,KAAK;IACjB,YAAY,CAAC,KAAK;IAClB,SAAS,CAAC,KAAK;IACf,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,KAAK;IACb,mBAAmB,CAAC,KAAK;IACzB,iBAAiB,CAAC,KAAK;CACxB,CAAA;AAEY,QAAA,SAAS,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/types/index.ts"],"names":[],"mappings":";;;;;;;;;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5B,QAAA,KAAK,GAAG;IACnB,GAAG,YAAY,CAAC,KAAK;IACrB,GAAG,WAAW,CAAC,KAAK;IACpB,GAAG,SAAS,CAAC,KAAK;IAClB,GAAG,OAAO,CAAC,KAAK;IAChB,GAAG,OAAO,CAAC,KAAK;IAChB,GAAG,mBAAmB,CAAC,KAAK;IAC5B,GAAG,gBAAgB,CAAC,KAAK;CAC1B,CAAA"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAE5B,oBAAiB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAE5B,oBAAiB"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.2.9",
3
+ "version": "4.3.0-alpha.0",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -47,7 +47,7 @@
47
47
  "db:reset": "yarn run db:clear && yarn run db:restore && yarn run db:seed && yarn run db:setpass"
48
48
  },
49
49
  "dependencies": {
50
- "@operato/ghost-print": "^0.3.28",
50
+ "@operato/ghost-print": "^0.4.5",
51
51
  "@operato/scene-chartjs": "^0.1.5",
52
52
  "@operato/scene-clock": "^0.1.5",
53
53
  "@operato/scene-clone": "^0.1.5",
@@ -63,60 +63,60 @@
63
63
  "@operato/scene-tab": "^0.1.5",
64
64
  "@operato/scene-table": "^0.1.5",
65
65
  "@operato/scene-wheel-sorter": "^0.1.5",
66
- "@things-factory/apptool-ui": "^4.1.40",
67
- "@things-factory/attachment-ui": "^4.1.40",
68
- "@things-factory/auth-ui": "^4.1.40",
69
- "@things-factory/barcode-ui": "^4.1.40",
70
- "@things-factory/biz-ui": "^4.1.40",
71
- "@things-factory/board-service": "^4.1.40",
72
- "@things-factory/board-ui": "^4.1.40",
73
- "@things-factory/code-ui": "^4.1.40",
74
- "@things-factory/context-ui": "^4.1.40",
75
- "@things-factory/export-ui": "^4.1.40",
76
- "@things-factory/export-ui-csv": "^4.1.40",
77
- "@things-factory/export-ui-excel": "^4.1.40",
78
- "@things-factory/fav-base": "^4.1.40",
79
- "@things-factory/form-ui": "^4.1.40",
80
- "@things-factory/grist-ui": "^4.1.40",
81
- "@things-factory/help": "^4.1.40",
82
- "@things-factory/i18n-base": "^4.1.40",
83
- "@things-factory/id-rule-base": "^4.2.0",
84
- "@things-factory/import-ui": "^4.1.40",
85
- "@things-factory/import-ui-excel": "^4.1.40",
86
- "@things-factory/menu-ui": "^4.1.40",
87
- "@things-factory/more-ui": "^4.1.40",
88
- "@things-factory/notification": "^4.1.40",
89
- "@things-factory/pdf": "^4.1.40",
90
- "@things-factory/print-proxy-service": "^4.1.40",
91
- "@things-factory/print-service": "^4.1.40",
92
- "@things-factory/print-ui": "^4.1.40",
93
- "@things-factory/product-base": "^4.2.3",
94
- "@things-factory/resource-ui": "^4.1.40",
95
- "@things-factory/sales-ui": "^4.2.9",
96
- "@things-factory/scene-data-transform": "^4.1.40",
97
- "@things-factory/scene-excel": "^4.1.40",
98
- "@things-factory/scene-firebase": "^4.1.40",
99
- "@things-factory/scene-form": "^4.1.40",
100
- "@things-factory/scene-google-map": "^4.1.40",
101
- "@things-factory/scene-graphql": "^4.1.40",
102
- "@things-factory/scene-label": "^4.1.40",
103
- "@things-factory/scene-marker": "^4.1.40",
104
- "@things-factory/scene-mqtt": "^4.1.40",
105
- "@things-factory/scene-restful": "^4.1.40",
106
- "@things-factory/scene-visualizer": "^4.1.40",
107
- "@things-factory/setting-ui": "^4.1.40",
108
- "@things-factory/system-ui": "^4.1.40",
109
- "@things-factory/transport-base": "^4.2.0",
110
- "@things-factory/tutorial-ui": "^4.1.40",
111
- "@things-factory/warehouse-base": "^4.2.9",
112
- "@things-factory/worksheet-base": "^4.2.9"
66
+ "@things-factory/apptool-ui": "^4.3.0-alpha.0",
67
+ "@things-factory/attachment-ui": "^4.3.0-alpha.0",
68
+ "@things-factory/auth-ui": "^4.3.0-alpha.0",
69
+ "@things-factory/barcode-ui": "^4.3.0-alpha.0",
70
+ "@things-factory/biz-ui": "^4.3.0-alpha.0",
71
+ "@things-factory/board-service": "^4.3.0-alpha.0",
72
+ "@things-factory/board-ui": "^4.3.0-alpha.0",
73
+ "@things-factory/code-ui": "^4.3.0-alpha.0",
74
+ "@things-factory/context-ui": "^4.3.0-alpha.0",
75
+ "@things-factory/export-ui": "^4.3.0-alpha.0",
76
+ "@things-factory/export-ui-csv": "^4.3.0-alpha.0",
77
+ "@things-factory/export-ui-excel": "^4.3.0-alpha.0",
78
+ "@things-factory/fav-base": "^4.3.0-alpha.0",
79
+ "@things-factory/form-ui": "^4.3.0-alpha.0",
80
+ "@things-factory/grist-ui": "^4.3.0-alpha.0",
81
+ "@things-factory/help": "^4.3.0-alpha.0",
82
+ "@things-factory/i18n-base": "^4.3.0-alpha.0",
83
+ "@things-factory/id-rule-base": "^4.3.0-alpha.0",
84
+ "@things-factory/import-ui": "^4.3.0-alpha.0",
85
+ "@things-factory/import-ui-excel": "^4.3.0-alpha.0",
86
+ "@things-factory/menu-ui": "^4.3.0-alpha.0",
87
+ "@things-factory/more-ui": "^4.3.0-alpha.0",
88
+ "@things-factory/notification": "^4.3.0-alpha.0",
89
+ "@things-factory/pdf": "^4.3.0-alpha.0",
90
+ "@things-factory/print-proxy-service": "^4.3.0-alpha.0",
91
+ "@things-factory/print-service": "^4.3.0-alpha.0",
92
+ "@things-factory/print-ui": "^4.3.0-alpha.0",
93
+ "@things-factory/product-base": "^4.3.0-alpha.0",
94
+ "@things-factory/resource-ui": "^4.3.0-alpha.0",
95
+ "@things-factory/sales-ui": "^4.3.0-alpha.0",
96
+ "@things-factory/scene-data-transform": "^4.3.0-alpha.0",
97
+ "@things-factory/scene-excel": "^4.3.0-alpha.0",
98
+ "@things-factory/scene-firebase": "^4.3.0-alpha.0",
99
+ "@things-factory/scene-form": "^4.3.0-alpha.0",
100
+ "@things-factory/scene-google-map": "^4.3.0-alpha.0",
101
+ "@things-factory/scene-graphql": "^4.3.0-alpha.0",
102
+ "@things-factory/scene-label": "^4.3.0-alpha.0",
103
+ "@things-factory/scene-marker": "^4.3.0-alpha.0",
104
+ "@things-factory/scene-mqtt": "^4.3.0-alpha.0",
105
+ "@things-factory/scene-restful": "^4.3.0-alpha.0",
106
+ "@things-factory/scene-visualizer": "^4.3.0-alpha.0",
107
+ "@things-factory/setting-ui": "^4.3.0-alpha.0",
108
+ "@things-factory/system-ui": "^4.3.0-alpha.0",
109
+ "@things-factory/transport-base": "^4.3.0-alpha.0",
110
+ "@things-factory/tutorial-ui": "^4.3.0-alpha.0",
111
+ "@things-factory/warehouse-base": "^4.3.0-alpha.0",
112
+ "@things-factory/worksheet-base": "^4.3.0-alpha.0"
113
113
  },
114
114
  "devDependencies": {
115
- "@things-factory/builder": "^4.1.40",
115
+ "@things-factory/builder": "^4.3.0-alpha.0",
116
116
  "cypress": "^9.4.1",
117
117
  "cypress-file-upload": "^5.0.8",
118
118
  "cypress-localstorage-commands": "^1.6.1",
119
119
  "eslint-plugin-cypress": "^2.12.1"
120
120
  },
121
- "gitHead": "1d2a0b987ce31cc207e1c70e75d53ba65acee61a"
121
+ "gitHead": "6467d1b2a5b2f8abb1bc3982e4651a5742ad4043"
122
122
  }