@colijnit/sharedcomponents 1.0.69 → 1.0.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/3rdpartylicenses.txt +1203 -0
- package/bundles/colijnit-sharedcomponents.umd.js +3285 -4
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +36 -0
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +37 -1
- package/esm2015/lib/businessobject/co-document-right.bo.js +1 -1
- package/esm2015/lib/components/activity-list-header/activity-list-header.component.js +67 -0
- package/esm2015/lib/components/activity-list-header/activity-list-header.module.js +28 -0
- package/esm2015/lib/components/activity-list-header/components/period-filter/period-filter-popup.component.js +55 -0
- package/esm2015/lib/components/activity-list-header/components/period-filter/period-filter.component.js +103 -0
- package/esm2015/lib/components/activity-list-header/components/period-filter/period-filter.module.js +34 -0
- package/esm2015/lib/components/activity-overview-component/component-activity-overview.component.js +129 -0
- package/esm2015/lib/components/activity-overview-component/component-activity-overview.module.js +26 -0
- package/esm2015/lib/components/activity-overview-component/components/base-activity-overview.component.js +284 -0
- package/esm2015/lib/components/image-display/image-display.component.js +7 -7
- package/esm2015/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.component.js +100 -0
- package/esm2015/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.module.js +25 -0
- package/esm2015/lib/components/modify-task-form/components/base-activity-summary.component.js +134 -0
- package/esm2015/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.js +118 -0
- package/esm2015/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.module.js +27 -0
- package/esm2015/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.js +88 -0
- package/esm2015/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.module.js +24 -0
- package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.js +77 -0
- package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.module.js +24 -0
- package/esm2015/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.js +71 -0
- package/esm2015/lib/components/modify-task-form/components/status-summary-block/status-summary-block.module.js +25 -0
- package/esm2015/lib/components/modify-task-form/components/task-details/task-details.component.js +102 -0
- package/esm2015/lib/components/modify-task-form/components/task-details/task-details.module.js +25 -0
- package/esm2015/lib/components/modify-task-form/modify-task-form.component.js +258 -0
- package/esm2015/lib/components/modify-task-form/modify-task-form.module.js +33 -0
- package/esm2015/lib/components/open-activity-list/component-activity-list.component.js +293 -0
- package/esm2015/lib/components/open-activity-list/component-activity-list.module.js +30 -0
- package/esm2015/lib/components/open-activity-list/components/base-open-activity-list.component.js +264 -0
- package/esm2015/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.component.js +41 -0
- package/esm2015/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.module..js +19 -0
- package/esm2015/lib/components/task-modifyer/task-modifier.component.js +270 -0
- package/esm2015/lib/components/task-modifyer/task-modifyer.module..js +31 -0
- package/esm2015/lib/components/workflow-notification-toggle/workflow-notification-toggle-popup.js +53 -0
- package/esm2015/lib/components/workflow-notification-toggle/workflow-notification-toggle.component.js +81 -0
- package/esm2015/lib/components/workflow-notification-toggle/workflow-notification-toggle.module.js +34 -0
- package/esm2015/lib/directives/absolute-overlay-template.directive.js +29 -0
- package/esm2015/lib/directives/align-with.directive.js +174 -0
- package/esm2015/lib/directives/click-outside.directive.js +25 -0
- package/esm2015/lib/directives/directives.module.js +22 -0
- package/esm2015/lib/enum/activity-cfg-name.enum.js +29 -0
- package/esm2015/lib/enum/app-button-type.enum.js +11 -0
- package/esm2015/lib/enum/icon.enum.js +13 -1
- package/esm2015/lib/interface/activities-task-config-names.js +2 -0
- package/esm2015/lib/interface/operation-callback-activity.js +5 -0
- package/esm2015/lib/interface/operation-callback-function-with-validation.js +5 -0
- package/esm2015/lib/interface/operation-callback-simple-function.js +1 -1
- package/esm2015/lib/model/icon-svg.js +13 -1
- package/esm2015/lib/service/app-absolute-overlay-outlet.service.js +20 -0
- package/esm2015/lib/service/shared-connector.service.js +121 -1
- package/esm2015/lib/service/shared.service.js +50 -1
- package/esm2015/lib/utils/browser-utils.js +100 -0
- package/esm2015/lib/utils/event-utils.js +59 -0
- package/esm2015/lib/utils/string-utils.js +5 -1
- package/esm2015/public-api.js +3 -1
- package/favicon.ico +0 -0
- package/fesm2015/colijnit-sharedcomponents.js +3419 -9
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +12 -0
- package/lib/components/activity-list-header/activity-list-header.component.d.ts +25 -0
- package/lib/components/activity-list-header/activity-list-header.module.d.ts +2 -0
- package/lib/components/activity-list-header/components/period-filter/period-filter-popup.component.d.ts +11 -0
- package/lib/components/activity-list-header/components/period-filter/period-filter.component.d.ts +26 -0
- package/lib/components/activity-list-header/components/period-filter/period-filter.module.d.ts +2 -0
- package/lib/components/activity-list-header/components/period-filter/style/_layout.scss +62 -0
- package/lib/components/activity-list-header/components/period-filter/style/_material-definition.scss +1 -0
- package/lib/components/activity-list-header/components/period-filter/style/_theme.scss +5 -0
- package/lib/components/activity-list-header/components/period-filter/style/material.scss +4 -0
- package/lib/components/activity-list-header/style/_layout.scss +84 -0
- package/lib/components/activity-list-header/style/_material-definition.scss +1 -0
- package/lib/components/activity-list-header/style/_theme.scss +5 -0
- package/lib/components/activity-list-header/style/material.scss +4 -0
- package/lib/components/activity-overview-component/component-activity-overview.component.d.ts +13 -0
- package/lib/components/activity-overview-component/component-activity-overview.module.d.ts +2 -0
- package/lib/components/activity-overview-component/components/base-activity-overview.component.d.ts +84 -0
- package/lib/components/activity-overview-component/style/_layout.scss +107 -0
- package/lib/components/activity-overview-component/style/_material-definition.scss +1 -0
- package/lib/components/activity-overview-component/style/_theme.scss +5 -0
- package/lib/components/activity-overview-component/style/material.scss +4 -0
- package/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.component.d.ts +31 -0
- package/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.module.d.ts +2 -0
- package/lib/components/modify-task-form/components/activity-summary-block/style/_layout.scss +139 -0
- package/lib/components/modify-task-form/components/activity-summary-block/style/_material-definition.scss +0 -0
- package/lib/components/modify-task-form/components/activity-summary-block/style/_theme.scss +5 -0
- package/lib/components/modify-task-form/components/activity-summary-block/style/material.scss +4 -0
- package/lib/components/modify-task-form/components/base-activity-summary.component.d.ts +53 -0
- package/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.d.ts +28 -0
- package/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.module.d.ts +2 -0
- package/lib/components/modify-task-form/components/creation-summary-block/style/_layout.scss +5 -0
- package/lib/components/modify-task-form/components/creation-summary-block/style/_material-definition.scss +0 -0
- package/lib/components/modify-task-form/components/creation-summary-block/style/_theme.scss +5 -0
- package/lib/components/modify-task-form/components/creation-summary-block/style/material.scss +4 -0
- package/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.d.ts +24 -0
- package/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.module.d.ts +2 -0
- package/lib/components/modify-task-form/components/executive-summary-block/style/_layout.scss +5 -0
- package/lib/components/modify-task-form/components/executive-summary-block/style/_material-definition.scss +0 -0
- package/lib/components/modify-task-form/components/executive-summary-block/style/_theme.scss +5 -0
- package/lib/components/modify-task-form/components/executive-summary-block/style/material.scss +4 -0
- package/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.d.ts +23 -0
- package/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.module.d.ts +2 -0
- package/lib/components/modify-task-form/components/notification-summary-block/style/_layout.scss +161 -0
- package/lib/components/modify-task-form/components/notification-summary-block/style/_material-definition.scss +0 -0
- package/lib/components/modify-task-form/components/notification-summary-block/style/_theme.scss +5 -0
- package/lib/components/modify-task-form/components/notification-summary-block/style/material.scss +4 -0
- package/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.d.ts +15 -0
- package/lib/components/modify-task-form/components/status-summary-block/status-summary-block.module.d.ts +2 -0
- package/lib/components/modify-task-form/components/status-summary-block/style/_layout.scss +18 -0
- package/lib/components/modify-task-form/components/status-summary-block/style/_material-definition.scss +0 -0
- package/lib/components/modify-task-form/components/status-summary-block/style/_theme.scss +5 -0
- package/lib/components/modify-task-form/components/status-summary-block/style/material.scss +4 -0
- package/lib/components/modify-task-form/components/task-details/style/_layout.scss +142 -0
- package/lib/components/modify-task-form/components/task-details/style/_material-definition.scss +0 -0
- package/lib/components/modify-task-form/components/task-details/style/_theme.scss +5 -0
- package/lib/components/modify-task-form/components/task-details/style/material.scss +4 -0
- package/lib/components/modify-task-form/components/task-details/task-details.component.d.ts +21 -0
- package/lib/components/modify-task-form/components/task-details/task-details.module.d.ts +2 -0
- package/lib/components/modify-task-form/modify-task-form.component.d.ts +49 -0
- package/lib/components/modify-task-form/modify-task-form.module.d.ts +2 -0
- package/lib/components/modify-task-form/style/_layout.scss +135 -0
- package/lib/components/modify-task-form/style/_material-definition.scss +0 -0
- package/lib/components/modify-task-form/style/_theme.scss +5 -0
- package/lib/components/modify-task-form/style/material.scss +4 -0
- package/lib/components/open-activity-list/component-activity-list.component.d.ts +69 -0
- package/lib/components/open-activity-list/component-activity-list.module.d.ts +2 -0
- package/lib/components/open-activity-list/components/base-open-activity-list.component.d.ts +46 -0
- package/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.component.d.ts +4 -0
- package/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.module..d.ts +2 -0
- package/lib/components/open-activity-list/components/personal-activity-overview/style/_layout.scss +105 -0
- package/lib/components/open-activity-list/components/personal-activity-overview/style/_material-definition.scss +0 -0
- package/lib/components/open-activity-list/components/personal-activity-overview/style/_theme.scss +4 -0
- package/lib/components/open-activity-list/components/personal-activity-overview/style/material.scss +4 -0
- package/lib/components/open-activity-list/style/_layout.scss +26 -0
- package/lib/components/open-activity-list/style/_material-definition.scss +0 -0
- package/lib/components/open-activity-list/style/_theme.scss +4 -0
- package/lib/components/open-activity-list/style/material.scss +4 -0
- package/lib/components/task-modifyer/style/_layout.scss +5 -0
- package/lib/components/task-modifyer/style/_material-definition.scss +0 -0
- package/lib/components/task-modifyer/style/_theme.scss +4 -0
- package/lib/components/task-modifyer/style/material.scss +4 -0
- package/lib/components/task-modifyer/task-modifier.component.d.ts +67 -0
- package/lib/components/task-modifyer/task-modifyer.module..d.ts +2 -0
- package/lib/components/workflow-notification-toggle/style/_layout.scss +59 -0
- package/lib/components/workflow-notification-toggle/style/_material-definition.scss +0 -0
- package/lib/components/workflow-notification-toggle/style/_theme.scss +4 -0
- package/lib/components/workflow-notification-toggle/style/material.scss +4 -0
- package/lib/components/workflow-notification-toggle/workflow-notification-toggle-popup.d.ts +15 -0
- package/lib/components/workflow-notification-toggle/workflow-notification-toggle.component.d.ts +28 -0
- package/lib/components/workflow-notification-toggle/workflow-notification-toggle.module.d.ts +2 -0
- package/lib/directives/absolute-overlay-template.directive.d.ts +9 -0
- package/lib/directives/align-with.directive.d.ts +35 -0
- package/lib/directives/click-outside.directive.d.ts +7 -0
- package/lib/directives/directives.module.d.ts +2 -0
- package/lib/enum/activity-cfg-name.enum.d.ts +27 -0
- package/lib/enum/app-button-type.enum.d.ts +9 -0
- package/lib/enum/icon.enum.d.ts +12 -0
- package/lib/interface/activities-task-config-names.d.ts +12 -0
- package/lib/interface/operation-callback-activity.d.ts +5 -0
- package/lib/interface/operation-callback-function-with-validation.d.ts +5 -0
- package/lib/service/app-absolute-overlay-outlet.service.d.ts +9 -0
- package/lib/service/shared-connector.service.d.ts +18 -0
- package/lib/service/shared.service.d.ts +16 -0
- package/lib/utils/browser-utils.d.ts +15 -0
- package/lib/utils/event-utils.d.ts +12 -0
- package/lib/utils/string-utils.d.ts +1 -0
- package/main.36b466467ac98ce720f9.js +1 -0
- package/package.json +2 -1
- package/polyfills.907fe9d1887c5de17993.js +1 -0
- package/public-api.d.ts +2 -0
- package/runtime.8aac21847ed3d3829cca.js +1 -0
- package/styles.6375d1d30814ecba5d0c.css +1 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
|
|
3
|
+
import { TableName } from "@colijnit/mainapi/build/enum/table-name.enum";
|
|
4
|
+
import { WorkflowTrigger } from "@colijnit/mainapi/build/model/workflow-trigger.bo";
|
|
5
|
+
import { Task } from "@colijnit/mainapi/build/model/task.bo";
|
|
6
|
+
import { CoreDialogService, ScreenConfigAdapterComponent } from "@colijnit/corecomponents_v12";
|
|
7
|
+
import { DictionaryService } from "../../../service/dictionary.service";
|
|
8
|
+
import { OperationCallbackSimpleFunction } from "../../../interface/operation-callback-simple-function";
|
|
9
|
+
import { ActivityWorkflow } from "@colijnit/mainapi/build/model/activity-workflow";
|
|
10
|
+
import { OperationCallbackFunctionWithValidation } from "../../../interface/operation-callback-function-with-validation";
|
|
11
|
+
export declare abstract class BaseActivitySummaryComponent implements ScreenConfigAdapterComponent {
|
|
12
|
+
protected dictionaryService: DictionaryService;
|
|
13
|
+
protected dialogService: CoreDialogService;
|
|
14
|
+
decimals: number;
|
|
15
|
+
forceReadonly: boolean;
|
|
16
|
+
maxLength: number;
|
|
17
|
+
objectConfigName: string;
|
|
18
|
+
redErrorBackground: boolean;
|
|
19
|
+
required: boolean;
|
|
20
|
+
set activity(value: Activity);
|
|
21
|
+
get activity(): Activity;
|
|
22
|
+
set workFlow(value: ActivityWorkflow);
|
|
23
|
+
get workFlow(): ActivityWorkflow;
|
|
24
|
+
set task(value: Task);
|
|
25
|
+
get task(): Task;
|
|
26
|
+
table: TableName;
|
|
27
|
+
key: string;
|
|
28
|
+
expanded: boolean;
|
|
29
|
+
noBorder: boolean;
|
|
30
|
+
readonly: boolean;
|
|
31
|
+
canFireTriggerOperation: OperationCallbackSimpleFunction;
|
|
32
|
+
fireTriggerOperation: OperationCallbackFunctionWithValidation;
|
|
33
|
+
prepareWorkflowOperation: OperationCallbackSimpleFunction;
|
|
34
|
+
loadTaskOperation: OperationCallbackSimpleFunction;
|
|
35
|
+
set triggerToFireOnSave(value: WorkflowTrigger);
|
|
36
|
+
get triggerToFireOnSave(): WorkflowTrigger;
|
|
37
|
+
readonly activityChange: EventEmitter<Activity>;
|
|
38
|
+
readonly showWorkLog: EventEmitter<void>;
|
|
39
|
+
readonly triggerFired: EventEmitter<ActivityWorkflow>;
|
|
40
|
+
hidden: boolean;
|
|
41
|
+
editActivity: Activity;
|
|
42
|
+
private _workFlow;
|
|
43
|
+
private _task;
|
|
44
|
+
private _triggerToFireOnSave;
|
|
45
|
+
constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService);
|
|
46
|
+
handleSave(event: MouseEvent): void;
|
|
47
|
+
handleCancel(event: MouseEvent): void;
|
|
48
|
+
handleTriggerClick(trigger: WorkflowTrigger): Promise<void>;
|
|
49
|
+
handleExpandClick(value: boolean): void;
|
|
50
|
+
protected prepareWorkflow(): Promise<void>;
|
|
51
|
+
private _saveClone;
|
|
52
|
+
private updateActivityTask;
|
|
53
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnDestroy, OnInit, TemplateRef } from "@angular/core";
|
|
2
|
+
import { CoreDialogService } from "@colijnit/corecomponents_v12";
|
|
3
|
+
import { BaseActivitySummaryComponent } from "../base-activity-summary.component";
|
|
4
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
5
|
+
import { DictionaryService } from "../../../../service/dictionary.service";
|
|
6
|
+
import { SharedService } from "../../../../service/shared.service";
|
|
7
|
+
import { TaskCategory } from "@colijnit/mainapi/build/model/task-category.bo";
|
|
8
|
+
import { CoDomainValue } from "@colijnit/mainapi/build/model/co-domain-value.bo";
|
|
9
|
+
import { LanguageCode } from "../../../../enum/language-code.enum";
|
|
10
|
+
export declare class CreationSummaryBlockComponent extends BaseActivitySummaryComponent implements OnInit, OnDestroy {
|
|
11
|
+
protected dictionaryService: DictionaryService;
|
|
12
|
+
protected dialogService: CoreDialogService;
|
|
13
|
+
protected sharedService: SharedService;
|
|
14
|
+
protected readonly locale: LanguageCode;
|
|
15
|
+
readonly Icon: typeof Icon;
|
|
16
|
+
taskCategories: TaskCategory[];
|
|
17
|
+
chosenTaskCategory: TaskCategory;
|
|
18
|
+
priorityDomainColl: CoDomainValue[];
|
|
19
|
+
chosenPriority: CoDomainValue;
|
|
20
|
+
editTemplate: TemplateRef<any>;
|
|
21
|
+
showClass(): boolean;
|
|
22
|
+
constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService, sharedService: SharedService, locale: LanguageCode);
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
handleTaskCategoryChange(taskCategory: TaskCategory): void;
|
|
26
|
+
handlePriorityChange(domainValue: CoDomainValue): void;
|
|
27
|
+
private _findDomainValueOfPriorityType;
|
|
28
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { CoreDialogService } from "@colijnit/corecomponents_v12";
|
|
3
|
+
import { BaseActivitySummaryComponent } from "../base-activity-summary.component";
|
|
4
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
5
|
+
import { DictionaryService } from "../../../../service/dictionary.service";
|
|
6
|
+
import { RelationListObject } from "@colijnit/relationapi/build/model/relation-list-object.bo";
|
|
7
|
+
import { SharedService } from "../../../../service/shared.service";
|
|
8
|
+
export declare enum RelationType {
|
|
9
|
+
Executive = "executive",
|
|
10
|
+
Reporter = "reporter",
|
|
11
|
+
Supervisor = "supervisor"
|
|
12
|
+
}
|
|
13
|
+
export declare class ExecutiveSummaryBlockComponent extends BaseActivitySummaryComponent implements OnInit {
|
|
14
|
+
protected dictionaryService: DictionaryService;
|
|
15
|
+
protected dialogService: CoreDialogService;
|
|
16
|
+
private _sharedService;
|
|
17
|
+
readonly RelationType: typeof RelationType;
|
|
18
|
+
readonly Icon: typeof Icon;
|
|
19
|
+
showClass(): boolean;
|
|
20
|
+
private _textSearchParams;
|
|
21
|
+
personnel: RelationListObject[];
|
|
22
|
+
constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService, _sharedService: SharedService);
|
|
23
|
+
ngOnInit(): Promise<void>;
|
|
24
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { CoreDialogService } from "@colijnit/corecomponents_v12";
|
|
3
|
+
import { BaseActivitySummaryComponent } from "../base-activity-summary.component";
|
|
4
|
+
import { ActivitySummaryBlockComponent } from "../activity-summary-block/activity-summary-block.component";
|
|
5
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
6
|
+
import { BusinessObjectFactory } from "@colijnit/ioneconnector/build/service/business-object-factory";
|
|
7
|
+
import { DictionaryService } from "../../../../service/dictionary.service";
|
|
8
|
+
import { RoleEmailaddress } from "@colijnit/mainapi/build/model/role-email-address";
|
|
9
|
+
import { SharedService } from "../../../../service/shared.service";
|
|
10
|
+
export declare class NotificationSummaryBlockComponent extends BaseActivitySummaryComponent implements OnInit {
|
|
11
|
+
protected boFactory: BusinessObjectFactory;
|
|
12
|
+
protected dictionaryService: DictionaryService;
|
|
13
|
+
protected dialogService: CoreDialogService;
|
|
14
|
+
protected sharedService: SharedService;
|
|
15
|
+
readonly Icon: typeof Icon;
|
|
16
|
+
summaryBlock: ActivitySummaryBlockComponent;
|
|
17
|
+
showClass(): boolean;
|
|
18
|
+
listItems: RoleEmailaddress[];
|
|
19
|
+
emailAddresses: string[];
|
|
20
|
+
constructor(boFactory: BusinessObjectFactory, dictionaryService: DictionaryService, dialogService: CoreDialogService, sharedService: SharedService);
|
|
21
|
+
ngOnInit(): Promise<void>;
|
|
22
|
+
handleSendEmail(event: MouseEvent): void;
|
|
23
|
+
}
|
package/lib/components/modify-task-form/components/notification-summary-block/style/_layout.scss
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
@include export-module('co-executive-summary-block-layout') {
|
|
2
|
+
.co-executive-summary-block {
|
|
3
|
+
|
|
4
|
+
.value {
|
|
5
|
+
flex-wrap: wrap;
|
|
6
|
+
}
|
|
7
|
+
.notification-email {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-shrink: 0;
|
|
10
|
+
background: $color_border;
|
|
11
|
+
margin: 0 2px 2px 0;
|
|
12
|
+
padding: 5px;
|
|
13
|
+
border-radius: 5px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
height: auto;
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
&:not(.no-border) {
|
|
20
|
+
border: 1px solid $color_border;
|
|
21
|
+
}
|
|
22
|
+
.left-seperator {
|
|
23
|
+
&:before {
|
|
24
|
+
content: "|";
|
|
25
|
+
margin: 0 10px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.shrink-to-fit {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-shrink: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
svg {
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: 100%;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
::ng-deep image-display {
|
|
42
|
+
height: $block_content_height;
|
|
43
|
+
width: $block_content_height;
|
|
44
|
+
span {
|
|
45
|
+
display: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.icon-wrapper {
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-shrink: 0;
|
|
51
|
+
align-items: center;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
background: #F8FBFA;
|
|
54
|
+
height: $block_content_height;
|
|
55
|
+
width: $block_content_height;
|
|
56
|
+
border-radius: 50%;
|
|
57
|
+
border: 1px solid $color_border;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
::ng-deep icon {
|
|
60
|
+
height: 60px !important;
|
|
61
|
+
width: 60px !important;
|
|
62
|
+
flex-shrink: 0;
|
|
63
|
+
}
|
|
64
|
+
&.small {
|
|
65
|
+
height: 50px;
|
|
66
|
+
width: 50px;
|
|
67
|
+
::ng-deep icon {
|
|
68
|
+
height: 40px !important;
|
|
69
|
+
width: 40px !important;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
.block-wrapper {
|
|
76
|
+
position: relative;
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
.expandable-wrapper {
|
|
80
|
+
position: absolute;
|
|
81
|
+
bottom: 0;
|
|
82
|
+
left: 50%;
|
|
83
|
+
transform: translateX(-50%);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.content-wrapper {
|
|
88
|
+
display: flex;
|
|
89
|
+
flex-direction: column;
|
|
90
|
+
justify-content: space-between;
|
|
91
|
+
margin-left: 10px;
|
|
92
|
+
min-height: $block_content_height;
|
|
93
|
+
height: auto;
|
|
94
|
+
width: 100%;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.value {
|
|
98
|
+
font-size: 13px;
|
|
99
|
+
font-weight: bold;
|
|
100
|
+
color: $color-dark;
|
|
101
|
+
align-items: center;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.title {
|
|
105
|
+
font-size: 11px;
|
|
106
|
+
line-height: 13px;
|
|
107
|
+
color: $color-label;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.activity-summary-block-edit-template {
|
|
111
|
+
display: flex;
|
|
112
|
+
width: 100%;
|
|
113
|
+
flex-direction: column;
|
|
114
|
+
justify-content: space-between;
|
|
115
|
+
z-index: 9000;
|
|
116
|
+
max-height: 100%;
|
|
117
|
+
|
|
118
|
+
.template-wrapper {
|
|
119
|
+
margin-bottom: 10px;
|
|
120
|
+
}
|
|
121
|
+
::ng-deep co-form {
|
|
122
|
+
co-list-of-values {
|
|
123
|
+
margin-bottom: 5px;
|
|
124
|
+
&:before {
|
|
125
|
+
box-shadow: none;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
.title-wrapper {
|
|
130
|
+
align-items: center;
|
|
131
|
+
margin-bottom: 10px;
|
|
132
|
+
}
|
|
133
|
+
::ng-deep h3:not(.no-margin) {
|
|
134
|
+
margin-top: 25px;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.collapseable-wrapper {
|
|
139
|
+
padding: 10px;
|
|
140
|
+
border-bottom: 1px solid $color_border;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
::ng-deep .input-date-window {
|
|
144
|
+
z-index: 9001!important;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.initial {
|
|
148
|
+
position: initial !important;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.center {
|
|
152
|
+
justify-content: center;
|
|
153
|
+
}
|
|
154
|
+
.planning-row {
|
|
155
|
+
display: flex;
|
|
156
|
+
flex-direction: row;
|
|
157
|
+
gap: 5px;
|
|
158
|
+
align-items:flex-start;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { CoreDialogService } from "@colijnit/corecomponents_v12";
|
|
3
|
+
import { BaseActivitySummaryComponent } from "../base-activity-summary.component";
|
|
4
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
5
|
+
import { DictionaryService } from "../../../../service/dictionary.service";
|
|
6
|
+
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
7
|
+
export declare class StatusSummaryBlockComponent extends BaseActivitySummaryComponent implements OnInit {
|
|
8
|
+
protected dictionaryService: DictionaryService;
|
|
9
|
+
protected dialogService: CoreDialogService;
|
|
10
|
+
iconService: IconCacheService;
|
|
11
|
+
showClass(): boolean;
|
|
12
|
+
readonly Icon: typeof Icon;
|
|
13
|
+
constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService, iconService: IconCacheService);
|
|
14
|
+
ngOnInit(): Promise<void>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@include export-module('co-status-summary-block-layout') {
|
|
2
|
+
.co-status-summary-block {
|
|
3
|
+
.status-summary-date-wrapper {
|
|
4
|
+
display: grid;
|
|
5
|
+
grid-column-gap: 2px;
|
|
6
|
+
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
::ng-deep #status_summary_block_edit_template {
|
|
10
|
+
::ng-deep arrow-link {
|
|
11
|
+
height: 25px;
|
|
12
|
+
}
|
|
13
|
+
.single-field {
|
|
14
|
+
margin: 20px 0;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
@include export-module('co-task-details-layout') {
|
|
2
|
+
.co-task-details {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
&:not(.no-border) {
|
|
6
|
+
border: 1px solid $color_border;
|
|
7
|
+
}
|
|
8
|
+
.header-wrapper {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: flex-start;
|
|
12
|
+
}
|
|
13
|
+
h3 {
|
|
14
|
+
margin-bottom: 15px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
::ng-deep .form-input {
|
|
18
|
+
width: 100%;
|
|
19
|
+
}
|
|
20
|
+
.details-wrapper {
|
|
21
|
+
::ng-deep co-input-textarea {
|
|
22
|
+
textarea {
|
|
23
|
+
min-height: 150px;
|
|
24
|
+
}
|
|
25
|
+
&:before {
|
|
26
|
+
box-shadow: none;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
::ng-deep co-input-text {
|
|
30
|
+
&:before {
|
|
31
|
+
box-shadow: none;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
::ng-deep arrow-link a {
|
|
37
|
+
font-size: 17px !important;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.workflow-dropdown-wrapper {
|
|
41
|
+
padding: 0 0 15px 0;
|
|
42
|
+
}
|
|
43
|
+
.workflow-dropdown {
|
|
44
|
+
position: relative;
|
|
45
|
+
.workflow-drop {
|
|
46
|
+
padding: 7px 9px 7px 15px;
|
|
47
|
+
border-radius: 4px;
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
gap: 20px;
|
|
51
|
+
position: relative;
|
|
52
|
+
justify-content: space-between;
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
background: #2b1dff;
|
|
55
|
+
&.towait {
|
|
56
|
+
background: #DD6301;
|
|
57
|
+
}
|
|
58
|
+
&.toclose, &.toend {
|
|
59
|
+
background: #0f9402;
|
|
60
|
+
}
|
|
61
|
+
&:not(.error-color):after {
|
|
62
|
+
content: '';
|
|
63
|
+
width: 1px;
|
|
64
|
+
height: 100%;
|
|
65
|
+
background: #fff;
|
|
66
|
+
position: absolute;
|
|
67
|
+
right: 26px;
|
|
68
|
+
top: 0;
|
|
69
|
+
}
|
|
70
|
+
&.error-color {
|
|
71
|
+
background: #C1002A;
|
|
72
|
+
}
|
|
73
|
+
label {
|
|
74
|
+
color: #FFFFFF;
|
|
75
|
+
white-space: nowrap;
|
|
76
|
+
}
|
|
77
|
+
co-icon ::ng-deep {
|
|
78
|
+
width: 10px;
|
|
79
|
+
height: 10px;
|
|
80
|
+
svg {
|
|
81
|
+
fill: #FFFFFF;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
.workflow-dropdown-list {
|
|
86
|
+
position: absolute;
|
|
87
|
+
top: 26px;
|
|
88
|
+
left: 0;
|
|
89
|
+
z-index: 9;
|
|
90
|
+
box-shadow: 0 0 10px 0 rgba(72, 79, 96, 0.25);
|
|
91
|
+
.workflow-drop {
|
|
92
|
+
background: #FFF;
|
|
93
|
+
border-radius: 0;
|
|
94
|
+
padding: 10px 15px;
|
|
95
|
+
label {
|
|
96
|
+
color: #171721;
|
|
97
|
+
}
|
|
98
|
+
&:after {
|
|
99
|
+
display: none;
|
|
100
|
+
}
|
|
101
|
+
&:hover {
|
|
102
|
+
background: #f8f8fa;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
.dot {
|
|
106
|
+
background: #2b1dfe;
|
|
107
|
+
width: 6px;
|
|
108
|
+
height: 6px;
|
|
109
|
+
display: flex;
|
|
110
|
+
border-radius: 100%;
|
|
111
|
+
}
|
|
112
|
+
.drop-point {
|
|
113
|
+
width: 10px;
|
|
114
|
+
height: 10px;
|
|
115
|
+
border-radius: 100%;
|
|
116
|
+
display: flex;
|
|
117
|
+
align-items: center;
|
|
118
|
+
justify-content: center;
|
|
119
|
+
-webkit-box-shadow: 0 0 3px 1px rgb(43 29 255);
|
|
120
|
+
-moz-box-shadow: 0 0 3px 1px rgb(43 29 255);
|
|
121
|
+
box-shadow: 0 0 3px 1px rgb(43 29 255);
|
|
122
|
+
&.towait {
|
|
123
|
+
-webkit-box-shadow: 0 0 3px 1px rgb(221 99 1);
|
|
124
|
+
-moz-box-shadow: 0 0 3px 1px rgb(221 99 1);
|
|
125
|
+
box-shadow: 0 0 3px 1px rgb(221 99 1);
|
|
126
|
+
.dot {
|
|
127
|
+
background: #DD6301;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
&.toclose, &.toend {
|
|
131
|
+
-webkit-box-shadow: 0 0 3px 1px rgb(15, 148, 2);
|
|
132
|
+
-moz-box-shadow: 0 0 3px 1px rgb(15, 148, 2);
|
|
133
|
+
box-shadow: 0 0 3px 1px rgb(15, 148, 2);
|
|
134
|
+
.dot {
|
|
135
|
+
background: #0f9402;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
package/lib/components/modify-task-form/components/task-details/style/_material-definition.scss
ADDED
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BaseActivitySummaryComponent } from "../base-activity-summary.component";
|
|
2
|
+
import { AsyncValidatorFn } from "@angular/forms";
|
|
3
|
+
import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
|
|
4
|
+
import { CoreDialogService } from "@colijnit/corecomponents_v12";
|
|
5
|
+
import { DictionaryService } from "../../../../service/dictionary.service";
|
|
6
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
7
|
+
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
8
|
+
export declare class TaskDetailsComponent extends BaseActivitySummaryComponent {
|
|
9
|
+
protected dictionaryService: DictionaryService;
|
|
10
|
+
protected dialogService: CoreDialogService;
|
|
11
|
+
iconCacheService: IconCacheService;
|
|
12
|
+
readonly Icon: typeof Icon;
|
|
13
|
+
readonly blackListValidatorsArray: AsyncValidatorFn[];
|
|
14
|
+
showStatusDropdown: boolean;
|
|
15
|
+
set activity(value: Activity);
|
|
16
|
+
showClass(): boolean;
|
|
17
|
+
get activity(): Activity;
|
|
18
|
+
constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService, iconCacheService: IconCacheService);
|
|
19
|
+
toggleStatusDropdown(): void;
|
|
20
|
+
handleTriggerClickAndClose(trigger: any): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
|
|
3
|
+
import { Icon } from "../../enum/icon.enum";
|
|
4
|
+
import { ScreenConfigAdapterComponent } from "@colijnit/corecomponents_v12";
|
|
5
|
+
import { TableName } from "@colijnit/mainapi/build/enum/table-name.enum";
|
|
6
|
+
import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
|
|
7
|
+
import { ActivitiesTaskConfigNames } from "../../interface/activities-task-config-names";
|
|
8
|
+
import { BusinessObjectFactory } from "@colijnit/ioneconnector/build/service/business-object-factory";
|
|
9
|
+
import { SharedService } from "../../service/shared.service";
|
|
10
|
+
export declare class ModifyTaskFormComponent implements OnInit, ScreenConfigAdapterComponent {
|
|
11
|
+
private _boFactory;
|
|
12
|
+
private sharedService;
|
|
13
|
+
readonly Icon: typeof Icon;
|
|
14
|
+
readonly TableNames: typeof TableName;
|
|
15
|
+
set activity(value: Activity);
|
|
16
|
+
showClass(): boolean;
|
|
17
|
+
get activity(): Activity;
|
|
18
|
+
get hasDocuments(): boolean;
|
|
19
|
+
activityTaskConfigNames: ActivitiesTaskConfigNames;
|
|
20
|
+
readonly: boolean;
|
|
21
|
+
popupContext: boolean;
|
|
22
|
+
set forceReadonly(value: boolean);
|
|
23
|
+
hidden: boolean;
|
|
24
|
+
activityChange: EventEmitter<Activity>;
|
|
25
|
+
statusChange: EventEmitter<boolean>;
|
|
26
|
+
showWorkLog: EventEmitter<void>;
|
|
27
|
+
selectedMenu: string;
|
|
28
|
+
activities: Activity[];
|
|
29
|
+
table: TableName;
|
|
30
|
+
key: string;
|
|
31
|
+
expandActivities: boolean;
|
|
32
|
+
objectConfigName: string;
|
|
33
|
+
required: boolean;
|
|
34
|
+
maxLength: number;
|
|
35
|
+
decimals: number;
|
|
36
|
+
redErrorBackground: boolean;
|
|
37
|
+
private _activity;
|
|
38
|
+
handleAddDocuments(docs: CoDocument[]): void;
|
|
39
|
+
handleAddDocument(doc: CoDocument): void;
|
|
40
|
+
constructor(_boFactory: BusinessObjectFactory, sharedService: SharedService);
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
showContent(menu: string): void;
|
|
43
|
+
handleRegisterWork(): void;
|
|
44
|
+
handleSaveActivity(activity: Activity): void;
|
|
45
|
+
handleDeleteActivity(activity: Activity): void;
|
|
46
|
+
handleShowWorkLow(): void;
|
|
47
|
+
private _updateTaskObject;
|
|
48
|
+
private _getActivities;
|
|
49
|
+
}
|