@colijnit/sharedcomponents 255.1.11 → 255.1.12

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.
@@ -12894,7 +12894,7 @@
12894
12894
  ComponentActivityOverviewComponent.decorators = [
12895
12895
  { type: i0.Component, args: [{
12896
12896
  selector: "co-component-activity-overview",
12897
- template: "\n <div class=\"overview-wrapper\">\n <div class=\"overview-current\">\n <div class=\"overview-wrapper-icons\">\n <co-icon *ngIf=\"userIsSupervisor && (!isTask || firstTriggerToCloseWF === undefined)\" icon=\"supervisor\"\n class=\"supervisor-icon big dark\"\n [title]=\"'MY_TASKS_SUPERVISOR' | localize\"></co-icon>\n </div>\n <div class=\"overview-wrapper-labels\">\n <div class=\"activity-label\">\n <span class=\"label\" [textContent]=\"'CURRENT_STATE' | localize\"></span>\n </div>\n <div class=\"activity-title\" [textContent]=\"activityTitle\"></div>\n <!--seems unessecary for current usecases, but left in case this needs an input to switch on or off-->\n <!--<div class=\"activity-context-title\" [textContent]=\"activityContextTitle\"></div>-->\n </div>\n </div>\n <div class=\"overview-main\">\n <div class=\"label-date-activity\">\n <div class=\"activity-label\">\n <span class=\"label\" [textContent]=\"'CURRENT_STATE' | localize\"></span>\n </div>\n <div class=\"overview-wrapper-date\">\n <div class=\"date-wrapper\" [class.overdue]=\"overDue\">\n <ng-container *ngIf=\"!sameDates\">\n <div class=\"date\" [textContent]=\"targetDate | date:'dd-MM-YYYY'\"></div>\n <div class=\"date-divider\" [textContent]=\"'-'\"></div>\n </ng-container>\n <div class=\"date\" [textContent]=\"deadlineDate | date:'dd-MM-YYYY'\"></div>\n <co-icon class=\"activity-type-icon\"[iconData]=\"iconCacheService.getIcon(getActivityIcon(activity))\"></co-icon>\n </div>\n </div>\n </div>\n\n <ng-container *ngIf=\"isTask && firstTriggerToCloseWF !== undefined\">\n <co-button class=\"trans-green custom-text button-trigger no-margin\" [label]=\"firstTriggerToCloseWF.description\"\n (click)=\"handleButtonEndClick()\"></co-button>\n </ng-container>\n <ng-container *ngIf=\"openButtonLabel\">\n <co-button class=\"trans-green default-bg custom-text button-trigger-icon action-hover no-margin\"\n iconClass=\"custom small\" [iconData]=\"iconCacheService.getIcon(icon.DetailView)\" [label]=\"openButtonLabel | localize\"\n (click)=\"handleOpenLink($event)\"></co-button>\n </ng-container>\n <!--TODO reinstate this when we figure out how to trigger a screen change. -->\n <!--<ng-container *ngIf=\"urls && urls.length > 0\">\n <button-colijn *ngFor=\"let url of urls\"\n class=\"trans-green custom-text button-trigger-icon action-hover no-margin\"\n [icon]=\"icon.DetailView\"\n [label]=\"'OPEN_LINK' | localize\"\n iconClass=\"custom small\"\n (click)=\"handleOpenLink($event, url)\"></button-colijn>\n </ng-container>-->\n <ng-container *ngIf=\"!isTask && hasTriggers\">\n <co-button class=\"trans-green custom-text action-hover button-trigger no-margin\" *ngFor=\"let trigger of workFlow.manualGenericTriggers\"\n [class.button-trigger-icon]=\"trigger.isTaskTrigger\"\n [label]=\"trigger.triggerButtonName\"\n [iconData]=\"trigger.isTaskTrigger ? iconCacheService.getIcon(icon.Account): null\"\n iconClass=\"custom small\"\n (click)=\"handleGenericTriggerClick(trigger)\"\n ></co-button>\n <co-button class=\"trans-green custom-text action-hover button-trigger no-margin\" *ngFor=\"let trigger of workFlow.manualTriggersWithoutTaskTriggers\"\n [class.high-prio]=\"trigger.overDue\"\n [class.button-trigger-icon]=\"trigger.isTaskTrigger\"\n [label]=\"trigger.triggerButtonName\"\n [iconData]=\"trigger.isTaskTrigger ? iconCacheService.getIcon(icon.DetailView): null\"\n iconClass=\"custom small\"\n (click)=\"handleTriggerClick(trigger)\"\n ></co-button>\n </ng-container>\n </div>\n </div>\n <!--TODO reinstate this when we figure out how to trigger a screen change. -->\n <!-- <formbuilder-user-form *ngIf=\"showCreateForm\"\n [showPopup]=\"showCreateForm\"\n [table]=\"table\"\n [key]=\"key\"\n [form]=\"form\"\n (cancelForm)=\"doCancelForm()\"\n (saveForm)=\"doSaveForm($event)\"\n ></formbuilder-user-form>-->\n <co-task-modifier\n [userGroupId]=\"userGroupId\"\n [relationId]=\"userRelationId\"\n (editingComplete)=\"onSaveActivity($event)\"\n (activityDeleted)=\"onDeleteActivity($event)\"\n (showWorkLog)=\"showTaskFormAndWorkLog()\"\n ></co-task-modifier>\n\n ",
12897
+ template: "\n <div class=\"overview-wrapper\">\n <div class=\"overview-current\">\n <div class=\"overview-wrapper-icons\">\n <co-icon *ngIf=\"userIsSupervisor && (!isTask || firstTriggerToCloseWF === undefined)\" icon=\"supervisor\"\n class=\"supervisor-icon big dark\"\n [title]=\"'MY_TASKS_SUPERVISOR' | localize\"></co-icon>\n </div>\n <div class=\"overview-wrapper-labels\">\n <div class=\"activity-label\">\n <span class=\"label\" [textContent]=\"'CURRENT_STATE' | localize\"></span>\n </div>\n <div class=\"activity-title\" [textContent]=\"activityTitle\"></div>\n <!--seems unessecary for current usecases, but left in case this needs an input to switch on or off-->\n <!--<div class=\"activity-context-title\" [textContent]=\"activityContextTitle\"></div>-->\n </div>\n </div>\n <div class=\"overview-main\">\n <div class=\"label-date-activity\">\n <div class=\"activity-label\">\n <span class=\"label\" [textContent]=\"'NEXT_STATE' | localize\"></span>\n </div>\n <div class=\"overview-wrapper-date\">\n <div class=\"date-wrapper\" [class.overdue]=\"overDue\">\n <ng-container *ngIf=\"!sameDates\">\n <div class=\"date\" [textContent]=\"targetDate | date:'dd-MM-YYYY'\"></div>\n <div class=\"date-divider\" [textContent]=\"'-'\"></div>\n </ng-container>\n <div class=\"date\" [textContent]=\"deadlineDate | date:'dd-MM-YYYY'\"></div>\n <co-icon class=\"activity-type-icon\"[iconData]=\"iconCacheService.getIcon(getActivityIcon(activity))\"></co-icon>\n </div>\n </div>\n </div>\n\n <ng-container *ngIf=\"isTask && firstTriggerToCloseWF !== undefined\">\n <co-button class=\"trans-green custom-text button-trigger no-margin\" [label]=\"firstTriggerToCloseWF.description\"\n (click)=\"handleButtonEndClick()\"></co-button>\n </ng-container>\n <ng-container *ngIf=\"openButtonLabel\">\n <co-button class=\"trans-green default-bg custom-text button-trigger-icon action-hover no-margin\"\n iconClass=\"custom small\" [iconData]=\"iconCacheService.getIcon(icon.DetailView)\" [label]=\"openButtonLabel | localize\"\n (click)=\"handleOpenLink($event)\"></co-button>\n </ng-container>\n <!--TODO reinstate this when we figure out how to trigger a screen change. -->\n <!--<ng-container *ngIf=\"urls && urls.length > 0\">\n <button-colijn *ngFor=\"let url of urls\"\n class=\"trans-green custom-text button-trigger-icon action-hover no-margin\"\n [icon]=\"icon.DetailView\"\n [label]=\"'OPEN_LINK' | localize\"\n iconClass=\"custom small\"\n (click)=\"handleOpenLink($event, url)\"></button-colijn>\n </ng-container>-->\n <ng-container *ngIf=\"!isTask && hasTriggers\">\n <co-button class=\"trans-green custom-text action-hover button-trigger no-margin\" *ngFor=\"let trigger of workFlow.manualGenericTriggers\"\n [class.button-trigger-icon]=\"trigger.isTaskTrigger\"\n [label]=\"trigger.triggerButtonName\"\n [iconData]=\"trigger.isTaskTrigger ? iconCacheService.getIcon(icon.Account): null\"\n iconClass=\"custom small\"\n (click)=\"handleGenericTriggerClick(trigger)\"\n ></co-button>\n <co-button class=\"trans-green custom-text action-hover button-trigger no-margin\" *ngFor=\"let trigger of workFlow.manualTriggersWithoutTaskTriggers\"\n [class.high-prio]=\"trigger.overDue\"\n [class.button-trigger-icon]=\"trigger.isTaskTrigger\"\n [label]=\"trigger.triggerButtonName\"\n [iconData]=\"trigger.isTaskTrigger ? iconCacheService.getIcon(icon.DetailView): null\"\n iconClass=\"custom small\"\n (click)=\"handleTriggerClick(trigger)\"\n ></co-button>\n </ng-container>\n </div>\n </div>\n <!--TODO reinstate this when we figure out how to trigger a screen change. -->\n <!-- <formbuilder-user-form *ngIf=\"showCreateForm\"\n [showPopup]=\"showCreateForm\"\n [table]=\"table\"\n [key]=\"key\"\n [form]=\"form\"\n (cancelForm)=\"doCancelForm()\"\n (saveForm)=\"doSaveForm($event)\"\n ></formbuilder-user-form>-->\n <co-task-modifier\n [userGroupId]=\"userGroupId\"\n [relationId]=\"userRelationId\"\n (editingComplete)=\"onSaveActivity($event)\"\n (activityDeleted)=\"onDeleteActivity($event)\"\n (showWorkLog)=\"showTaskFormAndWorkLog()\"\n ></co-task-modifier>\n\n ",
12898
12898
  /* providers: [
12899
12899
  {provide: BaseModuleScreenConfigService, useExisting: ScreenConfigurationMockService}
12900
12900
  ],*/