keevo-components 1.8.85 → 1.8.87
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/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +9 -3
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.component.mjs +5 -3
- package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +35 -4
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +3 -12
- package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +81 -92
- package/fesm2022/keevo-components.mjs +128 -109
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +3 -1
- package/lib/components/kv-image-upload/kv-image-upload.component.d.ts +2 -1
- package/lib/components/kv-page-form/kv-page-form.component.d.ts +20 -3
- package/lib/components/kv-workspace/kv-workspace.component.d.ts +35 -16
- package/package.json +1 -1
|
@@ -3,11 +3,13 @@ import { BaseComponentButton } from '../../../api/base-components/base-component
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class KvButtonPopupComponent extends BaseComponentButton {
|
|
5
5
|
items: MenuItem[];
|
|
6
|
+
classBtn: string;
|
|
6
7
|
icon: string;
|
|
7
8
|
constructor();
|
|
9
|
+
ngOnInit(): void;
|
|
8
10
|
handleShow(): void;
|
|
9
11
|
handleHide(): void;
|
|
10
12
|
rotate(): void;
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvButtonPopupComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonPopupComponent, "kv-button-popup", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonPopupComponent, "kv-button-popup", never, { "items": { "alias": "items"; "required": false; }; "classBtn": { "alias": "classBtn"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
15
|
}
|
|
@@ -8,6 +8,7 @@ export declare class KvImageUploadComponent {
|
|
|
8
8
|
fileSrc: string | ArrayBuffer | null;
|
|
9
9
|
widthComponent: string;
|
|
10
10
|
heigthComponent: string;
|
|
11
|
+
description: string;
|
|
11
12
|
fileEmit: EventEmitter<any>;
|
|
12
13
|
onDragOver(event: DragEvent): void;
|
|
13
14
|
onDragLeave(event: DragEvent): void;
|
|
@@ -18,5 +19,5 @@ export declare class KvImageUploadComponent {
|
|
|
18
19
|
removeDragOverClass(event: DragEvent): void;
|
|
19
20
|
deleteImage(): void;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvImageUploadComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvImageUploadComponent, "kv-image-upload", never, { "widthComponent": { "alias": "widthComponent"; "required": false; }; "heigthComponent": { "alias": "heigthComponent"; "required": false; }; }, { "fileEmit": "fileEmit"; }, never, never, false, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvImageUploadComponent, "kv-image-upload", never, { "widthComponent": { "alias": "widthComponent"; "required": false; }; "heigthComponent": { "alias": "heigthComponent"; "required": false; }; "description": { "alias": "description"; "required": false; }; }, { "fileEmit": "fileEmit"; }, never, never, false, never>;
|
|
22
23
|
}
|
|
@@ -19,6 +19,13 @@ export declare class KvPageFormComponent implements OnInit {
|
|
|
19
19
|
iconBtnCancel: string;
|
|
20
20
|
showBtnCancel: boolean;
|
|
21
21
|
txtBtnCancel: string;
|
|
22
|
+
/**
|
|
23
|
+
* Botão de cancelar com opções
|
|
24
|
+
*/
|
|
25
|
+
actionsCancelToogle: ActionItem[];
|
|
26
|
+
iconBtnCancelToogle: string;
|
|
27
|
+
showBtnCancelToogle: boolean;
|
|
28
|
+
txtBtnCancelToogle: string;
|
|
22
29
|
/**
|
|
23
30
|
* Botão salvar
|
|
24
31
|
*/
|
|
@@ -27,12 +34,22 @@ export declare class KvPageFormComponent implements OnInit {
|
|
|
27
34
|
txtBtnSave: string;
|
|
28
35
|
disableBtnSave: boolean;
|
|
29
36
|
/**
|
|
30
|
-
* Botão de opções
|
|
37
|
+
* Botão de salvar com opções
|
|
31
38
|
*/
|
|
32
|
-
|
|
39
|
+
actionsSaveToogle: ActionItem[];
|
|
33
40
|
iconBtnSaveToogle: string;
|
|
34
41
|
showBtnSaveToogle: boolean;
|
|
35
42
|
txtBtnSaveToogle: string;
|
|
43
|
+
/**
|
|
44
|
+
* Botão genérico com opções
|
|
45
|
+
*/
|
|
46
|
+
actionsToogle: ActionItem[];
|
|
47
|
+
iconBtnToogle: string;
|
|
48
|
+
showBtnToogle: boolean;
|
|
49
|
+
txtBtnToogle: string;
|
|
50
|
+
disableBtnToogle: boolean;
|
|
51
|
+
positionBtnToogle: string;
|
|
52
|
+
classBtnToogle: string;
|
|
36
53
|
/**
|
|
37
54
|
* Botão fechar
|
|
38
55
|
*/
|
|
@@ -66,5 +83,5 @@ export declare class KvPageFormComponent implements OnInit {
|
|
|
66
83
|
*/
|
|
67
84
|
setPageFormContainerAttributes(): void;
|
|
68
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvPageFormComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvPageFormComponent, "kv-page-form", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "TituloForm": { "alias": "TituloForm"; "required": false; }; "SubTituloForm": { "alias": "SubTituloForm"; "required": false; }; "isSaveLoading": { "alias": "isSaveLoading"; "required": false; }; "popup": { "alias": "popup"; "required": false; }; "locationUseComponent": { "alias": "locationUseComponent"; "required": false; }; "iconBtnCancel": { "alias": "iconBtnCancel"; "required": false; }; "showBtnCancel": { "alias": "showBtnCancel"; "required": false; }; "txtBtnCancel": { "alias": "txtBtnCancel"; "required": false; }; "iconBtnSave": { "alias": "iconBtnSave"; "required": false; }; "showBtnSave": { "alias": "showBtnSave"; "required": false; }; "txtBtnSave": { "alias": "txtBtnSave"; "required": false; }; "disableBtnSave": { "alias": "disableBtnSave"; "required": false; }; "
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvPageFormComponent, "kv-page-form", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "TituloForm": { "alias": "TituloForm"; "required": false; }; "SubTituloForm": { "alias": "SubTituloForm"; "required": false; }; "isSaveLoading": { "alias": "isSaveLoading"; "required": false; }; "popup": { "alias": "popup"; "required": false; }; "locationUseComponent": { "alias": "locationUseComponent"; "required": false; }; "iconBtnCancel": { "alias": "iconBtnCancel"; "required": false; }; "showBtnCancel": { "alias": "showBtnCancel"; "required": false; }; "txtBtnCancel": { "alias": "txtBtnCancel"; "required": false; }; "actionsCancelToogle": { "alias": "actionsCancelToogle"; "required": false; }; "iconBtnCancelToogle": { "alias": "iconBtnCancelToogle"; "required": false; }; "showBtnCancelToogle": { "alias": "showBtnCancelToogle"; "required": false; }; "txtBtnCancelToogle": { "alias": "txtBtnCancelToogle"; "required": false; }; "iconBtnSave": { "alias": "iconBtnSave"; "required": false; }; "showBtnSave": { "alias": "showBtnSave"; "required": false; }; "txtBtnSave": { "alias": "txtBtnSave"; "required": false; }; "disableBtnSave": { "alias": "disableBtnSave"; "required": false; }; "actionsSaveToogle": { "alias": "actionsSaveToogle"; "required": false; }; "iconBtnSaveToogle": { "alias": "iconBtnSaveToogle"; "required": false; }; "showBtnSaveToogle": { "alias": "showBtnSaveToogle"; "required": false; }; "txtBtnSaveToogle": { "alias": "txtBtnSaveToogle"; "required": false; }; "actionsToogle": { "alias": "actionsToogle"; "required": false; }; "iconBtnToogle": { "alias": "iconBtnToogle"; "required": false; }; "showBtnToogle": { "alias": "showBtnToogle"; "required": false; }; "txtBtnToogle": { "alias": "txtBtnToogle"; "required": false; }; "disableBtnToogle": { "alias": "disableBtnToogle"; "required": false; }; "positionBtnToogle": { "alias": "positionBtnToogle"; "required": false; }; "classBtnToogle": { "alias": "classBtnToogle"; "required": false; }; "disableBtnSair": { "alias": "disableBtnSair"; "required": false; }; }, { "onSave": "onSave"; "onCancel": "onCancel"; }, never, ["*"], false, never>;
|
|
70
87
|
}
|
|
@@ -2,45 +2,64 @@ import { EventEmitter, OnInit } from '@angular/core';
|
|
|
2
2
|
import { TableConfig } from '../../api/components/table/table.config';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class WorkspaceComponent implements OnInit {
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Nome do usuário logado
|
|
7
|
+
*/
|
|
6
8
|
nomeUsuario: string;
|
|
9
|
+
/**
|
|
10
|
+
* Lista de masters que o usuário tem acesso
|
|
11
|
+
*/
|
|
7
12
|
masters: any[];
|
|
13
|
+
/**
|
|
14
|
+
* Master selecionada pelo usuário
|
|
15
|
+
*/
|
|
16
|
+
masterSelecionada: any;
|
|
17
|
+
/**
|
|
18
|
+
* Selecionar apenas master
|
|
19
|
+
*/
|
|
8
20
|
somenteMaster: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Evento de master selecionada
|
|
23
|
+
*/
|
|
9
24
|
onGetMasterSelecionada: EventEmitter<any>;
|
|
25
|
+
/**
|
|
26
|
+
* Evento de empresa selecionada
|
|
27
|
+
*/
|
|
10
28
|
onGetEmpresaSelecionada: EventEmitter<any>;
|
|
11
29
|
empresas: any[];
|
|
12
|
-
masterSelecionada: any;
|
|
13
30
|
empresaSelecionada: any;
|
|
31
|
+
totalRecordsEmpresa: number;
|
|
32
|
+
showPaginatorEmpresa: boolean;
|
|
14
33
|
visivel: boolean;
|
|
15
34
|
txtPesquisa: string;
|
|
16
35
|
imgPersonagens: string;
|
|
17
36
|
imgLogoKeevo: string;
|
|
18
37
|
styleBackground: string;
|
|
19
38
|
imgLogoKeevoCenter: string;
|
|
39
|
+
dataSourceMaster: any;
|
|
20
40
|
selectedItemMaster: any;
|
|
21
41
|
selectedItemsLoteMaster: any;
|
|
22
|
-
tableSizeMaster: number;
|
|
23
42
|
tableConfigMaster: TableConfig;
|
|
24
|
-
|
|
43
|
+
tableSizeMaster: number;
|
|
44
|
+
dataSourceEmpresa: any;
|
|
25
45
|
selectedItemEmpresa: any;
|
|
26
46
|
selectedItemsLoteEmpresa: any;
|
|
27
|
-
tableSizeEmpresa: number;
|
|
28
47
|
tableConfigEmpresa: TableConfig;
|
|
29
|
-
|
|
48
|
+
tableSizeEmpresa: number;
|
|
30
49
|
constructor();
|
|
50
|
+
activeItemEmpresa(e: any): void;
|
|
51
|
+
activeItemMaster(e: any): void;
|
|
52
|
+
columnConfigTableMaster(): void;
|
|
53
|
+
columnConfigTableEmpresa(): void;
|
|
54
|
+
doubleClickEmpresa(e: any): void;
|
|
55
|
+
doubleClickMaster(e: any): void;
|
|
56
|
+
filtrarEmpresa(event: any): void;
|
|
31
57
|
ngOnInit(): void;
|
|
32
|
-
|
|
58
|
+
selecionarEmpresa(empresa: any): void;
|
|
33
59
|
selecionarMaster(master: any): void;
|
|
34
60
|
verificaEmpresaUnica(): void;
|
|
35
|
-
|
|
61
|
+
verificaMasterUnica(): void;
|
|
36
62
|
voltar(): void;
|
|
37
|
-
filtrarEmpresa(event: any): void;
|
|
38
|
-
columnConfigTableMaster(): void;
|
|
39
|
-
activeItemMaster(e: any): void;
|
|
40
|
-
doubleClickMaster(e: any): void;
|
|
41
|
-
columnConfigTableEmpresa(): void;
|
|
42
|
-
activeItemEmpresa(e: any): void;
|
|
43
|
-
doubleClickEmpresa(e: any): void;
|
|
44
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceComponent, "kv-workspace", never, { "
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceComponent, "kv-workspace", never, { "nomeUsuario": { "alias": "nomeUsuario"; "required": false; }; "masters": { "alias": "masters"; "required": false; }; "masterSelecionada": { "alias": "masterSelecionada"; "required": false; }; "somenteMaster": { "alias": "somenteMaster"; "required": false; }; }, { "onGetMasterSelecionada": "onGetMasterSelecionada"; "onGetEmpresaSelecionada": "onGetEmpresaSelecionada"; }, never, never, false, never>;
|
|
46
65
|
}
|