@colijnit/sharedcomponents 1.0.43 → 1.0.45

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 (85) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +449 -363
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.d.ts +57 -53
  4. package/colijnit-sharedcomponents.metadata.json +1 -1
  5. package/esm2015/colijnit-sharedcomponents.js +58 -54
  6. package/esm2015/lib/components/date-planning/date-planning.component.js +1 -1
  7. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +8 -8
  8. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +10 -5
  9. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +6 -3
  10. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +16 -11
  11. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +4 -2
  12. package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.component.js +38 -0
  13. package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.module.js +21 -0
  14. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +4 -4
  15. package/esm2015/lib/components/send-method-dialog/service/send-method.service.js +21 -21
  16. package/esm2015/lib/components/statusbar/statusbar-popup.component.js +72 -4
  17. package/esm2015/lib/components/statusbar/statusbar.component.js +3 -2
  18. package/esm2015/lib/components/statusbar/statusbar.module.js +1 -3
  19. package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +4 -25
  20. package/esm2015/lib/components/stock/components/stock-prognose/stock-prognose.component.js +42 -0
  21. package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +5 -1
  22. package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +50 -14
  23. package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +3 -1
  24. package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +3 -1
  25. package/esm2015/lib/components/stock/stock.component.js +2 -3
  26. package/esm2015/lib/components/stock/stock.module.js +31 -32
  27. package/esm2015/lib/components/tab-bar/tab-bar.component.js +12 -15
  28. package/esm2015/lib/components/tab-bar/tab-bar.module.js +2 -3
  29. package/esm2015/lib/enum/icon.enum.js +5 -1
  30. package/esm2015/lib/localization/localization.module.js +19 -0
  31. package/esm2015/lib/localization/localize.pipe.js +26 -0
  32. package/esm2015/lib/localization/localize.service.js +30 -0
  33. package/esm2015/lib/localization/translation.js +3 -0
  34. package/esm2015/lib/model/icon-svg.js +5 -1
  35. package/esm2015/lib/service/shared-connector.service.js +18 -2
  36. package/esm2015/lib/service/stock.service.js +6 -1
  37. package/esm2015/public-api.js +1 -3
  38. package/fesm2015/colijnit-sharedcomponents.js +408 -317
  39. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  40. package/lib/components/date-planning/date-planning.component.d.ts +1 -1
  41. package/lib/components/login/style/_layout.scss +57 -0
  42. package/lib/components/login/style/_material-definition.scss +23 -0
  43. package/lib/components/login/style/_theme.scss +7 -0
  44. package/lib/components/login/style/material.scss +4 -0
  45. package/lib/components/send-method-dialog/components/send-method-email/style/_layout.scss +8 -0
  46. package/lib/components/send-method-dialog/components/send-method-printer/style/_layout.scss +8 -0
  47. package/lib/components/send-method-dialog/components/signature-button/signature-button.component.d.ts +12 -0
  48. package/lib/components/send-method-dialog/components/signature-button/signature-button.module.d.ts +2 -0
  49. package/lib/components/send-method-dialog/components/signature-button/style/_layout.scss +28 -0
  50. package/lib/components/send-method-dialog/components/signature-button/style/_material-definition.scss +8 -0
  51. package/lib/components/send-method-dialog/components/signature-button/style/_theme.scss +4 -0
  52. package/lib/components/send-method-dialog/components/signature-button/style/material.scss +4 -0
  53. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +6 -6
  54. package/lib/components/send-method-dialog/service/send-method.service.d.ts +10 -10
  55. package/lib/components/send-method-dialog/style/material.scss +1 -0
  56. package/lib/components/statusbar/statusbar-popup.component.d.ts +16 -2
  57. package/lib/components/statusbar/statusbar.component.d.ts +1 -0
  58. package/lib/components/statusbar/style/_layout.scss +17 -1
  59. package/lib/components/statusbar/style/material.scss +0 -2
  60. package/lib/components/stock/components/stock-location/stock-location.component.d.ts +2 -1
  61. package/lib/components/stock/components/stock-prognose/stock-prognose.component.d.ts +11 -0
  62. package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +11 -1
  63. package/lib/components/stock/stock.component.d.ts +1 -1
  64. package/lib/components/tab-bar/tab-bar.component.d.ts +3 -6
  65. package/lib/enum/icon.enum.d.ts +4 -0
  66. package/lib/localization/localization.module.d.ts +2 -0
  67. package/lib/localization/translation.d.ts +2 -0
  68. package/lib/service/shared-connector.service.d.ts +2 -0
  69. package/lib/service/stock.service.d.ts +2 -0
  70. package/lib/style/_variables.scss +4 -2
  71. package/lib/style/sharedcomponents-globals.scss +0 -2
  72. package/package.json +9 -8
  73. package/public-api.d.ts +0 -2
  74. package/esm2015/lib/components/circular-gauge/co-circular-gauge.component.js +0 -128
  75. package/esm2015/lib/components/circular-gauge/co-circular-gauge.module.js +0 -21
  76. package/esm2015/lib/components/stock/localization/localize.pipe.js +0 -26
  77. package/esm2015/lib/components/stock/localization/localize.service.js +0 -30
  78. package/lib/components/circular-gauge/co-circular-gauge.component.d.ts +0 -20
  79. package/lib/components/circular-gauge/co-circular-gauge.module.d.ts +0 -2
  80. package/lib/components/circular-gauge/style/_layout.scss +0 -25
  81. package/lib/components/circular-gauge/style/_material-definition.scss +0 -8
  82. package/lib/components/circular-gauge/style/_theme.scss +0 -7
  83. package/lib/components/circular-gauge/style/material.scss +0 -6
  84. /package/lib/{components/stock/localization → localization}/localize.pipe.d.ts +0 -0
  85. /package/lib/{components/stock/localization → localization}/localize.service.d.ts +0 -0
@@ -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/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';
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/mainapi/build/model/send-method.bo'), require('@colijnit/ioneconnector/build/service/business-object-factory'), 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-email-sign-doc-base-request'), require('@colijnit/mainapi/build/model/reporting-document-pdf-base-request'), require('@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request'), require('@colijnit/mainapi/build/enum/send-method-type.enum'), require('@colijnit/articleapi/build/model/get-stock-history-request'), require('chart.js'), 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/mainapi/build/model/send-method.bo', '@colijnit/ioneconnector/build/service/business-object-factory', '@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-email-sign-doc-base-request', '@colijnit/mainapi/build/model/reporting-document-pdf-base-request', '@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request', '@colijnit/mainapi/build/enum/send-method-type.enum', '@colijnit/articleapi/build/model/get-stock-history-request', 'chart.js', '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.sendMethod_bo, global.businessObjectFactory, global.printStockStickers, global.articleStock, global.corecomponents_v12, global.ng.platformBrowser, global.articleStockManagement, global.articleTransaction, global.printPriceStickers_bo, global.reportingDocumentEmailSignDocBaseRequest, global.reportingDocumentPdfBaseRequest, global.reportingDocumentPrintSignDocBaseRequest, global.sendMethodType_enum, global.getStockHistoryRequest, global.chart_js, 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, sendMethod_bo, businessObjectFactory, printStockStickers, articleStock, corecomponents_v12, i1, articleStockManagement, articleTransaction, printPriceStickers_bo, reportingDocumentEmailSignDocBaseRequest, reportingDocumentPdfBaseRequest, reportingDocumentPrintSignDocBaseRequest, sendMethodType_enum, getStockHistoryRequest, chart_js, 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["ɵbt"] = void 0;
733
+ exports["ɵbx"] = 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["ɵbt"] || (exports["ɵbt"] = {}));
739
+ })(exports["ɵbx"] || (exports["ɵbx"] = {}));
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["ɵbt"].Dutch;
853
+ this._language = language || exports["ɵbx"].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["ɵbt"].Dutch;
886
+ this._language = exports["ɵbx"].Dutch;
887
887
  this._loadDictionary();
888
888
  }
889
889
  var text = this._dictionaries.get(this.language)[key];
@@ -1327,6 +1327,25 @@
1327
1327
  });
1328
1328
  });
1329
1329
  };
1330
+ SharedConnectorService.prototype.getStockPrognose = function (goodId, warehouseNumber) {
1331
+ return __awaiter(this, void 0, void 0, function () {
1332
+ var _this = this;
1333
+ return __generator(this, function (_a) {
1334
+ return [2 /*return*/, new Promise(function (resolve, reject) {
1335
+ return _this.articleConnector.getStockForecast(goodId, warehouseNumber).then(function (result) {
1336
+ if (result.validationResult && result.validationResult.success) {
1337
+ if (result.resultObjects) {
1338
+ resolve(result.resultObjects);
1339
+ }
1340
+ }
1341
+ else {
1342
+ reject(result.validationMessagesAsString);
1343
+ }
1344
+ });
1345
+ })];
1346
+ });
1347
+ });
1348
+ };
1330
1349
  SharedConnectorService.prototype.commit = function () {
1331
1350
  return this.articleConnector.commit();
1332
1351
  };
@@ -1457,6 +1476,16 @@
1457
1476
  });
1458
1477
  });
1459
1478
  };
