@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.
- package/bundles/colijnit-sharedcomponents.umd.js +449 -363
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +57 -53
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +58 -54
- package/esm2015/lib/components/date-planning/date-planning.component.js +1 -1
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +8 -8
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +10 -5
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +6 -3
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +16 -11
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +4 -2
- package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.component.js +38 -0
- package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.module.js +21 -0
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +4 -4
- package/esm2015/lib/components/send-method-dialog/service/send-method.service.js +21 -21
- package/esm2015/lib/components/statusbar/statusbar-popup.component.js +72 -4
- package/esm2015/lib/components/statusbar/statusbar.component.js +3 -2
- package/esm2015/lib/components/statusbar/statusbar.module.js +1 -3
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +4 -25
- package/esm2015/lib/components/stock/components/stock-prognose/stock-prognose.component.js +42 -0
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +5 -1
- package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +50 -14
- package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +3 -1
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +3 -1
- package/esm2015/lib/components/stock/stock.component.js +2 -3
- package/esm2015/lib/components/stock/stock.module.js +31 -32
- package/esm2015/lib/components/tab-bar/tab-bar.component.js +12 -15
- package/esm2015/lib/components/tab-bar/tab-bar.module.js +2 -3
- package/esm2015/lib/enum/icon.enum.js +5 -1
- package/esm2015/lib/localization/localization.module.js +19 -0
- package/esm2015/lib/localization/localize.pipe.js +26 -0
- package/esm2015/lib/localization/localize.service.js +30 -0
- package/esm2015/lib/localization/translation.js +3 -0
- package/esm2015/lib/model/icon-svg.js +5 -1
- package/esm2015/lib/service/shared-connector.service.js +18 -2
- package/esm2015/lib/service/stock.service.js +6 -1
- package/esm2015/public-api.js +1 -3
- package/fesm2015/colijnit-sharedcomponents.js +408 -317
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/date-planning/date-planning.component.d.ts +1 -1
- package/lib/components/login/style/_layout.scss +57 -0
- package/lib/components/login/style/_material-definition.scss +23 -0
- package/lib/components/login/style/_theme.scss +7 -0
- package/lib/components/login/style/material.scss +4 -0
- package/lib/components/send-method-dialog/components/send-method-email/style/_layout.scss +8 -0
- package/lib/components/send-method-dialog/components/send-method-printer/style/_layout.scss +8 -0
- package/lib/components/send-method-dialog/components/signature-button/signature-button.component.d.ts +12 -0
- package/lib/components/send-method-dialog/components/signature-button/signature-button.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/signature-button/style/_layout.scss +28 -0
- package/lib/components/send-method-dialog/components/signature-button/style/_material-definition.scss +8 -0
- package/lib/components/send-method-dialog/components/signature-button/style/_theme.scss +4 -0
- package/lib/components/send-method-dialog/components/signature-button/style/material.scss +4 -0
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +6 -6
- package/lib/components/send-method-dialog/service/send-method.service.d.ts +10 -10
- package/lib/components/send-method-dialog/style/material.scss +1 -0
- package/lib/components/statusbar/statusbar-popup.component.d.ts +16 -2
- package/lib/components/statusbar/statusbar.component.d.ts +1 -0
- package/lib/components/statusbar/style/_layout.scss +17 -1
- package/lib/components/statusbar/style/material.scss +0 -2
- package/lib/components/stock/components/stock-location/stock-location.component.d.ts +2 -1
- package/lib/components/stock/components/stock-prognose/stock-prognose.component.d.ts +11 -0
- package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +11 -1
- package/lib/components/stock/stock.component.d.ts +1 -1
- package/lib/components/tab-bar/tab-bar.component.d.ts +3 -6
- package/lib/enum/icon.enum.d.ts +4 -0
- package/lib/localization/localization.module.d.ts +2 -0
- package/lib/localization/translation.d.ts +2 -0
- package/lib/service/shared-connector.service.d.ts +2 -0
- package/lib/service/stock.service.d.ts +2 -0
- package/lib/style/_variables.scss +4 -2
- package/lib/style/sharedcomponents-globals.scss +0 -2
- package/package.json +9 -8
- package/public-api.d.ts +0 -2
- package/esm2015/lib/components/circular-gauge/co-circular-gauge.component.js +0 -128
- package/esm2015/lib/components/circular-gauge/co-circular-gauge.module.js +0 -21
- package/esm2015/lib/components/stock/localization/localize.pipe.js +0 -26
- package/esm2015/lib/components/stock/localization/localize.service.js +0 -30
- package/lib/components/circular-gauge/co-circular-gauge.component.d.ts +0 -20
- package/lib/components/circular-gauge/co-circular-gauge.module.d.ts +0 -2
- package/lib/components/circular-gauge/style/_layout.scss +0 -25
- package/lib/components/circular-gauge/style/_material-definition.scss +0 -8
- package/lib/components/circular-gauge/style/_theme.scss +0 -7
- package/lib/components/circular-gauge/style/material.scss +0 -6
- /package/lib/{components/stock/localization → localization}/localize.pipe.d.ts +0 -0
- /package/lib/{components/stock/localization → localization}/localize.service.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __awaiter } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { EventEmitter, Component, ViewEncapsulation, ViewChild, ElementRef, Input, Output, HostBinding, NgModule, Injectable, ChangeDetectorRef, HostListener, Pipe, Renderer2, Inject, LOCALE_ID, NgZone, Directive } from '@angular/core';
|
|
3
|
+
import { EventEmitter, Component, ViewEncapsulation, ViewChild, ElementRef, Input, Output, HostBinding, NgModule, Injectable, ChangeDetectorRef, ViewChildren, HostListener, Pipe, Renderer2, Inject, LOCALE_ID, NgZone, Directive } from '@angular/core';
|
|
4
4
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
5
5
|
import { PDFDocument } from 'pdf-lib';
|
|
6
6
|
import * as PDFJS from 'pdfjs-dist/legacy/build/pdf';
|
|
@@ -19,22 +19,22 @@ import { ArticleTransaction } from '@colijnit/articleapi/build/model/article-tra
|
|
|
19
19
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
20
20
|
import { MainApi } from '@colijnit/mainapi';
|
|
21
21
|
import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
|
|
22
|
-
import { BusinessObjectFactory } from '@colijnit/ioneconnector/build/factory/business-object-factory';
|
|
23
22
|
import { SendMethod as SendMethod$1 } from '@colijnit/mainapi/build/model/send-method.bo';
|
|
23
|
+
import { BusinessObjectFactory } from '@colijnit/ioneconnector/build/service/business-object-factory';
|
|
24
24
|
import { PrintStockStickers } from '@colijnit/sharedapi/build/model/print-stock-stickers';
|
|
25
25
|
import { ArticleStock as ArticleStock$1 } from '@colijnit/articleapi/build/model/article-stock';
|
|
26
|
-
import {
|
|
26
|
+
import { IconModule, InputCheckboxModule, CoDialogModule, ButtonModule, ListOfValuesModule, OverlayService, ClickoutsideModule, OverlayModule, InputRadioButtonModule, SimpleGridModule, ImageModule, InputTextModule, InputNumberPickerModule, CoDialogWizardModule, InputTextareaModule, InputDatePickerModule } from '@colijnit/corecomponents_v12';
|
|
27
27
|
import * as i1 from '@angular/platform-browser';
|
|
28
28
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
29
29
|
import { ArticleStockManagement } from '@colijnit/articleapi/build/model/article-stock-management';
|
|
30
30
|
import { ArticleTransaction as ArticleTransaction$1 } from '@colijnit/articleapi/build/model/article-transaction';
|
|
31
31
|
import { PrintPriceStickers } from '@colijnit/sharedapi/build/model/print-price-stickers.bo';
|
|
32
|
-
import {
|
|
33
|
-
import { ReportingDocumentEmailBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-base-request';
|
|
32
|
+
import { ReportingDocumentEmailSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request';
|
|
34
33
|
import { ReportingDocumentPdfBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-pdf-base-request';
|
|
34
|
+
import { ReportingDocumentPrintSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request';
|
|
35
35
|
import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
|
|
36
36
|
import { GetStockHistoryRequest } from '@colijnit/articleapi/build/model/get-stock-history-request';
|
|
37
|
-
import {
|
|
37
|
+
import { Chart, DoughnutController, ArcElement } from 'chart.js';
|
|
38
38
|
import * as moment from 'moment';
|
|
39
39
|
|
|
40
40
|
class DocsignComponent {
|
|
@@ -888,6 +888,22 @@ class SharedConnectorService {
|
|
|
888
888
|
});
|
|
889
889
|
});
|
|
890
890
|
}
|
|
891
|
+
getStockPrognose(goodId, warehouseNumber) {
|
|
892
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
893
|
+
return new Promise((resolve, reject) => {
|
|
894
|
+
return this.articleConnector.getStockForecast(goodId, warehouseNumber).then((result) => {
|
|
895
|
+
if (result.validationResult && result.validationResult.success) {
|
|
896
|
+
if (result.resultObjects) {
|
|
897
|
+
resolve(result.resultObjects);
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
else {
|
|
901
|
+
reject(result.validationMessagesAsString);
|
|
902
|
+
}
|
|
903
|
+
});
|
|
904
|
+
});
|
|
905
|
+
});
|
|
906
|
+
}
|
|
891
907
|
commit() {
|
|
892
908
|
return this.articleConnector.commit();
|
|
893
909
|
}
|
|
@@ -972,6 +988,11 @@ class StockService {
|
|
|
972
988
|
return yield this._sharedService.getArticleTransaction(data);
|
|
973
989
|
});
|
|
974
990
|
}
|
|
991
|
+
stockPrognose(goodId, warehouseNumber) {
|
|
992
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
993
|
+
return yield this._sharedService.getStockPrognose(goodId, warehouseNumber);
|
|
994
|
+
});
|
|
995
|
+
}
|
|
975
996
|
lockArticleDetails(data) {
|
|
976
997
|
return __awaiter(this, void 0, void 0, function* () {
|
|
977
998
|
return yield this._sharedService.lockArticleDetails(data);
|
|
@@ -991,67 +1012,15 @@ StockService.ctorParameters = () => [
|
|
|
991
1012
|
{ type: SharedConnectorService }
|
|
992
1013
|
];
|
|
993
1014
|
|
|
994
|
-
class Translation {
|
|
995
|
-
constructor() {
|
|
996
|
-
this.ALLOCATED = 'ALLOCATED';
|
|
997
|
-
this.ALLOCATION = 'ALLOCATION';
|
|
998
|
-
this.ALREADY_IN_ORDER = 'ALREADY_IN_ORDER';
|
|
999
|
-
this.AMOUNT = 'AMOUNT';
|
|
1000
|
-
this.AMOUNT_AVAILABLE = 'AMOUNT_AVAILABLE';
|
|
1001
|
-
this.AMOUNT_IN_STOCK = 'AMOUNT_IN_STOCK';
|
|
1002
|
-
this.AMOUNT_LATER_AVAILABLE = 'AMOUNT_LATER_AVAILABLE';
|
|
1003
|
-
this.AVAILABLE_STOCK = 'AVAILABLE_STOCK';
|
|
1004
|
-
this.BACK_TO_STOCK_LINES = 'BACK_TO_STOCK_LINES';
|
|
1005
|
-
this.BATCH = 'BATCH';
|
|
1006
|
-
this.CANCEL = 'CANCEL';
|
|
1007
|
-
this.CHOICES = 'CHOICES';
|
|
1008
|
-
this.CUSTOMER = 'CUSTOMER';
|
|
1009
|
-
this.DATE = 'DATE';
|
|
1010
|
-
this.DELIVERY_DATE = 'DELIVERY_DATE';
|
|
1011
|
-
this.DESCRIPTION = 'DESCRIPTION';
|
|
1012
|
-
this.DOCUMENT_NUMBER = 'DOCUMENT_NUMBER';
|
|
1013
|
-
this.ECONOMICAL_STOCK = 'ECONOMICAL_STOCK';
|
|
1014
|
-
this.FREE_STOCK = 'FREE_STOCK';
|
|
1015
|
-
this.HISTORY = 'HISTORY';
|
|
1016
|
-
this.IN_ORDER = 'IN_ORDER';
|
|
1017
|
-
this.LINE = 'LINE';
|
|
1018
|
-
this.LOCATION = 'LOCATION';
|
|
1019
|
-
this.LOOK_AT = 'LOOK_AT';
|
|
1020
|
-
this.MUTATION_DATE = 'MUTATION_DATE';
|
|
1021
|
-
this.MUTATION_TIME = 'MUTATION_TIME';
|
|
1022
|
-
this.MUTATION_TYPE = 'MUTATION_TYPE';
|
|
1023
|
-
this.OK = 'OK';
|
|
1024
|
-
this.ORDER = 'ORDER';
|
|
1025
|
-
this.ORDER_COMMISSION = 'ORDER_COMMISSION';
|
|
1026
|
-
this.ORDER_STOCK = 'ORDER_STOCK';
|
|
1027
|
-
this.OVERVIEW = 'OVERVIEW';
|
|
1028
|
-
this.PURCHASE_ORDER_NR = 'PURCHASE_ORDER_NR';
|
|
1029
|
-
this.PURCHASE_PRICE = 'PURCHASE_PRICE';
|
|
1030
|
-
this.RELATION_ID = 'RELATION_ID';
|
|
1031
|
-
this.RELATION_NR = 'RELATION_NR';
|
|
1032
|
-
this.RESERVED = 'RESERVED';
|
|
1033
|
-
this.SEARCH = 'SEARCH';
|
|
1034
|
-
this.SERIAL_NO = 'SERIAL_NO';
|
|
1035
|
-
this.STICKER = 'STICKER';
|
|
1036
|
-
this.STOCK = 'STOCK';
|
|
1037
|
-
this.STOCK_DETAILS = 'STOCK_DETAILS';
|
|
1038
|
-
this.STOCK_REMARK = 'STOCK_REMARK';
|
|
1039
|
-
this.STOCK_STATE = 'STOCK_STATE';
|
|
1040
|
-
this.STOCK_STATUS = 'STOCK_STATUS';
|
|
1041
|
-
this.SUPPLIER_NUMBER = 'SUPPLIER_NUMBER';
|
|
1042
|
-
this.TRANSFER = 'TRANSFER';
|
|
1043
|
-
this.USER = 'USER';
|
|
1044
|
-
this.VALUTA = 'VALUTA';
|
|
1045
|
-
this.WAREHOUSE = 'WAREHOUSE';
|
|
1046
|
-
}
|
|
1015
|
+
class Translation$1 {
|
|
1047
1016
|
}
|
|
1048
1017
|
|
|
1049
1018
|
class LocalizeService {
|
|
1050
1019
|
constructor() {
|
|
1051
|
-
this._translation = new Translation();
|
|
1020
|
+
this._translation = new Translation$1();
|
|
1052
1021
|
}
|
|
1053
1022
|
set translation(value) {
|
|
1054
|
-
this._translation = Object.assign(new Translation(), value);
|
|
1023
|
+
this._translation = Object.assign(new Translation$1(), value);
|
|
1055
1024
|
}
|
|
1056
1025
|
get translation() {
|
|
1057
1026
|
return this._translation;
|
|
@@ -1119,7 +1088,6 @@ class StockComponent {
|
|
|
1119
1088
|
}
|
|
1120
1089
|
handleSendMethodClick(event) {
|
|
1121
1090
|
this.showSendMethodDialog = true;
|
|
1122
|
-
console.log(event);
|
|
1123
1091
|
}
|
|
1124
1092
|
backToStock() {
|
|
1125
1093
|
this.showStockTransfer = !this.showStockTransfer;
|
|
@@ -1276,6 +1244,7 @@ StockInformationComponent.propDecorators = {
|
|
|
1276
1244
|
|
|
1277
1245
|
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
1278
1246
|
const IconSvg = {
|
|
1247
|
+
"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>",
|
|
1279
1248
|
"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>",
|
|
1280
1249
|
"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>",
|
|
1281
1250
|
"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>",
|
|
@@ -1288,10 +1257,13 @@ const IconSvg = {
|
|
|
1288
1257
|
"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>",
|
|
1289
1258
|
"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>",
|
|
1290
1259
|
"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>",
|
|
1260
|
+
"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>",
|
|
1291
1261
|
"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>",
|
|
1292
1262
|
"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>",
|
|
1293
1263
|
"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>",
|
|
1294
1264
|
"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>",
|
|
1265
|
+
"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>",
|
|
1266
|
+
"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>",
|
|
1295
1267
|
"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>",
|
|
1296
1268
|
"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>",
|
|
1297
1269
|
"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>",
|
|
@@ -1351,6 +1323,7 @@ IconCacheService.ctorParameters = () => [
|
|
|
1351
1323
|
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
1352
1324
|
var Icon;
|
|
1353
1325
|
(function (Icon) {
|
|
1326
|
+
Icon["Account"] = "account";
|
|
1354
1327
|
Icon["AngleLeftSolid"] = "angle_left_solid";
|
|
1355
1328
|
Icon["AngleRightSolid"] = "angle_right_solid";
|
|
1356
1329
|
Icon["ArrowFatRight"] = "arrow_fat_right";
|
|
@@ -1363,10 +1336,13 @@ var Icon;
|
|
|
1363
1336
|
Icon["DeliveryTruck"] = "delivery_truck";
|
|
1364
1337
|
Icon["Email"] = "email";
|
|
1365
1338
|
Icon["EnvelopeRegular"] = "envelope_regular";
|
|
1339
|
+
Icon["EyeRegular"] = "eye_regular";
|
|
1366
1340
|
Icon["FileExportRegular"] = "file_export_regular";
|
|
1367
1341
|
Icon["FileExportSolid"] = "file_export_solid";
|
|
1368
1342
|
Icon["FilePdfRegular"] = "file_pdf_regular";
|
|
1369
1343
|
Icon["FilePdfSolid"] = "file_pdf_solid";
|
|
1344
|
+
Icon["FileSignatureRegular"] = "file_signature_regular";
|
|
1345
|
+
Icon["Lock"] = "lock";
|
|
1370
1346
|
Icon["MessageSmsRegular"] = "message_sms_regular";
|
|
1371
1347
|
Icon["MessageSmsSolid"] = "message_sms_solid";
|
|
1372
1348
|
Icon["Pdf"] = "pdf";
|
|
@@ -1638,6 +1614,7 @@ StockInformationGridComponent.decorators = [
|
|
|
1638
1614
|
<span class="stock-button-back" [textContent]="'BACK_TO_STOCK_LINES' | localize" (click)="handleBackToStockClick()"></span>
|
|
1639
1615
|
</div>
|
|
1640
1616
|
<div class="stock-location-right-group">
|
|
1617
|
+
<!--
|
|
1641
1618
|
<co-drop-down-list [(model)]="selectedWarehouse"
|
|
1642
1619
|
[collection]="dataWareHouseCode"
|
|
1643
1620
|
[fields]="dataWareHouseFields"
|
|
@@ -1645,6 +1622,7 @@ StockInformationGridComponent.decorators = [
|
|
|
1645
1622
|
(modelChange)="onSelectWarehouse($event)"
|
|
1646
1623
|
[required]="true"
|
|
1647
1624
|
></co-drop-down-list>
|
|
1625
|
+
-->
|
|
1648
1626
|
</div>
|
|
1649
1627
|
</div>
|
|
1650
1628
|
|
|
@@ -1665,6 +1643,7 @@ StockInformationGridComponent.decorators = [
|
|
|
1665
1643
|
</div>
|
|
1666
1644
|
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNo'">
|
|
1667
1645
|
<ng-template #editTemplate let-row="row">
|
|
1646
|
+
<!--
|
|
1668
1647
|
<co-drop-down-list [(model)]="row.locationNo"
|
|
1669
1648
|
[collection]="stockLocations"
|
|
1670
1649
|
[fields]="dataLocationFields"
|
|
@@ -1672,6 +1651,7 @@ StockInformationGridComponent.decorators = [
|
|
|
1672
1651
|
(click)="onLocationDropdownClick()"
|
|
1673
1652
|
[required]="true"
|
|
1674
1653
|
></co-drop-down-list>
|
|
1654
|
+
-->
|
|
1675
1655
|
</ng-template>
|
|
1676
1656
|
</co-simple-grid-column>
|
|
1677
1657
|
<co-simple-grid-column *ngIf="articleDetails" [headerText]="'BATCH' | localize" [field]="'batchNo'">
|
|
@@ -1905,6 +1885,7 @@ StockTransferComponent.decorators = [
|
|
|
1905
1885
|
</div>
|
|
1906
1886
|
|
|
1907
1887
|
<div class="stock-transfer-right-column">
|
|
1888
|
+
<!--
|
|
1908
1889
|
<co-drop-down-list [collection]="warehouses"
|
|
1909
1890
|
[fields]="allWarehousesDropdownFields"
|
|
1910
1891
|
(modelChange)="handleSelectedWarehouse($event)"
|
|
@@ -1923,6 +1904,7 @@ StockTransferComponent.decorators = [
|
|
|
1923
1904
|
[(model)]="articleToTransfer.stockStateId"
|
|
1924
1905
|
>
|
|
1925
1906
|
</co-drop-down-list>
|
|
1907
|
+
-->
|
|
1926
1908
|
<co-input-text [placeholder]="'Omschrijving' | localize"
|
|
1927
1909
|
[(model)]="articleToTransfer.stockStateRemark">
|
|
1928
1910
|
</co-input-text>
|
|
@@ -1987,29 +1969,29 @@ SharedService.ctorParameters = () => [
|
|
|
1987
1969
|
|
|
1988
1970
|
class SendMethodService {
|
|
1989
1971
|
constructor() {
|
|
1990
|
-
this.
|
|
1991
|
-
this.
|
|
1972
|
+
this.reportingDocumentPrintSignDocBaseRequestChanged = new Subject();
|
|
1973
|
+
this.reportingDocumentEmailSignDocBaseRequestChanged = new Subject();
|
|
1992
1974
|
this.reportingDocumentPdfBaseRequestChanged = new Subject();
|
|
1993
1975
|
this.selectedEmailAddresses = [];
|
|
1994
|
-
this.
|
|
1995
|
-
this.
|
|
1976
|
+
this._reportingDocumentPrintSignDocBaseRequest = new ReportingDocumentPrintSignDocBaseRequest();
|
|
1977
|
+
this._reportingDocumentEmailSignDocBaseRequest = new ReportingDocumentEmailSignDocBaseRequest();
|
|
1996
1978
|
this._reportingDocumentPdfBaseRequest = new ReportingDocumentPdfBaseRequest();
|
|
1997
1979
|
}
|
|
1998
|
-
set
|
|
1999
|
-
this.
|
|
2000
|
-
this.activePrinter = this.
|
|
2001
|
-
this.
|
|
1980
|
+
set reportingDocumentPrintSignDocBaseRequest(value) {
|
|
1981
|
+
this._reportingDocumentPrintSignDocBaseRequest = value;
|
|
1982
|
+
this.activePrinter = this._reportingDocumentPrintSignDocBaseRequest.printerName;
|
|
1983
|
+
this.reportingDocumentPrintSignDocBaseRequestChanged.next(this._reportingDocumentPrintSignDocBaseRequest);
|
|
2002
1984
|
}
|
|
2003
|
-
get
|
|
2004
|
-
return this.
|
|
1985
|
+
get reportingDocumentPrintSignDocBaseRequest() {
|
|
1986
|
+
return this._reportingDocumentPrintSignDocBaseRequest;
|
|
2005
1987
|
}
|
|
2006
|
-
set
|
|
2007
|
-
this.
|
|
2008
|
-
this.selectedEmailAddresses = this.
|
|
2009
|
-
this.
|
|
1988
|
+
set reportingDocumentEmailSignDocBaseRequest(value) {
|
|
1989
|
+
this._reportingDocumentEmailSignDocBaseRequest = value;
|
|
1990
|
+
this.selectedEmailAddresses = this._reportingDocumentEmailSignDocBaseRequest.toAddresses.split(';');
|
|
1991
|
+
this.reportingDocumentEmailSignDocBaseRequestChanged.next(this._reportingDocumentEmailSignDocBaseRequest);
|
|
2010
1992
|
}
|
|
2011
|
-
get
|
|
2012
|
-
return this.
|
|
1993
|
+
get reportingDocumentEmailSignDocBaseRequest() {
|
|
1994
|
+
return this._reportingDocumentEmailSignDocBaseRequest;
|
|
2013
1995
|
}
|
|
2014
1996
|
set reportingDocumentPdfBaseRequest(value) {
|
|
2015
1997
|
this._reportingDocumentPdfBaseRequest = value;
|
|
@@ -2031,8 +2013,8 @@ class SendMethodService {
|
|
|
2031
2013
|
}
|
|
2032
2014
|
}
|
|
2033
2015
|
_updateEmailAddresses() {
|
|
2034
|
-
this.
|
|
2035
|
-
this.
|
|
2016
|
+
this._reportingDocumentEmailSignDocBaseRequest.toAddresses = this.selectedEmailAddresses.join(';');
|
|
2017
|
+
this.reportingDocumentEmailSignDocBaseRequestChanged.next(this._reportingDocumentEmailSignDocBaseRequest);
|
|
2036
2018
|
}
|
|
2037
2019
|
}
|
|
2038
2020
|
SendMethodService.decorators = [
|
|
@@ -2087,17 +2069,17 @@ class SendMethodDialogComponent {
|
|
|
2087
2069
|
this.showEmailTemplate = true;
|
|
2088
2070
|
this.showWebservice = true;
|
|
2089
2071
|
this._subscriptions = [];
|
|
2090
|
-
this._subscriptions.push(this._sendMethodService.
|
|
2072
|
+
this._subscriptions.push(this._sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.subscribe((value) => this.reportingDocumentPrintRequestChange.next(value)), this._sendMethodService.reportingDocumentEmailSignDocBaseRequestChanged.subscribe((value) => this.reportingDocumentEmailRequestChange.next(value)), this._sendMethodService.reportingDocumentPdfBaseRequestChanged.subscribe((value) => this.reportingDocumentPdfRequestChange.next(value)));
|
|
2091
2073
|
}
|
|
2092
2074
|
showClass() {
|
|
2093
2075
|
return true;
|
|
2094
2076
|
}
|
|
2095
2077
|
ngOnInit() {
|
|
2096
2078
|
if (this.reportingDocumentEmailRequest) {
|
|
2097
|
-
this._sendMethodService.
|
|
2079
|
+
this._sendMethodService.reportingDocumentEmailSignDocBaseRequest = this.reportingDocumentEmailRequest;
|
|
2098
2080
|
}
|
|
2099
2081
|
if (this.reportingDocumentPrintRequest) {
|
|
2100
|
-
this._sendMethodService.
|
|
2082
|
+
this._sendMethodService.reportingDocumentPrintSignDocBaseRequest = this.reportingDocumentPrintRequest;
|
|
2101
2083
|
}
|
|
2102
2084
|
if (this.reportingDocumentPdfRequest) {
|
|
2103
2085
|
this._sendMethodService.reportingDocumentPdfBaseRequest = this.reportingDocumentPdfRequest;
|
|
@@ -2317,10 +2299,15 @@ SendMethodEmailComponent.decorators = [
|
|
|
2317
2299
|
<div class="email-address" [textContent]="emailAddressViewmodel.emailAddress"></div>
|
|
2318
2300
|
</div>
|
|
2319
2301
|
</div>
|
|
2320
|
-
<
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2302
|
+
<div class="layout-signature-wrapper">
|
|
2303
|
+
<co-layout-selection
|
|
2304
|
+
[(request)]="sendMethodService.reportingDocumentEmailSignDocBaseRequest"
|
|
2305
|
+
[layouts]="layouts"
|
|
2306
|
+
></co-layout-selection>
|
|
2307
|
+
<co-signature-button
|
|
2308
|
+
[request]="sendMethodService.reportingDocumentEmailSignDocBaseRequest"
|
|
2309
|
+
></co-signature-button>
|
|
2310
|
+
</div>
|
|
2324
2311
|
`,
|
|
2325
2312
|
encapsulation: ViewEncapsulation.None
|
|
2326
2313
|
},] }
|
|
@@ -2405,6 +2392,58 @@ LayoutSelectionModule.decorators = [
|
|
|
2405
2392
|
},] }
|
|
2406
2393
|
];
|
|
2407
2394
|
|
|
2395
|
+
class SignatureButtonComponent {
|
|
2396
|
+
constructor(iconCacheService) {
|
|
2397
|
+
this.iconCacheService = iconCacheService;
|
|
2398
|
+
this.icons = Icon;
|
|
2399
|
+
}
|
|
2400
|
+
showClass() {
|
|
2401
|
+
return true;
|
|
2402
|
+
}
|
|
2403
|
+
handleToggleSignature() {
|
|
2404
|
+
this.request.parkForDigitalSignature = !this.request.parkForDigitalSignature;
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2407
|
+
SignatureButtonComponent.decorators = [
|
|
2408
|
+
{ type: Component, args: [{
|
|
2409
|
+
selector: "co-signature-button",
|
|
2410
|
+
template: `
|
|
2411
|
+
<div class="signature-button-wrapper"
|
|
2412
|
+
[class.selected]="request.parkForDigitalSignature"
|
|
2413
|
+
(click)="handleToggleSignature()">
|
|
2414
|
+
<co-icon
|
|
2415
|
+
[iconData]="iconCacheService.getIcon(icons.FileSignatureRegular)"
|
|
2416
|
+
></co-icon>
|
|
2417
|
+
</div>
|
|
2418
|
+
`,
|
|
2419
|
+
encapsulation: ViewEncapsulation.None
|
|
2420
|
+
},] }
|
|
2421
|
+
];
|
|
2422
|
+
SignatureButtonComponent.ctorParameters = () => [
|
|
2423
|
+
{ type: IconCacheService }
|
|
2424
|
+
];
|
|
2425
|
+
SignatureButtonComponent.propDecorators = {
|
|
2426
|
+
request: [{ type: Input }],
|
|
2427
|
+
showClass: [{ type: HostBinding, args: ["class.co-signature-button",] }]
|
|
2428
|
+
};
|
|
2429
|
+
|
|
2430
|
+
class SignatureButtonModule {
|
|
2431
|
+
}
|
|
2432
|
+
SignatureButtonModule.decorators = [
|
|
2433
|
+
{ type: NgModule, args: [{
|
|
2434
|
+
imports: [
|
|
2435
|
+
CommonModule,
|
|
2436
|
+
IconModule
|
|
2437
|
+
],
|
|
2438
|
+
declarations: [
|
|
2439
|
+
SignatureButtonComponent
|
|
2440
|
+
],
|
|
2441
|
+
exports: [
|
|
2442
|
+
SignatureButtonComponent
|
|
2443
|
+
]
|
|
2444
|
+
},] }
|
|
2445
|
+
];
|
|
2446
|
+
|
|
2408
2447
|
class SendMethodEmailModule {
|
|
2409
2448
|
}
|
|
2410
2449
|
SendMethodEmailModule.decorators = [
|
|
@@ -2412,7 +2451,9 @@ SendMethodEmailModule.decorators = [
|
|
|
2412
2451
|
imports: [
|
|
2413
2452
|
CommonModule,
|
|
2414
2453
|
InputCheckboxModule,
|
|
2415
|
-
LayoutSelectionModule
|
|
2454
|
+
LayoutSelectionModule,
|
|
2455
|
+
IconModule,
|
|
2456
|
+
SignatureButtonModule
|
|
2416
2457
|
],
|
|
2417
2458
|
declarations: [
|
|
2418
2459
|
SendMethodEmailComponent
|
|
@@ -2433,12 +2474,12 @@ class SendMethodPrinterComponent {
|
|
|
2433
2474
|
return true;
|
|
2434
2475
|
}
|
|
2435
2476
|
handleDefaultPrinterUserChange(checked) {
|
|
2436
|
-
this.sendMethodService.
|
|
2437
|
-
this.sendMethodService.
|
|
2477
|
+
this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForUser = checked;
|
|
2478
|
+
this.sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintSignDocBaseRequest);
|
|
2438
2479
|
}
|
|
2439
2480
|
handleDefaultPrinterAllUsersChange(checked) {
|
|
2440
|
-
this.sendMethodService.
|
|
2441
|
-
this.sendMethodService.
|
|
2481
|
+
this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForAllUsers = checked;
|
|
2482
|
+
this.sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintSignDocBaseRequest);
|
|
2442
2483
|
}
|
|
2443
2484
|
}
|
|
2444
2485
|
SendMethodPrinterComponent.decorators = [
|
|
@@ -2446,17 +2487,22 @@ SendMethodPrinterComponent.decorators = [
|
|
|
2446
2487
|
selector: 'co-send-method-printer',
|
|
2447
2488
|
template: `
|
|
2448
2489
|
<co-printer-selection [printers]="printerList"></co-printer-selection>
|
|
2449
|
-
<
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2490
|
+
<div class="layout-signature-wrapper">
|
|
2491
|
+
<co-layout-selection
|
|
2492
|
+
[(request)]="sendMethodService.reportingDocumentPrintSignDocBaseRequest"
|
|
2493
|
+
[layouts]="layouts"
|
|
2494
|
+
></co-layout-selection>
|
|
2495
|
+
<co-signature-button
|
|
2496
|
+
[request]="sendMethodService.reportingDocumentPrintSignDocBaseRequest"
|
|
2497
|
+
></co-signature-button>
|
|
2498
|
+
</div>
|
|
2453
2499
|
<co-input-checkbox
|
|
2454
|
-
[model]="sendMethodService.
|
|
2500
|
+
[model]="sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForUser"
|
|
2455
2501
|
[label]="'Koppeling onthouden'"
|
|
2456
2502
|
(modelChange)="handleDefaultPrinterUserChange($event)"
|
|
2457
2503
|
></co-input-checkbox>
|
|
2458
2504
|
<co-input-checkbox
|
|
2459
|
-
[model]="sendMethodService.
|
|
2505
|
+
[model]="sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForAllUsers"
|
|
2460
2506
|
[label]="'Alle gebruikers'"
|
|
2461
2507
|
(modelChange)="handleDefaultPrinterAllUsersChange($event)"
|
|
2462
2508
|
></co-input-checkbox>
|
|
@@ -2486,17 +2532,17 @@ class PrinterSelectionComponent {
|
|
|
2486
2532
|
return true;
|
|
2487
2533
|
}
|
|
2488
2534
|
ngOnInit() {
|
|
2489
|
-
if (!this.sendMethodService.
|
|
2535
|
+
if (!this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.printerName && this.printers && this.printers.length > 0) {
|
|
2490
2536
|
const defaultPrinter = this.printers.find(p => p.isDefault);
|
|
2491
2537
|
if (defaultPrinter) {
|
|
2492
|
-
this.sendMethodService.
|
|
2493
|
-
this.sendMethodService.
|
|
2538
|
+
this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.printerName = defaultPrinter.name;
|
|
2539
|
+
this.sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintSignDocBaseRequest);
|
|
2494
2540
|
}
|
|
2495
2541
|
}
|
|
2496
2542
|
}
|
|
2497
2543
|
handlePrinterClicked(printer) {
|
|
2498
|
-
this.sendMethodService.
|
|
2499
|
-
this.sendMethodService.
|
|
2544
|
+
this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.printerName = printer.name;
|
|
2545
|
+
this.sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintSignDocBaseRequest);
|
|
2500
2546
|
this.showPrinterList = false;
|
|
2501
2547
|
}
|
|
2502
2548
|
}
|
|
@@ -2506,11 +2552,11 @@ PrinterSelectionComponent.decorators = [
|
|
|
2506
2552
|
template: `
|
|
2507
2553
|
<div class="printer-selection-wrapper" (click)="showPrinterList = !showPrinterList">
|
|
2508
2554
|
<div class="title" [textContent]="'Printer'"></div>
|
|
2509
|
-
<div class="printer-name" [textContent]="sendMethodService.
|
|
2555
|
+
<div class="printer-name" [textContent]="sendMethodService.reportingDocumentPrintSignDocBaseRequest.printerName || 'Printer kiezen'"></div>
|
|
2510
2556
|
</div>
|
|
2511
2557
|
<div class="layouts-wrapper co-small-scrollbar" *ngIf="showPrinterList" @showHideLayouts>
|
|
2512
2558
|
<div class="printer-list-item" *ngFor="let printer of printers"
|
|
2513
|
-
[class.selected]="sendMethodService.
|
|
2559
|
+
[class.selected]="sendMethodService.reportingDocumentPrintSignDocBaseRequest.printerName === printer.name"
|
|
2514
2560
|
(click)="handlePrinterClicked(printer)">
|
|
2515
2561
|
<co-icon class="printer-icon" [iconData]="iconService.getIcon(icons.PrintRegular)"></co-icon>
|
|
2516
2562
|
<div class="printer-details">
|
|
@@ -2567,7 +2613,8 @@ SendMethodPrinterModule.decorators = [
|
|
|
2567
2613
|
IconModule,
|
|
2568
2614
|
LayoutSelectionModule,
|
|
2569
2615
|
PrinterSelectionModule,
|
|
2570
|
-
InputCheckboxModule
|
|
2616
|
+
InputCheckboxModule,
|
|
2617
|
+
SignatureButtonModule
|
|
2571
2618
|
],
|
|
2572
2619
|
declarations: [
|
|
2573
2620
|
SendMethodPrinterComponent
|
|
@@ -2642,11 +2689,13 @@ StockChangeAmountComponent.decorators = [
|
|
|
2642
2689
|
<span [textContent]="'STOCK_CHANGE_REASON' | localize"></span>
|
|
2643
2690
|
</ng-container>
|
|
2644
2691
|
<div class="popup-wrapper">
|
|
2692
|
+
<!--
|
|
2645
2693
|
<co-drop-down-list [collection]="stockState"
|
|
2646
2694
|
[fields]="stockStateDropdownField"
|
|
2647
2695
|
[placeholder]="'STOCK_STATE' | localize"
|
|
2648
2696
|
[(model)]="selectedArticleDetailsData.stockStateId"
|
|
2649
2697
|
></co-drop-down-list>
|
|
2698
|
+
-->
|
|
2650
2699
|
|
|
2651
2700
|
<co-input-textarea [(model)]="selectedArticleDetailsData.stockStateRemark"
|
|
2652
2701
|
|
|
@@ -2774,12 +2823,15 @@ class StockTabsComponent {
|
|
|
2774
2823
|
this.icons = Icon;
|
|
2775
2824
|
this.transferIconClicked = new EventEmitter();
|
|
2776
2825
|
this.sendMethodDialogClicked = new EventEmitter();
|
|
2826
|
+
this.articleDetailsInformation = new ArticleStockManagement();
|
|
2827
|
+
this.showWarehouseSelection = false;
|
|
2777
2828
|
this.tabs = [];
|
|
2778
2829
|
this.historyTabs = [];
|
|
2779
2830
|
}
|
|
2780
2831
|
ngOnInit() {
|
|
2781
2832
|
this.tabs = [
|
|
2782
2833
|
{ title: this._localizeService.get('OVERVIEW'), active: true },
|
|
2834
|
+
{ title: this._localizeService.get('STOCK_FORECAST'), active: false },
|
|
2783
2835
|
{ title: this._localizeService.get('STOCK_DETAILS'), active: false },
|
|
2784
2836
|
{ title: this._localizeService.get('ALREADY_IN_ORDER'), active: false, clickHandler: () => this.getInOrderData() },
|
|
2785
2837
|
{ title: this._localizeService.get('IN_ORDER'), active: false, clickHandler: () => this.getOrderData() },
|
|
@@ -2792,11 +2844,13 @@ class StockTabsComponent {
|
|
|
2792
2844
|
{ title: this._localizeService.get('ORDER'), active: false, clickHandler: () => this.getOrderStockHistory() },
|
|
2793
2845
|
{ title: this._localizeService.get('ALLOCATION'), active: false, clickHandler: () => this.getAllocationStockHistory() },
|
|
2794
2846
|
];
|
|
2847
|
+
console.log(this.tabs[0]);
|
|
2848
|
+
console.log(this.historyTabs[5]);
|
|
2795
2849
|
}
|
|
2796
2850
|
handleLocationClicked(data) {
|
|
2797
2851
|
this.selectedLocation = data.warehouseNo;
|
|
2798
2852
|
this.tabs[0].active = false;
|
|
2799
|
-
this.tabs[
|
|
2853
|
+
this.tabs[2].active = true;
|
|
2800
2854
|
}
|
|
2801
2855
|
getStockHistory() {
|
|
2802
2856
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2868,20 +2922,50 @@ class StockTabsComponent {
|
|
|
2868
2922
|
}
|
|
2869
2923
|
});
|
|
2870
2924
|
}
|
|
2925
|
+
getStockPrognose(warehouseNo) {
|
|
2926
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2927
|
+
this.stockPrognose = yield this._stockService.stockPrognose(this.article.goodId, warehouseNo);
|
|
2928
|
+
});
|
|
2929
|
+
}
|
|
2930
|
+
handleWarehouseSelected(event) {
|
|
2931
|
+
this.selectedWarehouse = event;
|
|
2932
|
+
if (this.tabs[1].active) {
|
|
2933
|
+
this.getStockPrognose(this.selectedWarehouse.warehouseNo);
|
|
2934
|
+
}
|
|
2935
|
+
if (this.tabs[2].active) {
|
|
2936
|
+
this.articleDetailsInformation.warehouseNumber = event.warehouseNo;
|
|
2937
|
+
this.articleDetailsInformation.goodId = this.article.goodId;
|
|
2938
|
+
this._stockService.getArticleDetails(this.articleDetailsInformation).then((details) => {
|
|
2939
|
+
this.articleDetails = details;
|
|
2940
|
+
});
|
|
2941
|
+
}
|
|
2942
|
+
}
|
|
2871
2943
|
}
|
|
2872
2944
|
StockTabsComponent.decorators = [
|
|
2873
2945
|
{ type: Component, args: [{
|
|
2874
2946
|
selector: "co-stock-tabs",
|
|
2875
2947
|
template: `
|
|
2876
|
-
<co-tab-bar [wareHouseLabel]="'CHOICES' | localize"
|
|
2877
|
-
[
|
|
2948
|
+
<co-tab-bar [wareHouseLabel]="'CHOICES' | localize"
|
|
2949
|
+
[wareHouseSearchLabel]="'SEARCH' | localize"
|
|
2950
|
+
[tabs]="tabs"
|
|
2951
|
+
[dataWareHouseCode]="warehouses"
|
|
2952
|
+
[secondaryTabs]="historyTabs"
|
|
2953
|
+
[ActivateSecondaryTabs]="tabs[5].active"
|
|
2954
|
+
[showWarehouseSelection]="tabs[1].active || tabs[2].active"
|
|
2955
|
+
(warehouseSelected)="handleWarehouseSelected($event)"
|
|
2956
|
+
></co-tab-bar>
|
|
2878
2957
|
|
|
2879
2958
|
<co-stock-tab *ngIf="tabs[0].active"
|
|
2880
2959
|
[articleStockInformation]="stockInformation"
|
|
2881
2960
|
(locationClicked)="handleLocationClicked($event)"
|
|
2882
2961
|
></co-stock-tab>
|
|
2883
2962
|
|
|
2884
|
-
<co-stock-
|
|
2963
|
+
<co-stock-prognose *ngIf="tabs[1].active"
|
|
2964
|
+
[stockPrognose]="stockPrognose"
|
|
2965
|
+
></co-stock-prognose>
|
|
2966
|
+
|
|
2967
|
+
<co-stock-location *ngIf="tabs[2].active"
|
|
2968
|
+
[articleStockInfo]="articleDetails"
|
|
2885
2969
|
[articleStockInformation]="stockInformation"
|
|
2886
2970
|
[article]="article"
|
|
2887
2971
|
[clickedLocation]="selectedLocation"
|
|
@@ -2890,34 +2974,34 @@ StockTabsComponent.decorators = [
|
|
|
2890
2974
|
(sendMethodDialogClicked)="sendMethodDialogClicked.emit($event)"
|
|
2891
2975
|
></co-stock-location>
|
|
2892
2976
|
|
|
2893
|
-
<co-order-tab *ngIf="tabs[
|
|
2977
|
+
<co-order-tab *ngIf="tabs[3].active"
|
|
2894
2978
|
[articleStockInformation]="stockInformation"
|
|
2895
2979
|
[inOrderInformation]="inOrderInformation"
|
|
2896
2980
|
(transferIconClicked)="transferIconClicked.emit($event)"
|
|
2897
2981
|
(sendMethodDialogClicked)="sendMethodDialogClicked.emit($event)"
|
|
2898
2982
|
></co-order-tab>
|
|
2899
2983
|
|
|
2900
|
-
<co-order-stock-tab *ngIf="tabs[
|
|
2984
|
+
<co-order-stock-tab *ngIf="tabs[4].active"
|
|
2901
2985
|
[orderInformation]="orderInformation"
|
|
2902
2986
|
></co-order-stock-tab>
|
|
2903
2987
|
|
|
2904
|
-
<co-stock-history *ngIf="historyTabs[0].active && tabs[
|
|
2988
|
+
<co-stock-history *ngIf="historyTabs[0].active && tabs[5].active"
|
|
2905
2989
|
[stockHistory]="stockHistory"
|
|
2906
2990
|
></co-stock-history>
|
|
2907
2991
|
|
|
2908
|
-
<co-order-supply-stock-history *ngIf="historyTabs[1].active && tabs[
|
|
2909
|
-
|
|
2992
|
+
<co-order-supply-stock-history *ngIf="historyTabs[1].active && tabs[5].active"
|
|
2993
|
+
[orderSupplyStockHistory]="orderSupplyStockHistory"
|
|
2910
2994
|
></co-order-supply-stock-history>
|
|
2911
2995
|
|
|
2912
|
-
<co-order-stock-commission-history *ngIf="historyTabs[2].active && tabs[
|
|
2996
|
+
<co-order-stock-commission-history *ngIf="historyTabs[2].active && tabs[5].active"
|
|
2913
2997
|
[orderStockCommissionHistory]="orderCommissionStockHistory"
|
|
2914
2998
|
></co-order-stock-commission-history>
|
|
2915
2999
|
|
|
2916
|
-
<co-order-stock-history *ngIf="historyTabs[3].active && tabs[
|
|
3000
|
+
<co-order-stock-history *ngIf="historyTabs[3].active && tabs[5].active"
|
|
2917
3001
|
[orderStockHistory]="orderStockHistory"
|
|
2918
3002
|
></co-order-stock-history>
|
|
2919
3003
|
|
|
2920
|
-
<co-allocation-stock-history *ngIf="historyTabs[4].active && tabs[
|
|
3004
|
+
<co-allocation-stock-history *ngIf="historyTabs[4].active && tabs[5].active"
|
|
2921
3005
|
[allocationStockHistory]="orderAllocationStockHistory"
|
|
2922
3006
|
></co-allocation-stock-history>
|
|
2923
3007
|
|
|
@@ -3077,30 +3161,6 @@ StockLocationComponent.decorators = [
|
|
|
3077
3161
|
selector: "co-stock-location",
|
|
3078
3162
|
template: `
|
|
3079
3163
|
<div class="stock-grid">
|
|
3080
|
-
<div class="stock-location-group">
|
|
3081
|
-
<div class="stock-location-right-group">
|
|
3082
|
-
<co-drop-down-list [(model)]="selectedWarehouse"
|
|
3083
|
-
[collection]="dataWareHouseCode"
|
|
3084
|
-
[fields]="dataWareHouseFields"
|
|
3085
|
-
[placeholder]="'WAREHOUSE' | localize"
|
|
3086
|
-
(modelChange)="onSelectWarehouse($event)"
|
|
3087
|
-
[required]="true"
|
|
3088
|
-
></co-drop-down-list>
|
|
3089
|
-
<co-list-of-values [label]="'CHOICES' | localize"
|
|
3090
|
-
[displayField]="'warehouseDescription'"
|
|
3091
|
-
[collection]="dataWareHouseCode"
|
|
3092
|
-
[model]="selectedWarehouseModel"
|
|
3093
|
-
[multiselect]="false"
|
|
3094
|
-
[required]="false"
|
|
3095
|
-
[readonly]="true"
|
|
3096
|
-
[customCssClass]="'mini-scrollbar'"
|
|
3097
|
-
[searchPlaceholder]="'SEARCH' | localize"
|
|
3098
|
-
(modelChange)="onSelectWarehouse($event)"
|
|
3099
|
-
>
|
|
3100
|
-
</co-list-of-values>
|
|
3101
|
-
</div>
|
|
3102
|
-
</div>
|
|
3103
|
-
|
|
3104
3164
|
<co-simple-grid [data]="articleDetails"
|
|
3105
3165
|
class="simple-grid"
|
|
3106
3166
|
[rowsPerPage]="20"
|
|
@@ -3112,6 +3172,7 @@ StockLocationComponent.decorators = [
|
|
|
3112
3172
|
>
|
|
3113
3173
|
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNo'">
|
|
3114
3174
|
<ng-template #editTemplate let-row="row">
|
|
3175
|
+
<!--
|
|
3115
3176
|
<co-drop-down-list [(model)]="row.locationNo"
|
|
3116
3177
|
[collection]="stockLocations"
|
|
3117
3178
|
[fields]="dataLocationFields"
|
|
@@ -3120,6 +3181,7 @@ StockLocationComponent.decorators = [
|
|
|
3120
3181
|
[required]="true"
|
|
3121
3182
|
(modelChange)="locationChanged($event)"
|
|
3122
3183
|
></co-drop-down-list>
|
|
3184
|
+
-->
|
|
3123
3185
|
</ng-template>
|
|
3124
3186
|
</co-simple-grid-column>
|
|
3125
3187
|
<co-simple-grid-column *ngIf="articleDetails" [headerText]="'BATCH' | localize" [field]="'batchNo'">
|
|
@@ -3193,6 +3255,7 @@ StockLocationComponent.ctorParameters = () => [
|
|
|
3193
3255
|
{ type: ChangeDetectorRef }
|
|
3194
3256
|
];
|
|
3195
3257
|
StockLocationComponent.propDecorators = {
|
|
3258
|
+
articleStockInfo: [{ type: Input }],
|
|
3196
3259
|
articleStockInformation: [{ type: Input }],
|
|
3197
3260
|
article: [{ type: Input }],
|
|
3198
3261
|
clickedLocation: [{ type: Input }],
|
|
@@ -3252,8 +3315,8 @@ class TabBarComponent {
|
|
|
3252
3315
|
constructor(_stockService) {
|
|
3253
3316
|
this._stockService = _stockService;
|
|
3254
3317
|
this.ActivateSecondaryTabs = false;
|
|
3255
|
-
this.
|
|
3256
|
-
this.
|
|
3318
|
+
this.showWarehouseSelection = false;
|
|
3319
|
+
this.warehouseSelected = new EventEmitter();
|
|
3257
3320
|
}
|
|
3258
3321
|
selectTab(tab) {
|
|
3259
3322
|
if (tab.clickHandler) {
|
|
@@ -3270,13 +3333,7 @@ class TabBarComponent {
|
|
|
3270
3333
|
secondaryTab.active = true;
|
|
3271
3334
|
}
|
|
3272
3335
|
onSelectWarehouse(event) {
|
|
3273
|
-
this.
|
|
3274
|
-
this.articleDetailsInformation.goodId = this.article.goodId;
|
|
3275
|
-
if (this.selectedWarehouse || this.selectedWarehouse === 0) {
|
|
3276
|
-
this._stockService.getArticleDetails(this.articleDetailsInformation).then((details) => {
|
|
3277
|
-
this.articleDetails = details;
|
|
3278
|
-
});
|
|
3279
|
-
}
|
|
3336
|
+
this.warehouseSelected.emit(event);
|
|
3280
3337
|
}
|
|
3281
3338
|
}
|
|
3282
3339
|
TabBarComponent.decorators = [
|
|
@@ -3287,14 +3344,16 @@ TabBarComponent.decorators = [
|
|
|
3287
3344
|
<div class="tab-bar-warehouse-wrapper">
|
|
3288
3345
|
<div class="stock-location-group">
|
|
3289
3346
|
<div class="stock-location-right-group">
|
|
3290
|
-
<co-list-of-values
|
|
3347
|
+
<co-list-of-values *ngIf="showWarehouseSelection"
|
|
3348
|
+
[label]="wareHouseLabel"
|
|
3291
3349
|
[displayField]="'warehouseDescription'"
|
|
3292
3350
|
[collection]="dataWareHouseCode"
|
|
3293
3351
|
[multiselect]="false"
|
|
3294
3352
|
[required]="false"
|
|
3295
|
-
[readonly]="
|
|
3353
|
+
[readonly]="false"
|
|
3296
3354
|
[customCssClass]="'mini-scrollbar'"
|
|
3297
3355
|
[searchPlaceholder]="wareHouseSearchLabel"
|
|
3356
|
+
[model]="selectedWarehouse"
|
|
3298
3357
|
(modelChange)="onSelectWarehouse($event)"
|
|
3299
3358
|
>
|
|
3300
3359
|
</co-list-of-values>
|
|
@@ -3328,7 +3387,9 @@ TabBarComponent.propDecorators = {
|
|
|
3328
3387
|
secondaryTabs: [{ type: Input }],
|
|
3329
3388
|
ActivateSecondaryTabs: [{ type: Input }],
|
|
3330
3389
|
dataWareHouseCode: [{ type: Input }],
|
|
3331
|
-
article: [{ type: Input }]
|
|
3390
|
+
article: [{ type: Input }],
|
|
3391
|
+
showWarehouseSelection: [{ type: Input }],
|
|
3392
|
+
warehouseSelected: [{ type: Output }]
|
|
3332
3393
|
};
|
|
3333
3394
|
|
|
3334
3395
|
class TabBarModule {
|
|
@@ -3337,7 +3398,6 @@ TabBarModule.decorators = [
|
|
|
3337
3398
|
{ type: NgModule, args: [{
|
|
3338
3399
|
imports: [
|
|
3339
3400
|
CommonModule,
|
|
3340
|
-
DropDownModule,
|
|
3341
3401
|
ListOfValuesModule,
|
|
3342
3402
|
],
|
|
3343
3403
|
declarations: [
|
|
@@ -3521,7 +3581,7 @@ AllocationStockHistoryComponent.propDecorators = {
|
|
|
3521
3581
|
allocationStockHistory: [{ type: Input }]
|
|
3522
3582
|
};
|
|
3523
3583
|
|
|
3524
|
-
var GaugeColor;
|
|
3584
|
+
var GaugeColor$1;
|
|
3525
3585
|
(function (GaugeColor) {
|
|
3526
3586
|
GaugeColor["Lowest"] = "#E0E0E0";
|
|
3527
3587
|
GaugeColor["Low"] = "#fff7b8";
|
|
@@ -3529,154 +3589,11 @@ var GaugeColor;
|
|
|
3529
3589
|
GaugeColor["MediumHigh"] = "#ffc15b";
|
|
3530
3590
|
GaugeColor["High"] = "#F88952";
|
|
3531
3591
|
GaugeColor["Highest"] = "#5FDCB3";
|
|
3532
|
-
})(GaugeColor || (GaugeColor = {}));
|
|
3533
|
-
|
|
3534
|
-
class CoCircularGaugeComponent {
|
|
3535
|
-
constructor() {
|
|
3536
|
-
this._color = GaugeColor.Low;
|
|
3537
|
-
this.majorTicks = {
|
|
3538
|
-
height: 0,
|
|
3539
|
-
};
|
|
3540
|
-
this.minorTicks = {
|
|
3541
|
-
height: 0
|
|
3542
|
-
};
|
|
3543
|
-
this.labelStyle = {
|
|
3544
|
-
position: 'Inside', useRangeColor: true,
|
|
3545
|
-
font: { size: '0px', fontFamily: 'inherit' }
|
|
3546
|
-
};
|
|
3547
|
-
this.lineStyle = {
|
|
3548
|
-
width: 0
|
|
3549
|
-
};
|
|
3550
|
-
this.ranges = [
|
|
3551
|
-
{
|
|
3552
|
-
start: 1, end: 100,
|
|
3553
|
-
radius: '13px',
|
|
3554
|
-
startWidth: 3, endWidth: 3,
|
|
3555
|
-
color: '#E0E0E0',
|
|
3556
|
-
roundedCornerRadius: 0
|
|
3557
|
-
},
|
|
3558
|
-
];
|
|
3559
|
-
}
|
|
3560
|
-
set value(value) {
|
|
3561
|
-
this._value = value;
|
|
3562
|
-
this._setColor();
|
|
3563
|
-
}
|
|
3564
|
-
get value() {
|
|
3565
|
-
return this._value;
|
|
3566
|
-
}
|
|
3567
|
-
get color() {
|
|
3568
|
-
return this._color;
|
|
3569
|
-
}
|
|
3570
|
-
showClass() {
|
|
3571
|
-
return true;
|
|
3572
|
-
}
|
|
3573
|
-
getAxes() {
|
|
3574
|
-
return [{
|
|
3575
|
-
minimum: 0,
|
|
3576
|
-
maximum: 100,
|
|
3577
|
-
radius: '15px',
|
|
3578
|
-
startAngle: 1,
|
|
3579
|
-
endAngle: 360,
|
|
3580
|
-
majorTicks: this.majorTicks,
|
|
3581
|
-
minorTicks: this.minorTicks,
|
|
3582
|
-
labelStyle: this.labelStyle,
|
|
3583
|
-
lineStyle: this.lineStyle,
|
|
3584
|
-
ranges: this.ranges,
|
|
3585
|
-
pointers: this.getPointers(),
|
|
3586
|
-
annotations: this.getAnnotations(),
|
|
3587
|
-
}];
|
|
3588
|
-
}
|
|
3589
|
-
getPointers() {
|
|
3590
|
-
if (this.value) {
|
|
3591
|
-
return [{
|
|
3592
|
-
roundedCornerRadius: 0,
|
|
3593
|
-
value: this.value,
|
|
3594
|
-
type: 'RangeBar',
|
|
3595
|
-
radius: '13px',
|
|
3596
|
-
color: this.color,
|
|
3597
|
-
border: {
|
|
3598
|
-
width: 0
|
|
3599
|
-
},
|
|
3600
|
-
animation: {
|
|
3601
|
-
enable: false
|
|
3602
|
-
},
|
|
3603
|
-
pointerWidth: 3
|
|
3604
|
-
}];
|
|
3605
|
-
}
|
|
3606
|
-
}
|
|
3607
|
-
;
|
|
3608
|
-
getAnnotations() {
|
|
3609
|
-
if (this.value !== undefined) {
|
|
3610
|
-
const label = this.value ? this.value + "%" : "0%";
|
|
3611
|
-
return [{
|
|
3612
|
-
content: '<div class="annotation" style="width:20px;height:20px;">' +
|
|
3613
|
-
'<div class="annotation-label">' + label + '</div></div>',
|
|
3614
|
-
zIndex: '10',
|
|
3615
|
-
}];
|
|
3616
|
-
}
|
|
3617
|
-
}
|
|
3618
|
-
_setColor() {
|
|
3619
|
-
if (this.value <= 0) {
|
|
3620
|
-
this._color = GaugeColor.Lowest;
|
|
3621
|
-
}
|
|
3622
|
-
else if (this.value >= 1 && this.value < 25) {
|
|
3623
|
-
this._color = GaugeColor.Low;
|
|
3624
|
-
}
|
|
3625
|
-
else if (this.value >= 25 && this.value < 50) {
|
|
3626
|
-
this._color = GaugeColor.MediumLow;
|
|
3627
|
-
}
|
|
3628
|
-
else if (this.value >= 50 && this.value < 75) {
|
|
3629
|
-
this._color = GaugeColor.MediumHigh;
|
|
3630
|
-
}
|
|
3631
|
-
else if (this.value >= 75 && this.value < 100) {
|
|
3632
|
-
this._color = GaugeColor.High;
|
|
3633
|
-
}
|
|
3634
|
-
else if (this.value >= 100) {
|
|
3635
|
-
this._color = GaugeColor.Highest;
|
|
3636
|
-
}
|
|
3637
|
-
}
|
|
3638
|
-
}
|
|
3639
|
-
CoCircularGaugeComponent.decorators = [
|
|
3640
|
-
{ type: Component, args: [{
|
|
3641
|
-
selector: "co-circular-gauge",
|
|
3642
|
-
template: `
|
|
3643
|
-
<div class="circular-gauge-wrapper">
|
|
3644
|
-
<ejs-circulargauge
|
|
3645
|
-
class="circular-gauge"
|
|
3646
|
-
[width]="'100%'"
|
|
3647
|
-
[axes]="getAxes()">
|
|
3648
|
-
</ejs-circulargauge>
|
|
3649
|
-
</div>
|
|
3650
|
-
`,
|
|
3651
|
-
encapsulation: ViewEncapsulation.None
|
|
3652
|
-
},] }
|
|
3653
|
-
];
|
|
3654
|
-
CoCircularGaugeComponent.propDecorators = {
|
|
3655
|
-
circulargauge: [{ type: ViewChild, args: ['circulargauge',] }],
|
|
3656
|
-
value: [{ type: Input }],
|
|
3657
|
-
showClass: [{ type: HostBinding, args: ["class.co-circular-gauge",] }]
|
|
3658
|
-
};
|
|
3659
|
-
|
|
3660
|
-
class CoCircularGaugeModule {
|
|
3661
|
-
}
|
|
3662
|
-
CoCircularGaugeModule.decorators = [
|
|
3663
|
-
{ type: NgModule, args: [{
|
|
3664
|
-
imports: [
|
|
3665
|
-
CommonModule,
|
|
3666
|
-
CircularGaugeModule
|
|
3667
|
-
],
|
|
3668
|
-
declarations: [
|
|
3669
|
-
CoCircularGaugeComponent
|
|
3670
|
-
],
|
|
3671
|
-
exports: [
|
|
3672
|
-
CoCircularGaugeComponent
|
|
3673
|
-
]
|
|
3674
|
-
},] }
|
|
3675
|
-
];
|
|
3592
|
+
})(GaugeColor$1 || (GaugeColor$1 = {}));
|
|
3676
3593
|
|
|
3677
3594
|
class CoLinearGaugeComponent {
|
|
3678
3595
|
constructor() {
|
|
3679
|
-
this.color = GaugeColor.Low;
|
|
3596
|
+
this.color = GaugeColor$1.Low;
|
|
3680
3597
|
}
|
|
3681
3598
|
set value(value) {
|
|
3682
3599
|
this._value = value;
|
|
@@ -3693,22 +3610,22 @@ class CoLinearGaugeComponent {
|
|
|
3693
3610
|
}
|
|
3694
3611
|
_setColor() {
|
|
3695
3612
|
if (this.value <= 0) {
|
|
3696
|
-
this.color = GaugeColor.Lowest;
|
|
3613
|
+
this.color = GaugeColor$1.Lowest;
|
|
3697
3614
|
}
|
|
3698
3615
|
else if (this.value >= 1 && this.value < 25) {
|
|
3699
|
-
this.color = GaugeColor.Low;
|
|
3616
|
+
this.color = GaugeColor$1.Low;
|
|
3700
3617
|
}
|
|
3701
3618
|
else if (this.value >= 25 && this.value < 50) {
|
|
3702
|
-
this.color = GaugeColor.MediumLow;
|
|
3619
|
+
this.color = GaugeColor$1.MediumLow;
|
|
3703
3620
|
}
|
|
3704
3621
|
else if (this.value >= 50 && this.value < 75) {
|
|
3705
|
-
this.color = GaugeColor.MediumHigh;
|
|
3622
|
+
this.color = GaugeColor$1.MediumHigh;
|
|
3706
3623
|
}
|
|
3707
3624
|
else if (this.value >= 75 && this.value < 100) {
|
|
3708
|
-
this.color = GaugeColor.High;
|
|
3625
|
+
this.color = GaugeColor$1.High;
|
|
3709
3626
|
}
|
|
3710
3627
|
else if (this.value >= 100) {
|
|
3711
|
-
this.color = GaugeColor.Highest;
|
|
3628
|
+
this.color = GaugeColor$1.Highest;
|
|
3712
3629
|
}
|
|
3713
3630
|
}
|
|
3714
3631
|
}
|
|
@@ -3747,10 +3664,72 @@ CoLinearGaugeModule.decorators = [
|
|
|
3747
3664
|
},] }
|
|
3748
3665
|
];
|
|
3749
3666
|
|
|
3667
|
+
Chart.register(DoughnutController, ArcElement);
|
|
3668
|
+
var GaugeColor;
|
|
3669
|
+
(function (GaugeColor) {
|
|
3670
|
+
GaugeColor["Lowest"] = "#E0E0E0";
|
|
3671
|
+
GaugeColor["Low"] = "#fff7b8";
|
|
3672
|
+
GaugeColor["MediumLow"] = "#ffe367";
|
|
3673
|
+
GaugeColor["MediumHigh"] = "#ffc15b";
|
|
3674
|
+
GaugeColor["High"] = "#F88952";
|
|
3675
|
+
GaugeColor["Highest"] = "#5FDCB3";
|
|
3676
|
+
})(GaugeColor || (GaugeColor = {}));
|
|
3750
3677
|
class StatusbarPopupComponent {
|
|
3751
3678
|
constructor() {
|
|
3752
3679
|
this.statusbarData = [];
|
|
3753
3680
|
this.showClass = true;
|
|
3681
|
+
this.doughnutCharts = [];
|
|
3682
|
+
}
|
|
3683
|
+
set content(content) {
|
|
3684
|
+
this.doughnutCharts = content.toArray();
|
|
3685
|
+
this._prepareChartData();
|
|
3686
|
+
}
|
|
3687
|
+
ngOnInit() {
|
|
3688
|
+
this._prepareChartData();
|
|
3689
|
+
}
|
|
3690
|
+
_prepareChartData() {
|
|
3691
|
+
if (!this.doughnutCharts || this.doughnutCharts.length === 0) {
|
|
3692
|
+
return;
|
|
3693
|
+
}
|
|
3694
|
+
this.doughnutCharts.forEach((chart, index) => {
|
|
3695
|
+
new Chart(chart.nativeElement, {
|
|
3696
|
+
type: 'doughnut',
|
|
3697
|
+
data: {
|
|
3698
|
+
datasets: [{
|
|
3699
|
+
label: this.statusbarData[index].label,
|
|
3700
|
+
data: [Math.max(0.0001, this.statusbarData[index].percentage), 100 - Math.max(0.0001, this.statusbarData[index].percentage)],
|
|
3701
|
+
backgroundColor: [
|
|
3702
|
+
this._getColor(this.statusbarData[index].percentage),
|
|
3703
|
+
this._getColor(-1),
|
|
3704
|
+
],
|
|
3705
|
+
borderWidth: 1
|
|
3706
|
+
}]
|
|
3707
|
+
},
|
|
3708
|
+
options: {
|
|
3709
|
+
cutout: '70%'
|
|
3710
|
+
}
|
|
3711
|
+
});
|
|
3712
|
+
});
|
|
3713
|
+
}
|
|
3714
|
+
_getColor(value) {
|
|
3715
|
+
if (value <= 0) {
|
|
3716
|
+
return GaugeColor.Lowest;
|
|
3717
|
+
}
|
|
3718
|
+
else if (value >= 1 && value < 25) {
|
|
3719
|
+
return GaugeColor.Low;
|
|
3720
|
+
}
|
|
3721
|
+
else if (value >= 25 && value < 50) {
|
|
3722
|
+
return GaugeColor.MediumLow;
|
|
3723
|
+
}
|
|
3724
|
+
else if (value >= 50 && value < 75) {
|
|
3725
|
+
return GaugeColor.MediumHigh;
|
|
3726
|
+
}
|
|
3727
|
+
else if (value >= 75 && value < 100) {
|
|
3728
|
+
return GaugeColor.High;
|
|
3729
|
+
}
|
|
3730
|
+
else if (value >= 100) {
|
|
3731
|
+
return GaugeColor.Highest;
|
|
3732
|
+
}
|
|
3754
3733
|
}
|
|
3755
3734
|
}
|
|
3756
3735
|
StatusbarPopupComponent.decorators = [
|
|
@@ -3760,8 +3739,11 @@ StatusbarPopupComponent.decorators = [
|
|
|
3760
3739
|
<div class="co-statusbar-popup-wrapper" [overlay]="parentForOverlay">
|
|
3761
3740
|
<div class="status-descriptions">
|
|
3762
3741
|
<div *ngFor="let data of statusbarData; let index = index" class="status-description">
|
|
3763
|
-
<
|
|
3764
|
-
|
|
3742
|
+
<div class="statusbar-canvas-wrapper">
|
|
3743
|
+
<canvas #doughnutCanvas class="chart-canvas"></canvas>
|
|
3744
|
+
<span class="statusbar-inner-canvas-label" [textContent]="data.percentage"></span>
|
|
3745
|
+
</div>
|
|
3746
|
+
<span class="statusbar-description" [textContent]="data.label"></span>
|
|
3765
3747
|
</div>
|
|
3766
3748
|
</div>
|
|
3767
3749
|
</div>
|
|
@@ -3770,6 +3752,8 @@ StatusbarPopupComponent.decorators = [
|
|
|
3770
3752
|
},] }
|
|
3771
3753
|
];
|
|
3772
3754
|
StatusbarPopupComponent.propDecorators = {
|
|
3755
|
+
content: [{ type: ViewChildren, args: ['doughnutCanvas', { read: ElementRef },] }],
|
|
3756
|
+
defaultColor: [{ type: Input }],
|
|
3773
3757
|
statusbarData: [{ type: Input }],
|
|
3774
3758
|
parentForOverlay: [{ type: Input }],
|
|
3775
3759
|
showClass: [{ type: HostBinding, args: ["class.co-statusbar-popup",] }]
|
|
@@ -3801,7 +3785,7 @@ class StatusbarComponent {
|
|
|
3801
3785
|
}
|
|
3802
3786
|
event.preventDefault();
|
|
3803
3787
|
event.stopPropagation();
|
|
3804
|
-
this._statusbarPopupComponentRef = this._overlayService.createComponent(StatusbarPopupComponent, { parentForOverlay: this._elementRef, statusbarData: this.statusbarData });
|
|
3788
|
+
this._statusbarPopupComponentRef = this._overlayService.createComponent(StatusbarPopupComponent, { parentForOverlay: this._elementRef, statusbarData: this.statusbarData, defaultColor: this.defaultColor });
|
|
3805
3789
|
this.popupShowing = true;
|
|
3806
3790
|
}
|
|
3807
3791
|
handleHidePopup() {
|
|
@@ -3845,6 +3829,7 @@ StatusbarComponent.ctorParameters = () => [
|
|
|
3845
3829
|
];
|
|
3846
3830
|
StatusbarComponent.propDecorators = {
|
|
3847
3831
|
statusbarData: [{ type: Input }],
|
|
3832
|
+
defaultColor: [{ type: Input }],
|
|
3848
3833
|
focusedStatusIndex: [{ type: Input }],
|
|
3849
3834
|
statusbarClick: [{ type: Output }],
|
|
3850
3835
|
showClass: [{ type: HostBinding, args: ["class.co-statusbar",] }],
|
|
@@ -3857,7 +3842,6 @@ StatusbarModule.decorators = [
|
|
|
3857
3842
|
{ type: NgModule, args: [{
|
|
3858
3843
|
imports: [
|
|
3859
3844
|
CommonModule,
|
|
3860
|
-
CoCircularGaugeModule,
|
|
3861
3845
|
CoLinearGaugeModule,
|
|
3862
3846
|
ClickoutsideModule,
|
|
3863
3847
|
OverlayModule
|
|
@@ -3911,6 +3895,44 @@ StockStatusbarModule.decorators = [
|
|
|
3911
3895
|
},] }
|
|
3912
3896
|
];
|
|
3913
3897
|
|
|
3898
|
+
class StockPrognoseComponent {
|
|
3899
|
+
constructor(iconCacheService, _stockService) {
|
|
3900
|
+
this.iconCacheService = iconCacheService;
|
|
3901
|
+
this._stockService = _stockService;
|
|
3902
|
+
this.icons = Icon;
|
|
3903
|
+
}
|
|
3904
|
+
}
|
|
3905
|
+
StockPrognoseComponent.decorators = [
|
|
3906
|
+
{ type: Component, args: [{
|
|
3907
|
+
selector: "co-stock-prognose",
|
|
3908
|
+
template: `
|
|
3909
|
+
<co-simple-grid [data]="stockPrognose"
|
|
3910
|
+
class="simple-grid"
|
|
3911
|
+
[rowsPerPage]="20"
|
|
3912
|
+
>
|
|
3913
|
+
<co-simple-grid-column [headerText]="'AVAILABILITY'" [field]="'available'"></co-simple-grid-column>
|
|
3914
|
+
<co-simple-grid-column [headerText]="'FREE_STOCK'" [field]="'freeStock'"></co-simple-grid-column>
|
|
3915
|
+
<co-simple-grid-column [headerText]="'IN_ORDER'" [field]="'inOrder'"></co-simple-grid-column>
|
|
3916
|
+
<co-simple-grid-column [headerText]="'PURCHASE_ORDER'" [field]="'transNr'"></co-simple-grid-column>
|
|
3917
|
+
<co-simple-grid-column [headerText]="'PURCHASE_ORDER_DATE'" [field]="'transactionDate'"></co-simple-grid-column>
|
|
3918
|
+
<co-simple-grid-column [headerText]="'DELIVERY_DATE'" [field]="'docNr'"></co-simple-grid-column>
|
|
3919
|
+
<co-simple-grid-column [headerText]="'REFERENCE'" [field]="'reference'"></co-simple-grid-column>
|
|
3920
|
+
<co-simple-grid-column [headerText]="'DELIVERY_DATE_CONFIRMED'" [field]="'transConfirmedDate'"></co-simple-grid-column>
|
|
3921
|
+
<co-simple-grid-column [headerText]="'DATE_DELIVERED'" [field]="'transDeliveryDate'"></co-simple-grid-column>
|
|
3922
|
+
<co-simple-grid-column [headerText]="'FUTURE_FREE_STOCK'" [field]="'laterAvailable'"></co-simple-grid-column>
|
|
3923
|
+
</co-simple-grid>
|
|
3924
|
+
`,
|
|
3925
|
+
encapsulation: ViewEncapsulation.None
|
|
3926
|
+
},] }
|
|
3927
|
+
];
|
|
3928
|
+
StockPrognoseComponent.ctorParameters = () => [
|
|
3929
|
+
{ type: IconCacheService },
|
|
3930
|
+
{ type: StockService }
|
|
3931
|
+
];
|
|
3932
|
+
StockPrognoseComponent.propDecorators = {
|
|
3933
|
+
stockPrognose: [{ type: Input }]
|
|
3934
|
+
};
|
|
3935
|
+
|
|
3914
3936
|
class LocalizePipe {
|
|
3915
3937
|
constructor(_localizeService) {
|
|
3916
3938
|
this._localizeService = _localizeService;
|
|
@@ -3935,17 +3957,30 @@ LocalizePipe.ctorParameters = () => [
|
|
|
3935
3957
|
{ type: LocalizeService }
|
|
3936
3958
|
];
|
|
3937
3959
|
|
|
3960
|
+
class LocalizationModule {
|
|
3961
|
+
}
|
|
3962
|
+
LocalizationModule.decorators = [
|
|
3963
|
+
{ type: NgModule, args: [{
|
|
3964
|
+
imports: [
|
|
3965
|
+
CommonModule
|
|
3966
|
+
],
|
|
3967
|
+
declarations: [
|
|
3968
|
+
LocalizePipe
|
|
3969
|
+
],
|
|
3970
|
+
exports: [
|
|
3971
|
+
LocalizePipe
|
|
3972
|
+
]
|
|
3973
|
+
},] }
|
|
3974
|
+
];
|
|
3975
|
+
|
|
3938
3976
|
class StockModule {
|
|
3939
3977
|
}
|
|
3940
3978
|
StockModule.decorators = [
|
|
3941
3979
|
{ type: NgModule, args: [{
|
|
3942
3980
|
imports: [
|
|
3943
|
-
InputComboBoxModule,
|
|
3944
|
-
CoGridModule,
|
|
3945
3981
|
ButtonModule,
|
|
3946
3982
|
CommonModule,
|
|
3947
3983
|
InputRadioButtonModule,
|
|
3948
|
-
DropDownModule,
|
|
3949
3984
|
SimpleGridModule,
|
|
3950
3985
|
ImageModule,
|
|
3951
3986
|
InputTextModule,
|
|
@@ -3958,7 +3993,8 @@ StockModule.decorators = [
|
|
|
3958
3993
|
CoDialogModule,
|
|
3959
3994
|
StatusbarModule,
|
|
3960
3995
|
StockStatusbarModule,
|
|
3961
|
-
ListOfValuesModule
|
|
3996
|
+
ListOfValuesModule,
|
|
3997
|
+
LocalizationModule
|
|
3962
3998
|
],
|
|
3963
3999
|
declarations: [
|
|
3964
4000
|
StockComponent,
|
|
@@ -3977,7 +4013,7 @@ StockModule.decorators = [
|
|
|
3977
4013
|
OrderCommissionStockHistoryComponent,
|
|
3978
4014
|
OrderStockHistoryComponent,
|
|
3979
4015
|
AllocationStockHistoryComponent,
|
|
3980
|
-
|
|
4016
|
+
StockPrognoseComponent
|
|
3981
4017
|
],
|
|
3982
4018
|
exports: [
|
|
3983
4019
|
StockComponent
|
|
@@ -3989,6 +4025,61 @@ StockModule.decorators = [
|
|
|
3989
4025
|
},] }
|
|
3990
4026
|
];
|
|
3991
4027
|
|
|
4028
|
+
class Translation {
|
|
4029
|
+
constructor() {
|
|
4030
|
+
this.ALLOCATED = 'ALLOCATED';
|
|
4031
|
+
this.ALLOCATION = 'ALLOCATION';
|
|
4032
|
+
this.ALREADY_IN_ORDER = 'ALREADY_IN_ORDER';
|
|
4033
|
+
this.AMOUNT = 'AMOUNT';
|
|
4034
|
+
this.AMOUNT_AVAILABLE = 'AMOUNT_AVAILABLE';
|
|
4035
|
+
this.AMOUNT_IN_STOCK = 'AMOUNT_IN_STOCK';
|
|
4036
|
+
this.AMOUNT_LATER_AVAILABLE = 'AMOUNT_LATER_AVAILABLE';
|
|
4037
|
+
this.AVAILABLE_STOCK = 'AVAILABLE_STOCK';
|
|
4038
|
+
this.BACK_TO_STOCK_LINES = 'BACK_TO_STOCK_LINES';
|
|
4039
|
+
this.BATCH = 'BATCH';
|
|
4040
|
+
this.CANCEL = 'CANCEL';
|
|
4041
|
+
this.CHOICES = 'CHOICES';
|
|
4042
|
+
this.CUSTOMER = 'CUSTOMER';
|
|
4043
|
+
this.DATE = 'DATE';
|
|
4044
|
+
this.DELIVERY_DATE = 'DELIVERY_DATE';
|
|
4045
|
+
this.DESCRIPTION = 'DESCRIPTION';
|
|
4046
|
+
this.DOCUMENT_NUMBER = 'DOCUMENT_NUMBER';
|
|
4047
|
+
this.ECONOMICAL_STOCK = 'ECONOMICAL_STOCK';
|
|
4048
|
+
this.FREE_STOCK = 'FREE_STOCK';
|
|
4049
|
+
this.HISTORY = 'HISTORY';
|
|
4050
|
+
this.IN_ORDER = 'IN_ORDER';
|
|
4051
|
+
this.LINE = 'LINE';
|
|
4052
|
+
this.LOCATION = 'LOCATION';
|
|
4053
|
+
this.LOOK_AT = 'LOOK_AT';
|
|
4054
|
+
this.MUTATION_DATE = 'MUTATION_DATE';
|
|
4055
|
+
this.MUTATION_TIME = 'MUTATION_TIME';
|
|
4056
|
+
this.MUTATION_TYPE = 'MUTATION_TYPE';
|
|
4057
|
+
this.OK = 'OK';
|
|
4058
|
+
this.ORDER = 'ORDER';
|
|
4059
|
+
this.ORDER_COMMISSION = 'ORDER_COMMISSION';
|
|
4060
|
+
this.ORDER_STOCK = 'ORDER_STOCK';
|
|
4061
|
+
this.OVERVIEW = 'OVERVIEW';
|
|
4062
|
+
this.PURCHASE_ORDER_NR = 'PURCHASE_ORDER_NR';
|
|
4063
|
+
this.PURCHASE_PRICE = 'PURCHASE_PRICE';
|
|
4064
|
+
this.RELATION_ID = 'RELATION_ID';
|
|
4065
|
+
this.RELATION_NR = 'RELATION_NR';
|
|
4066
|
+
this.RESERVED = 'RESERVED';
|
|
4067
|
+
this.SEARCH = 'SEARCH';
|
|
4068
|
+
this.SERIAL_NO = 'SERIAL_NO';
|
|
4069
|
+
this.STICKER = 'STICKER';
|
|
4070
|
+
this.STOCK = 'STOCK';
|
|
4071
|
+
this.STOCK_DETAILS = 'STOCK_DETAILS';
|
|
4072
|
+
this.STOCK_REMARK = 'STOCK_REMARK';
|
|
4073
|
+
this.STOCK_STATE = 'STOCK_STATE';
|
|
4074
|
+
this.STOCK_STATUS = 'STOCK_STATUS';
|
|
4075
|
+
this.SUPPLIER_NUMBER = 'SUPPLIER_NUMBER';
|
|
4076
|
+
this.TRANSFER = 'TRANSFER';
|
|
4077
|
+
this.USER = 'USER';
|
|
4078
|
+
this.VALUTA = 'VALUTA';
|
|
4079
|
+
this.WAREHOUSE = 'WAREHOUSE';
|
|
4080
|
+
}
|
|
4081
|
+
}
|
|
4082
|
+
|
|
3992
4083
|
var KeyboardCode;
|
|
3993
4084
|
(function (KeyboardCode) {
|
|
3994
4085
|
KeyboardCode["Backspace"] = "Backspace";
|
|
@@ -6229,5 +6320,5 @@ DatePlanningModule.decorators = [
|
|
|
6229
6320
|
* Generated bundle index. Do not edit.
|
|
6230
6321
|
*/
|
|
6231
6322
|
|
|
6232
|
-
export {
|
|
6323
|
+
export { CoLinearGaugeComponent, CoLinearGaugeModule, DatePlanningComponent, DatePlanningModule, DocsignComponent, DocsignModule, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, SendMethodDialogComponent, SendMethodDialogModule, SharedService, StatusbarComponent, StatusbarModule, StockComponent, StockModule, Translation, sendMethodsWithIcon, SignatureComponent as ɵa, SignaturesComponent as ɵb, StockInformationComponent as ɵba, StockInformationGridComponent as ɵbb, StockTransferComponent as ɵbc, StockChangeAmountComponent as ɵbd, StockTabComponent as ɵbe, OrderTabComponent as ɵbf, StockTabsComponent as ɵbg, StockHistoryTabsComponent as ɵbh, OrderStockTabComponent as ɵbi, StockLocationComponent as ɵbj, StockHistoryComponent as ɵbk, OrderSupplyStockHistoryComponent as ɵbl, OrderCommissionStockHistoryComponent as ɵbm, OrderStockHistoryComponent as ɵbn, AllocationStockHistoryComponent as ɵbo, StockPrognoseComponent as ɵbp, SendMethod as ɵbq, Icon as ɵbr, CalendarAllYearsComponent as ɵbs, CalendarAllMonthsComponent as ɵbt, CalendarHeaderComponent as ɵbu, CalendarComponent as ɵbv, CalendarViewComponent as ɵbw, LanguageCode as ɵbx, AgendaHeaderComponent as ɵby, AgendaViewComponent as ɵbz, StockService as ɵc, AgendaMonthViewComponent as ɵca, AgendaBaseViewComponent as ɵcb, AgendaDayViewComponent as ɵcc, AgendaWeekViewComponent as ɵcd, AgendaWeekSelectViewComponent as ɵce, AgendaHourViewComponent as ɵcf, AgendaHourCellComponent as ɵcg, AgendaHourViewLabelsComponent as ɵch, AgendaHalfHourCellComponent as ɵci, AgendaEventsComponent as ɵcj, AgendaEventComponent as ɵck, ViewSelectComponent as ɵcl, AgendaSelectEventComponent as ɵcm, MASTER_PIPES as ɵcn, ArrayNumberPipe as ɵco, UCfirstPipe as ɵcp, SharedConnectorService as ɵd, OptionsService as ɵe, DictionaryService as ɵf, LocalizeService as ɵg, IconCacheService as ɵh, SendMethodService as ɵi, SendMethodEmailModule as ɵj, LayoutSelectionModule as ɵk, LayoutSelectionComponent as ɵl, SignatureButtonModule as ɵm, SignatureButtonComponent as ɵn, SendMethodEmailComponent as ɵo, SendMethodPrinterModule as ɵp, PrinterSelectionModule as ɵq, PrinterSelectionComponent as ɵr, SendMethodPrinterComponent as ɵs, TabBarModule as ɵt, TabBarComponent as ɵu, StatusbarPopupComponent as ɵv, StockStatusbarModule as ɵw, StockStatusbarComponent as ɵx, LocalizationModule as ɵy, LocalizePipe as ɵz };
|
|
6233
6324
|
//# sourceMappingURL=colijnit-sharedcomponents.js.map
|