@colijnit/sharedcomponents 254.1.2 → 254.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +688 -152
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.d.ts +45 -45
  4. package/colijnit-sharedcomponents.metadata.json +1 -1
  5. package/esm2015/colijnit-sharedcomponents.js +46 -46
  6. package/esm2015/lib/components/activity-list/activity-list.component.js +7 -3
  7. package/esm2015/lib/components/open-activity-list/component-activity-list.component.js +7 -1
  8. package/esm2015/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.js +3 -3
  9. package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +28 -2
  10. package/esm2015/lib/components/stock/localization/translation.js +3 -1
  11. package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +7 -2
  12. package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +144 -85
  13. package/esm2015/lib/components/stock/stock.component.js +11 -42
  14. package/esm2015/lib/components/stock/stock.module.js +4 -3
  15. package/esm2015/lib/components/task-creator/task-creator.component.js +275 -0
  16. package/esm2015/lib/components/task-creator/task-creator.module.js +34 -0
  17. package/esm2015/lib/enum/icon.enum.js +2 -1
  18. package/esm2015/lib/model/icon-svg.js +2 -1
  19. package/esm2015/lib/service/shared-connector.service.js +72 -3
  20. package/esm2015/lib/service/shared.service.js +52 -4
  21. package/esm2015/public-api.js +3 -1
  22. package/fesm2015/colijnit-sharedcomponents.js +616 -139
  23. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  24. package/lib/components/activity-list/style/_layout.scss +17 -6
  25. package/lib/components/open-activity-list/component-activity-list.component.d.ts +1 -0
  26. package/lib/components/stock/components/stock-location/stock-location.component.d.ts +7 -1
  27. package/lib/components/stock/localization/translation.d.ts +2 -0
  28. package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +2 -0
  29. package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +19 -6
  30. package/lib/components/stock/stock.component.d.ts +3 -0
  31. package/lib/components/stock/style/_layout.scss +64 -31
  32. package/lib/components/task-creator/style/_layout.scss +18 -0
  33. package/lib/components/task-creator/style/_material-definition.scss +0 -0
  34. package/lib/components/task-creator/style/_theme.scss +4 -0
  35. package/lib/components/task-creator/style/material.scss +4 -0
  36. package/lib/components/task-creator/task-creator.component.d.ts +53 -0
  37. package/lib/components/task-creator/task-creator.module.d.ts +2 -0
  38. package/lib/enum/icon.enum.d.ts +1 -0
  39. package/lib/service/shared-connector.service.d.ts +10 -1
  40. package/lib/service/shared.service.d.ts +12 -1
  41. package/lib/style/_variables.scss +2 -0
  42. package/package.json +3 -3
  43. package/public-api.d.ts +2 -0
  44. package/3rdpartylicenses.txt +0 -1408
  45. package/favicon.ico +0 -0
  46. package/index.html +0 -12
  47. package/main.894c3ac9caba556953e2.js +0 -1
  48. package/polyfills.907fe9d1887c5de17993.js +0 -1
  49. package/runtime.8aac21847ed3d3829cca.js +0 -1
  50. package/styles.b92683eab3a233f3fb51.css +0 -1
@@ -1,6 +1,6 @@
1
1
  import { __awaiter, __decorate } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { EventEmitter, Component, ViewEncapsulation, ViewChild, ElementRef, Input, Output, HostBinding, NgModule, Injectable, ChangeDetectorRef, ViewChildren, HostListener, Pipe, Renderer2, Inject, LOCALE_ID, NgZone, Directive, ViewContainerRef, ComponentFactoryResolver, forwardRef, ContentChild } from '@angular/core';
3
+ import { EventEmitter, Component, ViewEncapsulation, ViewChild, ElementRef, Input, Output, HostBinding, NgModule, Injectable, ChangeDetectorRef, Inject, LOCALE_ID, ViewChildren, HostListener, Pipe, Renderer2, NgZone, Directive, ViewContainerRef, ComponentFactoryResolver, forwardRef, ContentChild } from '@angular/core';
4
4
  import { trigger, state, style, transition, animate } from '@angular/animations';
5
5
  import { PDFDocument } from 'pdf-lib';
6
6
  import * as PDFJS from 'pdfjs-dist/legacy/build/pdf';
@@ -32,20 +32,24 @@ import { CoDomainValue } from '@colijnit/mainapi/build/model/co-domain-value.bo'
32
32
  import { RoleEmailaddress } from '@colijnit/mainapi/build/model/role-email-address';
33
33
  import { Activity } from '@colijnit/mainapi/build/model/activity.bo';
34
34
  import { WorkflowProcessInfoPerStatus } from '@colijnit/mainapi/build/model/workflow-process-info-per-status';
35
+ import { RelationSmallObject } from '@colijnit/mainapi/build/model/relation-small-object.bo';
36
+ import { Report } from '@colijnit/mainapi/build/model/report.bo';
35
37
  import { PrintStockStickers } from '@colijnit/sharedapi/build/model/print-stock-stickers';
36
38
  import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
37
39
  import { ArticleStock as ArticleStock$1 } from '@colijnit/articleapi/build/model/article-stock';
38
40
  import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
39
41
  import * as i1 from '@angular/platform-browser';
40
42
  import { DomSanitizer } from '@angular/platform-browser';
41
- import { IconModule, InputCheckboxModule, CoDialogModule, ButtonModule, ListOfValuesModule, OverlayService, ClickoutsideModule, OverlayModule, InputRadioButtonModule, SimpleGridModule, ImageModule, InputTextModule, InputNumberPickerModule, CoDialogWizardModule, InputTextareaModule, PopupModule, ResponsiveTextModule, InputDatePickerModule, InputSearchModule, PromptService, FormComponent, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, CoOrientation, CoreComponentsTranslationModule, TemplateWrapperModule, FormModule, ScreenConfigurationModule, FormMasterService, IconCacheService as IconCacheService$1, CoreDialogService, InputDateRangePickerModule, CollapsibleModule, ColorSequenceService } from '@colijnit/corecomponents_v12';
42
43
  import { ArticleStockManagement } from '@colijnit/articleapi/build/model/article-stock-management';
44
+ import { IconModule, InputCheckboxModule, CoDialogModule, ButtonModule, ListOfValuesModule, OverlayService, ClickoutsideModule, OverlayModule, InputRadioButtonModule, SimpleGridModule, ImageModule, InputTextModule, InputNumberPickerModule, CoDialogWizardModule, InputTextareaModule, PopupModule, InputDatePickerModule, ResponsiveTextModule, InputSearchModule, PromptService, FormComponent, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, CoOrientation, CoreComponentsTranslationModule, TemplateWrapperModule, FormModule, ScreenConfigurationModule, FormMasterService, IconCacheService as IconCacheService$1, CoreDialogService, InputDateRangePickerModule, CollapsibleModule, ColorSequenceService, ListOfIconsModule } from '@colijnit/corecomponents_v12';
43
45
  import { ArticleTransaction as ArticleTransaction$1 } from '@colijnit/articleapi/build/model/article-transaction';
44
46
  import { PrintPriceStickers } from '@colijnit/sharedapi/build/model/print-price-stickers.bo';
