keevo-components 1.8.226 → 1.8.228

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 (157) hide show
  1. package/README.md +24 -24
  2. package/esm2022/lib/api/base-components/base-component-button.mjs +1 -1
  3. package/esm2022/lib/api/base-components/base-component-chart.mjs +1 -1
  4. package/esm2022/lib/api/base-components/base-component-crud-form.mjs +1 -1
  5. package/esm2022/lib/api/base-components/base-component-crud-list.mjs +1 -1
  6. package/esm2022/lib/api/base-components/base-component-crud.mjs +1 -1
  7. package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +1 -1
  8. package/esm2022/lib/api/base-components/base-component-dropdown.mjs +1 -1
  9. package/esm2022/lib/api/base-components/base-component-input.mjs +1 -1
  10. package/esm2022/lib/api/base-components/base-component-multi-select.mjs +1 -1
  11. package/esm2022/lib/api/base-components/base-component-table.mjs +1 -1
  12. package/esm2022/lib/api/base-components/base-component.mjs +1 -1
  13. package/esm2022/lib/api/components/chart/chart.config.mjs +1 -1
  14. package/esm2022/lib/api/components/chart/chart.model.mjs +1 -1
  15. package/esm2022/lib/api/components/chart/orchart.config.mjs +1 -1
  16. package/esm2022/lib/api/components/chart/orchart.item.mjs +1 -1
  17. package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +1 -1
  18. package/esm2022/lib/api/components/stepper/kv-stepperpanel.mjs +1 -1
  19. package/esm2022/lib/api/components/table/action-item.mjs +1 -1
  20. package/esm2022/lib/api/components/table/kv-menuitem.mjs +1 -1
  21. package/esm2022/lib/api/components/table/table-dropdown-control.mjs +1 -1
  22. package/esm2022/lib/api/components/table/table.config.column.mjs +1 -1
  23. package/esm2022/lib/api/components/table/table.config.mjs +1 -1
  24. package/esm2022/lib/api/components/table/table.paginate.mjs +1 -1
  25. package/esm2022/lib/api/components/table/tabledit.config.mjs +1 -1
  26. package/esm2022/lib/api/components/table/tableedit.config.column.mjs +1 -1
  27. package/esm2022/lib/api/components/tree-table/tree-table.config.mjs +1 -1
  28. package/esm2022/lib/api/directives/directives.module.mjs +1 -1
  29. package/esm2022/lib/api/directives/drag/drag.directive.mjs +1 -1
  30. package/esm2022/lib/api/directives/stepper/dynamicinput.directive.mjs +1 -1
  31. package/esm2022/lib/api/directives/template/template.directive.mjs +1 -1
  32. package/esm2022/lib/api/helpers/component-providers.mjs +1 -1
  33. package/esm2022/lib/api/helpers/keevo-validators.mjs +1 -1
  34. package/esm2022/lib/api/helpers/translate-primeng.mjs +1 -1
  35. package/esm2022/lib/api/modules/primeng.module.mjs +1 -1
  36. package/esm2022/lib/api/pipes/capitalize.pipe.mjs +1 -1
  37. package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +1 -1
  38. package/esm2022/lib/api/pipes/mask.pipe.mjs +1 -1
  39. package/esm2022/lib/api/pipes/pipes.module.mjs +1 -1
  40. package/esm2022/lib/api/pipes/telefone.pipe.mjs +1 -1
  41. package/esm2022/lib/api/services/base.api.service.mjs +1 -1
  42. package/esm2022/lib/api/services/breadcrumbs.service.mjs +1 -1
  43. package/esm2022/lib/api/services/component.service.mjs +1 -1
  44. package/esm2022/lib/api/services/docs.service.mjs +1 -1
  45. package/esm2022/lib/api/services/form.service.mjs +1 -1
  46. package/esm2022/lib/api/services/imagens.service.mjs +1 -1
  47. package/esm2022/lib/api/services/notification.service.mjs +1 -1
  48. package/esm2022/lib/api/services/object.service.mjs +1 -1
  49. package/esm2022/lib/api/types/severity.mjs +1 -1
  50. package/esm2022/lib/components/keevo-components.module.mjs +8 -8
  51. package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +3 -3
  52. package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +1 -1
  53. package/esm2022/lib/components/kv-button/kv-button.component.mjs +3 -3
  54. package/esm2022/lib/components/kv-button/kv-button.module.mjs +1 -1
  55. package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +3 -3
  56. package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +3 -3
  57. package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +3 -3
  58. package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +3 -3
  59. package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +1 -1
  60. package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +3 -3
  61. package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +1 -1
  62. package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +3 -3
  63. package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +1 -1
  64. package/esm2022/lib/components/kv-error/kv-error.component.mjs +3 -3
  65. package/esm2022/lib/components/kv-error/kv-error.module.mjs +1 -1
  66. package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.component.mjs +3 -3
  67. package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.module.mjs +1 -1
  68. package/esm2022/lib/components/kv-filter-card/kv-filter-card.component.mjs +3 -3
  69. package/esm2022/lib/components/kv-filter-card/kv-filter-card.module.mjs +1 -1
  70. package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.mjs +3 -3
  71. package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.mjs +1 -1
  72. package/esm2022/lib/components/kv-g-icon/kv-g-icon.component.mjs +1 -1
  73. package/esm2022/lib/components/kv-g-icon/kv-g-icon.module.mjs +1 -1
  74. package/esm2022/lib/components/kv-home-card/kv-home-card.component.mjs +3 -3
  75. package/esm2022/lib/components/kv-home-card/kv-home-card.module.mjs +1 -1
  76. package/esm2022/lib/components/kv-image-upload/kv-image-upload.component.mjs +3 -3
  77. package/esm2022/lib/components/kv-image-upload/kv-image-upload.module.mjs +1 -1
  78. package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +3 -3
  79. package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +3 -3
  80. package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +3 -3
  81. package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +3 -3
  82. package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +3 -3
  83. package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +3 -3
  84. package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +3 -3
  85. package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +3 -3
  86. package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +3 -3
  87. package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +3 -3
  88. package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +3 -3
  89. package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +1 -1
  90. package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +3 -3
  91. package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +3 -3
  92. package/esm2022/lib/components/kv-inputs/kv-select-button/kv-select-button.component.mjs +3 -3
  93. package/esm2022/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.mjs +3 -3
  94. package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +3 -3
  95. package/esm2022/lib/components/kv-label/kv-label.component.mjs +3 -3
  96. package/esm2022/lib/components/kv-label/kv-label.module.mjs +1 -1
  97. package/esm2022/lib/components/kv-layout/dropdown-master/dropdown-master.component.mjs +28 -0
  98. package/esm2022/lib/components/kv-layout/kv-layout.module.mjs +50 -0
  99. package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +239 -0
  100. package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +3 -3
  101. package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +1 -1
  102. package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +1 -1
  103. package/esm2022/lib/components/kv-login/kv-login.component.mjs +3 -3
  104. package/esm2022/lib/components/kv-login/kv-login.module.mjs +1 -1
  105. package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +3 -3
  106. package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +1 -1
  107. package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +3 -3
  108. package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +1 -1
  109. package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +3 -3
  110. package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +1 -1
  111. package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.component.mjs +3 -3
  112. package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.module.mjs +1 -1
  113. package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +3 -3
  114. package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +1 -1
  115. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +3 -3
  116. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +1 -1
  117. package/esm2022/lib/components/kv-report/kv-report.component.mjs +3 -3
  118. package/esm2022/lib/components/kv-report/kv-report.module.mjs +1 -1
  119. package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +3 -3
  120. package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +1 -1
  121. package/esm2022/lib/components/kv-table/kv-table.component.mjs +3 -3
  122. package/esm2022/lib/components/kv-table/kv-table.module.mjs +1 -1
  123. package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +3 -3
  124. package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +1 -1
  125. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +3 -3
  126. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.module.mjs +1 -1
  127. package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +3 -3
  128. package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +1 -1
  129. package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +3 -3
  130. package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +1 -1
  131. package/esm2022/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.mjs +72 -0
  132. package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +15 -6
  133. package/esm2022/lib/components/kv-workspace/logo/kv-workspace-logo.component.mjs +22 -0
  134. package/esm2022/lib/components/kv-workspace/master/kv-workspace-master.component.mjs +63 -0
  135. package/esm2022/lib/components/kv-workspace/workspace/kv-workspace.component.mjs +61 -0
  136. package/esm2022/public-api.mjs +4 -4
  137. package/fesm2022/keevo-components.mjs +397 -289
  138. package/fesm2022/keevo-components.mjs.map +1 -1
  139. package/lib/components/keevo-components.module.d.ts +2 -2
  140. package/lib/components/kv-layout/dropdown-master/dropdown-master.component.d.ts +12 -0
  141. package/lib/components/kv-layout/kv-layout.module.d.ts +14 -0
  142. package/lib/components/kv-layout/layout/kv-layout.component.d.ts +105 -0
  143. package/lib/components/kv-table/kv-table.component.d.ts +1 -1
  144. package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +1 -1
  145. package/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.d.ts +20 -0
  146. package/lib/components/kv-workspace/kv-workspace.module.d.ts +12 -9
  147. package/lib/components/kv-workspace/logo/kv-workspace-logo.component.d.ts +11 -0
  148. package/lib/components/kv-workspace/master/kv-workspace-master.component.d.ts +18 -0
  149. package/lib/components/kv-workspace/workspace/kv-workspace.component.d.ts +26 -0
  150. package/package.json +1 -1
  151. package/public-api.d.ts +3 -3
  152. package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +0 -198
  153. package/esm2022/lib/components/kv-menu/kv-menu.module.mjs +0 -47
  154. package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +0 -167
  155. package/lib/components/kv-menu/kv-menu.component.d.ts +0 -59
  156. package/lib/components/kv-menu/kv-menu.module.d.ts +0 -13
  157. package/lib/components/kv-workspace/kv-workspace.component.d.ts +0 -65
