keevo-components 1.8.38 → 1.8.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. package/esm2022/lib/api/components/table/action-item.mjs +1 -1
  2. package/esm2022/lib/components/keevo-components.module.mjs +2 -9
  3. package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +19 -5
  4. package/esm2022/lib/components/kv-chart/{kvchart.module.mjs → kv-chart.module.mjs} +1 -1
  5. package/esm2022/lib/components/kv-error/kv-error.component.mjs +1 -1
  6. package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +14 -14
  7. package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +3 -3
  8. package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +2 -2
  9. package/esm2022/public-api.mjs +2 -4
  10. package/fesm2022/keevo-components.mjs +35 -410
  11. package/fesm2022/keevo-components.mjs.map +1 -1
  12. package/lib/api/components/table/action-item.d.ts +2 -0
  13. package/lib/components/keevo-components.module.d.ts +5 -6
  14. package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +7 -1
  15. package/lib/components/kv-menu/kv-menu.component.d.ts +6 -7
  16. package/lib/components/kv-table/kv-table.component.d.ts +1 -1
  17. package/package.json +2 -2
  18. package/public-api.d.ts +1 -3
  19. package/esm2022/lib/components/kv-treetable/kv-treetable.component.mjs +0 -371
  20. package/esm2022/lib/components/kv-treetable/kv-treetable.module.mjs +0 -32
  21. package/lib/components/kv-treetable/kv-treetable.component.d.ts +0 -85
  22. package/lib/components/kv-treetable/kv-treetable.module.d.ts +0 -11
  23. /package/lib/components/kv-chart/{kvchart.module.d.ts → kv-chart.module.d.ts} +0 -0
@@ -2,6 +2,8 @@ export interface ActionItem {
2
2
  label: string;
3
3
  icon?: string;
4
4
  color?: string;
5
+ colorHover?: string;
6
+ textColor?: string;
5
7
  disabled?: boolean;
6
8
  visible?: boolean;
7
9
  closeAfterClick?: boolean;
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./kv-avatar/kv-avatar.module";
3
3
  import * as i2 from "./kv-buttons/kv-button.module";
4
4
  import * as i3 from "./kv-carousel/kv-carousel.module";
5
- import * as i4 from "./kv-chart/kvchart.module";
5
+ import * as i4 from "./kv-chart/kv-chart.module";
6
6
  import * as i5 from "./kv-inputs/kv-inputs.module";
7
7
  import * as i6 from "./kv-loader/kv-loader.module";
8
8
  import * as i7 from "./kv-login/kv-login.module";
@@ -14,12 +14,11 @@ import * as i12 from "./kv-pick-list/kv-pick-list.module";
14
14
  import * as i13 from "./kv-progress-bar/kv-progress-bar.module";
15
15
  import * as i14 from "./kv-table/kv-table.module";
16
16
  import * as i15 from "./kv-tree-table/kv-tree-table.module";
17
- import * as i16 from "./kv-treetable/kv-treetable.module";
18
- import * as i17 from "./kv-tree-view/kv-tree-view.module";
19
- import * as i18 from "./kv-workspace/kv-workspace.module";
20
- import * as i19 from "./kv-table-edit/kv-table-edit.module";
17
+ import * as i16 from "./kv-tree-view/kv-tree-view.module";
18
+ import * as i17 from "./kv-workspace/kv-workspace.module";
19
+ import * as i18 from "./kv-table-edit/kv-table-edit.module";
21
20
  export declare class KeevoComponentsModule {
22
21
  static ɵfac: i0.ɵɵFactoryDeclaration<KeevoComponentsModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvCarouselModule, typeof i4.KvChartModule, typeof i5.KvInputsModule, typeof i6.KvLoaderModule, typeof i7.KvLoginModule, typeof i8.KvMenuModule, typeof i9.KvModalModule, typeof i10.KvOrgchartModule, typeof i11.KvPageFormModule, typeof i12.KvPickListModule, typeof i13.KvProgressBarModule, typeof i14.KvTableModule, typeof i15.KvTreetableModule, typeof i16.KVTreeTableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule], [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvCarouselModule, typeof i4.KvChartModule, typeof i5.KvInputsModule, typeof i6.KvLoaderModule, typeof i7.KvLoginModule, typeof i8.KvMenuModule, typeof i9.KvModalModule, typeof i10.KvOrgchartModule, typeof i11.KvPageFormModule, typeof i12.KvPickListModule, typeof i13.KvProgressBarModule, typeof i19.KvTableEditModule, typeof i14.KvTableModule, typeof i15.KvTreetableModule, typeof i16.KVTreeTableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvCarouselModule, typeof i4.KvChartModule, typeof i5.KvInputsModule, typeof i6.KvLoaderModule, typeof i7.KvLoginModule, typeof i8.KvMenuModule, typeof i9.KvModalModule, typeof i10.KvOrgchartModule, typeof i11.KvPageFormModule, typeof i12.KvPickListModule, typeof i13.KvProgressBarModule, typeof i14.KvTableModule, typeof i15.KvTreetableModule, typeof i16.KvtreeViewModule, typeof i17.KvWorkspaceModule], [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvCarouselModule, typeof i4.KvChartModule, typeof i5.KvInputsModule, typeof i6.KvLoaderModule, typeof i7.KvLoginModule, typeof i8.KvMenuModule, typeof i9.KvModalModule, typeof i10.KvOrgchartModule, typeof i11.KvPageFormModule, typeof i12.KvPickListModule, typeof i13.KvProgressBarModule, typeof i18.KvTableEditModule, typeof i14.KvTableModule, typeof i15.KvTreetableModule, typeof i16.KvtreeViewModule, typeof i17.KvWorkspaceModule]>;
24
23
  static ɵinj: i0.ɵɵInjectorDeclaration<KeevoComponentsModule>;
25
24
  }
