@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.
Files changed (183) hide show
  1. package/3rdpartylicenses.txt +1203 -0
  2. package/bundles/colijnit-sharedcomponents.umd.js +3335 -7
  3. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  4. package/colijnit-sharedcomponents.d.ts +36 -0
  5. package/colijnit-sharedcomponents.metadata.json +1 -1
  6. package/esm2015/colijnit-sharedcomponents.js +37 -1
  7. package/esm2015/lib/businessobject/co-document-right.bo.js +1 -1
  8. package/esm2015/lib/components/activity-list-header/activity-list-header.component.js +67 -0
  9. package/esm2015/lib/components/activity-list-header/activity-list-header.module.js +28 -0
  10. package/esm2015/lib/components/activity-list-header/components/period-filter/period-filter-popup.component.js +55 -0
  11. package/esm2015/lib/components/activity-list-header/components/period-filter/period-filter.component.js +103 -0
  12. package/esm2015/lib/components/activity-list-header/components/period-filter/period-filter.module.js +34 -0
  13. package/esm2015/lib/components/activity-overview-component/component-activity-overview.component.js +129 -0
  14. package/esm2015/lib/components/activity-overview-component/component-activity-overview.module.js +26 -0
  15. package/esm2015/lib/components/activity-overview-component/components/base-activity-overview.component.js +284 -0
  16. package/esm2015/lib/components/date-planning/component/agenda/agenda-header.component.js +32 -3
  17. package/esm2015/lib/components/image-display/image-display.component.js +7 -7
  18. package/esm2015/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.component.js +100 -0
  19. package/esm2015/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.module.js +25 -0
  20. package/esm2015/lib/components/modify-task-form/components/base-activity-summary.component.js +134 -0
  21. package/esm2015/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.js +118 -0
  22. package/esm2015/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.module.js +27 -0
  23. package/esm2015/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.js +88 -0
  24. package/esm2015/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.module.js +24 -0
  25. package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.js +77 -0
  26. package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.module.js +24 -0
  27. package/esm2015/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.js +71 -0
  28. package/esm2015/lib/components/modify-task-form/components/status-summary-block/status-summary-block.module.js +25 -0
  29. package/esm2015/lib/components/modify-task-form/components/task-details/task-details.component.js +102 -0
  30. package/esm2015/lib/components/modify-task-form/components/task-details/task-details.module.js +25 -0
  31. package/esm2015/lib/components/modify-task-form/modify-task-form.component.js +258 -0
  32. package/esm2015/lib/components/modify-task-form/modify-task-form.module.js +33 -0
  33. package/esm2015/lib/components/open-activity-list/component-activity-list.component.js +293 -0
  34. package/esm2015/lib/components/open-activity-list/component-activity-list.module.js +30 -0
  35. package/esm2015/lib/components/open-activity-list/components/base-open-activity-list.component.js +264 -0
  36. package/esm2015/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.component.js +41 -0
  37. package/esm2015/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.module..js +19 -0
  38. package/esm2015/lib/components/task-modifyer/task-modifier.component.js +270 -0
  39. package/esm2015/lib/components/task-modifyer/task-modifyer.module..js +31 -0
  40. package/esm2015/lib/components/workflow-notification-toggle/workflow-notification-toggle-popup.js +53 -0
  41. package/esm2015/lib/components/workflow-notification-toggle/workflow-notification-toggle.component.js +81 -0
  42. package/esm2015/lib/components/workflow-notification-toggle/workflow-notification-toggle.module.js +34 -0
  43. package/esm2015/lib/directives/absolute-overlay-template.directive.js +29 -0
  44. package/esm2015/lib/directives/align-with.directive.js +174 -0
  45. package/esm2015/lib/directives/click-outside.directive.js +25 -0
  46. package/esm2015/lib/directives/directives.module.js +22 -0
  47. package/esm2015/lib/enum/activity-cfg-name.enum.js +29 -0
  48. package/esm2015/lib/enum/app-button-type.enum.js +11 -0
  49. package/esm2015/lib/enum/calendar-view.enum.js +2 -1
  50. package/esm2015/lib/enum/icon.enum.js +13 -1
  51. package/esm2015/lib/interface/activities-task-config-names.js +2 -0
  52. package/esm2015/lib/interface/operation-callback-activity.js +5 -0
  53. package/esm2015/lib/interface/operation-callback-function-with-validation.js +5 -0
  54. package/esm2015/lib/interface/operation-callback-simple-function.js +1 -1
  55. package/esm2015/lib/model/icon-svg.js +15 -3
  56. package/esm2015/lib/service/app-absolute-overlay-outlet.service.js +20 -0
  57. package/esm2015/lib/service/shared-connector.service.js +121 -1
  58. package/esm2015/lib/service/shared.service.js +50 -1
  59. package/esm2015/lib/utils/browser-utils.js +100 -0
  60. package/esm2015/lib/utils/calendar.utils.js +34 -1
  61. package/esm2015/lib/utils/event-utils.js +59 -0
  62. package/esm2015/lib/utils/string-utils.js +5 -1
  63. package/esm2015/public-api.js +3 -1
  64. package/favicon.ico +0 -0
  65. package/fesm2015/colijnit-sharedcomponents.js +3486 -13
  66. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  67. package/index.html +12 -0
  68. package/lib/components/activity-list-header/activity-list-header.component.d.ts +25 -0
  69. package/lib/components/activity-list-header/activity-list-header.module.d.ts +2 -0
  70. package/lib/components/activity-list-header/components/period-filter/period-filter-popup.component.d.ts +11 -0
  71. package/lib/components/activity-list-header/components/period-filter/period-filter.component.d.ts +26 -0
  72. package/lib/components/activity-list-header/components/period-filter/period-filter.module.d.ts +2 -0
  73. package/lib/components/activity-list-header/components/period-filter/style/_layout.scss +62 -0
  74. package/lib/components/activity-list-header/components/period-filter/style/_material-definition.scss +1 -0
  75. package/lib/components/activity-list-header/components/period-filter/style/_theme.scss +5 -0
  76. package/lib/components/activity-list-header/components/period-filter/style/material.scss +4 -0
  77. package/lib/components/activity-list-header/style/_layout.scss +84 -0
  78. package/lib/components/activity-list-header/style/_material-definition.scss +1 -0
  79. package/lib/components/activity-list-header/style/_theme.scss +5 -0
  80. package/lib/components/activity-list-header/style/material.scss +4 -0
  81. package/lib/components/activity-overview-component/component-activity-overview.component.d.ts +13 -0
  82. package/lib/components/activity-overview-component/component-activity-overview.module.d.ts +2 -0
  83. package/lib/components/activity-overview-component/components/base-activity-overview.component.d.ts +84 -0
  84. package/lib/components/activity-overview-component/style/_layout.scss +107 -0
  85. package/lib/components/activity-overview-component/style/_material-definition.scss +1 -0
  86. package/lib/components/activity-overview-component/style/_theme.scss +5 -0
  87. package/lib/components/activity-overview-component/style/material.scss +4 -0
  88. package/lib/components/date-planning/component/agenda/style/_layout.scss +68 -55
  89. package/lib/components/date-planning/component/agenda/style/_material-definition.scss +1 -1
  90. package/lib/components/date-planning/style/_layout.scss +1 -0
  91. package/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.component.d.ts +31 -0
  92. package/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.module.d.ts +2 -0
  93. package/lib/components/modify-task-form/components/activity-summary-block/style/_layout.scss +139 -0
  94. package/lib/components/modify-task-form/components/activity-summary-block/style/_material-definition.scss +0 -0
  95. package/lib/components/modify-task-form/components/activity-summary-block/style/_theme.scss +5 -0
  96. package/lib/components/modify-task-form/components/activity-summary-block/style/material.scss +4 -0
  97. package/lib/components/modify-task-form/components/base-activity-summary.component.d.ts +53 -0
  98. package/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.d.ts +28 -0
  99. package/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.module.d.ts +2 -0
  100. package/lib/components/modify-task-form/components/creation-summary-block/style/_layout.scss +5 -0
  101. package/lib/components/modify-task-form/components/creation-summary-block/style/_material-definition.scss +0 -0
  102. package/lib/components/modify-task-form/components/creation-summary-block/style/_theme.scss +5 -0
  103. package/lib/components/modify-task-form/components/creation-summary-block/style/material.scss +4 -0
  104. package/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.d.ts +24 -0
  105. package/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.module.d.ts +2 -0
  106. package/lib/components/modify-task-form/components/executive-summary-block/style/_layout.scss +5 -0
  107. package/lib/components/modify-task-form/components/executive-summary-block/style/_material-definition.scss +0 -0
  108. package/lib/components/modify-task-form/components/executive-summary-block/style/_theme.scss +5 -0
  109. package/lib/components/modify-task-form/components/executive-summary-block/style/material.scss +4 -0
  110. package/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.d.ts +23 -0
  111. package/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.module.d.ts +2 -0
  112. package/lib/components/modify-task-form/components/notification-summary-block/style/_layout.scss +161 -0
  113. package/lib/components/modify-task-form/components/notification-summary-block/style/_material-definition.scss +0 -0
  114. package/lib/components/modify-task-form/components/notification-summary-block/style/_theme.scss +5 -0
  115. package/lib/components/modify-task-form/components/notification-summary-block/style/material.scss +4 -0
  116. package/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.d.ts +15 -0
  117. package/lib/components/modify-task-form/components/status-summary-block/status-summary-block.module.d.ts +2 -0
  118. package/lib/components/modify-task-form/components/status-summary-block/style/_layout.scss +18 -0
  119. package/lib/components/modify-task-form/components/status-summary-block/style/_material-definition.scss +0 -0
  120. package/lib/components/modify-task-form/components/status-summary-block/style/_theme.scss +5 -0
  121. package/lib/components/modify-task-form/components/status-summary-block/style/material.scss +4 -0
  122. package/lib/components/modify-task-form/components/task-details/style/_layout.scss +142 -0
  123. package/lib/components/modify-task-form/components/task-details/style/_material-definition.scss +0 -0
  124. package/lib/components/modify-task-form/components/task-details/style/_theme.scss +5 -0
  125. package/lib/components/modify-task-form/components/task-details/style/material.scss +4 -0
  126. package/lib/components/modify-task-form/components/task-details/task-details.component.d.ts +21 -0
  127. package/lib/components/modify-task-form/components/task-details/task-details.module.d.ts +2 -0
  128. package/lib/components/modify-task-form/modify-task-form.component.d.ts +49 -0
  129. package/lib/components/modify-task-form/modify-task-form.module.d.ts +2 -0
  130. package/lib/components/modify-task-form/style/_layout.scss +135 -0
  131. package/lib/components/modify-task-form/style/_material-definition.scss +0 -0
  132. package/lib/components/modify-task-form/style/_theme.scss +5 -0
  133. package/lib/components/modify-task-form/style/material.scss +4 -0
  134. package/lib/components/open-activity-list/component-activity-list.component.d.ts +69 -0
  135. package/lib/components/open-activity-list/component-activity-list.module.d.ts +2 -0
  136. package/lib/components/open-activity-list/components/base-open-activity-list.component.d.ts +46 -0
  137. package/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.component.d.ts +4 -0
  138. package/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.module..d.ts +2 -0
  139. package/lib/components/open-activity-list/components/personal-activity-overview/style/_layout.scss +105 -0
  140. package/lib/components/open-activity-list/components/personal-activity-overview/style/_material-definition.scss +0 -0
  141. package/lib/components/open-activity-list/components/personal-activity-overview/style/_theme.scss +4 -0
  142. package/lib/components/open-activity-list/components/personal-activity-overview/style/material.scss +4 -0
  143. package/lib/components/open-activity-list/style/_layout.scss +26 -0
  144. package/lib/components/open-activity-list/style/_material-definition.scss +0 -0
  145. package/lib/components/open-activity-list/style/_theme.scss +4 -0
  146. package/lib/components/open-activity-list/style/material.scss +4 -0
  147. package/lib/components/task-modifyer/style/_layout.scss +5 -0
  148. package/lib/components/task-modifyer/style/_material-definition.scss +0 -0
  149. package/lib/components/task-modifyer/style/_theme.scss +4 -0
  150. package/lib/components/task-modifyer/style/material.scss +4 -0
  151. package/lib/components/task-modifyer/task-modifier.component.d.ts +67 -0
  152. package/lib/components/task-modifyer/task-modifyer.module..d.ts +2 -0
  153. package/lib/components/workflow-notification-toggle/style/_layout.scss +59 -0
  154. package/lib/components/workflow-notification-toggle/style/_material-definition.scss +0 -0
  155. package/lib/components/workflow-notification-toggle/style/_theme.scss +4 -0
  156. package/lib/components/workflow-notification-toggle/style/material.scss +4 -0
  157. package/lib/components/workflow-notification-toggle/workflow-notification-toggle-popup.d.ts +15 -0
  158. package/lib/components/workflow-notification-toggle/workflow-notification-toggle.component.d.ts +28 -0
  159. package/lib/components/workflow-notification-toggle/workflow-notification-toggle.module.d.ts +2 -0
  160. package/lib/directives/absolute-overlay-template.directive.d.ts +9 -0
  161. package/lib/directives/align-with.directive.d.ts +35 -0
  162. package/lib/directives/click-outside.directive.d.ts +7 -0
  163. package/lib/directives/directives.module.d.ts +2 -0
  164. package/lib/enum/activity-cfg-name.enum.d.ts +27 -0
  165. package/lib/enum/app-button-type.enum.d.ts +9 -0
  166. package/lib/enum/calendar-view.enum.d.ts +1 -0
  167. package/lib/enum/icon.enum.d.ts +12 -0
  168. package/lib/interface/activities-task-config-names.d.ts +12 -0
  169. package/lib/interface/operation-callback-activity.d.ts +5 -0
  170. package/lib/interface/operation-callback-function-with-validation.d.ts +5 -0
  171. package/lib/service/app-absolute-overlay-outlet.service.d.ts +9 -0
  172. package/lib/service/shared-connector.service.d.ts +18 -0
  173. package/lib/service/shared.service.d.ts +16 -0
  174. package/lib/utils/browser-utils.d.ts +15 -0
  175. package/lib/utils/calendar.utils.d.ts +1 -0
  176. package/lib/utils/event-utils.d.ts +12 -0
  177. package/lib/utils/string-utils.d.ts +1 -0
  178. package/main.36b466467ac98ce720f9.js +1 -0
  179. package/package.json +2 -1
  180. package/polyfills.907fe9d1887c5de17993.js +1 -0
  181. package/public-api.d.ts +2 -0
  182. package/runtime.8aac21847ed3d3829cca.js +1 -0
  183. package/styles.6375d1d30814ecba5d0c.css +1 -0
