keevo-components 1.8.339 → 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.
@@ -1,11 +1,11 @@
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";
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;
@@ -14,6 +14,10 @@ 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;
17
21
  protected isAccordionExpanded: boolean;
18
22
  protected isNewRegistry: boolean;
19
23
  protected isSaveLoading: boolean;
@@ -24,11 +28,7 @@ export declare abstract class BaseComponentCrudForm extends BaseComponentCrud im
24
28
  protected popup: boolean;
25
29
  protected registry: any;
26
30
  private onSetFormValues;
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);
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
  */
@@ -141,8 +141,8 @@ export declare abstract class BaseComponentCrudForm extends BaseComponentCrud im
141
141
  */
142
142
  protected validateForm(): boolean;
143
143
  /**
144
- * Método que dispara a atualização da página inteira
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,17 +1,18 @@
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";
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
+ router: Router;
15
16
  dataSource: any;
16
17
  selectedItem: any;
17
18
  tableConfig: TableConfig | TreeTableConfig;
@@ -19,8 +20,7 @@ export declare abstract class BaseComponentCrudList extends BaseComponentCrud im
19
20
  actionsPageList: ActionItem[];
20
21
  table: KvTableComponent;
21
22
  treetable: KvTreetableComponent;
22
- protected router: Router;
23
- constructor(dialogService?: DialogService, notificationService?: NotificationService, 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
@@ -1,15 +1,15 @@
1
1
  import { DialogService } from 'primeng/dynamicdialog';
2
- import { Type } from "@angular/core";
3
- import { paramsDialog } from "../services/form.service";
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";
7
7
  export declare abstract class BaseComponentCrud {
8
+ dialogService: DialogService;
9
+ notificationService: NotificationService;
8
10
  isReport: boolean;
9
11
  itemsReport: any;
10
- protected dialogService: DialogService;
11
- protected notificationService: NotificationService;
12
- constructor(dialogService?: DialogService, notificationService?: NotificationService);
12
+ constructor(dialogService: DialogService, notificationService: NotificationService);
13
13
  /**
14
14
  * Fecha um relatório
15
15
  */
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.339",
3
+ "version": "1.8.340",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",