@colijnit/sharedcomponents 1.0.38 → 1.0.39
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.
- package/3rdpartylicenses.txt +1198 -0
- package/bundles/colijnit-sharedcomponents.umd.js +5 -29
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +1 -1
- package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +1 -1
- package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +1 -18
- package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +6 -6
- package/esm2015/lib/components/stock/stock.component.js +1 -1
- package/favicon.ico +0 -0
- package/fesm2015/colijnit-sharedcomponents.js +5 -19
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +12 -0
- package/lib/components/stock/components/stock-history/stock-history.component.d.ts +0 -2
- package/main.87c7441f408aa46a818e.js +1 -0
- package/package.json +1 -1
- package/polyfills.4a44032b137d291298c3.js +1 -0
- package/runtime.8aac21847ed3d3829cca.js +1 -0
- package/styles.24f196f586ef43bbe450.css +110 -0
|
@@ -2817,7 +2817,7 @@
|
|
|
2817
2817
|
if (!!this.stockHistory) return [3 /*break*/, 2];
|
|
2818
2818
|
stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
|
|
2819
2819
|
stockHistoryInformation.type = "V";
|
|
2820
|
-
stockHistoryInformation.goodId = this.article;
|
|
2820
|
+
stockHistoryInformation.goodId = this.article.goodId;
|
|
2821
2821
|
_a = this;
|
|
2822
2822
|
return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
|
|
2823
2823
|
case 1:
|
|
@@ -2837,7 +2837,7 @@
|
|
|
2837
2837
|
if (!!this.orderSupplyStockHistory) return [3 /*break*/, 2];
|
|
2838
2838
|
stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
|
|
2839
2839
|
stockHistoryInformation.type = "O";
|
|
2840
|
-
stockHistoryInformation.goodId = this.article;
|
|
2840
|
+
stockHistoryInformation.goodId = this.article.goodId;
|
|
2841
2841
|
_a = this;
|
|
2842
2842
|
return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
|
|
2843
2843
|
case 1:
|
|
@@ -2857,7 +2857,7 @@
|
|
|
2857
2857
|
if (!!this.orderCommissionStockHistory) return [3 /*break*/, 2];
|
|
2858
2858
|
stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
|
|
2859
2859
|
stockHistoryInformation.type = "C";
|
|
2860
|
-
stockHistoryInformation.goodId = this.article;
|
|
2860
|
+
stockHistoryInformation.goodId = this.article.goodId;
|
|
2861
2861
|
_a = this;
|
|
2862
2862
|
return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
|
|
2863
2863
|
case 1:
|
|
@@ -2877,7 +2877,7 @@
|
|
|
2877
2877
|
if (!!this.orderStockHistory) return [3 /*break*/, 2];
|
|
2878
2878
|
stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
|
|
2879
2879
|
stockHistoryInformation.type = "B";
|
|
2880
|
-
stockHistoryInformation.goodId = this.article;
|
|
2880
|
+
stockHistoryInformation.goodId = this.article.goodId;
|
|
2881
2881
|
_a = this;
|
|
2882
2882
|
return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
|
|
2883
2883
|
case 1:
|
|
@@ -2897,7 +2897,7 @@
|
|
|
2897
2897
|
if (!!this.orderAllocationStockHistory) return [3 /*break*/, 2];
|
|
2898
2898
|
stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
|
|
2899
2899
|
stockHistoryInformation.type = "T";
|
|
2900
|
-
stockHistoryInformation.goodId = this.article;
|
|
2900
|
+
stockHistoryInformation.goodId = this.article.goodId;
|
|
2901
2901
|
_a = this;
|
|
2902
2902
|
return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
|
|
2903
2903
|
case 1:
|
|
@@ -3092,30 +3092,6 @@
|
|
|
3092
3092
|
this._stockService = _stockService;
|
|
3093
3093
|
this.icons = exports["ɵbi"];
|
|
3094
3094
|
}
|
|
3095
|
-
StockHistoryComponent.prototype.openSendMethodDialog = function (data) {
|
|
3096
|
-
if (!(this._stockService.printLayoutParams instanceof printPriceStickers_bo.PrintPriceStickers)) {
|
|
3097
|
-
this._stockService.printLayoutParams.goodId = data.goodId;
|
|
3098
|
-
this._stockService.printLayoutParams.warehouse = data.warehouseNo;
|
|
3099
|
-
}
|
|
3100
|
-
};
|
|
3101
|
-
StockHistoryComponent.prototype.getStockHistory = function () {
|
|
3102
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
3103
|
-
var stockHistoryInformation, _a;
|
|
3104
|
-
return __generator(this, function (_b) {
|
|
3105
|
-
switch (_b.label) {
|
|
3106
|
-
case 0:
|
|
3107
|
-
stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
|
|
3108
|
-
stockHistoryInformation.type = "B";
|
|
3109
|
-
stockHistoryInformation.goodId = this.articleGoodId;
|
|
3110
|
-
_a = this;
|
|
3111
|
-
return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
|
|
3112
|
-
case 1:
|
|
3113
|
-
_a.stockHistory = _b.sent();
|
|
3114
|
-
return [2 /*return*/];
|
|
3115
|
-
}
|
|
3116
|
-
});
|
|
3117
|
-
});
|
|
3118
|
-
};
|
|
3119
3095
|
return StockHistoryComponent;
|
|
3120
3096
|
}());
|
|
3121
3097
|
StockHistoryComponent.decorators = [
|