appproject-components 0.0.31 → 1.0.0

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.
Files changed (46) hide show
  1. package/{esm2020 → esm2022}/appproject-components.mjs +4 -4
  2. package/{esm2020 → esm2022}/lib/appproject-components.component.mjs +15 -15
  3. package/{esm2020 → esm2022}/lib/appproject-components.module.mjs +96 -96
  4. package/{esm2020 → esm2022}/lib/appproject-components.service.mjs +14 -14
  5. package/esm2022/lib/baseInputComponent.mjs +66 -0
  6. package/esm2022/lib/input-area/input-area.component.mjs +53 -0
  7. package/esm2022/lib/input-arquivo/input-arquivo.component.mjs +115 -0
  8. package/esm2022/lib/input-cep/input-cep.component.mjs +180 -0
  9. package/esm2022/lib/input-format/input-format.component.mjs +138 -0
  10. package/esm2022/lib/input-pesquisa/input-pesquisa.component.mjs +548 -0
  11. package/esm2022/lib/input-select/input-select.component.mjs +88 -0
  12. package/esm2022/lib/input-text/input-text.component.mjs +76 -0
  13. package/esm2022/lib/input-valor/input-valor.component.mjs +158 -0
  14. package/{esm2020 → esm2022}/lib/model-treeview/model-treeview.component.mjs +14 -14
  15. package/{esm2020 → esm2022}/public-api.mjs +18 -18
  16. package/fesm2022/appproject-components.mjs +1511 -0
  17. package/fesm2022/appproject-components.mjs.map +1 -0
  18. package/index.d.ts +5 -5
  19. package/lib/appproject-components.component.d.ts +8 -8
  20. package/lib/appproject-components.module.d.ts +26 -26
  21. package/lib/appproject-components.service.d.ts +6 -6
  22. package/lib/baseInputComponent.d.ts +27 -27
  23. package/lib/input-area/input-area.component.d.ts +21 -21
  24. package/lib/input-arquivo/input-arquivo.component.d.ts +34 -34
  25. package/lib/input-cep/input-cep.component.d.ts +29 -29
  26. package/lib/input-format/input-format.component.d.ts +27 -25
  27. package/lib/input-pesquisa/input-pesquisa.component.d.ts +68 -68
  28. package/lib/input-select/input-select.component.d.ts +29 -28
  29. package/lib/input-text/input-text.component.d.ts +29 -25
  30. package/lib/input-valor/input-valor.component.d.ts +28 -25
  31. package/lib/model-treeview/model-treeview.component.d.ts +8 -8
  32. package/package.json +8 -14
  33. package/public-api.d.ts +13 -13
  34. package/esm2020/lib/baseInputComponent.mjs +0 -65
  35. package/esm2020/lib/input-area/input-area.component.mjs +0 -53
  36. package/esm2020/lib/input-arquivo/input-arquivo.component.mjs +0 -114
  37. package/esm2020/lib/input-cep/input-cep.component.mjs +0 -180
  38. package/esm2020/lib/input-format/input-format.component.mjs +0 -129
  39. package/esm2020/lib/input-pesquisa/input-pesquisa.component.mjs +0 -540
  40. package/esm2020/lib/input-select/input-select.component.mjs +0 -80
  41. package/esm2020/lib/input-text/input-text.component.mjs +0 -65
  42. package/esm2020/lib/input-valor/input-valor.component.mjs +0 -125
  43. package/fesm2015/appproject-components.mjs +0 -1456
  44. package/fesm2015/appproject-components.mjs.map +0 -1
  45. package/fesm2020/appproject-components.mjs +0 -1441
  46. package/fesm2020/appproject-components.mjs.map +0 -1
