@colijnit/sharedcomponents 254.1.3 → 254.1.4
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 +595 -125
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +45 -45
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +46 -46
- package/esm2015/lib/components/task-creator/task-creator.component.js +275 -0
- package/esm2015/lib/components/task-creator/task-creator.module.js +34 -0
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/service/shared-connector.service.js +72 -3
- package/esm2015/lib/service/shared.service.js +52 -4
- package/esm2015/public-api.js +3 -1
- package/fesm2015/colijnit-sharedcomponents.js +416 -8
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/task-creator/style/_layout.scss +18 -0
- package/lib/components/task-creator/style/_material-definition.scss +0 -0
- package/lib/components/task-creator/style/_theme.scss +4 -0
- package/lib/components/task-creator/style/material.scss +4 -0
- package/lib/components/task-creator/task-creator.component.d.ts +53 -0
- package/lib/components/task-creator/task-creator.module.d.ts +2 -0
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/service/shared-connector.service.d.ts +10 -1
- package/lib/service/shared.service.d.ts +12 -1
- package/package.json +3 -3
- package/public-api.d.ts +2 -0
- package/3rdpartylicenses.txt +0 -1408
- package/favicon.ico +0 -0
- package/index.html +0 -12
- package/main.b62bfdc80736ecda90e4.js +0 -1
- package/polyfills.907fe9d1887c5de17993.js +0 -1
- package/runtime.8aac21847ed3d3829cca.js +0 -1
- package/styles.051675db76590b099897.css +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/animations'), require('pdf-lib'), require('pdfjs-dist/legacy/build/pdf'), require('pdfjs-dist/build/pdf.worker.entry'), require('@angular/common'), require('signature_pad'), require('@colijnit/articleapi/build/articles'), require('@colijnit/sharedapi/build/sharedapi'), require('@colijnit/articleapi/build/model/article-stock.bo'), require('@colijnit/articleapi/build/model/stock-history.bo'), require('@colijnit/articleapi/build/model/article-details.bo'), require('@colijnit/articleapi/build/model/stock-status.bo'), require('@colijnit/articleapi/build/model/stock-management-warehouses.bo'), require('@colijnit/articleapi/build/model/stock-location.bo'), require('@colijnit/articleapi/build/model/article-transaction.bo'), require('rxjs'), require('@colijnit/ioneconnector/build/model/options'), require('@colijnit/mainapi'), require('@colijnit/mainapi/build/model/printer.bo'), require('@colijnit/mainapi/build/model/send-method.bo'), require('@colijnit/ioneconnector/build/service/business-object-factory'), require('@colijnit/mainapi/build/model/tag-tree-item.bo'), require('@colijnit/ioneconnector/build/model/object-configuration'), require('@colijnit/relationapi'), require('@colijnit/relationapi/build/model/relation-list-object.bo'), require('@colijnit/mainapi/build/model/task-category.bo'), require('@colijnit/mainapi/build/model/workflow-process'), require('@colijnit/mainapi/build/model/co-domain-value.bo'), require('@colijnit/mainapi/build/model/role-email-address'), require('@colijnit/mainapi/build/model/activity.bo'), require('@colijnit/mainapi/build/model/workflow-process-info-per-status'), require('@colijnit/sharedapi/build/model/print-stock-stickers'), require('@colijnit/articleapi/build/model/article-extended.bo'), require('@colijnit/articleapi/build/model/article-stock'), require('@colijnit/articleapi/build/model/article-extended-request'), require('@angular/platform-browser'), require('@colijnit/articleapi/build/model/article-stock-management'), require('@colijnit/corecomponents_v12'), require('@colijnit/articleapi/build/model/article-transaction'), require('@colijnit/sharedapi/build/model/print-price-stickers.bo'), require('@colijnit/mainapi/build/model/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@colijnit/sharedcomponents', ['exports', '@angular/core', '@angular/animations', 'pdf-lib', 'pdfjs-dist/legacy/build/pdf', 'pdfjs-dist/build/pdf.worker.entry', '@angular/common', 'signature_pad', '@colijnit/articleapi/build/articles', '@colijnit/sharedapi/build/sharedapi', '@colijnit/articleapi/build/model/article-stock.bo', '@colijnit/articleapi/build/model/stock-history.bo', '@colijnit/articleapi/build/model/article-details.bo', '@colijnit/articleapi/build/model/stock-status.bo', '@colijnit/articleapi/build/model/stock-management-warehouses.bo', '@colijnit/articleapi/build/model/stock-location.bo', '@colijnit/articleapi/build/model/article-transaction.bo', 'rxjs', '@colijnit/ioneconnector/build/model/options', '@colijnit/mainapi', '@colijnit/mainapi/build/model/printer.bo', '@colijnit/mainapi/build/model/send-method.bo', '@colijnit/ioneconnector/build/service/business-object-factory', '@colijnit/mainapi/build/model/tag-tree-item.bo', '@colijnit/ioneconnector/build/model/object-configuration', '@colijnit/relationapi', '@colijnit/relationapi/build/model/relation-list-object.bo', '@colijnit/mainapi/build/model/task-category.bo', '@colijnit/mainapi/build/model/workflow-process', '@colijnit/mainapi/build/model/co-domain-value.bo', '@colijnit/mainapi/build/model/role-email-address', '@colijnit/mainapi/build/model/activity.bo', '@colijnit/mainapi/build/model/workflow-process-info-per-status', '@colijnit/sharedapi/build/model/print-stock-stickers', '@colijnit/articleapi/build/model/article-extended.bo', '@colijnit/articleapi/build/model/article-stock', '@colijnit/articleapi/build/model/article-extended-request', '@angular/platform-browser', '@colijnit/articleapi/build/model/article-stock-management', '@colijnit/corecomponents_v12', '@colijnit/articleapi/build/model/article-transaction', '@colijnit/sharedapi/build/model/print-price-stickers.bo', '@colijnit/mainapi/build/model/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.sharedcomponents = {}), global.ng.core, global.ng.animations, global.pdfLib, global.PDFJS, global.pdfjsWorker, global.ng.common, global.SignaturePad, global.articles, global.sharedapi, global.articleStock_bo, global.stockHistory_bo, global.articleDetails_bo, global.stockStatus_bo, global.stockManagementWarehouses_bo, global.stockLocation_bo, global.articleTransaction_bo, global.rxjs, global.options, global.mainapi, global.printer_bo, global.sendMethod_bo, global.businessObjectFactory, global.tagTreeItem_bo, global.objectConfiguration, global.relationapi, global.relationListObject_bo, global.taskCategory_bo, global.workflowProcess, global.coDomainValue_bo, global.roleEmailAddress, global.activity_bo, global.workflowProcessInfoPerStatus, global.printStockStickers, global.articleExtended_bo, global.articleStock, global.articleExtendedRequest, global.ng.platformBrowser, global.articleStockManagement, global.corecomponents_v12, global.articleTransaction, global.printPriceStickers_bo, global.
|
|
5
|
-
})(this, (function (exports, i0, animations, pdfLib, PDFJS, pdfjsWorker, common, SignaturePad, articles, sharedapi, articleStock_bo, stockHistory_bo, articleDetails_bo, stockStatus_bo, stockManagementWarehouses_bo, stockLocation_bo, articleTransaction_bo, rxjs, options, mainapi, printer_bo, sendMethod_bo, businessObjectFactory, tagTreeItem_bo, objectConfiguration, relationapi, relationListObject_bo, taskCategory_bo, workflowProcess, coDomainValue_bo, roleEmailAddress, activity_bo, workflowProcessInfoPerStatus, printStockStickers, articleExtended_bo, articleStock, articleExtendedRequest, i1, articleStockManagement, corecomponents_v12, articleTransaction, printPriceStickers_bo, reportingDocumentEmailSignDocBaseRequest, reportingDocumentPdfBaseRequest, reportingDocumentPrintSignDocBaseRequest,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/animations'), require('pdf-lib'), require('pdfjs-dist/legacy/build/pdf'), require('pdfjs-dist/build/pdf.worker.entry'), require('@angular/common'), require('signature_pad'), require('@colijnit/articleapi/build/articles'), require('@colijnit/sharedapi/build/sharedapi'), require('@colijnit/articleapi/build/model/article-stock.bo'), require('@colijnit/articleapi/build/model/stock-history.bo'), require('@colijnit/articleapi/build/model/article-details.bo'), require('@colijnit/articleapi/build/model/stock-status.bo'), require('@colijnit/articleapi/build/model/stock-management-warehouses.bo'), require('@colijnit/articleapi/build/model/stock-location.bo'), require('@colijnit/articleapi/build/model/article-transaction.bo'), require('rxjs'), require('@colijnit/ioneconnector/build/model/options'), require('@colijnit/mainapi'), require('@colijnit/mainapi/build/model/printer.bo'), require('@colijnit/mainapi/build/model/send-method.bo'), require('@colijnit/ioneconnector/build/service/business-object-factory'), require('@colijnit/mainapi/build/model/tag-tree-item.bo'), require('@colijnit/ioneconnector/build/model/object-configuration'), require('@colijnit/relationapi'), require('@colijnit/relationapi/build/model/relation-list-object.bo'), require('@colijnit/mainapi/build/model/task-category.bo'), require('@colijnit/mainapi/build/model/workflow-process'), require('@colijnit/mainapi/build/model/co-domain-value.bo'), require('@colijnit/mainapi/build/model/role-email-address'), require('@colijnit/mainapi/build/model/activity.bo'), require('@colijnit/mainapi/build/model/workflow-process-info-per-status'), require('@colijnit/mainapi/build/model/relation-small-object.bo'), require('@colijnit/mainapi/build/model/report.bo'), require('@colijnit/sharedapi/build/model/print-stock-stickers'), require('@colijnit/articleapi/build/model/article-extended.bo'), require('@colijnit/articleapi/build/model/article-stock'), require('@colijnit/articleapi/build/model/article-extended-request'), require('@angular/platform-browser'), require('@colijnit/articleapi/build/model/article-stock-management'), require('@colijnit/corecomponents_v12'), require('@colijnit/articleapi/build/model/article-transaction'), require('@colijnit/sharedapi/build/model/print-price-stickers.bo'), require('@colijnit/mainapi/build/model/select-report-templates-request'), require('@colijnit/mainapi/build/enum/send-method-type.enum'), require('@colijnit/mainapi/build/model/email-job'), require('@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request'), require('@colijnit/mainapi/build/model/reporting-document-pdf-base-request'), require('@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request'), require('@colijnit/articleapi/build/model/get-stock-history-request'), require('chart.js'), require('moment'), require('@colijnit/sharedapi/build/enum/refcode/file-type-internal.enum'), require('@angular/cdk/drag-drop'), require('@colijnit/mainapi/build/enum/file-type.enum'), require('@colijnit/sharedapi/build/enum/object-right-type.enum'), require('@colijnit/mainapi/build/utils/file-utils'), require('@colijnit/mainapi/build/model/co-document'), require('@colijnit/mainapi/build/enum/co-document-type.enum'), require('@colijnit/articleapi/build/enum/refcode/document-publication.enum'), require('@colijnit/mainapi/build/model/co-document-right'), require('@colijnit/sharedapi/build/utils/array-utils'), require('@angular/cdk/overlay'), require('@colijnit/articleapi/build/enum/relation-kind.enum'), require('@colijnit/mainapi/build/enum/activity-type'), require('@colijnit/mainapi/build/utils/time-utils'), require('@colijnit/ioneconnector/build/utils/function/is-nill.function'), require('@colijnit/mainapi/build/model/activity-list-view-model'), require('@colijnit/mainapi/build/model/activity-view-model'), require('@colijnit/mainapi/build/enum/personal-activity-tab.enum'), require('@colijnit/mainapi/build/enum/activity-sort-type.enum'), require('@colijnit/mainapi/build/model/task.bo'), require('@colijnit/mainapi/build/enum/table-name.enum'), require('@colijnit/mainapi/build/enum/tab-category.enum'), require('@colijnit/ioneconnector/build/model/validation-result'), require('@colijnit/mainapi/build/enum/domain-name.enum'), require('@colijnit/mainapi/build/enum/priority-type.enum'), require('@colijnit/relationapi/build/model/relation-request'), require('@colijnit/mainapi/build/enum/period.enum'), require('@colijnit/mainapi/build/model/remark.bo'), require('@colijnit/mainapi/build/model/work.bo'), require('@colijnit/mainapi/build/model/activity-email-request-data'), require('@colijnit/mainapi/build/enum/report-type.enum')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@colijnit/sharedcomponents', ['exports', '@angular/core', '@angular/animations', 'pdf-lib', 'pdfjs-dist/legacy/build/pdf', 'pdfjs-dist/build/pdf.worker.entry', '@angular/common', 'signature_pad', '@colijnit/articleapi/build/articles', '@colijnit/sharedapi/build/sharedapi', '@colijnit/articleapi/build/model/article-stock.bo', '@colijnit/articleapi/build/model/stock-history.bo', '@colijnit/articleapi/build/model/article-details.bo', '@colijnit/articleapi/build/model/stock-status.bo', '@colijnit/articleapi/build/model/stock-management-warehouses.bo', '@colijnit/articleapi/build/model/stock-location.bo', '@colijnit/articleapi/build/model/article-transaction.bo', 'rxjs', '@colijnit/ioneconnector/build/model/options', '@colijnit/mainapi', '@colijnit/mainapi/build/model/printer.bo', '@colijnit/mainapi/build/model/send-method.bo', '@colijnit/ioneconnector/build/service/business-object-factory', '@colijnit/mainapi/build/model/tag-tree-item.bo', '@colijnit/ioneconnector/build/model/object-configuration', '@colijnit/relationapi', '@colijnit/relationapi/build/model/relation-list-object.bo', '@colijnit/mainapi/build/model/task-category.bo', '@colijnit/mainapi/build/model/workflow-process', '@colijnit/mainapi/build/model/co-domain-value.bo', '@colijnit/mainapi/build/model/role-email-address', '@colijnit/mainapi/build/model/activity.bo', '@colijnit/mainapi/build/model/workflow-process-info-per-status', '@colijnit/mainapi/build/model/relation-small-object.bo', '@colijnit/mainapi/build/model/report.bo', '@colijnit/sharedapi/build/model/print-stock-stickers', '@colijnit/articleapi/build/model/article-extended.bo', '@colijnit/articleapi/build/model/article-stock', '@colijnit/articleapi/build/model/article-extended-request', '@angular/platform-browser', '@colijnit/articleapi/build/model/article-stock-management', '@colijnit/corecomponents_v12', '@colijnit/articleapi/build/model/article-transaction', '@colijnit/sharedapi/build/model/print-price-stickers.bo', '@colijnit/mainapi/build/model/select-report-templates-request', '@colijnit/mainapi/build/enum/send-method-type.enum', '@colijnit/mainapi/build/model/email-job', '@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request', '@colijnit/mainapi/build/model/reporting-document-pdf-base-request', '@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request', '@colijnit/articleapi/build/model/get-stock-history-request', 'chart.js', 'moment', '@colijnit/sharedapi/build/enum/refcode/file-type-internal.enum', '@angular/cdk/drag-drop', '@colijnit/mainapi/build/enum/file-type.enum', '@colijnit/sharedapi/build/enum/object-right-type.enum', '@colijnit/mainapi/build/utils/file-utils', '@colijnit/mainapi/build/model/co-document', '@colijnit/mainapi/build/enum/co-document-type.enum', '@colijnit/articleapi/build/enum/refcode/document-publication.enum', '@colijnit/mainapi/build/model/co-document-right', '@colijnit/sharedapi/build/utils/array-utils', '@angular/cdk/overlay', '@colijnit/articleapi/build/enum/relation-kind.enum', '@colijnit/mainapi/build/enum/activity-type', '@colijnit/mainapi/build/utils/time-utils', '@colijnit/ioneconnector/build/utils/function/is-nill.function', '@colijnit/mainapi/build/model/activity-list-view-model', '@colijnit/mainapi/build/model/activity-view-model', '@colijnit/mainapi/build/enum/personal-activity-tab.enum', '@colijnit/mainapi/build/enum/activity-sort-type.enum', '@colijnit/mainapi/build/model/task.bo', '@colijnit/mainapi/build/enum/table-name.enum', '@colijnit/mainapi/build/enum/tab-category.enum', '@colijnit/ioneconnector/build/model/validation-result', '@colijnit/mainapi/build/enum/domain-name.enum', '@colijnit/mainapi/build/enum/priority-type.enum', '@colijnit/relationapi/build/model/relation-request', '@colijnit/mainapi/build/enum/period.enum', '@colijnit/mainapi/build/model/remark.bo', '@colijnit/mainapi/build/model/work.bo', '@colijnit/mainapi/build/model/activity-email-request-data', '@colijnit/mainapi/build/enum/report-type.enum'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.sharedcomponents = {}), global.ng.core, global.ng.animations, global.pdfLib, global.PDFJS, global.pdfjsWorker, global.ng.common, global.SignaturePad, global.articles, global.sharedapi, global.articleStock_bo, global.stockHistory_bo, global.articleDetails_bo, global.stockStatus_bo, global.stockManagementWarehouses_bo, global.stockLocation_bo, global.articleTransaction_bo, global.rxjs, global.options, global.mainapi, global.printer_bo, global.sendMethod_bo, global.businessObjectFactory, global.tagTreeItem_bo, global.objectConfiguration, global.relationapi, global.relationListObject_bo, global.taskCategory_bo, global.workflowProcess, global.coDomainValue_bo, global.roleEmailAddress, global.activity_bo, global.workflowProcessInfoPerStatus, global.relationSmallObject_bo, global.report_bo, global.printStockStickers, global.articleExtended_bo, global.articleStock, global.articleExtendedRequest, global.ng.platformBrowser, global.articleStockManagement, global.corecomponents_v12, global.articleTransaction, global.printPriceStickers_bo, global.selectReportTemplatesRequest, global.sendMethodType_enum, global.emailJob, global.reportingDocumentEmailSignDocBaseRequest, global.reportingDocumentPdfBaseRequest, global.reportingDocumentPrintSignDocBaseRequest, global.getStockHistoryRequest, global.chart_js, global.moment, global.fileTypeInternal_enum, global.ng.cdk.dragDrop, global.fileType_enum, global.objectRightType_enum, global.fileUtils, global.coDocument, global.coDocumentType_enum, global.documentPublication_enum, global.coDocumentRight, global.arrayUtils, global.ng.cdk.overlay, global.relationKind_enum, global.activityType, global.timeUtils, global.isNill_function, global.activityListViewModel, global.activityViewModel, global.personalActivityTab_enum, global.activitySortType_enum, global.task_bo, global.tableName_enum, global.tabCategory_enum, global.validationResult, global.domainName_enum, global.priorityType_enum, global.relationRequest, global.period_enum, global.remark_bo, global.work_bo, global.activityEmailRequestData, global.reportType_enum));
|
|
5
|
+
})(this, (function (exports, i0, animations, pdfLib, PDFJS, pdfjsWorker, common, SignaturePad, articles, sharedapi, articleStock_bo, stockHistory_bo, articleDetails_bo, stockStatus_bo, stockManagementWarehouses_bo, stockLocation_bo, articleTransaction_bo, rxjs, options, mainapi, printer_bo, sendMethod_bo, businessObjectFactory, tagTreeItem_bo, objectConfiguration, relationapi, relationListObject_bo, taskCategory_bo, workflowProcess, coDomainValue_bo, roleEmailAddress, activity_bo, workflowProcessInfoPerStatus, relationSmallObject_bo, report_bo, printStockStickers, articleExtended_bo, articleStock, articleExtendedRequest, i1, articleStockManagement, corecomponents_v12, articleTransaction, printPriceStickers_bo, selectReportTemplatesRequest, sendMethodType_enum, emailJob, reportingDocumentEmailSignDocBaseRequest, reportingDocumentPdfBaseRequest, reportingDocumentPrintSignDocBaseRequest, getStockHistoryRequest, chart_js, moment, fileTypeInternal_enum, dragDrop, fileType_enum, objectRightType_enum, fileUtils, coDocument, coDocumentType_enum, documentPublication_enum, coDocumentRight, arrayUtils, overlay, relationKind_enum, activityType, timeUtils, isNill_function, activityListViewModel, activityViewModel, personalActivityTab_enum, activitySortType_enum, task_bo, tableName_enum, tabCategory_enum, validationResult, domainName_enum, priorityType_enum, relationRequest, period_enum, remark_bo, work_bo, activityEmailRequestData, reportType_enum) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -884,13 +884,13 @@
|
|
|
884
884
|
},] }
|
|
885
885
|
];
|
|
886
886
|
|
|
887
|
-
exports["
|
|
887
|
+
exports["ɵi"] = void 0;
|
|
888
888
|
(function (LanguageCode) {
|
|
889
889
|
LanguageCode["Dutch"] = "nl-NL";
|
|
890
890
|
LanguageCode["English"] = "en-GB";
|
|
891
891
|
LanguageCode["German"] = "de-DE";
|
|
892
892
|
LanguageCode["French"] = "fr-FR";
|
|
893
|
-
})(exports["
|
|
893
|
+
})(exports["ɵi"] || (exports["ɵi"] = {}));
|
|
894
894
|
|
|
895
895
|
// Static utility functions holder related to strings.
|
|
896
896
|
var StringUtils = /** @class */ (function () {
|
|
@@ -1037,7 +1037,7 @@
|
|
|
1037
1037
|
DictionaryService.prototype.setDictionary = function (language) {
|
|
1038
1038
|
return __awaiter(this, void 0, void 0, function () {
|
|
1039
1039
|
return __generator(this, function (_a) {
|
|
1040
|
-
this._language = language || exports["
|
|
1040
|
+
this._language = language || exports["ɵi"].Dutch;
|
|
1041
1041
|
this._loadDictionary();
|
|
1042
1042
|
return [2 /*return*/];
|
|
1043
1043
|
});
|
|
@@ -1070,7 +1070,7 @@
|
|
|
1070
1070
|
return key || "";
|
|
1071
1071
|
}
|
|
1072
1072
|
if (this.language === undefined) {
|
|
1073
|
-
this._language = exports["
|
|
1073
|
+
this._language = exports["ɵi"].Dutch;
|
|
1074
1074
|
this._loadDictionary();
|
|
1075
1075
|
}
|
|
1076
1076
|
var text = this._dictionaries.get(this.language)[key];
|
|
@@ -1313,6 +1313,38 @@
|
|
|
1313
1313
|
});
|
|
1314
1314
|
});
|
|
1315
1315
|
};
|
|
1316
|
+
SharedConnectorService.prototype.getRelationSmallObject = function (relationId) {
|
|
1317
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1318
|
+
var _this = this;
|
|
1319
|
+
return __generator(this, function (_a) {
|
|
1320
|
+
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1321
|
+
return _this.relationConnector.getRelationSmallObject(relationId).then(function (result) {
|
|
1322
|
+
if (result && result.validationResult && result.validationResult.success) {
|
|
1323
|
+
resolve(_this._boFactory.makeWithRawBackendData(relationSmallObject_bo.RelationSmallObject, result.resultObject));
|
|
1324
|
+
}
|
|
1325
|
+
else {
|
|
1326
|
+
reject(result.validationMessagesAsString);
|
|
1327
|
+
}
|
|
1328
|
+
});
|
|
1329
|
+
})];
|
|
1330
|
+
});
|
|
1331
|
+
});
|
|
1332
|
+
};
|
|
1333
|
+
SharedConnectorService.prototype.insertActivity = function (activity) {
|
|
1334
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1335
|
+
var _this = this;
|
|
1336
|
+
return __generator(this, function (_a) {
|
|
1337
|
+
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1338
|
+
return _this.mainConnector.insertActivity(activity).then(function (result) { return __awaiter(_this, void 0, void 0, function () {
|
|
1339
|
+
return __generator(this, function (_a) {
|
|
1340
|
+
resolve(result.validationResult);
|
|
1341
|
+
return [2 /*return*/];
|
|
1342
|
+
});
|
|
1343
|
+
}); });
|
|
1344
|
+
})];
|
|
1345
|
+
});
|
|
1346
|
+
});
|
|
1347
|
+
};
|
|
1316
1348
|
SharedConnectorService.prototype.updateActivity = function (activity) {
|
|
1317
1349
|
return __awaiter(this, void 0, void 0, function () {
|
|
1318
1350
|
var _this = this;
|
|
@@ -1840,12 +1872,12 @@
|
|
|
1840
1872
|
});
|
|
1841
1873
|
});
|
|
1842
1874
|
};
|
|
1843
|
-
SharedConnectorService.prototype.getRoleEmailAddressesByWorkflowCategoryAndKey = function (
|
|
1875
|
+
SharedConnectorService.prototype.getRoleEmailAddressesByWorkflowCategoryAndKey = function (workflowCategory, key) {
|
|
1844
1876
|
return __awaiter(this, void 0, void 0, function () {
|
|
1845
1877
|
var _this = this;
|
|
1846
1878
|
return __generator(this, function (_a) {
|
|
1847
1879
|
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1848
|
-
return _this.mainConnector.getRoleEmailAddressesByWorkflowCategoryAndKey(
|
|
1880
|
+
return _this.mainConnector.getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key).then(function (result) {
|
|
1849
1881
|
if (result.validationResult && result.validationResult.success) {
|
|
1850
1882
|
if (result.resultObject) {
|
|
1851
1883
|
resolve(_this._boFactory.makeBOArrayFromRawBackendDataArray(roleEmailAddress.RoleEmailaddress, result.resultObject));
|
|
@@ -1859,6 +1891,59 @@
|
|
|
1859
1891
|
});
|
|
1860
1892
|
});
|
|
1861
1893
|
};
|
|
1894
|
+
SharedConnectorService.prototype.getEmailSenderByWorkflowCategoryAndKey = function (worlflowCategory, key) {
|
|
1895
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1896
|
+
var _this = this;
|
|
1897
|
+
return __generator(this, function (_a) {
|
|
1898
|
+
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1899
|
+
return _this.mainConnector.getEmailSenderByWorkflowCategoryAndKey(worlflowCategory, key).then(function (result) {
|
|
1900
|
+
if (result.validationResult && result.validationResult.success) {
|
|
1901
|
+
resolve(result.resultObject);
|
|
1902
|
+
}
|
|
1903
|
+
else {
|
|
1904
|
+
reject(result.validationMessagesAsString);
|
|
1905
|
+
}
|
|
1906
|
+
});
|
|
1907
|
+
})];
|
|
1908
|
+
});
|
|
1909
|
+
});
|
|
1910
|
+
};
|
|
1911
|
+
SharedConnectorService.prototype.getReportTemplates = function (reportTemplatesRequest) {
|
|
1912
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1913
|
+
var _this = this;
|
|
1914
|
+
return __generator(this, function (_a) {
|
|
1915
|
+
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1916
|
+
return _this.mainConnector.getReportTemplates(reportTemplatesRequest).then(function (result) {
|
|
1917
|
+
if (result.validationResult && result.validationResult.success) {
|
|
1918
|
+
if (result.resultObjects) {
|
|
1919
|
+
resolve(_this._boFactory.makeBOArrayFromRawBackendDataArray(report_bo.Report, result.resultObjects));
|
|
1920
|
+
}
|
|
1921
|
+
}
|
|
1922
|
+
else {
|
|
1923
|
+
reject(result.validationMessagesAsString);
|
|
1924
|
+
}
|
|
1925
|
+
});
|
|
1926
|
+
})];
|
|
1927
|
+
});
|
|
1928
|
+
});
|
|
1929
|
+
};
|
|
1930
|
+
SharedConnectorService.prototype.emailReport = function (emailJob) {
|
|
1931
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1932
|
+
var _this = this;
|
|
1933
|
+
return __generator(this, function (_a) {
|
|
1934
|
+
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1935
|
+
return _this.mainConnector.emailReport(emailJob).then(function (result) {
|
|
1936
|
+
if (result.validationResult && result.validationResult.success) {
|
|
1937
|
+
resolve(result.resultObject);
|
|
1938
|
+
}
|
|
1939
|
+
else {
|
|
1940
|
+
reject(result.validationMessagesAsString);
|
|
1941
|
+
}
|
|
1942
|
+
});
|
|
1943
|
+
})];
|
|
1944
|
+
});
|
|
1945
|
+
});
|
|
1946
|
+
};
|
|
1862
1947
|
SharedConnectorService.prototype.getWorkflowProcessInfoPerStatus = function (worlflowCategory) {
|
|
1863
1948
|
return __awaiter(this, void 0, void 0, function () {
|
|
1864
1949
|
var _this = this;
|
|
@@ -2147,7 +2232,7 @@
|
|
|
2147
2232
|
];
|
|
2148
2233
|
|
|
2149
2234
|
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
2150
|
-
exports["
|
|
2235
|
+
exports["ɵbv"] = void 0;
|
|
2151
2236
|
(function (Icon) {
|
|
2152
2237
|
Icon["Account"] = "account";
|
|
2153
2238
|
Icon["AngleLeftSolid"] = "angle_left_solid";
|
|
@@ -2193,6 +2278,7 @@
|
|
|
2193
2278
|
Icon["MessageSmsSolid"] = "message_sms_solid";
|
|
2194
2279
|
Icon["Notification"] = "notification";
|
|
2195
2280
|
Icon["PaperclipRegular"] = "paperclip_regular";
|
|
2281
|
+
Icon["PaperPlaneTopSolid"] = "paper_plane_top_solid";
|
|
2196
2282
|
Icon["Pdf"] = "pdf";
|
|
2197
2283
|
Icon["PersonDiggingRegular"] = "person_digging_regular";
|
|
2198
2284
|
Icon["PinRoundOpen"] = "pin_round_open";
|
|
@@ -2205,7 +2291,7 @@
|
|
|
2205
2291
|
Icon["Trashbin"] = "trashbin";
|
|
2206
2292
|
Icon["Xml"] = "xml";
|
|
2207
2293
|
Icon["XSolid"] = "x_solid";
|
|
2208
|
-
})(exports["
|
|
2294
|
+
})(exports["ɵbv"] || (exports["ɵbv"] = {}));
|
|
2209
2295
|
|
|
2210
2296
|
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
2211
2297
|
var IconSvg = {
|
|
@@ -2253,6 +2339,7 @@
|
|
|
2253
2339
|
"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>",
|
|
2254
2340
|
"notification": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><path d=\"M15,1.1C6.72,1.1,0,6,0,12.06c0,2.12,.84,4.09,2.27,5.77h-.16c.16,.1,.28,.22,.43,.32,.4,.44,.86,.85,1.35,1.24,3.07,3.75,.06,8.71-3.25,9.84,5.79-1.34,9.31-3.89,10.9-6.53,1.11,.19,2.27,.31,3.46,.31,8.28,0,15-4.91,15-10.96S23.28,1.1,15,1.1Zm1.38,17.07h-2.82v-7.06h2.82v7.06Zm-.34-9.59c-.28,.28-.61,.41-1,.41s-.72-.14-1-.41c-.28-.28-.41-.61-.41-1s.14-.72,.41-1c.27-.28,.61-.41,1-.41s.72,.14,1,.41c.28,.28,.41,.61,.41,1s-.14,.72-.41,1Z\" fill=\"#484f60\"/></g></svg>",
|
|
2255
2341
|
"paperclip_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M375 73c-26-26-68.1-26-94.1 0L89 265C45.3 308.6 45.3 379.4 89 423s114.4 43.6 158.1 0L399 271c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L281 457c-62.4 62.4-163.5 62.4-225.9 0S-7.4 293.4 55 231L247 39C291.7-5.7 364.2-5.7 409 39s44.7 117.2 0 161.9L225.2 384.7c-31.6 31.6-83.6 28.7-111.5-6.2c-23.8-29.8-21.5-72.8 5.5-99.8L271 127c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L153.2 312.7c-9.7 9.7-10.6 25.1-2 35.8c10 12.5 28.7 13.6 40 2.2L375 167c26-26 26-68.1 0-94.1z\"/></svg>",
|
|
2342
|
+
"paper_plane_top_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M49.9 27.8C15.1 12.7-19.2 50.1-1.2 83.5L68.1 212.2c4.4 8.3 12.6 13.8 21.9 15c0 0 0 0 0 0l176 22c3.4 .4 6 3.3 6 6.7s-2.6 6.3-6 6.7l-176 22s0 0 0 0c-9.3 1.2-17.5 6.8-21.9 15L-1.2 428.5c-18 33.4 16.3 70.8 51.1 55.7L491.8 292.7c32.1-13.9 32.1-59.5 0-73.4L49.9 27.8z\"/></svg>",
|
|
2256
2343
|
"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>",
|
|
2257
2344
|
"person_digging_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M208 64a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM440.8 288c8.2 .3 15.7 4.7 19.8 11.8l104 176c4.4 7.4 4.5 16.6 .2 24.1s-12.2 12.1-20.8 12.1H288c-7.7 0-15-3.7-19.5-10s-5.7-14.3-3.3-21.6l16-48c3.3-9.8 12.4-16.4 22.8-16.4h35.4l20.3-29.5L22.8 246.2c-12.2-5.1-18-19.1-12.9-31.4s19.1-18 31.4-12.9L61 210.1l19.8-36.2C96.2 145.6 125.8 128 158 128h3.8c52.3 0 98.5 33.8 114.4 83.6l32.3 101.6 79 32.9 32.8-47.7c4.6-6.8 12.4-10.7 20.6-10.4zm-190.4 1l-20-62.8c-9.5-29.9-37.3-50.2-68.6-50.2H158c-14.6 0-28.1 8-35.1 20.8l-17.3 31.8L250.4 289zm188.1 67.6l-66.7 97L364.6 464H501.9L438.5 356.6zM81.4 301.1l128 54.4c8.9 3.8 14.6 12.5 14.6 22.1V488c0 13.3-10.7 24-24 24s-24-10.7-24-24V393.5L87.5 355.9 47 494.7c-3.7 12.7-17 20-29.8 16.3S-2.7 494 1 481.3L49 316.5l7.6-25.9 24.9 10.6z\"/></svg>",
|
|
2258
2345
|
"pin_round_open": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 51 51\"><path d=\"M683.16,390.18a7.07,7.07,0,0,1-3.09-.77c-2.53-1.25-3.94-3.58-3.14-5.19a3.07,3.07,0,0,1,2.94-1.43h.1l-1,1.74v.2a2.48,2.48,0,0,0,.78,1.82,5.23,5.23,0,0,0,3.44,1.51,2,2,0,0,0,1.8-.84l.06-.09.52-1.48a3,3,0,0,1,.57,3.09,3.07,3.07,0,0,1-2.94,1.43Z\" transform=\"translate(-657.5 -358.97)\" fill=\"#4d5065\"/><path d=\"M683.15,386.94a4.06,4.06,0,0,1-2.62-1.16,1.5,1.5,0,0,1-.47-.92l2.32-4a5.24,5.24,0,0,0,3.13,1.45L684,386.63a1,1,0,0,1-.84.31Z\" transform=\"translate(-657.5 -358.97)\" fill=\"#4d5065\"/><path d=\"M686.75,381.45a5.78,5.78,0,0,1-2.52-.63c-2.06-1-3.21-2.9-2.57-4.21a2.48,2.48,0,0,1,2.37-1.15,5.78,5.78,0,0,1,2.53.63,5.5,5.5,0,0,1,2.32,2.05,2.26,2.26,0,0,1,.24,2.15,2.48,2.48,0,0,1-2.37,1.15Z\" transform=\"translate(-657.5 -358.97)\" fill=\"#4d5065\"/><path d=\"M679.42,390l-.89,1.92-.13,1.55,1-1.16.81-1.92-.54-.24Z\" transform=\"translate(-657.5 -358.97)\" fill=\"#4d5065\"/><path d=\"M683,399.47a15,15,0,1,1,15-15A15,15,0,0,1,683,399.47Zm0-29a14,14,0,1,0,14,14A14,14,0,0,0,683,370.44Z\" transform=\"translate(-657.5 -358.97)\" fill=\"#4d5065\"/></svg>",
|
|
@@ -2328,7 +2415,7 @@
|
|
|
2328
2415
|
this._localizeService = _localizeService;
|
|
2329
2416
|
this._connector = _connector;
|
|
2330
2417
|
this.iconCacheService = iconCacheService;
|
|
2331
|
-
this.icons = exports["
|
|
2418
|
+
this.icons = exports["ɵbv"];
|
|
2332
2419
|
this.handleStickerClicked = new i0.EventEmitter();
|
|
2333
2420
|
this.articleWarehouse = [];
|
|
2334
2421
|
this.allWarehouses = [];
|
|
@@ -2548,7 +2635,7 @@
|
|
|
2548
2635
|
function StockInformationGridComponent(iconCacheService, _stockService) {
|
|
2549
2636
|
this.iconCacheService = iconCacheService;
|
|
2550
2637
|
this._stockService = _stockService;
|
|
2551
|
-
this.icons = exports["
|
|
2638
|
+
this.icons = exports["ɵbv"];
|
|
2552
2639
|
this.transferIconClicked = new i0.EventEmitter();
|
|
2553
2640
|
this.historyClicked = new i0.EventEmitter();
|
|
2554
2641
|
this.cancelButtonClicked = new i0.EventEmitter();
|
|
@@ -2799,7 +2886,7 @@
|
|
|
2799
2886
|
this.stockState = [];
|
|
2800
2887
|
this.locations = [];
|
|
2801
2888
|
this.stockStatus = [];
|
|
2802
|
-
this.icons = exports["
|
|
2889
|
+
this.icons = exports["ɵbv"];
|
|
2803
2890
|
}
|
|
2804
2891
|
StockTransferComponent.prototype.ngAfterViewInit = function () {
|
|
2805
2892
|
this.getStockManagementWarehouses();
|
|
@@ -2895,7 +2982,8 @@
|
|
|
2895
2982
|
};
|
|
2896
2983
|
|
|
2897
2984
|
var SharedService = /** @class */ (function () {
|
|
2898
|
-
function SharedService(options, connector) {
|
|
2985
|
+
function SharedService(locale, options, connector) {
|
|
2986
|
+
this.locale = locale;
|
|
2899
2987
|
this.options = options;
|
|
2900
2988
|
this.connector = connector;
|
|
2901
2989
|
}
|
|
@@ -3008,6 +3096,26 @@
|
|
|
3008
3096
|
});
|
|
3009
3097
|
});
|
|
3010
3098
|
};
|
|
3099
|
+
SharedService.prototype.getRelationSmallObject = function (relationId) {
|
|
3100
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3101
|
+
return __generator(this, function (_a) {
|
|
3102
|
+
switch (_a.label) {
|
|
3103
|
+
case 0: return [4 /*yield*/, this.connector.getRelationSmallObject(relationId)];
|
|
3104
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
3105
|
+
}
|
|
3106
|
+
});
|
|
3107
|
+
});
|
|
3108
|
+
};
|
|
3109
|
+
SharedService.prototype.insertActivity = function (activity) {
|
|
3110
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3111
|
+
return __generator(this, function (_a) {
|
|
3112
|
+
switch (_a.label) {
|
|
3113
|
+
case 0: return [4 /*yield*/, this.connector.insertActivity(activity)];
|
|
3114
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
3115
|
+
}
|
|
3116
|
+
});
|
|
3117
|
+
});
|
|
3118
|
+
};
|
|
3011
3119
|
SharedService.prototype.updateActivity = function (activity) {
|
|
3012
3120
|
return __awaiter(this, void 0, void 0, function () {
|
|
3013
3121
|
return __generator(this, function (_a) {
|
|
@@ -3111,6 +3219,58 @@
|
|
|
3111
3219
|
});
|
|
3112
3220
|
});
|
|
3113
3221
|
};
|
|
3222
|
+
SharedService.prototype.getEmailSenderByWorkflowCategoryAndKey = function (workflowCategory, key) {
|
|
3223
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3224
|
+
return __generator(this, function (_a) {
|
|
3225
|
+
switch (_a.label) {
|
|
3226
|
+
case 0: return [4 /*yield*/, this.connector.getEmailSenderByWorkflowCategoryAndKey(workflowCategory, key)];
|
|
3227
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
3228
|
+
}
|
|
3229
|
+
});
|
|
3230
|
+
});
|
|
3231
|
+
};
|
|
3232
|
+
SharedService.prototype.getDefaultEmailReportTemplatesForBranch = function (branchNr, reportType) {
|
|
3233
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3234
|
+
var reportTemplatesRequest;
|
|
3235
|
+
return __generator(this, function (_a) {
|
|
3236
|
+
switch (_a.label) {
|
|
3237
|
+
case 0:
|
|
3238
|
+
reportTemplatesRequest = new selectReportTemplatesRequest.SelectReportTemplatesRequest();
|
|
3239
|
+
reportTemplatesRequest.branchNr = branchNr;
|
|
3240
|
+
reportTemplatesRequest.documentCode = reportType;
|
|
3241
|
+
reportTemplatesRequest.sendMethod = sendMethodType_enum.SendMethodType.Email;
|
|
3242
|
+
return [4 /*yield*/, this.connector.getReportTemplates(reportTemplatesRequest)];
|
|
3243
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
3244
|
+
}
|
|
3245
|
+
});
|
|
3246
|
+
});
|
|
3247
|
+
};
|
|
3248
|
+
SharedService.prototype.emailViaTemplate = function (template, emailTo, subject, message, attachments, parameters) {
|
|
3249
|
+
if (subject === void 0) { subject = ""; }
|
|
3250
|
+
if (message === void 0) { message = ""; }
|
|
3251
|
+
if (attachments === void 0) { attachments = []; }
|
|
3252
|
+
if (parameters === void 0) { parameters = {}; }
|
|
3253
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3254
|
+
var subjectAddition, emailJob;
|
|
3255
|
+
return __generator(this, function (_a) {
|
|
3256
|
+
subjectAddition = subject.trim();
|
|
3257
|
+
emailJob = this._createEmailJob(template, emailTo, subjectAddition, message, attachments, parameters);
|
|
3258
|
+
return [2 /*return*/, this.connector.emailReport(emailJob)];
|
|
3259
|
+
});
|
|
3260
|
+
});
|
|
3261
|
+
};
|
|
3262
|
+
SharedService.prototype._createEmailJob = function (report, emailTo, subject, message, attachments, parameters) {
|
|
3263
|
+
if (parameters === void 0) { parameters = {}; }
|
|
3264
|
+
var emailJob$1 = new emailJob.EmailJob();
|
|
3265
|
+
emailJob$1.emailTo = emailTo;
|
|
3266
|
+
emailJob$1.subject = subject;
|
|
3267
|
+
emailJob$1.message = message;
|
|
3268
|
+
emailJob$1.attachments = attachments;
|
|
3269
|
+
emailJob$1.reportId = report.reportId;
|
|
3270
|
+
emailJob$1.parameterValues = parameters;
|
|
3271
|
+
emailJob$1.locale = this.locale;
|
|
3272
|
+
return emailJob$1;
|
|
3273
|
+
};
|
|
3114
3274
|
SharedService.prototype.getWorkflowProcessInfoPerStatus = function (workflowCategory) {
|
|
3115
3275
|
return __awaiter(this, void 0, void 0, function () {
|
|
3116
3276
|
return __generator(this, function (_a) {
|
|
@@ -3151,13 +3311,14 @@
|
|
|
3151
3311
|
};
|
|
3152
3312
|
return SharedService;
|
|
3153
3313
|
}());
|
|
3154
|
-
SharedService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function SharedService_Factory() { return new SharedService(i0__namespace.ɵɵinject(OptionsService), i0__namespace.ɵɵinject(SharedConnectorService)); }, token: SharedService, providedIn: "root" });
|
|
3314
|
+
SharedService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function SharedService_Factory() { return new SharedService(i0__namespace.ɵɵinject(i0__namespace.LOCALE_ID), i0__namespace.ɵɵinject(OptionsService), i0__namespace.ɵɵinject(SharedConnectorService)); }, token: SharedService, providedIn: "root" });
|
|
3155
3315
|
SharedService.decorators = [
|
|
3156
3316
|
{ type: i0.Injectable, args: [{
|
|
3157
3317
|
providedIn: "root"
|
|
3158
3318
|
},] }
|
|
3159
3319
|
];
|
|
3160
3320
|
SharedService.ctorParameters = function () { return [
|
|
3321
|
+
{ type: exports["ɵi"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
|
|
3161
3322
|
{ type: OptionsService },
|
|
3162
3323
|
{ type: SharedConnectorService }
|
|
3163
3324
|
]; };
|
|
@@ -3239,14 +3400,14 @@
|
|
|
3239
3400
|
}());
|
|
3240
3401
|
|
|
3241
3402
|
var sendMethodsWithIcon = [
|
|
3242
|
-
new SendMethod(sendMethodType_enum.SendMethodType.Fax, "Fax", exports["
|
|
3243
|
-
new SendMethod(sendMethodType_enum.SendMethodType.Print, "Print", exports["
|
|
3244
|
-
new SendMethod(sendMethodType_enum.SendMethodType.Email, "Email", exports["
|
|
3245
|
-
new SendMethod(sendMethodType_enum.SendMethodType.Edi, "Edi", exports["
|
|
3246
|
-
new SendMethod(sendMethodType_enum.SendMethodType.EmailTemplate, "Email template", exports["
|
|
3247
|
-
new SendMethod(sendMethodType_enum.SendMethodType.Sms, "Sms", exports["
|
|
3248
|
-
new SendMethod(sendMethodType_enum.SendMethodType.WebService, "Webservice", exports["
|
|
3249
|
-
new SendMethod(sendMethodType_enum.SendMethodType.Pdf, "Pdf", exports["
|
|
3403
|
+
new SendMethod(sendMethodType_enum.SendMethodType.Fax, "Fax", exports["ɵbv"].PrintRegular),
|
|
3404
|
+
new SendMethod(sendMethodType_enum.SendMethodType.Print, "Print", exports["ɵbv"].PrintSolid),
|
|
3405
|
+
new SendMethod(sendMethodType_enum.SendMethodType.Email, "Email", exports["ɵbv"].AtSolid),
|
|
3406
|
+
new SendMethod(sendMethodType_enum.SendMethodType.Edi, "Edi", exports["ɵbv"].FileExportSolid),
|
|
3407
|
+
new SendMethod(sendMethodType_enum.SendMethodType.EmailTemplate, "Email template", exports["ɵbv"].EnvelopeRegular),
|
|
3408
|
+
new SendMethod(sendMethodType_enum.SendMethodType.Sms, "Sms", exports["ɵbv"].MessageSmsSolid),
|
|
3409
|
+
new SendMethod(sendMethodType_enum.SendMethodType.WebService, "Webservice", exports["ɵbv"].PrintRegular),
|
|
3410
|
+
new SendMethod(sendMethodType_enum.SendMethodType.Pdf, "Pdf", exports["ɵbv"].Pdf)
|
|
3250
3411
|
];
|
|
3251
3412
|
var SendMethodDialogComponent = /** @class */ (function () {
|
|
3252
3413
|
function SendMethodDialogComponent(iconCacheService, _changeDetector, _sharedService, _sendMethodService) {
|
|
@@ -3255,7 +3416,7 @@
|
|
|
3255
3416
|
this._changeDetector = _changeDetector;
|
|
3256
3417
|
this._sharedService = _sharedService;
|
|
3257
3418
|
this._sendMethodService = _sendMethodService;
|
|
3258
|
-
this.icons = exports["
|
|
3419
|
+
this.icons = exports["ɵbv"];
|
|
3259
3420
|
this.printerList = [];
|
|
3260
3421
|
this.emailLayouts = [];
|
|
3261
3422
|
this.printLayouts = [];
|
|
@@ -3482,7 +3643,7 @@
|
|
|
3482
3643
|
var LayoutSelectionComponent = /** @class */ (function () {
|
|
3483
3644
|
function LayoutSelectionComponent(iconCacheService) {
|
|
3484
3645
|
this.iconCacheService = iconCacheService;
|
|
3485
|
-
this.icons = exports["
|
|
3646
|
+
this.icons = exports["ɵbv"];
|
|
3486
3647
|
this.layouts = [];
|
|
3487
3648
|
this.requestChange = new i0.EventEmitter();
|
|
3488
3649
|
this.showLayoutList = false;
|
|
@@ -3558,7 +3719,7 @@
|
|
|
3558
3719
|
var SignatureButtonComponent = /** @class */ (function () {
|
|
3559
3720
|
function SignatureButtonComponent(iconCacheService) {
|
|
3560
3721
|
this.iconCacheService = iconCacheService;
|
|
3561
|
-
this.icons = exports["
|
|
3722
|
+
this.icons = exports["ɵbv"];
|
|
3562
3723
|
}
|
|
3563
3724
|
SignatureButtonComponent.prototype.showClass = function () {
|
|
3564
3725
|
return true;
|
|
@@ -3668,7 +3829,7 @@
|
|
|
3668
3829
|
this.sendMethodService = sendMethodService;
|
|
3669
3830
|
this.iconService = iconService;
|
|
3670
3831
|
this._service = _service;
|
|
3671
|
-
this.icons = exports["
|
|
3832
|
+
this.icons = exports["ɵbv"];
|
|
3672
3833
|
this.printers = [];
|
|
3673
3834
|
this.showPrinterList = false;
|
|
3674
3835
|
}
|
|
@@ -3919,7 +4080,7 @@
|
|
|
3919
4080
|
function OrderTabComponent(iconCacheService, _stockService) {
|
|
3920
4081
|
this.iconCacheService = iconCacheService;
|
|
3921
4082
|
this._stockService = _stockService;
|
|
3922
|
-
this.icons = exports["
|
|
4083
|
+
this.icons = exports["ɵbv"];
|
|
3923
4084
|
this.articleStockInformation = [];
|
|
3924
4085
|
this.inOrderInformation = [];
|
|
3925
4086
|
this.locationClicked = new i0.EventEmitter();
|
|
@@ -3958,7 +4119,7 @@
|
|
|
3958
4119
|
this._stockService = _stockService;
|
|
3959
4120
|
this._localizeService = _localizeService;
|
|
3960
4121
|
this._changeDetector = _changeDetector;
|
|
3961
|
-
this.icons = exports["
|
|
4122
|
+
this.icons = exports["ɵbv"];
|
|
3962
4123
|
this.stockInformation = [];
|
|
3963
4124
|
this.warehouses = [];
|
|
3964
4125
|
this.transferIconClicked = new i0.EventEmitter();
|
|
@@ -4148,7 +4309,7 @@
|
|
|
4148
4309
|
|
|
4149
4310
|
var StockHistoryTabsComponent = /** @class */ (function () {
|
|
4150
4311
|
function StockHistoryTabsComponent() {
|
|
4151
|
-
this.icons = exports["
|
|
4312
|
+
this.icons = exports["ɵbv"];
|
|
4152
4313
|
this.selectedTab = 0;
|
|
4153
4314
|
}
|
|
4154
4315
|
return StockHistoryTabsComponent;
|
|
@@ -4168,7 +4329,7 @@
|
|
|
4168
4329
|
function OrderStockTabComponent(iconCacheService, _stockService) {
|
|
4169
4330
|
this.iconCacheService = iconCacheService;
|
|
4170
4331
|
this._stockService = _stockService;
|
|
4171
|
-
this.icons = exports["
|
|
4332
|
+
this.icons = exports["ɵbv"];
|
|
4172
4333
|
this.orderInformation = [];
|
|
4173
4334
|
}
|
|
4174
4335
|
return OrderStockTabComponent;
|
|
@@ -4193,7 +4354,7 @@
|
|
|
4193
4354
|
this.iconCacheService = iconCacheService;
|
|
4194
4355
|
this._stockService = _stockService;
|
|
4195
4356
|
this._changeDetector = _changeDetector;
|
|
4196
|
-
this.icons = exports["
|
|
4357
|
+
this.icons = exports["ɵbv"];
|
|
4197
4358
|
this.articleStockInfo = [];
|
|
4198
4359
|
this.articleStockInformation = [];
|
|
4199
4360
|
this.articleWarehouse = [];
|
|
@@ -4357,7 +4518,7 @@
|
|
|
4357
4518
|
function StockHistoryComponent(iconCacheService, _stockService) {
|
|
4358
4519
|
this.iconCacheService = iconCacheService;
|
|
4359
4520
|
this._stockService = _stockService;
|
|
4360
|
-
this.icons = exports["
|
|
4521
|
+
this.icons = exports["ɵbv"];
|
|
4361
4522
|
this.stockHistoryInformation = [];
|
|
4362
4523
|
this.stockHistory = [];
|
|
4363
4524
|
}
|
|
@@ -4456,7 +4617,7 @@
|
|
|
4456
4617
|
var OrderSupplyStockHistoryComponent = /** @class */ (function () {
|
|
4457
4618
|
function OrderSupplyStockHistoryComponent(iconCacheService) {
|
|
4458
4619
|
this.iconCacheService = iconCacheService;
|
|
4459
|
-
this.icons = exports["
|
|
4620
|
+
this.icons = exports["ɵbv"];
|
|
4460
4621
|
this.orderSupplyStockHistory = [];
|
|
4461
4622
|
}
|
|
4462
4623
|
return OrderSupplyStockHistoryComponent;
|
|
@@ -4478,7 +4639,7 @@
|
|
|
4478
4639
|
var OrderCommissionStockHistoryComponent = /** @class */ (function () {
|
|
4479
4640
|
function OrderCommissionStockHistoryComponent(iconCacheService) {
|
|
4480
4641
|
this.iconCacheService = iconCacheService;
|
|
4481
|
-
this.icons = exports["
|
|
4642
|
+
this.icons = exports["ɵbv"];
|
|
4482
4643
|
this.orderStockCommissionHistory = [];
|
|
4483
4644
|
}
|
|
4484
4645
|
return OrderCommissionStockHistoryComponent;
|
|
@@ -4500,7 +4661,7 @@
|
|
|
4500
4661
|
var OrderStockHistoryComponent = /** @class */ (function () {
|
|
4501
4662
|
function OrderStockHistoryComponent(iconCacheService) {
|
|
4502
4663
|
this.iconCacheService = iconCacheService;
|
|
4503
|
-
this.icons = exports["
|
|
4664
|
+
this.icons = exports["ɵbv"];
|
|
4504
4665
|
this.orderStockHistory = [];
|
|
4505
4666
|
}
|
|
4506
4667
|
return OrderStockHistoryComponent;
|
|
@@ -4522,7 +4683,7 @@
|
|
|
4522
4683
|
var AllocationStockHistoryComponent = /** @class */ (function () {
|
|
4523
4684
|
function AllocationStockHistoryComponent(iconCacheService) {
|
|
4524
4685
|
this.iconCacheService = iconCacheService;
|
|
4525
|
-
this.icons = exports["
|
|
4686
|
+
this.icons = exports["ɵbv"];
|
|
4526
4687
|
this.allocationStockHistory = [];
|
|
4527
4688
|
}
|
|
4528
4689
|
return AllocationStockHistoryComponent;
|
|
@@ -4851,7 +5012,7 @@
|
|
|
4851
5012
|
function StockPrognoseComponent(iconCacheService, _stockService) {
|
|
4852
5013
|
this.iconCacheService = iconCacheService;
|
|
4853
5014
|
this._stockService = _stockService;
|
|
4854
|
-
this.icons = exports["
|
|
5015
|
+
this.icons = exports["ɵbv"];
|
|
4855
5016
|
this.stockPrognose = [];
|
|
4856
5017
|
}
|
|
4857
5018
|
return StockPrognoseComponent;
|
|
@@ -4923,7 +5084,7 @@
|
|
|
4923
5084
|
this.iconCacheService = iconCacheService;
|
|
4924
5085
|
this._stockService = _stockService;
|
|
4925
5086
|
this._changeDetector = _changeDetector;
|
|
4926
|
-
this.icons = exports["
|
|
5087
|
+
this.icons = exports["ɵbv"];
|
|
4927
5088
|
this.showConfirmationDialog = false;
|
|
4928
5089
|
this.newStockLine = false;
|
|
4929
5090
|
this.selectedArticleDetailsData = new articleDetails_bo.ArticleDetailsBo();
|
|
@@ -5211,7 +5372,7 @@
|
|
|
5211
5372
|
var KeyPadComponent = /** @class */ (function () {
|
|
5212
5373
|
function KeyPadComponent(iconCacheService) {
|
|
5213
5374
|
this.iconCacheService = iconCacheService;
|
|
5214
|
-
this.icons = exports["
|
|
5375
|
+
this.icons = exports["ɵbv"];
|
|
5215
5376
|
this.showValue = true;
|
|
5216
5377
|
this.resetModelOnInit = true;
|
|
5217
5378
|
this.emitModelChangeOnEnter = true;
|
|
@@ -5412,7 +5573,7 @@
|
|
|
5412
5573
|
var LayoutSwitcherComponent = /** @class */ (function () {
|
|
5413
5574
|
function LayoutSwitcherComponent(iconCacheService) {
|
|
5414
5575
|
this.iconCacheService = iconCacheService;
|
|
5415
|
-
this.icon = exports["
|
|
5576
|
+
this.icon = exports["ɵbv"];
|
|
5416
5577
|
this.layoutItems = [];
|
|
5417
5578
|
this.layoutSwitchEmit = new i0.EventEmitter();
|
|
5418
5579
|
this.showMaskSidebar = false;
|
|
@@ -5692,7 +5853,7 @@
|
|
|
5692
5853
|
this.iconCacheService = iconCacheService;
|
|
5693
5854
|
this.selectedDate = new Date();
|
|
5694
5855
|
this.selectedDateChange = new i0.EventEmitter();
|
|
5695
|
-
this.icons = exports["
|
|
5856
|
+
this.icons = exports["ɵbv"];
|
|
5696
5857
|
this.showMonthYearSelect = false;
|
|
5697
5858
|
this.expanded = false;
|
|
5698
5859
|
}
|
|
@@ -6245,7 +6406,7 @@
|
|
|
6245
6406
|
},] }
|
|
6246
6407
|
];
|
|
6247
6408
|
CalendarViewComponent.ctorParameters = function () { return [
|
|
6248
|
-
{ type: exports["
|
|
6409
|
+
{ type: exports["ɵi"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
|
|
6249
6410
|
]; };
|
|
6250
6411
|
CalendarViewComponent.propDecorators = {
|
|
6251
6412
|
view: [{ type: i0.Input }],
|
|
@@ -6372,7 +6533,7 @@
|
|
|
6372
6533
|
CalendarUtils.Locale = undefined;
|
|
6373
6534
|
CalendarUtils.Now = new Date();
|
|
6374
6535
|
CalendarUtils.ctorParameters = function () { return [
|
|
6375
|
-
{ type: exports["
|
|
6536
|
+
{ type: exports["ɵi"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
|
|
6376
6537
|
]; };
|
|
6377
6538
|
|
|
6378
6539
|
var AgendaEvent = /** @class */ (function () {
|
|
@@ -6429,7 +6590,7 @@
|
|
|
6429
6590
|
this._renderer = _renderer;
|
|
6430
6591
|
this._ngZone = _ngZone;
|
|
6431
6592
|
this.iconCacheService = iconCacheService;
|
|
6432
|
-
this.icons = exports["
|
|
6593
|
+
this.icons = exports["ɵbv"];
|
|
6433
6594
|
this.viewTypes = exports.CalendarView;
|
|
6434
6595
|
this.scrollbarWidth = 15;
|
|
6435
6596
|
this.today = new Date();
|
|
@@ -6621,7 +6782,7 @@
|
|
|
6621
6782
|
},] }
|
|
6622
6783
|
];
|
|
6623
6784
|
AgendaHeaderComponent.ctorParameters = function () { return [
|
|
6624
|
-
{ type: exports["
|
|
6785
|
+
{ type: exports["ɵi"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
|
|
6625
6786
|
{ type: i0.ElementRef },
|
|
6626
6787
|
{ type: i0.Renderer2 },
|
|
6627
6788
|
{ type: i0.NgZone },
|
|
@@ -6722,7 +6883,7 @@
|
|
|
6722
6883
|
{ type: i0.Directive }
|
|
6723
6884
|
];
|
|
6724
6885
|
AgendaBaseViewComponent.ctorParameters = function () { return [
|
|
6725
|
-
{ type: exports["
|
|
6886
|
+
{ type: exports["ɵi"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
|
|
6726
6887
|
{ type: IconCacheService }
|
|
6727
6888
|
]; };
|
|
6728
6889
|
AgendaBaseViewComponent.propDecorators = {
|
|
@@ -6841,7 +7002,7 @@
|
|
|
6841
7002
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
6842
7003
|
_this.view = exports.CalendarView.WeekSelectView;
|
|
6843
7004
|
_this.week = NULL_WEEK;
|
|
6844
|
-
_this.icons = exports["
|
|
7005
|
+
_this.icons = exports["ɵbv"];
|
|
6845
7006
|
return _this;
|
|
6846
7007
|
}
|
|
6847
7008
|
AgendaWeekSelectViewComponent.prototype.prepareViewData = function () {
|
|
@@ -7087,7 +7248,7 @@
|
|
|
7087
7248
|
this._elementRef = _elementRef;
|
|
7088
7249
|
this._renderer = _renderer;
|
|
7089
7250
|
this.iconCacheService = iconCacheService;
|
|
7090
|
-
this.icons = exports["
|
|
7251
|
+
this.icons = exports["ɵbv"];
|
|
7091
7252
|
this.event = NULL_AGENDA_EVENT;
|
|
7092
7253
|
this.eventChecked = new i0.EventEmitter();
|
|
7093
7254
|
}
|
|
@@ -7309,7 +7470,7 @@
|
|
|
7309
7470
|
var AgendaSelectEventComponent = /** @class */ (function () {
|
|
7310
7471
|
function AgendaSelectEventComponent(iconCacheService) {
|
|
7311
7472
|
this.iconCacheService = iconCacheService;
|
|
7312
|
-
this.icons = exports["
|
|
7473
|
+
this.icons = exports["ɵbv"];
|
|
7313
7474
|
this.event = NULL_AGENDA_EVENT;
|
|
7314
7475
|
this.eventChecked = new i0.EventEmitter();
|
|
7315
7476
|
}
|
|
@@ -7379,7 +7540,7 @@
|
|
|
7379
7540
|
function SimpleTagsComponent(iconCacheService, sharedService) {
|
|
7380
7541
|
this.iconCacheService = iconCacheService;
|
|
7381
7542
|
this.sharedService = sharedService;
|
|
7382
|
-
this.icon = exports["
|
|
7543
|
+
this.icon = exports["ɵbv"];
|
|
7383
7544
|
this.closeClick = new i0.EventEmitter();
|
|
7384
7545
|
this.saveClick = new i0.EventEmitter();
|
|
7385
7546
|
this.breadCrumbs = [];
|
|
@@ -7440,7 +7601,7 @@
|
|
|
7440
7601
|
function SimpleTagsFormComponent(iconCacheService, sharedService) {
|
|
7441
7602
|
this.iconCacheService = iconCacheService;
|
|
7442
7603
|
this.sharedService = sharedService;
|
|
7443
|
-
this.icon = exports["
|
|
7604
|
+
this.icon = exports["ɵbv"];
|
|
7444
7605
|
this.linkedTagsChange = new i0.EventEmitter();
|
|
7445
7606
|
this.breadCrumbs = [];
|
|
7446
7607
|
this.displayTags = [];
|
|
@@ -8759,8 +8920,8 @@
|
|
|
8759
8920
|
function AppFileDropzoneComponent(dictionary, iconCacheService) {
|
|
8760
8921
|
this.dictionary = dictionary;
|
|
8761
8922
|
this.iconCacheService = iconCacheService;
|
|
8762
|
-
this.icons = exports["
|
|
8763
|
-
this.Icons = exports["
|
|
8923
|
+
this.icons = exports["ɵbv"];
|
|
8924
|
+
this.Icons = exports["ɵbv"];
|
|
8764
8925
|
this._defaultDropActionMessage = "DROP_ZONE_DOCUMENTS";
|
|
8765
8926
|
}
|
|
8766
8927
|
AppFileDropzoneComponent.prototype.showClass = function () {
|
|
@@ -10295,7 +10456,7 @@
|
|
|
10295
10456
|
this._promptService = _promptService;
|
|
10296
10457
|
this._fileTypeImgPipe = _fileTypeImgPipe;
|
|
10297
10458
|
this.iconService = iconService;
|
|
10298
|
-
this.icons = exports["
|
|
10459
|
+
this.icons = exports["ɵbv"];
|
|
10299
10460
|
// Element clickable
|
|
10300
10461
|
this.link = false;
|
|
10301
10462
|
this.readonly = false;
|
|
@@ -10497,7 +10658,7 @@
|
|
|
10497
10658
|
var TileRenderComponent = /** @class */ (function () {
|
|
10498
10659
|
function TileRenderComponent(iconCacheService) {
|
|
10499
10660
|
this.iconCacheService = iconCacheService;
|
|
10500
|
-
this.icons = exports["
|
|
10661
|
+
this.icons = exports["ɵbv"];
|
|
10501
10662
|
// Render a large or small tile.
|
|
10502
10663
|
this.tileSize = TileSizeType.Large;
|
|
10503
10664
|
// When this tile is selected, this icon will be shown green in the upper-left corner (defaults to 'check').
|
|
@@ -10506,7 +10667,7 @@
|
|
|
10506
10667
|
this.imageClick = new i0.EventEmitter();
|
|
10507
10668
|
// Emits when the info wrapper was clicked (bottom half of this component).
|
|
10508
10669
|
this.infoClick = new i0.EventEmitter();
|
|
10509
|
-
this.Icon = exports["
|
|
10670
|
+
this.Icon = exports["ɵbv"];
|
|
10510
10671
|
}
|
|
10511
10672
|
Object.defineProperty(TileRenderComponent.prototype, "inSmallTileMode", {
|
|
10512
10673
|
get: function () {
|
|
@@ -10750,7 +10911,7 @@
|
|
|
10750
10911
|
this.enableditemsChange = new i0.EventEmitter();
|
|
10751
10912
|
// Outputs the sum of cgrefkeys of all newly enabled items
|
|
10752
10913
|
this.onPropertyItemChange = new i0.EventEmitter();
|
|
10753
|
-
this.Icons = exports["
|
|
10914
|
+
this.Icons = exports["ɵbv"];
|
|
10754
10915
|
this.objectifiedEnum = [];
|
|
10755
10916
|
this.enabledItemNumberList = [];
|
|
10756
10917
|
}
|
|
@@ -10916,13 +11077,13 @@
|
|
|
10916
11077
|
function ActivityListComponent(iconCacheService, _dictionaryService) {
|
|
10917
11078
|
this.iconCacheService = iconCacheService;
|
|
10918
11079
|
this._dictionaryService = _dictionaryService;
|
|
10919
|
-
this.Icon = exports["
|
|
11080
|
+
this.Icon = exports["ɵbv"];
|
|
10920
11081
|
this.RelationKind = relationKind_enum.RelationKind;
|
|
10921
11082
|
this.ActivityType = activityType.ActivityType;
|
|
10922
11083
|
this.TimeUtils = timeUtils.TimeUtils;
|
|
10923
11084
|
this.activities = [];
|
|
10924
|
-
this.remarkIcon = exports["
|
|
10925
|
-
this.workIcon = exports["
|
|
11085
|
+
this.remarkIcon = exports["ɵbv"].CommentRegular;
|
|
11086
|
+
this.workIcon = exports["ɵbv"].PersonDiggingRegular;
|
|
10926
11087
|
}
|
|
10927
11088
|
ActivityListComponent.prototype.showClass = function () {
|
|
10928
11089
|
return true;
|
|
@@ -11554,7 +11715,7 @@
|
|
|
11554
11715
|
this._dictionary = _dictionary;
|
|
11555
11716
|
this.iconService = iconService;
|
|
11556
11717
|
this.sharedService = sharedService;
|
|
11557
|
-
this.icons = exports["
|
|
11718
|
+
this.icons = exports["ɵbv"];
|
|
11558
11719
|
this.editingComplete = new i0.EventEmitter();
|
|
11559
11720
|
this.activitySaved = new i0.EventEmitter();
|
|
11560
11721
|
this.activityDeleted = new i0.EventEmitter();
|
|
@@ -11566,7 +11727,7 @@
|
|
|
11566
11727
|
this.showNewForm = false;
|
|
11567
11728
|
this.showModificationForm = false;
|
|
11568
11729
|
this.taskEditting = false;
|
|
11569
|
-
this.Icon = exports["
|
|
11730
|
+
this.Icon = exports["ɵbv"];
|
|
11570
11731
|
}
|
|
11571
11732
|
Object.defineProperty(TaskModifierComponent.prototype, "readonly", {
|
|
11572
11733
|
get: function () {
|
|
@@ -11834,7 +11995,7 @@
|
|
|
11834
11995
|
this._dialogService = _dialogService;
|
|
11835
11996
|
this._dictionaryService = _dictionaryService;
|
|
11836
11997
|
this._sharedService = _sharedService;
|
|
11837
|
-
this.icon = exports["
|
|
11998
|
+
this.icon = exports["ɵbv"];
|
|
11838
11999
|
this.cfgNames = ActivityCfgName;
|
|
11839
12000
|
this.taskCfgNames = {
|
|
11840
12001
|
timeRegistrationMandatory: ActivityCfgName.TimeRegistrationMandatory,
|
|
@@ -12145,7 +12306,7 @@
|
|
|
12145
12306
|
var _this = _super.call(this) || this;
|
|
12146
12307
|
_this.sharedService = sharedService;
|
|
12147
12308
|
_this.tabs = personalActivityTab_enum.PersonalActivityTabEnum;
|
|
12148
|
-
_this.icons = exports["
|
|
12309
|
+
_this.icons = exports["ɵbv"];
|
|
12149
12310
|
_this.activityClass = activity_bo.Activity;
|
|
12150
12311
|
_this.activitySortType = activitySortType_enum.ActivitySortType;
|
|
12151
12312
|
_this.showActivityHeader = true;
|
|
@@ -12400,7 +12561,7 @@
|
|
|
12400
12561
|
_this.dialogService = dialogService;
|
|
12401
12562
|
_this.dictionaryService = dictionaryService;
|
|
12402
12563
|
_this.sharedService = sharedService;
|
|
12403
|
-
_this.Icon = exports["
|
|
12564
|
+
_this.Icon = exports["ɵbv"];
|
|
12404
12565
|
return _this;
|
|
12405
12566
|
}
|
|
12406
12567
|
ComponentActivityOverviewComponent.prototype.showClass = function () {
|
|
@@ -12620,7 +12781,7 @@
|
|
|
12620
12781
|
_this.dialogService = dialogService;
|
|
12621
12782
|
_this.iconCacheService = iconCacheService;
|
|
12622
12783
|
_this.sharedService = sharedService;
|
|
12623
|
-
_this.Icon = exports["
|
|
12784
|
+
_this.Icon = exports["ɵbv"];
|
|
12624
12785
|
_this.showStatusDropdown = false;
|
|
12625
12786
|
return _this;
|
|
12626
12787
|
}
|
|
@@ -12691,7 +12852,7 @@
|
|
|
12691
12852
|
function ActivitySummaryBlockComponent(_formMaster, elementRef) {
|
|
12692
12853
|
this._formMaster = _formMaster;
|
|
12693
12854
|
this.elementRef = elementRef;
|
|
12694
|
-
this.Icon = exports["
|
|
12855
|
+
this.Icon = exports["ɵbv"];
|
|
12695
12856
|
this.noBorder = false;
|
|
12696
12857
|
this.readonly = false;
|
|
12697
12858
|
this.showButtons = false;
|
|
@@ -12803,7 +12964,7 @@
|
|
|
12803
12964
|
_this.dialogService = dialogService;
|
|
12804
12965
|
_this.iconService = iconService;
|
|
12805
12966
|
_this.sharedService = sharedService;
|
|
12806
|
-
_this.Icon = exports["
|
|
12967
|
+
_this.Icon = exports["ɵbv"];
|
|
12807
12968
|
return _this;
|
|
12808
12969
|
}
|
|
12809
12970
|
StatusSummaryBlockComponent.prototype.showClass = function () {
|
|
@@ -12874,7 +13035,7 @@
|
|
|
12874
13035
|
_this.dialogService = dialogService;
|
|
12875
13036
|
_this.sharedService = sharedService;
|
|
12876
13037
|
_this.locale = locale;
|
|
12877
|
-
_this.Icon = exports["
|
|
13038
|
+
_this.Icon = exports["ɵbv"];
|
|
12878
13039
|
_this.taskCategories = [];
|
|
12879
13040
|
_this.priorityDomainColl = [];
|
|
12880
13041
|
return _this;
|
|
@@ -12933,7 +13094,7 @@
|
|
|
12933
13094
|
{ type: DictionaryService },
|
|
12934
13095
|
{ type: corecomponents_v12.CoreDialogService },
|
|
12935
13096
|
{ type: SharedService },
|
|
12936
|
-
{ type: exports["
|
|
13097
|
+
{ type: exports["ɵi"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
|
|
12937
13098
|
]; };
|
|
12938
13099
|
CreationSummaryBlockComponent.propDecorators = {
|
|
12939
13100
|
editTemplate: [{ type: i0.ViewChild, args: ["editTemplate", { static: true },] }],
|
|
@@ -12978,7 +13139,7 @@
|
|
|
12978
13139
|
_this.dialogService = dialogService;
|
|
12979
13140
|
_this.sharedService = sharedService;
|
|
12980
13141
|
_this.RelationType = RelationType;
|
|
12981
|
-
_this.Icon = exports["
|
|
13142
|
+
_this.Icon = exports["ɵbv"];
|
|
12982
13143
|
_this._textSearchParams = new relationRequest.RelationRequest();
|
|
12983
13144
|
_this.personnel = [];
|
|
12984
13145
|
return _this;
|
|
@@ -13051,7 +13212,7 @@
|
|
|
13051
13212
|
_this.dictionaryService = dictionaryService;
|
|
13052
13213
|
_this.dialogService = dialogService;
|
|
13053
13214
|
_this.sharedService = sharedService;
|
|
13054
|
-
_this.Icon = exports["
|
|
13215
|
+
_this.Icon = exports["ɵbv"];
|
|
13055
13216
|
_this.listItems = [];
|
|
13056
13217
|
return _this;
|
|
13057
13218
|
}
|
|
@@ -13207,7 +13368,7 @@
|
|
|
13207
13368
|
var ActivityListHeaderComponent = /** @class */ (function () {
|
|
13208
13369
|
function ActivityListHeaderComponent(iconService) {
|
|
13209
13370
|
this.iconService = iconService;
|
|
13210
|
-
this.icons = exports["
|
|
13371
|
+
this.icons = exports["ɵbv"];
|
|
13211
13372
|
this.activitySortType = activitySortType_enum.ActivitySortType;
|
|
13212
13373
|
this.title = 'MY_WORK';
|
|
13213
13374
|
this.searchTextChange = new i0.EventEmitter();
|
|
@@ -13248,7 +13409,7 @@
|
|
|
13248
13409
|
function WorkflowNotificationTogglePopupComponent(element, iconService) {
|
|
13249
13410
|
this.element = element;
|
|
13250
13411
|
this.iconService = iconService;
|
|
13251
|
-
this.icons = exports["
|
|
13412
|
+
this.icons = exports["ɵbv"];
|
|
13252
13413
|
this.workflowProcesses = [];
|
|
13253
13414
|
this.closePopupClicked = new i0.EventEmitter();
|
|
13254
13415
|
this.workflowProcessClicked = new i0.EventEmitter();
|
|
@@ -13281,7 +13442,7 @@
|
|
|
13281
13442
|
this.iconService = iconService;
|
|
13282
13443
|
this.sharedService = sharedService;
|
|
13283
13444
|
this._overlayService = _overlayService;
|
|
13284
|
-
this.icons = exports["
|
|
13445
|
+
this.icons = exports["ɵbv"];
|
|
13285
13446
|
this.workflowProcesses = [];
|
|
13286
13447
|
this.showPopup = false;
|
|
13287
13448
|
}
|
|
@@ -13890,7 +14051,7 @@
|
|
|
13890
14051
|
this.element = element;
|
|
13891
14052
|
this.iconService = iconService;
|
|
13892
14053
|
this._overlayService = _overlayService;
|
|
13893
|
-
this.icon = exports["
|
|
14054
|
+
this.icon = exports["ɵbv"];
|
|
13894
14055
|
this.possibleFilters = [
|
|
13895
14056
|
period_enum.Period.All,
|
|
13896
14057
|
period_enum.Period.Today,
|
|
@@ -14062,8 +14223,8 @@
|
|
|
14062
14223
|
function WorkflowInfoTilesComponent(iconCacheService, sharedService) {
|
|
14063
14224
|
this.iconCacheService = iconCacheService;
|
|
14064
14225
|
this.sharedService = sharedService;
|
|
14065
|
-
this.Icon = exports["
|
|
14066
|
-
this.icons = exports["
|
|
14226
|
+
this.Icon = exports["ɵbv"];
|
|
14227
|
+
this.icons = exports["ɵbv"];
|
|
14067
14228
|
this.workflowProcessInfoPerStatusClicked = new i0.EventEmitter();
|
|
14068
14229
|
}
|
|
14069
14230
|
Object.defineProperty(WorkflowInfoTilesComponent.prototype, "workflowCategory", {
|
|
@@ -14114,7 +14275,7 @@
|
|
|
14114
14275
|
function WorkflowInfoTileComponent(iconCacheService, colorService) {
|
|
14115
14276
|
this.iconCacheService = iconCacheService;
|
|
14116
14277
|
this.colorService = colorService;
|
|
14117
|
-
this.Icon = exports["
|
|
14278
|
+
this.Icon = exports["ɵbv"];
|
|
14118
14279
|
}
|
|
14119
14280
|
WorkflowInfoTileComponent.prototype.showClass = function () {
|
|
14120
14281
|
return true;
|
|
@@ -14183,6 +14344,313 @@
|
|
|
14183
14344
|
},] }
|
|
14184
14345
|
];
|
|
14185
14346
|
|
|
14347
|
+
var TaskCreatorComponent = /** @class */ (function () {
|
|
14348
|
+
function TaskCreatorComponent(iconService, sharedService) {
|
|
14349
|
+
this.iconService = iconService;
|
|
14350
|
+
this.sharedService = sharedService;
|
|
14351
|
+
this.icons = exports["ɵbv"];
|
|
14352
|
+
this.table = tableName_enum.TableName.Transactions;
|
|
14353
|
+
this.activityCreated = new i0.EventEmitter();
|
|
14354
|
+
this.showFilesDialog = false;
|
|
14355
|
+
this.documents = [];
|
|
14356
|
+
this.showEmailDialog = false;
|
|
14357
|
+
this.emailAddressesAvailable = [];
|
|
14358
|
+
this.emailRequest = null;
|
|
14359
|
+
this.optionCollection = [{ id: 'Opmerking' }, { id: 'Werkzaamheid' }, { id: 'Taak' }];
|
|
14360
|
+
this.remarkText = "";
|
|
14361
|
+
this.workDescription = "";
|
|
14362
|
+
this.taskName = "";
|
|
14363
|
+
this.taskDescription = "";
|
|
14364
|
+
}
|
|
14365
|
+
TaskCreatorComponent.prototype.showClass = function () {
|
|
14366
|
+
return true;
|
|
14367
|
+
};
|
|
14368
|
+
TaskCreatorComponent.prototype.ngOnInit = function () {
|
|
14369
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14370
|
+
var _a, _b;
|
|
14371
|
+
return __generator(this, function (_c) {
|
|
14372
|
+
switch (_c.label) {
|
|
14373
|
+
case 0:
|
|
14374
|
+
this.chosenActivityType = this.optionCollection[1];
|
|
14375
|
+
_a = this;
|
|
14376
|
+
return [4 /*yield*/, this.sharedService.getRoleEmailAddressesByWorkflowCategoryAndKey('SERVICE_ORDER', this.RemarkAndWorkKey)];
|
|
14377
|
+
case 1:
|
|
14378
|
+
_a.emailAddressesAvailable = _c.sent();
|
|
14379
|
+
_b = this;
|
|
14380
|
+
return [4 /*yield*/, this.sharedService.getEmailSenderByWorkflowCategoryAndKey('SERVICE_ORDER', this.RemarkAndWorkKey)];
|
|
14381
|
+
case 2:
|
|
14382
|
+
_b.senderAddress = _c.sent();
|
|
14383
|
+
return [2 /*return*/];
|
|
14384
|
+
}
|
|
14385
|
+
});
|
|
14386
|
+
});
|
|
14387
|
+
};
|
|
14388
|
+
TaskCreatorComponent.prototype.createRemarkClicked = function () {
|
|
14389
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14390
|
+
var remark, activity, remarkMade;
|
|
14391
|
+
return __generator(this, function (_a) {
|
|
14392
|
+
switch (_a.label) {
|
|
14393
|
+
case 0:
|
|
14394
|
+
this.createForm.submit();
|
|
14395
|
+
if (!this.createForm.isValid()) return [3 /*break*/, 2];
|
|
14396
|
+
remark = new remark_bo.Remark();
|
|
14397
|
+
remark.author = this.author;
|
|
14398
|
+
remark.author.image = undefined;
|
|
14399
|
+
if (this.documents.length !== 0) {
|
|
14400
|
+
remark.documents = this.documents;
|
|
14401
|
+
}
|
|
14402
|
+
remark.remark = this.remarkText;
|
|
14403
|
+
remark.dateTime = new Date();
|
|
14404
|
+
remark.table = this.table;
|
|
14405
|
+
remark.key = this.RemarkAndWorkKey;
|
|
14406
|
+
remark.read = false;
|
|
14407
|
+
remark.current = true;
|
|
14408
|
+
activity = new activity_bo.Activity();
|
|
14409
|
+
activity.activityType = activityType.ActivityType.Remark;
|
|
14410
|
+
activity.remark = remark;
|
|
14411
|
+
return [4 /*yield*/, this.sharedService.insertActivity(activity)];
|
|
14412
|
+
case 1:
|
|
14413
|
+
remarkMade = _a.sent();
|
|
14414
|
+
if (remarkMade) {
|
|
14415
|
+
this.activityCreated.emit();
|
|
14416
|
+
//await this.sendEmailIfNeccesary();
|
|
14417
|
+
this.clearFields();
|
|
14418
|
+
}
|
|
14419
|
+
_a.label = 2;
|
|
14420
|
+
case 2: return [2 /*return*/];
|
|
14421
|
+
}
|
|
14422
|
+
});
|
|
14423
|
+
});
|
|
14424
|
+
};
|
|
14425
|
+
TaskCreatorComponent.prototype.createWorkClicked = function () {
|
|
14426
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14427
|
+
var work, activity, workMade;
|
|
14428
|
+
return __generator(this, function (_a) {
|
|
14429
|
+
switch (_a.label) {
|
|
14430
|
+
case 0:
|
|
14431
|
+
this.createForm.submit();
|
|
14432
|
+
if (!this.createForm.isValid()) return [3 /*break*/, 2];
|
|
14433
|
+
work = new work_bo.Work();
|
|
14434
|
+
work.executive = this.author;
|
|
14435
|
+
work.executive.image = undefined;
|
|
14436
|
+
work.documents = this.documents;
|
|
14437
|
+
work.workedTime = 0;
|
|
14438
|
+
work.workDescription = this.workDescription;
|
|
14439
|
+
work.dateTime = new Date();
|
|
14440
|
+
work.table = this.table;
|
|
14441
|
+
work.key = this.RemarkAndWorkKey;
|
|
14442
|
+
activity = new activity_bo.Activity();
|
|
14443
|
+
activity.activityType = activityType.ActivityType.Work;
|
|
14444
|
+
activity.work = work;
|
|
14445
|
+
return [4 /*yield*/, this.sharedService.insertActivity(activity)];
|
|
14446
|
+
case 1:
|
|
14447
|
+
workMade = _a.sent();
|
|
14448
|
+
if (workMade) {
|
|
14449
|
+
this.activityCreated.emit();
|
|
14450
|
+
//await this.sendEmailIfNeccesary();
|
|
14451
|
+
this.clearFields();
|
|
14452
|
+
}
|
|
14453
|
+
_a.label = 2;
|
|
14454
|
+
case 2: return [2 /*return*/];
|
|
14455
|
+
}
|
|
14456
|
+
});
|
|
14457
|
+
});
|
|
14458
|
+
};
|
|
14459
|
+
TaskCreatorComponent.prototype.createTaskClicked = function () {
|
|
14460
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14461
|
+
var task, activity, taskMade;
|
|
14462
|
+
return __generator(this, function (_a) {
|
|
14463
|
+
switch (_a.label) {
|
|
14464
|
+
case 0:
|
|
14465
|
+
this.createForm.submit();
|
|
14466
|
+
if (!this.createForm.isValid()) return [3 /*break*/, 2];
|
|
14467
|
+
task = new task_bo.Task();
|
|
14468
|
+
task.executive = this.author;
|
|
14469
|
+
task.executive.image = undefined;
|
|
14470
|
+
task.documents = this.documents;
|
|
14471
|
+
task.name = this.taskName;
|
|
14472
|
+
task.description = this.taskDescription;
|
|
14473
|
+
task.creationDateTime = new Date();
|
|
14474
|
+
task.dateDefinate = false;
|
|
14475
|
+
task.needsPlanning = true;
|
|
14476
|
+
task.priority = 0;
|
|
14477
|
+
task.workflowCategory = this.workflowCategoryType;
|
|
14478
|
+
task.reference = this.TaskKey;
|
|
14479
|
+
activity = new activity_bo.Activity();
|
|
14480
|
+
activity.activityType = activityType.ActivityType.Task;
|
|
14481
|
+
activity.task = task;
|
|
14482
|
+
return [4 /*yield*/, this.sharedService.insertActivity(activity)];
|
|
14483
|
+
case 1:
|
|
14484
|
+
taskMade = _a.sent();
|
|
14485
|
+
if (taskMade) {
|
|
14486
|
+
this.activityCreated.emit();
|
|
14487
|
+
//await this.sendEmailIfNeccesary();
|
|
14488
|
+
this.clearFields();
|
|
14489
|
+
}
|
|
14490
|
+
_a.label = 2;
|
|
14491
|
+
case 2: return [2 /*return*/];
|
|
14492
|
+
}
|
|
14493
|
+
});
|
|
14494
|
+
});
|
|
14495
|
+
};
|
|
14496
|
+
TaskCreatorComponent.prototype.addedDocument = function (docs) {
|
|
14497
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14498
|
+
return __generator(this, function (_a) {
|
|
14499
|
+
this.documents = this.documents.concat(docs);
|
|
14500
|
+
return [2 /*return*/];
|
|
14501
|
+
});
|
|
14502
|
+
});
|
|
14503
|
+
};
|
|
14504
|
+
TaskCreatorComponent.prototype.deletedDocument = function (doc) {
|
|
14505
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14506
|
+
return __generator(this, function (_a) {
|
|
14507
|
+
ArrayUtils.RemoveElement(doc, this.documents);
|
|
14508
|
+
return [2 /*return*/];
|
|
14509
|
+
});
|
|
14510
|
+
});
|
|
14511
|
+
};
|
|
14512
|
+
TaskCreatorComponent.prototype.emailDialogClosed = function () {
|
|
14513
|
+
if (this.emailAddresses.length >= 0) {
|
|
14514
|
+
this.emailRequest = new activityEmailRequestData.activityEmailRequestData;
|
|
14515
|
+
this.emailRequest.table = this.table;
|
|
14516
|
+
this.emailRequest.key = this.RemarkAndWorkKey;
|
|
14517
|
+
this.emailRequest.senderAddress = this.senderAddress;
|
|
14518
|
+
this.emailRequest.sendAddresses = this.createAddressList(this.emailAddresses);
|
|
14519
|
+
this.emailRequest.ccAddresses = this.createAddressList(this.ccEmailAddresses);
|
|
14520
|
+
}
|
|
14521
|
+
else {
|
|
14522
|
+
this.emailRequest = null;
|
|
14523
|
+
}
|
|
14524
|
+
this.showEmailDialog = false;
|
|
14525
|
+
};
|
|
14526
|
+
TaskCreatorComponent.prototype.createAddressList = function (addresses) {
|
|
14527
|
+
var addressStrings = [];
|
|
14528
|
+
if (addresses && addresses.length !== 0) {
|
|
14529
|
+
addresses.forEach(function (r) {
|
|
14530
|
+
r.emailAddresses.forEach(function (e) {
|
|
14531
|
+
addressStrings.push(e);
|
|
14532
|
+
});
|
|
14533
|
+
});
|
|
14534
|
+
}
|
|
14535
|
+
return addressStrings;
|
|
14536
|
+
};
|
|
14537
|
+
TaskCreatorComponent.prototype.sendEmailIfNeccesary = function () {
|
|
14538
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14539
|
+
var templates, template;
|
|
14540
|
+
return __generator(this, function (_a) {
|
|
14541
|
+
switch (_a.label) {
|
|
14542
|
+
case 0:
|
|
14543
|
+
if (!this.emailRequest) return [3 /*break*/, 2];
|
|
14544
|
+
return [4 /*yield*/, this.sharedService.getDefaultEmailReportTemplatesForBranch(this.branchNo, this.findReportType())];
|
|
14545
|
+
case 1:
|
|
14546
|
+
templates = _a.sent();
|
|
14547
|
+
if (templates.length != 0) {
|
|
14548
|
+
template = this.findDefault(templates);
|
|
14549
|
+
if (template) {
|
|
14550
|
+
this.startEmailing(template);
|
|
14551
|
+
}
|
|
14552
|
+
}
|
|
14553
|
+
_a.label = 2;
|
|
14554
|
+
case 2: return [2 /*return*/];
|
|
14555
|
+
}
|
|
14556
|
+
});
|
|
14557
|
+
});
|
|
14558
|
+
};
|
|
14559
|
+
TaskCreatorComponent.prototype.findReportType = function () {
|
|
14560
|
+
if (this.chosenActivityType === this.optionCollection[0]) {
|
|
14561
|
+
return reportType_enum.ReportType.RemarkMessage;
|
|
14562
|
+
}
|
|
14563
|
+
else if (this.chosenActivityType === this.optionCollection[1]) {
|
|
14564
|
+
return reportType_enum.ReportType.WorkMessage;
|
|
14565
|
+
}
|
|
14566
|
+
else {
|
|
14567
|
+
return reportType_enum.ReportType.TaskMessage;
|
|
14568
|
+
}
|
|
14569
|
+
};
|
|
14570
|
+
TaskCreatorComponent.prototype.startEmailing = function (template) {
|
|
14571
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14572
|
+
var _this = this;
|
|
14573
|
+
return __generator(this, function (_a) {
|
|
14574
|
+
this.emailRequest.sendAddresses.forEach(function (a) {
|
|
14575
|
+
_this.sharedService.emailViaTemplate(template, a, 'emailtiteeeel', "", [], {});
|
|
14576
|
+
});
|
|
14577
|
+
return [2 /*return*/];
|
|
14578
|
+
});
|
|
14579
|
+
});
|
|
14580
|
+
};
|
|
14581
|
+
TaskCreatorComponent.prototype.findDefault = function (reportList) {
|
|
14582
|
+
var defaultTemplate = null;
|
|
14583
|
+
reportList.forEach(function (r) {
|
|
14584
|
+
if (r.isDefault) {
|
|
14585
|
+
defaultTemplate = r;
|
|
14586
|
+
}
|
|
14587
|
+
});
|
|
14588
|
+
return defaultTemplate;
|
|
14589
|
+
};
|
|
14590
|
+
TaskCreatorComponent.prototype.clearFields = function () {
|
|
14591
|
+
this.remarkText = "";
|
|
14592
|
+
this.workDescription = "";
|
|
14593
|
+
this.taskName = "";
|
|
14594
|
+
this.taskDescription = "";
|
|
14595
|
+
this.senderAddress = "";
|
|
14596
|
+
this.emailAddresses = [];
|
|
14597
|
+
this.ccEmailAddresses = [];
|
|
14598
|
+
this.emailRequest = null;
|
|
14599
|
+
};
|
|
14600
|
+
return TaskCreatorComponent;
|
|
14601
|
+
}());
|
|
14602
|
+
TaskCreatorComponent.decorators = [
|
|
14603
|
+
{ type: i0.Component, args: [{
|
|
14604
|
+
selector: "co-task-creator",
|
|
14605
|
+
template: "\n <div class=\"input-fields\">\n <co-form #createForm>\n <co-list-of-values [collection]=\"optionCollection\" [(model)]=\"chosenActivityType\"\n [displayField]=\"'id'\"></co-list-of-values>\n <co-input-text *ngIf=\"chosenActivityType === optionCollection[0]\" [required]=\"chosenActivityType === optionCollection[0]\"\n [placeholder]=\"'REMARK' | localize\" [(model)]=\"remarkText\"\n [rightIconData]=\"iconService.getIcon(icons.PaperPlaneTopSolid)\"\n (rightIconClick)=\"createRemarkClicked()\"></co-input-text>\n <co-input-text *ngIf=\"chosenActivityType === optionCollection[1]\" [required]=\"chosenActivityType === optionCollection[1]\"\n [placeholder]=\"'DESCRIPTION' | localize\" [(model)]=\"workDescription\"\n [rightIconData]=\"iconService.getIcon(icons.PaperPlaneTopSolid)\"\n (rightIconClick)=\"createWorkClicked()\"></co-input-text>\n <div class=\"task-input-fields\" *ngIf=\"chosenActivityType === optionCollection[2]\">\n <co-input-text [(model)]=\"taskName\" [placeholder]=\"'NAME' | localize\" [required]=\"chosenActivityType === optionCollection[2]\"\n [rightIconData]=\"iconService.getIcon(icons.PaperPlaneTopSolid)\"\n (rightIconClick)=\"createTaskClicked()\"></co-input-text>\n <co-input-text [(model)]=\"taskDescription\" [placeholder]=\"'DESCRIPTION' | localize\" [required]=\"chosenActivityType === optionCollection[2]\"></co-input-text>\n </div>\n </co-form>\n </div>\n <div class=\"extras-buttons\">\n <co-button [iconData]=\"iconService.getIcon(icons.Email)\" (click)=\"showEmailDialog = true\"></co-button>\n <co-button [iconData]=\"iconService.getIcon(icons.PaperclipRegular)\" (click)=\"showFilesDialog = true\"\n [label]=\"documents.length === 0 ? '' : documents.length.toString()\" ></co-button>\n </div>\n\n <co-dialog *ngIf=\"showFilesDialog\" (closeClick)=\"showFilesDialog = false\">\n <co-files-upload (documentsAdded)=\"addedDocument($event)\" (documentDeleted)=\"deletedDocument\"\n [documents]=\"documents\" [useWithoutSettingProps]=\"true\"></co-files-upload>\n </co-dialog>\n <co-dialog *ngIf=\"showEmailDialog\" (closeClick)=\"emailDialogClosed()\">\n <co-list-of-values [multiselect]=\"true\" [label]=\"'RECIPIENTS' | localize\"\n [collection]=\"emailAddressesAvailable\" [displayField]=\"'role'\"\n [(model)]=\"emailAddresses\">\n </co-list-of-values>\n <co-list-of-values [multiselect]=\"true\" [label]=\"'BCC' | localize\"\n [collection]=\"emailAddressesAvailable\" [displayField]=\"'role'\"\n [(model)]=\"ccEmailAddresses\">\n </co-list-of-values>\n <co-input-text [readonly]=\"false\" [label]=\"'SENDER' | localize\" [model]=\"senderAddress\"></co-input-text>\n </co-dialog>\n\n "
|
|
14606
|
+
},] }
|
|
14607
|
+
];
|
|
14608
|
+
TaskCreatorComponent.ctorParameters = function () { return [
|
|
14609
|
+
{ type: IconCacheService },
|
|
14610
|
+
{ type: SharedService }
|
|
14611
|
+
]; };
|
|
14612
|
+
TaskCreatorComponent.propDecorators = {
|
|
14613
|
+
createForm: [{ type: i0.ViewChild, args: [corecomponents_v12.FormComponent,] }],
|
|
14614
|
+
author: [{ type: i0.Input }],
|
|
14615
|
+
branchNo: [{ type: i0.Input }],
|
|
14616
|
+
table: [{ type: i0.Input }],
|
|
14617
|
+
RemarkAndWorkKey: [{ type: i0.Input }],
|
|
14618
|
+
TaskKey: [{ type: i0.Input }],
|
|
14619
|
+
workflowCategoryType: [{ type: i0.Input }],
|
|
14620
|
+
activityCreated: [{ type: i0.Output }],
|
|
14621
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-task-creator",] }]
|
|
14622
|
+
};
|
|
14623
|
+
|
|
14624
|
+
var TaskCreatorModule = /** @class */ (function () {
|
|
14625
|
+
function TaskCreatorModule() {
|
|
14626
|
+
}
|
|
14627
|
+
return TaskCreatorModule;
|
|
14628
|
+
}());
|
|
14629
|
+
TaskCreatorModule.decorators = [
|
|
14630
|
+
{ type: i0.NgModule, args: [{
|
|
14631
|
+
imports: [
|
|
14632
|
+
corecomponents_v12.ListOfValuesModule,
|
|
14633
|
+
corecomponents_v12.InputTextModule,
|
|
14634
|
+
corecomponents_v12.ButtonModule,
|
|
14635
|
+
common.CommonModule,
|
|
14636
|
+
corecomponents_v12.CoDialogModule,
|
|
14637
|
+
FilesUploadModule,
|
|
14638
|
+
LocalizationModule,
|
|
14639
|
+
corecomponents_v12.ListOfIconsModule,
|
|
14640
|
+
corecomponents_v12.FormModule
|
|
14641
|
+
],
|
|
14642
|
+
declarations: [
|
|
14643
|
+
TaskCreatorComponent
|
|
14644
|
+
],
|
|
14645
|
+
exports: [
|
|
14646
|
+
TaskCreatorComponent
|
|
14647
|
+
],
|
|
14648
|
+
providers: [
|
|
14649
|
+
businessObjectFactory.BusinessObjectFactory
|
|
14650
|
+
]
|
|
14651
|
+
},] }
|
|
14652
|
+
];
|
|
14653
|
+
|
|
14186
14654
|
/*
|
|
14187
14655
|
* Public API Surface of sharedcomponents
|
|
14188
14656
|
*/
|
|
@@ -14220,38 +14688,41 @@
|
|
|
14220
14688
|
exports.StatusbarModule = StatusbarModule;
|
|
14221
14689
|
exports.StockComponent = StockComponent;
|
|
14222
14690
|
exports.StockModule = StockModule;
|
|
14691
|
+
exports.TaskCreatorComponent = TaskCreatorComponent;
|
|
14692
|
+
exports.TaskCreatorModule = TaskCreatorModule;
|
|
14223
14693
|
exports.Translation = Translation;
|
|
14224
14694
|
exports.WorkflowInfoTilesComponent = WorkflowInfoTilesComponent;
|
|
14225
14695
|
exports.WorkflowInfoTilesModule = WorkflowInfoTilesModule;
|
|
14226
14696
|
exports.sendMethodsWithIcon = sendMethodsWithIcon;
|
|
14227
14697
|
exports["ɵa"] = SignatureComponent;
|
|
14228
14698
|
exports["ɵb"] = SignaturesComponent;
|
|
14229
|
-
exports["ɵba"] =
|
|
14230
|
-
exports["ɵbb"] =
|
|
14231
|
-
exports["ɵbc"] =
|
|
14232
|
-
exports["ɵbd"] =
|
|
14233
|
-
exports["ɵbe"] =
|
|
14234
|
-
exports["ɵbf"] =
|
|
14235
|
-
exports["ɵbg"] =
|
|
14236
|
-
exports["ɵbh"] =
|
|
14237
|
-
exports["ɵbi"] =
|
|
14238
|
-
exports["ɵbj"] =
|
|
14239
|
-
exports["ɵbk"] =
|
|
14240
|
-
exports["ɵbl"] =
|
|
14241
|
-
exports["ɵbm"] =
|
|
14242
|
-
exports["ɵbn"] =
|
|
14243
|
-
exports["ɵbo"] =
|
|
14244
|
-
exports["ɵbp"] =
|
|
14245
|
-
exports["ɵbq"] =
|
|
14246
|
-
exports["ɵbr"] =
|
|
14247
|
-
exports["ɵbs"] =
|
|
14248
|
-
exports["ɵbt"] =
|
|
14249
|
-
exports["
|
|
14250
|
-
exports["ɵbw"] =
|
|
14251
|
-
exports["ɵbx"] =
|
|
14252
|
-
exports["ɵby"] =
|
|
14253
|
-
exports["ɵbz"] =
|
|
14699
|
+
exports["ɵba"] = StockStatusbarComponent;
|
|
14700
|
+
exports["ɵbb"] = LocalizationModule;
|
|
14701
|
+
exports["ɵbc"] = LocalizePipe;
|
|
14702
|
+
exports["ɵbd"] = StockInformationComponent;
|
|
14703
|
+
exports["ɵbe"] = StockInformationGridComponent;
|
|
14704
|
+
exports["ɵbf"] = StockTransferComponent;
|
|
14705
|
+
exports["ɵbg"] = StockChangeAmountComponent;
|
|
14706
|
+
exports["ɵbh"] = StockTabComponent;
|
|
14707
|
+
exports["ɵbi"] = OrderTabComponent;
|
|
14708
|
+
exports["ɵbj"] = StockTabsComponent;
|
|
14709
|
+
exports["ɵbk"] = StockHistoryTabsComponent;
|
|
14710
|
+
exports["ɵbl"] = OrderStockTabComponent;
|
|
14711
|
+
exports["ɵbm"] = StockLocationComponent;
|
|
14712
|
+
exports["ɵbn"] = StockHistoryComponent;
|
|
14713
|
+
exports["ɵbo"] = OrderSupplyStockHistoryComponent;
|
|
14714
|
+
exports["ɵbp"] = OrderCommissionStockHistoryComponent;
|
|
14715
|
+
exports["ɵbq"] = OrderStockHistoryComponent;
|
|
14716
|
+
exports["ɵbr"] = AllocationStockHistoryComponent;
|
|
14717
|
+
exports["ɵbs"] = StockPrognoseComponent;
|
|
14718
|
+
exports["ɵbt"] = StockLocationPopupComponent;
|
|
14719
|
+
exports["ɵbu"] = SendMethod;
|
|
14720
|
+
exports["ɵbw"] = CalendarAllYearsComponent;
|
|
14721
|
+
exports["ɵbx"] = CalendarAllMonthsComponent;
|
|
14722
|
+
exports["ɵby"] = CalendarHeaderComponent;
|
|
14723
|
+
exports["ɵbz"] = CalendarComponent;
|
|
14254
14724
|
exports["ɵc"] = StockService;
|
|
14725
|
+
exports["ɵca"] = CalendarViewComponent;
|
|
14255
14726
|
exports["ɵcb"] = AgendaHeaderComponent;
|
|
14256
14727
|
exports["ɵcc"] = AgendaViewComponent;
|
|
14257
14728
|
exports["ɵcd"] = AgendaMonthViewComponent;
|
|
@@ -14330,24 +14801,23 @@
|
|
|
14330
14801
|
exports["ɵf"] = DictionaryService;
|
|
14331
14802
|
exports["ɵg"] = LocalizeService;
|
|
14332
14803
|
exports["ɵh"] = IconCacheService;
|
|
14333
|
-
exports["
|
|
14334
|
-
exports["
|
|
14335
|
-
exports["
|
|
14336
|
-
exports["
|
|
14337
|
-
exports["
|
|
14338
|
-
exports["
|
|
14339
|
-
exports["
|
|
14340
|
-
exports["
|
|
14341
|
-
exports["
|
|
14342
|
-
exports["
|
|
14343
|
-
exports["
|
|
14344
|
-
exports["
|
|
14345
|
-
exports["
|
|
14346
|
-
exports["
|
|
14347
|
-
exports["
|
|
14348
|
-
exports["
|
|
14349
|
-
exports["
|
|
14350
|
-
exports["ɵz"] = StockStatusbarComponent;
|
|
14804
|
+
exports["ɵj"] = SendMethodService;
|
|
14805
|
+
exports["ɵk"] = SendMethodEmailModule;
|
|
14806
|
+
exports["ɵl"] = LayoutSelectionModule;
|
|
14807
|
+
exports["ɵm"] = LayoutSelectionComponent;
|
|
14808
|
+
exports["ɵn"] = SignatureButtonModule;
|
|
14809
|
+
exports["ɵo"] = SignatureButtonComponent;
|
|
14810
|
+
exports["ɵp"] = SendMethodEmailComponent;
|
|
14811
|
+
exports["ɵq"] = SendMethodPrinterModule;
|
|
14812
|
+
exports["ɵr"] = PrinterSelectionModule;
|
|
14813
|
+
exports["ɵs"] = PrinterSelectionComponent;
|
|
14814
|
+
exports["ɵt"] = SendMethodPrinterComponent;
|
|
14815
|
+
exports["ɵu"] = SendMethodPdfModule;
|
|
14816
|
+
exports["ɵv"] = SendMethodPdfComponent;
|
|
14817
|
+
exports["ɵw"] = TabBarModule;
|
|
14818
|
+
exports["ɵx"] = TabBarComponent;
|
|
14819
|
+
exports["ɵy"] = StatusbarPopupComponent;
|
|
14820
|
+
exports["ɵz"] = StockStatusbarModule;
|
|
14351
14821
|
|
|
14352
14822
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
14353
14823
|
|