keevo-components 1.8.338 → 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.
@@ -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
- constructor(dialogService: DialogService, notificationService: NotificationService, activatedRoute: ActivatedRoute, dynamicDialogRef: DynamicDialogRef, dynamicDialogConfig: DynamicDialogConfig, router: Router);
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
- constructor(dialogService: DialogService, notificationService: NotificationService, router: Router);
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
- constructor(dialogService: DialogService, notificationService: NotificationService);
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
- constructor(dialogService: DialogService, notificationService: NotificationService, activatedRoute: ActivatedRoute, dynamicDialogRef: DynamicDialogRef, dynamicDialogConfig: DynamicDialogConfig, router: Router, formBuilder: FormBuilder);
19
+ private formBuilder;
25
20
  configureForm(): void;
26
21
  loadForm(id: any): void;
27
22
  save(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.338",
3
+ "version": "1.8.339",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",