@colijnit/sharedcomponents 255.1.21 → 255.1.22

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 (36) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +489 -412
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.d.ts +94 -93
  4. package/colijnit-sharedcomponents.metadata.json +1 -1
  5. package/esm2015/colijnit-sharedcomponents.js +95 -94
  6. package/esm2015/lib/components/stock/base/base-stock.component.js +18 -0
  7. package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +46 -35
  8. package/esm2015/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.js +45 -34
  9. package/esm2015/lib/components/stock/components/order-stock-history/order-stock-history.component.js +46 -35
  10. package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +19 -8
  11. package/esm2015/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.js +46 -35
  12. package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +19 -8
  13. package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +20 -7
  14. package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +161 -141
  15. package/esm2015/lib/components/stock/components/stock-prognose/stock-prognose.component.js +26 -5
  16. package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +13 -115
  17. package/esm2015/lib/components/stock/stock.component.js +31 -32
  18. package/esm2015/lib/components/tab-bar/tab-bar.component.js +1 -4
  19. package/esm2015/lib/components/tab-bar/tab.interface.js +1 -1
  20. package/fesm2015/colijnit-sharedcomponents.js +427 -419
  21. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  22. package/lib/components/stock/base/base-stock.component.d.ts +6 -0
  23. package/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.d.ts +9 -7
  24. package/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.d.ts +9 -7
  25. package/lib/components/stock/components/order-stock-history/order-stock-history.component.d.ts +9 -7
  26. package/lib/components/stock/components/order-stock-tab/order-stock-tab.component.d.ts +4 -2
  27. package/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.d.ts +9 -7
  28. package/lib/components/stock/components/order-tab/order-tab.component.d.ts +4 -3
  29. package/lib/components/stock/components/stock-history/stock-history.component.d.ts +4 -2
  30. package/lib/components/stock/components/stock-location/stock-location.component.d.ts +22 -18
  31. package/lib/components/stock/components/stock-prognose/stock-prognose.component.d.ts +7 -2
  32. package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +0 -28
  33. package/lib/components/stock/stock.component.d.ts +13 -13
  34. package/lib/components/stock/style/_material-definition.scss +1 -1
  35. package/lib/components/tab-bar/style/_layout.scss +2 -2
  36. package/package.json +1 -1
@@ -2202,7 +2202,7 @@
2202
2202
  ]; };
2203
2203
 
