@colijnit/sharedcomponents 255.1.5 → 255.1.7

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 (24) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +84 -59
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.metadata.json +1 -1
  4. package/esm2015/lib/components/file-upload-popup/file-upload-popup.component.js +153 -146
  5. package/esm2015/lib/components/file-upload-popup/file-upload-popup.module.js +4 -3
  6. package/esm2015/lib/components/modify-task-form/modify-task-form.component.js +2 -1
  7. package/esm2015/lib/components/role-email-selector/role-email-selector.component.js +3 -3
  8. package/esm2015/lib/components/stock/localization/translation.js +3 -1
  9. package/esm2015/lib/components/task-creator/task-creator.component.js +74 -40
  10. package/esm2015/lib/enum/icon.enum.js +2 -1
  11. package/esm2015/lib/model/icon-svg.js +2 -1
  12. package/esm2015/lib/service/shared-connector.service.js +8 -11
  13. package/fesm2015/colijnit-sharedcomponents.js +239 -197
  14. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  15. package/lib/components/activity-list/style/_layout.scss +4 -0
  16. package/lib/components/activity-overview-component/style/_layout.scss +35 -5
  17. package/lib/components/file-upload-popup/file-upload-popup.component.d.ts +5 -1
  18. package/lib/components/file-upload-popup/style/_layout.scss +53 -8
  19. package/lib/components/open-activity-list/style/_layout.scss +1 -2
  20. package/lib/components/stock/localization/translation.d.ts +2 -0
  21. package/lib/components/task-creator/style/_layout.scss +11 -8
  22. package/lib/components/task-creator/task-creator.component.d.ts +9 -2
  23. package/lib/enum/icon.enum.d.ts +1 -0
  24. package/package.json +1 -1
@@ -1340,16 +1340,13 @@ class SharedConnectorService {
1340
1340
  }
1341
1341
  emailReport(emailJob) {
1342
1342
  return __awaiter(this, void 0, void 0, function* () {
1343
- return new Promise((resolve, reject) => {
1344
- return this.mainConnector.emailReport(emailJob).then((result) => {
1345
- if (result.validationResult && result.validationResult.success) {
1346
- resolve(result.resultObject);
1347
- }
1348
- else {
1349
- reject(result.validationMessagesAsString);
1350
- }
1351
- });
1352
- });
1343
+ const result = yield this.mainConnector.emailReport(emailJob);
1344
+ if (result && result.validationResult && result.validationResult.success) {
1345
+ return Promise.resolve(true);
1346
+ }
1347
+ else {
1348
+ return Promise.resolve(false);
1349
+ }
1353
1350
  });
1354
1351
  }
