@colijnit/sharedcomponents 254.1.1 → 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.
- package/3rdpartylicenses.txt +1408 -0
- package/bundles/colijnit-sharedcomponents.umd.js +609 -153
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +2 -0
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +3 -1
- package/esm2015/lib/components/activity-overview-component/component-activity-overview.component.js +8 -7
- package/esm2015/lib/components/activity-overview-component/components/base-activity-overview.component.js +15 -21
- package/esm2015/lib/components/modify-task-form/components/base-activity-summary.component.js +8 -10
- package/esm2015/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.js +2 -2
- package/esm2015/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.js +5 -5
- package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.js +2 -2
- package/esm2015/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.js +7 -4
- package/esm2015/lib/components/modify-task-form/components/task-details/task-details.component.js +7 -4
- package/esm2015/lib/components/modify-task-form/modify-task-form.component.js +39 -13
- package/esm2015/lib/components/modify-task-form/modify-task-form.module.js +10 -3
- package/esm2015/lib/components/open-activity-list/component-activity-list.component.js +42 -57
- package/esm2015/lib/components/open-activity-list/components/base-open-activity-list.component.js +5 -3
- package/esm2015/lib/components/simple-tags/simple-tags.component.js +5 -147
- package/esm2015/lib/components/simple-tags/simple-tags.module.js +4 -2
- package/esm2015/lib/components/simple-tags-form/simple-tags-form.component.js +196 -0
- package/esm2015/lib/components/simple-tags-form/simple-tags-form.module.js +26 -0
- package/esm2015/lib/components/task-modifyer/task-modifier.component.js +9 -9
- package/esm2015/lib/components/workflow-info-tiles/components/workflow-info-tile.component.js +45 -0
- package/esm2015/lib/components/workflow-info-tiles/components/workflow-info-tile.module.js +22 -0
- package/esm2015/lib/components/workflow-info-tiles/workflow-info-tiles.component.js +55 -0
- package/esm2015/lib/components/workflow-info-tiles/workflow-info-tiles.module.js +22 -0
- package/esm2015/lib/enum/icon.enum.js +1 -1
- package/esm2015/lib/model/icon-svg.js +1 -1
- package/esm2015/lib/service/shared-connector.service.js +93 -1
- package/esm2015/lib/service/shared.service.js +44 -1
- package/esm2015/public-api.js +5 -1
- package/favicon.ico +0 -0
- package/fesm2015/colijnit-sharedcomponents.js +565 -218
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +12 -0
- package/lib/components/activity-overview-component/component-activity-overview.component.d.ts +3 -1
- package/lib/components/activity-overview-component/components/base-activity-overview.component.d.ts +3 -8
- package/lib/components/modify-task-form/components/base-activity-summary.component.d.ts +3 -4
- package/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.d.ts +2 -2
- package/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.d.ts +3 -1
- package/lib/components/modify-task-form/components/task-details/task-details.component.d.ts +3 -1
- package/lib/components/modify-task-form/modify-task-form.component.d.ts +9 -4
- package/lib/components/modify-task-form/style/_layout.scss +4 -0
- package/lib/components/open-activity-list/component-activity-list.component.d.ts +9 -11
- package/lib/components/open-activity-list/components/base-open-activity-list.component.d.ts +2 -0
- package/lib/components/simple-tags/simple-tags.component.d.ts +1 -8
- package/lib/components/simple-tags-form/simple-tags-form.component.d.ts +29 -0
- package/lib/components/simple-tags-form/simple-tags-form.module.d.ts +2 -0
- package/lib/components/simple-tags-form/style/_layout.scss +257 -0
- package/lib/components/simple-tags-form/style/_material-definition.scss +39 -0
- package/lib/components/simple-tags-form/style/_theme.scss +4 -0
- package/lib/components/simple-tags-form/style/material.scss +4 -0
- package/lib/components/task-modifyer/task-modifier.component.d.ts +3 -5
- package/lib/components/workflow-info-tiles/components/style/_layout.scss +49 -0
- package/lib/components/workflow-info-tiles/components/style/_material-definition.scss +0 -0
- package/lib/components/workflow-info-tiles/components/style/_theme.scss +4 -0
- package/lib/components/workflow-info-tiles/components/style/material.scss +4 -0
- package/lib/components/workflow-info-tiles/components/workflow-info-tile.component.d.ts +15 -0
- package/lib/components/workflow-info-tiles/components/workflow-info-tile.module.d.ts +2 -0
- package/lib/components/workflow-info-tiles/style/_layout.scss +16 -0
- package/lib/components/workflow-info-tiles/style/_material-definition.scss +0 -0
- package/lib/components/workflow-info-tiles/style/_theme.scss +4 -0
- package/lib/components/workflow-info-tiles/style/material.scss +4 -0
- package/lib/components/workflow-info-tiles/workflow-info-tiles.component.d.ts +21 -0
- package/lib/components/workflow-info-tiles/workflow-info-tiles.module.d.ts +2 -0
- package/lib/service/shared-connector.service.d.ts +10 -0
- package/lib/service/shared.service.d.ts +12 -0
- package/main.894c3ac9caba556953e2.js +1 -0
- package/package.json +2 -1
- package/polyfills.907fe9d1887c5de17993.js +1 -0
- package/public-api.d.ts +4 -0
- package/runtime.8aac21847ed3d3829cca.js +1 -0
- package/styles.b92683eab3a233f3fb51.css +1 -0
|
@@ -5,16 +5,17 @@ import { WorkflowCategoryType } from "@colijnit/mainapi/build/enum/workflow-cate
|
|
|
5
5
|
import { Icon } from "../../enum/icon.enum";
|
|
6
6
|
import { DictionaryService } from "../../service/dictionary.service";
|
|
7
7
|
import { BusinessObjectFactory } from "@colijnit/ioneconnector/build/service/business-object-factory";
|
|
8
|
-
import { OperationCallbackSimpleFunction } from "../../interface/operation-callback-simple-function";
|
|
9
8
|
import { Task } from "@colijnit/mainapi/build/model/task.bo";
|
|
10
9
|
import { OperationCallbackActivity } from "../../interface/operation-callback-activity";
|
|
11
10
|
import { IconCacheService } from "../../service/icon-cache.service";
|
|
12
11
|
import { ModifyTaskFormComponent } from "../modify-task-form/modify-task-form.component";
|
|
12
|
+
import { SharedService } from "../../service/shared.service";
|
|
13
13
|
export declare class TaskModifierComponent implements OnDestroy {
|
|
14
14
|
private _dialogService;
|
|
15
15
|
private _boFactory;
|
|
16
16
|
private readonly _dictionary;
|
|
17
17
|
iconService: IconCacheService;
|
|
18
|
+
protected sharedService: SharedService;
|
|
18
19
|
readonly icons: typeof Icon;
|
|
19
20
|
mainForm: FormComponent;
|
|
20
21
|
modifyTaskForm: ModifyTaskFormComponent;
|
|
@@ -24,9 +25,6 @@ export declare class TaskModifierComponent implements OnDestroy {
|
|
|
24
25
|
referenceId: string;
|
|
25
26
|
userGroupId: number;
|
|
26
27
|
relationId: number;
|
|
27
|
-
upsertActivityOperation: OperationCallbackSimpleFunction;
|
|
28
|
-
deleteActivityOperation: OperationCallbackSimpleFunction;
|
|
29
|
-
tryLockTaskOperation: OperationCallbackSimpleFunction;
|
|
30
28
|
createTaskOperation: OperationCallbackActivity;
|
|
31
29
|
forceReadonly: boolean;
|
|
32
30
|
readonly editingComplete: EventEmitter<Activity>;
|
|
@@ -49,7 +47,7 @@ export declare class TaskModifierComponent implements OnDestroy {
|
|
|
49
47
|
currentActivity: Activity;
|
|
50
48
|
editActivity: Activity;
|
|
51
49
|
taskEditting: boolean;
|
|
52
|
-
constructor(_dialogService: CoreDialogService, _boFactory: BusinessObjectFactory, _dictionary: DictionaryService, iconService: IconCacheService);
|
|
50
|
+
constructor(_dialogService: CoreDialogService, _boFactory: BusinessObjectFactory, _dictionary: DictionaryService, iconService: IconCacheService, sharedService: SharedService);
|
|
53
51
|
ngOnDestroy(): void;
|
|
54
52
|
handleSaveForm(): void;
|
|
55
53
|
onValid(): Promise<void>;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
@include export-module('co-workflow-info-tile-layout') {
|
|
2
|
+
.co-workflow-info-tile {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
width: 200px;
|
|
7
|
+
height: 120px;
|
|
8
|
+
border-radius: 5px;
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
.top {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
padding: 10px;
|
|
15
|
+
|
|
16
|
+
.tile-row {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: row;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
align-items: center;
|
|
21
|
+
|
|
22
|
+
.status-text {
|
|
23
|
+
color: #B6BFBF;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.corner-icon {
|
|
27
|
+
width: 20px;
|
|
28
|
+
height: 20px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.bottom {
|
|
34
|
+
padding: 10px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.name-text {
|
|
38
|
+
font-weight: bold;
|
|
39
|
+
font-size: large;
|
|
40
|
+
color: #000000;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { WorkflowProcessInfoPerStatus } from "@colijnit/mainapi/build/model/workflow-process-info-per-status";
|
|
3
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
4
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
5
|
+
import { ColorSequenceService } from "@colijnit/corecomponents_v12";
|
|
6
|
+
export declare class WorkflowInfoTileComponent implements OnInit {
|
|
7
|
+
iconCacheService: IconCacheService;
|
|
8
|
+
colorService: ColorSequenceService;
|
|
9
|
+
readonly Icon: typeof Icon;
|
|
10
|
+
workflowProcessInfoPerStatus: WorkflowProcessInfoPerStatus;
|
|
11
|
+
showClass(): boolean;
|
|
12
|
+
backgroundColor: string;
|
|
13
|
+
constructor(iconCacheService: IconCacheService, colorService: ColorSequenceService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { WorkflowCategoryType } from "@colijnit/mainapi/build/enum/workflow-category.enum";
|
|
3
|
+
import { Icon } from "../../enum/icon.enum";
|
|
4
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
5
|
+
import { WorkflowProcessInfoPerStatus } from "@colijnit/mainapi/build/model/workflow-process-info-per-status";
|
|
6
|
+
import { SharedService } from "../../service/shared.service";
|
|
7
|
+
export declare class WorkflowInfoTilesComponent implements OnInit {
|
|
8
|
+
iconCacheService: IconCacheService;
|
|
9
|
+
sharedService: SharedService;
|
|
10
|
+
protected readonly Icon: typeof Icon;
|
|
11
|
+
readonly icons: typeof Icon;
|
|
12
|
+
set workflowCategory(value: WorkflowCategoryType);
|
|
13
|
+
workflowProcessInfoPerStatusClicked: EventEmitter<string>;
|
|
14
|
+
WorkflowProcessInfoPerStatusCollection: WorkflowProcessInfoPerStatus[];
|
|
15
|
+
private _workflowCategory;
|
|
16
|
+
showClass(): boolean;
|
|
17
|
+
constructor(iconCacheService: IconCacheService, sharedService: SharedService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
workflowProcessInfoPerStatusClickedHandler(status: WorkflowProcessInfoPerStatus): void;
|
|
20
|
+
private getWorkflowProcessInfoPerStatusCollection;
|
|
21
|
+
}
|
|
@@ -33,6 +33,8 @@ import { DomainName } from "@colijnit/mainapi/build/enum/domain-name.enum";
|
|
|
33
33
|
import { CoDomainValue } from "@colijnit/mainapi/build/model/co-domain-value.bo";
|
|
34
34
|
import { RoleEmailaddress } from "@colijnit/mainapi/build/model/role-email-address";
|
|
35
35
|
import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
|
|
36
|
+
import { ValidationResult } from "@colijnit/ioneconnector/build/model/validation-result";
|
|
37
|
+
import { WorkflowProcessInfoPerStatus } from "@colijnit/mainapi/build/model/workflow-process-info-per-status";
|
|
36
38
|
export declare class SharedConnectorService {
|
|
37
39
|
private _optionsService;
|
|
38
40
|
articleConnector: Articles;
|
|
@@ -48,6 +50,13 @@ export declare class SharedConnectorService {
|
|
|
48
50
|
getScreenConfigTree(): Promise<any>;
|
|
49
51
|
getScreenConfigSubRubric(parentRubricId: number, configId: number, fixedKey: string): Promise<any>;
|
|
50
52
|
getTagsFullTree(category: TagCategory, includeTags: boolean): Promise<TagTreeItem[]>;
|
|
53
|
+
getComponentActivitiesWithoutRelationFiltering(table: TableName, key: string): Promise<Activity[]>;
|
|
54
|
+
updateActivity(activity: Activity): Promise<boolean>;
|
|
55
|
+
deleteActivity(activity: Activity): Promise<boolean>;
|
|
56
|
+
lockTask(id: number): Promise<boolean>;
|
|
57
|
+
fireTrigger(workFlowProcessId: number, sequence: number, triggerId: number): Promise<ValidationResult>;
|
|
58
|
+
fireGenericTrigger(workFlowProcessId: number, genericTransitionId: number, relationId: number): Promise<ValidationResult>;
|
|
59
|
+
getJoinedTags(table: string, key: string): Promise<TagTreeItem[]>;
|
|
51
60
|
getDocumentContent(id: number, thumbnail?: boolean): Promise<string>;
|
|
52
61
|
getStockHistory(request: GetStockHistoryRequest): Promise<StockHistoryBo[]>;
|
|
53
62
|
getStockInformation(data: ArticleStock): Promise<ArticleStockBo[]>;
|
|
@@ -67,6 +76,7 @@ export declare class SharedConnectorService {
|
|
|
67
76
|
getActiveProcessesByTableAndKey(table: TableName, key: string): Promise<WorkflowProcess[]>;
|
|
68
77
|
getDomainCollection(languageCode: string, domain: DomainName): Promise<CoDomainValue[]>;
|
|
69
78
|
getRoleEmailAddressesByWorkflowCategoryAndKey(worlflowCategory: string, key: string): Promise<RoleEmailaddress[]>;
|
|
79
|
+
getWorkflowProcessInfoPerStatus(worlflowCategory: string): Promise<WorkflowProcessInfoPerStatus[]>;
|
|
70
80
|
getHistoricActivities(table: TableName, key: string): Promise<Activity[]>;
|
|
71
81
|
getComponentActivities(table: TableName, key: string): Promise<Activity[]>;
|
|
72
82
|
commit(): Promise<DataServiceResponseData>;
|
|
@@ -13,6 +13,9 @@ import { DomainName } from "@colijnit/mainapi/build/enum/domain-name.enum";
|
|
|
13
13
|
import { CoDomainValue } from "@colijnit/mainapi/build/model/co-domain-value.bo";
|
|
14
14
|
import { RoleEmailaddress } from "@colijnit/mainapi/build/model/role-email-address";
|
|
15
15
|
import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
|
|
16
|
+
import { ValidationResult } from "@colijnit/ioneconnector/build/model/validation-result";
|
|
17
|
+
import { Task } from "@colijnit/mainapi/build/model/task.bo";
|
|
18
|
+
import { WorkflowProcessInfoPerStatus } from "@colijnit/mainapi/build/model/workflow-process-info-per-status";
|
|
16
19
|
export declare class SharedService {
|
|
17
20
|
protected options: OptionsService;
|
|
18
21
|
protected connector: SharedConnectorService;
|
|
@@ -24,11 +27,20 @@ export declare class SharedService {
|
|
|
24
27
|
getScreenConfigTree(): Promise<any>;
|
|
25
28
|
getScreenConfigSubRubric(parentRubricId: number, configId: number, fixedKey: string): Promise<any>;
|
|
26
29
|
getTagsFullTree(category: TagCategory, includeTags?: boolean): Promise<TagTreeItem[]>;
|
|
30
|
+
getJoinedTags(table: string, key: string): Promise<TagTreeItem[]>;
|
|
27
31
|
getDocumentContent(docId: number, thumbnail?: boolean): Promise<string>;
|
|
32
|
+
getComponentActivitiesWithoutRelationFiltering(table: TableName, key: string): Promise<Activity[]>;
|
|
33
|
+
updateActivity(activity: Activity): Promise<boolean>;
|
|
34
|
+
deleteActivity(activity: Activity): Promise<boolean>;
|
|
35
|
+
lockTask(id: number): Promise<boolean>;
|
|
36
|
+
canFireTrigger(activity: Activity, task: Task): boolean;
|
|
37
|
+
fireTrigger(workFlowProcessId: number, sequence: number, triggerId: number): Promise<ValidationResult>;
|
|
38
|
+
fireGenericTrigger(workFlowProcessId: number, genericTransitionId: number, relationId: number): Promise<ValidationResult>;
|
|
28
39
|
getRelationListObjects(request: RelationRequest): Promise<RelationListObject[]>;
|
|
29
40
|
getTaskCategories(): Promise<TaskCategory[]>;
|
|
30
41
|
getActiveProcessesByTableAndKey(table: TableName, key: string): Promise<WorkflowProcess[]>;
|
|
31
42
|
getDomainCollection(languageCode: string, domainName: DomainName): Promise<CoDomainValue[]>;
|
|
32
43
|
getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory: string, key: string): Promise<RoleEmailaddress[]>;
|
|
44
|
+
getWorkflowProcessInfoPerStatus(workflowCategory: string): Promise<WorkflowProcessInfoPerStatus[]>;
|
|
33
45
|
getActivities(table: TableName, key: string): Promise<Activity[]>;
|
|
34
46
|
}
|