keevo-components 1.5.200 → 1.5.202
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/esm2020/lib/inputs/dropdown/dropdown.component.mjs +3 -3
- package/esm2020/lib/inputs/editor/editor.component.mjs +39 -21
- package/esm2020/lib/inputs/multi-select/multi-select.component.mjs +8 -5
- package/esm2020/lib/menu/menu.component.mjs +3 -3
- package/esm2020/lib/table/table.component.mjs +20 -26
- package/esm2020/lib/tree-table/kv-treetable.component.mjs +3 -3
- package/fesm2015/keevo-components.mjs +63 -47
- package/fesm2015/keevo-components.mjs.map +1 -1
- package/fesm2020/keevo-components.mjs +63 -47
- package/fesm2020/keevo-components.mjs.map +1 -1
- package/lib/inputs/editor/editor.component.d.ts +8 -11
- package/lib/inputs/multi-select/multi-select.component.d.ts +3 -1
- package/lib/table/table.component.d.ts +4 -8
- package/package.json +1 -1
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { EventEmitter
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { BaseComponentInput } from '../../api/base-components/base-component-input';
|
|
3
3
|
import { ComponentService } from '../../api/services/component.service';
|
|
4
|
+
import Quill from 'quill';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class EditorComponent extends BaseComponentInput<string> {
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
6
10
|
constructor(componentService: ComponentService);
|
|
7
11
|
/**
|
|
8
12
|
* @type {boolean}
|
|
@@ -17,13 +21,6 @@ export declare class EditorComponent extends BaseComponentInput<string> {
|
|
|
17
21
|
*/
|
|
18
22
|
canvaHeigth: string;
|
|
19
23
|
debug: boolean;
|
|
20
|
-
modules: object;
|
|
21
|
-
/**
|
|
22
|
-
* @type {TemplateRef}
|
|
23
|
-
* @description
|
|
24
|
-
* Esse item e opcional, mas caso precise de definir um template personalizado com base em clases css do quill poderar passar sua toolbar por aqui
|
|
25
|
-
*/
|
|
26
|
-
tollbartemplate: TemplateRef<any>;
|
|
27
24
|
/**
|
|
28
25
|
* @description Executado a cada iteração
|
|
29
26
|
*/
|
|
@@ -32,8 +29,8 @@ export declare class EditorComponent extends BaseComponentInput<string> {
|
|
|
32
29
|
* @description Executado a cada seleção
|
|
33
30
|
*/
|
|
34
31
|
onSelectionChange: EventEmitter<any>;
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
quill: Quill;
|
|
33
|
+
ngOnInit(): void;
|
|
37
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "kv-editor", never, { "readonly": "readonly"; "canvaHeigth": "canvaHeigth"; "debug": "debug";
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "kv-editor", never, { "readonly": "readonly"; "canvaHeigth": "canvaHeigth"; "debug": "debug"; }, { "onTextChange": "onTextChange"; "onSelectionChange": "onSelectionChange"; }, never, never, false, never>;
|
|
39
36
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
1
2
|
import { ComponentService } from '../../api/services/component.service';
|
|
2
3
|
import { BaseComponentMultiSelect } from '../../api/base-components/base-component-multi-select';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class MultiSelectComponent extends BaseComponentMultiSelect {
|
|
5
6
|
optionInactive: boolean;
|
|
6
7
|
group: boolean;
|
|
8
|
+
itemTemplate: TemplateRef<any>;
|
|
7
9
|
inactiveOptions: string;
|
|
8
10
|
ngOnInit(): void;
|
|
9
11
|
constructor(componentService: ComponentService);
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "kv-multi-select", never, { "optionInactive": "optionInactive"; "group": "group"; }, {}, never, ["*"], false, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "kv-multi-select", never, { "optionInactive": "optionInactive"; "group": "group"; "itemTemplate": "itemTemplate"; }, {}, never, ["*"], false, never>;
|
|
12
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DatePipe, DecimalPipe } from '@angular/common';
|
|
2
|
-
import { ElementRef, EventEmitter, OnInit, QueryList,
|
|
2
|
+
import { ElementRef, EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
3
3
|
import { Table } from 'primeng/table';
|
|
4
4
|
import { TableConfig } from '../api/components/table/table.config';
|
|
5
5
|
import { TableConfigColumn } from '../api/components/table/table.config.column';
|
|
@@ -7,7 +7,6 @@ import { CodigoFipePipe } from '../pipes/codigofile.pipe';
|
|
|
7
7
|
import { CpfCnpjPipe } from '../pipes/cpfcnpj.pipe';
|
|
8
8
|
import { TelefonePipe } from '../pipes/telefone.pipe';
|
|
9
9
|
import { KvMenuItem } from '../api/components/table/kv-menuitem';
|
|
10
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
export declare class TableComponent implements OnInit {
|
|
13
12
|
private readonly datePipe;
|
|
@@ -15,9 +14,6 @@ export declare class TableComponent implements OnInit {
|
|
|
15
14
|
private readonly codigoFipePipe;
|
|
16
15
|
private readonly cpfCnpjPipe;
|
|
17
16
|
private readonly telefonePipe;
|
|
18
|
-
private renderer;
|
|
19
|
-
private elementRef;
|
|
20
|
-
private sanitizer;
|
|
21
17
|
config: TableConfig;
|
|
22
18
|
pesquisaValue: string;
|
|
23
19
|
globalFilterFields: string[];
|
|
@@ -58,10 +54,9 @@ export declare class TableComponent implements OnInit {
|
|
|
58
54
|
doubleClickEvent: EventEmitter<any>;
|
|
59
55
|
filterField: EventEmitter<any>;
|
|
60
56
|
filtrosAvancadosEmit: EventEmitter<boolean>;
|
|
61
|
-
widthScreenEmit: EventEmitter<any>;
|
|
62
57
|
menuFiltroDiv: ElementRef;
|
|
63
58
|
botaoFiltro: ElementRef;
|
|
64
|
-
constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, codigoFipePipe: CodigoFipePipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe
|
|
59
|
+
constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, codigoFipePipe: CodigoFipePipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe);
|
|
65
60
|
ngOnInit(): void;
|
|
66
61
|
onWindowResize(): void;
|
|
67
62
|
activeItem(rowData: any): void;
|
|
@@ -91,6 +86,7 @@ export declare class TableComponent implements OnInit {
|
|
|
91
86
|
returnClassChip(rowData: any, col: any): string;
|
|
92
87
|
returnClassIcon(rowData: any, col: any): string;
|
|
93
88
|
returnTooltipIcon(rowData: any, col: any): string;
|
|
89
|
+
returnTooltipRow(rowData: any, col: any): any;
|
|
94
90
|
deleteColumn(field: string): void;
|
|
95
91
|
addColumn(field: string): void;
|
|
96
92
|
dinamicColumnSet(e: any, col: any): void;
|
|
@@ -102,5 +98,5 @@ export declare class TableComponent implements OnInit {
|
|
|
102
98
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
103
99
|
filtrosAvancadosEvent(e: any): void;
|
|
104
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
105
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "kv-table", never, { "_templates": "templates"; "setConfig": "config"; "dataSource": "dataSource"; "selectedItems": "selectedItems"; "totalRecords": "totalRecords"; "paginator": "paginator"; "rowsPerPageOptions": "rowsPerPageOptions"; "rows": "rows"; "pageLinksOptions": "pageLinksOptions"; "showFirstLastIcon": "showFirstLastIcon"; "tableSize": "tableSize"; "applyStyle": "applyStyle"; "acoesLinhaTabela": "acoesLinhaTabela"; "filterColumnsBtn": "filterColumnsBtn"; "filtrosAvancados": "filtrosAvancados"; }, { "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; "filtrosAvancadosEmit": "filtrosAvancadosEmit";
|
|
101
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "kv-table", never, { "_templates": "templates"; "setConfig": "config"; "dataSource": "dataSource"; "selectedItems": "selectedItems"; "totalRecords": "totalRecords"; "paginator": "paginator"; "rowsPerPageOptions": "rowsPerPageOptions"; "rows": "rows"; "pageLinksOptions": "pageLinksOptions"; "showFirstLastIcon": "showFirstLastIcon"; "tableSize": "tableSize"; "applyStyle": "applyStyle"; "acoesLinhaTabela": "acoesLinhaTabela"; "filterColumnsBtn": "filterColumnsBtn"; "filtrosAvancados": "filtrosAvancados"; }, { "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; "filtrosAvancadosEmit": "filtrosAvancadosEmit"; }, ["templates"], ["*"], false, never>;
|
|
106
102
|
}
|