@colijnit/sharedcomponents 255.1.16 → 255.1.18

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 (41) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +60 -36
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.metadata.json +1 -1
  4. package/esm2015/lib/components/email-selector/email-selector.component.js +21 -16
  5. package/esm2015/lib/components/file-upload/file-upload.component.js +4 -1
  6. package/esm2015/lib/components/files-upload/files-upload.component.js +30 -20
  7. package/esm2015/lib/components/role-email-selector/role-email-selector.component.js +41 -21
  8. package/esm2015/lib/components/task-creator/task-creator.component.js +41 -35
  9. package/esm2015/lib/components/task-creator/task-creator.module.js +4 -3
  10. package/esm2015/lib/enum/icon.enum.js +3 -1
  11. package/esm2015/lib/enum/keyboard-code.enum.js +2 -1
  12. package/esm2015/lib/model/icon-svg.js +3 -1
  13. package/esm2015/lib/service/shared.service.js +2 -2
  14. package/fesm2015/colijnit-sharedcomponents.js +138 -86
  15. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  16. package/lib/components/access/style/_layout.scss +16 -14
  17. package/lib/components/activity-list/style/_layout.scss +1 -1
  18. package/lib/components/activity-list-header/components/period-filter/style/_layout.scss +4 -4
  19. package/lib/components/activity-list-header/style/_layout.scss +1 -1
  20. package/lib/components/activity-overview-component/style/_layout.scss +1 -1
  21. package/lib/components/app-file-dropzone/style/_layout.scss +1 -1
  22. package/lib/components/email-selector/email-selector.component.d.ts +0 -4
  23. package/lib/components/email-selector/style/_layout.scss +34 -1
  24. package/lib/components/file-upload/file-upload.component.d.ts +1 -0
  25. package/lib/components/file-upload/style/_layout.scss +13 -3
  26. package/lib/components/files-upload/style/_layout.scss +35 -2
  27. package/lib/components/modify-task-form/components/activity-summary-block/style/_layout.scss +113 -100
  28. package/lib/components/modify-task-form/components/notification-summary-block/style/_layout.scss +110 -98
  29. package/lib/components/modify-task-form/components/status-summary-block/style/_layout.scss +2 -2
  30. package/lib/components/modify-task-form/components/task-details/style/_layout.scss +6 -6
  31. package/lib/components/modify-task-form/style/_layout.scss +5 -5
  32. package/lib/components/open-activity-list/components/personal-activity-overview/style/_layout.scss +2 -2
  33. package/lib/components/role-email-selector/role-email-selector.component.d.ts +10 -4
  34. package/lib/components/role-email-selector/style/_layout.scss +9 -2
  35. package/lib/components/role-email-selector/style/_material-definition.scss +4 -4
  36. package/lib/components/stock/style/_layout.scss +2 -2
  37. package/lib/components/task-creator/style/_layout.scss +39 -10
  38. package/lib/enum/icon.enum.d.ts +2 -0
  39. package/lib/enum/keyboard-code.enum.d.ts +2 -1
  40. package/lib/service/shared.service.d.ts +1 -2
  41. package/package.json +2 -2
