carriera-intern-components 1.1.168 → 1.1.169
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.
|
@@ -14,7 +14,7 @@ export declare class AvatarComponent {
|
|
|
14
14
|
* The size of the avatar in pixels.
|
|
15
15
|
* @type {Size}
|
|
16
16
|
*/
|
|
17
|
-
size: import("@angular/core").InputSignal<18 | 22 | 32 | 74
|
|
17
|
+
size: import("@angular/core").InputSignal<160 | 18 | 22 | 32 | 74>;
|
|
18
18
|
/**
|
|
19
19
|
* Whether the avatar should be rounded or not.
|
|
20
20
|
* @type {boolean}
|
|
@@ -3605,9 +3605,14 @@ class DropZoneComponent {
|
|
|
3605
3605
|
* It filters the base `fileTypes` array, removing any extensions present
|
|
3606
3606
|
* in the `excludedFileTypes` input.
|
|
3607
3607
|
*/
|
|
3608
|
-
supportedFileTypes = computed(() =>
|
|
3609
|
-
|
|
3610
|
-
|
|
3608
|
+
supportedFileTypes = computed(() => {
|
|
3609
|
+
const excluded = this.excludedFileTypes();
|
|
3610
|
+
const types = this.fileTypes();
|
|
3611
|
+
if (!excluded || excluded.length === 0) {
|
|
3612
|
+
return types;
|
|
3613
|
+
}
|
|
3614
|
+
return types.filter(type => !excluded.includes(type));
|
|
3615
|
+
});
|
|
3611
3616
|
/**
|
|
3612
3617
|
* A signal that holds an array of `AppFile` objects representing the files
|
|
3613
3618
|
* that have been selected or dropped by the user.
|
|
@@ -3683,7 +3688,6 @@ class DropZoneComponent {
|
|
|
3683
3688
|
else {
|
|
3684
3689
|
this.docs.update((docs) => [...docs, filePreview]);
|
|
3685
3690
|
}
|
|
3686
|
-
console.log(this.docs());
|
|
3687
3691
|
this.emitDocs();
|
|
3688
3692
|
const visibleCount = this.size() === '480px' ? 2 : 3;
|
|
3689
3693
|
const total = this.docs().length;
|