keevo-components 2.0.100 → 2.0.102
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-inputs/kv-editor/config/kv-editor.config.mjs +3 -1
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +9 -11
- package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-pdf.service.mjs +2 -3
- package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.mjs +2 -2
- package/esm2022/lib/components/kv-timeline/kv-timeline.component.mjs +71 -0
- package/esm2022/public-api.mjs +7 -2
- package/fesm2022/keevo-components.mjs +77 -14
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/api/base-components/base-component-dropdown.d.ts +1 -1
- package/lib/components/kv-button/kv-button.component.d.ts +1 -1
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +1 -1
- package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +2 -5
- package/lib/components/kv-stepper/kv-stepper.component.d.ts +2 -2
- 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/lib/components/kv-timeline/kv-timeline.component.d.ts +18 -0
- package/package.json +1 -1
- package/public-api.d.ts +6 -1
|
@@ -40,7 +40,7 @@ export declare abstract class BaseComponentDropDown extends BaseComponentInput<a
|
|
|
40
40
|
protected addClick(event: Event): void;
|
|
41
41
|
carregarCombo(filtro?: filtroCombo): void;
|
|
42
42
|
protected carregarComboObs(obs: Observable<any>): void;
|
|
43
|
-
emptyMessage(): "
|
|
43
|
+
emptyMessage(): "Nenhum resultado encontrado" | "Digite para pesquisar";
|
|
44
44
|
filterOptions(field: string, value: any): void;
|
|
45
45
|
protected listar(): any;
|
|
46
46
|
protected listarCombo(value: any): any;
|
|
@@ -9,7 +9,7 @@ export declare class KvButtonComponent {
|
|
|
9
9
|
severity: import("@angular/core").InputSignal<"primary" | "secondary" | "tertiary" | "danger">;
|
|
10
10
|
size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
|
|
11
11
|
icon: import("@angular/core").ModelSignal<string>;
|
|
12
|
-
iconPosition: import("@angular/core").InputSignal<"
|
|
12
|
+
iconPosition: import("@angular/core").InputSignal<"right" | "left">;
|
|
13
13
|
label: import("@angular/core").InputSignal<string>;
|
|
14
14
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
15
15
|
onClick: import("@angular/core").OutputEmitterRef<any>;
|
|
@@ -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" | "outline" | "normal">;
|
|
12
12
|
icon: string;
|
|
13
13
|
constructor();
|
|
14
14
|
handleShow(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import Quill from 'quill';
|
|
3
3
|
import { OverlayPanel } from 'primeng/overlaypanel';
|
|
4
4
|
import { BaseComponentInput } from '../../../api/base-components/base-component-input';
|
|
@@ -6,9 +6,7 @@ import { ComponentService } from '../../../api/services/component.service';
|
|
|
6
6
|
import { KvEditorRelatorio, KvEditorVariavel } from './kv-editor';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class KvEditorComponent extends BaseComponentInput<string> implements OnInit {
|
|
9
|
-
|
|
10
|
-
private el;
|
|
11
|
-
constructor(componentService: ComponentService, renderer: Renderer2, el: ElementRef);
|
|
9
|
+
constructor(componentService: ComponentService);
|
|
12
10
|
private quillService;
|
|
13
11
|
private relatorioService;
|
|
14
12
|
private mentionService;
|
|
@@ -34,7 +32,6 @@ export declare class KvEditorComponent extends BaseComponentInput<string> implem
|
|
|
34
32
|
initLoadComplete: import("@angular/core").WritableSignal<boolean>;
|
|
35
33
|
isLoading: import("@angular/core").WritableSignal<boolean>;
|
|
36
34
|
editorToolbarHeight: import("@angular/core").WritableSignal<string>;
|
|
37
|
-
tipoVisualizacao: import("@angular/core").WritableSignal<"descricao" | "valor">;
|
|
38
35
|
filteredVariables: import("@angular/core").WritableSignal<KvEditorVariavel[]>;
|
|
39
36
|
relatorios: import("@angular/core").InputSignal<KvEditorRelatorio[]>;
|
|
40
37
|
idRelatorioInitial: import("@angular/core").InputSignal<number>;
|
|
@@ -4,8 +4,8 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class KvStepperComponent {
|
|
5
5
|
panels: KvStepperPanel[];
|
|
6
6
|
activeStep: number;
|
|
7
|
-
orientation: import("@angular/core").InputSignal<"
|
|
8
|
-
buttonsAlign: import("@angular/core").InputSignal<"center" | "
|
|
7
|
+
orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
|
|
8
|
+
buttonsAlign: import("@angular/core").InputSignal<"center" | "end" | "start">;
|
|
9
9
|
linear: import("@angular/core").InputSignal<boolean>;
|
|
10
10
|
activeStepChange: EventEmitter<number>;
|
|
11
11
|
concluirCallback: EventEmitter<void>;
|
|
@@ -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) => 1 | 0 | -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) => 1 | 0 | -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<"
|
|
3
|
+
severity: import("@angular/core").InputSignal<"danger" | "info" | "warn" | "success" | "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>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
type TimelineSeverity = 'in_progress' | 'success' | 'cancelled' | 'error' | 'paused' | 'waiting';
|
|
4
|
+
export declare class KvTimelineComponent {
|
|
5
|
+
dataSource: import("@angular/core").InputSignal<any[] | undefined>;
|
|
6
|
+
getSeverityFn: (item: any) => TimelineSeverity;
|
|
7
|
+
getLastActiveCount?: (dataSource: any[]) => number;
|
|
8
|
+
lastOnly: boolean;
|
|
9
|
+
align: string;
|
|
10
|
+
layout: 'horizontal' | 'vertical';
|
|
11
|
+
oppositeTemplate: TemplateRef<any>;
|
|
12
|
+
contentTemplate: TemplateRef<any>;
|
|
13
|
+
get parsedEvents(): any[];
|
|
14
|
+
constructor();
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvTimelineComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvTimelineComponent, "kv-timeline", never, { "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "getSeverityFn": { "alias": "getSeverityFn"; "required": false; }; "getLastActiveCount": { "alias": "getLastActiveCount"; "required": false; }; "lastOnly": { "alias": "lastOnly"; "required": false; }; "align": { "alias": "align"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "oppositeTemplate": { "alias": "oppositeTemplate"; "required": false; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ export * from './lib/api/components/dropdown/filtro.combo';
|
|
|
73
73
|
export * from './lib/components/kv-inputs/kv-check/kv-check.component';
|
|
74
74
|
export * from './lib/components/kv-inputs/kv-dropdown/kv-dropdown.component';
|
|
75
75
|
export * from './lib/components/kv-inputs/kv-editor/kv-editor.component';
|
|
76
|
+
export * from './lib/components/kv-inputs/kv-editor/kv-editor';
|
|
76
77
|
export * from './lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component';
|
|
77
78
|
export * from './lib/components/kv-inputs/kv-input-mask/kv-input-mask.component';
|
|
78
79
|
export * from './lib/components/kv-inputs/kv-input-number/kv-input-number.component';
|
|
@@ -134,7 +135,7 @@ export * from './lib/components/kv-tree-table/kv-tree-table.module';
|
|
|
134
135
|
export * from './lib/components/kv-table-expandable/kv-table-expandable.component';
|
|
135
136
|
export * from './lib/components/kv-table-expandable/kv-table-expandable.module';
|
|
136
137
|
/**
|
|
137
|
-
* Table
|
|
138
|
+
* Table Viewer
|
|
138
139
|
*/
|
|
139
140
|
export * from './lib/components/kv-table-viewer/kv-table-viewer.component';
|
|
140
141
|
/**
|
|
@@ -281,3 +282,7 @@ export { KvFilterCardsComponent, KvFilterCardConfig, mapaSeverityColors, KvSever
|
|
|
281
282
|
*/
|
|
282
283
|
export * from './lib/components/kv-tags/kv-tags.module';
|
|
283
284
|
export { KvTagConfig, KvTagsComponent } from './lib/components/kv-tags/kv-tags.component';
|
|
285
|
+
/**
|
|
286
|
+
* Timeline
|
|
287
|
+
*/
|
|
288
|
+
export * from './lib/components/kv-timeline/kv-timeline.component';
|