@@ -7,7 +7,7 @@ import * as i5 from "./kv-chart/kv-chart.module";
7
7
  import * as i6 from "./kv-inputs/kv-inputs.module";
8
8
  import * as i7 from "./kv-loader/kv-loader.module";
9
9
  import * as i8 from "./kv-login/kv-login.module";
10
- import * as i9 from "./kv-menu/kv-menu.module";
10
+ import * as i9 from "./kv-layout/kv-layout.module";
11
11
  import * as i10 from "./kv-modal/kv-modal.module";
12
12
  import * as i11 from "./kv-orgchart/kv-orgchart.module";
13
13
  import * as i12 from "./kv-page-form/kv-page-form.module";
@@ -27,6 +27,6 @@ import * as i25 from "./kv-filter-fieldset/kv-filter-fieldset.module";
27
27
  import * as i26 from "./kv-table-edit/kv-table-edit.module";
28
28
  export declare class KeevoComponentsModule {
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<KeevoComponentsModule, never>;
30
- 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.KvMenuModule, 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.KvFilterFieldsetModule], [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.KvMenuModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i26.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 i25.KvFilterFieldsetModule]>;
30
+ 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.KvFilterFieldsetModule], [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 i26.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 i25.KvFilterFieldsetModule]>;
31
31
  static ɵinj: i0.ɵɵInjectorDeclaration<KeevoComponentsModule>;
