@colijnit/sharedcomponents 1.0.70 → 254.1.2

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 (74) hide show
  1. package/3rdpartylicenses.txt +205 -0
  2. package/bundles/colijnit-sharedcomponents.umd.js +609 -153
  3. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  4. package/colijnit-sharedcomponents.d.ts +2 -0
  5. package/colijnit-sharedcomponents.metadata.json +1 -1
  6. package/esm2015/colijnit-sharedcomponents.js +3 -1
  7. package/esm2015/lib/businessobject/co-document-right.bo.js +1 -1
  8. package/esm2015/lib/components/activity-overview-component/component-activity-overview.component.js +8 -7
  9. package/esm2015/lib/components/activity-overview-component/components/base-activity-overview.component.js +15 -21
  10. package/esm2015/lib/components/image-display/image-display.component.js +7 -7
  11. package/esm2015/lib/components/modify-task-form/components/base-activity-summary.component.js +8 -10
  12. package/esm2015/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.js +2 -2
  13. package/esm2015/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.js +5 -5
  14. package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.js +2 -2
  15. package/esm2015/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.js +7 -4
  16. package/esm2015/lib/components/modify-task-form/components/task-details/task-details.component.js +7 -4
  17. package/esm2015/lib/components/modify-task-form/modify-task-form.component.js +39 -13
  18. package/esm2015/lib/components/modify-task-form/modify-task-form.module.js +10 -3
  19. package/esm2015/lib/components/open-activity-list/component-activity-list.component.js +42 -57
  20. package/esm2015/lib/components/open-activity-list/components/base-open-activity-list.component.js +5 -3
  21. package/esm2015/lib/components/simple-tags/simple-tags.component.js +5 -147
  22. package/esm2015/lib/components/simple-tags/simple-tags.module.js +4 -2
  23. package/esm2015/lib/components/simple-tags-form/simple-tags-form.component.js +196 -0
  24. package/esm2015/lib/components/simple-tags-form/simple-tags-form.module.js +26 -0
  25. package/esm2015/lib/components/task-modifyer/task-modifier.component.js +9 -9
  26. package/esm2015/lib/components/workflow-info-tiles/components/workflow-info-tile.component.js +45 -0
  27. package/esm2015/lib/components/workflow-info-tiles/components/workflow-info-tile.module.js +22 -0
  28. package/esm2015/lib/components/workflow-info-tiles/workflow-info-tiles.component.js +55 -0
  29. package/esm2015/lib/components/workflow-info-tiles/workflow-info-tiles.module.js +22 -0
  30. package/esm2015/lib/interface/operation-callback-simple-function.js +1 -1
  31. package/esm2015/lib/service/shared-connector.service.js +93 -1
  32. package/esm2015/lib/service/shared.service.js +44 -1
  33. package/esm2015/public-api.js +5 -1
  34. package/fesm2015/colijnit-sharedcomponents.js +571 -224
  35. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  36. package/index.html +2 -2
  37. package/lib/components/activity-overview-component/component-activity-overview.component.d.ts +3 -1
  38. package/lib/components/activity-overview-component/components/base-activity-overview.component.d.ts +3 -8
  39. package/lib/components/modify-task-form/components/base-activity-summary.component.d.ts +3 -4
  40. package/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.d.ts +2 -2
  41. package/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.d.ts +3 -1
  42. package/lib/components/modify-task-form/components/task-details/task-details.component.d.ts +3 -1
  43. package/lib/components/modify-task-form/modify-task-form.component.d.ts +9 -4
  44. package/lib/components/modify-task-form/style/_layout.scss +4 -0
  45. package/lib/components/open-activity-list/component-activity-list.component.d.ts +9 -11
  46. package/lib/components/open-activity-list/components/base-open-activity-list.component.d.ts +2 -0
  47. package/lib/components/simple-tags/simple-tags.component.d.ts +1 -8
  48. package/lib/components/simple-tags-form/simple-tags-form.component.d.ts +29 -0
  49. package/lib/components/simple-tags-form/simple-tags-form.module.d.ts +2 -0
  50. package/lib/components/simple-tags-form/style/_layout.scss +257 -0
  51. package/lib/components/simple-tags-form/style/_material-definition.scss +39 -0
  52. package/lib/components/simple-tags-form/style/_theme.scss +4 -0
  53. package/lib/components/simple-tags-form/style/material.scss +4 -0
  54. package/lib/components/task-modifyer/task-modifier.component.d.ts +3 -5
  55. package/lib/components/workflow-info-tiles/components/style/_layout.scss +49 -0
  56. package/lib/components/workflow-info-tiles/components/style/_material-definition.scss +0 -0
  57. package/lib/components/workflow-info-tiles/components/style/_theme.scss +4 -0
  58. package/lib/components/workflow-info-tiles/components/style/material.scss +4 -0
  59. package/lib/components/workflow-info-tiles/components/workflow-info-tile.component.d.ts +15 -0
  60. package/lib/components/workflow-info-tiles/components/workflow-info-tile.module.d.ts +2 -0
  61. package/lib/components/workflow-info-tiles/style/_layout.scss +16 -0
  62. package/lib/components/workflow-info-tiles/style/_material-definition.scss +0 -0
  63. package/lib/components/workflow-info-tiles/style/_theme.scss +4 -0
  64. package/lib/components/workflow-info-tiles/style/material.scss +4 -0
  65. package/lib/components/workflow-info-tiles/workflow-info-tiles.component.d.ts +21 -0
  66. package/lib/components/workflow-info-tiles/workflow-info-tiles.module.d.ts +2 -0
  67. package/lib/service/shared-connector.service.d.ts +10 -0
  68. package/lib/service/shared.service.d.ts +12 -0
  69. package/main.894c3ac9caba556953e2.js +1 -0
  70. package/package.json +6 -5
  71. package/public-api.d.ts +4 -0
  72. package/styles.b92683eab3a233f3fb51.css +1 -0
  73. package/main.36b466467ac98ce720f9.js +0 -1
  74. package/styles.6375d1d30814ecba5d0c.css +0 -1
@@ -31,13 +31,14 @@ import { WorkflowProcess } from '@colijnit/mainapi/build/model/workflow-process'
31
31
  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
+ import { WorkflowProcessInfoPerStatus } from '@colijnit/mainapi/build/model/workflow-process-info-per-status';
34
35
  import { PrintStockStickers } from '@colijnit/sharedapi/build/model/print-stock-stickers';
35
36
  import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
36
37
  import { ArticleStock as ArticleStock$1 } from '@colijnit/articleapi/build/model/article-stock';
37
38
  import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
38
39
  import * as i1 from '@angular/platform-browser';
39
40
  import { DomSanitizer } from '@angular/platform-browser';
40
- 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, CoreDialogService, InputDateRangePickerModule, CollapsibleModule } from '@colijnit/corecomponents_v12';
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';
41
42
  import { ArticleStockManagement } from '@colijnit/articleapi/build/model/article-stock-management';
42
43
  import { ArticleTransaction as ArticleTransaction$1 } from '@colijnit/articleapi/build/model/article-transaction';
43
44
  import { PrintPriceStickers } from '@colijnit/sharedapi/build/model/print-price-stickers.bo';
@@ -68,8 +69,9 @@ import { ActivityViewModel } from '@colijnit/mainapi/build/model/activity-view-m
68
69
  import { PersonalActivityTabEnum } from '@colijnit/mainapi/build/enum/personal-activity-tab.enum';
69
70
  import { ActivitySortType } from '@colijnit/mainapi/build/enum/activity-sort-type.enum';
70
71
  import { Task } from '@colijnit/mainapi/build/model/task.bo';
71
- import { ValidationResult } from '@colijnit/ioneconnector/build/model/validation-result';
72
72
  import { TableName as TableName$1 } from '@colijnit/mainapi/build/enum/table-name.enum';
73
+ import { TagCategory } from '@colijnit/mainapi/build/enum/tab-category.enum';
74
+ import { ValidationResult } from '@colijnit/ioneconnector/build/model/validation-result';
73
75
  import { DomainName } from '@colijnit/mainapi/build/enum/domain-name.enum';
74
76
  import { PriorityType } from '@colijnit/mainapi/build/enum/priority-type.enum';
75
77
  import { RelationRequest } from '@colijnit/relationapi/build/model/relation-request';
@@ -777,6 +779,81 @@ class SharedConnectorService {
777
779
  });
778
780
  });
779
781
  }