1355
1352
  insertEmailHistoryForRemark(remarkId, history) {
@@ -1636,6 +1633,7 @@ var Icon;
1636
1633
  Icon["FileSignatureRegular"] = "file_signature_regular";
1637
1634
  Icon["HouseBlankRegular"] = "house_blank_regular";
1638
1635
  Icon["IoneWorkflow"] = "ione_workflow";
1636
+ Icon["ListUlRegular"] = "list_ul_regular";
1639
1637
  Icon["Lock"] = "lock";
1640
1638
  Icon["MessageSmsRegular"] = "message_sms_regular";
1641
1639
  Icon["MessageSmsSolid"] = "message_sms_solid";
@@ -1699,6 +1697,7 @@ const IconSvg = {
1699
1697
  "file_signature_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M64 464H320c8.8 0 16-7.2 16-16v-6.7l39.8-9.9c2.8-.7 5.6-1.6 8.2-2.7V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3v49.1l-48 48V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16zm96-115l-9.8 32.8c-6.1 20.3-24.8 34.2-46 34.2H96c-8.8 0-16-7.2-16-16s7.2-16 16-16h8.2c7.1 0 13.3-4.6 15.3-11.4l14.9-49.5c3.4-11.3 13.8-19.1 25.6-19.1s22.2 7.7 25.6 19.1l11.6 38.6c7.4-6.2 16.8-9.7 26.8-9.7c15.9 0 30.4 9 37.5 23.2l4.4 8.8h25.6l12-48.2c1.4-5.6 4.3-10.8 8.4-14.9L441.1 191.8l71 71L382.9 391.9c-4.1 4.1-9.2 7-14.9 8.4l-60.1 15c-1.1 .3-2.1 .4-3.2 .5c-.8 .1-1.5 .2-2.3 .2H256c-6.1 0-11.6-3.4-14.3-8.8l-8.8-17.7c-1.7-3.4-5.1-5.5-8.8-5.5s-7.2 2.1-8.8 5.5l-8.8 17.7c-2.9 5.9-9.2 9.4-15.7 8.8s-12.1-5.1-13.9-11.3L160 349zM549.8 139.7l14.4 14.4c15.6 15.6 15.6 40.9 0 56.6l-29.4 29.4-71-71 29.4-29.4c15.6-15.6 40.9-15.6 56.6 0z\"/></svg>",
1700
1698
  "house_blank_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M303.5 5.7c-9-7.6-22.1-7.6-31.1 0l-264 224c-10.1 8.6-11.3 23.7-2.8 33.8s23.7 11.3 33.8 2.8L64 245.5V432c0 44.2 35.8 80 80 80H432c44.2 0 80-35.8 80-80V245.5l24.5 20.8c10.1 8.6 25.3 7.3 33.8-2.8s7.3-25.3-2.8-33.8l-264-224zM464 204.8V432c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V204.8L288 55.5 464 204.8z\"/></svg>",
1701
1699
  "ione_workflow": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 50 50\" enable-background=\"new 0 0 50 50\" ><g display=\"none\"></g><g ><g ><g><g><rect x=\"34.3\" y=\"20\" fill=\"#484F60\" width=\"1.5\" height=\"3.7\"/><g><polygon fill=\"#484F60\" points=\"32,22.8 35,28 38,22.8 \"/></g></g><path fill=\"#484F60\" d=\"M18.5,21.5v7h-7v-7H18.5 M20,20H10v10h10V20L20,20z\"/><path fill=\"#484F60\" d=\"M38.5,11.5v7h-7v-7H38.5 M40,10H30v10h10V10L40,10z\"/><path fill=\"#484F60\" d=\"M38.5,31.5v7h-7v-7H38.5 M40,30H30v10h10V30L40,30z\"/><g><polygon fill=\"#484F60\" points=\"15.8,20 14.3,20 14.3,14.3 23.7,14.3 23.7,15.8 15.8,15.8 \"/><g><polygon fill=\"#484F60\" points=\"22.8,18 28,15 22.8,12 \"/></g></g><g><polygon fill=\"#484F60\" points=\"23.7,35.8 14.3,35.8 14.3,30 15.8,30 15.8,34.3 23.7,34.3 \"/><g><polygon fill=\"#484F60\" points=\"22.8,38 28,35 22.8,32 \"/></g></g></g></g><g display=\"none\"></g></g><g display=\"none\"></g><g display=\"none\"></g><g display=\"none\"></g><g display=\"none\"></g><g display=\"none\"><g display=\"inline\"><rect y=\"50\" opacity=\"0.25\" fill=\"#FFFFFF\" width=\"50\" height=\"50\"/></g><g display=\"inline\"><g><rect y=\"-45\" opacity=\"0.5\" fill=\"none\" width=\"50\" height=\"45\"/><text transform=\"matrix(1 0 0 1 7.375 -37.9002)\"><tspan x=\"0\" y=\"0\" font-family=\"'MyriadPro-Regular'\" font-size=\"10px\">Opmaak </tspan><tspan x=\"5.4\" y=\"12\" font-family=\"'MyriadPro-Regular'\" font-size=\"10px\">item / </tspan><tspan x=\"-1.4\" y=\"24\" font-family=\"'MyriadPro-Regular'\" font-size=\"10px\">structuur </tspan><tspan x=\"8.1\" y=\"36\" font-family=\"'MyriadPro-Regular'\" font-size=\"10px\">item </tspan></text></g></g><g display=\"inline\"><g><rect y=\"0\" opacity=\"0.25\" fill=\"#FFFFFF\" width=\"50\" height=\"50\"/><rect y=\"5\" opacity=\"0.5\" fill=\"none\" width=\"50\" height=\"45\"/><text transform=\"matrix(1 0 0 1 5.0054 12.0999)\" font-family=\"'MyriadPro-Regular'\" font-size=\"10px\">Workflow</text></g></g></g></svg>",
1700
+ "list_ul_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M64 64a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm120 8c-13.3 0-24 10.7-24 24s10.7 24 24 24l304 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L184 72zm0 160c-13.3 0-24 10.7-24 24s10.7 24 24 24l304 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-304 0zm0 160c-13.3 0-24 10.7-24 24s10.7 24 24 24l304 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-304 0zM96 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM64 384a32 32 0 1 0 0 64 32 32 0 1 0 0-64z\"/></svg>",
1702
1701
  "lock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><g><path d=\"M22.65,11.67H7.35c-2.82,0-3.07,2.29-3.07,5.12v8.09c0,2.83,.25,5.12,3.07,5.12h15.29c2.81,0,3.07-2.29,3.07-5.12v-8.09c0-2.83-.25-5.12-3.07-5.12Zm-12.42,15.82l2.6-6.32c-1-.7-1.65-1.85-1.65-3.15,0-2.12,1.71-3.84,3.82-3.84s3.82,1.73,3.82,3.84c0,1.31-.65,2.46-1.65,3.15l2.6,6.32H10.22Z\" fill=\"#484f60\"/><path d=\"M19.51,6.64c0-3.6-2.02-4.07-4.51-4.07h0c-2.49,0-4.51,.47-4.51,4.07v3h-2.7v-3C7.79,1.62,11.02,0,15,0h0c3.98,0,7.21,1.62,7.21,6.64v3h-2.7v-3Z\" fill=\"#484f60\"/></g></g></svg>",
1703
1702
  "message_sms_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M448-.0004H64c-35.25 0-64 28.75-64 63.1v287.1c0 35.25 28.75 63.1 64 63.1h96v83.98c0 9.836 11.02 15.55 19.12 9.7L304 415.1H448c35.25 0 64-28.75 64-63.1V63.1C512 28.75 483.3-.0004 448-.0004zM464 352c0 8.75-7.25 16-16 16h-160l-80 60v-60H64c-8.75 0-16-7.25-16-16V64c0-8.75 7.25-16 16-16h384c8.75 0 16 7.25 16 16V352zM124.4 192.6C113.6 189.5 103.2 187.2 104.2 181.5c.7813-4.5 10.28-6.562 21.5-4.906c4.156 .6562 8.75 2.094 13.09 3.594c8.375 2.906 17.47-1.562 20.34-9.906c2.875-8.344-1.562-17.47-9.906-20.34C143.1 147.8 136.5 145.9 130.6 145c-30.69-4.812-53.94 7.719-58 31.09c-5.656 33.03 26.5 42.47 38.63 46c13.72 3.947 25.62 6.432 24.56 12.34C135 239 125.7 241.1 114.3 239.4C107.9 238.4 100.4 235.4 93.38 232.9c-8.375-2.969-16 1.875-18.97 10.19S77.19 261.1 85.5 264.1C92.81 266.8 101.1 269.8 109.4 271C113.7 271.7 117.9 272 121.1 272c24.28 0 41.94-12.03 45.38-32.13C173.1 206.5 141.4 197.5 124.4 192.6zM396.4 192.6C385.6 189.5 375.2 187.2 376.2 181.5c.7813-4.5 10.31-6.562 21.5-4.906c4.156 .6562 8.75 2.094 13.09 3.594c8.406 2.906 17.47-1.562 20.34-9.906c2.875-8.344-1.562-17.47-9.906-20.34c-6.156-2.125-12.69-4.062-18.59-4.969c-30.75-4.812-53.97 7.719-58 31.09c-5.656 33.03 26.5 42.47 38.63 46c13.72 3.947 25.62 6.432 24.56 12.34c-.7813 4.562-10.12 6.656-21.56 4.938c-6.342-.9883-13.9-3.939-20.88-6.438c-8.375-2.969-16 1.875-18.97 10.19s2.781 17.97 11.09 20.97c7.312 2.656 15.62 5.656 23.88 6.906C385.7 271.7 389.9 272 393.1 272c24.28 0 41.94-12.03 45.38-32.13C445.1 206.5 413.4 197.5 396.4 192.6zM309.1 144.8c-6.469-2.062-13.72 .0625-17.88 5.594L256 197.3L220.8 150.4C216.7 144.9 209.4 142.7 202.9 144.8C196.4 147 192 153.1 192 160v96c0 8.844 7.156 16 16 16S224 264.8 224 256V208l19.19 25.59c6.062 8.062 19.56 8.062 25.62 0L288 208V256c0 8.844 7.156 16 16 16S320 264.8 320 256V160C320 153.1 315.6 147 309.1 144.8z\"/></svg>",
1704
1703
  "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>",
@@ -5541,6 +5540,7 @@ class Translation {
5541
5540
  this.RELATION_ID = 'RELATION_ID';
5542
5541
  this.RELATION_NR = 'RELATION_NR';
5543
5542
  this.REMARK = 'REMARK';
5543
+ this.REPORTS_TO_ATTACH_TO = 'REPORTS_TO_ATTACH_TO';
5544
5544
  this.RESERVED = 'RESERVED';
5545
5545
  this.QUANTITY = 'QUANTITY';
5546
5546
  this.SEARCH = 'SEARCH';
@@ -5557,6 +5557,7 @@ class Translation {
5557
5557
  this.STOCK_STATE = 'STOCK_STATE';
5558
5558
  this.STOCK_STATUS = 'STOCK_STATUS';
5559
5559
  this.SUPPLIER_NUMBER = 'SUPPLIER_NUMBER';
5560
+ this.TITLE = 'TITLE';
5560
5561
  this.TRANSFER = 'TRANSFER';
5561
5562
  this.TRANSFER_STOCK = 'TRANSFER_STOCK';
5562
5563
  this.USER = 'USER';
@@ -9459,9 +9460,17 @@ var DomainMultipleName;
9459
9460
  class FileUploadPopupComponent {
9460
9461
  constructor(
9461
9462
  //private _workabilityService: AppWorkabilityService,
9462
- _promptService, _fileTypeImgPipe) {
9463
+ _promptService, _fileTypeImgPipe,
9464
+ //private _userRights: UserRightsService,
9465
+ //private _baseDataRepo: BaseDataDalRepository,
9466
+ //private _tagsRepo: TagsDalRepository,
9467
+ //private _dataService: DataService,
9468
+ //private _toastService: AppToastService
9469
+ iconCacheService) {
9463
9470
  this._promptService = _promptService;
9464
9471
  this._fileTypeImgPipe = _fileTypeImgPipe;
9472
+ this.iconCacheService = iconCacheService;
9473
+ this.icon = Icon;
9465
9474
  this.useWithoutSettingProps = false;
9466
9475
  this.hasPublicAccessVisible = false;
9467
9476
  this.showDocumentReportPicker = true;
@@ -9629,155 +9638,151 @@ FileUploadPopupComponent.decorators = [
9629
9638
  template: `
9630
9639
  <co-dialog *ngIf="!useWithoutSettingProps && documentUnderEdit" cssId="popup_files_upload_content"
9631
9640
  [headerTemplate]="headerTemplate" contentSize noClickOutside
9641
+ [footerTemplate]="footerTemplate"
9632
9642
  (close)="onPopupClose()" (closeClick)="onPopupCancelClick()">
9633
- <div class="co-dialog-wrapper">
9634
- <div class="file-upload-form-wrapper" fxLayout="column" fxLayoutGap="10px">
9635
- <co-form class="narrow-scrollbar" (validSubmit)="onValidSubmit()">
9636
- <div class="horizontal-layout-column">
9637
- <div class="document-thumb column-left" *ngIf="!addDocumentByUrl">
9638
- <a (click)="onPreviewClick()"><img [src]="thumbnail"/></a>
9639
- </div>
9640
- <div class="column-right">
9641
- <co-input-text
9642
- [model]="documentUnderEdit.fileSize"
9643
- [screenConfigurationObject]="documentUnderEdit.isImageDocument() ?
9644
- filesUploadConfigObjects?.ImageDocumentFileSize :
9645
- filesUploadConfigObjects?.TextDocumentFileSize"
9646
- [placeholder]="'SIZE' | localize"
9647
- forceReadonly
9648
- noValidation>
9649
- </co-input-text>
9650
- <ng-container *ngIf="documentUnderEdit.isImageDocument()">
9651
- <co-input-text [placeholder]="'DIMENSIONS' | localize"
9652
- [model]="documentUnderEdit.imageDimensions"
9653
- [screenConfigurationObject]="filesUploadConfigObjects?.ImageDocumentDimensions"
9654
- forceReadonly noValidation></co-input-text>
9655
- </ng-container>
9656
- <co-input-text
9657
- [(model)]="documentUnderEdit.title"
9658
- [screenConfigurationObject]="documentUnderEdit.isImageDocument() ?
9659
- filesUploadConfigObjects?.ImageDocumentTitle :
9660
- filesUploadConfigObjects?.TextDocumentTitle"
9661
- [placeholder]="'TITLE2' | localize"
9662
- noValidation forceReadonly></co-input-text>
9663
- </div>
9664
- </div>
9643
+ <div class="file-upload-form-wrapper" fxLayout="column" fxLayoutGap="10px">
9644
+ <co-form class="narrow-scrollbar" (validSubmit)="onValidSubmit()">
9645
+ <div class="horizontal-layout-column">
9646
+ <div class="document-thumb column-left" *ngIf="!addDocumentByUrl">
9647
+ <a (click)="onPreviewClick()"><img [src]="thumbnail"/></a>
9648
+ </div>
9649
+ <div class="column-right">
9650
+ <co-input-text
9651
+ [(model)]="documentUnderEdit.title"
9652
+ [screenConfigurationObject]="documentUnderEdit.isImageDocument() ?
9653
+ filesUploadConfigObjects?.ImageDocumentTitle :
9654
+ filesUploadConfigObjects?.TextDocumentTitle"
9655
+ [placeholder]="'TITLE' | localize"
9656
+ noValidation forceReadonly></co-input-text>
9657
+ <co-input-text [placeholder]="'DESCRIPTION' | localize" [(model)]="documentUnderEdit.description"
9658
+ [screenConfigurationObject]="documentUnderEdit.isImageDocument() ?
9659
+ filesUploadConfigObjects?.ImageDocumentDescription :
9660
+ filesUploadConfigObjects?.TextDocumentDescription"
9661
+ [readonly]="docUnderEditIsReadOnly"
9662
+ ></co-input-text>
9663
+ <div class="row sizes">
9664
+ <co-input-text
9665
+ [model]="documentUnderEdit.fileSize"
9666
+ [screenConfigurationObject]="documentUnderEdit.isImageDocument() ?
9667
+ filesUploadConfigObjects?.ImageDocumentFileSize :
9668
+ filesUploadConfigObjects?.TextDocumentFileSize"
9669
+ [placeholder]="'SIZE' | localize"
9670
+ forceReadonly
9671
+ noValidation>
9672
+ </co-input-text>
9673
+ <ng-container *ngIf="documentUnderEdit.isImageDocument()">
9674
+ <co-input-text [placeholder]="'DIMENSIONS' | localize"
9675
+ [model]="documentUnderEdit.imageDimensions"
9676
+ [screenConfigurationObject]="filesUploadConfigObjects?.ImageDocumentDimensions"
9677
+ forceReadonly noValidation></co-input-text>
9678
+ </ng-container>
9679
+ </div>
9680
+ </div>
9681
+ </div>
9665
9682
 
9666
- <div>
9667
- <!--<sc-tags
9668
- [tagCategory]="tagCategory"
9669
- [readonly]="docUnderEditIsReadOnly"-->
9683
+ <div>
9684
+ <!--<sc-tags
9685
+ [tagCategory]="tagCategory"
9686
+ [readonly]="docUnderEditIsReadOnly"-->
9670
9687
 
9671
- <!-- ></sc-tags>--><!-- [myCfgNames]="tagsConfigName" | [(joinedTags)]="this.documentUnderEdit.tags"-->
9672
- </div>
9673
- <!--<div>
9674
- <read-write-access *ngIf="showReadWriteAccess"
9675
- [readWriteCfgNames]="filesUploadConfigObjects?.readWriteAccess"
9676
- [layoutHorizontal]="true"
9677
- [medicalUserGroups]="medicalUserGroups"
9678
- [(userGroupsForWrite)]="userGroupsForWrite"
9679
- [(userGroupsForRead)]="userGroupsForRead"
9680
- [readonly]="docUnderEditIsReadOnly"
9681
- ></read-write-access>
9682
- </div>-->
9683
- <!--<div class="horizontal-layout-column">
9684
- <ng-container *ngIf="addDocumentByUrl">
9685
- <co-input-text required [placeholder]="'URL' | localize" [(model)]="documentUnderEdit.filePath"
9686
- [readonly]="docUnderEditIsReadOnly"></co-input-text>
9687
- </ng-container>
9688
- </div>-->
9689
- <div class="horizontal-layout-column">
9690
- <div class="column-left">
9691
- <co-input-text [placeholder]="'DESCRIPTION' | localize" [(model)]="documentUnderEdit.description"
9692
- [screenConfigurationObject]="documentUnderEdit.isImageDocument() ?
9693
- filesUploadConfigObjects?.ImageDocumentDescription :
9694
- filesUploadConfigObjects?.TextDocumentDescription"
9695
- [readonly]="docUnderEditIsReadOnly"
9696
- ></co-input-text>
9697
-
9698
- </div>
9699
- <!--<div *ngIf="hasPublicAccessVisible" class="column-right">
9700
- <input-switcher-yes-no label="PUBLIC_ACCESS"
9701
- [(model)]="documentUnderEdit.hasPublicAccess"
9702
- [readonly]="docUnderEditIsReadOnly"
9703
- ></input-switcher-yes-no>
9704
- </div>-->
9705
- </div>
9706
- <div class="horizontal-layout-column">
9707
- <ng-container *ngIf="!documentUnderEdit.isImageDocument()">
9708
- <div class="column-left">
9709
- <!-- <input-switcher-yes-no label="DOWNLOADABLE"
9710
- [(model)]="documentUnderEdit.downloadable"
9711
- [cfgName]="filesUploadConfigObjects?.TextDocumentDownloadable"
9712
- [readonly]="docUnderEditIsReadOnly"
9713
- ></input-switcher-yes-no>-->
9714
- </div>
9715
- </ng-container>
9716
- </div>
9717
- <div class="horizontal-layout-column">
9718
- <ng-container *ngIf="fileType === fileTypes.ThreeDFile">
9719
- <div class="column-left">
9720
- <!-- <input-switcher-yes-no label="ALSO_AS_USDZ"
9721
- [(model)]="documentUnderEdit.convertToUSDZ"
9722
- [readonly]="docUnderEditIsReadOnly"
9723
- ></input-switcher-yes-no>-->
9724
- </div>
9725
- </ng-container>
9726
- </div>
9727
- <div class="horizontal-layout-column">
9728
- <ng-container *ngIf="documentUnderEdit.isImageDocument()">
9729
- <div class="column-left"><!--
9730
- <input-switcher-yes-no label="ATTACH_TO_NOTIFICATION"
9731
- [(model)]="documentUnderEdit.attachToNotification"
9732
- [cfgName]="filesUploadConfigObjects?.ImageDocumentAttachNotification"
9733
- [readonly]="docUnderEditIsReadOnly"
9734
- ></input-switcher-yes-no>-->
9735
- </div>
9736
- <div class="column-right"><!--
9737
- <image-type-select
9738
- [cfgName]="filesUploadConfigObjects?.ImageDocumentDisplayType"
9739
- [(selectedModelId)]="this.documentUnderEdit.imageDisplayKind"
9740
- [readonly]="docUnderEditIsReadOnly"
9741
- label="DISPLAY_TYPE"
9742
- ></image-type-select>-->
9743
- </div>
9744
- </ng-container>
9745
- </div>
9746
- <div *ngIf="!isWorkability">
9747
- <!-- <multiple-property-toggler *ngIf="!showDocumentReportPicker"
9748
- [propertyNamesToToggle]="documentPublication"
9749
- [(enableditems)]="this.documentUnderEdit.publication"
9750
- (onPropertyItemChange)="handlePropertyChange($event)"
9751
- label="PUBLISH_TO"
9752
- [readonly]="docUnderEditIsReadOnly"
9753
- ></multiple-property-toggler>-->
9754
- <co-multiple-property-toggler *ngIf="showDocumentReportPicker"
9755
- [propertyNamesToToggle]="documentEmailReports"
9756
- [(enableditems)]="documentUnderEdit.reports"
9757
- (onPropertyItemChange)="handleReportsPropertyChange($event)"
9758
- label="REPORTS_TO_ATTACH_TO"
9759
- [readonly]="docUnderEditIsReadOnly"
9760
- ></co-multiple-property-toggler>
9688
+ <!-- ></sc-tags>--><!-- [myCfgNames]="tagsConfigName" | [(joinedTags)]="this.documentUnderEdit.tags"-->
9689
+ </div>
9690
+ <!--<div>
9691
+ <read-write-access *ngIf="showReadWriteAccess"
9692
+ [readWriteCfgNames]="filesUploadConfigObjects?.readWriteAccess"
9693
+ [layoutHorizontal]="true"
9694
+ [medicalUserGroups]="medicalUserGroups"
9695
+ [(userGroupsForWrite)]="userGroupsForWrite"
9696
+ [(userGroupsForRead)]="userGroupsForRead"
9697
+ [readonly]="docUnderEditIsReadOnly"
9698
+ ></read-write-access>
9699
+ </div>-->
9700
+ <!--<div class="horizontal-layout-column">
9701
+ <ng-container *ngIf="addDocumentByUrl">
9702
+ <co-input-text required [placeholder]="'URL' | localize" [(model)]="documentUnderEdit.filePath"
9703
+ [readonly]="docUnderEditIsReadOnly"></co-input-text>
9704
+ </ng-container>
9705
+ </div>-->
9706
+ <div class="horizontal-layout-column">
9707
+ <!--<div *ngIf="hasPublicAccessVisible" class="column-right">
9708
+ <input-switcher-yes-no label="PUBLIC_ACCESS"
9709
+ [(model)]="documentUnderEdit.hasPublicAccess"
9710
+ [readonly]="docUnderEditIsReadOnly"
9711
+ ></input-switcher-yes-no>
9712
+ </div>-->
9713
+ </div>
9714
+ <div class="horizontal-layout-column">
9715
+ <ng-container *ngIf="!documentUnderEdit.isImageDocument()">
9716
+ <div class="column-left">
9717
+ <!-- <input-switcher-yes-no label="DOWNLOADABLE"
9718
+ [(model)]="documentUnderEdit.downloadable"
9719
+ [cfgName]="filesUploadConfigObjects?.TextDocumentDownloadable"
9720
+ [readonly]="docUnderEditIsReadOnly"
9721
+ ></input-switcher-yes-no>-->
9722
+ </div>
9723
+ </ng-container>
9724
+ </div>
9725
+ <div class="horizontal-layout-column">
9726
+ <ng-container *ngIf="fileType === fileTypes.ThreeDFile">
9727
+ <div class="column-left">
9728
+ <!-- <input-switcher-yes-no label="ALSO_AS_USDZ"
9729
+ [(model)]="documentUnderEdit.convertToUSDZ"
9730
+ [readonly]="docUnderEditIsReadOnly"
9731
+ ></input-switcher-yes-no>-->
9732
+ </div>
9733
+ </ng-container>
9734
+ </div>
9735
+ <div class="horizontal-layout-column">
9736
+ <ng-container *ngIf="documentUnderEdit.isImageDocument()">
9737
+ <div class="column-left"><!--
9738
+ <input-switcher-yes-no label="ATTACH_TO_NOTIFICATION"
9739
+ [(model)]="documentUnderEdit.attachToNotification"
9740
+ [cfgName]="filesUploadConfigObjects?.ImageDocumentAttachNotification"
9741
+ [readonly]="docUnderEditIsReadOnly"
9742
+ ></input-switcher-yes-no>-->
9743
+ </div>
9744
+ <div class="column-right"><!--
9745
+ <image-type-select
9746
+ [cfgName]="filesUploadConfigObjects?.ImageDocumentDisplayType"
9747
+ [(selectedModelId)]="this.documentUnderEdit.imageDisplayKind"
9748
+ [readonly]="docUnderEditIsReadOnly"
9749
+ label="DISPLAY_TYPE"
9750
+ ></image-type-select>-->
9751
+ </div>
9752
+ </ng-container>
9753
+ </div>
9754
+ <div *ngIf="!isWorkability">
9755
+ <!-- <multiple-property-toggler *ngIf="!showDocumentReportPicker"
9756
+ [propertyNamesToToggle]="documentPublication"
9757
+ [(enableditems)]="this.documentUnderEdit.publication"
9758
+ (onPropertyItemChange)="handlePropertyChange($event)"
9759
+ label="PUBLISH_TO"
9760
+ [readonly]="docUnderEditIsReadOnly"
9761
+ ></multiple-property-toggler>
9762
+ <co-multiple-property-toggler *ngIf="showDocumentReportPicker"
9763
+ [propertyNamesToToggle]="documentEmailReports"
9764
+ [(enableditems)]="documentUnderEdit.reports"
9765
+ (onPropertyItemChange)="handleReportsPropertyChange($event)"
9766
+ label="REPORTS_TO_ATTACH_TO"
9767
+ [readonly]="docUnderEditIsReadOnly"
9768
+ ></co-multiple-property-toggler>-->
9761
9769
 
9762
- <!--<ng-container *ngIf="documentUnderEdit.isImageDocument()"
9763
- [templateWrapper]="templateImage"></ng-container>-->
9764
- </div>
9765
- </co-form>
9766
- <div class="ok-cancel-buttons">
9767
- <co-button [disabled]="docUnderEditIsReadOnly" [textContent]="'OK' | localize" (click)="onPopupOkClick()"></co-button>
9768
- <co-button *ngIf="hideCancel" [textContent]="'STICKER' | localize" (click)="onPopupCancelClick()"></co-button>
9769
- </div>
9770
- <!-- <default-ok-cancel-buttons class="justify-center"
9771
- [okDisabled]="docUnderEditIsReadOnly"
9772
- [hideCancel]="hideCancel"
9773
- (okClick)="onPopupOkClick()"
9774
- (cancelClick)="onPopupCancelClick()">
9775
- </default-ok-cancel-buttons>-->
9776
- </div>
9777
- </div>
9770
+ <!--<ng-container *ngIf="documentUnderEdit.isImageDocument()"
9771
+ [templateWrapper]="templateImage"></ng-container>-->
9772
+ </div>
9773
+ </co-form>
9774
+ </div>
9778
9775
  </co-dialog>
9779
9776
  <ng-template #headerTemplate>
9780
- <div [textContent]="popupHeader | localize"></div>
9777
+ <div class="co-dialog-header-title" [textContent]="popupHeader | localize"></div>
9778
+ </ng-template>
9779
+ <ng-template #footerTemplate>
9780
+ <div class="co-dialog-footer-button-wrapper">
9781
+ <co-button [disabled]="docUnderEditIsReadOnly" class="save-button"
9782
+ (click)="onPopupOkClick()" [iconData]="iconCacheService.getIcon(icon.CheckDuotone)"></co-button>
9783
+ <co-button class="close-button"
9784
+ (click)="onPopupCancelClick()" [iconData]="iconCacheService.getIcon(icon.CrossSkinny)"></co-button>
9785
+ </div>
9781
9786
  </ng-template>
9782
9787
  <ng-template #templateImage *ngIf="!isWorkability">
9783
9788
  <!-- <div class="column-right">
@@ -9799,7 +9804,8 @@ FileUploadPopupComponent.decorators = [
9799
9804
  ];
9800
9805
  FileUploadPopupComponent.ctorParameters = () => [
9801
9806
  { type: PromptService },
9802
- { type: FileTypeImagePipe }
9807
+ { type: FileTypeImagePipe },
9808
+ { type: IconCacheService }
9803
9809
  ];
9804
9810
  FileUploadPopupComponent.propDecorators = {
9805
9811
  form: [{ type: ViewChild, args: [FormComponent,] }],
@@ -11487,7 +11493,8 @@ FileUploadPopupModule.decorators = [
11487
11493
  ButtonModule,
11488
11494
  CommonModule,
11489
11495
  ScreenConfigurationModule,
11490
- MultiplePropertyTogglerModule
11496
+ MultiplePropertyTogglerModule,
11497
+ IconModule
11491
11498
  ],
11492
11499
  declarations: [
11493
11500
  FileUploadPopupComponent
@@ -12048,6 +12055,7 @@ class ModifyTaskFormComponent {
12048
12055
  this.table = TableName$1.Tasks;
12049
12056
  this.expandActivities = false;
12050
12057
  this.showTagPopup = false;
12058
+ this.allTags = [];
12051
12059
  }
12052
12060
  /* @ViewChild(ActivityActivitiesComponent, { static: true })
12053
12061
  public activityActivities: ActivityActivitiesComponent;*/
@@ -14142,7 +14150,7 @@ class RoleEmailSelectorComponent {
14142
14150
  }
14143
14151
  removeOptionFromModel(email) {
14144
14152
  if (this.model.indexOf(email) > -1) {
14145
- this.model.splice(email.indexOf(email), 1);
14153
+ this.model.splice(this.model.indexOf(email), 1);
14146
14154
  }
14147
14155
  }
14148
14156
  }
@@ -14155,7 +14163,7 @@ RoleEmailSelectorComponent.decorators = [
14155
14163
  (modelChange)="roleChosen($event)">
14156
14164
  </co-list-of-values>
14157
14165
  <co-input-text #inp [placeholder]="extraLabel | localize"
14158
- [rightIconData]="iconService.getIcon(icons.PaperPlaneTopSolid)"
14166
+ [rightIconData]="iconService.getIcon(icons.CheckSolid)"
14159
14167
  (rightIconClick)="addEmail(inp.model)"></co-input-text>
14160
14168
 
14161
14169
  <div class="chips-wrapper">
@@ -15282,14 +15290,17 @@ class TaskCreatorComponent {
15282
15290
  this.optionCollection = [
15283
15291
  { icon: this.iconService.getIcon(this.icons.CommentRegular), label: this.dictionaryService.get('REMARK', true) },
15284
15292
  { icon: this.iconService.getIcon(this.icons.PersonDiggingRegular), label: this.dictionaryService.get('WORK', true) },
15285
- { icon: this.iconService.getIcon(this.icons.Task), label: this.dictionaryService.get('TASK', true) },
15293
+ { icon: this.iconService.getIcon(this.icons.ListUlRegular), label: this.dictionaryService.get('TASK', true) },
15286
15294
  ];
15287
15295
  this.showFilesDialog = false;
15288
15296
  this.documents = [];
15297
+ this.oldDocuments = [];
15289
15298
  this.showEmailDialog = false;
15290
15299
  this.senderAddress = '';
15291
15300
  this.emailAddresses = [];
15292
15301
  this.bccEmailAddresses = [];
15302
+ this.oldEmailAddresses = [];
15303
+ this.oldBccEmailAddresses = [];
15293
15304
  this.emailRequest = null;
15294
15305
  this.remarkText = "";
15295
15306
  this.workDescription = "";
@@ -15308,6 +15319,17 @@ class TaskCreatorComponent {
15308
15319
  itemSelected(item) {
15309
15320
  this.chosenActivityType = item;
15310
15321
  }
15322
+ openAttachmentDialog() {
15323
+ this.oldDocuments = this.documents.slice();
15324
+ this.showFilesDialog = true;
15325
+ }
15326
+ attachmentDialogClosed() {
15327
+ this.showFilesDialog = false;
15328
+ }
15329
+ attachmentDialogCancelled() {
15330
+ this.documents = this.oldDocuments.slice();
15331
+ this.showFilesDialog = false;
15332
+ }
15311
15333
  addedDocument(docs) {
15312
15334
  return __awaiter(this, void 0, void 0, function* () {
15313
15335
  this.documents = this.documents.concat(docs);
@@ -15318,20 +15340,10 @@ class TaskCreatorComponent {
15318
15340
  ArrayUtils.RemoveElement(doc, this.documents);
15319
15341
  });
15320
15342
  }
15321
- createRemarkClicked() {
15322
- return __awaiter(this, void 0, void 0, function* () {
15323
- this._formMasterService.submitSlaves();
15324
- if (this.createForm.isValid()) {
15325
- let remark = this.createRemark();
15326
- let activity = new Activity();
15327
- activity.activityType = ActivityType.Remark;
15328
- activity.remark = remark;
15329
- this.createdRemark = yield this.sharedService.insertRemark(activity);
15330
- if (this.createdRemark) {
15331
- this.handleAfterCreation();
15332
- }
15333
- }
15334
- });
15343
+ openEmailDialog() {
15344
+ this.showEmailDialog = true;
15345
+ this.oldEmailAddresses = this.emailAddresses.slice();
15346
+ this.oldBccEmailAddresses = this.bccEmailAddresses.slice();
15335
15347
  }
15336
15348
  emailDialogClosed() {
15337
15349
  if (this.emailAddresses.length >= 0) {
@@ -15347,6 +15359,26 @@ class TaskCreatorComponent {
15347
15359
  }
15348
15360
  this.showEmailDialog = false;
15349
15361
  }
15362
+ emailDialogCancelled() {
15363
+ this.emailAddresses = this.oldEmailAddresses.slice();
15364
+ this.bccEmailAddresses = this.oldBccEmailAddresses.slice();
15365
+ this.showEmailDialog = false;
15366
+ }
15367
+ createRemarkClicked() {
15368
+ return __awaiter(this, void 0, void 0, function* () {
15369
+ this._formMasterService.submitSlaves();
15370
+ if (this.createForm.isValid()) {
15371
+ let remark = this.createRemark();
15372
+ let activity = new Activity();
15373
+ activity.activityType = ActivityType.Remark;
15374
+ activity.remark = remark;
15375
+ this.createdRemark = yield this.sharedService.insertRemark(activity);
15376
+ if (this.createdRemark) {
15377
+ yield this.handleAfterCreation();
15378
+ }
15379
+ }
15380
+ });
15381
+ }
15350
15382
  createWorkClicked() {
15351
15383
  return __awaiter(this, void 0, void 0, function* () {
15352
15384
  this._formMasterService.submitSlaves();
@@ -15357,9 +15389,7 @@ class TaskCreatorComponent {
15357
15389
  activity.work = work;
15358
15390
  this.createdWork = yield this.sharedService.insertWork(activity);
15359
15391
  if (this.createdWork) {
15360
- this.activityCreated.emit();
15361
- yield this.sendEmailIfNeccesary();
15362
- this.clearFields();
15392
+ yield this.handleAfterCreation();
15363
15393
  }
15364
15394
  }
15365
15395
  });
@@ -15374,9 +15404,7 @@ class TaskCreatorComponent {
15374
15404
  activity.task = task;
15375
15405
  this.createdTask = yield this.sharedService.insertTask(activity);
15376
15406
  if (this.createdTask) {
15377
- this.activityCreated.emit();
15378
- yield this.sendEmailIfNeccesary();
15379
- this.clearFields();
15407
+ yield this.handleAfterCreation();
15380
15408
  }
15381
15409
  }
15382
15410
  });
@@ -15469,7 +15497,7 @@ class TaskCreatorComponent {
15469
15497
  }
15470
15498
  startEmailing(template) {
15471
15499
  return __awaiter(this, void 0, void 0, function* () {
15472
- const emailsSent = yield this.sharedService.emailViaTemplate(template, this.createEmailAddressString(this.emailAddresses), this.createEmailAddressString(this.bccEmailAddresses), this.senderAddress, this.createEmailSubject(), "", null /*this.createAttachmentsStringArray()*/, this.createEmailParams());
15500
+ const emailsSent = yield this.sharedService.emailViaTemplate(template, this.createEmailAddressString(this.emailAddresses), this.createEmailAddressString(this.bccEmailAddresses), this.senderAddress, this.createEmailSubject(), "", [], this.createEmailParams());
15473
15501
  if (emailsSent) {
15474
15502
  let history = new ActivityEmailHistory();
15475
15503
  history.emailAddresses = this.createEmailAddressString(this.emailAddresses);
@@ -15487,15 +15515,6 @@ class TaskCreatorComponent {
15487
15515
  }
15488
15516
  });
15489
15517
  }
15490
- registerSentEmails() {
15491
- return __awaiter(this, void 0, void 0, function* () {
15492
- let history = new ActivityEmailHistory();
15493
- history.emailAddresses = this.createEmailAddressString(this.emailAddresses) + ';' + this.createEmailAddressString(this.bccEmailAddresses);
15494
- //history.attachments = this.createAttachmentsStringArray();
15495
- history.message = '';
15496
- history.emailDateTime = new Date();
15497
- });
15498
- }
15499
15518
  createEmailAddressString(addresses) {
15500
15519
  if (addresses.length === 0) {
15501
15520
  return '';
@@ -15584,19 +15603,42 @@ TaskCreatorComponent.decorators = [
15584
15603
  </div>
15585
15604
  </co-form>
15586
15605
  <div class="extras-buttons">
15587
- <co-button [iconData]="iconService.getIcon(icons.EmailRegular)" (click)="showEmailDialog = true"></co-button>
15588
- <co-button [iconData]="iconService.getIcon(icons.PaperclipRegular)" (click)="showFilesDialog = true"
15606
+ <co-button [iconData]="iconService.getIcon(icons.EmailRegular)" (click)="openEmailDialog()"></co-button>
15607
+ <co-button [iconData]="iconService.getIcon(icons.PaperclipRegular)" (click)="openAttachmentDialog()"
15589
15608
  [label]="documents.length === 0 ? '' : documents.length.toString()" ></co-button>
15590
15609
  </div>
15591
15610
 
15592
- <co-dialog *ngIf="showFilesDialog" (closeClick)="showFilesDialog = false">
15611
+ <co-dialog *ngIf="showFilesDialog" (closeClick)="attachmentDialogCancelled()"
15612
+ [headerTemplate]="attachmentHeaderTemplate"
15613
+ [footerTemplate]="attachmentFooterTemplate">
15614
+
15615
+ <ng-template #attachmentHeaderTemplate>
15616
+ <div class="co-dialog-wrapper-popup-title">
15617
+ <co-icon [iconData]="iconService.getIcon(icons.PaperclipRegular)"></co-icon>
15618
+ <div class="co-dialog-header-title" [textContent]="'ATTACHMENTS' | localize"></div>
15619
+ </div>
15620
+ </ng-template>
15593
15621
  <co-files-upload (documentsAdded)="addedDocument($event)" (documentDeleted)="deletedDocument"
15594
15622
  [documents]="documents" [useWithoutSettingProps]="true"></co-files-upload>
15595
15623
  </co-dialog>
15624
+
15625
+
15626
+ <ng-template #attachmentFooterTemplate>
15627
+ <div class="co-dialog-footer-button-wrapper">
15628
+ <co-button class="save-button"
15629
+ [iconData]="iconService.getIcon(icons.CheckDuotone)"
15630
+ (click)="attachmentDialogClosed()"></co-button>
15631
+ <co-button class="close-button"
15632
+ [iconData]="iconService.getIcon(icons.CrossSkinny)"
15633
+ (click)="attachmentDialogCancelled()"></co-button>
15634
+ </div>
15635
+ </ng-template>
15636
+
15637
+
15596
15638
  <co-dialog *ngIf="showEmailDialog" (closeClick)="emailDialogClosed()"
15597
- [footerTemplate]="footerTemplate"
15598
- [headerTemplate]="headerTemplate">
15599
- <ng-template #headerTemplate>
15639
+ [footerTemplate]="emailFooterTemplate"
15640
+ [headerTemplate]="emailheaderTemplate">
15641
+ <ng-template #emailheaderTemplate>
15600
15642
  <div class="co-dialog-wrapper-popup-title">
15601
15643
  <co-icon [iconData]="iconService.getIcon(icons.EmailRegular)"></co-icon>
15602
15644
  <div class="co-dialog-header-title" [textContent]="'SEND_EMAIL' | localize"></div>
@@ -15609,14 +15651,14 @@ TaskCreatorComponent.decorators = [
15609
15651
 
15610
15652
  </co-dialog>
15611
15653
 
15612
- <ng-template #footerTemplate>
15654
+ <ng-template #emailFooterTemplate>
15613
15655
  <div class="co-dialog-footer-button-wrapper">
15614
15656
  <co-button class="save-button"
15615
15657
  [iconData]="iconService.getIcon(icons.CheckDuotone)"
15616
15658
  (click)="emailDialogClosed()"></co-button>
15617
15659
  <co-button class="close-button"
15618
15660
  [iconData]="iconService.getIcon(icons.CrossSkinny)"
15619
- (click)="emailDialogClosed()"></co-button>
15661
+ (click)="emailDialogCancelled()"></co-button>
15620
15662
  </div>
15621
15663
  </ng-template>
15622
15664
  `,