32
32
  }
@@ -0,0 +1,12 @@
1
+ import { DialogService } from 'primeng/dynamicdialog';
2
+ import { BaseComponentDropDownExternal } from '../../../api/base-components/base-component-dropdown-external';
3
+ import { ComponentService } from '../../../api/services/component.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class DropdownMasterComponent extends BaseComponentDropDownExternal {
6
+ formControlName: string;
7
+ masters: any[];
8
+ constructor(componentService: ComponentService, dialogService: DialogService);
9
+ protected listar(): import("rxjs").Observable<any[]>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMasterComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMasterComponent, "dropdown-master", never, { "formControlName": { "alias": "formControlName"; "required": false; }; "masters": { "alias": "masters"; "required": false; }; }, {}, never, never, false, never>;
12
+ }
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dropdown-master/dropdown-master.component";
3
+ import * as i2 from "./layout/kv-layout.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/forms";
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";
10
+ export declare class KvLayoutModule {
11
+ 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]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvLayoutModule>;
14
+ }
@@ -0,0 +1,105 @@
1
+ import { Router } from '@angular/router';
2
+ import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
3
+ import { OverlayPanel } from 'primeng/overlaypanel';
4
+ import { Sidebar } from 'primeng/sidebar';
5
+ import { FormBuilder, FormGroup } from '@angular/forms';
6
+ import * as i0 from "@angular/core";
7
+ export declare class KvLayoutComponent implements OnInit, OnChanges {
8
+ private cdr;
9
+ private fb;
10
+ protected router: Router;
11
+ apps: {
12
+ idaplicativo: number;
13
+ idsistema: number;
14
+ nomeaplicativo: string;
15
+ descricaoaplicativo: string;
16
+ rotapadrao: string;
17
+ indpublicado: boolean;
18
+ indpublicacaogradativa: boolean;
19
+ indexigeempresaentrada: boolean;
20
+ }[];
21
+ breadCrumbItems: {
22
+ label: string;
23
+ routerLink: string;
24
+ }[];
25
+ masters: {
26
+ idmaster: number;
27
+ cpfcnpj: string;
28
+ nome: string;
29
+ idmasternome: string;
30
+ }[];
31
+ menus: {
32
+ idmenu: number;
33
+ idmenupai: number | null;
34
+ idaplicativo: number;
35
+ descricaomenu: string;
36
+ link: string | null;
37
+ icone: string | null;
38
+ indpublicado: boolean;
39
+ indmenupai: boolean;
40
+ listaidvisaomenu: number[];
41
+ }[];
42
+ expandMenu: boolean;
43
+ logoMenuExpand: any;
44
+ logoMenuHide: any;
45
+ selectedApp: number;
46
+ selectedEmpresa: any;
47
+ selectedMaster: number;
48
+ showButtonApps: boolean;
49
+ showButtonUser: boolean;
50
+ showExpandMenu: boolean;
51
+ showDropdownLicenca: boolean;
52
+ showMenu: boolean;
53
+ showTrocaEmpresa: boolean;
54
+ userName: string;
55
+ accessKeePassEmit: EventEmitter<any>;
56
+ changeEmpresaEmit: EventEmitter<boolean>;
57
+ changeLicenseEmit: EventEmitter<number>;
58
+ expandMenuEmit: EventEmitter<boolean>;
59
+ logoutEmit: EventEmitter<any>;
60
+ selectAppEmit: EventEmitter<number>;
61
+ meusDadosPanel: OverlayPanel;
62
+ sidebarRef: Sidebar;
63
+ sistemasPanel: OverlayPanel;
64
+ formGroup: FormGroup;
65
+ heightCard: number;
66
+ mouseOverFilhoIndex: any;
67
+ mouseOverIndex: any;
68
+ widthCard: number;
69
+ constructor(cdr: ChangeDetectorRef, fb: FormBuilder, router: Router);
70
+ accessKeePass(event: any): void;
71
+ adjustHeightCard(): number;
72
+ private adjustWidthCard;
73
+ callRoute(e: any, expand?: boolean): void;
74
+ changeEmpresa(event: any): void;
75
+ changeLicense(event: any): void;
76
+ private expandMenuEvent;
77
+ logout(event: any): void;
78
+ private menusPerApp;
79
+ nameEmpresa(nomeLicenca: any): string;
80
+ private navigateToFirstMenu;
81
+ private navigateToMenu;
82
+ ngOnChanges(changes: SimpleChanges): void;
83
+ ngOnInit(): void;
84
+ onMouseEnter(index: number): void;
85
+ onMouseEnterChild(index: number): void;
86
+ onMouseLeave(): void;
87
+ onWindowResize(): void;
88
+ returnMenuChild(idmenu: number): {
89
+ idmenu: number;
90
+ idmenupai: number | null;
91
+ idaplicativo: number;
92
+ descricaomenu: string;
93
+ link: string | null;
94
+ icone: string | null;
95
+ indpublicado: boolean;
96
+ indmenupai: boolean;
97
+ listaidvisaomenu: number[];
98
+ }[];
99
+ selectApp(idaplicativo: number): void;
100
+ showLicencas(): boolean;
101
+ toggleMenu(): void;
102
+ verifySelectedPage(link: any): boolean;
103
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvLayoutComponent, never>;
104
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvLayoutComponent, "kv-layout", never, { "apps": { "alias": "apps"; "required": false; }; "breadCrumbItems": { "alias": "breadCrumbItems"; "required": false; }; "masters": { "alias": "masters"; "required": false; }; "menus": { "alias": "menus"; "required": false; }; "expandMenu": { "alias": "expandMenu"; "required": false; }; "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; }; }, { "accessKeePassEmit": "accessKeePassEmit"; "changeEmpresaEmit": "changeEmpresaEmit"; "changeLicenseEmit": "changeLicenseEmit"; "expandMenuEmit": "expandMenuEmit"; "logoutEmit": "logoutEmit"; "selectAppEmit": "selectAppEmit"; }, never, ["*"], false, never>;
105
+ }
@@ -124,7 +124,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
124
124
  onClickEvent(event: any): void;
125
125
  styleSetter(style: string, data: string): void;
126
126
  checkMenuFiltro(col: any): void;
127
- sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
127
+ sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
128
128
  dinamicDisableColumn(col: TableConfigColumn): boolean;
129
129
  checkHideColumns(): void;
130
130
  getCustomTemplate(templatename: string): TemplateRef<any>;
@@ -61,7 +61,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
61
61
  onGlobalFilter(table: Table, event: Event): void;
62
62
  adicionaAcoesTabela(): void;
63
63
  checkMenuFiltro(col: any): void;
64
- sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
64
+ sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
65
65
  dinamicDisableColumn(col: TableConfigColumn): boolean;
66
66
  dinamicColumnSet(e: any, col: any): void;
67
67
  addColumn(field: string): void;
@@ -0,0 +1,20 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { TableConfig } from '../../../api/components/table/table.config';
3
+ import * as i0 from "@angular/core";
4
+ export declare class WorkspaceEmpresaComponent implements OnInit {
5
+ tableConfig: TableConfig;
6
+ empresas: any[];
7
+ empresaSelecionada: any;
8
+ totalEmpresas: number;
9
+ onEmpresaSelecionada: EventEmitter<any>;
10
+ onPaginate: EventEmitter<any>;
11
+ constructor();
12
+ ngOnInit(): void;
13
+ activeItem(e: any): void;
14
+ configTable(): void;
15
+ doubleClick(e: any): void;
16
+ paginate(event: any): void;
17
+ selecionarEmpresa(empresa: any): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceEmpresaComponent, never>;
19
+ 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>;
20
+ }
@@ -1,14 +1,17 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./kv-workspace.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../../api/modules/primeng.module";
5
- import * as i4 from "@angular/forms";
6
- import * as i5 from "primeng/progressspinner";
7
- import * as i6 from "primeng/autocomplete";
8
- import * as i7 from "../kv-buttons/kv-button.module";
9
- import * as i8 from "../kv-table/kv-table.module";
2
+ import * as i1 from "./workspace/kv-workspace.component";
3
+ import * as i2 from "./empresa/kv-workspace-empresa.component";
4
+ import * as i3 from "./logo/kv-workspace-logo.component";
5
+ import * as i4 from "./master/kv-workspace-master.component";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "../../api/modules/primeng.module";
8
+ import * as i7 from "@angular/forms";
9
+ import * as i8 from "primeng/progressspinner";
10
+ import * as i9 from "primeng/autocomplete";
11
+ import * as i10 from "../kv-buttons/kv-button.module";
12
+ import * as i11 from "../kv-table/kv-table.module";
10
13
  export declare class KvWorkspaceModule {
11
14
  static ɵfac: i0.ɵɵFactoryDeclaration<KvWorkspaceModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<KvWorkspaceModule, [typeof i1.WorkspaceComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.ReactiveFormsModule, typeof i5.ProgressSpinnerModule, typeof i6.AutoCompleteModule, typeof i4.FormsModule, typeof i7.KvButtonsModule, typeof i8.KvTableModule], [typeof i1.WorkspaceComponent]>;
15
+ 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 i1.WorkspaceComponent]>;
13
16
  static ɵinj: i0.ɵɵInjectorDeclaration<KvWorkspaceModule>;
14
17
  }
