@colijnit/sharedcomponents 254.1.1 → 254.1.3
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 +701 -179
- 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-list/activity-list.component.js +7 -3
- 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 +48 -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/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.js +3 -3
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +28 -2
- package/esm2015/lib/components/stock/localization/translation.js +3 -1
- package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +7 -2
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +144 -85
- package/esm2015/lib/components/stock/stock.component.js +11 -42
- package/esm2015/lib/components/stock/stock.module.js +4 -3
- 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 +765 -349
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +12 -0
- package/lib/components/activity-list/style/_layout.scss +17 -6
- 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 +10 -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/stock/components/stock-location/stock-location.component.d.ts +7 -1
- package/lib/components/stock/localization/translation.d.ts +2 -0
- package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +2 -0
- package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +19 -6
- package/lib/components/stock/stock.component.d.ts +3 -0
- package/lib/components/stock/style/_layout.scss +64 -31
- 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/lib/style/_variables.scss +2 -0
- package/main.b62bfdc80736ecda90e4.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.051675db76590b099897.css +1 -0
package/index.html
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head>
|
|
2
|
+
<meta charset="utf-8">
|
|
3
|
+
<title>Sharedcomponents</title>
|
|
4
|
+
<base href="/">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
7
|
+
<style>@charset "UTF-8";@import url(https://fonts.googleapis.com/css2?family=Public+Sans:wght@100;200;300;400;500;600;800;900&display=swap);@import url(https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;800;900&display=swap);@import url(https://fonts.googleapis.com/css2?family=Public+Sans&display=swap);body,html{margin:0;overflow:hidden}body,html{width:100%;height:100%}*{box-sizing:border-box;padding:0;margin:0}</style><link rel="stylesheet" href="styles.051675db76590b099897.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.051675db76590b099897.css"></noscript></head>
|
|
8
|
+
<body>
|
|
9
|
+
<app-root></app-root>
|
|
10
|
+
<script src="runtime.8aac21847ed3d3829cca.js" defer></script><script src="polyfills.907fe9d1887c5de17993.js" defer></script><script src="main.b62bfdc80736ecda90e4.js" defer></script>
|
|
11
|
+
|
|
12
|
+
</body></html>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
row-gap: 5px;
|
|
16
|
-
width:
|
|
16
|
+
width: 70%;
|
|
17
17
|
|
|
18
18
|
.activity-display-title {
|
|
19
19
|
display: flex;
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
align-items: center;
|
|
23
23
|
justify-content: flex-end;
|
|
24
24
|
padding-right: 5px;
|
|
25
|
-
|
|
25
|
+
font-size: 11px;
|
|
26
26
|
.co-icon {
|
|
27
27
|
width: 20px;
|
|
28
28
|
height: 20px;
|
|
@@ -33,9 +33,14 @@
|
|
|
33
33
|
display: flex;
|
|
34
34
|
flex-direction: column;
|
|
35
35
|
border-radius: 5px;
|
|
36
|
-
background-color: $sc-color-
|
|
37
|
-
padding:
|
|
38
|
-
|
|
36
|
+
background-color: $sc-color-activity;
|
|
37
|
+
padding: 15px;
|
|
38
|
+
color: #FFFFFF;
|
|
39
|
+
.co-icon {
|
|
40
|
+
svg {
|
|
41
|
+
fill: #FFFFFF;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
39
44
|
.activity-display-body {
|
|
40
45
|
display: flex;
|
|
41
46
|
align-items: center;
|
|
@@ -44,7 +49,7 @@
|
|
|
44
49
|
.activity-display-footer {
|
|
45
50
|
display: flex;
|
|
46
51
|
flex-direction: row;
|
|
47
|
-
column-gap:
|
|
52
|
+
column-gap: 5px;
|
|
48
53
|
align-items: center;
|
|
49
54
|
justify-content: flex-end;
|
|
50
55
|
|
|
@@ -57,6 +62,12 @@
|
|
|
57
62
|
|
|
58
63
|
.customer-reply-content {
|
|
59
64
|
background-color: $sc-color-light-accent;
|
|
65
|
+
color: #171721;
|
|
66
|
+
.co-icon {
|
|
67
|
+
svg {
|
|
68
|
+
fill: #FFFFFF;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
60
71
|
}
|
|
61
72
|
}
|
|
62
73
|
}
|
package/lib/components/activity-overview-component/component-activity-overview.component.d.ts
CHANGED
|
@@ -3,11 +3,13 @@ import { BaseActivityOverviewComponent } from "./components/base-activity-overvi
|
|
|
3
3
|
import { Icon } from "../../enum/icon.enum";
|
|
4
4
|
import { IconCacheService } from "../../service/icon-cache.service";
|
|
5
5
|
import { DictionaryService } from "../../service/dictionary.service";
|
|
6
|
+
import { SharedService } from "../../service/shared.service";
|
|
6
7
|
export declare class ComponentActivityOverviewComponent extends BaseActivityOverviewComponent {
|
|
7
8
|
iconCacheService: IconCacheService;
|
|
8
9
|
dialogService: CoreDialogService;
|
|
9
10
|
dictionaryService: DictionaryService;
|
|
11
|
+
protected sharedService: SharedService;
|
|
10
12
|
readonly Icon: typeof Icon;
|
|
11
13
|
showClass(): boolean;
|
|
12
|
-
constructor(iconCacheService: IconCacheService, dialogService: CoreDialogService, dictionaryService: DictionaryService);
|
|
14
|
+
constructor(iconCacheService: IconCacheService, dialogService: CoreDialogService, dictionaryService: DictionaryService, sharedService: SharedService);
|
|
13
15
|
}
|
package/lib/components/activity-overview-component/components/base-activity-overview.component.d.ts
CHANGED
|
@@ -10,12 +10,13 @@ import { Icon } from "../../../enum/icon.enum";
|
|
|
10
10
|
import { ActivityCfgName } from "../../../enum/activity-cfg-name.enum";
|
|
11
11
|
import { ActivitiesTaskConfigNames } from "../../../interface/activities-task-config-names";
|
|
12
12
|
import { OperationCallbackSimpleFunction } from "../../../interface/operation-callback-simple-function";
|
|
13
|
-
import { OperationCallbackFunctionWithValidation } from "../../../interface/operation-callback-function-with-validation";
|
|
14
13
|
import { DictionaryService } from "../../../service/dictionary.service";
|
|
15
14
|
import { TaskModifierComponent } from "../../task-modifyer/task-modifier.component";
|
|
15
|
+
import { SharedService } from "../../../service/shared.service";
|
|
16
16
|
export declare abstract class BaseActivityOverviewComponent {
|
|
17
17
|
private _dialogService;
|
|
18
18
|
private _dictionaryService;
|
|
19
|
+
private _sharedService;
|
|
19
20
|
readonly icon: typeof Icon;
|
|
20
21
|
readonly cfgNames: typeof ActivityCfgName;
|
|
21
22
|
readonly taskCfgNames: ActivitiesTaskConfigNames;
|
|
@@ -23,13 +24,7 @@ export declare abstract class BaseActivityOverviewComponent {
|
|
|
23
24
|
set viewModel(value: ActivityViewModel);
|
|
24
25
|
set triggerToFireOnSave(value: WorkflowTrigger);
|
|
25
26
|
get triggerToFireOnSave(): WorkflowTrigger;
|
|
26
|
-
canFireTriggerOperation: OperationCallbackSimpleFunction;
|
|
27
27
|
prepareWorkflowOperation: OperationCallbackSimpleFunction;
|
|
28
|
-
lockTaskOperation: OperationCallbackSimpleFunction;
|
|
29
|
-
deleteActivityOperation: OperationCallbackSimpleFunction;
|
|
30
|
-
upsertActivityOperation: OperationCallbackSimpleFunction;
|
|
31
|
-
fireGenericTriggerOperation: OperationCallbackFunctionWithValidation;
|
|
32
|
-
fireTriggerOperation: OperationCallbackFunctionWithValidation;
|
|
33
28
|
userRelationId: number;
|
|
34
29
|
userGroupId: number;
|
|
35
30
|
handleOpenLinkSidebar: boolean;
|
|
@@ -67,7 +62,7 @@ export declare abstract class BaseActivityOverviewComponent {
|
|
|
67
62
|
private _activity;
|
|
68
63
|
private _viewModel;
|
|
69
64
|
private _triggerToFireOnSave;
|
|
70
|
-
constructor(_dialogService: CoreDialogService, _dictionaryService: DictionaryService);
|
|
65
|
+
constructor(_dialogService: CoreDialogService, _dictionaryService: DictionaryService, _sharedService: SharedService);
|
|
71
66
|
handleButtonEndClick(): void;
|
|
72
67
|
handleGenericTriggerClick(event: WorkflowGenericTransition): Promise<void>;
|
|
73
68
|
handleTriggerClick(eventTrigger: WorkflowTrigger): Promise<void>;
|
|
@@ -7,10 +7,11 @@ import { CoreDialogService, ScreenConfigAdapterComponent } from "@colijnit/corec
|
|
|
7
7
|
import { DictionaryService } from "../../../service/dictionary.service";
|
|
8
8
|
import { OperationCallbackSimpleFunction } from "../../../interface/operation-callback-simple-function";
|
|
9
9
|
import { ActivityWorkflow } from "@colijnit/mainapi/build/model/activity-workflow";
|
|
10
|
-
import {
|
|
10
|
+
import { SharedService } from "../../../service/shared.service";
|
|
11
11
|
export declare abstract class BaseActivitySummaryComponent implements ScreenConfigAdapterComponent {
|
|
12
12
|
protected dictionaryService: DictionaryService;
|
|
13
13
|
protected dialogService: CoreDialogService;
|
|
14
|
+
private _sharedService;
|
|
14
15
|
decimals: number;
|
|
15
16
|
forceReadonly: boolean;
|
|
16
17
|
maxLength: number;
|
|
@@ -28,8 +29,6 @@ export declare abstract class BaseActivitySummaryComponent implements ScreenConf
|
|
|
28
29
|
expanded: boolean;
|
|
29
30
|
noBorder: boolean;
|
|
30
31
|
readonly: boolean;
|
|
31
|
-
canFireTriggerOperation: OperationCallbackSimpleFunction;
|
|
32
|
-
fireTriggerOperation: OperationCallbackFunctionWithValidation;
|
|
33
32
|
prepareWorkflowOperation: OperationCallbackSimpleFunction;
|
|
34
33
|
loadTaskOperation: OperationCallbackSimpleFunction;
|
|
35
34
|
set triggerToFireOnSave(value: WorkflowTrigger);
|
|
@@ -42,7 +41,7 @@ export declare abstract class BaseActivitySummaryComponent implements ScreenConf
|
|
|
42
41
|
private _workFlow;
|
|
43
42
|
private _task;
|
|
44
43
|
private _triggerToFireOnSave;
|
|
45
|
-
constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService);
|
|
44
|
+
constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService, _sharedService: SharedService);
|
|
46
45
|
handleSave(event: MouseEvent): void;
|
|
47
46
|
handleCancel(event: MouseEvent): void;
|
|
48
47
|
handleTriggerClick(trigger: WorkflowTrigger): Promise<void>;
|
|
@@ -13,12 +13,12 @@ export declare enum RelationType {
|
|
|
13
13
|
export declare class ExecutiveSummaryBlockComponent extends BaseActivitySummaryComponent implements OnInit {
|
|
14
14
|
protected dictionaryService: DictionaryService;
|
|
15
15
|
protected dialogService: CoreDialogService;
|
|
16
|
-
|
|
16
|
+
protected sharedService: SharedService;
|
|
17
17
|
readonly RelationType: typeof RelationType;
|
|
18
18
|
readonly Icon: typeof Icon;
|
|
19
19
|
showClass(): boolean;
|
|
20
20
|
private _textSearchParams;
|
|
21
21
|
personnel: RelationListObject[];
|
|
22
|
-
constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService,
|
|
22
|
+
constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService, sharedService: SharedService);
|
|
23
23
|
ngOnInit(): Promise<void>;
|
|
24
24
|
}
|
|
@@ -4,12 +4,14 @@ import { BaseActivitySummaryComponent } from "../base-activity-summary.component
|
|
|
4
4
|
import { Icon } from "../../../../enum/icon.enum";
|
|
5
5
|
import { DictionaryService } from "../../../../service/dictionary.service";
|
|
6
6
|
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
7
|
+
import { SharedService } from "../../../../service/shared.service";
|
|
7
8
|
export declare class StatusSummaryBlockComponent extends BaseActivitySummaryComponent implements OnInit {
|
|
8
9
|
protected dictionaryService: DictionaryService;
|
|
9
10
|
protected dialogService: CoreDialogService;
|
|
10
11
|
iconService: IconCacheService;
|
|
12
|
+
protected sharedService: SharedService;
|
|
11
13
|
showClass(): boolean;
|
|
12
14
|
readonly Icon: typeof Icon;
|
|
13
|
-
constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService, iconService: IconCacheService);
|
|
15
|
+
constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService, iconService: IconCacheService, sharedService: SharedService);
|
|
14
16
|
ngOnInit(): Promise<void>;
|
|
15
17
|
}
|
|
@@ -5,17 +5,19 @@ import { CoreDialogService } from "@colijnit/corecomponents_v12";
|
|
|
5
5
|
import { DictionaryService } from "../../../../service/dictionary.service";
|
|
6
6
|
import { Icon } from "../../../../enum/icon.enum";
|
|
7
7
|
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
8
|
+
import { SharedService } from "../../../../service/shared.service";
|
|
8
9
|
export declare class TaskDetailsComponent extends BaseActivitySummaryComponent {
|
|
9
10
|
protected dictionaryService: DictionaryService;
|
|
10
11
|
protected dialogService: CoreDialogService;
|
|
11
12
|
iconCacheService: IconCacheService;
|
|
13
|
+
protected sharedService: SharedService;
|
|
12
14
|
readonly Icon: typeof Icon;
|
|
13
15
|
readonly blackListValidatorsArray: AsyncValidatorFn[];
|
|
14
16
|
showStatusDropdown: boolean;
|
|
15
17
|
set activity(value: Activity);
|
|
16
18
|
showClass(): boolean;
|
|
17
19
|
get activity(): Activity;
|
|
18
|
-
constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService, iconCacheService: IconCacheService);
|
|
20
|
+
constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService, iconCacheService: IconCacheService, sharedService: SharedService);
|
|
19
21
|
toggleStatusDropdown(): void;
|
|
20
22
|
handleTriggerClickAndClose(trigger: any): void;
|
|
21
23
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
2
|
import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
|
|
3
|
-
import {
|
|
4
|
-
import { ScreenConfigAdapterComponent } from "@colijnit/corecomponents_v12";
|
|
3
|
+
import { IconCacheService, ScreenConfigAdapterComponent } from "@colijnit/corecomponents_v12";
|
|
5
4
|
import { TableName } from "@colijnit/mainapi/build/enum/table-name.enum";
|
|
6
5
|
import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
|
|
7
6
|
import { ActivitiesTaskConfigNames } from "../../interface/activities-task-config-names";
|
|
8
7
|
import { BusinessObjectFactory } from "@colijnit/ioneconnector/build/service/business-object-factory";
|
|
9
8
|
import { SharedService } from "../../service/shared.service";
|
|
9
|
+
import { TagTreeItem } from "@colijnit/mainapi/build/model/tag-tree-item.bo";
|
|
10
10
|
export declare class ModifyTaskFormComponent implements OnInit, ScreenConfigAdapterComponent {
|
|
11
11
|
private _boFactory;
|
|
12
12
|
private sharedService;
|
|
13
|
-
|
|
13
|
+
iconCacheService: IconCacheService;
|
|
14
14
|
readonly TableNames: typeof TableName;
|
|
15
15
|
set activity(value: Activity);
|
|
16
16
|
showClass(): boolean;
|
|
@@ -34,16 +34,21 @@ export declare class ModifyTaskFormComponent implements OnInit, ScreenConfigAdap
|
|
|
34
34
|
maxLength: number;
|
|
35
35
|
decimals: number;
|
|
36
36
|
redErrorBackground: boolean;
|
|
37
|
+
showTagPopup: boolean;
|
|
38
|
+
allTags: TagTreeItem[];
|
|
37
39
|
private _activity;
|
|
38
40
|
handleAddDocuments(docs: CoDocument[]): void;
|
|
39
41
|
handleAddDocument(doc: CoDocument): void;
|
|
40
|
-
constructor(_boFactory: BusinessObjectFactory, sharedService: SharedService);
|
|
42
|
+
constructor(_boFactory: BusinessObjectFactory, sharedService: SharedService, iconCacheService: IconCacheService);
|
|
41
43
|
ngOnInit(): void;
|
|
42
44
|
showContent(menu: string): void;
|
|
43
45
|
handleRegisterWork(): void;
|
|
44
46
|
handleSaveActivity(activity: Activity): void;
|
|
45
47
|
handleDeleteActivity(activity: Activity): void;
|
|
46
48
|
handleShowWorkLow(): void;
|
|
49
|
+
handleEditTags(): void;
|
|
50
|
+
handleSaveTags(tags: TagTreeItem[]): void;
|
|
47
51
|
private _updateTaskObject;
|
|
48
52
|
private _getActivities;
|
|
53
|
+
private _getTags;
|
|
49
54
|
}
|
|
@@ -8,30 +8,28 @@ import { ActivitySortType } from "@colijnit/mainapi/build/enum/activity-sort-typ
|
|
|
8
8
|
import { OperationCallbackSimpleFunction } from "../../interface/operation-callback-simple-function";
|
|
9
9
|
import { PersonalActivityOverviewComponent } from "./components/personal-activity-overview/personal-activity-overview.component";
|
|
10
10
|
import { OperationCallbackFunctionWithValidation } from "../../interface/operation-callback-function-with-validation";
|
|
11
|
+
import { SharedService } from "../../service/shared.service";
|
|
12
|
+
import { TableName } from "@colijnit/mainapi/build/enum/table-name.enum";
|
|
11
13
|
export declare class ComponentActivityListComponent extends BaseActivityListComponent implements OnDestroy {
|
|
14
|
+
protected sharedService: SharedService;
|
|
12
15
|
readonly tabs: typeof PersonalActivityTabEnum;
|
|
13
16
|
readonly icons: typeof Icon;
|
|
14
17
|
readonly activityClass: typeof Activity;
|
|
15
18
|
readonly activitySortType: typeof ActivitySortType;
|
|
16
19
|
activityOverviewList: QueryList<PersonalActivityOverviewComponent>;
|
|
17
20
|
showClass(): boolean;
|
|
18
|
-
set table(value:
|
|
19
|
-
get table():
|
|
21
|
+
set table(value: TableName);
|
|
22
|
+
get table(): TableName;
|
|
20
23
|
set key(value: string);
|
|
21
24
|
get key(): string;
|
|
25
|
+
showActivityHeader: boolean;
|
|
22
26
|
hideTitle: boolean;
|
|
23
27
|
noFreeTasks: boolean;
|
|
24
28
|
customTitle: string;
|
|
25
29
|
userGroupId: number;
|
|
26
30
|
relationId: number;
|
|
27
31
|
componentActivitiesMethod: OperationCallbackSimpleFunction;
|
|
28
|
-
fireGenericTriggerOperation: OperationCallbackFunctionWithValidation;
|
|
29
|
-
fireTriggerOperation: OperationCallbackFunctionWithValidation;
|
|
30
|
-
canFireTriggerOperation: OperationCallbackSimpleFunction;
|
|
31
32
|
setHasPausedNotificationsForWorkflowProcessOperation: OperationCallbackFunctionWithValidation;
|
|
32
|
-
lockTaskOperation: OperationCallbackSimpleFunction;
|
|
33
|
-
deleteActivityOperation: OperationCallbackSimpleFunction;
|
|
34
|
-
upsertActivityOperation: OperationCallbackSimpleFunction;
|
|
35
33
|
openLinkClick: EventEmitter<Activity>;
|
|
36
34
|
amountActivityChanged: EventEmitter<number>;
|
|
37
35
|
linkClicked: EventEmitter<{
|
|
@@ -39,8 +37,7 @@ export declare class ComponentActivityListComponent extends BaseActivityListComp
|
|
|
39
37
|
id: string;
|
|
40
38
|
}>;
|
|
41
39
|
formCreated: EventEmitter<void>;
|
|
42
|
-
|
|
43
|
-
triggerFired: EventEmitter<Activity>;
|
|
40
|
+
refreshRequested: EventEmitter<void>;
|
|
44
41
|
showUsergroupActivitiesChanged: EventEmitter<void>;
|
|
45
42
|
activeTab: PersonalActivityTabEnum;
|
|
46
43
|
activityList: ActivityViewModel[];
|
|
@@ -49,8 +46,10 @@ export declare class ComponentActivityListComponent extends BaseActivityListComp
|
|
|
49
46
|
private _key;
|
|
50
47
|
private _subs;
|
|
51
48
|
private _activitiesList;
|
|
52
|
-
constructor();
|
|
49
|
+
constructor(sharedService: SharedService);
|
|
50
|
+
ngOnInit(): Promise<void>;
|
|
53
51
|
ngOnDestroy(): void;
|
|
52
|
+
getActivities(): Promise<void>;
|
|
54
53
|
set activitiesList(allActivities: Activity[]);
|
|
55
54
|
get activitiesList(): Activity[];
|
|
56
55
|
getDelegatedActivities(): Promise<void>;
|
|
@@ -17,6 +17,7 @@ export declare abstract class BaseActivityListComponent implements OnDestroy {
|
|
|
17
17
|
privateDelegatedActivityListViewModels: ActivityListViewModel[];
|
|
18
18
|
filteredActivityListViewModels: ActivityListViewModel[];
|
|
19
19
|
filteredDelegatedActivityListViewModels: ActivityListViewModel[];
|
|
20
|
+
private _showUsergroupActivities;
|
|
20
21
|
get showUsergroupActivities(): boolean;
|
|
21
22
|
set showUsergroupActivities(value: boolean);
|
|
22
23
|
private _activities;
|
|
@@ -24,6 +25,7 @@ export declare abstract class BaseActivityListComponent implements OnDestroy {
|
|
|
24
25
|
private _updateInterval;
|
|
25
26
|
constructor();
|
|
26
27
|
ngOnDestroy(): void;
|
|
28
|
+
abstract getActivities(): any;
|
|
27
29
|
abstract getDelegatedActivities(): any;
|
|
28
30
|
reset(): void;
|
|
29
31
|
applyFilter(): void;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { IconCacheService } from "../../service/icon-cache.service";
|
|
3
3
|
import { Icon } from "../../enum/icon.enum";
|
|
4
|
-
import { CdkDragDrop } from "@angular/cdk/drag-drop";
|
|
5
4
|
import { SharedService } from "../../service/shared.service";
|
|
6
5
|
import { TagTreeItem } from "@colijnit/mainapi/build/model/tag-tree-item.bo";
|
|
7
6
|
export declare class SimpleTagsComponent {
|
|
@@ -9,6 +8,7 @@ export declare class SimpleTagsComponent {
|
|
|
9
8
|
sharedService: SharedService;
|
|
10
9
|
readonly icon: typeof Icon;
|
|
11
10
|
set tags(tags: TagTreeItem[]);
|
|
11
|
+
get tags(): TagTreeItem[];
|
|
12
12
|
set linkedTags(tags: TagTreeItem[]);
|
|
13
13
|
get linkedTags(): TagTreeItem[];
|
|
14
14
|
closeClick: EventEmitter<void>;
|
|
@@ -20,12 +20,5 @@ export declare class SimpleTagsComponent {
|
|
|
20
20
|
private _linkedTags;
|
|
21
21
|
showClass(): boolean;
|
|
22
22
|
constructor(iconCacheService: IconCacheService, sharedService: SharedService);
|
|
23
|
-
setRootDisplayTags(): void;
|
|
24
|
-
handleTagSelected(selectedTag: TagTreeItem): void;
|
|
25
|
-
handleCrumbClicked(tag: TagTreeItem, index: number): void;
|
|
26
|
-
handleAddTag(event: CdkDragDrop<TagTreeItem[], any>): void;
|
|
27
|
-
deleteLinkedTag(tag: TagTreeItem): void;
|
|
28
|
-
searchCollection(): void;
|
|
29
23
|
handleSaveTags(): void;
|
|
30
|
-
private _loadThumbnail;
|
|
31
24
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
3
|
+
import { Icon } from "../../enum/icon.enum";
|
|
4
|
+
import { CdkDragDrop } from "@angular/cdk/drag-drop";
|
|
5
|
+
import { SharedService } from "../../service/shared.service";
|
|
6
|
+
import { TagTreeItem } from "@colijnit/mainapi/build/model/tag-tree-item.bo";
|
|
7
|
+
export declare class SimpleTagsFormComponent {
|
|
8
|
+
iconCacheService: IconCacheService;
|
|
9
|
+
sharedService: SharedService;
|
|
10
|
+
readonly icon: typeof Icon;
|
|
11
|
+
set tags(tags: TagTreeItem[]);
|
|
12
|
+
set linkedTags(tags: TagTreeItem[]);
|
|
13
|
+
get linkedTags(): TagTreeItem[];
|
|
14
|
+
readonly linkedTagsChange: EventEmitter<TagTreeItem[]>;
|
|
15
|
+
breadCrumbs: TagTreeItem[];
|
|
16
|
+
displayTags: TagTreeItem[];
|
|
17
|
+
searchString: string;
|
|
18
|
+
private _tags;
|
|
19
|
+
private _linkedTags;
|
|
20
|
+
showClass(): boolean;
|
|
21
|
+
constructor(iconCacheService: IconCacheService, sharedService: SharedService);
|
|
22
|
+
setRootDisplayTags(): void;
|
|
23
|
+
handleTagSelected(selectedTag: TagTreeItem): void;
|
|
24
|
+
handleCrumbClicked(tag: TagTreeItem, index: number): void;
|
|
25
|
+
handleAddTag(event: CdkDragDrop<TagTreeItem[], any>): void;
|
|
26
|
+
deleteLinkedTag(tag: TagTreeItem): void;
|
|
27
|
+
searchCollection(): void;
|
|
28
|
+
private _loadThumbnail;
|
|
29
|
+
}
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
@include export-module('co-simple-tags-form-layout') {
|
|
2
|
+
.co-simple-tags-form {
|
|
3
|
+
.form-content-wrapper {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
width: 600px;
|
|
7
|
+
height: 600px;
|
|
8
|
+
max-width: 100%;
|
|
9
|
+
column-gap: $sc-co-simple-tags-content-column-gap;
|
|
10
|
+
|
|
11
|
+
.collection-navigation {
|
|
12
|
+
width: $sc-co-simple-tags-navigation-width;
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
row-gap: $sc-co-simple-tags-navigation-column-gap;
|
|
16
|
+
overflow-x: hidden;
|
|
17
|
+
padding-right: 3px;
|
|
18
|
+
|
|
19
|
+
.co-input-search {
|
|
20
|
+
display: block;
|
|
21
|
+
.co-input-text {
|
|
22
|
+
height: 30px;
|
|
23
|
+
&:before {
|
|
24
|
+
display: none;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.breadcrumbs {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: row;
|
|
32
|
+
align-items: center;
|
|
33
|
+
|
|
34
|
+
.co-icon {
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
width: $sc-co-simple-tags-navigation-home-icon-size;
|
|
37
|
+
height: $sc-co-simple-tags-navigation-home-icon-size;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.crumbs {
|
|
41
|
+
display: flex;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
white-space: nowrap;
|
|
44
|
+
text-overflow: ellipsis;
|
|
45
|
+
|
|
46
|
+
.crumb {
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
white-space: nowrap;
|
|
50
|
+
text-overflow: ellipsis;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.spacer {
|
|
54
|
+
margin: 0 5px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.collection-view {
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
row-gap: $sc-co-simple-tags-navigation-collection-row-gap;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.linked-tags-view {
|
|
67
|
+
width: $sc-co-simple-tags-linked-tags-width;
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-direction: column;
|
|
70
|
+
row-gap: $sc-co-simple-tags-linked-tags-row-gap;
|
|
71
|
+
|
|
72
|
+
.view-wrapper {
|
|
73
|
+
display: grid;
|
|
74
|
+
grid-template-columns: 50% 50%;
|
|
75
|
+
grid-auto-rows: $sc-co-simple-tags-linked-tags-tag-height;
|
|
76
|
+
column-gap: $sc-co-simple-tags-linked-tags-gap-size;
|
|
77
|
+
row-gap: $sc-co-simple-tags-linked-tags-gap-size;
|
|
78
|
+
width: calc(100% - #{$sc-co-simple-tags-linked-tags-gap-size});
|
|
79
|
+
height: 100%;
|
|
80
|
+
|
|
81
|
+
.collection-item {
|
|
82
|
+
visibility: hidden;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.collection-item {
|
|
88
|
+
border-radius: $sc-co-simple-tags-collection-item-border-radius;
|
|
89
|
+
padding: $sc-co-simple-tags-collection-item-padding;
|
|
90
|
+
border: $sc-co-simple-tags-collection-item-border;
|
|
91
|
+
display: flex;
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
background: $sc-co-simple-tags-collection-item-background-color;
|
|
94
|
+
&:hover {
|
|
95
|
+
background-color: $sc-co-simple-tags-collection-item-background-color;
|
|
96
|
+
}
|
|
97
|
+
&.draggable {
|
|
98
|
+
cursor: move;
|
|
99
|
+
}
|
|
100
|
+
&.disabled {
|
|
101
|
+
background-color: $sc-co-simple-tags-collection-item-background-color;
|
|
102
|
+
cursor: default;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
span {
|
|
106
|
+
margin-left: 10px;
|
|
107
|
+
overflow: hidden;
|
|
108
|
+
white-space: nowrap;
|
|
109
|
+
text-overflow: ellipsis;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.co-icon {
|
|
113
|
+
width: $sc-co-simple-tags-collection-item-icon-size;
|
|
114
|
+
height: $sc-co-simple-tags-collection-item-icon-size;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.tag-item {
|
|
119
|
+
display: flex;
|
|
120
|
+
border: $sc-co-simple-tags-collection-item-border;
|
|
121
|
+
border-radius: $sc-co-simple-tags-collection-item-border-radius;
|
|
122
|
+
align-items: center;
|
|
123
|
+
justify-content: space-between;
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
background: $sc-co-simple-tags-collection-item-background-color;
|
|
126
|
+
.thumbnail-description {
|
|
127
|
+
display: flex;
|
|
128
|
+
height: 100%;
|
|
129
|
+
align-items: center;
|
|
130
|
+
overflow: hidden;
|
|
131
|
+
|
|
132
|
+
.thumbnail-wrapper {
|
|
133
|
+
height: inherit;
|
|
134
|
+
|
|
135
|
+
img {
|
|
136
|
+
height: inherit;
|
|
137
|
+
padding: 5px;
|
|
138
|
+
border-radius: $sc-co-simple-tags-collection-item-border-radius;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.co-icon {
|
|
143
|
+
margin: 0 8px;
|
|
144
|
+
width: $sc-co-simple-tags-collection-tag-icon-size;
|
|
145
|
+
height: $sc-co-simple-tags-collection-tag-icon-size;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.description-wrapper {
|
|
149
|
+
display: flex;
|
|
150
|
+
flex-direction: column;
|
|
151
|
+
row-gap: 2px;
|
|
152
|
+
justify-content: center;
|
|
153
|
+
overflow: hidden;
|
|
154
|
+
|
|
155
|
+
.description {
|
|
156
|
+
font-weight: bold;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
span {
|
|
160
|
+
overflow: hidden;
|
|
161
|
+
white-space: nowrap;
|
|
162
|
+
text-overflow: ellipsis;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.delete-tag {
|
|
168
|
+
cursor: pointer;
|
|
169
|
+
margin: $sc-co-simple-tags-linked-tag-delete-icon-margin;
|
|
170
|
+
width: $sc-co-simple-tags-linked-tag-delete-icon-size;
|
|
171
|
+
height: $sc-co-simple-tags-linked-tag-delete-icon-size;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.dialog-footer {
|
|
177
|
+
background-color: $sc-co-simple-tags-dialog-footer-background;
|
|
178
|
+
border-width: $sc-co-simple-tags-dialog-footer-border-width;
|
|
179
|
+
border-style: solid;
|
|
180
|
+
border-color: $sc-co-simple-tags-dialog-footer-border-color;
|
|
181
|
+
padding: $sc-co-simple-tags-dialog-footer-padding;
|
|
182
|
+
.co-dialog-footer-button-wrapper {
|
|
183
|
+
gap: $sc-co-simple-tags-dialog-footer-button-wrapper-gap;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
.save-button {
|
|
187
|
+
height: $sc-co-simple-tags-dialog-save-button-size;
|
|
188
|
+
width: $sc-co-simple-tags-dialog-save-button-size;
|
|
189
|
+
border-color: $sc-co-simple-tags-dialog-button-border-color;
|
|
190
|
+
border-style: $sc-co-simple-tags-dialog-button-border-style;
|
|
191
|
+
border-width: $sc-co-simple-tags-dialog-button-border-width;
|
|
192
|
+
background-color: $sc-co-simple-tags-dialog-button-background-color;
|
|
193
|
+
padding: $sc-co-simple-tags-dialog-button-padding;
|
|
194
|
+
box-shadow: $sc-co-simple-tags-dialog-button-box-shadow;
|
|
195
|
+
cursor: pointer;
|
|
196
|
+
.co-icon {
|
|
197
|
+
height: $sc-co-simple-tags-dialog-save-button-icon-size;
|
|
198
|
+
width: $sc-co-simple-tags-dialog-save-button-icon-size;
|
|
199
|
+
svg {
|
|
200
|
+
fill: $sc-co-simple-tags-dialog-save-button-icon-color;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
.close-button {
|
|
205
|
+
height: $sc-co-simple-tags-dialog-close-button-size;
|
|
206
|
+
width: $sc-co-simple-tags-dialog-close-button-size;
|
|
207
|
+
border-color: $sc-co-simple-tags-dialog-button-border-color;
|
|
208
|
+
border-style: $sc-co-simple-tags-dialog-button-border-style;
|
|
209
|
+
border-width: $sc-co-simple-tags-dialog-button-border-width;
|
|
210
|
+
background-color: $sc-co-simple-tags-dialog-close-button-background-color;
|
|
211
|
+
padding: $sc-co-simple-tags-dialog-button-padding;
|
|
212
|
+
box-shadow: $sc-co-simple-tags-dialog-button-box-shadow;
|
|
213
|
+
cursor: pointer;
|
|
214
|
+
.co-icon {
|
|
215
|
+
height: $sc-co-simple-tags-dialog-save-button-icon-size;
|
|
216
|
+
width: $sc-co-simple-tags-dialog-save-button-icon-size;
|
|
217
|
+
svg {
|
|
218
|
+
fill: $sc-co-simple-tags-dialog-save-button-icon-color;
|
|
219
|
+
}
|
|
220
|
+
[fill] {
|
|
221
|
+
fill: $sc-co-simple-tags-dialog-save-button-icon-color;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
.co-input-checkbox {
|
|
226
|
+
.checkbox {
|
|
227
|
+
border-color: #FFFFFF;
|
|
228
|
+
background-color: #FFFFFF;
|
|
229
|
+
&.checked {
|
|
230
|
+
border-color: $sc-co-simple-tags-checkbox-checked-background-color;
|
|
231
|
+
background-color: $sc-co-simple-tags-checkbox-checked-background-color;
|
|
232
|
+
}
|
|
233
|
+
.checkmark {
|
|
234
|
+
&.show {
|
|
235
|
+
border-color: #FFFFFF;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
.disabled {
|
|
241
|
+
cursor: default;
|
|
242
|
+
opacity: 0.6;
|
|
243
|
+
}
|
|
244
|
+
.clickable {
|
|
245
|
+
cursor: pointer;
|
|
246
|
+
}
|
|
247
|
+
.co-dialog {
|
|
248
|
+
.co-dialog-wrapper {
|
|
249
|
+
background: #f8f8fa;
|
|
250
|
+
max-height: 90vh;
|
|
251
|
+
.dialog-header, .dialog-content, .dialog-footer {
|
|
252
|
+
background: #f8f8fa;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|