@@ -16,7 +16,6 @@
16
16
  display: flex;
17
17
  width: inherit;
18
18
  height: $agenda-week-view-header-height;
19
- background: white;
20
19
  z-index: 9001;
21
20
  }
22
21
 
@@ -41,30 +40,27 @@
41
40
  align-items: center;
42
41
  justify-content: center;
43
42
  }
44
-
45
43
  .week-day-label {
46
- margin: 0.25em;
47
- padding: 0.25em;
48
- background: white;
49
- pointer-events: none;
44
+ margin: 0;
45
+ padding: 0;
50
46
  position: relative;
51
47
  flex-basis: 100%;
52
48
  display: flex;
49
+ gap: 10px;
53
50
  flex-direction: column;
54
51
  align-items: center;
55
52
  justify-content: center;
56
- border: 1px solid $color-border;
57
-
53
+ border: none;
54
+ cursor: pointer;
55
+ &:not(.days-around) {
56
+ pointer-events: none;
57
+ }
58
58
  .weekday-description, .weekday-value, .day-description {
59
59
  color: $color-dark;
60
60
  }
61
-
62
61
  &.selectable {
63
62
  pointer-events: all;
64
63
  }
65
-
66
-
67
-
68
64
  &.selectable:not(.selected) {
69
65
  cursor: pointer;
70
66
  color: $color-label;
@@ -77,71 +73,57 @@
77
73
  }
78
74
  }