47
+ import { SelectReportTemplatesRequest } from '@colijnit/mainapi/build/model/select-report-templates-request';
48
+ import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
49
+ import { EmailJob } from '@colijnit/mainapi/build/model/email-job';
45
50
  import { ReportingDocumentEmailSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request';
46
51
  import { ReportingDocumentPdfBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-pdf-base-request';
47
52
  import { ReportingDocumentPrintSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request';
48
- import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
49
53
  import { GetStockHistoryRequest } from '@colijnit/articleapi/build/model/get-stock-history-request';
50
54
  import { Chart, DoughnutController, ArcElement } from 'chart.js';
51
55
  import * as moment from 'moment';
@@ -76,6 +80,10 @@ import { DomainName } from '@colijnit/mainapi/build/enum/domain-name.enum';
76
80
  import { PriorityType } from '@colijnit/mainapi/build/enum/priority-type.enum';
77
81
  import { RelationRequest } from '@colijnit/relationapi/build/model/relation-request';
78
82
  import { Period } from '@colijnit/mainapi/build/enum/period.enum';
83
+ import { Remark } from '@colijnit/mainapi/build/model/remark.bo';
84
+ import { Work } from '@colijnit/mainapi/build/model/work.bo';
85
+ import { activityEmailRequestData } from '@colijnit/mainapi/build/model/activity-email-request-data';
86
+ import { ReportType } from '@colijnit/mainapi/build/enum/report-type.enum';
79
87
 
80
88
  class DocsignComponent {
81
89
  constructor() {
@@ -793,6 +801,29 @@ class SharedConnectorService {
793
801
  });
794
802
  });
795
803
  }
804
+ getRelationSmallObject(relationId) {
805
+ return __awaiter(this, void 0, void 0, function* () {
806
+ return new Promise((resolve, reject) => {
807
+ return this.relationConnector.getRelationSmallObject(relationId).then((result) => {
808
+ if (result && result.validationResult && result.validationResult.success) {
809
+ resolve(this._boFactory.makeWithRawBackendData(RelationSmallObject, result.resultObject));
810
+ }
811
+ else {
812
+ reject(result.validationMessagesAsString);
813
+ }
814
+ });
815
+ });
816
+ });
817
+ }
818
+ insertActivity(activity) {
819
+ return __awaiter(this, void 0, void 0, function* () {
820
+ return new Promise((resolve, reject) => {
821
+ return this.mainConnector.insertActivity(activity).then((result) => __awaiter(this, void 0, void 0, function* () {
822
+ resolve(result.validationResult);
823
+ }));
824
+ });
825
+ });
826
+ }
796
827
  updateActivity(activity) {
797
828
  return __awaiter(this, void 0, void 0, function* () {
798
829
  return new Promise((resolve, reject) => {
@@ -1216,10 +1247,10 @@ class SharedConnectorService {
1216
1247
  });
1217
1248
  });
1218
1249
  }
1219
- getRoleEmailAddressesByWorkflowCategoryAndKey(worlflowCategory, key) {
1250
+ getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key) {
1220
1251
  return __awaiter(this, void 0, void 0, function* () {
1221
1252
  return new Promise((resolve, reject) => {
1222
- return this.mainConnector.getRoleEmailAddressesByWorkflowCategoryAndKey(worlflowCategory, key).then((result) => {
1253
+ return this.mainConnector.getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key).then((result) => {
1223
1254
  if (result.validationResult && result.validationResult.success) {
1224
1255
  if (result.resultObject) {
1225
1256
  resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(RoleEmailaddress, result.resultObject));
@@ -1232,6 +1263,50 @@ class SharedConnectorService {
1232
1263
  });
1233
1264
  });
1234
1265
  }
1266
+ getEmailSenderByWorkflowCategoryAndKey(worlflowCategory, key) {
1267
+ return __awaiter(this, void 0, void 0, function* () {
1268
+ return new Promise((resolve, reject) => {
1269
+ return this.mainConnector.getEmailSenderByWorkflowCategoryAndKey(worlflowCategory, key).then((result) => {
1270
+ if (result.validationResult && result.validationResult.success) {
1271
+ resolve(result.resultObject);
1272
+ }
1273
+ else {
1274
+ reject(result.validationMessagesAsString);
1275
+ }
1276
+ });
1277
+ });
1278
+ });
1279
+ }
1280
+ getReportTemplates(reportTemplatesRequest) {
1281
+ return __awaiter(this, void 0, void 0, function* () {
1282
+ return new Promise((resolve, reject) => {
1283
+ return this.mainConnector.getReportTemplates(reportTemplatesRequest).then((result) => {
1284
+ if (result.validationResult && result.validationResult.success) {
1285
+ if (result.resultObjects) {
1286
+ resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(Report, result.resultObjects));
1287
+ }
1288
+ }
1289
+ else {
1290
+ reject(result.validationMessagesAsString);
1291
+ }
1292
+ });
1293
+ });
1294
+ });
1295
+ }
1296
+ emailReport(emailJob) {
1297
+ return __awaiter(this, void 0, void 0, function* () {
1298
+ return new Promise((resolve, reject) => {
1299
+ return this.mainConnector.emailReport(emailJob).then((result) => {
1300
+ if (result.validationResult && result.validationResult.success) {
1301
+ resolve(result.resultObject);
1302
+ }
1303
+ else {
1304
+ reject(result.validationMessagesAsString);
1305
+ }
1306
+ });
1307
+ });
1308
+ });
1309
+ }
1235
1310
  getWorkflowProcessInfoPerStatus(worlflowCategory) {
1236
1311
  return __awaiter(this, void 0, void 0, function* () {
1237
1312
  return new Promise((resolve, reject) => {
@@ -1477,6 +1552,7 @@ var Icon;
1477
1552
  Icon["MessageSmsSolid"] = "message_sms_solid";
1478
1553
  Icon["Notification"] = "notification";
1479
1554
  Icon["PaperclipRegular"] = "paperclip_regular";
1555
+ Icon["PaperPlaneTopSolid"] = "paper_plane_top_solid";
1480
1556
  Icon["Pdf"] = "pdf";
1481
1557
  Icon["PersonDiggingRegular"] = "person_digging_regular";
1482
1558
  Icon["PinRoundOpen"] = "pin_round_open";
@@ -1537,6 +1613,7 @@ const IconSvg = {
1537
1613
  "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>",
1538
1614
  "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>",
1539
1615
  "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>",
1616
+ "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>",
1540
1617
  "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>",
1541
1618
  "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>",
1542
1619
  "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>",
@@ -1613,10 +1690,12 @@ class StockComponent {
1613
1690
  this.okButtonClicked = new EventEmitter();
1614
1691
  this.cancelButtonClicked = new EventEmitter();
1615
1692
  this.handleClick = new EventEmitter();
1693
+ this.updateGridData = new EventEmitter();
1616
1694
  this.loaded = false;
1617
1695
  this.showStockInformationGrid = true;
1618
1696
  this.showStockTransfer = false;
1619
1697
  this.stockInformation = [];
1698
+ this.articleDetailsInformation = new ArticleStockManagement();
1620
1699
  this.stockHistory = [];
1621
1700
  this.allAvailableStock = 0;
1622
1701
  this.allTechnicalStock = 0;
@@ -1664,7 +1743,12 @@ class StockComponent {
1664
1743
  data.entryDate = new Date;
1665
1744
  this._stockService.updateArticleDetails(data).then(result => {
1666
1745
  this.handleClick.emit();
1746
+ this._stockService.getArticleDetails(this.articleDetailsInformation).then((details) => {
1747
+ this.updateGridData.emit(details);
1748
+ });
1667
1749
  });
1750
+ this.loaded = true;
1751
+ this.loadData();
1668
1752
  }
1669
1753
  backToStock(goodId) {
1670
1754
  this.loadData();
@@ -1753,48 +1837,9 @@ StockComponent.decorators = [
1753
1837
  (transferIconClicked)="handleStockTransferClick($event)"
1754
1838
  (sendMethodDialogClicked)="handleSendMethodClick($event)"
1755
1839
  [warehouses]="warehouses"
1756
- ></co-stock-tabs>
1757
- <div class="stock-transfer-wrapper">
1758
- <co-dialog *ngIf="showStockTransfer"
1759
- (closeClick)="showStockTransfer = false"
1760
- [showCloseIcon]="true"
1761
- [modal]="true"
1762
- [headerTemplate]="headerTemplate"
1763
- [footerTemplate]="footerTemplate">
1764
- <ng-template #headerTemplate>
1765
- <div class="co-dialog-header-title-wrapper">
1766
- <co-icon [iconData]="iconCacheService.getIcon(icons.Cubes)"></co-icon>
1767
- <div class="co-dialog-header-title" [textContent]="'TRANSFER_STOCK' | localize"></div>
1768
- </div>
1769
- </ng-template>
1770
- <div class="dialog-wrapper">
1771
- <co-stock-transfer (handleClick)="backToStock($event)"
1772
- class="stock-transfer-dialog"
1773
- [article]="stockTransferArticle"
1774
- [articleToTransfer]="stockTransferArticleDetails"
1775
- (handleStickerClicked)="handleStickerClicked.emit($event)"
1776
- [articleWarehouse]="articleWarehouse"
1777
- [allWarehouses]="allWarehouses">
1778
- </co-stock-transfer>
1779
- </div>
1780
- <ng-template #footerTemplate>
1781
- <div class="button-wrapper ok-cancel-buttons">
1782
- <co-button class="save-button"
1783
- (click)="handleOkClick(stockTransferArticleDetails)"
1784
- [iconData]="iconCacheService.getIcon(icons.CheckDuotone)">
1785
- </co-button>
1786
- <co-button class="cancel-button"
1787
- (click)="showStockTransfer = false"
1788
- [iconData]="iconCacheService.getIcon(icons.CrossSkinny)">
1789
- </co-button>
1790
- </div>
1791
- </ng-template>
1792
- </co-dialog>
1793
- </div>
1794
-
1795
- <co-send-method-dialog *ngIf="showSendMethodDialog">
1840
+ [showStockTransfer]="showStockTransfer"
1796
1841
 
1797
- </co-send-method-dialog>
1842
+ ></co-stock-tabs>
1798
1843
  </div>
1799
1844
  `,
1800
1845
  encapsulation: ViewEncapsulation.None
@@ -2316,15 +2361,24 @@ StockInformationGridComponent.propDecorators = {
2316
2361
  };
2317
2362
 
2318
2363
  class StockTransferComponent {
2319
- constructor(_stockService, iconCacheService) {
2364
+ constructor(_stockService, iconCacheService, _changeDetector) {
2320
2365
  this._stockService = _stockService;
2321
2366
  this.iconCacheService = iconCacheService;
2367
+ this._changeDetector = _changeDetector;
2368
+ this.selectedArticleDetailsData = new ArticleDetailsBo();
2369
+ this.articleDetailsInformation = new ArticleStockManagement();
2370
+ this.articleStockInfo = [];
2371
+ this.stockLocations = [];
2322
2372
  this.handleClick = new EventEmitter();
2323
2373
  this.handleStickerClicked = new EventEmitter();
2374
+ this.updateGridData = new EventEmitter();
2375
+ this.showStockTransferChange = new EventEmitter();
2324
2376
  this.showSendMethodDialog = false;
2377
+ this.transferFull = false;
2325
2378
  this.warehouses = [];
2326
2379
  this.stockState = [];
2327
2380
  this.locations = [];
2381
+ this.stockStatus = [];
2328
2382
  this.icons = Icon;
2329
2383
  }
2330
2384
  ngAfterViewInit() {
@@ -2332,21 +2386,31 @@ class StockTransferComponent {
2332
2386
  this.getStockState();
2333
2387
  }
2334
2388
  handleOkClick(data) {
2335
- data.selected = true;
2336
- data.entryDate = new Date;
2337
- this._stockService.updateArticleDetails(data).then(result => {
2338
- if (result) {
2339
- this.handleClick.emit(data.goodId);
2340
- }
2341
- });
2389
+ if (this.articleToTransfer.amountTransfer > this.articleToTransfer.amountInStockFree) {
2390
+ this.transferFull = true;
2391
+ }
2392
+ else {
2393
+ data.selected = true;
2394
+ data.entryDate = new Date;
2395
+ this._stockService.updateArticleDetails(data).then((result) => {
2396
+ this.handleClick.emit();
2397
+ this.showStockTransferChange.emit(false);
2398
+ this._stockService.getArticleDetails(this.articleDetailsInformation).then((details) => {
2399
+ this.articleStockInfo = details;
2400
+ this.updateGridData.emit(details);
2401
+ });
2402
+ }).catch((result) => {
2403
+ // Log failure message
2404
+ });
2405
+ }
2342
2406
  }
2343
- handleCancelClick() {
2344
- this.handleClick.emit();
2407
+ onCloseClick() {
2408
+ this.showStockTransferChange.emit(false);
2345
2409
  }
2346
2410
  handleSelectedWarehouse(event) {
2347
2411
  this.articleToTransfer.targetWarehouse = event.warehouseNo;
2348
2412
  this.selectedWarehouse = event;
2349
- this.getStockManagementLocations(this.selectedWarehouse.warehouseNo);
2413
+ this.getStockManagementLocations();
2350
2414
  }
2351
2415
  handleSelectedLocation(event) {
2352
2416
  this.articleToTransfer.targetLocation = event.locationNo;
@@ -2363,9 +2427,9 @@ class StockTransferComponent {
2363
2427
  this.warehouses = warehouses;
2364
2428
  });
2365
2429
  }
2366
- getStockManagementLocations(data) {
2367
- this._stockService.getStockManagementLocations(data).then((locations) => {
2368
- this.locations = locations;
2430
+ getStockManagementLocations() {
2431
+ this._stockService.getStockManagementLocations(this.selectedWarehouse.warehouseNo).then((locations) => {
2432
+ this.stockLocations = locations;
2369
2433
  });
2370
2434
  }
2371
2435
  getStockState() {
@@ -2379,100 +2443,139 @@ StockTransferComponent.decorators = [
2379
2443
  selector: "co-stock-transfer",
2380
2444
  template: `
2381
2445
  <div class="stock-transfer">
2382
- <div class="stock-transfer-columns">
2383
- <div *ngIf="articleToTransfer" class="stock-transfer-top-column">
2384
- <div class="transfer-items">
2385
- <div class="transfer-item">
2386
- <label class="item-label" [textContent]="'WAREHOUSE' | localize"></label>
2387
- <span class="item-value" [textContent]="articleToTransfer.warehouseDescription"></span>
2446
+ <co-dialog
2447
+ (closeClick)="onCloseClick()"
2448
+ [showCloseIcon]="true"
2449
+ [modal]="true"
2450
+ [headerTemplate]="headerTemplate"
2451
+ [footerTemplate]="footerTemplate">
2452
+ <ng-template #headerTemplate>
2453
+ <div class="co-dialog-header-title-wrapper">
2454
+ <co-icon [iconData]="iconCacheService.getIcon(icons.Cubes)"></co-icon>
2455
+ <div class="co-dialog-header-title" [textContent]="'TRANSFER_STOCK' | localize"></div>
2456
+ </div>
2457
+ </ng-template>
2458
+ <div class="dialog-wrapper">
2459
+ <div class="stock-transfer-columns">
2460
+ <div *ngIf="articleToTransfer" class="stock-transfer-top-column">
2461
+ <div class="transfer-items">
2462
+ <div class="transfer-item">
2463
+ <label class="item-label" [textContent]="'WAREHOUSE' | localize"></label>
2464
+ <span class="item-value" [textContent]="articleToTransfer.warehouseDescription"></span>
2465
+ </div>
2466
+ <div class="transfer-item">
2467
+ <label class="item-label" [textContent]="'LOCATION' | localize"></label>
2468
+ <span class="item-value" [textContent]="articleToTransfer.locationNo"></span>
2469
+ </div>
2470
+ <div class="transfer-item" *ngIf="articleToTransfer?.batchNo">
2471
+ <label class="item-label" [textContent]="'BATCH_NO' | localize"></label>
2472
+ <span class="item-value" [textContent]="articleToTransfer.batchNo"></span>
2473
+ </div>
2474
+ <div class="transfer-item" *ngIf="articleToTransfer?.serialNo">
2475
+ <label class="item-label" [textContent]="'SERIE_NO' | localize"></label>
2476
+ <span class="item-value" [textContent]="articleToTransfer.serialNo"></span>
2477
+ </div>
2478
+ </div>
2479
+ <div class="transfer-quantity">
2480
+ <co-input-number-picker
2481
+ [(model)]="articleToTransfer.amountTransfer"
2482
+ [min]="1"
2483
+ [label]="'QUANTITY' | localize">
2484
+ </co-input-number-picker>
2485
+ <span *ngIf="transferFull" [textContent]="this.articleToTransfer.amountInStockFree + (' AVAILABLE' | localize)"></span>
2486
+ </div>
2388
2487
  </div>
2389
- <div class="transfer-item">
2390
- <label class="item-label" [textContent]="'LOCATION' | localize"></label>
2391
- <span class="item-value" [textContent]="articleToTransfer.locationNo"></span>
2488
+ <div class="transfer-arrow-wrapper">
2489
+ <span class="half-circle"></span>
2490
+ <div class="icon-wrapper">
2491
+ <co-icon [iconData]="iconCacheService.getIcon(icons.ArrowDownRegular)"></co-icon>
2492
+ </div>
2392
2493
  </div>
2393
- <div class="transfer-item" *ngIf="articleToTransfer?.batchNo">
2394
- <label class="item-label" [textContent]="'BATCH_NO' | localize"></label>
2395
- <span class="item-value" [textContent]="articleToTransfer.batchNo"></span>
2494
+
2495
+
2496
+ <div class="stock-transfer-bottom-column">
2497
+ <div class="transfer-bottom-row">
2498
+ <co-list-of-values [collection]="warehouses"
2499
+ [displayField]="'warehouseDescription'"
2500
+ (modelChange)="handleSelectedWarehouse($event)"
2501
+ [label]="'WAREHOUSE' | localize"
2502
+ >
2503
+ </co-list-of-values>
2504
+ <co-list-of-values [collection]="stockLocations"
2505
+ [displayField]="'locationNo'"
2506
+ (modelChange)="handleSelectedLocation($event)"
2507
+ [label]="'LOCATION' | localize"
2508
+ >
2509
+ </co-list-of-values>
2510
+ </div>
2511
+ <div class="transfer-bottom-row">
2512
+ <co-list-of-values [collection]="stockState"
2513
+ [displayField]="'stateDescription'"
2514
+ [label]="'STOCK_STATE' | localize"
2515
+ (modelChange)="handleSelectedStockState($event)"
2516
+ >
2517
+ </co-list-of-values>
2518
+ </div>
2519
+
2396
2520
  </div>
2397
- <div class="transfer-item" *ngIf="articleToTransfer?.serialNo">
2398
- <label class="item-label" [textContent]="'SERIE_NO' | localize"></label>
2399
- <span class="item-value" [textContent]="articleToTransfer.serialNo"></span>
2521
+ <div class="transfer-sticker-buttons">
2522
+ <co-button
2523
+ [label]="'STICKER' | localize"
2524
+ (click)="handleStickerClick()"
2525
+ [iconData]="iconCacheService.getIcon(icons.BarcodeReadRegular)">
2526
+ </co-button>
2400
2527
  </div>
2401
2528
  </div>
2402
- <div class="transfer-quantity">
2403
- <co-input-number-picker
2404
- [(model)]="articleToTransfer.amountTransfer"
2405
- [min]="1"
2406
- [label]="'QUANTITY' | localize">
2407
- </co-input-number-picker>
2408
- </div>
2409
- </div>
2410
- <div class="transfer-arrow-wrapper">
2411
- <span class="half-circle"></span>
2412
- <div class="icon-wrapper">
2413
- <co-icon [iconData]="iconCacheService.getIcon(icons.ArrowDownRegular)"></co-icon>
2414
- </div>
2415
2529
  </div>
2416
-
2417
-
2418
- <div class="stock-transfer-bottom-column">
2419
- <div class="transfer-bottom-row">
2420
- <co-list-of-values [collection]="warehouses"
2421
- [displayField]="'warehouseDescription'"
2422
- (modelChange)="handleSelectedWarehouse($event)"
2423
- [label]="'WAREHOUSE' | localize"
2424
- >
2425
- </co-list-of-values>
2426
- <co-list-of-values [collection]="locations"
2427
- [displayField]="'description'"
2428
- (modelChange)="handleSelectedLocation($event)"
2429
- [label]="'LOCATION' | localize"
2430
- >
2431
- </co-list-of-values>
2432
- </div>
2433
- <div class="transfer-bottom-row">
2434
- <co-list-of-values [collection]="stockState"
2435
- [displayField]="'stateDescription'"
2436
- [label]="'STOCK_STATE' | localize"
2437
- (modelChange)="handleSelectedStockState($event)"
2438
- >
2439
- </co-list-of-values>
2530
+ <ng-template #footerTemplate>
2531
+ <div class="button-wrapper ok-cancel-buttons">
2532
+ <co-button class="save-button"
2533
+ (click)="handleOkClick(articleToTransfer)"
2534
+ [iconData]="iconCacheService.getIcon(icons.CheckDuotone)">
2535
+ </co-button>
2536
+ <co-button class="cancel-button"
2537
+ (click)="onCloseClick()"
2538
+ [iconData]="iconCacheService.getIcon(icons.CrossSkinny)">
2539
+ </co-button>
2440
2540
  </div>
2441
- <div class="transfer-bottom-row">
2442
- <co-input-text [placeholder]="'DESCRIPTION' | localize"
2443
- [(model)]="articleToTransfer.stockStateRemark">
2444
- </co-input-text>
2445
- </div>
2446
- </div>
2447
- <div class="transfer-sticker-buttons">
2448
- <co-button
2449
- [label]="'STICKER' | localize"
2450
- (click)="handleStickerClick()"
2451
- [iconData]="iconCacheService.getIcon(icons.BarcodeReadRegular)">
2452
- </co-button>
2453
- </div>
2454
- </div>
2541
+ </ng-template>
2542
+ </co-dialog>
2455
2543
  </div>
2544
+ <co-send-method-dialog *ngIf="showSendMethodDialog"
2545
+ (closeClick)="showSendMethodDialog = false">
2546
+
2547
+ </co-send-method-dialog>
2456
2548
  `,
2457
2549
  encapsulation: ViewEncapsulation.None
2458
2550
  },] }
2459
2551
  ];
2460
2552
  StockTransferComponent.ctorParameters = () => [
2461
2553
  { type: StockService },
2462
- { type: IconCacheService }
2554
+ { type: IconCacheService },
2555
+ { type: ChangeDetectorRef }
2463
2556
  ];
2464
2557
  StockTransferComponent.propDecorators = {
2465
2558
  stockSticker: [{ type: Input }],
2466
2559
  article: [{ type: Input }],
2467
2560
  articleToTransfer: [{ type: Input }],
2468
- articleWarehouse: [{ type: Input }],
2469
2561
  allWarehouses: [{ type: Input }],
2562
+ showStockTransfer: [{ type: Input }],
2563
+ selectedArticleDetailsData: [{ type: Input }],
2564
+ articleFlat: [{ type: Input }],
2565
+ articleDetailsInformation: [{ type: Input }],
2566
+ selectedWarehouse: [{ type: Input }],
2567
+ selectedLocationNo: [{ type: Input }],
2568
+ articleStockInfo: [{ type: Input }],
2569
+ stockLocations: [{ type: Input }],
2470
2570
  handleClick: [{ type: Output }],
2471
- handleStickerClicked: [{ type: Output }]
2571
+ handleStickerClicked: [{ type: Output }],
2572
+ updateGridData: [{ type: Output }],
2573
+ showStockTransferChange: [{ type: Output }]
2472
2574
  };
2473
2575
 
2474
2576
  class SharedService {
2475
- constructor(options, connector) {
2577
+ constructor(locale, options, connector) {
2578
+ this.locale = locale;
2476
2579
  this.options = options;
2477
2580
  this.connector = connector;
2478
2581
  }
@@ -2527,6 +2630,16 @@ class SharedService {
2527
2630
  return yield this.connector.getComponentActivitiesWithoutRelationFiltering(table, key);
2528
2631
  });
2529
2632
  }
2633
+ getRelationSmallObject(relationId) {
2634
+ return __awaiter(this, void 0, void 0, function* () {
2635
+ return yield this.connector.getRelationSmallObject(relationId);
2636
+ });
2637
+ }
2638
+ insertActivity(activity) {
2639
+ return __awaiter(this, void 0, void 0, function* () {
2640
+ return yield this.connector.insertActivity(activity);
2641
+ });
2642
+ }
2530
2643
  updateActivity(activity) {
2531
2644
  return __awaiter(this, void 0, void 0, function* () {
2532
2645
  return yield this.connector.updateActivity(activity);
@@ -2580,6 +2693,38 @@ class SharedService {
2580
2693
  return yield this.connector.getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key);
2581
2694
  });
2582
2695
  }
2696
+ getEmailSenderByWorkflowCategoryAndKey(workflowCategory, key) {
2697
+ return __awaiter(this, void 0, void 0, function* () {
2698
+ return yield this.connector.getEmailSenderByWorkflowCategoryAndKey(workflowCategory, key);
2699
+ });
2700
+ }
2701
+ getDefaultEmailReportTemplatesForBranch(branchNr, reportType) {
2702
+ return __awaiter(this, void 0, void 0, function* () {
2703
+ let reportTemplatesRequest = new SelectReportTemplatesRequest();
2704
+ reportTemplatesRequest.branchNr = branchNr;
2705
+ reportTemplatesRequest.documentCode = reportType;
2706
+ reportTemplatesRequest.sendMethod = SendMethodType.Email;
2707
+ return yield this.connector.getReportTemplates(reportTemplatesRequest);
2708
+ });
2709
+ }
2710
+ emailViaTemplate(template, emailTo, subject = "", message = "", attachments = [], parameters = {}) {
2711
+ return __awaiter(this, void 0, void 0, function* () {
2712
+ const subjectAddition = subject.trim();
2713
+ const emailJob = this._createEmailJob(template, emailTo, subjectAddition, message, attachments, parameters);
2714
+ return this.connector.emailReport(emailJob);
2715
+ });
2716
+ }
2717
+ _createEmailJob(report, emailTo, subject, message, attachments, parameters = {}) {
2718
+ const emailJob = new EmailJob();
2719
+ emailJob.emailTo = emailTo;
2720
+ emailJob.subject = subject;
2721
+ emailJob.message = message;
2722
+ emailJob.attachments = attachments;
2723
+ emailJob.reportId = report.reportId;
2724
+ emailJob.parameterValues = parameters;
2725
+ emailJob.locale = this.locale;
2726
+ return emailJob;
2727
+ }
2583
2728
  getWorkflowProcessInfoPerStatus(workflowCategory) {
2584
2729
  return __awaiter(this, void 0, void 0, function* () {
2585
2730
  return yield this.connector.getWorkflowProcessInfoPerStatus(workflowCategory);
@@ -2605,13 +2750,14 @@ class SharedService {
2605
2750
  });
2606
2751
  }
2607
2752
  }
2608
- SharedService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SharedService_Factory() { return new SharedService(i0.ɵɵinject(OptionsService), i0.ɵɵinject(SharedConnectorService)); }, token: SharedService, providedIn: "root" });
2753
+ SharedService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SharedService_Factory() { return new SharedService(i0.ɵɵinject(i0.LOCALE_ID), i0.ɵɵinject(OptionsService), i0.ɵɵinject(SharedConnectorService)); }, token: SharedService, providedIn: "root" });
2609
2754
  SharedService.decorators = [
2610
2755
  { type: Injectable, args: [{
2611
2756
  providedIn: "root"
2612
2757
  },] }
2613
2758
  ];
2614
2759
  SharedService.ctorParameters = () => [
2760
+ { type: LanguageCode, decorators: [{ type: Inject, args: [LOCALE_ID,] }] },
2615
2761
  { type: OptionsService },
2616
2762
  { type: SharedConnectorService }
2617
2763
  ];
@@ -3640,6 +3786,9 @@ class StockTabsComponent {
3640
3786
  },
3641
3787
  ];
3642
3788
  }
3789
+ onShowStockTransferChange(show) {
3790
+ this.showStockTransfer = show;
3791
+ }
3643
3792
  handleLocationClicked(data) {
3644
3793
  this.tabs[0].active = false;
3645
3794
  this.tabs[2].active = true;
@@ -3779,7 +3928,8 @@ StockTabsComponent.decorators = [
3779
3928
  [stockLocations]="stockLocations"
3780
3929
  (transferIconClicked)="transferIconClicked.emit($event)"
3781
3930
  (sendMethodDialogClicked)="sendMethodDialogClicked.emit($event)"
3782
-
3931
+ [showStockTransfer]="showStockTransfer"
3932
+ (showStockTransferChange)="onShowStockTransferChange($event)"
3783
3933
  ></co-stock-location>
3784
3934
 
3785
3935
  <co-order-tab *ngIf="tabs[3].active"
@@ -3826,6 +3976,7 @@ StockTabsComponent.propDecorators = {
3826
3976
  stockInformation: [{ type: Input }],
3827
3977
  article: [{ type: Input }],
3828
3978
  articleFlat: [{ type: Input }],
3979
+ showStockTransfer: [{ type: Input }],
3829
3980
  warehouses: [{ type: Input }],
3830
3981
  transferIconClicked: [{ type: Output }],
3831
3982
  sendMethodDialogClicked: [{ type: Output }]
@@ -3913,9 +4064,13 @@ class StockLocationComponent {
3913
4064
  this.icons = Icon;
3914
4065
  this.articleStockInfo = [];
3915
4066
  this.articleStockInformation = [];
4067
+ this.articleWarehouse = [];
4068
+ this.allWarehouses = [];
3916
4069
  this.dataWareHouseCode = [];
3917
4070
  this.transferIconClicked = new EventEmitter();
3918
4071
  this.sendMethodDialogClicked = new EventEmitter();
4072
+ this.showStockTransferChange = new EventEmitter();
4073
+ this.handleStickerClicked = new EventEmitter();
3919
4074
  this.showConfirmationDialog = false;
3920
4075
  this.newStockLine = false;
3921
4076
  this.showConfirmStockRow = false;
@@ -3940,6 +4095,10 @@ class StockLocationComponent {
3940
4095
  }
3941
4096
  ngOnDestroy() {
3942
4097
  }
4098
+ onShowStockTransferChange(show) {
4099
+ this.showStockTransfer = show;
4100
+ this.showStockTransferChange.emit(this.showStockTransfer);
4101
+ }
3943
4102
  onLocationDropdownClick() {
3944
4103
  this._stockService.getStockManagementLocations(this.selectedWarehouse.warehouseNo).then((locations) => {
3945
4104
  this.stockLocations = locations;
@@ -3957,7 +4116,8 @@ class StockLocationComponent {
3957
4116
  this.sendMethodDialogClicked.emit(data);
3958
4117
  }
3959
4118
  handleStockTransferClick(event) {
3960
- this.transferIconClicked.emit(event);
4119
+ this.articleDetails = event;
4120
+ this.showStockTransfer = true;
3961
4121
  }
3962
4122
  onOkClickSendLocations(row) {
3963
4123
  this.selectedArticleDetailsData = row;
@@ -4029,6 +4189,18 @@ StockLocationComponent.decorators = [
4029
4189
  selector: "co-stock-location",
4030
4190
  template: `
4031
4191
  <div class="stock-grid">
4192
+ <div class="stock-transfer-wrapper">
4193
+ <co-stock-transfer *ngIf="showStockTransfer"
4194
+ class="stock-transfer-dialog"
4195
+ [articleToTransfer]="articleDetails"
4196
+ (handleStickerClicked)="handleStickerClicked.emit($event)"
4197
+ [allWarehouses]="allWarehouses"
4198
+ [stockLocations]="stockLocations"
4199
+ [articleFlat]="articleFlat"
4200
+ [showStockTransfer]="showStockTransfer"
4201
+ (showStockTransferChange)="onShowStockTransferChange($event)">
4202
+ </co-stock-transfer>
4203
+ </div>
4032
4204
  <co-stock-location-popup
4033
4205
  [selectedWarehouse]="selectedWarehouse"
4034
4206
  [articleFlat]="articleFlat"
@@ -4139,11 +4311,16 @@ StockLocationComponent.ctorParameters = () => [
4139
4311
  StockLocationComponent.propDecorators = {
4140
4312
  articleStockInfo: [{ type: Input }],
4141
4313
  articleStockInformation: [{ type: Input }],
4314
+ articleWarehouse: [{ type: Input }],
4315
+ allWarehouses: [{ type: Input }],
4142
4316
  article: [{ type: Input }],
4317
+ showStockTransfer: [{ type: Input }],
4143
4318
  articleFlat: [{ type: Input }],
4144
4319
  dataWareHouseCode: [{ type: Input }],
4145
4320
  transferIconClicked: [{ type: Output }],
4146
4321
  sendMethodDialogClicked: [{ type: Output }],
4322
+ showStockTransferChange: [{ type: Output }],
4323
+ handleStickerClicked: [{ type: Output }],
4147
4324
  selectedWarehouse: [{ type: Input }],
4148
4325
  stockLocations: [{ type: Input }]
4149
4326
  };
@@ -5030,10 +5207,10 @@ StockLocationPopupComponent.decorators = [
5030
5207
  [readonly]="false"
5031
5208
  ></co-input-text>
5032
5209
  </div>
5033
- <co-input-text [model]="selectedArticleDetailsData?.entryDate | date"
5210
+ <co-input-date [model]="selectedArticleDetailsData?.entryDate | date"
5034
5211
  [placeholder]="'DATE' | localize"
5035
5212
  [readonly]="false"
5036
- ></co-input-text>
5213
+ ></co-input-date>
5037
5214
  </div>
5038
5215
  <div class="stock-dialog-row">
5039
5216
  <co-list-of-values [label]="'STATUS' | localize"
@@ -5112,7 +5289,8 @@ StockModule.decorators = [
5112
5289
  StockStatusbarModule,
5113
5290
  ListOfValuesModule,
5114
5291
  LocalizationModule,
5115
- PopupModule
5292
+ PopupModule,
5293
+ InputDatePickerModule
5116
5294
  ],
5117
5295
  declarations: [
5118
5296
  StockComponent,
@@ -5195,6 +5373,7 @@ class Translation {
5195
5373
  this.REFERENCE = 'REFERENCE';
5196
5374
  this.RELATION_ID = 'RELATION_ID';
5197
5375
  this.RELATION_NR = 'RELATION_NR';
5376
+ this.REMARK = 'REMARK';
5198
5377
  this.RESERVED = 'RESERVED';
5199
5378
  this.QUANTITY = 'QUANTITY';
5200
5379
  this.SEARCH = 'SEARCH';
@@ -5202,6 +5381,7 @@ class Translation {
5202
5381
  this.SERIE_NO = 'SERIE_NO';
5203
5382
  this.STANDARD_WAREHOUSE = 'STANDARD_WAREHOUSE';
5204
5383
  this.STANDARD_LOCATION = 'STANDARD_LOCATION';
5384
+ this.STATUS = 'STATUS';
5205
5385
  this.STICKER = 'STICKER';
5206
5386
  this.STOCK = 'STOCK';
5207
5387
  this.STOCK_DETAILS = 'STOCK_DETAILS';
@@ -11232,7 +11412,11 @@ class ActivityListComponent {
11232
11412
  }
11233
11413
  }
11234
11414
  getDateString(date) {
11235
- return date.getDay().toString() + ' ' + (this._dictionaryService.get(ALL_MONTHS[date.getMonth()])) + ' ' + date.getFullYear();
11415
+ const day = date.getDate();
11416
+ const month = this._dictionaryService.get(ALL_MONTHS[date.getMonth()]);
11417
+ const hours = date.getHours().toString().padStart(2, '0');
11418
+ const minutes = date.getMinutes().toString().padStart(2, '0');
11419
+ return `${day} ${month} ${hours}:${minutes}`;
11236
11420
  }
11237
11421
  getActivityIcon(activity) {
11238
11422
  switch (activity.activityType) {
@@ -11282,7 +11466,7 @@ ActivityListComponent.decorators = [
11282
11466
  <div class="activity-wrapper" [class.customer-reply-wrapper]="(getRelationKind(activity.author) === RelationKind.Customer)" *ngFor="let activity of activities" >
11283
11467
  <div class="activity-display">
11284
11468
  <div class="activity-display-title">
11285
- <span>{{activity.author ? ( activity.author.initials + ' ' + activity.author.familyName) : " "}}</span>
11469
+ <span>{{activity.author && (activity.author.initials || activity.author.familyName) ? (activity.author.initials || '') + ' ' + (activity.author.familyName || '') : ''}}</span>
11286
11470
  <span>{{getDateString(activity.lastActionDateTime)}}</span>
11287
11471
  <co-icon [iconData]="iconCacheService.getIcon(getActivityIcon(activity))"></co-icon>
11288
11472
  </div>
@@ -12490,6 +12674,7 @@ class ComponentActivityListComponent extends BaseActivityListComponent {
12490
12674
  this.icons = Icon;
12491
12675
  this.activityClass = Activity;
12492
12676
  this.activitySortType = ActivitySortType;
12677
+ this.showActivityHeader = true;
12493
12678
  this.hideTitle = false;
12494
12679
  this.noFreeTasks = false;
12495
12680
  this.componentActivitiesMethod = OperationWithAlwaysSuccessCallback;
@@ -12647,6 +12832,7 @@ ComponentActivityListComponent.decorators = [
12647
12832
  selector: "co-component-activity-list",
12648
12833
  template: `
12649
12834
  <co-activity-list-header
12835
+ *ngIf="showActivityHeader"
12650
12836
  [title]="'ACTIVITIES'"
12651
12837
  [table]="table"
12652
12838
  [key]="key"
@@ -12724,6 +12910,7 @@ ComponentActivityListComponent.propDecorators = {
12724
12910
  showClass: [{ type: HostBinding, args: ["class.co-component-activity-list",] }],
12725
12911
  table: [{ type: Input }],
12726
12912
  key: [{ type: Input }],
12913
+ showActivityHeader: [{ type: Input }],
12727
12914
  hideTitle: [{ type: Input }],
12728
12915
  noFreeTasks: [{ type: Input }],
12729
12916
  customTitle: [{ type: Input }],
@@ -12739,6 +12926,9 @@ ComponentActivityListComponent.propDecorators = {
12739
12926
  showUsergroupActivitiesChanged: [{ type: Output }],
12740
12927
  activitiesList: [{ type: Input }]
12741
12928
  };
12929
+ __decorate([
12930
+ InputBoolean()
12931
+ ], ComponentActivityListComponent.prototype, "showActivityHeader", void 0);
12742
12932
  __decorate([
12743
12933
  InputBoolean()
12744
12934
  ], ComponentActivityListComponent.prototype, "hideTitle", void 0);
@@ -14685,6 +14875,293 @@ WorkflowInfoTilesModule.decorators = [
14685
14875
  },] }
14686
14876
  ];
14687
14877
 
14878
+ class TaskCreatorComponent {
14879
+ constructor(iconService, sharedService) {
14880
+ this.iconService = iconService;
14881
+ this.sharedService = sharedService;
14882
+ this.icons = Icon;
14883
+ this.table = TableName$1.Transactions;
14884
+ this.activityCreated = new EventEmitter();
14885
+ this.showFilesDialog = false;
14886
+ this.documents = [];
14887
+ this.showEmailDialog = false;
14888
+ this.emailAddressesAvailable = [];
14889
+ this.emailRequest = null;
14890
+ this.optionCollection = [{ id: 'Opmerking' }, { id: 'Werkzaamheid' }, { id: 'Taak' }];
14891
+ this.remarkText = "";
14892
+ this.workDescription = "";
14893
+ this.taskName = "";
14894
+ this.taskDescription = "";
14895
+ }
14896
+ showClass() {
14897
+ return true;
14898
+ }
14899
+ ngOnInit() {
14900
+ return __awaiter(this, void 0, void 0, function* () {
14901
+ this.chosenActivityType = this.optionCollection[1];
14902
+ this.emailAddressesAvailable = yield this.sharedService.getRoleEmailAddressesByWorkflowCategoryAndKey('SERVICE_ORDER', this.RemarkAndWorkKey);
14903
+ this.senderAddress = yield this.sharedService.getEmailSenderByWorkflowCategoryAndKey('SERVICE_ORDER', this.RemarkAndWorkKey);
14904
+ });
14905
+ }
14906
+ createRemarkClicked() {
14907
+ return __awaiter(this, void 0, void 0, function* () {
14908
+ this.createForm.submit();
14909
+ if (this.createForm.isValid()) {
14910
+ let remark = new Remark();
14911
+ remark.author = this.author;
14912
+ remark.author.image = undefined;
14913
+ if (this.documents.length !== 0) {
14914
+ remark.documents = this.documents;
14915
+ }
14916
+ remark.remark = this.remarkText;
14917
+ remark.dateTime = new Date();
14918
+ remark.table = this.table;
14919
+ remark.key = this.RemarkAndWorkKey;
14920
+ remark.read = false;
14921
+ remark.current = true;
14922
+ let activity = new Activity();
14923
+ activity.activityType = ActivityType.Remark;
14924
+ activity.remark = remark;
14925
+ let remarkMade = yield this.sharedService.insertActivity(activity);
14926
+ if (remarkMade) {
14927
+ this.activityCreated.emit();
14928
+ //await this.sendEmailIfNeccesary();
14929
+ this.clearFields();
14930
+ }
14931
+ }
14932
+ });
14933
+ }
14934
+ createWorkClicked() {
14935
+ return __awaiter(this, void 0, void 0, function* () {
14936
+ this.createForm.submit();
14937
+ if (this.createForm.isValid()) {
14938
+ let work = new Work();
14939
+ work.executive = this.author;
14940
+ work.executive.image = undefined;
14941
+ work.documents = this.documents;
14942
+ work.workedTime = 0;
14943
+ work.workDescription = this.workDescription;
14944
+ work.dateTime = new Date();
14945
+ work.table = this.table;
14946
+ work.key = this.RemarkAndWorkKey;
14947
+ let activity = new Activity();
14948
+ activity.activityType = ActivityType.Work;
14949
+ activity.work = work;
14950
+ let workMade = yield this.sharedService.insertActivity(activity);
14951
+ if (workMade) {
14952
+ this.activityCreated.emit();
14953
+ //await this.sendEmailIfNeccesary();
14954
+ this.clearFields();
14955
+ }
14956
+ }
14957
+ });
14958
+ }
14959
+ createTaskClicked() {
14960
+ return __awaiter(this, void 0, void 0, function* () {
14961
+ this.createForm.submit();
14962
+ if (this.createForm.isValid()) {
14963
+ let task = new Task();
14964
+ task.executive = this.author;
14965
+ task.executive.image = undefined;
14966
+ task.documents = this.documents;
14967
+ task.name = this.taskName;
14968
+ task.description = this.taskDescription;
14969
+ task.creationDateTime = new Date();
14970
+ task.dateDefinate = false;
14971
+ task.needsPlanning = true;
14972
+ task.priority = 0;
14973
+ task.workflowCategory = this.workflowCategoryType;
14974
+ task.reference = this.TaskKey;
14975
+ let activity = new Activity();
14976
+ activity.activityType = ActivityType.Task;
14977
+ activity.task = task;
14978
+ let taskMade = yield this.sharedService.insertActivity(activity);
14979
+ if (taskMade) {
14980
+ this.activityCreated.emit();
14981
+ //await this.sendEmailIfNeccesary();
14982
+ this.clearFields();
14983
+ }
14984
+ }
14985
+ });
14986
+ }
14987
+ addedDocument(docs) {
14988
+ return __awaiter(this, void 0, void 0, function* () {
14989
+ this.documents = this.documents.concat(docs);
14990
+ });
14991
+ }
14992
+ deletedDocument(doc) {
14993
+ return __awaiter(this, void 0, void 0, function* () {
14994
+ ArrayUtils.RemoveElement(doc, this.documents);
14995
+ });
14996
+ }
14997
+ emailDialogClosed() {
14998
+ if (this.emailAddresses.length >= 0) {
14999
+ this.emailRequest = new activityEmailRequestData;
15000
+ this.emailRequest.table = this.table;
15001
+ this.emailRequest.key = this.RemarkAndWorkKey;
15002
+ this.emailRequest.senderAddress = this.senderAddress;
15003
+ this.emailRequest.sendAddresses = this.createAddressList(this.emailAddresses);
15004
+ this.emailRequest.ccAddresses = this.createAddressList(this.ccEmailAddresses);
15005
+ }
15006
+ else {
15007
+ this.emailRequest = null;
15008
+ }
15009
+ this.showEmailDialog = false;
15010
+ }
15011
+ createAddressList(addresses) {
15012
+ let addressStrings = [];
15013
+ if (addresses && addresses.length !== 0) {
15014
+ addresses.forEach(r => {
15015
+ r.emailAddresses.forEach(e => {
15016
+ addressStrings.push(e);
15017
+ });
15018
+ });
15019
+ }
15020
+ return addressStrings;
15021
+ }
15022
+ sendEmailIfNeccesary() {
15023
+ return __awaiter(this, void 0, void 0, function* () {
15024
+ if (this.emailRequest) {
15025
+ let templates = yield this.sharedService.getDefaultEmailReportTemplatesForBranch(this.branchNo, this.findReportType());
15026
+ if (templates.length != 0) {
15027
+ let template = this.findDefault(templates);
15028
+ if (template) {
15029
+ this.startEmailing(template);
15030
+ }
15031
+ }
15032
+ }
15033
+ });
15034
+ }
15035
+ findReportType() {
15036
+ if (this.chosenActivityType === this.optionCollection[0]) {
15037
+ return ReportType.RemarkMessage;
15038
+ }
15039
+ else if (this.chosenActivityType === this.optionCollection[1]) {
15040
+ return ReportType.WorkMessage;
15041
+ }
15042
+ else {
15043
+ return ReportType.TaskMessage;
15044
+ }
15045
+ }
15046
+ startEmailing(template) {
15047
+ return __awaiter(this, void 0, void 0, function* () {
15048
+ this.emailRequest.sendAddresses.forEach(a => {
15049
+ this.sharedService.emailViaTemplate(template, a, 'emailtiteeeel', "", [], {});
15050
+ });
15051
+ });
15052
+ }
15053
+ findDefault(reportList) {
15054
+ let defaultTemplate = null;
15055
+ reportList.forEach(r => {
15056
+ if (r.isDefault) {
15057
+ defaultTemplate = r;
15058
+ }
15059
+ });
15060
+ return defaultTemplate;
15061
+ }
15062
+ clearFields() {
15063
+ this.remarkText = "";
15064
+ this.workDescription = "";
15065
+ this.taskName = "";
15066
+ this.taskDescription = "";
15067
+ this.senderAddress = "";
15068
+ this.emailAddresses = [];
15069
+ this.ccEmailAddresses = [];
15070
+ this.emailRequest = null;
15071
+ }
15072
+ }
15073
+ TaskCreatorComponent.decorators = [
15074
+ { type: Component, args: [{
15075
+ selector: "co-task-creator",
15076
+ template: `
15077
+ <div class="input-fields">
15078
+ <co-form #createForm>
15079
+ <co-list-of-values [collection]="optionCollection" [(model)]="chosenActivityType"
15080
+ [displayField]="'id'"></co-list-of-values>
15081
+ <co-input-text *ngIf="chosenActivityType === optionCollection[0]" [required]="chosenActivityType === optionCollection[0]"
15082
+ [placeholder]="'REMARK' | localize" [(model)]="remarkText"
15083
+ [rightIconData]="iconService.getIcon(icons.PaperPlaneTopSolid)"
15084
+ (rightIconClick)="createRemarkClicked()"></co-input-text>
15085
+ <co-input-text *ngIf="chosenActivityType === optionCollection[1]" [required]="chosenActivityType === optionCollection[1]"
15086
+ [placeholder]="'DESCRIPTION' | localize" [(model)]="workDescription"
15087
+ [rightIconData]="iconService.getIcon(icons.PaperPlaneTopSolid)"
15088
+ (rightIconClick)="createWorkClicked()"></co-input-text>
15089
+ <div class="task-input-fields" *ngIf="chosenActivityType === optionCollection[2]">
15090
+ <co-input-text [(model)]="taskName" [placeholder]="'NAME' | localize" [required]="chosenActivityType === optionCollection[2]"
15091
+ [rightIconData]="iconService.getIcon(icons.PaperPlaneTopSolid)"
15092
+ (rightIconClick)="createTaskClicked()"></co-input-text>
15093
+ <co-input-text [(model)]="taskDescription" [placeholder]="'DESCRIPTION' | localize" [required]="chosenActivityType === optionCollection[2]"></co-input-text>
15094
+ </div>
15095
+ </co-form>
15096
+ </div>
15097
+ <div class="extras-buttons">
15098
+ <co-button [iconData]="iconService.getIcon(icons.Email)" (click)="showEmailDialog = true"></co-button>
15099
+ <co-button [iconData]="iconService.getIcon(icons.PaperclipRegular)" (click)="showFilesDialog = true"
15100
+ [label]="documents.length === 0 ? '' : documents.length.toString()" ></co-button>
15101
+ </div>
15102
+
15103
+ <co-dialog *ngIf="showFilesDialog" (closeClick)="showFilesDialog = false">
15104
+ <co-files-upload (documentsAdded)="addedDocument($event)" (documentDeleted)="deletedDocument"
15105
+ [documents]="documents" [useWithoutSettingProps]="true"></co-files-upload>
15106
+ </co-dialog>
15107
+ <co-dialog *ngIf="showEmailDialog" (closeClick)="emailDialogClosed()">
15108
+ <co-list-of-values [multiselect]="true" [label]="'RECIPIENTS' | localize"
15109
+ [collection]="emailAddressesAvailable" [displayField]="'role'"
15110
+ [(model)]="emailAddresses">
15111
+ </co-list-of-values>
15112
+ <co-list-of-values [multiselect]="true" [label]="'BCC' | localize"
15113
+ [collection]="emailAddressesAvailable" [displayField]="'role'"
15114
+ [(model)]="ccEmailAddresses">
15115
+ </co-list-of-values>
15116
+ <co-input-text [readonly]="false" [label]="'SENDER' | localize" [model]="senderAddress"></co-input-text>
15117
+ </co-dialog>
15118
+
15119
+ `
15120
+ },] }
15121
+ ];
15122
+ TaskCreatorComponent.ctorParameters = () => [
15123
+ { type: IconCacheService },
15124
+ { type: SharedService }
15125
+ ];
15126
+ TaskCreatorComponent.propDecorators = {
15127
+ createForm: [{ type: ViewChild, args: [FormComponent,] }],
15128
+ author: [{ type: Input }],
15129
+ branchNo: [{ type: Input }],
15130
+ table: [{ type: Input }],
15131
+ RemarkAndWorkKey: [{ type: Input }],
15132
+ TaskKey: [{ type: Input }],
15133
+ workflowCategoryType: [{ type: Input }],
15134
+ activityCreated: [{ type: Output }],
15135
+ showClass: [{ type: HostBinding, args: ["class.co-task-creator",] }]
15136
+ };
15137
+
15138
+ class TaskCreatorModule {
15139
+ }
15140
+ TaskCreatorModule.decorators = [
15141
+ { type: NgModule, args: [{
15142
+ imports: [
15143
+ ListOfValuesModule,
15144
+ InputTextModule,
15145
+ ButtonModule,
15146
+ CommonModule,
15147
+ CoDialogModule,
15148
+ FilesUploadModule,
15149
+ LocalizationModule,
15150
+ ListOfIconsModule,
15151
+ FormModule
15152
+ ],
15153
+ declarations: [
15154
+ TaskCreatorComponent
15155
+ ],
15156
+ exports: [
15157
+ TaskCreatorComponent
15158
+ ],
15159
+ providers: [
15160
+ BusinessObjectFactory
15161
+ ]
15162
+ },] }
15163
+ ];
15164
+
14688
15165
  /*
14689
15166
  * Public API Surface of sharedcomponents
14690
15167
  */
@@ -14693,5 +15170,5 @@ WorkflowInfoTilesModule.decorators = [
14693
15170
  * Generated bundle index. Do not edit.
14694
15171
  */
14695
15172
 
14696
- export { ActivityListComponent, ActivityListModule, AgendaEvent, AgendaEventPerDay, CalendarView, CoLinearGaugeComponent, CoLinearGaugeModule, ComponentActivityListComponent, ComponentActivityListModule, DatePlanningComponent, DatePlanningModule, DocsignComponent, DocsignModule, FilesUploadComponent, FilesUploadModule, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, SendMethodDialogComponent, SendMethodDialogModule, SharedService, SimpleTagsComponent, SimpleTagsFormComponent, SimpleTagsFormModule, SimpleTagsModule, StatusbarComponent, StatusbarModule, StockComponent, StockModule, Translation, WorkflowInfoTilesComponent, WorkflowInfoTilesModule, sendMethodsWithIcon, SignatureComponent as ɵa, SignaturesComponent as ɵb, LocalizationModule as ɵba, LocalizePipe as ɵbb, StockInformationComponent as ɵbc, StockInformationGridComponent as ɵbd, StockTransferComponent as ɵbe, StockChangeAmountComponent as ɵbf, StockTabComponent as ɵbg, OrderTabComponent as ɵbh, StockTabsComponent as ɵbi, StockHistoryTabsComponent as ɵbj, OrderStockTabComponent as ɵbk, StockLocationComponent as ɵbl, StockHistoryComponent as ɵbm, OrderSupplyStockHistoryComponent as ɵbn, OrderCommissionStockHistoryComponent as ɵbo, OrderStockHistoryComponent as ɵbp, AllocationStockHistoryComponent as ɵbq, StockPrognoseComponent as ɵbr, StockLocationPopupComponent as ɵbs, SendMethod as ɵbt, Icon as ɵbu, CalendarAllYearsComponent as ɵbv, CalendarAllMonthsComponent as ɵbw, CalendarHeaderComponent as ɵbx, CalendarComponent as ɵby, CalendarViewComponent as ɵbz, StockService as ɵc, LanguageCode as ɵca, AgendaHeaderComponent as ɵcb, AgendaViewComponent as ɵcc, AgendaMonthViewComponent as ɵcd, AgendaBaseViewComponent as ɵce, AgendaDayViewComponent as ɵcf, AgendaWeekViewComponent as ɵcg, AgendaWeekSelectViewComponent as ɵch, AgendaHourViewComponent as ɵci, AgendaHourCellComponent as ɵcj, AgendaHourViewLabelsComponent as ɵck, AgendaHalfHourCellComponent as ɵcl, AgendaEventsComponent as ɵcm, AgendaEventComponent as ɵcn, ViewSelectComponent as ɵco, AgendaSelectEventComponent as ɵcp, MASTER_PIPES as ɵcq, ArrayNumberPipe as ɵcr, UCfirstPipe as ɵcs, FileTypeImagePipe as ɵct, BaseFileUploadComponent as ɵcu, InputBoolean as ɵcv, ImageDisplayModule as ɵcw, ImageDisplayComponent as ɵcx, FileUploadModule as ɵcy, TileRenderModule as ɵcz, SharedConnectorService as ɵd, TileRenderComponent as ɵda, FileUploadComponent as ɵdb, FileUploadPopupModule as ɵdc, MultiplePropertyTogglerModule as ɵdd, MultiplePropertyTogglerComponent as ɵde, FileUploadPopupComponent as ɵdf, AppFileDropzoneModule as ɵdg, AppFileDropzoneComponent as ɵdh, DragDropContainerComponent as ɵdi, DragDropService as ɵdj, BaseActivityListComponent as ɵdk, PersonalActivityOverviewComponent as ɵdl, BaseActivityOverviewComponent as ɵdm, TaskModifierComponent as ɵdn, ModifyTaskFormComponent as ɵdo, PersonalActivityOverviewModule as ɵdp, ComponentActivityOverviewModule as ɵdq, TaskModifyerModule as ɵdr, ModifyTaskFormModule as ɵds, TaskDetailsModule as ɵdt, TaskDetailsComponent as ɵdu, BaseActivitySummaryComponent as ɵdv, ExecutiveSummaryBlockModule as ɵdw, ActivitySummaryBlockModule as ɵdx, ActivitySummaryBlockComponent as ɵdy, ExecutiveSummaryBlockComponent as ɵdz, OptionsService as ɵe, StatusSummaryBlockModule as ɵea, StatusSummaryBlockComponent as ɵeb, CreationSummaryBlockModule as ɵec, CreationSummaryBlockComponent as ɵed, NotificationSummaryBlockModule as ɵee, NotificationSummaryBlockComponent as ɵef, ComponentActivityOverviewComponent as ɵeg, ActivityListHeaderModule as ɵeh, WorkflowNotificationToggleModule as ɵei, DirectivesModule as ɵej, AbsoluteOverlayTemplateDirective as ɵek, AppAbsoluteOverlayOutletService as ɵel, AlignWithDirective as ɵem, ClickOutsideDirective as ɵen, WorkflowNotificationToggleComponent as ɵeo, WorkflowNotificationTogglePopupComponent as ɵep, PeriodFilterModule as ɵeq, PeriodFilterComponent as ɵer, PeriodFilterPopupComponent as ɵes, ActivityListHeaderComponent as ɵet, WorkflowInfoTileModule as ɵeu, WorkflowInfoTileComponent as ɵev, DictionaryService as ɵf, LocalizeService as ɵg, IconCacheService as ɵh, SendMethodService as ɵi, SendMethodEmailModule as ɵj, LayoutSelectionModule as ɵk, LayoutSelectionComponent as ɵl, SignatureButtonModule as ɵm, SignatureButtonComponent as ɵn, SendMethodEmailComponent as ɵo, SendMethodPrinterModule as ɵp, PrinterSelectionModule as ɵq, PrinterSelectionComponent as ɵr, SendMethodPrinterComponent as ɵs, SendMethodPdfModule as ɵt, SendMethodPdfComponent as ɵu, TabBarModule as ɵv, TabBarComponent as ɵw, StatusbarPopupComponent as ɵx, StockStatusbarModule as ɵy, StockStatusbarComponent as ɵz };
15173
+ export { ActivityListComponent, ActivityListModule, AgendaEvent, AgendaEventPerDay, CalendarView, CoLinearGaugeComponent, CoLinearGaugeModule, ComponentActivityListComponent, ComponentActivityListModule, DatePlanningComponent, DatePlanningModule, DocsignComponent, DocsignModule, FilesUploadComponent, FilesUploadModule, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, SendMethodDialogComponent, SendMethodDialogModule, SharedService, SimpleTagsComponent, SimpleTagsFormComponent, SimpleTagsFormModule, SimpleTagsModule, StatusbarComponent, StatusbarModule, StockComponent, StockModule, TaskCreatorComponent, TaskCreatorModule, Translation, WorkflowInfoTilesComponent, WorkflowInfoTilesModule, sendMethodsWithIcon, SignatureComponent as ɵa, SignaturesComponent as ɵb, StockStatusbarComponent as ɵba, LocalizationModule as ɵbb, LocalizePipe as ɵbc, StockInformationComponent as ɵbd, StockInformationGridComponent as ɵbe, StockTransferComponent as ɵbf, StockChangeAmountComponent as ɵbg, StockTabComponent as ɵbh, OrderTabComponent as ɵbi, StockTabsComponent as ɵbj, StockHistoryTabsComponent as ɵbk, OrderStockTabComponent as ɵbl, StockLocationComponent as ɵbm, StockHistoryComponent as ɵbn, OrderSupplyStockHistoryComponent as ɵbo, OrderCommissionStockHistoryComponent as ɵbp, OrderStockHistoryComponent as ɵbq, AllocationStockHistoryComponent as ɵbr, StockPrognoseComponent as ɵbs, StockLocationPopupComponent as ɵbt, SendMethod as ɵbu, Icon as ɵbv, CalendarAllYearsComponent as ɵbw, CalendarAllMonthsComponent as ɵbx, CalendarHeaderComponent as ɵby, CalendarComponent as ɵbz, StockService as ɵc, CalendarViewComponent as ɵca, AgendaHeaderComponent as ɵcb, AgendaViewComponent as ɵcc, AgendaMonthViewComponent as ɵcd, AgendaBaseViewComponent as ɵce, AgendaDayViewComponent as ɵcf, AgendaWeekViewComponent as ɵcg, AgendaWeekSelectViewComponent as ɵch, AgendaHourViewComponent as ɵci, AgendaHourCellComponent as ɵcj, AgendaHourViewLabelsComponent as ɵck, AgendaHalfHourCellComponent as ɵcl, AgendaEventsComponent as ɵcm, AgendaEventComponent as ɵcn, ViewSelectComponent as ɵco, AgendaSelectEventComponent as ɵcp, MASTER_PIPES as ɵcq, ArrayNumberPipe as ɵcr, UCfirstPipe as ɵcs, FileTypeImagePipe as ɵct, BaseFileUploadComponent as ɵcu, InputBoolean as ɵcv, ImageDisplayModule as ɵcw, ImageDisplayComponent as ɵcx, FileUploadModule as ɵcy, TileRenderModule as ɵcz, SharedConnectorService as ɵd, TileRenderComponent as ɵda, FileUploadComponent as ɵdb, FileUploadPopupModule as ɵdc, MultiplePropertyTogglerModule as ɵdd, MultiplePropertyTogglerComponent as ɵde, FileUploadPopupComponent as ɵdf, AppFileDropzoneModule as ɵdg, AppFileDropzoneComponent as ɵdh, DragDropContainerComponent as ɵdi, DragDropService as ɵdj, BaseActivityListComponent as ɵdk, PersonalActivityOverviewComponent as ɵdl, BaseActivityOverviewComponent as ɵdm, TaskModifierComponent as ɵdn, ModifyTaskFormComponent as ɵdo, PersonalActivityOverviewModule as ɵdp, ComponentActivityOverviewModule as ɵdq, TaskModifyerModule as ɵdr, ModifyTaskFormModule as ɵds, TaskDetailsModule as ɵdt, TaskDetailsComponent as ɵdu, BaseActivitySummaryComponent as ɵdv, ExecutiveSummaryBlockModule as ɵdw, ActivitySummaryBlockModule as ɵdx, ActivitySummaryBlockComponent as ɵdy, ExecutiveSummaryBlockComponent as ɵdz, OptionsService as ɵe, StatusSummaryBlockModule as ɵea, StatusSummaryBlockComponent as ɵeb, CreationSummaryBlockModule as ɵec, CreationSummaryBlockComponent as ɵed, NotificationSummaryBlockModule as ɵee, NotificationSummaryBlockComponent as ɵef, ComponentActivityOverviewComponent as ɵeg, ActivityListHeaderModule as ɵeh, WorkflowNotificationToggleModule as ɵei, DirectivesModule as ɵej, AbsoluteOverlayTemplateDirective as ɵek, AppAbsoluteOverlayOutletService as ɵel, AlignWithDirective as ɵem, ClickOutsideDirective as ɵen, WorkflowNotificationToggleComponent as ɵeo, WorkflowNotificationTogglePopupComponent as ɵep, PeriodFilterModule as ɵeq, PeriodFilterComponent as ɵer, PeriodFilterPopupComponent as ɵes, ActivityListHeaderComponent as ɵet, WorkflowInfoTileModule as ɵeu, WorkflowInfoTileComponent as ɵev, DictionaryService as ɵf, LocalizeService as ɵg, IconCacheService as ɵh, LanguageCode as ɵi, SendMethodService as ɵj, SendMethodEmailModule as ɵk, LayoutSelectionModule as ɵl, LayoutSelectionComponent as ɵm, SignatureButtonModule as ɵn, SignatureButtonComponent as ɵo, SendMethodEmailComponent as ɵp, SendMethodPrinterModule as ɵq, PrinterSelectionModule as ɵr, PrinterSelectionComponent as ɵs, SendMethodPrinterComponent as ɵt, SendMethodPdfModule as ɵu, SendMethodPdfComponent as ɵv, TabBarModule as ɵw, TabBarComponent as ɵx, StatusbarPopupComponent as ɵy, StockStatusbarModule as ɵz };
14697
15174
  //# sourceMappingURL=colijnit-sharedcomponents.js.map