keevo-components 1.8.338 → 1.8.340
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 +12 -14
- package/esm2022/lib/api/base-components/base-component-crud-list.mjs +9 -11
- package/esm2022/lib/api/base-components/base-component-crud.mjs +4 -4
- package/esm2022/lib/components/kv-login/kv-login.component.mjs +28 -14
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +11 -11
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +3 -3
- package/fesm2022/keevo-components.mjs +45 -32
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/api/base-components/base-component-crud-form.d.ts +10 -10
- package/lib/api/base-components/base-component-crud-list.d.ts +12 -12
- package/lib/api/base-components/base-component-crud.d.ts +2 -2
- package/lib/components/kv-login/kv-login.component.d.ts +1 -6
- package/lib/components/kv-table/kv-table.component.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ActivatedRoute, Router } from
|
|
2
|
-
import { OnDestroy, OnInit } from
|
|
3
|
-
import { DialogService, DynamicDialogConfig, DynamicDialogRef } from
|
|
4
|
-
import { FormGroup, ValidatorFn } from
|
|
5
|
-
import { Observable } from
|
|
6
|
-
import { ActionItem } from
|
|
7
|
-
import { BaseComponentCrud } from
|
|
8
|
-
import { NotificationService } from
|
|
1
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
|
+
import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
4
|
+
import { FormGroup, ValidatorFn } from '@angular/forms';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { ActionItem } from '../components/table/action-item';
|
|
7
|
+
import { BaseComponentCrud } from './base-component-crud';
|
|
8
|
+
import { NotificationService } from '../services/notification.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export interface DadosTela {
|
|
11
11
|
subTituloForm: string | undefined;
|
|
@@ -141,8 +141,8 @@ export declare abstract class BaseComponentCrudForm extends BaseComponentCrud im
|
|
|
141
141
|
*/
|
|
142
142
|
protected validateForm(): boolean;
|
|
143
143
|
/**
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
* Método que dispara a atualização da página inteira
|
|
145
|
+
*/
|
|
146
146
|
protected refresh(): void;
|
|
147
147
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentCrudForm, never>;
|
|
148
148
|
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentCrudForm, "ng-component", never, {}, {}, never, never, false, never>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { OnInit } from
|
|
2
|
-
import { DialogService } from
|
|
3
|
-
import { Router } from
|
|
4
|
-
import { BaseComponentCrud } from
|
|
5
|
-
import { TablePaginate } from
|
|
6
|
-
import { TableConfig } from
|
|
7
|
-
import { ActionItem } from
|
|
8
|
-
import { NotificationService } from
|
|
9
|
-
import { Observable } from
|
|
10
|
-
import { TreeTableConfig } from
|
|
11
|
-
import { KvTableComponent } from
|
|
12
|
-
import { KvTreetableComponent } from
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { BaseComponentCrud } from './base-component-crud';
|
|
5
|
+
import { TablePaginate } from '../components/table/table.paginate';
|
|
6
|
+
import { TableConfig } from '../components/table/table.config';
|
|
7
|
+
import { ActionItem } from '../components/table/action-item';
|
|
8
|
+
import { NotificationService } from '../services/notification.service';
|
|
9
|
+
import { Observable } from 'rxjs';
|
|
10
|
+
import { TreeTableConfig } from '../components/tree-table/tree-table.config';
|
|
11
|
+
import { KvTableComponent } from '../../components/kv-table/kv-table.component';
|
|
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
15
|
router: Router;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DialogService } from 'primeng/dynamicdialog';
|
|
2
|
-
import { Type } from
|
|
3
|
-
import { paramsDialog } from
|
|
2
|
+
import { Type } from '@angular/core';
|
|
3
|
+
import { paramsDialog } from '../services/form.service';
|
|
4
4
|
import { NotificationService } from '../services/notification.service';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -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;
|
|
@@ -110,7 +110,6 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
110
110
|
returnRowClass(rowData: any, col: TableConfigColumn): string;
|
|
111
111
|
expiredFile(rowData: any, col: TableConfigColumn): boolean;
|
|
112
112
|
transformValue(rowData: any, col: TableConfigColumn): any;
|
|
113
|
-
transformDate(date: any): string | null;
|
|
114
113
|
transformCapitalize(value: string): string;
|
|
115
114
|
formatarValor(valor: number): string;
|
|
116
115
|
adjustTableSize(): void;
|