keevo-components 1.8.510 → 1.8.511

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.
Files changed (61) hide show
  1. package/esm2022/lib/api/services/image.cutter.service.mjs +2 -2
  2. package/esm2022/lib/components/keevo-components.module.mjs +14 -7
  3. package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +2 -2
  4. package/esm2022/lib/components/kv-button/kv-button.component.mjs +4 -3
  5. package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +2 -2
  6. package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +3 -3
  7. package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +2 -2
  8. package/esm2022/lib/components/kv-home-card/kv-home-card.component.mjs +1 -1
  9. package/esm2022/lib/components/kv-icon/kv-icon.component.mjs +24 -0
  10. package/esm2022/lib/components/kv-icon/kv-icon.module.mjs +24 -0
  11. package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +2 -2
  12. package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +2 -2
  13. package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +5 -5
  14. package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +2 -2
  15. package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +2 -2
  16. package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +2 -2
  17. package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +2 -2
  18. package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +2 -2
  19. package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +2 -2
  20. package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +2 -2
  21. package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +2 -2
  22. package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +2 -2
  23. package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +2 -2
  24. package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +2 -2
  25. package/esm2022/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.mjs +2 -2
  26. package/esm2022/lib/components/kv-layout/dropdown-master/dropdown-master.component.mjs +5 -4
  27. package/esm2022/lib/components/kv-layout/kv-layout.module.mjs +22 -4
  28. package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +112 -48
  29. package/esm2022/lib/components/kv-layout/top-icons/top-icons.component.mjs +18 -0
  30. package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +1 -1
  31. package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +1 -1
  32. package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +1 -1
  33. package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.component.mjs +6 -8
  34. package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.module.mjs +8 -4
  35. package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +3 -15
  36. package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +5 -7
  37. package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +11 -4
  38. package/esm2022/lib/components/kv-table/kv-table.component.mjs +1 -1
  39. package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +1 -1
  40. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +1 -1
  41. package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +1 -1
  42. package/esm2022/lib/components/kv-workspace/workspace/kv-workspace.component.mjs +1 -1
  43. package/esm2022/public-api.mjs +6 -1
  44. package/fesm2022/keevo-components.mjs +271 -134
  45. package/fesm2022/keevo-components.mjs.map +1 -1
  46. package/lib/components/keevo-components.module.d.ts +3 -2
  47. package/lib/components/kv-button/kv-button.component.d.ts +3 -2
  48. package/lib/components/kv-icon/kv-icon.component.d.ts +13 -0
  49. package/lib/components/kv-icon/kv-icon.module.d.ts +8 -0
  50. package/lib/components/kv-layout/kv-layout.module.d.ts +7 -4
  51. package/lib/components/kv-layout/layout/kv-layout.component.d.ts +47 -33
  52. package/lib/components/kv-layout/top-icons/top-icons.component.d.ts +15 -0
  53. package/lib/components/kv-page-stepper/kv-page-stepper.module.d.ts +2 -1
  54. package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +1 -5
  55. package/lib/components/kv-stepper/kv-stepper.module.d.ts +2 -1
  56. package/lib/components/kv-table/kv-table.component.d.ts +1 -1
  57. package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +1 -1
  58. package/package.json +1 -1
  59. package/public-api.d.ts +5 -0
  60. package/src/lib/components/keevo-components-styles.scss +59 -3
  61. package/src/lib/components/kv-button/kv-button.component.scss +145 -0
@@ -26,9 +26,10 @@ import * as i24 from "./kv-file-viewer/kv-file-viewer.module";
26
26
  import * as i25 from "./kv-file-viewer-novo/kv-file-viewer-novo.module";
27
27
  import * as i26 from "./kv-filter-fieldset/kv-filter-fieldset.module";
28
28
  import * as i27 from "./kv-card-selection/kv-card-selection.module";
