@colijnit/sharedcomponents 1.0.68 → 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 +3335 -7
- 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/date-planning/component/agenda/agenda-header.component.js +32 -3
- 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/calendar-view.enum.js +2 -1
- 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 +15 -3
- 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/calendar.utils.js +34 -1
- 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 +3486 -13
- 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/date-planning/component/agenda/style/_layout.scss +68 -55
- package/lib/components/date-planning/component/agenda/style/_material-definition.scss +1 -1
- package/lib/components/date-planning/style/_layout.scss +1 -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/calendar-view.enum.d.ts +1 -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/calendar.utils.d.ts +1 -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
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
|
+
}
|
|
@@ -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
|
+
}
|