@@ -0,0 +1,11 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class WokspaceLogoComponent implements OnInit {
4
+ imgLogoKeevoCenter: string;
5
+ nomeUsuario: string;
6
+ masterSelecionada: any;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<WokspaceLogoComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<WokspaceLogoComponent, "kv-workspace-logo", never, { "imgLogoKeevoCenter": { "alias": "imgLogoKeevoCenter"; "required": false; }; "nomeUsuario": { "alias": "nomeUsuario"; "required": false; }; "masterSelecionada": { "alias": "masterSelecionada"; "required": false; }; }, {}, never, never, false, never>;
11
+ }
@@ -0,0 +1,18 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { TableConfig } from '../../../api/components/table/table.config';
3
+ import * as i0 from "@angular/core";
4
+ export declare class WorkspaceMasterComponent implements OnInit {
5
+ dataSource: any;
6
+ tableConfig: TableConfig;
7
+ masters: any[];
8
+ masterSelecionada: any;
9
+ onMasterSelecionada: EventEmitter<any>;
10
+ constructor();
11
+ ngOnInit(): void;
12
+ activeItem(e: any): void;
13
+ configTable(): void;
14
+ doubleClick(e: any): void;
15
+ selecionarMaster(master: any): void;
16
+ 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>;
18
+ }
@@ -0,0 +1,26 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class WorkspaceComponent implements OnInit {
4
+ imgLogoKeevo: string;
5
+ imgLogoKeevoCenter: string;
6
+ imgPersonagens: string;
7
+ styleBackground: string;
8
+ nomeUsuario: string;
9
+ somenteMaster: boolean;
10
+ visivel: boolean;
11
+ empresas: any[];
12
+ empresaSelecionada: any;
13
+ totalEmpresas: number;
14
+ masters: any[];
15
+ masterSelecionada: any;
16
+ onGetMasterSelecionada: EventEmitter<any>;
17
+ onGetEmpresaSelecionada: EventEmitter<any>;
18
+ onPaginate: EventEmitter<any>;
19
+ constructor();
20
+ ngOnInit(): void;
21
+ paginate(event: any): void;
22
+ selecionarEmpresa(empresa: any): void;
23
+ selecionarMaster(event: any): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceComponent, "kv-workspace-1", never, { "nomeUsuario": { "alias": "nomeUsuario"; "required": false; }; "somenteMaster": { "alias": "somenteMaster"; "required": false; }; "visivel": { "alias": "visivel"; "required": false; }; "empresas": { "alias": "empresas"; "required": false; }; "empresaSelecionada": { "alias": "empresaSelecionada"; "required": false; }; "totalEmpresas": { "alias": "totalEmpresas"; "required": false; }; "masters": { "alias": "masters"; "required": false; }; "masterSelecionada": { "alias": "masterSelecionada"; "required": false; }; }, { "onGetMasterSelecionada": "onGetMasterSelecionada"; "onGetEmpresaSelecionada": "onGetEmpresaSelecionada"; "onPaginate": "onPaginate"; }, never, never, false, never>;
26
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.226",
3
+ "version": "1.8.228",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
package/public-api.d.ts CHANGED
@@ -130,8 +130,8 @@ export * from './lib/components/kv-tree-view/kv-tree-view.module';
130
130
  /**
131
131
  * Componente de menu + layout
132
132
  */
133
- export * from './lib/components/kv-menu/kv-menu.component';
134
- export * from './lib/components/kv-menu/kv-menu.module';
133
+ export * from './lib/components/kv-layout/layout/kv-layout.component';
134
+ export * from './lib/components/kv-layout/kv-layout.module';
135
135
  /**
136
136
  * Componente de login
137
137
  */
@@ -141,7 +141,7 @@ export * from './lib/components/kv-login/kv-login.module';
141
141
  * Componente de workspaces
142
142
  */
143
143
  export * from './lib/components/kv-workspace/kv-workspace.module';
144
- export * from './lib/components/kv-workspace/kv-workspace.component';
144
+ export * from './lib/components/kv-workspace/workspace/kv-workspace.component';
145
145
  /**
146
146
  * Formulário base
147
147
  */