1479
+ StockService.prototype.stockPrognose = function (goodId, warehouseNumber) {
1480
+ return __awaiter(this, void 0, void 0, function () {
1481
+ return __generator(this, function (_a) {
1482
+ switch (_a.label) {
1483
+ case 0: return [4 /*yield*/, this._sharedService.getStockPrognose(goodId, warehouseNumber)];
1484
+ case 1: return [2 /*return*/, _a.sent()];
1485
+ }
1486
+ });
1487
+ });
1488
+ };
1460
1489
  StockService.prototype.lockArticleDetails = function (data) {
1461
1490
  return __awaiter(this, void 0, void 0, function () {
1462
1491
  return __generator(this, function (_a) {
@@ -1482,72 +1511,22 @@
1482
1511
  { type: SharedConnectorService }
1483
1512
  ]; };
1484
1513
 
1485
- var Translation = /** @class */ (function () {
1514
+ var Translation$1 = /** @class */ (function () {
1486
1515
  function Translation() {
1487
- this.ALLOCATED = 'ALLOCATED';
1488
- this.ALLOCATION = 'ALLOCATION';
1489
- this.ALREADY_IN_ORDER = 'ALREADY_IN_ORDER';
1490
- this.AMOUNT = 'AMOUNT';
1491
- this.AMOUNT_AVAILABLE = 'AMOUNT_AVAILABLE';
1492
- this.AMOUNT_IN_STOCK = 'AMOUNT_IN_STOCK';
1493
- this.AMOUNT_LATER_AVAILABLE = 'AMOUNT_LATER_AVAILABLE';
1494
- this.AVAILABLE_STOCK = 'AVAILABLE_STOCK';
1495
- this.BACK_TO_STOCK_LINES = 'BACK_TO_STOCK_LINES';
1496
- this.BATCH = 'BATCH';
1497
- this.CANCEL = 'CANCEL';
1498
- this.CHOICES = 'CHOICES';
1499
- this.CUSTOMER = 'CUSTOMER';
1500
- this.DATE = 'DATE';
1501
- this.DELIVERY_DATE = 'DELIVERY_DATE';
1502
- this.DESCRIPTION = 'DESCRIPTION';
1503
- this.DOCUMENT_NUMBER = 'DOCUMENT_NUMBER';
1504
- this.ECONOMICAL_STOCK = 'ECONOMICAL_STOCK';
1505
- this.FREE_STOCK = 'FREE_STOCK';
1506
- this.HISTORY = 'HISTORY';
1507
- this.IN_ORDER = 'IN_ORDER';
1508
- this.LINE = 'LINE';
1509
- this.LOCATION = 'LOCATION';
1510
- this.LOOK_AT = 'LOOK_AT';
1511
- this.MUTATION_DATE = 'MUTATION_DATE';
1512
- this.MUTATION_TIME = 'MUTATION_TIME';
1513
- this.MUTATION_TYPE = 'MUTATION_TYPE';
1514
- this.OK = 'OK';
1515
- this.ORDER = 'ORDER';
1516
- this.ORDER_COMMISSION = 'ORDER_COMMISSION';
1517
- this.ORDER_STOCK = 'ORDER_STOCK';
1518
- this.OVERVIEW = 'OVERVIEW';
1519
- this.PURCHASE_ORDER_NR = 'PURCHASE_ORDER_NR';
1520
- this.PURCHASE_PRICE = 'PURCHASE_PRICE';
1521
- this.RELATION_ID = 'RELATION_ID';
1522
- this.RELATION_NR = 'RELATION_NR';
1523
- this.RESERVED = 'RESERVED';
1524
- this.SEARCH = 'SEARCH';
1525
- this.SERIAL_NO = 'SERIAL_NO';
1526
- this.STICKER = 'STICKER';
1527
- this.STOCK = 'STOCK';
1528
- this.STOCK_DETAILS = 'STOCK_DETAILS';
1529
- this.STOCK_REMARK = 'STOCK_REMARK';
1530
- this.STOCK_STATE = 'STOCK_STATE';
1531
- this.STOCK_STATUS = 'STOCK_STATUS';
1532
- this.SUPPLIER_NUMBER = 'SUPPLIER_NUMBER';
1533
- this.TRANSFER = 'TRANSFER';
1534
- this.USER = 'USER';
1535
- this.VALUTA = 'VALUTA';
1536
- this.WAREHOUSE = 'WAREHOUSE';
1537
1516
  }
1538
1517
  return Translation;
1539
1518
  }());
1540
1519
 
1541
1520
  var LocalizeService = /** @class */ (function () {
1542
1521
  function LocalizeService() {
1543
- this._translation = new Translation();
1522
+ this._translation = new Translation$1();
1544
1523
  }
1545
1524
  Object.defineProperty(LocalizeService.prototype, "translation", {
1546
1525
  get: function () {
1547
1526
  return this._translation;
1548
1527
  },
1549
1528
  set: function (value) {
1550
- this._translation = Object.assign(new Translation(), value);
1529
+ this._translation = Object.assign(new Translation$1(), value);
1551
1530
  },
1552
1531
  enumerable: false,
1553
1532
  configurable: true
@@ -1630,7 +1609,6 @@
1630
1609
  };
1631
1610
  StockComponent.prototype.handleSendMethodClick = function (event) {
1632
1611
  this.showSendMethodDialog = true;
1633
- console.log(event);
1634
1612
  };
1635
1613
  StockComponent.prototype.backToStock = function () {
1636
1614
  this.showStockTransfer = !this.showStockTransfer;
@@ -1763,6 +1741,7 @@
1763
1741
 
1764
1742
  /** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
1765
1743
  var IconSvg = {
1744
+ "account": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><path d=\"M15,15c3.59,0,6.5-2.91,6.5-6.5s-2.91-6.5-6.5-6.5-6.5,2.91-6.5,6.5,2.91,6.5,6.5,6.5Zm-2.32,2.44c-5,0-9.05,4.05-9.05,9.05,0,.83,.68,1.51,1.51,1.51H24.87c.83,0,1.51-.68,1.51-1.51,0-5-4.05-9.05-9.05-9.05h-4.64Z\" fill=\"#484f60\"/></g></svg>",
1766
1745
  "angle_left_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\"><path fill=\"#183153\" d=\"M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z\"/></svg>",
1767
1746
  "angle_right_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\"><path fill=\"#183153\" d=\"M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z\"/></svg>",
1768
1747
  "arrow_fat_right": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"37.5 25 25.2 12.7 25.2 20.35 12.5 20.35 12.5 29.66 25.2 29.66 25.2 37.3 37.5 25\" fill=\"#484f60\"/></svg>",
@@ -1775,10 +1754,13 @@
1775
1754
  "delivery_truck": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"15.35\" y=\"16.56\" width=\"15.14\" height=\"10.94\" transform=\"translate(-1.83 2.08) rotate(-5)\" fill=\"#484f60\"/><path d=\"M38.5,18.1l-6.9.61L32.41,28l-7.63.67a3.76,3.76,0,0,1,1.43,2.25l7.25-.63A3.83,3.83,0,0,1,41,29.6l1-.1-.52-6Zm.29,5.84-3.91.34a.51.51,0,0,1-.55-.46L34,20.1a.49.49,0,0,1,.45-.54l2.27-.2a.5.5,0,0,1,.48.25l2,3.59A.5.5,0,0,1,38.79,23.94Z\" fill=\"#484f60\"/><path d=\"M19.66,29.09a3.8,3.8,0,0,0-1,2.46l-.74.07-1.82-.94L16,29.41Z\" fill=\"#484f60\"/><path d=\"M34.56,30.62a2.74,2.74,0,1,0,2.49-3A2.73,2.73,0,0,0,34.56,30.62Z\" fill=\"#484f60\"/><path d=\"M19.74,31.91a2.74,2.74,0,1,0,2.49-3A2.74,2.74,0,0,0,19.74,31.91Z\" fill=\"#484f60\"/><rect x=\"7.96\" y=\"17.63\" width=\"5\" height=\"1\" transform=\"translate(-1.54 0.98) rotate(-5)\" fill=\"#484f60\"/><rect x=\"11.02\" y=\"29.71\" width=\"3\" height=\"1\" transform=\"translate(-2.59 1.21) rotate(-5)\" fill=\"#484f60\"/><rect x=\"9.48\" y=\"23.53\" width=\"4\" height=\"1\" transform=\"matrix(1, -0.09, 0.09, 1, -2.05, 1.09)\" fill=\"#484f60\"/></svg>",
1776
1755
  "email": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.79,38.45A17.82,17.82,0,0,1,23.86,40,13.09,13.09,0,0,1,10.41,26.42C10.41,17.63,16.83,10,26.53,10c7.63,0,13.06,5.21,13.06,12.46,0,6.33-3.53,10.3-8.19,10.3a3.42,3.42,0,0,1-3.71-3.32h-.08A6.5,6.5,0,0,1,22,32.76c-2.75,0-4.82-2.11-4.82-5.65a9.85,9.85,0,0,1,10.13-10,12.89,12.89,0,0,1,5.13,1l-1.3,8c-.43,2.54-.13,3.71,1.08,3.75,1.85.09,4.18-2.28,4.18-7.28,0-5.65-3.62-10-10.3-10S13.73,17.76,13.73,26c0,7.25,4.57,11.3,11,11.3A14.81,14.81,0,0,0,31,36ZM28,20.65a5.34,5.34,0,0,0-1.33-.18c-2.85,0-5.09,2.81-5.09,6.12,0,1.64.73,2.68,2.16,2.68,1.59,0,3.27-2,3.66-4.53Z\" fill=\"#484f60\"/></svg>",
1777
1756
  "envelope_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M64 112c-8.8 0-16 7.2-16 16v22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1V128c0-8.8-7.2-16-16-16H64zM48 212.2V384c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V212.2L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z\"/></svg>",
1757
+ "eye_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z\"/></svg>",
1778
1758
  "file_export_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M568.1 303l-80-80c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94L494.1 296H216C202.8 296 192 306.8 192 320s10.75 24 24 24h278.1l-39.03 39.03C450.3 387.7 448 393.8 448 400s2.344 12.28 7.031 16.97c9.375 9.375 24.56 9.375 33.94 0l80-80C578.3 327.6 578.3 312.4 568.1 303zM360 384c-13.25 0-24 10.74-24 24V448c0 8.836-7.164 16-16 16H64.02c-8.836 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1v72c0 13.25 10.74 24 23.1 24S384 245.3 384 232V138.6c0-16.98-6.742-33.26-18.75-45.26l-74.63-74.64C278.6 6.742 262.3 0 245.4 0H63.1C28.65 0-.002 28.66 0 64l.0065 384c.002 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64v-40C384 394.7 373.3 384 360 384z\"/></svg>",
1779
1759
  "file_export_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M32 64C32 28.7 60.7 0 96 0H256V128c0 17.7 14.3 32 32 32H416V288H248c-13.3 0-24 10.7-24 24s10.7 24 24 24H416V448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V64zM416 336V288H526.1l-39-39c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l80 80c9.4 9.4 9.4 24.6 0 33.9l-80 80c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l39-39H416zm0-208H288V0L416 128z\"/></svg>",
1780
1760
  "file_pdf_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M320 464C328.8 464 336 456.8 336 448V416H384V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V416H48V448C48 456.8 55.16 464 64 464H320zM256 160C238.3 160 224 145.7 224 128V48H64C55.16 48 48 55.16 48 64V192H0V64C0 28.65 28.65 0 64 0H229.5C246.5 0 262.7 6.743 274.7 18.75L365.3 109.3C377.3 121.3 384 137.5 384 154.5V192H336V160H256zM88 224C118.9 224 144 249.1 144 280C144 310.9 118.9 336 88 336H80V368C80 376.8 72.84 384 64 384C55.16 384 48 376.8 48 368V240C48 231.2 55.16 224 64 224H88zM112 280C112 266.7 101.3 256 88 256H80V304H88C101.3 304 112 293.3 112 280zM160 240C160 231.2 167.2 224 176 224H200C226.5 224 248 245.5 248 272V336C248 362.5 226.5 384 200 384H176C167.2 384 160 376.8 160 368V240zM192 352H200C208.8 352 216 344.8 216 336V272C216 263.2 208.8 256 200 256H192V352zM336 224C344.8 224 352 231.2 352 240C352 248.8 344.8 256 336 256H304V288H336C344.8 288 352 295.2 352 304C352 312.8 344.8 320 336 320H304V368C304 376.8 296.8 384 288 384C279.2 384 272 376.8 272 368V240C272 231.2 279.2 224 288 224H336z\"/></svg>",
1781
1761
  "file_pdf_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM64 224H88c30.9 0 56 25.1 56 56s-25.1 56-56 56H80v32c0 8.8-7.2 16-16 16s-16-7.2-16-16V320 240c0-8.8 7.2-16 16-16zm24 80c13.3 0 24-10.7 24-24s-10.7-24-24-24H80v48h8zm72-64c0-8.8 7.2-16 16-16h24c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H176c-8.8 0-16-7.2-16-16V240zm32 112h8c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16h-8v96zm96-128h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H304v32h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H304v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V304 240c0-8.8 7.2-16 16-16z\"/></svg>",
1762
+ "file_signature_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M64 464H320c8.8 0 16-7.2 16-16v-6.7l39.8-9.9c2.8-.7 5.6-1.6 8.2-2.7V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3v49.1l-48 48V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16zm96-115l-9.8 32.8c-6.1 20.3-24.8 34.2-46 34.2H96c-8.8 0-16-7.2-16-16s7.2-16 16-16h8.2c7.1 0 13.3-4.6 15.3-11.4l14.9-49.5c3.4-11.3 13.8-19.1 25.6-19.1s22.2 7.7 25.6 19.1l11.6 38.6c7.4-6.2 16.8-9.7 26.8-9.7c15.9 0 30.4 9 37.5 23.2l4.4 8.8h25.6l12-48.2c1.4-5.6 4.3-10.8 8.4-14.9L441.1 191.8l71 71L382.9 391.9c-4.1 4.1-9.2 7-14.9 8.4l-60.1 15c-1.1 .3-2.1 .4-3.2 .5c-.8 .1-1.5 .2-2.3 .2H256c-6.1 0-11.6-3.4-14.3-8.8l-8.8-17.7c-1.7-3.4-5.1-5.5-8.8-5.5s-7.2 2.1-8.8 5.5l-8.8 17.7c-2.9 5.9-9.2 9.4-15.7 8.8s-12.1-5.1-13.9-11.3L160 349zM549.8 139.7l14.4 14.4c15.6 15.6 15.6 40.9 0 56.6l-29.4 29.4-71-71 29.4-29.4c15.6-15.6 40.9-15.6 56.6 0z\"/></svg>",
1763
+ "lock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><g><path d=\"M22.65,11.67H7.35c-2.82,0-3.07,2.29-3.07,5.12v8.09c0,2.83,.25,5.12,3.07,5.12h15.29c2.81,0,3.07-2.29,3.07-5.12v-8.09c0-2.83-.25-5.12-3.07-5.12Zm-12.42,15.82l2.6-6.32c-1-.7-1.65-1.85-1.65-3.15,0-2.12,1.71-3.84,3.82-3.84s3.82,1.73,3.82,3.84c0,1.31-.65,2.46-1.65,3.15l2.6,6.32H10.22Z\" fill=\"#484f60\"/><path d=\"M19.51,6.64c0-3.6-2.02-4.07-4.51-4.07h0c-2.49,0-4.51,.47-4.51,4.07v3h-2.7v-3C7.79,1.62,11.02,0,15,0h0c3.98,0,7.21,1.62,7.21,6.64v3h-2.7v-3Z\" fill=\"#484f60\"/></g></g></svg>",
1782
1764
  "message_sms_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M448-.0004H64c-35.25 0-64 28.75-64 63.1v287.1c0 35.25 28.75 63.1 64 63.1h96v83.98c0 9.836 11.02 15.55 19.12 9.7L304 415.1H448c35.25 0 64-28.75 64-63.1V63.1C512 28.75 483.3-.0004 448-.0004zM464 352c0 8.75-7.25 16-16 16h-160l-80 60v-60H64c-8.75 0-16-7.25-16-16V64c0-8.75 7.25-16 16-16h384c8.75 0 16 7.25 16 16V352zM124.4 192.6C113.6 189.5 103.2 187.2 104.2 181.5c.7813-4.5 10.28-6.562 21.5-4.906c4.156 .6562 8.75 2.094 13.09 3.594c8.375 2.906 17.47-1.562 20.34-9.906c2.875-8.344-1.562-17.47-9.906-20.34C143.1 147.8 136.5 145.9 130.6 145c-30.69-4.812-53.94 7.719-58 31.09c-5.656 33.03 26.5 42.47 38.63 46c13.72 3.947 25.62 6.432 24.56 12.34C135 239 125.7 241.1 114.3 239.4C107.9 238.4 100.4 235.4 93.38 232.9c-8.375-2.969-16 1.875-18.97 10.19S77.19 261.1 85.5 264.1C92.81 266.8 101.1 269.8 109.4 271C113.7 271.7 117.9 272 121.1 272c24.28 0 41.94-12.03 45.38-32.13C173.1 206.5 141.4 197.5 124.4 192.6zM396.4 192.6C385.6 189.5 375.2 187.2 376.2 181.5c.7813-4.5 10.31-6.562 21.5-4.906c4.156 .6562 8.75 2.094 13.09 3.594c8.406 2.906 17.47-1.562 20.34-9.906c2.875-8.344-1.562-17.47-9.906-20.34c-6.156-2.125-12.69-4.062-18.59-4.969c-30.75-4.812-53.97 7.719-58 31.09c-5.656 33.03 26.5 42.47 38.63 46c13.72 3.947 25.62 6.432 24.56 12.34c-.7813 4.562-10.12 6.656-21.56 4.938c-6.342-.9883-13.9-3.939-20.88-6.438c-8.375-2.969-16 1.875-18.97 10.19s2.781 17.97 11.09 20.97c7.312 2.656 15.62 5.656 23.88 6.906C385.7 271.7 389.9 272 393.1 272c24.28 0 41.94-12.03 45.38-32.13C445.1 206.5 413.4 197.5 396.4 192.6zM309.1 144.8c-6.469-2.062-13.72 .0625-17.88 5.594L256 197.3L220.8 150.4C216.7 144.9 209.4 142.7 202.9 144.8C196.4 147 192 153.1 192 160v96c0 8.844 7.156 16 16 16S224 264.8 224 256V208l19.19 25.59c6.062 8.062 19.56 8.062 25.62 0L288 208V256c0 8.844 7.156 16 16 16S320 264.8 320 256V160C320 153.1 315.6 147 309.1 144.8z\"/></svg>",
1783
1765
  "message_sms_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M0 64C0 28.7 28.7 0 64 0H448c35.3 0 64 28.7 64 64V352c0 35.3-28.7 64-64 64H309.3L185.6 508.8c-4.8 3.6-11.3 4.2-16.8 1.5s-8.8-8.2-8.8-14.3V416H64c-35.3 0-64-28.7-64-64V64zm202.9 80.8C196.4 147 192 153.1 192 160v96c0 8.8 7.2 16 16 16s16-7.2 16-16V208l19.2 25.6c3 4 7.8 6.4 12.8 6.4s9.8-2.4 12.8-6.4L288 208v48c0 8.8 7.2 16 16 16s16-7.2 16-16V160c0-6.9-4.4-13-10.9-15.2s-13.7 .1-17.9 5.6L256 197.3l-35.2-46.9c-4.1-5.5-11.3-7.8-17.9-5.6zm173.1 38c0-1.1 .2-1.6 .4-1.9c.3-.4 .9-1.2 2.4-2c3.1-1.8 8-3 12.9-2.9c6.1 .1 12.9 1.4 20.1 3.4c8.5 2.3 17.3-2.8 19.6-11.3s-2.8-17.3-11.3-19.6c-8.2-2.2-17.9-4.3-27.9-4.4c-9.3-.1-20.4 1.9-29.7 7.4c-9.9 5.9-18.6 16.4-18.5 31.6c.1 14.7 8.8 24 17.7 29.4c7.6 4.6 17.1 7.4 24.3 9.6l1.2 .4c8.5 2.6 14.2 4.5 18 6.9c2.7 1.7 2.7 2.4 2.7 3.1l0 .2c0 1.6-.3 2.3-.6 2.7c-.3 .5-.9 1.2-2.1 2c-2.8 1.7-7.5 2.9-12.8 2.8c-7-.2-13.5-2.4-22.6-5.5l0 0 0 0c-1.5-.5-3.2-1.1-4.9-1.6c-8.4-2.8-17.4 1.7-20.2 10.1s1.7 17.4 10.1 20.2c1.2 .4 2.6 .9 4 1.4l0 0 0 0c8.8 3 20.4 7 32.6 7.4c9.8 .3 21.2-1.6 30.7-7.6c10.2-6.4 18-17.3 17.8-32.3c-.2-14.7-8.5-24.2-17.6-29.9c-8-5-17.9-8-25.2-10.2l-.6-.2c-8.6-2.6-14.4-4.4-18.2-6.8c-1.6-1-2.1-1.6-2.2-1.7c0-.1 0-.2 0-.4zm-272 0c0-1.1 .2-1.6 .4-1.9c.3-.4 .9-1.2 2.4-2c3.1-1.8 8-3 12.9-2.9c6.6 .1 16.7 1.6 23.3 3.4c8.5 2.3 17.3-2.8 19.6-11.3s-2.8-17.3-11.3-19.6c-8.8-2.4-21.6-4.3-31.1-4.4c-9.3-.1-20.4 1.9-29.7 7.4C80.6 157.3 72 167.8 72 183c.1 14.7 8.8 24 17.7 29.4c7.6 4.6 17.1 7.4 24.3 9.6l0 0 1.2 .4c8.5 2.6 14.2 4.5 18 6.9c2.7 1.7 2.7 2.4 2.7 3.1l0 .2c0 1.6-.3 2.3-.6 2.7c-.3 .5-.9 1.2-2.1 2c-2.8 1.7-7.5 2.9-12.8 2.8c-7.2-.2-14.2-2.6-23.7-5.8l0 0 0 0c-1.3-.4-2.7-.9-4.1-1.4c-8.4-2.8-17.4 1.7-20.2 10.1s1.7 17.4 10.1 20.2c1.1 .4 2.4 .8 3.6 1.2l0 0 0 0c9 3.1 20.9 7.2 33.2 7.6c9.8 .3 21.2-1.6 30.7-7.6c10.2-6.4 18-17.3 17.8-32.3c-.2-14.7-8.5-24.2-17.6-29.9c-8-5-17.9-8-25.2-10.2l-.6-.2c-8.6-2.6-14.4-4.4-18.3-6.8c-1.6-1-2.1-1.6-2.2-1.7c0-.1 0-.2 0-.4z\"/></svg>",
1784
1766
  "pdf": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.42,40.17H13.88c-2.16,0-2.72-.56-2.72-2.72V12.88c0-2.15.56-2.71,2.72-2.71h11.6l8.66,8.88v3.43H32.8V19.6l-7.88-8.09h-11c-1.38,0-1.38,0-1.38,1.37V37.45c0,1.37,0,1.37,1.38,1.37H31.42c1.38,0,1.38,0,1.38-1.37V35h1.34v2.43C34.14,39.61,33.58,40.17,31.42,40.17Z\" fill=\"#484f60\"/><path d=\"M27.83,26.63v4.24h1a3.57,3.57,0,0,0,.78-.06,1.22,1.22,0,0,0,.52-.26,1.44,1.44,0,0,0,.34-.62,4.13,4.13,0,0,0,.13-1.18,3.79,3.79,0,0,0-.13-1.14,1.51,1.51,0,0,0-.37-.62,1.14,1.14,0,0,0-.6-.3,5.93,5.93,0,0,0-1.06-.06Z\" fill=\"#484f60\"/><path d=\"M21.86,26.63v1.82h.71a3.57,3.57,0,0,0,1-.1A.88.88,0,0,0,24,28a.84.84,0,0,0,.14-.5.8.8,0,0,0-.2-.57.88.88,0,0,0-.52-.29,6.36,6.36,0,0,0-.93,0Z\" fill=\"#484f60\"/><path d=\"M19.14,24.27v9h19.7v-9Zm6.12,4.24a1.68,1.68,0,0,1-.54.63,1.9,1.9,0,0,1-.67.3,6.57,6.57,0,0,1-1.34.1h-.85V32H20.57V25.54h2.07a7.75,7.75,0,0,1,1.54.1,1.73,1.73,0,0,1,.93.63,2,2,0,0,1,.37,1.25A2,2,0,0,1,25.26,28.51Zm6.45,1.66A2.91,2.91,0,0,1,31,31.31a2.28,2.28,0,0,1-.91.51A4,4,0,0,1,29,32H26.54V25.54H28.9a4.21,4.21,0,0,1,1.22.13,2.08,2.08,0,0,1,1,.59,2.79,2.79,0,0,1,.61,1,4.76,4.76,0,0,1,.21,1.52A4.19,4.19,0,0,1,31.71,30.17Zm5.7-3.54h-3.1v1.52H37v1.08H34.31V32H33V25.54h4.39Z\" fill=\"#484f60\"/><path d=\"M25.2,10.84v6.44c0,1.78.27,2,2,2h6.23Z\" fill=\"#484f60\"/></svg>",
@@ -1841,8 +1823,9 @@
1841
1823
  ]; };
1842
1824
 
1843
1825
  /** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
1844
- exports["ɵbn"] = void 0;
1826
+ exports["ɵbr"] = void 0;
1845
1827
  (function (Icon) {
1828
+ Icon["Account"] = "account";
1846
1829
  Icon["AngleLeftSolid"] = "angle_left_solid";
1847
1830
  Icon["AngleRightSolid"] = "angle_right_solid";
1848
1831
  Icon["ArrowFatRight"] = "arrow_fat_right";
@@ -1855,10 +1838,13 @@
1855
1838
  Icon["DeliveryTruck"] = "delivery_truck";
1856
1839
  Icon["Email"] = "email";
1857
1840
  Icon["EnvelopeRegular"] = "envelope_regular";
1841
+ Icon["EyeRegular"] = "eye_regular";
1858
1842
  Icon["FileExportRegular"] = "file_export_regular";
1859
1843
  Icon["FileExportSolid"] = "file_export_solid";
1860
1844
  Icon["FilePdfRegular"] = "file_pdf_regular";
1861
1845
  Icon["FilePdfSolid"] = "file_pdf_solid";
1846
+ Icon["FileSignatureRegular"] = "file_signature_regular";
1847
+ Icon["Lock"] = "lock";
1862
1848
  Icon["MessageSmsRegular"] = "message_sms_regular";
1863
1849
  Icon["MessageSmsSolid"] = "message_sms_solid";
1864
1850
  Icon["Pdf"] = "pdf";
@@ -1867,13 +1853,13 @@
1867
1853
  Icon["PrintSolid"] = "print_solid";
1868
1854
  Icon["SignatureField"] = "signature_field";
1869
1855
  Icon["Xml"] = "xml";
1870
- })(exports["ɵbn"] || (exports["ɵbn"] = {}));
1856
+ })(exports["ɵbr"] || (exports["ɵbr"] = {}));
1871
1857
 
1872
1858
  var StockInformationGridComponent = /** @class */ (function () {
1873
1859
  function StockInformationGridComponent(iconCacheService, _stockService) {
1874
1860
  this.iconCacheService = iconCacheService;
1875
1861
  this._stockService = _stockService;
1876
- this.icons = exports["ɵbn"];
1862
+ this.icons = exports["ɵbr"];
1877
1863
  this.transferIconClicked = new i0.EventEmitter();
1878
1864
  this.historyClicked = new i0.EventEmitter();
1879
1865
  this.cancelButtonClicked = new i0.EventEmitter();
@@ -2085,7 +2071,7 @@
2085
2071
  StockInformationGridComponent.decorators = [
2086
2072
  { type: i0.Component, args: [{
2087
2073
  selector: "co-stock-information-grid",
2088
- 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' | localize\" [field]=\"'warehouseNo'\" [order]=\"10\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DESCRIPTION' | localize\" [field]=\"'warehouseName'\" [order]=\"11\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK' | localize\" [field]=\"'technicalStock'\" [order]=\"12\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AVAILABLE_STOCK' | localize\" [field]=\"'availableStock'\" [order]=\"13\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ECONOMICAL_STOCK' | localize\" [field]=\"'economicalStock'\" [order]=\"14\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | localize\" [field]=\"'locationNo'\" [order]=\"15\">\n <ng-template #template let-row=\"row\">\n <span class=\"location-link\" [textContent]=\"'LOOK_AT' | localize\" (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_ORDER' | localize\" [field]=\"'transactionNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'CUSTOMER' | localize\" [field]=\"'customerName'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE' | localize\">\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' | localize\" [field]=\"'amountInOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | localize\" [field]=\"'warehouseNumber'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DESCRIPTION' | localize\" [field]=\"'warehouseDescription'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'TRANSFER' | localize\" [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' | localize\" [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' | localize\" [field]=\"'transactionNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE' | localize\">\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' | localize\" [field]=\"'amountInOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RESERVED' | localize\" [field]=\"'reserved'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'FREE_STOCK' | localize\" [field]=\"'InOrderForStock'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE' | localize\">\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' | localize\" (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' | localize\"\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' | localize\" (click)=\"handleBackToStockClick()\"></co-button>\n </div>\n </div>\n <co-simple-grid-column [headerText]=\"'LOCATION' | localize\" [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' | localize\"\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' | localize\" [field]=\"'batchNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.batchNo\"\n [placeholder]=\"'BATCH' | localize\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleDetails\" [headerText]=\"'SERIAL_NO' | localize\" [field]=\"'serialNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.serialNo\"\n [placeholder]=\"'SERIAL_NO' | localize\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK' | localize\" [field]=\"'amountInStock'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.amountInStock\"\n [label]=\"'STOCK' | localize\"\n (modelChange)=\"amountInStockChanged($event)\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ALLOCATED' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" (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' | localize\">\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' | localize\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | localize\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | localize\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | localize\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'TRANSACTION_TYPE' | localize\" [field]=\"'transType'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER' | localize\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE' | localize\" [field]=\"'posLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE' | localize\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK' | localize\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | localize\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_ID' | localize\" [field]=\"'relationId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER' | localize\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE' | localize\" [field]=\"'mutationType'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STICKER' | localize\" [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' | localize\" (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' | localize\" (click)=\"onOkClick()\"></co-button>\n </div>\n <div class=\"button-right\">\n <co-button [textContent]=\"'CANCEL' | localize\" (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' | localize\" (click)=\"onOkClickSendLocations()\"></co-button>\n </div>\n <div class=\"button-right\">\n <co-button [textContent]=\"'CANCEL' | localize\" (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 ",
2074
+ 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' | localize\" [field]=\"'warehouseNo'\" [order]=\"10\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DESCRIPTION' | localize\" [field]=\"'warehouseName'\" [order]=\"11\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK' | localize\" [field]=\"'technicalStock'\" [order]=\"12\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AVAILABLE_STOCK' | localize\" [field]=\"'availableStock'\" [order]=\"13\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ECONOMICAL_STOCK' | localize\" [field]=\"'economicalStock'\" [order]=\"14\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | localize\" [field]=\"'locationNo'\" [order]=\"15\">\n <ng-template #template let-row=\"row\">\n <span class=\"location-link\" [textContent]=\"'LOOK_AT' | localize\" (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_ORDER' | localize\" [field]=\"'transactionNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'CUSTOMER' | localize\" [field]=\"'customerName'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE' | localize\">\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' | localize\" [field]=\"'amountInOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | localize\" [field]=\"'warehouseNumber'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DESCRIPTION' | localize\" [field]=\"'warehouseDescription'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'TRANSFER' | localize\" [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' | localize\" [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' | localize\" [field]=\"'transactionNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE' | localize\">\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' | localize\" [field]=\"'amountInOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RESERVED' | localize\" [field]=\"'reserved'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'FREE_STOCK' | localize\" [field]=\"'InOrderForStock'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE' | localize\">\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' | localize\" (click)=\"handleBackToStockClick()\"></span>\n </div>\n <div class=\"stock-location-right-group\">\n<!--\n <co-drop-down-list [(model)]=\"selectedWarehouse\"\n [collection]=\"dataWareHouseCode\"\n [fields]=\"dataWareHouseFields\"\n [placeholder]=\"'WAREHOUSE' | localize\"\n (modelChange)=\"onSelectWarehouse($event)\"\n [required]=\"true\"\n ></co-drop-down-list>\n-->\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' | localize\" (click)=\"handleBackToStockClick()\"></co-button>\n </div>\n </div>\n <co-simple-grid-column [headerText]=\"'LOCATION' | localize\" [field]=\"'locationNo'\">\n <ng-template #editTemplate let-row=\"row\">\n<!--\n <co-drop-down-list [(model)]=\"row.locationNo\"\n [collection]=\"stockLocations\"\n [fields]=\"dataLocationFields\"\n [placeholder]=\"'LOCATION' | localize\"\n (click)=\"onLocationDropdownClick()\"\n [required]=\"true\"\n ></co-drop-down-list>\n-->\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleDetails\" [headerText]=\"'BATCH' | localize\" [field]=\"'batchNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.batchNo\"\n [placeholder]=\"'BATCH' | localize\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleDetails\" [headerText]=\"'SERIAL_NO' | localize\" [field]=\"'serialNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.serialNo\"\n [placeholder]=\"'SERIAL_NO' | localize\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK' | localize\" [field]=\"'amountInStock'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.amountInStock\"\n [label]=\"'STOCK' | localize\"\n (modelChange)=\"amountInStockChanged($event)\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ALLOCATED' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" (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' | localize\">\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' | localize\" [field]=\"'mutationTime'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | localize\" [field]=\"'amount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | localize\" [field]=\"'wareHouseNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | localize\" [field]=\"'locationNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'TRANSACTION_TYPE' | localize\" [field]=\"'transType'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DOCUMENT_NUMBER' | localize\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LINE' | localize\" [field]=\"'posLineNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_STATE' | localize\" [field]=\"'stockStateId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK_REMARK' | localize\" [field]=\"'stockStateRemarkId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | localize\" [field]=\"'currencyCode'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_ID' | localize\" [field]=\"'relationId'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'USER' | localize\" [field]=\"'user'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'MUTATION_TYPE' | localize\" [field]=\"'mutationType'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STICKER' | localize\" [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' | localize\" (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' | localize\" (click)=\"onOkClick()\"></co-button>\n </div>\n <div class=\"button-right\">\n <co-button [textContent]=\"'CANCEL' | localize\" (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' | localize\" (click)=\"onOkClickSendLocations()\"></co-button>\n </div>\n <div class=\"button-right\">\n <co-button [textContent]=\"'CANCEL' | localize\" (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 ",
2089
2075
  encapsulation: i0.ViewEncapsulation.None
2090
2076
  },] }
2091
2077
  ];
@@ -2175,7 +2161,7 @@
2175
2161
  StockTransferComponent.decorators = [
2176
2162
  { type: i0.Component, args: [{
2177
2163
  selector: "co-stock-transfer",
2178
- 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' | localize\"\n [(model)]=\"articleToTransfer.warehouseDescription\"\n [textContent]=\"articleToTransfer.warehouseDescription\"\n [placeholder]=\"'Standaard magazijn' | localize\"\n >\n </co-input-text>\n <co-input-text disabled\n [(model)]=\"articleToTransfer.locationNo\"\n [textContent]=\"articleToTransfer.locationNo\"\n [placeholder]=\"'Standaard locatie' | localize\">\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' | localize\">\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' | localize\"\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' | localize\"\n >\n </co-drop-down-list>\n <co-drop-down-list [collection]=\"stockState\"\n [fields]=\"stockStateDropdownField\"\n [placeholder]=\"'Voorraadstatus' | localize\"\n [(model)]=\"articleToTransfer.stockStateId\"\n >\n </co-drop-down-list>\n <co-input-text [placeholder]=\"'Omschrijving' | localize\"\n [(model)]=\"articleToTransfer.stockStateRemark\">\n </co-input-text>\n </div>\n </div>\n\n <div class=\"ok-cancel-buttons\">\n <co-button [textContent]=\"'OK' | localize\" (click)=\"handleOkClick(articleToTransfer)\"></co-button>\n <co-button [textContent]=\"'CANCEL' | localize\" (click)=\"handleCancelClick()\"></co-button>\n <co-button [textContent]=\"'STICKER' | localize\" (click)=\"handleStickerClick()\"></co-button>\n </div>\n </div>\n ",
2164
+ 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' | localize\"\n [(model)]=\"articleToTransfer.warehouseDescription\"\n [textContent]=\"articleToTransfer.warehouseDescription\"\n [placeholder]=\"'Standaard magazijn' | localize\"\n >\n </co-input-text>\n <co-input-text disabled\n [(model)]=\"articleToTransfer.locationNo\"\n [textContent]=\"articleToTransfer.locationNo\"\n [placeholder]=\"'Standaard locatie' | localize\">\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' | localize\">\n </co-input-text>\n </div>\n\n <div class=\"stock-transfer-right-column\">\n<!--\n <co-drop-down-list [collection]=\"warehouses\"\n [fields]=\"allWarehousesDropdownFields\"\n (modelChange)=\"handleSelectedWarehouse($event)\"\n [placeholder]=\"'Magazijn' | localize\"\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' | localize\"\n >\n </co-drop-down-list>\n <co-drop-down-list [collection]=\"stockState\"\n [fields]=\"stockStateDropdownField\"\n [placeholder]=\"'Voorraadstatus' | localize\"\n [(model)]=\"articleToTransfer.stockStateId\"\n >\n </co-drop-down-list>\n-->\n <co-input-text [placeholder]=\"'Omschrijving' | localize\"\n [(model)]=\"articleToTransfer.stockStateRemark\">\n </co-input-text>\n </div>\n </div>\n\n <div class=\"ok-cancel-buttons\">\n <co-button [textContent]=\"'OK' | localize\" (click)=\"handleOkClick(articleToTransfer)\"></co-button>\n <co-button [textContent]=\"'CANCEL' | localize\" (click)=\"handleCancelClick()\"></co-button>\n <co-button [textContent]=\"'STICKER' | localize\" (click)=\"handleStickerClick()\"></co-button>\n </div>\n </div>\n ",
2179
2165
  encapsulation: i0.ViewEncapsulation.None
2180
2166
  },] }
2181
2167
  ];
@@ -2245,34 +2231,34 @@
2245
2231
 
2246
2232
  var SendMethodService = /** @class */ (function () {
2247
2233
  function SendMethodService() {
2248
- this.reportingDocumentPrintBaseRequestChanged = new rxjs.Subject();
2249
- this.reportingDocumentEmailBaseRequestChanged = new rxjs.Subject();
2234
+ this.reportingDocumentPrintSignDocBaseRequestChanged = new rxjs.Subject();
2235
+ this.reportingDocumentEmailSignDocBaseRequestChanged = new rxjs.Subject();
2250
2236
  this.reportingDocumentPdfBaseRequestChanged = new rxjs.Subject();
2251
2237
  this.selectedEmailAddresses = [];
2252
- this._reportingDocumentPrintBaseRequest = new reportingDocumentPrintBaseRequest.ReportingDocumentPrintBaseRequest();
2253
- this._reportingDocumentEmailBaseRequest = new reportingDocumentEmailBaseRequest.ReportingDocumentEmailBaseRequest();
2238
+ this._reportingDocumentPrintSignDocBaseRequest = new reportingDocumentPrintSignDocBaseRequest.ReportingDocumentPrintSignDocBaseRequest();
2239
+ this._reportingDocumentEmailSignDocBaseRequest = new reportingDocumentEmailSignDocBaseRequest.ReportingDocumentEmailSignDocBaseRequest();
2254
2240
  this._reportingDocumentPdfBaseRequest = new reportingDocumentPdfBaseRequest.ReportingDocumentPdfBaseRequest();
2255
2241
  }
2256
- Object.defineProperty(SendMethodService.prototype, "reportingDocumentPrintBaseRequest", {
2242
+ Object.defineProperty(SendMethodService.prototype, "reportingDocumentPrintSignDocBaseRequest", {
2257
2243
  get: function () {
2258
- return this._reportingDocumentPrintBaseRequest;
2244
+ return this._reportingDocumentPrintSignDocBaseRequest;
2259
2245
  },
2260
2246
  set: function (value) {
2261
- this._reportingDocumentPrintBaseRequest = value;
2262
- this.activePrinter = this._reportingDocumentPrintBaseRequest.printerName;
2263
- this.reportingDocumentPrintBaseRequestChanged.next(this._reportingDocumentPrintBaseRequest);
2247
+ this._reportingDocumentPrintSignDocBaseRequest = value;
2248
+ this.activePrinter = this._reportingDocumentPrintSignDocBaseRequest.printerName;
2249
+ this.reportingDocumentPrintSignDocBaseRequestChanged.next(this._reportingDocumentPrintSignDocBaseRequest);
2264
2250
  },
2265
2251
  enumerable: false,
2266
2252
  configurable: true
2267
2253
  });
2268
- Object.defineProperty(SendMethodService.prototype, "reportingDocumentEmailBaseRequest", {
2254
+ Object.defineProperty(SendMethodService.prototype, "reportingDocumentEmailSignDocBaseRequest", {
2269
2255
  get: function () {
2270
- return this._reportingDocumentEmailBaseRequest;
2256
+ return this._reportingDocumentEmailSignDocBaseRequest;
2271
2257
  },
2272
2258
  set: function (value) {
2273
- this._reportingDocumentEmailBaseRequest = value;
2274
- this.selectedEmailAddresses = this._reportingDocumentEmailBaseRequest.toAddresses.split(';');
2275
- this.reportingDocumentEmailBaseRequestChanged.next(this._reportingDocumentEmailBaseRequest);
2259
+ this._reportingDocumentEmailSignDocBaseRequest = value;
2260
+ this.selectedEmailAddresses = this._reportingDocumentEmailSignDocBaseRequest.toAddresses.split(';');
2261
+ this.reportingDocumentEmailSignDocBaseRequestChanged.next(this._reportingDocumentEmailSignDocBaseRequest);
2276
2262
  },
2277
2263
  enumerable: false,
2278
2264
  configurable: true
@@ -2301,8 +2287,8 @@
2301
2287
  }
2302
2288
  };
2303
2289
  SendMethodService.prototype._updateEmailAddresses = function () {
2304
- this._reportingDocumentEmailBaseRequest.toAddresses = this.selectedEmailAddresses.join(';');
2305
- this.reportingDocumentEmailBaseRequestChanged.next(this._reportingDocumentEmailBaseRequest);
2290
+ this._reportingDocumentEmailSignDocBaseRequest.toAddresses = this.selectedEmailAddresses.join(';');
2291
+ this.reportingDocumentEmailSignDocBaseRequestChanged.next(this._reportingDocumentEmailSignDocBaseRequest);
2306
2292
  };
2307
2293
  return SendMethodService;
2308
2294
  }());
@@ -2320,13 +2306,13 @@
2320
2306
  }());
2321
2307
 
2322
2308
  var sendMethodsWithIcon = [
2323
- new SendMethod(sendMethodType_enum.SendMethodType.Fax, "Fax", exports["ɵbn"].PrintRegular),
2324
- new SendMethod(sendMethodType_enum.SendMethodType.Print, "Print", exports["ɵbn"].PrintSolid),
2325
- new SendMethod(sendMethodType_enum.SendMethodType.Email, "Email", exports["ɵbn"].AtSolid),
2326
- new SendMethod(sendMethodType_enum.SendMethodType.Edi, "Edi", exports["ɵbn"].FileExportSolid),
2327
- new SendMethod(sendMethodType_enum.SendMethodType.EmailTemplate, "Email template", exports["ɵbn"].EnvelopeRegular),
2328
- new SendMethod(sendMethodType_enum.SendMethodType.Sms, "Sms", exports["ɵbn"].MessageSmsSolid),
2329
- new SendMethod(sendMethodType_enum.SendMethodType.WebService, "Webservice", exports["ɵbn"].PrintRegular)
2309
+ new SendMethod(sendMethodType_enum.SendMethodType.Fax, "Fax", exports["ɵbr"].PrintRegular),
2310
+ new SendMethod(sendMethodType_enum.SendMethodType.Print, "Print", exports["ɵbr"].PrintSolid),
2311
+ new SendMethod(sendMethodType_enum.SendMethodType.Email, "Email", exports["ɵbr"].AtSolid),
2312
+ new SendMethod(sendMethodType_enum.SendMethodType.Edi, "Edi", exports["ɵbr"].FileExportSolid),
2313
+ new SendMethod(sendMethodType_enum.SendMethodType.EmailTemplate, "Email template", exports["ɵbr"].EnvelopeRegular),
2314
+ new SendMethod(sendMethodType_enum.SendMethodType.Sms, "Sms", exports["ɵbr"].MessageSmsSolid),
2315
+ new SendMethod(sendMethodType_enum.SendMethodType.WebService, "Webservice", exports["ɵbr"].PrintRegular)
2330
2316
  ];
2331
2317
  var SendMethodDialogComponent = /** @class */ (function () {
2332
2318
  function SendMethodDialogComponent(iconCacheService, _changeDetector, _sharedService, _sendMethodService) {
@@ -2335,7 +2321,7 @@
2335
2321
  this._changeDetector = _changeDetector;
2336
2322
  this._sharedService = _sharedService;
2337
2323
  this._sendMethodService = _sendMethodService;
2338
- this.icons = exports["ɵbn"];
2324
+ this.icons = exports["ɵbr"];
2339
2325
  this.printerList = [];
2340
2326
  this.emailLayouts = [];
2341
2327
  this.printLayouts = [];
@@ -2360,17 +2346,17 @@
2360
2346
  this.showEmailTemplate = true;
2361
2347
  this.showWebservice = true;
2362
2348
  this._subscriptions = [];
2363
- this._subscriptions.push(this._sendMethodService.reportingDocumentPrintBaseRequestChanged.subscribe(function (value) { return _this.reportingDocumentPrintRequestChange.next(value); }), this._sendMethodService.reportingDocumentEmailBaseRequestChanged.subscribe(function (value) { return _this.reportingDocumentEmailRequestChange.next(value); }), this._sendMethodService.reportingDocumentPdfBaseRequestChanged.subscribe(function (value) { return _this.reportingDocumentPdfRequestChange.next(value); }));
2349
+ this._subscriptions.push(this._sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.subscribe(function (value) { return _this.reportingDocumentPrintRequestChange.next(value); }), this._sendMethodService.reportingDocumentEmailSignDocBaseRequestChanged.subscribe(function (value) { return _this.reportingDocumentEmailRequestChange.next(value); }), this._sendMethodService.reportingDocumentPdfBaseRequestChanged.subscribe(function (value) { return _this.reportingDocumentPdfRequestChange.next(value); }));
2364
2350
  }
2365
2351
  SendMethodDialogComponent.prototype.showClass = function () {
2366
2352
  return true;
2367
2353
  };
2368
2354
  SendMethodDialogComponent.prototype.ngOnInit = function () {
2369
2355
  if (this.reportingDocumentEmailRequest) {
2370
- this._sendMethodService.reportingDocumentEmailBaseRequest = this.reportingDocumentEmailRequest;
2356
+ this._sendMethodService.reportingDocumentEmailSignDocBaseRequest = this.reportingDocumentEmailRequest;
2371
2357
  }
2372
2358
  if (this.reportingDocumentPrintRequest) {
2373
- this._sendMethodService.reportingDocumentPrintBaseRequest = this.reportingDocumentPrintRequest;
2359
+ this._sendMethodService.reportingDocumentPrintSignDocBaseRequest = this.reportingDocumentPrintRequest;
2374
2360
  }
2375
2361
  if (this.reportingDocumentPdfRequest) {
2376
2362
  this._sendMethodService.reportingDocumentPdfBaseRequest = this.reportingDocumentPdfRequest;
@@ -2538,7 +2524,7 @@
2538
2524
  SendMethodEmailComponent.decorators = [
2539
2525
  { type: i0.Component, args: [{
2540
2526
  selector: 'co-send-method-email',
2541
- template: "\n <div class=\"email-addresses-wrapper co-small-scrollbar\">\n <div class=\"email-address-wrapper\" *ngFor=\"let emailAddressViewmodel of emailAddressViewmodels\" (click)=\"handleCheckedEmail(emailAddressViewmodel)\">\n <co-input-checkbox [model]=\"emailAddressViewmodel.checked\" (modelChange)=\"handleCheckedEmail(emailAddressViewmodel)\"></co-input-checkbox>\n <div class=\"email-address\" [textContent]=\"emailAddressViewmodel.emailAddress\"></div>\n </div>\n </div>\n <co-layout-selection\n [(request)]=\"sendMethodService.reportingDocumentEmailBaseRequest\"\n [layouts]=\"layouts\"\n ></co-layout-selection>\n ",
2527
+ template: "\n <div class=\"email-addresses-wrapper co-small-scrollbar\">\n <div class=\"email-address-wrapper\" *ngFor=\"let emailAddressViewmodel of emailAddressViewmodels\" (click)=\"handleCheckedEmail(emailAddressViewmodel)\">\n <co-input-checkbox [model]=\"emailAddressViewmodel.checked\" (modelChange)=\"handleCheckedEmail(emailAddressViewmodel)\"></co-input-checkbox>\n <div class=\"email-address\" [textContent]=\"emailAddressViewmodel.emailAddress\"></div>\n </div>\n </div>\n <div class=\"layout-signature-wrapper\">\n <co-layout-selection\n [(request)]=\"sendMethodService.reportingDocumentEmailSignDocBaseRequest\"\n [layouts]=\"layouts\"\n ></co-layout-selection>\n <co-signature-button\n [request]=\"sendMethodService.reportingDocumentEmailSignDocBaseRequest\"\n ></co-signature-button>\n </div>\n ",
2542
2528
  encapsulation: i0.ViewEncapsulation.None
2543
2529
  },] }
2544
2530
  ];
@@ -2615,6 +2601,54 @@
2615
2601
  },] }
2616
2602
  ];
2617
2603
 
2604
+ var SignatureButtonComponent = /** @class */ (function () {
2605
+ function SignatureButtonComponent(iconCacheService) {
2606
+ this.iconCacheService = iconCacheService;
2607
+ this.icons = exports["ɵbr"];
2608
+ }
2609
+ SignatureButtonComponent.prototype.showClass = function () {
2610
+ return true;
2611
+ };
2612
+ SignatureButtonComponent.prototype.handleToggleSignature = function () {
2613
+ this.request.parkForDigitalSignature = !this.request.parkForDigitalSignature;
2614
+ };
2615
+ return SignatureButtonComponent;
2616
+ }());
2617
+ SignatureButtonComponent.decorators = [
2618
+ { type: i0.Component, args: [{
2619
+ selector: "co-signature-button",
2620
+ template: "\n <div class=\"signature-button-wrapper\"\n [class.selected]=\"request.parkForDigitalSignature\"\n (click)=\"handleToggleSignature()\">\n <co-icon\n [iconData]=\"iconCacheService.getIcon(icons.FileSignatureRegular)\"\n ></co-icon>\n </div>\n ",
2621
+ encapsulation: i0.ViewEncapsulation.None
2622
+ },] }
2623
+ ];
2624
+ SignatureButtonComponent.ctorParameters = function () { return [
2625
+ { type: IconCacheService }
2626
+ ]; };
2627
+ SignatureButtonComponent.propDecorators = {
2628
+ request: [{ type: i0.Input }],
2629
+ showClass: [{ type: i0.HostBinding, args: ["class.co-signature-button",] }]
2630
+ };
2631
+
2632
+ var SignatureButtonModule = /** @class */ (function () {
2633
+ function SignatureButtonModule() {
2634
+ }
2635
+ return SignatureButtonModule;
2636
+ }());
2637
+ SignatureButtonModule.decorators = [
2638
+ { type: i0.NgModule, args: [{
2639
+ imports: [
2640
+ common.CommonModule,
2641
+ corecomponents_v12.IconModule
2642
+ ],
2643
+ declarations: [
2644
+ SignatureButtonComponent
2645
+ ],
2646
+ exports: [
2647
+ SignatureButtonComponent
2648
+ ]
2649
+ },] }
2650
+ ];
2651
+
2618
2652
  var SendMethodEmailModule = /** @class */ (function () {
2619
2653
  function SendMethodEmailModule() {
2620
2654
  }
@@ -2625,7 +2659,9 @@
2625
2659
  imports: [
2626
2660
  common.CommonModule,
2627
2661
  corecomponents_v12.InputCheckboxModule,
2628
- LayoutSelectionModule
2662
+ LayoutSelectionModule,
2663
+ corecomponents_v12.IconModule,
2664
+ SignatureButtonModule
2629
2665
  ],
2630
2666
  declarations: [
2631
2667
  SendMethodEmailComponent
@@ -2646,19 +2682,19 @@
2646
2682
  return true;
2647
2683
  };
2648
2684
  SendMethodPrinterComponent.prototype.handleDefaultPrinterUserChange = function (checked) {
2649
- this.sendMethodService.reportingDocumentPrintBaseRequest.saveDefaultPrinterForUser = checked;
2650
- this.sendMethodService.reportingDocumentPrintBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintBaseRequest);
2685
+ this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForUser = checked;
2686
+ this.sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintSignDocBaseRequest);
2651
2687
  };
2652
2688
  SendMethodPrinterComponent.prototype.handleDefaultPrinterAllUsersChange = function (checked) {
2653
- this.sendMethodService.reportingDocumentPrintBaseRequest.saveDefaultPrinterForAllUsers = checked;
2654
- this.sendMethodService.reportingDocumentPrintBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintBaseRequest);
2689
+ this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForAllUsers = checked;
2690
+ this.sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintSignDocBaseRequest);
2655
2691
  };
2656
2692
  return SendMethodPrinterComponent;
2657
2693
  }());
2658
2694
  SendMethodPrinterComponent.decorators = [
2659
2695
  { type: i0.Component, args: [{
2660
2696
  selector: 'co-send-method-printer',
2661
- template: "\n <co-printer-selection [printers]=\"printerList\"></co-printer-selection>\n <co-layout-selection\n [(request)]=\"sendMethodService.reportingDocumentPrintBaseRequest\"\n [layouts]=\"layouts\"\n ></co-layout-selection>\n <co-input-checkbox\n [model]=\"sendMethodService.reportingDocumentPrintBaseRequest.saveDefaultPrinterForUser\"\n [label]=\"'Koppeling onthouden'\"\n (modelChange)=\"handleDefaultPrinterUserChange($event)\"\n ></co-input-checkbox>\n <co-input-checkbox\n [model]=\"sendMethodService.reportingDocumentPrintBaseRequest.saveDefaultPrinterForAllUsers\"\n [label]=\"'Alle gebruikers'\"\n (modelChange)=\"handleDefaultPrinterAllUsersChange($event)\"\n ></co-input-checkbox>\n ",
2697
+ template: "\n <co-printer-selection [printers]=\"printerList\"></co-printer-selection>\n <div class=\"layout-signature-wrapper\">\n <co-layout-selection\n [(request)]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest\"\n [layouts]=\"layouts\"\n ></co-layout-selection>\n <co-signature-button\n [request]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest\"\n ></co-signature-button>\n </div>\n <co-input-checkbox\n [model]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForUser\"\n [label]=\"'Koppeling onthouden'\"\n (modelChange)=\"handleDefaultPrinterUserChange($event)\"\n ></co-input-checkbox>\n <co-input-checkbox\n [model]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForAllUsers\"\n [label]=\"'Alle gebruikers'\"\n (modelChange)=\"handleDefaultPrinterAllUsersChange($event)\"\n ></co-input-checkbox>\n ",
2662
2698
  encapsulation: i0.ViewEncapsulation.None
2663
2699
  },] }
2664
2700
  ];
@@ -2676,7 +2712,7 @@
2676
2712
  this.sendMethodService = sendMethodService;
2677
2713
  this.iconService = iconService;
2678
2714
  this._service = _service;
2679
- this.icons = exports["ɵbn"];
2715
+ this.icons = exports["ɵbr"];
2680
2716
  this.printers = [];
2681
2717
  this.showPrinterList = false;
2682
2718
  }
@@ -2684,17 +2720,17 @@
2684
2720
  return true;
2685
2721
  };
2686
2722
  PrinterSelectionComponent.prototype.ngOnInit = function () {
2687
- if (!this.sendMethodService.reportingDocumentPrintBaseRequest.printerName && this.printers && this.printers.length > 0) {
2723
+ if (!this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.printerName && this.printers && this.printers.length > 0) {
2688
2724
  var defaultPrinter = this.printers.find(function (p) { return p.isDefault; });
2689
2725
  if (defaultPrinter) {
2690
- this.sendMethodService.reportingDocumentPrintBaseRequest.printerName = defaultPrinter.name;
2691
- this.sendMethodService.reportingDocumentPrintBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintBaseRequest);
2726
+ this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.printerName = defaultPrinter.name;
2727
+ this.sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintSignDocBaseRequest);
2692
2728
  }
2693
2729
  }
2694
2730
  };
2695
2731
  PrinterSelectionComponent.prototype.handlePrinterClicked = function (printer) {
2696
- this.sendMethodService.reportingDocumentPrintBaseRequest.printerName = printer.name;
2697
- this.sendMethodService.reportingDocumentPrintBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintBaseRequest);
2732
+ this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.printerName = printer.name;
2733
+ this.sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintSignDocBaseRequest);
2698
2734
  this.showPrinterList = false;
2699
2735
  };
2700
2736
  return PrinterSelectionComponent;
@@ -2702,7 +2738,7 @@
2702
2738
  PrinterSelectionComponent.decorators = [
2703
2739
  { type: i0.Component, args: [{
2704
2740
  selector: 'co-printer-selection',
2705
- template: "\n <div class=\"printer-selection-wrapper\" (click)=\"showPrinterList = !showPrinterList\">\n <div class=\"title\" [textContent]=\"'Printer'\"></div>\n <div class=\"printer-name\" [textContent]=\"sendMethodService.reportingDocumentPrintBaseRequest.printerName || 'Printer kiezen'\"></div>\n </div>\n <div class=\"layouts-wrapper co-small-scrollbar\" *ngIf=\"showPrinterList\" @showHideLayouts>\n <div class=\"printer-list-item\" *ngFor=\"let printer of printers\"\n [class.selected]=\"sendMethodService.reportingDocumentPrintBaseRequest.printerName === printer.name\"\n (click)=\"handlePrinterClicked(printer)\">\n <co-icon class=\"printer-icon\" [iconData]=\"iconService.getIcon(icons.PrintRegular)\"></co-icon>\n <div class=\"printer-details\">\n <span class=\"printer-name\" [textContent]=\"printer.name\"></span>\n <span class=\"printer-status\" [textContent]=\"printer.acceptingJobs\"></span>\n </div>\n </div>\n </div>\n ",
2741
+ template: "\n <div class=\"printer-selection-wrapper\" (click)=\"showPrinterList = !showPrinterList\">\n <div class=\"title\" [textContent]=\"'Printer'\"></div>\n <div class=\"printer-name\" [textContent]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest.printerName || 'Printer kiezen'\"></div>\n </div>\n <div class=\"layouts-wrapper co-small-scrollbar\" *ngIf=\"showPrinterList\" @showHideLayouts>\n <div class=\"printer-list-item\" *ngFor=\"let printer of printers\"\n [class.selected]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest.printerName === printer.name\"\n (click)=\"handlePrinterClicked(printer)\">\n <co-icon class=\"printer-icon\" [iconData]=\"iconService.getIcon(icons.PrintRegular)\"></co-icon>\n <div class=\"printer-details\">\n <span class=\"printer-name\" [textContent]=\"printer.name\"></span>\n <span class=\"printer-status\" [textContent]=\"printer.acceptingJobs\"></span>\n </div>\n </div>\n </div>\n ",
2706
2742
  animations: [
2707
2743
  animations.trigger('showHideLayouts', [
2708
2744
  animations.state('void', animations.style({ height: 0 })),
@@ -2756,7 +2792,8 @@
2756
2792
  corecomponents_v12.IconModule,
2757
2793
  LayoutSelectionModule,
2758
2794
  PrinterSelectionModule,
2759
- corecomponents_v12.InputCheckboxModule
2795
+ corecomponents_v12.InputCheckboxModule,
2796
+ SignatureButtonModule
2760
2797
  ],
2761
2798
  declarations: [
2762
2799
  SendMethodPrinterComponent
@@ -2837,7 +2874,7 @@
2837
2874
  StockChangeAmountComponent.decorators = [
2838
2875
  { type: i0.Component, args: [{
2839
2876
  selector: "co-stock-change-amount",
2840
- template: "\n <div class=\"stock-transfer\">\n <co-dialog-wizard [showCloseIcon]=\"true\" (closeClick)=\"closeDialogClick()\">\n <ng-container header>\n <span [textContent]=\"'STOCK_CHANGE_REASON' | localize\"></span>\n </ng-container>\n <div class=\"popup-wrapper\">\n <co-drop-down-list [collection]=\"stockState\"\n [fields]=\"stockStateDropdownField\"\n [placeholder]=\"'STOCK_STATE' | localize\"\n [(model)]=\"selectedArticleDetailsData.stockStateId\"\n ></co-drop-down-list>\n\n <co-input-textarea [(model)]=\"selectedArticleDetailsData.stockStateRemark\"\n\n ></co-input-textarea>\n <div class=\"ok-cancel-buttons\">\n <co-button [textContent]=\"'OK' | localize\" (click)=\"handleOkClick(selectedArticleDetailsData)\"></co-button>\n <co-button [textContent]=\"'CANCEL' | localize\" (click)=\"handleCancelClick()\"></co-button>\n </div>\n </div>\n </co-dialog-wizard>\n </div>\n ",
2877
+ template: "\n <div class=\"stock-transfer\">\n <co-dialog-wizard [showCloseIcon]=\"true\" (closeClick)=\"closeDialogClick()\">\n <ng-container header>\n <span [textContent]=\"'STOCK_CHANGE_REASON' | localize\"></span>\n </ng-container>\n <div class=\"popup-wrapper\">\n<!--\n <co-drop-down-list [collection]=\"stockState\"\n [fields]=\"stockStateDropdownField\"\n [placeholder]=\"'STOCK_STATE' | localize\"\n [(model)]=\"selectedArticleDetailsData.stockStateId\"\n ></co-drop-down-list>\n-->\n\n <co-input-textarea [(model)]=\"selectedArticleDetailsData.stockStateRemark\"\n\n ></co-input-textarea>\n <div class=\"ok-cancel-buttons\">\n <co-button [textContent]=\"'OK' | localize\" (click)=\"handleOkClick(selectedArticleDetailsData)\"></co-button>\n <co-button [textContent]=\"'CANCEL' | localize\" (click)=\"handleCancelClick()\"></co-button>\n </div>\n </div>\n </co-dialog-wizard>\n </div>\n ",
2841
2878
  encapsulation: i0.ViewEncapsulation.None
2842
2879
  },] }
2843
2880
  ];
@@ -2874,7 +2911,7 @@
2874
2911
  function OrderTabComponent(iconCacheService, _stockService) {
2875
2912
  this.iconCacheService = iconCacheService;
2876
2913
  this._stockService = _stockService;
2877
- this.icons = exports["ɵbn"];
2914
+ this.icons = exports["ɵbr"];
2878
2915
  this.locationClicked = new i0.EventEmitter();
2879
2916
  this.transferIconClicked = new i0.EventEmitter();
2880
2917
  this.sendMethodDialogClicked = new i0.EventEmitter();
@@ -2910,9 +2947,11 @@
2910
2947
  function StockTabsComponent(_stockService, _localizeService) {
2911
2948
  this._stockService = _stockService;
2912
2949
  this._localizeService = _localizeService;
2913
- this.icons = exports["ɵbn"];
2950
+ this.icons = exports["ɵbr"];
2914
2951
  this.transferIconClicked = new i0.EventEmitter();
2915
2952
  this.sendMethodDialogClicked = new i0.EventEmitter();
2953
+ this.articleDetailsInformation = new articleStockManagement.ArticleStockManagement();
2954
+ this.showWarehouseSelection = false;
2916
2955
  this.tabs = [];
2917
2956
  this.historyTabs = [];
2918
2957
  }
@@ -2920,6 +2959,7 @@
2920
2959
  var _this = this;
2921
2960
  this.tabs = [
2922
2961
  { title: this._localizeService.get('OVERVIEW'), active: true },
2962
+ { title: this._localizeService.get('STOCK_FORECAST'), active: false },
2923
2963
  { title: this._localizeService.get('STOCK_DETAILS'), active: false },
2924
2964
  { title: this._localizeService.get('ALREADY_IN_ORDER'), active: false, clickHandler: function () { return _this.getInOrderData(); } },
2925
2965
  { title: this._localizeService.get('IN_ORDER'), active: false, clickHandler: function () { return _this.getOrderData(); } },
@@ -2932,11 +2972,13 @@
2932
2972
  { title: this._localizeService.get('ORDER'), active: false, clickHandler: function () { return _this.getOrderStockHistory(); } },
2933
2973
  { title: this._localizeService.get('ALLOCATION'), active: false, clickHandler: function () { return _this.getAllocationStockHistory(); } },
2934
2974
  ];
2975
+ console.log(this.tabs[0]);
2976
+ console.log(this.historyTabs[5]);
2935
2977
  };
2936
2978
  StockTabsComponent.prototype.handleLocationClicked = function (data) {
2937
2979
  this.selectedLocation = data.warehouseNo;
2938
2980
  this.tabs[0].active = false;
2939
- this.tabs[1].active = true;
2981
+ this.tabs[2].active = true;
2940
2982
  };
2941
2983
  StockTabsComponent.prototype.getStockHistory = function () {
2942
2984
  return __awaiter(this, void 0, void 0, function () {
@@ -3078,12 +3120,41 @@
3078
3120
  });
3079
3121
  });
3080
3122
  };
3123
+ StockTabsComponent.prototype.getStockPrognose = function (warehouseNo) {
3124
+ return __awaiter(this, void 0, void 0, function () {
3125
+ var _a;
3126
+ return __generator(this, function (_b) {
3127
+ switch (_b.label) {
3128
+ case 0:
3129
+ _a = this;
3130
+ return [4 /*yield*/, this._stockService.stockPrognose(this.article.goodId, warehouseNo)];
3131
+ case 1:
3132
+ _a.stockPrognose = _b.sent();
3133
+ return [2 /*return*/];
3134
+ }
3135
+ });
3136
+ });
3137
+ };
3138
+ StockTabsComponent.prototype.handleWarehouseSelected = function (event) {
3139
+ var _this = this;
3140
+ this.selectedWarehouse = event;
3141
+ if (this.tabs[1].active) {
3142
+ this.getStockPrognose(this.selectedWarehouse.warehouseNo);
3143
+ }
3144
+ if (this.tabs[2].active) {
3145
+ this.articleDetailsInformation.warehouseNumber = event.warehouseNo;
3146
+ this.articleDetailsInformation.goodId = this.article.goodId;
3147
+ this._stockService.getArticleDetails(this.articleDetailsInformation).then(function (details) {
3148
+ _this.articleDetails = details;
3149
+ });
3150
+ }
3151
+ };
3081
3152
  return StockTabsComponent;
3082
3153
  }());
3083
3154
  StockTabsComponent.decorators = [
3084
3155
  { type: i0.Component, args: [{
3085
3156
  selector: "co-stock-tabs",
3086
- template: "\n <co-tab-bar [wareHouseLabel]=\"'CHOICES' | localize\" [wareHouseSearchLabel]=\"'SEARCH' | localize\" \n [tabs]=\"tabs\" [dataWareHouseCode]=\"warehouses\" [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]=\"selectedLocation\"\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 ",
3157
+ template: "\n <co-tab-bar [wareHouseLabel]=\"'CHOICES' | localize\"\n [wareHouseSearchLabel]=\"'SEARCH' | localize\"\n [tabs]=\"tabs\"\n [dataWareHouseCode]=\"warehouses\"\n [secondaryTabs]=\"historyTabs\"\n [ActivateSecondaryTabs]=\"tabs[5].active\"\n [showWarehouseSelection]=\"tabs[1].active || tabs[2].active\"\n (warehouseSelected)=\"handleWarehouseSelected($event)\"\n ></co-tab-bar>\n\n <co-stock-tab *ngIf=\"tabs[0].active\"\n [articleStockInformation]=\"stockInformation\"\n (locationClicked)=\"handleLocationClicked($event)\"\n ></co-stock-tab>\n\n <co-stock-prognose *ngIf=\"tabs[1].active\"\n [stockPrognose]=\"stockPrognose\"\n ></co-stock-prognose>\n\n <co-stock-location *ngIf=\"tabs[2].active\"\n [articleStockInfo]=\"articleDetails\"\n [articleStockInformation]=\"stockInformation\"\n [article]=\"article\"\n [clickedLocation]=\"selectedLocation\"\n [dataWareHouseCode]=\"warehouses\"\n (transferIconClicked)=\"transferIconClicked.emit($event)\"\n (sendMethodDialogClicked)=\"sendMethodDialogClicked.emit($event)\"\n ></co-stock-location>\n\n <co-order-tab *ngIf=\"tabs[3].active\"\n [articleStockInformation]=\"stockInformation\"\n [inOrderInformation]=\"inOrderInformation\"\n (transferIconClicked)=\"transferIconClicked.emit($event)\"\n (sendMethodDialogClicked)=\"sendMethodDialogClicked.emit($event)\"\n ></co-order-tab>\n\n <co-order-stock-tab *ngIf=\"tabs[4].active\"\n [orderInformation]=\"orderInformation\"\n ></co-order-stock-tab>\n\n <co-stock-history *ngIf=\"historyTabs[0].active && tabs[5].active\"\n [stockHistory]=\"stockHistory\"\n ></co-stock-history>\n\n <co-order-supply-stock-history *ngIf=\"historyTabs[1].active && tabs[5].active\"\n [orderSupplyStockHistory]=\"orderSupplyStockHistory\"\n ></co-order-supply-stock-history>\n\n <co-order-stock-commission-history *ngIf=\"historyTabs[2].active && tabs[5].active\"\n [orderStockCommissionHistory]=\"orderCommissionStockHistory\"\n ></co-order-stock-commission-history>\n\n <co-order-stock-history *ngIf=\"historyTabs[3].active && tabs[5].active\"\n [orderStockHistory]=\"orderStockHistory\"\n ></co-order-stock-history>\n\n <co-allocation-stock-history *ngIf=\"historyTabs[4].active && tabs[5].active\"\n [allocationStockHistory]=\"orderAllocationStockHistory\"\n ></co-allocation-stock-history>\n\n ",
3087
3158
  encapsulation: i0.ViewEncapsulation.None
3088
3159
  },] }
3089
3160
  ];
@@ -3101,7 +3172,7 @@
3101
3172
 
3102
3173
  var StockHistoryTabsComponent = /** @class */ (function () {
3103
3174
  function StockHistoryTabsComponent() {
3104
- this.icons = exports["ɵbn"];
3175
+ this.icons = exports["ɵbr"];
3105
3176
  this.selectedTab = 0;
3106
3177
  }
3107
3178
  return StockHistoryTabsComponent;
@@ -3121,7 +3192,7 @@
3121
3192
  function OrderStockTabComponent(iconCacheService, _stockService) {
3122
3193
  this.iconCacheService = iconCacheService;
3123
3194
  this._stockService = _stockService;
3124
- this.icons = exports["ɵbn"];
3195
+ this.icons = exports["ɵbr"];
3125
3196
  }
3126
3197
  return OrderStockTabComponent;
3127
3198
  }());
@@ -3145,7 +3216,7 @@
3145
3216
  this.iconCacheService = iconCacheService;
3146
3217
  this._stockService = _stockService;
3147
3218
  this._changeDetector = _changeDetector;
3148
- this.icons = exports["ɵbn"];
3219
+ this.icons = exports["ɵbr"];
3149
3220
  this.transferIconClicked = new i0.EventEmitter();
3150
3221
  this.sendMethodDialogClicked = new i0.EventEmitter();
3151
3222
  this.dataWareHouseFields = { text: "warehouseDescription", value: "warehouseNo" };
@@ -3219,7 +3290,7 @@
3219
3290
  StockLocationComponent.decorators = [
3220
3291
  { type: i0.Component, args: [{
3221
3292
  selector: "co-stock-location",
3222
- 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' | localize\"\n (modelChange)=\"onSelectWarehouse($event)\"\n [required]=\"true\"\n ></co-drop-down-list>\n <co-list-of-values [label]=\"'CHOICES' | localize\"\n [displayField]=\"'warehouseDescription'\"\n [collection]=\"dataWareHouseCode\"\n [model]=\"selectedWarehouseModel\"\n [multiselect]=\"false\"\n [required]=\"false\"\n [readonly]=\"true\"\n [customCssClass]=\"'mini-scrollbar'\"\n [searchPlaceholder]=\"'SEARCH' | localize\"\n (modelChange)=\"onSelectWarehouse($event)\"\n >\n </co-list-of-values>\n </div>\n </div>\n\n <co-simple-grid [data]=\"articleDetails\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n [showAdd]=\"true\"\n [inlineEdit]=\"true\"\n (dblClickRow)=\"lockSelectedRow($event)\"\n [showToolbar]=\"true\"\n (keydown.enter)=\"onOkClickSendLocations()\"\n >\n <co-simple-grid-column [headerText]=\"'LOCATION' | localize\" [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' | localize\"\n (click)=\"onLocationDropdownClick()\"\n [required]=\"true\"\n (modelChange)=\"locationChanged($event)\"\n ></co-drop-down-list>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleDetails\" [headerText]=\"'BATCH' | localize\" [field]=\"'batchNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.batchNo\"\n [placeholder]=\"'BATCH' | localize\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleDetails\" [headerText]=\"'SERIAL_NO' | localize\" [field]=\"'serialNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.serialNo\"\n [placeholder]=\"'SERIAL_NO' | localize\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK' | localize\" [field]=\"'amountInStock'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.amountInStock\"\n [label]=\"'STOCK' | localize\"\n (modelChange)=\"amountInStockChanged($event)\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ALLOCATED' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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 ",
3293
+ template: "\n <div class=\"stock-grid\">\n <co-simple-grid [data]=\"articleDetails\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n [showAdd]=\"true\"\n [inlineEdit]=\"true\"\n (dblClickRow)=\"lockSelectedRow($event)\"\n [showToolbar]=\"true\"\n (keydown.enter)=\"onOkClickSendLocations()\"\n >\n <co-simple-grid-column [headerText]=\"'LOCATION' | localize\" [field]=\"'locationNo'\">\n <ng-template #editTemplate let-row=\"row\">\n<!--\n <co-drop-down-list [(model)]=\"row.locationNo\"\n [collection]=\"stockLocations\"\n [fields]=\"dataLocationFields\"\n [placeholder]=\"'LOCATION' | localize\"\n (click)=\"onLocationDropdownClick()\"\n [required]=\"true\"\n (modelChange)=\"locationChanged($event)\"\n ></co-drop-down-list>\n-->\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleDetails\" [headerText]=\"'BATCH' | localize\" [field]=\"'batchNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.batchNo\"\n [placeholder]=\"'BATCH' | localize\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleDetails\" [headerText]=\"'SERIAL_NO' | localize\" [field]=\"'serialNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.serialNo\"\n [placeholder]=\"'SERIAL_NO' | localize\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'STOCK' | localize\" [field]=\"'amountInStock'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [(model)]=\"row.amountInStock\"\n [label]=\"'STOCK' | localize\"\n (modelChange)=\"amountInStockChanged($event)\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ALLOCATED' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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' | localize\" [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 ",
3223
3294
  encapsulation: i0.ViewEncapsulation.None
3224
3295
  },] }
3225
3296
  ];
@@ -3229,6 +3300,7 @@
3229
3300
  { type: i0.ChangeDetectorRef }
3230
3301
  ]; };
3231
3302
  StockLocationComponent.propDecorators = {
3303
+ articleStockInfo: [{ type: i0.Input }],
3232
3304
  articleStockInformation: [{ type: i0.Input }],
3233
3305
  article: [{ type: i0.Input }],
3234
3306
  clickedLocation: [{ type: i0.Input }],
@@ -3241,7 +3313,7 @@
3241
3313
  function StockHistoryComponent(iconCacheService, _stockService) {
3242
3314
  this.iconCacheService = iconCacheService;
3243
3315
  this._stockService = _stockService;
3244
- this.icons = exports["ɵbn"];
3316
+ this.icons = exports["ɵbr"];
3245
3317
  }
3246
3318
  return StockHistoryComponent;
3247
3319
  }());
@@ -3266,8 +3338,8 @@
3266
3338
  function TabBarComponent(_stockService) {
3267
3339
  this._stockService = _stockService;
3268
3340
  this.ActivateSecondaryTabs = false;
3269
- this.dataWareHouseFields = { text: "warehouseDescription", value: "warehouseNo" };
3270
- this.articleDetailsInformation = new articleStockManagement.ArticleStockManagement();
3341
+ this.showWarehouseSelection = false;
3342
+ this.warehouseSelected = new i0.EventEmitter();
3271
3343
  }
3272
3344
  TabBarComponent.prototype.selectTab = function (tab) {
3273
3345
  if (tab.clickHandler) {
@@ -3284,21 +3356,14 @@
3284
3356
  secondaryTab.active = true;
3285
3357
  };
3286
3358
  TabBarComponent.prototype.onSelectWarehouse = function (event) {
3287
- var _this = this;
3288
- this.articleDetailsInformation.warehouseNumber = event;
3289
- this.articleDetailsInformation.goodId = this.article.goodId;
3290
- if (this.selectedWarehouse || this.selectedWarehouse === 0) {
3291
- this._stockService.getArticleDetails(this.articleDetailsInformation).then(function (details) {
3292
- _this.articleDetails = details;
3293
- });
3294
- }
3359
+ this.warehouseSelected.emit(event);
3295
3360
  };
3296
3361
  return TabBarComponent;
3297
3362
  }());
3298
3363
  TabBarComponent.decorators = [
3299
3364
  { type: i0.Component, args: [{
3300
3365
  selector: "co-tab-bar",
3301
- template: "\n <div class=\"tab-bar-wrapper\">\n <div class=\"tab-bar-warehouse-wrapper\">\n <div class=\"stock-location-group\">\n <div class=\"stock-location-right-group\">\n <co-list-of-values [label]=\"wareHouseLabel\"\n [displayField]=\"'warehouseDescription'\"\n [collection]=\"dataWareHouseCode\"\n [multiselect]=\"false\"\n [required]=\"false\"\n [readonly]=\"true\"\n [customCssClass]=\"'mini-scrollbar'\"\n [searchPlaceholder]=\"wareHouseSearchLabel\"\n (modelChange)=\"onSelectWarehouse($event)\"\n >\n </co-list-of-values>\n </div>\n </div>\n </div>\n <div class=\"tab-bar\">\n <div class=\"tab-bar-primary\">\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 </div>\n </div>\n ",
3366
+ template: "\n <div class=\"tab-bar-wrapper\">\n <div class=\"tab-bar-warehouse-wrapper\">\n <div class=\"stock-location-group\">\n <div class=\"stock-location-right-group\">\n <co-list-of-values *ngIf=\"showWarehouseSelection\"\n [label]=\"wareHouseLabel\"\n [displayField]=\"'warehouseDescription'\"\n [collection]=\"dataWareHouseCode\"\n [multiselect]=\"false\"\n [required]=\"false\"\n [readonly]=\"false\"\n [customCssClass]=\"'mini-scrollbar'\"\n [searchPlaceholder]=\"wareHouseSearchLabel\"\n [model]=\"selectedWarehouse\"\n (modelChange)=\"onSelectWarehouse($event)\"\n >\n </co-list-of-values>\n </div>\n </div>\n </div>\n <div class=\"tab-bar\">\n <div class=\"tab-bar-primary\">\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 </div>\n </div>\n ",
3302
3367
  encapsulation: i0.ViewEncapsulation.None
3303
3368
  },] }
3304
3369
  ];
@@ -3312,7 +3377,9 @@
3312
3377
  secondaryTabs: [{ type: i0.Input }],
3313
3378
  ActivateSecondaryTabs: [{ type: i0.Input }],
3314
3379
  dataWareHouseCode: [{ type: i0.Input }],
3315
- article: [{ type: i0.Input }]
3380
+ article: [{ type: i0.Input }],
3381
+ showWarehouseSelection: [{ type: i0.Input }],
3382
+ warehouseSelected: [{ type: i0.Output }]
3316
3383
  };
3317
3384
 
3318
3385
  var TabBarModule = /** @class */ (function () {
@@ -3324,7 +3391,6 @@
3324
3391
  { type: i0.NgModule, args: [{
3325
3392
  imports: [
3326
3393
  common.CommonModule,
3327
- corecomponents_v12.DropDownModule,
3328
3394
  corecomponents_v12.ListOfValuesModule,
3329
3395
  ],
3330
3396
  declarations: [
@@ -3339,7 +3405,7 @@
3339
3405
  var OrderSupplyStockHistoryComponent = /** @class */ (function () {
3340
3406
  function OrderSupplyStockHistoryComponent(iconCacheService) {
3341
3407
  this.iconCacheService = iconCacheService;
3342
- this.icons = exports["ɵbn"];
3408
+ this.icons = exports["ɵbr"];
3343
3409
  }
3344
3410
  return OrderSupplyStockHistoryComponent;
3345
3411
  }());
@@ -3360,7 +3426,7 @@
3360
3426
  var OrderCommissionStockHistoryComponent = /** @class */ (function () {
3361
3427
  function OrderCommissionStockHistoryComponent(iconCacheService) {
3362
3428
  this.iconCacheService = iconCacheService;
3363
- this.icons = exports["ɵbn"];
3429
+ this.icons = exports["ɵbr"];
3364
3430
  }
3365
3431
  return OrderCommissionStockHistoryComponent;
3366
3432
  }());
@@ -3381,7 +3447,7 @@
3381
3447
  var OrderStockHistoryComponent = /** @class */ (function () {
3382
3448
  function OrderStockHistoryComponent(iconCacheService) {
3383
3449
  this.iconCacheService = iconCacheService;
3384
- this.icons = exports["ɵbn"];
3450
+ this.icons = exports["ɵbr"];
3385
3451
  }
3386
3452
  return OrderStockHistoryComponent;
3387
3453
  }());
@@ -3402,7 +3468,7 @@
3402
3468
  var AllocationStockHistoryComponent = /** @class */ (function () {
3403
3469
  function AllocationStockHistoryComponent(iconCacheService) {
3404
3470
  this.iconCacheService = iconCacheService;
3405
- this.icons = exports["ɵbn"];
3471
+ this.icons = exports["ɵbr"];
3406
3472
  }
3407
3473
  return AllocationStockHistoryComponent;
3408
3474
  }());
@@ -3420,7 +3486,7 @@
3420
3486
  allocationStockHistory: [{ type: i0.Input }]
3421
3487
  };
3422
3488
 
3423
- var GaugeColor;
3489
+ var GaugeColor$1;
3424
3490
  (function (GaugeColor) {
3425
3491
  GaugeColor["Lowest"] = "#E0E0E0";
3426
3492
  GaugeColor["Low"] = "#fff7b8";
@@ -3428,158 +3494,11 @@
3428
3494
  GaugeColor["MediumHigh"] = "#ffc15b";
3429
3495
  GaugeColor["High"] = "#F88952";
3430
3496
  GaugeColor["Highest"] = "#5FDCB3";
3431
- })(GaugeColor || (GaugeColor = {}));
3432
-
3433
- var CoCircularGaugeComponent = /** @class */ (function () {
3434
- function CoCircularGaugeComponent() {
3435
- this._color = GaugeColor.Low;
3436
- this.majorTicks = {
3437
- height: 0,
3438
- };
3439
- this.minorTicks = {
3440
- height: 0
3441
- };
3442
- this.labelStyle = {
3443
- position: 'Inside', useRangeColor: true,
3444
- font: { size: '0px', fontFamily: 'inherit' }
3445
- };
3446
- this.lineStyle = {
3447
- width: 0
3448
- };
3449
- this.ranges = [
3450
- {
3451
- start: 1, end: 100,
3452
- radius: '13px',
3453
- startWidth: 3, endWidth: 3,
3454
- color: '#E0E0E0',
3455
- roundedCornerRadius: 0
3456
- },
3457
- ];
3458
- }
3459
- Object.defineProperty(CoCircularGaugeComponent.prototype, "value", {
3460
- get: function () {
3461
- return this._value;
3462
- },
3463
- set: function (value) {
3464
- this._value = value;
3465
- this._setColor();
3466
- },
3467
- enumerable: false,
3468
- configurable: true
3469
- });
3470
- Object.defineProperty(CoCircularGaugeComponent.prototype, "color", {
3471
- get: function () {
3472
- return this._color;
3473
- },
3474
- enumerable: false,
3475
- configurable: true
3476
- });
3477
- CoCircularGaugeComponent.prototype.showClass = function () {
3478
- return true;
3479
- };
3480
- CoCircularGaugeComponent.prototype.getAxes = function () {
3481
- return [{
3482
- minimum: 0,
3483
- maximum: 100,
3484
- radius: '15px',
3485
- startAngle: 1,
3486
- endAngle: 360,
3487
- majorTicks: this.majorTicks,
3488
- minorTicks: this.minorTicks,
3489
- labelStyle: this.labelStyle,
3490
- lineStyle: this.lineStyle,
3491
- ranges: this.ranges,
3492
- pointers: this.getPointers(),
3493
- annotations: this.getAnnotations(),
3494
- }];
3495
- };
3496
- CoCircularGaugeComponent.prototype.getPointers = function () {
3497
- if (this.value) {
3498
- return [{
3499
- roundedCornerRadius: 0,
3500
- value: this.value,
3501
- type: 'RangeBar',
3502
- radius: '13px',
3503
- color: this.color,
3504
- border: {
3505
- width: 0
3506
- },
3507
- animation: {
3508
- enable: false
3509
- },
3510
- pointerWidth: 3
3511
- }];
3512
- }
3513
- };
3514
- ;
3515
- CoCircularGaugeComponent.prototype.getAnnotations = function () {
3516
- if (this.value !== undefined) {
3517
- var label = this.value ? this.value + "%" : "0%";
3518
- return [{
3519
- content: '<div class="annotation" style="width:20px;height:20px;">' +
3520
- '<div class="annotation-label">' + label + '</div></div>',
3521
- zIndex: '10',
3522
- }];
3523
- }
3524
- };
3525
- CoCircularGaugeComponent.prototype._setColor = function () {
3526
- if (this.value <= 0) {
3527
- this._color = GaugeColor.Lowest;
3528
- }
3529
- else if (this.value >= 1 && this.value < 25) {
3530
- this._color = GaugeColor.Low;
3531
- }
3532
- else if (this.value >= 25 && this.value < 50) {
3533
- this._color = GaugeColor.MediumLow;
3534
- }
3535
- else if (this.value >= 50 && this.value < 75) {
3536
- this._color = GaugeColor.MediumHigh;
3537
- }
3538
- else if (this.value >= 75 && this.value < 100) {
3539
- this._color = GaugeColor.High;
3540
- }
3541
- else if (this.value >= 100) {
3542
- this._color = GaugeColor.Highest;
3543
- }
3544
- };
3545
- return CoCircularGaugeComponent;
3546
- }());
3547
- CoCircularGaugeComponent.decorators = [
3548
- { type: i0.Component, args: [{
3549
- selector: "co-circular-gauge",
3550
- template: "\n <div class=\"circular-gauge-wrapper\">\n <ejs-circulargauge\n class=\"circular-gauge\"\n [width]=\"'100%'\"\n [axes]=\"getAxes()\">\n </ejs-circulargauge>\n </div>\n ",
3551
- encapsulation: i0.ViewEncapsulation.None
3552
- },] }
3553
- ];
3554
- CoCircularGaugeComponent.propDecorators = {
3555
- circulargauge: [{ type: i0.ViewChild, args: ['circulargauge',] }],
3556
- value: [{ type: i0.Input }],
3557
- showClass: [{ type: i0.HostBinding, args: ["class.co-circular-gauge",] }]
3558
- };
3559
-
3560
- var CoCircularGaugeModule = /** @class */ (function () {
3561
- function CoCircularGaugeModule() {
3562
- }
3563
- return CoCircularGaugeModule;
3564
- }());
3565
- CoCircularGaugeModule.decorators = [
3566
- { type: i0.NgModule, args: [{
3567
- imports: [
3568
- common.CommonModule,
3569
- ej2AngularCirculargauge.CircularGaugeModule
3570
- ],
3571
- declarations: [
3572
- CoCircularGaugeComponent
3573
- ],
3574
- exports: [
3575
- CoCircularGaugeComponent
3576
- ]
3577
- },] }
3578
- ];
3497
+ })(GaugeColor$1 || (GaugeColor$1 = {}));
3579
3498
 
3580
3499
  var CoLinearGaugeComponent = /** @class */ (function () {
3581
3500
  function CoLinearGaugeComponent() {
3582
- this.color = GaugeColor.Low;
3501
+ this.color = GaugeColor$1.Low;
3583
3502
  }
3584
3503
  Object.defineProperty(CoLinearGaugeComponent.prototype, "value", {
3585
3504
  get: function () {
@@ -3600,22 +3519,22 @@
3600
3519
  };
3601
3520
  CoLinearGaugeComponent.prototype._setColor = function () {
3602
3521
  if (this.value <= 0) {
3603
- this.color = GaugeColor.Lowest;
3522
+ this.color = GaugeColor$1.Lowest;
3604
3523
  }
3605
3524
  else if (this.value >= 1 && this.value < 25) {
3606
- this.color = GaugeColor.Low;
3525
+ this.color = GaugeColor$1.Low;
3607
3526
  }
3608
3527
  else if (this.value >= 25 && this.value < 50) {
3609
- this.color = GaugeColor.MediumLow;
3528
+ this.color = GaugeColor$1.MediumLow;
3610
3529
  }
3611
3530
  else if (this.value >= 50 && this.value < 75) {
3612
- this.color = GaugeColor.MediumHigh;
3531
+ this.color = GaugeColor$1.MediumHigh;
3613
3532
  }
3614
3533
  else if (this.value >= 75 && this.value < 100) {
3615
- this.color = GaugeColor.High;
3534
+ this.color = GaugeColor$1.High;
3616
3535
  }
3617
3536
  else if (this.value >= 100) {
3618
- this.color = GaugeColor.Highest;
3537
+ this.color = GaugeColor$1.Highest;
3619
3538
  }
3620
3539
  };
3621
3540
  return CoLinearGaugeComponent;
@@ -3652,21 +3571,90 @@
3652
3571
  },] }
3653
3572
  ];
3654
3573
 
3574
+ chart_js.Chart.register(chart_js.DoughnutController, chart_js.ArcElement);
3575
+ var GaugeColor;
3576
+ (function (GaugeColor) {
3577
+ GaugeColor["Lowest"] = "#E0E0E0";
3578
+ GaugeColor["Low"] = "#fff7b8";
3579
+ GaugeColor["MediumLow"] = "#ffe367";
3580
+ GaugeColor["MediumHigh"] = "#ffc15b";
3581
+ GaugeColor["High"] = "#F88952";
3582
+ GaugeColor["Highest"] = "#5FDCB3";
3583
+ })(GaugeColor || (GaugeColor = {}));
3655
3584
  var StatusbarPopupComponent = /** @class */ (function () {
3656
3585
  function StatusbarPopupComponent() {
3657
3586
  this.statusbarData = [];
3658
3587
  this.showClass = true;
3588
+ this.doughnutCharts = [];
3659
3589
  }
3590
+ Object.defineProperty(StatusbarPopupComponent.prototype, "content", {
3591
+ set: function (content) {
3592
+ this.doughnutCharts = content.toArray();
3593
+ this._prepareChartData();
3594
+ },
3595
+ enumerable: false,
3596
+ configurable: true
3597
+ });
3598
+ StatusbarPopupComponent.prototype.ngOnInit = function () {
3599
+ this._prepareChartData();
3600
+ };
3601
+ StatusbarPopupComponent.prototype._prepareChartData = function () {
3602
+ var _this = this;
3603
+ if (!this.doughnutCharts || this.doughnutCharts.length === 0) {
3604
+ return;
3605
+ }
3606
+ this.doughnutCharts.forEach(function (chart, index) {
3607
+ new chart_js.Chart(chart.nativeElement, {
3608
+ type: 'doughnut',
3609
+ data: {
3610
+ datasets: [{
3611
+ label: _this.statusbarData[index].label,
3612
+ data: [Math.max(0.0001, _this.statusbarData[index].percentage), 100 - Math.max(0.0001, _this.statusbarData[index].percentage)],
3613
+ backgroundColor: [
3614
+ _this._getColor(_this.statusbarData[index].percentage),
3615
+ _this._getColor(-1),
3616
+ ],
3617
+ borderWidth: 1
3618
+ }]
3619
+ },
3620
+ options: {
3621
+ cutout: '70%'
3622
+ }
3623
+ });
3624
+ });
3625
+ };
3626
+ StatusbarPopupComponent.prototype._getColor = function (value) {
3627
+ if (value <= 0) {
3628
+ return GaugeColor.Lowest;
3629
+ }
3630
+ else if (value >= 1 && value < 25) {
3631
+ return GaugeColor.Low;
3632
+ }
3633
+ else if (value >= 25 && value < 50) {
3634
+ return GaugeColor.MediumLow;
3635
+ }
3636
+ else if (value >= 50 && value < 75) {
3637
+ return GaugeColor.MediumHigh;
3638
+ }
3639
+ else if (value >= 75 && value < 100) {
3640
+ return GaugeColor.High;
3641
+ }
3642
+ else if (value >= 100) {
3643
+ return GaugeColor.Highest;
3644
+ }
3645
+ };
3660
3646
  return StatusbarPopupComponent;
3661
3647
  }());
3662
3648
  StatusbarPopupComponent.decorators = [
3663
3649
  { type: i0.Component, args: [{
3664
3650
  selector: "co-statusbar-popup",
3665
- template: "\n <div class=\"co-statusbar-popup-wrapper\" [overlay]=\"parentForOverlay\">\n <div class=\"status-descriptions\">\n <div *ngFor=\"let data of statusbarData; let index = index\" class=\"status-description\">\n <co-circular-gauge [value]=\"data.percentage\"></co-circular-gauge>\n <span [textContent]=\"data.label\"></span>\n </div>\n </div>\n </div>\n ",
3651
+ template: "\n <div class=\"co-statusbar-popup-wrapper\" [overlay]=\"parentForOverlay\">\n <div class=\"status-descriptions\">\n <div *ngFor=\"let data of statusbarData; let index = index\" class=\"status-description\">\n <div class=\"statusbar-canvas-wrapper\">\n <canvas #doughnutCanvas class=\"chart-canvas\"></canvas>\n <span class=\"statusbar-inner-canvas-label\" [textContent]=\"data.percentage\"></span>\n </div>\n <span class=\"statusbar-description\" [textContent]=\"data.label\"></span>\n </div>\n </div>\n </div>\n ",
3666
3652
  encapsulation: i0.ViewEncapsulation.None
3667
3653
  },] }
3668
3654
  ];
3669
3655
  StatusbarPopupComponent.propDecorators = {
3656
+ content: [{ type: i0.ViewChildren, args: ['doughnutCanvas', { read: i0.ElementRef },] }],
3657
+ defaultColor: [{ type: i0.Input }],
3670
3658
  statusbarData: [{ type: i0.Input }],
3671
3659
  parentForOverlay: [{ type: i0.Input }],
3672
3660
  showClass: [{ type: i0.HostBinding, args: ["class.co-statusbar-popup",] }]
@@ -3702,7 +3690,7 @@
3702
3690
  }
3703
3691
  event.preventDefault();
3704
3692
  event.stopPropagation();
3705
- this._statusbarPopupComponentRef = this._overlayService.createComponent(StatusbarPopupComponent, { parentForOverlay: this._elementRef, statusbarData: this.statusbarData });
3693
+ this._statusbarPopupComponentRef = this._overlayService.createComponent(StatusbarPopupComponent, { parentForOverlay: this._elementRef, statusbarData: this.statusbarData, defaultColor: this.defaultColor });
3706
3694
  this.popupShowing = true;
3707
3695
  };
3708
3696
  StatusbarComponent.prototype.handleHidePopup = function () {
@@ -3737,6 +3725,7 @@
3737
3725
  ]; };
3738
3726
  StatusbarComponent.propDecorators = {
3739
3727
  statusbarData: [{ type: i0.Input }],
3728
+ defaultColor: [{ type: i0.Input }],
3740
3729
  focusedStatusIndex: [{ type: i0.Input }],
3741
3730
  statusbarClick: [{ type: i0.Output }],
3742
3731
  showClass: [{ type: i0.HostBinding, args: ["class.co-statusbar",] }],
@@ -3752,7 +3741,6 @@
3752
3741
  { type: i0.NgModule, args: [{
3753
3742
  imports: [
3754
3743
  common.CommonModule,
3755
- CoCircularGaugeModule,
3756
3744
  CoLinearGaugeModule,
3757
3745
  corecomponents_v12.ClickoutsideModule,
3758
3746
  corecomponents_v12.OverlayModule
@@ -3804,6 +3792,29 @@
3804
3792
  },] }
3805
3793
  ];
3806
3794
 
3795
+ var StockPrognoseComponent = /** @class */ (function () {
3796
+ function StockPrognoseComponent(iconCacheService, _stockService) {
3797
+ this.iconCacheService = iconCacheService;
3798
+ this._stockService = _stockService;
3799
+ this.icons = exports["ɵbr"];
3800
+ }
3801
+ return StockPrognoseComponent;
3802
+ }());
3803
+ StockPrognoseComponent.decorators = [
3804
+ { type: i0.Component, args: [{
3805
+ selector: "co-stock-prognose",
3806
+ template: "\n <co-simple-grid [data]=\"stockPrognose\"\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [headerText]=\"'AVAILABILITY'\" [field]=\"'available'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'FREE_STOCK'\" [field]=\"'freeStock'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'IN_ORDER'\" [field]=\"'inOrder'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'PURCHASE_ORDER'\" [field]=\"'transNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'PURCHASE_ORDER_DATE'\" [field]=\"'transactionDate'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE'\" [field]=\"'docNr'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'REFERENCE'\" [field]=\"'reference'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE_CONFIRMED'\" [field]=\"'transConfirmedDate'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE_DELIVERED'\" [field]=\"'transDeliveryDate'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'FUTURE_FREE_STOCK'\" [field]=\"'laterAvailable'\"></co-simple-grid-column>\n </co-simple-grid>\n ",
3807
+ encapsulation: i0.ViewEncapsulation.None
3808
+ },] }
3809
+ ];
3810
+ StockPrognoseComponent.ctorParameters = function () { return [
3811
+ { type: IconCacheService },
3812
+ { type: StockService }
3813
+ ]; };
3814
+ StockPrognoseComponent.propDecorators = {
3815
+ stockPrognose: [{ type: i0.Input }]
3816
+ };
3817
+
3807
3818
  var LocalizePipe = /** @class */ (function () {
3808
3819
  function LocalizePipe(_localizeService) {
3809
3820
  this._localizeService = _localizeService;
@@ -3832,6 +3843,25 @@
3832
3843
  { type: LocalizeService }
3833
3844
  ]; };
3834
3845
 
3846
+ var LocalizationModule = /** @class */ (function () {
3847
+ function LocalizationModule() {
3848
+ }
3849
+ return LocalizationModule;
3850
+ }());
3851
+ LocalizationModule.decorators = [
3852
+ { type: i0.NgModule, args: [{
3853
+ imports: [
3854
+ common.CommonModule
3855
+ ],
3856
+ declarations: [
3857
+ LocalizePipe
3858
+ ],
3859
+ exports: [
3860
+ LocalizePipe
3861
+ ]
3862
+ },] }
3863
+ ];
3864
+
3835
3865
  var StockModule = /** @class */ (function () {
3836
3866
  function StockModule() {
3837
3867
  }
@@ -3840,12 +3870,9 @@
3840
3870
  StockModule.decorators = [
3841
3871
  { type: i0.NgModule, args: [{
3842
3872
  imports: [
3843
- corecomponents_v12.InputComboBoxModule,
3844
- corecomponents_v12.CoGridModule,
3845
3873
  corecomponents_v12.ButtonModule,
3846
3874
  common.CommonModule,
3847
3875
  corecomponents_v12.InputRadioButtonModule,
3848
- corecomponents_v12.DropDownModule,
3849
3876
  corecomponents_v12.SimpleGridModule,
3850
3877
  corecomponents_v12.ImageModule,
3851
3878
  corecomponents_v12.InputTextModule,
@@ -3858,7 +3885,8 @@
3858
3885
  corecomponents_v12.CoDialogModule,
3859
3886
  StatusbarModule,
3860
3887
  StockStatusbarModule,
3861
- corecomponents_v12.ListOfValuesModule
3888
+ corecomponents_v12.ListOfValuesModule,
3889
+ LocalizationModule
3862
3890
  ],
3863
3891
  declarations: [
3864
3892
  StockComponent,
@@ -3877,7 +3905,7 @@
3877
3905
  OrderCommissionStockHistoryComponent,
3878
3906
  OrderStockHistoryComponent,
3879
3907
  AllocationStockHistoryComponent,
3880
- LocalizePipe
3908
+ StockPrognoseComponent
3881
3909
  ],
3882
3910
  exports: [
3883
3911
  StockComponent
@@ -3889,6 +3917,62 @@
3889
3917
  },] }
3890
3918
  ];
3891
3919
 
3920
+ var Translation = /** @class */ (function () {
3921
+ function Translation() {
3922
+ this.ALLOCATED = 'ALLOCATED';
3923
+ this.ALLOCATION = 'ALLOCATION';
3924
+ this.ALREADY_IN_ORDER = 'ALREADY_IN_ORDER';
3925
+ this.AMOUNT = 'AMOUNT';
3926
+ this.AMOUNT_AVAILABLE = 'AMOUNT_AVAILABLE';
3927
+ this.AMOUNT_IN_STOCK = 'AMOUNT_IN_STOCK';
3928
+ this.AMOUNT_LATER_AVAILABLE = 'AMOUNT_LATER_AVAILABLE';
3929
+ this.AVAILABLE_STOCK = 'AVAILABLE_STOCK';
3930
+ this.BACK_TO_STOCK_LINES = 'BACK_TO_STOCK_LINES';
3931
+ this.BATCH = 'BATCH';
3932
+ this.CANCEL = 'CANCEL';
3933
+ this.CHOICES = 'CHOICES';
3934
+ this.CUSTOMER = 'CUSTOMER';
3935
+ this.DATE = 'DATE';
3936
+ this.DELIVERY_DATE = 'DELIVERY_DATE';
3937
+ this.DESCRIPTION = 'DESCRIPTION';
3938
+ this.DOCUMENT_NUMBER = 'DOCUMENT_NUMBER';
3939
+ this.ECONOMICAL_STOCK = 'ECONOMICAL_STOCK';
3940
+ this.FREE_STOCK = 'FREE_STOCK';
3941
+ this.HISTORY = 'HISTORY';
3942
+ this.IN_ORDER = 'IN_ORDER';
3943
+ this.LINE = 'LINE';
3944
+ this.LOCATION = 'LOCATION';
3945
+ this.LOOK_AT = 'LOOK_AT';
3946
+ this.MUTATION_DATE = 'MUTATION_DATE';
3947
+ this.MUTATION_TIME = 'MUTATION_TIME';
3948
+ this.MUTATION_TYPE = 'MUTATION_TYPE';
3949
+ this.OK = 'OK';
3950
+ this.ORDER = 'ORDER';
3951
+ this.ORDER_COMMISSION = 'ORDER_COMMISSION';
3952
+ this.ORDER_STOCK = 'ORDER_STOCK';
3953
+ this.OVERVIEW = 'OVERVIEW';
3954
+ this.PURCHASE_ORDER_NR = 'PURCHASE_ORDER_NR';
3955
+ this.PURCHASE_PRICE = 'PURCHASE_PRICE';
3956
+ this.RELATION_ID = 'RELATION_ID';
3957
+ this.RELATION_NR = 'RELATION_NR';
3958
+ this.RESERVED = 'RESERVED';
3959
+ this.SEARCH = 'SEARCH';
3960
+ this.SERIAL_NO = 'SERIAL_NO';
3961
+ this.STICKER = 'STICKER';
3962
+ this.STOCK = 'STOCK';
3963
+ this.STOCK_DETAILS = 'STOCK_DETAILS';
3964
+ this.STOCK_REMARK = 'STOCK_REMARK';
3965
+ this.STOCK_STATE = 'STOCK_STATE';
3966
+ this.STOCK_STATUS = 'STOCK_STATUS';
3967
+ this.SUPPLIER_NUMBER = 'SUPPLIER_NUMBER';
3968
+ this.TRANSFER = 'TRANSFER';
3969
+ this.USER = 'USER';
3970
+ this.VALUTA = 'VALUTA';
3971
+ this.WAREHOUSE = 'WAREHOUSE';
3972
+ }
3973
+ return Translation;
3974
+ }());
3975
+
3892
3976
  var KeyboardCode;
3893
3977
  (function (KeyboardCode) {
3894
3978
  KeyboardCode["Backspace"] = "Backspace";
@@ -3924,7 +4008,7 @@
3924
4008
  var KeyPadComponent = /** @class */ (function () {
3925
4009
  function KeyPadComponent(iconCacheService) {
3926
4010
  this.iconCacheService = iconCacheService;
3927
- this.icons = exports["ɵbn"];
4011
+ this.icons = exports["ɵbr"];
3928
4012
  this.showValue = true;
3929
4013
  this.emitModelChangeOnEnter = true;
3930
4014
  this.modelChange = new i0.EventEmitter();
@@ -4115,7 +4199,7 @@
4115
4199
  var LayoutSwitcherComponent = /** @class */ (function () {
4116
4200
  function LayoutSwitcherComponent(iconCacheService) {
4117
4201
  this.iconCacheService = iconCacheService;
4118
- this.icon = exports["ɵbn"];
4202
+ this.icon = exports["ɵbr"];
4119
4203
  this.layoutItems = [];
4120
4204
  this.layoutSwitchEmit = new i0.EventEmitter();
4121
4205
  this.showMaskSidebar = false;
@@ -4380,7 +4464,7 @@
4380
4464
  this.iconCacheService = iconCacheService;
4381
4465
  this.selectedDate = new Date();
4382
4466
  this.selectedDateChange = new i0.EventEmitter();
4383
- this.icons = exports["ɵbn"];
4467
+ this.icons = exports["ɵbr"];
4384
4468
  this.showMonthYearSelect = false;
4385
4469
  this.expanded = false;
4386
4470
  }
@@ -4941,7 +5025,7 @@
4941
5025
  },] }
4942
5026
  ];
4943
5027
  CalendarViewComponent.ctorParameters = function () { return [
4944
- { type: exports["ɵbt"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
5028
+ { type: exports["ɵbx"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
4945
5029
  ]; };
4946
5030
  CalendarViewComponent.propDecorators = {
4947
5031
  view: [{ type: i0.Input }],
@@ -5029,7 +5113,7 @@
5029
5113
  CalendarUtils.Locale = undefined;
5030
5114
  CalendarUtils.Now = new Date();
5031
5115
  CalendarUtils.ctorParameters = function () { return [
5032
- { type: exports["ɵbt"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
5116
+ { type: exports["ɵbx"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
5033
5117
  ]; };
5034
5118
 
5035
5119
  var AgendaEvent = /** @class */ (function () {
@@ -5086,7 +5170,7 @@
5086
5170
  this._renderer = _renderer;
5087
5171
  this._ngZone = _ngZone;
5088
5172
  this.iconCacheService = iconCacheService;
5089
- this.icons = exports["ɵbn"];
5173
+ this.icons = exports["ɵbr"];
5090
5174
  this.viewTypes = CalendarView;
5091
5175
  this.scrollbarWidth = 15;
5092
5176
  this.view = CalendarView.WeekSelectView;
@@ -5262,7 +5346,7 @@
5262
5346
  },] }
5263
5347
  ];
5264
5348
  AgendaHeaderComponent.ctorParameters = function () { return [
5265
- { type: exports["ɵbt"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
5349
+ { type: exports["ɵbx"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
5266
5350
  { type: i0.ElementRef },
5267
5351
  { type: i0.Renderer2 },
5268
5352
  { type: i0.NgZone },
@@ -5362,7 +5446,7 @@
5362
5446
  { type: i0.Directive }
5363
5447
  ];
5364
5448
  AgendaBaseViewComponent.ctorParameters = function () { return [
5365
- { type: exports["ɵbt"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
5449
+ { type: exports["ɵbx"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
5366
5450
  { type: IconCacheService }
5367
5451
  ]; };
5368
5452
  AgendaBaseViewComponent.propDecorators = {
@@ -5478,7 +5562,7 @@
5478
5562
  var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
5479
5563
  _this.view = CalendarView.WeekSelectView;
5480
5564
  _this.week = NULL_WEEK;
5481
- _this.icons = exports["ɵbn"];
5565
+ _this.icons = exports["ɵbr"];
5482
5566
  return _this;
5483
5567
  }
5484
5568
  AgendaWeekSelectViewComponent.prototype.prepareViewData = function () {
@@ -5723,7 +5807,7 @@
5723
5807
  this._elementRef = _elementRef;
5724
5808
  this._renderer = _renderer;
5725
5809
  this.iconCacheService = iconCacheService;
5726
- this.icons = exports["ɵbn"];
5810
+ this.icons = exports["ɵbr"];
5727
5811
  this.event = NULL_AGENDA_EVENT;
5728
5812
  this.eventChecked = new i0.EventEmitter();
5729
5813
  }
@@ -5892,7 +5976,7 @@
5892
5976
  var AgendaSelectEventComponent = /** @class */ (function () {
5893
5977
  function AgendaSelectEventComponent(iconCacheService) {
5894
5978
  this.iconCacheService = iconCacheService;
5895
- this.icons = exports["ɵbn"];
5979
+ this.icons = exports["ɵbr"];
5896
5980
  this.event = NULL_AGENDA_EVENT;
5897
5981
  this.eventChecked = new i0.EventEmitter();
5898
5982
  }
@@ -5966,8 +6050,6 @@
5966
6050
  * Generated bundle index. Do not edit.
5967
6051
  */
5968
6052
 
5969
- exports.CoCircularGaugeComponent = CoCircularGaugeComponent;
5970
- exports.CoCircularGaugeModule = CoCircularGaugeModule;
5971
6053
  exports.CoLinearGaugeComponent = CoLinearGaugeComponent;
5972
6054
  exports.CoLinearGaugeModule = CoLinearGaugeModule;
5973
6055
  exports.DatePlanningComponent = DatePlanningComponent;
@@ -5989,43 +6071,47 @@
5989
6071
  exports.sendMethodsWithIcon = sendMethodsWithIcon;
5990
6072
  exports["ɵa"] = SignatureComponent;
5991
6073
  exports["ɵb"] = SignaturesComponent;
5992
- exports["ɵba"] = StockTabComponent;
5993
- exports["ɵbb"] = OrderTabComponent;
5994
- exports["ɵbc"] = StockTabsComponent;
5995
- exports["ɵbd"] = StockHistoryTabsComponent;
5996
- exports["ɵbe"] = OrderStockTabComponent;
5997
- exports["ɵbf"] = StockLocationComponent;
5998
- exports["ɵbg"] = StockHistoryComponent;
5999
- exports["ɵbh"] = OrderSupplyStockHistoryComponent;
6000
- exports["ɵbi"] = OrderCommissionStockHistoryComponent;
6001
- exports["ɵbj"] = OrderStockHistoryComponent;
6002
- exports["ɵbk"] = AllocationStockHistoryComponent;
6003
- exports["ɵbl"] = LocalizePipe;
6004
- exports["ɵbm"] = SendMethod;
6005
- exports["ɵbo"] = CalendarAllYearsComponent;
6006
- exports["ɵbp"] = CalendarAllMonthsComponent;
6007
- exports["ɵbq"] = CalendarHeaderComponent;
6008
- exports["ɵbr"] = CalendarComponent;
6009
- exports["ɵbs"] = CalendarViewComponent;
6010
- exports["ɵbu"] = AgendaHeaderComponent;
6011
- exports["ɵbv"] = AgendaViewComponent;
6012
- exports["ɵbw"] = AgendaMonthViewComponent;
6013
- exports["ɵbx"] = AgendaBaseViewComponent;
6014
- exports["ɵby"] = AgendaDayViewComponent;
6015
- exports["ɵbz"] = AgendaWeekViewComponent;
6074
+ exports["ɵba"] = StockInformationComponent;
6075
+ exports["ɵbb"] = StockInformationGridComponent;
6076
+ exports["ɵbc"] = StockTransferComponent;
6077
+ exports["ɵbd"] = StockChangeAmountComponent;
6078
+ exports["ɵbe"] = StockTabComponent;
6079
+ exports["ɵbf"] = OrderTabComponent;
6080
+ exports["ɵbg"] = StockTabsComponent;
6081
+ exports["ɵbh"] = StockHistoryTabsComponent;
6082
+ exports["ɵbi"] = OrderStockTabComponent;
6083
+ exports["ɵbj"] = StockLocationComponent;
6084
+ exports["ɵbk"] = StockHistoryComponent;
6085
+ exports["ɵbl"] = OrderSupplyStockHistoryComponent;
6086
+ exports["ɵbm"] = OrderCommissionStockHistoryComponent;
6087
+ exports["ɵbn"] = OrderStockHistoryComponent;
6088
+ exports["ɵbo"] = AllocationStockHistoryComponent;
6089
+ exports["ɵbp"] = StockPrognoseComponent;
6090
+ exports["ɵbq"] = SendMethod;
6091
+ exports["ɵbs"] = CalendarAllYearsComponent;
6092
+ exports["ɵbt"] = CalendarAllMonthsComponent;
6093
+ exports["ɵbu"] = CalendarHeaderComponent;
6094
+ exports["ɵbv"] = CalendarComponent;
6095
+ exports["ɵbw"] = CalendarViewComponent;
6096
+ exports["ɵby"] = AgendaHeaderComponent;
6097
+ exports["ɵbz"] = AgendaViewComponent;
6016
6098
  exports["ɵc"] = StockService;
6017
- exports["ɵca"] = AgendaWeekSelectViewComponent;
6018
- exports["ɵcb"] = AgendaHourViewComponent;
6019
- exports["ɵcc"] = AgendaHourCellComponent;
6020
- exports["ɵcd"] = AgendaHourViewLabelsComponent;
6021
- exports["ɵce"] = AgendaHalfHourCellComponent;
6022
- exports["ɵcf"] = AgendaEventsComponent;
6023
- exports["ɵcg"] = AgendaEventComponent;
6024
- exports["ɵch"] = ViewSelectComponent;
6025
- exports["ɵci"] = AgendaSelectEventComponent;
6026
- exports["ɵcj"] = MASTER_PIPES;
6027
- exports["ɵck"] = ArrayNumberPipe;
6028
- exports["ɵcl"] = UCfirstPipe;
6099
+ exports["ɵca"] = AgendaMonthViewComponent;
6100
+ exports["ɵcb"] = AgendaBaseViewComponent;
6101
+ exports["ɵcc"] = AgendaDayViewComponent;
6102
+ exports["ɵcd"] = AgendaWeekViewComponent;
6103
+ exports["ɵce"] = AgendaWeekSelectViewComponent;
6104
+ exports["ɵcf"] = AgendaHourViewComponent;
6105
+ exports["ɵcg"] = AgendaHourCellComponent;
6106
+ exports["ɵch"] = AgendaHourViewLabelsComponent;
6107
+ exports["ɵci"] = AgendaHalfHourCellComponent;
6108
+ exports["ɵcj"] = AgendaEventsComponent;
6109
+ exports["ɵck"] = AgendaEventComponent;
6110
+ exports["ɵcl"] = ViewSelectComponent;
6111
+ exports["ɵcm"] = AgendaSelectEventComponent;
6112
+ exports["ɵcn"] = MASTER_PIPES;
6113
+ exports["ɵco"] = ArrayNumberPipe;
6114
+ exports["ɵcp"] = UCfirstPipe;
6029
6115
  exports["ɵd"] = SharedConnectorService;
6030
6116
  exports["ɵe"] = OptionsService;
6031
6117
  exports["ɵf"] = DictionaryService;
@@ -6035,20 +6121,20 @@
6035
6121
  exports["ɵj"] = SendMethodEmailModule;
6036
6122
  exports["ɵk"] = LayoutSelectionModule;
6037
6123
  exports["ɵl"] = LayoutSelectionComponent;
6038
- exports["ɵm"] = SendMethodEmailComponent;
6039
- exports["ɵn"] = SendMethodPrinterModule;
6040
- exports["ɵo"] = PrinterSelectionModule;
6041
- exports["ɵp"] = PrinterSelectionComponent;
6042
- exports["ɵq"] = SendMethodPrinterComponent;
6043
- exports["ɵr"] = TabBarModule;
6044
- exports["ɵs"] = TabBarComponent;
6045
- exports["ɵt"] = StatusbarPopupComponent;
6046
- exports["ɵu"] = StockStatusbarModule;
6047
- exports["ɵv"] = StockStatusbarComponent;
6048
- exports["ɵw"] = StockInformationComponent;
6049
- exports["ɵx"] = StockInformationGridComponent;
6050
- exports["ɵy"] = StockTransferComponent;
6051
- exports["ɵz"] = StockChangeAmountComponent;
6124
+ exports["ɵm"] = SignatureButtonModule;
6125
+ exports["ɵn"] = SignatureButtonComponent;
6126
+ exports["ɵo"] = SendMethodEmailComponent;
6127
+ exports["ɵp"] = SendMethodPrinterModule;
6128
+ exports["ɵq"] = PrinterSelectionModule;
6129
+ exports["ɵr"] = PrinterSelectionComponent;
6130
+ exports["ɵs"] = SendMethodPrinterComponent;
6131
+ exports["ɵt"] = TabBarModule;
6132
+ exports["ɵu"] = TabBarComponent;
6133
+ exports["ɵv"] = StatusbarPopupComponent;
6134
+ exports["ɵw"] = StockStatusbarModule;
6135
+ exports["ɵx"] = StockStatusbarComponent;
6136
+ exports["ɵy"] = LocalizationModule;
6137
+ exports["ɵz"] = LocalizePipe;
6052
6138
 
6053
6139
  Object.defineProperty(exports, '__esModule', { value: true });
6054
6140