@colijnit/sharedcomponents 262.1.8 → 262.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -3880,7 +3880,9 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
3880
3880
  sharedService: SharedService;
3881
3881
  private _dialogService;
3882
3882
  private _formMasterService;
3883
+ private _elementRef;
3883
3884
  readonly icons: typeof Icon;
3885
+ onDocumentMouseDown(event: MouseEvent): void;
3884
3886
  createForm: FormComponent;
3885
3887
  author: RelationSmallObject;
3886
3888
  branchNo: string;
@@ -3908,6 +3910,7 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
3908
3910
  workListItem: IconListItem;
3909
3911
  taskListItem: IconListItem;
3910
3912
  showFilesDialog: boolean;
3913
+ headerVisible: boolean;
3911
3914
  documents: CoDocument[];
3912
3915
  oldDocuments: CoDocument[];
3913
3916
  showEmailDialog: boolean;
@@ -3926,13 +3929,14 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
3926
3929
  private _allowRemarkCreation;
3927
3930
  private _allowWorkCreation;
3928
3931
  private _allowTaskCreation;
3929
- constructor(iconService: IconCacheService, dictionaryService: SharedComponentsDictionaryService, sharedService: SharedService, _dialogService: CoreDialogService, _formMasterService: FormMasterService);
3932
+ constructor(iconService: IconCacheService, dictionaryService: SharedComponentsDictionaryService, sharedService: SharedService, _dialogService: CoreDialogService, _formMasterService: FormMasterService, _elementRef: ElementRef);
3930
3933
  ngOnInit(): Promise<void>;
3931
3934
  setupOptionCollection(): void;
3932
3935
  itemSelected(item: IconListItem): void;
3933
3936
  openAttachmentDialog(): void;
3934
3937
  attachmentDialogClosed(): void;
3935
3938
  attachmentDialogCancelled(): void;
3939
+ showHeader(): void;
3936
3940
  addedDocument(docs: CoDocument[]): Promise<void>;
3937
3941
  deletedDocument(doc: CoDocument): Promise<void>;
3938
3942
  createRemarkClicked(): Promise<void>;
@@ -11,7 +11,7 @@
11
11
  display: flex;
12
12
  flex-direction: row;
13
13
  gap: 60px;
14
- border-bottom: 4px solid #f5f5fc;
14
+
15
15
  .recipients-bcc, .recipients-add {
16
16
  display: flex;
17
17
  gap: 5px;
@@ -48,6 +48,12 @@
48
48
  .content-right {
49
49
  flex-basis: 200px;
50
50
  }
51
+ .task-column {
52
+ display: flex;
53
+ flex-direction: column;
54
+ padding: 10px 0;
55
+ gap: 5px;
56
+ }
51
57
  }
52
58
  .activity-content-header {
53
59
  padding: 15px 0 10px 0;
@@ -10,16 +10,132 @@
10
10
  box-shadow: 0 1px 4px 0 #8083a385;
11
11
  border-radius: 5px;
12
12
  }
