@colijnit/sharedcomponents 1.0.69 → 253.1.1

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 (205) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +3863 -56
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.d.ts +38 -0
  4. package/colijnit-sharedcomponents.metadata.json +1 -1
  5. package/esm2015/colijnit-sharedcomponents.js +39 -1
  6. package/esm2015/lib/components/activity-list-header/activity-list-header.component.js +67 -0
  7. package/esm2015/lib/components/activity-list-header/activity-list-header.module.js +28 -0
  8. package/esm2015/lib/components/activity-list-header/components/period-filter/period-filter-popup.component.js +55 -0
  9. package/esm2015/lib/components/activity-list-header/components/period-filter/period-filter.component.js +103 -0
  10. package/esm2015/lib/components/activity-list-header/components/period-filter/period-filter.module.js +34 -0
  11. package/esm2015/lib/components/activity-overview-component/component-activity-overview.component.js +130 -0
  12. package/esm2015/lib/components/activity-overview-component/component-activity-overview.module.js +26 -0
  13. package/esm2015/lib/components/activity-overview-component/components/base-activity-overview.component.js +278 -0
  14. package/esm2015/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.component.js +100 -0
  15. package/esm2015/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.module.js +25 -0
  16. package/esm2015/lib/components/modify-task-form/components/base-activity-summary.component.js +132 -0
  17. package/esm2015/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.js +118 -0
  18. package/esm2015/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.module.js +27 -0
  19. package/esm2015/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.js +88 -0
  20. package/esm2015/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.module.js +24 -0
  21. package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.js +77 -0
  22. package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.module.js +24 -0
  23. package/esm2015/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.js +74 -0
  24. package/esm2015/lib/components/modify-task-form/components/status-summary-block/status-summary-block.module.js +25 -0
  25. package/esm2015/lib/components/modify-task-form/components/task-details/task-details.component.js +105 -0
  26. package/esm2015/lib/components/modify-task-form/components/task-details/task-details.module.js +25 -0
  27. package/esm2015/lib/components/modify-task-form/modify-task-form.component.js +284 -0
  28. package/esm2015/lib/components/modify-task-form/modify-task-form.module.js +40 -0
  29. package/esm2015/lib/components/open-activity-list/component-activity-list.component.js +278 -0
  30. package/esm2015/lib/components/open-activity-list/component-activity-list.module.js +30 -0
  31. package/esm2015/lib/components/open-activity-list/components/base-open-activity-list.component.js +266 -0
  32. package/esm2015/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.component.js +41 -0
  33. package/esm2015/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.module..js +19 -0
  34. package/esm2015/lib/components/simple-tags/simple-tags.component.js +5 -147
  35. package/esm2015/lib/components/simple-tags/simple-tags.module.js +4 -2
  36. package/esm2015/lib/components/simple-tags-form/simple-tags-form.component.js +196 -0
  37. package/esm2015/lib/components/simple-tags-form/simple-tags-form.module.js +26 -0
  38. package/esm2015/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.js +3 -3
  39. package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +28 -2
  40. package/esm2015/lib/components/stock/localization/translation.js +3 -1
  41. package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +7 -2
  42. package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +144 -85
  43. package/esm2015/lib/components/stock/stock.component.js +11 -42
  44. package/esm2015/lib/components/stock/stock.module.js +4 -3
  45. package/esm2015/lib/components/task-modifyer/task-modifier.component.js +270 -0
  46. package/esm2015/lib/components/task-modifyer/task-modifyer.module..js +31 -0
  47. package/esm2015/lib/components/workflow-info-tiles/components/workflow-info-tile.component.js +45 -0
  48. package/esm2015/lib/components/workflow-info-tiles/components/workflow-info-tile.module.js +22 -0
  49. package/esm2015/lib/components/workflow-info-tiles/workflow-info-tiles.component.js +55 -0
  50. package/esm2015/lib/components/workflow-info-tiles/workflow-info-tiles.module.js +22 -0
  51. package/esm2015/lib/components/workflow-notification-toggle/workflow-notification-toggle-popup.js +53 -0
  52. package/esm2015/lib/components/workflow-notification-toggle/workflow-notification-toggle.component.js +81 -0
  53. package/esm2015/lib/components/workflow-notification-toggle/workflow-notification-toggle.module.js +34 -0
  54. package/esm2015/lib/directives/absolute-overlay-template.directive.js +29 -0
  55. package/esm2015/lib/directives/align-with.directive.js +174 -0
  56. package/esm2015/lib/directives/click-outside.directive.js +25 -0
  57. package/esm2015/lib/directives/directives.module.js +22 -0
  58. package/esm2015/lib/enum/activity-cfg-name.enum.js +29 -0
  59. package/esm2015/lib/enum/app-button-type.enum.js +11 -0
  60. package/esm2015/lib/enum/icon.enum.js +13 -1
  61. package/esm2015/lib/interface/activities-task-config-names.js +2 -0
  62. package/esm2015/lib/interface/operation-callback-activity.js +5 -0
  63. package/esm2015/lib/interface/operation-callback-function-with-validation.js +5 -0
  64. package/esm2015/lib/model/icon-svg.js +13 -1
  65. package/esm2015/lib/service/app-absolute-overlay-outlet.service.js +20 -0
  66. package/esm2015/lib/service/shared-connector.service.js +213 -1
  67. package/esm2015/lib/service/shared.service.js +93 -1
  68. package/esm2015/lib/utils/browser-utils.js +100 -0
  69. package/esm2015/lib/utils/event-utils.js +59 -0
  70. package/esm2015/lib/utils/string-utils.js +5 -1
  71. package/esm2015/public-api.js +7 -1
  72. package/fesm2015/colijnit-sharedcomponents.js +4044 -228
  73. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  74. package/lib/components/activity-list-header/activity-list-header.component.d.ts +25 -0
  75. package/lib/components/activity-list-header/activity-list-header.module.d.ts +2 -0
  76. package/lib/components/activity-list-header/components/period-filter/period-filter-popup.component.d.ts +11 -0
  77. package/lib/components/activity-list-header/components/period-filter/period-filter.component.d.ts +26 -0
  78. package/lib/components/activity-list-header/components/period-filter/period-filter.module.d.ts +2 -0
  79. package/lib/components/activity-list-header/components/period-filter/style/_layout.scss +62 -0
  80. package/lib/components/activity-list-header/components/period-filter/style/_material-definition.scss +1 -0
  81. package/lib/components/activity-list-header/components/period-filter/style/_theme.scss +5 -0
  82. package/lib/components/activity-list-header/components/period-filter/style/material.scss +4 -0
  83. package/lib/components/activity-list-header/style/_layout.scss +84 -0
  84. package/lib/components/activity-list-header/style/_material-definition.scss +1 -0
  85. package/lib/components/activity-list-header/style/_theme.scss +5 -0
  86. package/lib/components/activity-list-header/style/material.scss +4 -0
  87. package/lib/components/activity-overview-component/component-activity-overview.component.d.ts +15 -0
  88. package/lib/components/activity-overview-component/component-activity-overview.module.d.ts +2 -0
  89. package/lib/components/activity-overview-component/components/base-activity-overview.component.d.ts +79 -0
  90. package/lib/components/activity-overview-component/style/_layout.scss +107 -0
  91. package/lib/components/activity-overview-component/style/_material-definition.scss +1 -0
  92. package/lib/components/activity-overview-component/style/_theme.scss +5 -0
  93. package/lib/components/activity-overview-component/style/material.scss +4 -0
  94. package/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.component.d.ts +31 -0
  95. package/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.module.d.ts +2 -0
  96. package/lib/components/modify-task-form/components/activity-summary-block/style/_layout.scss +139 -0
  97. package/lib/components/modify-task-form/components/activity-summary-block/style/_material-definition.scss +0 -0
  98. package/lib/components/modify-task-form/components/activity-summary-block/style/_theme.scss +5 -0
  99. package/lib/components/modify-task-form/components/activity-summary-block/style/material.scss +4 -0
  100. package/lib/components/modify-task-form/components/base-activity-summary.component.d.ts +52 -0
  101. package/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.d.ts +28 -0
  102. package/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.module.d.ts +2 -0
  103. package/lib/components/modify-task-form/components/creation-summary-block/style/_layout.scss +5 -0
  104. package/lib/components/modify-task-form/components/creation-summary-block/style/_material-definition.scss +0 -0
  105. package/lib/components/modify-task-form/components/creation-summary-block/style/_theme.scss +5 -0
  106. package/lib/components/modify-task-form/components/creation-summary-block/style/material.scss +4 -0
  107. package/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.d.ts +24 -0
  108. package/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.module.d.ts +2 -0
  109. package/lib/components/modify-task-form/components/executive-summary-block/style/_layout.scss +5 -0
  110. package/lib/components/modify-task-form/components/executive-summary-block/style/_material-definition.scss +0 -0
  111. package/lib/components/modify-task-form/components/executive-summary-block/style/_theme.scss +5 -0
  112. package/lib/components/modify-task-form/components/executive-summary-block/style/material.scss +4 -0
  113. package/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.d.ts +23 -0
  114. package/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.module.d.ts +2 -0
  115. package/lib/components/modify-task-form/components/notification-summary-block/style/_layout.scss +161 -0
  116. package/lib/components/modify-task-form/components/notification-summary-block/style/_material-definition.scss +0 -0
  117. package/lib/components/modify-task-form/components/notification-summary-block/style/_theme.scss +5 -0
  118. package/lib/components/modify-task-form/components/notification-summary-block/style/material.scss +4 -0
  119. package/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.d.ts +17 -0
  120. package/lib/components/modify-task-form/components/status-summary-block/status-summary-block.module.d.ts +2 -0
  121. package/lib/components/modify-task-form/components/status-summary-block/style/_layout.scss +18 -0
  122. package/lib/components/modify-task-form/components/status-summary-block/style/_material-definition.scss +0 -0
  123. package/lib/components/modify-task-form/components/status-summary-block/style/_theme.scss +5 -0
  124. package/lib/components/modify-task-form/components/status-summary-block/style/material.scss +4 -0
  125. package/lib/components/modify-task-form/components/task-details/style/_layout.scss +142 -0
  126. package/lib/components/modify-task-form/components/task-details/style/_material-definition.scss +0 -0
  127. package/lib/components/modify-task-form/components/task-details/style/_theme.scss +5 -0
  128. package/lib/components/modify-task-form/components/task-details/style/material.scss +4 -0
  129. package/lib/components/modify-task-form/components/task-details/task-details.component.d.ts +23 -0
  130. package/lib/components/modify-task-form/components/task-details/task-details.module.d.ts +2 -0
  131. package/lib/components/modify-task-form/modify-task-form.component.d.ts +54 -0
  132. package/lib/components/modify-task-form/modify-task-form.module.d.ts +2 -0
  133. package/lib/components/modify-task-form/style/_layout.scss +139 -0
  134. package/lib/components/modify-task-form/style/_material-definition.scss +0 -0
  135. package/lib/components/modify-task-form/style/_theme.scss +5 -0
  136. package/lib/components/modify-task-form/style/material.scss +4 -0
  137. package/lib/components/open-activity-list/component-activity-list.component.d.ts +67 -0
  138. package/lib/components/open-activity-list/component-activity-list.module.d.ts +2 -0
  139. package/lib/components/open-activity-list/components/base-open-activity-list.component.d.ts +48 -0
  140. package/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.component.d.ts +4 -0
  141. package/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.module..d.ts +2 -0
  142. package/lib/components/open-activity-list/components/personal-activity-overview/style/_layout.scss +105 -0
  143. package/lib/components/open-activity-list/components/personal-activity-overview/style/_material-definition.scss +0 -0
  144. package/lib/components/open-activity-list/components/personal-activity-overview/style/_theme.scss +4 -0
  145. package/lib/components/open-activity-list/components/personal-activity-overview/style/material.scss +4 -0
  146. package/lib/components/open-activity-list/style/_layout.scss +26 -0
  147. package/lib/components/open-activity-list/style/_material-definition.scss +0 -0
  148. package/lib/components/open-activity-list/style/_theme.scss +4 -0
  149. package/lib/components/open-activity-list/style/material.scss +4 -0
  150. package/lib/components/simple-tags/simple-tags.component.d.ts +1 -8
  151. package/lib/components/simple-tags-form/simple-tags-form.component.d.ts +29 -0
  152. package/lib/components/simple-tags-form/simple-tags-form.module.d.ts +2 -0
  153. package/lib/components/simple-tags-form/style/_layout.scss +257 -0
  154. package/lib/components/simple-tags-form/style/_material-definition.scss +39 -0
  155. package/lib/components/simple-tags-form/style/_theme.scss +4 -0
  156. package/lib/components/simple-tags-form/style/material.scss +4 -0
  157. package/lib/components/stock/components/stock-location/stock-location.component.d.ts +7 -1
  158. package/lib/components/stock/localization/translation.d.ts +2 -0
  159. package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +2 -0
  160. package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +19 -6
  161. package/lib/components/stock/stock.component.d.ts +3 -0
  162. package/lib/components/stock/style/_layout.scss +64 -31
  163. package/lib/components/task-modifyer/style/_layout.scss +5 -0
  164. package/lib/components/task-modifyer/style/_material-definition.scss +0 -0
  165. package/lib/components/task-modifyer/style/_theme.scss +4 -0
  166. package/lib/components/task-modifyer/style/material.scss +4 -0
  167. package/lib/components/task-modifyer/task-modifier.component.d.ts +65 -0
  168. package/lib/components/task-modifyer/task-modifyer.module..d.ts +2 -0
  169. package/lib/components/workflow-info-tiles/components/style/_layout.scss +49 -0
  170. package/lib/components/workflow-info-tiles/components/style/_material-definition.scss +0 -0
  171. package/lib/components/workflow-info-tiles/components/style/_theme.scss +4 -0
  172. package/lib/components/workflow-info-tiles/components/style/material.scss +4 -0
  173. package/lib/components/workflow-info-tiles/components/workflow-info-tile.component.d.ts +15 -0
  174. package/lib/components/workflow-info-tiles/components/workflow-info-tile.module.d.ts +2 -0
  175. package/lib/components/workflow-info-tiles/style/_layout.scss +16 -0
  176. package/lib/components/workflow-info-tiles/style/_material-definition.scss +0 -0
  177. package/lib/components/workflow-info-tiles/style/_theme.scss +4 -0
  178. package/lib/components/workflow-info-tiles/style/material.scss +4 -0
  179. package/lib/components/workflow-info-tiles/workflow-info-tiles.component.d.ts +21 -0
  180. package/lib/components/workflow-info-tiles/workflow-info-tiles.module.d.ts +2 -0
  181. package/lib/components/workflow-notification-toggle/style/_layout.scss +59 -0
  182. package/lib/components/workflow-notification-toggle/style/_material-definition.scss +0 -0
  183. package/lib/components/workflow-notification-toggle/style/_theme.scss +4 -0
  184. package/lib/components/workflow-notification-toggle/style/material.scss +4 -0
  185. package/lib/components/workflow-notification-toggle/workflow-notification-toggle-popup.d.ts +15 -0
  186. package/lib/components/workflow-notification-toggle/workflow-notification-toggle.component.d.ts +28 -0
  187. package/lib/components/workflow-notification-toggle/workflow-notification-toggle.module.d.ts +2 -0
  188. package/lib/directives/absolute-overlay-template.directive.d.ts +9 -0
  189. package/lib/directives/align-with.directive.d.ts +35 -0
  190. package/lib/directives/click-outside.directive.d.ts +7 -0
  191. package/lib/directives/directives.module.d.ts +2 -0
  192. package/lib/enum/activity-cfg-name.enum.d.ts +27 -0
  193. package/lib/enum/app-button-type.enum.d.ts +9 -0
  194. package/lib/enum/icon.enum.d.ts +12 -0
  195. package/lib/interface/activities-task-config-names.d.ts +12 -0
  196. package/lib/interface/operation-callback-activity.d.ts +5 -0
  197. package/lib/interface/operation-callback-function-with-validation.d.ts +5 -0
  198. package/lib/service/app-absolute-overlay-outlet.service.d.ts +9 -0
  199. package/lib/service/shared-connector.service.d.ts +28 -0
  200. package/lib/service/shared.service.d.ts +28 -0
  201. package/lib/utils/browser-utils.d.ts +15 -0
  202. package/lib/utils/event-utils.d.ts +12 -0
  203. package/lib/utils/string-utils.d.ts +1 -0
  204. package/package.json +7 -5
  205. package/public-api.d.ts +6 -0
