keevo-components 1.8.154 → 1.8.155

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 (129) 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 +17 -2
  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/table/action-item.mjs +1 -1
  19. package/esm2022/lib/api/components/table/kv-menuitem.mjs +1 -1
  20. package/esm2022/lib/api/components/table/table-dropdown-control.mjs +1 -1
  21. package/esm2022/lib/api/components/table/table.config.column.mjs +1 -1
  22. package/esm2022/lib/api/components/table/table.config.mjs +1 -1
  23. package/esm2022/lib/api/components/table/table.paginate.mjs +1 -1
  24. package/esm2022/lib/api/components/table/tabledit.config.mjs +1 -1
  25. package/esm2022/lib/api/components/table/tableedit.config.column.mjs +1 -1
  26. package/esm2022/lib/api/components/tree-table/tree-table.config.mjs +1 -1
  27. package/esm2022/lib/api/directives/template/template.directive.mjs +1 -1
  28. package/esm2022/lib/api/helpers/component-providers.mjs +1 -1
  29. package/esm2022/lib/api/helpers/keevo-validators.mjs +1 -1
  30. package/esm2022/lib/api/helpers/translate-primeng.mjs +1 -1
  31. package/esm2022/lib/api/modules/primeng.module.mjs +1 -1
  32. package/esm2022/lib/api/pipes/capitalize.pipe.mjs +1 -1
  33. package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +1 -1
  34. package/esm2022/lib/api/pipes/mask.pipe.mjs +1 -1
  35. package/esm2022/lib/api/pipes/pipes.module.mjs +1 -1
  36. package/esm2022/lib/api/pipes/telefone.pipe.mjs +1 -1
  37. package/esm2022/lib/api/services/base.api.service.mjs +1 -1
  38. package/esm2022/lib/api/services/breadcrumbs.service.mjs +1 -1
  39. package/esm2022/lib/api/services/component.service.mjs +1 -1
  40. package/esm2022/lib/api/services/docs.service.mjs +1 -1
  41. package/esm2022/lib/api/services/form.service.mjs +1 -1
  42. package/esm2022/lib/api/services/imagens.service.mjs +1 -1
  43. package/esm2022/lib/api/services/notification.service.mjs +1 -1
  44. package/esm2022/lib/api/services/object.service.mjs +1 -1
  45. package/esm2022/lib/api/types/severity.mjs +1 -1
  46. package/esm2022/lib/components/keevo-components.module.mjs +14 -7
  47. package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +3 -3
  48. package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +1 -1
  49. package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +3 -3
  50. package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +3 -3
  51. package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +3 -3
  52. package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +3 -3
  53. package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +1 -1
  54. package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +3 -3
  55. package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +1 -1
  56. package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +3 -3
  57. package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +1 -1
  58. package/esm2022/lib/components/kv-error/kv-error.component.mjs +3 -3
  59. package/esm2022/lib/components/kv-error/kv-error.module.mjs +1 -1
  60. package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.component.mjs +33 -0
  61. package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.module.mjs +20 -0
  62. package/esm2022/lib/components/kv-filter-card/kv-filter-card.component.mjs +3 -3
  63. package/esm2022/lib/components/kv-filter-card/kv-filter-card.module.mjs +1 -1
  64. package/esm2022/lib/components/kv-g-icon/kv-g-icon.component.mjs +1 -1
  65. package/esm2022/lib/components/kv-g-icon/kv-g-icon.module.mjs +1 -1
  66. package/esm2022/lib/components/kv-image-upload/kv-image-upload.component.mjs +3 -3
  67. package/esm2022/lib/components/kv-image-upload/kv-image-upload.module.mjs +1 -1
  68. package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +3 -3
  69. package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +3 -3
  70. package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +3 -3
  71. package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +3 -3
  72. package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +3 -3
  73. package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +3 -3
  74. package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +3 -3
  75. package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +3 -3
  76. package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +3 -3
  77. package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +3 -3
  78. package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +3 -3
  79. package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +1 -1
  80. package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +3 -3
  81. package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +3 -3
  82. package/esm2022/lib/components/kv-inputs/kv-select-button/kv-select-button.component.mjs +3 -3
  83. package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +3 -3
  84. package/esm2022/lib/components/kv-label/kv-label.component.mjs +3 -3
  85. package/esm2022/lib/components/kv-label/kv-label.module.mjs +1 -1
  86. package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +3 -3
  87. package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +1 -1
  88. package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +1 -1
  89. package/esm2022/lib/components/kv-login/kv-login.component.mjs +3 -3
  90. package/esm2022/lib/components/kv-login/kv-login.module.mjs +1 -1
  91. package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +3 -3
  92. package/esm2022/lib/components/kv-menu/kv-menu.module.mjs +1 -1
  93. package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +3 -3
  94. package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +1 -1
  95. package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +3 -3
  96. package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +1 -1
  97. package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +3 -3
  98. package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +1 -1
  99. package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +3 -3
  100. package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +1 -1
  101. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +3 -3
  102. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +1 -1
  103. package/esm2022/lib/components/kv-report/kv-report.component.mjs +3 -3
  104. package/esm2022/lib/components/kv-report/kv-report.module.mjs +1 -1
  105. package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +3 -3
  106. package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +1 -1
  107. package/esm2022/lib/components/kv-table/kv-table.component.mjs +3 -3
  108. package/esm2022/lib/components/kv-table/kv-table.module.mjs +1 -1
  109. package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +3 -3
  110. package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +1 -1
  111. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +3 -3
  112. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.module.mjs +1 -1
  113. package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +3 -3
  114. package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +1 -1
  115. package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +3 -3
  116. package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +1 -1
  117. package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +3 -3
  118. package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +1 -1
  119. package/esm2022/public-api.mjs +6 -1
  120. package/fesm2022/keevo-components.mjs +158 -91
  121. package/fesm2022/keevo-components.mjs.map +1 -1
  122. package/lib/api/base-components/base-component-dropdown.d.ts +3 -0
  123. package/lib/components/keevo-components.module.d.ts +3 -2
  124. package/lib/components/kv-file-viewer/kv-file-viewer.component.d.ts +17 -0
  125. package/lib/components/kv-file-viewer/kv-file-viewer.module.d.ts +8 -0
  126. package/lib/components/kv-table/kv-table.component.d.ts +1 -1
  127. package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +1 -1
  128. package/package.json +1 -1
  129. package/public-api.d.ts +5 -0