@@ -1,7 +1,13 @@
1
1
  import { BaseComponentButton } from '../../../api/base-components/base-component-button';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class KvButtonPersonalizeComponent extends BaseComponentButton {
4
+ colorHover: string;
5
+ textColor: string;
6
+ backgroundColor: string;
4
7
  constructor();
8
+ ngOnInit(): void;
9
+ onMouseOver(): void;
10
+ onMouseOut(): void;
5
11
  static ɵfac: i0.ɵɵFactoryDeclaration<KvButtonPersonalizeComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonPersonalizeComponent, "kv-button-personalize", never, {}, {}, never, never, false, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonPersonalizeComponent, "kv-button-personalize", never, { "colorHover": { "alias": "colorHover"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, never, false, never>;
7
13
  }
@@ -1,15 +1,15 @@
1
1
  import { ActivatedRoute, Router } from '@angular/router';
2
2
  import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
3
- import { MasterComboModel } from 'keevo-api-services-keevocenter';
3
+ import { AplicativoModel, MasterComboModel, MenuModel } from 'keevo-api-services-keevocenter';
4
4
  import { OverlayPanel } from 'primeng/overlaypanel';
5
5
  import { Sidebar } from 'primeng/sidebar';
6
6
  import { menuCompletoModel } from '../../api/models/menu/menucompleto.model';
7
- import { menuModel } from '../../api/models/menu/menu.model';
8
7
  import * as i0 from "@angular/core";
9
8
  export declare class KvMenuComponent implements OnInit {
10
9
  private cdr;
11
10
  protected router: Router;
12
11
  private route;
12
+ aplicativos: AplicativoModel[];
13
13
  breadCrumbItems: {
14
14
  label: string;
15
15
  routerLink: string;
@@ -17,7 +17,6 @@ export declare class KvMenuComponent implements OnInit {
17
17
  licencas: MasterComboModel[];
18
18
  licencaSelecionada: MasterComboModel;
19
19
  logoImage: any;
20
- menuCompleto: menuCompletoModel[];
21
20
  nomeUsuario: string;
22
21
  expandMenuEmit: EventEmitter<boolean>;
23
22
  gerenciarKeePassEvent: EventEmitter<any>;
@@ -28,7 +27,7 @@ export declare class KvMenuComponent implements OnInit {
28
27
  sidebarRef: Sidebar;
29
28
  sistemasPanel: OverlayPanel;
30
29
  menusFiltrados: menuCompletoModel[];
31
- menus: menuModel[];
30
+ menus: MenuModel[];
32
31
  expandMenu: boolean;
33
32
  heigthCard: number;
34
33
  mouseOverFilhoIndex: any;
@@ -40,7 +39,7 @@ export declare class KvMenuComponent implements OnInit {
40
39
  callRoute(e: any, expand?: boolean): void;
41
40
  closeCallback(e: Event): void;
42
41
  configurarLicencas(): void;
43
- definirMenusPorSistema(idsistema: number): void;
42
+ definirMenusPorSistema(idaplicativo: number): void;
44
43
  expandMenuEvent(): void;
45
44
  gerenciarKeePass(event: any): void;
46
45
  mascaraNomeLicenca(nomeLicenca: any): string;
@@ -51,11 +50,11 @@ export declare class KvMenuComponent implements OnInit {
51
50
  onMouseFilhoEnter(index: number): void;
52
51
  onMouseLeave(): void;
53
52
  onWindowResize(): void;
54
- retornarMenuFilhos(idsistema: number, idmenu: number): menuModel[] | undefined;
53
+ retornarMenuFilhos(idaplicativo: number, idmenu: number): MenuModel[] | undefined;
55
54
  sair(event: any): void;
56
55
  toggleMenu(): void;
57
56
  trocarLicenca(): void;
58
57
  verificarPaginaSelecionada(link: any): boolean;
59
58
  static ɵfac: i0.ɵɵFactoryDeclaration<KvMenuComponent, never>;
60
- static ɵcmp: i0.ɵɵComponentDeclaration<KvMenuComponent, "kv-menu", never, { "breadCrumbItems": { "alias": "breadCrumbItems"; "required": false; }; "licencas": { "alias": "licencas"; "required": false; }; "licencaSelecionada": { "alias": "licencaSelecionada"; "required": false; }; "logoImage": { "alias": "logoImage"; "required": false; }; "menuCompleto": { "alias": "menuCompleto"; "required": false; }; "nomeUsuario": { "alias": "nomeUsuario"; "required": false; }; }, { "expandMenuEmit": "expandMenuEmit"; "gerenciarKeePassEvent": "gerenciarKeePassEvent"; "licencaChange": "licencaChange"; "sairEvent": "sairEvent"; "trocarLicencaEmit": "trocarLicencaEmit"; }, never, ["*"], false, never>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvMenuComponent, "kv-menu", never, { "aplicativos": { "alias": "aplicativos"; "required": false; }; "breadCrumbItems": { "alias": "breadCrumbItems"; "required": false; }; "licencas": { "alias": "licencas"; "required": false; }; "licencaSelecionada": { "alias": "licencaSelecionada"; "required": false; }; "logoImage": { "alias": "logoImage"; "required": false; }; "nomeUsuario": { "alias": "nomeUsuario"; "required": false; }; }, { "expandMenuEmit": "expandMenuEmit"; "gerenciarKeePassEvent": "gerenciarKeePassEvent"; "licencaChange": "licencaChange"; "sairEvent": "sairEvent"; "trocarLicencaEmit": "trocarLicencaEmit"; }, never, ["*"], false, never>;
61
60
  }
@@ -100,7 +100,7 @@ export declare class KvTableComponent implements OnInit {
100
100
  addColumn(field: string): void;
101
101
  dinamicColumnSet(e: any, col: any): void;
102
102
  checkMenuFiltro(col: any): void;
103
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
103
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
104
104
  callDisabled(action: KvMenuItem, data: any): boolean;
105
105
  dinamicDisableColumn(col: TableConfigColumn): boolean;
106
106
  checkHideColumns(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.38",
3
+ "version": "1.8.40",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.2.12",
6
6
  "@angular/core": "^16.2.12",
@@ -9,7 +9,7 @@
9
9
  "@types/quill": "^2.0.14",
10
10
  "d3": "^7.8.5",
11
11
  "d3-org-chart": "^3.1.1",
12
- "keevo-api-services-keevocenter": "^0.0.43",
12
+ "keevo-api-services-keevocenter": "^0.0.47",
13
13
  "ngx-loading": "^15.0.0",
14
14
  "quill": "^1.3.7"
15
15
  },
package/public-api.d.ts CHANGED
@@ -45,7 +45,7 @@ export * from './lib/components/keevo-components.module';
45
45
  export * from './lib/api/components/chart/chart.config';
46
46
  export * from './lib/api/components/chart/chart.model';
47
47
  export * from './lib/components/kv-chart/kv-chart.component';
48
- export * from './lib/components/kv-chart/kvchart.module';
48
+ export * from './lib/components/kv-chart/kv-chart.module';
49
49
  /**
50
50
  * Error
51
51
  */
@@ -110,8 +110,6 @@ export * from './lib/components/kv-table/kv-table.module';
110
110
  */
111
111
  export * from './lib/components/kv-tree-table/kv-tree-table.component';
112
112
  export * from './lib/components/kv-tree-table/kv-tree-table.module';
113
- export * from './lib/components/kv-treetable/kv-treetable.component';
114
- export * from './lib/components/kv-treetable/kv-treetable.module';
115
113
  /**
116
114
  * Treeview
117
115
  */