appproject-components 1.0.45 → 1.0.47
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/karma.conf.js +44 -0
- package/ng-package.json +7 -0
- package/package.json +15 -26
- package/src/lib/appproject-components.component.spec.ts +23 -0
- package/src/lib/appproject-components.component.ts +20 -0
- package/src/lib/appproject-components.module.ts +106 -0
- package/src/lib/appproject-components.service.spec.ts +16 -0
- package/src/lib/appproject-components.service.ts +9 -0
- package/src/lib/baseComponent.scss +162 -0
- package/src/lib/baseInputComponent.ts +35 -0
- package/src/lib/buttons/baseBtnComponent.ts +38 -0
- package/src/lib/buttons/btn-action/btn-action.component.html +11 -0
- package/src/lib/buttons/btn-action/btn-action.component.scss +7 -0
- package/src/lib/buttons/btn-action/btn-action.component.spec.ts +24 -0
- package/src/lib/buttons/btn-action/btn-action.component.ts +31 -0
- package/src/lib/buttons/btn-cancelar/btn-cancelar.component.html +14 -0
- package/src/lib/buttons/btn-cancelar/btn-cancelar.component.scss +5 -0
- package/src/lib/buttons/btn-cancelar/btn-cancelar.component.spec.ts +24 -0
- package/src/lib/buttons/btn-cancelar/btn-cancelar.component.ts +19 -0
- package/src/lib/buttons/btn-excluir/btn-excluir.component.html +6 -0
- package/src/lib/buttons/btn-excluir/btn-excluir.component.scss +5 -0
- package/src/lib/buttons/btn-excluir/btn-excluir.component.spec.ts +24 -0
- package/src/lib/buttons/btn-excluir/btn-excluir.component.ts +18 -0
- package/src/lib/buttons/btn-novo/btn-novo.component.html +14 -0
- package/src/lib/buttons/btn-novo/btn-novo.component.scss +8 -0
- package/src/lib/buttons/btn-novo/btn-novo.component.spec.ts +24 -0
- package/src/lib/buttons/btn-novo/btn-novo.component.ts +20 -0
- package/src/lib/buttons/btn-salvar/btn-salvar.component.html +8 -0
- package/src/lib/buttons/btn-salvar/btn-salvar.component.scss +5 -0
- package/src/lib/buttons/btn-salvar/btn-salvar.component.spec.ts +24 -0
- package/src/lib/buttons/btn-salvar/btn-salvar.component.ts +16 -0
- package/src/lib/entity-edit/entity-edit.component.html +143 -0
- package/src/lib/entity-edit/entity-edit.component.scss +4 -0
- package/src/lib/entity-edit/entity-edit.component.spec.ts +23 -0
- package/src/lib/entity-edit/entity-edit.component.ts +43 -0
- package/src/lib/grid-view/grid-view.component.html +116 -0
- package/src/lib/grid-view/grid-view.component.scss +47 -0
- package/src/lib/grid-view/grid-view.component.spec.ts +23 -0
- package/src/lib/grid-view/grid-view.component.ts +292 -0
- package/src/lib/input-area/input-area.component.html +30 -0
- package/src/lib/input-area/input-area.component.scss +68 -0
- package/src/lib/input-area/input-area.component.spec.ts +23 -0
- package/src/lib/input-area/input-area.component.ts +69 -0
- package/src/lib/input-arquivo/input-arquivo.component.html +11 -0
- package/src/lib/input-arquivo/input-arquivo.component.scss +0 -0
- package/src/lib/input-arquivo/input-arquivo.component.spec.ts +23 -0
- package/src/lib/input-arquivo/input-arquivo.component.ts +140 -0
- package/src/lib/input-cep/input-cep.component.html +38 -0
- package/src/lib/input-cep/input-cep.component.scss +0 -0
- package/src/lib/input-cep/input-cep.component.spec.ts +23 -0
- package/src/lib/input-cep/input-cep.component.ts +186 -0
- package/src/lib/input-checkbox/input-checkbox.component.html +12 -0
- package/src/lib/input-checkbox/input-checkbox.component.scss +11 -0
- package/src/lib/input-checkbox/input-checkbox.component.spec.ts +23 -0
- package/src/lib/input-checkbox/input-checkbox.component.ts +48 -0
- package/src/lib/input-format/input-format.component.html +32 -0
- package/src/lib/input-format/input-format.component.scss +47 -0
- package/src/lib/input-format/input-format.component.spec.ts +23 -0
- package/src/lib/input-format/input-format.component.ts +139 -0
- package/src/lib/input-pesquisa/input-pesquisa.component.html +77 -0
- package/src/lib/input-pesquisa/input-pesquisa.component.scss +127 -0
- package/src/lib/input-pesquisa/input-pesquisa.component.spec.ts +23 -0
- package/src/lib/input-pesquisa/input-pesquisa.component.ts +558 -0
- package/src/lib/input-radio/input-radio.component.html +21 -0
- package/src/lib/input-radio/input-radio.component.scss +3 -0
- package/src/lib/input-radio/input-radio.component.spec.ts +23 -0
- package/src/lib/input-radio/input-radio.component.ts +49 -0
- package/src/lib/input-select/input-select.component.html +29 -0
- package/src/lib/input-select/input-select.component.scss +62 -0
- package/src/lib/input-select/input-select.component.spec.ts +23 -0
- package/src/lib/input-select/input-select.component.ts +96 -0
- package/src/lib/input-text/input-text.component.html +48 -0
- package/src/lib/input-text/input-text.component.scss +63 -0
- package/src/lib/input-text/input-text.component.spec.ts +23 -0
- package/src/lib/input-text/input-text.component.ts +78 -0
- package/src/lib/input-valor/input-valor.component.html +32 -0
- package/src/lib/input-valor/input-valor.component.scss +47 -0
- package/src/lib/input-valor/input-valor.component.spec.ts +23 -0
- package/src/lib/input-valor/input-valor.component.ts +164 -0
- package/{lib/lib-config.d.ts → src/lib/lib-config.ts} +4 -3
- package/src/lib/model-treeview/model-treeview.component.html +20 -0
- package/src/lib/model-treeview/model-treeview.component.scss +0 -0
- package/src/lib/model-treeview/model-treeview.component.spec.ts +23 -0
- package/src/lib/model-treeview/model-treeview.component.ts +152 -0
- package/src/lib/tree-view/tree-view.component.html +96 -0
- package/src/lib/tree-view/tree-view.component.scss +50 -0
- package/src/lib/tree-view/tree-view.component.spec.ts +23 -0
- package/src/lib/tree-view/tree-view.component.ts +92 -0
- package/src/lib/tree-view-nivel/tree-view-nivel.component.html +17 -0
- package/src/lib/tree-view-nivel/tree-view-nivel.component.scss +8 -0
- package/src/lib/tree-view-nivel/tree-view-nivel.component.spec.ts +23 -0
- package/src/lib/tree-view-nivel/tree-view-nivel.component.ts +43 -0
- package/{public-api.d.ts → src/public-api.ts} +30 -24
- package/src/test.ts +15 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/esm2022/appproject-components.mjs +0 -5
- package/esm2022/lib/appproject-components.component.mjs +0 -22
- package/esm2022/lib/appproject-components.module.mjs +0 -159
- package/esm2022/lib/appproject-components.service.mjs +0 -14
- package/esm2022/lib/baseInputComponent.mjs +0 -69
- package/esm2022/lib/buttons/baseBtnComponent.mjs +0 -63
- package/esm2022/lib/buttons/btn-action/btn-action.component.mjs +0 -55
- package/esm2022/lib/buttons/btn-cancelar/btn-cancelar.component.mjs +0 -25
- package/esm2022/lib/buttons/btn-excluir/btn-excluir.component.mjs +0 -29
- package/esm2022/lib/buttons/btn-novo/btn-novo.component.mjs +0 -33
- package/esm2022/lib/buttons/btn-salvar/btn-salvar.component.mjs +0 -19
- package/esm2022/lib/entity-edit/entity-edit.component.mjs +0 -53
- package/esm2022/lib/grid-view/grid-view.component.mjs +0 -275
- package/esm2022/lib/input-area/input-area.component.mjs +0 -72
- package/esm2022/lib/input-arquivo/input-arquivo.component.mjs +0 -154
- package/esm2022/lib/input-cep/input-cep.component.mjs +0 -180
- package/esm2022/lib/input-checkbox/input-checkbox.component.mjs +0 -51
- package/esm2022/lib/input-format/input-format.component.mjs +0 -138
- package/esm2022/lib/input-pesquisa/input-pesquisa.component.mjs +0 -557
- package/esm2022/lib/input-radio/input-radio.component.mjs +0 -58
- package/esm2022/lib/input-select/input-select.component.mjs +0 -110
- package/esm2022/lib/input-text/input-text.component.mjs +0 -88
- package/esm2022/lib/input-valor/input-valor.component.mjs +0 -161
- package/esm2022/lib/lib-config.mjs +0 -2
- package/esm2022/lib/model-treeview/model-treeview.component.mjs +0 -126
- package/esm2022/lib/tree-view/tree-view.component.mjs +0 -104
- package/esm2022/lib/tree-view-nivel/tree-view-nivel.component.mjs +0 -50
- package/esm2022/public-api.mjs +0 -30
- package/fesm2022/appproject-components.mjs +0 -2531
- package/fesm2022/appproject-components.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/appproject-components.component.d.ts +0 -8
- package/lib/appproject-components.module.d.ts +0 -36
- package/lib/appproject-components.service.d.ts +0 -6
- package/lib/baseInputComponent.d.ts +0 -28
- package/lib/buttons/baseBtnComponent.d.ts +0 -19
- package/lib/buttons/btn-action/btn-action.component.d.ts +0 -21
- package/lib/buttons/btn-cancelar/btn-cancelar.component.d.ts +0 -10
- package/lib/buttons/btn-excluir/btn-excluir.component.d.ts +0 -12
- package/lib/buttons/btn-novo/btn-novo.component.d.ts +0 -13
- package/lib/buttons/btn-salvar/btn-salvar.component.d.ts +0 -9
- package/lib/entity-edit/entity-edit.component.d.ts +0 -22
- package/lib/grid-view/grid-view.component.d.ts +0 -52
- package/lib/input-area/input-area.component.d.ts +0 -24
- package/lib/input-arquivo/input-arquivo.component.d.ts +0 -43
- package/lib/input-cep/input-cep.component.d.ts +0 -29
- package/lib/input-checkbox/input-checkbox.component.d.ts +0 -21
- package/lib/input-format/input-format.component.d.ts +0 -27
- package/lib/input-pesquisa/input-pesquisa.component.d.ts +0 -69
- package/lib/input-radio/input-radio.component.d.ts +0 -23
- package/lib/input-select/input-select.component.d.ts +0 -32
- package/lib/input-text/input-text.component.d.ts +0 -33
- package/lib/input-valor/input-valor.component.d.ts +0 -29
- package/lib/model-treeview/model-treeview.component.d.ts +0 -39
- package/lib/tree-view/tree-view.component.d.ts +0 -23
- package/lib/tree-view-nivel/tree-view-nivel.component.d.ts +0 -17
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { OnInit, Predicate } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import { TreeViewComponent } from '../tree-view/tree-view.component';
|
|
4
|
-
import { LoadingController, ModalController } from '@ionic/angular';
|
|
5
|
-
import { LibConfig } from '../lib-config';
|
|
6
|
-
import { HttpClient } from '@angular/common/http';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ModelTreeviewComponent implements OnInit {
|
|
9
|
-
private config;
|
|
10
|
-
modalCtrl: ModalController;
|
|
11
|
-
private httpClient;
|
|
12
|
-
private loadingCtrl;
|
|
13
|
-
titulo: string;
|
|
14
|
-
campoId: string;
|
|
15
|
-
campoPai: string;
|
|
16
|
-
campoLabel: string;
|
|
17
|
-
textoPesquisa: string;
|
|
18
|
-
empresaSelecionadaId: number;
|
|
19
|
-
empresaContabilidadeId: number;
|
|
20
|
-
listaArvore: any[];
|
|
21
|
-
tipo: string;
|
|
22
|
-
url: string;
|
|
23
|
-
subscriptionClick: Subscription;
|
|
24
|
-
subscribeId: string;
|
|
25
|
-
filterFunction: Predicate<any>;
|
|
26
|
-
planoContas: number;
|
|
27
|
-
maximizar: boolean;
|
|
28
|
-
treeView: TreeViewComponent;
|
|
29
|
-
BASE_API: string;
|
|
30
|
-
constructor(config: LibConfig, modalCtrl: ModalController, httpClient: HttpClient, loadingCtrl: LoadingController);
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
ionViewDidEnter(): void;
|
|
33
|
-
atualizaArvoreEntidade(tipo: string): Promise<void>;
|
|
34
|
-
clickRegistro(evento: any): void;
|
|
35
|
-
expandir(): void;
|
|
36
|
-
showLoading(msg: string, cancelable?: boolean): Promise<HTMLIonLoadingElement>;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModelTreeviewComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModelTreeviewComponent, "kb-model-treeview", never, { "textoPesquisa": { "alias": "textoPesquisa"; "required": false; }; }, {}, never, never, false, never>;
|
|
39
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { Tree } from 'appproject-lib';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TreeViewComponent implements OnInit {
|
|
5
|
-
itens: any[];
|
|
6
|
-
campoId: string;
|
|
7
|
-
campoPai: string;
|
|
8
|
-
campoLabel: string;
|
|
9
|
-
cadastro: string;
|
|
10
|
-
endpoint: string;
|
|
11
|
-
caixaClass: string;
|
|
12
|
-
beforeUpdate: EventEmitter<any>;
|
|
13
|
-
currentSearch: string;
|
|
14
|
-
selecionarRegistro: EventEmitter<any>;
|
|
15
|
-
arvore: Tree[];
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
montaArvore(pai: number, arvore: Tree[]): number;
|
|
18
|
-
arvoreClick(before?: boolean): void;
|
|
19
|
-
expandir(arvore?: Tree[]): number;
|
|
20
|
-
carregarRegistro(node: Tree): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewComponent, "kb-tree-view", never, { "itens": { "alias": "itens"; "required": false; }; "campoId": { "alias": "campoId"; "required": false; }; "campoPai": { "alias": "campoPai"; "required": false; }; "campoLabel": { "alias": "campoLabel"; "required": false; }; "cadastro": { "alias": "cadastro"; "required": false; }; "endpoint": { "alias": "endpoint"; "required": false; }; "caixaClass": { "alias": "caixaClass"; "required": false; }; "currentSearch": { "alias": "currentSearch"; "required": false; }; }, { "beforeUpdate": "beforeUpdate"; "selecionarRegistro": "selecionarRegistro"; }, never, never, false, never>;
|
|
23
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TreeViewNivelComponent implements OnInit {
|
|
5
|
-
private sanitizer;
|
|
6
|
-
nivelClick: EventEmitter<any>;
|
|
7
|
-
node: any;
|
|
8
|
-
nivel: number;
|
|
9
|
-
currentSearch: string;
|
|
10
|
-
identacao: string;
|
|
11
|
-
constructor(sanitizer: DomSanitizer);
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
nodeClick(): void;
|
|
14
|
-
highlight(texto: string): any;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewNivelComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewNivelComponent, "kb-tree-view-nivel", never, { "node": { "alias": "node"; "required": false; }; "nivel": { "alias": "nivel"; "required": false; }; "currentSearch": { "alias": "currentSearch"; "required": false; }; }, { "nivelClick": "nivelClick"; }, never, never, false, never>;
|
|
17
|
-
}
|