@@ -1,29 +1,29 @@
1
- import { OnInit } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { Observable } from 'rxjs';
4
- import { BaseInputComponent } from '../baseInputComponent';
5
- import * as i0 from "@angular/core";
6
- export declare class InputCepComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
7
- formato: string | null;
8
- keyEnter: Function | null;
9
- getResultados: Function | null;
10
- data: string | any;
11
- private onChange;
12
- private onTouch;
13
- private disabled;
14
- constructor();
15
- writeValue(value: string | any): void;
16
- registerOnChange(fn: any): void;
17
- registerOnTouched(fn: any): void;
18
- setDisabledState?(isDisabled: boolean): void;
19
- ngOnInit(): void;
20
- digitarFormatado(event: any): boolean;
21
- onKeyEnter(): void;
22
- onBlur(): void;
23
- formataCampoValor(valor: string, Mascara: string, evento: any): string;
24
- pesquisarClick(): void;
25
- converteCaracteresEspeciais(nome: string): string;
26
- getEnderecoPeloCep(cep: any): Observable<any>;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<InputCepComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<InputCepComponent, "kb-input-cep", never, { "formato": "formato"; "keyEnter": "keyEnter"; "getResultados": "getResultados"; }, {}, never, never, false, never>;
29
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { Observable } from 'rxjs';
4
+ import { BaseInputComponent } from '../baseInputComponent';
5
+ import * as i0 from "@angular/core";
6
+ export declare class InputCepComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
7
+ formato: string | null;
8
+ keyEnter: Function | null;
9
+ getResultados: Function | null;
10
+ data: string | any;
11
+ private onChange;
12
+ private onTouch;
13
+ private disabled;
14
+ constructor();
15
+ writeValue(value: string | any): void;
16
+ registerOnChange(fn: any): void;
17
+ registerOnTouched(fn: any): void;
18
+ setDisabledState?(isDisabled: boolean): void;
19
+ ngOnInit(): void;
20
+ digitarFormatado(event: any): boolean;
21
+ onKeyEnter(): void;
22
+ onBlur(): void;
23
+ formataCampoValor(valor: string, Mascara: string, evento: any): string;
24
+ pesquisarClick(): void;
25
+ converteCaracteresEspeciais(nome: string): string;
26
+ getEnderecoPeloCep(cep: any): Observable<any>;
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>;
29
+ }
@@ -1,25 +1,27 @@
1
- import { OnInit } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { BaseInputComponent } from '../baseInputComponent';
4
- import * as i0 from "@angular/core";
5
- export declare class InputFormatComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
6
- formato: string | null;
7
- keyEnter: Function | null;
8
- data: string | any;
9
- private onChange;
10
- private onTouch;
11
- private disabled;
12
- console: Console;
13
- writeValue(value: string | any): void;
14
- registerOnChange(fn: any): void;
15
- registerOnTouched(fn: any): void;
16
- setDisabledState?(isDisabled: boolean): void;
17
- constructor();
18
- ngOnInit(): void;
19
- digitarFormatado(event: any): boolean;
20
- onKeyEnter(): void;
21
- onBlur(): void;
22
- formataCampoValor(valor: string, Mascara: string, evento: any): string;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<InputFormatComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<InputFormatComponent, "kb-input-format", never, { "formato": "formato"; "keyEnter": "keyEnter"; }, {}, never, never, false, never>;
25
- }
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { BaseInputComponent } from '../baseInputComponent';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InputFormatComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
6
+ formato: string | null;
7
+ keyEnter: EventEmitter<any>;
8
+ inputFormatEdit: any;
9
+ data: string | any;
10
+ private onChange;
11
+ private onTouch;
12
+ private disabled;
13
+ console: Console;
14
+ writeValue(value: string | any): void;
15
+ registerOnChange(fn: any): void;
16
+ registerOnTouched(fn: any): void;
17
+ setDisabledState?(isDisabled: boolean): void;
18
+ constructor();
19
+ ngOnInit(): void;
20
+ digitarFormatado(event: any): boolean;
21
+ onKeyEnter(): void;
22
+ onBlur(): void;
23
+ setFocus(): void;
24
+ formataCampoValor(valor: string, Mascara: string, evento: any): string;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputFormatComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputFormatComponent, "kb-input-format", never, { "formato": { "alias": "formato"; "required": false; }; "keyEnter": { "alias": "keyEnter"; "required": false; }; }, {}, never, never, false, never>;
27
+ }
@@ -1,68 +1,68 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { OnInit, Predicate } from '@angular/core';
3
- import { ControlValueAccessor } from '@angular/forms';
4
- import { IonSelect, ModalController } from '@ionic/angular';
5
- import { Subject, Subscription } from 'rxjs';
6
- import { BaseInputComponent } from '../baseInputComponent';
7
- import { LibConfig } from '../appproject-components.module';
8
- import * as i0 from "@angular/core";
9
- export declare class InputPesquisaComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
10
- private config;
11
- private httpClient;
12
- private modalCtrl;
13
- podePesquisar: boolean;
14
- textoPesquisa: string;
15
- selectElementVisivel: boolean;
16
- listaPesquisa: any[];
17
- selectedItem: any;
18
- max: string;
19
- private pesquisaSubject;
20
- filterFunction: Predicate<any> | null;
21
- selectId: string;
22
- campoId: string;
23
- campoPaiId: string;
24
- campoDisplay: string;
25
- tipo: string;
26
- selectElement: IonSelect | null;
27
- change?: Function;
28
- pesquisaAction?: Function;
29
- limpar?: Function;
30
- url: string;
31
- urlItem: string;
32
- urlTree: string;
33
- empresa: number;
34
- loadInit: boolean;
35
- data: number | any;
36
- private onChange;
37
- private onTouch;
38
- private disabled;
39
- console: Console;
40
- modelChanged: Subject<any>;
41
- modelChangeSubscription?: Subscription;
42
- writeValue(value: number | any): void;
43
- registerOnChange(fn: any): void;
44
- registerOnTouched(fn: any): void;
45
- setDisabledState?(isDisabled: boolean): void;
46
- BASE_API: string;
47
- constructor(config: LibConfig, httpClient: HttpClient, modalCtrl: ModalController);
48
- onBlur(event: any): void;
49
- ngOnInit(): void;
50
- writePesquisa(value: string | any): void;
51
- showPesquisa(e: any): void;
52
- highlight(texto: string): string;
53
- selecionarComboClick(item: any): void;
54
- selecionarComboChange(e: any): void;
55
- dropDownPesquisa(length: number): void;
56
- pesquisarEntidade(filtro: string): void;
57
- pesquisarEntidadeOld(filtro: string): void;
58
- existeNaLista(id: number, setRegistro?: boolean): boolean;
59
- existeNaListaTexto(texto: string, setRegistro?: boolean): boolean;
60
- validarItemSelecionado(setarRegistro?: boolean): boolean;
61
- carregaItemIdParaLista(id: number): void;
62
- limparClick(): void;
63
- verificarPesquisa(): void;
64
- pesquisarClick(): Promise<void>;
65
- isEmpty(valor: string | any): boolean;
66
- static ɵfac: i0.ɵɵFactoryDeclaration<InputPesquisaComponent, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<InputPesquisaComponent, "kb-input-pesquisa", never, { "textoPesquisa": "textoPesquisa"; "max": "max"; "filterFunction": "filterFunction"; "selectId": "selectId"; "campoId": "campoId"; "campoPaiId": "campoPaiId"; "campoDisplay": "campoDisplay"; "tipo": "tipo"; "change": "change"; "pesquisaAction": "pesquisaAction"; "limpar": "limpar"; "url": "url"; "urlItem": "urlItem"; "urlTree": "urlTree"; "empresa": "empresa"; "loadInit": "loadInit"; }, {}, never, never, false, never>;
68
- }
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { EventEmitter, OnInit, Predicate } from '@angular/core';
3
+ import { ControlValueAccessor } from '@angular/forms';
4
+ import { IonSelect, ModalController } from '@ionic/angular';
5
+ import { Subject, Subscription } from 'rxjs';
6
+ import { BaseInputComponent } from '../baseInputComponent';
7
+ import { LibConfig } from '../appproject-components.module';
8
+ import * as i0 from "@angular/core";
9
+ export declare class InputPesquisaComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
10
+ private config;
11
+ private httpClient;
12
+ private modalCtrl;
13
+ podePesquisar: boolean;
14
+ textoPesquisa: string;
15
+ selectElementVisivel: boolean;
16
+ listaPesquisa: any[];
17
+ selectedItem: any;
18
+ max: string;
19
+ private pesquisaSubject;
20
+ filterFunction: Predicate<any> | null;
21
+ selectId: string;
22
+ campoId: string;
23
+ campoPaiId: string;
24
+ campoDisplay: string;
25
+ tipo: string;
26
+ selectElement: IonSelect | null;
27
+ pesquisaChange: EventEmitter<any>;
28
+ pesquisaAction?: Function;
29
+ limpar?: Function;
30
+ url: string;
31
+ urlItem: string;
32
+ urlTree: string;
33
+ empresa: number;
34
+ loadInit: boolean;
35
+ data: number | any;
36
+ private onChange;
37
+ private onTouch;
38
+ private disabled;
39
+ console: Console;
40
+ modelChanged: Subject<any>;
41
+ modelChangeSubscription?: Subscription;
42
+ writeValue(value: number | any): void;
43
+ registerOnChange(fn: any): void;
44
+ registerOnTouched(fn: any): void;
45
+ setDisabledState?(isDisabled: boolean): void;
46
+ BASE_API: string;
47
+ constructor(config: LibConfig, httpClient: HttpClient, modalCtrl: ModalController);
48
+ onBlur(event: any): void;
49
+ ngOnInit(): void;
50
+ writePesquisa(value: string | any): void;
51
+ showPesquisa(e: any): void;
52
+ highlight(texto: string): string;
53
+ selecionarComboClick(item: any): void;
54
+ selecionarComboChange(e: any): void;
55
+ dropDownPesquisa(length: number): void;
56
+ pesquisarEntidade(filtro: string): void;
57
+ pesquisarEntidadeOld(filtro: string): void;
58
+ existeNaLista(id: number, setRegistro?: boolean): boolean;
59
+ existeNaListaTexto(texto: string, setRegistro?: boolean): boolean;
60
+ validarItemSelecionado(setarRegistro?: boolean): boolean;
61
+ carregaItemIdParaLista(id: number): void;
62
+ limparClick(): void;
63
+ verificarPesquisa(): void;
64
+ pesquisarClick(): Promise<void>;
65
+ isEmpty(valor: string | any): boolean;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputPesquisaComponent, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputPesquisaComponent, "kb-input-pesquisa", never, { "textoPesquisa": { "alias": "textoPesquisa"; "required": false; }; "max": { "alias": "max"; "required": false; }; "filterFunction": { "alias": "filterFunction"; "required": false; }; "selectId": { "alias": "selectId"; "required": false; }; "campoId": { "alias": "campoId"; "required": false; }; "campoPaiId": { "alias": "campoPaiId"; "required": false; }; "campoDisplay": { "alias": "campoDisplay"; "required": false; }; "tipo": { "alias": "tipo"; "required": false; }; "pesquisaChange": { "alias": "pesquisaChange"; "required": false; }; "pesquisaAction": { "alias": "pesquisaAction"; "required": false; }; "limpar": { "alias": "limpar"; "required": false; }; "url": { "alias": "url"; "required": false; }; "urlItem": { "alias": "urlItem"; "required": false; }; "urlTree": { "alias": "urlTree"; "required": false; }; "empresa": { "alias": "empresa"; "required": false; }; "loadInit": { "alias": "loadInit"; "required": false; }; }, {}, never, never, false, never>;
68
+ }
@@ -1,28 +1,29 @@
1
- import { OnInit } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { BaseInputComponent } from '../baseInputComponent';
4
- import * as i0 from "@angular/core";
5
- export declare class InputSelectComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
6
- change: Function | null;
7
- itens: any[];
8
- itemId: string;
9
- itemNome: string;
10
- showNovo: boolean;
11
- itemNull: boolean;
12
- opcaoDefault: string;
13
- data: string | any;
14
- private onChange;
15
- private onTouch;
16
- private disabled;
17
- console: Console;
18
- writeValue(value: string): void;
19
- registerOnChange(fn: any): void;
20
- registerOnTouched(fn: any): void;
21
- setDisabledState?(isDisabled: boolean): void;
22
- constructor();
23
- ngOnInit(): void;
24
- onSelectChange(value: any): void;
25
- onBlur(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<InputSelectComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<InputSelectComponent, "kb-input-select", never, { "change": "change"; "itens": "itens"; "itemId": "itemId"; "itemNome": "itemNome"; "showNovo": "showNovo"; "itemNull": "itemNull"; "opcaoDefault": "opcaoDefault"; }, {}, never, never, false, never>;
28
- }
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { BaseInputComponent } from '../baseInputComponent';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InputSelectComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
6
+ selectChange: EventEmitter<any>;
7
+ selectChangeEntity: EventEmitter<any>;
8
+ itens: any[];
9
+ itemId: string;
10
+ itemNome: string;
11
+ showNovo: boolean;
12
+ itemNull: boolean;
13
+ opcaoDefault: string;
14
+ data: string | any;
15
+ private onChange;
16
+ private onTouch;
17
+ private disabled;
18
+ console: Console;
19
+ writeValue(value: string): void;
20
+ registerOnChange(fn: any): void;
21
+ registerOnTouched(fn: any): void;
22
+ setDisabledState?(isDisabled: boolean): void;
23
+ constructor();
24
+ ngOnInit(): void;
25
+ onSelectChange(value: any): void;
26
+ onBlur(): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputSelectComponent, never>;
28
+ 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
+ }
@@ -1,25 +1,29 @@
1
- import { OnInit } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { BaseInputComponent } from '../baseInputComponent';
4
- import * as i0 from "@angular/core";
5
- export declare class InputTextComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
6
- iconInput?: string;
7
- showSeePassword: boolean;
8
- data: string | undefined;
9
- private onChange;
10
- private onTouch;
11
- private disabled;
12
- console: Console;
13
- writeValue(value?: any): void;
14
- registerOnChange(fn: any): void;
15
- registerOnTouched(fn: any): void;
16
- setDisabledState?(isDisabled: boolean): void;
17
- constructor();
18
- ngOnInit(): void;
19
- onBlur(): void;
20
- limparClick(): void;
21
- isReadonly(): boolean;
22
- changeTypeOfInput(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<InputTextComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<InputTextComponent, "kb-input-text", never, { "iconInput": "iconInput"; }, {}, never, never, false, never>;
25
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { BaseInputComponent } from '../baseInputComponent';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InputTextComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
6
+ iconInput?: string;
7
+ inputSpanAfter: string;
8
+ inputTextEdit: any;
9
+ campoFoco: string;
10
+ showSeePassword: boolean;
11
+ data: string | undefined;
12
+ private onChange;
13
+ private onTouch;
14
+ private disabled;
15
+ console: Console;
16
+ writeValue(value?: any): void;
17
+ registerOnChange(fn: any): void;
18
+ registerOnTouched(fn: any): void;
19
+ setDisabledState?(isDisabled: boolean): void;
20
+ constructor();
21
+ ngOnInit(): void;
22
+ onBlur(): void;
23
+ limparClick(): void;
24
+ isReadonly(): boolean;
25
+ changeTypeOfInput(): void;
26
+ setFocus(): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputTextComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputTextComponent, "kb-input-text", never, { "iconInput": { "alias": "iconInput"; "required": false; }; "inputSpanAfter": { "alias": "inputSpanAfter"; "required": false; }; "campoFoco": { "alias": "campoFoco"; "required": false; }; }, {}, never, never, false, never>;
29
+ }
@@ -1,25 +1,28 @@
1
- import { OnInit } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { BaseInputComponent } from '../baseInputComponent';
4
- import * as i0 from "@angular/core";
5
- export declare class InputValorComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
6
- data: string | any;
7
- private onChange;
8
- private onTouch;
9
- private disabled;
10
- console: Console;
11
- writeValue(value: string | any): void;
12
- registerOnChange(fn: any): void;
13
- registerOnTouched(fn: any): void;
14
- setDisabledState?(isDisabled: boolean): void;
15
- constructor();
16
- ngOnInit(): void;
17
- onBlur(): void;
18
- digitarValor(event: any): boolean;
19
- isEmpty(str: string | any): boolean;
20
- converterValorDecimalMil(campo: string, casas?: number): string;
21
- decimalToStringMil(number?: any): any;
22
- stringOfChar(str: string, tam: number): string;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<InputValorComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<InputValorComponent, "kb-input-valor", never, {}, {}, never, never, false, never>;
25
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { BaseInputComponent } from '../baseInputComponent';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InputValorComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
6
+ maxValor: number;
7
+ inputValorEdit: any;
8
+ data: string | any;
9
+ private onChange;
10
+ private onTouch;
11
+ private disabled;
12
+ console: Console;
13
+ writeValue(value: string | any): void;
14
+ registerOnChange(fn: any): void;
15
+ registerOnTouched(fn: any): void;
16
+ setDisabledState?(isDisabled: boolean): void;
17
+ constructor();
18
+ ngOnInit(): void;
19
+ onBlur(): void;
20
+ digitarValor(event: any): boolean;
21
+ isEmpty(str: string | any): boolean;
22
+ converterValorDecimalMil(campo: string, casas?: number): string;
23
+ decimalToStringMil(number?: any): any;
24
+ stringOfChar(str: string, tam: number): string;
25
+ strToFloatZero(str: any): number;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputValorComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputValorComponent, "kb-input-valor", never, { "maxValor": { "alias": "maxValor"; "required": false; }; }, {}, never, never, false, never>;
28
+ }
@@ -1,8 +1,8 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ModelTreeviewComponent implements OnInit {
4
- constructor();
5
- ngOnInit(): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<ModelTreeviewComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<ModelTreeviewComponent, "kb-model-treeview", never, {}, {}, never, never, false, never>;
8
- }
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ModelTreeviewComponent implements OnInit {
4
+ constructor();
5
+ ngOnInit(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModelTreeviewComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModelTreeviewComponent, "kb-model-treeview", never, {}, {}, never, never, false, never>;
8
+ }
package/package.json CHANGED
@@ -1,19 +1,15 @@
1
1
  {
2
2
  "name": "appproject-components",
3
- "version": "0.0.31",
3
+ "version": "1.0.0",
4
4
  "peerDependencies": {
5
- "@angular/common": "^15.0.4",
6
- "@angular/core": "^15.0.4",
7
- "@ionic/angular": "^6.1.9"
5
+ "@angular/common": "^17.0.7",
6
+ "@angular/core": "^17.0.7",
7
+ "@ionic/angular": "^7.0.0"
8
8
  },
9
9
  "dependencies": {
10
10
  "tslib": "^2.3.0"
11
11
  },
12
- "module": "fesm2015/appproject-components.mjs",
13
- "es2020": "fesm2020/appproject-components.mjs",
14
- "esm2020": "esm2020/appproject-components.mjs",
15
- "fesm2020": "fesm2020/appproject-components.mjs",
16
- "fesm2015": "fesm2015/appproject-components.mjs",
12
+ "module": "fesm2022/appproject-components.mjs",
17
13
  "typings": "index.d.ts",
18
14
  "exports": {
19
15
  "./package.json": {
@@ -21,11 +17,9 @@
21
17
  },
22
18
  ".": {
23
19
  "types": "./index.d.ts",
24
- "esm2020": "./esm2020/appproject-components.mjs",
25
- "es2020": "./fesm2020/appproject-components.mjs",
26
- "es2015": "./fesm2015/appproject-components.mjs",
27
- "node": "./fesm2015/appproject-components.mjs",
28
- "default": "./fesm2020/appproject-components.mjs"
20
+ "esm2022": "./esm2022/appproject-components.mjs",
21
+ "esm": "./esm2022/appproject-components.mjs",
22
+ "default": "./fesm2022/appproject-components.mjs"
29
23
  }
30
24
  },
31
25
  "sideEffects": false
package/public-api.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- export * from './lib/appproject-components.service';
2
- export * from './lib/appproject-components.component';
3
- export * from './lib/appproject-components.module';
4
- export * from './lib/baseInputComponent';
5
- export * from './lib/input-text/input-text.component';
6
- export * from './lib/input-format/input-format.component';
7
- export * from './lib/input-select/input-select.component';
8
- export * from './lib/input-pesquisa/input-pesquisa.component';
9
- export * from './lib/input-valor/input-valor.component';
10
- export * from './lib/model-treeview/model-treeview.component';
11
- export * from './lib/input-area/input-area.component';
12
- export * from './lib/input-cep/input-cep.component';
13
- export * from './lib/input-arquivo/input-arquivo.component';
1
+ export * from './lib/appproject-components.service';
2
+ export * from './lib/appproject-components.component';
3
+ export * from './lib/appproject-components.module';
4
+ export * from './lib/baseInputComponent';
5
+ export * from './lib/input-text/input-text.component';
6
+ export * from './lib/input-format/input-format.component';
7
+ export * from './lib/input-select/input-select.component';
8
+ export * from './lib/input-pesquisa/input-pesquisa.component';
9
+ export * from './lib/input-valor/input-valor.component';
10
+ export * from './lib/model-treeview/model-treeview.component';
11
+ export * from './lib/input-area/input-area.component';
12
+ export * from './lib/input-cep/input-cep.component';
13
+ export * from './lib/input-arquivo/input-arquivo.component';
@@ -1,65 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class BaseInputComponent {
4
- constructor() {
5
- this.labelPosition = 'stacked';
6
- this.placeholder = '';
7
- this.max = '10';
8
- this.type = "text";
9
- this.readonly = false;
10
- this.leitura = false;
11
- this.itemClass = "padding";
12
- this.botaoLimpar = false;
13
- this.labelColor = 'dark';
14
- this.inputBackgroungColor = 'auto';
15
- }
16
- ngOnInit() {
17
- throw new Error('Method not implemented.');
18
- }
19
- }
20
- BaseInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BaseInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
21
- BaseInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: BaseInputComponent, selector: "ng-component", inputs: { label: "label", labelPosition: "labelPosition", nome: "nome", placeholder: "placeholder", form: "form", campo: "campo", formControlName: "formControlName", max: "max", validation_messages: "validation_messages", type: "type", readonly: "readonly", leitura: "leitura", itemClass: "itemClass", blur: "blur", botaoLimpar: "botaoLimpar", labelColor: "labelColor", inputBackgroungColor: "inputBackgroungColor", blurArgs: "blurArgs" }, ngImport: i0, template: '', isInline: true });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BaseInputComponent, decorators: [{
23
- type: Component,
24
- args: [{
25
- template: ''
26
- }]
27
- }], ctorParameters: function () { return []; }, propDecorators: { label: [{
28
- type: Input
29
- }], labelPosition: [{
30
- type: Input
31
- }], nome: [{
32
- type: Input
33
- }], placeholder: [{
34
- type: Input
35
- }], form: [{
36
- type: Input
37
- }], campo: [{
38
- type: Input
39
- }], formControlName: [{
40
- type: Input,
41
- args: ['formControlName']
42
- }], max: [{
43
- type: Input
44
- }], validation_messages: [{
45
- type: Input
46
- }], type: [{
47
- type: Input
48
- }], readonly: [{
49
- type: Input
50
- }], leitura: [{
51
- type: Input
52
- }], itemClass: [{
53
- type: Input
54
- }], blur: [{
55
- type: Input
56
- }], botaoLimpar: [{
57
- type: Input
58
- }], labelColor: [{
59
- type: Input
60
- }], inputBackgroungColor: [{
61
- type: Input
62
- }], blurArgs: [{
63
- type: Input
64
- }] } });
65
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZUlucHV0Q29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvYXBwcHJvamVjdC1jb21wb25lbnRzL3NyYy9saWIvYmFzZUlucHV0Q29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDOztBQU16RCxNQUFNLE9BQWdCLGtCQUFrQjtJQXFCcEM7UUFuQlMsa0JBQWEsR0FBVyxTQUFTLENBQUM7UUFFbEMsZ0JBQVcsR0FBVyxFQUFFLENBQUM7UUFJekIsUUFBRyxHQUFXLElBQUksQ0FBQztRQUVuQixTQUFJLEdBQVcsTUFBTSxDQUFDO1FBQ3RCLGFBQVEsR0FBWSxLQUFLLENBQUM7UUFDMUIsWUFBTyxHQUFZLEtBQUssQ0FBQztRQUN6QixjQUFTLEdBQVcsU0FBUyxDQUFDO1FBRTlCLGdCQUFXLEdBQVksS0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