2204
2204
  /** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
2205
- exports["ɵbs"] = void 0;
2205
+ exports["ɵbt"] = void 0;
2206
2206
  (function (Icon) {
2207
2207
  Icon["Account"] = "account";
2208
2208
  Icon["AngleLeftSolid"] = "angle_left_solid";
@@ -2268,7 +2268,7 @@
2268
2268
  Icon["Trashbin"] = "trashbin";
2269
2269
  Icon["Xml"] = "xml";
2270
2270
  Icon["XSolid"] = "x_solid";
2271
- })(exports["ɵbs"] || (exports["ɵbs"] = {}));
2271
+ })(exports["ɵbt"] || (exports["ɵbt"] = {}));
2272
2272
 
2273
2273
  /** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
2274
2274
  var IconSvg = {
@@ -2398,7 +2398,7 @@
2398
2398
  this._changeDetector = _changeDetector;
2399
2399
  this._connector = _connector;
2400
2400
  this.iconCacheService = iconCacheService;
2401
- this.icons = exports["ɵbs"];
2401
+ this.icons = exports["ɵbt"];
2402
2402
  this.handleStickerClicked = new i0.EventEmitter();
2403
2403
  this.articleWarehouse = [];
2404
2404
  this.allWarehouses = [];
@@ -2426,7 +2426,7 @@
2426
2426
  this.articleExtended = articleOrGoodId;
2427
2427
  this._goodId = articleOrGoodId.goodId;
2428
2428
  }
2429
- else if (typeof articleOrGoodId === "number") {
2429
+ else if (typeof articleOrGoodId === 'number') {
2430
2430
  this._goodId = articleOrGoodId;
2431
2431
  }
2432
2432
  },
@@ -2475,7 +2475,7 @@
2475
2475
  var _this = this;
2476
2476
  var articleData = new articleStock.ArticleStock();
2477
2477
  articleData.goodId = goodId.toString();
2478
- articleData.viewKind = "M";
2478
+ articleData.viewKind = 'M';
2479
2479
  this._stockService.getStockInformation(articleData).then(function (result) {
2480
2480
  _this.stockInformation = result;
2481
2481
  _this.stockInformation.forEach(function (articleStock) { return _this.allAvailableStock += articleStock.availableStock; });
@@ -2557,8 +2557,8 @@
2557
2557
  }());
2558
2558
  StockComponent.decorators = [
2559
2559
  { type: i0.Component, args: [{
2560
- selector: "co-stock",
2561
- template: "\n <div class=\"stock-info-container\" *ngIf=\"loaded && articleExtended\">\n <co-stock-information [article]=\"articleExtended\"\n [articleStockState]=\"articleStockState\"\n [allAvailableStockInformation]=\"allAvailableStock\"\n [allTechnicalStockInformation]=\"allTechnicalStock\"\n [economicalStock]=\"economicalStock\"\n >\n </co-stock-information>\n <co-stock-tabs [stockInformation]=\"stockInformation\"\n [article]=\"articleExtended\"\n [articleFlat]=\"articleFlat\"\n (transferIconClicked)=\"handleStockTransferClick($event)\"\n (sendMethodDialogClicked)=\"handleSendMethodClick($event)\"\n [warehouses]=\"warehouses\"\n [showStockTransfer]=\"showStockTransfer\"\n\n ></co-stock-tabs>\n </div>\n ",
2560
+ selector: 'co-stock',
2561
+ template: "\n <div class=\"stock-info-container\" *ngIf=\"loaded && articleExtended\">\n <co-stock-information [article]=\"articleExtended\"\n [articleStockState]=\"articleStockState\"\n [allAvailableStockInformation]=\"allAvailableStock\"\n [allTechnicalStockInformation]=\"allTechnicalStock\"\n [economicalStock]=\"economicalStock\"\n >\n </co-stock-information>\n <co-stock-tabs [stockInformation]=\"stockInformation\"\n [article]=\"articleExtended\"\n [articleFlat]=\"articleFlat\"\n (transferIconClicked)=\"handleStockTransferClick($event)\"\n (sendMethodDialogClicked)=\"handleSendMethodClick($event)\"\n [warehouses]=\"warehouses\"\n [showStockTransfer]=\"showStockTransfer\"\n ></co-stock-tabs>\n </div>\n ",
2562
2562
  encapsulation: i0.ViewEncapsulation.None
2563
2563
  },] }
2564
2564
  ];
@@ -2578,7 +2578,7 @@
2578
2578
  okButtonClicked: [{ type: i0.Output }],
2579
2579
  cancelButtonClicked: [{ type: i0.Output }],
2580
2580
  handleClick: [{ type: i0.Output }],
2581
- showClass: [{ type: i0.HostBinding, args: ["class.co-stock",] }]
2581
+ showClass: [{ type: i0.HostBinding, args: ['class.co-stock',] }]
2582
2582
  };
2583
2583
 
2584
2584
  var StockInformationComponent = /** @class */ (function () {
@@ -2605,7 +2605,7 @@
2605
2605
  function StockInformationGridComponent(iconCacheService, _stockService) {
2606
2606
  this.iconCacheService = iconCacheService;
2607
2607
  this._stockService = _stockService;
2608
- this.icons = exports["ɵbs"];
2608
+ this.icons = exports["ɵbt"];
2609
2609
  this.transferIconClicked = new i0.EventEmitter();
2610
2610
  this.historyClicked = new i0.EventEmitter();
2611
2611
  this.cancelButtonClicked = new i0.EventEmitter();
@@ -2856,7 +2856,7 @@
2856
2856
  this.stockState = [];
2857
2857
  this.locations = [];
2858
2858
  this.stockStatus = [];
2859
- this.icons = exports["ɵbs"];
2859
+ this.icons = exports["ɵbt"];
2860
2860
  }
2861
2861
  StockTransferComponent.prototype.ngAfterViewInit = function () {
2862
2862
  this.getStockManagementWarehouses();
@@ -3452,14 +3452,14 @@
3452
3452
  }());
3453
3453
 
3454
3454
  var sendMethodsWithIcon = [
3455
- new SendMethod(sendMethodType_enum.SendMethodType.Fax, "Fax", exports["ɵbs"].PrintRegular),
3456
- new SendMethod(sendMethodType_enum.SendMethodType.Print, "Print", exports["ɵbs"].PrintSolid),
3457
- new SendMethod(sendMethodType_enum.SendMethodType.Email, "Email", exports["ɵbs"].AtSolid),
3458
- new SendMethod(sendMethodType_enum.SendMethodType.Edi, "Edi", exports["ɵbs"].FileExportSolid),
3459
- new SendMethod(sendMethodType_enum.SendMethodType.EmailTemplate, "Email template", exports["ɵbs"].EnvelopeRegular),
3460
- new SendMethod(sendMethodType_enum.SendMethodType.Sms, "Sms", exports["ɵbs"].MessageSmsSolid),
3461
- new SendMethod(sendMethodType_enum.SendMethodType.WebService, "Webservice", exports["ɵbs"].PrintRegular),
3462
- new SendMethod(sendMethodType_enum.SendMethodType.Pdf, "Pdf", exports["ɵbs"].Pdf)
3455
+ new SendMethod(sendMethodType_enum.SendMethodType.Fax, "Fax", exports["ɵbt"].PrintRegular),
3456
+ new SendMethod(sendMethodType_enum.SendMethodType.Print, "Print", exports["ɵbt"].PrintSolid),
3457
+ new SendMethod(sendMethodType_enum.SendMethodType.Email, "Email", exports["ɵbt"].AtSolid),
3458
+ new SendMethod(sendMethodType_enum.SendMethodType.Edi, "Edi", exports["ɵbt"].FileExportSolid),
3459
+ new SendMethod(sendMethodType_enum.SendMethodType.EmailTemplate, "Email template", exports["ɵbt"].EnvelopeRegular),
3460
+ new SendMethod(sendMethodType_enum.SendMethodType.Sms, "Sms", exports["ɵbt"].MessageSmsSolid),
3461
+ new SendMethod(sendMethodType_enum.SendMethodType.WebService, "Webservice", exports["ɵbt"].PrintRegular),
3462
+ new SendMethod(sendMethodType_enum.SendMethodType.Pdf, "Pdf", exports["ɵbt"].Pdf)
3463
3463
  ];
3464
3464
  var SendMethodDialogComponent = /** @class */ (function () {
3465
3465
  function SendMethodDialogComponent(iconCacheService, _changeDetector, _sharedService, _sendMethodService) {
@@ -3468,7 +3468,7 @@
3468
3468
  this._changeDetector = _changeDetector;
3469
3469
  this._sharedService = _sharedService;
3470
3470
  this._sendMethodService = _sendMethodService;
3471
- this.icons = exports["ɵbs"];
3471
+ this.icons = exports["ɵbt"];
3472
3472
  this.printerList = [];
3473
3473
  this.emailLayouts = [];
3474
3474
  this.printLayouts = [];
@@ -3695,7 +3695,7 @@
3695
3695
  var LayoutSelectionComponent = /** @class */ (function () {
3696
3696
  function LayoutSelectionComponent(iconCacheService) {
3697
3697
  this.iconCacheService = iconCacheService;
3698
- this.icons = exports["ɵbs"];
3698
+ this.icons = exports["ɵbt"];
3699
3699
  this.layouts = [];
3700
3700
  this.requestChange = new i0.EventEmitter();
3701
3701
  this.showLayoutList = false;
@@ -3771,7 +3771,7 @@
3771
3771
  var SignatureButtonComponent = /** @class */ (function () {
3772
3772
  function SignatureButtonComponent(iconCacheService) {
3773
3773
  this.iconCacheService = iconCacheService;
3774
- this.icons = exports["ɵbs"];
3774
+ this.icons = exports["ɵbt"];
3775
3775
  }
3776
3776
  SignatureButtonComponent.prototype.showClass = function () {
3777
3777
  return true;
@@ -3881,7 +3881,7 @@
3881
3881
  this.sendMethodService = sendMethodService;
3882
3882
  this.iconService = iconService;
3883
3883
  this._service = _service;
3884
- this.icons = exports["ɵbs"];
3884
+ this.icons = exports["ɵbt"];
3885
3885
  this.printers = [];
3886
3886
  this.showPrinterList = false;
3887
3887
  }
@@ -4148,16 +4148,40 @@
4148
4148
  locationClicked: [{ type: i0.Output }]
4149
4149
  };
4150
4150
 
4151
- var OrderTabComponent = /** @class */ (function () {
4151
+ var BaseStockComponent = /** @class */ (function () {
4152
+ function BaseStockComponent() {
4153
+ }
4154
+ BaseStockComponent.prototype.ngOnInit = function () {
4155
+ this.getData();
4156
+ };
4157
+ BaseStockComponent.prototype.getData = function () {
4158
+ return __awaiter(this, void 0, void 0, function () {
4159
+ return __generator(this, function (_a) {
4160
+ return [2 /*return*/];
4161
+ });
4162
+ });
4163
+ };
4164
+ return BaseStockComponent;
4165
+ }());
4166
+ BaseStockComponent.decorators = [
4167
+ { type: i0.Directive }
4168
+ ];
4169
+ BaseStockComponent.propDecorators = {
4170
+ goodId: [{ type: i0.Input }]
4171
+ };
4172
+
4173
+ var OrderTabComponent = /** @class */ (function (_super) {
4174
+ __extends(OrderTabComponent, _super);
4152
4175
  function OrderTabComponent(iconCacheService, _stockService) {
4153
- this.iconCacheService = iconCacheService;
4154
- this._stockService = _stockService;
4155
- this.icons = exports["ɵbs"];
4156
- this.articleStockInformation = [];
4157
- this.inOrderInformation = [];
4158
- this.locationClicked = new i0.EventEmitter();
4159
- this.transferIconClicked = new i0.EventEmitter();
4160
- this.sendMethodDialogClicked = new i0.EventEmitter();
4176
+ var _this = _super.call(this) || this;
4177
+ _this.iconCacheService = iconCacheService;
4178
+ _this._stockService = _stockService;
4179
+ _this.icons = exports["ɵbt"];
4180
+ _this.locationClicked = new i0.EventEmitter();
4181
+ _this.transferIconClicked = new i0.EventEmitter();
4182
+ _this.sendMethodDialogClicked = new i0.EventEmitter();
4183
+ _this.data = [];
4184
+ return _this;
4161
4185
  }
4162
4186
  OrderTabComponent.prototype.openSendMethodDialog = function (data) {
4163
4187
  this.sendMethodDialogClicked.emit(data);
@@ -4165,12 +4189,27 @@
4165
4189
  OrderTabComponent.prototype.handleStockTransferClick = function (event) {
4166
4190
  this.transferIconClicked.emit(event);
4167
4191
  };
4192
+ OrderTabComponent.prototype.getData = function () {
4193
+ return __awaiter(this, void 0, void 0, function () {
4194
+ var inOrderData;
4195
+ var _this = this;
4196
+ return __generator(this, function (_a) {
4197
+ inOrderData = new articleTransaction.ArticleTransaction();
4198
+ inOrderData.type = "V";
4199
+ inOrderData.goodId = this.goodId.toString();
4200
+ this._stockService.getArticleTransaction(inOrderData).then(function (result) {
4201
+ _this.data = result;
4202
+ });
4203
+ return [2 /*return*/];
4204
+ });
4205
+ });
4206
+ };
4168
4207
  return OrderTabComponent;
4169
- }());
4208
+ }(BaseStockComponent));
4170
4209
  OrderTabComponent.decorators = [
4171
4210
  { type: i0.Component, args: [{
4172
4211
  selector: "co-order-tab",
4173
- template: "\n <co-simple-grid [data]=\"inOrderInformation\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'IN_ORDER' | sharedLocalize\" [field]=\"'transactionNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'CUSTOMER' | sharedLocalize\" [field]=\"'customerName'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.transactionDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | sharedLocalize\" [field]=\"'amountInOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | sharedLocalize\" [field]=\"'warehouseNumber'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DESCRIPTION' | sharedLocalize\" [field]=\"'warehouseDescription'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'TRANSFER' | sharedLocalize\" [field]=\"'transfer'\">\n <ng-template #template let-row=\"row\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.DeliveryTruck)\" (click)=\"handleStockTransferClick(row)\"></co-icon>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STICKER' | sharedLocalize\" [field]=\"'sticker'\">\n <ng-template #template let-row=\"row\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.Print)\" (click)=\"openSendMethodDialog(row)\"></co-icon>\n </ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n ",
4212
+ template: "\n <co-simple-grid [data]=\"data\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'IN_ORDER' | sharedLocalize\" [field]=\"'transactionNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'CUSTOMER' | sharedLocalize\" [field]=\"'customerName'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.transactionDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | sharedLocalize\" [field]=\"'amountInOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | sharedLocalize\" [field]=\"'warehouseNumber'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DESCRIPTION' | sharedLocalize\" [field]=\"'warehouseDescription'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'TRANSFER' | sharedLocalize\" [field]=\"'transfer'\">\n <ng-template #template let-row=\"row\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.DeliveryTruck)\" (click)=\"handleStockTransferClick(row)\"></co-icon>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STICKER' | sharedLocalize\" [field]=\"'sticker'\">\n <ng-template #template let-row=\"row\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.Print)\" (click)=\"openSendMethodDialog(row)\"></co-icon>\n </ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n ",
4174
4213
  encapsulation: i0.ViewEncapsulation.None
4175
4214
  },] }
4176
4215
  ];
@@ -4179,8 +4218,6 @@
4179
4218
  { type: StockService }
4180
4219
  ]; };
4181
4220
  OrderTabComponent.propDecorators = {
4182
- articleStockInformation: [{ type: i0.Input }],
4183
- inOrderInformation: [{ type: i0.Input }],
4184
4221
  locationClicked: [{ type: i0.Output }],
4185
4222
  transferIconClicked: [{ type: i0.Output }],
4186
4223
  sendMethodDialogClicked: [{ type: i0.Output }]
@@ -4191,24 +4228,12 @@
4191
4228
  this._stockService = _stockService;
4192
4229
  this._dictionaryService = _dictionaryService;
4193
4230
  this._changeDetector = _changeDetector;
4194
- this.icons = exports["ɵbs"];
4231
+ this.icons = exports["ɵbt"];
4195
4232
  this.stockInformation = [];
4196
4233
  this.warehouses = [];
4197
4234
  this.transferIconClicked = new i0.EventEmitter();
4198
4235
  this.sendMethodDialogClicked = new i0.EventEmitter();
4199
- this.stockLocations = [];
4200
- this.stockHistory = [];
4201
- this.orderSupplyStockHistory = [];
4202
- this.orderCommissionStockHistory = [];
4203
- this.orderStockHistory = [];
4204
- this.orderAllocationStockHistory = [];
4205
- this.inOrderInformation = [];
4206
- this.orderInformation = [];
4207
- this.stockPrognose = [];
4208
4236
  this.selectedWarehouse = new stockManagementWarehouses_bo.StockManagementWarehouses();
4209
- this.articleDetailsInformation = new articleStockManagement.ArticleStockManagement();
4210
- this.showWarehouseSelection = false;
4211
- this.articleDetails = [];
4212
4237
  this.tabs = [];
4213
4238
  this.historyTabs = [];
4214
4239
  }
@@ -4251,107 +4276,12 @@
4251
4276
  this.handleWarehouseSelected(this.selectedWarehouse);
4252
4277
  this.getStockData(this.selectedWarehouse);
4253
4278
  };
4254
- StockTabsComponent.prototype.getStockHistory = function () {
4255
- var _this = this;
4256
- var stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
4257
- stockHistoryInformation.type = "V";
4258
- stockHistoryInformation.goodId = this.article.goodId.toString();
4259
- this._stockService.getStockHistory(stockHistoryInformation).then(function (result) {
4260
- _this.stockHistory = result;
4261
- });
4262
- };
4263
- StockTabsComponent.prototype.getOrderSupplyStockHistory = function () {
4264
- var _this = this;
4265
- var stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
4266
- stockHistoryInformation.type = "O";
4267
- stockHistoryInformation.goodId = this.article.goodId.toString();
4268
- this._stockService.getStockHistory(stockHistoryInformation).then(function (result) {
4269
- _this.orderSupplyStockHistory = result;
4270
- });
4271
- };
4272
- StockTabsComponent.prototype.getOrderCommissionStockHistory = function () {
4273
- var _this = this;
4274
- var stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
4275
- stockHistoryInformation.type = "C";
4276
- stockHistoryInformation.goodId = this.article.goodId.toString();
4277
- this._stockService.getStockHistory(stockHistoryInformation).then(function (result) {
4278
- _this.orderCommissionStockHistory = result;
4279
- });
4280
- };
4281
- StockTabsComponent.prototype.getOrderStockHistory = function () {
4282
- var _this = this;
4283
- var stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
4284
- stockHistoryInformation.type = "B";
4285
- stockHistoryInformation.goodId = this.article.goodId.toString();
4286
- this._stockService.getStockHistory(stockHistoryInformation).then(function (result) {
4287
- _this.orderStockHistory = result;
4288
- });
4289
- };
4290
- StockTabsComponent.prototype.getAllocationStockHistory = function () {
4291
- var _this = this;
4292
- var stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
4293
- stockHistoryInformation.type = "T";
4294
- stockHistoryInformation.goodId = this.article.goodId.toString();
4295
- this._stockService.getStockHistory(stockHistoryInformation).then(function (result) {
4296
- _this.orderAllocationStockHistory = result;
4297
- });
4298
- };
4299
- StockTabsComponent.prototype.getInOrderData = function () {
4300
- var _this = this;
4301
- var inOrderData = new articleTransaction.ArticleTransaction();
4302
- inOrderData.type = "V";
4303
- inOrderData.goodId = this.stockInformation[0].goodId.toString();
4304
- this._stockService.getArticleTransaction(inOrderData).then(function (result) {
4305
- _this.inOrderInformation = result;
4306
- });
4307
- };
4308
- StockTabsComponent.prototype.getOrderData = function () {
4309
- var _this = this;
4310
- var orderData = new articleTransaction.ArticleTransaction();
4311
- orderData.type = "I";
4312
- orderData.goodId = this.stockInformation[0].goodId.toString();
4313
- this._stockService.getArticleTransaction(orderData).then(function (result) {
4314
- _this.orderInformation = result;
4315
- });
4316
- };
4317
- StockTabsComponent.prototype.getStockPrognose = function (warehouseNo) {
4318
- var _this = this;
4319
- this._stockService.stockPrognose(this.article.goodId, warehouseNo).then(function (result) {
4320
- _this.stockPrognose = result;
4321
- });
4322
- };
4323
4279
  StockTabsComponent.prototype.handleWarehouseSelected = function (event) {
4324
- var _this = this;
4325
4280
  this.selectedWarehouse = event;
4326
4281
  this._stockService.warehouseSelected.emit(event);
4327
- if (this.tabs[1].active) {
4328
- this.getStockPrognose(this.selectedWarehouse.warehouseNo);
4329
- }
4330
- if (this.tabs[2].active) {
4331
- this.articleDetailsInformation.warehouseNumber = event.warehouseNo;
4332
- this.articleDetailsInformation.goodId = this.article.goodId.toString();
4333
- this._stockService.getArticleDetails(this.articleDetailsInformation).then(function (details) {
4334
- _this.articleDetails = details;
4335
- });
4336
- }
4337
- };
4338
- StockTabsComponent.prototype.getStockLocations = function () {
4339
- var _this = this;
4340
- this._stockService.getStockManagementLocations(this.selectedWarehouse.warehouseNo).then(function (result) {
4341
- _this.stockLocations = result;
4342
- });
4343
4282
  };
4344
4283
  StockTabsComponent.prototype.getStockData = function (warehouse) {
4345
4284
  this.handleWarehouseSelected(warehouse);
4346
- this.getStockPrognose(warehouse.warehouseNo);
4347
- this.getOrderData();
4348
- this.getInOrderData();
4349
- this.getAllocationStockHistory();
4350
- this.getOrderStockHistory();
4351
- this.getOrderCommissionStockHistory();
4352
- this.getOrderSupplyStockHistory();
4353
- this.getStockHistory();
4354
- this.getStockLocations();
4355
4285
  this._changeDetector.markForCheck();
4356
4286
  this._changeDetector.detectChanges();
4357
4287
  };
@@ -4363,7 +4293,7 @@
4363
4293
  StockTabsComponent.decorators = [
4364
4294
  { type: i0.Component, args: [{
4365
4295
  selector: "co-stock-tabs",
4366
- template: "\n <co-tab-bar [wareHouseLabel]=\"'CHOICES' | sharedLocalize\"\n [wareHouseSearchLabel]=\"'SEARCH' | sharedLocalize\"\n [tabs]=\"tabs\"\n [dataWareHouseCode]=\"warehouses\"\n [selectedWarehouse]=\"selectedWarehouse\"\n [secondaryTabs]=\"historyTabs\"\n [ActivateSecondaryTabs]=\"tabs[5].active\"\n [showWarehouseSelection]=\"tabs[1].active || tabs[2].active\"\n (warehouseSelected)=\"handleWarehouseSelected($event)\"\n ></co-tab-bar>\n\n <co-stock-tab *ngIf=\"tabs[0].active\"\n [articleStockInformation]=\"stockInformation\"\n (locationClicked)=\"handleLocationClicked($event)\"\n ></co-stock-tab>\n\n <co-stock-prognose *ngIf=\"tabs[1].active\"\n [stockPrognose]=\"stockPrognose\"\n ></co-stock-prognose>\n\n <co-stock-location *ngIf=\"tabs[2].active\"\n [articleStockInfo]=\"articleDetails\"\n [articleStockInformation]=\"stockInformation\"\n [article]=\"article\"\n [articleFlat]=\"articleFlat\"\n [selectedWarehouse]=\"selectedWarehouse\"\n [dataWareHouseCode]=\"warehouses\"\n [stockLocations]=\"stockLocations\"\n (transferIconClicked)=\"transferIconClicked.emit($event)\"\n (sendMethodDialogClicked)=\"sendMethodDialogClicked.emit($event)\"\n [showStockTransfer]=\"showStockTransfer\"\n (showStockTransferChange)=\"onShowStockTransferChange($event)\"\n ></co-stock-location>\n\n <co-order-tab *ngIf=\"tabs[3].active\"\n [articleStockInformation]=\"stockInformation\"\n [inOrderInformation]=\"inOrderInformation\"\n (transferIconClicked)=\"transferIconClicked.emit($event)\"\n (sendMethodDialogClicked)=\"sendMethodDialogClicked.emit($event)\"\n ></co-order-tab>\n\n <co-order-stock-tab *ngIf=\"tabs[4].active\"\n [orderInformation]=\"orderInformation\"\n ></co-order-stock-tab>\n\n <co-stock-history *ngIf=\"historyTabs[0].active && tabs[5].active\"\n [stockHistory]=\"stockHistory\"\n ></co-stock-history>\n\n <co-order-supply-stock-history *ngIf=\"historyTabs[1].active && tabs[5].active\"\n [orderSupplyStockHistory]=\"orderSupplyStockHistory\"\n ></co-order-supply-stock-history>\n\n <co-order-stock-commission-history *ngIf=\"historyTabs[2].active && tabs[5].active\"\n [orderStockCommissionHistory]=\"orderCommissionStockHistory\"\n ></co-order-stock-commission-history>\n\n <co-order-stock-history *ngIf=\"historyTabs[3].active && tabs[5].active\"\n [orderStockHistory]=\"orderStockHistory\"\n ></co-order-stock-history>\n\n <co-allocation-stock-history *ngIf=\"historyTabs[4].active && tabs[5].active\"\n [allocationStockHistory]=\"orderAllocationStockHistory\"\n ></co-allocation-stock-history>\n\n ",
4296
+ template: "\n <co-tab-bar [wareHouseLabel]=\"'CHOICES' | sharedLocalize\"\n [wareHouseSearchLabel]=\"'SEARCH' | sharedLocalize\"\n [tabs]=\"tabs\"\n [dataWareHouseCode]=\"warehouses\"\n [selectedWarehouse]=\"selectedWarehouse\"\n [secondaryTabs]=\"historyTabs\"\n [ActivateSecondaryTabs]=\"tabs[5].active\"\n [showWarehouseSelection]=\"tabs[1].active || tabs[2].active\"\n (warehouseSelected)=\"handleWarehouseSelected($event)\"\n ></co-tab-bar>\n\n <co-stock-tab *ngIf=\"tabs[0].active\"\n [articleStockInformation]=\"stockInformation\"\n (locationClicked)=\"handleLocationClicked($event)\"\n ></co-stock-tab>\n\n <co-stock-prognose *ngIf=\"tabs[1].active\"\n [goodId]=\"article.goodId\"\n [warehouseNo]=\"selectedWarehouse.warehouseNo\"\n ></co-stock-prognose>\n\n <co-stock-location *ngIf=\"tabs[2].active\"\n [articleStockInformation]=\"stockInformation\"\n [goodId]=\"article.goodId\"\n [warehouseNo]=\"selectedWarehouse.warehouseNo\"\n [articleFlat]=\"articleFlat\"\n [dataWareHouseCode]=\"warehouses\"\n [showStockTransfer]=\"showStockTransfer\"\n (transferIconClicked)=\"transferIconClicked.emit($event)\"\n (sendMethodDialogClicked)=\"sendMethodDialogClicked.emit($event)\"\n (showStockTransferChange)=\"onShowStockTransferChange($event)\"\n ></co-stock-location>\n\n <co-order-tab *ngIf=\"tabs[3].active\"\n [goodId]=\"article.goodId\"\n (transferIconClicked)=\"transferIconClicked.emit($event)\"\n (sendMethodDialogClicked)=\"sendMethodDialogClicked.emit($event)\"\n ></co-order-tab>\n\n <co-order-stock-tab *ngIf=\"tabs[4].active\"\n [goodId]=\"article.goodId\"\n ></co-order-stock-tab>\n\n <co-stock-history *ngIf=\"historyTabs[0].active && tabs[5].active\"\n [goodId]=\"article.goodId\"\n ></co-stock-history>\n\n <co-order-supply-stock-history *ngIf=\"historyTabs[1].active && tabs[5].active\"\n [goodId]=\"article.goodId\"\n ></co-order-supply-stock-history>\n\n <co-order-stock-commission-history *ngIf=\"historyTabs[2].active && tabs[5].active\"\n [goodId]=\"article.goodId\"\n ></co-order-stock-commission-history>\n\n <co-order-stock-history *ngIf=\"historyTabs[3].active && tabs[5].active\"\n [goodId]=\"article.goodId\"\n ></co-order-stock-history>\n\n <co-allocation-stock-history *ngIf=\"historyTabs[4].active && tabs[5].active\"\n [goodId]=\"article.goodId\"\n ></co-allocation-stock-history>\n\n ",
4367
4297
  encapsulation: i0.ViewEncapsulation.None
4368
4298
  },] }
4369
4299
  ];
@@ -4384,7 +4314,7 @@
4384
4314
 
4385
4315
  var StockHistoryTabsComponent = /** @class */ (function () {
4386
4316
  function StockHistoryTabsComponent() {
4387
- this.icons = exports["ɵbs"];
4317
+ this.icons = exports["ɵbt"];
4388
4318
  this.selectedTab = 0;
4389
4319
  }
4390
4320
  return StockHistoryTabsComponent;
@@ -4400,83 +4330,104 @@
4400
4330
  stockInformation: [{ type: i0.Input }]
4401
4331
  };
4402
4332
 
4403
- var OrderStockTabComponent = /** @class */ (function () {
4333
+ var OrderStockTabComponent = /** @class */ (function (_super) {
4334
+ __extends(OrderStockTabComponent, _super);
4404
4335
  function OrderStockTabComponent(iconCacheService, _stockService) {
4405
- this.iconCacheService = iconCacheService;
4406
- this._stockService = _stockService;
4407
- this.icons = exports["ɵbs"];
4408
- this.orderInformation = [];
4336
+ var _this = _super.call(this) || this;
4337
+ _this.iconCacheService = iconCacheService;
4338
+ _this._stockService = _stockService;
4339
+ _this.icons = exports["ɵbt"];
4340
+ _this.data = [];
4341
+ return _this;
4409
4342
  }
4343
+ OrderStockTabComponent.prototype.getData = function () {
4344
+ return __awaiter(this, void 0, void 0, function () {
4345
+ var orderData;
4346
+ var _this = this;
4347
+ return __generator(this, function (_a) {
4348
+ orderData = new articleTransaction.ArticleTransaction();
4349
+ orderData.type = "I";
4350
+ orderData.goodId = this.goodId.toString();
4351
+ this._stockService.getArticleTransaction(orderData).then(function (result) {
4352
+ _this.data = result;
4353
+ });
4354
+ return [2 /*return*/];
4355
+ });
4356
+ });
4357
+ };
4410
4358
  return OrderStockTabComponent;
4411
- }());
4359
+ }(BaseStockComponent));
4412
4360
  OrderStockTabComponent.decorators = [
4413
4361
  { type: i0.Component, args: [{
4414
4362
  selector: "co-order-stock-tab",
4415
- template: "\n <co-simple-grid [data]=\"orderInformation\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'PURCHASE_ORDER_NR' | sharedLocalize\" [field]=\"'transactionNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.transactionDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | sharedLocalize\" [field]=\"'amountInOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RESERVED' | sharedLocalize\" [field]=\"'reserved'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'FREE_STOCK' | sharedLocalize\" [field]=\"'InOrderForStock'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.deliveryDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n ",
4363
+ template: "\n <co-simple-grid [data]=\"data\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'PURCHASE_ORDER_NR' | sharedLocalize\" [field]=\"'transactionNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.transactionDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | sharedLocalize\" [field]=\"'amountInOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RESERVED' | sharedLocalize\" [field]=\"'reserved'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'FREE_STOCK' | sharedLocalize\" [field]=\"'InOrderForStock'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.deliveryDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n ",
4416
4364
  encapsulation: i0.ViewEncapsulation.None
4417
4365
  },] }
4418
4366
  ];
4419
4367
  OrderStockTabComponent.ctorParameters = function () { return [
4420
4368
  { type: IconCacheService },
4421
4369
  { type: StockService }
4422
- ]; };
4423
- OrderStockTabComponent.propDecorators = {
4424
- orderInformation: [{ type: i0.Input }]
4425
- };
4370
+ ]; };
4426
4371
 
4427
- var StockLocationComponent = /** @class */ (function () {
4372
+ var StockLocationComponent = /** @class */ (function (_super) {
4373
+ __extends(StockLocationComponent, _super);
4428
4374
  function StockLocationComponent(iconCacheService, _stockService, _changeDetector) {
4429
- this.iconCacheService = iconCacheService;
4430
- this._stockService = _stockService;
4431
- this._changeDetector = _changeDetector;
4432
- this.icons = exports["ɵbs"];
4433
- this.articleStockInfo = [];
4434
- this.articleStockInformation = [];
4435
- this.articleWarehouse = [];
4436
- this.allWarehouses = [];
4437
- this.dataWareHouseCode = [];
4438
- this.transferIconClicked = new i0.EventEmitter();
4439
- this.sendMethodDialogClicked = new i0.EventEmitter();
4440
- this.showStockTransferChange = new i0.EventEmitter();
4441
- this.handleStickerClicked = new i0.EventEmitter();
4442
- this.showConfirmationDialog = false;
4443
- this.newStockLine = false;
4444
- this.showConfirmStockRow = false;
4445
- this.articleDetailsInformation = new articleStockManagement.ArticleStockManagement();
4446
- this.stockLocations = [];
4447
- this.stockStatus = [];
4448
- this.selectedArticleDetailsData = new articleDetails_bo.ArticleDetailsBo();
4449
- this._subs = [];
4375
+ var _this = _super.call(this) || this;
4376
+ _this.iconCacheService = iconCacheService;
4377
+ _this._stockService = _stockService;
4378
+ _this._changeDetector = _changeDetector;
4379
+ _this.icons = exports["ɵbt"];
4380
+ _this.articleStockInformation = [];
4381
+ _this.articleWarehouse = [];
4382
+ _this.allWarehouses = [];
4383
+ _this.dataWareHouseCode = [];
4384
+ _this.transferIconClicked = new i0.EventEmitter();
4385
+ _this.sendMethodDialogClicked = new i0.EventEmitter();
4386
+ _this.showStockTransferChange = new i0.EventEmitter();
4387
+ _this.handleStickerClicked = new i0.EventEmitter();
4388
+ _this.showConfirmationDialog = false;
4389
+ _this.newStockLine = false;
4390
+ _this.showConfirmStockRow = false;
4391
+ _this.articleDetailsInformation = new articleStockManagement.ArticleStockManagement();
4392
+ _this.stockStatus = [];
4393
+ _this.selectedArticleDetailsData = new articleDetails_bo.ArticleDetailsBo();
4394
+ _this.data = [];
4395
+ _this.stockLocations = [];
4396
+ _this._subs = [];
4397
+ return _this;
4450
4398
  }
4451
- Object.defineProperty(StockLocationComponent.prototype, "article", {
4452
- set: function (article) {
4399
+ Object.defineProperty(StockLocationComponent.prototype, "warehouseNo", {
4400
+ get: function () {
4401
+ return this._warehouseNo;
4402
+ },
4403
+ set: function (value) {
4404
+ if (this._warehouseNo !== value) {
4405
+ this._warehouseNo = value;
4406
+ this.getData();
4407
+ this._getWarehouseLocations();
4408
+ }
4453
4409
  },
4454
4410
  enumerable: false,
4455
4411
  configurable: true
4456
4412
  });
4457
- ;
4458
4413
  StockLocationComponent.prototype.ngOnInit = function () {
4459
4414
  var _this = this;
4460
4415
  this._stockService.getStockState().then(function (result) {
4461
4416
  _this.stockStatus = result;
4462
4417
  });
4463
- this._subs.push(this._stockService.warehouseSelected.subscribe(function (selectedWarehouse) {
4464
- _this._stockService.getStockManagementLocations(selectedWarehouse.warehouseNo).then(function (result) {
4465
- _this.stockLocations = result;
4466
- });
4418
+ this._subs.push(this._stockService.warehouseSelected.subscribe(function (warehouse) {
4419
+ _this.selectedWarehouse = warehouse;
4467
4420
  }));
4468
4421
  };
4469
4422
  StockLocationComponent.prototype.ngOnDestroy = function () {
4423
+ this._subs.forEach(function (s) { return s.unsubscribe(); });
4470
4424
  };
4471
4425
  StockLocationComponent.prototype.onShowStockTransferChange = function (show) {
4472
4426
  this.showStockTransfer = show;
4473
4427
  this.showStockTransferChange.emit(this.showStockTransfer);
4474
4428
  };
4475
4429
  StockLocationComponent.prototype.onLocationDropdownClick = function () {
4476
- var _this = this;
4477
- this._stockService.getStockManagementLocations(this.selectedWarehouse.warehouseNo).then(function (locations) {
4478
- _this.stockLocations = locations;
4479
- });
4430
+ this._getWarehouseLocations();
4480
4431
  };
4481
4432
  StockLocationComponent.prototype.locationChanged = function (row, event) {
4482
4433
  this.selectedLocationNo = event.locationNo;
@@ -4500,11 +4451,11 @@
4500
4451
  };
4501
4452
  StockLocationComponent.prototype.handleAddRow = function () {
4502
4453
  var _a;
4503
- if (!((_a = this.articleStockInfo) === null || _a === void 0 ? void 0 : _a.length)) {
4504
- this.articleStockInfo = [];
4454
+ if (!((_a = this.data) === null || _a === void 0 ? void 0 : _a.length)) {
4455
+ this.data = [];
4505
4456
  }
4506
- this.articleStockInfo.push(new articleDetails_bo.ArticleDetailsBo());
4507
- this.selectedArticleDetailsData = this.articleStockInfo[(this.articleStockInfo.length - 1)];
4457
+ this.data.push(new articleDetails_bo.ArticleDetailsBo());
4458
+ this.selectedArticleDetailsData = this.data[(this.data.length - 1)];
4508
4459
  this.newStockLine = true;
4509
4460
  this.showConfirmationDialog = true;
4510
4461
  };
@@ -4519,7 +4470,7 @@
4519
4470
  this.selectedArticleDetailsData.goodId = parseInt(this.articleDetailsInformation.goodId);
4520
4471
  }
4521
4472
  this.selectedArticleDetailsData.entryDate = new Date();
4522
- this.selectedArticleDetailsData.warehouseNo = this.selectedWarehouse.warehouseNo;
4473
+ this.selectedArticleDetailsData.warehouseNo = this.warehouseNo;
4523
4474
  if (this.selectedLocationNo) {
4524
4475
  this.selectedArticleDetailsData.locationNo = (_a = this.selectedLocationNo) === null || _a === void 0 ? void 0 : _a.toString();
4525
4476
  }
@@ -4528,7 +4479,7 @@
4528
4479
  _this.articleDetailsInformation.goodId = (_a = _this.selectedArticleDetailsData.goodId) === null || _a === void 0 ? void 0 : _a.toString();
4529
4480
  _this.articleDetailsInformation.warehouseNumber = _this.selectedArticleDetailsData.warehouseNo;
4530
4481
  _this._stockService.getArticleDetails(_this.articleDetailsInformation).then(function (details) {
4531
- _this.articleStockInfo = details;
4482
+ _this.data = details;
4532
4483
  });
4533
4484
  });
4534
4485
  this.showConfirmationDialog = false;
@@ -4558,12 +4509,34 @@
4558
4509
  // If location is not found or description is empty, return locationNo
4559
4510
  return location && location.description && location.description.trim() !== '' ? location.description : locationNo;
4560
4511
  };
4512
+ StockLocationComponent.prototype.getData = function () {
4513
+ return __awaiter(this, void 0, void 0, function () {
4514
+ var request;
4515
+ var _this = this;
4516
+ return __generator(this, function (_d) {
4517
+ request = new articleStockManagement.ArticleStockManagement();
4518
+ request.goodId = this.goodId.toString();
4519
+ request.warehouseNumber = this.warehouseNo;
4520
+ this._stockService.getArticleDetails(request).then(function (details) {
4521
+ _this.data = details;
4522
+ });
4523
+ this._getWarehouseLocations();
4524
+ return [2 /*return*/];
4525
+ });
4526
+ });
4527
+ };
4528
+ StockLocationComponent.prototype._getWarehouseLocations = function () {
4529
+ var _this = this;
4530
+ this._stockService.getStockManagementLocations(this.warehouseNo).then(function (result) {
4531
+ _this.stockLocations = result;
4532
+ });
4533
+ };
4561
4534
  return StockLocationComponent;
4562
- }());
4535
+ }(BaseStockComponent));
4563
4536
  StockLocationComponent.decorators = [
4564
4537
  { type: i0.Component, args: [{
4565
- selector: "co-stock-location",
4566
- template: "\n <div class=\"stock-grid\">\n <div class=\"stock-transfer-wrapper\">\n <co-stock-transfer *ngIf=\"showStockTransfer\"\n class=\"stock-transfer-dialog\"\n [articleToTransfer]=\"articleDetails\"\n (handleStickerClicked)=\"handleStickerClicked.emit($event)\"\n [allWarehouses]=\"allWarehouses\"\n [stockLocations]=\"stockLocations\"\n [articleFlat]=\"articleFlat\"\n [showStockTransfer]=\"showStockTransfer\"\n (showStockTransferChange)=\"onShowStockTransferChange($event)\">\n </co-stock-transfer>\n </div>\n <co-stock-location-popup\n [selectedWarehouse]=\"selectedWarehouse\"\n [articleFlat]=\"articleFlat\"\n [selectedLocationNo]=\"selectedLocationNo\"\n [stockLocations]=\"stockLocations\"\n [articleDetailsInformation]=\"articleDetailsInformation\"\n [articleStockInfo]=\"articleStockInfo\"\n [selectedArticleDetailsData]=\"selectedArticleDetailsData\"\n [showConfirmationDialog]=\"showConfirmationDialog\"\n [newStockLine]=\"newStockLine\"\n (togglePopupEvent)=\"showConfirmationDialog = $event\"\n (updateGridData)=\"articleStockInfo = $event\"\n\n ></co-stock-location-popup>\n <co-simple-grid [data]=\"articleStockInfo\"\n class=\"simple-grid\"\n [showAdd]=\"true\"\n [inlineEdit]=\"false\"\n [showToolbar]=\"true\"\n (addRow)=\"handleAddRow()\"\n >\n <co-simple-grid-column [headerText]=\"'STOCK' | sharedLocalize\" [field]=\"'amountInStock'\">\n <ng-template #template let-row=\"row\">\n <div class=\"stock-amount\" (click)=\"onOkClickSendLocations(row)\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.EditPenRegular)\"></co-icon>\n <span [textContent]=\"row['amountInStock']\"></span>\n </div>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [width]=\"150\" [headerText]=\"'LOCATION' | sharedLocalize\" [field]=\"'locationNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-list-of-values\n [model]=\"locationForNumber(row['locationNo'])\"\n [collection]=\"stockLocations\"\n [displayField]=\"'description'\"\n [label]=\"'LOCATION' | sharedLocalize\"\n [required]=\"true\"\n (modelChange)=\"locationChanged(row, $event)\"\n ></co-list-of-values>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleFlat?.batch\" [headerText]=\"'BATCH' | sharedLocalize\" [field]=\"'batchNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [model]=\"selectedArticleDetailsData.batchNo\"\n [placeholder]=\"'BATCH' | sharedLocalize\"\n (modelChange)=\"row['batchNo'] = $event\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleFlat?.serial\" [headerText]=\"'SERIAL_NO' | sharedLocalize\" [field]=\"'serialNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [model]=\"selectedArticleDetailsData.serialNo\"\n [placeholder]=\"'SERIAL_NO' | sharedLocalize\"\n (modelChange)=\"row['serialNo'] = $event\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ALLOCATED' | sharedLocalize\" [field]=\"'stockAssigned'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['stockAssigned']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AVAILABLE_STOCK' | sharedLocalize\" [field]=\"'amountInStockFree'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['amountInStockFree']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | sharedLocalize\" [field]=\"'currency'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['currency']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'PURCHASE_PRICE' | sharedLocalize\" [field]=\"'purchasePrice'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['purchasePrice']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'SUPPLIERNR' | sharedLocalize\" [field]=\"'supplierNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['supplierNo']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [readonly]=\"true\" [headerText]=\"'TRANSFER' | sharedLocalize\" [field]=\"'transfer'\">\n <ng-template #template let-row=\"row\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.DeliveryTruck)\"\n (click)=\"handleStockTransferClick(row)\"></co-icon>\n </ng-template>\n <ng-template #editTemplate></ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [readonly]=\"true\" [headerText]=\"'STICKER' | sharedLocalize\" [field]=\"'sticker'\">\n <ng-template #template let-row=\"row\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.Print)\"\n (click)=\"openSendMethodDialog(row)\"></co-icon>\n </ng-template>\n <ng-template #editTemplate></ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n </div>\n ",
4538
+ selector: 'co-stock-location',
4539
+ template: "\n <div class=\"stock-grid\">\n <div class=\"stock-transfer-wrapper\">\n <co-stock-transfer *ngIf=\"showStockTransfer\"\n class=\"stock-transfer-dialog\"\n [articleToTransfer]=\"articleDetails\"\n (handleStickerClicked)=\"handleStickerClicked.emit($event)\"\n [allWarehouses]=\"allWarehouses\"\n [stockLocations]=\"stockLocations\"\n [articleFlat]=\"articleFlat\"\n [showStockTransfer]=\"showStockTransfer\"\n (showStockTransferChange)=\"onShowStockTransferChange($event)\">\n </co-stock-transfer>\n </div>\n <co-stock-location-popup\n [selectedWarehouse]=\"selectedWarehouse\"\n [articleFlat]=\"articleFlat\"\n [selectedLocationNo]=\"selectedLocationNo\"\n [stockLocations]=\"stockLocations\"\n [articleDetailsInformation]=\"articleDetailsInformation\"\n [articleStockInfo]=\"data\"\n [selectedArticleDetailsData]=\"selectedArticleDetailsData\"\n [showConfirmationDialog]=\"showConfirmationDialog\"\n [newStockLine]=\"newStockLine\"\n (togglePopupEvent)=\"showConfirmationDialog = $event\"\n (updateGridData)=\"data = $event\"\n\n ></co-stock-location-popup>\n <co-simple-grid [data]=\"data\"\n class=\"simple-grid\"\n [showAdd]=\"true\"\n [inlineEdit]=\"false\"\n [showToolbar]=\"true\"\n (addRow)=\"handleAddRow()\"\n >\n <co-simple-grid-column [headerText]=\"'STOCK' | sharedLocalize\" [field]=\"'amountInStock'\">\n <ng-template #template let-row=\"row\">\n <div class=\"stock-amount\" (click)=\"onOkClickSendLocations(row)\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.EditPenRegular)\"></co-icon>\n <span [textContent]=\"row['amountInStock']\"></span>\n </div>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [width]=\"150\" [headerText]=\"'LOCATION' | sharedLocalize\" [field]=\"'locationNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-list-of-values\n [model]=\"locationForNumber(row['locationNo'])\"\n [collection]=\"stockLocations\"\n [displayField]=\"'description'\"\n [label]=\"'LOCATION' | sharedLocalize\"\n [required]=\"true\"\n (modelChange)=\"locationChanged(row, $event)\"\n ></co-list-of-values>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleFlat?.batch\" [headerText]=\"'BATCH' | sharedLocalize\" [field]=\"'batchNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [model]=\"selectedArticleDetailsData.batchNo\"\n [placeholder]=\"'BATCH' | sharedLocalize\"\n (modelChange)=\"row['batchNo'] = $event\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleFlat?.serial\" [headerText]=\"'SERIAL_NO' | sharedLocalize\" [field]=\"'serialNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [model]=\"selectedArticleDetailsData.serialNo\"\n [placeholder]=\"'SERIAL_NO' | sharedLocalize\"\n (modelChange)=\"row['serialNo'] = $event\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ALLOCATED' | sharedLocalize\" [field]=\"'stockAssigned'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['stockAssigned']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AVAILABLE_STOCK' | sharedLocalize\" [field]=\"'amountInStockFree'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['amountInStockFree']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | sharedLocalize\" [field]=\"'currency'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['currency']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'PURCHASE_PRICE' | sharedLocalize\" [field]=\"'purchasePrice'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['purchasePrice']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'SUPPLIERNR' | sharedLocalize\" [field]=\"'supplierNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['supplierNo']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [readonly]=\"true\" [headerText]=\"'TRANSFER' | sharedLocalize\" [field]=\"'transfer'\">\n <ng-template #template let-row=\"row\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.DeliveryTruck)\"\n (click)=\"handleStockTransferClick(row)\"></co-icon>\n </ng-template>\n <ng-template #editTemplate></ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [readonly]=\"true\" [headerText]=\"'STICKER' | sharedLocalize\" [field]=\"'sticker'\">\n <ng-template #template let-row=\"row\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.Print)\"\n (click)=\"openSendMethodDialog(row)\"></co-icon>\n </ng-template>\n <ng-template #editTemplate></ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n </div>\n ",
4567
4540
  encapsulation: i0.ViewEncapsulation.None
4568
4541
  },] }
4569
4542
  ];
@@ -4573,36 +4546,51 @@
4573
4546
  { type: i0.ChangeDetectorRef }
4574
4547
  ]; };
4575
4548
  StockLocationComponent.propDecorators = {
4576
- articleStockInfo: [{ type: i0.Input }],
4549
+ warehouseNo: [{ type: i0.Input }],
4577
4550
  articleStockInformation: [{ type: i0.Input }],
4578
4551
  articleWarehouse: [{ type: i0.Input }],
4579
4552
  allWarehouses: [{ type: i0.Input }],
4580
- article: [{ type: i0.Input }],
4581
4553
  showStockTransfer: [{ type: i0.Input }],
4582
4554
  articleFlat: [{ type: i0.Input }],
4583
4555
  dataWareHouseCode: [{ type: i0.Input }],
4584
4556
  transferIconClicked: [{ type: i0.Output }],
4585
4557
  sendMethodDialogClicked: [{ type: i0.Output }],
4586
4558
  showStockTransferChange: [{ type: i0.Output }],
4587
- handleStickerClicked: [{ type: i0.Output }],
4588
- selectedWarehouse: [{ type: i0.Input }],
4589
- stockLocations: [{ type: i0.Input }]
4559
+ handleStickerClicked: [{ type: i0.Output }]
4590
4560
  };
4591
4561
 
4592
- var StockHistoryComponent = /** @class */ (function () {
4562
+ var StockHistoryComponent = /** @class */ (function (_super) {
4563
+ __extends(StockHistoryComponent, _super);
4593
4564
  function StockHistoryComponent(iconCacheService, _stockService) {
4594
- this.iconCacheService = iconCacheService;
4595
- this._stockService = _stockService;
4596
- this.icons = exports["ɵbs"];
4597
- this.stockHistoryInformation = [];
4598
- this.stockHistory = [];
4565
+ var _this = _super.call(this) || this;
4566
+ _this.iconCacheService = iconCacheService;
4567
+ _this._stockService = _stockService;
4568
+ _this.icons = exports["ɵbt"];
4569
+ _this.stockHistoryInformation = [];
4570
+ _this.data = [];
4571
+ return _this;
4599
4572
  }
4573
+ StockHistoryComponent.prototype.getData = function () {
4574
+ return __awaiter(this, void 0, void 0, function () {
4575
+ var stockHistoryInformation;
4576
+ var _this = this;
4577
+ return __generator(this, function (_a) {
4578
+ stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
4579
+ stockHistoryInformation.type = "V";
4580
+ stockHistoryInformation.goodId = this.goodId.toString();
4581
+ this._stockService.getStockHistory(stockHistoryInformation).then(function (result) {
4582
+ _this.data = result;
4583
+ });
4584
+ return [2 /*return*/];
4585
+ });
4586
+ });
4587
+ };
4600
4588
  return StockHistoryComponent;
4601
- }());
4589
+ }(BaseStockComponent));
4602
4590
  StockHistoryComponent.decorators = [
4603
4591
  { type: i0.Component, args: [{
4604
4592
  selector: "co-stock-history",
4605
- template: "\n <co-simple-grid [data]=\"stockHistory\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.mutationDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TIME' | sharedLocalize\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | sharedLocalize\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | sharedLocalize\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | sharedLocalize\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER' | sharedLocalize\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE' | sharedLocalize\" [field]=\"'transLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE' | sharedLocalize\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK' | sharedLocalize\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | sharedLocalize\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NR' | sharedLocalize\" [field]=\"'relationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER' | sharedLocalize\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE' | sharedLocalize\" [field]=\"'mutationType'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
4593
+ template: "\n <co-simple-grid [data]=\"data\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.mutationDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TIME' | sharedLocalize\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | sharedLocalize\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | sharedLocalize\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | sharedLocalize\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER' | sharedLocalize\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE' | sharedLocalize\" [field]=\"'transLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE' | sharedLocalize\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK' | sharedLocalize\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | sharedLocalize\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NR' | sharedLocalize\" [field]=\"'relationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER' | sharedLocalize\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE' | sharedLocalize\" [field]=\"'mutationType'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
4606
4594
  encapsulation: i0.ViewEncapsulation.None
4607
4595
  },] }
4608
4596
  ];
@@ -4612,8 +4600,7 @@
4612
4600
  ]; };
4613
4601
  StockHistoryComponent.propDecorators = {
4614
4602
  stockHistoryInformation: [{ type: i0.Input }],
4615
- articleGoodId: [{ type: i0.Input }],
4616
- stockHistory: [{ type: i0.Input }]
4603
+ articleGoodId: [{ type: i0.Input }]
4617
4604
  };
4618
4605
 
4619
4606
  var TabBarComponent = /** @class */ (function () {
@@ -4648,7 +4635,7 @@
4648
4635
  TabBarComponent.decorators = [
4649
4636
  { type: i0.Component, args: [{
4650
4637
  selector: "co-tab-bar",
4651
- template: "\n <div class=\"tab-bar-wrapper\">\n <div class=\"tab-bar-warehouse-wrapper\">\n <div class=\"stock-location-group\">\n <div class=\"stock-location-right-group\">\n <co-list-of-values *ngIf=\"showWarehouseSelection\"\n [label]=\"wareHouseLabel\"\n [displayField]=\"'warehouseDescription'\"\n [collection]=\"dataWareHouseCode\"\n [multiselect]=\"false\"\n [required]=\"false\"\n [readonly]=\"false\"\n [customCssClass]=\"'mini-scrollbar'\"\n [searchPlaceholder]=\"wareHouseSearchLabel\"\n [(model)]=\"selectedWarehouse\"\n (modelChange)=\"onSelectWarehouse($event)\"\n class=\"custom-height\"\n >\n </co-list-of-values>\n </div>\n </div>\n </div>\n <div class=\"tab-bar\">\n <div class=\"tab-bar-primary\">\n <div class=\"tab-primary\" *ngFor=\"let tab of tabs\">\n <co-button\n [label]=\"tab.title\"\n [screenConfigurationObject]=\"tab.cfg\"\n [class.active]=\"tab.active\"\n (click)=\"selectTab(tab)\" \n ></co-button>\n </div>\n\n </div>\n <div class=\"secondary-tab-bar\" *ngIf=\"ActivateSecondaryTabs\">\n <co-button *ngFor=\"let tab of secondaryTabs\"\n [label]=\"tab.title\"\n [screenConfigurationObject]=\"tab.cfg\" \n [class.active]=\"tab.active\" \n (click)=\"selectSecondaryTab(tab)\"\n ></co-button>\n </div>\n </div>\n </div>\n ",
4638
+ template: "\n <div class=\"tab-bar-wrapper\">\n <div class=\"tab-bar-warehouse-wrapper\">\n <div class=\"stock-location-group\">\n <div class=\"stock-location-right-group\">\n <co-list-of-values *ngIf=\"showWarehouseSelection\"\n [label]=\"wareHouseLabel\"\n [displayField]=\"'warehouseDescription'\"\n [collection]=\"dataWareHouseCode\"\n [multiselect]=\"false\"\n [required]=\"false\"\n [readonly]=\"false\"\n [customCssClass]=\"'mini-scrollbar'\"\n [searchPlaceholder]=\"wareHouseSearchLabel\"\n [(model)]=\"selectedWarehouse\"\n (modelChange)=\"onSelectWarehouse($event)\"\n class=\"custom-height\"\n >\n </co-list-of-values>\n </div>\n </div>\n </div>\n <div class=\"tab-bar\">\n <div class=\"tab-bar-primary\">\n <div class=\"tab-primary\" *ngFor=\"let tab of tabs\">\n <co-button\n [label]=\"tab.title\"\n [class.active]=\"tab.active\"\n (click)=\"selectTab(tab)\" \n ></co-button>\n </div>\n </div>\n <div class=\"secondary-tab-bar\" *ngIf=\"ActivateSecondaryTabs\">\n <co-button *ngFor=\"let tab of secondaryTabs\"\n [label]=\"tab.title\"\n [class.active]=\"tab.active\" \n (click)=\"selectSecondaryTab(tab)\"\n ></co-button>\n </div>\n </div>\n </div>\n ",
4652
4639
  encapsulation: i0.ViewEncapsulation.None
4653
4640
  },] }
4654
4641
  ];
@@ -4687,93 +4674,153 @@
4687
4674
  },] }
4688
4675
  ];
4689
4676
 
4690
- var OrderSupplyStockHistoryComponent = /** @class */ (function () {
4691
- function OrderSupplyStockHistoryComponent(iconCacheService) {
4692
- this.iconCacheService = iconCacheService;
4693
- this.icons = exports["ɵbs"];
4694
- this.orderSupplyStockHistory = [];
4677
+ var OrderSupplyStockHistoryComponent = /** @class */ (function (_super) {
4678
+ __extends(OrderSupplyStockHistoryComponent, _super);
4679
+ function OrderSupplyStockHistoryComponent(_stockService) {
4680
+ var _this = _super.call(this) || this;
4681
+ _this._stockService = _stockService;
4682
+ _this.icons = exports["ɵbt"];
4683
+ _this.data = [];
4684
+ return _this;
4695
4685
  }
4686
+ OrderSupplyStockHistoryComponent.prototype.getData = function () {
4687
+ return __awaiter(this, void 0, void 0, function () {
4688
+ var stockHistoryInformation;
4689
+ var _this = this;
4690
+ return __generator(this, function (_a) {
4691
+ stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
4692
+ stockHistoryInformation.type = 'O';
4693
+ stockHistoryInformation.goodId = this.goodId.toString();
4694
+ this._stockService.getStockHistory(stockHistoryInformation).then(function (result) {
4695
+ _this.data = result;
4696
+ });
4697
+ return [2 /*return*/];
4698
+ });
4699
+ });
4700
+ };
4696
4701
  return OrderSupplyStockHistoryComponent;
4697
- }());
4702
+ }(BaseStockComponent));
4698
4703
  OrderSupplyStockHistoryComponent.decorators = [
4699
4704
  { type: i0.Component, args: [{
4700
- selector: "co-order-supply-stock-history",
4701
- template: "\n <co-simple-grid [data]=\"orderSupplyStockHistory\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.mutationDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TIME' | sharedLocalize\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | sharedLocalize\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | sharedLocalize\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | sharedLocalize\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER' | sharedLocalize\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE' | sharedLocalize\" [field]=\"'transLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE' | sharedLocalize\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK' | sharedLocalize\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | sharedLocalize\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NR' | sharedLocalize\" [field]=\"'relationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER' | sharedLocalize\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE' | sharedLocalize\" [field]=\"'mutationType'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
4705
+ selector: 'co-order-supply-stock-history',
4706
+ template: "\n <co-simple-grid [data]=\"data\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.mutationDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TIME' | sharedLocalize\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | sharedLocalize\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | sharedLocalize\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | sharedLocalize\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER' | sharedLocalize\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE' | sharedLocalize\" [field]=\"'transLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE' | sharedLocalize\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK' | sharedLocalize\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | sharedLocalize\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NR' | sharedLocalize\" [field]=\"'relationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER' | sharedLocalize\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE' | sharedLocalize\" [field]=\"'mutationType'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
4702
4707
  encapsulation: i0.ViewEncapsulation.None
4703
4708
  },] }
4704
4709
  ];
4705
4710
  OrderSupplyStockHistoryComponent.ctorParameters = function () { return [
4706
- { type: IconCacheService }
4707
- ]; };
4708
- OrderSupplyStockHistoryComponent.propDecorators = {
4709
- orderSupplyStockHistory: [{ type: i0.Input }]
4710
- };
4711
+ { type: StockService }
4712
+ ]; };
4711
4713
 
4712
- var OrderCommissionStockHistoryComponent = /** @class */ (function () {
4713
- function OrderCommissionStockHistoryComponent(iconCacheService) {
4714
- this.iconCacheService = iconCacheService;
4715
- this.icons = exports["ɵbs"];
4716
- this.orderStockCommissionHistory = [];
4714
+ var OrderCommissionStockHistoryComponent = /** @class */ (function (_super) {
4715
+ __extends(OrderCommissionStockHistoryComponent, _super);
4716
+ function OrderCommissionStockHistoryComponent(_stockService) {
4717
+ var _this = _super.call(this) || this;
4718
+ _this._stockService = _stockService;
4719
+ _this.icons = exports["ɵbt"];
4720
+ _this.data = [];
4721
+ return _this;
4717
4722
  }
4723
+ OrderCommissionStockHistoryComponent.prototype.getData = function () {
4724
+ return __awaiter(this, void 0, void 0, function () {
4725
+ var stockHistoryInformation;
4726
+ var _this = this;
4727
+ return __generator(this, function (_a) {
4728
+ stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
4729
+ stockHistoryInformation.type = "C";
4730
+ stockHistoryInformation.goodId = this.goodId.toString();
4731
+ this._stockService.getStockHistory(stockHistoryInformation).then(function (result) {
4732
+ _this.data = result;
4733
+ });
4734
+ return [2 /*return*/];
4735
+ });
4736
+ });
4737
+ };
4718
4738
  return OrderCommissionStockHistoryComponent;
4719
- }());
4739
+ }(BaseStockComponent));
4720
4740
  OrderCommissionStockHistoryComponent.decorators = [
4721
4741
  { type: i0.Component, args: [{
4722
4742
  selector: "co-order-stock-commission-history",
4723
- template: "\n <co-simple-grid [data]=\"orderStockCommissionHistory\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.mutationDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TIME' | sharedLocalize\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | sharedLocalize\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | sharedLocalize\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | sharedLocalize\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER' | sharedLocalize\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE' | sharedLocalize\" [field]=\"'transLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE' | sharedLocalize\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK' | sharedLocalize\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | sharedLocalize\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NR' | sharedLocalize\" [field]=\"'relationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER' | sharedLocalize\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE' | sharedLocalize\" [field]=\"'mutationType'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
4743
+ template: "\n <co-simple-grid [data]=\"data\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.mutationDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TIME' | sharedLocalize\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | sharedLocalize\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | sharedLocalize\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | sharedLocalize\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER' | sharedLocalize\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE' | sharedLocalize\" [field]=\"'transLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE' | sharedLocalize\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK' | sharedLocalize\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | sharedLocalize\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NR' | sharedLocalize\" [field]=\"'relationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER' | sharedLocalize\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE' | sharedLocalize\" [field]=\"'mutationType'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
4724
4744
  encapsulation: i0.ViewEncapsulation.None
4725
4745
  },] }
4726
4746
  ];
4727
4747
  OrderCommissionStockHistoryComponent.ctorParameters = function () { return [
4728
- { type: IconCacheService }
4729
- ]; };
4730
- OrderCommissionStockHistoryComponent.propDecorators = {
4731
- orderStockCommissionHistory: [{ type: i0.Input }]
4732
- };
4748
+ { type: StockService }
4749
+ ]; };
4733
4750
 
