@colijnit/sharedcomponents 1.0.36 → 1.0.38

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 (59) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +649 -171
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.d.ts +43 -31
  4. package/colijnit-sharedcomponents.metadata.json +1 -1
  5. package/esm2015/colijnit-sharedcomponents.js +44 -32
  6. package/esm2015/lib/components/circular-gauge/co-circular-gauge.component.js +3 -3
  7. package/esm2015/lib/components/linear-gauge/co-linear-gauge.component.js +3 -3
  8. package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +46 -0
  9. package/esm2015/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.js +46 -0
  10. package/esm2015/lib/components/stock/components/order-stock-history/order-stock-history.component.js +46 -0
  11. package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +46 -0
  12. package/esm2015/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.js +46 -0
  13. package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +65 -0
  14. package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +68 -0
  15. package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +170 -0
  16. package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +38 -0
  17. package/esm2015/lib/components/stock/stock-history-tabs/stock-history-tabs.component.js +34 -0
  18. package/esm2015/lib/components/stock/stock-information/stock-information.component.js +3 -4
  19. package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +1 -4
  20. package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +173 -0
  21. package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +9 -11
  22. package/esm2015/lib/components/stock/stock.component.js +26 -44
  23. package/esm2015/lib/components/stock/stock.module.js +29 -6
  24. package/esm2015/lib/components/tab-bar/tab-bar.component.js +45 -0
  25. package/esm2015/lib/components/tab-bar/tab-bar.module.js +19 -0
  26. package/esm2015/lib/components/tab-bar/tab.interface.js +2 -0
  27. package/esm2015/lib/pipe/array-number.pipe.js +1 -1
  28. package/esm2015/lib/service/shared-connector.service.js +1 -18
  29. package/esm2015/lib/service/stock.service.js +1 -6
  30. package/fesm2015/colijnit-sharedcomponents.js +852 -151
  31. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  32. package/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.d.ts +9 -0
  33. package/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.d.ts +9 -0
  34. package/lib/components/stock/components/order-stock-history/order-stock-history.component.d.ts +9 -0
  35. package/lib/components/stock/components/order-stock-tab/order-stock-tab.component.d.ts +11 -0
  36. package/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.d.ts +9 -0
  37. package/lib/components/stock/components/order-tab/order-tab.component.d.ts +20 -0
  38. package/lib/components/stock/components/stock-history/stock-history.component.d.ts +15 -0
  39. package/lib/components/stock/components/stock-location/stock-location.component.d.ts +38 -0
  40. package/lib/components/stock/components/stock-tab/stock-tab.component.d.ts +8 -0
  41. package/lib/components/stock/stock-history-tabs/stock-history-tabs.component.d.ts +8 -0
  42. package/lib/components/stock/stock-information/stock-information.component.d.ts +0 -1
  43. package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +46 -0
  44. package/lib/components/stock/stock.component.d.ts +2 -6
  45. package/lib/components/stock/style/_layout.scss +5 -3
  46. package/lib/components/tab-bar/style/_layout.scss +60 -0
  47. package/lib/components/tab-bar/style/_material-definition.scss +0 -0
  48. package/lib/components/tab-bar/style/_theme.scss +0 -0
  49. package/lib/components/tab-bar/style/material.scss +4 -0
  50. package/lib/components/tab-bar/tab-bar.component.d.ts +9 -0
  51. package/lib/components/tab-bar/tab-bar.module.d.ts +2 -0
  52. package/lib/components/tab-bar/tab.interface.d.ts +5 -0
  53. package/lib/service/shared-connector.service.d.ts +0 -1
  54. package/lib/service/stock.service.d.ts +0 -1
  55. package/package.json +1 -1
  56. package/esm2015/lib/components/stock/stock-location/stock-location.component.js +0 -62
  57. package/esm2015/lib/model/stock-status.model.js +0 -3
  58. package/lib/components/stock/stock-location/stock-location.component.d.ts +0 -15
  59. package/lib/model/stock-status.model.d.ts +0 -6
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/animations'), require('pdf-lib'), require('pdfjs-dist/legacy/build/pdf'), require('pdfjs-dist/build/pdf.worker.entry'), require('@angular/common'), require('signature_pad'), require('@colijnit/articleapi/build/articles'), require('@colijnit/sharedapi/build/sharedapi'), require('@colijnit/articleapi/build/model/article-stock.bo'), require('@colijnit/articleapi/build/model/stock-history.bo'), require('@colijnit/articleapi/build/model/article-details.bo'), require('@colijnit/articleapi/build/model/stock-status.bo'), require('@colijnit/articleapi/build/model/stock-management-warehouses.bo'), require('@colijnit/articleapi/build/model/stock-location.bo'), require('@colijnit/articleapi/build/model/article-transaction.bo'), require('rxjs'), require('@colijnit/mainapi'), require('@colijnit/mainapi/build/model/printer.bo'), require('@colijnit/ioneconnector/build/factory/business-object-factory'), require('@colijnit/mainapi/build/model/send-method.bo'), require('@colijnit/sharedapi/build/model/print-stock-stickers'), require('@colijnit/articleapi/build/model/get-stock-history-request'), require('@colijnit/articleapi/build/model/article-stock'), require('@colijnit/corecomponents_v12'), require('@angular/platform-browser'), require('@colijnit/articleapi/build/model/article-stock-management'), require('@colijnit/articleapi/build/model/article-transaction'), require('@colijnit/sharedapi/build/model/print-price-stickers.bo'), require('@colijnit/mainapi/build/model/reporting-document-print-base-request'), require('@colijnit/mainapi/build/model/reporting-document-email-base-request'), require('@colijnit/mainapi/build/model/reporting-document-pdf-base-request'), require('@colijnit/mainapi/build/enum/send-method-type.enum'), require('@syncfusion/ej2-angular-circulargauge'), require('moment')) :
3
- typeof define === 'function' && define.amd ? define('@colijnit/sharedcomponents', ['exports', '@angular/core', '@angular/animations', 'pdf-lib', 'pdfjs-dist/legacy/build/pdf', 'pdfjs-dist/build/pdf.worker.entry', '@angular/common', 'signature_pad', '@colijnit/articleapi/build/articles', '@colijnit/sharedapi/build/sharedapi', '@colijnit/articleapi/build/model/article-stock.bo', '@colijnit/articleapi/build/model/stock-history.bo', '@colijnit/articleapi/build/model/article-details.bo', '@colijnit/articleapi/build/model/stock-status.bo', '@colijnit/articleapi/build/model/stock-management-warehouses.bo', '@colijnit/articleapi/build/model/stock-location.bo', '@colijnit/articleapi/build/model/article-transaction.bo', 'rxjs', '@colijnit/mainapi', '@colijnit/mainapi/build/model/printer.bo', '@colijnit/ioneconnector/build/factory/business-object-factory', '@colijnit/mainapi/build/model/send-method.bo', '@colijnit/sharedapi/build/model/print-stock-stickers', '@colijnit/articleapi/build/model/get-stock-history-request', '@colijnit/articleapi/build/model/article-stock', '@colijnit/corecomponents_v12', '@angular/platform-browser', '@colijnit/articleapi/build/model/article-stock-management', '@colijnit/articleapi/build/model/article-transaction', '@colijnit/sharedapi/build/model/print-price-stickers.bo', '@colijnit/mainapi/build/model/reporting-document-print-base-request', '@colijnit/mainapi/build/model/reporting-document-email-base-request', '@colijnit/mainapi/build/model/reporting-document-pdf-base-request', '@colijnit/mainapi/build/enum/send-method-type.enum', '@syncfusion/ej2-angular-circulargauge', 'moment'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.sharedcomponents = {}), global.ng.core, global.ng.animations, global.pdfLib, global.PDFJS, global.pdfjsWorker, global.ng.common, global.SignaturePad, global.articles, global.sharedapi, global.articleStock_bo, global.stockHistory_bo, global.articleDetails_bo, global.stockStatus_bo, global.stockManagementWarehouses_bo, global.stockLocation_bo, global.articleTransaction_bo, global.rxjs, global.mainapi, global.printer_bo, global.businessObjectFactory, global.sendMethod_bo, global.printStockStickers, global.getStockHistoryRequest, global.articleStock, global.corecomponents_v12, global.ng.platformBrowser, global.articleStockManagement, global.articleTransaction, global.printPriceStickers_bo, global.reportingDocumentPrintBaseRequest, global.reportingDocumentEmailBaseRequest, global.reportingDocumentPdfBaseRequest, global.sendMethodType_enum, global.ej2AngularCirculargauge, global.moment));
5
- })(this, (function (exports, i0, animations, pdfLib, PDFJS, pdfjsWorker, common, SignaturePad, articles, sharedapi, articleStock_bo, stockHistory_bo, articleDetails_bo, stockStatus_bo, stockManagementWarehouses_bo, stockLocation_bo, articleTransaction_bo, rxjs, mainapi, printer_bo, businessObjectFactory, sendMethod_bo, printStockStickers, getStockHistoryRequest, articleStock, corecomponents_v12, i1, articleStockManagement, articleTransaction, printPriceStickers_bo, reportingDocumentPrintBaseRequest, reportingDocumentEmailBaseRequest, reportingDocumentPdfBaseRequest, sendMethodType_enum, ej2AngularCirculargauge, moment) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/animations'), require('pdf-lib'), require('pdfjs-dist/legacy/build/pdf'), require('pdfjs-dist/build/pdf.worker.entry'), require('@angular/common'), require('signature_pad'), require('@colijnit/articleapi/build/articles'), require('@colijnit/sharedapi/build/sharedapi'), require('@colijnit/articleapi/build/model/article-stock.bo'), require('@colijnit/articleapi/build/model/stock-history.bo'), require('@colijnit/articleapi/build/model/article-details.bo'), require('@colijnit/articleapi/build/model/stock-status.bo'), require('@colijnit/articleapi/build/model/stock-management-warehouses.bo'), require('@colijnit/articleapi/build/model/stock-location.bo'), require('@colijnit/articleapi/build/model/article-transaction.bo'), require('rxjs'), require('@colijnit/mainapi'), require('@colijnit/mainapi/build/model/printer.bo'), require('@colijnit/ioneconnector/build/factory/business-object-factory'), require('@colijnit/mainapi/build/model/send-method.bo'), require('@colijnit/sharedapi/build/model/print-stock-stickers'), require('@colijnit/articleapi/build/model/article-stock'), require('@colijnit/corecomponents_v12'), require('@angular/platform-browser'), require('@colijnit/articleapi/build/model/article-stock-management'), require('@colijnit/articleapi/build/model/article-transaction'), require('@colijnit/sharedapi/build/model/print-price-stickers.bo'), require('@colijnit/mainapi/build/model/reporting-document-print-base-request'), require('@colijnit/mainapi/build/model/reporting-document-email-base-request'), require('@colijnit/mainapi/build/model/reporting-document-pdf-base-request'), require('@colijnit/mainapi/build/enum/send-method-type.enum'), require('@colijnit/articleapi/build/model/get-stock-history-request'), require('@syncfusion/ej2-angular-circulargauge'), require('moment')) :
3
+ typeof define === 'function' && define.amd ? define('@colijnit/sharedcomponents', ['exports', '@angular/core', '@angular/animations', 'pdf-lib', 'pdfjs-dist/legacy/build/pdf', 'pdfjs-dist/build/pdf.worker.entry', '@angular/common', 'signature_pad', '@colijnit/articleapi/build/articles', '@colijnit/sharedapi/build/sharedapi', '@colijnit/articleapi/build/model/article-stock.bo', '@colijnit/articleapi/build/model/stock-history.bo', '@colijnit/articleapi/build/model/article-details.bo', '@colijnit/articleapi/build/model/stock-status.bo', '@colijnit/articleapi/build/model/stock-management-warehouses.bo', '@colijnit/articleapi/build/model/stock-location.bo', '@colijnit/articleapi/build/model/article-transaction.bo', 'rxjs', '@colijnit/mainapi', '@colijnit/mainapi/build/model/printer.bo', '@colijnit/ioneconnector/build/factory/business-object-factory', '@colijnit/mainapi/build/model/send-method.bo', '@colijnit/sharedapi/build/model/print-stock-stickers', '@colijnit/articleapi/build/model/article-stock', '@colijnit/corecomponents_v12', '@angular/platform-browser', '@colijnit/articleapi/build/model/article-stock-management', '@colijnit/articleapi/build/model/article-transaction', '@colijnit/sharedapi/build/model/print-price-stickers.bo', '@colijnit/mainapi/build/model/reporting-document-print-base-request', '@colijnit/mainapi/build/model/reporting-document-email-base-request', '@colijnit/mainapi/build/model/reporting-document-pdf-base-request', '@colijnit/mainapi/build/enum/send-method-type.enum', '@colijnit/articleapi/build/model/get-stock-history-request', '@syncfusion/ej2-angular-circulargauge', 'moment'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.sharedcomponents = {}), global.ng.core, global.ng.animations, global.pdfLib, global.PDFJS, global.pdfjsWorker, global.ng.common, global.SignaturePad, global.articles, global.sharedapi, global.articleStock_bo, global.stockHistory_bo, global.articleDetails_bo, global.stockStatus_bo, global.stockManagementWarehouses_bo, global.stockLocation_bo, global.articleTransaction_bo, global.rxjs, global.mainapi, global.printer_bo, global.businessObjectFactory, global.sendMethod_bo, global.printStockStickers, global.articleStock, global.corecomponents_v12, global.ng.platformBrowser, global.articleStockManagement, global.articleTransaction, global.printPriceStickers_bo, global.reportingDocumentPrintBaseRequest, global.reportingDocumentEmailBaseRequest, global.reportingDocumentPdfBaseRequest, global.sendMethodType_enum, global.getStockHistoryRequest, global.ej2AngularCirculargauge, global.moment));
5
+ })(this, (function (exports, i0, animations, pdfLib, PDFJS, pdfjsWorker, common, SignaturePad, articles, sharedapi, articleStock_bo, stockHistory_bo, articleDetails_bo, stockStatus_bo, stockManagementWarehouses_bo, stockLocation_bo, articleTransaction_bo, rxjs, mainapi, printer_bo, businessObjectFactory, sendMethod_bo, printStockStickers, articleStock, corecomponents_v12, i1, articleStockManagement, articleTransaction, printPriceStickers_bo, reportingDocumentPrintBaseRequest, reportingDocumentEmailBaseRequest, reportingDocumentPdfBaseRequest, sendMethodType_enum, getStockHistoryRequest, ej2AngularCirculargauge, moment) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -730,13 +730,13 @@
730
730
  },] }
