appproject-components 1.0.14 → 1.0.16

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.
@@ -4,7 +4,7 @@ import { BaseModel, HtmlRow } from 'appproject-lib';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class EntityEditComponent<T extends BaseModel> implements OnInit {
6
6
  private ngZone;
7
- entidade: T;
7
+ entidade: T | null;
8
8
  /**
9
9
  * Vai receber montado do base cadastro
10
10
  */
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { Observable } from 'rxjs';
4
4
  import { BaseInputComponent } from '../baseInputComponent';
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
6
6
  export declare class InputCepComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
7
7
  formato: string | null;
8
8
  keyEnter: Function | null;
9
- getResultados: Function | null;
9
+ getResultados: EventEmitter<any>;
10
10
  data: string | any;
11
11
  private onChange;
12
12
  private onTouch;
@@ -25,5 +25,5 @@ export declare class InputCepComponent extends BaseInputComponent implements OnI
25
25
  converteCaracteresEspeciais(nome: string): string;
26
26
  getEnderecoPeloCep(cep: any): Observable<any>;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<InputCepComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<InputCepComponent, "kb-input-cep", never, { "formato": { "alias": "formato"; "required": false; }; "keyEnter": { "alias": "keyEnter"; "required": false; }; "getResultados": { "alias": "getResultados"; "required": false; }; }, {}, never, never, false, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputCepComponent, "kb-input-cep", never, { "formato": { "alias": "formato"; "required": false; }; "keyEnter": { "alias": "keyEnter"; "required": false; }; }, { "getResultados": "getResultados"; }, never, never, false, never>;
29
29
  }
@@ -1,8 +1,9 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { EventEmitter, OnInit, Renderer2 } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { BaseInputComponent } from '../baseInputComponent';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class InputSelectComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
6
+ private renderer;
6
7
  selectChange: EventEmitter<any>;
7
8
  selectChangeEntity: EventEmitter<any>;
8
9
  itens: any[];
@@ -11,6 +12,7 @@ export declare class InputSelectComponent extends BaseInputComponent implements
11
12
  showNovo: boolean;
12
13
  itemNull: boolean;
13
14
  opcaoDefault: string;
15
+ itemSelect: any;
14
16
  data: string | any;
15
17
  private onChange;
16
18
  private onTouch;
@@ -20,10 +22,11 @@ export declare class InputSelectComponent extends BaseInputComponent implements
20
22
  registerOnChange(fn: any): void;
21
23
  registerOnTouched(fn: any): void;
22
24
  setDisabledState?(isDisabled: boolean): void;
23
- constructor();
25
+ constructor(renderer: Renderer2);
24
26
  ngOnInit(): void;
25
27
  onSelectChange(value: any): void;
26
28
  onBlur(): void;
29
+ onEnter(): void;
27
30
  static ɵfac: i0.ɵɵFactoryDeclaration<InputSelectComponent, never>;
28
31
  static ɵcmp: i0.ɵɵComponentDeclaration<InputSelectComponent, "kb-input-select", never, { "itens": { "alias": "itens"; "required": false; }; "itemId": { "alias": "itemId"; "required": false; }; "itemNome": { "alias": "itemNome"; "required": false; }; "showNovo": { "alias": "showNovo"; "required": false; }; "itemNull": { "alias": "itemNull"; "required": false; }; "opcaoDefault": { "alias": "opcaoDefault"; "required": false; }; }, { "selectChange": "selectChange"; "selectChangeEntity": "selectChangeEntity"; }, never, never, false, never>;
29
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appproject-components",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.7",
6
6
  "@angular/core": "^17.0.7",