4734
- var OrderStockHistoryComponent = /** @class */ (function () {
4735
- function OrderStockHistoryComponent(iconCacheService) {
4736
- this.iconCacheService = iconCacheService;
4737
- this.icons = exports["ɵbs"];
4738
- this.orderStockHistory = [];
4751
+ var OrderStockHistoryComponent = /** @class */ (function (_super) {
4752
+ __extends(OrderStockHistoryComponent, _super);
4753
+ function OrderStockHistoryComponent(_stockService) {
4754
+ var _this = _super.call(this) || this;
4755
+ _this._stockService = _stockService;
4756
+ _this.icons = exports["ɵbt"];
4757
+ _this.data = [];
4758
+ return _this;
4739
4759
  }
4760
+ OrderStockHistoryComponent.prototype.getData = function () {
4761
+ return __awaiter(this, void 0, void 0, function () {
4762
+ var stockHistoryInformation;
4763
+ var _this = this;
4764
+ return __generator(this, function (_a) {
4765
+ stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
4766
+ stockHistoryInformation.type = 'B';
4767
+ stockHistoryInformation.goodId = this.goodId.toString();
4768
+ this._stockService.getStockHistory(stockHistoryInformation).then(function (result) {
4769
+ _this.data = result;
4770
+ });
4771
+ return [2 /*return*/];
4772
+ });
4773
+ });
4774
+ };
4740
4775
  return OrderStockHistoryComponent;
4741
- }());
4776
+ }(BaseStockComponent));
4742
4777
  OrderStockHistoryComponent.decorators = [
4743
4778
  { type: i0.Component, args: [{
4744
- selector: "co-order-stock-history",
4745
- template: "\n <co-simple-grid [data]=\"orderStockHistory\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.mutationDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TIME' | sharedLocalize\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | sharedLocalize\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | sharedLocalize\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | sharedLocalize\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER' | sharedLocalize\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE' | sharedLocalize\" [field]=\"'transLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE' | sharedLocalize\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK' | sharedLocalize\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | sharedLocalize\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NR' | sharedLocalize\" [field]=\"'relationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER' | sharedLocalize\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE' | sharedLocalize\" [field]=\"'mutationType'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
4779
+ selector: 'co-order-stock-history',
4780
+ template: "\n <co-simple-grid [data]=\"data\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.mutationDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TIME' | sharedLocalize\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | sharedLocalize\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | sharedLocalize\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | sharedLocalize\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER' | sharedLocalize\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE' | sharedLocalize\" [field]=\"'transLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE' | sharedLocalize\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK' | sharedLocalize\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | sharedLocalize\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NR' | sharedLocalize\" [field]=\"'relationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER' | sharedLocalize\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE' | sharedLocalize\" [field]=\"'mutationType'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
4746
4781
  encapsulation: i0.ViewEncapsulation.None
4747
4782
  },] }
4748
4783
  ];
4749
4784
  OrderStockHistoryComponent.ctorParameters = function () { return [
4750
- { type: IconCacheService }
4751
- ]; };
4752
- OrderStockHistoryComponent.propDecorators = {
4753
- orderStockHistory: [{ type: i0.Input }]
4754
- };
4785
+ { type: StockService }
4786
+ ]; };
4755
4787
 
