keevo-components 2.0.59 → 2.0.61
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/fesm2022/keevo-components.mjs +96 -9
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/keevo-components.module.d.ts +3 -2
- package/lib/components/kv-avatar/kv-avatar.component.d.ts +2 -1
- package/lib/components/kv-filter-cards/kv-filter-cards.component.d.ts +24 -0
- package/lib/components/kv-filter-cards/kv-filter-cards.module.d.ts +8 -0
- package/lib/components/kv-table/kv-table.component.d.ts +1 -1
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +1 -1
- package/lib/components/kv-tag/kv-tag.component.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +5 -0
|
@@ -28,9 +28,10 @@ import * as i26 from "./kv-filter-fieldset/kv-filter-fieldset.module";
|
|
|
28
28
|
import * as i27 from "./kv-card-selection/kv-card-selection.module";
|
|
29
29
|
import * as i28 from "./kv-tag/kv-tag.module";
|
|
30
30
|
import * as i29 from "./kv-confirmation-modal/kv-confirmation-modal.module";
|
|
31
|
-
import * as i30 from "./kv-
|
|
31
|
+
import * as i30 from "./kv-filter-cards/kv-filter-cards.module";
|
|
32
|
+
import * as i31 from "./kv-table-edit/kv-table-edit.module";
|
|
32
33
|
export declare class KeevoComponentsModule {
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<KeevoComponentsModule, never>;
|
|
34
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvLayoutModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i25.KvFileViewerNovoModule, typeof i26.KvFilterFieldsetModule, typeof i27.KvCardSelectionModule, typeof i28.KvTagModule, typeof i29.KvConfirmationModalModule], [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvLayoutModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof
|
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvLayoutModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i25.KvFileViewerNovoModule, typeof i26.KvFilterFieldsetModule, typeof i27.KvCardSelectionModule, typeof i28.KvTagModule, typeof i29.KvConfirmationModalModule, typeof i30.KvFilterCardsModule], [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvLayoutModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i31.KvTableEditModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i26.KvFilterFieldsetModule, typeof i25.KvFileViewerNovoModule, typeof i27.KvCardSelectionModule, typeof i28.KvTagModule, typeof i29.KvConfirmationModalModule, typeof i30.KvFilterCardsModule]>;
|
|
35
36
|
static ɵinj: i0.ɵɵInjectorDeclaration<KeevoComponentsModule>;
|
|
36
37
|
}
|
|
@@ -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
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class KvFilterCardsComponent {
|
|
3
|
+
cards: import("@angular/core").InputSignal<KvFilterCardConfig[] | undefined>;
|
|
4
|
+
wrapCards: import("@angular/core").InputSignal<boolean>;
|
|
5
|
+
alignCardsCenter: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
selectedCards: import("@angular/core").ModelSignal<KvFilterCardConfig[]>;
|
|
7
|
+
color: import("@angular/core").Signal<(card: KvFilterCardConfig) => string>;
|
|
8
|
+
mixedColor: import("@angular/core").Signal<(card: KvFilterCardConfig) => string>;
|
|
9
|
+
getTransparentMix(baseHex: string, opacity?: number): string;
|
|
10
|
+
onCardClick: import("@angular/core").OutputEmitterRef<KvFilterCardConfig>;
|
|
11
|
+
handleCardClick(card: KvFilterCardConfig): void;
|
|
12
|
+
verificarSeCardEstaSelecionado(card: KvFilterCardConfig): boolean;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvFilterCardsComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvFilterCardsComponent, "kv-filter-cards", never, { "cards": { "alias": "cards"; "required": false; "isSignal": true; }; "wrapCards": { "alias": "wrapCards"; "required": false; "isSignal": true; }; "alignCardsCenter": { "alias": "alignCardsCenter"; "required": false; "isSignal": true; }; "selectedCards": { "alias": "selectedCards"; "required": false; "isSignal": true; }; }, { "selectedCards": "selectedCardsChange"; "onCardClick": "onCardClick"; }, never, never, false, never>;
|
|
15
|
+
}
|
|
16
|
+
export type KvSeverity = 'primary' | 'secondary' | 'tertiary' | 'info' | 'warning' | 'danger';
|
|
17
|
+
export declare const mapaSeverityColors: Record<KvSeverity, string>;
|
|
18
|
+
export type KvFilterCardConfig = {
|
|
19
|
+
id: number;
|
|
20
|
+
severity: KvSeverity;
|
|
21
|
+
titulo: string;
|
|
22
|
+
icon: string;
|
|
23
|
+
valor?: number | string | undefined | null;
|
|
24
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kv-filter-cards.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class KvFilterCardsModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvFilterCardsModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvFilterCardsModule, [typeof i1.KvFilterCardsComponent], [typeof i2.CommonModule], [typeof i1.KvFilterCardsComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvFilterCardsModule>;
|
|
8
|
+
}
|
|
@@ -139,7 +139,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
139
139
|
onClickEvent(event: any): void;
|
|
140
140
|
styleSetter(style: string, data: string): void;
|
|
141
141
|
checkMenuFiltro(col: TableConfigColumn): void;
|
|
142
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
142
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
143
143
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
144
144
|
checkHideColumns(): void;
|
|
145
145
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
@@ -68,7 +68,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
|
|
|
68
68
|
onGlobalFilter(table: Table, event: Event): void;
|
|
69
69
|
executeCollapsed(): void;
|
|
70
70
|
checkMenuFiltro(col: any): void;
|
|
71
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
71
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
72
72
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
73
73
|
dinamicColumnSet(e: any, col: any): void;
|
|
74
74
|
addColumn(field: string): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class KvTagComponent {
|
|
3
|
-
severity: import("@angular/core").InputSignal<"info" | "
|
|
3
|
+
severity: import("@angular/core").InputSignal<"info" | "danger" | "success" | "warn" | "system" | "contrast">;
|
|
4
4
|
border: import("@angular/core").InputSignal<boolean>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvTagComponent, never>;
|
|
6
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<KvTagComponent, "kv-tag", never, { "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -267,3 +267,8 @@ export * from './lib/components/kv-card-selection/kv-card-selection.module';
|
|
|
267
267
|
*/
|
|
268
268
|
export * from './lib/components/kv-tag/kv-tag.component';
|
|
269
269
|
export * from './lib/components/kv-tag/kv-tag.module';
|
|
270
|
+
/**
|
|
271
|
+
* Filter Cards
|
|
272
|
+
*/
|
|
273
|
+
export * from './lib/components/kv-filter-cards/kv-filter-cards.module';
|
|
274
|
+
export { KvFilterCardsComponent, KvFilterCardConfig, mapaSeverityColors, KvSeverity } from './lib/components/kv-filter-cards/kv-filter-cards.component';
|