@colijnit/sharedcomponents 1.0.63 → 1.0.65

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 (34) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +258 -104
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.d.ts +44 -43
  4. package/colijnit-sharedcomponents.metadata.json +1 -1
  5. package/esm2015/colijnit-sharedcomponents.js +45 -44
  6. package/esm2015/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.js +210 -0
  7. package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +46 -49
  8. package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +4 -4
  9. package/esm2015/lib/components/stock/localization/translation.js +5 -1
  10. package/esm2015/lib/components/stock/stock-information/stock-information.component.js +3 -4
  11. package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +9 -1
  12. package/esm2015/lib/components/stock/stock.component.js +1 -2
  13. package/esm2015/lib/components/stock/stock.module.js +4 -2
  14. package/esm2015/lib/enum/icon.enum.js +2 -1
  15. package/esm2015/lib/model/icon-svg.js +2 -1
  16. package/fesm2015/colijnit-sharedcomponents.js +271 -57
  17. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  18. package/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.d.ts +41 -0
  19. package/lib/components/stock/components/stock-location/stock-location.component.d.ts +3 -1
  20. package/lib/components/stock/localization/translation.d.ts +4 -0
  21. package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +3 -0
  22. package/lib/components/stock/style/_layout.scss +109 -11
  23. package/lib/components/stock/style/_material-definition.scss +7 -4
  24. package/lib/components/tab-bar/style/_layout.scss +8 -3
  25. package/lib/components/tab-bar/style/_material-definition.scss +6 -6
  26. package/lib/enum/icon.enum.d.ts +1 -0
  27. package/package.json +6 -6
  28. package/3rdpartylicenses.txt +0 -1200
  29. package/favicon.ico +0 -0
  30. package/index.html +0 -12
  31. package/main.b63cf8c6791cb3e37f3c.js +0 -1
  32. package/polyfills.907fe9d1887c5de17993.js +0 -1
  33. package/runtime.8aac21847ed3d3829cca.js +0 -1
  34. package/styles.6807e7b997183dacbe3b.css +0 -1
@@ -884,13 +884,13 @@
884
884
  },] }
885
885
  ];
886
886
 
887
- exports["ɵbz"] = void 0;
887
+ exports["ɵca"] = void 0;
888
888
  (function (LanguageCode) {
889
889
  LanguageCode["Dutch"] = "nl-NL";
890
890
  LanguageCode["English"] = "en-GB";
891
891
  LanguageCode["German"] = "de-DE";
892
892
  LanguageCode["French"] = "fr-FR";
893
- })(exports["ɵbz"] || (exports["ɵbz"] = {}));
893
+ })(exports["ɵca"] || (exports["ɵca"] = {}));
894
894
 
895
895
  // Static utility functions holder related to strings.