4756
- var AllocationStockHistoryComponent = /** @class */ (function () {
4757
- function AllocationStockHistoryComponent(iconCacheService) {
4758
- this.iconCacheService = iconCacheService;
4759
- this.icons = exports["ɵbs"];
4760
- this.allocationStockHistory = [];
4788
+ var AllocationStockHistoryComponent = /** @class */ (function (_super) {
4789
+ __extends(AllocationStockHistoryComponent, _super);
4790
+ function AllocationStockHistoryComponent(_stockService) {
4791
+ var _this = _super.call(this) || this;
4792
+ _this._stockService = _stockService;
4793
+ _this.icons = exports["ɵbt"];
4794
+ _this.data = [];
4795
+ return _this;
4761
4796
  }
4797
+ AllocationStockHistoryComponent.prototype.getData = function () {
4798
+ return __awaiter(this, void 0, void 0, function () {
4799
+ var stockHistoryInformation;
4800
+ var _this = this;
4801
+ return __generator(this, function (_a) {
4802
+ stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
4803
+ stockHistoryInformation.type = 'T';
4804
+ stockHistoryInformation.goodId = this.goodId.toString();
4805
+ this._stockService.getStockHistory(stockHistoryInformation).then(function (result) {
4806
+ _this.data = result;
4807
+ });
4808
+ return [2 /*return*/];
4809
+ });
4810
+ });
4811
+ };
4762
4812
  return AllocationStockHistoryComponent;
4763
- }());
4813
+ }(BaseStockComponent));
4764
4814
  AllocationStockHistoryComponent.decorators = [
4765
4815
  { type: i0.Component, args: [{
4766
- selector: "co-allocation-stock-history",
4767
- template: "\n <co-simple-grid [data]=\"allocationStockHistory\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.mutationDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TIME' | sharedLocalize\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | sharedLocalize\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | sharedLocalize\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | sharedLocalize\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER' | sharedLocalize\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE' | sharedLocalize\" [field]=\"'transLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE' | sharedLocalize\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK' | sharedLocalize\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | sharedLocalize\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NR' | sharedLocalize\" [field]=\"'relationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER' | sharedLocalize\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE' | sharedLocalize\" [field]=\"'mutationType'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
4816
+ selector: 'co-allocation-stock-history',
4817
+ template: "\n <co-simple-grid [data]=\"data\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.mutationDate | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TIME' | sharedLocalize\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | sharedLocalize\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | sharedLocalize\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | sharedLocalize\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER' | sharedLocalize\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE' | sharedLocalize\" [field]=\"'transLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE' | sharedLocalize\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK' | sharedLocalize\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | sharedLocalize\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NR' | sharedLocalize\" [field]=\"'relationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER' | sharedLocalize\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE' | sharedLocalize\" [field]=\"'mutationType'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
4768
4818
  encapsulation: i0.ViewEncapsulation.None
4769
4819
  },] }
4770
4820
  ];
4771
4821
  AllocationStockHistoryComponent.ctorParameters = function () { return [
4772
- { type: IconCacheService }
4773
- ]; };
4774
- AllocationStockHistoryComponent.propDecorators = {
4775
- allocationStockHistory: [{ type: i0.Input }]
4776
- };
4822
+ { type: StockService }
4823
+ ]; };
4777
4824
 