79
75
  }
80
-
81
76
  .add-unit-icon, .sub-unit-icon {
82
77
  pointer-events: all;
83
78
  }
84
-
85
-
86
79
  }
87
-
88
80
  .weekday-description {
89
81
  color: $color-inactive-day;
90
82
  font-size: 14px;
91
83
  text-transform: uppercase;
92
84
  margin-top: 7px;
93
85
  }
94
-
95
86
  .weekday-value {
96
87
  color: $color-inactive-day;
97
88
  font-size: $agenda-week-label-value-font-size;
98
-
99
89
  }
100
-
101
90
  .sub-unit-icon {
102
91
  position: absolute;
103
92
  left: 7px;
104
93
  }
105
-
106
94
  .add-unit-icon {
107
95
  position: absolute;
108
96
  right: 7px;
109
97
  }
110
-
111
98
  .day-description {
112
99
  color: $color-inactive-day;
113
100
  font-size: $agenda-week-label-value-font-size;
114
101
  font-weight: bold;
115
102
  }
116
-
117
103
  .month-description {
118
- top: 1px;
104
+ top: 15px;
119
105
  left: 3px;
120
106
  font-size: 11px;
121
107
  text-transform: capitalize;
122
108
  position: absolute;
123
109
  width: 100px;
124
110
  }
