@things-factory/operato-mms 5.0.0-alpha.50 → 5.0.0-alpha.53

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.
@@ -1,10 +1,12 @@
1
- import { SingleColumnFormStyles } from '@things-factory/form-ui'
2
1
  import '@things-factory/grist-ui'
3
- import { i18next, localize } from '@things-factory/i18n-base'
4
- import { client, CustomAlert } from '@things-factory/shell'
2
+
5
3
  import gql from 'graphql-tag'
6
4
  import { css, html, LitElement } from 'lit-element'
7
5
 
6
+ import { SingleColumnFormStyles } from '@things-factory/form-ui'
7
+ import { i18next, localize } from '@things-factory/i18n-base'
8
+ import { client } from '@things-factory/shell'
9
+
8
10
  export class SelectDateTimePopup extends localize(i18next)(LitElement) {
9
11
  static get styles() {
10
12
  return [
@@ -66,14 +68,14 @@ export class SelectDateTimePopup extends localize(i18next)(LitElement) {
66
68
  if (this.storeId) {
67
69
  const response = await client.mutate({
68
70
  mutation: gql`
69
- mutation syncMarketplaceOrder($storeId: String!, $fromDate: String!, $toDate: String!) {
70
- syncMarketplaceOrder(storeId: $storeId, fromDate: $fromDate, toDate: $toDate)
71
+ mutation syncMarketplaceOrder($storeId: String!, $fromCreatedDate: String!, $toCreatedDate: String!) {
72
+ syncMarketplaceOrder(storeId: $storeId, fromCreatedDate: $fromCreatedDate, toCreatedDate: $toCreatedDate)
71
73
  }
72
74
  `,
73
75
  variables: {
74
76
  storeId: this.storeId,
75
- fromDate: new Date(this._getInputByName('fromDate').value).toISOString(),
76
- toDate: new Date(this._getInputByName('toDate').value).toISOString()
77
+ fromCreatedDate: new Date(this._getInputByName('fromDate').value).toISOString(),
78
+ toCreatedDate: new Date(this._getInputByName('toDate').value).toISOString()
77
79
  }
78
80
  })
79
81
 
@@ -1,16 +1,13 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.NoGenerator = void 0;
7
- const v4_1 = __importDefault(require("uuid/v4"));
4
+ const uuid_1 = require("uuid");
8
5
  class NoGenerator {
9
6
  static id() {
10
- return `${(0, v4_1.default)()}`;
7
+ return `${(0, uuid_1.v4)()}`;
11
8
  }
12
9
  static sku() {
13
- return `SKU-${(0, v4_1.default)()}`;
10
+ return `SKU-${(0, uuid_1.v4)()}`;
14
11
  }
15
12
  }
16
13
  exports.NoGenerator = NoGenerator;
@@ -1 +1 @@
1
- {"version":3,"file":"no-generator.js","sourceRoot":"","sources":["../../server/util/no-generator.ts"],"names":[],"mappings":";;;;;;AAAA,iDAA0B;AAE1B,MAAa,WAAW;IACtB,MAAM,CAAC,EAAE;QACP,OAAO,GAAG,IAAA,YAAI,GAAE,EAAE,CAAA;IACpB,CAAC;IAED,MAAM,CAAC,GAAG;QACR,OAAO,OAAO,IAAA,YAAI,GAAE,EAAE,CAAA;IACxB,CAAC;CACF;AARD,kCAQC"}
1
+ {"version":3,"file":"no-generator.js","sourceRoot":"","sources":["../../server/util/no-generator.ts"],"names":[],"mappings":";;;AAAA,+BAAmC;AAEnC,MAAa,WAAW;IACtB,MAAM,CAAC,EAAE;QACP,OAAO,GAAG,IAAA,SAAM,GAAE,EAAE,CAAA;IACtB,CAAC;IAED,MAAM,CAAC,GAAG;QACR,OAAO,OAAO,IAAA,SAAM,GAAE,EAAE,CAAA;IAC1B,CAAC;CACF;AARD,kCAQC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-mms",
3
- "version": "5.0.0-alpha.50",
3
+ "version": "5.0.0-alpha.53",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -41,7 +41,7 @@
41
41
  "@material/mwc-formfield": "^0.25.3",
42
42
  "@material/mwc-linear-progress": "^0.25.3",
43
43
  "@material/mwc-radio": "^0.25.3",
44
- "@operato/ghost-print": "1.0.0-beta.20",
44
+ "@operato/ghost-print": "1.0.0-beta.26",
45
45
  "@operato/scene-chartjs": "^1.0.0-alpha.18",
46
46
  "@operato/scene-clock": "^1.0.0-alpha.18",
47
47
  "@operato/scene-clone": "^1.0.0-alpha.18",
@@ -67,41 +67,41 @@
67
67
  "@operato/scene-table": "^1.0.0-alpha.18",
68
68
  "@operato/scene-timer": "^1.0.0-alpha.18",
69
69
  "@operato/scene-wheel-sorter": "^1.0.0-alpha.18",
70
- "@things-factory/apptool-ui": "^5.0.0-alpha.50",
71
- "@things-factory/attachment-base": "^5.0.0-alpha.50",
72
- "@things-factory/auth-ui": "^5.0.0-alpha.50",
73
- "@things-factory/biz-base": "^5.0.0-alpha.50",
74
- "@things-factory/board-service": "^5.0.0-alpha.50",
75
- "@things-factory/board-ui": "^5.0.0-alpha.50",
76
- "@things-factory/code-ui": "^5.0.0-alpha.50",
77
- "@things-factory/context-ui": "^5.0.0-alpha.50",
78
- "@things-factory/dashboard": "^5.0.0-alpha.50",
79
- "@things-factory/export-ui": "^5.0.0-alpha.50",
80
- "@things-factory/export-ui-csv": "^5.0.0-alpha.50",
81
- "@things-factory/export-ui-excel": "^5.0.0-alpha.50",
82
- "@things-factory/geography": "^5.0.0-alpha.50",
83
- "@things-factory/grist-ui": "^5.0.0-alpha.50",
84
- "@things-factory/help": "^5.0.0-alpha.50",
85
- "@things-factory/i18n-base": "^5.0.0-alpha.50",
86
- "@things-factory/integration-fulfillment": "^5.0.0-alpha.50",
87
- "@things-factory/integration-lmd": "^5.0.0-alpha.50",
88
- "@things-factory/lite-menu": "^5.0.0-alpha.50",
89
- "@things-factory/marketplace-base": "^5.0.0-alpha.50",
90
- "@things-factory/more-ui": "^5.0.0-alpha.50",
91
- "@things-factory/notification": "^5.0.0-alpha.50",
92
- "@things-factory/oauth2-client": "^5.0.0-alpha.50",
93
- "@things-factory/pdf": "^5.0.0-alpha.50",
94
- "@things-factory/product-base": "^5.0.0-alpha.50",
95
- "@things-factory/resource-ui": "^5.0.0-alpha.50",
96
- "@things-factory/scene-google-map": "^5.0.0-alpha.50",
97
- "@things-factory/scene-visualizer": "^5.0.0-alpha.50",
98
- "@things-factory/setting-ui": "^5.0.0-alpha.50",
99
- "@things-factory/system-ui": "^5.0.0-alpha.50",
100
- "@things-factory/warehouse-base": "^5.0.0-alpha.50"
70
+ "@things-factory/apptool-ui": "^5.0.0-alpha.52",
71
+ "@things-factory/attachment-base": "^5.0.0-alpha.52",
72
+ "@things-factory/auth-ui": "^5.0.0-alpha.52",
73
+ "@things-factory/biz-base": "^5.0.0-alpha.52",
74
+ "@things-factory/board-service": "^5.0.0-alpha.52",
75
+ "@things-factory/board-ui": "^5.0.0-alpha.52",
76
+ "@things-factory/code-ui": "^5.0.0-alpha.52",
77
+ "@things-factory/context-ui": "^5.0.0-alpha.52",
78
+ "@things-factory/dashboard": "^5.0.0-alpha.52",
79
+ "@things-factory/export-ui": "^5.0.0-alpha.52",
80
+ "@things-factory/export-ui-csv": "^5.0.0-alpha.52",
81
+ "@things-factory/export-ui-excel": "^5.0.0-alpha.52",
82
+ "@things-factory/geography": "^5.0.0-alpha.52",
83
+ "@things-factory/grist-ui": "^5.0.0-alpha.52",
84
+ "@things-factory/help": "^5.0.0-alpha.52",
85
+ "@things-factory/i18n-base": "^5.0.0-alpha.52",
86
+ "@things-factory/integration-fulfillment": "^5.0.0-alpha.52",
87
+ "@things-factory/integration-lmd": "^5.0.0-alpha.52",
88
+ "@things-factory/lite-menu": "^5.0.0-alpha.52",
89
+ "@things-factory/marketplace-base": "^5.0.0-alpha.53",
90
+ "@things-factory/more-ui": "^5.0.0-alpha.52",
91
+ "@things-factory/notification": "^5.0.0-alpha.52",
92
+ "@things-factory/oauth2-client": "^5.0.0-alpha.52",
93
+ "@things-factory/pdf": "^5.0.0-alpha.52",
94
+ "@things-factory/product-base": "^5.0.0-alpha.53",
95
+ "@things-factory/resource-ui": "^5.0.0-alpha.52",
96
+ "@things-factory/scene-google-map": "^5.0.0-alpha.52",
97
+ "@things-factory/scene-visualizer": "^5.0.0-alpha.52",
98
+ "@things-factory/setting-ui": "^5.0.0-alpha.52",
99
+ "@things-factory/system-ui": "^5.0.0-alpha.52",
100
+ "@things-factory/warehouse-base": "^5.0.0-alpha.53"
101
101
  },
102
102
  "devDependencies": {
103
- "@things-factory/builder": "^5.0.0-alpha.50",
103
+ "@things-factory/builder": "^5.0.0-alpha.52",
104
104
  "@types/node-fetch": "^2.5.7"
105
105
  },
106
- "gitHead": "ba819c6d9ddf60319283f620b80c9737e7486a91"
106
+ "gitHead": "c2bd847741fa037a3472fefa7688be73ce231eac"
107
107
  }
@@ -1,11 +1,11 @@
1
- import uuid from 'uuid/v4'
1
+ import { v4 as uuidv4 } from 'uuid'
2
2
 
3
3
  export class NoGenerator {
4
4
  static id() {
5
- return `${uuid()}`
5
+ return `${uuidv4()}`
6
6
  }
7
7
 
8
8
  static sku() {
9
- return `SKU-${uuid()}`
9
+ return `SKU-${uuidv4()}`
10
10
  }
11
11
  }