@colijnit/sharedcomponents 254.1.3 → 254.1.5
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 +909 -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/role-email-selector/role-email-selector.component.js +112 -0
- package/esm2015/lib/components/role-email-selector/role-email-selector.module.js +29 -0
- package/esm2015/lib/components/task-creator/task-creator.component.js +330 -0
- package/esm2015/lib/components/task-creator/task-creator.module.js +37 -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 +117 -3
- package/esm2015/lib/service/shared.service.js +69 -4
- package/esm2015/public-api.js +5 -1
- package/fesm2015/colijnit-sharedcomponents.js +662 -9
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +2 -2
- package/lib/components/role-email-selector/role-email-selector.component.d.ts +29 -0
- package/lib/components/role-email-selector/role-email-selector.module.d.ts +2 -0
- package/lib/components/role-email-selector/style/_layout.scss +40 -0
- package/lib/components/role-email-selector/style/_material-definition.scss +15 -0
- package/lib/components/role-email-selector/style/_theme.scss +4 -0
- package/lib/components/role-email-selector/style/material.scss +4 -0
- 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 +68 -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 +16 -1
- package/lib/service/shared.service.d.ts +17 -1
- package/main.9761831eb5f539b50eb2.js +1 -0
- package/package.json +3 -3
- package/public-api.d.ts +4 -0
- package/{styles.051675db76590b099897.css → styles.ccda7309f28016f3304b.css} +1 -1
- package/main.b62bfdc80736ecda90e4.js +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/mainapi/build/model/work.bo'), require('@colijnit/mainapi/build/model/remark.bo'), require('@colijnit/mainapi/build/model/task.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/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/activity-email-request-data'), require('@colijnit/mainapi/build/enum/report-type.enum'), require('@colijnit/ioneconnector/build/utils/string-utils')) :
|
|
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/mainapi/build/model/work.bo', '@colijnit/mainapi/build/model/remark.bo', '@colijnit/mainapi/build/model/task.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/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/activity-email-request-data', '@colijnit/mainapi/build/enum/report-type.enum', '@colijnit/ioneconnector/build/utils/string-utils'], 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.work_bo, global.remark_bo, global.task_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.tableName_enum, global.tabCategory_enum, global.validationResult, global.domainName_enum, global.priorityType_enum, global.relationRequest, global.period_enum, global.activityEmailRequestData, global.reportType_enum, global.stringUtils));
|
|
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, work_bo, remark_bo, task_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, tableName_enum, tabCategory_enum, validationResult, domainName_enum, priorityType_enum, relationRequest, period_enum, activityEmailRequestData, reportType_enum, stringUtils) { '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,98 @@
|
|
|
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
|
+
};
|
|
1348
|
+
SharedConnectorService.prototype.insertWork = function (activity) {
|
|
1349
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1350
|
+
var _this = this;
|
|
1351
|
+
return __generator(this, function (_a) {
|
|
1352
|
+
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1353
|
+
return _this.mainConnector.insertActivity(activity).then(function (result) { return __awaiter(_this, void 0, void 0, function () {
|
|
1354
|
+
return __generator(this, function (_a) {
|
|
1355
|
+
if (result && result.validationResult && result.validationResult.success) {
|
|
1356
|
+
resolve(this._boFactory.makeWithRawBackendData(work_bo.Work, result.resultObject));
|
|
1357
|
+
}
|
|
1358
|
+
else {
|
|
1359
|
+
reject(result.validationMessagesAsString);
|
|
1360
|
+
}
|
|
1361
|
+
return [2 /*return*/];
|
|
1362
|
+
});
|
|
1363
|
+
}); });
|
|
1364
|
+
})];
|
|
1365
|
+
});
|
|
1366
|
+
});
|
|
1367
|
+
};
|
|
1368
|
+
SharedConnectorService.prototype.insertRemark = function (activity) {
|
|
1369
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1370
|
+
var _this = this;
|
|
1371
|
+
return __generator(this, function (_a) {
|
|
1372
|
+
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1373
|
+
return _this.mainConnector.insertActivity(activity).then(function (result) { return __awaiter(_this, void 0, void 0, function () {
|
|
1374
|
+
return __generator(this, function (_a) {
|
|
1375
|
+
if (result && result.validationResult && result.validationResult.success) {
|
|
1376
|
+
resolve(this._boFactory.makeWithRawBackendData(remark_bo.Remark, result.resultObject));
|
|
1377
|
+
}
|
|
1378
|
+
else {
|
|
1379
|
+
reject(result.validationMessagesAsString);
|
|
1380
|
+
}
|
|
1381
|
+
return [2 /*return*/];
|
|
1382
|
+
});
|
|
1383
|
+
}); });
|
|
1384
|
+
})];
|
|
1385
|
+
});
|
|
1386
|
+
});
|
|
1387
|
+
};
|
|
1388
|
+
SharedConnectorService.prototype.insertTask = function (activity) {
|
|
1389
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1390
|
+
var _this = this;
|
|
1391
|
+
return __generator(this, function (_a) {
|
|
1392
|
+
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1393
|
+
return _this.mainConnector.insertActivity(activity).then(function (result) { return __awaiter(_this, void 0, void 0, function () {
|
|
1394
|
+
return __generator(this, function (_a) {
|
|
1395
|
+
if (result && result.validationResult && result.validationResult.success) {
|
|
1396
|
+
resolve(this._boFactory.makeWithRawBackendData(task_bo.Task, result.resultObject));
|
|
1397
|
+
}
|
|
1398
|
+
else {
|
|
1399
|
+
reject(result.validationMessagesAsString);
|
|
1400
|
+
}
|
|
1401
|
+
return [2 /*return*/];
|
|
1402
|
+
});
|
|
1403
|
+
}); });
|
|
1404
|
+
})];
|
|
1405
|
+
});
|
|
1406
|
+
});
|
|
1407
|
+
};
|
|
1316
1408
|
SharedConnectorService.prototype.updateActivity = function (activity) {
|
|
1317
1409
|
return __awaiter(this, void 0, void 0, function () {
|
|
1318
1410
|
var _this = this;
|
|
@@ -1840,12 +1932,12 @@
|
|
|
1840
1932
|
});
|
|
1841
1933
|
});
|
|
1842
1934
|
};
|
|
1843
|
-
SharedConnectorService.prototype.getRoleEmailAddressesByWorkflowCategoryAndKey = function (
|
|
1935
|
+
SharedConnectorService.prototype.getRoleEmailAddressesByWorkflowCategoryAndKey = function (workflowCategory, key) {
|
|
1844
1936
|
return __awaiter(this, void 0, void 0, function () {
|
|
1845
1937
|
var _this = this;
|
|
1846
1938
|
return __generator(this, function (_a) {
|
|
1847
1939
|
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1848
|
-
return _this.mainConnector.getRoleEmailAddressesByWorkflowCategoryAndKey(
|
|
1940
|
+
return _this.mainConnector.getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key).then(function (result) {
|
|
1849
1941
|
if (result.validationResult && result.validationResult.success) {
|
|
1850
1942
|
if (result.resultObject) {
|
|
1851
1943
|
resolve(_this._boFactory.makeBOArrayFromRawBackendDataArray(roleEmailAddress.RoleEmailaddress, result.resultObject));
|
|
@@ -1859,6 +1951,59 @@
|
|
|
1859
1951
|
});
|
|
1860
1952
|
});
|
|
1861
1953
|
};
|
|
1954
|
+
SharedConnectorService.prototype.getEmailSenderByWorkflowCategoryAndKey = function (worlflowCategory, key) {
|
|
1955
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1956
|
+
var _this = this;
|
|
1957
|
+
return __generator(this, function (_a) {
|
|
1958
|
+
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1959
|
+
return _this.mainConnector.getEmailSenderByWorkflowCategoryAndKey(worlflowCategory, key).then(function (result) {
|
|
1960
|
+
if (result.validationResult && result.validationResult.success) {
|
|
1961
|
+
resolve(result.resultObject);
|
|
1962
|
+
}
|
|
1963
|
+
else {
|
|
1964
|
+
reject(result.validationMessagesAsString);
|
|
1965
|
+
}
|
|
1966
|
+
});
|
|
1967
|
+
})];
|
|
1968
|
+
});
|
|
1969
|
+
});
|
|
1970
|
+
};
|
|
1971
|
+
SharedConnectorService.prototype.getReportTemplates = function (reportTemplatesRequest) {
|
|
1972
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1973
|
+
var _this = this;
|
|
1974
|
+
return __generator(this, function (_a) {
|
|
1975
|
+
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1976
|
+
return _this.mainConnector.getReportTemplates(reportTemplatesRequest).then(function (result) {
|
|
1977
|
+
if (result.validationResult && result.validationResult.success) {
|
|
1978
|
+
if (result.resultObjects) {
|
|
1979
|
+
resolve(_this._boFactory.makeBOArrayFromRawBackendDataArray(report_bo.Report, result.resultObjects));
|
|
1980
|
+
}
|
|
1981
|
+
}
|
|
1982
|
+
else {
|
|
1983
|
+
reject(result.validationMessagesAsString);
|
|
1984
|
+
}
|
|
1985
|
+
});
|
|
1986
|
+
})];
|
|
1987
|
+
});
|
|
1988
|
+
});
|
|
1989
|
+
};
|
|
1990
|
+
SharedConnectorService.prototype.emailReport = function (emailJob) {
|
|
1991
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1992
|
+
var _this = this;
|
|
1993
|
+
return __generator(this, function (_a) {
|
|
1994
|
+
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1995
|
+
return _this.mainConnector.emailReport(emailJob).then(function (result) {
|
|
1996
|
+
if (result.validationResult && result.validationResult.success) {
|
|
1997
|
+
resolve(result.resultObject);
|
|
1998
|
+
}
|
|
1999
|
+
else {
|
|
2000
|
+
reject(result.validationMessagesAsString);
|
|
2001
|
+
}
|
|
2002
|
+
});
|
|
2003
|
+
})];
|
|
2004
|
+
});
|
|
2005
|
+
});
|
|
2006
|
+
};
|
|
1862
2007
|
SharedConnectorService.prototype.getWorkflowProcessInfoPerStatus = function (worlflowCategory) {
|
|
1863
2008
|
return __awaiter(this, void 0, void 0, function () {
|
|
1864
2009
|
var _this = this;
|
|
@@ -2147,7 +2292,7 @@
|
|
|
2147
2292
|
];
|
|
2148
2293
|
|
|
2149
2294
|
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
2150
|
-
exports["
|
|
2295
|
+
exports["ɵbv"] = void 0;
|
|
2151
2296
|
(function (Icon) {
|
|
2152
2297
|
Icon["Account"] = "account";
|
|
2153
2298
|
Icon["AngleLeftSolid"] = "angle_left_solid";
|
|
@@ -2193,6 +2338,7 @@
|
|
|
2193
2338
|
Icon["MessageSmsSolid"] = "message_sms_solid";
|
|
2194
2339
|
Icon["Notification"] = "notification";
|
|
2195
2340
|
Icon["PaperclipRegular"] = "paperclip_regular";
|
|
2341
|
+
Icon["PaperPlaneTopSolid"] = "paper_plane_top_solid";
|
|
2196
2342
|
Icon["Pdf"] = "pdf";
|
|
2197
2343
|
Icon["PersonDiggingRegular"] = "person_digging_regular";
|
|
2198
2344
|
Icon["PinRoundOpen"] = "pin_round_open";
|
|
@@ -2205,7 +2351,7 @@
|
|
|
2205
2351
|
Icon["Trashbin"] = "trashbin";
|
|
2206
2352
|
Icon["Xml"] = "xml";
|
|
2207
2353
|
Icon["XSolid"] = "x_solid";
|
|
2208
|
-
})(exports["
|
|
2354
|
+
})(exports["ɵbv"] || (exports["ɵbv"] = {}));
|
|
2209
2355
|
|
|
2210
2356
|
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
2211
2357
|
var IconSvg = {
|
|
@@ -2253,6 +2399,7 @@
|
|
|
2253
2399
|
"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
2400
|
"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
2401
|
"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>",
|
|
2402
|
+
"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
2403
|
"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
2404
|
"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
2405
|
"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 +2475,7 @@
|
|
|
2328
2475
|
this._localizeService = _localizeService;
|
|
2329
2476
|
this._connector = _connector;
|
|
2330
2477
|
this.iconCacheService = iconCacheService;
|
|
2331
|
-
this.icons = exports["
|
|
2478
|
+
this.icons = exports["ɵbv"];
|
|
2332
2479
|
this.handleStickerClicked = new i0.EventEmitter();
|
|
2333
2480
|
this.articleWarehouse = [];
|
|
2334
2481
|
this.allWarehouses = [];
|
|
@@ -2548,7 +2695,7 @@
|
|
|
2548
2695
|
function StockInformationGridComponent(iconCacheService, _stockService) {
|
|
2549
2696
|
this.iconCacheService = iconCacheService;
|
|
2550
2697
|
this._stockService = _stockService;
|
|
2551
|
-
this.icons = exports["
|
|
2698
|
+
this.icons = exports["ɵbv"];
|
|
2552
2699
|
this.transferIconClicked = new i0.EventEmitter();
|
|
2553
2700
|
this.historyClicked = new i0.EventEmitter();
|
|
2554
2701
|
this.cancelButtonClicked = new i0.EventEmitter();
|
|
@@ -2799,7 +2946,7 @@
|
|
|
2799
2946
|
this.stockState = [];
|
|
2800
2947
|
this.locations = [];
|
|
2801
2948
|
this.stockStatus = [];
|
|
2802
|
-
this.icons = exports["
|
|
2949
|
+
this.icons = exports["ɵbv"];
|
|
2803
2950
|
}
|
|
2804
2951
|
StockTransferComponent.prototype.ngAfterViewInit = function () {
|
|
2805
2952
|
this.getStockManagementWarehouses();
|
|
@@ -2895,7 +3042,8 @@
|
|
|
2895
3042
|
};
|
|
2896
3043
|
|
|
2897
3044
|
var SharedService = /** @class */ (function () {
|
|
2898
|
-
function SharedService(options, connector) {
|
|
3045
|
+
function SharedService(locale, options, connector) {
|
|
3046
|
+
this.locale = locale;
|
|
2899
3047
|
this.options = options;
|
|
2900
3048
|
this.connector = connector;
|
|
2901
3049
|
}
|
|
@@ -3008,6 +3156,56 @@
|
|
|
3008
3156
|
});
|
|
3009
3157
|
});
|
|
3010
3158
|
};
|
|
3159
|
+
SharedService.prototype.getRelationSmallObject = function (relationId) {
|
|
3160
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3161
|
+
return __generator(this, function (_a) {
|
|
3162
|
+
switch (_a.label) {
|
|
3163
|
+
case 0: return [4 /*yield*/, this.connector.getRelationSmallObject(relationId)];
|
|
3164
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
3165
|
+
}
|
|
3166
|
+
});
|
|
3167
|
+
});
|
|
3168
|
+
};
|
|
3169
|
+
SharedService.prototype.insertActivity = function (activity) {
|
|
3170
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3171
|
+
return __generator(this, function (_a) {
|
|
3172
|
+
switch (_a.label) {
|
|
3173
|
+
case 0: return [4 /*yield*/, this.connector.insertActivity(activity)];
|
|
3174
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
3175
|
+
}
|
|
3176
|
+
});
|
|
3177
|
+
});
|
|
3178
|
+
};
|
|
3179
|
+
SharedService.prototype.insertWork = function (activity) {
|
|
3180
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3181
|
+
return __generator(this, function (_a) {
|
|
3182
|
+
switch (_a.label) {
|
|
3183
|
+
case 0: return [4 /*yield*/, this.connector.insertWork(activity)];
|
|
3184
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
3185
|
+
}
|
|
3186
|
+
});
|
|
3187
|
+
});
|
|
3188
|
+
};
|
|
3189
|
+
SharedService.prototype.insertRemark = function (activity) {
|
|
3190
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3191
|
+
return __generator(this, function (_a) {
|
|
3192
|
+
switch (_a.label) {
|
|
3193
|
+
case 0: return [4 /*yield*/, this.connector.insertRemark(activity)];
|
|
3194
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
3195
|
+
}
|
|
3196
|
+
});
|
|
3197
|
+
});
|
|
3198
|
+
};
|
|
3199
|
+
SharedService.prototype.insertTask = function (activity) {
|
|
3200
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3201
|
+
return __generator(this, function (_a) {
|
|
3202
|
+
switch (_a.label) {
|
|
3203
|
+
case 0: return [4 /*yield*/, this.connector.insertTask(activity)];
|
|
3204
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
3205
|
+
}
|
|
3206
|
+
});
|
|
3207
|
+
});
|
|
3208
|
+
};
|
|
3011
3209
|
SharedService.prototype.updateActivity = function (activity) {
|
|
3012
3210
|
return __awaiter(this, void 0, void 0, function () {
|
|
3013
3211
|
return __generator(this, function (_a) {
|
|
@@ -3111,6 +3309,60 @@
|
|
|
3111
3309
|
});
|
|
3112
3310
|
});
|
|
3113
3311
|
};
|
|
3312
|
+
SharedService.prototype.getEmailSenderByWorkflowCategoryAndKey = function (workflowCategory, key) {
|
|
3313
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3314
|
+
return __generator(this, function (_a) {
|
|
3315
|
+
switch (_a.label) {
|
|
3316
|
+
case 0: return [4 /*yield*/, this.connector.getEmailSenderByWorkflowCategoryAndKey(workflowCategory, key)];
|
|
3317
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
3318
|
+
}
|
|
3319
|
+
});
|
|
3320
|
+
});
|
|
3321
|
+
};
|
|
3322
|
+
SharedService.prototype.getDefaultEmailReportTemplatesForBranch = function (branchNr, reportType) {
|
|
3323
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3324
|
+
var reportTemplatesRequest;
|
|
3325
|
+
return __generator(this, function (_a) {
|
|
3326
|
+
switch (_a.label) {
|
|
3327
|
+
case 0:
|
|
3328
|
+
reportTemplatesRequest = new selectReportTemplatesRequest.SelectReportTemplatesRequest();
|
|
3329
|
+
reportTemplatesRequest.branchNr = branchNr;
|
|
3330
|
+
reportTemplatesRequest.documentCode = reportType;
|
|
3331
|
+
reportTemplatesRequest.sendMethod = sendMethodType_enum.SendMethodType.Email;
|
|
3332
|
+
return [4 /*yield*/, this.connector.getReportTemplates(reportTemplatesRequest)];
|
|
3333
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
3334
|
+
}
|
|
3335
|
+
});
|
|
3336
|
+
});
|
|
3337
|
+
};
|
|
3338
|
+
SharedService.prototype.emailViaTemplate = function (template, emailTo, emailBcc, reply, subject, message, attachments, parameters) {
|
|
3339
|
+
if (subject === void 0) { subject = ""; }
|
|
3340
|
+
if (message === void 0) { message = ""; }
|
|
3341
|
+
if (attachments === void 0) { attachments = []; }
|
|
3342
|
+
if (parameters === void 0) { parameters = {}; }
|
|
3343
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3344
|
+
var subjectAddition, emailJob;
|
|
3345
|
+
return __generator(this, function (_a) {
|
|
3346
|
+
subjectAddition = subject.trim();
|
|
3347
|
+
emailJob = this._createEmailJob(template, emailTo, emailBcc, reply, subjectAddition, message, attachments, parameters);
|
|
3348
|
+
return [2 /*return*/, this.connector.emailReport(emailJob)];
|
|
3349
|
+
});
|
|
3350
|
+
});
|
|
3351
|
+
};
|
|
3352
|
+
SharedService.prototype._createEmailJob = function (report, emailTo, emailBcc, reply, subject, message, attachments, parameters) {
|
|
3353
|
+
if (parameters === void 0) { parameters = {}; }
|
|
3354
|
+
var emailJob$1 = new emailJob.EmailJob();
|
|
3355
|
+
emailJob$1.emailTo = emailTo;
|
|
3356
|
+
emailJob$1.emailBcc = emailBcc;
|
|
3357
|
+
emailJob$1.reply = reply;
|
|
3358
|
+
emailJob$1.subject = subject;
|
|
3359
|
+
emailJob$1.message = message;
|
|
3360
|
+
emailJob$1.attachments = attachments;
|
|
3361
|
+
emailJob$1.reportId = report.reportId;
|
|
3362
|
+
emailJob$1.parameterValues = parameters;
|
|
3363
|
+
emailJob$1.locale = this.locale;
|
|
3364
|
+
return emailJob$1;
|
|
3365
|
+
};
|
|
3114
3366
|
SharedService.prototype.getWorkflowProcessInfoPerStatus = function (workflowCategory) {
|
|
3115
3367
|
return __awaiter(this, void 0, void 0, function () {
|
|
3116
3368
|
return __generator(this, function (_a) {
|
|
@@ -3151,13 +3403,14 @@
|
|
|
3151
3403
|
};
|
|
3152
3404
|
return SharedService;
|
|
3153
3405
|
}());
|
|
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" });
|
|
3406
|
+
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
3407
|
SharedService.decorators = [
|
|
3156
3408
|
{ type: i0.Injectable, args: [{
|
|
3157
3409
|
providedIn: "root"
|
|
3158
3410
|
},] }
|
|
3159
3411
|
];
|
|
3160
3412
|
SharedService.ctorParameters = function () { return [
|
|
3413
|
+
{ type: exports["ɵi"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
|
|
3161
3414
|
{ type: OptionsService },
|
|
3162
3415
|
{ type: SharedConnectorService }
|
|
3163
3416
|
]; };
|
|
@@ -3239,14 +3492,14 @@
|
|
|
3239
3492
|
}());
|
|
3240
3493
|
|
|
3241
3494
|
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["
|
|
3495
|
+
new SendMethod(sendMethodType_enum.SendMethodType.Fax, "Fax", exports["ɵbv"].PrintRegular),
|
|
3496
|
+
new SendMethod(sendMethodType_enum.SendMethodType.Print, "Print", exports["ɵbv"].PrintSolid),
|
|
3497
|
+
new SendMethod(sendMethodType_enum.SendMethodType.Email, "Email", exports["ɵbv"].AtSolid),
|
|
3498
|
+
new SendMethod(sendMethodType_enum.SendMethodType.Edi, "Edi", exports["ɵbv"].FileExportSolid),
|
|
3499
|
+
new SendMethod(sendMethodType_enum.SendMethodType.EmailTemplate, "Email template", exports["ɵbv"].EnvelopeRegular),
|
|
3500
|
+
new SendMethod(sendMethodType_enum.SendMethodType.Sms, "Sms", exports["ɵbv"].MessageSmsSolid),
|
|
3501
|
+
new SendMethod(sendMethodType_enum.SendMethodType.WebService, "Webservice", exports["ɵbv"].PrintRegular),
|
|
3502
|
+
new SendMethod(sendMethodType_enum.SendMethodType.Pdf, "Pdf", exports["ɵbv"].Pdf)
|
|
3250
3503
|
];
|
|
3251
3504
|
var SendMethodDialogComponent = /** @class */ (function () {
|
|
3252
3505
|
function SendMethodDialogComponent(iconCacheService, _changeDetector, _sharedService, _sendMethodService) {
|
|
@@ -3255,7 +3508,7 @@
|
|
|
3255
3508
|
this._changeDetector = _changeDetector;
|
|
3256
3509
|
this._sharedService = _sharedService;
|
|
3257
3510
|
this._sendMethodService = _sendMethodService;
|
|
3258
|
-
this.icons = exports["
|
|
3511
|
+
this.icons = exports["ɵbv"];
|
|
3259
3512
|
this.printerList = [];
|
|
3260
3513
|
this.emailLayouts = [];
|
|
3261
3514
|
this.printLayouts = [];
|
|
@@ -3482,7 +3735,7 @@
|
|
|
3482
3735
|
var LayoutSelectionComponent = /** @class */ (function () {
|
|
3483
3736
|
function LayoutSelectionComponent(iconCacheService) {
|
|
3484
3737
|
this.iconCacheService = iconCacheService;
|
|
3485
|
-
this.icons = exports["
|
|
3738
|
+
this.icons = exports["ɵbv"];
|
|
3486
3739
|
this.layouts = [];
|
|
3487
3740
|
this.requestChange = new i0.EventEmitter();
|
|
3488
3741
|
this.showLayoutList = false;
|
|
@@ -3558,7 +3811,7 @@
|
|
|
3558
3811
|
var SignatureButtonComponent = /** @class */ (function () {
|
|
3559
3812
|
function SignatureButtonComponent(iconCacheService) {
|
|
3560
3813
|
this.iconCacheService = iconCacheService;
|
|
3561
|
-
this.icons = exports["
|
|
3814
|
+
this.icons = exports["ɵbv"];
|
|
3562
3815
|
}
|
|
3563
3816
|
SignatureButtonComponent.prototype.showClass = function () {
|
|
3564
3817
|
return true;
|
|
@@ -3668,7 +3921,7 @@
|
|
|
3668
3921
|
this.sendMethodService = sendMethodService;
|
|
3669
3922
|
this.iconService = iconService;
|
|
3670
3923
|
this._service = _service;
|
|
3671
|
-
this.icons = exports["
|
|
3924
|
+
this.icons = exports["ɵbv"];
|
|
3672
3925
|
this.printers = [];
|
|
3673
3926
|
this.showPrinterList = false;
|
|
3674
3927
|
}
|
|
@@ -3919,7 +4172,7 @@
|
|
|
3919
4172
|
function OrderTabComponent(iconCacheService, _stockService) {
|
|
3920
4173
|
this.iconCacheService = iconCacheService;
|
|
3921
4174
|
this._stockService = _stockService;
|
|
3922
|
-
this.icons = exports["
|
|
4175
|
+
this.icons = exports["ɵbv"];
|
|
3923
4176
|
this.articleStockInformation = [];
|
|
3924
4177
|
this.inOrderInformation = [];
|
|
3925
4178
|
this.locationClicked = new i0.EventEmitter();
|
|
@@ -3958,7 +4211,7 @@
|
|
|
3958
4211
|
this._stockService = _stockService;
|
|
3959
4212
|
this._localizeService = _localizeService;
|
|
3960
4213
|
this._changeDetector = _changeDetector;
|
|
3961
|
-
this.icons = exports["
|
|
4214
|
+
this.icons = exports["ɵbv"];
|
|
3962
4215
|
this.stockInformation = [];
|
|
3963
4216
|
this.warehouses = [];
|
|
3964
4217
|
this.transferIconClicked = new i0.EventEmitter();
|
|
@@ -4148,7 +4401,7 @@
|
|
|
4148
4401
|
|
|
4149
4402
|
var StockHistoryTabsComponent = /** @class */ (function () {
|
|
4150
4403
|
function StockHistoryTabsComponent() {
|
|
4151
|
-
this.icons = exports["
|
|
4404
|
+
this.icons = exports["ɵbv"];
|
|
4152
4405
|
this.selectedTab = 0;
|
|
4153
4406
|
}
|
|
4154
4407
|
return StockHistoryTabsComponent;
|
|
@@ -4168,7 +4421,7 @@
|
|
|
4168
4421
|
function OrderStockTabComponent(iconCacheService, _stockService) {
|
|
4169
4422
|
this.iconCacheService = iconCacheService;
|
|
4170
4423
|
this._stockService = _stockService;
|
|
4171
|
-
this.icons = exports["
|
|
4424
|
+
this.icons = exports["ɵbv"];
|
|
4172
4425
|
this.orderInformation = [];
|
|
4173
4426
|
}
|
|
4174
4427
|
return OrderStockTabComponent;
|
|
@@ -4193,7 +4446,7 @@
|
|
|
4193
4446
|
this.iconCacheService = iconCacheService;
|
|
4194
4447
|
this._stockService = _stockService;
|
|
4195
4448
|
this._changeDetector = _changeDetector;
|
|
4196
|
-
this.icons = exports["
|
|
4449
|
+
this.icons = exports["ɵbv"];
|
|
4197
4450
|
this.articleStockInfo = [];
|
|
4198
4451
|
this.articleStockInformation = [];
|
|
4199
4452
|
this.articleWarehouse = [];
|
|
@@ -4357,7 +4610,7 @@
|
|
|
4357
4610
|
function StockHistoryComponent(iconCacheService, _stockService) {
|
|
4358
4611
|
this.iconCacheService = iconCacheService;
|
|
4359
4612
|
this._stockService = _stockService;
|
|
4360
|
-
this.icons = exports["
|
|
4613
|
+
this.icons = exports["ɵbv"];
|
|
4361
4614
|
this.stockHistoryInformation = [];
|
|
4362
4615
|
this.stockHistory = [];
|
|
4363
4616
|
}
|
|
@@ -4456,7 +4709,7 @@
|
|
|
4456
4709
|
var OrderSupplyStockHistoryComponent = /** @class */ (function () {
|
|
4457
4710
|
function OrderSupplyStockHistoryComponent(iconCacheService) {
|
|
4458
4711
|
this.iconCacheService = iconCacheService;
|
|
4459
|
-
this.icons = exports["
|
|
4712
|
+
this.icons = exports["ɵbv"];
|
|
4460
4713
|
this.orderSupplyStockHistory = [];
|
|
4461
4714
|
}
|
|
4462
4715
|
return OrderSupplyStockHistoryComponent;
|
|
@@ -4478,7 +4731,7 @@
|
|
|
4478
4731
|
var OrderCommissionStockHistoryComponent = /** @class */ (function () {
|
|
4479
4732
|
function OrderCommissionStockHistoryComponent(iconCacheService) {
|
|
4480
4733
|
this.iconCacheService = iconCacheService;
|
|
4481
|
-
this.icons = exports["
|
|
4734
|
+
this.icons = exports["ɵbv"];
|
|
4482
4735
|
this.orderStockCommissionHistory = [];
|
|
4483
4736
|
}
|
|
4484
4737
|
return OrderCommissionStockHistoryComponent;
|
|
@@ -4500,7 +4753,7 @@
|
|
|
4500
4753
|
var OrderStockHistoryComponent = /** @class */ (function () {
|
|
4501
4754
|
function OrderStockHistoryComponent(iconCacheService) {
|
|
4502
4755
|
this.iconCacheService = iconCacheService;
|
|
4503
|
-
this.icons = exports["
|
|
4756
|
+
this.icons = exports["ɵbv"];
|
|
4504
4757
|
this.orderStockHistory = [];
|
|
4505
4758
|
}
|
|
4506
4759
|
return OrderStockHistoryComponent;
|
|
@@ -4522,7 +4775,7 @@
|
|
|
4522
4775
|
var AllocationStockHistoryComponent = /** @class */ (function () {
|
|
4523
4776
|
function AllocationStockHistoryComponent(iconCacheService) {
|
|
4524
4777
|
this.iconCacheService = iconCacheService;
|
|
4525
|
-
this.icons = exports["
|
|
4778
|
+
this.icons = exports["ɵbv"];
|
|
4526
4779
|
this.allocationStockHistory = [];
|
|
4527
4780
|
}
|
|
4528
4781
|
return AllocationStockHistoryComponent;
|
|
@@ -4851,7 +5104,7 @@
|
|
|
4851
5104
|
function StockPrognoseComponent(iconCacheService, _stockService) {
|
|
4852
5105
|
this.iconCacheService = iconCacheService;
|
|
4853
5106
|
this._stockService = _stockService;
|
|
4854
|
-
this.icons = exports["
|
|
5107
|
+
this.icons = exports["ɵbv"];
|
|
4855
5108
|
this.stockPrognose = [];
|
|
4856
5109
|
}
|
|
4857
5110
|
return StockPrognoseComponent;
|
|
@@ -4923,7 +5176,7 @@
|
|
|
4923
5176
|
this.iconCacheService = iconCacheService;
|
|
4924
5177
|
this._stockService = _stockService;
|
|
4925
5178
|
this._changeDetector = _changeDetector;
|
|
4926
|
-
this.icons = exports["
|
|
5179
|
+
this.icons = exports["ɵbv"];
|
|
4927
5180
|
this.showConfirmationDialog = false;
|
|
4928
5181
|
this.newStockLine = false;
|
|
4929
5182
|
this.selectedArticleDetailsData = new articleDetails_bo.ArticleDetailsBo();
|
|
@@ -5211,7 +5464,7 @@
|
|
|
5211
5464
|
var KeyPadComponent = /** @class */ (function () {
|
|
5212
5465
|
function KeyPadComponent(iconCacheService) {
|
|
5213
5466
|
this.iconCacheService = iconCacheService;
|
|
5214
|
-
this.icons = exports["
|
|
5467
|
+
this.icons = exports["ɵbv"];
|
|
5215
5468
|
this.showValue = true;
|
|
5216
5469
|
this.resetModelOnInit = true;
|
|
5217
5470
|
this.emitModelChangeOnEnter = true;
|
|
@@ -5412,7 +5665,7 @@
|
|
|
5412
5665
|
var LayoutSwitcherComponent = /** @class */ (function () {
|
|
5413
5666
|
function LayoutSwitcherComponent(iconCacheService) {
|
|
5414
5667
|
this.iconCacheService = iconCacheService;
|
|
5415
|
-
this.icon = exports["
|
|
5668
|
+
this.icon = exports["ɵbv"];
|
|
5416
5669
|
this.layoutItems = [];
|
|
5417
5670
|
this.layoutSwitchEmit = new i0.EventEmitter();
|
|
5418
5671
|
this.showMaskSidebar = false;
|
|
@@ -5692,7 +5945,7 @@
|
|
|
5692
5945
|
this.iconCacheService = iconCacheService;
|
|
5693
5946
|
this.selectedDate = new Date();
|
|
5694
5947
|
this.selectedDateChange = new i0.EventEmitter();
|
|
5695
|
-
this.icons = exports["
|
|
5948
|
+
this.icons = exports["ɵbv"];
|
|
5696
5949
|
this.showMonthYearSelect = false;
|
|
5697
5950
|
this.expanded = false;
|
|
5698
5951
|
}
|
|
@@ -6245,7 +6498,7 @@
|
|
|
6245
6498
|
},] }
|
|
6246
6499
|
];
|
|
6247
6500
|
CalendarViewComponent.ctorParameters = function () { return [
|
|
6248
|
-
{ type: exports["
|
|
6501
|
+
{ type: exports["ɵi"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
|
|
6249
6502
|
]; };
|
|
6250
6503
|
CalendarViewComponent.propDecorators = {
|
|
6251
6504
|
view: [{ type: i0.Input }],
|
|
@@ -6372,7 +6625,7 @@
|
|
|
6372
6625
|
CalendarUtils.Locale = undefined;
|
|
6373
6626
|
CalendarUtils.Now = new Date();
|
|
6374
6627
|
CalendarUtils.ctorParameters = function () { return [
|
|
6375
|
-
{ type: exports["
|
|
6628
|
+
{ type: exports["ɵi"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
|
|
6376
6629
|
]; };
|
|
6377
6630
|
|
|
6378
6631
|
var AgendaEvent = /** @class */ (function () {
|
|
@@ -6429,7 +6682,7 @@
|
|
|
6429
6682
|
this._renderer = _renderer;
|
|
6430
6683
|
this._ngZone = _ngZone;
|
|
6431
6684
|
this.iconCacheService = iconCacheService;
|
|
6432
|
-
this.icons = exports["
|
|
6685
|
+
this.icons = exports["ɵbv"];
|
|
6433
6686
|
this.viewTypes = exports.CalendarView;
|
|
6434
6687
|
this.scrollbarWidth = 15;
|
|
6435
6688
|
this.today = new Date();
|
|
@@ -6621,7 +6874,7 @@
|
|
|
6621
6874
|
},] }
|
|
6622
6875
|
];
|
|
6623
6876
|
AgendaHeaderComponent.ctorParameters = function () { return [
|
|
6624
|
-
{ type: exports["
|
|
6877
|
+
{ type: exports["ɵi"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
|
|
6625
6878
|
{ type: i0.ElementRef },
|
|
6626
6879
|
{ type: i0.Renderer2 },
|
|
6627
6880
|
{ type: i0.NgZone },
|
|
@@ -6722,7 +6975,7 @@
|
|
|
6722
6975
|
{ type: i0.Directive }
|
|
6723
6976
|
];
|
|
6724
6977
|
AgendaBaseViewComponent.ctorParameters = function () { return [
|
|
6725
|
-
{ type: exports["
|
|
6978
|
+
{ type: exports["ɵi"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
|
|
6726
6979
|
{ type: IconCacheService }
|
|
6727
6980
|
]; };
|
|
6728
6981
|
AgendaBaseViewComponent.propDecorators = {
|
|
@@ -6841,7 +7094,7 @@
|
|
|
6841
7094
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
6842
7095
|
_this.view = exports.CalendarView.WeekSelectView;
|
|
6843
7096
|
_this.week = NULL_WEEK;
|
|
6844
|
-
_this.icons = exports["
|
|
7097
|
+
_this.icons = exports["ɵbv"];
|
|
6845
7098
|
return _this;
|
|
6846
7099
|
}
|
|
6847
7100
|
AgendaWeekSelectViewComponent.prototype.prepareViewData = function () {
|
|
@@ -7087,7 +7340,7 @@
|
|
|
7087
7340
|
this._elementRef = _elementRef;
|
|
7088
7341
|
this._renderer = _renderer;
|
|
7089
7342
|
this.iconCacheService = iconCacheService;
|
|
7090
|
-
this.icons = exports["
|
|
7343
|
+
this.icons = exports["ɵbv"];
|
|
7091
7344
|
this.event = NULL_AGENDA_EVENT;
|
|
7092
7345
|
this.eventChecked = new i0.EventEmitter();
|
|
7093
7346
|
}
|
|
@@ -7309,7 +7562,7 @@
|
|
|
7309
7562
|
var AgendaSelectEventComponent = /** @class */ (function () {
|
|
7310
7563
|
function AgendaSelectEventComponent(iconCacheService) {
|
|
7311
7564
|
this.iconCacheService = iconCacheService;
|
|
7312
|
-
this.icons = exports["
|
|
7565
|
+
this.icons = exports["ɵbv"];
|
|
7313
7566
|
this.event = NULL_AGENDA_EVENT;
|
|
7314
7567
|
this.eventChecked = new i0.EventEmitter();
|
|
7315
7568
|
}
|
|
@@ -7379,7 +7632,7 @@
|
|
|
7379
7632
|
function SimpleTagsComponent(iconCacheService, sharedService) {
|
|
7380
7633
|
this.iconCacheService = iconCacheService;
|
|
7381
7634
|
this.sharedService = sharedService;
|
|
7382
|
-
this.icon = exports["
|
|
7635
|
+
this.icon = exports["ɵbv"];
|
|
7383
7636
|
this.closeClick = new i0.EventEmitter();
|
|
7384
7637
|
this.saveClick = new i0.EventEmitter();
|
|
7385
7638
|
this.breadCrumbs = [];
|
|
@@ -7440,7 +7693,7 @@
|
|
|
7440
7693
|
function SimpleTagsFormComponent(iconCacheService, sharedService) {
|
|
7441
7694
|
this.iconCacheService = iconCacheService;
|
|
7442
7695
|
this.sharedService = sharedService;
|
|
7443
|
-
this.icon = exports["
|
|
7696
|
+
this.icon = exports["ɵbv"];
|
|
7444
7697
|
this.linkedTagsChange = new i0.EventEmitter();
|
|
7445
7698
|
this.breadCrumbs = [];
|
|
7446
7699
|
this.displayTags = [];
|
|
@@ -8759,8 +9012,8 @@
|
|
|
8759
9012
|
function AppFileDropzoneComponent(dictionary, iconCacheService) {
|
|
8760
9013
|
this.dictionary = dictionary;
|
|
8761
9014
|
this.iconCacheService = iconCacheService;
|
|
8762
|
-
this.icons = exports["
|
|
8763
|
-
this.Icons = exports["
|
|
9015
|
+
this.icons = exports["ɵbv"];
|
|
9016
|
+
this.Icons = exports["ɵbv"];
|
|
8764
9017
|
this._defaultDropActionMessage = "DROP_ZONE_DOCUMENTS";
|
|
8765
9018
|
}
|
|
8766
9019
|
AppFileDropzoneComponent.prototype.showClass = function () {
|
|
@@ -10295,7 +10548,7 @@
|
|
|
10295
10548
|
this._promptService = _promptService;
|
|
10296
10549
|
this._fileTypeImgPipe = _fileTypeImgPipe;
|
|
10297
10550
|
this.iconService = iconService;
|
|
10298
|
-
this.icons = exports["
|
|
10551
|
+
this.icons = exports["ɵbv"];
|
|
10299
10552
|
// Element clickable
|
|
10300
10553
|
this.link = false;
|
|
10301
10554
|
this.readonly = false;
|
|
@@ -10497,7 +10750,7 @@
|
|
|
10497
10750
|
var TileRenderComponent = /** @class */ (function () {
|
|
10498
10751
|
function TileRenderComponent(iconCacheService) {
|
|
10499
10752
|
this.iconCacheService = iconCacheService;
|
|
10500
|
-
this.icons = exports["
|
|
10753
|
+
this.icons = exports["ɵbv"];
|
|
10501
10754
|
// Render a large or small tile.
|
|
10502
10755
|
this.tileSize = TileSizeType.Large;
|
|
10503
10756
|
// When this tile is selected, this icon will be shown green in the upper-left corner (defaults to 'check').
|
|
@@ -10506,7 +10759,7 @@
|
|
|
10506
10759
|
this.imageClick = new i0.EventEmitter();
|
|
10507
10760
|
// Emits when the info wrapper was clicked (bottom half of this component).
|
|
10508
10761
|
this.infoClick = new i0.EventEmitter();
|
|
10509
|
-
this.Icon = exports["
|
|
10762
|
+
this.Icon = exports["ɵbv"];
|
|
10510
10763
|
}
|
|
10511
10764
|
Object.defineProperty(TileRenderComponent.prototype, "inSmallTileMode", {
|
|
10512
10765
|
get: function () {
|
|
@@ -10750,7 +11003,7 @@
|
|
|
10750
11003
|
this.enableditemsChange = new i0.EventEmitter();
|
|
10751
11004
|
// Outputs the sum of cgrefkeys of all newly enabled items
|
|
10752
11005
|
this.onPropertyItemChange = new i0.EventEmitter();
|
|
10753
|
-
this.Icons = exports["
|
|
11006
|
+
this.Icons = exports["ɵbv"];
|
|
10754
11007
|
this.objectifiedEnum = [];
|
|
10755
11008
|
this.enabledItemNumberList = [];
|
|
10756
11009
|
}
|
|
@@ -10916,13 +11169,13 @@
|
|
|
10916
11169
|
function ActivityListComponent(iconCacheService, _dictionaryService) {
|
|
10917
11170
|
this.iconCacheService = iconCacheService;
|
|
10918
11171
|
this._dictionaryService = _dictionaryService;
|
|
10919
|
-
this.Icon = exports["
|
|
11172
|
+
this.Icon = exports["ɵbv"];
|
|
10920
11173
|
this.RelationKind = relationKind_enum.RelationKind;
|
|
10921
11174
|
this.ActivityType = activityType.ActivityType;
|
|
10922
11175
|
this.TimeUtils = timeUtils.TimeUtils;
|
|
10923
11176
|
this.activities = [];
|
|
10924
|
-
this.remarkIcon = exports["
|
|
10925
|
-
this.workIcon = exports["
|
|
11177
|
+
this.remarkIcon = exports["ɵbv"].CommentRegular;
|
|
11178
|
+
this.workIcon = exports["ɵbv"].PersonDiggingRegular;
|
|
10926
11179
|
}
|
|
10927
11180
|
ActivityListComponent.prototype.showClass = function () {
|
|
10928
11181
|
return true;
|
|
@@ -11554,7 +11807,7 @@
|
|
|
11554
11807
|
this._dictionary = _dictionary;
|
|
11555
11808
|
this.iconService = iconService;
|
|
11556
11809
|
this.sharedService = sharedService;
|
|
11557
|
-
this.icons = exports["
|
|
11810
|
+
this.icons = exports["ɵbv"];
|
|
11558
11811
|
this.editingComplete = new i0.EventEmitter();
|
|
11559
11812
|
this.activitySaved = new i0.EventEmitter();
|
|
11560
11813
|
this.activityDeleted = new i0.EventEmitter();
|
|
@@ -11566,7 +11819,7 @@
|
|
|
11566
11819
|
this.showNewForm = false;
|
|
11567
11820
|
this.showModificationForm = false;
|
|
11568
11821
|
this.taskEditting = false;
|
|
11569
|
-
this.Icon = exports["
|
|
11822
|
+
this.Icon = exports["ɵbv"];
|
|
11570
11823
|
}
|
|
11571
11824
|
Object.defineProperty(TaskModifierComponent.prototype, "readonly", {
|
|
11572
11825
|
get: function () {
|
|
@@ -11834,7 +12087,7 @@
|
|
|
11834
12087
|
this._dialogService = _dialogService;
|
|
11835
12088
|
this._dictionaryService = _dictionaryService;
|
|
11836
12089
|
this._sharedService = _sharedService;
|
|
11837
|
-
this.icon = exports["
|
|
12090
|
+
this.icon = exports["ɵbv"];
|
|
11838
12091
|
this.cfgNames = ActivityCfgName;
|
|
11839
12092
|
this.taskCfgNames = {
|
|
11840
12093
|
timeRegistrationMandatory: ActivityCfgName.TimeRegistrationMandatory,
|
|
@@ -12145,7 +12398,7 @@
|
|
|
12145
12398
|
var _this = _super.call(this) || this;
|
|
12146
12399
|
_this.sharedService = sharedService;
|
|
12147
12400
|
_this.tabs = personalActivityTab_enum.PersonalActivityTabEnum;
|
|
12148
|
-
_this.icons = exports["
|
|
12401
|
+
_this.icons = exports["ɵbv"];
|
|
12149
12402
|
_this.activityClass = activity_bo.Activity;
|
|
12150
12403
|
_this.activitySortType = activitySortType_enum.ActivitySortType;
|
|
12151
12404
|
_this.showActivityHeader = true;
|
|
@@ -12400,7 +12653,7 @@
|
|
|
12400
12653
|
_this.dialogService = dialogService;
|
|
12401
12654
|
_this.dictionaryService = dictionaryService;
|
|
12402
12655
|
_this.sharedService = sharedService;
|
|
12403
|
-
_this.Icon = exports["
|
|
12656
|
+
_this.Icon = exports["ɵbv"];
|
|
12404
12657
|
return _this;
|
|
12405
12658
|
}
|
|
12406
12659
|
ComponentActivityOverviewComponent.prototype.showClass = function () {
|
|
@@ -12620,7 +12873,7 @@
|
|
|
12620
12873
|
_this.dialogService = dialogService;
|
|
12621
12874
|
_this.iconCacheService = iconCacheService;
|
|
12622
12875
|
_this.sharedService = sharedService;
|
|
12623
|
-
_this.Icon = exports["
|
|
12876
|
+
_this.Icon = exports["ɵbv"];
|
|
12624
12877
|
_this.showStatusDropdown = false;
|
|
12625
12878
|
return _this;
|
|
12626
12879
|
}
|
|
@@ -12691,7 +12944,7 @@
|
|
|
12691
12944
|
function ActivitySummaryBlockComponent(_formMaster, elementRef) {
|
|
12692
12945
|
this._formMaster = _formMaster;
|
|
12693
12946
|
this.elementRef = elementRef;
|
|
12694
|
-
this.Icon = exports["
|
|
12947
|
+
this.Icon = exports["ɵbv"];
|
|
12695
12948
|
this.noBorder = false;
|
|
12696
12949
|
this.readonly = false;
|
|
12697
12950
|
this.showButtons = false;
|
|
@@ -12803,7 +13056,7 @@
|
|
|
12803
13056
|
_this.dialogService = dialogService;
|
|
12804
13057
|
_this.iconService = iconService;
|
|
12805
13058
|
_this.sharedService = sharedService;
|
|
12806
|
-
_this.Icon = exports["
|
|
13059
|
+
_this.Icon = exports["ɵbv"];
|
|
12807
13060
|
return _this;
|
|
12808
13061
|
}
|
|
12809
13062
|
StatusSummaryBlockComponent.prototype.showClass = function () {
|
|
@@ -12874,7 +13127,7 @@
|
|
|
12874
13127
|
_this.dialogService = dialogService;
|
|
12875
13128
|
_this.sharedService = sharedService;
|
|
12876
13129
|
_this.locale = locale;
|
|
12877
|
-
_this.Icon = exports["
|
|
13130
|
+
_this.Icon = exports["ɵbv"];
|
|
12878
13131
|
_this.taskCategories = [];
|
|
12879
13132
|
_this.priorityDomainColl = [];
|
|
12880
13133
|
return _this;
|
|
@@ -12933,7 +13186,7 @@
|
|
|
12933
13186
|
{ type: DictionaryService },
|
|
12934
13187
|
{ type: corecomponents_v12.CoreDialogService },
|
|
12935
13188
|
{ type: SharedService },
|
|
12936
|
-
{ type: exports["
|
|
13189
|
+
{ type: exports["ɵi"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
|
|
12937
13190
|
]; };
|
|
12938
13191
|
CreationSummaryBlockComponent.propDecorators = {
|
|
12939
13192
|
editTemplate: [{ type: i0.ViewChild, args: ["editTemplate", { static: true },] }],
|
|
@@ -12978,7 +13231,7 @@
|
|
|
12978
13231
|
_this.dialogService = dialogService;
|
|
12979
13232
|
_this.sharedService = sharedService;
|
|
12980
13233
|
_this.RelationType = RelationType;
|
|
12981
|
-
_this.Icon = exports["
|
|
13234
|
+
_this.Icon = exports["ɵbv"];
|
|
12982
13235
|
_this._textSearchParams = new relationRequest.RelationRequest();
|
|
12983
13236
|
_this.personnel = [];
|
|
12984
13237
|
return _this;
|
|
@@ -13051,7 +13304,7 @@
|
|
|
13051
13304
|
_this.dictionaryService = dictionaryService;
|
|
13052
13305
|
_this.dialogService = dialogService;
|
|
13053
13306
|
_this.sharedService = sharedService;
|
|
13054
|
-
_this.Icon = exports["
|
|
13307
|
+
_this.Icon = exports["ɵbv"];
|
|
13055
13308
|
_this.listItems = [];
|
|
13056
13309
|
return _this;
|
|
13057
13310
|
}
|
|
@@ -13207,7 +13460,7 @@
|
|
|
13207
13460
|
var ActivityListHeaderComponent = /** @class */ (function () {
|
|
13208
13461
|
function ActivityListHeaderComponent(iconService) {
|
|
13209
13462
|
this.iconService = iconService;
|
|
13210
|
-
this.icons = exports["
|
|
13463
|
+
this.icons = exports["ɵbv"];
|
|
13211
13464
|
this.activitySortType = activitySortType_enum.ActivitySortType;
|
|
13212
13465
|
this.title = 'MY_WORK';
|
|
13213
13466
|
this.searchTextChange = new i0.EventEmitter();
|
|
@@ -13248,7 +13501,7 @@
|
|
|
13248
13501
|
function WorkflowNotificationTogglePopupComponent(element, iconService) {
|
|
13249
13502
|
this.element = element;
|
|
13250
13503
|
this.iconService = iconService;
|
|
13251
|
-
this.icons = exports["
|
|
13504
|
+
this.icons = exports["ɵbv"];
|
|
13252
13505
|
this.workflowProcesses = [];
|
|
13253
13506
|
this.closePopupClicked = new i0.EventEmitter();
|
|
13254
13507
|
this.workflowProcessClicked = new i0.EventEmitter();
|
|
@@ -13281,7 +13534,7 @@
|
|
|
13281
13534
|
this.iconService = iconService;
|
|
13282
13535
|
this.sharedService = sharedService;
|
|
13283
13536
|
this._overlayService = _overlayService;
|
|
13284
|
-
this.icons = exports["
|
|
13537
|
+
this.icons = exports["ɵbv"];
|
|
13285
13538
|
this.workflowProcesses = [];
|
|
13286
13539
|
this.showPopup = false;
|
|
13287
13540
|
}
|
|
@@ -13890,7 +14143,7 @@
|
|
|
13890
14143
|
this.element = element;
|
|
13891
14144
|
this.iconService = iconService;
|
|
13892
14145
|
this._overlayService = _overlayService;
|
|
13893
|
-
this.icon = exports["
|
|
14146
|
+
this.icon = exports["ɵbv"];
|
|
13894
14147
|
this.possibleFilters = [
|
|
13895
14148
|
period_enum.Period.All,
|
|
13896
14149
|
period_enum.Period.Today,
|
|
@@ -14062,8 +14315,8 @@
|
|
|
14062
14315
|
function WorkflowInfoTilesComponent(iconCacheService, sharedService) {
|
|
14063
14316
|
this.iconCacheService = iconCacheService;
|
|
14064
14317
|
this.sharedService = sharedService;
|
|
14065
|
-
this.Icon = exports["
|
|
14066
|
-
this.icons = exports["
|
|
14318
|
+
this.Icon = exports["ɵbv"];
|
|
14319
|
+
this.icons = exports["ɵbv"];
|
|
14067
14320
|
this.workflowProcessInfoPerStatusClicked = new i0.EventEmitter();
|
|
14068
14321
|
}
|
|
14069
14322
|
Object.defineProperty(WorkflowInfoTilesComponent.prototype, "workflowCategory", {
|
|
@@ -14114,7 +14367,7 @@
|
|
|
14114
14367
|
function WorkflowInfoTileComponent(iconCacheService, colorService) {
|
|
14115
14368
|
this.iconCacheService = iconCacheService;
|
|
14116
14369
|
this.colorService = colorService;
|
|
14117
|
-
this.Icon = exports["
|
|
14370
|
+
this.Icon = exports["ɵbv"];
|
|
14118
14371
|
}
|
|
14119
14372
|
WorkflowInfoTileComponent.prototype.showClass = function () {
|
|
14120
14373
|
return true;
|
|
@@ -14183,6 +14436,533 @@
|
|
|
14183
14436
|
},] }
|
|
14184
14437
|
];
|
|
14185
14438
|
|
|
14439
|
+
var TaskCreatorComponent = /** @class */ (function () {
|
|
14440
|
+
function TaskCreatorComponent(iconService, dictionaryService, sharedService) {
|
|
14441
|
+
this.iconService = iconService;
|
|
14442
|
+
this.dictionaryService = dictionaryService;
|
|
14443
|
+
this.sharedService = sharedService;
|
|
14444
|
+
this.icons = exports["ɵbv"];
|
|
14445
|
+
this.table = tableName_enum.TableName.Transactions;
|
|
14446
|
+
this.activityCreated = new i0.EventEmitter();
|
|
14447
|
+
this.optionCollection = [
|
|
14448
|
+
{ icon: this.iconService.getIcon(this.icons.CommentRegular), label: this.dictionaryService.get('REMARK', true) },
|
|
14449
|
+
{ icon: this.iconService.getIcon(this.icons.PersonDiggingRegular), label: this.dictionaryService.get('WORK', true) },
|
|
14450
|
+
{ icon: this.iconService.getIcon(this.icons.Task), label: this.dictionaryService.get('TASK', true) },
|
|
14451
|
+
];
|
|
14452
|
+
this.showFilesDialog = false;
|
|
14453
|
+
this.documents = [];
|
|
14454
|
+
this.showEmailDialog = false;
|
|
14455
|
+
this.senderAddress = '';
|
|
14456
|
+
this.emailAddresses = [];
|
|
14457
|
+
this.bccEmailAddresses = [];
|
|
14458
|
+
this.emailRequest = null;
|
|
14459
|
+
this.remarkText = "";
|
|
14460
|
+
this.workDescription = "";
|
|
14461
|
+
this.taskName = "";
|
|
14462
|
+
this.taskDescription = "";
|
|
14463
|
+
}
|
|
14464
|
+
TaskCreatorComponent.prototype.showClass = function () {
|
|
14465
|
+
return true;
|
|
14466
|
+
};
|
|
14467
|
+
TaskCreatorComponent.prototype.ngOnInit = function () {
|
|
14468
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14469
|
+
var _a;
|
|
14470
|
+
return __generator(this, function (_b) {
|
|
14471
|
+
switch (_b.label) {
|
|
14472
|
+
case 0:
|
|
14473
|
+
this.chosenActivityType = this.optionCollection[0];
|
|
14474
|
+
_a = this;
|
|
14475
|
+
return [4 /*yield*/, this.sharedService.getEmailSenderByWorkflowCategoryAndKey('SERVICE_ORDER', this.remarkAndWorkKey)];
|
|
14476
|
+
case 1:
|
|
14477
|
+
_a.senderAddress = _b.sent();
|
|
14478
|
+
return [2 /*return*/];
|
|
14479
|
+
}
|
|
14480
|
+
});
|
|
14481
|
+
});
|
|
14482
|
+
};
|
|
14483
|
+
TaskCreatorComponent.prototype.itemSelected = function (item) {
|
|
14484
|
+
this.chosenActivityType = item;
|
|
14485
|
+
};
|
|
14486
|
+
TaskCreatorComponent.prototype.createRemarkClicked = function () {
|
|
14487
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14488
|
+
var remark, activity, _a;
|
|
14489
|
+
return __generator(this, function (_b) {
|
|
14490
|
+
switch (_b.label) {
|
|
14491
|
+
case 0:
|
|
14492
|
+
this.createForm.submit();
|
|
14493
|
+
if (!this.createForm.isValid()) return [3 /*break*/, 2];
|
|
14494
|
+
remark = this.createRemark();
|
|
14495
|
+
activity = new activity_bo.Activity();
|
|
14496
|
+
activity.activityType = activityType.ActivityType.Remark;
|
|
14497
|
+
activity.remark = remark;
|
|
14498
|
+
_a = this;
|
|
14499
|
+
return [4 /*yield*/, this.sharedService.insertRemark(activity)];
|
|
14500
|
+
case 1:
|
|
14501
|
+
_a.createdRemark = _b.sent();
|
|
14502
|
+
if (this.createdRemark) {
|
|
14503
|
+
this.handleAfterCreation();
|
|
14504
|
+
}
|
|
14505
|
+
_b.label = 2;
|
|
14506
|
+
case 2: return [2 /*return*/];
|
|
14507
|
+
}
|
|
14508
|
+
});
|
|
14509
|
+
});
|
|
14510
|
+
};
|
|
14511
|
+
TaskCreatorComponent.prototype.createWorkClicked = function () {
|
|
14512
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14513
|
+
var work, activity, _a;
|
|
14514
|
+
return __generator(this, function (_b) {
|
|
14515
|
+
switch (_b.label) {
|
|
14516
|
+
case 0:
|
|
14517
|
+
this.createForm.submit();
|
|
14518
|
+
if (!this.createForm.isValid()) return [3 /*break*/, 3];
|
|
14519
|
+
work = this.createWork();
|
|
14520
|
+
activity = new activity_bo.Activity();
|
|
14521
|
+
activity.activityType = activityType.ActivityType.Work;
|
|
14522
|
+
activity.work = work;
|
|
14523
|
+
_a = this;
|
|
14524
|
+
return [4 /*yield*/, this.sharedService.insertWork(activity)];
|
|
14525
|
+
case 1:
|
|
14526
|
+
_a.createdWork = _b.sent();
|
|
14527
|
+
if (!this.createdWork) return [3 /*break*/, 3];
|
|
14528
|
+
this.activityCreated.emit();
|
|
14529
|
+
return [4 /*yield*/, this.sendEmailIfNeccesary()];
|
|
14530
|
+
case 2:
|
|
14531
|
+
_b.sent();
|
|
14532
|
+
this.clearFields();
|
|
14533
|
+
_b.label = 3;
|
|
14534
|
+
case 3: return [2 /*return*/];
|
|
14535
|
+
}
|
|
14536
|
+
});
|
|
14537
|
+
});
|
|
14538
|
+
};
|
|
14539
|
+
TaskCreatorComponent.prototype.createTaskClicked = function () {
|
|
14540
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14541
|
+
var task, activity, _a;
|
|
14542
|
+
return __generator(this, function (_b) {
|
|
14543
|
+
switch (_b.label) {
|
|
14544
|
+
case 0:
|
|
14545
|
+
this.createForm.submit();
|
|
14546
|
+
if (!this.createForm.isValid()) return [3 /*break*/, 3];
|
|
14547
|
+
task = this.createTask();
|
|
14548
|
+
activity = new activity_bo.Activity();
|
|
14549
|
+
activity.activityType = activityType.ActivityType.Task;
|
|
14550
|
+
activity.task = task;
|
|
14551
|
+
_a = this;
|
|
14552
|
+
return [4 /*yield*/, this.sharedService.insertTask(activity)];
|
|
14553
|
+
case 1:
|
|
14554
|
+
_a.createdTask = _b.sent();
|
|
14555
|
+
if (!this.createdTask) return [3 /*break*/, 3];
|
|
14556
|
+
this.activityCreated.emit();
|
|
14557
|
+
return [4 /*yield*/, this.sendEmailIfNeccesary()];
|
|
14558
|
+
case 2:
|
|
14559
|
+
_b.sent();
|
|
14560
|
+
this.clearFields();
|
|
14561
|
+
_b.label = 3;
|
|
14562
|
+
case 3: return [2 /*return*/];
|
|
14563
|
+
}
|
|
14564
|
+
});
|
|
14565
|
+
});
|
|
14566
|
+
};
|
|
14567
|
+
TaskCreatorComponent.prototype.addedDocument = function (docs) {
|
|
14568
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14569
|
+
return __generator(this, function (_a) {
|
|
14570
|
+
this.documents = this.documents.concat(docs);
|
|
14571
|
+
return [2 /*return*/];
|
|
14572
|
+
});
|
|
14573
|
+
});
|
|
14574
|
+
};
|
|
14575
|
+
TaskCreatorComponent.prototype.deletedDocument = function (doc) {
|
|
14576
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14577
|
+
return __generator(this, function (_a) {
|
|
14578
|
+
ArrayUtils.RemoveElement(doc, this.documents);
|
|
14579
|
+
return [2 /*return*/];
|
|
14580
|
+
});
|
|
14581
|
+
});
|
|
14582
|
+
};
|
|
14583
|
+
TaskCreatorComponent.prototype.emailDialogClosed = function () {
|
|
14584
|
+
if (this.emailAddresses.length >= 0) {
|
|
14585
|
+
this.emailRequest = new activityEmailRequestData.activityEmailRequestData;
|
|
14586
|
+
this.emailRequest.table = this.table;
|
|
14587
|
+
this.emailRequest.key = this.remarkAndWorkKey;
|
|
14588
|
+
this.emailRequest.senderAddress = this.senderAddress;
|
|
14589
|
+
this.emailRequest.sendAddresses = this.emailAddresses;
|
|
14590
|
+
this.emailRequest.ccAddresses = this.bccEmailAddresses;
|
|
14591
|
+
}
|
|
14592
|
+
else {
|
|
14593
|
+
this.emailRequest = null;
|
|
14594
|
+
}
|
|
14595
|
+
this.showEmailDialog = false;
|
|
14596
|
+
};
|
|
14597
|
+
TaskCreatorComponent.prototype.createRemark = function () {
|
|
14598
|
+
var remark = new remark_bo.Remark();
|
|
14599
|
+
remark.author = this.author;
|
|
14600
|
+
remark.author.image = undefined;
|
|
14601
|
+
remark.documents = this.documents;
|
|
14602
|
+
remark.remark = this.remarkText;
|
|
14603
|
+
remark.dateTime = new Date();
|
|
14604
|
+
remark.table = this.table;
|
|
14605
|
+
remark.key = this.remarkAndWorkKey;
|
|
14606
|
+
remark.read = false;
|
|
14607
|
+
remark.current = true;
|
|
14608
|
+
return remark;
|
|
14609
|
+
};
|
|
14610
|
+
TaskCreatorComponent.prototype.createWork = function () {
|
|
14611
|
+
var work = new work_bo.Work();
|
|
14612
|
+
work.executive = this.author;
|
|
14613
|
+
work.executive.image = undefined;
|
|
14614
|
+
work.documents = this.documents;
|
|
14615
|
+
work.workedTime = 0;
|
|
14616
|
+
work.workDescription = this.workDescription;
|
|
14617
|
+
work.dateTime = new Date();
|
|
14618
|
+
work.table = this.table;
|
|
14619
|
+
work.key = this.remarkAndWorkKey;
|
|
14620
|
+
return work;
|
|
14621
|
+
};
|
|
14622
|
+
TaskCreatorComponent.prototype.createTask = function () {
|
|
14623
|
+
var task = new task_bo.Task();
|
|
14624
|
+
task.executive = this.author;
|
|
14625
|
+
task.executive.image = undefined;
|
|
14626
|
+
task.reporter = this.author;
|
|
14627
|
+
task.reporter.image = undefined;
|
|
14628
|
+
task.documents = this.documents;
|
|
14629
|
+
task.name = this.taskName;
|
|
14630
|
+
task.description = this.taskDescription;
|
|
14631
|
+
task.creationDateTime = new Date();
|
|
14632
|
+
task.dateDefinate = false;
|
|
14633
|
+
task.needsPlanning = true;
|
|
14634
|
+
task.priority = 0;
|
|
14635
|
+
task.workflowCategory = this.workflowCategoryType;
|
|
14636
|
+
task.reference = this.taskKey;
|
|
14637
|
+
task.emailAddresses = this.emailAddresses;
|
|
14638
|
+
return task;
|
|
14639
|
+
};
|
|
14640
|
+
TaskCreatorComponent.prototype.handleAfterCreation = function () {
|
|
14641
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14642
|
+
return __generator(this, function (_a) {
|
|
14643
|
+
switch (_a.label) {
|
|
14644
|
+
case 0:
|
|
14645
|
+
this.activityCreated.emit();
|
|
14646
|
+
return [4 /*yield*/, this.sendEmailIfNeccesary()];
|
|
14647
|
+
case 1:
|
|
14648
|
+
_a.sent();
|
|
14649
|
+
this.clearFields();
|
|
14650
|
+
return [2 /*return*/];
|
|
14651
|
+
}
|
|
14652
|
+
});
|
|
14653
|
+
});
|
|
14654
|
+
};
|
|
14655
|
+
TaskCreatorComponent.prototype.clearFields = function () {
|
|
14656
|
+
this.remarkText = "";
|
|
14657
|
+
this.workDescription = "";
|
|
14658
|
+
this.taskName = "";
|
|
14659
|
+
this.taskDescription = "";
|
|
14660
|
+
this.senderAddress = "";
|
|
14661
|
+
this.emailAddresses = [];
|
|
14662
|
+
this.bccEmailAddresses = [];
|
|
14663
|
+
this.emailRequest = null;
|
|
14664
|
+
this.createdWork = undefined;
|
|
14665
|
+
this.createdRemark = undefined;
|
|
14666
|
+
this.createdTask = undefined;
|
|
14667
|
+
};
|
|
14668
|
+
TaskCreatorComponent.prototype.sendEmailIfNeccesary = function () {
|
|
14669
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14670
|
+
var templates, template;
|
|
14671
|
+
return __generator(this, function (_a) {
|
|
14672
|
+
switch (_a.label) {
|
|
14673
|
+
case 0:
|
|
14674
|
+
if (!(this.emailAddresses.length > 0)) return [3 /*break*/, 2];
|
|
14675
|
+
return [4 /*yield*/, this.sharedService.getDefaultEmailReportTemplatesForBranch(this.branchNo, this.findReportType())];
|
|
14676
|
+
case 1:
|
|
14677
|
+
templates = _a.sent();
|
|
14678
|
+
if (templates.length != 0) {
|
|
14679
|
+
template = this.findDefault(templates);
|
|
14680
|
+
if (template) {
|
|
14681
|
+
this.startEmailing(template);
|
|
14682
|
+
}
|
|
14683
|
+
}
|
|
14684
|
+
_a.label = 2;
|
|
14685
|
+
case 2: return [2 /*return*/];
|
|
14686
|
+
}
|
|
14687
|
+
});
|
|
14688
|
+
});
|
|
14689
|
+
};
|
|
14690
|
+
TaskCreatorComponent.prototype.startEmailing = function (template) {
|
|
14691
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14692
|
+
return __generator(this, function (_a) {
|
|
14693
|
+
switch (_a.label) {
|
|
14694
|
+
case 0: return [4 /*yield*/, this.sharedService.emailViaTemplate(template, this.createEmailAddressString(this.emailAddresses), this.createEmailAddressString(this.bccEmailAddresses), this.senderAddress, this.createEmailSubject(), "", this.createAttachmentsStringArray(), this.createEmailParams())];
|
|
14695
|
+
case 1:
|
|
14696
|
+
_a.sent();
|
|
14697
|
+
return [2 /*return*/];
|
|
14698
|
+
}
|
|
14699
|
+
});
|
|
14700
|
+
});
|
|
14701
|
+
};
|
|
14702
|
+
TaskCreatorComponent.prototype.findReportType = function () {
|
|
14703
|
+
if (this.chosenActivityType === this.optionCollection[0]) {
|
|
14704
|
+
return reportType_enum.ReportType.RemarkMessage;
|
|
14705
|
+
}
|
|
14706
|
+
else if (this.chosenActivityType === this.optionCollection[1]) {
|
|
14707
|
+
return reportType_enum.ReportType.WorkMessage;
|
|
14708
|
+
}
|
|
14709
|
+
else {
|
|
14710
|
+
return reportType_enum.ReportType.TaskMessage;
|
|
14711
|
+
}
|
|
14712
|
+
};
|
|
14713
|
+
TaskCreatorComponent.prototype.findDefault = function (reportList) {
|
|
14714
|
+
var defaultTemplate = null;
|
|
14715
|
+
reportList.forEach(function (r) {
|
|
14716
|
+
if (r.isDefault) {
|
|
14717
|
+
defaultTemplate = r;
|
|
14718
|
+
}
|
|
14719
|
+
});
|
|
14720
|
+
return defaultTemplate;
|
|
14721
|
+
};
|
|
14722
|
+
TaskCreatorComponent.prototype.createEmailParams = function () {
|
|
14723
|
+
if (this.createdRemark) {
|
|
14724
|
+
return { opmerking_id: this.createdRemark.remarkId + "" };
|
|
14725
|
+
}
|
|
14726
|
+
else if (this.createdWork) {
|
|
14727
|
+
return { werkzh_id: this.createdWork.workId + "" };
|
|
14728
|
+
}
|
|
14729
|
+
else if (this.createdTask) {
|
|
14730
|
+
return { taak_id: this.createdTask.taskId + "" };
|
|
14731
|
+
}
|
|
14732
|
+
};
|
|
14733
|
+
TaskCreatorComponent.prototype.createEmailSubject = function () {
|
|
14734
|
+
var subject = "- ";
|
|
14735
|
+
if (this.createdRemark) {
|
|
14736
|
+
subject += this.dictionaryService.get("REMARK") + " " + this.createdRemark.remarkId;
|
|
14737
|
+
}
|
|
14738
|
+
else if (this.createdWork) {
|
|
14739
|
+
subject += this.dictionaryService.get("WORK") + " " + this.createdWork.workId;
|
|
14740
|
+
}
|
|
14741
|
+
else if (this.createdTask) {
|
|
14742
|
+
subject += (this.createdTask.workflowCategory ? this.createdTask.workflowCategory : this.dictionaryService.get("TASK")) + " " +
|
|
14743
|
+
(this.createdTask.workflowCategory ? this.createdTask.reference : this.createdTask.taskId);
|
|
14744
|
+
}
|
|
14745
|
+
return subject;
|
|
14746
|
+
};
|
|
14747
|
+
TaskCreatorComponent.prototype.createEmailAddressString = function (addresses) {
|
|
14748
|
+
if (addresses.length === 0) {
|
|
14749
|
+
return '';
|
|
14750
|
+
}
|
|
14751
|
+
else {
|
|
14752
|
+
return addresses.join(';');
|
|
14753
|
+
}
|
|
14754
|
+
};
|
|
14755
|
+
TaskCreatorComponent.prototype.createAttachmentsStringArray = function () {
|
|
14756
|
+
if (this.documents.length === 0) {
|
|
14757
|
+
return [];
|
|
14758
|
+
}
|
|
14759
|
+
else {
|
|
14760
|
+
var attachments_1 = [];
|
|
14761
|
+
this.documents.forEach(function (d) {
|
|
14762
|
+
attachments_1.push(d.documentBody);
|
|
14763
|
+
});
|
|
14764
|
+
return attachments_1;
|
|
14765
|
+
}
|
|
14766
|
+
};
|
|
14767
|
+
return TaskCreatorComponent;
|
|
14768
|
+
}());
|
|
14769
|
+
TaskCreatorComponent.decorators = [
|
|
14770
|
+
{ type: i0.Component, args: [{
|
|
14771
|
+
selector: "co-task-creator",
|
|
14772
|
+
template: "\n <co-form #createForm class=\"input-fields\">\n <co-list-of-icons [collection]=\"optionCollection\" (itemSelected)=\"itemSelected($event)\"></co-list-of-icons>\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 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-role-email-selector [(model)]=\"emailAddresses\" [key]=\"remarkAndWorkKey\" [workflowCategoryType]=\"workflowCategoryType\"></co-role-email-selector>\n <co-role-email-selector [(model)]=\"bccEmailAddresses\" [key]=\"remarkAndWorkKey\" [workflowCategoryType]=\"workflowCategoryType\"></co-role-email-selector>\n <co-input-text [readonly]=\"false\" [label]=\"'SENDER' | localize\" [model]=\"senderAddress\"></co-input-text>-->\n </co-dialog>\n\n "
|
|
14773
|
+
},] }
|
|
14774
|
+
];
|
|
14775
|
+
TaskCreatorComponent.ctorParameters = function () { return [
|
|
14776
|
+
{ type: IconCacheService },
|
|
14777
|
+
{ type: DictionaryService },
|
|
14778
|
+
{ type: SharedService }
|
|
14779
|
+
]; };
|
|
14780
|
+
TaskCreatorComponent.propDecorators = {
|
|
14781
|
+
createForm: [{ type: i0.ViewChild, args: [corecomponents_v12.FormComponent,] }],
|
|
14782
|
+
author: [{ type: i0.Input }],
|
|
14783
|
+
branchNo: [{ type: i0.Input }],
|
|
14784
|
+
table: [{ type: i0.Input }],
|
|
14785
|
+
remarkAndWorkKey: [{ type: i0.Input }],
|
|
14786
|
+
taskKey: [{ type: i0.Input }],
|
|
14787
|
+
workflowCategoryType: [{ type: i0.Input }],
|
|
14788
|
+
activityCreated: [{ type: i0.Output }],
|
|
14789
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-task-creator",] }]
|
|
14790
|
+
};
|
|
14791
|
+
|
|
14792
|
+
var RoleEmailSelectorComponent = /** @class */ (function () {
|
|
14793
|
+
function RoleEmailSelectorComponent(iconService, sharedService) {
|
|
14794
|
+
this.iconService = iconService;
|
|
14795
|
+
this.sharedService = sharedService;
|
|
14796
|
+
this.icons = exports["ɵbv"];
|
|
14797
|
+
this.modelChange = new i0.EventEmitter();
|
|
14798
|
+
this.emailAddressesAvailable = [];
|
|
14799
|
+
this._model = [];
|
|
14800
|
+
}
|
|
14801
|
+
Object.defineProperty(RoleEmailSelectorComponent.prototype, "model", {
|
|
14802
|
+
get: function () {
|
|
14803
|
+
return this._model;
|
|
14804
|
+
},
|
|
14805
|
+
set: function (value) {
|
|
14806
|
+
this._model = value;
|
|
14807
|
+
},
|
|
14808
|
+
enumerable: false,
|
|
14809
|
+
configurable: true
|
|
14810
|
+
});
|
|
14811
|
+
Object.defineProperty(RoleEmailSelectorComponent.prototype, "key", {
|
|
14812
|
+
get: function () {
|
|
14813
|
+
return this._key;
|
|
14814
|
+
},
|
|
14815
|
+
set: function (value) {
|
|
14816
|
+
this._key = value;
|
|
14817
|
+
this.fetchRoleEmailAddresses();
|
|
14818
|
+
},
|
|
14819
|
+
enumerable: false,
|
|
14820
|
+
configurable: true
|
|
14821
|
+
});
|
|
14822
|
+
;
|
|
14823
|
+
;
|
|
14824
|
+
Object.defineProperty(RoleEmailSelectorComponent.prototype, "workflowCategoryType", {
|
|
14825
|
+
get: function () {
|
|
14826
|
+
return this._workflowCategoryType;
|
|
14827
|
+
},
|
|
14828
|
+
set: function (value) {
|
|
14829
|
+
this._workflowCategoryType = value;
|
|
14830
|
+
this.fetchRoleEmailAddresses();
|
|
14831
|
+
},
|
|
14832
|
+
enumerable: false,
|
|
14833
|
+
configurable: true
|
|
14834
|
+
});
|
|
14835
|
+
;
|
|
14836
|
+
;
|
|
14837
|
+
RoleEmailSelectorComponent.prototype.showClass = function () {
|
|
14838
|
+
return true;
|
|
14839
|
+
};
|
|
14840
|
+
RoleEmailSelectorComponent.prototype.ngOnInit = function () {
|
|
14841
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14842
|
+
return __generator(this, function (_a) {
|
|
14843
|
+
this.fetchRoleEmailAddresses();
|
|
14844
|
+
return [2 /*return*/];
|
|
14845
|
+
});
|
|
14846
|
+
});
|
|
14847
|
+
};
|
|
14848
|
+
RoleEmailSelectorComponent.prototype.fetchRoleEmailAddresses = function () {
|
|
14849
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14850
|
+
var _a;
|
|
14851
|
+
return __generator(this, function (_b) {
|
|
14852
|
+
switch (_b.label) {
|
|
14853
|
+
case 0:
|
|
14854
|
+
if (!(this.workflowCategoryType !== undefined && this.key !== undefined)) return [3 /*break*/, 2];
|
|
14855
|
+
_a = this;
|
|
14856
|
+
return [4 /*yield*/, this.sharedService.getRoleEmailAddressesByWorkflowCategoryAndKey(this._workflowCategoryType, this._key)];
|
|
14857
|
+
case 1:
|
|
14858
|
+
_a.emailAddressesAvailable = _b.sent();
|
|
14859
|
+
_b.label = 2;
|
|
14860
|
+
case 2: return [2 /*return*/];
|
|
14861
|
+
}
|
|
14862
|
+
});
|
|
14863
|
+
});
|
|
14864
|
+
};
|
|
14865
|
+
RoleEmailSelectorComponent.prototype.roleChosen = function (role) {
|
|
14866
|
+
if (!role) {
|
|
14867
|
+
return;
|
|
14868
|
+
}
|
|
14869
|
+
var len = role.emailAddresses.length;
|
|
14870
|
+
for (var i = 0; i < len; i++) {
|
|
14871
|
+
if (this.model.indexOf(role.emailAddresses[i]) === -1 && stringUtils.StringUtils.IsValidEmail(role.emailAddresses[i])) {
|
|
14872
|
+
this.model.push(role.emailAddresses[i]);
|
|
14873
|
+
this.modelChange.emit(this.model);
|
|
14874
|
+
}
|
|
14875
|
+
}
|
|
14876
|
+
};
|
|
14877
|
+
RoleEmailSelectorComponent.prototype.addEmail = function (email) {
|
|
14878
|
+
if (this.model.indexOf(email) === -1 && stringUtils.StringUtils.IsValidEmail(email)) {
|
|
14879
|
+
this.model.push(email);
|
|
14880
|
+
this.modelChange.emit(this.model);
|
|
14881
|
+
}
|
|
14882
|
+
};
|
|
14883
|
+
RoleEmailSelectorComponent.prototype.removeOptionFromModel = function (email) {
|
|
14884
|
+
if (this.model.indexOf(email) > -1) {
|
|
14885
|
+
this.model.splice(email.indexOf(email), 1);
|
|
14886
|
+
}
|
|
14887
|
+
};
|
|
14888
|
+
return RoleEmailSelectorComponent;
|
|
14889
|
+
}());
|
|
14890
|
+
RoleEmailSelectorComponent.decorators = [
|
|
14891
|
+
{ type: i0.Component, args: [{
|
|
14892
|
+
selector: "co-role-email-selector",
|
|
14893
|
+
template: "\n <co-list-of-values [multiselect]=\"false\" [label]=\"'RECIPIENTS' | localize\"\n [collection]=\"emailAddressesAvailable\" [displayField]=\"'role'\"\n (modelChange)=\"roleChosen($event)\">\n </co-list-of-values>\n <co-input-text #inp [placeholder]=\"'EXTRA_EMAIL_ADDRESSES' | localize\"\n [rightIconData]=\"iconService.getIcon(icons.PaperPlaneTopSolid)\"\n (rightIconClick)=\"addEmail(inp.model)\"></co-input-text>\n\n <div class=\"chips-wrapper\">\n <div class=\"chips\" *ngFor=\"let email of model\">\n <span class=\"chips-description\" [textContent]=\"email\"></span>\n <co-icon class=\"remove-chip-icon\" [iconData]=\"iconService.getIcon(icons.CrossSkinny)\" (click)=\"removeOptionFromModel(email)\"></co-icon>\n </div>\n </div>\n\n "
|
|
14894
|
+
},] }
|
|
14895
|
+
];
|
|
14896
|
+
RoleEmailSelectorComponent.ctorParameters = function () { return [
|
|
14897
|
+
{ type: IconCacheService },
|
|
14898
|
+
{ type: SharedService }
|
|
14899
|
+
]; };
|
|
14900
|
+
RoleEmailSelectorComponent.propDecorators = {
|
|
14901
|
+
model: [{ type: i0.Input }],
|
|
14902
|
+
key: [{ type: i0.Input }],
|
|
14903
|
+
workflowCategoryType: [{ type: i0.Input }],
|
|
14904
|
+
modelChange: [{ type: i0.Output }],
|
|
14905
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-role-email-selector",] }]
|
|
14906
|
+
};
|
|
14907
|
+
|
|
14908
|
+
var RoleEmailSelectorModule = /** @class */ (function () {
|
|
14909
|
+
function RoleEmailSelectorModule() {
|
|
14910
|
+
}
|
|
14911
|
+
return RoleEmailSelectorModule;
|
|
14912
|
+
}());
|
|
14913
|
+
RoleEmailSelectorModule.decorators = [
|
|
14914
|
+
{ type: i0.NgModule, args: [{
|
|
14915
|
+
imports: [
|
|
14916
|
+
corecomponents_v12.ListOfValuesModule,
|
|
14917
|
+
corecomponents_v12.InputTextModule,
|
|
14918
|
+
LocalizationModule,
|
|
14919
|
+
corecomponents_v12.IconModule,
|
|
14920
|
+
common.CommonModule,
|
|
14921
|
+
],
|
|
14922
|
+
declarations: [
|
|
14923
|
+
RoleEmailSelectorComponent
|
|
14924
|
+
],
|
|
14925
|
+
exports: [
|
|
14926
|
+
RoleEmailSelectorComponent
|
|
14927
|
+
],
|
|
14928
|
+
providers: [
|
|
14929
|
+
businessObjectFactory.BusinessObjectFactory
|
|
14930
|
+
]
|
|
14931
|
+
},] }
|
|
14932
|
+
];
|
|
14933
|
+
|
|
14934
|
+
var TaskCreatorModule = /** @class */ (function () {
|
|
14935
|
+
function TaskCreatorModule() {
|
|
14936
|
+
}
|
|
14937
|
+
return TaskCreatorModule;
|
|
14938
|
+
}());
|
|
14939
|
+
TaskCreatorModule.decorators = [
|
|
14940
|
+
{ type: i0.NgModule, args: [{
|
|
14941
|
+
imports: [
|
|
14942
|
+
corecomponents_v12.ListOfValuesModule,
|
|
14943
|
+
corecomponents_v12.InputTextModule,
|
|
14944
|
+
corecomponents_v12.ButtonModule,
|
|
14945
|
+
common.CommonModule,
|
|
14946
|
+
corecomponents_v12.CoDialogModule,
|
|
14947
|
+
FilesUploadModule,
|
|
14948
|
+
LocalizationModule,
|
|
14949
|
+
corecomponents_v12.ListOfIconsModule,
|
|
14950
|
+
corecomponents_v12.FormModule,
|
|
14951
|
+
corecomponents_v12.IconModule,
|
|
14952
|
+
RoleEmailSelectorModule
|
|
14953
|
+
],
|
|
14954
|
+
declarations: [
|
|
14955
|
+
TaskCreatorComponent
|
|
14956
|
+
],
|
|
14957
|
+
exports: [
|
|
14958
|
+
TaskCreatorComponent
|
|
14959
|
+
],
|
|
14960
|
+
providers: [
|
|
14961
|
+
businessObjectFactory.BusinessObjectFactory
|
|
14962
|
+
]
|
|
14963
|
+
},] }
|
|
14964
|
+
];
|
|
14965
|
+
|
|
14186
14966
|
/*
|
|
14187
14967
|
* Public API Surface of sharedcomponents
|
|
14188
14968
|
*/
|
|
@@ -14209,6 +14989,8 @@
|
|
|
14209
14989
|
exports.KeyPadModule = KeyPadModule;
|
|
14210
14990
|
exports.LayoutSwitcherComponent = LayoutSwitcherComponent;
|
|
14211
14991
|
exports.LayoutSwitcherModule = LayoutSwitcherModule;
|
|
14992
|
+
exports.RoleEmailSelectorComponent = RoleEmailSelectorComponent;
|
|
14993
|
+
exports.RoleEmailSelectorModule = RoleEmailSelectorModule;
|
|
14212
14994
|
exports.SendMethodDialogComponent = SendMethodDialogComponent;
|
|
14213
14995
|
exports.SendMethodDialogModule = SendMethodDialogModule;
|
|
14214
14996
|
exports.SharedService = SharedService;
|
|
@@ -14220,38 +15002,41 @@
|
|
|
14220
15002
|
exports.StatusbarModule = StatusbarModule;
|
|
14221
15003
|
exports.StockComponent = StockComponent;
|
|
14222
15004
|
exports.StockModule = StockModule;
|
|
15005
|
+
exports.TaskCreatorComponent = TaskCreatorComponent;
|
|
15006
|
+
exports.TaskCreatorModule = TaskCreatorModule;
|
|
14223
15007
|
exports.Translation = Translation;
|
|
14224
15008
|
exports.WorkflowInfoTilesComponent = WorkflowInfoTilesComponent;
|
|
14225
15009
|
exports.WorkflowInfoTilesModule = WorkflowInfoTilesModule;
|
|
14226
15010
|
exports.sendMethodsWithIcon = sendMethodsWithIcon;
|
|
14227
15011
|
exports["ɵa"] = SignatureComponent;
|
|
14228
15012
|
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"] =
|
|
15013
|
+
exports["ɵba"] = StockStatusbarComponent;
|
|
15014
|
+
exports["ɵbb"] = LocalizationModule;
|
|
15015
|
+
exports["ɵbc"] = LocalizePipe;
|
|
15016
|
+
exports["ɵbd"] = StockInformationComponent;
|
|
15017
|
+
exports["ɵbe"] = StockInformationGridComponent;
|
|
15018
|
+
exports["ɵbf"] = StockTransferComponent;
|
|
15019
|
+
exports["ɵbg"] = StockChangeAmountComponent;
|
|
15020
|
+
exports["ɵbh"] = StockTabComponent;
|
|
15021
|
+
exports["ɵbi"] = OrderTabComponent;
|
|
15022
|
+
exports["ɵbj"] = StockTabsComponent;
|
|
15023
|
+
exports["ɵbk"] = StockHistoryTabsComponent;
|
|
15024
|
+
exports["ɵbl"] = OrderStockTabComponent;
|
|
15025
|
+
exports["ɵbm"] = StockLocationComponent;
|
|
15026
|
+
exports["ɵbn"] = StockHistoryComponent;
|
|
15027
|
+
exports["ɵbo"] = OrderSupplyStockHistoryComponent;
|
|
15028
|
+
exports["ɵbp"] = OrderCommissionStockHistoryComponent;
|
|
15029
|
+
exports["ɵbq"] = OrderStockHistoryComponent;
|
|
15030
|
+
exports["ɵbr"] = AllocationStockHistoryComponent;
|
|
15031
|
+
exports["ɵbs"] = StockPrognoseComponent;
|
|
15032
|
+
exports["ɵbt"] = StockLocationPopupComponent;
|
|
15033
|
+
exports["ɵbu"] = SendMethod;
|
|
15034
|
+
exports["ɵbw"] = CalendarAllYearsComponent;
|
|
15035
|
+
exports["ɵbx"] = CalendarAllMonthsComponent;
|
|
15036
|
+
exports["ɵby"] = CalendarHeaderComponent;
|
|
15037
|
+
exports["ɵbz"] = CalendarComponent;
|
|
14254
15038
|
exports["ɵc"] = StockService;
|
|
15039
|
+
exports["ɵca"] = CalendarViewComponent;
|
|
14255
15040
|
exports["ɵcb"] = AgendaHeaderComponent;
|
|
14256
15041
|
exports["ɵcc"] = AgendaViewComponent;
|
|
14257
15042
|
exports["ɵcd"] = AgendaMonthViewComponent;
|
|
@@ -14330,24 +15115,23 @@
|
|
|
14330
15115
|
exports["ɵf"] = DictionaryService;
|
|
14331
15116
|
exports["ɵg"] = LocalizeService;
|
|
14332
15117
|
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;
|
|
15118
|
+
exports["ɵj"] = SendMethodService;
|
|
15119
|
+
exports["ɵk"] = SendMethodEmailModule;
|
|
15120
|
+
exports["ɵl"] = LayoutSelectionModule;
|
|
15121
|
+
exports["ɵm"] = LayoutSelectionComponent;
|
|
15122
|
+
exports["ɵn"] = SignatureButtonModule;
|
|
15123
|
+
exports["ɵo"] = SignatureButtonComponent;
|
|
15124
|
+
exports["ɵp"] = SendMethodEmailComponent;
|
|
15125
|
+
exports["ɵq"] = SendMethodPrinterModule;
|
|
15126
|
+
exports["ɵr"] = PrinterSelectionModule;
|
|
15127
|
+
exports["ɵs"] = PrinterSelectionComponent;
|
|
15128
|
+
exports["ɵt"] = SendMethodPrinterComponent;
|
|
15129
|
+
exports["ɵu"] = SendMethodPdfModule;
|
|
15130
|
+
exports["ɵv"] = SendMethodPdfComponent;
|
|
15131
|
+
exports["ɵw"] = TabBarModule;
|
|
15132
|
+
exports["ɵx"] = TabBarComponent;
|
|
15133
|
+
exports["ɵy"] = StatusbarPopupComponent;
|
|
15134
|
+
exports["ɵz"] = StockStatusbarModule;
|
|
14351
15135
|
|
|
14352
15136
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
14353
15137
|
|