keevo-components 1.8.519 → 1.8.521
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-card-selection/kv-card-selection.component.mjs +3 -3
- package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +3 -3
- package/esm2022/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.mjs +5 -44
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +8 -4
- package/esm2022/lib/components/kv-workspace/master/kv-workspace-master.component.mjs +20 -5
- package/esm2022/lib/components/kv-workspace/workspace/kv-workspace.component.mjs +51 -16
- package/fesm2022/keevo-components.mjs +74 -62
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-button/kv-button.component.d.ts +1 -1
- package/lib/components/kv-table/kv-table.component.d.ts +1 -1
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +1 -1
- package/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.d.ts +2 -9
- package/lib/components/kv-workspace/kv-workspace.module.d.ts +2 -1
- package/lib/components/kv-workspace/master/kv-workspace-master.component.d.ts +8 -1
- package/lib/components/kv-workspace/workspace/kv-workspace.component.d.ts +16 -5
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class KvButtonComponent {
|
|
3
3
|
fullWidth: import("@angular/core").InputSignal<boolean>;
|
|
4
|
-
type: import("@angular/core").InputSignal<"
|
|
4
|
+
type: import("@angular/core").InputSignal<"text" | "outline" | undefined>;
|
|
5
5
|
loading: import("@angular/core").InputSignal<boolean>;
|
|
6
6
|
severity: import("@angular/core").InputSignal<"primary" | "secondary" | "tertiary">;
|
|
7
7
|
size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
|
|
@@ -139,7 +139,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
139
139
|
onClickEvent(event: any): void;
|
|
140
140
|
styleSetter(style: string, data: string): void;
|
|
141
141
|
checkMenuFiltro(col: TableConfigColumn): void;
|
|
142
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
142
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
143
143
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
144
144
|
checkHideColumns(): void;
|
|
145
145
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
@@ -68,7 +68,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
|
|
|
68
68
|
onGlobalFilter(table: Table, event: Event): void;
|
|
69
69
|
executeCollapsed(): void;
|
|
70
70
|
checkMenuFiltro(col: any): void;
|
|
71
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
71
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
72
72
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
73
73
|
dinamicColumnSet(e: any, col: any): void;
|
|
74
74
|
addColumn(field: string): void;
|
|
@@ -1,19 +1,12 @@
|
|
|
1
|
-
import { EventEmitter
|
|
2
|
-
import { TableConfig } from '../../../api/components/table/table.config';
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class WorkspaceEmpresaComponent
|
|
5
|
-
tableConfig: TableConfig;
|
|
3
|
+
export declare class WorkspaceEmpresaComponent {
|
|
6
4
|
empresas: any[];
|
|
7
5
|
empresaSelecionada: any;
|
|
8
6
|
totalEmpresas: number;
|
|
9
7
|
onEmpresaSelecionada: EventEmitter<any>;
|
|
10
8
|
onPaginate: EventEmitter<any>;
|
|
11
9
|
constructor();
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
activeItem(e: any): void;
|
|
14
|
-
configTable(): void;
|
|
15
|
-
doubleClick(e: any): void;
|
|
16
|
-
paginate(event: any): void;
|
|
17
10
|
selecionarEmpresa(empresa: any): void;
|
|
18
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceEmpresaComponent, never>;
|
|
19
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceEmpresaComponent, "kv-workspace-empresa", never, { "empresas": { "alias": "empresas"; "required": false; }; "empresaSelecionada": { "alias": "empresaSelecionada"; "required": false; }; "totalEmpresas": { "alias": "totalEmpresas"; "required": false; }; }, { "onEmpresaSelecionada": "onEmpresaSelecionada"; "onPaginate": "onPaginate"; }, never, never, false, never>;
|
|
@@ -11,8 +11,9 @@ import * as i9 from "primeng/autocomplete";
|
|
|
11
11
|
import * as i10 from "../kv-buttons/kv-button.module";
|
|
12
12
|
import * as i11 from "../kv-table/kv-table.module";
|
|
13
13
|
import * as i12 from "../kv-button/kv-button.module";
|
|
14
|
+
import * as i13 from "../kv-inputs/kv-inputs.module";
|
|
14
15
|
export declare class KvWorkspaceModule {
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvWorkspaceModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KvWorkspaceModule, [typeof i1.WorkspaceComponent, typeof i2.WorkspaceEmpresaComponent, typeof i3.WokspaceLogoComponent, typeof i4.WorkspaceMasterComponent], [typeof i5.CommonModule, typeof i6.PrimeNgModule, typeof i7.ReactiveFormsModule, typeof i8.ProgressSpinnerModule, typeof i9.AutoCompleteModule, typeof i7.FormsModule, typeof i10.KvButtonsModule, typeof i11.KvTableModule, typeof i12.KvButtonModule], [typeof i1.WorkspaceComponent]>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvWorkspaceModule, [typeof i1.WorkspaceComponent, typeof i2.WorkspaceEmpresaComponent, typeof i3.WokspaceLogoComponent, typeof i4.WorkspaceMasterComponent], [typeof i5.CommonModule, typeof i6.PrimeNgModule, typeof i7.ReactiveFormsModule, typeof i8.ProgressSpinnerModule, typeof i9.AutoCompleteModule, typeof i7.FormsModule, typeof i10.KvButtonsModule, typeof i11.KvTableModule, typeof i12.KvButtonModule, typeof i13.KvInputsModule], [typeof i1.WorkspaceComponent]>;
|
|
17
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<KvWorkspaceModule>;
|
|
18
19
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { TableConfig } from '../../../api/components/table/table.config';
|
|
3
|
+
import { CpfCnpjPipe } from '../../../api/pipes/cpfcnpj.pipe';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class WorkspaceMasterComponent implements OnInit {
|
|
5
6
|
dataSource: any;
|
|
@@ -7,6 +8,12 @@ export declare class WorkspaceMasterComponent implements OnInit {
|
|
|
7
8
|
masters: any[];
|
|
8
9
|
masterSelecionada: any;
|
|
9
10
|
onMasterSelecionada: EventEmitter<any>;
|
|
11
|
+
emptyText: import("@angular/core").InputSignal<string>;
|
|
12
|
+
widthScreen: import("@angular/core").WritableSignal<number>;
|
|
13
|
+
cpfCnpjPipe: CpfCnpjPipe;
|
|
14
|
+
isEmpresa: import("@angular/core").Signal<(cpfCnpj: string) => boolean>;
|
|
15
|
+
transformRazaoSocial: import("@angular/core").Signal<(razaosocial: string) => string>;
|
|
16
|
+
transformCpfCnpj: import("@angular/core").Signal<(cpfCnpj: string) => string | null>;
|
|
10
17
|
constructor();
|
|
11
18
|
ngOnInit(): void;
|
|
12
19
|
activeItem(e: any): void;
|
|
@@ -14,5 +21,5 @@ export declare class WorkspaceMasterComponent implements OnInit {
|
|
|
14
21
|
doubleClick(e: any): void;
|
|
15
22
|
selecionarMaster(master: any): void;
|
|
16
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceMasterComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceMasterComponent, "kv-workspace-master", never, { "masters": { "alias": "masters"; "required": false; }; "masterSelecionada": { "alias": "masterSelecionada"; "required": false; }; }, { "onMasterSelecionada": "onMasterSelecionada"; }, never, never, false, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceMasterComponent, "kv-workspace-master", never, { "masters": { "alias": "masters"; "required": false; }; "masterSelecionada": { "alias": "masterSelecionada"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; }, { "onMasterSelecionada": "onMasterSelecionada"; }, never, never, false, never>;
|
|
18
25
|
}
|
|
@@ -1,29 +1,40 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class WorkspaceComponent implements OnInit {
|
|
4
5
|
imgLogoKeevo: string;
|
|
5
6
|
imgPersonagens: string;
|
|
6
7
|
backgroundImg: string;
|
|
7
|
-
logoKeevoCenter: string;
|
|
8
|
-
nomeUsuario: string;
|
|
9
8
|
somenteMaster: boolean;
|
|
10
9
|
visivel: boolean;
|
|
11
10
|
showBtnVoltar: boolean;
|
|
12
|
-
empresas: any[];
|
|
13
11
|
empresaSelecionada: any;
|
|
14
12
|
totalEmpresas: number;
|
|
15
|
-
masters: any[];
|
|
16
13
|
masterSelecionada: any;
|
|
17
14
|
onGetMasterSelecionada: EventEmitter<any>;
|
|
18
15
|
onGetEmpresaSelecionada: EventEmitter<any>;
|
|
19
16
|
onPaginate: EventEmitter<any>;
|
|
20
17
|
onBtnVoltarClick: EventEmitter<any>;
|
|
18
|
+
fb: FormBuilder;
|
|
19
|
+
masters: import("@angular/core").InputSignal<any[]>;
|
|
20
|
+
empresas: import("@angular/core").InputSignal<any[]>;
|
|
21
|
+
nomeUsuario: import("@angular/core").InputSignal<string>;
|
|
22
|
+
workspaceForm: FormGroup;
|
|
23
|
+
filteredMasters: import("@angular/core").WritableSignal<any>;
|
|
24
|
+
filteredEmpresas: import("@angular/core").WritableSignal<any>;
|
|
25
|
+
widthScreen: import("@angular/core").WritableSignal<number>;
|
|
26
|
+
logoKeevoCenter: import("@angular/core").InputSignal<string>;
|
|
27
|
+
onFilter: import("@angular/core").OutputEmitterRef<any>;
|
|
28
|
+
minWidthCard: import("@angular/core").Signal<"100%" | "45rem">;
|
|
29
|
+
filtrarVisivel: import("@angular/core").Signal<boolean>;
|
|
21
30
|
constructor();
|
|
22
31
|
ngOnInit(): void;
|
|
23
32
|
paginate(event: any): void;
|
|
24
33
|
OnBtnVoltarClick(): void;
|
|
25
34
|
selecionarEmpresa(empresa: any): void;
|
|
26
35
|
selecionarMaster(event: any): void;
|
|
36
|
+
buscarMasters(): void;
|
|
37
|
+
buscarEmpresas(): void;
|
|
27
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceComponent, "kv-workspace", never, { "backgroundImg": { "alias": "backgroundImg"; "required": false; }; "
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceComponent, "kv-workspace", never, { "backgroundImg": { "alias": "backgroundImg"; "required": false; }; "somenteMaster": { "alias": "somenteMaster"; "required": false; }; "visivel": { "alias": "visivel"; "required": false; }; "showBtnVoltar": { "alias": "showBtnVoltar"; "required": false; }; "empresaSelecionada": { "alias": "empresaSelecionada"; "required": false; }; "totalEmpresas": { "alias": "totalEmpresas"; "required": false; }; "masterSelecionada": { "alias": "masterSelecionada"; "required": false; }; "masters": { "alias": "masters"; "required": false; "isSignal": true; }; "empresas": { "alias": "empresas"; "required": false; "isSignal": true; }; "nomeUsuario": { "alias": "nomeUsuario"; "required": false; "isSignal": true; }; "logoKeevoCenter": { "alias": "logoKeevoCenter"; "required": false; "isSignal": true; }; }, { "onGetMasterSelecionada": "onGetMasterSelecionada"; "onGetEmpresaSelecionada": "onGetEmpresaSelecionada"; "onPaginate": "onPaginate"; "onBtnVoltarClick": "onBtnVoltarClick"; "onFilter": "onFilter"; }, never, never, false, never>;
|
|
29
40
|
}
|