@colijnit/sharedcomponents 261.20.0 → 261.20.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.
- 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-AKBSJVK6.js +287 -0
- package/browser/polyfills-5FDKUQTZ.js +2 -0
- package/browser/styles-S3SWDQ4V.css +1 -0
- package/fesm2022/colijnit-sharedcomponents.mjs +708 -438
- package/fesm2022/colijnit-sharedcomponents.mjs.map +1 -1
- package/index.d.ts +38 -2
- package/lib/components/simple-tags/style/_layout.scss +67 -5
- package/lib/components/simple-tags/style/_material-definition.scss +22 -2
- package/lib/components/simple-tags-form/style/_layout.scss +2 -2
- package/lib/components/simple-tags-form/style/_material-definition.scss +22 -2
- package/package.json +1 -1
- package/prerendered-routes.json +3 -0
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ElementRef, EventEmitter, ChangeDetectorRef, OnDestroy, OnInit, AfterViewInit, PipeTransform, Renderer2, DoCheck, AfterContentChecked, NgZone, ViewContainerRef, ComponentFactoryResolver, TemplateRef, QueryList } from '@angular/core';
|
|
2
|
+
import { ElementRef, EventEmitter, ChangeDetectorRef, OnDestroy, OnInit, AfterViewInit, PipeTransform, Renderer2, DoCheck, AfterContentChecked, NgZone, OnChanges, SimpleChanges, ViewContainerRef, ComponentFactoryResolver, TemplateRef, QueryList } from '@angular/core';
|
|
3
3
|
import { PDFDocument } from 'pdf-lib';
|
|
4
4
|
import SignaturePad from 'signature_pad';
|
|
5
5
|
import * as i2 from '@angular/common';
|
|
@@ -2191,6 +2191,7 @@ declare class SimpleTagsComponent {
|
|
|
2191
2191
|
showClass(): boolean;
|
|
2192
2192
|
constructor(iconCacheService: IconCacheService, sharedService: SharedService);
|
|
2193
2193
|
handleSaveTags(): void;
|
|
2194
|
+
handleAddRecentTag(tag: TagTreeItem$1): void;
|
|
2194
2195
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTagsComponent, never>;
|
|
2195
2196
|
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleTagsComponent, "co-simple-tags", never, { "tags": { "alias": "tags"; "required": false; }; "linkedTags": { "alias": "linkedTags"; "required": false; }; }, { "closeClick": "closeClick"; "saveClick": "saveClick"; }, never, never, false, never>;
|
|
2196
2197
|
}
|
|
@@ -2227,9 +2228,44 @@ declare class SimpleTagsFormModule {
|
|
|
2227
2228
|
static ɵinj: i0.ɵɵInjectorDeclaration<SimpleTagsFormModule>;
|
|
2228
2229
|
}
|
|
2229
2230
|
|
|
2231
|
+
declare class SimpleTagsRecentComponent implements OnInit, OnChanges {
|
|
2232
|
+
iconCacheService: IconCacheService;
|
|
2233
|
+
sharedService: SharedService;
|
|
2234
|
+
readonly icon: typeof Icon;
|
|
2235
|
+
private readonly _storageKey;
|
|
2236
|
+
private _prevLinkedIds;
|
|
2237
|
+
set tags(tags: TagTreeItem$1[]);
|
|
2238
|
+
set linkedTags(tags: TagTreeItem$1[]);
|
|
2239
|
+
get linkedTags(): TagTreeItem$1[];
|
|
2240
|
+
addTagClick: EventEmitter<TagTreeItem$1>;
|
|
2241
|
+
recentTags: TagTreeItem$1[];
|
|
2242
|
+
private _tags;
|
|
2243
|
+
private _linkedTags;
|
|
2244
|
+
showClass(): boolean;
|
|
2245
|
+
constructor(iconCacheService: IconCacheService, sharedService: SharedService);
|
|
2246
|
+
ngOnInit(): void;
|
|
2247
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2248
|
+
handleRecentTagClick(tag: TagTreeItem$1): void;
|
|
2249
|
+
isAlreadyLinked(tag: TagTreeItem$1): boolean;
|
|
2250
|
+
private _addToRecent;
|
|
2251
|
+
private _rehydrateFromStorage;
|
|
2252
|
+
private _toStorageItem;
|
|
2253
|
+
private _readStorage;
|
|
2254
|
+
private _writeStorage;
|
|
2255
|
+
private _loadThumbnail;
|
|
2256
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTagsRecentComponent, never>;
|
|
2257
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleTagsRecentComponent, "co-simple-tags-recent", never, { "tags": { "alias": "tags"; "required": false; }; "linkedTags": { "alias": "linkedTags"; "required": false; }; }, { "addTagClick": "addTagClick"; }, never, never, false, never>;
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
declare class SimpleTagsRecentModule {
|
|
2261
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTagsRecentModule, never>;
|
|
2262
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SimpleTagsRecentModule, [typeof SimpleTagsRecentComponent], [typeof i2.CommonModule, typeof i3.CoDialogModule, typeof i3.InputSearchModule, typeof i3.IconModule, typeof i4.DragDropModule, typeof i3.ButtonModule, typeof SharedComponentsTranslationModule], [typeof SimpleTagsRecentComponent]>;
|
|
2263
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SimpleTagsRecentModule>;
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2230
2266
|
declare class SimpleTagsModule {
|
|
2231
2267
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTagsModule, never>;
|
|
2232
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SimpleTagsModule, [typeof SimpleTagsComponent], [typeof i2.CommonModule, typeof i3.CoDialogModule, typeof i3.InputSearchModule, typeof i3.IconModule, typeof i4.DragDropModule, typeof i3.ButtonModule, typeof SimpleTagsFormModule], [typeof SimpleTagsComponent]>;
|
|
2268
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SimpleTagsModule, [typeof SimpleTagsComponent], [typeof i2.CommonModule, typeof i3.CoDialogModule, typeof i3.InputSearchModule, typeof i3.IconModule, typeof i4.DragDropModule, typeof i3.ButtonModule, typeof SimpleTagsFormModule, typeof SimpleTagsRecentModule], [typeof SimpleTagsComponent]>;
|
|
2233
2269
|
static ɵinj: i0.ɵɵInjectorDeclaration<SimpleTagsModule>;
|
|
2234
2270
|
}
|
|
2235
2271
|
|
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
.dialog-content-wrapper {
|
|
19
19
|
display: flex;
|
|
20
20
|
flex-direction: row;
|
|
21
|
-
width:
|
|
22
|
-
height: 600px;
|
|
21
|
+
width: $sc-co-simple-tags-content-width;
|
|
23
22
|
max-width: 100%;
|
|
24
23
|
column-gap: $sc-co-simple-tags-content-column-gap;
|
|
25
24
|
|
|
@@ -30,7 +29,7 @@
|
|
|
30
29
|
row-gap: $sc-co-simple-tags-navigation-column-gap;
|
|
31
30
|
overflow-x: hidden;
|
|
32
31
|
padding-right: 3px;
|
|
33
|
-
|
|
32
|
+
height: $sc-co-simple-tags-navigation-column-max-height;
|
|
34
33
|
.co-input-search {
|
|
35
34
|
display: block;
|
|
36
35
|
.co-input-text {
|
|
@@ -38,6 +37,9 @@
|
|
|
38
37
|
&:before {
|
|
39
38
|
display: none;
|
|
40
39
|
}
|
|
40
|
+
.input-wrapper {
|
|
41
|
+
background: #f5f5fc;
|
|
42
|
+
}
|
|
41
43
|
}
|
|
42
44
|
}
|
|
43
45
|
|
|
@@ -188,6 +190,59 @@
|
|
|
188
190
|
}
|
|
189
191
|
}
|
|
190
192
|
|
|
193
|
+
.co-simple-tags-recent {
|
|
194
|
+
padding: 15px 0;
|
|
195
|
+
display: flex;
|
|
196
|
+
border-style: solid;
|
|
197
|
+
border-width: $sc-co-simple-tags-recent-collection-border-width;
|
|
198
|
+
border-color: $sc-co-simple-tags-recent-collection-border-color;
|
|
199
|
+
margin: $sc-co-simple-tags-recent-collection-margin;
|
|
200
|
+
.title {
|
|
201
|
+
padding: $sc-co-simple-tags-recent-collection-title-padding;
|
|
202
|
+
font-weight: $sc-co-simple-tags-recent-collection-title-weight;
|
|
203
|
+
display: flex;
|
|
204
|
+
}
|
|
205
|
+
.recent-tags-list {
|
|
206
|
+
display: grid;
|
|
207
|
+
grid-template-columns: $sc-co-simple-tags-recent-collection-tags-list-grid;
|
|
208
|
+
gap: $sc-co-simple-tags-recent-collection-tags-list-gap;
|
|
209
|
+
justify-content: start;
|
|
210
|
+
.recent-tag-item {
|
|
211
|
+
width: 100%;
|
|
212
|
+
min-width: $sc-co-simple-tags-recent-collection-tags-list-item-min-width;
|
|
213
|
+
max-width: $sc-co-simple-tags-recent-collection-tags-list-item-max-width;
|
|
214
|
+
cursor: pointer;
|
|
215
|
+
box-sizing: border-box;
|
|
216
|
+
background: $sc-co-simple-tags-recent-collection-tags-list-item-background;
|
|
217
|
+
border-radius: $sc-co-simple-tags-recent-collection-tags-list-item-border-radius;
|
|
218
|
+
padding: $sc-co-simple-tags-recent-collection-tags-list-item-padding;
|
|
219
|
+
display: flex;
|
|
220
|
+
align-items: center;
|
|
221
|
+
}
|
|
222
|
+
.thumbnail-description {
|
|
223
|
+
display: flex;
|
|
224
|
+
align-items: center;
|
|
225
|
+
gap: 5px;
|
|
226
|
+
max-width: 100%;
|
|
227
|
+
.co-icon {
|
|
228
|
+
width: $sc-co-simple-tags-recent-collection-tags-list-item-icon-size;
|
|
229
|
+
height: $sc-co-simple-tags-recent-collection-tags-list-item-icon-size;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
.description-wrapper {
|
|
233
|
+
font-size: $sc-co-simple-tags-recent-collection-tags-list-item-font-size;
|
|
234
|
+
text-overflow: ellipsis;
|
|
235
|
+
white-space: nowrap;
|
|
236
|
+
overflow: hidden;
|
|
237
|
+
-moz-hyphens: auto;
|
|
238
|
+
-ms-hyphens: auto;
|
|
239
|
+
-webkit-hyphens: auto;
|
|
240
|
+
hyphens: auto;
|
|
241
|
+
max-width: 100%;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
191
246
|
.dialog-footer {
|
|
192
247
|
background-color: $sc-co-simple-tags-dialog-footer-background;
|
|
193
248
|
border-width: $sc-co-simple-tags-dialog-footer-border-width;
|
|
@@ -261,10 +316,17 @@
|
|
|
261
316
|
}
|
|
262
317
|
.co-dialog {
|
|
263
318
|
.co-dialog-wrapper {
|
|
264
|
-
background:
|
|
319
|
+
background: $sc-co-simple-tags-dialog-wrapper-background;
|
|
265
320
|
max-height: 90vh;
|
|
266
321
|
.dialog-header, .dialog-content, .dialog-footer {
|
|
267
|
-
background:
|
|
322
|
+
background: $sc-co-simple-tags-dialog-wrapper-background;
|
|
323
|
+
}
|
|
324
|
+
.dialog-header {
|
|
325
|
+
.dialog-header-caption {
|
|
326
|
+
.header-wrapper {
|
|
327
|
+
margin: $sc-co-simple-tags-dialog-header-margin;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
268
330
|
}
|
|
269
331
|
}
|
|
270
332
|
}
|
|
@@ -2,7 +2,9 @@ $sc-co-simple-tags-header-column-gap: 10px !default;
|
|
|
2
2
|
$sc-co-simple-tags-header-margin-bottom: 25px !default;
|
|
3
3
|
$sc-co-simple-tags-header-icon-size: 20px !default;
|
|
4
4
|
$sc-co-simple-tags-content-column-gap: 40px !default;
|
|
5
|
+
$sc-co-simple-tags-content-width: 100% !default;
|
|
5
6
|
$sc-co-simple-tags-navigation-column-gap: 15px !default;
|
|
7
|
+
$sc-co-simple-tags-navigation-column-max-height: 300px !default;
|
|
6
8
|
$sc-co-simple-tags-navigation-width: 30% !default;
|
|
7
9
|
$sc-co-simple-tags-navigation-home-icon-size: 15px !default;
|
|
8
10
|
$sc-co-simple-tags-navigation-collection-row-gap: 4px !default;
|
|
@@ -10,14 +12,32 @@ $sc-co-simple-tags-linked-tags-width: 70% !default;
|
|
|
10
12
|
$sc-co-simple-tags-linked-tags-row-gap: 15px !default;
|
|
11
13
|
$sc-co-simple-tags-linked-tags-tag-height: 40px !default;
|
|
12
14
|
$sc-co-simple-tags-linked-tags-gap-size: 10px !default;
|
|
13
|
-
$sc-co-simple-tags-collection-item-border-radius:
|
|
15
|
+
$sc-co-simple-tags-collection-item-border-radius: 5px !default;
|
|
14
16
|
$sc-co-simple-tags-collection-item-padding: 6px !default;
|
|
15
|
-
$sc-co-simple-tags-collection-item-border:
|
|
17
|
+
$sc-co-simple-tags-collection-item-border: 1px solid #dcdcdc !default;
|
|
16
18
|
$sc-co-simple-tags-collection-item-background-color: #ffffff !default;
|
|
17
19
|
$sc-co-simple-tags-collection-item-icon-size: 15px !default;
|
|
18
20
|
$sc-co-simple-tags-linked-tag-delete-icon-size: 10px !default;
|
|
19
21
|
$sc-co-simple-tags-linked-tag-delete-icon-margin: 10px !default;
|
|
20
22
|
$sc-co-simple-tags-collection-tag-icon-size: 20px !default;
|
|
23
|
+
$sc-co-simple-tags-dialog-header-margin: 0 0 15px 0 !default;
|
|
24
|
+
$sc-co-simple-tags-dialog-wrapper-background: #ffffff !default;
|
|
25
|
+
|
|
26
|
+
$sc-co-simple-tags-recent-collection-padding: 15px !default;
|
|
27
|
+
$sc-co-simple-tags-recent-collection-border-width: 2px 0 0 0 !default;
|
|
28
|
+
$sc-co-simple-tags-recent-collection-border-color: #f5f5fc !default;
|
|
29
|
+
$sc-co-simple-tags-recent-collection-margin: 20px 0 0 0 !default;
|
|
30
|
+
$sc-co-simple-tags-recent-collection-title-padding: 0 0 10px 0 !default;
|
|
31
|
+
$sc-co-simple-tags-recent-collection-title-weight: 600 !default;
|
|
32
|
+
$sc-co-simple-tags-recent-collection-tags-list-grid: repeat(3, minmax(75px, 200px)) !default;
|
|
33
|
+
$sc-co-simple-tags-recent-collection-tags-list-gap: 8px !default;
|
|
34
|
+
$sc-co-simple-tags-recent-collection-tags-list-item-min-width: 75px !default;
|
|
35
|
+
$sc-co-simple-tags-recent-collection-tags-list-item-max-width: 200px !default;
|
|
36
|
+
$sc-co-simple-tags-recent-collection-tags-list-item-background: #f5f5fc !default;
|
|
37
|
+
$sc-co-simple-tags-recent-collection-tags-list-item-border-radius: 5px !default;
|
|
38
|
+
$sc-co-simple-tags-recent-collection-tags-list-item-padding: 5px 10px !default;
|
|
39
|
+
$sc-co-simple-tags-recent-collection-tags-list-item-icon-size: 12px !default;
|
|
40
|
+
$sc-co-simple-tags-recent-collection-tags-list-item-font-size: 10px !default;
|
|
21
41
|
|
|
22
42
|
$sc-co-simple-tags-dialog-footer-border-width: 5px 0 0 0 !default;
|
|
23
43
|
$sc-co-simple-tags-dialog-footer-border-color: #ffffff !default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
@include export-module('co-simple-tags-form-layout') {
|
|
2
2
|
.co-simple-tags-form {
|
|
3
|
+
width: $sc-co-simple-tags-content-width;
|
|
3
4
|
.form-content-wrapper {
|
|
4
5
|
display: flex;
|
|
5
6
|
flex-direction: row;
|
|
6
|
-
width:
|
|
7
|
-
height: 600px;
|
|
7
|
+
width: $sc-co-simple-tags-content-width;
|
|
8
8
|
max-width: 100%;
|
|
9
9
|
column-gap: $sc-co-simple-tags-content-column-gap;
|
|
10
10
|
|
|
@@ -3,6 +3,8 @@ $sc-co-simple-tags-header-margin-bottom: 25px !default;
|
|
|
3
3
|
$sc-co-simple-tags-header-icon-size: 20px !default;
|
|
4
4
|
$sc-co-simple-tags-content-column-gap: 40px !default;
|
|
5
5
|
$sc-co-simple-tags-navigation-column-gap: 15px !default;
|
|
6
|
+
$sc-co-simple-tags-content-width: 100% !default;
|
|
7
|
+
$sc-co-simple-tags-navigation-column-max-height: 300px !default;
|
|
6
8
|
$sc-co-simple-tags-navigation-width: 30% !default;
|
|
7
9
|
$sc-co-simple-tags-navigation-home-icon-size: 15px !default;
|
|
8
10
|
$sc-co-simple-tags-navigation-collection-row-gap: 4px !default;
|
|
@@ -10,14 +12,32 @@ $sc-co-simple-tags-linked-tags-width: 70% !default;
|
|
|
10
12
|
$sc-co-simple-tags-linked-tags-row-gap: 15px !default;
|
|
11
13
|
$sc-co-simple-tags-linked-tags-tag-height: 40px !default;
|
|
12
14
|
$sc-co-simple-tags-linked-tags-gap-size: 10px !default;
|
|
13
|
-
$sc-co-simple-tags-collection-item-border-radius:
|
|
15
|
+
$sc-co-simple-tags-collection-item-border-radius: 5px !default;
|
|
14
16
|
$sc-co-simple-tags-collection-item-padding: 6px !default;
|
|
15
|
-
$sc-co-simple-tags-collection-item-border:
|
|
17
|
+
$sc-co-simple-tags-collection-item-border: 1px solid #dcdcdc !default;
|
|
16
18
|
$sc-co-simple-tags-collection-item-background-color: #ffffff !default;
|
|
17
19
|
$sc-co-simple-tags-collection-item-icon-size: 15px !default;
|
|
18
20
|
$sc-co-simple-tags-linked-tag-delete-icon-size: 10px !default;
|
|
19
21
|
$sc-co-simple-tags-linked-tag-delete-icon-margin: 10px !default;
|
|
20
22
|
$sc-co-simple-tags-collection-tag-icon-size: 20px !default;
|
|
23
|
+
$sc-co-simple-tags-dialog-header-margin: 0 0 15px 0 !default;
|
|
24
|
+
$sc-co-simple-tags-dialog-wrapper-background: #ffffff !default;
|
|
25
|
+
|
|
26
|
+
$sc-co-simple-tags-recent-collection-padding: 15px !default;
|
|
27
|
+
$sc-co-simple-tags-recent-collection-border-width: 2px 0 0 0 !default;
|
|
28
|
+
$sc-co-simple-tags-recent-collection-border-color: #f5f5fc !default;
|
|
29
|
+
$sc-co-simple-tags-recent-collection-margin: 20px 0 0 0 !default;
|
|
30
|
+
$sc-co-simple-tags-recent-collection-title-padding: 0 0 10px 0 !default;
|
|
31
|
+
$sc-co-simple-tags-recent-collection-title-weight: 600 !default;
|
|
32
|
+
$sc-co-simple-tags-recent-collection-tags-list-grid: repeat(3, minmax(75px, 200px)) !default;
|
|
33
|
+
$sc-co-simple-tags-recent-collection-tags-list-gap: 8px !default;
|
|
34
|
+
$sc-co-simple-tags-recent-collection-tags-list-item-min-width: 75px !default;
|
|
35
|
+
$sc-co-simple-tags-recent-collection-tags-list-item-max-width: 200px !default;
|
|
36
|
+
$sc-co-simple-tags-recent-collection-tags-list-item-background: #f5f5fc !default;
|
|
37
|
+
$sc-co-simple-tags-recent-collection-tags-list-item-border-radius: 5px !default;
|
|
38
|
+
$sc-co-simple-tags-recent-collection-tags-list-item-padding: 5px 10px !default;
|
|
39
|
+
$sc-co-simple-tags-recent-collection-tags-list-item-icon-size: 12px !default;
|
|
40
|
+
$sc-co-simple-tags-recent-collection-tags-list-item-font-size: 10px !default;
|
|
21
41
|
|
|
22
42
|
$sc-co-simple-tags-dialog-footer-border-width: 5px 0 0 0 !default;
|
|
23
43
|
$sc-co-simple-tags-dialog-footer-border-color: #ffffff !default;
|
package/package.json
CHANGED