@@ -0,0 +1,25 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { Icon } from "../../enum/icon.enum";
3
+ import { ActivitySortType } from "@colijnit/mainapi/build/enum/activity-sort-type.enum";
4
+ import { IconCacheService } from "../../service/icon-cache.service";
5
+ import { OperationCallbackFunctionWithValidation } from "../../interface/operation-callback-function-with-validation";
6
+ export declare class ActivityListHeaderComponent {
7
+ iconService: IconCacheService;
8
+ readonly icons: typeof Icon;
9
+ readonly activitySortType: typeof ActivitySortType;
10
+ title: string;
11
+ searchText: string;
12
+ showUsergroupActivities: boolean;
13
+ table: string;
14
+ key: string;
15
+ setHasPausedNotificationsForWorkflowProcessOperation: OperationCallbackFunctionWithValidation;
16
+ searchTextChange: EventEmitter<string>;
17
+ periodFilterClicked: EventEmitter<{
18
+ from: Date;
19
+ to: Date;
20
+ }>;
21
+ showUsergroupActivitiesChange: EventEmitter<boolean>;
22
+ showClass(): boolean;
23
+ constructor(iconService: IconCacheService);
24
+ onToggleClicked(toggled: boolean): void;
25
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ActivityListHeaderModule {
2
+ }
@@ -0,0 +1,11 @@
1
+ import { ElementRef, EventEmitter, OnDestroy } from "@angular/core";
2
+ export declare class PeriodFilterPopupComponent implements OnDestroy {
3
+ element: ElementRef;
4
+ showClass(): boolean;
5
+ possibleFilters: string[];
6
+ parentForOverlay: ElementRef;
7
+ closePopup: EventEmitter<any>;
8
+ filterClicked: EventEmitter<string>;
9
+ constructor(element: ElementRef);
10
+ ngOnDestroy(): void;
11
+ }
@@ -0,0 +1,26 @@
1
+ import { ElementRef, EventEmitter, OnDestroy } from "@angular/core";
2
+ import { IconCacheService } from "../../../../service/icon-cache.service";
3
+ import { Icon } from "../../../../enum/icon.enum";
4
+ import { OverlayService } from "@colijnit/corecomponents_v12";
5
+ export declare class PeriodFilterComponent implements OnDestroy {
6
+ element: ElementRef;
7
+ iconService: IconCacheService;
8
+ private _overlayService;
9
+ readonly icon: typeof Icon;
10
+ readonly possibleFilters: string[];
11
+ showPopup: boolean;
12
+ showClass(): boolean;
13
+ handleClick(): void;
14
+ filterClicked: EventEmitter<{
15
+ from: Date;
16
+ to: Date;
17
+ }>;
18
+ currentFilter: string;
19
+ private _periodPopupRef;
20
+ constructor(element: ElementRef, iconService: IconCacheService, _overlayService: OverlayService);
21
+ ngOnDestroy(): void;
22
+ showFilterItems(): void;
23
+ closePopup(): void;
24
+ onFilterClick(filter: string): void;
25
+ private _emitFilterClicked;
26
+ }
@@ -0,0 +1,2 @@
1
+ export declare class PeriodFilterModule {
2
+ }
@@ -0,0 +1,62 @@
1
+ @include export-module('co-period-filter-layout') {
2
+ .co-period-filter {
3
+ cursor: pointer;
4
+ user-select: none;
5
+ display: flex;
6
+ justify-content: space-between;
7
+ height: 40px;
8
+ align-items: flex-start;
9
+ flex-shrink: 0;
10
+ icon {
11
+ height: 20px;
12
+ width: 20px;
13
+ [fill] {
14
+ fill: $color-action;
15
+ }
16
+ }
17
+ //.current-filter {
18
+ // color: $color-action;
19
+ //}
20
+ ::ng-deep #period_filter_dropdown_template {
21
+ overflow: hidden;
22
+ display: block;
23
+ width: 300px;
24
+ border-radius: 5px;
25
+ background: white;
26
+ box-shadow: 1px 1px 10px 1px rgba(72,79,96,.25);
27
+ ::ng-deep .label {
28
+ font-weight: bold;
29
+ height: 50px;
30
+ display: flex;
31
+ align-items: center;
32
+ font-size: 13px;
33
+ padding: 0 10px;
34
+ }
35
+ ::ng-deep .item {
36
+ cursor: pointer;
37
+ height: 50px;
38
+ display: flex;
39
+ flex-direction: row;
40
+ align-items: center;
41
+ border-radius: 5px;
42
+ padding: 10px;
43
+ icon {
44
+ height: 40px;
45
+ width: 40px;
46
+ }
47
+
48
+ &:hover {
49
+ background-color: #8faba6;
50
+ color: white;
51
+ ::ng-deep icon {
52
+ [fill] {
53
+ fill: white;
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+
62
+
@@ -0,0 +1,5 @@
1
+ @include export-module('co-period-filter-theme') {
2
+ .co-period-filter {
3
+
4
+ }
5
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,84 @@
1
+ @include export-module('co-activity-list-header-layout') {
2
+ .co-activity-list-header {
3
+ display: flex;
4
+ flex-direction: column;
5
+ z-index: 1;
6
+ h2 {
7
+ font-size: 14px;
8
+ }
9
+ .input-search {
10
+ width: 300px;
11
+ height: 30px;
12
+ background: $color_text_light;
13
+ border-radius: 5px;
14
+ margin-bottom: 0;
15
+ }
16
+
17
+ .period-filter {
18
+ align-items: center;
19
+ height: 30px;
20
+ }
21
+
22
+ .header-wrapper {
23
+ align-items: center;
24
+ }
25
+
26
+ .sub-header {
27
+ display: flex;
28
+ flex-wrap: wrap-reverse;
29
+ padding-bottom: 10px;
30
+ border-color: $color-border;
31
+ border-bottom: 1px solid;
32
+
33
+ .first-column {
34
+ display: flex;
35
+ flex-basis: 250px;
36
+ flex-shrink: 0;
37
+ height: 40px;
38
+ }
39
+
40
+ .second-column {
41
+ display: flex;
42
+ height: 40px;
43
+ align-items: flex-end;
44
+ flex: 1 1 300px;
45
+ .second-column-right {
46
+ display: flex;
47
+ column-gap: 5px;
48
+ width: 100%;
49
+ justify-content: flex-end;
50
+ .input-search {
51
+ width: auto;
52
+ flex: 1 1 300px;
53
+ min-width: 75px;
54
+ max-width: 300px;
55
+ }
56
+ }
57
+ }
58
+ }
59
+
60
+ ::ng-deep tab-no-router {
61
+ margin-top: 14px;
62
+
63
+ nav.tab-no-router-nav {
64
+ padding-left: 0 !important; // todo: fix this
65
+ a {
66
+ color: #171721;
67
+ border-bottom-width: 3px;
68
+ padding-bottom: 14px;
69
+ &:hover {
70
+ color: #171721;
71
+ }
72
+ &.active {
73
+ color: #171721;
74
+ &:hover {
75
+ color: #171721;
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
83
+
84
+
@@ -0,0 +1 @@
1
+ $color_text_light: #FAFAFA;
@@ -0,0 +1,5 @@
1
+ @include export-module('co-activity-list-header-theme') {
2
+ .co-activity-list-header {
3
+
4
+ }
5
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,15 @@
1
+ import { CoreDialogService } from "@colijnit/corecomponents_v12";
2
+ import { BaseActivityOverviewComponent } from "./components/base-activity-overview.component";
3
+ import { Icon } from "../../enum/icon.enum";
4
+ import { IconCacheService } from "../../service/icon-cache.service";
5
+ import { DictionaryService } from "../../service/dictionary.service";
6
+ import { SharedService } from "../../service/shared.service";
7
+ export declare class ComponentActivityOverviewComponent extends BaseActivityOverviewComponent {
8
+ iconCacheService: IconCacheService;
9
+ dialogService: CoreDialogService;
10
+ dictionaryService: DictionaryService;
11
+ protected sharedService: SharedService;
12
+ readonly Icon: typeof Icon;
13
+ showClass(): boolean;
14
+ constructor(iconCacheService: IconCacheService, dialogService: CoreDialogService, dictionaryService: DictionaryService, sharedService: SharedService);
15
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ComponentActivityOverviewModule {
2
+ }
@@ -0,0 +1,79 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
3
+ import { Workflow } from "@colijnit/mainapi/build/model/workflow.bo";
4
+ import { WorkflowTrigger } from "@colijnit/mainapi/build/model/workflow-trigger.bo";
5
+ import { ModuleNavigationLink } from "@colijnit/mainapi/build/enum/module-navigation-link";
6
+ import { WorkflowGenericTransition } from "@colijnit/mainapi/build/model/workflow-generic-transition.bo";
7
+ import { ActivityViewModel } from "@colijnit/mainapi/build/model/activity-view-model";
8
+ import { CoreDialogService } from "@colijnit/corecomponents_v12";
9
+ import { Icon } from "../../../enum/icon.enum";
10
+ import { ActivityCfgName } from "../../../enum/activity-cfg-name.enum";
11
+ import { ActivitiesTaskConfigNames } from "../../../interface/activities-task-config-names";
12
+ import { OperationCallbackSimpleFunction } from "../../../interface/operation-callback-simple-function";
13
+ import { DictionaryService } from "../../../service/dictionary.service";
14
+ import { TaskModifierComponent } from "../../task-modifyer/task-modifier.component";
15
+ import { SharedService } from "../../../service/shared.service";
16
+ export declare abstract class BaseActivityOverviewComponent {
17
+ private _dialogService;
18
+ private _dictionaryService;
19
+ private _sharedService;
20
+ readonly icon: typeof Icon;
21
+ readonly cfgNames: typeof ActivityCfgName;
22
+ readonly taskCfgNames: ActivitiesTaskConfigNames;
23
+ taskModifier: TaskModifierComponent;
24
+ set viewModel(value: ActivityViewModel);
25
+ set triggerToFireOnSave(value: WorkflowTrigger);
26
+ get triggerToFireOnSave(): WorkflowTrigger;
27
+ prepareWorkflowOperation: OperationCallbackSimpleFunction;
28
+ userRelationId: number;
29
+ userGroupId: number;
30
+ handleOpenLinkSidebar: boolean;
31
+ activityChange: EventEmitter<Activity>;
32
+ readonly activityDeleted: EventEmitter<Activity>;
33
+ triggerFired: EventEmitter<Activity>;
34
+ genericTriggerFired: EventEmitter<Activity>;
35
+ formCreated: EventEmitter<void>;
36
+ openLink: EventEmitter<Activity>;
37
+ linkClicked: EventEmitter<{
38
+ module: string;
39
+ id: string;
40
+ }>;
41
+ set activity(value: Activity);
42
+ get activity(): Activity;
43
+ workFlow: Workflow;
44
+ targetDate: Date;
45
+ deadlineDate: Date;
46
+ activityName: string;
47
+ activityDescription: string;
48
+ activityTitle: string;
49
+ activityContextTitle: string;
50
+ openButtonLabel: string;
51
+ overDue: boolean;
52
+ userIsSupervisor: boolean;
53
+ table: string;
54
+ key: string;
55
+ urls: string[];
56
+ firstTriggerToCloseWF: WorkflowTrigger;
57
+ isTask: boolean;
58
+ hasTriggers: boolean;
59
+ link: ModuleNavigationLink;
60
+ linkDescription: string;
61
+ sameDates: boolean;
62
+ private _activity;
63
+ private _viewModel;
64
+ private _triggerToFireOnSave;
65
+ constructor(_dialogService: CoreDialogService, _dictionaryService: DictionaryService, _sharedService: SharedService);
66
+ handleButtonEndClick(): void;
67
+ handleGenericTriggerClick(event: WorkflowGenericTransition): Promise<void>;
68
+ handleTriggerClick(eventTrigger: WorkflowTrigger): Promise<void>;
69
+ handleOpenLink(event: MouseEvent, url?: string): void;
70
+ handleOpenLinkOrUrl(event: MouseEvent): void;
71
+ startModifyingTask(): void;
72
+ showTaskFormAndWorkLog(): void;
73
+ onSaveActivity(activity: Activity): void;
74
+ onDeleteActivity(activity: Activity): void;
75
+ private _prepareData;
76
+ private _setFirstTriggerToCloseWF;
77
+ private _openUrl;
78
+ private _stopEventPropagation;
79
+ }
@@ -0,0 +1,107 @@
1
+ @include export-module('co-component-activity-overview-layout') {
2
+ .co-component-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
+ }
106
+
107
+
@@ -0,0 +1 @@
1
+ $color_text_light: #FAFAFA;
@@ -0,0 +1,5 @@
1
+ @include export-module('co-component-activity-overview-theme') {
2
+ .co-component-activity-overview {
3
+
4
+ }
5
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -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";