731
731
  ];
732
732
 
733
- exports["ɵbc"] = void 0;
733
+ exports["ɵbo"] = void 0;
734
734
  (function (LanguageCode) {
735
735
  LanguageCode["Dutch"] = "nl-NL";
736
736
  LanguageCode["English"] = "en-GB";
737
737
  LanguageCode["German"] = "de-DE";
738
738
  LanguageCode["French"] = "fr-FR";
739
- })(exports["ɵbc"] || (exports["ɵbc"] = {}));
739
+ })(exports["ɵbo"] || (exports["ɵbo"] = {}));
740
740
 
741
741
  // Static utility functions holder related to strings.
742
742
  var StringUtils = /** @class */ (function () {
@@ -850,7 +850,7 @@
850
850
  DictionaryService.prototype.setDictionary = function (language) {
851
851
  return __awaiter(this, void 0, void 0, function () {
852
852
  return __generator(this, function (_a) {
853
- this._language = language || exports["ɵbc"].Dutch;
853
+ this._language = language || exports["ɵbo"].Dutch;
854
854
  this._loadDictionary();
855
855
  return [2 /*return*/];
856
856
  });
@@ -883,7 +883,7 @@
883
883
  return key || "";
884
884
  }
885
885
  if (this.language === undefined) {
886
- this._language = exports["ɵbc"].Dutch;
886
+ this._language = exports["ɵbo"].Dutch;
887
887
  this._loadDictionary();
888
888
  }
889
889
  var text = this._dictionaries.get(this.language)[key];
@@ -992,12 +992,6 @@
992
992
  { type: DictionaryService }
993
993
  ]; };
994
994
 
995
- var ArticleStockStatus = /** @class */ (function () {
996
- function ArticleStockStatus() {
997
- }
998
- return ArticleStockStatus;
999
- }());
1000
-
1001
995
  var SharedConnectorService = /** @class */ (function () {
1002
996
  function SharedConnectorService(_optionsService) {
1003
997
  this._optionsService = _optionsService;
@@ -1282,25 +1276,6 @@
1282
1276
  });
1283
1277
  });
1284
1278
  };
1285
- SharedConnectorService.prototype.getArtStockStatus = function (goodId, branchNo, requestedAmount, warehouseId) {
1286
- return __awaiter(this, void 0, void 0, function () {
1287
- var _this = this;
1288
- return __generator(this, function (_a) {
1289
- return [2 /*return*/, new Promise(function (resolve, reject) {
1290
- return _this.articleConnector.getArtStockStatus(goodId, branchNo, requestedAmount, warehouseId).then(function (result) {
1291
- if (result.validationResult && result.validationResult.success) {
1292
- if (result.resultObjects) {
1293
- resolve(_this._boFactory.makeBOArrayFromRawBackendDataArray(ArticleStockStatus, result.resultObjects));
1294
- }
1295
- }
1296
- else {
1297
- reject(result.validationMessagesAsString);
1298
- }
1299
- });
1300
- })];
1301
- });
1302
- });
1303
- };
1304
1279
  // public async getStockStickerTemplates(data: StockStickersPrintLayouts): Promise<StockStickersPrintLayouts[]> {
1305
1280
  // return new Promise((resolve: Function, reject: Function) => {
1306
1281
  // return this.mainConnector.getStockStickerPrintLayouts(data).then((result: DataServiceResponseData) => {
@@ -1411,16 +1386,6 @@
1411
1386
  });
1412
1387
  });
1413
1388
  };
1414
- StockService.prototype.getArtStockStatus = function (goodId, branchNo, requestedAmount, warehouseId) {
1415
- return __awaiter(this, void 0, void 0, function () {
1416
- return __generator(this, function (_a) {
1417
- switch (_a.label) {
1418
- case 0: return [4 /*yield*/, this._sharedService.getArtStockStatus(goodId, branchNo, requestedAmount, warehouseId)];
1419
- case 1: return [2 /*return*/, _a.sent()];
1420
- }
1421
- });
1422
- });
1423
- };
1424
1389
  // public async getStockStickerTemplates(data: StockStickersPrintLayouts): Promise<StockStickersPrintLayouts[]> {
1425
1390
  // return await this._sharedService.getStockStickerTemplates(data);
1426
1391
  // }
@@ -1499,11 +1464,10 @@
1499
1464
  this.okButtonClicked = new i0.EventEmitter();
1500
1465
  this.cancelButtonClicked = new i0.EventEmitter();
1501
1466
  this.showStockInformationGrid = true;
1502
- this.showStockLocation = false;
1503
1467
  this.showStockTransfer = false;
1504
1468
  this.allAvailableStock = 0;
1505
1469
  this.allTechnicalStock = 0;
1506
- this.allAmountLaterAvailable = 0;
1470
+ this.showSendMethodDialog = false;
1507
1471
  this._subscriptions = [];
1508
1472
  this._subscriptions.push(this._optionsService.optionsLoaded.subscribe(function (loaded) { return _this._handleSettingsLoaded(loaded); }));
1509
1473
  }
@@ -1522,38 +1486,20 @@
1522
1486
  StockComponent.prototype.ngOnDestroy = function () {
1523
1487
  this._subscriptions.forEach(function (subscription) { return subscription.unsubscribe(); });
1524
1488
  };
1525
- StockComponent.prototype.backToStockLinesClicked = function () {
1526
- this.showStockLocation = false;
1527
- this.showStockInformationGrid = true;
1528
- };
1529
1489
  StockComponent.prototype.handleStockTransferClick = function (event) {
1530
1490
  this.stockTransferArticleDetails = event;
1531
1491
  this.showStockTransfer = !this.showStockTransfer;
1532
1492
  this.showStockInformationGrid = !this.showStockInformationGrid;
1533
1493
  this.stockService.stockStickers = new printStockStickers.PrintStockStickers();
1534
1494
  };
1495
+ StockComponent.prototype.handleSendMethodClick = function (event) {
1496
+ this.showSendMethodDialog = true;
1497
+ console.log(event);
1498
+ };
1535
1499
  StockComponent.prototype.backToStock = function () {
1536
1500
  this.showStockTransfer = !this.showStockTransfer;
1537
1501
  this.showStockInformationGrid = !this.showStockInformationGrid;
1538
1502
  };
1539
- StockComponent.prototype.getStockHistory = function () {
1540
- return __awaiter(this, void 0, void 0, function () {
1541
- var stockHistoryInformation, _a;
1542
- return __generator(this, function (_b) {
1543
- switch (_b.label) {
1544
- case 0:
1545
- stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
1546
- stockHistoryInformation.type = "B";
1547
- stockHistoryInformation.goodId = this.articleExtended.goodId.toString();
1548
- _a = this;
1549
- return [4 /*yield*/, this.stockService.getStockHistory(stockHistoryInformation)];
1550
- case 1:
1551
- _a.stockHistory = _b.sent();
1552
- return [2 /*return*/];
1553
- }
1554
- });
1555
- });
1556
- };
1557
1503
  StockComponent.prototype.getStockInformation = function (data) {
1558
1504
  return __awaiter(this, void 0, void 0, function () {
1559
1505
  var articleData, _a;
@@ -1570,15 +1516,11 @@
1570
1516
  _a.stockInformation = _b.sent();
1571
1517
  this.stockInformation.forEach(function (articleStock) { return _this.allAvailableStock += articleStock.availableStock; });
1572
1518
  this.stockInformation.forEach(function (articleStock) { return _this.allTechnicalStock += articleStock.technicalStock; });
1573
- this.stockInformation.forEach(function (articleStock) { return _this.allAmountLaterAvailable += articleStock.economicalStock; });
1574
1519
  return [2 /*return*/];
1575
1520
  }
1576
1521
  });
1577
1522
  });
1578
1523
  };
