oxpi-nglib 1.0.49 → 1.0.50
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.component.mjs +2 -2
- package/esm2020/lib/cadastros/fornecedores/fornecedores/fornecedores.component.mjs +2 -2
- package/esm2020/lib/cadastros/funcionarios/funcionarios/funcionarios.component.mjs +2 -2
- package/esm2020/lib/cadastros/produtos/produto-composicao/produto-composicao.component.mjs +1 -1
- package/esm2020/lib/cadastros/produtos/produto-selecao-dialog/produto-selecao-dialog.component.mjs +1 -1
- package/esm2020/lib/cadastros/produtos/produtos/produtos.component.mjs +2 -2
- package/esm2020/lib/cadastros/produtos-categoria-cardapio/produto-categoria-cardapio-selecao-dialog/produto-categoria-cardapio-selecao-dialog.component.mjs +1 -1
- package/esm2020/lib/cadastros/produtos-categoria-cardapio/produtos-categorias-cardapio/produtos-categorias-cardapio.component.mjs +2 -2
- package/esm2020/lib/cadastros/produtos-grupos/produto-grupo-selecao-dialog/produto-grupo-selecao-dialog.component.mjs +1 -1
- package/esm2020/lib/cadastros/produtos-grupos/produtos-grupos/produtos-grupos.component.mjs +2 -2
- package/esm2020/lib/cadastros/produtos-ncm-dialog/produtos-ncm-dialog.component.mjs +1 -1
- package/esm2020/lib/cadastros/produtos-subgrupos/produto-subgrupo-selecao-dialog/produto-subgrupo-selecao-dialog.component.mjs +1 -1
- package/esm2020/lib/cadastros/produtos-subgrupos/produtos-subgrupos/produtos-subgrupos.component.mjs +2 -2
- package/esm2020/lib/controls/item-card/item-card.component.mjs +5 -3
- package/esm2020/lib/models/entidades/ownership.mjs +5 -1
- package/esm2020/lib/providers/auth-data.service.mjs +7 -1
- package/fesm2015/oxpi-nglib.mjs +37 -26
- package/fesm2015/oxpi-nglib.mjs.map +1 -1
- package/fesm2020/oxpi-nglib.mjs +37 -26
- package/fesm2020/oxpi-nglib.mjs.map +1 -1
- package/lib/controls/item-card/item-card.component.d.ts +3 -1
- package/lib/models/entidades/ownership.d.ts +2 -0
- package/lib/providers/auth-data.service.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { IOwnership } from '../../models/entidades/ownership';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class ItemCardComponent implements OnInit {
|
|
4
5
|
nome?: string;
|
|
@@ -6,8 +7,9 @@ export declare class ItemCardComponent implements OnInit {
|
|
|
6
7
|
star?: boolean;
|
|
7
8
|
cloud?: boolean;
|
|
8
9
|
desativado?: boolean;
|
|
10
|
+
ownership?: IOwnership;
|
|
9
11
|
constructor();
|
|
10
12
|
ngOnInit(): void;
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ItemCardComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItemCardComponent, "ox-item-card", never, { "nome": "nome"; "codigo": "codigo"; "star": "star"; "cloud": "cloud"; "desativado": "desativado"; }, {}, never, never, false>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItemCardComponent, "ox-item-card", never, { "nome": "nome"; "codigo": "codigo"; "star": "star"; "cloud": "cloud"; "desativado": "desativado"; "ownership": "ownership"; }, {}, never, never, false>;
|
|
13
15
|
}
|
|
@@ -4,11 +4,13 @@ export interface IOwnership {
|
|
|
4
4
|
usuarioId?: number;
|
|
5
5
|
usuarioLogin?: string;
|
|
6
6
|
modulo?: number;
|
|
7
|
+
endTime?: Date;
|
|
7
8
|
}
|
|
8
9
|
export declare class Ownership implements IOwnership {
|
|
9
10
|
startTime?: Date;
|
|
10
11
|
usuarioId?: number;
|
|
11
12
|
usuarioLogin?: string;
|
|
12
13
|
modulo?: number;
|
|
14
|
+
endTime?: Date;
|
|
13
15
|
}
|
|
14
16
|
export declare function setOwnershipLogin(ownership: IOwnership, usuarios: IdLoginModel[]): void;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { LoginResult } from '../models/entidades/login-result';
|
|
2
|
+
import { IOwnership } from '../models/entidades/ownership';
|
|
2
3
|
import { Permissoes } from '../models/entidades/permissoes';
|
|
3
4
|
import { SensoresDef } from '../models/entidades/sensores-def';
|
|
5
|
+
import { IdLoginModel } from '../models/entidades/usuario';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class AuthDataService {
|
|
6
8
|
isLoggedIn: boolean;
|
|
@@ -15,8 +17,10 @@ export declare class AuthDataService {
|
|
|
15
17
|
nome: string;
|
|
16
18
|
usaEstoqueOnline: boolean;
|
|
17
19
|
usaFinancasOnline: boolean;
|
|
20
|
+
usuarios: IdLoginModel[];
|
|
18
21
|
constructor();
|
|
19
22
|
login(result: LoginResult): void;
|
|
23
|
+
setOwnership(ownership: IOwnership): void;
|
|
20
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthDataService, never>;
|
|
21
25
|
static ɵprov: i0.ɵɵInjectableDeclaration<AuthDataService>;
|
|
22
26
|
}
|