keevo-components 2.0.232 → 2.0.235
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/keevo-components.module.mjs +12 -6
- package/esm2022/lib/components/kv-card-message/kv-card-message.component.mjs +85 -0
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +43 -8
- package/esm2022/lib/components/kv-kanban/kv-kanban.component.mjs +3 -3
- package/esm2022/public-api.mjs +5 -1
- package/fesm2022/keevo-components.mjs +136 -15
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/keevo-components.module.d.ts +3 -2
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +1 -1
- package/lib/components/kv-card-message/kv-card-message.component.d.ts +51 -0
- package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +4 -1
- package/lib/components/kv-table-viewer/kv-table-viewer.component.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
|
@@ -31,9 +31,10 @@ import * as i29 from "./kv-confirmation-modal/kv-confirmation-modal.module";
|
|
|
31
31
|
import * as i30 from "./kv-filter-cards/kv-filter-cards.module";
|
|
32
32
|
import * as i31 from "primeng/skeleton";
|
|
33
33
|
import * as i32 from "./kv-table-draggable/kv-table-draggable.module";
|
|
34
|
-
import * as i33 from "./kv-
|
|
34
|
+
import * as i33 from "./kv-card-message/kv-card-message.component";
|
|
35
|
+
import * as i34 from "./kv-table-edit/kv-table-edit.module";
|
|
35
36
|
export declare class KeevoComponentsModule {
|
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<KeevoComponentsModule, never>;
|
|
37
|
-
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 i31.SkeletonModule, typeof i32.KvTableDraggableModule], [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
|
|
38
|
+
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 i31.SkeletonModule, typeof i32.KvTableDraggableModule, typeof i33.KvCardMessageComponent], [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 i34.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, typeof i32.KvTableDraggableModule, typeof i33.KvCardMessageComponent]>;
|
|
38
39
|
static ɵinj: i0.ɵɵInjectorDeclaration<KeevoComponentsModule>;
|
|
39
40
|
}
|
|
@@ -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;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Message } from 'primeng/api';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Componente para exibição de mensagens em formato de card.
|
|
6
|
+
*
|
|
7
|
+
* O componente `kv-card-message` permite renderizar mensagens com diferentes níveis de severidade,
|
|
8
|
+
* podendo exibir mensagens simples ou listas de mensagens.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```html
|
|
12
|
+
* <kv-card-message [severity]="'success'" [message]="'Operação realizada com sucesso!'"></kv-card-message>
|
|
13
|
+
*
|
|
14
|
+
* <kv-card-message [severity]="'error'" [message]="['Erro 1', 'Erro 2', 'Erro 3']"></kv-card-message>
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* @input severity - Define o nível de severidade da mensagem ('info' | 'success' | 'warn' | 'error')
|
|
18
|
+
* @input message - Mensagem a ser exibida (pode ser string única ou array de strings)
|
|
19
|
+
*/
|
|
20
|
+
export declare class KvCardMessageComponent implements OnInit {
|
|
21
|
+
/**
|
|
22
|
+
* Define o nível de severidade da mensagem
|
|
23
|
+
* @default 'info'
|
|
24
|
+
*/
|
|
25
|
+
severity: 'info' | 'success' | 'warn' | 'error';
|
|
26
|
+
/**
|
|
27
|
+
* Mensagem ou lista de mensagens a serem exibidas
|
|
28
|
+
*/
|
|
29
|
+
message: string | string[];
|
|
30
|
+
/**
|
|
31
|
+
* Array de mensagens do PrimeNG
|
|
32
|
+
*/
|
|
33
|
+
messages: Message[];
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
/**
|
|
36
|
+
* Constrói o array de mensagens para o PrimeNG
|
|
37
|
+
*/
|
|
38
|
+
private buildMessages;
|
|
39
|
+
/**
|
|
40
|
+
* Verifica se a mensagem é um array
|
|
41
|
+
* @returns true se message for um array, false caso contrário
|
|
42
|
+
*/
|
|
43
|
+
isMessageArray(): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Retorna o ícone apropriado baseado na severidade
|
|
46
|
+
* @returns Nome do ícone material
|
|
47
|
+
*/
|
|
48
|
+
getIcon(): string;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvCardMessageComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvCardMessageComponent, "kv-card-message", never, { "severity": { "alias": "severity"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, never, true, never>;
|
|
51
|
+
}
|
|
@@ -53,6 +53,8 @@ export declare class KvEditorComponent extends BaseComponentInput<string> implem
|
|
|
53
53
|
instrucoesTemplate: import("@angular/core").InputSignal<TemplateRef<any> | undefined>;
|
|
54
54
|
showHeader: import("@angular/core").InputSignal<boolean>;
|
|
55
55
|
readonly: import("@angular/core").InputSignal<boolean>;
|
|
56
|
+
showAlphaCrmButtons: import("@angular/core").InputSignal<boolean>;
|
|
57
|
+
enableButtonInsert: import("@angular/core").InputSignal<boolean>;
|
|
56
58
|
idRelatorioSelected: import("@angular/core").Signal<number>;
|
|
57
59
|
relatorio: import("@angular/core").Signal<KvEditorRelatorio | null>;
|
|
58
60
|
isLoadingPdf: import("@angular/core").Signal<boolean>;
|
|
@@ -77,6 +79,7 @@ export declare class KvEditorComponent extends BaseComponentInput<string> implem
|
|
|
77
79
|
handleInit(): Promise<void>;
|
|
78
80
|
initializeQuillEditor(): void;
|
|
79
81
|
private setupCustomToolbarButtons;
|
|
82
|
+
inserirBotoesAlpha(buttonName: string, functionName: string, color: 'blue' | 'gray'): void;
|
|
80
83
|
confirmButtonName(): void;
|
|
81
84
|
private registerButtonCallback;
|
|
82
85
|
cancelButtonName(): void;
|
|
@@ -105,5 +108,5 @@ export declare class KvEditorComponent extends BaseComponentInput<string> implem
|
|
|
105
108
|
private escapeRegex;
|
|
106
109
|
get getPreviewContent(): SafeHtml;
|
|
107
110
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvEditorComponent, never>;
|
|
108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvEditorComponent, "kv-editor", never, { "canvaHeigth": { "alias": "canvaHeigth"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "enablePreviewMode": { "alias": "enablePreviewMode"; "required": false; "isSignal": true; }; "showVariableValuesInPreview": { "alias": "showVariableValuesInPreview"; "required": false; "isSignal": true; }; "relatorios": { "alias": "relatorios"; "required": false; "isSignal": true; }; "idRelatorioInitial": { "alias": "idRelatorioInitial"; "required": false; "isSignal": true; }; "printButton": { "alias": "printButton"; "required": false; "isSignal": true; }; "labelEmptyDropdown": { "alias": "labelEmptyDropdown"; "required": false; "isSignal": true; }; "instrucoesTemplate": { "alias": "instrucoesTemplate"; "required": false; "isSignal": true; }; "showHeader": { "alias": "showHeader"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, { "onTextChange": "onTextChange"; "onSelectionChange": "onSelectionChange"; "outputRaw": "outputRaw"; "outputHtml": "outputHtml"; "previewHtmlOutput": "previewHtmlOutput"; "onCustomButtonClick": "onCustomButtonClick"; "idRelatorioInitial": "idRelatorioInitialChange"; }, never, never, false, never>;
|
|
111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvEditorComponent, "kv-editor", never, { "canvaHeigth": { "alias": "canvaHeigth"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "enablePreviewMode": { "alias": "enablePreviewMode"; "required": false; "isSignal": true; }; "showVariableValuesInPreview": { "alias": "showVariableValuesInPreview"; "required": false; "isSignal": true; }; "relatorios": { "alias": "relatorios"; "required": false; "isSignal": true; }; "idRelatorioInitial": { "alias": "idRelatorioInitial"; "required": false; "isSignal": true; }; "printButton": { "alias": "printButton"; "required": false; "isSignal": true; }; "labelEmptyDropdown": { "alias": "labelEmptyDropdown"; "required": false; "isSignal": true; }; "instrucoesTemplate": { "alias": "instrucoesTemplate"; "required": false; "isSignal": true; }; "showHeader": { "alias": "showHeader"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "showAlphaCrmButtons": { "alias": "showAlphaCrmButtons"; "required": false; "isSignal": true; }; "enableButtonInsert": { "alias": "enableButtonInsert"; "required": false; "isSignal": true; }; }, { "onTextChange": "onTextChange"; "onSelectionChange": "onSelectionChange"; "outputRaw": "outputRaw"; "outputHtml": "outputHtml"; "previewHtmlOutput": "previewHtmlOutput"; "onCustomButtonClick": "onCustomButtonClick"; "idRelatorioInitial": "idRelatorioInitialChange"; }, never, never, false, never>;
|
|
109
112
|
}
|
|
@@ -32,7 +32,7 @@ export declare class KvTableViewerComponent implements OnDestroy {
|
|
|
32
32
|
elementRef: ElementRef<any>;
|
|
33
33
|
renderer: Renderer2;
|
|
34
34
|
columns: import("@angular/core").InputSignal<ColumnTableViewer[]>;
|
|
35
|
-
actionsRow: import("@angular/core").InputSignal<
|
|
35
|
+
actionsRow: import("@angular/core").InputSignal<[] | MenuItem[]>;
|
|
36
36
|
actionsHeader: import("@angular/core").InputSignal<MenuItem[] | undefined>;
|
|
37
37
|
actionsLote: import("@angular/core").InputSignal<MenuItem[] | undefined>;
|
|
38
38
|
data: import("@angular/core").InputSignal<any[]>;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -276,6 +276,10 @@ export * from './lib/components/kv-avatar/kv-avatar.module';
|
|
|
276
276
|
*/
|
|
277
277
|
export * from './lib/components/kv-card-selection/kv-card-selection.component';
|
|
278
278
|
export * from './lib/components/kv-card-selection/kv-card-selection.module';
|
|
279
|
+
/**
|
|
280
|
+
* Card Message
|
|
281
|
+
*/
|
|
282
|
+
export * from './lib/components/kv-card-message/kv-card-message.component';
|
|
279
283
|
/**
|
|
280
284
|
* TAG
|
|
281
285
|
*/
|