896
896
  var StringUtils = /** @class */ (function () {
@@ -1033,7 +1033,7 @@
1033
1033
  DictionaryService.prototype.setDictionary = function (language) {
1034
1034
  return __awaiter(this, void 0, void 0, function () {
1035
1035
  return __generator(this, function (_a) {
1036
- this._language = language || exports["ɵbz"].Dutch;
1036
+ this._language = language || exports["ɵca"].Dutch;
1037
1037
  this._loadDictionary();
1038
1038
  return [2 /*return*/];
1039
1039
  });
@@ -1066,7 +1066,7 @@
1066
1066
  return key || "";
1067
1067
  }
1068
1068
  if (this.language === undefined) {
1069
- this._language = exports["ɵbz"].Dutch;
1069
+ this._language = exports["ɵca"].Dutch;
1070
1070
  this._loadDictionary();
1071
1071
  }
1072
1072
  var text = this._dictionaries.get(this.language)[key];
@@ -1879,7 +1879,7 @@
1879
1879
  ];
1880
1880
 
1881
1881
  /** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
1882
- exports["ɵbt"] = void 0;
1882
+ exports["ɵbu"] = void 0;
1883
1883
  (function (Icon) {
1884
1884
  Icon["Account"] = "account";
1885
1885
  Icon["AngleLeftSolid"] = "angle_left_solid";
@@ -1901,6 +1901,7 @@
1901
1901
  Icon["DeleteLeftRegular"] = "delete_left_regular";
1902
1902
  Icon["DeliveryTruck"] = "delivery_truck";
1903
1903
  Icon["Dropzone"] = "dropzone";
1904
+ Icon["EditPenRegular"] = "edit_pen_regular";
1904
1905
  Icon["Email"] = "email";
1905
1906
  Icon["EnvelopeRegular"] = "envelope_regular";
1906
1907
  Icon["EyeRegular"] = "eye_regular";
@@ -1924,7 +1925,7 @@
1924
1925
  Icon["Trashbin"] = "trashbin";
1925
1926
  Icon["Xml"] = "xml";
1926
1927
  Icon["XSolid"] = "x_solid";
1927
- })(exports["ɵbt"] || (exports["ɵbt"] = {}));
1928
+ })(exports["ɵbu"] || (exports["ɵbu"] = {}));
1928
1929
 
1929
1930
  /** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
1930
1931
  var IconSvg = {
@@ -1948,6 +1949,7 @@
1948
1949
  "delete_left_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M432.1 208.1L385.9 256L432.1 303C442.3 312.4 442.3 327.6 432.1 336.1C423.6 346.3 408.4 346.3 399 336.1L352 289.9L304.1 336.1C295.6 346.3 280.4 346.3 271 336.1C261.7 327.6 261.7 312.4 271 303L318.1 256L271 208.1C261.7 199.6 261.7 184.4 271 175C280.4 165.7 295.6 165.7 304.1 175L352 222.1L399 175C408.4 165.7 423.6 165.7 432.1 175C442.3 184.4 442.3 199.6 432.1 208.1V208.1zM512 64C547.3 64 576 92.65 576 128V384C576 419.3 547.3 448 512 448H205.3C188.3 448 172 441.3 160 429.3L9.372 278.6C3.371 272.6 0 264.5 0 256C0 247.5 3.372 239.4 9.372 233.4L160 82.75C172 70.74 188.3 64 205.3 64L512 64zM528 128C528 119.2 520.8 112 512 112H205.3C201 112 196.9 113.7 193.9 116.7L54.63 256L193.9 395.3C196.9 398.3 201 400 205.3 400H512C520.8 400 528 392.8 528 384V128z\"/></svg>",
1949
1950
  "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>",
1950
1951
  "dropzone": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><g><rect x=\"2\" y=\"1.67\" width=\"14\" height=\"6\" rx=\"2\" ry=\"2\" fill=\"#484f60\" opacity=\".5\"/><path d=\"M16.52,13.16l-.94-.47-1.61-2.53-1.23-1.62-.65-.85-1.53-1.59-2.06-1.17h-1.15l-.7,.7,.41,.91,2.47,2.2,.56,1.2,1.7,2.71,.82,2.26,.06,.74,.09,2.38-.23-.85-.97-.94-.79-.97-1.76-1.76-1.06-.35-.88,.24-.7,.62,1.32,1.44,1.56,1.97,2.14,3.73,2.2,2,1.82,1.14,2.44,1.06,1.91,1,2,1.03,.23,1.29,6.02-5.99v-.91s-.91-1-1-1.03c-.09-.03-.82-1.65-.82-1.65l-.47-1.91-.35-.97-1.32-1.67-.85-1.12-.5-.82-.88-1.14-.79-.77-1.33-.86-.22,.42,1.39,2.12-.94-.47-.86-1.48-1.33-1.38-1.06-.16-.03,.6,2.1,3.09-.94-.47-1.8-2.9-1.21-.86-1.29,.12,.18,.56,2.85,4.14Z\" fill=\"#484f60\"/><path d=\"M16,1.67h-1c1.1,0,2,.9,2,2v2c0,1.1-.9,2-2,2h1c1.1,0,2-.9,2-2V3.67c0-1.1-.9-2-2-2Z\" fill=\"#484f60\" opacity=\".5\"/><path d=\"M18,1.67h-1c1.1,0,2,.9,2,2v2c0,1.1-.9,2-2,2h1c1.1,0,2-.9,2-2V3.67c0-1.1-.9-2-2-2Z\" fill=\"#484f60\" opacity=\".25\"/><path d=\"M20,1.67h-1c1.1,0,2,.9,2,2v2c0,1.1-.9,2-2,2h1c1.1,0,2-.9,2-2V3.67c0-1.1-.9-2-2-2Z\" fill=\"#484f60\" opacity=\".1\"/></g></g></svg>",
1952
+ "edit_pen_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152V424c0 48.6 39.4 88 88 88H360c48.6 0 88-39.4 88-88V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V424c0 22.1-17.9 40-40 40H88c-22.1 0-40-17.9-40-40V152c0-22.1 17.9-40 40-40H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H88z\"/></svg>",
1951
1953
  "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>",
1952
1954
  "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>",
1953
1955
  "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>",
@@ -2034,7 +2036,7 @@
2034
2036
  this._localizeService = _localizeService;
2035
2037
  this._connector = _connector;
2036
2038
  this.iconCacheService = iconCacheService;
2037
- this.icons = exports["ɵbt"];
2039
+ this.icons = exports["ɵbu"];
2038
2040
  this.handleStickerClicked = new i0.EventEmitter();
2039
2041
  this.articleWarehouse = [];
2040
2042
  this.allWarehouses = [];
@@ -2198,7 +2200,7 @@
2198
2200
  StockComponent.decorators = [
2199
2201
  { type: i0.Component, args: [{
2200
2202
  selector: "co-stock",
2201
- template: "\n <div class=\"stock-info-container\" *ngIf=\"loaded && articleExtended\">\n <co-stock-information [article]=\"articleExtended\"\n [articleStockState]=\"articleStockState\"\n [allAvailableStockInformation]=\"allAvailableStock\"\n [allTechnicalStockInformation]=\"allTechnicalStock\"\n [economicalStock]=\"economicalStock\"\n >\n </co-stock-information>\n <hr>\n <co-stock-tabs [stockInformation]=\"stockInformation\"\n [article]=\"articleExtended\"\n [articleFlat]=\"articleFlat\"\n (transferIconClicked)=\"handleStockTransferClick($event)\"\n (sendMethodDialogClicked)=\"handleSendMethodClick($event)\"\n [warehouses]=\"warehouses\"\n ></co-stock-tabs>\n <div class=\"stock-transfer-wrapper\">\n <co-dialog *ngIf=\"showStockTransfer\"\n (closeClick)=\"showStockTransfer = false\"\n [showCloseIcon]=\"true\"\n [modal]=\"true\"\n [headerTemplate]=\"headerTemplate\"\n [footerTemplate]=\"footerTemplate\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title-wrapper\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.Cubes)\"></co-icon>\n <div class=\"co-dialog-header-title\" [textContent]=\"'TRANSFER_STOCK' | localize\"></div>\n </div>\n </ng-template>\n <div class=\"dialog-wrapper\">\n <co-stock-transfer (handleClick)=\"backToStock($event)\"\n class=\"stock-transfer-dialog\"\n [article]=\"stockTransferArticle\"\n [articleToTransfer]=\"stockTransferArticleDetails\"\n (handleStickerClicked)=\"handleStickerClicked.emit($event)\"\n [articleWarehouse]=\"articleWarehouse\"\n [allWarehouses]=\"allWarehouses\">\n </co-stock-transfer>\n </div>\n <ng-template #footerTemplate>\n <div class=\"button-wrapper ok-cancel-buttons\">\n <co-button class=\"save-button\"\n (click)=\"handleOkClick(stockTransferArticleDetails)\"\n [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\">\n </co-button>\n <co-button class=\"cancel-button\"\n (click)=\"showStockTransfer = false\"\n [iconData]=\"iconCacheService.getIcon(icons.CrossSkinny)\">\n </co-button>\n </div>\n </ng-template>\n </co-dialog>\n </div>\n\n <co-send-method-dialog *ngIf=\"showSendMethodDialog\">\n\n </co-send-method-dialog>\n </div>\n ",
2203
+ template: "\n <div class=\"stock-info-container\" *ngIf=\"loaded && articleExtended\">\n <co-stock-information [article]=\"articleExtended\"\n [articleStockState]=\"articleStockState\"\n [allAvailableStockInformation]=\"allAvailableStock\"\n [allTechnicalStockInformation]=\"allTechnicalStock\"\n [economicalStock]=\"economicalStock\"\n >\n </co-stock-information>\n <co-stock-tabs [stockInformation]=\"stockInformation\"\n [article]=\"articleExtended\"\n [articleFlat]=\"articleFlat\"\n (transferIconClicked)=\"handleStockTransferClick($event)\"\n (sendMethodDialogClicked)=\"handleSendMethodClick($event)\"\n [warehouses]=\"warehouses\"\n ></co-stock-tabs>\n <div class=\"stock-transfer-wrapper\">\n <co-dialog *ngIf=\"showStockTransfer\"\n (closeClick)=\"showStockTransfer = false\"\n [showCloseIcon]=\"true\"\n [modal]=\"true\"\n [headerTemplate]=\"headerTemplate\"\n [footerTemplate]=\"footerTemplate\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title-wrapper\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.Cubes)\"></co-icon>\n <div class=\"co-dialog-header-title\" [textContent]=\"'TRANSFER_STOCK' | localize\"></div>\n </div>\n </ng-template>\n <div class=\"dialog-wrapper\">\n <co-stock-transfer (handleClick)=\"backToStock($event)\"\n class=\"stock-transfer-dialog\"\n [article]=\"stockTransferArticle\"\n [articleToTransfer]=\"stockTransferArticleDetails\"\n (handleStickerClicked)=\"handleStickerClicked.emit($event)\"\n [articleWarehouse]=\"articleWarehouse\"\n [allWarehouses]=\"allWarehouses\">\n </co-stock-transfer>\n </div>\n <ng-template #footerTemplate>\n <div class=\"button-wrapper ok-cancel-buttons\">\n <co-button class=\"save-button\"\n (click)=\"handleOkClick(stockTransferArticleDetails)\"\n [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\">\n </co-button>\n <co-button class=\"cancel-button\"\n (click)=\"showStockTransfer = false\"\n [iconData]=\"iconCacheService.getIcon(icons.CrossSkinny)\">\n </co-button>\n </div>\n </ng-template>\n </co-dialog>\n </div>\n\n <co-send-method-dialog *ngIf=\"showSendMethodDialog\">\n\n </co-send-method-dialog>\n </div>\n ",
2202
2204
  encapsulation: i0.ViewEncapsulation.None
2203
2205
  },] }
2204
2206
  ];
@@ -2231,7 +2233,7 @@
2231
2233
  StockInformationComponent.decorators = [
2232
2234
  { type: i0.Component, args: [{
2233
2235
  selector: "co-stock-information",
2234
- template: "\n <div class=\"stock-info\" *ngIf=\"article\">\n <div class=\"stock-info-row\" >\n <div class=\"stock-info-row-image\">\n <div class=\"stock-image\">\n <co-image class=\"stock-image\" [source]=\"article.imageData\"></co-image>\n </div>\n </div>\n <div class=\"stock-status\">\n <label class=\"stock-label\" [textContent]=\"'DESCRIPTION' | localize\"></label>\n <span class=\"stock-span\" [textContent]=\"article.description\"></span>\n </div>\n </div>\n <div class=\"stock-status\">\n <label class=\"stock-label\" [textContent]=\"'STOCK_STATUS' | localize\"></label>\n <span class=\"stock-span\" [textContent]=\"article.stockStatus\"></span>\n <co-stock-statusbar [value]=\"articleStockState\"></co-stock-statusbar>\n </div>\n <div class=\"stock-status\">\n <label class=\"stock-label\" [textContent]=\"'AMOUNT_IN_STOCK' | localize\"></label>\n <span class=\"stock-span\" [textContent]=\"allTechnicalStockInformation\"></span>\n </div>\n <div class=\"stock-status\">\n <label class=\"stock-label\" [textContent]=\"'AMOUNT_AVAILABLE' | localize\"></label>\n <span class=\"stock-span\" [textContent]=\"allAvailableStockInformation\"></span>\n </div>\n <div class=\"stock-status\">\n <label class=\"stock-label\" [textContent]=\"'ECONOMICAL_STOCK' | localize\"></label>\n <span class=\"stock-span\" [textContent]=\"economicalStock\"></span>\n </div>\n </div>\n ",
2236
+ template: "\n <div class=\"stock-info\" *ngIf=\"article\">\n <div class=\"stock-info-row\" >\n <div class=\"stock-info-row-image\">\n <div class=\"stock-image\">\n <co-image class=\"stock-image\" [source]=\"article.imageData\"></co-image>\n </div>\n </div>\n <div class=\"stock-status\">\n <label class=\"stock-label\" [textContent]=\"'DESCRIPTION' | localize\"></label>\n <span class=\"stock-span\" [textContent]=\"article.description\"></span>\n </div>\n </div>\n <div class=\"stock-status\">\n <label class=\"stock-label\" [textContent]=\"'ARTICLE_NUMBER' | localize\"></label>\n <span class=\"stock-span\" [textContent]=\"article.articleNumber\"></span>\n </div>\n <div class=\"stock-status\">\n <label class=\"stock-label\" [textContent]=\"'AMOUNT_IN_STOCK' | localize\"></label>\n <span class=\"stock-span\" [textContent]=\"allTechnicalStockInformation\"></span>\n </div>\n <div class=\"stock-status\">\n <label class=\"stock-label\" [textContent]=\"'AMOUNT_AVAILABLE' | localize\"></label>\n <span class=\"stock-span\" [textContent]=\"allAvailableStockInformation\"></span>\n </div>\n <div class=\"stock-status\">\n <label class=\"stock-label\" [textContent]=\"'ECONOMICAL_STOCK' | localize\"></label>\n <span class=\"stock-span\" [textContent]=\"economicalStock\"></span>\n </div>\n </div>\n ",
2235
2237
  encapsulation: i0.ViewEncapsulation.None
2236
2238
  },] }
2237
2239
  ];
@@ -2247,7 +2249,7 @@
2247
2249
  function StockInformationGridComponent(iconCacheService, _stockService) {
2248
2250
  this.iconCacheService = iconCacheService;
2249
2251
  this._stockService = _stockService;
2250
- this.icons = exports["ɵbt"];
2252
+ this.icons = exports["ɵbu"];
2251
2253
  this.transferIconClicked = new i0.EventEmitter();
2252
2254
  this.historyClicked = new i0.EventEmitter();
2253
2255
  this.cancelButtonClicked = new i0.EventEmitter();
@@ -2489,7 +2491,7 @@
2489
2491
  this.warehouses = [];
2490
2492
  this.stockState = [];
2491
2493
  this.locations = [];
2492
- this.icons = exports["ɵbt"];
2494
+ this.icons = exports["ɵbu"];
2493
2495
  }
2494
2496
  StockTransferComponent.prototype.ngAfterViewInit = function () {
2495
2497
  this.getStockManagementWarehouses();
@@ -2736,14 +2738,14 @@
2736
2738
  }());
2737
2739
 
2738
2740
  var sendMethodsWithIcon = [
2739
- new SendMethod(sendMethodType_enum.SendMethodType.Fax, "Fax", exports["ɵbt"].PrintRegular),
2740
- new SendMethod(sendMethodType_enum.SendMethodType.Print, "Print", exports["ɵbt"].PrintSolid),
2741
- new SendMethod(sendMethodType_enum.SendMethodType.Email, "Email", exports["ɵbt"].AtSolid),
2742
- new SendMethod(sendMethodType_enum.SendMethodType.Edi, "Edi", exports["ɵbt"].FileExportSolid),
2743
- new SendMethod(sendMethodType_enum.SendMethodType.EmailTemplate, "Email template", exports["ɵbt"].EnvelopeRegular),
2744
- new SendMethod(sendMethodType_enum.SendMethodType.Sms, "Sms", exports["ɵbt"].MessageSmsSolid),
2745
- new SendMethod(sendMethodType_enum.SendMethodType.WebService, "Webservice", exports["ɵbt"].PrintRegular),
2746
- new SendMethod(sendMethodType_enum.SendMethodType.Pdf, "Pdf", exports["ɵbt"].Pdf)
2741
+ new SendMethod(sendMethodType_enum.SendMethodType.Fax, "Fax", exports["ɵbu"].PrintRegular),
2742
+ new SendMethod(sendMethodType_enum.SendMethodType.Print, "Print", exports["ɵbu"].PrintSolid),
2743
+ new SendMethod(sendMethodType_enum.SendMethodType.Email, "Email", exports["ɵbu"].AtSolid),
2744
+ new SendMethod(sendMethodType_enum.SendMethodType.Edi, "Edi", exports["ɵbu"].FileExportSolid),
2745
+ new SendMethod(sendMethodType_enum.SendMethodType.EmailTemplate, "Email template", exports["ɵbu"].EnvelopeRegular),
2746
+ new SendMethod(sendMethodType_enum.SendMethodType.Sms, "Sms", exports["ɵbu"].MessageSmsSolid),
2747
+ new SendMethod(sendMethodType_enum.SendMethodType.WebService, "Webservice", exports["ɵbu"].PrintRegular),
2748
+ new SendMethod(sendMethodType_enum.SendMethodType.Pdf, "Pdf", exports["ɵbu"].Pdf)
2747
2749
  ];
2748
2750
  var SendMethodDialogComponent = /** @class */ (function () {
2749
2751
  function SendMethodDialogComponent(iconCacheService, _changeDetector, _sharedService, _sendMethodService) {
@@ -2752,7 +2754,7 @@
2752
2754
  this._changeDetector = _changeDetector;
2753
2755
  this._sharedService = _sharedService;
2754
2756
  this._sendMethodService = _sendMethodService;
2755
- this.icons = exports["ɵbt"];
2757
+ this.icons = exports["ɵbu"];
2756
2758
  this.printerList = [];
2757
2759
  this.emailLayouts = [];
2758
2760
  this.printLayouts = [];
@@ -2979,7 +2981,7 @@
2979
2981
  var LayoutSelectionComponent = /** @class */ (function () {
2980
2982
  function LayoutSelectionComponent(iconCacheService) {
2981
2983
  this.iconCacheService = iconCacheService;
2982
- this.icons = exports["ɵbt"];
2984
+ this.icons = exports["ɵbu"];
2983
2985
  this.layouts = [];
2984
2986
  this.requestChange = new i0.EventEmitter();
2985
2987
  this.showLayoutList = false;
@@ -3055,7 +3057,7 @@
3055
3057
  var SignatureButtonComponent = /** @class */ (function () {
3056
3058
  function SignatureButtonComponent(iconCacheService) {
3057
3059
  this.iconCacheService = iconCacheService;
3058
- this.icons = exports["ɵbt"];
3060
+ this.icons = exports["ɵbu"];
3059
3061
  }
3060
3062
  SignatureButtonComponent.prototype.showClass = function () {
3061
3063
  return true;
@@ -3165,7 +3167,7 @@
3165
3167
  this.sendMethodService = sendMethodService;
3166
3168
  this.iconService = iconService;
3167
3169
  this._service = _service;
3168
- this.icons = exports["ɵbt"];
3170
+ this.icons = exports["ɵbu"];
3169
3171
  this.printers = [];
3170
3172
  this.showPrinterList = false;
3171
3173
  }
@@ -3403,7 +3405,7 @@
3403
3405
  StockTabComponent.decorators = [
3404
3406
  { type: i0.Component, args: [{
3405
3407
  selector: "co-stock-tab",
3406
- template: "\n <co-simple-grid [data]=\"articleStockInformation\"a\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 ",
3408
+ template: "\n <co-simple-grid [data]=\"articleStockInformation\"a\n class=\"simple-grid\"\n [rowsPerPage]=\"20\"\n >\n <co-simple-grid-column [width]=\"100\" [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]=\"'DETAILS' | localize\" [field]=\"'locationNo'\" [order]=\"15\">\n <ng-template #template let-row=\"row\">\n <span class=\"location-link\" [textContent]=\"'OPEN_DETAILS' | localize\" (click)=\"onLocationClick(row)\"></span>\n </ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n ",
3407
3409
  encapsulation: i0.ViewEncapsulation.None
3408
3410
  },] }
3409
3411
  ];
@@ -3416,7 +3418,7 @@
3416
3418
  function OrderTabComponent(iconCacheService, _stockService) {
3417
3419
  this.iconCacheService = iconCacheService;
3418
3420
  this._stockService = _stockService;
3419
- this.icons = exports["ɵbt"];
3421
+ this.icons = exports["ɵbu"];
3420
3422
  this.articleStockInformation = [];
3421
3423
  this.inOrderInformation = [];
3422
3424
  this.locationClicked = new i0.EventEmitter();
@@ -3455,11 +3457,12 @@
3455
3457
  this._stockService = _stockService;
3456
3458
  this._localizeService = _localizeService;
3457
3459
  this._changeDetector = _changeDetector;
3458
- this.icons = exports["ɵbt"];
3460
+ this.icons = exports["ɵbu"];
3459
3461
  this.stockInformation = [];
3460
3462
  this.warehouses = [];
3461
3463
  this.transferIconClicked = new i0.EventEmitter();
3462
3464
  this.sendMethodDialogClicked = new i0.EventEmitter();
3465
+ this.stockLocations = [];
3463
3466
  this.stockHistory = [];
3464
3467
  this.orderSupplyStockHistory = [];
3465
3468
  this.orderCommissionStockHistory = [];
@@ -3592,6 +3595,12 @@
3592
3595
  });
3593
3596
  }
3594
3597
  };
3598
+ StockTabsComponent.prototype.getStockLocations = function () {
3599
+ var _this = this;
3600
+ this._stockService.getStockManagementLocations(this.selectedWarehouse.warehouseNo).then(function (result) {
3601
+ _this.stockLocations = result;
3602
+ });
3603
+ };
3595
3604
  StockTabsComponent.prototype.getStockData = function (warehouse) {
3596
3605
  this.handleWarehouseSelected(warehouse);
3597
3606
  this.getStockPrognose(warehouse.warehouseNo);
@@ -3602,6 +3611,7 @@
3602
3611
  this.getOrderCommissionStockHistory();
3603
3612
  this.getOrderSupplyStockHistory();
3604
3613
  this.getStockHistory();
3614
+ this.getStockLocations();
3605
3615
  this._changeDetector.markForCheck();
3606
3616
  this._changeDetector.detectChanges();
3607
3617
  };
@@ -3613,7 +3623,7 @@
3613
3623
  StockTabsComponent.decorators = [
3614
3624
  { type: i0.Component, args: [{
3615
3625
  selector: "co-stock-tabs",
3616
- template: "\n <co-tab-bar [wareHouseLabel]=\"'CHOICES' | localize\"\n [wareHouseSearchLabel]=\"'SEARCH' | localize\"\n [tabs]=\"tabs\"\n [dataWareHouseCode]=\"warehouses\"\n [selectedWarehouse]=\"selectedWarehouse\"\n [secondaryTabs]=\"historyTabs\"\n [ActivateSecondaryTabs]=\"tabs[5].active\"\n [showWarehouseSelection]=\"tabs[1].active || tabs[2].active\"\n (warehouseSelected)=\"handleWarehouseSelected($event)\"\n ></co-tab-bar>\n\n <co-stock-tab *ngIf=\"tabs[0].active\"\n [articleStockInformation]=\"stockInformation\"\n (locationClicked)=\"handleLocationClicked($event)\"\n ></co-stock-tab>\n\n <co-stock-prognose *ngIf=\"tabs[1].active\"\n [stockPrognose]=\"stockPrognose\"\n ></co-stock-prognose>\n\n <co-stock-location *ngIf=\"tabs[2].active\"\n [articleStockInfo]=\"articleDetails\"\n [articleStockInformation]=\"stockInformation\"\n [article]=\"article\"\n [articleFlat]=\"articleFlat\"\n [selectedWarehouse]=\"selectedWarehouse\"\n [dataWareHouseCode]=\"warehouses\"\n (transferIconClicked)=\"transferIconClicked.emit($event)\"\n (sendMethodDialogClicked)=\"sendMethodDialogClicked.emit($event)\"\n\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 ",
3626
+ template: "\n <co-tab-bar [wareHouseLabel]=\"'CHOICES' | localize\"\n [wareHouseSearchLabel]=\"'SEARCH' | localize\"\n [tabs]=\"tabs\"\n [dataWareHouseCode]=\"warehouses\"\n [selectedWarehouse]=\"selectedWarehouse\"\n [secondaryTabs]=\"historyTabs\"\n [ActivateSecondaryTabs]=\"tabs[5].active\"\n [showWarehouseSelection]=\"tabs[1].active || tabs[2].active\"\n (warehouseSelected)=\"handleWarehouseSelected($event)\"\n ></co-tab-bar>\n\n <co-stock-tab *ngIf=\"tabs[0].active\"\n [articleStockInformation]=\"stockInformation\"\n (locationClicked)=\"handleLocationClicked($event)\"\n ></co-stock-tab>\n\n <co-stock-prognose *ngIf=\"tabs[1].active\"\n [stockPrognose]=\"stockPrognose\"\n ></co-stock-prognose>\n\n <co-stock-location *ngIf=\"tabs[2].active\"\n [articleStockInfo]=\"articleDetails\"\n [articleStockInformation]=\"stockInformation\"\n [article]=\"article\"\n [articleFlat]=\"articleFlat\"\n [selectedWarehouse]=\"selectedWarehouse\"\n [dataWareHouseCode]=\"warehouses\"\n [stockLocations]=\"stockLocations\"\n (transferIconClicked)=\"transferIconClicked.emit($event)\"\n (sendMethodDialogClicked)=\"sendMethodDialogClicked.emit($event)\"\n\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 ",
3617
3627
  encapsulation: i0.ViewEncapsulation.None
3618
3628
  },] }
3619
3629
  ];
@@ -3633,7 +3643,7 @@
3633
3643
 
3634
3644
  var StockHistoryTabsComponent = /** @class */ (function () {
3635
3645
  function StockHistoryTabsComponent() {
3636
- this.icons = exports["ɵbt"];
3646
+ this.icons = exports["ɵbu"];
3637
3647
  this.selectedTab = 0;
3638
3648
  }
3639
3649
  return StockHistoryTabsComponent;
@@ -3653,7 +3663,7 @@
3653
3663
  function OrderStockTabComponent(iconCacheService, _stockService) {
3654
3664
  this.iconCacheService = iconCacheService;
3655
3665
  this._stockService = _stockService;
3656
- this.icons = exports["ɵbt"];
3666
+ this.icons = exports["ɵbu"];
3657
3667
  this.orderInformation = [];
3658
3668
  }
3659
3669
  return OrderStockTabComponent;
@@ -3678,13 +3688,14 @@
3678
3688
  this.iconCacheService = iconCacheService;
3679
3689
  this._stockService = _stockService;
3680
3690
  this._changeDetector = _changeDetector;
3681
- this.icons = exports["ɵbt"];
3691
+ this.icons = exports["ɵbu"];
3682
3692
  this.articleStockInfo = [];
3683
3693
  this.articleStockInformation = [];
3684
3694
  this.dataWareHouseCode = [];
3685
3695
  this.transferIconClicked = new i0.EventEmitter();
3686
3696
  this.sendMethodDialogClicked = new i0.EventEmitter();
3687
3697
  this.showConfirmationDialog = false;
3698
+ this.newStockLine = false;
3688
3699
  this.showConfirmStockRow = false;
3689
3700
  this.articleDetailsInformation = new articleStockManagement.ArticleStockManagement();
3690
3701
  this.stockLocations = [];
@@ -3732,17 +3743,36 @@
3732
3743
  StockLocationComponent.prototype.handleStockTransferClick = function (event) {
3733
3744
  this.transferIconClicked.emit(event);
3734
3745
  };
3735
- StockLocationComponent.prototype.onOkClickSendLocations = function () {
3746
+ StockLocationComponent.prototype.onOkClickSendLocations = function (row) {
3747
+ this.selectedArticleDetailsData = row;
3748
+ this.newStockLine = false;
3749
+ this.showConfirmationDialog = true;
3750
+ };
3751
+ StockLocationComponent.prototype.handleAddRow = function () {
3752
+ var _a;
3753
+ if (!((_a = this.articleStockInfo) === null || _a === void 0 ? void 0 : _a.length)) {
3754
+ this.articleStockInfo = [];
3755
+ }
3756
+ this.articleStockInfo.push(new articleDetails_bo.ArticleDetailsBo());
3757
+ this.selectedArticleDetailsData = this.articleStockInfo[(this.articleStockInfo.length - 1)];
3758
+ this.newStockLine = true;
3736
3759
  this.showConfirmationDialog = true;
3737
3760
  };
3738
3761
  StockLocationComponent.prototype.handleOkClick = function () {
3739
3762
  var _this = this;
3740
3763
  var _a;
3741
3764
  this.selectedArticleDetailsData.selected = true;
3742
- this.selectedArticleDetailsData.goodId = this.articleFlat.goodId;
3765
+ if (this.articleFlat.goodId) {
3766
+ this.selectedArticleDetailsData.goodId = this.articleFlat.goodId;
3767
+ }
3768
+ else if (this.articleDetailsInformation.goodId) {
3769
+ this.selectedArticleDetailsData.goodId = parseInt(this.articleDetailsInformation.goodId);
3770
+ }
3743
3771
  this.selectedArticleDetailsData.entryDate = new Date();
3744
3772
  this.selectedArticleDetailsData.warehouseNo = this.selectedWarehouse.warehouseNo;
3745
- this.selectedArticleDetailsData.locationNo = (_a = this.selectedLocationNo) === null || _a === void 0 ? void 0 : _a.toString();
3773
+ if (this.selectedLocationNo) {
3774
+ this.selectedArticleDetailsData.locationNo = (_a = this.selectedLocationNo) === null || _a === void 0 ? void 0 : _a.toString();
3775
+ }
3746
3776
  this._stockService.updateArticleDetails(this.selectedArticleDetailsData).then(function (result) {
3747
3777
  var _a;
3748
3778
  _this.articleDetailsInformation.goodId = (_a = _this.selectedArticleDetailsData.goodId) === null || _a === void 0 ? void 0 : _a.toString();
@@ -3783,7 +3813,7 @@
3783
3813
  StockLocationComponent.decorators = [
3784
3814
  { type: i0.Component, args: [{
3785
3815
  selector: "co-stock-location",
3786
- template: "\n <div class=\"stock-grid\">\n <co-dialog *ngIf=\"showConfirmationDialog\"\n [showCloseIcon]=\"true\"\n [modal]=\"true\"\n [headerTemplate]=\"headerTemplate\"\n [footerTemplate]=\"footerTemplate\">\n <ng-template #headerTemplate>\n <div class=\"header-wrapper\">\n <span [textContent]=\"'CONFIRM_STOCK_CHANGE' | localize\"></span>\n </div>\n </ng-template>\n <div class=\"dialog-wrapper\">\n <co-list-of-values [label]=\"'STATUS' | localize\"\n [model]=\"statusForId(selectedArticleDetailsData.stockStateId)\"\n [collection]=\"stockStatus\"\n [displayField]=\"'stateDescription'\"\n (modelChange)=\"handleStockStatusChange($event)\"\n ></co-list-of-values>\n <co-input-text [placeholder]=\"'REMARK' | localize\"\n (modelChange)=\"handleStockStatusRemarkChange($event)\"></co-input-text>\n </div>\n <ng-template #footerTemplate>\n <div class=\"button-wrapper ok-cancel-buttons\">\n <co-button class=\"save-button\"\n (click)=\"handleOkClick()\"\n [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\"\n [disabled]=\"disabled()\">\n </co-button>\n <co-button class=\"cancel-button\"\n (click)=\"showConfirmationDialog = false\"\n [iconData]=\"iconCacheService.getIcon(icons.CrossSkinny)\">\n </co-button>\n </div>\n </ng-template>\n </co-dialog>\n <co-simple-grid [data]=\"articleStockInfo\"\n class=\"simple-grid\"\n [showAdd]=\"true\"\n [inlineEdit]=\"true\"\n (selectRow)=\"onLocationDropdownClick()\"\n [showToolbar]=\"true\"\n (saveRow)=\"onOkClickSendLocations()\"\n (keydown.enter)=\"onOkClickSendLocations()\"\n\n >\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 [width]=\"150\" [headerText]=\"'LOCATION' | localize\" [field]=\"'locationNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-list-of-values\n [model]=\"locationForNumber(row['locationNo'])\"\n [collection]=\"stockLocations\"\n [displayField]=\"'description'\"\n [label]=\"'LOCATION' | localize\"\n [required]=\"true\"\n (modelChange)=\"locationChanged(row, $event)\"\n ></co-list-of-values>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleFlat?.batch\" [headerText]=\"'BATCH' | localize\" [field]=\"'batchNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [model]=\"selectedArticleDetailsData.batchNo\"\n [placeholder]=\"'BATCH' | localize\"\n (modelChange)=\"row['batchNo'] = $event\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleFlat?.serial\" [headerText]=\"'SERIAL_NO' | localize\" [field]=\"'serialNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [model]=\"selectedArticleDetailsData.serialNo\"\n [placeholder]=\"'SERIAL_NO' | localize\"\n (modelChange)=\"row['serialNo'] = $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]=\"'SUPPLIERNR' | 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 [readonly]=\"true\" [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 <ng-template #editTemplate></ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [readonly]=\"true\" [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 <ng-template #editTemplate></ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n </div>\n ",
3816
+ template: "\n <div class=\"stock-grid\">\n <co-stock-location-popup\n [selectedWarehouse]=\"selectedWarehouse\"\n [articleFlat]=\"articleFlat\"\n [selectedLocationNo]=\"selectedLocationNo\"\n [stockLocations]=\"stockLocations\"\n [articleDetailsInformation]=\"articleDetailsInformation\"\n [articleStockInfo]=\"articleStockInfo\"\n [selectedArticleDetailsData]=\"selectedArticleDetailsData\"\n [showConfirmationDialog]=\"showConfirmationDialog\"\n [newStockLine]=\"newStockLine\"\n (togglePopupEvent)=\"showConfirmationDialog = $event\"\n\n ></co-stock-location-popup>\n <co-simple-grid [data]=\"articleStockInfo\"\n class=\"simple-grid\"\n [showAdd]=\"true\"\n [inlineEdit]=\"false\"\n [showToolbar]=\"true\"\n (addRow)=\"handleAddRow()\"\n >\n <co-simple-grid-column [headerText]=\"'STOCK' | localize\" [field]=\"'amountInStock'\">\n <ng-template #template let-row=\"row\">\n <div class=\"stock-amount\" (click)=\"onOkClickSendLocations(row)\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.EditPenRegular)\"></co-icon>\n <span [textContent]=\"row['amountInStock']\"></span>\n </div>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [width]=\"150\" [headerText]=\"'LOCATION' | localize\" [field]=\"'locationNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-list-of-values\n [model]=\"locationForNumber(row['locationNo'])\"\n [collection]=\"stockLocations\"\n [displayField]=\"'description'\"\n [label]=\"'LOCATION' | localize\"\n [required]=\"true\"\n (modelChange)=\"locationChanged(row, $event)\"\n ></co-list-of-values>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleFlat?.batch\" [headerText]=\"'BATCH' | localize\" [field]=\"'batchNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [model]=\"selectedArticleDetailsData.batchNo\"\n [placeholder]=\"'BATCH' | localize\"\n (modelChange)=\"row['batchNo'] = $event\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleFlat?.serial\" [headerText]=\"'SERIAL_NO' | localize\" [field]=\"'serialNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [model]=\"selectedArticleDetailsData.serialNo\"\n [placeholder]=\"'SERIAL_NO' | localize\"\n (modelChange)=\"row['serialNo'] = $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]=\"'SUPPLIERNR' | 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 [readonly]=\"true\" [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 <ng-template #editTemplate></ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [readonly]=\"true\" [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 <ng-template #editTemplate></ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n </div>\n ",
3787
3817
  encapsulation: i0.ViewEncapsulation.None
3788
3818
  },] }
3789
3819
  ];
@@ -3800,14 +3830,15 @@
3800
3830
  dataWareHouseCode: [{ type: i0.Input }],
3801
3831
  transferIconClicked: [{ type: i0.Output }],
3802
3832
  sendMethodDialogClicked: [{ type: i0.Output }],
3803
- selectedWarehouse: [{ type: i0.Input }]
3833
+ selectedWarehouse: [{ type: i0.Input }],
3834
+ stockLocations: [{ type: i0.Input }]
3804
3835
  };
3805
3836
 
3806
3837
  var StockHistoryComponent = /** @class */ (function () {
3807
3838
  function StockHistoryComponent(iconCacheService, _stockService) {
3808
3839
  this.iconCacheService = iconCacheService;
3809
3840
  this._stockService = _stockService;
3810
- this.icons = exports["ɵbt"];
3841
+ this.icons = exports["ɵbu"];
3811
3842
  this.stockHistoryInformation = [];
3812
3843
  this.stockHistory = [];
3813
3844
  }
@@ -3906,7 +3937,7 @@
3906
3937
  var OrderSupplyStockHistoryComponent = /** @class */ (function () {
3907
3938
  function OrderSupplyStockHistoryComponent(iconCacheService) {
3908
3939
  this.iconCacheService = iconCacheService;
3909
- this.icons = exports["ɵbt"];
3940
+ this.icons = exports["ɵbu"];
3910
3941
  this.orderSupplyStockHistory = [];
3911
3942
  }
3912
3943
  return OrderSupplyStockHistoryComponent;
@@ -3928,7 +3959,7 @@
3928
3959
  var OrderCommissionStockHistoryComponent = /** @class */ (function () {
3929
3960
  function OrderCommissionStockHistoryComponent(iconCacheService) {
3930
3961
  this.iconCacheService = iconCacheService;
3931
- this.icons = exports["ɵbt"];
3962
+ this.icons = exports["ɵbu"];
3932
3963
  this.orderStockCommissionHistory = [];
3933
3964
  }
3934
3965
  return OrderCommissionStockHistoryComponent;
@@ -3950,7 +3981,7 @@
3950
3981
  var OrderStockHistoryComponent = /** @class */ (function () {
3951
3982
  function OrderStockHistoryComponent(iconCacheService) {
3952
3983
  this.iconCacheService = iconCacheService;
3953
- this.icons = exports["ɵbt"];
3984
+ this.icons = exports["ɵbu"];
3954
3985
  this.orderStockHistory = [];
3955
3986
  }
3956
3987
  return OrderStockHistoryComponent;
@@ -3972,7 +4003,7 @@
3972
4003
  var AllocationStockHistoryComponent = /** @class */ (function () {
3973
4004
  function AllocationStockHistoryComponent(iconCacheService) {
3974
4005
  this.iconCacheService = iconCacheService;
3975
- this.icons = exports["ɵbt"];
4006
+ this.icons = exports["ɵbu"];
3976
4007
  this.allocationStockHistory = [];
3977
4008
  }
3978
4009
  return AllocationStockHistoryComponent;
@@ -4301,7 +4332,7 @@
4301
4332
  function StockPrognoseComponent(iconCacheService, _stockService) {
4302
4333
  this.iconCacheService = iconCacheService;
4303
4334
  this._stockService = _stockService;
4304
- this.icons = exports["ɵbt"];
4335
+ this.icons = exports["ɵbu"];
4305
4336
  this.stockPrognose = [];
4306
4337
  }
4307
4338
  return StockPrognoseComponent;
@@ -4368,6 +4399,123 @@
4368
4399
  },] }
4369
4400
  ];
4370
4401
 
4402
+ var StockLocationPopupComponent = /** @class */ (function () {
4403
+ function StockLocationPopupComponent(iconCacheService, _stockService, _changeDetector) {
4404
+ this.iconCacheService = iconCacheService;
4405
+ this._stockService = _stockService;
4406
+ this._changeDetector = _changeDetector;
4407
+ this.icons = exports["ɵbu"];
4408
+ this.showConfirmationDialog = false;
4409
+ this.newStockLine = false;
4410
+ this.selectedArticleDetailsData = new articleDetails_bo.ArticleDetailsBo();
4411
+ this.articleDetailsInformation = new articleStockManagement.ArticleStockManagement();
4412
+ this.articleStockInfo = [];
4413
+ this.togglePopupEvent = new i0.EventEmitter();
4414
+ this.stockLocations = [];
4415
+ this.stockStatus = [];
4416
+ }
4417
+ StockLocationPopupComponent.prototype.ngOnInit = function () {
4418
+ var _this = this;
4419
+ this._stockService.getStockState().then(function (result) {
4420
+ _this.stockStatus = result;
4421
+ });
4422
+ };
4423
+ StockLocationPopupComponent.prototype.statusForId = function (id) {
4424
+ return this.stockStatus.find(function (status) { return status.stockStateId === id; });
4425
+ };
4426
+ StockLocationPopupComponent.prototype.handleStockStatusChange = function (status) {
4427
+ this.selectedArticleDetailsData.stockStateId = status.stockStateId;
4428
+ };
4429
+ StockLocationPopupComponent.prototype.handleStockStatusRemarkChange = function (remark) {
4430
+ this.selectedArticleDetailsData.stockStateRemark = remark;
4431
+ };
4432
+ StockLocationPopupComponent.prototype.amountInStockChanged = function (data) {
4433
+ this.selectedArticleDetailsData.amountInStock = data;
4434
+ };
4435
+ StockLocationPopupComponent.prototype.disabled = function () {
4436
+ var _a, _b, _c;
4437
+ return (!((_a = this.selectedArticleDetailsData) === null || _a === void 0 ? void 0 : _a.stockStateId) && ((_c = (_b = this.selectedArticleDetailsData) === null || _b === void 0 ? void 0 : _b.stockStateRemark) === null || _c === void 0 ? void 0 : _c.length) <= 1);
4438
+ };
4439
+ StockLocationPopupComponent.prototype.handleOkClick = function () {
4440
+ this.handleStockChange();
4441
+ this.togglePopupEvent.emit(!this.showConfirmationDialog);
4442
+ this._changeDetector.detectChanges();
4443
+ };
4444
+ StockLocationPopupComponent.prototype.ngOnDestroy = function () {
4445
+ };
4446
+ StockLocationPopupComponent.prototype.togglePopup = function () {
4447
+ this.togglePopupEvent.emit(!this.showConfirmationDialog);
4448
+ };
4449
+ StockLocationPopupComponent.prototype.getStockLocations = function () {
4450
+ var _this = this;
4451
+ this._stockService.getStockManagementLocations(this.selectedWarehouse.warehouseNo).then(function (locations) {
4452
+ _this.stockLocations = locations;
4453
+ });
4454
+ };
4455
+ StockLocationPopupComponent.prototype.locationForNumber = function (number) {
4456
+ var _a;
4457
+ return (_a = this.stockLocations) === null || _a === void 0 ? void 0 : _a.find(function (location) { return location.locationNo === number; });
4458
+ };
4459
+ StockLocationPopupComponent.prototype.locationChanged = function (event) {
4460
+ var _a;
4461
+ this.selectedLocationNo = event.locationNo;
4462
+ this.selectedArticleDetailsData.locationNo = event.locationNo;
4463
+ if (((_a = this.articleStockInfo) === null || _a === void 0 ? void 0 : _a.length) === 1) {
4464
+ this.handleStockChange();
4465
+ }
4466
+ this.getStockLocations();
4467
+ };
4468
+ StockLocationPopupComponent.prototype.handleStockChange = function () {
4469
+ var _this = this;
4470
+ var _a;
4471
+ this.selectedArticleDetailsData.selected = true;
4472
+ if (this.articleFlat.goodId) {
4473
+ this.selectedArticleDetailsData.goodId = this.articleFlat.goodId;
4474
+ }
4475
+ else if (this.articleDetailsInformation.goodId) {
4476
+ this.selectedArticleDetailsData.goodId = parseInt(this.articleDetailsInformation.goodId);
4477
+ }
4478
+ this.selectedArticleDetailsData.entryDate = new Date();
4479
+ this.selectedArticleDetailsData.warehouseNo = this.selectedWarehouse.warehouseNo;
4480
+ if (this.selectedLocationNo) {
4481
+ this.selectedArticleDetailsData.locationNo = (_a = this.selectedLocationNo) === null || _a === void 0 ? void 0 : _a.toString();
4482
+ }
4483
+ this._stockService.updateArticleDetails(this.selectedArticleDetailsData).then(function (result) {
4484
+ var _a;
4485
+ _this.articleDetailsInformation.goodId = (_a = _this.selectedArticleDetailsData.goodId) === null || _a === void 0 ? void 0 : _a.toString();
4486
+ _this.articleDetailsInformation.warehouseNumber = _this.selectedArticleDetailsData.warehouseNo;
4487
+ _this._stockService.getArticleDetails(_this.articleDetailsInformation).then(function (details) {
4488
+ _this.articleStockInfo = details;
4489
+ });
4490
+ });
4491
+ };
4492
+ return StockLocationPopupComponent;
4493
+ }());
4494
+ StockLocationPopupComponent.decorators = [
4495
+ { type: i0.Component, args: [{
4496
+ selector: "co-stock-location-popup",
4497
+ template: "\n <div class=\"stock-grid\">\n <co-dialog *ngIf=\"showConfirmationDialog\"\n [showCloseIcon]=\"true\"\n [modal]=\"true\"\n (closeClick)=\"togglePopup()\"\n [headerTemplate]=\"headerTemplate\"\n [footerTemplate]=\"footerTemplate\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title-wrapper\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.Cubes)\"></co-icon>\n <div class=\"co-dialog-header-title\" [textContent]=\"'CONFIRM_STOCK_CHANGE' | localize\"></div>\n </div>\n </ng-template>\n <div class=\"dialog-wrapper\">\n <div class=\"stock-dialog-header\">\n <span class=\"stock-header\" *ngIf=\"newStockLine\" [textContent]=\"'NEW_STOCK_LINE' | localize\"></span>\n <span class=\"stock-header\" *ngIf=\"!newStockLine\" [textContent]=\"'CHANGE_STOCK_LINE' | localize\"></span>\n </div>\n <div class=\"stock-dialog-row\">\n <co-input-text [model]=\"selectedWarehouse.warehouseDescription\"\n [placeholder]=\"'WAREHOUSE' | localize\"\n [readonly]=\"true\"\n ></co-input-text>\n\n <co-list-of-values\n [model]=\"locationForNumber(selectedLocationNo)\"\n [collection]=\"stockLocations\"\n [displayField]=\"'locationNo'\"\n [label]=\"'LOCATION' | localize\"\n [required]=\"true\"\n (modelChange)=\"locationChanged($event)\"\n ></co-list-of-values>\n </div>\n <div class=\"stock-dialog-row\">\n <co-input-text [(model)]=\"selectedArticleDetailsData.serialNo\"\n [placeholder]=\"'SERIAL_NO' | localize\"\n [readonly]=\"false\"\n ></co-input-text>\n <co-input-text [(model)]=\"selectedArticleDetailsData.batchNo\"\n [placeholder]=\"'BATCH' | localize\"\n [readonly]=\"false\"\n ></co-input-text>\n </div>\n <div class=\"stock-dialog-row\">\n <div class=\"stock-dialog-row-row\">\n <co-input-text [model]=\"articleStockInfo[0]?.purchasePrice | currency:'EUR'\"\n [placeholder]=\"'PURCHASE_PRICE' | localize\"\n [readonly]=\"false\"\n ></co-input-text>\n <co-input-text [(model)]=\"articleStockInfo[0].currency\"\n [placeholder]=\"'VALUTA' | localize\"\n [readonly]=\"false\"\n ></co-input-text>\n </div>\n <co-input-text [model]=\"selectedArticleDetailsData?.entryDate | date\"\n [placeholder]=\"'DATE' | localize\"\n [readonly]=\"false\"\n ></co-input-text>\n </div>\n <div class=\"stock-dialog-row\">\n <co-list-of-values [label]=\"'STATUS' | localize\"\n [model]=\"statusForId(selectedArticleDetailsData?.stockStateId)\"\n [collection]=\"stockStatus\"\n [displayField]=\"'stateDescription'\"\n (modelChange)=\"handleStockStatusChange($event)\"\n ></co-list-of-values>\n <co-input-text [placeholder]=\"'REMARK' | localize\"\n (modelChange)=\"handleStockStatusRemarkChange($event)\"></co-input-text>\n </div>\n <co-input-number-picker\n [model]=\"selectedArticleDetailsData?.amountInStock\"\n [label]=\"'STOCK' | localize\"\n (modelChange)=\"amountInStockChanged($event)\"\n ></co-input-number-picker>\n </div>\n <ng-template #footerTemplate>\n <div class=\"button-wrapper ok-cancel-buttons\">\n <co-button class=\"save-button\"\n (click)=\"handleOkClick()\"\n [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\"\n [disabled]=\"disabled()\">\n </co-button>\n <co-button class=\"cancel-button\"\n (click)=\"togglePopup()\"\n [iconData]=\"iconCacheService.getIcon(icons.CrossSkinny)\">\n </co-button>\n </div>\n </ng-template>\n </co-dialog>\n </div>\n ",
4498
+ encapsulation: i0.ViewEncapsulation.None
4499
+ },] }
4500
+ ];
4501
+ StockLocationPopupComponent.ctorParameters = function () { return [
4502
+ { type: IconCacheService },
4503
+ { type: StockService },
4504
+ { type: i0.ChangeDetectorRef }
4505
+ ]; };
4506
+ StockLocationPopupComponent.propDecorators = {
4507
+ showConfirmationDialog: [{ type: i0.Input }],
4508
+ newStockLine: [{ type: i0.Input }],
4509
+ selectedArticleDetailsData: [{ type: i0.Input }],
4510
+ articleFlat: [{ type: i0.Input }],
4511
+ articleDetailsInformation: [{ type: i0.Input }],
4512
+ selectedWarehouse: [{ type: i0.Input }],
4513
+ selectedLocationNo: [{ type: i0.Input }],
4514
+ articleStockInfo: [{ type: i0.Input }],
4515
+ togglePopupEvent: [{ type: i0.Output }],
4516
+ stockLocations: [{ type: i0.Input }]
4517
+ };
4518
+
4371
4519
  var StockModule = /** @class */ (function () {
4372
4520
  function StockModule() {
4373
4521
  }
@@ -4412,7 +4560,8 @@
4412
4560
  OrderCommissionStockHistoryComponent,
4413
4561
  OrderStockHistoryComponent,
4414
4562
  AllocationStockHistoryComponent,
4415
- StockPrognoseComponent
4563
+ StockPrognoseComponent,
4564
+ StockLocationPopupComponent
4416
4565
  ],
4417
4566
  exports: [
4418
4567
  StockComponent
@@ -4433,12 +4582,14 @@
4433
4582
  this.AMOUNT_AVAILABLE = 'AMOUNT_AVAILABLE';
4434
4583
  this.AMOUNT_IN_STOCK = 'AMOUNT_IN_STOCK';
4435
4584
  this.AMOUNT_LATER_AVAILABLE = 'AMOUNT_LATER_AVAILABLE';
4585
+ this.ARTICLE_NUMBER = 'ARTICLE_NUMBER';
4436
4586
  this.AVAILABILITY = 'AVAILABILITY';
4437
4587
  this.AVAILABLE_STOCK = 'AVAILABLE_STOCK';
4438
4588
  this.BACK_TO_STOCK_LINES = 'BACK_TO_STOCK_LINES';
4439
4589
  this.BATCH = 'BATCH';
4440
4590
  this.BATCH_NO = 'BATCH_NO';
4441
4591
  this.CANCEL = 'CANCEL';
4592
+ this.CHANGE_STOCK_LINE = 'CHANGE_STOCK_LINE';
4442
4593
  this.CHOICES = 'CHOICES';
4443
4594
  this.CONFIRM_STOCK_CHANGE = 'CONFIRM_STOCK_CHANGE';
4444
4595
  this.CUSTOMER = 'CUSTOMER';
@@ -4459,7 +4610,9 @@
4459
4610
  this.MUTATION_DATE = 'MUTATION_DATE';
4460
4611
  this.MUTATION_TIME = 'MUTATION_TIME';
4461
4612
  this.MUTATION_TYPE = 'MUTATION_TYPE';
4613
+ this.NEW_STOCK_LINE = 'NEW_STOCK_LINE';
4462
4614
  this.OK = 'OK';
4615
+ this.OPEN_DETAILS = 'OPEN_DETAILS';
4463
4616
  this.ORDER = 'ORDER';
4464
4617
  this.ORDER_COMMISSION = 'ORDER_COMMISSION';
4465
4618
  this.ORDER_STOCK = 'ORDER_STOCK';
@@ -4530,7 +4683,7 @@
4530
4683
  var KeyPadComponent = /** @class */ (function () {
4531
4684
  function KeyPadComponent(iconCacheService) {
4532
4685
  this.iconCacheService = iconCacheService;
4533
- this.icons = exports["ɵbt"];
4686
+ this.icons = exports["ɵbu"];
4534
4687
  this.showValue = true;
4535
4688
  this.resetModelOnInit = true;
4536
4689
  this.emitModelChangeOnEnter = true;
@@ -4731,7 +4884,7 @@
4731
4884
  var LayoutSwitcherComponent = /** @class */ (function () {
4732
4885
  function LayoutSwitcherComponent(iconCacheService) {
4733
4886
  this.iconCacheService = iconCacheService;
4734
- this.icon = exports["ɵbt"];
4887
+ this.icon = exports["ɵbu"];
4735
4888
  this.layoutItems = [];
4736
4889
  this.layoutSwitchEmit = new i0.EventEmitter();
4737
4890
  this.showMaskSidebar = false;
@@ -5008,7 +5161,7 @@
5008
5161
  this.iconCacheService = iconCacheService;
5009
5162
  this.selectedDate = new Date();
5010
5163
  this.selectedDateChange = new i0.EventEmitter();
5011
- this.icons = exports["ɵbt"];
5164
+ this.icons = exports["ɵbu"];
5012
5165
  this.showMonthYearSelect = false;
5013
5166
  this.expanded = false;
5014
5167
  }
@@ -5561,7 +5714,7 @@
5561
5714
  },] }
5562
5715
  ];
5563
5716
  CalendarViewComponent.ctorParameters = function () { return [
5564
- { type: exports["ɵbz"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
5717
+ { type: exports["ɵca"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
5565
5718
  ]; };
5566
5719
  CalendarViewComponent.propDecorators = {
5567
5720
  view: [{ type: i0.Input }],
@@ -5649,7 +5802,7 @@
5649
5802
  CalendarUtils.Locale = undefined;
5650
5803
  CalendarUtils.Now = new Date();
5651
5804
  CalendarUtils.ctorParameters = function () { return [
5652
- { type: exports["ɵbz"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
5805
+ { type: exports["ɵca"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
5653
5806
  ]; };
5654
5807
 
5655
5808
  var AgendaEvent = /** @class */ (function () {
@@ -5706,7 +5859,7 @@
5706
5859
  this._renderer = _renderer;
5707
5860
  this._ngZone = _ngZone;
5708
5861
  this.iconCacheService = iconCacheService;
5709
- this.icons = exports["ɵbt"];
5862
+ this.icons = exports["ɵbu"];
5710
5863
  this.viewTypes = exports.CalendarView;
5711
5864
  this.scrollbarWidth = 15;
5712
5865
  this.today = new Date();
@@ -5882,7 +6035,7 @@
5882
6035
  },] }
5883
6036
  ];
5884
6037
  AgendaHeaderComponent.ctorParameters = function () { return [
5885
- { type: exports["ɵbz"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
6038
+ { type: exports["ɵca"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
5886
6039
  { type: i0.ElementRef },
5887
6040
  { type: i0.Renderer2 },
5888
6041
  { type: i0.NgZone },
@@ -5982,7 +6135,7 @@
5982
6135
  { type: i0.Directive }
5983
6136
  ];
5984
6137
  AgendaBaseViewComponent.ctorParameters = function () { return [
5985
- { type: exports["ɵbz"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
6138
+ { type: exports["ɵca"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
5986
6139
  { type: IconCacheService }
5987
6140
  ]; };
5988
6141
  AgendaBaseViewComponent.propDecorators = {
@@ -6101,7 +6254,7 @@
6101
6254
  var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
6102
6255
  _this.view = exports.CalendarView.WeekSelectView;
6103
6256
  _this.week = NULL_WEEK;
6104
- _this.icons = exports["ɵbt"];
6257
+ _this.icons = exports["ɵbu"];
6105
6258
  return _this;
6106
6259
  }
6107
6260
  AgendaWeekSelectViewComponent.prototype.prepareViewData = function () {
@@ -6347,7 +6500,7 @@
6347
6500
  this._elementRef = _elementRef;
6348
6501
  this._renderer = _renderer;
6349
6502
  this.iconCacheService = iconCacheService;
6350
- this.icons = exports["ɵbt"];
6503
+ this.icons = exports["ɵbu"];
6351
6504
  this.event = NULL_AGENDA_EVENT;
6352
6505
  this.eventChecked = new i0.EventEmitter();
6353
6506
  }
@@ -6569,7 +6722,7 @@
6569
6722
  var AgendaSelectEventComponent = /** @class */ (function () {
6570
6723
  function AgendaSelectEventComponent(iconCacheService) {
6571
6724
  this.iconCacheService = iconCacheService;
6572
- this.icons = exports["ɵbt"];
6725
+ this.icons = exports["ɵbu"];
6573
6726
  this.event = NULL_AGENDA_EVENT;
6574
6727
  this.eventChecked = new i0.EventEmitter();
6575
6728
  }
@@ -6639,7 +6792,7 @@
6639
6792
  function SimpleTagsComponent(iconCacheService, sharedService) {
6640
6793
  this.iconCacheService = iconCacheService;
6641
6794
  this.sharedService = sharedService;
6642
- this.icon = exports["ɵbt"];
6795
+ this.icon = exports["ɵbu"];
6643
6796
  this.closeClick = new i0.EventEmitter();
6644
6797
  this.saveClick = new i0.EventEmitter();
6645
6798
  this.breadCrumbs = [];
@@ -7939,8 +8092,8 @@
7939
8092
  function AppFileDropzoneComponent(dictionary, iconCacheService) {
7940
8093
  this.dictionary = dictionary;
7941
8094
  this.iconCacheService = iconCacheService;
7942
- this.icons = exports["ɵbt"];
7943
- this.Icons = exports["ɵbt"];
8095
+ this.icons = exports["ɵbu"];
8096
+ this.Icons = exports["ɵbu"];
7944
8097
  this._defaultDropActionMessage = "DROP_ZONE_DOCUMENTS";
7945
8098
  }
7946
8099
  AppFileDropzoneComponent.prototype.showClass = function () {
@@ -9475,7 +9628,7 @@
9475
9628
  this._promptService = _promptService;
9476
9629
  this._fileTypeImgPipe = _fileTypeImgPipe;
9477
9630
  this.iconService = iconService;
9478
- this.icons = exports["ɵbt"];
9631
+ this.icons = exports["ɵbu"];
9479
9632
  // Element clickable
9480
9633
  this.link = false;
9481
9634
  this.readonly = false;
@@ -9677,7 +9830,7 @@
9677
9830
  var TileRenderComponent = /** @class */ (function () {
9678
9831
  function TileRenderComponent(iconCacheService) {
9679
9832
  this.iconCacheService = iconCacheService;
9680
- this.icons = exports["ɵbt"];
9833
+ this.icons = exports["ɵbu"];
9681
9834
  // Render a large or small tile.
9682
9835
  this.tileSize = TileSizeType.Large;
9683
9836
  // When this tile is selected, this icon will be shown green in the upper-left corner (defaults to 'check').
@@ -9686,7 +9839,7 @@
9686
9839
  this.imageClick = new i0.EventEmitter();
9687
9840
  // Emits when the info wrapper was clicked (bottom half of this component).
9688
9841
  this.infoClick = new i0.EventEmitter();
9689
- this.Icon = exports["ɵbt"];
9842
+ this.Icon = exports["ɵbu"];
9690
9843
  }
9691
9844
  Object.defineProperty(TileRenderComponent.prototype, "inSmallTileMode", {
9692
9845
  get: function () {
@@ -9930,7 +10083,7 @@
9930
10083
  this.enableditemsChange = new i0.EventEmitter();
9931
10084
  // Outputs the sum of cgrefkeys of all newly enabled items
9932
10085
  this.onPropertyItemChange = new i0.EventEmitter();
9933
- this.Icons = exports["ɵbt"];
10086
+ this.Icons = exports["ɵbu"];
9934
10087
  this.objectifiedEnum = [];
9935
10088
  this.enabledItemNumberList = [];
9936
10089
  }
@@ -10096,13 +10249,13 @@
10096
10249
  function ActivityListComponent(iconCacheService, _dictionaryService) {
10097
10250
  this.iconCacheService = iconCacheService;
10098
10251
  this._dictionaryService = _dictionaryService;
10099
- this.Icon = exports["ɵbt"];
10252
+ this.Icon = exports["ɵbu"];
10100
10253
  this.RelationKind = relationKind_enum.RelationKind;
10101
10254
  this.ActivityType = activityType.ActivityType;
10102
10255
  this.TimeUtils = timeUtils.TimeUtils;
10103
10256
  this.activities = [];
10104
- this.remarkIcon = exports["ɵbt"].CommentRegular;
10105
- this.workIcon = exports["ɵbt"].PersonDiggingRegular;
10257
+ this.remarkIcon = exports["ɵbu"].CommentRegular;
10258
+ this.workIcon = exports["ɵbu"].PersonDiggingRegular;
10106
10259
  }
10107
10260
  ActivityListComponent.prototype.showClass = function () {
10108
10261
  return true;
@@ -10261,49 +10414,50 @@
10261
10414
  exports["ɵbp"] = OrderStockHistoryComponent;
10262
10415
  exports["ɵbq"] = AllocationStockHistoryComponent;
10263
10416
  exports["ɵbr"] = StockPrognoseComponent;
10264
- exports["ɵbs"] = SendMethod;
10265
- exports["ɵbu"] = CalendarAllYearsComponent;
10266
- exports["ɵbv"] = CalendarAllMonthsComponent;
10267
- exports["ɵbw"] = CalendarHeaderComponent;
10268
- exports["ɵbx"] = CalendarComponent;
10269
- exports["ɵby"] = CalendarViewComponent;
10417
+ exports["ɵbs"] = StockLocationPopupComponent;
10418
+ exports["ɵbt"] = SendMethod;
10419
+ exports["ɵbv"] = CalendarAllYearsComponent;
10420
+ exports["ɵbw"] = CalendarAllMonthsComponent;
10421
+ exports["ɵbx"] = CalendarHeaderComponent;
10422
+ exports["ɵby"] = CalendarComponent;
10423
+ exports["ɵbz"] = CalendarViewComponent;
10270
10424
  exports["ɵc"] = StockService;
10271
- exports["ɵca"] = AgendaHeaderComponent;
10272
- exports["ɵcb"] = AgendaViewComponent;
10273
- exports["ɵcc"] = AgendaMonthViewComponent;
10274
- exports["ɵcd"] = AgendaBaseViewComponent;
10275
- exports["ɵce"] = AgendaDayViewComponent;
10276
- exports["ɵcf"] = AgendaWeekViewComponent;
10277
- exports["ɵcg"] = AgendaWeekSelectViewComponent;
10278
- exports["ɵch"] = AgendaHourViewComponent;
10279
- exports["ɵci"] = AgendaHourCellComponent;
10280
- exports["ɵcj"] = AgendaHourViewLabelsComponent;
10281
- exports["ɵck"] = AgendaHalfHourCellComponent;
10282
- exports["ɵcl"] = AgendaEventsComponent;
10283
- exports["ɵcm"] = AgendaEventComponent;
10284
- exports["ɵcn"] = ViewSelectComponent;
10285
- exports["ɵco"] = AgendaSelectEventComponent;
10286
- exports["ɵcp"] = MASTER_PIPES;
10287
- exports["ɵcq"] = ArrayNumberPipe;
10288
- exports["ɵcr"] = UCfirstPipe;
10289
- exports["ɵcs"] = FileTypeImagePipe;
10290
- exports["ɵct"] = BaseFileUploadComponent;
10291
- exports["ɵcu"] = InputBoolean;
10292
- exports["ɵcv"] = ImageDisplayModule;
10293
- exports["ɵcw"] = ImageDisplayComponent;
10294
- exports["ɵcx"] = FileUploadModule;
10295
- exports["ɵcy"] = TileRenderModule;
10296
- exports["ɵcz"] = TileRenderComponent;
10425
+ exports["ɵcb"] = AgendaHeaderComponent;
10426
+ exports["ɵcc"] = AgendaViewComponent;
10427
+ exports["ɵcd"] = AgendaMonthViewComponent;
10428
+ exports["ɵce"] = AgendaBaseViewComponent;
10429
+ exports["ɵcf"] = AgendaDayViewComponent;
10430
+ exports["ɵcg"] = AgendaWeekViewComponent;
10431
+ exports["ɵch"] = AgendaWeekSelectViewComponent;
10432
+ exports["ɵci"] = AgendaHourViewComponent;
10433
+ exports["ɵcj"] = AgendaHourCellComponent;
10434
+ exports["ɵck"] = AgendaHourViewLabelsComponent;
10435
+ exports["ɵcl"] = AgendaHalfHourCellComponent;
10436
+ exports["ɵcm"] = AgendaEventsComponent;
10437
+ exports["ɵcn"] = AgendaEventComponent;
10438
+ exports["ɵco"] = ViewSelectComponent;
10439
+ exports["ɵcp"] = AgendaSelectEventComponent;
10440
+ exports["ɵcq"] = MASTER_PIPES;
10441
+ exports["ɵcr"] = ArrayNumberPipe;
10442
+ exports["ɵcs"] = UCfirstPipe;
10443
+ exports["ɵct"] = FileTypeImagePipe;
10444
+ exports["ɵcu"] = BaseFileUploadComponent;
10445
+ exports["ɵcv"] = InputBoolean;
10446
+ exports["ɵcw"] = ImageDisplayModule;
10447
+ exports["ɵcx"] = ImageDisplayComponent;
10448
+ exports["ɵcy"] = FileUploadModule;
10449
+ exports["ɵcz"] = TileRenderModule;
10297
10450
  exports["ɵd"] = SharedConnectorService;
10298
- exports["ɵda"] = FileUploadComponent;
10299
- exports["ɵdb"] = FileUploadPopupModule;
10300
- exports["ɵdc"] = MultiplePropertyTogglerModule;
10301
- exports["ɵdd"] = MultiplePropertyTogglerComponent;
10302
- exports["ɵde"] = FileUploadPopupComponent;
10303
- exports["ɵdf"] = AppFileDropzoneModule;
10304
- exports["ɵdg"] = AppFileDropzoneComponent;
10305
- exports["ɵdh"] = DragDropContainerComponent;
10306
- exports["ɵdi"] = DragDropService;
10451
+ exports["ɵda"] = TileRenderComponent;
10452
+ exports["ɵdb"] = FileUploadComponent;
10453
+ exports["ɵdc"] = FileUploadPopupModule;
10454
+ exports["ɵdd"] = MultiplePropertyTogglerModule;
10455
+ exports["ɵde"] = MultiplePropertyTogglerComponent;
10456
+ exports["ɵdf"] = FileUploadPopupComponent;
10457
+ exports["ɵdg"] = AppFileDropzoneModule;
10458
+ exports["ɵdh"] = AppFileDropzoneComponent;
10459
+ exports["ɵdi"] = DragDropContainerComponent;
10460
+ exports["ɵdj"] = DragDropService;
10307
10461
  exports["ɵe"] = OptionsService;
10308
10462
  exports["ɵf"] = DictionaryService;
10309
10463
  exports["ɵg"] = LocalizeService;