@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
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ import { BaseActivityOverviewComponent } from "../../../activity-overview-component/components/base-activity-overview.component";
2
+ export declare class PersonalActivityOverviewComponent extends BaseActivityOverviewComponent {
3
+ showClass(): boolean;
4
+ }
@@ -0,0 +1,2 @@
1
+ export declare class PersonalActivityOverviewModule {
2
+ }
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-personal-activity-overview-theme') {
2
+ .co-personal-activity-overview {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../../../style/mixin";
2
+ @import "material-definition";
3
+ @import "layout";
4
+ @import "theme";
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-component-activity-list-theme') {
2
+ .co-component-activity-list {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,5 @@
1
+ @include export-module('co-task-modifier') {
2
+ .co-task-modifier{
3
+
4
+ }
5
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-task-modifier-theme') {
2
+ .co-task-modifier {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -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,2 @@
1
+ export declare class TaskModifyerModule {
2
+ }
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-workflow-notification-toggle-theme') {
2
+ .co-workflow-notification-toggle {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -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
+ }
@@ -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,2 @@
1
+ export declare class WorkflowNotificationToggleModule {
2
+ }
@@ -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
+ }
@@ -0,0 +1,35 @@
1
+ import { AfterContentChecked, AfterViewInit, ElementRef, NgZone, OnChanges, OnDestroy, OnInit } from "@angular/core";
2
+ export declare class AlignWithDirective implements OnInit, AfterViewInit, OnChanges, OnDestroy, AfterContentChecked {
3
+ private _ngZone;
4
+ private _elementRef;
5
+ set alignWith(alignWith: any | ElementRef);
6
+ enableAlign: boolean;
7
+ keepInView: boolean;
8
+ keepInViewHorizontal: boolean;
9
+ keepInViewVertical: boolean;
10
+ alignRight: boolean;
11
+ noWidthAlign: boolean;
12
+ ajustableHeight: boolean;
13
+ alignTopOffsetPx: number;
14
+ alignLeftOffsetPx: number;
15
+ viewElement: ElementRef;
16
+ fixed: string;
17
+ left: number;
18
+ top: number;
19
+ height: number;
20
+ width: number;
21
+ private _hostNativeEl;
22
+ private get _shouldDoAlign();
23
+ constructor(_ngZone: NgZone, _elementRef: ElementRef);
24
+ ngAfterViewInit(): void;
25
+ ngOnChanges(): void;
26
+ ngAfterContentChecked(): void;
27
+ ngOnDestroy(): void;
28
+ ngOnInit(): void;
29
+ private _getDimensions;
30
+ align(): void;
31
+ scroll: () => void;
32
+ resize: () => void;
33
+ handleKeyUp: () => void;
34
+ private _alignWithZone;
35
+ }
@@ -0,0 +1,7 @@
1
+ import { EventEmitter, ElementRef } from '@angular/core';
2
+ export declare class ClickOutsideDirective {
3
+ private elementRef;
4
+ outsideClick: EventEmitter<MouseEvent>;
5
+ onClick(event: MouseEvent): void;
6
+ constructor(elementRef: ElementRef);
7
+ }
@@ -0,0 +1,2 @@
1
+ export declare class DirectivesModule {
2
+ }
@@ -0,0 +1,27 @@
1
+ export declare enum ActivityCfgName {
2
+ TaskForms = "TaskForms",
3
+ NewTaskFormHeader = "NewTaskFormHeader",
4
+ NewTaskTitle = "NewTaskTitle",
5
+ ActivitiesHeader = "activitiesHeader",
6
+ NewTaskGlobalButton = "newTaskGlobalButton",
7
+ AddActivityTaskButton = "addActivityTaskButton",
8
+ DeleteActivityTaskButton = "deleteActivityTaskButton",
9
+ AddActivityRemarkButton = "addActivityRemarkButton",
10
+ AddActivityWorkButton = "addActivityWorkButton",
11
+ TimeRegistrationMandatory = "timeRegistrationMandatory",
12
+ StatusSummaryHeader = "statusSummaryHeader",
13
+ CreationSummaryHeader = "creationSummaryHeader",
14
+ ExecutiveSummaryHeader = "executiveSummaryHeader",
15
+ PlanningSummaryHeader = "planningSummaryHeader",
16
+ AttachmentsHeader = "attachmentsHeader",
17
+ NotificationsSummaryHeader = "notificationsSummaryHeader",
18
+ TagsHeader = "tagsHeader",
19
+ WorkHeader = "workHeader",
20
+ WorkExecutive = "workExecutive",
21
+ WorkCalculationKey = "calculationKey",
22
+ WorkDescription = "workDescription",
23
+ WorkFile = "workFile",
24
+ EstimationStandardTime = "estimate",
25
+ TaskInvoice = "taskInvoice",
26
+ WorkedTime = "workedTime"
27
+ }
@@ -0,0 +1,9 @@
1
+ export declare enum AppPopupButtonType {
2
+ Ok = 0,
3
+ Open = 1,
4
+ Save = 2,
5
+ Cancel = 3,
6
+ Yes = 4,
7
+ No = 5,
8
+ NoButton = 6
9
+ }
@@ -1,5 +1,6 @@
1
1
  export declare enum CalendarView {
2
2
  DayView = "DAY",
3
+ DaysAround = "DAYS_AROUND",
3
4
  WeekView = "WEEK",
4
5
  WeekSelectView = "WEEK_SELECT",
5
6
  WeekPlanningView = "WEEK_PLANNING",
@@ -6,22 +6,30 @@ export declare enum Icon {
6
6
  ArrowDown = "arrow_down",
7
7
  ArrowDownRegular = "arrow_down_regular",
8
8
  ArrowFatRight = "arrow_fat_right",
9
+ ArrowPointDown = "arrow_point_down",
9
10
  ArrowPointLeft = "arrow_point_left",
10
11
  ArrowPointRight = "arrow_point_right",
12
+ ArrowPointUp = "arrow_point_up",
11
13
  AtSolid = "at_solid",
12
14
  BarcodeReadRegular = "barcode_read_regular",
15
+ BellRegular = "bell_regular",
16
+ BellSlashRegular = "bell_slash_regular",
13
17
  BringForwardRegular = "bring_forward_regular",
14
18
  CheckDuotone = "check_duotone",
15
19
  CheckRound = "check_round",
20
+ CheckSolid = "check_solid",
21
+ ChevronRightRegular = "chevron_right_regular",
16
22
  ClockRegular = "clock_regular",
17
23
  CommentRegular = "comment_regular",
18
24
  CrossSkinny = "cross_skinny",
19
25
  Cubes = "cubes",
20
26
  DeleteLeftRegular = "delete_left_regular",
21
27
  DeliveryTruck = "delivery_truck",
28
+ DetailView = "detail_view",
22
29
  Dropzone = "dropzone",
23
30
  EditPenRegular = "edit_pen_regular",
24
31
  Email = "email",
32
+ Employee = "employee",
25
33
  EnvelopeRegular = "envelope_regular",
26
34
  EyeRegular = "eye_regular",
27
35
  FileExportRegular = "file_export_regular",
@@ -30,17 +38,21 @@ export declare enum Icon {
30
38
  FilePdfSolid = "file_pdf_solid",
31
39
  FileSignatureRegular = "file_signature_regular",
32
40
  HouseBlankRegular = "house_blank_regular",
41
+ IoneWorkflow = "ione_workflow",
33
42
  Lock = "lock",
34
43
  MessageSmsRegular = "message_sms_regular",
35
44
  MessageSmsSolid = "message_sms_solid",
45
+ Notification = "notification",
36
46
  PaperclipRegular = "paperclip_regular",
37
47
  Pdf = "pdf",
38
48
  PersonDiggingRegular = "person_digging_regular",
49
+ PinRoundOpen = "pin_round_open",
39
50
  Print = "print",
40
51
  PrintRegular = "print_regular",
41
52
  PrintSolid = "print_solid",
42
53
  SignatureField = "signature_field",
43
54
  TagRegular = "tag_regular",
55
+ Task = "task",
44
56
  Trashbin = "trashbin",
45
57
  Xml = "xml",
46
58
  XSolid = "x_solid"
@@ -0,0 +1,12 @@
1
+ export interface ActivitiesTaskConfigNames {
2
+ timeRegistrationMandatory?: string;
3
+ deleteActivityTaskButton?: string;
4
+ statusSummaryHeader?: string;
5
+ creationSummaryHeader?: string;
6
+ executiveSummaryHeader?: string;
7
+ planningSummaryHeader?: string;
8
+ attachmentsHeader?: string;
9
+ notificationsSummaryHeader?: string;
10
+ tagsHeader?: string;
11
+ taskInvoice?: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
2
+ export declare type OperationCallbackActivity = {
3
+ (object: any): Promise<Activity>;
4
+ };
5
+ export declare function OperationWithActivityCallback(object: any): Promise<Activity>;
@@ -0,0 +1,5 @@
1
+ import { ValidationResult } from "@colijnit/ioneconnector/build/model/validation-result";
2
+ export declare type OperationCallbackFunctionWithValidation = {
3
+ (object: any, object2: any, object3: any): Promise<ValidationResult>;
4
+ };
5
+ export declare function OperationWithValidationCallback(object: any, object2: any, object3: any): Promise<ValidationResult>;
@@ -0,0 +1,9 @@
1
+ import { TemplateRef } from "@angular/core";
2
+ import { Subject } from "rxjs";
3
+ export declare class AppAbsoluteOverlayOutletService {
4
+ readonly templateCreateRequest: Subject<TemplateRef<any>>;
5
+ readonly templateDestroyRequest: Subject<TemplateRef<any>>;
6
+ constructor();
7
+ placeTemplateIntoOverlay(template: TemplateRef<any>): void;
8
+ removeTemplateFromOverlay(template: TemplateRef<any>): void;
9
+ }