29
- import * as i28 from "./kv-table-edit/kv-table-edit.module";
29
+ import * as i28 from "./kv-icon/kv-icon.module";
30
+ import * as i29 from "./kv-table-edit/kv-table-edit.module";
30
31
  export declare class KeevoComponentsModule {
31
32
  static ɵfac: i0.ɵɵFactoryDeclaration<KeevoComponentsModule, never>;
32
- static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvLayoutModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i25.KvFileViewerNovoModule, typeof i26.KvFilterFieldsetModule, typeof i27.KvCardSelectionModule], [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvLayoutModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i28.KvTableEditModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i26.KvFilterFieldsetModule, typeof i25.KvFileViewerNovoModule, typeof i27.KvCardSelectionModule]>;
33
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvLayoutModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i25.KvFileViewerNovoModule, typeof i26.KvFilterFieldsetModule, typeof i27.KvCardSelectionModule, typeof i28.KvIconModule], [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvLayoutModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i29.KvTableEditModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i26.KvFilterFieldsetModule, typeof i25.KvFileViewerNovoModule, typeof i27.KvCardSelectionModule, typeof i28.KvIconModule]>;
33
34
  static ɵinj: i0.ɵɵInjectorDeclaration<KeevoComponentsModule>;
34
35
  }
@@ -1,14 +1,15 @@
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<"text" | "outline" | undefined>;
4
+ type: import("@angular/core").InputSignal<"outline" | "text" | 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">;
8
8
  icon: import("@angular/core").InputSignal<string>;
9
+ iconPosition: import("@angular/core").InputSignal<"left" | "right">;
9
10
  label: import("@angular/core").InputSignal<string>;
10
11
  disabled: import("@angular/core").InputSignal<boolean>;
11
12
  onClick: import("@angular/core").OutputEmitterRef<any>;
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<KvButtonComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonComponent, "kv-button", never, { "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, never, false, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonComponent, "kv-button", never, { "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, never, false, never>;
14
15
  }
@@ -0,0 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class KvIconComponent {
4
+ icon: import("@angular/core").InputSignal<string | undefined>;
5
+ size: import("@angular/core").InputSignal<string>;
6
+ numNotifications: import("@angular/core").InputSignal<number>;
7
+ onClick: import("@angular/core").OutputEmitterRef<EventEmitter<any>>;
8
+ img: import("@angular/core").InputSignal<string | undefined>;
9
+ clickable: import("@angular/core").InputSignal<boolean>;
10
+ click(e: any): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvIconComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvIconComponent, "kv-icon", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "numNotifications": { "alias": "numNotifications"; "required": false; "isSignal": true; }; "img": { "alias": "img"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, never, false, never>;
13
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kv-icon.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class KvIconModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvIconModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvIconModule, [typeof i1.KvIconComponent], [typeof i2.CommonModule], [typeof i1.KvIconComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvIconModule>;
8
+ }
@@ -4,11 +4,14 @@ import * as i2 from "./layout/kv-layout.component";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "@angular/forms";
6
6
  import * as i5 from "../kv-buttons/kv-button.module";
7
- import * as i6 from "../kv-inputs/kv-inputs.module";
8
- import * as i7 from "../../api/pipes/pipes.module";
9
- import * as i8 from "../../api/modules/primeng.module";
7
+ import * as i6 from "../kv-button/kv-button.module";
8
+ import * as i7 from "../kv-icon/kv-icon.module";
9
+ import * as i8 from "../kv-inputs/kv-inputs.module";
10
+ import * as i9 from "../../api/pipes/pipes.module";
11
+ import * as i10 from "../../api/modules/primeng.module";
12
+ import * as i11 from "./top-icons/top-icons.component";
10
13
  export declare class KvLayoutModule {
11
14
  static ɵfac: i0.ɵɵFactoryDeclaration<KvLayoutModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<KvLayoutModule, [typeof i1.DropdownMasterComponent, typeof i2.KvLayoutComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.KvButtonsModule, typeof i6.KvInputsModule, typeof i7.PipesModule, typeof i8.PrimeNgModule, typeof i4.ReactiveFormsModule], [typeof i2.KvLayoutComponent]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvLayoutModule, [typeof i1.DropdownMasterComponent, typeof i2.KvLayoutComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.KvButtonsModule, typeof i6.KvButtonModule, typeof i7.KvIconModule, typeof i8.KvInputsModule, typeof i9.PipesModule, typeof i10.PrimeNgModule, typeof i4.ReactiveFormsModule, typeof i11.TopIconsComponent, typeof i6.KvButtonModule, typeof i10.PrimeNgModule], [typeof i2.KvLayoutComponent]>;
13
16
  static ɵinj: i0.ɵɵInjectorDeclaration<KvLayoutModule>;
14
17
  }
@@ -1,9 +1,22 @@
1
1
  import { ActivatedRoute, Router } from '@angular/router';
2
- import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef, WritableSignal } from '@angular/core';
2
+ import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges, WritableSignal } from '@angular/core';
3
3
  import { OverlayPanel } from 'primeng/overlaypanel';