@@ -1,22 +1,24 @@
1
1
  @include export-module('co-read-write-access-layout') {
2
- h4 {
3
- margin: 10px 0;
4
- }
2
+ .co-read-write-access {
3
+ h4 {
4
+ margin: 10px 0;
5
+ }
5
6
 
6
- .horizontal-layout-column {
7
- display: flex;
8
- padding-top: 10px;
9
- padding-bottom: 10px;
7
+ .horizontal-layout-column {
8
+ display: flex;
9
+ padding-top: 10px;
10
+ padding-bottom: 10px;
10
11
 
11
- input-lov-multi-select {
12
- width: 50%;
12
+ input-lov-multi-select {
13
+ width: 50%;
13
14
 
14
- &:first-child {
15
- padding-right: 10px;
16
- }
15
+ &:first-child {
16
+ padding-right: 10px;
17
+ }
17
18
 
18
- &:last-child {
19
- padding-left: 10px;
19
+ &:last-child {
20
+ padding-left: 10px;
21
+ }
20
22
  }
21
23
  }
22
24
  }
@@ -37,7 +37,7 @@
37
37
  background-color: $sc-color-light;
38
38
  padding: 15px;
39
39
  color: #000;
40
- box-shadow: 0px 2px 4px 0px #00000040;
40
+ box-shadow: 0px 2px 4px 0px #0000001A;
41
41
  .co-icon {
42
42
  svg {
43
43
  fill: #FFFFFF;
@@ -17,14 +17,14 @@
17
17
  //.current-filter {
18
18
  // color: $color-action;
19
19
  //}
20
- ::ng-deep #period_filter_dropdown_template {
20
+ #period_filter_dropdown_template {
21
21
  overflow: hidden;
22
22
  display: block;
23
23
  width: 300px;
24
24
  border-radius: 5px;
25
25
  background: white;
26
26
  box-shadow: 1px 1px 10px 1px rgba(72,79,96,.25);
27
- ::ng-deep .label {
27
+ .label {
28
28
  font-weight: bold;
29
29
  height: 50px;
30
30
  display: flex;
@@ -32,7 +32,7 @@
32
32
  font-size: 13px;
33
33
  padding: 0 10px;
34
34
  }
35
- ::ng-deep .item {
35
+ .item {
36
36
  cursor: pointer;
37
37
  height: 50px;
38
38
  display: flex;
@@ -48,7 +48,7 @@
48
48
  &:hover {
49
49
  background-color: #8faba6;
50
50
  color: white;
51
- ::ng-deep icon {
51
+ .co-icon {
52
52
  [fill] {
53
53
  fill: white;
54
54
  }
@@ -57,7 +57,7 @@
57
57
  }
58
58
  }
59
59
 
60
- ::ng-deep tab-no-router {
60
+ .tab-no-router {
61
61
  margin-top: 14px;
62
62
 
63
63
  nav.tab-no-router-nav {
@@ -61,7 +61,7 @@
61
61
  }
62
62
  &.overdue {
63
63
  color: red;
64
- .icon ::ng-deep [fill] {
64
+ .icon [fill] {
65
65
  fill: red;
66
66
  }
67
67
  }
@@ -48,7 +48,7 @@
48
48
  justify-content: center;
49
49
  height: 100%;
50
50
  }
51
- icon ::ng-deep {
51
+ .co-icon {
52
52
  height: 100px;
53
53
  width: 100px;
54
54
  svg [fill] {
@@ -4,13 +4,10 @@ import { IconCacheService } from "../../service/icon-cache.service";
4
4
  import { WorkflowCategoryType } from "@colijnit/mainapi/build/enum/workflow-category.enum";
5
5
  import { SharedService } from "../../service/shared.service";
6
6
  import { SafeHtml } from "@angular/platform-browser";
7
- import { RoleEmailSelectorComponent } from "../role-email-selector/role-email-selector.component";
8
7
  export declare class EmailSelectorComponent implements OnInit {
9
8
  iconService: IconCacheService;
10
9
  sharedService: SharedService;
11
10
  readonly icons: typeof Icon;
12
- email: RoleEmailSelectorComponent;
13
- bccEmail: RoleEmailSelectorComponent;
14
11
  set key(value: string);
15
12
  get key(): string;
16
13
  set workflowCategoryType(value: WorkflowCategoryType);
@@ -33,5 +30,4 @@ export declare class EmailSelectorComponent implements OnInit {
33
30
  toggleBCC(): void;
34
31
  handleEmailAddressesChanged(): void;
35
32
  handleBccEmailAddressesChanged(): void;
36
- clear(): void;
37
33
  }
@@ -5,11 +5,44 @@
5
5
  display: flex;
6
6
  flex-direction: column;
7
7
  row-gap: 5px;
8
+ padding-left: 0;
8
9
  .recipients-line {
9
10
  width: 100%;
10
11
  display: flex;
11
12
  flex-direction: row;
12
- row-gap: 5px;
13
+ gap: 60px;
14
+ border-bottom: 4px solid #f5f5fc;
15
+ .recipients-bcc, recipients-add {
16
+ display: flex;
17
+ gap: 5px;
18
+ align-items: center;
19
+ width: 80px;
20
+ label {
21
+ font-size: 12px;
22
+ }
23
+ }
24
+ .recipients-bcc {
25
+ cursor: pointer;
26
+ }
27
+ .co-input-text, .co-list-of-values {
28
+ background: transparent;
29
+ &:before {
30
+ box-shadow: none;
31
+ }
32
+ }
33
+ .co-button {
34
+ background: none;
35
+ .co-icon {
36
+ width: 20px;
37
+ height: 20px;
38
+ }
39
+ }
40
+ .co-input-text {
41
+ width: 100%;
42
+ }
43
+ .co-list-of-values {
44
+ min-width: 150px;
45
+ }
13
46
  }
14
47
  }
15
48
  }
@@ -16,6 +16,7 @@ export declare class FileUploadComponent implements OnDestroy {
16
16
  get file(): CoDocument;
17
17
  icon: Icon;
18
18
  link: boolean;
19
+ dropzone: boolean;
19
20
  readonly: boolean;
20
21
  isAddingTile: boolean;
21
22
  fileSavesOnPopupOkClick: boolean;
@@ -3,6 +3,16 @@
3
3
  font-family: $sc-file-upload-font-family;
4
4
  font-size: $sc-file-upload-font-size;
5
5
  position: relative;
6
+ &.add-file {
7
+ position: absolute;
8
+ top: 0;
9
+ .co-tile-render {
10
+ display: flex;
11
+ align-items: center;
12
+ flex-direction: row-reverse;
13
+ justify-content: flex-end;
14
+ }
15
+ }
6
16
  &.link {
7
17
  .image {
8
18
  cursor: pointer;
@@ -11,8 +21,8 @@
11
21
  .image {
12
22
  cursor: pointer;
13
23
  }
14
- ::ng-deep .hidden {
15
- display: none !important;
24
+ .hidden {
25
+ display: none;
16
26
  }
17
27
  &:hover {
18
28
  button-colijn.edit-file {
@@ -33,7 +43,7 @@
33
43
  }
34
44
  .add-button {
35
45
  cursor: pointer;
36
- position: absolute;
46
+ position: relative;
37
47
  bottom: 0;
38
48
  right: 0;
39
49
  }
@@ -40,9 +40,42 @@
40
40
  }
41
41
  .co-drag-drop-container {
42
42
  display: flex;
43
- align-items: center;
43
+ padding-top: 30px;
44
+ position: relative;
45
+ margin-top: 0;
46
+ grid-gap: 5px;
47
+ gap: 5px;
48
+ align-items: flex-start;
49
+ }
50
+ .upload-add-wrapper {
51
+ display: flex;
52
+ flex-direction: column;
53
+ gap: 10px;
54
+ .add-dropzone {
55
+ display: flex;
56
+ align-items: center;
57
+ justify-content: center;
58
+ .co-tile-render {
59
+ display: flex;
60
+ flex-direction: column;
61
+ justify-content: center;
62
+ align-items: center;
63
+ padding: 10px;
64
+ width: 150px;
65
+ height: 100px;
66
+ border: 1px dashed #dddddd;
67
+ .add-button {
68
+ position: relative;
69
+ svg {
70
+ fill: #dddddd;
71
+ }
72
+ }
73
+ .description {
74
+ font-size: 10px;
75
+ }
76
+ }
77
+ }
44
78
  }
45
-
46
79
  }
47
80
  }
48
81
 
@@ -1,11 +1,13 @@
1
1
  @include export-module('co-activity-summary-block-layout') {
2
- .co-activity-summary-block{
2
+ .co-activity-summary-block {
3
3
  height: auto;
4
4
  display: flex;
5
5
  flex-direction: column;
6
+
6
7
  &:not(.no-border) {
7
8
  border: 1px solid #DCE4EA;
8
9
  }
10
+
9
11
  .left-seperator {
10
12
  &:before {
11
13
  content: "|";
@@ -22,126 +24,137 @@
22
24
  width: 100%;
23
25
  height: 100%;
24
26
  }
25
- }
26
- ::ng-deep image-display {
27
- height: 70px;
28
- width: 70px;
29
- span {
30
- display: none;
27
+
28
+ .image-display {
29
+ height: 70px;
30
+ width: 70px;
31
+
32
+ span {
33
+ display: none;
34
+ }
31
35
  }
32
- }
33
36
 
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;
37
+ .icon-wrapper {
38
+ display: flex;
48
39
  flex-shrink: 0;
40
+ align-items: center;
41
+ justify-content: center;
42
+ background: #F8FBFA;
43
+ height: 70px;
44
+ width: 70px;
45
+ border-radius: 50%;
46
+ border: 1px solid #DCE4EA;
47
+ overflow: hidden;
48
+
49
+ .co-icon {
50
+ height: 60px;
51
+ width: 60px;
52
+ flex-shrink: 0;
53
+ }
54
+
55
+ &.small {
56
+ height: 50px;
57
+ width: 50px;
58
+
59
+ .co-icon {
60
+ height: 40px;
61
+ width: 40px;
62
+ }
63
+ }
49
64
  }
50
- &.small {
51
- height: 50px;
52
- width: 50px;
53
- ::ng-deep icon {
54
- height: 40px !important;
55
- width: 40px !important;
65
+
66
+ .block-wrapper {
67
+ position: relative;
68
+ display: flex;
69
+ align-items: center;
70
+
71
+ .expandable-wrapper {
72
+ position: absolute;
73
+ bottom: 0;
74
+ left: 50%;
75
+ transform: translateX(-50%);
76
+ }
77
+
78
+ .template-wrapper {
79
+ & > * {
80
+ display: flex;
81
+ flex-direction: column;
82
+ gap: 5px;
83
+ }
84
+
56
85
  }
57
86
  }
58
- }
59
87
 
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%);
88
+ .content-wrapper {
89
+ display: flex;
90
+ flex-direction: column;
91
+ justify-content: space-between;
92
+ margin-left: 10px;
93
+ min-height: 70px;
94
+ height: auto;
95
+ width: 100%;
69
96
  }
70
- .template-wrapper {
71
- & > * {
72
- display: flex;
73
- flex-direction: column;
74
- gap: 5px;
75
- }
76
97
 
98
+ .value {
99
+ font-size: 13px;
100
+ font-weight: bold;
101
+ color: #171721;
102
+ align-items: center;
77
103
  }
78
- }
79
104
 
80
- .content-wrapper {
81
- display: flex;
82
- flex-direction: column;
83
- justify-content: space-between;
84
- margin-left: 10px;
85
- min-height: 70px;
86
- height: auto;
87
- width: 100%;
88
- }
105
+ .title {
106
+ font-size: 11px;
107
+ line-height: 13px;
108
+ color: #171721;
109
+ }
89
110
 
90
- .value {
91
- font-size: 13px;
92
- font-weight: bold;
93
- color: #171721;
94
- align-items: center;
95
- }
111
+ .activity-summary-block-edit-template {
112
+ display: flex;
113
+ width: 100%;
114
+ flex-direction: column;
115
+ justify-content: space-between;
116
+ z-index: 9000;
117
+ max-height: 100%;
96
118
 
97
- .title {
98
- font-size: 11px;
99
- line-height: 13px;
100
- color: #171721;
101
- }
119
+ .template-wrapper {
120
+ margin-bottom: 10px;
121
+ }
102
122
 
103
- .activity-summary-block-edit-template {
104
- display: flex;
105
- width: 100%;
106
- flex-direction: column;
107
- justify-content: space-between;
108
- z-index: 9000;
109
- max-height: 100%;
123
+ .co-form {
124
+ co-list-of-values {
125
+ margin-bottom: 5px;
110
126
 
111
- .template-wrapper {
112
- margin-bottom: 10px;
113
- }
114
- ::ng-deep co-form {
115
- co-list-of-values {
116
- margin-bottom: 5px;
117
- &:before {
118
- box-shadow: none;
127
+ &:before {
128
+ box-shadow: none;
129
+ }
119
130
  }
120
131
  }
132
+
133
+ .title-wrapper {
134
+ align-items: center;
135
+ margin-bottom: 10px;
136
+ }
137
+
138
+ h3:not(.no-margin) {
139
+ margin-top: 25px;
140
+ }
121
141
  }
122
- .title-wrapper {
123
- align-items: center;
124
- margin-bottom: 10px;
125
- }
126
- ::ng-deep h3:not(.no-margin) {
127
- margin-top: 25px;
128
- }
129
- }
130
142
 
131
- .collapseable-wrapper {
132
- padding: 10px;
133
- border-bottom: 1px solid #DCE4EA;
134
- }
143
+ .collapseable-wrapper {
144
+ padding: 10px;
145
+ border-bottom: 1px solid #DCE4EA;
146
+ }
135
147
 
136
- ::ng-deep .input-date-window {
137
- z-index: 9001!important;
138
- }
148
+ .input-date-window {
149
+ z-index: 9001;
150
+ }
139
151
 
140
- .initial {
141
- position: initial !important;
142
- }
152
+ .initial {
153
+ position: initial;
154
+ }
143
155
 
144
- .center {
145
- justify-content: center;
156
+ .center {
157
+ justify-content: center;
158
+ }
146
159
  }
147
160
  }