@colijnit/sharedcomponents 1.0.9 → 1.0.12
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 +271 -142
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +23 -5
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +4 -3
- package/esm2015/lib/components/stock/stock-information/stock-information.component.js +16 -18
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +58 -54
- package/esm2015/lib/components/stock/stock-location/stock-location.component.js +10 -4
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +7 -7
- package/esm2015/lib/components/stock/stock.component.js +46 -6
- package/esm2015/lib/components/stock/stock.module.js +4 -3
- package/esm2015/lib/service/ione-connector-adapter.service.js +50 -3
- package/esm2015/lib/service/stock.service.js +11 -3
- package/fesm2015/colijnit-sharedcomponents.js +301 -184
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +6 -2
- package/lib/components/send-method-dialog/style/_layout.scss +7 -1
- package/lib/components/stock/stock-information/stock-information.component.d.ts +4 -1
- package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +20 -16
- package/lib/components/stock/stock-location/stock-location.component.d.ts +4 -0
- package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +2 -1
- package/lib/components/stock/stock.component.d.ts +16 -3
- package/lib/service/ione-connector-adapter.service.d.ts +6 -1
- package/lib/service/stock.service.d.ts +7 -3
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import { CommonModule } from '@angular/common';
|
|
|
9
9
|
import SignaturePad from 'signature_pad';
|
|
10
10
|
import { Articles } from '@colijnit/articleapi/build/articles';
|
|
11
11
|
import { Sharedapi } from '@colijnit/sharedapi/build/sharedapi';
|
|
12
|
-
import { Printer } from '@colijnit/sharedapi/build/model/printer.bo';
|
|
12
|
+
import { Printer } from '@colijnit/sharedapi/build/model/report/printer.bo';
|
|
13
13
|
import { notNill } from '@colijnit/articleapi/build/utils/function/not-nill.function';
|
|
14
14
|
import { ObjectUtils } from '@colijnit/articleapi/build/utils/object-utils';
|
|
15
15
|
import { GetYesNoDbBooleanValue } from '@colijnit/articleapi/build/enum/yes-no-db-type.enum';
|
|
@@ -26,9 +26,13 @@ import { ComplexArrayDecorator as ComplexArrayDecorator$1 } from '@colijnit/arti
|
|
|
26
26
|
import { PrintStockStickers } from '@colijnit/articleapi/build/model/print-stock-stickers';
|
|
27
27
|
import { ArticleFlat } from '@colijnit/articleapi/build/model/article-flat.bo';
|
|
28
28
|
import { ArticlesPublic } from '@colijnit/articleapi/build/articles-public';
|
|
29
|
-
import {
|
|
29
|
+
import { PrintJob } from '@colijnit/sharedapi/build/model/report/print-job';
|
|
30
|
+
import { ArticleStockBo } from '@colijnit/articleapi/build/model/article-stock.bo';
|
|
31
|
+
import { ArticleStock } from '@colijnit/articleapi/build/model/article-stock';
|
|
32
|
+
import { CoDialogPromptModule, InputCheckboxModule, InputComboBoxModule, IconModule, InputNumberPickerModule, CoDialogWizardModule, ButtonModule, CoGridModule, InputRadioButtonModule, DropDownModule, SimpleGridModule, ImageModule, InputTextModule } from '@colijnit/corecomponents_v12';
|
|
30
33
|
import * as i1 from '@angular/platform-browser';
|
|
31
34
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
35
|
+
import { PrintStockStickers as PrintStockStickers$1 } from '@colijnit/sharedapi/build/model/print-stock-stickers';
|
|
32
36
|
|
|
33
37
|
class DocsignComponent {
|
|
34
38
|
constructor() {
|
|
@@ -1061,7 +1065,7 @@ class IoneConnectorAdapterService {
|
|
|
1061
1065
|
getAllPrinters(showAll = true) {
|
|
1062
1066
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1063
1067
|
return new Promise((resolve, reject) => {
|
|
1064
|
-
return this.sharedConnector.
|
|
1068
|
+
return this.sharedConnector.listAllPrinters(showAll).then((result) => {
|
|
1065
1069
|
if (result.validationResult && result.validationResult.success) {
|
|
1066
1070
|
if (result.resultObject) {
|
|
1067
1071
|
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(Printer, result.resultObject));
|
|
@@ -1090,6 +1094,35 @@ class IoneConnectorAdapterService {
|
|
|
1090
1094
|
});
|
|
1091
1095
|
});
|
|
1092
1096
|
}
|
|
1097
|
+
// public async getPrintLayouts(defaultPrinterName: PrintJob): Promise<PrintJob> {
|
|
1098
|
+
// return new Promise((resolve: Function, reject: Function) => {
|
|
1099
|
+
// return this.sharedConnector.getPrintTemplates(defaultPrinterName).then((result: DataServiceResponse) => {
|
|
1100
|
+
// if (result.validationResult && result.validationResult.success) {
|
|
1101
|
+
// if (result.resultObject) {
|
|
1102
|
+
// resolve(this._boFactory.makeWithRawBackendData(PrintJob, result.resultObject));
|
|
1103
|
+
// }
|
|
1104
|
+
// } else {
|
|
1105
|
+
// reject(result.validationMessagesAsString);
|
|
1106
|
+
// }
|
|
1107
|
+
// })
|
|
1108
|
+
// })
|
|
1109
|
+
// }
|
|
1110
|
+
getStockHistory(request) {
|
|
1111
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1112
|
+
return new Promise((resolve, reject) => {
|
|
1113
|
+
return this.connector.getStockHistory(request).then((result) => {
|
|
1114
|
+
if (result.validationResult && result.validationResult.success) {
|
|
1115
|
+
if (result.resultObject) {
|
|
1116
|
+
resolve(this._boFactory.makeWithRawBackendData(PrintJob, result.resultObject));
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
else {
|
|
1120
|
+
reject(result.validationMessagesAsString);
|
|
1121
|
+
}
|
|
1122
|
+
});
|
|
1123
|
+
});
|
|
1124
|
+
});
|
|
1125
|
+
}
|
|
1093
1126
|
getArticleFullObject(goodId) {
|
|
1094
1127
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1095
1128
|
return new Promise((resolve, reject) => {
|
|
@@ -1121,6 +1154,22 @@ class IoneConnectorAdapterService {
|
|
|
1121
1154
|
});
|
|
1122
1155
|
});
|
|
1123
1156
|
}
|
|
1157
|
+
getStockInformation(data) {
|
|
1158
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1159
|
+
return new Promise((resolve, reject) => {
|
|
1160
|
+
return this.connector.getStockInformation(data).then((result) => {
|
|
1161
|
+
if (result.validationResult && result.validationResult.success) {
|
|
1162
|
+
if (result.resultObjects) {
|
|
1163
|
+
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(ArticleStockBo, result.resultObjects));
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
else {
|
|
1167
|
+
reject(result.validationMessagesAsString);
|
|
1168
|
+
}
|
|
1169
|
+
});
|
|
1170
|
+
});
|
|
1171
|
+
});
|
|
1172
|
+
}
|
|
1124
1173
|
getWarehouses(goodId) {
|
|
1125
1174
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1126
1175
|
return new Promise((resolve, reject) => {
|
|
@@ -1163,9 +1212,17 @@ class StockService {
|
|
|
1163
1212
|
return yield this._connector.getAllPrinters(showAll);
|
|
1164
1213
|
});
|
|
1165
1214
|
}
|
|
1166
|
-
|
|
1215
|
+
// public async getPrintTemplates(defaultPrinterName: PrintJob): Promise<PrintJob> {
|
|
1216
|
+
// return await this._connector.getPrintLayouts(defaultPrinterName);
|
|
1217
|
+
// }
|
|
1218
|
+
getStockHistory(data) {
|
|
1167
1219
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1168
|
-
|
|
1220
|
+
yield this._connector.getStockHistory(data);
|
|
1221
|
+
});
|
|
1222
|
+
}
|
|
1223
|
+
getStockInformation(data) {
|
|
1224
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1225
|
+
return yield this._connector.getStockInformation(data);
|
|
1169
1226
|
});
|
|
1170
1227
|
}
|
|
1171
1228
|
}
|
|
@@ -1190,11 +1247,17 @@ class StockComponent {
|
|
|
1190
1247
|
showClass() {
|
|
1191
1248
|
return true;
|
|
1192
1249
|
}
|
|
1250
|
+
ngAfterViewInit() {
|
|
1251
|
+
if (this.article) {
|
|
1252
|
+
this.getStockInformation(this.article);
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1193
1255
|
backToStockLinesClicked() {
|
|
1194
1256
|
this.showStockLocation = false;
|
|
1195
1257
|
this.showStockInformationGrid = true;
|
|
1196
1258
|
}
|
|
1197
1259
|
handleStockTransferClick(event) {
|
|
1260
|
+
this.stockTransferArticle = event;
|
|
1198
1261
|
this.showStockTransfer = !this.showStockTransfer;
|
|
1199
1262
|
this.showStockInformationGrid = !this.showStockInformationGrid;
|
|
1200
1263
|
this.stockService.stockStickers = new PrintStockStickers();
|
|
@@ -1203,25 +1266,57 @@ class StockComponent {
|
|
|
1203
1266
|
this.showStockTransfer = !this.showStockTransfer;
|
|
1204
1267
|
this.showStockInformationGrid = !this.showStockInformationGrid;
|
|
1205
1268
|
}
|
|
1269
|
+
loadStockHistory(data) {
|
|
1270
|
+
this.stockService.getStockHistory(data);
|
|
1271
|
+
}
|
|
1272
|
+
buttonClick() {
|
|
1273
|
+
this.getStockInformation(this.article);
|
|
1274
|
+
}
|
|
1275
|
+
getStockInformation(data) {
|
|
1276
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1277
|
+
const articleData = new ArticleStock();
|
|
1278
|
+
articleData.goodId = data.goodId.toString();
|
|
1279
|
+
articleData.viewKind = "M";
|
|
1280
|
+
this.stockInformation = yield this.stockService.getStockInformation(articleData);
|
|
1281
|
+
// const allAvailableStock = this.stockInformation.reduce((a, b) => a.availableStock + b.availableStock ? a : b);
|
|
1282
|
+
});
|
|
1283
|
+
}
|
|
1284
|
+
getStockLocationInformation(data) {
|
|
1285
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1286
|
+
this.stockLocationInformation = yield this.stockService.getStockInformation(data);
|
|
1287
|
+
});
|
|
1288
|
+
}
|
|
1206
1289
|
}
|
|
1207
1290
|
StockComponent.decorators = [
|
|
1208
1291
|
{ type: Component, args: [{
|
|
1209
1292
|
selector: "co-stock",
|
|
1210
1293
|
template: `
|
|
1211
1294
|
<div class="stock-info-container">
|
|
1212
|
-
<co-stock-information [article]="
|
|
1295
|
+
<co-stock-information [article]="article"
|
|
1296
|
+
[articleStock]="">
|
|
1297
|
+
|
|
1298
|
+
</co-stock-information>
|
|
1213
1299
|
<hr>
|
|
1214
|
-
<co-stock-information-grid *ngIf="showStockInformationGrid"
|
|
1215
|
-
|
|
1300
|
+
<co-stock-information-grid *ngIf="showStockInformationGrid"
|
|
1301
|
+
[stockLocationData]="stockLocationInformation"
|
|
1302
|
+
(locationLineClicked)="getStockLocationInformation($event)"
|
|
1303
|
+
[articleStockInformation]="stockInformation"
|
|
1304
|
+
(transferIconClicked)="handleStockTransferClick($event)">
|
|
1305
|
+
</co-stock-information-grid>
|
|
1306
|
+
<co-stock-location *ngIf="showStockLocation"
|
|
1307
|
+
(backToStockLines)="backToStockLinesClicked()">
|
|
1308
|
+
|
|
1309
|
+
</co-stock-location>
|
|
1216
1310
|
<co-stock-transfer *ngIf="showStockTransfer"
|
|
1217
1311
|
(handleCancelClicked)="backToStock()"
|
|
1218
|
-
|
|
1312
|
+
[article]="stockTransferArticle"
|
|
1219
1313
|
[stockSticker]="stockService.stockStickers"
|
|
1220
1314
|
(handleStickerClicked)="handleStickerClicked.emit($event)"
|
|
1221
1315
|
[articleWarehouse]="articleWarehouse"
|
|
1222
1316
|
[allWarehouses]="allWarehouses"
|
|
1223
1317
|
>
|
|
1224
1318
|
</co-stock-transfer>
|
|
1319
|
+
<co-button (click)="buttonClick()"></co-button>
|
|
1225
1320
|
</div>
|
|
1226
1321
|
`,
|
|
1227
1322
|
encapsulation: ViewEncapsulation.None
|
|
@@ -1234,7 +1329,7 @@ StockComponent.propDecorators = {
|
|
|
1234
1329
|
stock: [{ type: ViewChild, args: [StockComponent,] }],
|
|
1235
1330
|
handleStickerClicked: [{ type: Output }],
|
|
1236
1331
|
options: [{ type: Input }],
|
|
1237
|
-
|
|
1332
|
+
article: [{ type: Input }],
|
|
1238
1333
|
articleWarehouse: [{ type: Input }],
|
|
1239
1334
|
allWarehouses: [{ type: Input }],
|
|
1240
1335
|
showClass: [{ type: HostBinding, args: ["class.co-stock",] }]
|
|
@@ -1251,40 +1346,37 @@ StockInformationComponent.decorators = [
|
|
|
1251
1346
|
{ type: Component, args: [{
|
|
1252
1347
|
selector: "co-stock-information",
|
|
1253
1348
|
template: `
|
|
1254
|
-
<div class="stock-info">
|
|
1255
|
-
<div class="stock-info-row">
|
|
1349
|
+
<div class="stock-info" *ngIf="article">
|
|
1350
|
+
<div class="stock-info-row" >
|
|
1256
1351
|
<div class="stock-info-row-image">
|
|
1257
1352
|
<div class="stock-image">
|
|
1258
|
-
<co-image class="stock-image" [source]="article
|
|
1353
|
+
<co-image class="stock-image" [source]="article.imageData"></co-image>
|
|
1259
1354
|
</div>
|
|
1260
1355
|
</div>
|
|
1261
1356
|
<div class="stock-good-info">
|
|
1262
1357
|
<div>
|
|
1263
|
-
<span [textContent]="article
|
|
1358
|
+
<span [textContent]="article.description"></span>
|
|
1264
1359
|
</div>
|
|
1265
1360
|
<div>
|
|
1266
|
-
<span [textContent]="article
|
|
1361
|
+
<span [textContent]="article.articleNumber"></span>
|
|
1267
1362
|
</div>
|
|
1268
1363
|
</div>
|
|
1269
1364
|
</div>
|
|
1270
1365
|
<div class="stock-status">
|
|
1271
|
-
<label [textContent]="
|
|
1366
|
+
<label [textContent]="'STOCK_STATUS'"></label>
|
|
1367
|
+
<span [textContent]="article.stockStatus"></span>
|
|
1272
1368
|
</div>
|
|
1273
1369
|
<div class="stock-status">
|
|
1274
|
-
<label [textContent]="'
|
|
1275
|
-
<span></span>
|
|
1370
|
+
<label [textContent]="'AMOUNT_IN_STOCK'"></label>
|
|
1371
|
+
<span [textContent]="article.stockAvailable"></span>
|
|
1276
1372
|
</div>
|
|
1277
1373
|
<div class="stock-status">
|
|
1278
|
-
<label [textContent]="
|
|
1279
|
-
<span
|
|
1374
|
+
<label [textContent]="'AMOUNT_AVAILABLE'"></label>
|
|
1375
|
+
<span [textContent]=""></span>
|
|
1280
1376
|
</div>
|
|
1281
1377
|
<div class="stock-status">
|
|
1282
|
-
<label [textContent]="'
|
|
1283
|
-
<span></span>
|
|
1284
|
-
</div>
|
|
1285
|
-
<div class="stock-status">
|
|
1286
|
-
<label [textContent]="'PHYSICAL_STOCK'"></label>
|
|
1287
|
-
<span></span>
|
|
1378
|
+
<label [textContent]="'AMOUNT_LATER_AVAILABLE'"></label>
|
|
1379
|
+
<span [textContent]=""></span>
|
|
1288
1380
|
</div>
|
|
1289
1381
|
</div>
|
|
1290
1382
|
`,
|
|
@@ -1293,34 +1385,115 @@ StockInformationComponent.decorators = [
|
|
|
1293
1385
|
];
|
|
1294
1386
|
StockInformationComponent.ctorParameters = () => [];
|
|
1295
1387
|
StockInformationComponent.propDecorators = {
|
|
1296
|
-
article: [{ type: Input }]
|
|
1388
|
+
article: [{ type: Input }],
|
|
1389
|
+
articleStock: [{ type: Input }]
|
|
1390
|
+
};
|
|
1391
|
+
|
|
1392
|
+
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
1393
|
+
const IconSvg = {
|
|
1394
|
+
"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>",
|
|
1395
|
+
"arrow_point_down": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"-280 371 51 51\" enable-background=\"new -280 371 51 51\" ><path fill=\"#29363E\" d=\"M-248.3,392.2c0.3,0,0.6,0.1,0.8,0.3c0.5,0.5,0.5,1.2,0,1.6l-6.2,6.2c-0.2,0.2-0.5,0.3-0.8,0.3c-0.3,0-0.6-0.1-0.8-0.3l-6.2-6.2c-0.2-0.2-0.3-0.5-0.3-0.8c0-0.3,0.1-0.6,0.3-0.8c0.2-0.2,0.5-0.3,0.8-0.3c0.3,0,0.6,0.1,0.8,0.3l5.4,5.4l5.4-5.4C-248.9,392.4-248.6,392.2-248.3,392.2z\"/></svg>",
|
|
1396
|
+
"arrow_point_left": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 51 51\" enable-background=\"new 0 0 51 51\" ><path fill=\"#484F5F\" d=\"M31.9,36.7l-14.7-9.6C17.1,27,17,26.9,17,26.7v-2.4c0-0.2,0.1-0.3,0.2-0.4l14.7-9.6c0.2-0.2,0.5-0.1,0.7,0.1l1.4,2.1c0.2,0.2,0.1,0.5-0.1,0.7l-12,7.8c-0.3,0.2-0.3,0.6,0,0.8l12,7.8c0.2,0.2,0.3,0.5,0.1,0.7l-1.4,2.1C32.4,36.8,32.1,36.8,31.9,36.7z\"/></svg>",
|
|
1397
|
+
"arrow_point_right": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 51 51\" enable-background=\"new 0 0 51 51\" ><path fill=\"#484F5F\" d=\"M19.1,14.3l14.7,9.6c0.1,0.1,0.2,0.2,0.2,0.4v2.4c0,0.2-0.1,0.3-0.2,0.4l-14.7,9.6c-0.2,0.2-0.5,0.1-0.7-0.1l-1.4-2.1c-0.2-0.2-0.1-0.5,0.1-0.7l12-7.8c0.3-0.2,0.3-0.6,0-0.8l-12-7.8c-0.2-0.2-0.3-0.5-0.1-0.7l1.4-2.1C18.6,14.2,18.9,14.2,19.1,14.3z\"/></svg>",
|
|
1398
|
+
"calendar_day": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 50 50\" enable-background=\"new 0 0 50 50\" ><g><path fill=\"#022D42\" d=\"M35.4,13.7H14.6c-0.6,0-1,0.5-1,1V20h22.9v-5.2C36.4,14.2,36,13.7,35.4,13.7z M19,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8c1,0,1.8,0.8,1.8,1.8C20.8,18,20,18.8,19,18.8z M31,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8s1.8,0.8,1.8,1.8C32.7,18,32,18.8,31,18.8z\"/><path fill=\"#022D42\" d=\"M35.4,22.3v12.6L31.3,39H14.6c0,0,0,0,0,0V22.3H35.4 M36.4,21.3H13.6V39c0,0.6,0.5,1,1,1h17.2l4.7-4.7V21.3L36.4,21.3z\"/><rect x=\"18.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"30.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"18.6\" y=\"30.5\" fill=\"#022D42\" width=\"3.4\" height=\"3.4\"/><rect x=\"19.1\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/></g></svg>",
|
|
1399
|
+
"cancel": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"36 35.16 30.45 35.16 14 14.84 19.55 14.84 36 35.16\" fill=\"#484f60\"/><polygon points=\"14 35.16 19.55 35.16 36 14.84 30.45 14.84 14 35.16\" fill=\"#484f60\"/></svg>",
|
|
1400
|
+
"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>",
|
|
1401
|
+
"edit_pencil": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"12.54 38.16 12 37.62 14.85 29.64 20.52 35.31 12.54 38.16\" fill=\"#484f60\"/><rect x=\"16.33\" y=\"20.52\" width=\"17.99\" height=\"8.64\" transform=\"translate(-10.15 25.18) rotate(-45)\" fill=\"#484f60\"/><path d=\"M37.54,18.73,36,20.32l-6.11-6.1,1.59-1.59a1.55,1.55,0,0,1,2.2,0l3.91,3.9A1.55,1.55,0,0,1,37.54,18.73Z\" fill=\"#484f60\"/></svg>",
|
|
1402
|
+
"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>",
|
|
1403
|
+
"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>",
|
|
1404
|
+
"plus_round": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"-288 379 35 35\" enable-background=\"new -288 379 35 35\" ><path fill=\"#29363E\" d=\"M-270.5,381.5c-8.3,0-15,6.7-15,15c0,8.3,6.7,15,15,15s15-6.7,15-15C-255.5,388.2-262.2,381.5-270.5,381.5z M-261.1,397.3c0,0.9-0.7,1.6-1.6,1.6h-5.5v5.5c0,0.9-0.7,1.6-1.6,1.6h-1.6c-0.9,0-1.6-0.7-1.6-1.6v-5.5h-5.5c-0.9,0-1.6-0.7-1.6-1.6v-1.6c0-0.9,0.7-1.6,1.6-1.6h5.5v-5.5c0-0.9,0.7-1.6,1.6-1.6h1.6c0.9,0,1.6,0.7,1.6,1.6v5.5h5.5c0.9,0,1.6,0.7,1.6,1.6V397.3z\"/></svg>",
|
|
1405
|
+
"print": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M38,16.5H12a2,2,0,0,0-2,2v9a2,2,0,0,0,2,2h2v-5H36v5h2a2,2,0,0,0,2-2v-9A2,2,0,0,0,38,16.5ZM37,21a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,37,21Z\" fill=\"#484f60\"/><path d=\"M35,11.5v5H15v-5H35m1-1H14v7H36v-7Z\" fill=\"#484f60\"/><path d=\"M35,25.5v13H15v-13H35m1-1H14v15H36v-15Z\" fill=\"#484f60\"/><rect x=\"17\" y=\"28.3\" width=\"16\" height=\"0.8\" fill=\"#484f60\"/><rect x=\"17\" y=\"31.5\" width=\"16\" height=\"0.8\" fill=\"#484f60\"/><rect x=\"17\" y=\"34.7\" width=\"16\" height=\"0.8\" fill=\"#484f60\"/></svg>",
|
|
1406
|
+
"signature_field": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M20.1,25.42a1.1,1.1,0,1,1,1.27,1.45l-3.3,9.07A63.13,63.13,0,0,1,28,28.3l1.26-12-8.26-3-6.77,10A62.4,62.4,0,0,1,17,35.54l3.3-9.07A1.12,1.12,0,0,1,20.1,25.42Z\" fill=\"#484f60\"/><rect x=\"21.62\" y=\"11.43\" width=\"8.79\" height=\"2.34\" transform=\"translate(5.88 -8.14) rotate(20)\" fill=\"#484f60\"/><path d=\"M18.11,37.48c1.44,2.65,4.58,2.94,7.23,2.1,1.41-.44,2.2-1.49,3.44-2.06,2.42-1.1,3.13,1.2,5.36,1.37.42,0,2-.65,1.54-.68-2.55-.19-2.93-3.13-5.51-2.65a4.9,4.9,0,0,0-1.64.71c-.77.49-1.31,1.62-2.07,2l-4.61.56A3.38,3.38,0,0,1,20,37c-.22-.41-2,.28-1.85.5Z\" fill=\"#484f60\"/></svg>",
|
|
1407
|
+
"tag": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M40,29.15v-.68a5.28,5.28,0,0,0-1.34-3.25L24.78,11.34A5.34,5.34,0,0,0,21.53,10H11.9A1.91,1.91,0,0,0,10,11.9v9.63a5.28,5.28,0,0,0,1.34,3.25L25.22,38.66A5.28,5.28,0,0,0,28.47,40h.68a5.28,5.28,0,0,0,3.24-1.34l6.27-6.27A5.28,5.28,0,0,0,40,29.15ZM13.13,16.72a2.54,2.54,0,1,1,3.59,0A2.55,2.55,0,0,1,13.13,16.72Zm15.9,19L17.84,24.55l1.34-1.34L30.37,34.4Zm2.69-2.69L20.52,21.87l1.35-1.35,11.19,11.2Zm2.68-2.69L23.21,19.18l1.34-1.34L35.75,29Z\" fill=\"#484f60\"/></svg>",
|
|
1408
|
+
"thick_lines": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"12.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/><rect x=\"10\" y=\"21.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/><rect x=\"10\" y=\"30.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/></svg>",
|
|
1409
|
+
"thin_lines": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"14.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"20.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"26.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"32.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/></svg>",
|
|
1410
|
+
"txt": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.42,40.17H13.87c-2.15,0-2.71-.56-2.71-2.72V12.88c0-2.15.56-2.71,2.71-2.71H25.48l8.66,8.88v3.43H32.8V19.6l-7.88-8.09H13.87c-1.37,0-1.37,0-1.37,1.37V37.45c0,1.37,0,1.37,1.37,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=\"M25.2,10.84v6.44c0,1.78.27,2,2,2h6.23Z\" fill=\"#484f60\"/><path d=\"M19.14,24.27v9h19.7v-9Zm6.68,2.36h-1.9V32h-1.3V26.63h-1.9V25.54h5.1ZM30.4,32,29,29.74,27.55,32H26l2.19-3.34-2-3.07h1.52L29,27.6l1.26-2.06h1.5l-2,3.12L32,32Zm6.86-5.32h-1.9V32H34.07V26.63H32.16V25.54h5.1Z\" fill=\"#484f60\"/></svg>",
|
|
1411
|
+
"xml": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.42,40.17H13.87c-2.15,0-2.71-.56-2.71-2.72V12.88c0-2.15.56-2.71,2.71-2.71H25.48l8.66,8.88v3.43H32.8V19.6l-7.88-8.09H13.87c-1.37,0-1.37,0-1.37,1.37V37.45c0,1.37,0,1.37,1.37,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=\"M25.2,10.84v6.44c0,1.78.27,2,2,2h6.23Z\" fill=\"#484f60\"/><path d=\"M19.14,24.27v9h19.7v-9Zm5.36,7.41-1.3-2-1.3,2H20.48l2-3.06-1.81-2.8h1.38l1.18,1.88,1.15-1.88h1.37l-1.83,2.85,2,3Zm7.67,0h-1.1V27.07l-1.16,4.61H28.77l-1.16-4.61v4.61H26.52V25.82h1.76l1.07,4,1-4h1.77Zm5.33,0H33.38V25.87h1.18v4.82H37.5Z\" fill=\"#484f60\"/></svg>"
|
|
1297
1412
|
};
|
|
1298
1413
|
|
|
1414
|
+
class IconCacheService {
|
|
1415
|
+
constructor(_sanitizer) {
|
|
1416
|
+
this._sanitizer = _sanitizer;
|
|
1417
|
+
this._iconCache = {};
|
|
1418
|
+
this.setIconCache();
|
|
1419
|
+
}
|
|
1420
|
+
/**
|
|
1421
|
+
* All the icons as a large JSON object, from the all-icons.json file.
|
|
1422
|
+
* The object has property keys that are the icon names, and property values with the data string of the actual svg icon.
|
|
1423
|
+
*/
|
|
1424
|
+
get iconCache() {
|
|
1425
|
+
return this._iconCache;
|
|
1426
|
+
}
|
|
1427
|
+
getIcon(iconName) {
|
|
1428
|
+
if (iconName) {
|
|
1429
|
+
return this._iconCache[iconName.toLowerCase()];
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
getIconAsBase64(iconName) {
|
|
1433
|
+
const icon = IconSvg[iconName];
|
|
1434
|
+
const base64Data = window.btoa(icon);
|
|
1435
|
+
return this._sanitizer.bypassSecurityTrustUrl(`data:image/svg+xml;base64,${base64Data}`);
|
|
1436
|
+
}
|
|
1437
|
+
getRawIcon(iconName) {
|
|
1438
|
+
if (iconName) {
|
|
1439
|
+
return IconSvg[iconName.toLowerCase()];
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
setIconCache() {
|
|
1443
|
+
for (const key in IconSvg) {
|
|
1444
|
+
if (IconSvg.hasOwnProperty(key) && typeof IconSvg[key] !== "function") {
|
|
1445
|
+
this._iconCache[key.toLowerCase()] = this._sanitizer.bypassSecurityTrustHtml(IconSvg[key]);
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
IconCacheService.ɵprov = i0.ɵɵdefineInjectable({ factory: function IconCacheService_Factory() { return new IconCacheService(i0.ɵɵinject(i1.DomSanitizer)); }, token: IconCacheService, providedIn: "root" });
|
|
1451
|
+
IconCacheService.decorators = [
|
|
1452
|
+
{ type: Injectable, args: [{
|
|
1453
|
+
providedIn: "root"
|
|
1454
|
+
},] }
|
|
1455
|
+
];
|
|
1456
|
+
IconCacheService.ctorParameters = () => [
|
|
1457
|
+
{ type: DomSanitizer }
|
|
1458
|
+
];
|
|
1459
|
+
|
|
1460
|
+
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
1461
|
+
var Icon;
|
|
1462
|
+
(function (Icon) {
|
|
1463
|
+
Icon["ArrowFatRight"] = "arrow_fat_right";
|
|
1464
|
+
Icon["ArrowPointDown"] = "arrow_point_down";
|
|
1465
|
+
Icon["ArrowPointLeft"] = "arrow_point_left";
|
|
1466
|
+
Icon["ArrowPointRight"] = "arrow_point_right";
|
|
1467
|
+
Icon["CalendarDay"] = "calendar_day";
|
|
1468
|
+
Icon["Cancel"] = "cancel";
|
|
1469
|
+
Icon["DeliveryTruck"] = "delivery_truck";
|
|
1470
|
+
Icon["EditPencil"] = "edit_pencil";
|
|
1471
|
+
Icon["Email"] = "email";
|
|
1472
|
+
Icon["Pdf"] = "pdf";
|
|
1473
|
+
Icon["PlusRound"] = "plus_round";
|
|
1474
|
+
Icon["Print"] = "print";
|
|
1475
|
+
Icon["SignatureField"] = "signature_field";
|
|
1476
|
+
Icon["Tag"] = "tag";
|
|
1477
|
+
Icon["ThickLines"] = "thick_lines";
|
|
1478
|
+
Icon["ThinLines"] = "thin_lines";
|
|
1479
|
+
Icon["Txt"] = "txt";
|
|
1480
|
+
Icon["Xml"] = "xml";
|
|
1481
|
+
})(Icon || (Icon = {}));
|
|
1482
|
+
|
|
1299
1483
|
class StockInformationGridComponent {
|
|
1300
|
-
constructor(_stockService) {
|
|
1484
|
+
constructor(iconCacheService, _stockService) {
|
|
1485
|
+
this.iconCacheService = iconCacheService;
|
|
1301
1486
|
this._stockService = _stockService;
|
|
1487
|
+
this.icons = Icon;
|
|
1302
1488
|
this.locationLineClicked = new EventEmitter();
|
|
1303
1489
|
this.transferIconClicked = new EventEmitter();
|
|
1304
|
-
this.MAX_GRID_ROWS = 10;
|
|
1305
|
-
this.stockStatus = "medium";
|
|
1306
1490
|
this.show = false;
|
|
1307
1491
|
this.hideOrShowLocationTab = false;
|
|
1308
1492
|
this.showStockHistory = false;
|
|
1493
|
+
this.showSendMethodDialog = false;
|
|
1309
1494
|
this.data = [
|
|
1310
1495
|
{ test: "test" }
|
|
1311
1496
|
];
|
|
1312
|
-
this.stockInformation = [
|
|
1313
|
-
{ warehouseNumber: "1", warehouseDescription: "Colijn IT Warehouse", amountInStock: "17", amountAvailable: "13", amountLaterAvailable: "4", location: "test" },
|
|
1314
|
-
{ warehouseNumber: "2", warehouseDescription: "Colijn IT Warehouse", amountInStock: "17", amountAvailable: "13", amountLaterAvailable: "4", location: "Test nummer 2" },
|
|
1315
|
-
{ warehouseNumber: "3", warehouseDescription: "Colijn IT Warehouse", amountInStock: "17", amountAvailable: "13", amountLaterAvailable: "4", location: "Amundsenweg" },
|
|
1316
|
-
];
|
|
1317
|
-
this.stockLocationInformation = [
|
|
1318
|
-
{ location: "title 1", batch: "1", serialNo: "1", amountInStock: "1", allocated: "1", amountAvailable: "1" },
|
|
1319
|
-
{ location: "title 2", amountInStock: "2" },
|
|
1320
|
-
{ location: "title 3", amountInStock: "3" },
|
|
1321
|
-
{ location: "title 4", amountInStock: "4" },
|
|
1322
|
-
{ location: "title 5", amountInStock: "5" },
|
|
1323
|
-
];
|
|
1324
1497
|
this.inOrderInformation = [
|
|
1325
1498
|
{ inOrder: "275432", customer: "Test customer", orderDate: "date", orderAmount: "2", warehouseNumber: "8", warehouseDescription: "A nice warehouse", amountInStock: "17", commission: "4014321" },
|
|
1326
1499
|
{ inOrder: "275432", customer: "Test customer", orderDate: "date", orderAmount: "2", warehouseNumber: "8", warehouseDescription: "A nice warehouse", amountInStock: "17", commission: "4014321" },
|
|
@@ -1328,15 +1501,11 @@ class StockInformationGridComponent {
|
|
|
1328
1501
|
{ inOrder: "275432", customer: "Test customer", orderDate: "date", orderAmount: "2", warehouseNumber: "8", warehouseDescription: "A nice warehouse", amountInStock: "17", commission: "4014321" },
|
|
1329
1502
|
{ inOrder: "275432", customer: "Test customer", orderDate: "date", orderAmount: "2", warehouseNumber: "8", warehouseDescription: "A nice warehouse", amountInStock: "17", commission: "4014321" },
|
|
1330
1503
|
];
|
|
1331
|
-
this.stockHistoryInformation = [];
|
|
1332
1504
|
this.orderInformation = [];
|
|
1333
|
-
this.stockColumns = [];
|
|
1334
|
-
this.stockLocationColumns = [];
|
|
1335
|
-
this.inOrderColumns = [];
|
|
1336
|
-
this.orderColumns = [];
|
|
1337
1505
|
this.hideOrShowTabs = true;
|
|
1338
1506
|
this.dataWareHouseCode = 0;
|
|
1339
1507
|
this.dataWareHouseFields = { text: "warehouseDescription", value: "warehouseNumber" };
|
|
1508
|
+
this.articleStockSearchInfo = new ArticleStock();
|
|
1340
1509
|
this.tabs = [
|
|
1341
1510
|
"STOCK",
|
|
1342
1511
|
"IN_ORDER2",
|
|
@@ -1359,18 +1528,20 @@ class StockInformationGridComponent {
|
|
|
1359
1528
|
handleTabClick(tabData) {
|
|
1360
1529
|
this.activeTab = tabData;
|
|
1361
1530
|
}
|
|
1362
|
-
onLocationClick(
|
|
1363
|
-
|
|
1531
|
+
onLocationClick(data) {
|
|
1532
|
+
this.articleStockSearchInfo.goodId = data.goodId.toString();
|
|
1533
|
+
this.articleStockSearchInfo.wareHouseNo = data.warehouseNo.toString();
|
|
1534
|
+
this.articleStockSearchInfo.viewKind = "D";
|
|
1535
|
+
this.locationLineClicked.emit(this.articleStockSearchInfo);
|
|
1364
1536
|
this.hideOrShowTabs = false;
|
|
1365
1537
|
this.hideOrShowLocationTab = true;
|
|
1366
1538
|
}
|
|
1367
|
-
onRowClick(args) {
|
|
1368
|
-
}
|
|
1369
1539
|
onPopupClose() {
|
|
1370
1540
|
this.show = false;
|
|
1371
1541
|
}
|
|
1372
1542
|
handleHistoryClick() {
|
|
1373
|
-
|
|
1543
|
+
// console.warn('Not yet implemented');
|
|
1544
|
+
// this.showStockHistory = true;
|
|
1374
1545
|
}
|
|
1375
1546
|
handleCloseClick() {
|
|
1376
1547
|
this.onPopupClose();
|
|
@@ -1385,9 +1556,13 @@ class StockInformationGridComponent {
|
|
|
1385
1556
|
this.hideOrShowLocationTab = false;
|
|
1386
1557
|
});
|
|
1387
1558
|
}
|
|
1388
|
-
|
|
1559
|
+
openSendMethodDialog() {
|
|
1560
|
+
this.showSendMethodDialog = !this.showSendMethodDialog;
|
|
1389
1561
|
}
|
|
1390
|
-
|
|
1562
|
+
printStockStickers() {
|
|
1563
|
+
this.printSticker = new PrintStockStickers$1();
|
|
1564
|
+
this.printSticker.goodId = 10;
|
|
1565
|
+
this._stockService.getPrintStockStickers(this.printSticker);
|
|
1391
1566
|
}
|
|
1392
1567
|
onOkClick() {
|
|
1393
1568
|
}
|
|
@@ -1414,16 +1589,16 @@ StockInformationGridComponent.decorators = [
|
|
|
1414
1589
|
|
|
1415
1590
|
<div class="stock-grid">
|
|
1416
1591
|
<co-simple-grid *ngIf="activeTab === tabs[0] && hideOrShowTabs"
|
|
1417
|
-
[data]="
|
|
1592
|
+
[data]="articleStockInformation"
|
|
1418
1593
|
>
|
|
1419
|
-
<co-simple-grid-column [headerText]="'WAREHOUSE'" [field]="'
|
|
1420
|
-
<co-simple-grid-column [headerText]="'DESCRIPTION'" [field]="'
|
|
1421
|
-
<co-simple-grid-column [headerText]="'STOCK'" [field]="'
|
|
1422
|
-
<co-simple-grid-column [headerText]="'AVAILABLE_STOCK'" [field]="'
|
|
1423
|
-
<co-simple-grid-column [headerText]="'ECONOMICAL_STOCK'" [field]="'
|
|
1424
|
-
<co-simple-grid-column [headerText]="'LOCATION'" [field]="'
|
|
1425
|
-
<ng-template let-row="row">
|
|
1426
|
-
<
|
|
1594
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE'" [field]="'warehouseNo'"></co-simple-grid-column>
|
|
1595
|
+
<co-simple-grid-column [headerText]="'DESCRIPTION'" [field]="'warehouseName'"></co-simple-grid-column>
|
|
1596
|
+
<co-simple-grid-column [headerText]="'STOCK'" [field]="'technicalStock'"></co-simple-grid-column>
|
|
1597
|
+
<co-simple-grid-column [headerText]="'AVAILABLE_STOCK'" [field]="'availableStock'"></co-simple-grid-column>
|
|
1598
|
+
<co-simple-grid-column [headerText]="'ECONOMICAL_STOCK'" [field]="'economicalStock'"></co-simple-grid-column>
|
|
1599
|
+
<co-simple-grid-column [headerText]="'LOCATION'" [field]="'locationNo'">
|
|
1600
|
+
<ng-template #template let-row="row">
|
|
1601
|
+
<span [textContent]="'bekijken'" (click)="onLocationClick(row)"></span>
|
|
1427
1602
|
</ng-template>
|
|
1428
1603
|
</co-simple-grid-column>
|
|
1429
1604
|
</co-simple-grid>
|
|
@@ -1440,13 +1615,13 @@ StockInformationGridComponent.decorators = [
|
|
|
1440
1615
|
<co-simple-grid-column [headerText]="'STOCK'" [field]="'amountInStock'"></co-simple-grid-column>
|
|
1441
1616
|
<co-simple-grid-column [headerText]="'COMMISSION2'" [field]="'commission'"></co-simple-grid-column>
|
|
1442
1617
|
<co-simple-grid-column [headerText]="'TRANSFER'" [field]="'transfer'">
|
|
1443
|
-
<ng-template let-row="row">
|
|
1444
|
-
|
|
1618
|
+
<ng-template #template let-row="row">
|
|
1619
|
+
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.DeliveryTruck)" (click)="handleStockTransferClick($event)"></co-icon>
|
|
1445
1620
|
</ng-template>
|
|
1446
1621
|
</co-simple-grid-column>
|
|
1447
1622
|
<co-simple-grid-column [headerText]="'STICKER'" [field]="'sticker'">
|
|
1448
|
-
<ng-template let-row="row">
|
|
1449
|
-
|
|
1623
|
+
<ng-template #template let-row="row">
|
|
1624
|
+
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.Print)" (click)="openSendMethodDialog()"></co-icon>
|
|
1450
1625
|
</ng-template>
|
|
1451
1626
|
</co-simple-grid-column>
|
|
1452
1627
|
</co-simple-grid>
|
|
@@ -1478,27 +1653,28 @@ StockInformationGridComponent.decorators = [
|
|
|
1478
1653
|
</div>
|
|
1479
1654
|
</div>
|
|
1480
1655
|
|
|
1481
|
-
|
|
1656
|
+
<!-- TODO move to own component stock-location-->
|
|
1657
|
+
<co-simple-grid [data]="stockLocationData"
|
|
1482
1658
|
>
|
|
1483
1659
|
<div class="stock-location-group">
|
|
1484
1660
|
<div class="stock-location-left-group">
|
|
1485
1661
|
<co-button class="stock-lines-button" [textContent]="'BACK_TO_STOCK_LINES'" (click)="handleBackToStockClick()"></co-button>
|
|
1486
1662
|
</div>
|
|
1487
1663
|
</div>
|
|
1488
|
-
<co-simple-grid-column [headerText]="'WAREHOUSE'" [field]="'
|
|
1489
|
-
<co-simple-grid-column [headerText]="'BATCH'" [field]="'
|
|
1664
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE'" [field]="'warehouseName'"></co-simple-grid-column>
|
|
1665
|
+
<co-simple-grid-column [headerText]="'BATCH'" [field]="'batchNo'"></co-simple-grid-column>
|
|
1490
1666
|
<co-simple-grid-column [headerText]="'SERIAL_NO'" [field]="'serialNo'"></co-simple-grid-column>
|
|
1491
|
-
<co-simple-grid-column [headerText]="'STOCK'" [field]="'
|
|
1492
|
-
<co-simple-grid-column [headerText]="'ALLOCATED'" [field]="'
|
|
1493
|
-
<co-simple-grid-column [headerText]="'AVAILABLE_STOCK'" [field]="'
|
|
1667
|
+
<co-simple-grid-column [headerText]="'STOCK'" [field]="'notAssignedStock'"></co-simple-grid-column>
|
|
1668
|
+
<co-simple-grid-column [headerText]="'ALLOCATED'" [field]="'economicalStock'"></co-simple-grid-column>
|
|
1669
|
+
<co-simple-grid-column [headerText]="'AVAILABLE_STOCK'" [field]="'availableStock'"></co-simple-grid-column>
|
|
1494
1670
|
<co-simple-grid-column [headerText]="'TRANSFER'" [field]="'transfer'">
|
|
1495
|
-
<ng-template let-row="row">
|
|
1496
|
-
|
|
1671
|
+
<ng-template #template let-row="row">
|
|
1672
|
+
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.DeliveryTruck)" (click)="handleStockTransferClick(row)"></co-icon>
|
|
1497
1673
|
</ng-template>
|
|
1498
1674
|
</co-simple-grid-column>
|
|
1499
1675
|
<co-simple-grid-column [headerText]="'STICKER'" [field]="'sticker'">
|
|
1500
|
-
<ng-template let-row="row">
|
|
1501
|
-
|
|
1676
|
+
<ng-template #template let-row="row">
|
|
1677
|
+
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.Print)" (click)="openSendMethodDialog()"></co-icon>
|
|
1502
1678
|
</ng-template>
|
|
1503
1679
|
</co-simple-grid-column>
|
|
1504
1680
|
</co-simple-grid>
|
|
@@ -1514,8 +1690,8 @@ StockInformationGridComponent.decorators = [
|
|
|
1514
1690
|
<co-simple-grid-column [headerText]="'ALLOCATED'" [field]="'allocated'"></co-simple-grid-column>
|
|
1515
1691
|
<co-simple-grid-column [headerText]="'AVAILABLE_STOCK'" [field]="'amountAvailable'"></co-simple-grid-column>
|
|
1516
1692
|
<co-simple-grid-column [headerText]="'STICKER'" [field]="'sticker'">
|
|
1517
|
-
<ng-template let-row="row">
|
|
1518
|
-
|
|
1693
|
+
<ng-template #template let-row="row">
|
|
1694
|
+
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.Print)" (click)="openSendMethodDialog()"></co-icon>
|
|
1519
1695
|
</ng-template>
|
|
1520
1696
|
</co-simple-grid-column>
|
|
1521
1697
|
</co-simple-grid>
|
|
@@ -1534,15 +1710,23 @@ StockInformationGridComponent.decorators = [
|
|
|
1534
1710
|
</div>
|
|
1535
1711
|
</div>
|
|
1536
1712
|
</div>
|
|
1713
|
+
<ione-send-method-dialog
|
|
1714
|
+
[showDialog]="showSendMethodDialog"
|
|
1715
|
+
(printButtonClicked)="printStockStickers()"
|
|
1716
|
+
></ione-send-method-dialog>
|
|
1537
1717
|
`,
|
|
1538
1718
|
encapsulation: ViewEncapsulation.None
|
|
1539
1719
|
},] }
|
|
1540
1720
|
];
|
|
1541
1721
|
StockInformationGridComponent.ctorParameters = () => [
|
|
1722
|
+
{ type: IconCacheService },
|
|
1542
1723
|
{ type: StockService }
|
|
1543
1724
|
];
|
|
1544
1725
|
StockInformationGridComponent.propDecorators = {
|
|
1545
1726
|
stock: [{ type: ViewChild, args: [StockInformationGridComponent,] }],
|
|
1727
|
+
articleStockInformation: [{ type: Input }],
|
|
1728
|
+
stockHistoryInformation: [{ type: Input }],
|
|
1729
|
+
stockLocationData: [{ type: Input }],
|
|
1546
1730
|
locationLineClicked: [{ type: Output }],
|
|
1547
1731
|
transferIconClicked: [{ type: Output }]
|
|
1548
1732
|
};
|
|
@@ -1565,12 +1749,13 @@ class StockLocationComponent {
|
|
|
1565
1749
|
this.backToStockLines.emit();
|
|
1566
1750
|
}
|
|
1567
1751
|
onStickerClick(event) {
|
|
1568
|
-
console.log('test');
|
|
1569
1752
|
}
|
|
1570
1753
|
onOkClick() {
|
|
1571
1754
|
}
|
|
1572
1755
|
onCancelClick() {
|
|
1573
1756
|
}
|
|
1757
|
+
onSelectWarehouse(event) {
|
|
1758
|
+
}
|
|
1574
1759
|
}
|
|
1575
1760
|
StockLocationComponent.decorators = [
|
|
1576
1761
|
{ type: Component, args: [{
|
|
@@ -1582,7 +1767,11 @@ StockLocationComponent.decorators = [
|
|
|
1582
1767
|
<span class="stock-button-back" [textContent]="'BACK_TO_STOCK_LINES'" (click)="backToStockInformation()"></span>
|
|
1583
1768
|
</div>
|
|
1584
1769
|
<div class="dropdown-wrapper">
|
|
1585
|
-
<co-drop-down-list
|
|
1770
|
+
<co-drop-down-list
|
|
1771
|
+
[collection]="allWarehouses"
|
|
1772
|
+
[placeholder]="'WAREHOUSES'"
|
|
1773
|
+
(modelChange)="onSelectWarehouse($event)"
|
|
1774
|
+
></co-drop-down-list>
|
|
1586
1775
|
</div>
|
|
1587
1776
|
</div>
|
|
1588
1777
|
|
|
@@ -1605,6 +1794,7 @@ StockLocationComponent.decorators = [
|
|
|
1605
1794
|
];
|
|
1606
1795
|
StockLocationComponent.ctorParameters = () => [];
|
|
1607
1796
|
StockLocationComponent.propDecorators = {
|
|
1797
|
+
stockLocationInformation: [{ type: Input }],
|
|
1608
1798
|
backToStockLines: [{ type: Output }]
|
|
1609
1799
|
};
|
|
1610
1800
|
|
|
@@ -1622,7 +1812,6 @@ class StockTransferComponent {
|
|
|
1622
1812
|
this.handleCancelClicked.emit();
|
|
1623
1813
|
}
|
|
1624
1814
|
handleSelectedWarehouse(event) {
|
|
1625
|
-
console.log(event);
|
|
1626
1815
|
}
|
|
1627
1816
|
handleStickerClick() {
|
|
1628
1817
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1637,15 +1826,16 @@ StockTransferComponent.decorators = [
|
|
|
1637
1826
|
template: `
|
|
1638
1827
|
<div class="stock-transfer">
|
|
1639
1828
|
<div class="stock-transfer-columns">
|
|
1829
|
+
<h1 [textContent]="'Nog niet geimplmenteerd'"></h1>
|
|
1640
1830
|
<div *ngIf="article" class="stock-transfer-left-column">
|
|
1641
1831
|
<co-input-text disabled
|
|
1642
|
-
[(model)]="article.
|
|
1643
|
-
[textContent]="article.
|
|
1832
|
+
[(model)]="article.warehouseNo"
|
|
1833
|
+
[textContent]="article.warehouseNo"
|
|
1644
1834
|
[placeholder]="'Standaard magazijn'">
|
|
1645
1835
|
</co-input-text>
|
|
1646
1836
|
<co-input-text disabled
|
|
1647
|
-
[(model)]="article.
|
|
1648
|
-
[textContent]="article.
|
|
1837
|
+
[(model)]="article.locationNo"
|
|
1838
|
+
[textContent]="article.locationNo"
|
|
1649
1839
|
[placeholder]="'Standaard locatie'">
|
|
1650
1840
|
</co-input-text>
|
|
1651
1841
|
<co-input-text disabled
|
|
@@ -1657,7 +1847,7 @@ StockTransferComponent.decorators = [
|
|
|
1657
1847
|
[placeholder]="'Serie'">
|
|
1658
1848
|
</co-input-text>
|
|
1659
1849
|
<co-input-text
|
|
1660
|
-
[(model)]="article.
|
|
1850
|
+
[(model)]="article.amountAssigned"
|
|
1661
1851
|
[placeholder]="'Aantal'">
|
|
1662
1852
|
|
|
1663
1853
|
</co-input-text>
|
|
@@ -1703,97 +1893,6 @@ StockTransferComponent.propDecorators = {
|
|
|
1703
1893
|
handleStickerClicked: [{ type: Output }]
|
|
1704
1894
|
};
|
|
1705
1895
|
|
|
1706
|
-
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
1707
|
-
var Icon;
|
|
1708
|
-
(function (Icon) {
|
|
1709
|
-
Icon["ArrowFatRight"] = "arrow_fat_right";
|
|
1710
|
-
Icon["ArrowPointDown"] = "arrow_point_down";
|
|
1711
|
-
Icon["ArrowPointLeft"] = "arrow_point_left";
|
|
1712
|
-
Icon["ArrowPointRight"] = "arrow_point_right";
|
|
1713
|
-
Icon["CalendarDay"] = "calendar_day";
|
|
1714
|
-
Icon["Cancel"] = "cancel";
|
|
1715
|
-
Icon["DeliveryTruck"] = "delivery_truck";
|
|
1716
|
-
Icon["EditPencil"] = "edit_pencil";
|
|
1717
|
-
Icon["Email"] = "email";
|
|
1718
|
-
Icon["Pdf"] = "pdf";
|
|
1719
|
-
Icon["PlusRound"] = "plus_round";
|
|
1720
|
-
Icon["Print"] = "print";
|
|
1721
|
-
Icon["SignatureField"] = "signature_field";
|
|
1722
|
-
Icon["Tag"] = "tag";
|
|
1723
|
-
Icon["ThickLines"] = "thick_lines";
|
|
1724
|
-
Icon["ThinLines"] = "thin_lines";
|
|
1725
|
-
Icon["Txt"] = "txt";
|
|
1726
|
-
Icon["Xml"] = "xml";
|
|
1727
|
-
})(Icon || (Icon = {}));
|
|
1728
|
-
|
|
1729
|
-
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
1730
|
-
const IconSvg = {
|
|
1731
|
-
"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>",
|
|
1732
|
-
"arrow_point_down": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"-280 371 51 51\" enable-background=\"new -280 371 51 51\" ><path fill=\"#29363E\" d=\"M-248.3,392.2c0.3,0,0.6,0.1,0.8,0.3c0.5,0.5,0.5,1.2,0,1.6l-6.2,6.2c-0.2,0.2-0.5,0.3-0.8,0.3c-0.3,0-0.6-0.1-0.8-0.3l-6.2-6.2c-0.2-0.2-0.3-0.5-0.3-0.8c0-0.3,0.1-0.6,0.3-0.8c0.2-0.2,0.5-0.3,0.8-0.3c0.3,0,0.6,0.1,0.8,0.3l5.4,5.4l5.4-5.4C-248.9,392.4-248.6,392.2-248.3,392.2z\"/></svg>",
|
|
1733
|
-
"arrow_point_left": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 51 51\" enable-background=\"new 0 0 51 51\" ><path fill=\"#484F5F\" d=\"M31.9,36.7l-14.7-9.6C17.1,27,17,26.9,17,26.7v-2.4c0-0.2,0.1-0.3,0.2-0.4l14.7-9.6c0.2-0.2,0.5-0.1,0.7,0.1l1.4,2.1c0.2,0.2,0.1,0.5-0.1,0.7l-12,7.8c-0.3,0.2-0.3,0.6,0,0.8l12,7.8c0.2,0.2,0.3,0.5,0.1,0.7l-1.4,2.1C32.4,36.8,32.1,36.8,31.9,36.7z\"/></svg>",
|
|
1734
|
-
"arrow_point_right": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 51 51\" enable-background=\"new 0 0 51 51\" ><path fill=\"#484F5F\" d=\"M19.1,14.3l14.7,9.6c0.1,0.1,0.2,0.2,0.2,0.4v2.4c0,0.2-0.1,0.3-0.2,0.4l-14.7,9.6c-0.2,0.2-0.5,0.1-0.7-0.1l-1.4-2.1c-0.2-0.2-0.1-0.5,0.1-0.7l12-7.8c0.3-0.2,0.3-0.6,0-0.8l-12-7.8c-0.2-0.2-0.3-0.5-0.1-0.7l1.4-2.1C18.6,14.2,18.9,14.2,19.1,14.3z\"/></svg>",
|
|
1735
|
-
"calendar_day": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 50 50\" enable-background=\"new 0 0 50 50\" ><g><path fill=\"#022D42\" d=\"M35.4,13.7H14.6c-0.6,0-1,0.5-1,1V20h22.9v-5.2C36.4,14.2,36,13.7,35.4,13.7z M19,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8c1,0,1.8,0.8,1.8,1.8C20.8,18,20,18.8,19,18.8z M31,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8s1.8,0.8,1.8,1.8C32.7,18,32,18.8,31,18.8z\"/><path fill=\"#022D42\" d=\"M35.4,22.3v12.6L31.3,39H14.6c0,0,0,0,0,0V22.3H35.4 M36.4,21.3H13.6V39c0,0.6,0.5,1,1,1h17.2l4.7-4.7V21.3L36.4,21.3z\"/><rect x=\"18.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"30.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"18.6\" y=\"30.5\" fill=\"#022D42\" width=\"3.4\" height=\"3.4\"/><rect x=\"19.1\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/></g></svg>",
|
|
1736
|
-
"cancel": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"36 35.16 30.45 35.16 14 14.84 19.55 14.84 36 35.16\" fill=\"#484f60\"/><polygon points=\"14 35.16 19.55 35.16 36 14.84 30.45 14.84 14 35.16\" fill=\"#484f60\"/></svg>",
|
|
1737
|
-
"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>",
|
|
1738
|
-
"edit_pencil": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"12.54 38.16 12 37.62 14.85 29.64 20.52 35.31 12.54 38.16\" fill=\"#484f60\"/><rect x=\"16.33\" y=\"20.52\" width=\"17.99\" height=\"8.64\" transform=\"translate(-10.15 25.18) rotate(-45)\" fill=\"#484f60\"/><path d=\"M37.54,18.73,36,20.32l-6.11-6.1,1.59-1.59a1.55,1.55,0,0,1,2.2,0l3.91,3.9A1.55,1.55,0,0,1,37.54,18.73Z\" fill=\"#484f60\"/></svg>",
|
|
1739
|
-
"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>",
|
|
1740
|
-
"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>",
|
|
1741
|
-
"plus_round": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"-288 379 35 35\" enable-background=\"new -288 379 35 35\" ><path fill=\"#29363E\" d=\"M-270.5,381.5c-8.3,0-15,6.7-15,15c0,8.3,6.7,15,15,15s15-6.7,15-15C-255.5,388.2-262.2,381.5-270.5,381.5z M-261.1,397.3c0,0.9-0.7,1.6-1.6,1.6h-5.5v5.5c0,0.9-0.7,1.6-1.6,1.6h-1.6c-0.9,0-1.6-0.7-1.6-1.6v-5.5h-5.5c-0.9,0-1.6-0.7-1.6-1.6v-1.6c0-0.9,0.7-1.6,1.6-1.6h5.5v-5.5c0-0.9,0.7-1.6,1.6-1.6h1.6c0.9,0,1.6,0.7,1.6,1.6v5.5h5.5c0.9,0,1.6,0.7,1.6,1.6V397.3z\"/></svg>",
|
|
1742
|
-
"print": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M38,16.5H12a2,2,0,0,0-2,2v9a2,2,0,0,0,2,2h2v-5H36v5h2a2,2,0,0,0,2-2v-9A2,2,0,0,0,38,16.5ZM37,21a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,37,21Z\" fill=\"#484f60\"/><path d=\"M35,11.5v5H15v-5H35m1-1H14v7H36v-7Z\" fill=\"#484f60\"/><path d=\"M35,25.5v13H15v-13H35m1-1H14v15H36v-15Z\" fill=\"#484f60\"/><rect x=\"17\" y=\"28.3\" width=\"16\" height=\"0.8\" fill=\"#484f60\"/><rect x=\"17\" y=\"31.5\" width=\"16\" height=\"0.8\" fill=\"#484f60\"/><rect x=\"17\" y=\"34.7\" width=\"16\" height=\"0.8\" fill=\"#484f60\"/></svg>",
|
|
1743
|
-
"signature_field": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M20.1,25.42a1.1,1.1,0,1,1,1.27,1.45l-3.3,9.07A63.13,63.13,0,0,1,28,28.3l1.26-12-8.26-3-6.77,10A62.4,62.4,0,0,1,17,35.54l3.3-9.07A1.12,1.12,0,0,1,20.1,25.42Z\" fill=\"#484f60\"/><rect x=\"21.62\" y=\"11.43\" width=\"8.79\" height=\"2.34\" transform=\"translate(5.88 -8.14) rotate(20)\" fill=\"#484f60\"/><path d=\"M18.11,37.48c1.44,2.65,4.58,2.94,7.23,2.1,1.41-.44,2.2-1.49,3.44-2.06,2.42-1.1,3.13,1.2,5.36,1.37.42,0,2-.65,1.54-.68-2.55-.19-2.93-3.13-5.51-2.65a4.9,4.9,0,0,0-1.64.71c-.77.49-1.31,1.62-2.07,2l-4.61.56A3.38,3.38,0,0,1,20,37c-.22-.41-2,.28-1.85.5Z\" fill=\"#484f60\"/></svg>",
|
|
1744
|
-
"tag": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M40,29.15v-.68a5.28,5.28,0,0,0-1.34-3.25L24.78,11.34A5.34,5.34,0,0,0,21.53,10H11.9A1.91,1.91,0,0,0,10,11.9v9.63a5.28,5.28,0,0,0,1.34,3.25L25.22,38.66A5.28,5.28,0,0,0,28.47,40h.68a5.28,5.28,0,0,0,3.24-1.34l6.27-6.27A5.28,5.28,0,0,0,40,29.15ZM13.13,16.72a2.54,2.54,0,1,1,3.59,0A2.55,2.55,0,0,1,13.13,16.72Zm15.9,19L17.84,24.55l1.34-1.34L30.37,34.4Zm2.69-2.69L20.52,21.87l1.35-1.35,11.19,11.2Zm2.68-2.69L23.21,19.18l1.34-1.34L35.75,29Z\" fill=\"#484f60\"/></svg>",
|
|
1745
|
-
"thick_lines": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"12.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/><rect x=\"10\" y=\"21.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/><rect x=\"10\" y=\"30.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/></svg>",
|
|
1746
|
-
"thin_lines": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"14.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"20.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"26.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"32.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/></svg>",
|
|
1747
|
-
"txt": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.42,40.17H13.87c-2.15,0-2.71-.56-2.71-2.72V12.88c0-2.15.56-2.71,2.71-2.71H25.48l8.66,8.88v3.43H32.8V19.6l-7.88-8.09H13.87c-1.37,0-1.37,0-1.37,1.37V37.45c0,1.37,0,1.37,1.37,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=\"M25.2,10.84v6.44c0,1.78.27,2,2,2h6.23Z\" fill=\"#484f60\"/><path d=\"M19.14,24.27v9h19.7v-9Zm6.68,2.36h-1.9V32h-1.3V26.63h-1.9V25.54h5.1ZM30.4,32,29,29.74,27.55,32H26l2.19-3.34-2-3.07h1.52L29,27.6l1.26-2.06h1.5l-2,3.12L32,32Zm6.86-5.32h-1.9V32H34.07V26.63H32.16V25.54h5.1Z\" fill=\"#484f60\"/></svg>",
|
|
1748
|
-
"xml": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.42,40.17H13.87c-2.15,0-2.71-.56-2.71-2.72V12.88c0-2.15.56-2.71,2.71-2.71H25.48l8.66,8.88v3.43H32.8V19.6l-7.88-8.09H13.87c-1.37,0-1.37,0-1.37,1.37V37.45c0,1.37,0,1.37,1.37,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=\"M25.2,10.84v6.44c0,1.78.27,2,2,2h6.23Z\" fill=\"#484f60\"/><path d=\"M19.14,24.27v9h19.7v-9Zm5.36,7.41-1.3-2-1.3,2H20.48l2-3.06-1.81-2.8h1.38l1.18,1.88,1.15-1.88h1.37l-1.83,2.85,2,3Zm7.67,0h-1.1V27.07l-1.16,4.61H28.77l-1.16-4.61v4.61H26.52V25.82h1.76l1.07,4,1-4h1.77Zm5.33,0H33.38V25.87h1.18v4.82H37.5Z\" fill=\"#484f60\"/></svg>"
|
|
1749
|
-
};
|
|
1750
|
-
|
|
1751
|
-
class IconCacheService {
|
|
1752
|
-
constructor(_sanitizer) {
|
|
1753
|
-
this._sanitizer = _sanitizer;
|
|
1754
|
-
this._iconCache = {};
|
|
1755
|
-
this.setIconCache();
|
|
1756
|
-
}
|
|
1757
|
-
/**
|
|
1758
|
-
* All the icons as a large JSON object, from the all-icons.json file.
|
|
1759
|
-
* The object has property keys that are the icon names, and property values with the data string of the actual svg icon.
|
|
1760
|
-
*/
|
|
1761
|
-
get iconCache() {
|
|
1762
|
-
return this._iconCache;
|
|
1763
|
-
}
|
|
1764
|
-
getIcon(iconName) {
|
|
1765
|
-
if (iconName) {
|
|
1766
|
-
return this._iconCache[iconName.toLowerCase()];
|
|
1767
|
-
}
|
|
1768
|
-
}
|
|
1769
|
-
getIconAsBase64(iconName) {
|
|
1770
|
-
const icon = IconSvg[iconName];
|
|
1771
|
-
const base64Data = window.btoa(icon);
|
|
1772
|
-
return this._sanitizer.bypassSecurityTrustUrl(`data:image/svg+xml;base64,${base64Data}`);
|
|
1773
|
-
}
|
|
1774
|
-
getRawIcon(iconName) {
|
|
1775
|
-
if (iconName) {
|
|
1776
|
-
return IconSvg[iconName.toLowerCase()];
|
|
1777
|
-
}
|
|
1778
|
-
}
|
|
1779
|
-
setIconCache() {
|
|
1780
|
-
for (const key in IconSvg) {
|
|
1781
|
-
if (IconSvg.hasOwnProperty(key) && typeof IconSvg[key] !== "function") {
|
|
1782
|
-
this._iconCache[key.toLowerCase()] = this._sanitizer.bypassSecurityTrustHtml(IconSvg[key]);
|
|
1783
|
-
}
|
|
1784
|
-
}
|
|
1785
|
-
}
|
|
1786
|
-
}
|
|
1787
|
-
IconCacheService.ɵprov = i0.ɵɵdefineInjectable({ factory: function IconCacheService_Factory() { return new IconCacheService(i0.ɵɵinject(i1.DomSanitizer)); }, token: IconCacheService, providedIn: "root" });
|
|
1788
|
-
IconCacheService.decorators = [
|
|
1789
|
-
{ type: Injectable, args: [{
|
|
1790
|
-
providedIn: "root"
|
|
1791
|
-
},] }
|
|
1792
|
-
];
|
|
1793
|
-
IconCacheService.ctorParameters = () => [
|
|
1794
|
-
{ type: DomSanitizer }
|
|
1795
|
-
];
|
|
1796
|
-
|
|
1797
1896
|
var SendOption;
|
|
1798
1897
|
(function (SendOption) {
|
|
1799
1898
|
SendOption[SendOption["Email"] = 0] = "Email";
|
|
@@ -1833,6 +1932,13 @@ class SendMethodDialogComponent {
|
|
|
1833
1932
|
showClass() {
|
|
1834
1933
|
return true;
|
|
1835
1934
|
}
|
|
1935
|
+
getPrinters() {
|
|
1936
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1937
|
+
return this._stockService.getAllPrinters(true).then((list) => {
|
|
1938
|
+
this.printerList = list;
|
|
1939
|
+
});
|
|
1940
|
+
});
|
|
1941
|
+
}
|
|
1836
1942
|
closeDialogClick() {
|
|
1837
1943
|
this.showDialog = false;
|
|
1838
1944
|
}
|
|
@@ -1843,6 +1949,7 @@ class SendMethodDialogComponent {
|
|
|
1843
1949
|
this.printButtonClicked.emit();
|
|
1844
1950
|
}
|
|
1845
1951
|
togglePrinterSelection() {
|
|
1952
|
+
this.getPrinters();
|
|
1846
1953
|
if (!this.showPrinterSelections) {
|
|
1847
1954
|
this.showPrinterSelections = true;
|
|
1848
1955
|
this.headerTitle = 'Printer selectie';
|
|
@@ -1852,6 +1959,14 @@ class SendMethodDialogComponent {
|
|
|
1852
1959
|
this.headerTitle = 'Verzendopties';
|
|
1853
1960
|
}
|
|
1854
1961
|
}
|
|
1962
|
+
loadLayouts() {
|
|
1963
|
+
const printJob = new PrintJob();
|
|
1964
|
+
// this.printLayouts = this._stockService.getPrintTemplates(printJob);
|
|
1965
|
+
}
|
|
1966
|
+
onPrinterClicked(printer) {
|
|
1967
|
+
this.defaultPrinter = printer.name;
|
|
1968
|
+
this.showPrinterSelections = !this.showPrinterSelections;
|
|
1969
|
+
}
|
|
1855
1970
|
}
|
|
1856
1971
|
SendMethodDialogComponent.decorators = [
|
|
1857
1972
|
{ type: Component, args: [{
|
|
@@ -1913,9 +2028,9 @@ SendMethodDialogComponent.decorators = [
|
|
|
1913
2028
|
<div class="selected-printer-wrapper">
|
|
1914
2029
|
<div class="printer-option-list-item">
|
|
1915
2030
|
<co-icon class="printer-icon" [iconData]="iconCacheService.getIcon(icons.Print)"></co-icon>
|
|
1916
|
-
<div class="printer-details">
|
|
2031
|
+
<div class="printer-details" *ngIf="printerList">
|
|
1917
2032
|
<span class="printer-name" [textContent]="defaultPrinter"></span>
|
|
1918
|
-
<span class="printer-status" [textContent]="
|
|
2033
|
+
<span class="printer-status" [textContent]="defaultPrinter.acceptingJobs"></span>
|
|
1919
2034
|
</div>
|
|
1920
2035
|
</div>
|
|
1921
2036
|
<co-icon class="select-printer-arrow" [iconData]="iconCacheService.getIcon(icons.ArrowPointRight)"></co-icon>
|
|
@@ -1960,12 +2075,12 @@ SendMethodDialogComponent.decorators = [
|
|
|
1960
2075
|
</div>
|
|
1961
2076
|
|
|
1962
2077
|
<div class="printer-content-container" @slideInOut *ngIf="showPrinterSelections">
|
|
1963
|
-
<div class="selected-printer-wrapper selection clickable" *ngFor="let printers of printerList" (click)="
|
|
2078
|
+
<div class="selected-printer-wrapper selection clickable" *ngFor="let printers of printerList" (click)="onPrinterClicked(printers)">
|
|
1964
2079
|
<div class="printer-option-list-item">
|
|
1965
2080
|
<co-icon class="printer-icon" [iconData]="iconCacheService.getIcon(icons.Print)"></co-icon>
|
|
1966
2081
|
<div class="printer-details">
|
|
1967
2082
|
<span class="printer-name" [textContent]="printers.name"></span>
|
|
1968
|
-
<span class="printer-status" [textContent]="
|
|
2083
|
+
<span class="printer-status" [textContent]="printers.acceptingJobs"></span>
|
|
1969
2084
|
</div>
|
|
1970
2085
|
</div>
|
|
1971
2086
|
<co-icon class="select-printer-arrow" *ngIf="!showPrinterSelections"
|
|
@@ -2013,7 +2128,8 @@ SendMethodDialogModule.decorators = [
|
|
|
2013
2128
|
InputComboBoxModule,
|
|
2014
2129
|
IconModule,
|
|
2015
2130
|
InputNumberPickerModule,
|
|
2016
|
-
CoDialogWizardModule
|
|
2131
|
+
CoDialogWizardModule,
|
|
2132
|
+
ButtonModule
|
|
2017
2133
|
],
|
|
2018
2134
|
exports: [
|
|
2019
2135
|
SendMethodDialogComponent
|
|
@@ -2035,7 +2151,8 @@ StockModule.decorators = [
|
|
|
2035
2151
|
SimpleGridModule,
|
|
2036
2152
|
ImageModule,
|
|
2037
2153
|
InputTextModule,
|
|
2038
|
-
SendMethodDialogModule
|
|
2154
|
+
SendMethodDialogModule,
|
|
2155
|
+
IconModule
|
|
2039
2156
|
],
|
|
2040
2157
|
declarations: [
|
|
2041
2158
|
StockComponent,
|