4778
4825
  var GaugeColor$1;
4779
4826
  (function (GaugeColor) {
@@ -5081,19 +5128,48 @@
5081
5128
  },] }
5082
5129
  ];
5083
5130
 
5084
- var StockPrognoseComponent = /** @class */ (function () {
5131
+ var StockPrognoseComponent = /** @class */ (function (_super) {
5132
+ __extends(StockPrognoseComponent, _super);
5085
5133
  function StockPrognoseComponent(iconCacheService, _stockService) {
5086
- this.iconCacheService = iconCacheService;
5087
- this._stockService = _stockService;
5088
- this.icons = exports["ɵbs"];
5089
- this.stockPrognose = [];
5134
+ var _this = _super.call(this) || this;
5135
+ _this.iconCacheService = iconCacheService;
5136
+ _this._stockService = _stockService;
5137
+ _this.icons = exports["ɵbt"];
5138
+ _this.data = [];
5139
+ return _this;
5090
5140
  }
5141
+ Object.defineProperty(StockPrognoseComponent.prototype, "warehouseNo", {
5142
+ get: function () {
5143
+ return this._warehouseNo;
5144
+ },
5145
+ set: function (value) {
5146
+ if (this._warehouseNo !== value) {
5147
+ this._warehouseNo = value;
5148
+ this.getData();
5149
+ }
5150
+ },
5151
+ enumerable: false,
5152
+ configurable: true
5153
+ });
5154
+ StockPrognoseComponent.prototype.getData = function () {
5155
+ return __awaiter(this, void 0, void 0, function () {
5156
+ var _this = this;
5157
+ return __generator(this, function (_a) {
5158
+ if (this.goodId && this.warehouseNo !== undefined && this.warehouseNo !== null) {
5159
+ this._stockService.stockPrognose(this.goodId, this.warehouseNo).then(function (result) {
5160
+ _this.data = result;
5161
+ });
5162
+ }
5163
+ return [2 /*return*/];
5164
+ });
5165
+ });
5166
+ };
5091
5167
  return StockPrognoseComponent;
5092
- }());
5168
+ }(BaseStockComponent));
5093
5169
  StockPrognoseComponent.decorators = [
5094
5170
  { type: i0.Component, args: [{
5095
5171
  selector: "co-stock-prognose",
5096
- template: "\n <co-simple-grid [data]=\"stockPrognose\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'AVAILABILITY' | sharedLocalize\" [field]=\"'available'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'FREE_STOCK' | sharedLocalize\" [field]=\"'freeStock'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'IN_ORDER' | sharedLocalize\" [field]=\"'inOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'PURCHASE_ORDER' | sharedLocalize\" [field]=\"'transNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'PURCHASE_ORDER_DATE' | sharedLocalize\" [field]=\"'transactionDate'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row['arrivalDate'] | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'REFERENCE' | sharedLocalize\" [field]=\"'reference'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE_CONFIRMED' | sharedLocalize\" [field]=\"'transConfirmedDate'\">\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE_DELIVERED' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row['transDeliveryDate'] | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'FUTURE_FREE_STOCK' | sharedLocalize\" [field]=\"'laterAvailable'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
5172
+ template: "\n <co-simple-grid [data]=\"data\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'AVAILABILITY' | sharedLocalize\" [field]=\"'available'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'FREE_STOCK' | sharedLocalize\" [field]=\"'freeStock'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'IN_ORDER' | sharedLocalize\" [field]=\"'inOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'PURCHASE_ORDER' | sharedLocalize\" [field]=\"'transNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'PURCHASE_ORDER_DATE' | sharedLocalize\" [field]=\"'transactionDate'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row['arrivalDate'] | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'REFERENCE' | sharedLocalize\" [field]=\"'reference'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE_CONFIRMED' | sharedLocalize\" [field]=\"'transConfirmedDate'\">\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE_DELIVERED' | sharedLocalize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row['transDeliveryDate'] | date:'dd-MM-yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'FUTURE_FREE_STOCK' | sharedLocalize\" [field]=\"'laterAvailable'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
5097
5173
  encapsulation: i0.ViewEncapsulation.None
5098
5174
  },] }
5099
5175
  ];