782
+ getComponentActivitiesWithoutRelationFiltering(table, key) {
783
+ return __awaiter(this, void 0, void 0, function* () {
784
+ return new Promise((resolve, reject) => {
785
+ return this.mainConnector.getComponentActivitiesWithoutRelationFiltering(table, key).then((result) => {
786
+ if (result && result.validationResult && result.validationResult.success) {
787
+ resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(Activity, result.resultObject));
788
+ }
789
+ else {
790
+ reject(result.validationMessagesAsString);
791
+ }
792
+ });
793
+ });
794
+ });
795
+ }
796
+ updateActivity(activity) {
797
+ return __awaiter(this, void 0, void 0, function* () {
798
+ return new Promise((resolve, reject) => {
799
+ return this.mainConnector.updateActivity(activity).then((result) => __awaiter(this, void 0, void 0, function* () {
800
+ resolve(result.validationResult);
801
+ }));
802
+ });
803
+ });
804
+ }
805
+ deleteActivity(activity) {
806
+ return __awaiter(this, void 0, void 0, function* () {
807
+ return new Promise((resolve, reject) => {
808
+ return this.mainConnector.deleteActivity(activity).then((result) => __awaiter(this, void 0, void 0, function* () {
809
+ resolve(result.validationResult);
810
+ }));
811
+ });
812
+ });
813
+ }
814
+ lockTask(id) {
815
+ return __awaiter(this, void 0, void 0, function* () {
816
+ return new Promise((resolve, reject) => {
817
+ return this.mainConnector.lockTask(id).then((result) => __awaiter(this, void 0, void 0, function* () {
818
+ resolve(result.validationResult);
819
+ }));
820
+ });
821
+ });
822
+ }
823
+ fireTrigger(workFlowProcessId, sequence, triggerId) {
824
+ return __awaiter(this, void 0, void 0, function* () {
825
+ return new Promise((resolve, reject) => {
826
+ return this.mainConnector.fireTrigger(workFlowProcessId, sequence, triggerId).then((result) => __awaiter(this, void 0, void 0, function* () {
827
+ resolve(result.validationResult);
828
+ }));
829
+ });
830
+ });
831
+ }
832
+ fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId) {
833
+ return __awaiter(this, void 0, void 0, function* () {
834
+ return new Promise((resolve, reject) => {
835
+ return this.mainConnector.fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId).then((result) => __awaiter(this, void 0, void 0, function* () {
836
+ resolve(result.validationResult);
837
+ }));
838
+ });
839
+ });
840
+ }
841
+ getJoinedTags(table, key) {
842
+ return __awaiter(this, void 0, void 0, function* () {
843
+ return new Promise((resolve, reject) => {
844
+ return this.mainConnector.getJoinedTags(table, key).then((result) => {
845
+ if (result.validationResult && result.validationResult.success) {
846
+ if (result.resultObjects) {
847
+ resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(TagTreeItem, result.resultObjects));
848
+ }
849
+ }
850
+ else {
851
+ reject(result.validationMessagesAsString);
852
+ }
853
+ });
854
+ });
855
+ });
856
+ }
780
857
  getDocumentContent(id, thumbnail = true) {
781
858
  return __awaiter(this, void 0, void 0, function* () {
782
859
  return new Promise((resolve, reject) => {
@@ -1155,6 +1232,22 @@ class SharedConnectorService {
1155
1232
  });
1156
1233
  });
1157
1234
  }
1235
+ getWorkflowProcessInfoPerStatus(worlflowCategory) {
1236
+ return __awaiter(this, void 0, void 0, function* () {
1237
+ return new Promise((resolve, reject) => {
1238
+ return this.mainConnector.getWorkflowProcessInfoPerStatus(worlflowCategory).then((result) => {
1239
+ if (result.validationResult && result.validationResult.success) {
1240
+ if (result.resultObject) {
1241
+ resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(WorkflowProcessInfoPerStatus, result.resultObject));
1242
+ }
1243
+ }
1244
+ else {
1245
+ reject(result.validationMessagesAsString);
1246
+ }
1247
+ });
1248
+ });
1249
+ });
1250
+ }
1158
1251
  getHistoricActivities(table, key) {
1159
1252
  return __awaiter(this, void 0, void 0, function* () {
1160
1253
  return new Promise((resolve, reject) => {
@@ -2419,11 +2512,49 @@ class SharedService {
2419
2512
  return yield this.connector.getTagsFullTree(category, includeTags);
2420
2513
  });
2421
2514
  }
2515
+ getJoinedTags(table, key) {
2516
+ return __awaiter(this, void 0, void 0, function* () {
2517
+ return yield this.connector.getJoinedTags(table, key);
2518
+ });
2519
+ }
2422
2520
  getDocumentContent(docId, thumbnail = true) {
2423
2521
  return __awaiter(this, void 0, void 0, function* () {
2424
2522
  return yield this.connector.getDocumentContent(docId, thumbnail);
2425
2523
  });
2426
2524
  }
2525
+ getComponentActivitiesWithoutRelationFiltering(table, key) {
2526
+ return __awaiter(this, void 0, void 0, function* () {
2527
+ return yield this.connector.getComponentActivitiesWithoutRelationFiltering(table, key);
2528
+ });
2529
+ }
2530
+ updateActivity(activity) {
2531
+ return __awaiter(this, void 0, void 0, function* () {
2532
+ return yield this.connector.updateActivity(activity);
2533
+ });
2534
+ }
2535
+ deleteActivity(activity) {
2536
+ return __awaiter(this, void 0, void 0, function* () {
2537
+ return yield this.connector.deleteActivity(activity);
2538
+ });
2539
+ }
2540
+ lockTask(id) {
2541
+ return __awaiter(this, void 0, void 0, function* () {
2542
+ return yield this.connector.lockTask(id);
2543
+ });
2544
+ }
2545
+ canFireTrigger(activity, task) {
2546
+ return true;
2547
+ }
2548
+ fireTrigger(workFlowProcessId, sequence, triggerId) {
2549
+ return __awaiter(this, void 0, void 0, function* () {
2550
+ return yield this.connector.fireTrigger(workFlowProcessId, sequence, triggerId);
2551
+ });
2552
+ }
2553
+ fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId) {
2554
+ return __awaiter(this, void 0, void 0, function* () {
2555
+ return yield this.connector.fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId);
2556
+ });
2557
+ }
2427
2558
  getRelationListObjects(request) {
2428
2559
  return __awaiter(this, void 0, void 0, function* () {
2429
2560
  return yield this.connector.getRelationListObjects(request);
@@ -2449,6 +2580,11 @@ class SharedService {
2449
2580
  return yield this.connector.getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key);
2450
2581
  });
2451
2582
  }
2583
+ getWorkflowProcessInfoPerStatus(workflowCategory) {
2584
+ return __awaiter(this, void 0, void 0, function* () {
2585
+ return yield this.connector.getWorkflowProcessInfoPerStatus(workflowCategory);
2586
+ });
2587
+ }
2452
2588
  getActivities(table, key) {
2453
2589
  return __awaiter(this, void 0, void 0, function* () {
2454
2590
  const activities = yield this.connector.getComponentActivities(table, key);
@@ -7495,6 +7631,88 @@ class SimpleTagsComponent {
7495
7631
  this._tags = [];
7496
7632
  this._linkedTags = [];
7497
7633
  }
7634
+ set tags(tags) {
7635
+ this._tags = tags;
7636
+ }
7637
+ get tags() {
7638
+ return this._tags;
7639
+ }
7640
+ set linkedTags(tags) {
7641
+ this._linkedTags = tags;
7642
+ }
7643
+ get linkedTags() {
7644
+ return this._linkedTags;
7645
+ }
7646
+ showClass() {
7647
+ return true;
7648
+ }
7649
+ handleSaveTags() {
7650
+ this.saveClick.next(this._linkedTags);
7651
+ this.closeClick.next();
7652
+ }
7653
+ }
7654
+ SimpleTagsComponent.decorators = [
7655
+ { type: Component, args: [{
7656
+ selector: "co-simple-tags",
7657
+ template: `
7658
+ <co-dialog
7659
+ [headerTemplate]="headerTemplate"
7660
+ [footerTemplate]="footerTemplate"
7661
+ (closeClick)="closeClick.emit()"
7662
+ >
7663
+ <ng-template #headerTemplate>
7664
+ <div class="header-wrapper">
7665
+ <co-icon [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
7666
+ <span class="co-dialog-header-title" [textContent]="'Tags'"></span>
7667
+ </div>
7668
+ </ng-template>
7669
+
7670
+ <div class="dialog-content-wrapper">
7671
+ <co-simple-tags-form [tags]="tags" [(linkedTags)]="linkedTags"></co-simple-tags-form>
7672
+ </div>
7673
+
7674
+ <ng-template #footerTemplate>
7675
+ <div class="co-dialog-footer-button-wrapper">
7676
+ <co-button class="save-button"
7677
+ [iconData]="iconCacheService.getIcon(icon.CheckDuotone)"
7678
+ (click)="handleSaveTags()"
7679
+ ></co-button>
7680
+ <co-button
7681
+ class="close-button"
7682
+ [iconData]="iconCacheService.getIcon(icon.CrossSkinny)"
7683
+ (click)="closeClick.next()"
7684
+ ></co-button>
7685
+ </div>
7686
+ </ng-template>
7687
+ </co-dialog>
7688
+ `,
7689
+ encapsulation: ViewEncapsulation.None
7690
+ },] }
7691
+ ];
7692
+ SimpleTagsComponent.ctorParameters = () => [
7693
+ { type: IconCacheService },
7694
+ { type: SharedService }
7695
+ ];
7696
+ SimpleTagsComponent.propDecorators = {
7697
+ tags: [{ type: Input }],
7698
+ linkedTags: [{ type: Input }],
7699
+ closeClick: [{ type: Output }],
7700
+ saveClick: [{ type: Output }],
7701
+ showClass: [{ type: HostBinding, args: ["class.co-simple-tags",] }]
7702
+ };
7703
+
7704
+ class SimpleTagsFormComponent {
7705
+ constructor(iconCacheService, sharedService) {
7706
+ this.iconCacheService = iconCacheService;
7707
+ this.sharedService = sharedService;
7708
+ this.icon = Icon;
7709
+ this.linkedTagsChange = new EventEmitter();
7710
+ this.breadCrumbs = [];
7711
+ this.displayTags = [];
7712
+ this.searchString = '';
7713
+ this._tags = [];
7714
+ this._linkedTags = [];
7715
+ }
7498
7716
  set tags(tags) {
7499
7717
  this._tags = tags;
7500
7718
  this.setRootDisplayTags();
@@ -7567,10 +7785,6 @@ class SimpleTagsComponent {
7567
7785
  this.displayTags = matchingObjects;
7568
7786
  this.breadCrumbs = [];
7569
7787
  }
7570
- handleSaveTags() {
7571
- this.saveClick.next(this._linkedTags);
7572
- this.closeClick.next();
7573
- }
7574
7788
  _loadThumbnail(tagTreeItem) {
7575
7789
  if (tagTreeItem.image && tagTreeItem.image.documentId && !tagTreeItem.image.thumbnailBody) {
7576
7790
  this.sharedService.getDocumentContent(tagTreeItem.image.documentId, true)
@@ -7582,52 +7796,40 @@ class SimpleTagsComponent {
7582
7796
  }
7583
7797
  }
7584
7798
  }
7585
- SimpleTagsComponent.decorators = [
7799
+ SimpleTagsFormComponent.decorators = [
7586
7800
  { type: Component, args: [{
7587
- selector: "co-simple-tags",
7801
+ selector: "co-simple-tags-form",
7588
7802
  template: `
7589
- <co-dialog
7590
- [headerTemplate]="headerTemplate"
7591
- [footerTemplate]="footerTemplate"
7592
- (closeClick)="closeClick.emit()"
7593
- >
7594
- <ng-template #headerTemplate>
7595
- <div class="header-wrapper">
7596
- <co-icon [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
7597
- <span class="co-dialog-header-title" [textContent]="'Tags'"></span>
7598
- </div>
7599
- </ng-template>
7600
-
7601
- <div class="dialog-content-wrapper">
7602
- <div class="collection-navigation co-small-scrollbar">
7603
- <span class="title" [textContent]="'Beschikbare tags'"></span>
7604
- <co-input-search
7605
- [(model)]="searchString"
7606
- [placeholder]="'Search for tag name'"
7607
- (search)="searchCollection()"
7608
- (modelChange)="searchCollection()"
7609
- (rightIconClick)="searchCollection()"
7610
- ></co-input-search>
7611
- <div class="breadcrumbs">
7612
- <co-icon
7613
- [iconData]="iconCacheService.getIcon(icon.HouseBlankRegular)"
7614
- (click)="setRootDisplayTags()"
7615
- ></co-icon>
7616
- <div class="crumbs">
7617
- <span class="spacer" [textContent]="'|'"></span>
7618
- <div class="crumb" *ngFor="let crumb of breadCrumbs; let index = index" (click)="handleCrumbClicked(crumb, index)">
7619
- <span class="spacer" *ngIf="index !== 0" [textContent]="'/'"></span>
7620
- <span [textContent]="crumb.description"></span>
7621
- </div>
7803
+ <div class="form-content-wrapper">
7804
+ <div class="collection-navigation co-small-scrollbar">
7805
+ <span class="title" [textContent]="'Beschikbare tags'"></span>
7806
+ <co-input-search
7807
+ [(model)]="searchString"
7808
+ [placeholder]="'Search for tag name'"
7809
+ (search)="searchCollection()"
7810
+ (modelChange)="searchCollection()"
7811
+ (rightIconClick)="searchCollection()"
7812
+ ></co-input-search>
7813
+ <div class="breadcrumbs">
7814
+ <co-icon
7815
+ [iconData]="iconCacheService.getIcon(icon.HouseBlankRegular)"
7816
+ (click)="setRootDisplayTags()"
7817
+ ></co-icon>
7818
+ <div class="crumbs">
7819
+ <span class="spacer" [textContent]="'|'"></span>
7820
+ <div class="crumb" *ngFor="let crumb of breadCrumbs; let index = index" (click)="handleCrumbClicked(crumb, index)">
7821
+ <span class="spacer" *ngIf="index !== 0" [textContent]="'/'"></span>
7822
+ <span [textContent]="crumb.description"></span>
7622
7823
  </div>
7623
7824
  </div>
7624
- <div class="collection-view"
7625
- cdkDropList
7626
- cdkDropListSortingDisabled
7627
- #collectionList="cdkDropList"
7628
- [cdkDropListData]="displayTags"
7629
- [cdkDropListConnectedTo]="[linkedList]"
7630
- ><div class="collection-item"
7825
+ </div>
7826
+ <div class="collection-view"
7827
+ cdkDropList
7828
+ cdkDropListSortingDisabled
7829
+ #collectionList="cdkDropList"
7830
+ [cdkDropListData]="displayTags"
7831
+ [cdkDropListConnectedTo]="[linkedList]">
7832
+ <div class="collection-item"
7631
7833
  *ngFor="let tag of displayTags"
7632
7834
  cdkDrag
7633
7835
  [cdkDragDisabled]="tag.tagType !== 'T' || linkedTags.includes(tag)"
@@ -7645,68 +7847,73 @@ SimpleTagsComponent.decorators = [
7645
7847
  <co-icon *ngIf="tag.tagType === 'T'" [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
7646
7848
  <span [textContent]="tag.description"></span>
7647
7849
  </div>
7648
- </div>
7649
7850
  </div>
7851
+ </div>
7650
7852
 
7651
- <div class="linked-tags-view">
7652
- <span class="title" [textContent]="'Gekoppelde tags'"></span>
7653
- <div class="view-wrapper"
7654
- cdkDropList
7655
- #linkedList="cdkDropList"
7656
- [cdkDropListData]="linkedTags"
7657
- (cdkDropListDropped)="handleAddTag($event)">
7658
- <div class="tag-item" *ngFor="let tag of linkedTags" [cdkDragDisabled]="true" cdkDrag [style.background-color]="tag.color?.replace('0x', '#')">
7659
- <div class="placeholderLinked" *cdkDragPlaceholder></div>
7853
+ <div class="linked-tags-view">
7854
+ <span class="title" [textContent]="'Gekoppelde tags'"></span>
7855
+ <div class="view-wrapper"
7856
+ cdkDropList
7857
+ #linkedList="cdkDropList"
7858
+ [cdkDropListData]="linkedTags"
7859
+ (cdkDropListDropped)="handleAddTag($event)">
7860
+ <div class="tag-item" *ngFor="let tag of linkedTags" [cdkDragDisabled]="true" cdkDrag [style.background-color]="tag.color?.replace('0x', '#')">
7861
+ <div class="placeholderLinked" *cdkDragPlaceholder></div>
7660
7862
 
7661
- <div class="thumbnail-description">
7662
- <co-icon *ngIf="!tag.image?.thumbnailBody" [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
7663
- <div *ngIf="tag.image" class="thumbnail-wrapper">
7664
- <img [src]="tag.image.thumbnailBodyAsDataUri">
7665
- </div>
7863
+ <div class="thumbnail-description">
7864
+ <co-icon *ngIf="!tag.image?.thumbnailBody" [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
7865
+ <div *ngIf="tag.image" class="thumbnail-wrapper">
7866
+ <img [src]="tag.image.thumbnailBodyAsDataUri">
7867
+ </div>
7666
7868
 
7667
- <div class="description-wrapper">
7668
- <span [textContent]="tag.parentDescription"></span>
7669
- <span class="description" [textContent]="tag.description"></span>
7670
- </div>
7869
+ <div class="description-wrapper">
7870
+ <span [textContent]="tag.parentDescription"></span>
7871
+ <span class="description" [textContent]="tag.description"></span>
7671
7872
  </div>
7672
- <co-icon class="delete-tag" (click)="deleteLinkedTag(tag)"
7673
- [iconData]="iconCacheService.getIcon(icon.XSolid)"
7674
- ></co-icon>
7675
7873
  </div>
7874
+ <co-icon class="delete-tag" (click)="deleteLinkedTag(tag)"
7875
+ [iconData]="iconCacheService.getIcon(icon.XSolid)"
7876
+ ></co-icon>
7676
7877
  </div>
7677
7878
  </div>
7678
7879
  </div>
7679
-
7680
- <ng-template #footerTemplate>
7681
- <div class="co-dialog-footer-button-wrapper">
7682
- <co-button class="save-button"
7683
- [iconData]="iconCacheService.getIcon(icon.CheckDuotone)"
7684
- (click)="handleSaveTags()"
7685
- ></co-button>
7686
- <co-button
7687
- class="close-button"
7688
- [iconData]="iconCacheService.getIcon(icon.CrossSkinny)"
7689
- (click)="closeClick.next()"
7690
- ></co-button>
7691
- </div>
7692
- </ng-template>
7693
- </co-dialog>
7880
+ </div>
7694
7881
  `,
7695
7882
  encapsulation: ViewEncapsulation.None
7696
7883
  },] }
7697
7884
  ];
7698
- SimpleTagsComponent.ctorParameters = () => [
7885
+ SimpleTagsFormComponent.ctorParameters = () => [
7699
7886
  { type: IconCacheService },
7700
7887
  { type: SharedService }
7701
7888
  ];
7702
- SimpleTagsComponent.propDecorators = {
7889
+ SimpleTagsFormComponent.propDecorators = {
7703
7890
  tags: [{ type: Input }],
7704
7891
  linkedTags: [{ type: Input }],
7705
- closeClick: [{ type: Output }],
7706
- saveClick: [{ type: Output }],
7707
- showClass: [{ type: HostBinding, args: ["class.co-simple-tags",] }]
7892
+ linkedTagsChange: [{ type: Output }],
7893
+ showClass: [{ type: HostBinding, args: ["class.co-simple-tags-form",] }]
7708
7894
  };
7709
7895
 
7896
+ class SimpleTagsFormModule {
7897
+ }
7898
+ SimpleTagsFormModule.decorators = [
7899
+ { type: NgModule, args: [{
7900
+ imports: [
7901
+ CommonModule,
7902
+ CoDialogModule,
7903
+ InputSearchModule,
7904
+ IconModule,
7905
+ DragDropModule,
7906
+ ButtonModule
7907
+ ],
7908
+ declarations: [
7909
+ SimpleTagsFormComponent
7910
+ ],
7911
+ exports: [
7912
+ SimpleTagsFormComponent
7913
+ ]
7914
+ },] }
7915
+ ];
7916
+
7710
7917
  class SimpleTagsModule {
7711
7918
  }
7712
7919
  SimpleTagsModule.decorators = [
@@ -7717,7 +7924,8 @@ SimpleTagsModule.decorators = [
7717
7924
  InputSearchModule,
7718
7925
  IconModule,
7719
7926
  DragDropModule,
7720
- ButtonModule
7927
+ ButtonModule,
7928
+ SimpleTagsFormModule
7721
7929
  ],
7722
7930
  declarations: [
7723
7931
  SimpleTagsComponent
@@ -10347,12 +10555,12 @@ class ImageDisplayComponent {
10347
10555
  ImageDisplayComponent.decorators = [
10348
10556
  { type: Component, args: [{
10349
10557
  selector: "co-image-display",
10350
- template: `
10351
- <img class="image" *ngIf="!!model" [src]="model">
10352
- <div class="no-image" *ngIf="!model">
10353
- <div class="img"></div>
10354
- <div class="no-image-label" [textContent]="label | localize"></div>
10355
- </div>
10558
+ template: `
10559
+ <img class="image" *ngIf="!!model" [src]="model">
10560
+ <div class="no-image" *ngIf="!model">
10561
+ <div class="img"></div>
10562
+ <div class="no-image-label" [textContent]="label | localize"></div>
10563
+ </div>
10356
10564
  `,
10357
10565
  providers: [{
10358
10566
  provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
@@ -11145,6 +11353,7 @@ class BaseActivityListComponent {
11145
11353
  this.privateDelegatedActivityListViewModels = [];
11146
11354
  this.filteredActivityListViewModels = [];
11147
11355
  this.filteredDelegatedActivityListViewModels = [];
11356
+ this._showUsergroupActivities = false;
11148
11357
  this._activities = [];
11149
11358
  this._delegatedActivities = [];
11150
11359
  //protected userService: UserService
@@ -11173,9 +11382,10 @@ class BaseActivityListComponent {
11173
11382
  }
11174
11383
  // TODO: return this.userService.showUsergroupActivities and allow to set properly;
11175
11384
  get showUsergroupActivities() {
11176
- return false;
11385
+ return this._showUsergroupActivities;
11177
11386
  }
11178
11387
  set showUsergroupActivities(value) {
11388
+ this._showUsergroupActivities = value;
11179
11389
  }
11180
11390
  ngOnDestroy() {
11181
11391
  clearInterval(this._updateInterval);
@@ -11195,7 +11405,7 @@ class BaseActivityListComponent {
11195
11405
  afterFilterApplied() {
11196
11406
  }
11197
11407
  getTheActivities() {
11198
- //this.getActivities();
11408
+ this.getActivities();
11199
11409
  this.getDelegatedActivities();
11200
11410
  }
11201
11411
  _removeNotShowing(listViewModels) {
@@ -11422,10 +11632,6 @@ var ActivityCfgName;
11422
11632
  ActivityCfgName["WorkedTime"] = "workedTime";
11423
11633
  })(ActivityCfgName || (ActivityCfgName = {}));
11424
11634
 
11425
- function OperationWithValidationCallback(object, object2, object3) {
11426
- return Promise.resolve(new ValidationResult());
11427
- }
11428
-
11429
11635
  var AppPopupButtonType;
11430
11636
  (function (AppPopupButtonType) {
11431
11637
  AppPopupButtonType[AppPopupButtonType["Ok"] = 0] = "Ok";
@@ -11438,13 +11644,13 @@ var AppPopupButtonType;
11438
11644
  })(AppPopupButtonType || (AppPopupButtonType = {}));
11439
11645
 
11440
11646
  class ModifyTaskFormComponent {
11441
- constructor(_boFactory, sharedService
11647
+ constructor(_boFactory, sharedService, iconCacheService
11442
11648
  //private _mediaMonitor: MediaMonitorService,
11443
11649
  /*private _activityService: ActivityService*/
11444
11650
  ) {
11445
11651
  this._boFactory = _boFactory;
11446
11652
  this.sharedService = sharedService;
11447
- this.Icon = Icon;
11653
+ this.iconCacheService = iconCacheService;
11448
11654
  //public readonly TagCategory: typeof TagCategory = TagCategory;
11449
11655
  this.TableNames = TableName$1;
11450
11656
  this.readonly = false;
@@ -11456,6 +11662,7 @@ class ModifyTaskFormComponent {
11456
11662
  this.activities = [];
11457
11663
  this.table = TableName$1.Tasks;
11458
11664
  this.expandActivities = false;
11665
+ this.showTagPopup = false;
11459
11666
  }
11460
11667
  /* @ViewChild(ActivityActivitiesComponent, { static: true })
11461
11668
  public activityActivities: ActivityActivitiesComponent;*/
@@ -11484,6 +11691,7 @@ class ModifyTaskFormComponent {
11484
11691
  }
11485
11692
  ngOnInit() {
11486
11693
  this._getActivities();
11694
+ this._getTags();
11487
11695
  }
11488
11696
  showContent(menu) {
11489
11697
  this.selectedMenu = menu;
@@ -11521,6 +11729,13 @@ class ModifyTaskFormComponent {
11521
11729
  this.expandActivities = true;
11522
11730
  this.showWorkLog.emit();
11523
11731
  }
11732
+ handleEditTags() {
11733
+ this._getTags();
11734
+ this.showTagPopup = true;
11735
+ }
11736
+ handleSaveTags(tags) {
11737
+ this.activity.task.tags = tags;
11738
+ }
11524
11739
  _updateTaskObject(activity, prop) {
11525
11740
  const cloneActivity = this._boFactory.makeWithRawBackendData(Activity, activity);
11526
11741
  if (cloneActivity.isNew) {
@@ -11545,6 +11760,20 @@ class ModifyTaskFormComponent {
11545
11760
  this.activities = yield this.sharedService.getActivities(this.table, this.key.toString());
11546
11761
  });
11547
11762
  }
11763
+ _getTags() {
11764
+ return __awaiter(this, void 0, void 0, function* () {
11765
+ this.allTags = yield this.sharedService.getTagsFullTree(TagCategory.tasks, true);
11766
+ /*if (!this.key) {
11767
+ return;
11768
+ } else {
11769
+ this.editingTags = await this.sharedService.getJoinedTags(this.table, this.key.toString());
11770
+ }*/ /*if (!this.key) {
11771
+ return;
11772
+ } else {
11773
+ this.editingTags = await this.sharedService.getJoinedTags(this.table, this.key.toString());
11774
+ }*/
11775
+ });
11776
+ }
11548
11777
  }
11549
11778
  ModifyTaskFormComponent.decorators = [
11550
11779
  { type: Component, args: [{
@@ -11646,15 +11875,17 @@ ModifyTaskFormComponent.decorators = [
11646
11875
  (activityChange)="activityChange.emit($event)" noBorder
11647
11876
  ></co-notification-summary-block>
11648
11877
 
11649
- <!--TODO implement tags here-->
11650
- <!--<tags
11651
- [(joinedTags)]="activity.task.tags"
11652
- [readonly]="readonly"
11653
- [tagCategory]="TagCategory.tasks"
11654
- [collapseable]="false"
11655
- ></tags>-->
11878
+ <div class="edit-tags-wrapper">
11879
+ <co-simple-tags-form [tags]="allTags"
11880
+ [linkedTags]="activity.task.tags">
11881
+ </co-simple-tags-form>
11882
+ </div>
11883
+ <div class="transaction-tag-wrapper" *ngFor="let tag of activity.task.tags">
11884
+ <div class="tag" [textContent]="tag.description"></div>
11885
+ </div>
11656
11886
  </div>
11657
11887
  </div>
11888
+
11658
11889
  </div>
11659
11890
  `,
11660
11891
  providers: [
@@ -11668,7 +11899,8 @@ ModifyTaskFormComponent.decorators = [
11668
11899
  ];
11669
11900
  ModifyTaskFormComponent.ctorParameters = () => [
11670
11901
  { type: BusinessObjectFactory },
11671
- { type: SharedService }
11902
+ { type: SharedService },
11903
+ { type: IconCacheService$1 }
11672
11904
  ];
11673
11905
  ModifyTaskFormComponent.propDecorators = {
11674
11906
  activity: [{ type: Input }],
@@ -11687,11 +11919,12 @@ __decorate([
11687
11919
  ], ModifyTaskFormComponent.prototype, "forceReadonly", null);
11688
11920
 
11689
11921
  class TaskModifierComponent {
11690
- constructor(_dialogService, _boFactory, _dictionary, iconService) {
11922
+ constructor(_dialogService, _boFactory, _dictionary, iconService, sharedService) {
11691
11923
  this._dialogService = _dialogService;
11692
11924
  this._boFactory = _boFactory;
11693
11925
  this._dictionary = _dictionary;
11694
11926
  this.iconService = iconService;
11927
+ this.sharedService = sharedService;
11695
11928
  this.icons = Icon;
11696
11929
  this.editingComplete = new EventEmitter();
11697
11930
  this.activitySaved = new EventEmitter();
@@ -11756,7 +11989,7 @@ class TaskModifierComponent {
11756
11989
  return __awaiter(this, void 0, void 0, function* () {
11757
11990
  if (this.editActivity) {
11758
11991
  const newActivity = this.editActivity.isNew;
11759
- const result = yield this.upsertActivityOperation(this.editActivity);
11992
+ const result = yield this.sharedService.updateActivity(this.editActivity);
11760
11993
  if (result) {
11761
11994
  this.activitySaved.next(this.editActivity);
11762
11995
  this.editingComplete.next(this.editActivity);
@@ -11803,7 +12036,7 @@ class TaskModifierComponent {
11803
12036
  return __awaiter(this, void 0, void 0, function* () {
11804
12037
  const doDelete = yield this._dialogService.showYesNo("DELETE_TASK", "DELETE_TASK", false);
11805
12038
  if (doDelete.button === AppPopupButtonType.Yes) {
11806
- yield this.deleteActivityOperation(this.editActivity);
12039
+ yield this.sharedService.deleteActivity(this.editActivity);
11807
12040
  this.activityDeleted.next(this.editActivity);
11808
12041
  this.hide();
11809
12042
  }
@@ -11826,7 +12059,7 @@ class TaskModifierComponent {
11826
12059
  return;
11827
12060
  }
11828
12061
  this.showAfterInsert = false;
11829
- yield this.tryLockTaskOperation(activity.task.taskId);
12062
+ yield this.sharedService.lockTask(activity.task.taskId);
11830
12063
  activity.task = activity.task;
11831
12064
  this.currentActivity = activity;
11832
12065
  this._createClone();
@@ -11917,7 +12150,8 @@ TaskModifierComponent.ctorParameters = () => [
11917
12150
  { type: CoreDialogService },
11918
12151
  { type: BusinessObjectFactory },
11919
12152
  { type: DictionaryService },
11920
- { type: IconCacheService }
12153
+ { type: IconCacheService },
12154
+ { type: SharedService }
11921
12155
  ];
11922
12156
  TaskModifierComponent.propDecorators = {
11923
12157
  mainForm: [{ type: ViewChild, args: [FormComponent,] }],
@@ -11927,9 +12161,6 @@ TaskModifierComponent.propDecorators = {
11927
12161
  referenceId: [{ type: Input }],
11928
12162
  userGroupId: [{ type: Input }],
11929
12163
  relationId: [{ type: Input }],
11930
- upsertActivityOperation: [{ type: Input }],
11931
- deleteActivityOperation: [{ type: Input }],
11932
- tryLockTaskOperation: [{ type: Input }],
11933
12164
  createTaskOperation: [{ type: Input }],
11934
12165
  forceReadonly: [{ type: Input }],
11935
12166
  editingComplete: [{ type: Output }],
@@ -11946,9 +12177,14 @@ __decorate([
11946
12177
  ], TaskModifierComponent.prototype, "forceReadonly", void 0);
11947
12178
 
11948
12179
  class BaseActivityOverviewComponent {
11949
- constructor(_dialogService, _dictionaryService) {
12180
+ constructor(_dialogService, _dictionaryService, _sharedService
12181
+ //TODO reinstate when formbuilder is transferred
12182
+ //private _formRepo: FormDalRepository,
12183
+ /*private _router: Router*/
12184
+ ) {
11950
12185
  this._dialogService = _dialogService;
11951
12186
  this._dictionaryService = _dictionaryService;
12187
+ this._sharedService = _sharedService;
11952
12188
  this.icon = Icon;
11953
12189
  this.cfgNames = ActivityCfgName;
11954
12190
  this.taskCfgNames = {
@@ -11963,13 +12199,7 @@ class BaseActivityOverviewComponent {
11963
12199
  tagsHeader: ActivityCfgName.TagsHeader,
11964
12200
  taskInvoice: ActivityCfgName.TaskInvoice
11965
12201
  };
11966
- this.canFireTriggerOperation = OperationWithAlwaysSuccessCallback;
11967
12202
  this.prepareWorkflowOperation = OperationWithAlwaysSuccessCallback;
11968
- this.lockTaskOperation = OperationWithAlwaysSuccessCallback;
11969
- this.deleteActivityOperation = OperationWithAlwaysSuccessCallback;
11970
- this.upsertActivityOperation = OperationWithAlwaysSuccessCallback;
11971
- this.fireGenericTriggerOperation = OperationWithValidationCallback;
11972
- this.fireTriggerOperation = OperationWithValidationCallback;
11973
12203
  this.handleOpenLinkSidebar = false;
11974
12204
  this.activityChange = new EventEmitter();
11975
12205
  this.activityDeleted = new EventEmitter();
@@ -12009,7 +12239,7 @@ class BaseActivityOverviewComponent {
12009
12239
  }
12010
12240
  handleGenericTriggerClick(event) {
12011
12241
  return __awaiter(this, void 0, void 0, function* () {
12012
- const result = yield this.fireGenericTriggerOperation(this.workFlow.workflowProcessId, event.genericTransitionId, this.userRelationId);
12242
+ const result = yield this._sharedService.fireGenericTrigger(this.workFlow.workflowProcessId, event.genericTransitionId, this.userRelationId);
12013
12243
  if (result.success) {
12014
12244
  this.genericTriggerFired.next(this.activity);
12015
12245
  }
@@ -12040,13 +12270,13 @@ class BaseActivityOverviewComponent {
12040
12270
  this.showCreateForm = true;*/
12041
12271
  }
12042
12272
  else {
12043
- /*if (eventTrigger.toClosedState && !await this.canFireTriggerOperation({activity: this.activity, task: this.activity.task})) {
12044
- await this.prepareWorkflowOperation({table: this.workFlow.table, key: this.workFlow.key});
12273
+ if (eventTrigger.toClosedState && !this._sharedService.canFireTrigger(this.activity, this.activity.task)) {
12274
+ yield this.prepareWorkflowOperation({ table: this.workFlow.table, key: this.workFlow.key });
12045
12275
  this.triggerToFireOnSave = eventTrigger;
12046
12276
  this.showTaskFormAndWorkLog();
12047
12277
  return;
12048
- }*/
12049
- const result = yield this.fireTriggerOperation(this.workFlow.workflowProcessId, this.workFlow.sequence, eventTrigger.triggerId);
12278
+ }
12279
+ const result = yield this._sharedService.fireTrigger(this.workFlow.workflowProcessId, this.workFlow.sequence, eventTrigger.triggerId);
12050
12280
  if (result.success) {
12051
12281
  this.triggerFired.next(this.activity);
12052
12282
  }
@@ -12186,19 +12416,14 @@ BaseActivityOverviewComponent.decorators = [
12186
12416
  ];
12187
12417
  BaseActivityOverviewComponent.ctorParameters = () => [
12188
12418
  { type: CoreDialogService },
12189
- { type: DictionaryService }
12419
+ { type: DictionaryService },
12420
+ { type: SharedService }
12190
12421
  ];
12191
12422
  BaseActivityOverviewComponent.propDecorators = {
12192
12423
  taskModifier: [{ type: ViewChild, args: [TaskModifierComponent, { static: true },] }],
12193
12424
  viewModel: [{ type: Input }],
12194
12425
  triggerToFireOnSave: [{ type: Input }],
12195
- canFireTriggerOperation: [{ type: Input }],
12196
12426
  prepareWorkflowOperation: [{ type: Input }],
12197
- lockTaskOperation: [{ type: Input }],
12198
- deleteActivityOperation: [{ type: Input }],
12199
- upsertActivityOperation: [{ type: Input }],
12200
- fireGenericTriggerOperation: [{ type: Input }],
12201
- fireTriggerOperation: [{ type: Input }],
12202
12427
  userRelationId: [{ type: Input }],
12203
12428
  userGroupId: [{ type: Input }],
12204
12429
  handleOpenLinkSidebar: [{ type: Input }],
@@ -12253,9 +12478,14 @@ PersonalActivityOverviewComponent.propDecorators = {
12253
12478
  showClass: [{ type: HostBinding, args: ["class.co-personal-activity-overview",] }]
12254
12479
  };
12255
12480
 
12481
+ function OperationWithValidationCallback(object, object2, object3) {
12482
+ return Promise.resolve(new ValidationResult());
12483
+ }
12484
+
12256
12485
  class ComponentActivityListComponent extends BaseActivityListComponent {
12257
- constructor() {
12486
+ constructor(sharedService) {
12258
12487
  super();
12488
+ this.sharedService = sharedService;
12259
12489
  this.tabs = PersonalActivityTabEnum;
12260
12490
  this.icons = Icon;
12261
12491
  this.activityClass = Activity;
@@ -12263,19 +12493,12 @@ class ComponentActivityListComponent extends BaseActivityListComponent {
12263
12493
  this.hideTitle = false;
12264
12494
  this.noFreeTasks = false;
12265
12495
  this.componentActivitiesMethod = OperationWithAlwaysSuccessCallback;
12266
- this.fireGenericTriggerOperation = OperationWithValidationCallback;
12267
- this.fireTriggerOperation = OperationWithValidationCallback;
12268
- this.canFireTriggerOperation = OperationWithAlwaysSuccessCallback;
12269
12496
  this.setHasPausedNotificationsForWorkflowProcessOperation = OperationWithValidationCallback;
12270
- this.lockTaskOperation = OperationWithAlwaysSuccessCallback;
12271
- this.deleteActivityOperation = OperationWithAlwaysSuccessCallback;
12272
- this.upsertActivityOperation = OperationWithAlwaysSuccessCallback;
12273
12497
  this.openLinkClick = new EventEmitter();
12274
12498
  this.amountActivityChanged = new EventEmitter();
12275
12499
  this.linkClicked = new EventEmitter();
12276
12500
  this.formCreated = new EventEmitter();
12277
- this.genericTriggerFired = new EventEmitter();
12278
- this.triggerFired = new EventEmitter();
12501
+ this.refreshRequested = new EventEmitter();
12279
12502
  this.showUsergroupActivitiesChanged = new EventEmitter();
12280
12503
  this.activeTab = PersonalActivityTabEnum.TODO;
12281
12504
  /*public activitySortList: boolean[] = [];*/
@@ -12303,24 +12526,38 @@ class ComponentActivityListComponent extends BaseActivityListComponent {
12303
12526
  trackByFn(index, vm) {
12304
12527
  return vm.activity.id + '_' + vm.activity.workflow.combinedTriggerIds;
12305
12528
  }
12306
- //TODO do we still need this?
12307
- /*async ngOnInit(): Promise<void> {
12308
- this._subs.push(
12309
- this._appEventService.taskCreated.subscribe(() => {
12310
- this.getTheActivities();
12311
- }),
12312
- this._appEventService.taskModified.subscribe(() => {
12313
- this.getTheActivities();
12314
- }),
12315
- this._appEventService.triggerFired.subscribe(() => {
12316
- this.getTheActivities();
12317
- })
12318
- );
12319
- }*/
12529
+ ngOnInit() {
12530
+ return __awaiter(this, void 0, void 0, function* () {
12531
+ this.getTheActivities();
12532
+ /*this._subs.push(
12533
+ this._appEventService.taskCreated.subscribe(() => {
12534
+ this.getTheActivities();
12535
+ }),
12536
+ this._appEventService.taskModified.subscribe(() => {
12537
+ this.getTheActivities();
12538
+ })
12539
+ );*/
12540
+ });
12541
+ }
12320
12542
  ngOnDestroy() {
12321
- this._subs.forEach(s => s.unsubscribe());
12543
+ //this._subs.forEach(s => s.unsubscribe());
12322
12544
  super.ngOnDestroy();
12323
12545
  }
12546
+ getActivities() {
12547
+ return __awaiter(this, void 0, void 0, function* () {
12548
+ if (this.table && this.key) {
12549
+ const allActivities = yield this.sharedService.getComponentActivitiesWithoutRelationFiltering(this.table, this.key);
12550
+ if (allActivities) {
12551
+ this.activities = this.noFreeTasks ? allActivities.filter(aa => !aa.task && aa.activityType !== ActivityType.WorkflowTask) :
12552
+ allActivities.filter(aa => aa.activityType !== ActivityType.WorkflowTask);
12553
+ }
12554
+ else {
12555
+ this.activities = [];
12556
+ }
12557
+ this.amountActivityChanged.next(this.activities.length);
12558
+ }
12559
+ });
12560
+ }
12324
12561
  set activitiesList(allActivities) {
12325
12562
  this._activitiesList = allActivities;
12326
12563
  if (allActivities) {
@@ -12334,18 +12571,6 @@ class ComponentActivityListComponent extends BaseActivityListComponent {
12334
12571
  get activitiesList() {
12335
12572
  return this._activitiesList;
12336
12573
  }
12337
- /*public async getActivities(): Promise<void> {
12338
- if (this.table && this.key) {
12339
- const allActivities: Activity[] = await this._activityRepo.getComponentActivities(this.table, this.key);
12340
- if (allActivities) {
12341
- this.activities = this.noFreeTasks ? allActivities.filter(aa => !aa.task && aa.activityType !== ActivityType.WorkflowTask) :
12342
- allActivities.filter(aa => aa.activityType !== ActivityType.WorkflowTask);
12343
- } else {
12344
- this.activities = [];
12345
- }
12346
- this.amountActivityChanged.next(this.activities.length);
12347
- }
12348
- }*/
12349
12574
  getDelegatedActivities() {
12350
12575
  return __awaiter(this, void 0, void 0, function* () {
12351
12576
  // const allActivities: Activity[] = await this._activityRepo.getComponentActivities(this.table, this.key);
@@ -12360,10 +12585,12 @@ class ComponentActivityListComponent extends BaseActivityListComponent {
12360
12585
  this.showUsergroupActivitiesChanged.next();
12361
12586
  }
12362
12587
  handleTriggerFired(activity) {
12363
- this.triggerFired.next(activity);
12588
+ this.getTheActivities();
12589
+ this.refreshRequested.emit();
12364
12590
  }
12365
12591
  handleGenericTriggerFired(activity) {
12366
- this.genericTriggerFired.next(activity);
12592
+ this.getTheActivities();
12593
+ this.refreshRequested.emit();
12367
12594
  }
12368
12595
  handleFormCreation() {
12369
12596
  this.formCreated.next();
@@ -12439,15 +12666,9 @@ ComponentActivityListComponent.decorators = [
12439
12666
  [(expanded)]="activityListViewModel.expanded">
12440
12667
  <ng-container *ngFor="let activityViewModel of activityListViewModel.activities; trackBy: trackByFn; let index = index">
12441
12668
  <co-component-activity-overview *ngIf="activityViewModel.showing"
12442
- [fireGenericTriggerOperation]="fireGenericTriggerOperation"
12443
- [fireTriggerOperation]="fireTriggerOperation"
12444
- [canFireTriggerOperation]="canFireTriggerOperation"
12445
12669
  [viewModel]="activityViewModel"
12446
12670
  [userRelationId]="relationId"
12447
12671
  [userGroupId]="userGroupId"
12448
- [lockTaskOperation]="lockTaskOperation"
12449
- [deleteActivityOperation]="deleteActivityOperation"
12450
- [upsertActivityOperation]="upsertActivityOperation"
12451
12672
  (activityChange)="handleChangedActivity(index, $event)"
12452
12673
  (activityDeleted)="deleteActivity($event)"
12453
12674
  (genericTriggerFired)="handleGenericTriggerFired($event)"
@@ -12465,9 +12686,6 @@ ComponentActivityListComponent.decorators = [
12465
12686
  [(expanded)]="activityListViewModel.expanded">
12466
12687
  <ng-container *ngFor="let activityViewModel of activityListViewModel.activities; trackBy: trackByFn; let index = index">
12467
12688
  <co-component-activity-overview *ngIf="activityViewModel.showing"
12468
- [fireGenericTriggerOperation]="fireGenericTriggerOperation"
12469
- [fireTriggerOperation]="fireTriggerOperation"
12470
- [canFireTriggerOperation]="canFireTriggerOperation"
12471
12689
  [viewModel]="activityViewModel"
12472
12690
  [userRelationId]="relationId"
12473
12691
  [userGroupId]="userGroupId"
@@ -12498,7 +12716,9 @@ ComponentActivityListComponent.decorators = [
12498
12716
  ]
12499
12717
  },] }
12500
12718
  ];
12501
- ComponentActivityListComponent.ctorParameters = () => [];
12719
+ ComponentActivityListComponent.ctorParameters = () => [
12720
+ { type: SharedService }
12721
+ ];
12502
12722
  ComponentActivityListComponent.propDecorators = {
12503
12723
  activityOverviewList: [{ type: ViewChildren, args: [PersonalActivityOverviewComponent,] }],
12504
12724
  showClass: [{ type: HostBinding, args: ["class.co-component-activity-list",] }],
@@ -12510,19 +12730,12 @@ ComponentActivityListComponent.propDecorators = {
12510
12730
  userGroupId: [{ type: Input }],
12511
12731
  relationId: [{ type: Input }],
12512
12732
  componentActivitiesMethod: [{ type: Input }],
12513
- fireGenericTriggerOperation: [{ type: Input }],
12514
- fireTriggerOperation: [{ type: Input }],
12515
- canFireTriggerOperation: [{ type: Input }],
12516
12733
  setHasPausedNotificationsForWorkflowProcessOperation: [{ type: Input }],
12517
- lockTaskOperation: [{ type: Input }],
12518
- deleteActivityOperation: [{ type: Input }],
12519
- upsertActivityOperation: [{ type: Input }],
12520
12734
  openLinkClick: [{ type: Output }],
12521
12735
  amountActivityChanged: [{ type: Output }],
12522
12736
  linkClicked: [{ type: Output }],
12523
12737
  formCreated: [{ type: Output }],
12524
- genericTriggerFired: [{ type: Output }],
12525
- triggerFired: [{ type: Output }],
12738
+ refreshRequested: [{ type: Output }],
12526
12739
  showUsergroupActivitiesChanged: [{ type: Output }],
12527
12740
  activitiesList: [{ type: Input }]
12528
12741
  };
@@ -12550,11 +12763,13 @@ PersonalActivityOverviewModule.decorators = [
12550
12763
  ];
12551
12764
 
12552
12765
  class ComponentActivityOverviewComponent extends BaseActivityOverviewComponent {
12553
- constructor(iconCacheService, dialogService, dictionaryService) {
12554
- super(dialogService, dictionaryService);
12766
+ constructor(iconCacheService, dialogService, dictionaryService, sharedService
12767
+ /*public router: Router*/ ) {
12768
+ super(dialogService, dictionaryService, sharedService /*router*/);
12555
12769
  this.iconCacheService = iconCacheService;
12556
12770
  this.dialogService = dialogService;
12557
12771
  this.dictionaryService = dictionaryService;
12772
+ this.sharedService = sharedService;
12558
12773
  this.Icon = Icon;
12559
12774
  }
12560
12775
  showClass() {
@@ -12634,9 +12849,6 @@ ComponentActivityOverviewComponent.decorators = [
12634
12849
  <co-task-modifier
12635
12850
  [userGroupId]="userGroupId"
12636
12851
  [relationId]="userRelationId"
12637
- [tryLockTaskOperation]="lockTaskOperation"
12638
- [deleteActivityOperation]="deleteActivityOperation"
12639
- [upsertActivityOperation]="upsertActivityOperation"
12640
12852
  (editingComplete)="onSaveActivity($event)"
12641
12853
  (activityDeleted)="onDeleteActivity($event)"
12642
12854
  (showWorkLog)="showTaskFormAndWorkLog()"
@@ -12665,21 +12877,21 @@ ComponentActivityOverviewComponent.decorators = [
12665
12877
  ComponentActivityOverviewComponent.ctorParameters = () => [
12666
12878
  { type: IconCacheService },
12667
12879
  { type: CoreDialogService },
12668
- { type: DictionaryService }
12880
+ { type: DictionaryService },
12881
+ { type: SharedService }
12669
12882
  ];
12670
12883
  ComponentActivityOverviewComponent.propDecorators = {
12671
12884
  showClass: [{ type: HostBinding, args: ["class.co-component-activity-overview",] }]
12672
12885
  };
12673
12886
 
12674
12887
  class BaseActivitySummaryComponent {
12675
- constructor(dictionaryService, dialogService) {
12888
+ constructor(dictionaryService, dialogService, _sharedService) {
12676
12889
  this.dictionaryService = dictionaryService;
12677
12890
  this.dialogService = dialogService;
12891
+ this._sharedService = _sharedService;
12678
12892
  this.expanded = false;
12679
12893
  this.noBorder = false;
12680
12894
  this.readonly = false;
12681
- this.canFireTriggerOperation = OperationWithAlwaysSuccessCallback;
12682
- this.fireTriggerOperation = OperationWithValidationCallback;
12683
12895
  this.prepareWorkflowOperation = OperationWithAlwaysSuccessCallback;
12684
12896
  this.loadTaskOperation = OperationWithAlwaysSuccessCallback;
12685
12897
  this.activityChange = new EventEmitter();
@@ -12722,14 +12934,14 @@ class BaseActivitySummaryComponent {
12722
12934
  return;
12723
12935
  }
12724
12936
  if (trigger.toClosedState) {
12725
- const canFire = yield this.canFireTriggerOperation({ editActivity: this.editActivity, task: this.editActivity.task });
12937
+ const canFire = this._sharedService.canFireTrigger(this.editActivity, this.editActivity.task);
12726
12938
  if (!canFire) {
12727
12939
  this.triggerToFireOnSave = trigger;
12728
12940
  this.showWorkLog.next();
12729
12941
  return;
12730
12942
  }
12731
12943
  }
12732
- const result = yield this.fireTriggerOperation(trigger, null, null);
12944
+ const result = yield this._sharedService.fireTrigger(this.workFlow.workflowId, this.workFlow.sequence, trigger.triggerId);
12733
12945
  if (result.success) {
12734
12946
  yield this.updateActivityTask(this.editActivity.task);
12735
12947
  yield this.prepareWorkflow();
@@ -12773,7 +12985,8 @@ BaseActivitySummaryComponent.decorators = [
12773
12985
  ];
12774
12986
  BaseActivitySummaryComponent.ctorParameters = () => [
12775
12987
  { type: DictionaryService },
12776
- { type: CoreDialogService }
12988
+ { type: CoreDialogService },
12989
+ { type: SharedService }
12777
12990
  ];
12778
12991
  BaseActivitySummaryComponent.propDecorators = {
12779
12992
  activity: [{ type: Input }],
@@ -12784,8 +12997,6 @@ BaseActivitySummaryComponent.propDecorators = {
12784
12997
  expanded: [{ type: Input }],
12785
12998
  noBorder: [{ type: HostBinding, args: ["class.no-border",] }, { type: Input }],
12786
12999
  readonly: [{ type: Input }],
12787
- canFireTriggerOperation: [{ type: Input }],
12788
- fireTriggerOperation: [{ type: Input }],
12789
13000
  prepareWorkflowOperation: [{ type: Input }],
12790
13001
  loadTaskOperation: [{ type: Input }],
12791
13002
  triggerToFireOnSave: [{ type: Input }],
@@ -12799,11 +13010,12 @@ __decorate([
12799
13010
  ], BaseActivitySummaryComponent.prototype, "noBorder", void 0);
12800
13011
 
12801
13012
  class TaskDetailsComponent extends BaseActivitySummaryComponent {
12802
- constructor(dictionaryService, dialogService, iconCacheService) {
12803
- super(dictionaryService, dialogService);
13013
+ constructor(dictionaryService, dialogService, iconCacheService, sharedService) {
13014
+ super(dictionaryService, dialogService, sharedService);
12804
13015
  this.dictionaryService = dictionaryService;
12805
13016
  this.dialogService = dialogService;
12806
13017
  this.iconCacheService = iconCacheService;
13018
+ this.sharedService = sharedService;
12807
13019
  this.Icon = Icon;
12808
13020
  this.showStatusDropdown = false;
12809
13021
  }
@@ -12887,7 +13099,8 @@ TaskDetailsComponent.decorators = [
12887
13099
  TaskDetailsComponent.ctorParameters = () => [
12888
13100
  { type: DictionaryService },
12889
13101
  { type: CoreDialogService },
12890
- { type: IconCacheService }
13102
+ { type: IconCacheService },
13103
+ { type: SharedService }
12891
13104
  ];
12892
13105
  TaskDetailsComponent.propDecorators = {
12893
13106
  activity: [{ type: Input }],
@@ -13030,11 +13243,12 @@ ActivitySummaryBlockModule.decorators = [
13030
13243
  ];
13031
13244
 
13032
13245
  class StatusSummaryBlockComponent extends BaseActivitySummaryComponent {
13033
- constructor(dictionaryService, dialogService, iconService) {
13034
- super(dictionaryService, dialogService);
13246
+ constructor(dictionaryService, dialogService, iconService, sharedService) {
13247
+ super(dictionaryService, dialogService, sharedService);
13035
13248
  this.dictionaryService = dictionaryService;
13036
13249
  this.dialogService = dialogService;
13037
13250
  this.iconService = iconService;
13251
+ this.sharedService = sharedService;
13038
13252
  this.Icon = Icon;
13039
13253
  }
13040
13254
  showClass() {
@@ -13087,7 +13301,8 @@ StatusSummaryBlockComponent.decorators = [
13087
13301
  StatusSummaryBlockComponent.ctorParameters = () => [
13088
13302
  { type: DictionaryService },
13089
13303
  { type: CoreDialogService },
13090
- { type: IconCacheService }
13304
+ { type: IconCacheService },
13305
+ { type: SharedService }
13091
13306
  ];
13092
13307
  StatusSummaryBlockComponent.propDecorators = {
13093
13308
  showClass: [{ type: HostBinding, args: ["class.co-status-summary-block",] }]
@@ -13115,7 +13330,7 @@ StatusSummaryBlockModule.decorators = [
13115
13330
 
13116
13331
  class CreationSummaryBlockComponent extends BaseActivitySummaryComponent {
13117
13332
  constructor(dictionaryService, dialogService, sharedService, locale) {
13118
- super(dictionaryService, dialogService);
13333
+ super(dictionaryService, dialogService, sharedService);
13119
13334
  this.dictionaryService = dictionaryService;
13120
13335
  this.dialogService = dialogService;
13121
13336
  this.sharedService = sharedService;
@@ -13249,11 +13464,11 @@ var RelationType;
13249
13464
  RelationType["Supervisor"] = "supervisor";
13250
13465
  })(RelationType || (RelationType = {}));
13251
13466
  class ExecutiveSummaryBlockComponent extends BaseActivitySummaryComponent {
13252
- constructor(dictionaryService, dialogService, _sharedService) {
13253
- super(dictionaryService, dialogService);
13467
+ constructor(dictionaryService, dialogService, sharedService) {
13468
+ super(dictionaryService, dialogService, sharedService);
13254
13469
  this.dictionaryService = dictionaryService;
13255
13470
  this.dialogService = dialogService;
13256
- this._sharedService = _sharedService;
13471
+ this.sharedService = sharedService;
13257
13472
  this.RelationType = RelationType;
13258
13473
  this.Icon = Icon;
13259
13474
  this._textSearchParams = new RelationRequest();
@@ -13265,7 +13480,7 @@ class ExecutiveSummaryBlockComponent extends BaseActivitySummaryComponent {
13265
13480
  ngOnInit() {
13266
13481
  return __awaiter(this, void 0, void 0, function* () {
13267
13482
  this._textSearchParams.relationTypeList = [RelationKind.Personnel];
13268
- this._sharedService.getRelationListObjects(this._textSearchParams).then((result) => {
13483
+ this.sharedService.getRelationListObjects(this._textSearchParams).then((result) => {
13269
13484
  this.personnel = result;
13270
13485
  });
13271
13486
  });
@@ -13344,7 +13559,7 @@ class NotificationSummaryBlockComponent extends BaseActivitySummaryComponent {
13344
13559
  constructor(boFactory,
13345
13560
  //public activityService: ActivityService,
13346
13561
  dictionaryService, dialogService, sharedService) {
13347
- super(dictionaryService, dialogService);
13562
+ super(dictionaryService, dialogService, sharedService);
13348
13563
  this.boFactory = boFactory;
13349
13564
  this.dictionaryService = dictionaryService;
13350
13565
  this.dialogService = dialogService;
@@ -13438,7 +13653,11 @@ ModifyTaskFormModule.decorators = [
13438
13653
  StatusSummaryBlockModule,
13439
13654
  CreationSummaryBlockModule,
13440
13655
  NotificationSummaryBlockModule,
13441
- ActivityListModule
13656
+ ActivityListModule,
13657
+ SimpleTagsModule,
13658
+ ButtonModule,
13659
+ CommonModule,
13660
+ SimpleTagsFormModule
13442
13661
  ],
13443
13662
  declarations: [
13444
13663
  ModifyTaskFormComponent
@@ -14338,6 +14557,134 @@ ComponentActivityListModule.decorators = [
14338
14557
  },] }
14339
14558
  ];
14340
14559
 
14560
+ class WorkflowInfoTilesComponent {
14561
+ constructor(iconCacheService, sharedService) {
14562
+ this.iconCacheService = iconCacheService;
14563
+ this.sharedService = sharedService;
14564
+ this.Icon = Icon;
14565
+ this.icons = Icon;
14566
+ this.workflowProcessInfoPerStatusClicked = new EventEmitter();
14567
+ }
14568
+ set workflowCategory(value) {
14569
+ this._workflowCategory = value;
14570
+ this.getWorkflowProcessInfoPerStatusCollection();
14571
+ }
14572
+ showClass() {
14573
+ return true;
14574
+ }
14575
+ ngOnInit() {
14576
+ this.getWorkflowProcessInfoPerStatusCollection();
14577
+ }
14578
+ workflowProcessInfoPerStatusClickedHandler(status) {
14579
+ this.workflowProcessInfoPerStatusClicked.emit(status.statusName);
14580
+ }
14581
+ getWorkflowProcessInfoPerStatusCollection() {
14582
+ if (this._workflowCategory) {
14583
+ this.sharedService.getWorkflowProcessInfoPerStatus(this._workflowCategory).then((result) => {
14584
+ this.WorkflowProcessInfoPerStatusCollection = result;
14585
+ });
14586
+ }
14587
+ }
14588
+ }
14589
+ WorkflowInfoTilesComponent.decorators = [
14590
+ { type: Component, args: [{
14591
+ selector: "co-workflow-info-tiles",
14592
+ template: `
14593
+ <div class="tile-row">
14594
+ <co-workflow-info-tile *ngFor="let workflowProcessInfoPerStatus of WorkflowProcessInfoPerStatusCollection" [workflowProcessInfoPerStatus]="workflowProcessInfoPerStatus"
14595
+ (click)="workflowProcessInfoPerStatusClickedHandler(workflowProcessInfoPerStatus)"></co-workflow-info-tile>
14596
+ </div>
14597
+ `,
14598
+ encapsulation: ViewEncapsulation.None
14599
+ },] }
14600
+ ];
14601
+ WorkflowInfoTilesComponent.ctorParameters = () => [
14602
+ { type: IconCacheService },
14603
+ { type: SharedService }
14604
+ ];
14605
+ WorkflowInfoTilesComponent.propDecorators = {
14606
+ workflowCategory: [{ type: Input }],
14607
+ workflowProcessInfoPerStatusClicked: [{ type: Output }],
14608
+ showClass: [{ type: HostBinding, args: ["class.co-workflow-info-tiles",] }]
14609
+ };
14610
+
14611
+ class WorkflowInfoTileComponent {
14612
+ constructor(iconCacheService, colorService) {
14613
+ this.iconCacheService = iconCacheService;
14614
+ this.colorService = colorService;
14615
+ this.Icon = Icon;
14616
+ }
14617
+ showClass() {
14618
+ return true;
14619
+ }
14620
+ ngOnInit() {
14621
+ this.backgroundColor = this.colorService.GetRandomColorWithSettings([0, 360], [90, 100], [40, 95], [1, 1]);
14622
+ }
14623
+ }
14624
+ WorkflowInfoTileComponent.decorators = [
14625
+ { type: Component, args: [{
14626
+ selector: "co-workflow-info-tile",
14627
+ template: `
14628
+ <div class="top">
14629
+ <div class="tile-row">
14630
+ <label class="status-text" [textContent]="'STATUS' | localize"></label>
14631
+ <co-icon class="corner-icon" [iconData]="iconCacheService.getIcon(Icon.DetailView)" ></co-icon>
14632
+ </div>
14633
+ <label class="name-text" [textContent]="workflowProcessInfoPerStatus.statusName"></label>
14634
+ </div>
14635
+ <div class="bottom">
14636
+ <label class="name-text" [textContent]="workflowProcessInfoPerStatus.workflowProcessCount"></label>
14637
+ </div>
14638
+ `,
14639
+ encapsulation: ViewEncapsulation.None
14640
+ },] }
14641
+ ];
14642
+ WorkflowInfoTileComponent.ctorParameters = () => [
14643
+ { type: IconCacheService },
14644
+ { type: ColorSequenceService }
14645
+ ];
14646
+ WorkflowInfoTileComponent.propDecorators = {
14647
+ workflowProcessInfoPerStatus: [{ type: Input }],
14648
+ showClass: [{ type: HostBinding, args: ["class.co-workflow-info-tile",] }],
14649
+ backgroundColor: [{ type: HostBinding, args: ["style.background-color",] }]
14650
+ };
14651
+
14652
+ class WorkflowInfoTileModule {
14653
+ }
14654
+ WorkflowInfoTileModule.decorators = [
14655
+ { type: NgModule, args: [{
14656
+ imports: [
14657
+ LocalizationModule,
14658
+ IconModule
14659
+ ],
14660
+ declarations: [
14661
+ WorkflowInfoTileComponent
14662
+ ],
14663
+ exports: [
14664
+ WorkflowInfoTileComponent
14665
+ ],
14666
+ providers: []
14667
+ },] }
14668
+ ];
14669
+
14670
+ class WorkflowInfoTilesModule {
14671
+ }
14672
+ WorkflowInfoTilesModule.decorators = [
14673
+ { type: NgModule, args: [{
14674
+ imports: [
14675
+ WorkflowInfoTileModule,
14676
+ CommonModule
14677
+ ],
14678
+ declarations: [
14679
+ WorkflowInfoTilesComponent
14680
+ ],
14681
+ exports: [
14682
+ WorkflowInfoTilesComponent
14683
+ ],
14684
+ providers: []
14685
+ },] }
14686
+ ];
14687
+
14341
14688
  /*
14342
14689
  * Public API Surface of sharedcomponents
14343
14690
  */
@@ -14346,5 +14693,5 @@ ComponentActivityListModule.decorators = [
14346
14693
  * Generated bundle index. Do not edit.
14347
14694
  */
14348
14695
 
14349
- export { ActivityListComponent, ActivityListModule, AgendaEvent, AgendaEventPerDay, CalendarView, CoLinearGaugeComponent, CoLinearGaugeModule, ComponentActivityListComponent, ComponentActivityListModule, DatePlanningComponent, DatePlanningModule, DocsignComponent, DocsignModule, FilesUploadComponent, FilesUploadModule, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, SendMethodDialogComponent, SendMethodDialogModule, SharedService, SimpleTagsComponent, SimpleTagsModule, StatusbarComponent, StatusbarModule, StockComponent, StockModule, Translation, 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, 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 };
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 };
14350
14697
  //# sourceMappingURL=colijnit-sharedcomponents.js.map