13
+ .top-rows {
14
+ &.expanded {
15
+ .top-row-header {
16
+ max-height: 40px;
17
+ opacity: 1;
18
+ transform: translateY(0);
19
+ pointer-events: auto;
20
+ display: flex;
21
+ }
22
+ .input-fields {
23
+ &.creator-remarks {
24
+ .co-input-text {
25
+ max-height: 40px;
26
+ opacity: 1;
27
+ transform: translateY(0);
28
+ pointer-events: auto;
29
+ display: block;
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
35
+ .top-row-header {
36
+ overflow: hidden;
37
+ max-height: 0;
38
+ opacity: 0;
39
+ transform: translateY(-6px);
40
+ pointer-events: none;
41
+ display: flex;
42
+ border-bottom: 1px solid #ececec;
43
+ transition:
44
+ max-height 220ms ease,
45
+ opacity 160ms ease,
46
+ transform 220ms ease;
47
+ .co-email-selector {
48
+ flex-direction: row;
49
+ .recipients-add {
50
+ display: none;
51
+ }
52
+ }
53
+ .recipients-line {
54
+ max-width: 600px;
55
+ .co-input-text {
56
+ .input-wrapper {
57
+ label {
58
+ color: #000;
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ .co-list-of-icons {
65
+ position: absolute;
66
+ top: 4px;
67
+ left: 3px;
68
+ display: block;
69
+ height: fit-content;
70
+ box-shadow: 0 2px 2px 0 #0000001A;
71
+ border-radius: 3px;
72
+ background: #ffffff;
73
+ z-index: 2;
74
+ .icon-item {
75
+ display: flex;
76
+ align-items: center;
77
+ position: relative;
78
+ .drop-arrow {
79
+ display: none;
80
+ }
81
+ .label {
82
+ display: none;
83
+ }
84
+ .co-icon {
85
+ padding: 2px;
86
+ }
87
+ }
88
+ & > .icon-item {
89
+ cursor: pointer;
90
+ padding: 5px;
91
+ background: #212437;
92
+ width: 35px;
93
+ height: 30px;
94
+ border-radius: 5px;
95
+ .co-icon {
96
+ svg {
97
+ fill: #FFF;
98
+ }
99
+ }
100
+ }
101
+ .dropdown-menu {
102
+ padding: 5px;
103
+ display: flex;
104
+ flex-direction: column;
105
+ gap: 5px;
106
+ .icon-item {
107
+ cursor: pointer;
108
+ }
109
+ }
110
+ }
13
111
  .top-rows {
14
112
  display: flex;
15
113
  flex-direction: column;
16
114
  width: 100%;
17
115
  gap: 0;
116
+ &:not(.expanded) {
117
+ .input-fields {
118
+ &.creator-remarks {
119
+ .co-input-textarea {
120
+ &.large-remark {
121
+ min-height: 0;
122
+ overflow: hidden;
123
+ opacity: 0;
124
+ textarea {
125
+ min-height: 0;
126
+ padding-top: 0;
127
+ }
128
+ }
129
+ }
130
+ }
131
+ }
132
+
133
+ }
18
134
  .input-fields {
19
135
  display: flex;
20
136
  flex-direction: row;
21
137
  width: 100%;
22
- align-items: flex-start;
138
+ align-items: center;
23
139
  gap: 15px;
24
140
 
25
141
  .task-input-fields {
@@ -27,73 +143,29 @@
27
143
  flex-direction: column;
28
144
  width: 100%;
29
145
  }
30
- .co-list-of-icons {
31
- position: absolute;
32
- display: block;
33
- left: 0;
34
- top: 0;
35
- height: fit-content;
36
- box-shadow: 0 2px 2px 0 #0000001A;
37
- border-radius: 3px;
38
- background: #ffffff;
39
- z-index: 2;
40
- .icon-item {
41
- display: flex;
42
- align-items: center;
43
- position: relative;
44
- .drop-arrow {
45
- display: none;
46
- }
47
- .label {
48
- display: none;
49
- }
50
- .co-icon {
51
- padding: 2px;
52
- }
53
- }
54
- & > .icon-item {
55
- cursor: pointer;
56
- padding: 5px;
57
- &:after {
58
- content: '';
59
- width: 0;
60
- height: 0;
61
- border-left: 4px solid transparent;
62
- border-top: 4px solid transparent;
63
- border-right: 4px solid #000;
64
- border-bottom: 4px solid #000;
65
- position: absolute;
66
- right: -1px;
67
- bottom: -1px;
68
- transform: rotate(0deg);
69
- }
70
- }
71
-
72
- .dropdown-menu {
73
- padding: 5px;
74
- display: flex;
75
- flex-direction: column;
76
- gap: 5px;
77
-
78
- .icon-item {
79
- cursor: pointer;
80
- }
81
- }
82
- }
83
146
  &.creator-remarks {
84
147
  .co-input-text {
85
148
  width: 100%;
86
149
  margin-left: 0;
87
- border-bottom: 4px solid #f5f5fc;
150
+ overflow: hidden;
151
+ max-height: 0;
152
+ opacity: 0;
153
+ transform: translateY(-6px);
154
+ pointer-events: none;
155
+ display: flex;
156
+ border-bottom: 1px solid #ececec;
157
+ transition:
158
+ max-height 220ms ease,
159
+ opacity 160ms ease,
160
+ transform 220ms ease;
88
161
  &:before {
89
162
  box-shadow: none;
90
163
  }
91
164
  }
92
165
  .co-input-textarea {
93
166
  &.large-remark {
94
- min-height: 60px;
167
+ min-height: 90px;
95
168
  width: 100%;
96
- border-bottom: 4px solid #f5f5fc;
97
169
  }
98
170
  &:before {
99
171
  box-shadow: none;
@@ -104,8 +176,8 @@
104
176
  }
105
177
  textarea {
106
178
  margin-top: 0;
107
- padding-top: 30px;
108
- min-height: 60px;
179
+ padding-top: 10px;
180
+ min-height: 90px;
109
181
  }
110
182
  }
111
183
  }
@@ -117,12 +189,17 @@
117
189
  align-items: center;
118
190
  justify-content: space-between;
119
191
  padding: 10px;
120
- gap: 5px;
192
+ gap: 10px;
121
193
  .co-button {
122
194
  background-color: transparent;
123
195
  cursor: pointer;
124
- width: 30px;
125
- height: 30px;
196
+ width: 26px;
197
+ height: 26px;
198
+ .co-icon {
199
+ svg [fill] {
200
+ fill: #000;
201
+ }
202
+ }
126
203
  }
127
204
  .task-buttons {
128
205
  display: flex;
@@ -134,10 +211,26 @@
134
211
  fill: #000;
135
212
  }
136
213
  }
214
+ svg [fill] {
215
+ fill: #000;
216
+ }
217
+ }
218
+ }
219
+ }
220
+ .paper-plane {
221
+ padding: 5px 10px;
222
+ .co-button {
223
+ background-color: transparent;
224
+ cursor: pointer;
225
+ width: 24px;
226
+ height: 24px;
227
+ svg {
228
+ polygon {
229
+ fill: #000;
230
+ }
137
231
  }
138
232
  }
139
233
  }
140
-
141
234
  .co-files-upload {
142
235
  width: 100%;
143
236
  min-height: auto;
@@ -47,6 +47,7 @@
47
47
  position: relative;
48
48
  align-items: start;
49
49
  gap: $timeline-item-gap;
50
+ padding: $timeline-item-padding;
50
51
  .timeline-date-wrapper {
51
52
  position: absolute;
52
53
  right: 0;
@@ -20,3 +20,4 @@ $timeline-item-date-font-size: 9px !default;
20
20
  $timeline-item-date-gap: 15px !default;
21
21
  $timeline-item-date-color: #172121 !default;
22
22
  $timeline-item-icon-size: 15px !default;
23
+ $timeline-item-padding: 0 150px 0 0 !default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "262.1.8",
3
+ "version": "262.1.9",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",
@@ -0,0 +1,3 @@
1
+ {
2
+ "routes": {}
3
+ }