@colijnit/sharedcomponents 262.1.8 → 262.1.10
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/3rdpartylicenses.txt +3327 -0
- package/browser/chunk-H5HZ6YB3.js +1 -0
- package/browser/chunk-JXHTPMR7.js +5 -0
- package/browser/chunk-KTNFH73E.js +5 -0
- package/browser/chunk-ZGRJSZN6.js +2 -0
- package/browser/favicon.ico +0 -0
- package/browser/index.html +13 -0
- package/browser/main-4A7DG3UU.js +289 -0
- package/browser/polyfills-5FDKUQTZ.js +2 -0
- package/browser/styles-FA2CB3GS.css +1 -0
- package/fesm2022/colijnit-sharedcomponents.mjs +151 -89
- package/fesm2022/colijnit-sharedcomponents.mjs.map +1 -1
- package/index.d.ts +7 -1
- package/lib/components/email-selector/style/_layout.scss +1 -1
- package/lib/components/modify-task-form/style/_layout.scss +6 -0
- package/lib/components/task-creator/style/_layout.scss +156 -63
- package/lib/components/timeline/style/_layout.scss +1 -0
- package/lib/components/timeline/style/_material-definition.scss +1 -0
- package/package.json +1 -1
- package/prerendered-routes.json +3 -0
package/index.d.ts
CHANGED
|
@@ -195,12 +195,14 @@ declare class DocsignComponent {
|
|
|
195
195
|
constructor(_changeDetector: ChangeDetectorRef);
|
|
196
196
|
saveFirstSignature(sig: string): void;
|
|
197
197
|
saveSecondSignature(sig: string): void;
|
|
198
|
+
openPdfInNewTab(): void;
|
|
198
199
|
private _openPDF;
|
|
199
200
|
private _savePdf;
|
|
200
201
|
private _checkSignatures;
|
|
201
202
|
private _getPositionSignature;
|
|
202
203
|
private _saveSignature;
|
|
203
204
|
private _preparePDF;
|
|
205
|
+
private _isIOS;
|
|
204
206
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocsignComponent, never>;
|
|
205
207
|
static ɵcmp: i0.ɵɵComponentDeclaration<DocsignComponent, "co-docsign", never, { "pdf": { "alias": "pdf"; "required": false; }; "firstSignatureLabel": { "alias": "firstSignatureLabel"; "required": false; }; "firstSignatureField": { "alias": "firstSignatureField"; "required": false; }; "secondSignatureLabel": { "alias": "secondSignatureLabel"; "required": false; }; "secondSignatureField": { "alias": "secondSignatureField"; "required": false; }; "saveButtonLabel": { "alias": "saveButtonLabel"; "required": false; }; "clearButtonLabel": { "alias": "clearButtonLabel"; "required": false; }; "signDocumentButtonLabel": { "alias": "signDocumentButtonLabel"; "required": false; }; "cancelButtonLabel": { "alias": "cancelButtonLabel"; "required": false; }; }, { "pdfSaved": "pdfSaved"; "cancelClick": "cancelClick"; }, never, never, false, never>;
|
|
206
208
|
}
|
|
@@ -3880,7 +3882,9 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
|
|
|
3880
3882
|
sharedService: SharedService;
|
|
3881
3883
|
private _dialogService;
|
|
3882
3884
|
private _formMasterService;
|
|
3885
|
+
private _elementRef;
|
|
3883
3886
|
readonly icons: typeof Icon;
|
|
3887
|
+
onDocumentMouseDown(event: MouseEvent): void;
|
|
3884
3888
|
createForm: FormComponent;
|
|
3885
3889
|
author: RelationSmallObject;
|
|
3886
3890
|
branchNo: string;
|
|
@@ -3908,6 +3912,7 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
|
|
|
3908
3912
|
workListItem: IconListItem;
|
|
3909
3913
|
taskListItem: IconListItem;
|
|
3910
3914
|
showFilesDialog: boolean;
|
|
3915
|
+
headerVisible: boolean;
|
|
3911
3916
|
documents: CoDocument[];
|
|
3912
3917
|
oldDocuments: CoDocument[];
|
|
3913
3918
|
showEmailDialog: boolean;
|
|
@@ -3926,13 +3931,14 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
|
|
|
3926
3931
|
private _allowRemarkCreation;
|
|
3927
3932
|
private _allowWorkCreation;
|
|
3928
3933
|
private _allowTaskCreation;
|
|
3929
|
-
constructor(iconService: IconCacheService, dictionaryService: SharedComponentsDictionaryService, sharedService: SharedService, _dialogService: CoreDialogService, _formMasterService: FormMasterService);
|
|
3934
|
+
constructor(iconService: IconCacheService, dictionaryService: SharedComponentsDictionaryService, sharedService: SharedService, _dialogService: CoreDialogService, _formMasterService: FormMasterService, _elementRef: ElementRef);
|
|
3930
3935
|
ngOnInit(): Promise<void>;
|
|
3931
3936
|
setupOptionCollection(): void;
|
|
3932
3937
|
itemSelected(item: IconListItem): void;
|
|
3933
3938
|
openAttachmentDialog(): void;
|
|
3934
3939
|
attachmentDialogClosed(): void;
|
|
3935
3940
|
attachmentDialogCancelled(): void;
|
|
3941
|
+
showHeader(): void;
|
|
3936
3942
|
addedDocument(docs: CoDocument[]): Promise<void>;
|
|
3937
3943
|
deletedDocument(doc: CoDocument): Promise<void>;
|
|
3938
3944
|
createRemarkClicked(): Promise<void>;
|
|
@@ -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:
|
|
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
|
-
|
|
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:
|
|
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:
|
|
108
|
-
min-height:
|
|
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:
|
|
192
|
+
gap: 10px;
|
|
121
193
|
.co-button {
|
|
122
194
|
background-color: transparent;
|
|
123
195
|
cursor: pointer;
|
|
124
|
-
width:
|
|
125
|
-
height:
|
|
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;
|
package/package.json
CHANGED