125
-
126
111
  .view-wrapper {
127
112
  display: flex;
128
113
  width: 100%;
129
114
  margin-top: -1px;
130
115
  }
131
-
132
116
  .week-select-view {
133
117
  display: flex;
134
118
  position: relative;
135
119
  padding: 50px;
136
120
  height: 100%;
137
121
  }
138
-
139
122
  .week-day {
140
123
  display: flex;
141
124
  position: relative;
142
125
  flex-basis: 100%;
143
126
  }
144
-
145
127
  @media screen and (max-width: $xs-width) {
146
128
  .popup-card-content {
147
129
  padding: 0 0 15px !important;
@@ -155,48 +137,58 @@
155
137
  bottom: 0;
156
138
  }
157
139
  }
158
-
159
140
  agenda {
160
141
  position: relative;
161
142
  }
162
-
163
143
  .agenda-content-wrapper {
164
144
  min-width: 0 !important;
165
145
  }
166
-
167
146
  agenda-header {
168
147
  width: 100% !important;
169
148
  }
170
-
171
149
  .agenda-header-wrapper {
172
150
  padding: 0 50px;
173
151
  height: auto;
174
-
175
- .week-day-label {
176
-
177
- .sub-unit-icon {
178
- height: 100%;
179
- width: 50px;
180
- left: -50px;
181
- }
182
-
183
- .add-unit-icon {
184
- height: 100%;
185
- width: 50px;
186
- right: -50px;
187
- }
188
-
189
- @media screen and (max-width: $xs-width) {
152
+ gap: 10px;
153
+ margin-top: 30px;
154
+ &.days-around {
155
+ padding: 0;
156
+ margin: 0;
157
+ gap: 5px;
158
+ background: transparent;
159
+ justify-content: center;
160
+ .week-day-label {
190
161
  .sub-unit-icon {
191
- width: 25px;
192
- left: -25px;
162
+ height: 24px;
163
+ width: 24px;
164
+ left: -30px;
165
+ padding: 5px;
193
166
  }
194
-
195
167
  .add-unit-icon {
196
- width: 25px;
197
- right: -25px;
168
+ height: 24px;
169
+ width: 24px;
170
+ right: -30px;
171
+ padding: 5px;
198
172
  }
199
173
  }
174
+ }
175
+ .week-day-label {
176
+ .sub-unit-icon {
177
+ height: 30px;
178
+ width: 30px;
179
+ left: 0;
180
+ background: #f5f5fa;
181
+ border-radius: 100%;
182
+ padding: 7px
183
+ }
184
+ .add-unit-icon {
185
+ height: 30px;
186
+ width: 30px;
187
+ right: 0;
188
+ background: #f5f5fa;
189
+ border-radius: 100%;
190
+ padding: 7px;
191
+ }
200
192
 
201
193
  .weekday-description {
202
194
  font-size: 14px;
@@ -206,16 +198,37 @@
206
198
  .weekday-value {
207
199
  line-height: 30px;
208
200
  }
209
-
201
+ &.days-around {
202
+ width: 45px;
203
+ height: 45px;
204
+ flex-basis: 45px;
205
+ border-radius: 100%;
206
+ border: none;
207
+ background: transparent;
208
+ margin: 0;
209
+ padding: 0;
210
+ gap: 0;
211
+ .weekday-value {
212
+ display: block;
213
+ font-size: 12px;
214
+ line-height: 1.2;
215
+ }
216
+ &.selected {
217
+ background: #1A73E8;
218
+ .weekday-value {
219
+ color: #FFF;
220
+ }
221
+ }
222
+ }
210
223
  @media screen and (min-width: $sm-width) {
211
224
  .weekday-value {
212
- font-size: 18px;
225
+ font-size: 16px;
213
226
  }
214
227
  }
215
228
  @media screen and (max-width: $xs-width) {
216
229
  .weekday-value {
217
230
  line-height: 20px;
218
- font-size: 9px;
231
+ font-size: 12px;
219
232
  }
220
233
  }
221
234
  }
@@ -5,7 +5,7 @@ $color-label: #5B6875;
5
5
  $color-dark: #171721;
6
6
  $color-border: rgba(grey, 0.4);
7
7
  $color-inactive-day: rgba($color-dark, 0.2);
8
- $agenda-week-label-value-font-size: 22px;
8
+ $agenda-week-label-value-font-size: 16px;
9
9
  $xs-width: 600px;
10
10
  $sm-width: 960px;
11
11
  $md-width: 1280px;
@@ -35,6 +35,7 @@
35
35
  width: 100%;
36
36
  height: 100%;
37
37
  flex-direction: column;
38
+ display: flex;
38
39
  }
39
40
 
40
41
  calendar {
@@ -0,0 +1,31 @@
1
+ import { ElementRef, EventEmitter, OnDestroy, TemplateRef } from "@angular/core";
2
+ import { FormComponent, FormMasterService } from "@colijnit/corecomponents_v12";
3
+ import { Icon } from "../../../../enum/icon.enum";
4
+ export declare class ActivitySummaryBlockComponent implements OnDestroy {
5
+ private _formMaster;
6
+ elementRef: ElementRef;
7
+ readonly Icon: typeof Icon;
8
+ mainForm: FormComponent;
9
+ cssId: string;
10
+ noBorder: boolean;
11
+ icon: Icon;
12
+ editIcon: Icon;
13
+ image: string;
14
+ editTitle: string;
15
+ editTemplate: TemplateRef<any>;
16
+ extraButtonsTemplate: TemplateRef<any>;
17
+ readonly: boolean;
18
+ showButtons: boolean;
19
+ hideCancel: boolean;
20
+ actionIcon: boolean;
21
+ expandable: boolean;
22
+ saveClick: EventEmitter<any>;
23
+ cancelClick: EventEmitter<MouseEvent>;
24
+ showClass(): boolean;
25
+ get summaryElement(): ElementRef;
26
+ constructor(_formMaster: FormMasterService, elementRef: ElementRef);
27
+ ngOnDestroy(): void;
28
+ handleOkClick(event: MouseEvent): void;
29
+ handleCancelClick(event: MouseEvent): void;
30
+ onValid(): void;
31
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ActivitySummaryBlockModule {
2
+ }
@@ -0,0 +1,139 @@
1
+ @include export-module('co-activity-summary-block-layout') {
2
+ .co-activity-summary-block{
3
+ height: auto;
4
+ display: flex;
5
+ flex-direction: column;
6
+ &:not(.no-border) {
7
+ border: 1px solid #DCE4EA;
8
+ }
9
+ .left-seperator {
10
+ &:before {
11
+ content: "|";
12
+ margin: 0 10px;
13
+ }
14
+ }
15
+
16
+ .shrink-to-fit {
17
+ display: flex;
18
+ flex-shrink: 0;
19
+ }
20
+
21
+ svg {
22
+ width: 100%;
23
+ height: 100%;
24
+ }
25
+ }
26
+ ::ng-deep image-display {
27
+ height: 70px;
28
+ width: 70px;
29
+ span {
30
+ display: none;
31
+ }
32
+ }
33
+
34
+ .icon-wrapper {
35
+ display: flex;
36
+ flex-shrink: 0;
37
+ align-items: center;
38
+ justify-content: center;
39
+ background: #F8FBFA;
40
+ height: 70px;
41
+ width: 70px;
42
+ border-radius: 50%;
43
+ border: 1px solid #DCE4EA;
44
+ overflow: hidden;
45
+ ::ng-deep icon {
46
+ height: 60px !important;
47
+ width: 60px !important;
48
+ flex-shrink: 0;
49
+ }
50
+ &.small {
51
+ height: 50px;
52
+ width: 50px;
53
+ ::ng-deep icon {
54
+ height: 40px !important;
55
+ width: 40px !important;
56
+ }
57
+ }
58
+ }
59
+
60
+ .block-wrapper {
61
+ position: relative;
62
+ display: flex;
63
+ align-items: center;
64
+ .expandable-wrapper {
65
+ position: absolute;
66
+ bottom: 0;
67
+ left: 50%;
68
+ transform: translateX(-50%);
69
+ }
70
+ }
71
+
72
+ .content-wrapper {
73
+ display: flex;
74
+ flex-direction: column;
75
+ justify-content: space-between;
76
+ margin-left: 10px;
77
+ min-height: 70px;
78
+ height: auto;
79
+ width: 100%;
80
+ }
81
+
82
+ .value {
83
+ font-size: 13px;
84
+ font-weight: bold;
85
+ color: #171721;
86
+ align-items: center;
87
+ }
88
+
89
+ .title {
90
+ font-size: 11px;
91
+ line-height: 13px;
92
+ color: #171721;
93
+ }
94
+
95
+ .activity-summary-block-edit-template {
96
+ display: flex;
97
+ width: 100%;
98
+ flex-direction: column;
99
+ justify-content: space-between;
100
+ z-index: 9000;
101
+ max-height: 100%;
102
+
103
+ .template-wrapper {
104
+ margin-bottom: 10px;
105
+ }
106
+ ::ng-deep co-form {
107
+ co-list-of-values {
108
+ margin-bottom: 5px;
109
+ &:before {
110
+ box-shadow: none;
111
+ }
112
+ }
113
+ }
114
+ .title-wrapper {
115
+ align-items: center;
116
+ margin-bottom: 10px;
117
+ }
118
+ ::ng-deep h3:not(.no-margin) {
119
+ margin-top: 25px;
120
+ }
121
+ }
122
+
123
+ .collapseable-wrapper {
124
+ padding: 10px;
125
+ border-bottom: 1px solid #DCE4EA;
126
+ }
127
+
128
+ ::ng-deep .input-date-window {
129
+ z-index: 9001!important;
130
+ }
131
+
132
+ .initial {
133
+ position: initial !important;
134
+ }
135
+
136
+ .center {
137
+ justify-content: center;
138
+ }
139
+ }
@@ -0,0 +1,5 @@
1
+ @include export-module('co-executive-summary-block') {
2
+ .co-activity-summary-block {
3
+ }
4
+ }
5
+
@@ -0,0 +1,4 @@
1
+ @import "../../../../../style/mixin";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -0,0 +1,53 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
3
+ import { TableName } from "@colijnit/mainapi/build/enum/table-name.enum";
4
+ import { WorkflowTrigger } from "@colijnit/mainapi/build/model/workflow-trigger.bo";
5
+ import { Task } from "@colijnit/mainapi/build/model/task.bo";
6
+ import { CoreDialogService, ScreenConfigAdapterComponent } from "@colijnit/corecomponents_v12";
7
+ import { DictionaryService } from "../../../service/dictionary.service";
8
+ import { OperationCallbackSimpleFunction } from "../../../interface/operation-callback-simple-function";
9
+ import { ActivityWorkflow } from "@colijnit/mainapi/build/model/activity-workflow";
10
+ import { OperationCallbackFunctionWithValidation } from "../../../interface/operation-callback-function-with-validation";
11
+ export declare abstract class BaseActivitySummaryComponent implements ScreenConfigAdapterComponent {
12
+ protected dictionaryService: DictionaryService;
13
+ protected dialogService: CoreDialogService;
14
+ decimals: number;
15
+ forceReadonly: boolean;
16
+ maxLength: number;
17
+ objectConfigName: string;
18
+ redErrorBackground: boolean;
19
+ required: boolean;
20
+ set activity(value: Activity);
21
+ get activity(): Activity;
22
+ set workFlow(value: ActivityWorkflow);
23
+ get workFlow(): ActivityWorkflow;
24
+ set task(value: Task);
25
+ get task(): Task;
26
+ table: TableName;
27
+ key: string;
28
+ expanded: boolean;
29
+ noBorder: boolean;
30
+ readonly: boolean;
31
+ canFireTriggerOperation: OperationCallbackSimpleFunction;
32
+ fireTriggerOperation: OperationCallbackFunctionWithValidation;
33
+ prepareWorkflowOperation: OperationCallbackSimpleFunction;
34
+ loadTaskOperation: OperationCallbackSimpleFunction;
35
+ set triggerToFireOnSave(value: WorkflowTrigger);
36
+ get triggerToFireOnSave(): WorkflowTrigger;
37
+ readonly activityChange: EventEmitter<Activity>;
38
+ readonly showWorkLog: EventEmitter<void>;
39
+ readonly triggerFired: EventEmitter<ActivityWorkflow>;
40
+ hidden: boolean;
41
+ editActivity: Activity;
42
+ private _workFlow;
43
+ private _task;
44
+ private _triggerToFireOnSave;
45
+ constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService);
46
+ handleSave(event: MouseEvent): void;
47
+ handleCancel(event: MouseEvent): void;
48
+ handleTriggerClick(trigger: WorkflowTrigger): Promise<void>;
49
+ handleExpandClick(value: boolean): void;
50
+ protected prepareWorkflow(): Promise<void>;
51
+ private _saveClone;
52
+ private updateActivityTask;
53
+ }
@@ -0,0 +1,28 @@
1
+ import { OnDestroy, OnInit, TemplateRef } from "@angular/core";
2
+ import { CoreDialogService } from "@colijnit/corecomponents_v12";
3
+ import { BaseActivitySummaryComponent } from "../base-activity-summary.component";
4
+ import { Icon } from "../../../../enum/icon.enum";
5
+ import { DictionaryService } from "../../../../service/dictionary.service";
6
+ import { SharedService } from "../../../../service/shared.service";
7
+ import { TaskCategory } from "@colijnit/mainapi/build/model/task-category.bo";
8
+ import { CoDomainValue } from "@colijnit/mainapi/build/model/co-domain-value.bo";
9
+ import { LanguageCode } from "../../../../enum/language-code.enum";
10
+ export declare class CreationSummaryBlockComponent extends BaseActivitySummaryComponent implements OnInit, OnDestroy {
11
+ protected dictionaryService: DictionaryService;
12
+ protected dialogService: CoreDialogService;
13
+ protected sharedService: SharedService;
14
+ protected readonly locale: LanguageCode;
15
+ readonly Icon: typeof Icon;
16
+ taskCategories: TaskCategory[];
17
+ chosenTaskCategory: TaskCategory;
18
+ priorityDomainColl: CoDomainValue[];
19
+ chosenPriority: CoDomainValue;
20
+ editTemplate: TemplateRef<any>;
21
+ showClass(): boolean;
22
+ constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService, sharedService: SharedService, locale: LanguageCode);
23
+ ngOnDestroy(): void;
24
+ ngOnInit(): void;
25
+ handleTaskCategoryChange(taskCategory: TaskCategory): void;
26
+ handlePriorityChange(domainValue: CoDomainValue): void;
27
+ private _findDomainValueOfPriorityType;
28
+ }
@@ -0,0 +1,2 @@
1
+ export declare class CreationSummaryBlockModule {
2
+ }
@@ -0,0 +1,5 @@
1
+ @include export-module('co-creation-summary-block') {
2
+ .co-creation-summary-block {
3
+
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ @include export-module('co-creation-summary-block-theme') {
2
+ .co-creation-summary-block {
3
+ }
4
+ }
5
+
@@ -0,0 +1,4 @@
1
+ @import "../../../../../style/mixin";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -0,0 +1,24 @@
1
+ import { OnInit } from "@angular/core";
2
+ import { CoreDialogService } from "@colijnit/corecomponents_v12";
3
+ import { BaseActivitySummaryComponent } from "../base-activity-summary.component";
4
+ import { Icon } from "../../../../enum/icon.enum";
5
+ import { DictionaryService } from "../../../../service/dictionary.service";
6
+ import { RelationListObject } from "@colijnit/relationapi/build/model/relation-list-object.bo";
7
+ import { SharedService } from "../../../../service/shared.service";
8
+ export declare enum RelationType {
9
+ Executive = "executive",
10
+ Reporter = "reporter",
11
+ Supervisor = "supervisor"
12
+ }
13
+ export declare class ExecutiveSummaryBlockComponent extends BaseActivitySummaryComponent implements OnInit {
14
+ protected dictionaryService: DictionaryService;
15
+ protected dialogService: CoreDialogService;
16
+ private _sharedService;
17
+ readonly RelationType: typeof RelationType;
18
+ readonly Icon: typeof Icon;
19
+ showClass(): boolean;
20
+ private _textSearchParams;
21
+ personnel: RelationListObject[];
22
+ constructor(dictionaryService: DictionaryService, dialogService: CoreDialogService, _sharedService: SharedService);
23
+ ngOnInit(): Promise<void>;
24
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ExecutiveSummaryBlockModule {
2
+ }
@@ -0,0 +1,5 @@
1
+ @include export-module('co-executive-summary-block-layout') {
2
+ .co-executive-summary-block {
3
+
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ @include export-module('co-executive-summary-block') {
2
+ .co-executive-summary-block {
3
+ }
4
+ }
5
+
@@ -0,0 +1,4 @@
1
+ @import "../../../../../style/mixin";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -0,0 +1,23 @@
1
+ import { OnInit } from "@angular/core";
2
+ import { CoreDialogService } from "@colijnit/corecomponents_v12";
3
+ import { BaseActivitySummaryComponent } from "../base-activity-summary.component";
4
+ import { ActivitySummaryBlockComponent } from "../activity-summary-block/activity-summary-block.component";
5
+ import { Icon } from "../../../../enum/icon.enum";
6
+ import { BusinessObjectFactory } from "@colijnit/ioneconnector/build/service/business-object-factory";
7
+ import { DictionaryService } from "../../../../service/dictionary.service";
8
+ import { RoleEmailaddress } from "@colijnit/mainapi/build/model/role-email-address";
9
+ import { SharedService } from "../../../../service/shared.service";
10
+ export declare class NotificationSummaryBlockComponent extends BaseActivitySummaryComponent implements OnInit {
11
+ protected boFactory: BusinessObjectFactory;
12
+ protected dictionaryService: DictionaryService;
13
+ protected dialogService: CoreDialogService;
14
+ protected sharedService: SharedService;
15
+ readonly Icon: typeof Icon;
16
+ summaryBlock: ActivitySummaryBlockComponent;
17
+ showClass(): boolean;
18
+ listItems: RoleEmailaddress[];
19
+ emailAddresses: string[];
20
+ constructor(boFactory: BusinessObjectFactory, dictionaryService: DictionaryService, dialogService: CoreDialogService, sharedService: SharedService);
21
+ ngOnInit(): Promise<void>;
22
+ handleSendEmail(event: MouseEvent): void;
23
+ }
@@ -0,0 +1,2 @@
1
+ export declare class NotificationSummaryBlockModule {
2
+ }