@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,135 @@
|
|
|
1
|
+
@include export-module('co-modify-task-form-layout') {
|
|
2
|
+
.co-modify-task-form {
|
|
3
|
+
display: flex;
|
|
4
|
+
height: 100%;
|
|
5
|
+
.wrapper {
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-template-columns: repeat(auto-fit, minmax(368px, 736px));
|
|
8
|
+
}
|
|
9
|
+
.modify-task-header {
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: space-around;
|
|
12
|
+
grid-column-gap: 10px;
|
|
13
|
+
column-gap: 10px;
|
|
14
|
+
border-radius: 5px;
|
|
15
|
+
padding: 0 0 10px 0;
|
|
16
|
+
border-style: solid;
|
|
17
|
+
border-width: 0 0 5px 0;
|
|
18
|
+
border-color: #ffffff;
|
|
19
|
+
.header-menu {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
flex-basis: 50px;
|
|
23
|
+
align-items: center;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
padding: 5px 15px;
|
|
26
|
+
margin: 0;
|
|
27
|
+
border-radius: 5px;
|
|
28
|
+
white-space: nowrap;
|
|
29
|
+
&.active {
|
|
30
|
+
color: #1A73E8;
|
|
31
|
+
background: #fff;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
.content-menu-wrapper {
|
|
36
|
+
padding: 30px 0;
|
|
37
|
+
}
|
|
38
|
+
.content-row-wrapper {
|
|
39
|
+
display: flex;
|
|
40
|
+
gap: 30px;
|
|
41
|
+
.content-left {
|
|
42
|
+
flex: 1;
|
|
43
|
+
}
|
|
44
|
+
.content-right {
|
|
45
|
+
flex-basis: 200px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
.activity-content-header {
|
|
49
|
+
padding: 15px 0 10px 0;
|
|
50
|
+
font-weight: 600;
|
|
51
|
+
}
|
|
52
|
+
.marked-time-wrapper {
|
|
53
|
+
display: flex;
|
|
54
|
+
gap: 10px;
|
|
55
|
+
align-content: center;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.main {
|
|
59
|
+
grid-column: 1;
|
|
60
|
+
grid-row: 1/2;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.side {
|
|
64
|
+
grid-column: 2;
|
|
65
|
+
grid-row: 1/3;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.bottom {
|
|
69
|
+
grid-column: 1;
|
|
70
|
+
grid-row: 2/3;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@media (max-width: 800px) {
|
|
74
|
+
.main {
|
|
75
|
+
grid-column: auto;
|
|
76
|
+
grid-row: auto;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.side {
|
|
80
|
+
grid-column: auto;
|
|
81
|
+
grid-row: auto;
|
|
82
|
+
max-width: inherit;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.bottom {
|
|
86
|
+
grid-column: auto;
|
|
87
|
+
grid-row: auto;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
::ng-deep form-expand-container {
|
|
92
|
+
border: 1px solid #DCE4EA;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
::ng-deep tags {
|
|
96
|
+
display: block;
|
|
97
|
+
padding: 30px;
|
|
98
|
+
min-height: initial;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
::ng-deep input-notification {
|
|
102
|
+
padding: 15px;
|
|
103
|
+
width: 100%;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.activities-wrapper {
|
|
107
|
+
border: 1px solid #DCE4EA;
|
|
108
|
+
padding: 30px;
|
|
109
|
+
max-width: $xs-width - 1;
|
|
110
|
+
.wrapper {
|
|
111
|
+
display: flex;
|
|
112
|
+
flex-direction: column;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.collapseable-wrapper {
|
|
117
|
+
padding: 10px;
|
|
118
|
+
border-bottom: 1px solid #DCE4EA;
|
|
119
|
+
}
|
|
120
|
+
.popupStyle {
|
|
121
|
+
min-width: 250px;
|
|
122
|
+
margin: 30px;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
::ng-deep #task_modifier_popup {
|
|
127
|
+
.popup-buttons {
|
|
128
|
+
align-self: center;
|
|
129
|
+
}
|
|
130
|
+
::ng-deep .invoice-checkbox {
|
|
131
|
+
margin: 10px 0;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
}
|
|
135
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { BaseActivityListComponent } from "./components/base-open-activity-list.component";
|
|
2
|
+
import { EventEmitter, OnDestroy, QueryList } from "@angular/core";
|
|
3
|
+
import { Icon } from "../../enum/icon.enum";
|
|
4
|
+
import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
|
|
5
|
+
import { ActivityViewModel } from "@colijnit/mainapi/build/model/activity-view-model";
|
|
6
|
+
import { PersonalActivityTabEnum } from "@colijnit/mainapi/build/enum/personal-activity-tab.enum";
|
|
7
|
+
import { ActivitySortType } from "@colijnit/mainapi/build/enum/activity-sort-type.enum";
|
|
8
|
+
import { OperationCallbackSimpleFunction } from "../../interface/operation-callback-simple-function";
|
|
9
|
+
import { PersonalActivityOverviewComponent } from "./components/personal-activity-overview/personal-activity-overview.component";
|
|
10
|
+
import { OperationCallbackFunctionWithValidation } from "../../interface/operation-callback-function-with-validation";
|
|
11
|
+
export declare class ComponentActivityListComponent extends BaseActivityListComponent implements OnDestroy {
|
|
12
|
+
readonly tabs: typeof PersonalActivityTabEnum;
|
|
13
|
+
readonly icons: typeof Icon;
|
|
14
|
+
readonly activityClass: typeof Activity;
|
|
15
|
+
readonly activitySortType: typeof ActivitySortType;
|
|
16
|
+
activityOverviewList: QueryList<PersonalActivityOverviewComponent>;
|
|
17
|
+
showClass(): boolean;
|
|
18
|
+
set table(value: string);
|
|
19
|
+
get table(): string;
|
|
20
|
+
set key(value: string);
|
|
21
|
+
get key(): string;
|
|
22
|
+
hideTitle: boolean;
|
|
23
|
+
noFreeTasks: boolean;
|
|
24
|
+
customTitle: string;
|
|
25
|
+
userGroupId: number;
|
|
26
|
+
relationId: number;
|
|
27
|
+
componentActivitiesMethod: OperationCallbackSimpleFunction;
|
|
28
|
+
fireGenericTriggerOperation: OperationCallbackFunctionWithValidation;
|
|
29
|
+
fireTriggerOperation: OperationCallbackFunctionWithValidation;
|
|
30
|
+
canFireTriggerOperation: OperationCallbackSimpleFunction;
|
|
31
|
+
setHasPausedNotificationsForWorkflowProcessOperation: OperationCallbackFunctionWithValidation;
|
|
32
|
+
lockTaskOperation: OperationCallbackSimpleFunction;
|
|
33
|
+
deleteActivityOperation: OperationCallbackSimpleFunction;
|
|
34
|
+
upsertActivityOperation: OperationCallbackSimpleFunction;
|
|
35
|
+
openLinkClick: EventEmitter<Activity>;
|
|
36
|
+
amountActivityChanged: EventEmitter<number>;
|
|
37
|
+
linkClicked: EventEmitter<{
|
|
38
|
+
module: string;
|
|
39
|
+
id: string;
|
|
40
|
+
}>;
|
|
41
|
+
formCreated: EventEmitter<void>;
|
|
42
|
+
genericTriggerFired: EventEmitter<Activity>;
|
|
43
|
+
triggerFired: EventEmitter<Activity>;
|
|
44
|
+
showUsergroupActivitiesChanged: EventEmitter<void>;
|
|
45
|
+
activeTab: PersonalActivityTabEnum;
|
|
46
|
+
activityList: ActivityViewModel[];
|
|
47
|
+
trackByFn(index: number, vm: ActivityViewModel): any;
|
|
48
|
+
private _table;
|
|
49
|
+
private _key;
|
|
50
|
+
private _subs;
|
|
51
|
+
private _activitiesList;
|
|
52
|
+
constructor();
|
|
53
|
+
ngOnDestroy(): void;
|
|
54
|
+
set activitiesList(allActivities: Activity[]);
|
|
55
|
+
get activitiesList(): Activity[];
|
|
56
|
+
getDelegatedActivities(): Promise<void>;
|
|
57
|
+
showUsergroupActivitiesChange(): void;
|
|
58
|
+
handleTriggerFired(activity: Activity): void;
|
|
59
|
+
handleGenericTriggerFired(activity: Activity): void;
|
|
60
|
+
handleFormCreation(): void;
|
|
61
|
+
handleChangedActivity(idx: number, activity: Activity): void;
|
|
62
|
+
deleteActivity(activity: Activity): void;
|
|
63
|
+
reset(): void;
|
|
64
|
+
doFilterClicked(filter: {
|
|
65
|
+
from: Date;
|
|
66
|
+
to: Date;
|
|
67
|
+
}): void;
|
|
68
|
+
openFirstTask(): void;
|
|
69
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { OnDestroy } from "@angular/core";
|
|
2
|
+
import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
|
|
3
|
+
import { ActivityListViewModel } from "@colijnit/mainapi/build/model/activity-list-view-model";
|
|
4
|
+
export declare abstract class BaseActivityListComponent implements OnDestroy {
|
|
5
|
+
protected reloadTimer: number;
|
|
6
|
+
handleOpenLinkSidebar: boolean;
|
|
7
|
+
set activities(value: Activity[]);
|
|
8
|
+
get activities(): Activity[];
|
|
9
|
+
set delegatedActivities(value: Activity[]);
|
|
10
|
+
get delegatedActivities(): Activity[];
|
|
11
|
+
filterFrom: Date;
|
|
12
|
+
filterTo: Date;
|
|
13
|
+
searchText: string;
|
|
14
|
+
filteredActivities: Activity[];
|
|
15
|
+
filteredDelegatedActivities: Activity[];
|
|
16
|
+
privateActivityListViewModels: ActivityListViewModel[];
|
|
17
|
+
privateDelegatedActivityListViewModels: ActivityListViewModel[];
|
|
18
|
+
filteredActivityListViewModels: ActivityListViewModel[];
|
|
19
|
+
filteredDelegatedActivityListViewModels: ActivityListViewModel[];
|
|
20
|
+
get showUsergroupActivities(): boolean;
|
|
21
|
+
set showUsergroupActivities(value: boolean);
|
|
22
|
+
private _activities;
|
|
23
|
+
private _delegatedActivities;
|
|
24
|
+
private _updateInterval;
|
|
25
|
+
constructor();
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
abstract getDelegatedActivities(): any;
|
|
28
|
+
reset(): void;
|
|
29
|
+
applyFilter(): void;
|
|
30
|
+
protected afterFilterApplied(): void;
|
|
31
|
+
protected getTheActivities(): void;
|
|
32
|
+
private _removeNotShowing;
|
|
33
|
+
protected updatePrivateListsWithFilteredLists(): void;
|
|
34
|
+
private _applyFilter;
|
|
35
|
+
private _searchText;
|
|
36
|
+
private _updatePrivateListWithFilteredList;
|
|
37
|
+
private _refreshActivities;
|
|
38
|
+
private _prepareViewModels;
|
|
39
|
+
private _setAmountListViewModels;
|
|
40
|
+
private _sortByPosition;
|
|
41
|
+
private _addToActivityListViewModel;
|
|
42
|
+
private _getActivityViewModel;
|
|
43
|
+
private _getActivityListViewModel;
|
|
44
|
+
private _startInterval;
|
|
45
|
+
private _updateViewModelContent;
|
|
46
|
+
}
|
package/lib/components/open-activity-list/components/personal-activity-overview/style/_layout.scss
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
@include export-module('co-personal-activity-overview') {
|
|
2
|
+
.co-personal-activity-overview{
|
|
3
|
+
user-select: none;
|
|
4
|
+
display: block;
|
|
5
|
+
background: rgba(255, 255, 255, 0);
|
|
6
|
+
transition: all .2s ease-in-out;
|
|
7
|
+
box-shadow: inset 0 0 1px rgba(1, 1, 1, 0.3);
|
|
8
|
+
padding: 10px;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
|
|
11
|
+
.overview-wrapper {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
align-items: baseline;
|
|
15
|
+
}
|
|
16
|
+
.overview-wrapper-icons {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
}
|
|
20
|
+
.overview-wrapper-labels {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
}
|
|
24
|
+
.overview-wrapper-date {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-shrink: 0;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
margin-left: auto;
|
|
29
|
+
}
|
|
30
|
+
.activity-context-title {
|
|
31
|
+
font-size: 10px;
|
|
32
|
+
}
|
|
33
|
+
.activity-title {
|
|
34
|
+
}
|
|
35
|
+
.date-wrapper {
|
|
36
|
+
font-size: 10px;
|
|
37
|
+
display: flex;
|
|
38
|
+
.icon {
|
|
39
|
+
flex-shrink: 0;
|
|
40
|
+
height: 20px;
|
|
41
|
+
width: 20px;
|
|
42
|
+
}
|
|
43
|
+
&.overdue {
|
|
44
|
+
color: red;
|
|
45
|
+
.icon ::ng-deep [fill] {
|
|
46
|
+
fill: red;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.overview-icon {
|
|
52
|
+
.supervisor-icon {
|
|
53
|
+
margin-left: -10px;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.overview-main {
|
|
58
|
+
display: flex;
|
|
59
|
+
width: 100%;
|
|
60
|
+
flex-direction: row;
|
|
61
|
+
margin-top: 10px;
|
|
62
|
+
flex-wrap: wrap;
|
|
63
|
+
column-gap: 10px;
|
|
64
|
+
row-gap: 5px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.button-trigger {
|
|
68
|
+
height: 22px;
|
|
69
|
+
padding: 5px 10px;
|
|
70
|
+
&:after {
|
|
71
|
+
display: none;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.button-trigger-icon {
|
|
76
|
+
height: 22px;
|
|
77
|
+
padding: 5px 25px 5px 10px;
|
|
78
|
+
&:after {
|
|
79
|
+
display: none;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.date-divider {
|
|
84
|
+
margin: 0 5px;
|
|
85
|
+
font-weight: bold;
|
|
86
|
+
font-size: 14px;
|
|
87
|
+
line-height: 7px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.date {
|
|
91
|
+
min-width: 35px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.date, .time {
|
|
95
|
+
flex-shrink: 0;
|
|
96
|
+
font-size: 10px;
|
|
97
|
+
line-height: 10px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&:not(.overdue):hover {
|
|
101
|
+
background: #FAFAFA;
|
|
102
|
+
color: #171721;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@include export-module('co-component-activity-list-layout') {
|
|
2
|
+
.co-component-activity-list {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
height: 900px;
|
|
6
|
+
padding: 30px 0;
|
|
7
|
+
|
|
8
|
+
.activity-list-content {
|
|
9
|
+
height: 900px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
}
|
|
12
|
+
.activity-wrapper {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: row;
|
|
15
|
+
column-gap: 20px;
|
|
16
|
+
height: 100%;
|
|
17
|
+
}
|
|
18
|
+
.activity-tab-content {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
flex-basis: 100%;
|
|
22
|
+
flex-shrink: 0;
|
|
23
|
+
overflow: auto;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy } from "@angular/core";
|
|
2
|
+
import { CoreDialogService, FormComponent } from "@colijnit/corecomponents_v12";
|
|
3
|
+
import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
|
|
4
|
+
import { WorkflowCategoryType } from "@colijnit/mainapi/build/enum/workflow-category.enum";
|
|
5
|
+
import { Icon } from "../../enum/icon.enum";
|
|
6
|
+
import { DictionaryService } from "../../service/dictionary.service";
|
|
7
|
+
import { BusinessObjectFactory } from "@colijnit/ioneconnector/build/service/business-object-factory";
|
|
8
|
+
import { OperationCallbackSimpleFunction } from "../../interface/operation-callback-simple-function";
|
|
9
|
+
import { Task } from "@colijnit/mainapi/build/model/task.bo";
|
|
10
|
+
import { OperationCallbackActivity } from "../../interface/operation-callback-activity";
|
|
11
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
12
|
+
import { ModifyTaskFormComponent } from "../modify-task-form/modify-task-form.component";
|
|
13
|
+
export declare class TaskModifierComponent implements OnDestroy {
|
|
14
|
+
private _dialogService;
|
|
15
|
+
private _boFactory;
|
|
16
|
+
private readonly _dictionary;
|
|
17
|
+
iconService: IconCacheService;
|
|
18
|
+
readonly icons: typeof Icon;
|
|
19
|
+
mainForm: FormComponent;
|
|
20
|
+
modifyTaskForm: ModifyTaskFormComponent;
|
|
21
|
+
get readonly(): boolean;
|
|
22
|
+
workflowCategory: WorkflowCategoryType;
|
|
23
|
+
reference: string;
|
|
24
|
+
referenceId: string;
|
|
25
|
+
userGroupId: number;
|
|
26
|
+
relationId: number;
|
|
27
|
+
upsertActivityOperation: OperationCallbackSimpleFunction;
|
|
28
|
+
deleteActivityOperation: OperationCallbackSimpleFunction;
|
|
29
|
+
tryLockTaskOperation: OperationCallbackSimpleFunction;
|
|
30
|
+
createTaskOperation: OperationCallbackActivity;
|
|
31
|
+
forceReadonly: boolean;
|
|
32
|
+
readonly editingComplete: EventEmitter<Activity>;
|
|
33
|
+
readonly activitySaved: EventEmitter<Activity>;
|
|
34
|
+
readonly activityDeleted: EventEmitter<Activity>;
|
|
35
|
+
readonly closedWithoutComplete: EventEmitter<boolean>;
|
|
36
|
+
readonly showWorkLog: EventEmitter<void>;
|
|
37
|
+
readonly taskCreated: EventEmitter<Task>;
|
|
38
|
+
readonly taskModified: EventEmitter<Task>;
|
|
39
|
+
showClass(): boolean;
|
|
40
|
+
get showForm(): boolean;
|
|
41
|
+
get header(): string;
|
|
42
|
+
get subHeader(): string;
|
|
43
|
+
get subSubHeader(): string;
|
|
44
|
+
get subHeaderLink(): string;
|
|
45
|
+
get userIsTaskReporter(): boolean;
|
|
46
|
+
showAfterInsert: boolean;
|
|
47
|
+
showNewForm: boolean;
|
|
48
|
+
showModificationForm: boolean;
|
|
49
|
+
currentActivity: Activity;
|
|
50
|
+
editActivity: Activity;
|
|
51
|
+
taskEditting: boolean;
|
|
52
|
+
constructor(_dialogService: CoreDialogService, _boFactory: BusinessObjectFactory, _dictionary: DictionaryService, iconService: IconCacheService);
|
|
53
|
+
ngOnDestroy(): void;
|
|
54
|
+
handleSaveForm(): void;
|
|
55
|
+
onValid(): Promise<void>;
|
|
56
|
+
handleCancelForm(): void;
|
|
57
|
+
onPopupClose(): void;
|
|
58
|
+
hide(): void;
|
|
59
|
+
deleteTask(): Promise<void>;
|
|
60
|
+
createNewTask(standalone?: boolean): Promise<void>;
|
|
61
|
+
startModifyingTask(activity: Activity): Promise<void>;
|
|
62
|
+
startModifyingTaskAndWorkLog(activity: Activity): Promise<void>;
|
|
63
|
+
_createClone(): void;
|
|
64
|
+
doHandleStatusChange(editting: boolean): void;
|
|
65
|
+
updateEditActivity(activity: Activity): void;
|
|
66
|
+
protected readonly Icon: typeof Icon;
|
|
67
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
@include export-module('co-workflow-notification-toggle-layout') {
|
|
2
|
+
.co-workflow-notification-toggle{
|
|
3
|
+
.workflow-list-wrapper {
|
|
4
|
+
background: white;
|
|
5
|
+
border: 1px solid #dedede;
|
|
6
|
+
border-radius: 6px;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.workflow-row {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
align-items: center;
|
|
15
|
+
padding: 10px 15px;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
|
|
18
|
+
&:hover {
|
|
19
|
+
background-color: #f7fafa;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.icon-wrapper {
|
|
23
|
+
height: 24px;
|
|
24
|
+
width: 24px;
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
margin-right: 15px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.workflow-icon {
|
|
32
|
+
height: 24px;
|
|
33
|
+
width: 24px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.small-icon {
|
|
37
|
+
width: 22px;
|
|
38
|
+
height: 22px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.workflow-text {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
|
|
45
|
+
.workflow-title {
|
|
46
|
+
font-weight: bold;
|
|
47
|
+
color: #171721;
|
|
48
|
+
font-size: 12px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.workflow-description {
|
|
52
|
+
color: #8083A3;
|
|
53
|
+
font-size: 12px;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
}
|
|
59
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy } from "@angular/core";
|
|
2
|
+
import { WorkflowProcess } from "@colijnit/mainapi/build/model/workflow-process";
|
|
3
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
4
|
+
import { Icon } from "../../enum/icon.enum";
|
|
5
|
+
export declare class WorkflowNotificationTogglePopupComponent implements OnDestroy {
|
|
6
|
+
element: ElementRef;
|
|
7
|
+
iconService: IconCacheService;
|
|
8
|
+
readonly icons: typeof Icon;
|
|
9
|
+
workflowProcesses: WorkflowProcess[];
|
|
10
|
+
parentForOverlay: ElementRef;
|
|
11
|
+
closePopupClicked: EventEmitter<any>;
|
|
12
|
+
workflowProcessClicked: EventEmitter<WorkflowProcess>;
|
|
13
|
+
constructor(element: ElementRef, iconService: IconCacheService);
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
}
|
package/lib/components/workflow-notification-toggle/workflow-notification-toggle.component.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from "@angular/core";
|
|
2
|
+
import { Icon } from "../../enum/icon.enum";
|
|
3
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
4
|
+
import { OperationCallbackFunctionWithValidation } from "../../interface/operation-callback-function-with-validation";
|
|
5
|
+
import { WorkflowProcess } from "@colijnit/mainapi/build/model/workflow-process";
|
|
6
|
+
import { SharedService } from "../../service/shared.service";
|
|
7
|
+
import { OverlayService } from "@colijnit/corecomponents_v12";
|
|
8
|
+
export declare class WorkflowNotificationToggleComponent implements OnInit {
|
|
9
|
+
element: ElementRef;
|
|
10
|
+
iconService: IconCacheService;
|
|
11
|
+
sharedService: SharedService;
|
|
12
|
+
private _overlayService;
|
|
13
|
+
readonly icons: typeof Icon;
|
|
14
|
+
table: string;
|
|
15
|
+
key: string;
|
|
16
|
+
setHasPausedNotificationsForWorkflowProcessOperation: OperationCallbackFunctionWithValidation;
|
|
17
|
+
showClass(): boolean;
|
|
18
|
+
workflowProcesses: WorkflowProcess[];
|
|
19
|
+
showPopup: boolean;
|
|
20
|
+
private _workflowPopupRef;
|
|
21
|
+
constructor(element: ElementRef, iconService: IconCacheService, sharedService: SharedService, _overlayService: OverlayService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
private _loadWorkflowProcesses;
|
|
24
|
+
buttonClicked(): void;
|
|
25
|
+
openPopup(): void;
|
|
26
|
+
closePopup(): void;
|
|
27
|
+
handleWorkflowToggle(workflow: WorkflowProcess): Promise<void>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OnDestroy, OnInit, TemplateRef } from "@angular/core";
|
|
2
|
+
import { AppAbsoluteOverlayOutletService } from "../service/app-absolute-overlay-outlet.service";
|
|
3
|
+
export declare class AbsoluteOverlayTemplateDirective implements OnInit, OnDestroy {
|
|
4
|
+
private _outletService;
|
|
5
|
+
absoluteOverlayTemplate: TemplateRef<any>;
|
|
6
|
+
constructor(_outletService: AppAbsoluteOverlayOutletService);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
ngOnDestroy(): void;
|
|
9
|
+
}
|