@stiunb/unb-lib-components 18.0.22 → 18.0.24
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/esm2022/lib/unb-mensagem/unb-mensagem.component.mjs +18 -26
- package/esm2022/lib/unb-mensagem/unb-mensagem.service.mjs +16 -21
- package/esm2022/lib/unb-pessoa/unb-pessoa-email-form/unb-pessoa-email-form.mjs +91 -37
- package/esm2022/lib/unb-pessoa/unb-pessoa-email-form/unb-pessoa-email-list.mjs +67 -49
- package/esm2022/lib/unb-pessoa/unb-pessoa-endereco-form/unb-pessoa-endereco-form.mjs +160 -41
- package/esm2022/lib/unb-pessoa/unb-pessoa-endereco-form/unb-pessoa-endereco-list.mjs +73 -57
- package/esm2022/lib/unb-pessoa/unb-pessoa-form/unb-pessoa-form.component.mjs +225 -56
- package/esm2022/lib/unb-pessoa/unb-pessoa-models/unb-pessoa-email.model.mjs +1 -1
- package/esm2022/lib/unb-pessoa/unb-pessoa-models/unb-pessoa-endereco.model.mjs +1 -1
- package/esm2022/lib/unb-pessoa/unb-pessoa-models/unb-pessoa.model.mjs +2 -1
- package/esm2022/lib/unb-pessoa/unb-pessoa-pesquisar/unb-pessoa-pesquisar.component.mjs +186 -40
- package/esm2022/lib/unb-pessoa/unb-pessoa-telefone-form/unb-pessoa-telefone-form.mjs +115 -33
- package/esm2022/lib/unb-pessoa/unb-pessoa-telefone-form/unb-pessoa-telefone-list.mjs +64 -34
- package/esm2022/lib/unb-pessoa/unb-pessoa.module.mjs +9 -1
- package/esm2022/lib/unb-pessoa/unb-pessoa.service.mjs +146 -50
- package/esm2022/lib/unb-pessoa/unb-tipo-pessoa.enum.mjs +1 -1
- package/esm2022/lib/unb-usuario/oidc-decoded-token.mjs +1 -1
- package/esm2022/lib/unb-usuario/oidc-user-data.mjs +1 -1
- package/esm2022/public-api.mjs +14 -13
- package/esm2022/stiunb-unb-lib-components.mjs +5 -0
- package/fesm2022/stiunb-unb-lib-components.mjs +2627 -0
- package/fesm2022/stiunb-unb-lib-components.mjs.map +1 -0
- package/index.d.ts +1 -1
- package/lib/unb-mensagem/unb-mensagem.component.d.ts +3 -17
- package/lib/unb-mensagem/unb-mensagem.service.d.ts +16 -18
- package/lib/unb-pessoa/unb-pessoa-email-form/unb-pessoa-email-form.d.ts +9 -5
- package/lib/unb-pessoa/unb-pessoa-email-form/unb-pessoa-email-list.d.ts +8 -10
- package/lib/unb-pessoa/unb-pessoa-endereco-form/unb-pessoa-endereco-form.d.ts +12 -6
- package/lib/unb-pessoa/unb-pessoa-endereco-form/unb-pessoa-endereco-list.d.ts +8 -10
- package/lib/unb-pessoa/unb-pessoa-form/unb-pessoa-form.component.d.ts +24 -12
- package/lib/unb-pessoa/unb-pessoa-models/unb-pessoa-email.model.d.ts +1 -0
- package/lib/unb-pessoa/unb-pessoa-models/unb-pessoa-endereco.model.d.ts +3 -2
- package/lib/unb-pessoa/unb-pessoa-models/unb-pessoa.model.d.ts +5 -4
- package/lib/unb-pessoa/unb-pessoa-pesquisar/unb-pessoa-pesquisar.component.d.ts +21 -8
- package/lib/unb-pessoa/unb-pessoa-telefone-form/unb-pessoa-telefone-form.d.ts +8 -6
- package/lib/unb-pessoa/unb-pessoa-telefone-form/unb-pessoa-telefone-list.d.ts +8 -10
- package/lib/unb-pessoa/unb-pessoa.module.d.ts +20 -18
- package/lib/unb-pessoa/unb-pessoa.service.d.ts +11 -14
- package/package.json +5 -5
- package/public-api.d.ts +10 -10
- package/esm2022/unb-lib-components.mjs +0 -5
- package/fesm2022/unb-lib-components.mjs +0 -1923
- package/fesm2022/unb-lib-components.mjs.map +0 -1
|
@@ -3,33 +3,30 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { UnbPessoaEndereco } from './unb-pessoa-models/unb-pessoa-endereco.model';
|
|
4
4
|
import { UnbPessoaEscolaridade } from './unb-pessoa-models/unb-pessoa-escolaridade.model';
|
|
5
5
|
import { UnbPessoaModel } from './unb-pessoa-models/unb-pessoa.model';
|
|
6
|
+
import { TipoPessoaEnum } from './unb-tipo-pessoa.enum';
|
|
6
7
|
import { UnbPessoaPais } from './unb-pessoa-models/unb-pessoa-pais';
|
|
7
8
|
import { UnbPessoaMunincipio } from './unb-pessoa-models/unb-pessoa-municipio';
|
|
8
9
|
import { UnbPessoaEstadoCivil } from './unb-pessoa-models/unb-pessoa-estado-civil.model';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
11
|
+
export interface UnbPessoaErroPadrao {
|
|
12
|
+
status: number;
|
|
13
|
+
mensagemSimples: string;
|
|
14
|
+
mensagemHtml: string;
|
|
15
|
+
}
|
|
10
16
|
export declare class UnBPessoaService {
|
|
11
17
|
private http;
|
|
12
|
-
private
|
|
13
|
-
|
|
14
|
-
url: string;
|
|
15
|
-
token: string;
|
|
16
|
-
}>;
|
|
18
|
+
private backendUrlSubject;
|
|
19
|
+
backendUrl$: Observable<string>;
|
|
17
20
|
constructor(http: HttpClient);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
token: string;
|
|
21
|
-
}): void;
|
|
22
|
-
getApiConfig(): {
|
|
23
|
-
url: string;
|
|
24
|
-
token: string;
|
|
25
|
-
};
|
|
21
|
+
setBackendUrl(url: string): void;
|
|
22
|
+
getBackendUrl(): string;
|
|
26
23
|
private getHeaders;
|
|
27
24
|
findByCpf(cpf: string | undefined): Observable<UnbPessoaModel>;
|
|
28
25
|
findByCnpj(cnpj: string | undefined): Observable<UnbPessoaModel>;
|
|
29
26
|
findByPassaporte(passaporte: string | undefined): Observable<UnbPessoaModel>;
|
|
30
27
|
findPessoaFisicaById(id: number): Observable<UnbPessoaModel>;
|
|
31
28
|
pesquisarCep(cep: string): Observable<UnbPessoaEndereco>;
|
|
32
|
-
salvar(
|
|
29
|
+
salvar(payload: any, tipoPessoa: TipoPessoaEnum): Observable<UnbPessoaModel | null>;
|
|
33
30
|
private savePessoaFisica;
|
|
34
31
|
private savePessoaJuridica;
|
|
35
32
|
getEscolaridade(): Observable<UnbPessoaEscolaridade[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stiunb/unb-lib-components",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.24",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^18.1.2",
|
|
6
6
|
"@angular/core": "^18.1.2",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"tslib": "^2.3.0",
|
|
12
12
|
"unb-lib-components": "file:"
|
|
13
13
|
},
|
|
14
|
-
"module": "fesm2022/unb-lib-components.mjs",
|
|
14
|
+
"module": "fesm2022/stiunb-unb-lib-components.mjs",
|
|
15
15
|
"typings": "index.d.ts",
|
|
16
16
|
"exports": {
|
|
17
17
|
"./package.json": {
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
},
|
|
20
20
|
".": {
|
|
21
21
|
"types": "./index.d.ts",
|
|
22
|
-
"esm2022": "./esm2022/unb-lib-components.mjs",
|
|
23
|
-
"esm": "./esm2022/unb-lib-components.mjs",
|
|
24
|
-
"default": "./fesm2022/unb-lib-components.mjs"
|
|
22
|
+
"esm2022": "./esm2022/stiunb-unb-lib-components.mjs",
|
|
23
|
+
"esm": "./esm2022/stiunb-unb-lib-components.mjs",
|
|
24
|
+
"default": "./fesm2022/stiunb-unb-lib-components.mjs"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"sideEffects": false
|
package/public-api.d.ts
CHANGED
|
@@ -5,18 +5,11 @@ export * from './lib/services/unb-auth.service';
|
|
|
5
5
|
export * from './lib/unb-nav-bar/unb-nav-bar.component';
|
|
6
6
|
export * from './lib/unb-nav-bar/unb-nav-bar.module';
|
|
7
7
|
export * from './lib/unb-usuario/unb-usuario.model';
|
|
8
|
-
export * from './lib/unb-pessoa/pessoa-tabelas-apoio';
|
|
9
8
|
export * from './lib/unb-pessoa/unb-pessoa.module';
|
|
10
9
|
export * from './lib/unb-pessoa/unb-pessoa.service';
|
|
11
10
|
export * from './lib/unb-pessoa/unb-tipo-pessoa.enum';
|
|
12
|
-
export * from './lib/unb-pessoa/
|
|
13
|
-
export * from './lib/unb-pessoa/unb-pessoa-
|
|
14
|
-
export * from './lib/unb-pessoa/unb-pessoa-endereco-form/unb-pessoa-endereco-form';
|
|
15
|
-
export * from './lib/unb-pessoa/unb-pessoa-endereco-form/unb-pessoa-endereco-list';
|
|
16
|
-
export * from './lib/unb-pessoa/unb-pessoa-form/unb-pessoa-form.component';
|
|
17
|
-
export * from './lib/unb-pessoa/unb-pessoa-pesquisar/unb-pessoa-pesquisar.component';
|
|
18
|
-
export * from './lib/unb-pessoa/unb-pessoa-telefone-form/unb-pessoa-telefone-form';
|
|
19
|
-
export * from './lib/unb-pessoa/unb-pessoa-telefone-form/unb-pessoa-telefone-list';
|
|
11
|
+
export * from './lib/unb-pessoa/pessoa-tabelas-apoio';
|
|
12
|
+
export * from './lib/unb-pessoa/unb-pessoa-models/unb-pessoa.model';
|
|
20
13
|
export * from './lib/unb-pessoa/unb-pessoa-models/unb-pessoa-email.model';
|
|
21
14
|
export * from './lib/unb-pessoa/unb-pessoa-models/unb-pessoa-endereco.model';
|
|
22
15
|
export * from './lib/unb-pessoa/unb-pessoa-models/unb-pessoa-escolaridade.model';
|
|
@@ -25,4 +18,11 @@ export * from './lib/unb-pessoa/unb-pessoa-models/unb-pessoa-municipio';
|
|
|
25
18
|
export * from './lib/unb-pessoa/unb-pessoa-models/unb-pessoa-pais';
|
|
26
19
|
export * from './lib/unb-pessoa/unb-pessoa-models/unb-pessoa-raca-cor';
|
|
27
20
|
export * from './lib/unb-pessoa/unb-pessoa-models/unb-pessoa-telefone.model';
|
|
28
|
-
export * from './lib/unb-pessoa/unb-pessoa-
|
|
21
|
+
export * from './lib/unb-pessoa/unb-pessoa-form/unb-pessoa-form.component';
|
|
22
|
+
export * from './lib/unb-pessoa/unb-pessoa-pesquisar/unb-pessoa-pesquisar.component';
|
|
23
|
+
export * from './lib/unb-pessoa/unb-pessoa-email-form/unb-pessoa-email-form';
|
|
24
|
+
export * from './lib/unb-pessoa/unb-pessoa-email-form/unb-pessoa-email-list';
|
|
25
|
+
export * from './lib/unb-pessoa/unb-pessoa-endereco-form/unb-pessoa-endereco-form';
|
|
26
|
+
export * from './lib/unb-pessoa/unb-pessoa-endereco-form/unb-pessoa-endereco-list';
|
|
27
|
+
export * from './lib/unb-pessoa/unb-pessoa-telefone-form/unb-pessoa-telefone-form';
|
|
28
|
+
export * from './lib/unb-pessoa/unb-pessoa-telefone-form/unb-pessoa-telefone-list';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5iLWxpYi1jb21wb25lbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvdW5iLWxpYi1jb21wb25lbnRzL3NyYy91bmItbGliLWNvbXBvbmVudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|