@@ -5102,7 +5178,7 @@
5102
5178
  { type: StockService }
5103
5179
  ]; };
5104
5180
  StockPrognoseComponent.propDecorators = {
5105
- stockPrognose: [{ type: i0.Input }]
5181
+ warehouseNo: [{ type: i0.Input }]
5106
5182
  };
5107
5183
 
5108
5184
  var StockLocationPopupComponent = /** @class */ (function () {
@@ -5110,7 +5186,7 @@
5110
5186
  this.iconCacheService = iconCacheService;
5111
5187
  this._stockService = _stockService;
5112
5188
  this._changeDetector = _changeDetector;
5113
- this.icons = exports["ɵbs"];
5189
+ this.icons = exports["ɵbt"];
5114
5190
  this.showConfirmationDialog = false;
5115
5191
  this.newStockLine = false;
5116
5192
  this.selectedArticleDetailsData = new articleDetails_bo.ArticleDetailsBo();
@@ -5366,7 +5442,7 @@
5366
5442
  var KeyPadComponent = /** @class */ (function () {
5367
5443
  function KeyPadComponent(iconCacheService) {
5368
5444
  this.iconCacheService = iconCacheService;
5369
- this.icons = exports["ɵbs"];
5445
+ this.icons = exports["ɵbt"];
5370
5446
  this.showValue = true;
5371
5447
  this.resetModelOnInit = true;
5372
5448
  this.emitModelChangeOnEnter = true;
@@ -5567,7 +5643,7 @@
5567
5643
  var LayoutSwitcherComponent = /** @class */ (function () {
5568
5644
  function LayoutSwitcherComponent(iconCacheService) {
5569
5645
  this.iconCacheService = iconCacheService;
5570
- this.icon = exports["ɵbs"];
5646
+ this.icon = exports["ɵbt"];
5571
5647
  this.layoutItems = [];
5572
5648
  this.layoutSwitchEmit = new i0.EventEmitter();
5573
5649
  this.showMaskSidebar = false;
@@ -5847,7 +5923,7 @@
5847
5923
  this.iconCacheService = iconCacheService;
5848
5924
  this.selectedDate = new Date();
5849
5925
  this.selectedDateChange = new i0.EventEmitter();
5850
- this.icons = exports["ɵbs"];
5926
+ this.icons = exports["ɵbt"];
5851
5927
  this.showMonthYearSelect = false;
5852
5928
  this.expanded = false;
5853
5929
  }
@@ -6584,7 +6660,7 @@
6584
6660
  this._renderer = _renderer;
6585
6661
  this._ngZone = _ngZone;
6586
6662
  this.iconCacheService = iconCacheService;
6587
- this.icons = exports["ɵbs"];
6663
+ this.icons = exports["ɵbt"];
6588
6664
  this.viewTypes = exports.CalendarView;
6589
6665
  this.scrollbarWidth = 15;
6590
6666
  this.today = new Date();
@@ -6996,7 +7072,7 @@
6996
7072
  var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
6997
7073
  _this.view = exports.CalendarView.WeekSelectView;
6998
7074
  _this.week = NULL_WEEK;
6999
- _this.icons = exports["ɵbs"];
7075
+ _this.icons = exports["ɵbt"];
7000
7076
  return _this;
7001
7077
  }
7002
7078
  AgendaWeekSelectViewComponent.prototype.prepareViewData = function () {
@@ -7242,7 +7318,7 @@
7242
7318
  this._elementRef = _elementRef;
7243
7319
  this._renderer = _renderer;
7244
7320
  this.iconCacheService = iconCacheService;
7245
- this.icons = exports["ɵbs"];
7321
+ this.icons = exports["ɵbt"];
7246
7322
  this.event = NULL_AGENDA_EVENT;
7247
7323
  this.eventChecked = new i0.EventEmitter();
7248
7324
  }
@@ -7464,7 +7540,7 @@
7464
7540
  var AgendaSelectEventComponent = /** @class */ (function () {
7465
7541
  function AgendaSelectEventComponent(iconCacheService) {
7466
7542
  this.iconCacheService = iconCacheService;
7467
- this.icons = exports["ɵbs"];
7543
+ this.icons = exports["ɵbt"];
7468
7544
  this.event = NULL_AGENDA_EVENT;
7469
7545
  this.eventChecked = new i0.EventEmitter();
7470
7546
  }
@@ -7534,7 +7610,7 @@
7534
7610
  function SimpleTagsComponent(iconCacheService, sharedService) {
7535
7611
  this.iconCacheService = iconCacheService;
7536
7612
  this.sharedService = sharedService;
7537
- this.icon = exports["ɵbs"];
7613
+ this.icon = exports["ɵbt"];
7538
7614
  this.closeClick = new i0.EventEmitter();
7539
7615
  this.saveClick = new i0.EventEmitter();
7540
7616
  this.breadCrumbs = [];
@@ -7595,7 +7671,7 @@
7595
7671
  function SimpleTagsFormComponent(iconCacheService, sharedService) {
7596
7672
  this.iconCacheService = iconCacheService;
7597
7673
  this.sharedService = sharedService;
7598
- this.icon = exports["ɵbs"];
7674
+ this.icon = exports["ɵbt"];
7599
7675
  this.linkedTagsChange = new i0.EventEmitter();
7600
7676
  this.breadCrumbs = [];
7601
7677
  this.displayTags = [];
@@ -9019,8 +9095,8 @@
9019
9095
  function AppFileDropzoneComponent(dictionary, iconCacheService) {
9020
9096
  this.dictionary = dictionary;
9021
9097
  this.iconCacheService = iconCacheService;
9022
- this.icons = exports["ɵbs"];
9023
- this.Icons = exports["ɵbs"];
9098
+ this.icons = exports["ɵbt"];
9099
+ this.Icons = exports["ɵbt"];
9024
9100
  this._defaultDropActionMessage = "DROP_ZONE_DOCUMENTS";
9025
9101
  }
9026
9102
  AppFileDropzoneComponent.prototype.showClass = function () {
@@ -9092,7 +9168,7 @@
9092
9168
  this._promptService = _promptService;
9093
9169
  this._fileTypeImgPipe = _fileTypeImgPipe;
9094
9170
  this.iconCacheService = iconCacheService;
9095
- this.icon = exports["ɵbs"];
9171
+ this.icon = exports["ɵbt"];
9096
9172
  this.useWithoutSettingProps = false;
9097
9173
  this.hasPublicAccessVisible = false;
9098
9174
  this.showDocumentReportPicker = true;
@@ -10565,7 +10641,7 @@
10565
10641
  this._fileTypeImgPipe = _fileTypeImgPipe;
10566
10642
  this.iconService = iconService;
10567
10643
  this._sharedService = _sharedService;
10568
- this.icons = exports["ɵbs"];
10644
+ this.icons = exports["ɵbt"];
10569
10645
  // Element clickable
10570
10646
  this.link = false;
10571
10647
  this.dropzone = false;
@@ -10775,7 +10851,7 @@
10775
10851
  var TileRenderComponent = /** @class */ (function () {
10776
10852
  function TileRenderComponent(iconCacheService) {
10777
10853
  this.iconCacheService = iconCacheService;
10778
- this.icons = exports["ɵbs"];
10854
+ this.icons = exports["ɵbt"];
10779
10855
  // Render a large or small tile.
10780
10856
  this.tileSize = TileSizeType.Large;
10781
10857
  // When this tile is selected, this icon will be shown green in the upper-left corner (defaults to 'check').
@@ -10784,7 +10860,7 @@
10784
10860
  this.imageClick = new i0.EventEmitter();
10785
10861
  // Emits when the info wrapper was clicked (bottom half of this component).
10786
10862
  this.infoClick = new i0.EventEmitter();
10787
- this.Icon = exports["ɵbs"];
10863
+ this.Icon = exports["ɵbt"];
10788
10864
  }
10789
10865
  Object.defineProperty(TileRenderComponent.prototype, "inSmallTileMode", {
10790
10866
  get: function () {
@@ -11028,7 +11104,7 @@
11028
11104
  this.enableditemsChange = new i0.EventEmitter();
11029
11105
  // Outputs the sum of cgrefkeys of all newly enabled items
11030
11106
  this.onPropertyItemChange = new i0.EventEmitter();
11031
- this.Icons = exports["ɵbs"];
11107
+ this.Icons = exports["ɵbt"];
11032
11108
  this.objectifiedEnum = [];
11033
11109
  this.enabledItemNumberList = [];
11034
11110
  }
@@ -11195,14 +11271,14 @@
11195
11271
  function ActivityListComponent(iconCacheService, _dictionaryService) {
11196
11272
  this.iconCacheService = iconCacheService;
11197
11273
  this._dictionaryService = _dictionaryService;
11198
- this.Icon = exports["ɵbs"];
11274
+ this.Icon = exports["ɵbt"];
11199
11275
  this.RelationKind = relationKind_enum.RelationKind;
11200
11276
  this.ActivityType = activityType.ActivityType;
11201
11277
  this.TimeUtils = timeUtils.TimeUtils;
11202
- this.remarkIcon = exports["ɵbs"].CommentRegular;
11203
- this.workIcon = exports["ɵbs"].PersonDiggingRegular;
11204
- this.statusIcon = exports["ɵbs"].DiagramProjectRegular;
11205
- this.taskIcon = exports["ɵbs"].Task;
11278
+ this.remarkIcon = exports["ɵbt"].CommentRegular;
11279
+ this.workIcon = exports["ɵbt"].PersonDiggingRegular;
11280
+ this.statusIcon = exports["ɵbt"].DiagramProjectRegular;
11281
+ this.taskIcon = exports["ɵbt"].Task;
11206
11282
  }
11207
11283
  ActivityListComponent.prototype.showClass = function () {
11208
11284
  return true;
@@ -11872,7 +11948,7 @@
11872
11948
  this._dictionary = _dictionary;
11873
11949
  this.iconService = iconService;
11874
11950
  this.sharedService = sharedService;
11875
- this.icons = exports["ɵbs"];
11951
+ this.icons = exports["ɵbt"];
11876
11952
  this.editingComplete = new i0.EventEmitter();
11877
11953
  this.activitySaved = new i0.EventEmitter();
11878
11954
  this.activityDeleted = new i0.EventEmitter();
@@ -11885,7 +11961,7 @@
11885
11961
  this.showNewForm = false;
11886
11962
  this.showModificationForm = false;
11887
11963
  this.taskEditting = false;
11888
- this.Icon = exports["ɵbs"];
11964
+ this.Icon = exports["ɵbt"];
11889
11965
  }
11890
11966
  Object.defineProperty(TaskModifierComponent.prototype, "readonly", {
11891
11967
  get: function () {
@@ -12157,7 +12233,7 @@
12157
12233
  this._dialogService = _dialogService;
12158
12234
  this._dictionaryService = _dictionaryService;
12159
12235
  this._sharedService = _sharedService;
12160
- this.icon = exports["ɵbs"];
12236
+ this.icon = exports["ɵbt"];
12161
12237
  this.cfgNames = ActivityCfgName;
12162
12238
  this.taskCfgNames = {
12163
12239
  timeRegistrationMandatory: ActivityCfgName.TimeRegistrationMandatory,
@@ -12473,7 +12549,7 @@
12473
12549
  var _this = _super.call(this) || this;
12474
12550
  _this.sharedService = sharedService;
12475
12551
  _this.tabs = personalActivityTab_enum.PersonalActivityTabEnum;
12476
- _this.icons = exports["ɵbs"];
12552
+ _this.icons = exports["ɵbt"];
12477
12553
  _this.activityClass = activity_bo.Activity;
12478
12554
  _this.activitySortType = activitySortType_enum.ActivitySortType;
12479
12555
  _this.showActivityHeader = true;
@@ -12730,11 +12806,11 @@
12730
12806
  _this.dialogService = dialogService;
12731
12807
  _this.dictionaryService = dictionaryService;
12732
12808
  _this.sharedService = sharedService;
12733
- _this.Icon = exports["ɵbs"];
12734
- _this.remarkIcon = exports["ɵbs"].CommentRegular;
12735
- _this.workIcon = exports["ɵbs"].PersonDiggingRegular;
12736
- _this.statusIcon = exports["ɵbs"].DiagramProjectRegular;
12737
- _this.taskIcon = exports["ɵbs"].ListUlRegular;
12809
+ _this.Icon = exports["ɵbt"];
12810
+ _this.remarkIcon = exports["ɵbt"].CommentRegular;
12811
+ _this.workIcon = exports["ɵbt"].PersonDiggingRegular;
12812
+ _this.statusIcon = exports["ɵbt"].DiagramProjectRegular;
12813
+ _this.taskIcon = exports["ɵbt"].ListUlRegular;
12738
12814
  return _this;
12739
12815
  }
12740
12816
  ComponentActivityOverviewComponent.prototype.showClass = function () {
@@ -12972,7 +13048,7 @@
12972
13048
  _this.dialogService = dialogService;
12973
13049
  _this.iconCacheService = iconCacheService;
12974
13050
  _this.sharedService = sharedService;
12975
- _this.Icon = exports["ɵbs"];
13051
+ _this.Icon = exports["ɵbt"];
12976
13052
  _this.showStatusDropdown = false;
12977
13053
  return _this;
12978
13054
  }
@@ -13043,7 +13119,7 @@
13043
13119
  function ActivitySummaryBlockComponent(_formMaster, elementRef) {
13044
13120
  this._formMaster = _formMaster;
13045
13121
  this.elementRef = elementRef;
13046
- this.Icon = exports["ɵbs"];
13122
+ this.Icon = exports["ɵbt"];
13047
13123
  this.noBorder = false;
13048
13124
  this.readonly = false;
13049
13125
  this.showButtons = false;
@@ -13155,7 +13231,7 @@
13155
13231
  _this.dialogService = dialogService;
13156
13232
  _this.iconService = iconService;
13157
13233
  _this.sharedService = sharedService;
13158
- _this.Icon = exports["ɵbs"];
13234
+ _this.Icon = exports["ɵbt"];
13159
13235
  return _this;
13160
13236
  }
13161
13237
  StatusSummaryBlockComponent.prototype.showClass = function () {
@@ -13226,7 +13302,7 @@
13226
13302
  _this.dialogService = dialogService;
13227
13303
  _this.sharedService = sharedService;
13228
13304
  _this.locale = locale;
13229
- _this.Icon = exports["ɵbs"];
13305
+ _this.Icon = exports["ɵbt"];
13230
13306
  _this.taskCategories = [];
13231
13307
  _this.priorityDomainColl = [];
13232
13308
  return _this;
@@ -13330,7 +13406,7 @@
13330
13406
  _this.dialogService = dialogService;
13331
13407
  _this.sharedService = sharedService;
13332
13408
  _this.RelationType = RelationType;
13333
- _this.Icon = exports["ɵbs"];
13409
+ _this.Icon = exports["ɵbt"];
13334
13410
  _this._textSearchParams = new relationRequest.RelationRequest();
13335
13411
  _this.personnel = [];
13336
13412
  return _this;
@@ -13403,7 +13479,7 @@
13403
13479
  _this.dictionaryService = dictionaryService;
13404
13480
  _this.dialogService = dialogService;
13405
13481
  _this.sharedService = sharedService;
13406
- _this.Icon = exports["ɵbs"];
13482
+ _this.Icon = exports["ɵbt"];
13407
13483
  _this.WorkflowCategoryType = workflowCategory_enum.WorkflowCategoryType;
13408
13484
  _this.listItems = [];
13409
13485
  return _this;
@@ -13501,7 +13577,7 @@
13501
13577
  this.iconService = iconService;
13502
13578
  this.sharedService = sharedService;
13503
13579
  this.renderer = renderer;
13504
- this.icons = exports["ɵbs"];
13580
+ this.icons = exports["ɵbt"];
13505
13581
  this.recipientLabel = 'RECIPIENTS';
13506
13582
  this.fieldLabel = '';
13507
13583
  this.extraLabel = '';
@@ -13692,7 +13768,7 @@
13692
13768
  function EmailSelectorComponent(iconService, sharedService) {
13693
13769
  this.iconService = iconService;
13694
13770
  this.sharedService = sharedService;
13695
- this.icons = exports["ɵbs"];
13771
+ this.icons = exports["ɵbt"];
13696
13772
  this.showBCC = false;
13697
13773
  this.buttonIcon = this.iconService.getIcon(this.icons.SquarePlusRegular);
13698
13774
  this.emailAddressesChange = new i0.EventEmitter();
@@ -13933,7 +14009,7 @@
13933
14009
  var ActivityListHeaderComponent = /** @class */ (function () {
13934
14010
  function ActivityListHeaderComponent(iconService) {
13935
14011
  this.iconService = iconService;
13936
- this.icons = exports["ɵbs"];
14012
+ this.icons = exports["ɵbt"];
13937
14013
  this.activitySortType = activitySortType_enum.ActivitySortType;
13938
14014
  this.title = 'MY_WORK';
13939
14015
  this.searchTextChange = new i0.EventEmitter();
@@ -13974,7 +14050,7 @@
13974
14050
  function WorkflowNotificationTogglePopupComponent(element, iconService) {
13975
14051
  this.element = element;
13976
14052
  this.iconService = iconService;
13977
- this.icons = exports["ɵbs"];
14053
+ this.icons = exports["ɵbt"];
13978
14054
  this.workflowProcesses = [];
13979
14055
  this.closePopupClicked = new i0.EventEmitter();
13980
14056
  this.workflowProcessClicked = new i0.EventEmitter();
@@ -14007,7 +14083,7 @@
14007
14083
  this.iconService = iconService;
14008
14084
  this.sharedService = sharedService;
14009
14085
  this._overlayService = _overlayService;
14010
- this.icons = exports["ɵbs"];
14086
+ this.icons = exports["ɵbt"];
14011
14087
  this.workflowProcesses = [];
14012
14088
  this.showPopup = false;
14013
14089
  }
@@ -14616,7 +14692,7 @@
14616
14692
  this.element = element;
14617
14693
  this.iconService = iconService;
14618
14694
  this._overlayService = _overlayService;
14619
- this.icon = exports["ɵbs"];
14695
+ this.icon = exports["ɵbt"];
14620
14696
  this.possibleFilters = [
14621
14697
  period_enum.Period.All,
14622
14698
  period_enum.Period.Today,
@@ -14787,8 +14863,8 @@
14787
14863
  function WorkflowInfoTilesComponent(iconCacheService, sharedService) {
14788
14864
  this.iconCacheService = iconCacheService;
14789
14865
  this.sharedService = sharedService;
14790
- this.Icon = exports["ɵbs"];
14791
- this.icons = exports["ɵbs"];
14866
+ this.Icon = exports["ɵbt"];
14867
+ this.icons = exports["ɵbt"];
14792
14868
  this.workflowProcessInfoPerStatusClicked = new i0.EventEmitter();
14793
14869
  }
14794
14870
  Object.defineProperty(WorkflowInfoTilesComponent.prototype, "workflowCategory", {
@@ -14839,7 +14915,7 @@
14839
14915
  function WorkflowInfoTileComponent(iconCacheService, colorService) {
14840
14916
  this.iconCacheService = iconCacheService;
14841
14917
  this.colorService = colorService;
14842
- this.Icon = exports["ɵbs"];
14918
+ this.Icon = exports["ɵbt"];
14843
14919
  }
14844
14920
  WorkflowInfoTileComponent.prototype.showClass = function () {
14845
14921
  return true;
@@ -14916,7 +14992,7 @@
14916
14992
  this.sharedService = sharedService;
14917
14993
  this._dialogService = _dialogService;
14918
14994
  this._formMasterService = _formMasterService;
14919
- this.icons = exports["ɵbs"];
14995
+ this.icons = exports["ɵbt"];
14920
14996
  this.table = tableName_enum.TableName.Transactions;
14921
14997
  this.activityCreated = new i0.EventEmitter();
14922
14998
  this.optionCollection = [
@@ -15384,101 +15460,102 @@
15384
15460
  exports["ɵbd"] = StockChangeAmountComponent;
15385
15461
  exports["ɵbe"] = StockTabComponent;
15386
15462
  exports["ɵbf"] = OrderTabComponent;
15387
- exports["ɵbg"] = StockTabsComponent;
15388
- exports["ɵbh"] = StockHistoryTabsComponent;
15389
- exports["ɵbi"] = OrderStockTabComponent;
15390
- exports["ɵbj"] = StockLocationComponent;
15391
- exports["ɵbk"] = StockHistoryComponent;
15392
- exports["ɵbl"] = OrderSupplyStockHistoryComponent;
15393
- exports["ɵbm"] = OrderCommissionStockHistoryComponent;
15394
- exports["ɵbn"] = OrderStockHistoryComponent;
15395
- exports["ɵbo"] = AllocationStockHistoryComponent;
15396
- exports["ɵbp"] = StockPrognoseComponent;
15397
- exports["ɵbq"] = StockLocationPopupComponent;
15398
- exports["ɵbr"] = SendMethod;
15399
- exports["ɵbt"] = CalendarAllYearsComponent;
15400
- exports["ɵbu"] = CalendarAllMonthsComponent;
15401
- exports["ɵbv"] = CalendarHeaderComponent;
15402
- exports["ɵbw"] = CalendarComponent;
15403
- exports["ɵbx"] = CalendarViewComponent;
15404
- exports["ɵby"] = AgendaHeaderComponent;
15405
- exports["ɵbz"] = AgendaViewComponent;
15463
+ exports["ɵbg"] = BaseStockComponent;
15464
+ exports["ɵbh"] = StockTabsComponent;
15465
+ exports["ɵbi"] = StockHistoryTabsComponent;
15466
+ exports["ɵbj"] = OrderStockTabComponent;
15467
+ exports["ɵbk"] = StockLocationComponent;
15468
+ exports["ɵbl"] = StockHistoryComponent;
15469
+ exports["ɵbm"] = OrderSupplyStockHistoryComponent;
15470
+ exports["ɵbn"] = OrderCommissionStockHistoryComponent;
15471
+ exports["ɵbo"] = OrderStockHistoryComponent;
15472
+ exports["ɵbp"] = AllocationStockHistoryComponent;
15473
+ exports["ɵbq"] = StockPrognoseComponent;
15474
+ exports["ɵbr"] = StockLocationPopupComponent;
15475
+ exports["ɵbs"] = SendMethod;
15476
+ exports["ɵbu"] = CalendarAllYearsComponent;
15477
+ exports["ɵbv"] = CalendarAllMonthsComponent;
15478
+ exports["ɵbw"] = CalendarHeaderComponent;
15479
+ exports["ɵbx"] = CalendarComponent;
15480
+ exports["ɵby"] = CalendarViewComponent;
15481
+ exports["ɵbz"] = AgendaHeaderComponent;
15406
15482
  exports["ɵc"] = StockService;
15407
- exports["ɵca"] = AgendaMonthViewComponent;
15408
- exports["ɵcb"] = AgendaBaseViewComponent;
15409
- exports["ɵcc"] = AgendaDayViewComponent;
15410
- exports["ɵcd"] = AgendaWeekViewComponent;
15411
- exports["ɵce"] = AgendaWeekSelectViewComponent;
15412
- exports["ɵcf"] = AgendaHourViewComponent;
15413
- exports["ɵcg"] = AgendaHourCellComponent;
15414
- exports["ɵch"] = AgendaHourViewLabelsComponent;
15415
- exports["ɵci"] = AgendaHalfHourCellComponent;
15416
- exports["ɵcj"] = AgendaEventsComponent;
15417
- exports["ɵck"] = AgendaEventComponent;
15418
- exports["ɵcl"] = ViewSelectComponent;
15419
- exports["ɵcm"] = AgendaSelectEventComponent;
15420
- exports["ɵcn"] = MASTER_PIPES;
15421
- exports["ɵco"] = ArrayNumberPipe;
15422
- exports["ɵcp"] = UCfirstPipe;
15423
- exports["ɵcq"] = FileTypeImagePipe;
15424
- exports["ɵcr"] = BaseFileUploadComponent;
15425
- exports["ɵcs"] = InputBoolean;
15426
- exports["ɵct"] = ImageDisplayModule;
15427
- exports["ɵcu"] = ImageDisplayComponent;
15428
- exports["ɵcv"] = FileUploadModule;
15429
- exports["ɵcw"] = TileRenderModule;
15430
- exports["ɵcx"] = TileRenderComponent;
15431
- exports["ɵcy"] = FileUploadComponent;
15432
- exports["ɵcz"] = FileUploadPopupModule;
15483
+ exports["ɵca"] = AgendaViewComponent;
15484
+ exports["ɵcb"] = AgendaMonthViewComponent;
15485
+ exports["ɵcc"] = AgendaBaseViewComponent;
15486
+ exports["ɵcd"] = AgendaDayViewComponent;
15487
+ exports["ɵce"] = AgendaWeekViewComponent;
15488
+ exports["ɵcf"] = AgendaWeekSelectViewComponent;
15489
+ exports["ɵcg"] = AgendaHourViewComponent;
15490
+ exports["ɵch"] = AgendaHourCellComponent;
15491
+ exports["ɵci"] = AgendaHourViewLabelsComponent;
15492
+ exports["ɵcj"] = AgendaHalfHourCellComponent;
15493
+ exports["ɵck"] = AgendaEventsComponent;
15494
+ exports["ɵcl"] = AgendaEventComponent;
15495
+ exports["ɵcm"] = ViewSelectComponent;
15496
+ exports["ɵcn"] = AgendaSelectEventComponent;
15497
+ exports["ɵco"] = MASTER_PIPES;
15498
+ exports["ɵcp"] = ArrayNumberPipe;
15499
+ exports["ɵcq"] = UCfirstPipe;
15500
+ exports["ɵcr"] = FileTypeImagePipe;
15501
+ exports["ɵcs"] = BaseFileUploadComponent;
15502
+ exports["ɵct"] = InputBoolean;
15503
+ exports["ɵcu"] = ImageDisplayModule;
15504
+ exports["ɵcv"] = ImageDisplayComponent;
15505
+ exports["ɵcw"] = FileUploadModule;
15506
+ exports["ɵcx"] = TileRenderModule;
15507
+ exports["ɵcy"] = TileRenderComponent;
15508
+ exports["ɵcz"] = FileUploadComponent;
15433
15509
  exports["ɵd"] = SharedConnectorService;
15434
- exports["ɵda"] = MultiplePropertyTogglerModule;
15435
- exports["ɵdb"] = MultiplePropertyTogglerComponent;
15436
- exports["ɵdc"] = FileUploadPopupComponent;
15437
- exports["ɵdd"] = AppFileDropzoneModule;
15438
- exports["ɵde"] = AppFileDropzoneComponent;
15439
- exports["ɵdf"] = DragDropContainerComponent;
15440
- exports["ɵdg"] = DragDropService;
15441
- exports["ɵdh"] = BaseActivityListComponent;
15442
- exports["ɵdi"] = PersonalActivityOverviewComponent;
15443
- exports["ɵdj"] = BaseActivityOverviewComponent;
15444
- exports["ɵdk"] = TaskModifierComponent;
15445
- exports["ɵdl"] = ModifyTaskFormComponent;
15446
- exports["ɵdm"] = PersonalActivityOverviewModule;
15447
- exports["ɵdn"] = ComponentActivityOverviewModule;
15448
- exports["ɵdo"] = TaskModifyerModule;
15449
- exports["ɵdp"] = ModifyTaskFormModule;
15450
- exports["ɵdq"] = TaskDetailsModule;
15451
- exports["ɵdr"] = TaskDetailsComponent;
15452
- exports["ɵds"] = BaseActivitySummaryComponent;
15453
- exports["ɵdt"] = ExecutiveSummaryBlockModule;
15454
- exports["ɵdu"] = ActivitySummaryBlockModule;
15455
- exports["ɵdv"] = ActivitySummaryBlockComponent;
15456
- exports["ɵdw"] = ExecutiveSummaryBlockComponent;
15457
- exports["ɵdx"] = StatusSummaryBlockModule;
15458
- exports["ɵdy"] = StatusSummaryBlockComponent;
15459
- exports["ɵdz"] = CreationSummaryBlockModule;
15510
+ exports["ɵda"] = FileUploadPopupModule;
15511
+ exports["ɵdb"] = MultiplePropertyTogglerModule;
15512
+ exports["ɵdc"] = MultiplePropertyTogglerComponent;
15513
+ exports["ɵdd"] = FileUploadPopupComponent;
15514
+ exports["ɵde"] = AppFileDropzoneModule;
15515
+ exports["ɵdf"] = AppFileDropzoneComponent;
15516
+ exports["ɵdg"] = DragDropContainerComponent;
15517
+ exports["ɵdh"] = DragDropService;
15518
+ exports["ɵdi"] = BaseActivityListComponent;
15519
+ exports["ɵdj"] = PersonalActivityOverviewComponent;
15520
+ exports["ɵdk"] = BaseActivityOverviewComponent;
15521
+ exports["ɵdl"] = TaskModifierComponent;
15522
+ exports["ɵdm"] = ModifyTaskFormComponent;
15523
+ exports["ɵdn"] = PersonalActivityOverviewModule;
15524
+ exports["ɵdo"] = ComponentActivityOverviewModule;
15525
+ exports["ɵdp"] = TaskModifyerModule;
15526
+ exports["ɵdq"] = ModifyTaskFormModule;
15527
+ exports["ɵdr"] = TaskDetailsModule;
15528
+ exports["ɵds"] = TaskDetailsComponent;
15529
+ exports["ɵdt"] = BaseActivitySummaryComponent;
15530
+ exports["ɵdu"] = ExecutiveSummaryBlockModule;
15531
+ exports["ɵdv"] = ActivitySummaryBlockModule;
15532
+ exports["ɵdw"] = ActivitySummaryBlockComponent;
15533
+ exports["ɵdx"] = ExecutiveSummaryBlockComponent;
15534
+ exports["ɵdy"] = StatusSummaryBlockModule;
15535
+ exports["ɵdz"] = StatusSummaryBlockComponent;
15460
15536
  exports["ɵe"] = OptionsService;
15461
- exports["ɵea"] = CreationSummaryBlockComponent;
15462
- exports["ɵeb"] = NotificationSummaryBlockModule;
15463
- exports["ɵec"] = EmailSelectorModule;
15464
- exports["ɵed"] = EmailSelectorComponent;
15465
- exports["ɵee"] = NotificationSummaryBlockComponent;
15466
- exports["ɵef"] = ComponentActivityOverviewComponent;
15467
- exports["ɵeg"] = ActivityListHeaderModule;
15468
- exports["ɵeh"] = WorkflowNotificationToggleModule;
15469
- exports["ɵei"] = DirectivesModule;
15470
- exports["ɵej"] = AbsoluteOverlayTemplateDirective;
15471
- exports["ɵek"] = AppAbsoluteOverlayOutletService;
15472
- exports["ɵel"] = AlignWithDirective;
15473
- exports["ɵem"] = ClickOutsideDirective;
15474
- exports["ɵen"] = WorkflowNotificationToggleComponent;
15475
- exports["ɵeo"] = WorkflowNotificationTogglePopupComponent;
15476
- exports["ɵep"] = PeriodFilterModule;
15477
- exports["ɵeq"] = PeriodFilterComponent;
15478
- exports["ɵer"] = PeriodFilterPopupComponent;
15479
- exports["ɵes"] = ActivityListHeaderComponent;
15480
- exports["ɵet"] = WorkflowInfoTileModule;
15481
- exports["ɵeu"] = WorkflowInfoTileComponent;
15537
+ exports["ɵea"] = CreationSummaryBlockModule;
15538
+ exports["ɵeb"] = CreationSummaryBlockComponent;
15539
+ exports["ɵec"] = NotificationSummaryBlockModule;
15540
+ exports["ɵed"] = EmailSelectorModule;
15541
+ exports["ɵee"] = EmailSelectorComponent;
15542
+ exports["ɵef"] = NotificationSummaryBlockComponent;
15543
+ exports["ɵeg"] = ComponentActivityOverviewComponent;
15544
+ exports["ɵeh"] = ActivityListHeaderModule;
15545
+ exports["ɵei"] = WorkflowNotificationToggleModule;
15546
+ exports["ɵej"] = DirectivesModule;
15547
+ exports["ɵek"] = AbsoluteOverlayTemplateDirective;
15548
+ exports["ɵel"] = AppAbsoluteOverlayOutletService;
15549
+ exports["ɵem"] = AlignWithDirective;
15550
+ exports["ɵen"] = ClickOutsideDirective;
15551
+ exports["ɵeo"] = WorkflowNotificationToggleComponent;
15552
+ exports["ɵep"] = WorkflowNotificationTogglePopupComponent;
15553
+ exports["ɵeq"] = PeriodFilterModule;
15554
+ exports["ɵer"] = PeriodFilterComponent;
15555
+ exports["ɵes"] = PeriodFilterPopupComponent;
15556
+ exports["ɵet"] = ActivityListHeaderComponent;
15557
+ exports["ɵeu"] = WorkflowInfoTileModule;
15558
+ exports["ɵev"] = WorkflowInfoTileComponent;
15482
15559
  exports["ɵf"] = IconCacheService;
15483
15560
  exports["ɵh"] = SendMethodService;
15484
15561
  exports["ɵi"] = SendMethodEmailModule;