4
- import { Sidebar } from 'primeng/sidebar';
5
4
  import { FormBuilder, FormGroup } from '@angular/forms';
5
+ import { TopActionsModel } from '../top-icons/top-icons.component';
6
6
  import * as i0 from "@angular/core";
7
+ export interface LayoutMenuItem {
8
+ idmenu: number;
9
+ idmenupai: number | null;
10
+ idaplicativo: number;
11
+ descricaomenu: string;
12
+ link: string | null;
13
+ icone: string | null;
14
+ indpublicado: boolean;
15
+ indmenupai: boolean;
16
+ listaidvisaomenu: number[];
17
+ bgColor?: string;
18
+ textColor?: string;
19
+ }
7
20
  export declare class KvLayoutComponent implements OnInit, OnChanges {
8
21
  private cdr;
9
22
  private fb;
@@ -25,6 +38,29 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
25
38
  label: string;
26
39
  action: () => void;
27
40
  }[];
41
+ /**
42
+ * Indica quais menus são visíveis no topo.
43
+ *
44
+ * @type {Array<{id: number, numNotifications?: number, action?: (e: any) => void}>}
45
+ *
46
+ * Opções disponíveis:
47
+ * - 2 - Notificações
48
+ * - 3 - Comunicador
49
+ * - 4 - Kiara
50
+ * - 5 - Tarefas
51
+ *
52
+ * @property {number} id - identificador do menu.
53
+ * @property {number} [numNotifications] - Número de notificações (opcional).
54
+ * @property {(e: any) => void} [action] - Ação do clique, que retorna o evento do clique (optional).
55
+ *
56
+ */
57
+ topMenusVisible: import("@angular/core").InputSignal<{
58
+ id: number;
59
+ numNotifications?: number | undefined;
60
+ action?: ((e: any) => void) | undefined;
61
+ }[]>;
62
+ topMenuOptions: TopActionsModel[];
63
+ profileImage: import("@angular/core").InputSignal<string>;
28
64
  breadCrumbItems: {
29
65
  label: string;
30
66
  routerLink: string;
@@ -35,19 +71,9 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
35
71
  nome: string;
36
72
  idmasternome: string;
37
73
  }[];
38
- menus: {
39
- idmenu: number;
40
- idmenupai: number | null;
41
- idaplicativo: number;
42
- descricaomenu: string;
43
- link: string | null;
44
- icone: string | null;
45
- indpublicado: boolean;
46
- indmenupai: boolean;
47
- listaidvisaomenu: number[];
48
- bgColor?: string;
49
- textColor?: string;
50
- }[];
74
+ menus: import("@angular/core").ModelSignal<LayoutMenuItem[]>;
75
+ menuVisivel: WritableSignal<number | undefined>;
76
+ showMenuSistemas: WritableSignal<boolean>;
51
77
  expandMenu: import("@angular/core").ModelSignal<boolean>;
52
78
  logoMenuExpand: any;
53
79
  logoMenuHide: any;
@@ -60,6 +86,7 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
60
86
  showDropdownLicenca: boolean;
61
87
  showMenu: boolean;
62
88
  showTrocaEmpresa: boolean;
89
+ showBreadcrumb: boolean;
63
90
  userName: string;
64
91
  masterName: string;
65
92
  empresaName: string;
@@ -71,9 +98,6 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
71
98
  selectAppEmit: EventEmitter<number>;
72
99
  navigateToDefaultRouteEmit: EventEmitter<any>;
73
100
  meusDadosPanel: OverlayPanel;
74
- sidebarRef: Sidebar;
75
- sistemasPanel: OverlayPanel;
76
- topMenuActions: import("@angular/core").Signal<readonly TemplateRef<any>[]>;
77
101
  formGroup: FormGroup;
78
102
  heightCard: number;
