keevo-components 1.5.148 → 1.5.150
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/editor/editor.component.mjs +70 -0
- package/esm2020/lib/inputs/input-number/input-number.component.mjs +5 -3
- package/esm2020/lib/inputs/kvinputs.module.mjs +10 -5
- package/esm2020/lib/keevo-components.module.mjs +14 -7
- package/esm2020/lib/menu/menu.component.mjs +7 -15
- package/esm2020/lib/page-form/kv-page-form.module.mjs +28 -0
- package/esm2020/lib/page-form/page-form.component.mjs +14 -0
- package/esm2020/lib/table/table.component.mjs +9 -3
- package/esm2020/lib/tree-table/kv-treetable.component.mjs +13 -3
- package/esm2020/public-api.mjs +7 -1
- package/fesm2015/keevo-components.mjs +151 -34
- package/fesm2015/keevo-components.mjs.map +1 -1
- package/fesm2020/keevo-components.mjs +151 -34
- package/fesm2020/keevo-components.mjs.map +1 -1
- package/lib/inputs/editor/editor.component.d.ts +39 -0
- package/lib/inputs/input-number/input-number.component.d.ts +2 -1
- package/lib/inputs/kvinputs.module.d.ts +7 -6
- package/lib/keevo-components.module.d.ts +2 -1
- package/lib/menu/menu.component.d.ts +1 -5
- package/lib/page-form/kv-page-form.module.d.ts +9 -0
- package/lib/page-form/page-form.component.d.ts +8 -0
- package/lib/table/table.component.d.ts +3 -1
- package/lib/tree-table/kv-treetable.component.d.ts +3 -1
- package/package.json +4 -2
- package/public-api.d.ts +6 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { BaseComponentInput } from '../../api/base-components/base-component-input';
|
|
3
|
+
import { ComponentService } from '../../api/services/component.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class EditorComponent extends BaseComponentInput<string> {
|
|
6
|
+
constructor(componentService: ComponentService);
|
|
7
|
+
/**
|
|
8
|
+
* @type {boolean}
|
|
9
|
+
* @description
|
|
10
|
+
* Esse item define se o editor e somente para leitura
|
|
11
|
+
*/
|
|
12
|
+
readonly: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* @type {boolean}
|
|
15
|
+
* @description
|
|
16
|
+
* Esse item define o tamanho do canva
|
|
17
|
+
*/
|
|
18
|
+
canvaHeigth: string;
|
|
19
|
+
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
|
+
/**
|
|
28
|
+
* @description Executado a cada iteração
|
|
29
|
+
*/
|
|
30
|
+
onTextChange: EventEmitter<any>;
|
|
31
|
+
/**
|
|
32
|
+
* @description Executado a cada seleção
|
|
33
|
+
*/
|
|
34
|
+
onSelectionChange: EventEmitter<any>;
|
|
35
|
+
textChange($event: any): void;
|
|
36
|
+
selectionChange($event: any): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "kv-editor", never, { "readonly": "readonly"; "canvaHeigth": "canvaHeigth"; "debug": "debug"; "modules": "modules"; "tollbartemplate": "tollbartemplate"; }, { "onTextChange": "onTextChange"; "onSelectionChange": "onSelectionChange"; }, never, never, false, never>;
|
|
39
|
+
}
|
|
@@ -8,11 +8,12 @@ export declare class InputNumberComponent extends BaseComponentInput<string> imp
|
|
|
8
8
|
digits: number;
|
|
9
9
|
min: number;
|
|
10
10
|
max: number;
|
|
11
|
+
suffix: string;
|
|
11
12
|
inputNumber: InputNumber;
|
|
12
13
|
constructor(componentService: ComponentService);
|
|
13
14
|
ngOnInit(): void;
|
|
14
15
|
private configDecimal;
|
|
15
16
|
private configCurrency;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputNumberComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputNumberComponent, "kv-input-number", never, { "mode": "mode"; "digits": "digits"; "min": "min"; "max": "max"; }, {}, never, ["*"], false, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputNumberComponent, "kv-input-number", never, { "mode": "mode"; "digits": "digits"; "min": "min"; "max": "max"; "suffix": "suffix"; }, {}, never, ["*"], false, never>;
|
|
18
19
|
}
|
|
@@ -12,13 +12,14 @@ import * as i10 from "./multi-select/multi-select.component";
|
|
|
12
12
|
import * as i11 from "./switch/switch.component";
|
|
13
13
|
import * as i12 from "./radio-group/radio-group.component";
|
|
14
14
|
import * as i13 from "./input-text-checkbox/input-text-checkbox.component";
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "@angular/
|
|
17
|
-
import * as i16 from "
|
|
18
|
-
import * as i17 from "../api/
|
|
19
|
-
import * as i18 from "../
|
|
15
|
+
import * as i14 from "./editor/editor.component";
|
|
16
|
+
import * as i15 from "@angular/common";
|
|
17
|
+
import * as i16 from "@angular/forms";
|
|
18
|
+
import * as i17 from "../api/components/error/kverror.module";
|
|
19
|
+
import * as i18 from "../api/modules/primeng.module";
|
|
20
|
+
import * as i19 from "../label/label.module";
|
|
20
21
|
export declare class KvInputsModule {
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvInputsModule, never>;
|
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KvInputsModule, [typeof i1.CheckComponent, typeof i2.DropdownComponent, typeof i3.InputCalendarComponent, typeof i4.InputMaskComponent, typeof i5.InputNumberComponent, typeof i6.InputPasswordComponent, typeof i7.InputTextComponent, typeof i8.InputTextareaComponent, typeof i9.InputTimeComponent, typeof i10.MultiSelectComponent, typeof i11.SwitchComponent, typeof i12.RadioGroupComponent, typeof i13.InputTextCheckboxComponent], [typeof
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvInputsModule, [typeof i1.CheckComponent, typeof i2.DropdownComponent, typeof i3.InputCalendarComponent, typeof i4.InputMaskComponent, typeof i5.InputNumberComponent, typeof i6.InputPasswordComponent, typeof i7.InputTextComponent, typeof i8.InputTextareaComponent, typeof i9.InputTimeComponent, typeof i10.MultiSelectComponent, typeof i11.SwitchComponent, typeof i12.RadioGroupComponent, typeof i13.InputTextCheckboxComponent, typeof i14.EditorComponent], [typeof i15.CommonModule, typeof i16.FormsModule, typeof i17.kvErrorModule, typeof i18.PrimeNgModule, typeof i16.ReactiveFormsModule, typeof i19.LabelModule], [typeof i1.CheckComponent, typeof i2.DropdownComponent, typeof i3.InputCalendarComponent, typeof i4.InputMaskComponent, typeof i5.InputNumberComponent, typeof i6.InputPasswordComponent, typeof i7.InputTextComponent, typeof i8.InputTextareaComponent, typeof i9.InputTimeComponent, typeof i10.MultiSelectComponent, typeof i11.SwitchComponent, typeof i12.RadioGroupComponent, typeof i13.InputTextCheckboxComponent, typeof i14.EditorComponent]>;
|
|
23
24
|
static ɵinj: i0.ɵɵInjectorDeclaration<KvInputsModule>;
|
|
24
25
|
}
|
|
@@ -10,8 +10,9 @@ import * as i8 from "./tree-table/kv-treetable.module";
|
|
|
10
10
|
import * as i9 from "./workspace/kvworkspace.module";
|
|
11
11
|
import * as i10 from "./orgchart/orgchart.module";
|
|
12
12
|
import * as i11 from "./login/kvlogin.module";
|
|
13
|
+
import * as i12 from "./page-form/kv-page-form.module";
|
|
13
14
|
export declare class KeevoComponentsModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<KeevoComponentsModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvInputsModule, typeof i2.KvButtonsModule, typeof i3.KvTableModule, typeof i4.KvtreeViewModule, typeof i5.KvChartModule, typeof i6.KvMenuModule, typeof i7.KvPickListModule, typeof i8.KVTreeTableModule, typeof i9.KvWorkspaceModule, typeof i10.OrgchartModule, typeof i11.KvLoginModule], [typeof i1.KvInputsModule, typeof i2.KvButtonsModule, typeof i3.KvTableModule, typeof i4.KvtreeViewModule, typeof i5.KvChartModule, typeof i6.KvMenuModule, typeof i7.KvPickListModule, typeof i8.KVTreeTableModule, typeof i9.KvWorkspaceModule, typeof i10.OrgchartModule, typeof i11.KvLoginModule]>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvInputsModule, typeof i2.KvButtonsModule, typeof i3.KvTableModule, typeof i4.KvtreeViewModule, typeof i5.KvChartModule, typeof i6.KvMenuModule, typeof i7.KvPickListModule, typeof i8.KVTreeTableModule, typeof i9.KvWorkspaceModule, typeof i10.OrgchartModule, typeof i11.KvLoginModule, typeof i12.KvPageFormModule], [typeof i1.KvInputsModule, typeof i2.KvButtonsModule, typeof i3.KvTableModule, typeof i4.KvtreeViewModule, typeof i5.KvChartModule, typeof i6.KvMenuModule, typeof i7.KvPickListModule, typeof i8.KVTreeTableModule, typeof i9.KvWorkspaceModule, typeof i10.OrgchartModule, typeof i11.KvLoginModule, typeof i12.KvPageFormModule]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<KeevoComponentsModule>;
|
|
17
18
|
}
|
|
@@ -5,7 +5,6 @@ import { menuModel } from '../api/models/menu/menu.model';
|
|
|
5
5
|
import { masterModel } from '../api/models/menu/master.model';
|
|
6
6
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
7
7
|
import { OverlayPanel } from 'primeng/overlaypanel';
|
|
8
|
-
import { SimpleChanges } from '@angular/core';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class MenuComponent implements OnInit {
|
|
11
10
|
private cdr;
|
|
@@ -17,7 +16,6 @@ export declare class MenuComponent implements OnInit {
|
|
|
17
16
|
logoImage: any;
|
|
18
17
|
nomeUsuario: string;
|
|
19
18
|
breadCrumbs: boolean;
|
|
20
|
-
rotaAtual: any;
|
|
21
19
|
licencaChange: EventEmitter<any>;
|
|
22
20
|
gerenciarKeePassEvent: EventEmitter<any>;
|
|
23
21
|
sairEvent: EventEmitter<any>;
|
|
@@ -49,8 +47,6 @@ export declare class MenuComponent implements OnInit {
|
|
|
49
47
|
constructor(cdr: ChangeDetectorRef, router: Router, route: ActivatedRoute);
|
|
50
48
|
ngOnInit(): void;
|
|
51
49
|
configurarLicencas(): void;
|
|
52
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
53
|
-
configurarBreadCrumbs(): void;
|
|
54
50
|
private getBreadcrumbs;
|
|
55
51
|
closeCallback(e: Event): void;
|
|
56
52
|
MascaraNomeLicenca(nomeLicenca: any): string;
|
|
@@ -66,5 +62,5 @@ export declare class MenuComponent implements OnInit {
|
|
|
66
62
|
ajustarHeigthCard(): number;
|
|
67
63
|
verificarPaginaSelecionada(link: any): string;
|
|
68
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "kv-menu", never, { "menuCompleto": "menuCompleto"; "licencas": "licencas"; "licencaSelecionada": "licencaSelecionada"; "logoImage": "logoImage"; "nomeUsuario": "nomeUsuario"; "breadCrumbs": "breadCrumbs";
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "kv-menu", never, { "menuCompleto": "menuCompleto"; "licencas": "licencas"; "licencaSelecionada": "licencaSelecionada"; "logoImage": "logoImage"; "nomeUsuario": "nomeUsuario"; "breadCrumbs": "breadCrumbs"; }, { "licencaChange": "licencaChange"; "gerenciarKeePassEvent": "gerenciarKeePassEvent"; "sairEvent": "sairEvent"; "expandMenuEmit": "expandMenuEmit"; }, never, ["*"], false, never>;
|
|
70
66
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./page-form.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../api/modules/primeng.module";
|
|
5
|
+
export declare class KvPageFormModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvPageFormModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvPageFormModule, [typeof i1.PageFormComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule], [typeof i1.PageFormComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvPageFormModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PageFormComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageFormComponent, "kv-page-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -42,6 +42,8 @@ export declare class TableComponent implements OnInit {
|
|
|
42
42
|
paginator: boolean;
|
|
43
43
|
rowsPerPageOptions: number[];
|
|
44
44
|
rows: number;
|
|
45
|
+
pageLinksOptions: number;
|
|
46
|
+
showFirstLastIcon: boolean;
|
|
45
47
|
tableSize: number;
|
|
46
48
|
applyStyle: Function;
|
|
47
49
|
acoesLinhaTabela: boolean;
|
|
@@ -99,5 +101,5 @@ export declare class TableComponent implements OnInit {
|
|
|
99
101
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
100
102
|
styleSetter(style: string, data: string): void;
|
|
101
103
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "kv-table", never, { "_templates": "templates"; "setConfig": "config"; "dataSource": "dataSource"; "selectedItems": "selectedItems"; "totalRecords": "totalRecords"; "paginator": "paginator"; "rowsPerPageOptions": "rowsPerPageOptions"; "rows": "rows"; "tableSize": "tableSize"; "applyStyle": "applyStyle"; "acoesLinhaTabela": "acoesLinhaTabela"; "filterColumnsBtn": "filterColumnsBtn"; }, { "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; }, ["templates"], never, false, never>;
|
|
104
|
+
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"; }, { "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; }, ["templates"], never, false, never>;
|
|
103
105
|
}
|
|
@@ -32,6 +32,7 @@ export declare class TreeTableComponent implements OnInit {
|
|
|
32
32
|
onPaginate: EventEmitter<any>;
|
|
33
33
|
onActiveItem: EventEmitter<any>;
|
|
34
34
|
onActiveItemLote: EventEmitter<any>;
|
|
35
|
+
doubleClickEvent: EventEmitter<any>;
|
|
35
36
|
nodeContext: {
|
|
36
37
|
$implicit: string;
|
|
37
38
|
rowNode: string;
|
|
@@ -64,6 +65,7 @@ export declare class TreeTableComponent implements OnInit {
|
|
|
64
65
|
expandAll(): void;
|
|
65
66
|
collapseAll(): void;
|
|
66
67
|
private expandCollapseRecursive;
|
|
68
|
+
doubleClick(e: any, rowData: any, rowNode: any): void;
|
|
67
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<TreeTableComponent, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableComponent, "kv-treetable", never, { "config": "config"; "dataSource": "dataSource"; "selectedItems": "selectedItems"; "acoesLinhaTabela": "acoesLinhaTabela"; "espacamentoPai": "espacamentoPai"; "espacamentoLateral": "espacamentoLateral"; "tamanhoTotalTree": "tamanhoTotalTree"; "rowsPerPageOptions": "rowsPerPageOptions"; "rows": "rows"; "tableSize": "tableSize"; "paginator": "paginator"; "rightCollapse": "rightCollapse"; "applyStyle": "applyStyle"; "_templates": "templates"; "colorButtonToggleNodes": "colorButtonToggleNodes"; }, { "onFilter": "onFilter"; "onPaginate": "onPaginate"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; }, ["templates"], never, false, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableComponent, "kv-treetable", never, { "config": "config"; "dataSource": "dataSource"; "selectedItems": "selectedItems"; "acoesLinhaTabela": "acoesLinhaTabela"; "espacamentoPai": "espacamentoPai"; "espacamentoLateral": "espacamentoLateral"; "tamanhoTotalTree": "tamanhoTotalTree"; "rowsPerPageOptions": "rowsPerPageOptions"; "rows": "rows"; "tableSize": "tableSize"; "paginator": "paginator"; "rightCollapse": "rightCollapse"; "applyStyle": "applyStyle"; "_templates": "templates"; "colorButtonToggleNodes": "colorButtonToggleNodes"; }, { "onFilter": "onFilter"; "onPaginate": "onPaginate"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "doubleClickEvent": "doubleClickEvent"; }, ["templates"], never, false, never>;
|
|
69
71
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keevo-components",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.150",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^15.2.0",
|
|
6
6
|
"@angular/core": "^15.2.0",
|
|
7
7
|
"@types/d3": "^7.4.3",
|
|
8
8
|
"@types/d3-org-chart": "^3.1.2",
|
|
9
|
+
"d3-org-chart": "^3.1.1",
|
|
9
10
|
"d3": "^7.8.5",
|
|
10
|
-
"
|
|
11
|
+
"@types/quill": "^2.0.14",
|
|
12
|
+
"quill": "^1.3.7"
|
|
11
13
|
},
|
|
12
14
|
"dependencies": {
|
|
13
15
|
"tslib": "^2.3.0"
|
package/public-api.d.ts
CHANGED
|
@@ -72,6 +72,7 @@ export * from './lib/inputs/kvinputs.module';
|
|
|
72
72
|
export * from './lib/inputs/multi-select/multi-select.component';
|
|
73
73
|
export * from './lib/inputs/radio-group/radio-group.component';
|
|
74
74
|
export * from './lib/inputs/switch/switch.component';
|
|
75
|
+
export * from './lib/inputs/editor/editor.component';
|
|
75
76
|
export * from './lib/api/components/dropdown/filtro.combo';
|
|
76
77
|
/**
|
|
77
78
|
* Orgchart
|
|
@@ -118,3 +119,8 @@ export * from './lib/login/login.component';
|
|
|
118
119
|
*/
|
|
119
120
|
export * from './lib/workspace/kvworkspace.module';
|
|
120
121
|
export * from './lib/workspace/workspace.component';
|
|
122
|
+
/**
|
|
123
|
+
* Formulário base
|
|
124
|
+
*/
|
|
125
|
+
export * from './lib/page-form/page-form.component';
|
|
126
|
+
export * from './lib/page-form/kv-page-form.module';
|