oxpi-nglib 1.0.21 → 1.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/esm2020/lib/cadastros/clientes/clientes/clientes-form.component.mjs +18 -0
- package/esm2020/lib/cadastros/clientes/clientes/clientes.component.mjs +165 -0
- package/esm2020/lib/cadastros/clientes/clientes-add-dialog/clientes-add-dialog.component.mjs +73 -0
- package/esm2020/lib/cadastros/clientes/clientes-edit-dialog/clientes-edit-dialog.component.mjs +71 -0
- package/esm2020/lib/cadastros/clientes/selecao-cliente-dialog/selecao-cliente-dialog.component.mjs +108 -0
- package/esm2020/lib/cadastros/fornecedores/fornecedores/fornecedores-form.component.mjs +19 -0
- package/esm2020/lib/cadastros/fornecedores/fornecedores/fornecedores.component.mjs +165 -0
- package/esm2020/lib/cadastros/fornecedores/fornecedores-add-dialog/fornecedores-add-dialog.component.mjs +73 -0
- package/esm2020/lib/cadastros/fornecedores/fornecedores-edit-dialog/fornecedores-edit-dialog.component.mjs +71 -0
- package/esm2020/lib/cadastros/fornecedores/selecao-fornecedor-dialog/selecao-fornecedor-dialog.component.mjs +108 -0
- package/esm2020/lib/models/entidades/pessoa.mjs +9 -0
- package/esm2020/lib/models/settings/produto-search-setting.mjs +2 -2
- package/esm2020/lib/oxpi-nglib.module.mjs +33 -3
- package/esm2020/lib/providers/common-web-service.mjs +47 -1
- package/esm2020/public-api.mjs +12 -1
- package/fesm2015/oxpi-nglib.mjs +816 -5
- package/fesm2015/oxpi-nglib.mjs.map +1 -1
- package/fesm2020/oxpi-nglib.mjs +808 -5
- package/fesm2020/oxpi-nglib.mjs.map +1 -1
- package/lib/cadastros/clientes/clientes/clientes-form.component.d.ts +10 -0
- package/lib/cadastros/clientes/clientes/clientes.component.d.ts +36 -0
- package/lib/cadastros/clientes/clientes-add-dialog/clientes-add-dialog.component.d.ts +27 -0
- package/lib/cadastros/clientes/clientes-edit-dialog/clientes-edit-dialog.component.d.ts +27 -0
- package/lib/cadastros/clientes/selecao-cliente-dialog/selecao-cliente-dialog.component.d.ts +35 -0
- package/lib/cadastros/fornecedores/fornecedores/fornecedores-form.component.d.ts +10 -0
- package/lib/cadastros/fornecedores/fornecedores/fornecedores.component.d.ts +36 -0
- package/lib/cadastros/fornecedores/fornecedores-add-dialog/fornecedores-add-dialog.component.d.ts +27 -0
- package/lib/cadastros/fornecedores/fornecedores-edit-dialog/fornecedores-edit-dialog.component.d.ts +27 -0
- package/lib/cadastros/fornecedores/selecao-fornecedor-dialog/selecao-fornecedor-dialog.component.d.ts +35 -0
- package/lib/models/entidades/pessoa.d.ts +29 -0
- package/lib/oxpi-nglib.module.d.ts +20 -10
- package/lib/providers/common-web-service.d.ts +15 -1
- package/package.json +1 -1
- package/public-api.d.ts +11 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Cliente } from '../../../models/entidades/pessoa';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ClientesFormComponent implements OnInit {
|
|
5
|
+
model?: Cliente;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClientesFormComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClientesFormComponent, "app-clientes-form", never, { "model": "model"; }, {}, never, never, false>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import { Cliente } from '../../../models/entidades/pessoa';
|
|
4
|
+
import { LazyTrigger } from '../../../models/infra/lazy-trigger';
|
|
5
|
+
import { SearchSetting } from '../../../models/settings/search-setting';
|
|
6
|
+
import { AuthDataService } from '../../../providers/auth-data.service';
|
|
7
|
+
import { CommonWebService } from '../../../providers/common-web-service';
|
|
8
|
+
import { NotificationService } from '../../../providers/notification.service';
|
|
9
|
+
import { ScreenHelperService } from '../../../providers/screen-helper.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class ClientesComponent implements OnInit {
|
|
12
|
+
private ws;
|
|
13
|
+
private notification;
|
|
14
|
+
dialog: MatDialog;
|
|
15
|
+
private screenHelper;
|
|
16
|
+
mobile: boolean;
|
|
17
|
+
isBusy: boolean;
|
|
18
|
+
items: Cliente[];
|
|
19
|
+
selectedItem: Cliente | null;
|
|
20
|
+
lazyTrigger: LazyTrigger;
|
|
21
|
+
allowAdd: boolean;
|
|
22
|
+
allowExcluir: boolean;
|
|
23
|
+
setting: SearchSetting;
|
|
24
|
+
private focus;
|
|
25
|
+
constructor(ws: CommonWebService, notification: NotificationService, dialog: MatDialog, auth: AuthDataService, screenHelper: ScreenHelperService);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
onSelectItem(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
atualiza(): void;
|
|
30
|
+
excluir(): void;
|
|
31
|
+
novo(): void;
|
|
32
|
+
abreCadastro(item: Cliente): void;
|
|
33
|
+
salvar(): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClientesComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClientesComponent, "app-clientes", never, {}, {}, never, never, false>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { Cliente } from '../../../models/entidades/pessoa';
|
|
4
|
+
import { CommonWebService } from '../../../providers/common-web-service';
|
|
5
|
+
import { FocusService } from '../../../providers/focus.service';
|
|
6
|
+
import { NotificationService } from '../../../providers/notification.service';
|
|
7
|
+
import { ScreenHelperService } from '../../../providers/screen-helper.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ClientesAddDialogComponent implements OnInit {
|
|
10
|
+
private ws;
|
|
11
|
+
private notification;
|
|
12
|
+
dataDialog: Cliente;
|
|
13
|
+
dialog: MatDialog;
|
|
14
|
+
private elRef;
|
|
15
|
+
private dialogRef;
|
|
16
|
+
private screenHelper;
|
|
17
|
+
model: Cliente;
|
|
18
|
+
mobile: boolean;
|
|
19
|
+
isBusy: boolean;
|
|
20
|
+
focus: FocusService;
|
|
21
|
+
constructor(ws: CommonWebService, notification: NotificationService, dataDialog: Cliente, dialog: MatDialog, elRef: ElementRef, dialogRef: MatDialogRef<ClientesAddDialogComponent>, screenHelper: ScreenHelperService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
salvar(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClientesAddDialogComponent, [null, null, { optional: true; }, null, null, null, null]>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClientesAddDialogComponent, "app-clientes-add-dialog", never, {}, {}, never, never, false>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { Cliente } from '../../../models/entidades/pessoa';
|
|
4
|
+
import { CommonWebService } from '../../../providers/common-web-service';
|
|
5
|
+
import { FocusService } from '../../../providers/focus.service';
|
|
6
|
+
import { NotificationService } from '../../../providers/notification.service';
|
|
7
|
+
import { ScreenHelperService } from '../../../providers/screen-helper.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ClientesEditDialogComponent implements OnInit {
|
|
10
|
+
private ws;
|
|
11
|
+
private notification;
|
|
12
|
+
dataDialog: Cliente;
|
|
13
|
+
dialog: MatDialog;
|
|
14
|
+
private elRef;
|
|
15
|
+
private dialogRef;
|
|
16
|
+
private screenHelper;
|
|
17
|
+
model?: Cliente;
|
|
18
|
+
mobile: boolean;
|
|
19
|
+
isBusy: boolean;
|
|
20
|
+
focus: FocusService;
|
|
21
|
+
constructor(ws: CommonWebService, notification: NotificationService, dataDialog: Cliente, dialog: MatDialog, elRef: ElementRef, dialogRef: MatDialogRef<ClientesEditDialogComponent>, screenHelper: ScreenHelperService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
salvar(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClientesEditDialogComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClientesEditDialogComponent, "app-clientes-edit-dialog", never, {}, {}, never, never, false>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { Cliente } from '../../../models/entidades/pessoa';
|
|
4
|
+
import { LazyTrigger } from '../../../models/infra/lazy-trigger';
|
|
5
|
+
import { NavegacaoSelecaoDialogUtil } from '../../../models/infra/selecao-utils';
|
|
6
|
+
import { SearchSetting } from '../../../models/settings/search-setting';
|
|
7
|
+
import { AuthDataService } from '../../../providers/auth-data.service';
|
|
8
|
+
import { CommonWebService } from '../../../providers/common-web-service';
|
|
9
|
+
import { NotificationService } from '../../../providers/notification.service';
|
|
10
|
+
import { ScreenHelperService } from '../../../providers/screen-helper.service';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class SelecaoClienteDialogComponent implements OnInit {
|
|
13
|
+
dialogRef: MatDialogRef<SelecaoClienteDialogComponent>;
|
|
14
|
+
private ws;
|
|
15
|
+
private notification;
|
|
16
|
+
dialog: MatDialog;
|
|
17
|
+
private screenHelper;
|
|
18
|
+
items: Cliente[];
|
|
19
|
+
selectedItem: Cliente | null;
|
|
20
|
+
isBusy: boolean;
|
|
21
|
+
mobile: boolean;
|
|
22
|
+
allowAdd: boolean;
|
|
23
|
+
allowEdit: boolean;
|
|
24
|
+
setting: SearchSetting;
|
|
25
|
+
lazyTrigger: LazyTrigger;
|
|
26
|
+
nav: NavegacaoSelecaoDialogUtil<Cliente, SelecaoClienteDialogComponent>;
|
|
27
|
+
constructor(dialogRef: MatDialogRef<SelecaoClienteDialogComponent>, ws: CommonWebService, notification: NotificationService, dialog: MatDialog, auth: AuthDataService, screenHelper: ScreenHelperService);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
atualiza(): void;
|
|
30
|
+
selectItem(i: Cliente): void;
|
|
31
|
+
novo(): void;
|
|
32
|
+
editar(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelecaoClienteDialogComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelecaoClienteDialogComponent, "app-selecao-cliente-dialog", never, {}, {}, never, never, false>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Fornecedor } from '../../../models/entidades/pessoa';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FornecedoresFormComponent implements OnInit {
|
|
5
|
+
model?: Fornecedor;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FornecedoresFormComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FornecedoresFormComponent, "app-fornecedores-form", never, { "model": "model"; }, {}, never, never, false>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import { Fornecedor } from '../../../models/entidades/pessoa';
|
|
4
|
+
import { LazyTrigger } from '../../../models/infra/lazy-trigger';
|
|
5
|
+
import { SearchSetting } from '../../../models/settings/search-setting';
|
|
6
|
+
import { AuthDataService } from '../../../providers/auth-data.service';
|
|
7
|
+
import { CommonWebService } from '../../../providers/common-web-service';
|
|
8
|
+
import { NotificationService } from '../../../providers/notification.service';
|
|
9
|
+
import { ScreenHelperService } from '../../../providers/screen-helper.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class FornecedoresComponent implements OnInit, OnDestroy {
|
|
12
|
+
private ws;
|
|
13
|
+
private notification;
|
|
14
|
+
dialog: MatDialog;
|
|
15
|
+
private screenHelper;
|
|
16
|
+
mobile: boolean;
|
|
17
|
+
isBusy: boolean;
|
|
18
|
+
items: Fornecedor[];
|
|
19
|
+
selectedItem: Fornecedor | null;
|
|
20
|
+
lazyTrigger: LazyTrigger;
|
|
21
|
+
allowAdd: boolean;
|
|
22
|
+
allowExcluir: boolean;
|
|
23
|
+
setting: SearchSetting;
|
|
24
|
+
private focus;
|
|
25
|
+
constructor(ws: CommonWebService, notification: NotificationService, dialog: MatDialog, auth: AuthDataService, screenHelper: ScreenHelperService);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
onSelectItem(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
atualiza(): void;
|
|
30
|
+
excluir(): void;
|
|
31
|
+
novo(): void;
|
|
32
|
+
abreCadastro(item: Fornecedor): void;
|
|
33
|
+
salvar(): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FornecedoresComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FornecedoresComponent, "app-fornecedores", never, {}, {}, never, never, false>;
|
|
36
|
+
}
|
package/lib/cadastros/fornecedores/fornecedores-add-dialog/fornecedores-add-dialog.component.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { Fornecedor } from '../../../models/entidades/pessoa';
|
|
4
|
+
import { CommonWebService } from '../../../providers/common-web-service';
|
|
5
|
+
import { FocusService } from '../../../providers/focus.service';
|
|
6
|
+
import { NotificationService } from '../../../providers/notification.service';
|
|
7
|
+
import { ScreenHelperService } from '../../../providers/screen-helper.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class FornecedoresAddDialogComponent implements OnInit, OnDestroy {
|
|
10
|
+
private ws;
|
|
11
|
+
private notification;
|
|
12
|
+
dataDialog: Fornecedor;
|
|
13
|
+
dialog: MatDialog;
|
|
14
|
+
private elRef;
|
|
15
|
+
private dialogRef;
|
|
16
|
+
private screenHelper;
|
|
17
|
+
model: Fornecedor;
|
|
18
|
+
mobile: boolean;
|
|
19
|
+
isBusy: boolean;
|
|
20
|
+
focus: FocusService;
|
|
21
|
+
constructor(ws: CommonWebService, notification: NotificationService, dataDialog: Fornecedor, dialog: MatDialog, elRef: ElementRef, dialogRef: MatDialogRef<FornecedoresAddDialogComponent>, screenHelper: ScreenHelperService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
salvar(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FornecedoresAddDialogComponent, [null, null, { optional: true; }, null, null, null, null]>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FornecedoresAddDialogComponent, "app-fornecedores-add-dialog", never, {}, {}, never, never, false>;
|
|
27
|
+
}
|
package/lib/cadastros/fornecedores/fornecedores-edit-dialog/fornecedores-edit-dialog.component.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { Fornecedor } from '../../../models/entidades/pessoa';
|
|
4
|
+
import { CommonWebService } from '../../../providers/common-web-service';
|
|
5
|
+
import { FocusService } from '../../../providers/focus.service';
|
|
6
|
+
import { NotificationService } from '../../../providers/notification.service';
|
|
7
|
+
import { ScreenHelperService } from '../../../providers/screen-helper.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class FornecedoresEditDialogComponent implements OnInit, OnDestroy {
|
|
10
|
+
private ws;
|
|
11
|
+
private notification;
|
|
12
|
+
dataDialog: Fornecedor;
|
|
13
|
+
dialog: MatDialog;
|
|
14
|
+
private elRef;
|
|
15
|
+
private dialogRef;
|
|
16
|
+
private screenHelper;
|
|
17
|
+
model?: Fornecedor;
|
|
18
|
+
mobile: boolean;
|
|
19
|
+
isBusy: boolean;
|
|
20
|
+
focus: FocusService;
|
|
21
|
+
constructor(ws: CommonWebService, notification: NotificationService, dataDialog: Fornecedor, dialog: MatDialog, elRef: ElementRef, dialogRef: MatDialogRef<FornecedoresEditDialogComponent>, screenHelper: ScreenHelperService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
salvar(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FornecedoresEditDialogComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FornecedoresEditDialogComponent, "app-fornecedores-edit-dialog", never, {}, {}, never, never, false>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { Fornecedor } from '../../../models/entidades/pessoa';
|
|
4
|
+
import { SearchSetting } from '../../../models/settings/search-setting';
|
|
5
|
+
import { LazyTrigger } from '../../../models/infra/lazy-trigger';
|
|
6
|
+
import { NavegacaoSelecaoDialogUtil } from '../../../models/infra/selecao-utils';
|
|
7
|
+
import { CommonWebService } from '../../../providers/common-web-service';
|
|
8
|
+
import { NotificationService } from '../../../providers/notification.service';
|
|
9
|
+
import { AuthDataService } from '../../../providers/auth-data.service';
|
|
10
|
+
import { ScreenHelperService } from '../../../providers/screen-helper.service';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class SelecaoFornecedorDialogComponent implements OnInit {
|
|
13
|
+
dialogRef: MatDialogRef<SelecaoFornecedorDialogComponent>;
|
|
14
|
+
private ws;
|
|
15
|
+
private notification;
|
|
16
|
+
dialog: MatDialog;
|
|
17
|
+
private screenHelper;
|
|
18
|
+
items: Fornecedor[];
|
|
19
|
+
selectedItem: Fornecedor | null;
|
|
20
|
+
isBusy: boolean;
|
|
21
|
+
mobile: boolean;
|
|
22
|
+
allowAdd: boolean;
|
|
23
|
+
allowEdit: boolean;
|
|
24
|
+
setting: SearchSetting;
|
|
25
|
+
lazyTrigger: LazyTrigger;
|
|
26
|
+
nav: NavegacaoSelecaoDialogUtil<Fornecedor, SelecaoFornecedorDialogComponent>;
|
|
27
|
+
constructor(dialogRef: MatDialogRef<SelecaoFornecedorDialogComponent>, ws: CommonWebService, notification: NotificationService, dialog: MatDialog, auth: AuthDataService, screenHelper: ScreenHelperService);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
atualiza(): void;
|
|
30
|
+
selectItem(i: Fornecedor): void;
|
|
31
|
+
novo(): void;
|
|
32
|
+
editar(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelecaoFornecedorDialogComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelecaoFornecedorDialogComponent, "app-selecao-fornecedor-dialog", never, {}, {}, never, never, false>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FocusService } from "../../providers/focus.service";
|
|
2
|
+
export interface Pessoa {
|
|
3
|
+
id: number;
|
|
4
|
+
nome: string;
|
|
5
|
+
telefone?: string;
|
|
6
|
+
obs?: string;
|
|
7
|
+
fantasia?: string;
|
|
8
|
+
endereco?: string;
|
|
9
|
+
numero?: string;
|
|
10
|
+
complemento?: string;
|
|
11
|
+
bairro?: string;
|
|
12
|
+
uf?: string;
|
|
13
|
+
cidade?: string;
|
|
14
|
+
cep?: string;
|
|
15
|
+
cnpjCpf?: string;
|
|
16
|
+
ieRg?: string;
|
|
17
|
+
contato?: string;
|
|
18
|
+
email?: string;
|
|
19
|
+
fax?: string;
|
|
20
|
+
juridica?: boolean;
|
|
21
|
+
isAtivo: boolean;
|
|
22
|
+
enviadoPC?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface Fornecedor extends Pessoa {
|
|
25
|
+
}
|
|
26
|
+
export interface Cliente extends Pessoa {
|
|
27
|
+
dataNascimento?: Date;
|
|
28
|
+
}
|
|
29
|
+
export declare function validaPessoa(item: Pessoa, focus: FocusService): string | null;
|
|
@@ -36,15 +36,25 @@ import * as i34 from "./cadastros/produtos-categoria-cardapio/produto-categoria-
|
|
|
36
36
|
import * as i35 from "./cadastros/produtos/produto-composicao/produto-composicao.component";
|
|
37
37
|
import * as i36 from "./cadastros/produtos/produto-composicao-add-dialog/produto-composicao-add-dialog.component";
|
|
38
38
|
import * as i37 from "./cadastros/produtos/produto-selecao-dialog/produto-selecao-dialog.component";
|
|
39
|
-
import * as i38 from "
|
|
40
|
-
import * as i39 from "
|
|
41
|
-
import * as i40 from "
|
|
42
|
-
import * as i41 from "
|
|
43
|
-
import * as i42 from "
|
|
44
|
-
import * as i43 from "
|
|
45
|
-
import * as i44 from "
|
|
46
|
-
import * as i45 from "
|
|
47
|
-
import * as i46 from "
|
|
39
|
+
import * as i38 from "./cadastros/clientes/clientes/clientes-form.component";
|
|
40
|
+
import * as i39 from "./cadastros/clientes/clientes/clientes.component";
|
|
41
|
+
import * as i40 from "./cadastros/clientes/clientes-add-dialog/clientes-add-dialog.component";
|
|
42
|
+
import * as i41 from "./cadastros/clientes/clientes-edit-dialog/clientes-edit-dialog.component";
|
|
43
|
+
import * as i42 from "./cadastros/clientes/selecao-cliente-dialog/selecao-cliente-dialog.component";
|
|
44
|
+
import * as i43 from "./cadastros/fornecedores/fornecedores/fornecedores-form.component";
|
|
45
|
+
import * as i44 from "./cadastros/fornecedores/fornecedores/fornecedores.component";
|
|
46
|
+
import * as i45 from "./cadastros/fornecedores/fornecedores-add-dialog/fornecedores-add-dialog.component";
|
|
47
|
+
import * as i46 from "./cadastros/fornecedores/fornecedores-edit-dialog/fornecedores-edit-dialog.component";
|
|
48
|
+
import * as i47 from "./cadastros/fornecedores/selecao-fornecedor-dialog/selecao-fornecedor-dialog.component";
|
|
49
|
+
import * as i48 from "@angular/platform-browser";
|
|
50
|
+
import * as i49 from "@angular/platform-browser/animations";
|
|
51
|
+
import * as i50 from "@angular/forms";
|
|
52
|
+
import * as i51 from "@angular/material/button";
|
|
53
|
+
import * as i52 from "@angular/material/icon";
|
|
54
|
+
import * as i53 from "@angular/material/dialog";
|
|
55
|
+
import * as i54 from "@angular/material/select";
|
|
56
|
+
import * as i55 from "@angular/material/autocomplete";
|
|
57
|
+
import * as i56 from "@angular/material/slide-toggle";
|
|
48
58
|
declare global {
|
|
49
59
|
interface String {
|
|
50
60
|
isEmpty(): boolean;
|
|
@@ -59,6 +69,6 @@ declare global {
|
|
|
59
69
|
}
|
|
60
70
|
export declare class OxpiNglibModule {
|
|
61
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<OxpiNglibModule, never>;
|
|
62
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<OxpiNglibModule, [typeof i1.BusyIndicatorComponent, typeof i2.MonthYearPickerComponent, typeof i3.ImageViewerComponent, typeof i4.NumericPickerComponent, typeof i5.PaginatorComponent, typeof i6.CheckButtonComponent, typeof i7.RadioButtonGroupComponent, typeof i8.ItemCardComponent, typeof i9.SafeHtmlPipe, typeof i10.AlertDialogComponent, typeof i11.FuncionariosComponent, typeof i12.FuncionarioFormComponent, typeof i13.FuncionarioEditDialogComponent, typeof i14.FuncionarioAddDialogComponent, typeof i15.ProdutosComponent, typeof i16.ProdutoFormComponent, typeof i17.ProdutoAddDialogComponent, typeof i18.ProdutoBuscaFiltrosDialogComponent, typeof i19.ProdutoEditDialogComponent, typeof i20.ProdutosGruposComponent, typeof i21.MoverGrupoDialogComponent, typeof i22.ProdutoGrupoSelecaoDialogComponent, typeof i23.ProdutoGrupoAddDialogComponent, typeof i24.ProdutoGrupoEditDialogComponent, typeof i25.ProdutoGrupoFormComponent, typeof i26.ProdutosNcmDialogComponent, typeof i27.ProdutosSubgruposComponent, typeof i28.ProdutoSubgrupoSelecaoDialogComponent, typeof i29.ProdutoSubgrupoAddDialogComponent, typeof i30.ProdutoSubgrupoEditDialogComponent, typeof i31.ProdutosCategoriasCardapioComponent, typeof i32.ProdutoCategoriaCardapioAddDialogComponent, typeof i33.ProdutoCategoriaCardapioEditDialogComponent, typeof i34.ProdutoCategoriaCardapioSelecaoDialogComponent, typeof i35.ProdutoComposicaoComponent, typeof i36.ProdutoComposicaoAddDialogComponent, typeof i37.ProdutoSelecaoDialogComponent], [typeof
|
|
72
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OxpiNglibModule, [typeof i1.BusyIndicatorComponent, typeof i2.MonthYearPickerComponent, typeof i3.ImageViewerComponent, typeof i4.NumericPickerComponent, typeof i5.PaginatorComponent, typeof i6.CheckButtonComponent, typeof i7.RadioButtonGroupComponent, typeof i8.ItemCardComponent, typeof i9.SafeHtmlPipe, typeof i10.AlertDialogComponent, typeof i11.FuncionariosComponent, typeof i12.FuncionarioFormComponent, typeof i13.FuncionarioEditDialogComponent, typeof i14.FuncionarioAddDialogComponent, typeof i15.ProdutosComponent, typeof i16.ProdutoFormComponent, typeof i17.ProdutoAddDialogComponent, typeof i18.ProdutoBuscaFiltrosDialogComponent, typeof i19.ProdutoEditDialogComponent, typeof i20.ProdutosGruposComponent, typeof i21.MoverGrupoDialogComponent, typeof i22.ProdutoGrupoSelecaoDialogComponent, typeof i23.ProdutoGrupoAddDialogComponent, typeof i24.ProdutoGrupoEditDialogComponent, typeof i25.ProdutoGrupoFormComponent, typeof i26.ProdutosNcmDialogComponent, typeof i27.ProdutosSubgruposComponent, typeof i28.ProdutoSubgrupoSelecaoDialogComponent, typeof i29.ProdutoSubgrupoAddDialogComponent, typeof i30.ProdutoSubgrupoEditDialogComponent, typeof i31.ProdutosCategoriasCardapioComponent, typeof i32.ProdutoCategoriaCardapioAddDialogComponent, typeof i33.ProdutoCategoriaCardapioEditDialogComponent, typeof i34.ProdutoCategoriaCardapioSelecaoDialogComponent, typeof i35.ProdutoComposicaoComponent, typeof i36.ProdutoComposicaoAddDialogComponent, typeof i37.ProdutoSelecaoDialogComponent, typeof i38.ClientesFormComponent, typeof i39.ClientesComponent, typeof i40.ClientesAddDialogComponent, typeof i41.ClientesEditDialogComponent, typeof i42.SelecaoClienteDialogComponent, typeof i43.FornecedoresFormComponent, typeof i44.FornecedoresComponent, typeof i45.FornecedoresAddDialogComponent, typeof i46.FornecedoresEditDialogComponent, typeof i47.SelecaoFornecedorDialogComponent], [typeof i48.BrowserModule, typeof i49.BrowserAnimationsModule, typeof i50.FormsModule, typeof i51.MatButtonModule, typeof i52.MatIconModule, typeof i53.MatDialogModule, typeof i54.MatSelectModule, typeof i55.MatAutocompleteModule, typeof i56.MatSlideToggleModule], [typeof i1.BusyIndicatorComponent, typeof i2.MonthYearPickerComponent, typeof i3.ImageViewerComponent, typeof i4.NumericPickerComponent, typeof i5.PaginatorComponent, typeof i6.CheckButtonComponent, typeof i7.RadioButtonGroupComponent, typeof i8.ItemCardComponent, typeof i9.SafeHtmlPipe]>;
|
|
63
73
|
static ɵinj: i0.ɵɵInjectorDeclaration<OxpiNglibModule>;
|
|
64
74
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { Funcionario, FuncionarioCargo } from '../models/entidades/funcionario';
|
|
4
|
+
import { Cliente, Fornecedor } from '../models/entidades/pessoa';
|
|
4
5
|
import { Produto } from '../models/entidades/produto';
|
|
5
6
|
import { ProdutoComposicao } from '../models/entidades/produto-composicao';
|
|
6
7
|
import { ProdutoCategoriaCardapio, ProdutoGrupo, ProdutoSubgrupo } from '../models/entidades/produto-grupo';
|
|
@@ -13,6 +14,7 @@ export declare class CommonWebService {
|
|
|
13
14
|
private http;
|
|
14
15
|
ROOT_URL: string;
|
|
15
16
|
GERENCIAL_URL: string;
|
|
17
|
+
FINANCAS_URL: string;
|
|
16
18
|
FUNCIONARIO_BASE_URL: string;
|
|
17
19
|
FUNCIONARIO_CARGO_BASE_URL: string;
|
|
18
20
|
token: string;
|
|
@@ -24,6 +26,8 @@ export declare class CommonWebService {
|
|
|
24
26
|
MEDIA_BASE_URL: string;
|
|
25
27
|
MEDIA_PRODUTO_IMAGEM_URL: string;
|
|
26
28
|
PRODUTO_COMPOSICAO_BASE_URL: string;
|
|
29
|
+
FORNECEDOR_BASE_URL: string;
|
|
30
|
+
CLIENTE_BASE_URL: string;
|
|
27
31
|
static URL_PART_BUSCA: string;
|
|
28
32
|
static URL_PART_NEXT_ID: string;
|
|
29
33
|
static URL_PART_BUSCA_PAGINADA: string;
|
|
@@ -34,7 +38,7 @@ export declare class CommonWebService {
|
|
|
34
38
|
getFuncionariosCargos(): Observable<FuncionarioCargo[]>;
|
|
35
39
|
buscaFuncionario(setting: SearchSetting): Observable<Funcionario[]>;
|
|
36
40
|
getNextIdFuncionario(): Observable<number>;
|
|
37
|
-
getAllFuncionario(): Observable<
|
|
41
|
+
getAllFuncionario(): Observable<Funcionario[]>;
|
|
38
42
|
saveFuncionario(s: Funcionario): Observable<any>;
|
|
39
43
|
addFuncionario(p: Funcionario): Observable<any>;
|
|
40
44
|
deleteFuncionario(id: number): Observable<any>;
|
|
@@ -67,6 +71,16 @@ export declare class CommonWebService {
|
|
|
67
71
|
saveProdutoComposicao(s: ProdutoComposicao): Observable<any>;
|
|
68
72
|
addProdutoComposicao(p: ProdutoComposicao): Observable<any>;
|
|
69
73
|
deleteProdutoComposicao(id: number): Observable<any>;
|
|
74
|
+
buscaCliente(setting: SearchSetting): Observable<Cliente[]>;
|
|
75
|
+
getAllCliente(): Observable<Cliente[]>;
|
|
76
|
+
saveCliente(s: Cliente): Observable<any>;
|
|
77
|
+
addCliente(p: Cliente): Observable<any>;
|
|
78
|
+
deleteCliente(id: number): Observable<any>;
|
|
79
|
+
buscaFornecedor(setting: SearchSetting): Observable<Fornecedor[]>;
|
|
80
|
+
getAllFornecedor(): Observable<Fornecedor[]>;
|
|
81
|
+
saveFornecedor(s: Fornecedor): Observable<any>;
|
|
82
|
+
addFornecedor(p: Fornecedor): Observable<any>;
|
|
83
|
+
deleteFornecedor(id: number): Observable<any>;
|
|
70
84
|
getHttpOptions(parameters?: HttpParams): {
|
|
71
85
|
headers: HttpHeaders;
|
|
72
86
|
params: HttpParams | undefined;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -25,6 +25,16 @@ export * from './lib/cadastros/produtos-subgrupos/produtos-subgrupos/produtos-su
|
|
|
25
25
|
export * from './lib/cadastros/produtos-subgrupos/produto-subgrupo-selecao-dialog/produto-subgrupo-selecao-dialog.component';
|
|
26
26
|
export * from './lib/cadastros/produtos/produto-composicao/produto-composicao.component';
|
|
27
27
|
export * from './lib/cadastros/produtos/produto-composicao-add-dialog/produto-composicao-add-dialog.component';
|
|
28
|
+
export * from './lib/cadastros/clientes/clientes/clientes-form.component';
|
|
29
|
+
export * from './lib/cadastros/clientes/clientes/clientes.component';
|
|
30
|
+
export * from './lib/cadastros/clientes/clientes-add-dialog/clientes-add-dialog.component';
|
|
31
|
+
export * from './lib/cadastros/clientes/clientes-edit-dialog/clientes-edit-dialog.component';
|
|
32
|
+
export * from './lib/cadastros/clientes/selecao-cliente-dialog/selecao-cliente-dialog.component';
|
|
33
|
+
export * from './lib/cadastros/fornecedores/fornecedores/fornecedores-form.component';
|
|
34
|
+
export * from './lib/cadastros/fornecedores/fornecedores/fornecedores.component';
|
|
35
|
+
export * from './lib/cadastros/fornecedores/fornecedores-add-dialog/fornecedores-add-dialog.component';
|
|
36
|
+
export * from './lib/cadastros/fornecedores/fornecedores-edit-dialog/fornecedores-edit-dialog.component';
|
|
37
|
+
export * from './lib/cadastros/fornecedores/selecao-fornecedor-dialog/selecao-fornecedor-dialog.component';
|
|
28
38
|
export * from './lib/controls/busy-indicator/busy-indicator.component';
|
|
29
39
|
export * from './lib/controls/check-button/check-button.component';
|
|
30
40
|
export * from './lib/controls/image-viewer/image-viewer.component';
|
|
@@ -45,6 +55,7 @@ export * from './lib/models/entidades/produto-ncm';
|
|
|
45
55
|
export * from './lib/models/entidades/produto';
|
|
46
56
|
export * from './lib/models/entidades/setor-estoque';
|
|
47
57
|
export * from './lib/models/entidades/produto-composicao';
|
|
58
|
+
export * from './lib/models/entidades/pessoa';
|
|
48
59
|
export * from './lib/models/tuple';
|
|
49
60
|
export * from './lib/models/infra/busy-state';
|
|
50
61
|
export * from './lib/models/infra/lazy-trigger';
|