79
103
  mouseOverFilhoIndex: any;
@@ -81,6 +105,8 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
81
105
  widthCard: number;
82
106
  widthPage: WritableSignal<number>;
83
107
  constructor(cdr: ChangeDetectorRef, fb: FormBuilder, router: Router, activatedRoute: ActivatedRoute);
108
+ ngOnInit(): void;
109
+ processarMenus(): void;
84
110
  accessKeePass(event: any): void;
85
111
  adjustHeightCard(): number;
86
112
  private adjustWidthCard;
@@ -96,28 +122,16 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
96
122
  private navigateToMenu;
97
123
  menuSelecionado: WritableSignal<any>;
98
124
  ngOnChanges(changes: SimpleChanges): void;
99
- ngOnInit(): void;
100
125
  onWindowResize(): void;
101
126
  isSelectedMenuPai(menu: any): boolean;
102
127
  selecionarMenu(): void;
103
- returnMenuChild(idmenu: number): {
104
- idmenu: number;
105
- idmenupai: number | null;
106
- idaplicativo: number;
107
- descricaomenu: string;
108
- link: string | null;
109
- icone: string | null;
110
- indpublicado: boolean;
111
- indmenupai: boolean;
112
- listaidvisaomenu: number[];
113
- bgColor?: string | undefined;
114
- textColor?: string | undefined;
115
- }[];
128
+ returnMenuChild(idmenu: number): LayoutMenuItem[];
116
129
  selectApp(idaplicativo: number): void;
117
130
  showLicencas(): boolean;
118
131
  toggleMenu(): void;
119
132
  navigateToDefaultRoute(): void;
120
133
  get exibirNomes(): string | false;
134
+ exibirMenuChild(event: any, index: number): void;
121
135
  static ɵfac: i0.ɵɵFactoryDeclaration<KvLayoutComponent, never>;