@@ -26,14 +26,17 @@ export declare abstract class BaseComponentDropDown extends BaseComponentInput<a
26
26
  onSelectionChange: EventEmitter<any>;
27
27
  onSelectionValue: EventEmitter<any>;
28
28
  requestComplete: EventEmitter<any>;
29
+ loading: boolean;
29
30
  constructor(componentService: ComponentService, dialogService: DialogService);
30
31
  ngOnInit(): void;
31
32
  protected addClick(event: Event): void;
32
33
  carregarCombo(filtro?: filtroCombo): void;
33
34
  protected carregarComboObs(obs: Observable<any>): void;
35
+ emptyMessage(): "Digite para pesquisar" | "Nenhum resultado encontrado";
34
36
  filterOptions(field: string, value: any): void;
35
37
  protected listar(): any;
36
38
  protected listarCombo(value: any): any;
39
+ loadingCombo: () => any;
37
40
  protected openDialog(componentType: Type<any>, width?: string, height?: string): void;
38
41
  protected onInputChange(event: any): void;
39
42
  onInputClick(event: any): void;
@@ -21,9 +21,10 @@ import * as i19 from "./kv-image-upload/kv-image-upload.module";
21
21
  import * as i20 from "./kv-table-expandable/kv-table-expandable.module";
22
22
  import * as i21 from "./kv-g-icon/kv-g-icon.module";
23
23
  import * as i22 from "./kv-filter-card/kv-filter-card.module";
