keevo-components 2.0.60 → 2.0.62
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/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +6 -3
- package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.component.mjs +11 -8
- package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.module.mjs +6 -4
- package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.pipe.mjs +30 -0
- package/fesm2022/keevo-components.mjs +46 -12
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-avatar/kv-avatar.component.d.ts +2 -1
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +1 -1
- package/lib/components/kv-filter-cards/kv-filter-cards.component.d.ts +7 -4
- package/lib/components/kv-filter-cards/kv-filter-cards.module.d.ts +3 -2
- package/lib/components/kv-filter-cards/kv-filter-cards.pipe.d.ts +7 -0
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ export declare class KvAvatarComponent implements OnInit {
|
|
|
15
15
|
btnAlterarFoto: boolean;
|
|
16
16
|
imageUrlChange: EventEmitter<string>;
|
|
17
17
|
removerFotoEvent: EventEmitter<void>;
|
|
18
|
+
singlaNome: string;
|
|
18
19
|
file: File | null;
|
|
19
20
|
existeLogo: boolean;
|
|
20
21
|
selectedImage: string;
|
|
@@ -31,5 +32,5 @@ export declare class KvAvatarComponent implements OnInit {
|
|
|
31
32
|
removerFoto(): void;
|
|
32
33
|
handleImageError(event: any): void;
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvAvatarComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvAvatarComponent, "kv-avatar", never, { "borderColor": { "alias": "borderColor"; "required": false; }; "btnsColor": { "alias": "btnsColor"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "btnAlterarFoto": { "alias": "btnAlterarFoto"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; "isSignal": true; }; }, { "imageUrlChange": "imageUrlChange"; "removerFotoEvent": "removerFotoEvent"; }, never, never, false, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvAvatarComponent, "kv-avatar", never, { "borderColor": { "alias": "borderColor"; "required": false; }; "btnsColor": { "alias": "btnsColor"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "btnAlterarFoto": { "alias": "btnAlterarFoto"; "required": false; }; "singlaNome": { "alias": "singlaNome"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; "isSignal": true; }; }, { "imageUrlChange": "imageUrlChange"; "removerFotoEvent": "removerFotoEvent"; }, never, never, false, never>;
|
|
35
36
|
}
|
|
@@ -8,7 +8,7 @@ export declare class KvButtonPopupComponent extends BaseComponentButton {
|
|
|
8
8
|
items: MenuItem[];
|
|
9
9
|
classBtn: string;
|
|
10
10
|
size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
|
|
11
|
-
type: import("@angular/core").InputSignal<"
|
|
11
|
+
type: import("@angular/core").InputSignal<"text" | "normal" | "outline">;
|
|
12
12
|
icon: string;
|
|
13
13
|
constructor();
|
|
14
14
|
handleShow(): void;
|
|
@@ -1,24 +1,27 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class KvFilterCardsComponent {
|
|
3
3
|
cards: import("@angular/core").InputSignal<KvFilterCardConfig[] | undefined>;
|
|
4
|
+
selectedCards: import("@angular/core").ModelSignal<KvFilterCardConfig[]>;
|
|
5
|
+
loadingCards: import("@angular/core").InputSignal<boolean>;
|
|
4
6
|
wrapCards: import("@angular/core").InputSignal<boolean>;
|
|
5
7
|
alignCardsCenter: import("@angular/core").InputSignal<boolean>;
|
|
6
|
-
|
|
8
|
+
onCardClick: import("@angular/core").OutputEmitterRef<KvFilterCardConfig>;
|
|
7
9
|
color: import("@angular/core").Signal<(card: KvFilterCardConfig) => string>;
|
|
8
10
|
mixedColor: import("@angular/core").Signal<(card: KvFilterCardConfig) => string>;
|
|
9
|
-
getTransparentMix
|
|
10
|
-
onCardClick: import("@angular/core").OutputEmitterRef<KvFilterCardConfig>;
|
|
11
|
+
private getTransparentMix;
|
|
11
12
|
handleCardClick(card: KvFilterCardConfig): void;
|
|
12
13
|
verificarSeCardEstaSelecionado(card: KvFilterCardConfig): boolean;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvFilterCardsComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvFilterCardsComponent, "kv-filter-cards", never, { "cards": { "alias": "cards"; "required": false; "isSignal": true; }; "
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvFilterCardsComponent, "kv-filter-cards", never, { "cards": { "alias": "cards"; "required": false; "isSignal": true; }; "selectedCards": { "alias": "selectedCards"; "required": false; "isSignal": true; }; "loadingCards": { "alias": "loadingCards"; "required": false; "isSignal": true; }; "wrapCards": { "alias": "wrapCards"; "required": false; "isSignal": true; }; "alignCardsCenter": { "alias": "alignCardsCenter"; "required": false; "isSignal": true; }; }, { "selectedCards": "selectedCardsChange"; "onCardClick": "onCardClick"; }, never, never, false, never>;
|
|
15
16
|
}
|
|
16
17
|
export type KvSeverity = 'primary' | 'secondary' | 'tertiary' | 'info' | 'warning' | 'danger';
|
|
17
18
|
export declare const mapaSeverityColors: Record<KvSeverity, string>;
|
|
19
|
+
export type KvFilterCardFormato = 'int' | 'currency' | 'percent' | 'decimal' | 'text' | 'date';
|
|
18
20
|
export type KvFilterCardConfig = {
|
|
19
21
|
id: number;
|
|
20
22
|
severity: KvSeverity;
|
|
21
23
|
titulo: string;
|
|
22
24
|
icon: string;
|
|
23
25
|
valor?: number | string | undefined | null;
|
|
26
|
+
formato?: KvFilterCardFormato;
|
|
24
27
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./kv-filter-cards.component";
|
|
3
|
-
import * as i2 from "
|
|
3
|
+
import * as i2 from "./kv-filter-cards.pipe";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
4
5
|
export declare class KvFilterCardsModule {
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvFilterCardsModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KvFilterCardsModule, [typeof i1.KvFilterCardsComponent], [typeof
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvFilterCardsModule, [typeof i1.KvFilterCardsComponent, typeof i2.KvFilterCardsFormatterPipe], [typeof i3.CommonModule], [typeof i1.KvFilterCardsComponent]>;
|
|
7
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<KvFilterCardsModule>;
|
|
8
9
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KvFilterCardsFormatterPipe implements PipeTransform {
|
|
4
|
+
transform(value: number | string | null | undefined, formato?: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvFilterCardsFormatterPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KvFilterCardsFormatterPipe, "kvFilterCardsFormatter", false>;
|
|
7
|
+
}
|