122
- static ɵcmp: i0.ɵɵComponentDeclaration<KvLayoutComponent, "kv-layout", never, { "apps": { "alias": "apps"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "breadCrumbItems": { "alias": "breadCrumbItems"; "required": false; }; "masters": { "alias": "masters"; "required": false; }; "menus": { "alias": "menus"; "required": false; }; "expandMenu": { "alias": "expandMenu"; "required": false; "isSignal": true; }; "logoMenuExpand": { "alias": "logoMenuExpand"; "required": false; }; "logoMenuHide": { "alias": "logoMenuHide"; "required": false; }; "selectedApp": { "alias": "selectedApp"; "required": false; }; "selectedEmpresa": { "alias": "selectedEmpresa"; "required": false; }; "selectedMaster": { "alias": "selectedMaster"; "required": false; }; "showButtonApps": { "alias": "showButtonApps"; "required": false; }; "showButtonUser": { "alias": "showButtonUser"; "required": false; }; "showExpandMenu": { "alias": "showExpandMenu"; "required": false; }; "showDropdownLicenca": { "alias": "showDropdownLicenca"; "required": false; }; "showMenu": { "alias": "showMenu"; "required": false; }; "showTrocaEmpresa": { "alias": "showTrocaEmpresa"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "masterName": { "alias": "masterName"; "required": false; }; "empresaName": { "alias": "empresaName"; "required": false; }; }, { "expandMenu": "expandMenuChange"; "accessKeePassEmit": "accessKeePassEmit"; "changeEmpresaEmit": "changeEmpresaEmit"; "changeLicenseEmit": "changeLicenseEmit"; "expandMenuEmit": "expandMenuEmit"; "logoutEmit": "logoutEmit"; "selectAppEmit": "selectAppEmit"; "navigateToDefaultRouteEmit": "navigateToDefaultRouteEmit"; }, ["topMenuActions"], ["*"], false, never>;
136
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvLayoutComponent, "kv-layout", never, { "apps": { "alias": "apps"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "topMenusVisible": { "alias": "topMenusVisible"; "required": false; "isSignal": true; }; "profileImage": { "alias": "profileImage"; "required": false; "isSignal": true; }; "breadCrumbItems": { "alias": "breadCrumbItems"; "required": false; }; "masters": { "alias": "masters"; "required": false; }; "menus": { "alias": "menus"; "required": false; "isSignal": true; }; "expandMenu": { "alias": "expandMenu"; "required": false; "isSignal": true; }; "logoMenuExpand": { "alias": "logoMenuExpand"; "required": false; }; "logoMenuHide": { "alias": "logoMenuHide"; "required": false; }; "selectedApp": { "alias": "selectedApp"; "required": false; }; "selectedEmpresa": { "alias": "selectedEmpresa"; "required": false; }; "selectedMaster": { "alias": "selectedMaster"; "required": false; }; "showButtonApps": { "alias": "showButtonApps"; "required": false; }; "showButtonUser": { "alias": "showButtonUser"; "required": false; }; "showExpandMenu": { "alias": "showExpandMenu"; "required": false; }; "showDropdownLicenca": { "alias": "showDropdownLicenca"; "required": false; }; "showMenu": { "alias": "showMenu"; "required": false; }; "showTrocaEmpresa": { "alias": "showTrocaEmpresa"; "required": false; }; "showBreadcrumb": { "alias": "showBreadcrumb"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "masterName": { "alias": "masterName"; "required": false; }; "empresaName": { "alias": "empresaName"; "required": false; }; }, { "menus": "menusChange"; "expandMenu": "expandMenuChange"; "accessKeePassEmit": "accessKeePassEmit"; "changeEmpresaEmit": "changeEmpresaEmit"; "changeLicenseEmit": "changeLicenseEmit"; "expandMenuEmit": "expandMenuEmit"; "logoutEmit": "logoutEmit"; "selectAppEmit": "selectAppEmit"; "navigateToDefaultRouteEmit": "navigateToDefaultRouteEmit"; }, never, ["*"], false, never>;
123
137
  }
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ export interface TopActionsModel {
3
+ id: number;
4
+ visible: boolean;
5
+ icon?: string;
6
+ tooltip?: string;
7
+ numNotifications?: number;
8
+ img?: string;
9
+ action: (e: any) => void;
10
+ }
11
+ export declare class TopIconsComponent {
12
+ topActions: import("@angular/core").InputSignal<TopActionsModel[]>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<TopIconsComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<TopIconsComponent, "kv-top-icons", never, { "topActions": { "alias": "topActions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
15
+ }
@@ -6,8 +6,9 @@ import * as i4 from "../../api/modules/primeng.module";
6
6
  import * as i5 from "../kv-buttons/kv-button.module";
7
7
  import * as i6 from "../kv-stepper/kv-stepper.module";
8
8
  import * as i7 from "../../api/directives/directives.module";
9
+ import * as i8 from "../kv-button/kv-button.module";
9
10
  export declare class KvPageStepperodule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<KvPageStepperodule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<KvPageStepperodule, [typeof i1.KvPageStepperComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PrimeNgModule, typeof i5.KvButtonsModule, typeof i3.ReactiveFormsModule, typeof i6.KvStepperModule, typeof i7.DirectiveModule], [typeof i1.KvPageStepperComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvPageStepperodule, [typeof i1.KvPageStepperComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PrimeNgModule, typeof i5.KvButtonsModule, typeof i3.ReactiveFormsModule, typeof i6.KvStepperModule, typeof i7.DirectiveModule, typeof i8.KvButtonModule], [typeof i1.KvPageStepperComponent]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<KvPageStepperodule>;
13
14
  }
@@ -27,8 +27,6 @@ export declare class KvPickListComponent implements OnInit {
27
27
  onMoveToTarget: EventEmitter<any>;
28
28
  onMoveAllToSource: EventEmitter<any>;
29
29
  onMoveAllToTarget: EventEmitter<any>;
30
- onSourceSelect: EventEmitter<any>;
31
- onTargetSelect: EventEmitter<any>;
32
30
  selectedPreview: any;
33
31
  ngModel: boolean;
34
32
  selectedItems: {
@@ -38,13 +36,11 @@ export declare class KvPickListComponent implements OnInit {
38
36
  OnMoveToTarget(event: any): void;
39
37
  OnMoveAllToSource(event: any): void;
40
38
  OnMoveAllToTarget(event: any): void;
41
- OnSourceSelect(event: any): void;
42
- OnTargetSelect(event: any): void;
43
39
  onSelectAll(): void;
44
40
  selectAllItems(isSelected: boolean): void;
45
41
  selectCheckBox(item: any): void;
46
42
  isItemSelected(item: any): boolean;
47
43
  ngOnInit(): void;
48
44
  static ɵfac: i0.ɵɵFactoryDeclaration<KvPickListComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<KvPickListComponent, "kv-picklist", never, { "itemIdField": { "alias": "itemIdField"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; "dragdrop": { "alias": "dragdrop"; "required": false; }; "filterBy": { "alias": "filterBy"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "source": { "alias": "source"; "required": false; }; "sourceHeader": { "alias": "sourceHeader"; "required": false; }; "sourceStyle": { "alias": "sourceStyle"; "required": false; }; "stripedRows": { "alias": "stripedRows"; "required": false; }; "target": { "alias": "target"; "required": false; }; "targetHeader": { "alias": "targetHeader"; "required": false; }; "targetStyle": { "alias": "targetStyle"; "required": false; }; "showSourceControls": { "alias": "showSourceControls"; "required": false; }; "showTargetControls": { "alias": "showTargetControls"; "required": false; }; "showCheckBox": { "alias": "showCheckBox"; "required": false; }; }, { "onMoveToSource": "onMoveToSource"; "onMoveToTarget": "onMoveToTarget"; "onMoveAllToSource": "onMoveAllToSource"; "onMoveAllToTarget": "onMoveAllToTarget"; "onSourceSelect": "onSourceSelect"; "onTargetSelect": "onTargetSelect"; }, never, never, false, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvPickListComponent, "kv-picklist", never, { "itemIdField": { "alias": "itemIdField"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; "dragdrop": { "alias": "dragdrop"; "required": false; }; "filterBy": { "alias": "filterBy"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "source": { "alias": "source"; "required": false; }; "sourceHeader": { "alias": "sourceHeader"; "required": false; }; "sourceStyle": { "alias": "sourceStyle"; "required": false; }; "stripedRows": { "alias": "stripedRows"; "required": false; }; "target": { "alias": "target"; "required": false; }; "targetHeader": { "alias": "targetHeader"; "required": false; }; "targetStyle": { "alias": "targetStyle"; "required": false; }; "showSourceControls": { "alias": "showSourceControls"; "required": false; }; "showTargetControls": { "alias": "showTargetControls"; "required": false; }; "showCheckBox": { "alias": "showCheckBox"; "required": false; }; }, { "onMoveToSource": "onMoveToSource"; "onMoveToTarget": "onMoveToTarget"; "onMoveAllToSource": "onMoveAllToSource"; "onMoveAllToTarget": "onMoveAllToTarget"; }, never, never, false, never>;
50
46
  }
@@ -5,8 +5,9 @@ import * as i3 from "../../api/modules/primeng.module";
5
5
  import * as i4 from "primeng/stepper";
6
6
  import * as i5 from "../kv-buttons/kv-button.module";
7
7
  import * as i6 from "../../api/directives/directives.module";
8
+ import * as i7 from "../kv-button/kv-button.module";
8
9
  export declare class KvStepperModule {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<KvStepperModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<KvStepperModule, [typeof i1.KvStepperComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.StepperModule, typeof i5.KvButtonsModule, typeof i6.DirectiveModule], [typeof i1.KvStepperComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvStepperModule, [typeof i1.KvStepperComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.StepperModule, typeof i5.KvButtonsModule, typeof i6.DirectiveModule, typeof i7.KvButtonModule, typeof i7.KvButtonModule], [typeof i1.KvStepperComponent]>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<KvStepperModule>;
12
13
  }
@@ -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) => 0 | 1 | -1;
142
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -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) => 0 | 1 | -1;
71
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
72
72
  dinamicDisableColumn(col: TableConfigColumn): boolean;
73
73
  dinamicColumnSet(e: any, col: any): void;
74
74
  addColumn(field: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.510",
3
+ "version": "1.8.511",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
package/public-api.d.ts CHANGED
@@ -249,3 +249,8 @@ export * from './lib/components/kv-avatar/kv-avatar.module';
249
249
  */
250
250
  export * from './lib/components/kv-card-selection/kv-card-selection.component';
251
251
  export * from './lib/components/kv-card-selection/kv-card-selection.module';
252
+ /**
253
+ * Card Selection
254
+ */
255
+ export * from './lib/components/kv-icon/kv-icon.component';
256
+ export * from './lib/components/kv-icon/kv-icon.module';
@@ -2,17 +2,72 @@
2
2
  @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
3
3
  @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
4
4
 
5
- $font-family-keevo: "Inter var", "Inter", sans-serif;
5
+ @import url("https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/dist/tabler-icons.min.css");
6
+ // @import url("./styles/tabler-icons.css");
7
+
8
+ $font-family-keevo: "Inter", "Inter var", sans-serif;
6
9
 
7
10
  // Importar outras fontes
8
11
  @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0");
9
12
 
10
13
  ::ng-deep :root {
14
+ --kv-color-system: 10,58,120;
15
+ --kv-color-system-cta: 76, 175, 80;
16
+ --kv-color-text: 0, 0, 0;
17
+ --kv-color-text-inv: 255, 255, 165;
18
+ --kv-background-system: 248,250,253;
19
+ --kv-background-card: 255,255,255;
20
+
11
21
  --kv-primary-color: 41, 185, 45;
12
22
  --kv-secondary-color: 0, 37, 66;
13
23
  --kv-tertiary-color: 165, 165, 165;
14
24
  }
15
25
 
26
+ ::ng-deep .padrao {
27
+ --kv-color-system: 10,58,120;
28
+ --kv-color-system-cta: 76, 175, 80;
29
+ --kv-color-text: 0, 0, 0;
30
+ --kv-background-system: 248,250,253;
31
+ --kv-background-card: 255,255,255;
32
+ }
33
+
34
+ ::ng-deep .theme-keevocenter {
35
+ --kv-color-system: 88,25,153;
36
+ --kv-color-system-cta: 0, 116, 217;
37
+ --kv-color-text: 0, 0, 0;
38
+ --kv-color-text-inv: 255, 255, 165;
39
+ --kv-background-system: 248,250,253;
40
+ --kv-background-card: 255,255,255;
41
+ }
42
+
43
+ ::ng-deep .theme-holos {
44
+ --kv-color-system: 241,90,36;
45
+ --kv-color-system-cta: 224, 168, 35;
46
+ --kv-color-text: 0, 0, 0;
47
+ --kv-color-text-inv: 255, 255, 165;
48
+ --kv-background-system: 240,240,240;
49
+ --kv-background-card: 2255,255,255;
50
+ }
51
+
52
+
53
+
54
+ .system-color{
55
+ color: rgb(var(--kv-color-system), 1);
56
+ }
57
+
58
+ .bg-system-100{
59
+ background: rgb(var(--kv-color-system), 1);
60
+ }
61
+ .bg-system-75{
62
+ background: rgb(var(--kv-color-system), .75);
63
+ }
64
+ .bg-system-50{
65
+ background: rgb(var(--kv-color-system), .5);
66
+ }
67
+ .bg-system-25{
68
+ background: rgb(var(--kv-color-system), .25);
69
+ }
70
+
16
71
  .material-symbols-outlined {
17
72
  font-family: "Material Symbols Outlined" !important;
18
73
  }
@@ -118,11 +173,12 @@ $font-family-keevo: "Inter var", "Inter", sans-serif;
118
173
  }
119
174
 
120
175
  ::ng-deep .p-dialog .p-dialog-header {
121
- color: white !important;
122
- background: #002542 !important;
176
+ color: rgb(var(--kv-color-text)) !important;
177
+ background: rgb(var(--kv-background-card)) !important;
123
178
  display: flex !important;
124
179
  flex-wrap: wrap;
125
180
  word-wrap: break-word;
181
+ border-bottom: 1px solid rgb(var(--kv-color-text), 0.15);
126
182
  }
127
183
 
128
184
  ::ng-deep .p-dialog .p-dialog-content {
@@ -201,3 +201,148 @@
201
201
  background-color: rgba(var(--kv-tertiary-color), 0.2);
202
202
  }
203
203
  }
204
+
205
+
206
+ // =======================================================================
207
+ // ==================== NOVO CSS DO BOTÃO ================================
208
+ // ======== AGUARDAR PUBLICAÇÃO DO REINF PARA LIBERAÇÃO ==================
209
+ // =======================================================================
210
+
211
+ // @import "../keevo-components-styles.scss";
212
+
213
+ // ::ng-deep .kv-button .p-button-loading-icon svg {
214
+ // width: 100%;
215
+ // height: 100%;
216
+ // display: block;
217
+ // }
218
+
219
+ // ::ng-deep .kv-button .p-button-loading-icon svg g {
220
+ // transform: translate(0, 0);
221
+ // }
222
+
223
+ // ::ng-deep .kv-button {
224
+ // border: none;
225
+ // // padding: 0.4rem;
226
+ // display: flex;
227
+ // flex-direction: row;
228
+ // align-items: center;
229
+ // justify-content: center;
230
+ // gap: 0.125rem;
231
+
232
+ // .kv-button-label {
233
+ // font-weight: 500;
234
+ // }
235
+
236
+ // :focus {
237
+ // outline: none;
238
+ // box-shadow: none;
239
+ // }
240
+ // }
241
+
242
+ // ::ng-deep .small {
243
+ // height: 1.625rem;
244
+ // min-width: 1.625rem;
245
+
246
+ // .kv-button-label {
247
+ // font-size: 0.625rem;
248
+ // }
249
+
250
+ // .kv-button-icon {
251
+ // font-size: 0.75rem;
252
+ // }
253
+
254
+ // .p-button-loading-icon {
255
+ // width: 0.55rem;
256
+ // height: 0.55rem;
257
+ // }
258
+ // }
259
+
260
+ // ::ng-deep .normal {
261
+ // height: 1.875rem;
262
+ // min-width: 1.875rem;
263
+
264
+ // .kv-button-label {
265
+ // font-size: 0.825rem;
266
+ // }
267
+
268
+ // .kv-button-icon {
269
+ // font-size: 1rem;
270
+ // }
271
+
272
+ // .p-button-loading-icon {
273
+ // width: 0.75rem;
274
+ // height: 0.75rem;
275
+ // }
276
+ // }
277
+
278
+ // ::ng-deep .large {
279
+ // height: 2.125rem;
280
+ // min-width: 2.125rem;
281
+
282
+ // .kv-button-label {
283
+ // font-size: 1rem;
284
+ // }
285
+
286
+ // .kv-button-icon {
287
+ // font-size: 1.25rem;
288
+ // }
289
+
290
+ // .p-button-loading-icon {
291
+ // width: 0.875rem;
292
+ // height: 0.875rem;
293
+ // }
294
+ // }
295
+
296
+ // //Primary button
297
+ // ::ng-deep .primary {
298
+ // background-color: rgb(var(--kv-color-system));
299
+ // &:hover {
300
+ // background-color: rgba(var(--kv-color-system), 0.8);
301
+ // }
302
+
303
+ // &:active {
304
+ // background-color: rgba(var(--kv-color-system), 0.95);
305
+ // }
306
+ // }
307
+
308
+ // ::ng-deep .secondary {
309
+ // border: solid 0.5px rgb(var(--kv-color-system));
310
+ // background-color: white;
311
+ // color: rgb(var(--kv-color-system));
312
+
313
+ // &:hover {
314
+ // background-color: rgb(var(--kv-color-system),0.1);
315
+ // }
316
+
317
+ // &:active {
318
+ // background-color: rgba(var(--kv-color-system), 0.8);
319
+ // }
320
+ // }
321
+
322
+ // ::ng-deep .tertiary {
323
+ // opacity: 0.9;
324
+ // background-color: transparent;
325
+ // color: rgb(var(--kv-color-system));
326
+
327
+ // &:hover {
328
+ // background-color: rgba(var(--kv-color-system), 0.1);
329
+ // }
330
+
331
+ // &:active {
332
+ // background-color: rgba(var(--kv-color-system), 0.2);
333
+ // }
334
+ // }
335
+
336
+ // ::ng-deep .callToAction {
337
+ // opacity: 0.9;
338
+ // background-color: transparent;
339
+ // color: rgb(var(--kv-color-system));
340
+
341
+ // &:hover {
342
+ // background-color: rgba(var(--kv-color-system), 0.1);
343
+ // }
344
+
345
+ // &:active {
346
+ // background-color: rgba(var(--kv-color-system), 0.2);
347
+ // }
348
+ // }