1579
- StockComponent.prototype.getArtStockStatus = function () {
1580
- console.log(this.stockService.getArtStockStatus(this.articleExtended.goodId));
1581
- };
1582
1524
  StockComponent.prototype._handleSettingsLoaded = function (loaded) {
1583
1525
  return __awaiter(this, void 0, void 0, function () {
1584
1526
  return __generator(this, function (_a) {
@@ -1620,7 +1562,7 @@
1620
1562
  StockComponent.decorators = [
1621
1563
  { type: i0.Component, args: [{
1622
1564
  selector: "co-stock",
1623
- template: "\n <div class=\"stock-info-container\">\n <co-stock-information [article]=\"articleExtended\"\n [articleStock]=\"\"\n [allAvailableStockInformation]=\"allAvailableStock\"\n [allTechnicalStockInformation]=\"allTechnicalStock\"\n [allAmountLaterAvailable]=\"allAmountLaterAvailable\"\n >\n </co-stock-information>\n <hr>\n <co-stock-information-grid *ngIf=\"showStockInformationGrid\"\n [article]=\"articleExtended\"\n [stockLocationData]=\"stockLocationInformation\"\n [articleStockInformation]=\"stockInformation\"\n (transferIconClicked)=\"handleStockTransferClick($event)\"\n (historyClicked)=\"getStockHistory()\"\n [stockHistoryInformation]=\"stockHistory\"\n (okButtonClicked)=\"okButtonClicked.emit()\"\n (cancelButtonClicked)=\"cancelButtonClicked.emit()\"\n >\n </co-stock-information-grid>\n <co-stock-location *ngIf=\"showStockLocation\"\n (backToStockLines)=\"backToStockLinesClicked()\">\n\n </co-stock-location>\n <co-stock-transfer *ngIf=\"showStockTransfer\"\n (handleClick)=\"backToStock()\"\n [article]=\"stockTransferArticle\"\n [articleToTransfer]=\"stockTransferArticleDetails\"\n (handleStickerClicked)=\"handleStickerClicked.emit($event)\"\n [articleWarehouse]=\"articleWarehouse\"\n [allWarehouses]=\"allWarehouses\"\n >\n </co-stock-transfer>\n </div>\n ",
1565
+ template: "\n <div class=\"stock-info-container\">\n <co-stock-information [article]=\"articleExtended\"\n [articleStock]=\"\"\n [allAvailableStockInformation]=\"allAvailableStock\"\n [allTechnicalStockInformation]=\"allTechnicalStock\"\n >\n </co-stock-information>\n <hr>\n <co-stock-tabs [stockInformation]=\"stockInformation\"\n [article]=\"articleExtended\"\n (transferIconClicked)=\"handleStockTransferClick($event)\"\n (sendMethodDialogClicked)=\"handleSendMethodClick($event)\"\n ></co-stock-tabs>\n\n <co-dialog *ngIf=\"showStockTransfer\">\n <co-stock-transfer (handleClick)=\"backToStock()\"\n class=\"stock-transfer-dialog\"\n [article]=\"stockTransferArticle\"\n [articleToTransfer]=\"stockTransferArticleDetails\"\n (handleStickerClicked)=\"handleStickerClicked.emit($event)\"\n [articleWarehouse]=\"articleWarehouse\"\n [allWarehouses]=\"allWarehouses\"\n >\n </co-stock-transfer>\n </co-dialog>\n\n <co-send-method-dialog *ngIf=\"showSendMethodDialog\">\n\n </co-send-method-dialog>\n </div>\n ",
1624
1566
  encapsulation: i0.ViewEncapsulation.None
1625
1567
  },] }
1626
1568
  ];
@@ -1649,7 +1591,7 @@
1649
1591
  StockInformationComponent.decorators = [
1650
1592
  { type: i0.Component, args: [{
1651
1593
  selector: "co-stock-information",
1652
- template: "\n <div class=\"stock-info\" *ngIf=\"article\">\n <div class=\"stock-info-row\" >\n <div class=\"stock-info-row-image\">\n <div class=\"stock-image\">\n <co-image class=\"stock-image\" [source]=\"article.imageData\"></co-image>\n </div>\n </div>\n <div class=\"stock-good-info\">\n <div>\n <span [textContent]=\"article.description\"></span>\n </div>\n <div>\n <span [textContent]=\"article.articleNumber\"></span>\n </div>\n </div>\n </div>\n <div class=\"stock-status\">\n <label [textContent]=\"'STOCK_STATUS'\"></label>\n <span [textContent]=\"article.stockStatus\"></span>\n </div>\n <div class=\"stock-status\">\n <label [textContent]=\"'AMOUNT_IN_STOCK'\"></label>\n <span [textContent]=\"allTechnicalStockInformation\"></span>\n </div>\n <div class=\"stock-status\">\n <label [textContent]=\"'AMOUNT_AVAILABLE'\"></label>\n <span [textContent]=\"allAvailableStockInformation\"></span>\n </div>\n <div class=\"stock-status\">\n <label [textContent]=\"'AMOUNT_LATER_AVAILABLE'\"></label>\n <span [textContent]=\"allAmountLaterAvailable\"></span>\n </div>\n </div>\n ",
1594
+ template: "\n <div class=\"stock-info\" *ngIf=\"article\">\n <div class=\"stock-info-row\" >\n <div class=\"stock-info-row-image\">\n <div class=\"stock-image\">\n <co-image class=\"stock-image\" [source]=\"article.imageData\"></co-image>\n </div>\n </div>\n <div class=\"stock-good-info\">\n <div>\n <span [textContent]=\"article.description\"></span>\n </div>\n <div>\n <span [textContent]=\"article.articleNumber\"></span>\n </div>\n </div>\n </div>\n <div class=\"stock-status\">\n <label [textContent]=\"'STOCK_STATUS'\"></label>\n <span [textContent]=\"article.stockStatus\"></span>\n </div>\n <div class=\"stock-status\">\n <label [textContent]=\"'AMOUNT_IN_STOCK'\"></label>\n <span [textContent]=\"allTechnicalStockInformation\"></span>\n </div>\n <div class=\"stock-status\">\n <label [textContent]=\"'AMOUNT_AVAILABLE'\"></label>\n <span [textContent]=\"allAvailableStockInformation\"></span>\n </div>\n <div class=\"stock-status\">\n <label [textContent]=\"'AMOUNT_LATER_AVAILABLE'\"></label>\n <span [textContent]=\"\"></span>\n </div>\n </div>\n ",
1653
1595
  encapsulation: i0.ViewEncapsulation.None
1654
1596
  },] }
1655
1597
  ];
@@ -1658,8 +1600,7 @@
1658
1600
  article: [{ type: i0.Input }],
1659
1601
  articleStock: [{ type: i0.Input }],
1660
1602
  allAvailableStockInformation: [{ type: i0.Input }],
1661
- allTechnicalStockInformation: [{ type: i0.Input }],
1662
- allAmountLaterAvailable: [{ type: i0.Input }]
1603
+ allTechnicalStockInformation: [{ type: i0.Input }]
1663
1604
  };
1664
1605
 
1665
1606
  /** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
@@ -1742,7 +1683,7 @@
1742
1683
  ]; };
1743
1684
 
1744
1685
  /** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
1745
- exports["ɵw"] = void 0;
1686
+ exports["ɵbi"] = void 0;
1746
1687
  (function (Icon) {
1747
1688
  Icon["AngleLeftSolid"] = "angle_left_solid";
1748
1689
  Icon["AngleRightSolid"] = "angle_right_solid";
@@ -1768,13 +1709,13 @@
1768
1709
  Icon["PrintSolid"] = "print_solid";
1769
1710
  Icon["SignatureField"] = "signature_field";
1770
1711
  Icon["Xml"] = "xml";
1771
- })(exports["ɵw"] || (exports["ɵw"] = {}));
1712
+ })(exports["ɵbi"] || (exports["ɵbi"] = {}));
1772
1713
 
1773
1714
  var StockInformationGridComponent = /** @class */ (function () {
1774
1715
  function StockInformationGridComponent(iconCacheService, _stockService) {
1775
1716
  this.iconCacheService = iconCacheService;
1776
1717
  this._stockService = _stockService;
1777
- this.icons = exports["ɵw"];
1718
+ this.icons = exports["ɵbi"];
1778
1719
  this.transferIconClicked = new i0.EventEmitter();
1779
1720
  this.historyClicked = new i0.EventEmitter();
1780
1721
  this.cancelButtonClicked = new i0.EventEmitter();
@@ -1948,7 +1889,6 @@
1948
1889
  });
1949
1890
  };
1950
1891
  StockInformationGridComponent.prototype.onLocationSelected = function (location) {
1951
- console.log(location);
1952
1892
  this.selectedArticleDetailsData.locationNo = location;
1953
1893
  };
1954
1894
  StockInformationGridComponent.prototype.onOkClickSendLocations = function () {
@@ -1957,7 +1897,6 @@
1957
1897
  return __generator(this, function (_a) {
1958
1898
  switch (_a.label) {
1959
1899
  case 0:
1960
- console.log(this.article);
1961
1900
  this.selectedArticleDetailsData.selected = true;
1962
1901
  this.selectedArticleDetailsData.goodId = this.article.goodId;
1963
1902
  this.selectedArticleDetailsData.entryDate = new Date();
@@ -1988,7 +1927,7 @@
1988
1927
  StockInformationGridComponent.decorators = [
1989
1928
  { type: i0.Component, args: [{
1990
1929
  selector: "co-stock-information-grid",
1991
- template: "\n <div class=\"tab-link show\" *ngIf=\"hideOrShowTabs\">\n <span class=\"tab-link-buttons\"\n *ngFor=\"let tab of tabs\"\n (click)=\"handleTabClick(tab)\"\n [textContent]=\"tab\"\n [class.active]=\"tab === activeTab\"\n ></span>\n </div>\n\n <div class=\"stock-line\">\n <div [textContent]=\"activeTabText\"></div>\n\n </div>\n\n <div class=\"stock-grid\">\n <co-simple-grid *ngIf=\"activeTab === tabs[0] && hideOrShowTabs\"\n [data]=\"articleStockInformation\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'WAREHOUSE'\" [field]=\"'warehouseNo'\" [order]=\"10\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DESCRIPTION'\" [field]=\"'warehouseName'\" [order]=\"11\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK'\" [field]=\"'technicalStock'\" [order]=\"12\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AVAILABLE_STOCK'\" [field]=\"'availableStock'\" [order]=\"13\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ECONOMICAL_STOCK'\" [field]=\"'economicalStock'\" [order]=\"14\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION'\" [field]=\"'locationNo'\" [order]=\"15\">\n <ng-template #template let-row=\"row\">\n <span class=\"location-link\" [textContent]=\"'Bekijken'\" (click)=\"onLocationClick(row)\"></span>\n </ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n\n <co-simple-grid *ngIf=\"activeTab === tabs[1]\"\n [data]=\"inOrderInformation\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'IN_ORDER2'\" [field]=\"'transactionNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'CUSTOMER'\" [field]=\"'customerName'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE'\">\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'\" [field]=\"'amountInOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE'\" [field]=\"'warehouseNumber'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DESCRIPTION'\" [field]=\"'warehouseDescription'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'TRANSFER'\" [field]=\"'transfer'\">\n <ng-template #template let-row=\"row\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.DeliveryTruck)\" (click)=\"handleStockTransferClick($event)\"></co-icon>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STICKER'\" [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\n <co-simple-grid *ngIf=\"activeTab === tabs[2]\"\n [data]=\"orderInformation\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'PURCHASE_ORDER_NR'\" [field]=\"'transactionNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE'\">\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'\" [field]=\"'amountInOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RESERVED'\" [field]=\"'reserved'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'FREE_STOCK'\" [field]=\"'InOrderForStock'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE1'\">\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 </div>\n\n <div class=\"stock-grid\" *ngIf=\"hideOrShowLocationTab\">\n <div class=\"stock-location-group\">\n <div class=\"stock-location-left-group\">\n <span class=\"stock-button-back\" [textContent]=\"'BACK_TO_STOCK_LINES'\" (click)=\"handleBackToStockClick()\"></span>\n </div>\n <div class=\"stock-location-right-group\">\n <co-drop-down-list [(model)]=\"selectedWarehouse\"\n [collection]=\"dataWareHouseCode\"\n [fields]=\"dataWareHouseFields\"\n [placeholder]=\"'WAREHOUSE'\"\n (modelChange)=\"onSelectWarehouse($event)\"\n [required]=\"true\"\n ></co-drop-down-list>\n </div>\n </div>\n\n<!-- TODO move to own component stock-location-->\n <co-simple-grid [data]=\"articleDetails\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n [showAdd]=\"true\"\n [showToolbar]=\"true\"\n [showDelete]=\"true\"\n [inlineEdit]=\"true\"\n (dblClickRow)=\"lockSelectedRow($event)\"\n >\n <div class=\"stock-location-group\">\n <div class=\"stock-location-left-group\">\n <co-button class=\"stock-lines-button\" [textContent]=\"'BACK_TO_STOCK_LINES'\" (click)=\"handleBackToStockClick()\"></co-button>\n </div>\n </div>\n <co-simple-grid-column [headerText]=\"'LOCATION'\" [field]=\"'locationNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-drop-down-list [(model)]=\"row.locationNo\"\n [collection]=\"stockLocations\"\n [fields]=\"dataLocationFields\"\n [placeholder]=\"'LOCATION'\"\n (modelChange)=\"onLocationSelected($event)\"\n (click)=\"onLocationDropdownClick()\"\n [required]=\"true\"\n ></co-drop-down-list>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleDetails\" [headerText]=\"'BATCH'\" [field]=\"'batchNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.batchNo\"\n [placeholder]=\"'BATCH'\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleDetails\" [headerText]=\"'SERIAL_NO'\" [field]=\"'serialNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.serialNo\"\n [placeholder]=\"'SERIAL_NO'\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK'\" [field]=\"'amountInStock'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.amountInStock\"\n [label]=\"'STOCK'\"\n (modelChange)=\"amountInStockChanged($event)\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ALLOCATED'\" [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'\" [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'\" [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'\" [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]=\"'SUPPLIER_NUMBER'\" [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 [headerText]=\"'TRANSFER'\" [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'\" [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 </div>\n\n <co-stock-change-amount *ngIf=\"showChangeStockDetails\"\n (closeStockChangeAmount)=\"showChangeStockDetails = false\"\n [selectedArticleDetailsData]=\"selectedArticleDetailsData\"\n >\n </co-stock-change-amount>\n\n <div class=\"stock-grid\" *ngIf=\"showStockHistory\">\n <div class=\"stock-button-left-group\">\n <span class=\"stock-button-back\" [textContent]=\"'BACK_TO_STOCK_LINES'\" (click)=\"backToStockInformation()\"></span>\n </div>\n <co-simple-grid [data]=\"stockHistoryInformation\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE'\">\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'\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT'\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE'\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION'\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'TRANSACTION_TYPE'\" [field]=\"'transType'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER'\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE'\" [field]=\"'posLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE'\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK'\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA'\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_ID'\" [field]=\"'relationId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER'\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE'\" [field]=\"'mutationType'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STICKER'\" [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 </div>\n\n <div class=\"stock-button-toolbar\">\n <div class=\"stock-button-left-group\">\n <co-button *ngIf=\"activeTab === tabs[0]\" [label]=\"'HISTORY'\" (click)=\"handleHistoryClick()\"></co-button>\n </div>\n <div class=\"stock-button-middle-group\" *ngIf=\"activeTab !== tabs[0]\">\n <div class=\"button-left\">\n <co-button [textContent]=\"'Ok'\" (click)=\"onOkClick()\"></co-button>\n </div>\n <div class=\"button-right\">\n <co-button [textContent]=\"'Annuleren'\" (click)=\"onCancelClick()\"></co-button>\n </div>\n </div>\n\n <div class=\"stock-button-middle-group\" *ngIf=\"hideOrShowLocationTab\">\n <div class=\"button-left\">\n <co-button [textContent]=\"'Ok'\" (click)=\"onOkClickSendLocations()\"></co-button>\n </div>\n <div class=\"button-right\">\n <co-button [textContent]=\"'Annuleren'\" (click)=\"onCancelClickSendLocations()\"></co-button>\n </div>\n </div>\n </div>\n <co-send-method-dialog *ngIf=\"showSendMethodDialog\"\n (closeClick)=\"showSendMethodDialog = false\"\n ></co-send-method-dialog>\n ",
1930
+ template: "\n <div class=\"tab-link show\" *ngIf=\"hideOrShowTabs\">\n <span class=\"tab-link-buttons\"\n *ngFor=\"let tab of tabs\"\n (click)=\"handleTabClick(tab)\"\n [textContent]=\"tab\"\n [class.active]=\"tab === activeTab\"\n ></span>\n </div>\n\n <div class=\"stock-line\">\n <div [textContent]=\"activeTabText\"></div>\n\n </div>\n\n <div class=\"stock-grid\">\n <co-simple-grid *ngIf=\"activeTab === tabs[0] && hideOrShowTabs\"\n [data]=\"articleStockInformation\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'WAREHOUSE'\" [field]=\"'warehouseNo'\" [order]=\"10\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DESCRIPTION'\" [field]=\"'warehouseName'\" [order]=\"11\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK'\" [field]=\"'technicalStock'\" [order]=\"12\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AVAILABLE_STOCK'\" [field]=\"'availableStock'\" [order]=\"13\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ECONOMICAL_STOCK'\" [field]=\"'economicalStock'\" [order]=\"14\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION'\" [field]=\"'locationNo'\" [order]=\"15\">\n <ng-template #template let-row=\"row\">\n <span class=\"location-link\" [textContent]=\"'Bekijken'\" (click)=\"onLocationClick(row)\"></span>\n </ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n\n <co-simple-grid *ngIf=\"activeTab === tabs[1]\"\n [data]=\"inOrderInformation\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'IN_ORDER2'\" [field]=\"'transactionNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'CUSTOMER'\" [field]=\"'customerName'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE'\">\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'\" [field]=\"'amountInOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE'\" [field]=\"'warehouseNumber'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DESCRIPTION'\" [field]=\"'warehouseDescription'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'TRANSFER'\" [field]=\"'transfer'\">\n <ng-template #template let-row=\"row\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.DeliveryTruck)\" (click)=\"handleStockTransferClick($event)\"></co-icon>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STICKER'\" [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\n <co-simple-grid *ngIf=\"activeTab === tabs[2]\"\n [data]=\"orderInformation\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'PURCHASE_ORDER_NR'\" [field]=\"'transactionNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE'\">\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'\" [field]=\"'amountInOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RESERVED'\" [field]=\"'reserved'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'FREE_STOCK'\" [field]=\"'InOrderForStock'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE1'\">\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 </div>\n\n <div class=\"stock-grid\" *ngIf=\"hideOrShowLocationTab\">\n <div class=\"stock-location-group\">\n <div class=\"stock-location-left-group\">\n <span class=\"stock-button-back\" [textContent]=\"'BACK_TO_STOCK_LINES'\" (click)=\"handleBackToStockClick()\"></span>\n </div>\n <div class=\"stock-location-right-group\">\n <co-drop-down-list [(model)]=\"selectedWarehouse\"\n [collection]=\"dataWareHouseCode\"\n [fields]=\"dataWareHouseFields\"\n [placeholder]=\"'WAREHOUSE'\"\n (modelChange)=\"onSelectWarehouse($event)\"\n [required]=\"true\"\n ></co-drop-down-list>\n </div>\n </div>\n\n<!-- TODO move to own component stock-location-->\n <co-simple-grid [data]=\"articleDetails\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n [showAdd]=\"true\"\n [showToolbar]=\"true\"\n [showDelete]=\"true\"\n [inlineEdit]=\"true\"\n (dblClickRow)=\"lockSelectedRow($event)\"\n >\n <div class=\"stock-location-group\">\n <div class=\"stock-location-left-group\">\n <co-button class=\"stock-lines-button\" [textContent]=\"'BACK_TO_STOCK_LINES'\" (click)=\"handleBackToStockClick()\"></co-button>\n </div>\n </div>\n <co-simple-grid-column [headerText]=\"'LOCATION'\" [field]=\"'locationNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-drop-down-list [(model)]=\"row.locationNo\"\n [collection]=\"stockLocations\"\n [fields]=\"dataLocationFields\"\n [placeholder]=\"'LOCATION'\"\n (click)=\"onLocationDropdownClick()\"\n [required]=\"true\"\n ></co-drop-down-list>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleDetails\" [headerText]=\"'BATCH'\" [field]=\"'batchNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.batchNo\"\n [placeholder]=\"'BATCH'\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleDetails\" [headerText]=\"'SERIAL_NO'\" [field]=\"'serialNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.serialNo\"\n [placeholder]=\"'SERIAL_NO'\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK'\" [field]=\"'amountInStock'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.amountInStock\"\n [label]=\"'STOCK'\"\n (modelChange)=\"amountInStockChanged($event)\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ALLOCATED'\" [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'\" [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'\" [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'\" [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]=\"'SUPPLIER_NUMBER'\" [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 [headerText]=\"'TRANSFER'\" [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'\" [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 </div>\n\n <co-stock-change-amount *ngIf=\"showChangeStockDetails\"\n (closeStockChangeAmount)=\"showChangeStockDetails = false\"\n [selectedArticleDetailsData]=\"selectedArticleDetailsData\"\n >\n </co-stock-change-amount>\n\n <div class=\"stock-grid\" *ngIf=\"showStockHistory\">\n <div class=\"stock-button-left-group\">\n <span class=\"stock-button-back\" [textContent]=\"'BACK_TO_STOCK_LINES'\" (click)=\"backToStockInformation()\"></span>\n </div>\n <co-simple-grid [data]=\"stockHistoryInformation\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE'\">\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'\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT'\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE'\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION'\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'TRANSACTION_TYPE'\" [field]=\"'transType'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER'\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE'\" [field]=\"'posLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE'\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK'\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA'\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_ID'\" [field]=\"'relationId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER'\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE'\" [field]=\"'mutationType'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STICKER'\" [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 </div>\n\n <div class=\"stock-button-toolbar\">\n <div class=\"stock-button-left-group\">\n <co-button *ngIf=\"activeTab === tabs[0]\" [label]=\"'HISTORY'\" (click)=\"handleHistoryClick()\"></co-button>\n </div>\n <div class=\"stock-button-middle-group\" *ngIf=\"activeTab !== tabs[0]\">\n <div class=\"button-left\">\n <co-button [textContent]=\"'Ok'\" (click)=\"onOkClick()\"></co-button>\n </div>\n <div class=\"button-right\">\n <co-button [textContent]=\"'Annuleren'\" (click)=\"onCancelClick()\"></co-button>\n </div>\n </div>\n\n <div class=\"stock-button-middle-group\" *ngIf=\"hideOrShowLocationTab\">\n <div class=\"button-left\">\n <co-button [textContent]=\"'Ok'\" (click)=\"onOkClickSendLocations()\"></co-button>\n </div>\n <div class=\"button-right\">\n <co-button [textContent]=\"'Annuleren'\" (click)=\"onCancelClickSendLocations()\"></co-button>\n </div>\n </div>\n </div>\n <co-send-method-dialog *ngIf=\"showSendMethodDialog\"\n (closeClick)=\"showSendMethodDialog = false\"\n ></co-send-method-dialog>\n ",
1992
1931
  encapsulation: i0.ViewEncapsulation.None
1993
1932
  },] }
1994
1933
  ];
@@ -2008,39 +1947,6 @@
2008
1947
  okButtonClicked: [{ type: i0.Output }]
2009
1948
  };
2010
1949
 
2011
- var StockLocationComponent = /** @class */ (function () {
2012
- function StockLocationComponent(_stockService) {
2013
- this._stockService = _stockService;
2014
- this.backToStockLines = new i0.EventEmitter();
2015
- this.stockLocationColumns = [];
2016
- this.stockLocationColumns.push({ field: "location", headerText: "WAREHOUSE", editType: "none" }, { field: "batch", headerText: "BATCH" }, { field: "serieNo", headerText: "SERIAL_NO" }, { field: "amountInStock", headerText: "STOCK", textAlign: "Right", editType: "numericEdit" }, { field: "allocated", headerText: "ALLOCATED", textAlign: "Right" }, { field: "amountAvailable", headerText: "AVAILABLE_STOCK", textAlign: "Right" }, { field: "PhysicalStock", headerText: "PHYSICAL_STOCK", textAlign: "Right" }, { field: "Valuta", headerText: "VALUTA", textAlign: "Right" }, { field: "PurchasePrice", headerText: "PURSCHASE_PRICE", textAlign: "Right" }, { field: "SupplierNo", headerText: "SUPPLIER_NO", textAlign: "Right" }, { field: "Transfer", headerText: "TRANSFER" }, { field: "sticker", headerText: "STICKER" });
2017
- }
2018
- StockLocationComponent.prototype.backToStockInformation = function () {
2019
- this.backToStockLines.emit();
2020
- };
2021
- StockLocationComponent.prototype.onOkClick = function () {
2022
- };
2023
- StockLocationComponent.prototype.onCancelClick = function () {
2024
- };
2025
- StockLocationComponent.prototype.onSelectWarehouse = function (event) {
2026
- };
2027
- return StockLocationComponent;
2028
- }());
2029
- StockLocationComponent.decorators = [
2030
- { type: i0.Component, args: [{
2031
- selector: "co-stock-location",
2032
- template: "\n <div class=\"stock-location-wrapper\">\n <div class=\"buttons-wrapper\">\n <div class=\"stock-button-left-group\">\n <span class=\"stock-button-back\" [textContent]=\"'BACK_TO_STOCK_LINES'\" (click)=\"backToStockInformation()\"></span>\n </div>\n <div class=\"dropdown-wrapper\">\n <co-drop-down-list\n [collection]=\"allWarehouses\"\n [placeholder]=\"'WAREHOUSES'\"\n (modelChange)=\"onSelectWarehouse($event)\"\n ></co-drop-down-list>\n </div>\n </div>\n\n <div class=\"stock-grid\">\n\n </div>\n <div class=\"button-wrapper\">\n <div class=\"button-left\">\n <co-button (click)=\"onOkClick()\"></co-button>\n </div>\n <div class=\"button-right\">\n <co-button (click)=\"onCancelClick()\"></co-button>\n </div>\n </div>\n </div>\n\n ",
2033
- encapsulation: i0.ViewEncapsulation.None
2034
- },] }
2035
- ];
2036
- StockLocationComponent.ctorParameters = function () { return [
2037
- { type: StockService }
2038
- ]; };
2039
- StockLocationComponent.propDecorators = {
2040
- stockLocationInformation: [{ type: i0.Input }],
2041
- backToStockLines: [{ type: i0.Output }]
2042
- };
2043
-
2044
1950
  var StockTransferComponent = /** @class */ (function () {
2045
1951
  function StockTransferComponent(_stockService) {
2046
1952
  this._stockService = _stockService;
@@ -2111,7 +2017,7 @@
2111
2017
  StockTransferComponent.decorators = [
2112
2018
  { type: i0.Component, args: [{
2113
2019
  selector: "co-stock-transfer",
2114
- template: "\n <div class=\"stock-transfer\">\n <div class=\"stock-transfer-columns\">\n <div *ngIf=\"articleToTransfer\" class=\"stock-transfer-left-column\">\n <co-input-text disabled\n [label]=\"'Standaard magazijn'\"\n [(model)]=\"articleToTransfer.warehouseDescription\"\n [textContent]=\"articleToTransfer.warehouseDescription\"\n [placeholder]=\"'Standaard magazijn'\"\n >\n </co-input-text>\n <co-input-text disabled\n [(model)]=\"articleToTransfer.locationNo\"\n [textContent]=\"articleToTransfer.locationNo\"\n [placeholder]=\"'Standaard locatie'\">\n </co-input-text>\n <co-input-text *ngIf=\"articleToTransfer.batchNo\"\n disabled\n [(model)]=\"articleToTransfer.batchNo\"\n [placeholder]=\"'Batch'\">\n </co-input-text>\n <co-input-text *ngIf=\"articleToTransfer.serialNo\"\n disabled\n [(model)]=\"articleToTransfer.serialNo\"\n [placeholder]=\"'Serie'\">\n </co-input-text>\n <co-input-text\n [(model)]=\"articleToTransfer.amountTransfer\"\n [placeholder]=\"'Aantal'\">\n </co-input-text>\n </div>\n\n <div class=\"stock-transfer-right-column\">\n <co-drop-down-list [collection]=\"warehouses\"\n [fields]=\"allWarehousesDropdownFields\"\n (modelChange)=\"handleSelectedWarehouse($event)\"\n [placeholder]=\"'Magazijn'\"\n [(model)]=\"articleToTransfer.targetWarehouse\">\n </co-drop-down-list>\n <co-drop-down-list [collection]=\"locations\"\n [fields]=\"allLocationDropdownFields\"\n [(model)]=\"articleToTransfer.targetLocation\"\n [placeholder]=\"'Locatie'\"\n >\n </co-drop-down-list>\n <co-drop-down-list [collection]=\"stockState\"\n [fields]=\"stockStateDropdownField\"\n [placeholder]=\"'Voorraadstatus'\"\n [(model)]=\"articleToTransfer.stockStateId\"\n >\n </co-drop-down-list>\n <co-input-text [placeholder]=\"'Omschrijving'\"\n [(model)]=\"articleToTransfer.stockStateRemark\">\n </co-input-text>\n </div>\n </div>\n\n <div class=\"ok-cancel-buttons\">\n <co-button [textContent]=\"'Ok'\" (click)=\"handleOkClick(articleToTransfer)\"></co-button>\n <co-button [textContent]=\"'Annuleren'\" (click)=\"handleCancelClick()\"></co-button>\n <co-button [textContent]=\"'Sticker'\" (click)=\"handleStickerClick()\"></co-button>\n </div>\n </div>\n ",
2020
+ template: "\n <div class=\"stock-transfer\">\n <div class=\"stock-transfer-columns\">\n <div *ngIf=\"articleToTransfer\" class=\"stock-transfer-left-column\">\n <co-input-text disabled\n [label]=\"'Standaard magazijn'\"\n [(model)]=\"articleToTransfer.warehouseDescription\"\n [textContent]=\"articleToTransfer.warehouseDescription\"\n [placeholder]=\"'Standaard magazijn'\"\n >\n </co-input-text>\n <co-input-text disabled\n [(model)]=\"articleToTransfer.locationNo\"\n [textContent]=\"articleToTransfer.locationNo\"\n [placeholder]=\"'Standaard locatie'\">\n </co-input-text>\n<!-- <co-input-text disabled-->\n<!-- [(model)]=\"stockSticker.batch\"-->\n<!-- [placeholder]=\"'Batch'\">-->\n<!-- </co-input-text>-->\n<!-- <co-input-text disabled-->\n<!-- [(model)]=\"stockSticker.serial\"-->\n<!-- [placeholder]=\"'Serie'\">-->\n<!-- </co-input-text>-->\n <co-input-text\n [(model)]=\"articleToTransfer.amountTransfer\"\n [placeholder]=\"'Aantal'\">\n </co-input-text>\n </div>\n\n <div class=\"stock-transfer-right-column\">\n <co-drop-down-list [collection]=\"warehouses\"\n [fields]=\"allWarehousesDropdownFields\"\n (modelChange)=\"handleSelectedWarehouse($event)\"\n [placeholder]=\"'Magazijn'\"\n [(model)]=\"articleToTransfer.targetWarehouse\">\n </co-drop-down-list>\n <co-drop-down-list [collection]=\"locations\"\n [fields]=\"allLocationDropdownFields\"\n [(model)]=\"articleToTransfer.targetLocation\"\n [placeholder]=\"'Locatie'\"\n >\n </co-drop-down-list>\n <co-drop-down-list [collection]=\"stockState\"\n [fields]=\"stockStateDropdownField\"\n [placeholder]=\"'Voorraadstatus'\"\n [(model)]=\"articleToTransfer.stockStateId\"\n >\n </co-drop-down-list>\n <co-input-text [placeholder]=\"'Omschrijving'\"\n [(model)]=\"articleToTransfer.stockStateRemark\">\n </co-input-text>\n </div>\n </div>\n\n <div class=\"ok-cancel-buttons\">\n <co-button [textContent]=\"'Ok'\" (click)=\"handleOkClick(articleToTransfer)\"></co-button>\n <co-button [textContent]=\"'Annuleren'\" (click)=\"handleCancelClick()\"></co-button>\n <co-button [textContent]=\"'Sticker'\" (click)=\"handleStickerClick()\"></co-button>\n </div>\n </div>\n ",
2115
2021
  encapsulation: i0.ViewEncapsulation.None
2116
2022
  },] }
2117
2023
  ];
@@ -2256,13 +2162,13 @@
2256
2162
  }());
2257
2163
 
2258
2164
  var sendMethodsWithIcon = [
2259
- new SendMethod(sendMethodType_enum.SendMethodType.Fax, "Fax", exports["ɵw"].PrintRegular),
2260
- new SendMethod(sendMethodType_enum.SendMethodType.Print, "Print", exports["ɵw"].PrintSolid),
2261
- new SendMethod(sendMethodType_enum.SendMethodType.Email, "Email", exports["ɵw"].AtSolid),
2262
- new SendMethod(sendMethodType_enum.SendMethodType.Edi, "Edi", exports["ɵw"].FileExportSolid),
2263
- new SendMethod(sendMethodType_enum.SendMethodType.EmailTemplate, "Email template", exports["ɵw"].EnvelopeRegular),
2264
- new SendMethod(sendMethodType_enum.SendMethodType.Sms, "Sms", exports["ɵw"].MessageSmsSolid),
2265
- new SendMethod(sendMethodType_enum.SendMethodType.WebService, "Webservice", exports["ɵw"].PrintRegular)
2165
+ new SendMethod(sendMethodType_enum.SendMethodType.Fax, "Fax", exports["ɵbi"].PrintRegular),
2166
+ new SendMethod(sendMethodType_enum.SendMethodType.Print, "Print", exports["ɵbi"].PrintSolid),
2167
+ new SendMethod(sendMethodType_enum.SendMethodType.Email, "Email", exports["ɵbi"].AtSolid),
2168
+ new SendMethod(sendMethodType_enum.SendMethodType.Edi, "Edi", exports["ɵbi"].FileExportSolid),
2169
+ new SendMethod(sendMethodType_enum.SendMethodType.EmailTemplate, "Email template", exports["ɵbi"].EnvelopeRegular),
2170
+ new SendMethod(sendMethodType_enum.SendMethodType.Sms, "Sms", exports["ɵbi"].MessageSmsSolid),
2171
+ new SendMethod(sendMethodType_enum.SendMethodType.WebService, "Webservice", exports["ɵbi"].PrintRegular)
2266
2172
  ];
2267
2173
  var SendMethodDialogComponent = /** @class */ (function () {
2268
2174
  function SendMethodDialogComponent(iconCacheService, _optionsService, _dictionary, _changeDetector, _sharedService, _sendMethodService) {
@@ -2273,7 +2179,7 @@
2273
2179
  this._changeDetector = _changeDetector;
2274
2180
  this._sharedService = _sharedService;
2275
2181
  this._sendMethodService = _sendMethodService;
2276
- this.icons = exports["ɵw"];
2182
+ this.icons = exports["ɵbi"];
2277
2183
  this.emailLayouts = [];
2278
2184
  this.printLayouts = [];
2279
2185
  this.emailAddresses = [];
@@ -2642,7 +2548,7 @@
2642
2548
  this.sendMethodService = sendMethodService;
2643
2549
  this.iconService = iconService;
2644
2550
  this._service = _service;
2645
- this.icons = exports["ɵw"];
2551
+ this.icons = exports["ɵbi"];
2646
2552
  this.printers = [];
2647
2553
  this.showPrinterList = false;
2648
2554
  }
@@ -2818,6 +2724,554 @@
2818
2724
  closeStockChangeAmount: [{ type: i0.Output }]
2819
2725
  };
2820
2726
 
2727
+ var StockTabComponent = /** @class */ (function () {
2728
+ function StockTabComponent() {
2729
+ this.locationClicked = new i0.EventEmitter();
2730
+ }
2731
+ StockTabComponent.prototype.onLocationClick = function (data) {
2732
+ this.locationClicked.emit(data);
2733
+ };
2734
+ return StockTabComponent;
2735
+ }());
2736
+ StockTabComponent.decorators = [
2737
+ { type: i0.Component, args: [{
2738
+ selector: "co-stock-tab",
2739
+ template: "\n <co-simple-grid [data]=\"articleStockInformation\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'WAREHOUSE'\" [field]=\"'warehouseNo'\" [order]=\"10\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DESCRIPTION'\" [field]=\"'warehouseName'\" [order]=\"11\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK'\" [field]=\"'technicalStock'\" [order]=\"12\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AVAILABLE_STOCK'\" [field]=\"'availableStock'\" [order]=\"13\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ECONOMICAL_STOCK'\" [field]=\"'economicalStock'\" [order]=\"14\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION'\" [field]=\"'locationNo'\" [order]=\"15\">\n <ng-template #template let-row=\"row\">\n <span class=\"location-link\" [textContent]=\"'Bekijken'\" (click)=\"onLocationClick(row)\"></span>\n </ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n ",
2740
+ encapsulation: i0.ViewEncapsulation.None
2741
+ },] }
2742
+ ];
2743
+ StockTabComponent.ctorParameters = function () { return []; };
2744
+ StockTabComponent.propDecorators = {
2745
+ articleStockInformation: [{ type: i0.Input }],
2746
+ locationClicked: [{ type: i0.Output }]
2747
+ };
2748
+
2749
+ var OrderTabComponent = /** @class */ (function () {
2750
+ function OrderTabComponent(iconCacheService, _stockService) {
2751
+ this.iconCacheService = iconCacheService;
2752
+ this._stockService = _stockService;
2753
+ this.icons = exports["ɵbi"];
2754
+ this.locationClicked = new i0.EventEmitter();
2755
+ this.transferIconClicked = new i0.EventEmitter();
2756
+ this.sendMethodDialogClicked = new i0.EventEmitter();
2757
+ }
2758
+ OrderTabComponent.prototype.openSendMethodDialog = function (data) {
2759
+ this.sendMethodDialogClicked.emit(data);
2760
+ };
2761
+ OrderTabComponent.prototype.handleStockTransferClick = function (event) {
2762
+ this.transferIconClicked.emit(event);
2763
+ };
2764
+ return OrderTabComponent;
2765
+ }());
2766
+ OrderTabComponent.decorators = [
2767
+ { type: i0.Component, args: [{
2768
+ selector: "co-order-tab",
2769
+ template: "\n <co-simple-grid [data]=\"inOrderInformation\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'IN_ORDER2'\" [field]=\"'transactionNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'CUSTOMER'\" [field]=\"'customerName'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE'\">\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'\" [field]=\"'amountInOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE'\" [field]=\"'warehouseNumber'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DESCRIPTION'\" [field]=\"'warehouseDescription'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'TRANSFER'\" [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'\" [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 ",
2770
+ encapsulation: i0.ViewEncapsulation.None
2771
+ },] }
2772
+ ];
2773
+ OrderTabComponent.ctorParameters = function () { return [
2774
+ { type: IconCacheService },
2775
+ { type: StockService }
2776
+ ]; };
2777
+ OrderTabComponent.propDecorators = {
2778
+ articleStockInformation: [{ type: i0.Input }],
2779
+ inOrderInformation: [{ type: i0.Input }],
2780
+ locationClicked: [{ type: i0.Output }],
2781
+ transferIconClicked: [{ type: i0.Output }],
2782
+ sendMethodDialogClicked: [{ type: i0.Output }]
2783
+ };
2784
+
2785
+ var StockTabsComponent = /** @class */ (function () {
2786
+ function StockTabsComponent(_stockService) {
2787
+ this._stockService = _stockService;
2788
+ this.icons = exports["ɵbi"];
2789
+ this.transferIconClicked = new i0.EventEmitter();
2790
+ this.sendMethodDialogClicked = new i0.EventEmitter();
2791
+ this.tabs = [
2792
+ { title: 'Overzicht', active: true },
2793
+ { title: 'Voorraaddetails', active: false, clickHandler: this.getStockManagementWarehouses.bind(this) },
2794
+ { title: 'In order', active: false, clickHandler: this.getInOrderData.bind(this) },
2795
+ { title: 'In bestelling', active: false, clickHandler: this.getOrderData.bind(this) },
2796
+ { title: 'Historie', active: false },
2797
+ ];
2798
+ this.historyTabs = [
2799
+ { title: 'Voorraad', active: false, clickHandler: this.getStockHistory.bind(this) },
2800
+ { title: 'Order voorraad', active: false, clickHandler: this.getOrderSupplyStockHistory.bind(this) },
2801
+ { title: 'Order commissie', active: false, clickHandler: this.getOrderCommissionStockHistory.bind(this) },
2802
+ { title: 'Bestelling', active: false, clickHandler: this.getOrderStockHistory.bind(this) },
2803
+ { title: 'Toewijzing', active: false, clickHandler: this.getAllocationStockHistory.bind(this) },
2804
+ ];
2805
+ }
2806
+ StockTabsComponent.prototype.handleLocationClicked = function (data) {
2807
+ this.clickedLocation = data.warehouseNo;
2808
+ this.tabs[0].active = false;
2809
+ this.tabs[1].active = true;
2810
+ };
2811
+ StockTabsComponent.prototype.getStockHistory = function () {
2812
+ return __awaiter(this, void 0, void 0, function () {
2813
+ var stockHistoryInformation, _a;
2814
+ return __generator(this, function (_b) {
2815
+ switch (_b.label) {
2816
+ case 0:
2817
+ if (!!this.stockHistory) return [3 /*break*/, 2];
2818
+ stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
2819
+ stockHistoryInformation.type = "V";
2820
+ stockHistoryInformation.goodId = this.article;
2821
+ _a = this;
2822
+ return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
2823
+ case 1:
2824
+ _a.stockHistory = _b.sent();
2825
+ _b.label = 2;
2826
+ case 2: return [2 /*return*/];
2827
+ }
2828
+ });
2829
+ });
2830
+ };
2831
+ StockTabsComponent.prototype.getOrderSupplyStockHistory = function () {
2832
+ return __awaiter(this, void 0, void 0, function () {
2833
+ var stockHistoryInformation, _a;
2834
+ return __generator(this, function (_b) {
2835
+ switch (_b.label) {
2836
+ case 0:
2837
+ if (!!this.orderSupplyStockHistory) return [3 /*break*/, 2];
2838
+ stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
2839
+ stockHistoryInformation.type = "O";
2840
+ stockHistoryInformation.goodId = this.article;
2841
+ _a = this;
2842
+ return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
2843
+ case 1:
2844
+ _a.orderSupplyStockHistory = _b.sent();
2845
+ _b.label = 2;
2846
+ case 2: return [2 /*return*/];
2847
+ }
2848
+ });
2849
+ });
2850
+ };
2851
+ StockTabsComponent.prototype.getOrderCommissionStockHistory = function () {
2852
+ return __awaiter(this, void 0, void 0, function () {
2853
+ var stockHistoryInformation, _a;
2854
+ return __generator(this, function (_b) {
2855
+ switch (_b.label) {
2856
+ case 0:
2857
+ if (!!this.orderCommissionStockHistory) return [3 /*break*/, 2];
2858
+ stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
2859
+ stockHistoryInformation.type = "C";
2860
+ stockHistoryInformation.goodId = this.article;
2861
+ _a = this;
2862
+ return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
2863
+ case 1:
2864
+ _a.orderCommissionStockHistory = _b.sent();
2865
+ _b.label = 2;
2866
+ case 2: return [2 /*return*/];
2867
+ }
2868
+ });
2869
+ });
2870
+ };
2871
+ StockTabsComponent.prototype.getOrderStockHistory = function () {
2872
+ return __awaiter(this, void 0, void 0, function () {
2873
+ var stockHistoryInformation, _a;
2874
+ return __generator(this, function (_b) {
2875
+ switch (_b.label) {
2876
+ case 0:
2877
+ if (!!this.orderStockHistory) return [3 /*break*/, 2];
2878
+ stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
2879
+ stockHistoryInformation.type = "B";
2880
+ stockHistoryInformation.goodId = this.article;
2881
+ _a = this;
2882
+ return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
2883
+ case 1:
2884
+ _a.orderStockHistory = _b.sent();
2885
+ _b.label = 2;
2886
+ case 2: return [2 /*return*/];
2887
+ }
2888
+ });
2889
+ });
2890
+ };
2891
+ StockTabsComponent.prototype.getAllocationStockHistory = function () {
2892
+ return __awaiter(this, void 0, void 0, function () {
2893
+ var stockHistoryInformation, _a;
2894
+ return __generator(this, function (_b) {
2895
+ switch (_b.label) {
2896
+ case 0:
2897
+ if (!!this.orderAllocationStockHistory) return [3 /*break*/, 2];
2898
+ stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
2899
+ stockHistoryInformation.type = "T";
2900
+ stockHistoryInformation.goodId = this.article;
2901
+ _a = this;
2902
+ return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
2903
+ case 1:
2904
+ _a.orderAllocationStockHistory = _b.sent();
2905
+ _b.label = 2;
2906
+ case 2: return [2 /*return*/];
2907
+ }
2908
+ });
2909
+ });
2910
+ };
2911
+ StockTabsComponent.prototype.getInOrderData = function () {
2912
+ return __awaiter(this, void 0, void 0, function () {
2913
+ var inOrderData, _a;
2914
+ return __generator(this, function (_b) {
2915
+ switch (_b.label) {
2916
+ case 0:
2917
+ if (!!this.inOrderInformation) return [3 /*break*/, 2];
2918
+ inOrderData = new articleTransaction.ArticleTransaction();
2919
+ inOrderData.type = "V";
2920
+ inOrderData.goodId = this.stockInformation[0].goodId.toString();
2921
+ _a = this;
2922
+ return [4 /*yield*/, this._stockService.getArticleTransaction(inOrderData)];
2923
+ case 1:
2924
+ _a.inOrderInformation = _b.sent();
2925
+ _b.label = 2;
2926
+ case 2: return [2 /*return*/];
2927
+ }
2928
+ });
2929
+ });
2930
+ };
2931
+ StockTabsComponent.prototype.getStockManagementWarehouses = function () {
2932
+ var _this = this;
2933
+ this._stockService.getStockManagementWarehouses().then(function (warehouses) {
2934
+ _this.warehouses = warehouses;
2935
+ });
2936
+ };
2937
+ StockTabsComponent.prototype.getOrderData = function () {
2938
+ return __awaiter(this, void 0, void 0, function () {
2939
+ var orderData, _a;
2940
+ return __generator(this, function (_b) {
2941
+ switch (_b.label) {
2942
+ case 0:
2943
+ if (!!this.orderInformation) return [3 /*break*/, 2];
2944
+ orderData = new articleTransaction.ArticleTransaction();
2945
+ orderData.type = "I";
2946
+ orderData.goodId = this.stockInformation[0].goodId.toString();
2947
+ _a = this;
2948
+ return [4 /*yield*/, this._stockService.getArticleTransaction(orderData)];
2949
+ case 1:
2950
+ _a.orderInformation = _b.sent();
2951
+ _b.label = 2;
2952
+ case 2: return [2 /*return*/];
2953
+ }
2954
+ });
2955
+ });
2956
+ };
2957
+ return StockTabsComponent;
2958
+ }());
2959
+ StockTabsComponent.decorators = [
2960
+ { type: i0.Component, args: [{
2961
+ selector: "co-stock-tabs",
2962
+ template: "\n <co-tab-bar [tabs]=\"tabs\" [secondaryTabs]=\"historyTabs\" [ActivateSecondaryTabs]=\"tabs[4].active\"></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-location *ngIf=\"tabs[1].active\"\n [articleStockInformation]=\"stockInformation\"\n [article]=\"article\"\n [clickedLocation]=\"clickedLocation\"\n [dataWareHouseCode]=\"warehouses\"\n (transferIconClicked)=\"transferIconClicked.emit($event)\"\n (sendMethodDialogClicked)=\"sendMethodDialogClicked.emit($event)\"\n ></co-stock-location>\n\n <co-order-tab *ngIf=\"tabs[2].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[3].active\"\n [orderInformation]=\"orderInformation\"\n ></co-order-stock-tab>\n\n <co-stock-history *ngIf=\"historyTabs[0].active && tabs[4].active\"\n [stockHistory]=\"stockHistory\"\n ></co-stock-history>\n\n <co-order-supply-stock-history *ngIf=\"historyTabs[1].active && tabs[4].active\"\n [orderSupplyStockHistory]=\"orderSupplyStockHistory\"\n ></co-order-supply-stock-history>\n\n <co-order-stock-commission-history *ngIf=\"historyTabs[2].active && tabs[4].active\"\n [orderStockCommissionHistory]=\"orderCommissionStockHistory\"\n ></co-order-stock-commission-history>\n\n <co-order-stock-history *ngIf=\"historyTabs[3].active && tabs[4].active\"\n [orderStockHistory]=\"orderStockHistory\"\n ></co-order-stock-history>\n\n <co-allocation-stock-history *ngIf=\"historyTabs[4].active && tabs[4].active\"\n [allocationStockHistory]=\"orderAllocationStockHistory\"\n ></co-allocation-stock-history>\n\n ",
2963
+ encapsulation: i0.ViewEncapsulation.None
2964
+ },] }
2965
+ ];
2966
+ StockTabsComponent.ctorParameters = function () { return [
2967
+ { type: StockService }
2968
+ ]; };
2969
+ StockTabsComponent.propDecorators = {
2970
+ stockInformation: [{ type: i0.Input }],
2971
+ article: [{ type: i0.Input }],
2972
+ transferIconClicked: [{ type: i0.Output }],
2973
+ sendMethodDialogClicked: [{ type: i0.Output }]
2974
+ };
2975
+
2976
+ var StockHistoryTabsComponent = /** @class */ (function () {
2977
+ function StockHistoryTabsComponent() {
2978
+ this.icons = exports["ɵbi"];
2979
+ this.selectedTab = 0;
2980
+ }
2981
+ return StockHistoryTabsComponent;
2982
+ }());
2983
+ StockHistoryTabsComponent.decorators = [
2984
+ { type: i0.Component, args: [{
2985
+ selector: "co-stock-history-tabs",
2986
+ template: "\n <div class=\"stock-history-tabs-wrapper\">\n <div class=\"tab-container\">\n <div class=\"tab-header\">\n <button class=\"tab-button\" (click)=\"selectedTab = 0\" [class.active]=\"selectedTab === 0\">Voorraad</button>\n <button class=\"tab-button\" (click)=\"selectedTab = 1\" [class.active]=\"selectedTab === 1\">Order voorraad</button>\n <button class=\"tab-button\" (click)=\"selectedTab = 2\" [class.active]=\"selectedTab === 2\">Order commissie</button>\n <button class=\"tab-button\" (click)=\"selectedTab = 3\" [class.active]=\"selectedTab === 3\">Bestelling</button>\n <button class=\"tab-button\" (click)=\"selectedTab = 4\" [class.active]=\"selectedTab === 4\">Toewijzing</button>\n </div>\n </div>\n </div>\n\n\n ",
2987
+ encapsulation: i0.ViewEncapsulation.None
2988
+ },] }
2989
+ ];
2990
+ StockHistoryTabsComponent.ctorParameters = function () { return []; };
2991
+ StockHistoryTabsComponent.propDecorators = {
2992
+ stockInformation: [{ type: i0.Input }]
2993
+ };
2994
+
2995
+ var OrderStockTabComponent = /** @class */ (function () {
2996
+ function OrderStockTabComponent(iconCacheService, _stockService) {
2997
+ this.iconCacheService = iconCacheService;
2998
+ this._stockService = _stockService;
2999
+ this.icons = exports["ɵbi"];
3000
+ }
3001
+ return OrderStockTabComponent;
3002
+ }());
3003
+ OrderStockTabComponent.decorators = [
3004
+ { type: i0.Component, args: [{
3005
+ selector: "co-order-stock-tab",
3006
+ template: "\n <co-simple-grid [data]=\"orderInformation\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'PURCHASE_ORDER_NR'\" [field]=\"'transactionNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE'\">\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'\" [field]=\"'amountInOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RESERVED'\" [field]=\"'reserved'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'FREE_STOCK'\" [field]=\"'InOrderForStock'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE1'\">\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 ",
3007
+ encapsulation: i0.ViewEncapsulation.None
3008
+ },] }
3009
+ ];
3010
+ OrderStockTabComponent.ctorParameters = function () { return [
3011
+ { type: IconCacheService },
3012
+ { type: StockService }
3013
+ ]; };
3014
+ OrderStockTabComponent.propDecorators = {
3015
+ orderInformation: [{ type: i0.Input }]
3016
+ };
3017
+
3018
+ var StockLocationComponent = /** @class */ (function () {
3019
+ function StockLocationComponent(iconCacheService, _stockService, _changeDetector) {
3020
+ this.iconCacheService = iconCacheService;
3021
+ this._stockService = _stockService;
3022
+ this._changeDetector = _changeDetector;
3023
+ this.icons = exports["ɵbi"];
3024
+ this.transferIconClicked = new i0.EventEmitter();
3025
+ this.sendMethodDialogClicked = new i0.EventEmitter();
3026
+ this.selectedWarehouse = 0;
3027
+ this.dataWareHouseFields = { text: "warehouseDescription", value: "warehouseNo" };
3028
+ this.dataLocationFields = { text: "locationNo", value: "locationNo" };
3029
+ this.articleDetailsInformation = new articleStockManagement.ArticleStockManagement();
3030
+ this.selectedArticleDetailsData = new articleDetails_bo.ArticleDetailsBo();
3031
+ }
3032
+ StockLocationComponent.prototype.ngOnInit = function () {
3033
+ if (this.clickedLocation) {
3034
+ this.selectedWarehouse = this.clickedLocation;
3035
+ this.onSelectWarehouse(this.selectedWarehouse);
3036
+ }
3037
+ };
3038
+ StockLocationComponent.prototype.onSelectWarehouse = function (event) {
3039
+ var _this = this;
3040
+ this.articleDetailsInformation.warehouseNumber = event;
3041
+ this.articleDetailsInformation.goodId = this.article.goodId;
3042
+ if (this.selectedWarehouse || this.selectedWarehouse === 0) {
3043
+ this._stockService.getArticleDetails(this.articleDetailsInformation).then(function (details) {
3044
+ _this.articleDetails = details;
3045
+ });
3046
+ }
3047
+ };
3048
+ StockLocationComponent.prototype.lockSelectedRow = function (row) {
3049
+ this._stockService.lockArticleDetails(row);
3050
+ };
3051
+ StockLocationComponent.prototype.onLocationDropdownClick = function () {
3052
+ var _this = this;
3053
+ this._stockService.getStockManagementLocations(this.selectedWarehouse).then(function (locations) {
3054
+ _this.stockLocations = locations;
3055
+ });
3056
+ };
3057
+ StockLocationComponent.prototype.amountInStockChanged = function (data) {
3058
+ this.selectedArticleDetailsData.amountInStock = data;
3059
+ };
3060
+ StockLocationComponent.prototype.openSendMethodDialog = function (data) {
3061
+ this.sendMethodDialogClicked.emit(data);
3062
+ };
3063
+ StockLocationComponent.prototype.handleStockTransferClick = function (event) {
3064
+ this.transferIconClicked.emit(event);
3065
+ };
3066
+ return StockLocationComponent;
3067
+ }());
3068
+ StockLocationComponent.decorators = [
3069
+ { type: i0.Component, args: [{
3070
+ selector: "co-stock-location",
3071
+ template: "\n <div class=\"stock-grid\">\n <div class=\"stock-location-group\">\n <div class=\"stock-location-right-group\">\n <co-drop-down-list [(model)]=\"selectedWarehouse\"\n [collection]=\"dataWareHouseCode\"\n [fields]=\"dataWareHouseFields\"\n [placeholder]=\"'WAREHOUSE'\"\n (modelChange)=\"onSelectWarehouse($event)\"\n [required]=\"true\"\n ></co-drop-down-list>\n </div>\n </div>\n\n <co-simple-grid [data]=\"articleDetails\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n [showAdd]=\"true\"\n [showDelete]=\"true\"\n [inlineEdit]=\"true\"\n (dblClickRow)=\"lockSelectedRow($event)\"\n [rightToolbar]=\"true\"\n [showToolbar]=\"true\"\n >\n <co-simple-grid-column [headerText]=\"'LOCATION'\" [field]=\"'locationNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-drop-down-list [(model)]=\"row.locationNo\"\n [collection]=\"stockLocations\"\n [fields]=\"dataLocationFields\"\n [placeholder]=\"'LOCATION'\"\n (click)=\"onLocationDropdownClick()\"\n [required]=\"true\"\n ></co-drop-down-list>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleDetails\" [headerText]=\"'BATCH'\" [field]=\"'batchNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.batchNo\"\n [placeholder]=\"'BATCH'\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleDetails\" [headerText]=\"'SERIAL_NO'\" [field]=\"'serialNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.serialNo\"\n [placeholder]=\"'SERIAL_NO'\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK'\" [field]=\"'amountInStock'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.amountInStock\"\n [label]=\"'STOCK'\"\n (modelChange)=\"amountInStockChanged($event)\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ALLOCATED'\" [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'\" [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'\" [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'\" [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]=\"'SUPPLIER_NUMBER'\" [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 [headerText]=\"'TRANSFER'\" [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 </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STICKER'\" [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 </co-simple-grid-column>\n </co-simple-grid>\n </div>\n ",
3072
+ encapsulation: i0.ViewEncapsulation.None
3073
+ },] }
3074
+ ];
3075
+ StockLocationComponent.ctorParameters = function () { return [
3076
+ { type: IconCacheService },
3077
+ { type: StockService },
3078
+ { type: i0.ChangeDetectorRef }
3079
+ ]; };
3080
+ StockLocationComponent.propDecorators = {
3081
+ articleStockInformation: [{ type: i0.Input }],
3082
+ article: [{ type: i0.Input }],
3083
+ clickedLocation: [{ type: i0.Input }],
3084
+ dataWareHouseCode: [{ type: i0.Input }],
3085
+ transferIconClicked: [{ type: i0.Output }],
3086
+ sendMethodDialogClicked: [{ type: i0.Output }]
3087
+ };
3088
+
3089
+ var StockHistoryComponent = /** @class */ (function () {
3090
+ function StockHistoryComponent(iconCacheService, _stockService) {
3091
+ this.iconCacheService = iconCacheService;
3092
+ this._stockService = _stockService;
3093
+ this.icons = exports["ɵbi"];
3094
+ }
3095
+ StockHistoryComponent.prototype.openSendMethodDialog = function (data) {
3096
+ if (!(this._stockService.printLayoutParams instanceof printPriceStickers_bo.PrintPriceStickers)) {
3097
+ this._stockService.printLayoutParams.goodId = data.goodId;
3098
+ this._stockService.printLayoutParams.warehouse = data.warehouseNo;
3099
+ }
3100
+ };
3101
+ StockHistoryComponent.prototype.getStockHistory = function () {
3102
+ return __awaiter(this, void 0, void 0, function () {
3103
+ var stockHistoryInformation, _a;
3104
+ return __generator(this, function (_b) {
3105
+ switch (_b.label) {
3106
+ case 0:
3107
+ stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
3108
+ stockHistoryInformation.type = "B";
3109
+ stockHistoryInformation.goodId = this.articleGoodId;
3110
+ _a = this;
3111
+ return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
3112
+ case 1:
3113
+ _a.stockHistory = _b.sent();
3114
+ return [2 /*return*/];
3115
+ }
3116
+ });
3117
+ });
3118
+ };
3119
+ return StockHistoryComponent;
3120
+ }());
3121
+ StockHistoryComponent.decorators = [
3122
+ { type: i0.Component, args: [{
3123
+ selector: "co-stock-history",
3124
+ template: "\n <co-simple-grid [data]=\"stockHistory\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE'\">\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'\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT'\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE'\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION'\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER'\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE'\" [field]=\"'transLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE'\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK'\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA'\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NR'\" [field]=\"'relationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER'\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE'\" [field]=\"'mutationType'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
3125
+ encapsulation: i0.ViewEncapsulation.None
3126
+ },] }
3127
+ ];
3128
+ StockHistoryComponent.ctorParameters = function () { return [
3129
+ { type: IconCacheService },
3130
+ { type: StockService }
3131
+ ]; };
3132
+ StockHistoryComponent.propDecorators = {
3133
+ stockHistoryInformation: [{ type: i0.Input }],
3134
+ articleGoodId: [{ type: i0.Input }],
3135
+ stockHistory: [{ type: i0.Input }]
3136
+ };
3137
+
3138
+ var TabBarComponent = /** @class */ (function () {
3139
+ function TabBarComponent() {
3140
+ this.ActivateSecondaryTabs = false;
3141
+ }
3142
+ TabBarComponent.prototype.selectTab = function (tab) {
3143
+ if (tab.clickHandler) {
3144
+ tab.clickHandler();
3145
+ }
3146
+ this.tabs.forEach(function (t) { return t.active = false; });
3147
+ tab.active = true;
3148
+ };
3149
+ TabBarComponent.prototype.selectSecondaryTab = function (secondaryTab) {
3150
+ if (secondaryTab.clickHandler) {
3151
+ secondaryTab.clickHandler();
3152
+ }
3153
+ this.secondaryTabs.forEach(function (t) { return t.active = false; });
3154
+ secondaryTab.active = true;
3155
+ };
3156
+ return TabBarComponent;
3157
+ }());
3158
+ TabBarComponent.decorators = [
3159
+ { type: i0.Component, args: [{
3160
+ selector: "co-tab-bar",
3161
+ template: "\n <div class=\"tab-bar\">\n <button *ngFor=\"let tab of tabs\" [class.active]=\"tab.active\" (click)=\"selectTab(tab)\">\n {{tab.title}}\n </button>\n </div>\n <div class=\"secondary-tab-bar\" *ngIf=\"ActivateSecondaryTabs\">\n <button *ngFor=\"let tab of secondaryTabs\" [class.active]=\"tab.active\" (click)=\"selectSecondaryTab(tab)\">\n {{tab.title}}\n </button>\n </div>\n ",
3162
+ encapsulation: i0.ViewEncapsulation.None
3163
+ },] }
3164
+ ];
3165
+ TabBarComponent.ctorParameters = function () { return []; };
3166
+ TabBarComponent.propDecorators = {
3167
+ tabs: [{ type: i0.Input }],
3168
+ secondaryTabs: [{ type: i0.Input }],
3169
+ ActivateSecondaryTabs: [{ type: i0.Input }]
3170
+ };
3171
+
3172
+ var TabBarModule = /** @class */ (function () {
3173
+ function TabBarModule() {
3174
+ }
3175
+ return TabBarModule;
3176
+ }());
3177
+ TabBarModule.decorators = [
3178
+ { type: i0.NgModule, args: [{
3179
+ imports: [
3180
+ common.CommonModule,
3181
+ ],
3182
+ declarations: [
3183
+ TabBarComponent
3184
+ ],
3185
+ exports: [
3186
+ TabBarComponent
3187
+ ]
3188
+ },] }
3189
+ ];
3190
+
3191
+ var OrderSupplyStockHistoryComponent = /** @class */ (function () {
3192
+ function OrderSupplyStockHistoryComponent(iconCacheService) {
3193
+ this.iconCacheService = iconCacheService;
3194
+ this.icons = exports["ɵbi"];
3195
+ }
3196
+ return OrderSupplyStockHistoryComponent;
3197
+ }());
3198
+ OrderSupplyStockHistoryComponent.decorators = [
3199
+ { type: i0.Component, args: [{
3200
+ selector: "co-order-supply-stock-history",
3201
+ template: "\n <co-simple-grid [data]=\"orderSupplyStockHistory\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE'\">\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'\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT'\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE'\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION'\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER'\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE'\" [field]=\"'transLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE'\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK'\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA'\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NR'\" [field]=\"'relationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER'\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE'\" [field]=\"'mutationType'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
3202
+ encapsulation: i0.ViewEncapsulation.None
3203
+ },] }
3204
+ ];
3205
+ OrderSupplyStockHistoryComponent.ctorParameters = function () { return [
3206
+ { type: IconCacheService }
3207
+ ]; };
3208
+ OrderSupplyStockHistoryComponent.propDecorators = {
3209
+ orderSupplyStockHistory: [{ type: i0.Input }]
3210
+ };
3211
+
3212
+ var OrderCommissionStockHistoryComponent = /** @class */ (function () {
3213
+ function OrderCommissionStockHistoryComponent(iconCacheService) {
3214
+ this.iconCacheService = iconCacheService;
3215
+ this.icons = exports["ɵbi"];
3216
+ }
3217
+ return OrderCommissionStockHistoryComponent;
3218
+ }());
3219
+ OrderCommissionStockHistoryComponent.decorators = [
3220
+ { type: i0.Component, args: [{
3221
+ selector: "co-order-stock-commission-history",
3222
+ template: "\n <co-simple-grid [data]=\"orderStockCommissionHistory\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE'\">\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'\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT'\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE'\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION'\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER'\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE'\" [field]=\"'transLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE'\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK'\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA'\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NR'\" [field]=\"'relationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER'\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE'\" [field]=\"'mutationType'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
3223
+ encapsulation: i0.ViewEncapsulation.None
3224
+ },] }
3225
+ ];
3226
+ OrderCommissionStockHistoryComponent.ctorParameters = function () { return [
3227
+ { type: IconCacheService }
3228
+ ]; };
3229
+ OrderCommissionStockHistoryComponent.propDecorators = {
3230
+ orderStockCommissionHistory: [{ type: i0.Input }]
3231
+ };
3232
+
3233
+ var OrderStockHistoryComponent = /** @class */ (function () {
3234
+ function OrderStockHistoryComponent(iconCacheService) {
3235
+ this.iconCacheService = iconCacheService;
3236
+ this.icons = exports["ɵbi"];
3237
+ }
3238
+ return OrderStockHistoryComponent;
3239
+ }());
3240
+ OrderStockHistoryComponent.decorators = [
3241
+ { type: i0.Component, args: [{
3242
+ selector: "co-order-stock-history",
3243
+ template: "\n <co-simple-grid [data]=\"orderStockHistory\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE'\">\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'\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT'\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE'\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION'\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER'\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE'\" [field]=\"'transLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE'\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK'\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA'\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NR'\" [field]=\"'relationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER'\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE'\" [field]=\"'mutationType'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
3244
+ encapsulation: i0.ViewEncapsulation.None
3245
+ },] }
3246
+ ];
3247
+ OrderStockHistoryComponent.ctorParameters = function () { return [
3248
+ { type: IconCacheService }
3249
+ ]; };
3250
+ OrderStockHistoryComponent.propDecorators = {
3251
+ orderStockHistory: [{ type: i0.Input }]
3252
+ };
3253
+
3254
+ var AllocationStockHistoryComponent = /** @class */ (function () {
3255
+ function AllocationStockHistoryComponent(iconCacheService) {
3256
+ this.iconCacheService = iconCacheService;
3257
+ this.icons = exports["ɵbi"];
3258
+ }
3259
+ return AllocationStockHistoryComponent;
3260
+ }());
3261
+ AllocationStockHistoryComponent.decorators = [
3262
+ { type: i0.Component, args: [{
3263
+ selector: "co-allocation-stock-history",
3264
+ template: "\n <co-simple-grid [data]=\"allocationStockHistory\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'MUTATION_DATE'\">\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'\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT'\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE'\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION'\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER'\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE'\" [field]=\"'transLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE'\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK'\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA'\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NR'\" [field]=\"'relationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER'\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE'\" [field]=\"'mutationType'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
3265
+ encapsulation: i0.ViewEncapsulation.None
3266
+ },] }
3267
+ ];
3268
+ AllocationStockHistoryComponent.ctorParameters = function () { return [
3269
+ { type: IconCacheService }
3270
+ ]; };
3271
+ AllocationStockHistoryComponent.propDecorators = {
3272
+ allocationStockHistory: [{ type: i0.Input }]
3273
+ };
3274
+
2821
3275
  var StockModule = /** @class */ (function () {
2822
3276
  function StockModule() {
2823
3277
  }
@@ -2839,15 +3293,27 @@
2839
3293
  corecomponents_v12.IconModule,
2840
3294
  corecomponents_v12.InputNumberPickerModule,
2841
3295
  corecomponents_v12.CoDialogWizardModule,
2842
- corecomponents_v12.InputTextareaModule
3296
+ corecomponents_v12.InputTextareaModule,
3297
+ TabBarModule,
3298
+ corecomponents_v12.CoDialogModule
2843
3299
  ],
2844
3300
  declarations: [
2845
3301
  StockComponent,
2846
3302
  StockInformationComponent,
2847
3303
  StockInformationGridComponent,
2848
- StockLocationComponent,
2849
3304
  StockTransferComponent,
2850
- StockChangeAmountComponent
3305
+ StockChangeAmountComponent,
3306
+ StockTabComponent,
3307
+ OrderTabComponent,
3308
+ StockTabsComponent,
3309
+ StockHistoryTabsComponent,
3310
+ OrderStockTabComponent,
3311
+ StockLocationComponent,
3312
+ StockHistoryComponent,
3313
+ OrderSupplyStockHistoryComponent,
3314
+ OrderCommissionStockHistoryComponent,
3315
+ OrderStockHistoryComponent,
3316
+ AllocationStockHistoryComponent
2851
3317
  ],
2852
3318
  exports: [
2853
3319
  StockComponent
@@ -2893,7 +3359,7 @@
2893
3359
  var KeyPadComponent = /** @class */ (function () {
2894
3360
  function KeyPadComponent(iconCacheService) {
2895
3361
  this.iconCacheService = iconCacheService;
2896
- this.icons = exports["ɵw"];
3362
+ this.icons = exports["ɵbi"];
2897
3363
  this.showValue = true;
2898
3364
  this.emitModelChangeOnEnter = true;
2899
3365
  this.modelChange = new i0.EventEmitter();
@@ -3084,7 +3550,7 @@
3084
3550
  var LayoutSwitcherComponent = /** @class */ (function () {
3085
3551
  function LayoutSwitcherComponent(iconCacheService) {
3086
3552
  this.iconCacheService = iconCacheService;
3087
- this.icon = exports["ɵw"];
3553
+ this.icon = exports["ɵbi"];
3088
3554
  this.layoutItems = [];
3089
3555
  this.layoutSwitchEmit = new i0.EventEmitter();
3090
3556
  this.showMaskSidebar = false;
@@ -3266,7 +3732,7 @@
3266
3732
  }
3267
3733
  };
3268
3734
  CoCircularGaugeComponent.prototype._setColor = function () {
3269
- if (this.value == 0) {
3735
+ if (this.value <= 0) {
3270
3736
  this._color = GaugeColor.Lowest;
3271
3737
  }
3272
3738
  else if (this.value >= 1 && this.value < 25) {
@@ -3281,7 +3747,7 @@
3281
3747
  else if (this.value >= 75 && this.value < 100) {
3282
3748
  this._color = GaugeColor.High;
3283
3749
  }
3284
- else if (this.value == 100) {
3750
+ else if (this.value >= 100) {
3285
3751
  this._color = GaugeColor.Highest;
3286
3752
  }
3287
3753
  };
@@ -3342,7 +3808,7 @@
3342
3808
  return "linear-gradient(90deg, " + this.color + " 0 " + this.value + "%, white " + this.value + "% 100%";
3343
3809
  };
3344
3810
  CoLinearGaugeComponent.prototype._setColor = function () {
3345
- if (this.value == 0) {
3811
+ if (this.value <= 0) {
3346
3812
  this.color = GaugeColor.Lowest;
3347
3813
  }
3348
3814
  else if (this.value >= 1 && this.value < 25) {
@@ -3357,7 +3823,7 @@
3357
3823
  else if (this.value >= 75 && this.value < 100) {
3358
3824
  this.color = GaugeColor.High;
3359
3825
  }
3360
- else if (this.value == 100) {
3826
+ else if (this.value >= 100) {
3361
3827
  this.color = GaugeColor.Highest;
3362
3828
  }
3363
3829
  };
@@ -3668,7 +4134,7 @@
3668
4134
  this.iconCacheService = iconCacheService;
3669
4135
  this.selectedDate = new Date();
3670
4136
  this.selectedDateChange = new i0.EventEmitter();
3671
- this.icons = exports["ɵw"];
4137
+ this.icons = exports["ɵbi"];
3672
4138
  this.showMonthYearSelect = false;
3673
4139
  this.expanded = false;
3674
4140
  }
@@ -4229,7 +4695,7 @@
4229
4695
  },] }
4230
4696
  ];
4231
4697
  CalendarViewComponent.ctorParameters = function () { return [
4232
- { type: exports["ɵbc"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
4698
+ { type: exports["ɵbo"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
4233
4699
  ]; };
4234
4700
  CalendarViewComponent.propDecorators = {
4235
4701
  view: [{ type: i0.Input }],
@@ -4317,7 +4783,7 @@
4317
4783
  CalendarUtils.Locale = undefined;
4318
4784
  CalendarUtils.Now = new Date();
4319
4785
  CalendarUtils.ctorParameters = function () { return [
4320
- { type: exports["ɵbc"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
4786
+ { type: exports["ɵbo"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
4321
4787
  ]; };
4322
4788
 
4323
4789
  var AgendaEvent = /** @class */ (function () {
@@ -4374,7 +4840,7 @@
4374
4840
  this._renderer = _renderer;
4375
4841
  this._ngZone = _ngZone;
4376
4842
  this.iconCacheService = iconCacheService;
4377
- this.icons = exports["ɵw"];
4843
+ this.icons = exports["ɵbi"];
4378
4844
  this.viewTypes = CalendarView;
4379
4845
  this.scrollbarWidth = 15;
4380
4846
  this.view = CalendarView.WeekSelectView;
@@ -4550,7 +5016,7 @@
4550
5016
  },] }
4551
5017
  ];
4552
5018
  AgendaHeaderComponent.ctorParameters = function () { return [
4553
- { type: exports["ɵbc"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
5019
+ { type: exports["ɵbo"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
4554
5020
  { type: i0.ElementRef },
4555
5021
  { type: i0.Renderer2 },
4556
5022
  { type: i0.NgZone },
@@ -4650,7 +5116,7 @@
4650
5116
  { type: i0.Directive }
4651
5117
  ];
4652
5118
  AgendaBaseViewComponent.ctorParameters = function () { return [
4653
- { type: exports["ɵbc"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
5119
+ { type: exports["ɵbo"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
4654
5120
  { type: IconCacheService }
4655
5121
  ]; };
4656
5122
  AgendaBaseViewComponent.propDecorators = {
@@ -4766,7 +5232,7 @@
4766
5232
  var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
4767
5233
  _this.view = CalendarView.WeekSelectView;
4768
5234
  _this.week = NULL_WEEK;
4769
- _this.icons = exports["ɵw"];
5235
+ _this.icons = exports["ɵbi"];
4770
5236
  return _this;
4771
5237
  }
4772
5238
  AgendaWeekSelectViewComponent.prototype.prepareViewData = function () {
@@ -5011,7 +5477,7 @@
5011
5477
  this._elementRef = _elementRef;
5012
5478
  this._renderer = _renderer;
5013
5479
  this.iconCacheService = iconCacheService;
5014
- this.icons = exports["ɵw"];
5480
+ this.icons = exports["ɵbi"];
5015
5481
  this.event = NULL_AGENDA_EVENT;
5016
5482
  this.eventChecked = new i0.EventEmitter();
5017
5483
  }
@@ -5180,7 +5646,7 @@
5180
5646
  var AgendaSelectEventComponent = /** @class */ (function () {
5181
5647
  function AgendaSelectEventComponent(iconCacheService) {
5182
5648
  this.iconCacheService = iconCacheService;
5183
- this.icons = exports["ɵw"];
5649
+ this.icons = exports["ɵbi"];
5184
5650
  this.event = NULL_AGENDA_EVENT;
5185
5651
  this.eventChecked = new i0.EventEmitter();
5186
5652
  }
@@ -5276,27 +5742,38 @@
5276
5742
  exports.sendMethodsWithIcon = sendMethodsWithIcon;
5277
5743
  exports["ɵa"] = SignatureComponent;
5278
5744
  exports["ɵb"] = SignaturesComponent;
5279
- exports["ɵba"] = CalendarComponent;
5280
- exports["ɵbb"] = CalendarViewComponent;
5281
- exports["ɵbd"] = AgendaHeaderComponent;
5282
- exports["ɵbe"] = AgendaViewComponent;
5283
- exports["ɵbf"] = AgendaMonthViewComponent;
5284
- exports["ɵbg"] = AgendaBaseViewComponent;
5285
- exports["ɵbh"] = AgendaDayViewComponent;
5286
- exports["ɵbi"] = AgendaWeekViewComponent;
5287
- exports["ɵbj"] = AgendaWeekSelectViewComponent;
5288
- exports["ɵbk"] = AgendaHourViewComponent;
5289
- exports["ɵbl"] = AgendaHourCellComponent;
5290
- exports["ɵbm"] = AgendaHourViewLabelsComponent;
5291
- exports["ɵbn"] = AgendaHalfHourCellComponent;
5292
- exports["ɵbo"] = AgendaEventsComponent;
5293
- exports["ɵbp"] = AgendaEventComponent;
5294
- exports["ɵbq"] = ViewSelectComponent;
5295
- exports["ɵbr"] = AgendaSelectEventComponent;
5296
- exports["ɵbs"] = MASTER_PIPES;
5297
- exports["ɵbt"] = ArrayNumberPipe;
5298
- exports["ɵbu"] = UCfirstPipe;
5745
+ exports["ɵba"] = OrderStockTabComponent;
5746
+ exports["ɵbb"] = StockLocationComponent;
5747
+ exports["ɵbc"] = StockHistoryComponent;
5748
+ exports["ɵbd"] = OrderSupplyStockHistoryComponent;
5749
+ exports["ɵbe"] = OrderCommissionStockHistoryComponent;
5750
+ exports["ɵbf"] = OrderStockHistoryComponent;
5751
+ exports["ɵbg"] = AllocationStockHistoryComponent;
5752
+ exports["ɵbh"] = SendMethod;
5753
+ exports["ɵbj"] = CalendarAllYearsComponent;
5754
+ exports["ɵbk"] = CalendarAllMonthsComponent;
5755
+ exports["ɵbl"] = CalendarHeaderComponent;
5756
+ exports["ɵbm"] = CalendarComponent;
5757
+ exports["ɵbn"] = CalendarViewComponent;
5758
+ exports["ɵbp"] = AgendaHeaderComponent;
5759
+ exports["ɵbq"] = AgendaViewComponent;
5760
+ exports["ɵbr"] = AgendaMonthViewComponent;
5761
+ exports["ɵbs"] = AgendaBaseViewComponent;
5762
+ exports["ɵbt"] = AgendaDayViewComponent;
5763
+ exports["ɵbu"] = AgendaWeekViewComponent;
5764
+ exports["ɵbv"] = AgendaWeekSelectViewComponent;
5765
+ exports["ɵbw"] = AgendaHourViewComponent;
5766
+ exports["ɵbx"] = AgendaHourCellComponent;
5767
+ exports["ɵby"] = AgendaHourViewLabelsComponent;
5768
+ exports["ɵbz"] = AgendaHalfHourCellComponent;
5299
5769
  exports["ɵc"] = StockService;
5770
+ exports["ɵca"] = AgendaEventsComponent;
5771
+ exports["ɵcb"] = AgendaEventComponent;
5772
+ exports["ɵcc"] = ViewSelectComponent;
5773
+ exports["ɵcd"] = AgendaSelectEventComponent;
5774
+ exports["ɵce"] = MASTER_PIPES;
5775
+ exports["ɵcf"] = ArrayNumberPipe;
5776
+ exports["ɵcg"] = UCfirstPipe;
5300
5777
  exports["ɵd"] = SharedConnectorService;
5301
5778
  exports["ɵe"] = OptionsService;
5302
5779
  exports["ɵf"] = DictionaryService;
@@ -5310,15 +5787,16 @@
5310
5787
  exports["ɵn"] = PrinterSelectionModule;
5311
5788
  exports["ɵo"] = PrinterSelectionComponent;
5312
5789
  exports["ɵp"] = SendMethodPrinterComponent;
5313
- exports["ɵq"] = StockInformationComponent;
5314
- exports["ɵr"] = StockInformationGridComponent;
5315
- exports["ɵs"] = StockLocationComponent;
5316
- exports["ɵt"] = StockTransferComponent;
5317
- exports["ɵu"] = StockChangeAmountComponent;
5318
- exports["ɵv"] = SendMethod;
5319
- exports["ɵx"] = CalendarAllYearsComponent;
5320
- exports["ɵy"] = CalendarAllMonthsComponent;
5321
- exports["ɵz"] = CalendarHeaderComponent;
5790
+ exports["ɵq"] = TabBarModule;
5791
+ exports["ɵr"] = TabBarComponent;
5792
+ exports["ɵs"] = StockInformationComponent;
5793
+ exports["ɵt"] = StockInformationGridComponent;
5794
+ exports["ɵu"] = StockTransferComponent;
5795
+ exports["ɵv"] = StockChangeAmountComponent;
5796
+ exports["ɵw"] = StockTabComponent;
5797
+ exports["ɵx"] = OrderTabComponent;
5798
+ exports["ɵy"] = StockTabsComponent;
5799
+ exports["ɵz"] = StockHistoryTabsComponent;
5322
5800
 
5323
5801
  Object.defineProperty(exports, '__esModule', { value: true });
5324
5802