keevo-components 1.8.337 → 1.8.339
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/api/base-components/base-component-crud-form.mjs +9 -7
- package/esm2022/lib/api/base-components/base-component-crud-list.mjs +5 -4
- package/esm2022/lib/api/base-components/base-component-crud.mjs +6 -4
- package/esm2022/lib/components/kv-login/kv-login.component.mjs +28 -14
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +10 -7
- package/esm2022/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.mjs +1 -1
- package/esm2022/lib/components/kv-workspace/master/kv-workspace-master.component.mjs +1 -1
- package/fesm2022/keevo-components.mjs +47 -28
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/api/base-components/base-component-crud-form.d.ts +5 -5
- package/lib/api/base-components/base-component-crud-list.d.ts +2 -2
- package/lib/api/base-components/base-component-crud.d.ts +3 -3
- package/lib/components/kv-login/kv-login.component.d.ts +1 -6
- package/lib/components/kv-table/kv-table.component.d.ts +5 -3
- package/package.json +1 -1
|
@@ -14,10 +14,6 @@ export interface DadosTela {
|
|
|
14
14
|
mensagemValidacao: boolean;
|
|
15
15
|
}
|
|
16
16
|
export declare abstract class BaseComponentCrudForm extends BaseComponentCrud implements OnInit, OnDestroy {
|
|
17
|
-
protected activatedRoute: ActivatedRoute;
|
|
18
|
-
protected dynamicDialogRef: DynamicDialogRef;
|
|
19
|
-
protected dynamicDialogConfig: DynamicDialogConfig;
|
|
20
|
-
protected router: Router;
|
|
21
17
|
protected isAccordionExpanded: boolean;
|
|
22
18
|
protected isNewRegistry: boolean;
|
|
23
19
|
protected isSaveLoading: boolean;
|
|
@@ -28,7 +24,11 @@ export declare abstract class BaseComponentCrudForm extends BaseComponentCrud im
|
|
|
28
24
|
protected popup: boolean;
|
|
29
25
|
protected registry: any;
|
|
30
26
|
private onSetFormValues;
|
|
31
|
-
|
|
27
|
+
protected router: Router;
|
|
28
|
+
protected activatedRoute: ActivatedRoute;
|
|
29
|
+
protected dynamicDialogRef: DynamicDialogRef;
|
|
30
|
+
protected dynamicDialogConfig: DynamicDialogConfig;
|
|
31
|
+
constructor(dialogService?: DialogService, notificationService?: NotificationService, activatedRoute?: ActivatedRoute, dynamicDialogRef?: DynamicDialogRef, dynamicDialogConfig?: DynamicDialogConfig, router?: Router);
|
|
32
32
|
/**
|
|
33
33
|
* Método disparado para configuração do form
|
|
34
34
|
*/
|
|
@@ -12,7 +12,6 @@ import { KvTableComponent } from "../../components/kv-table/kv-table.component";
|
|
|
12
12
|
import { KvTreetableComponent } from "../../components/kv-tree-table/kv-tree-table.component";
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export declare abstract class BaseComponentCrudList extends BaseComponentCrud implements OnInit {
|
|
15
|
-
router: Router;
|
|
16
15
|
dataSource: any;
|
|
17
16
|
selectedItem: any;
|
|
18
17
|
tableConfig: TableConfig | TreeTableConfig;
|
|
@@ -20,7 +19,8 @@ export declare abstract class BaseComponentCrudList extends BaseComponentCrud im
|
|
|
20
19
|
actionsPageList: ActionItem[];
|
|
21
20
|
table: KvTableComponent;
|
|
22
21
|
treetable: KvTreetableComponent;
|
|
23
|
-
|
|
22
|
+
protected router: Router;
|
|
23
|
+
constructor(dialogService?: DialogService, notificationService?: NotificationService, router?: Router);
|
|
24
24
|
ngOnInit(): void;
|
|
25
25
|
/**
|
|
26
26
|
* Método disparado para configuração das tabelas do componente de lista
|
|
@@ -5,11 +5,11 @@ import { NotificationService } from '../services/notification.service';
|
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare abstract class BaseComponentCrud {
|
|
8
|
-
dialogService: DialogService;
|
|
9
|
-
notificationService: NotificationService;
|
|
10
8
|
isReport: boolean;
|
|
11
9
|
itemsReport: any;
|
|
12
|
-
|
|
10
|
+
protected dialogService: DialogService;
|
|
11
|
+
protected notificationService: NotificationService;
|
|
12
|
+
constructor(dialogService?: DialogService, notificationService?: NotificationService);
|
|
13
13
|
/**
|
|
14
14
|
* Fecha um relatório
|
|
15
15
|
*/
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
1
|
import { EventEmitter } from '@angular/core';
|
|
3
|
-
import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
4
|
-
import { FormBuilder } from '@angular/forms';
|
|
5
2
|
import { BaseComponentCrudForm } from '../../api/base-components/base-component-crud-form';
|
|
6
|
-
import { NotificationService } from '../../api/services/notification.service';
|
|
7
3
|
import * as i0 from "@angular/core";
|
|
8
4
|
/**
|
|
9
5
|
* Componente de login personalizado.
|
|
10
6
|
* Este componente permite que os usuários façam login no sistema utilizando o estilo padrão dos sistemas Keevo.
|
|
11
7
|
*/
|
|
12
8
|
export declare class KvLoginComponent extends BaseComponentCrudForm {
|
|
13
|
-
private formBuilder;
|
|
14
9
|
/** URL da imagem de fundo do componente. */
|
|
15
10
|
Background: any;
|
|
16
11
|
/** URL do logo do sistema. */
|
|
@@ -21,7 +16,7 @@ export declare class KvLoginComponent extends BaseComponentCrudForm {
|
|
|
21
16
|
SystemColorSecondary: string;
|
|
22
17
|
/** Evento emitido quando o usuário faz login. */
|
|
23
18
|
onLogin: EventEmitter<any>;
|
|
24
|
-
|
|
19
|
+
private formBuilder;
|
|
25
20
|
configureForm(): void;
|
|
26
21
|
loadForm(id: any): void;
|
|
27
22
|
save(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DatePipe, DecimalPipe } from '@angular/common';
|
|
2
2
|
import { AfterViewInit, DoCheck, ElementRef, EventEmitter, OnInit, QueryList, Renderer2, TemplateRef } from '@angular/core';
|
|
3
3
|
import { MenuItem } from 'primeng/api';
|
|
4
|
-
import { Table } from 'primeng/table';
|
|
4
|
+
import { Table, TablePageEvent } from 'primeng/table';
|
|
5
5
|
import { CpfCnpjPipe } from '../../api/pipes/cpfcnpj.pipe';
|
|
6
6
|
import { ValueOrFn } from '../../api/components/table/kv-menuitem';
|
|
7
7
|
import { TableConfig } from '../../api/components/table/table.config';
|
|
@@ -41,13 +41,14 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
41
41
|
deletedColumnsIndex: any[];
|
|
42
42
|
ptable: Table;
|
|
43
43
|
set setConfig(value: TableConfig);
|
|
44
|
+
first: import("@angular/core").ModelSignal<number>;
|
|
45
|
+
rows: import("@angular/core").ModelSignal<number>;
|
|
44
46
|
defaultSortField: string;
|
|
45
47
|
dataSource: any[];
|
|
46
48
|
selectedItems: any[];
|
|
47
49
|
totalRecords: number;
|
|
48
50
|
paginator: boolean;
|
|
49
51
|
rowsPerPageOptions: number[];
|
|
50
|
-
rows: number;
|
|
51
52
|
tableSize: number;
|
|
52
53
|
filterColumnsBtn: boolean;
|
|
53
54
|
replaceEmptyValues: boolean;
|
|
@@ -93,6 +94,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
93
94
|
getOrExecute<T>(action: ValueOrFn<T>, data: any): T;
|
|
94
95
|
isBooleanField(rowData: any, col: TableConfigColumn): boolean;
|
|
95
96
|
isChipField(col: TableConfigColumn): boolean;
|
|
97
|
+
protected onPage(event: TablePageEvent): void;
|
|
96
98
|
isImageField(col: TableConfigColumn): boolean;
|
|
97
99
|
isSwitchField(col: TableConfigColumn): boolean;
|
|
98
100
|
isRowSelectable(event: any): boolean;
|
|
@@ -136,5 +138,5 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
136
138
|
createTableActions(): void;
|
|
137
139
|
onSort(e: any): void;
|
|
138
140
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvTableComponent, never>;
|
|
139
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvTableComponent, "kv-table", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "
|
|
141
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvTableComponent, "kv-table", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "first": { "alias": "first"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "defaultSortField": { "alias": "defaultSortField"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "filterColumnsBtn": { "alias": "filterColumnsBtn"; "required": false; }; "replaceEmptyValues": { "alias": "replaceEmptyValues"; "required": false; }; "filtrosAvancados": { "alias": "filtrosAvancados"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "isTableScrollable": { "alias": "isTableScrollable"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "disabledHeaderCheckbox": { "alias": "disabledHeaderCheckbox"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; }, { "first": "firstChange"; "rows": "rowsChange"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; "onSwitchTableChange": "onSwitchTableChange"; }, ["templates"], ["*"], false, never>;
|
|
140
142
|
}
|