24
- import * as i23 from "./kv-table-edit/kv-table-edit.module";
24
+ import * as i23 from "./kv-file-viewer/kv-file-viewer.module";
25
+ import * as i24 from "./kv-table-edit/kv-table-edit.module";
25
26
  export declare class KeevoComponentsModule {
26
27
  static ɵfac: i0.ɵɵFactoryDeclaration<KeevoComponentsModule, never>;
27
- 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 i18.KvStepperModule, typeof i19.KvImageUploadModule, typeof i20.KvTableExpandableModule, typeof i21.KvGIconModule, typeof i22.KvFilterCardModule], [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 i23.KvTableEditModule, typeof i14.KvTableModule, typeof i15.KvTreetableModule, typeof i16.KvtreeViewModule, typeof i17.KvWorkspaceModule, typeof i18.KvStepperModule, typeof i19.KvImageUploadModule, typeof i20.KvTableExpandableModule, typeof i21.KvGIconModule, typeof i22.KvFilterCardModule]>;
28
+ 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 i18.KvStepperModule, typeof i19.KvImageUploadModule, typeof i20.KvTableExpandableModule, typeof i21.KvGIconModule, typeof i22.KvFilterCardModule, typeof i23.KvFileViewerModule], [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 i24.KvTableEditModule, typeof i14.KvTableModule, typeof i15.KvTreetableModule, typeof i16.KvtreeViewModule, typeof i17.KvWorkspaceModule, typeof i18.KvStepperModule, typeof i19.KvImageUploadModule, typeof i20.KvTableExpandableModule, typeof i21.KvGIconModule, typeof i22.KvFilterCardModule, typeof i23.KvFileViewerModule]>;
28
29
  static ɵinj: i0.ɵɵInjectorDeclaration<KeevoComponentsModule>;
29
30
  }
@@ -0,0 +1,17 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { DomSanitizer } from '@angular/platform-browser';
3
+ import * as i0 from "@angular/core";
4
+ export declare class KvFileViewerComponent implements OnInit {
5
+ private sanitizer;
6
+ arquivo: string;
7
+ type: string;
8
+ blob: Blob;
9
+ xmlBeautified: any;
10
+ xmlFormat: any;
11
+ constructor(sanitizer: DomSanitizer);
12
+ ngOnInit(): void;
13
+ getSanitizer(url: string): import("@angular/platform-browser").SafeResourceUrl;
14
+ visualizarXml(): Promise<void>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvFileViewerComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvFileViewerComponent, "kv-file-viewer", never, { "arquivo": { "alias": "arquivo"; "required": false; }; "type": { "alias": "type"; "required": false; }; "blob": { "alias": "blob"; "required": false; }; }, {}, never, never, false, never>;
17
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kv-file-viewer.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class KvFileViewerModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvFileViewerModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvFileViewerModule, [typeof i1.KvFileViewerComponent], [typeof i2.CommonModule], [typeof i1.KvFileViewerComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvFileViewerModule>;
8
+ }
@@ -101,7 +101,7 @@ export declare class KvTableComponent implements OnInit, DoCheck {
101
101
  addColumn(field: string): void;
102
102
  dinamicColumnSet(e: any, col: any): void;
103
103
  checkMenuFiltro(col: any): void;
104
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
104
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
105
105
  dinamicDisableColumn(col: TableConfigColumn): boolean;
106
106
  checkHideColumns(): void;
107
107
  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) => 0 | 1 | -1;
64
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
65
65
  dinamicDisableColumn(col: TableConfigColumn): boolean;
66
66
  dinamicColumnSet(e: any, col: any): void;
67
67
  addColumn(field: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.154",
3
+ "version": "1.8.155",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
package/public-api.d.ts CHANGED
@@ -194,3 +194,8 @@ export * from './lib/components/kv-filter-card/kv-filter-card.module';
194
194
  */
195
195
  export * from './lib/components/kv-g-icon/kv-g-icon.component';
196
196
  export * from './lib/components/kv-g-icon/kv-g-icon.module';
197
+ /**
198
+ * File-Viewer
199
+ */
200
+ export * from './lib/components/kv-file-viewer/kv-file-viewer.component';
201
+ export * from './lib/components/kv-file-viewer/kv-file-viewer.module';