keevo-components 1.8.351 → 1.8.353

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.
@@ -34,7 +34,7 @@ export declare abstract class BaseComponentDropDown extends BaseComponentInput<a
34
34
  protected addClick(event: Event): void;
35
35
  carregarCombo(filtro?: filtroCombo): void;
36
36
  protected carregarComboObs(obs: Observable<any>): void;
37
- emptyMessage(): "Digite para pesquisar" | "Nenhum resultado encontrado";
37
+ emptyMessage(): "Nenhum resultado encontrado" | "Digite para pesquisar";
38
38
  filterOptions(field: string, value: any): void;
39
39
  protected listar(): any;
40
40
  protected listarCombo(value: any): any;
@@ -23,10 +23,11 @@ import * as i21 from "./kv-table-expandable/kv-table-expandable.module";
23
23
  import * as i22 from "./kv-g-icon/kv-g-icon.module";
24
24
  import * as i23 from "./kv-filter-card/kv-filter-card.module";
25
25
  import * as i24 from "./kv-file-viewer/kv-file-viewer.module";
26
- import * as i25 from "./kv-filter-fieldset/kv-filter-fieldset.module";
27
- import * as i26 from "./kv-table-edit/kv-table-edit.module";
26
+ import * as i25 from "./kv-file-viewer-novo/kv-file-viewer-novo.module";
27
+ import * as i26 from "./kv-filter-fieldset/kv-filter-fieldset.module";
28
+ import * as i27 from "./kv-table-edit/kv-table-edit.module";
28
29
  export declare class KeevoComponentsModule {
29
30
  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.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
+ 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 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 i27.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]>;
31
32
  static ɵinj: i0.ɵɵInjectorDeclaration<KeevoComponentsModule>;
32
33
  }
@@ -0,0 +1,24 @@
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
3
+ import * as i0 from "@angular/core";
4
+ export declare class KvFileViewerNovoComponent implements OnInit, OnChanges {
5
+ private sanitizer;
6
+ arquivo: string;
7
+ type: string;
8
+ blob: Blob;
9
+ width: string;
10
+ height: string;
11
+ pdffile: any;
12
+ xmlBeautified: any;
13
+ xmlFormat: any;
14
+ sanitizedPdfSrc: SafeResourceUrl;
15
+ constructor(sanitizer: DomSanitizer);
16
+ ngOnInit(): void;
17
+ ngOnChanges(changes: SimpleChanges): void;
18
+ visualizarIframe(): void;
19
+ getSanitizer(url: string): SafeResourceUrl;
20
+ visualizarPDF(): void;
21
+ visualizarXml(): Promise<void>;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvFileViewerNovoComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvFileViewerNovoComponent, "kv-file-viewer-novo", never, { "arquivo": { "alias": "arquivo"; "required": false; }; "type": { "alias": "type"; "required": false; }; "blob": { "alias": "blob"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, never, false, never>;
24
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kv-file-viewer-novo.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "ng2-pdf-viewer";
5
+ export declare class KvFileViewerNovoModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvFileViewerNovoModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvFileViewerNovoModule, [typeof i1.KvFileViewerNovoComponent], [typeof i2.CommonModule, typeof i3.PdfViewerModule], [typeof i1.KvFileViewerNovoComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvFileViewerNovoModule>;
9
+ }
@@ -132,7 +132,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
132
132
  onClickEvent(event: any): void;
133
133
  styleSetter(style: string, data: string): void;
134
134
  checkMenuFiltro(col: any): void;
135
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
135
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
136
136
  dinamicDisableColumn(col: TableConfigColumn): boolean;
137
137
  checkHideColumns(): void;
138
138
  getCustomTemplate(templatename: string): TemplateRef<any>;
@@ -140,7 +140,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
140
140
  createTableActions(): void;
141
141
  onSort(e: any): void;
142
142
  get config(): TableConfig;
143
- columnsFilter: import("@angular/core").Signal<TableConfigColumn[] | undefined>;
143
+ columnsFilter: import("@angular/core").Signal<TableConfigColumn[]>;
144
144
  static ɵfac: i0.ɵɵFactoryDeclaration<KvTableComponent, never>;
145
145
  static ɵcmp: i0.ɵɵComponentDeclaration<KvTableComponent, "kv-table", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "first": { "alias": "first"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "defaultSortField": { "alias": "defaultSortField"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "filterColumnsBtn": { "alias": "filterColumnsBtn"; "required": false; }; "replaceEmptyValues": { "alias": "replaceEmptyValues"; "required": false; }; "filtrosAvancados": { "alias": "filtrosAvancados"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "isTableScrollable": { "alias": "isTableScrollable"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "disabledHeaderCheckbox": { "alias": "disabledHeaderCheckbox"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; }, { "first": "firstChange"; "rows": "rowsChange"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; "onSwitchTableChange": "onSwitchTableChange"; }, ["templates"], ["*"], false, never>;
146
146
  }
@@ -64,7 +64,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
64
64
  onGlobalFilter(table: Table, event: Event): void;
65
65
  executeCollapsed(): void;
66
66
  checkMenuFiltro(col: any): void;
67
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
67
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
68
68
  dinamicDisableColumn(col: TableConfigColumn): boolean;
69
69
  dinamicColumnSet(e: any, col: any): void;
70
70
  addColumn(field: string): void;
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.351",
3
+ "version": "1.8.353",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
7
7
  "@types/d3": "^7.4.3",
8
8
  "@types/d3-org-chart": "^3.1.2",
9
+ "@types/vkbeautify": "^0.99.4",
9
10
  "chart.js": "^4.4.2",
10
11
  "d3": "^7.9.0",
11
12
  "d3-org-chart": "^3.1.1",
@@ -15,7 +16,7 @@
15
16
  "primeng": "17.17.0",
16
17
  "quill": "^2.0.2",
17
18
  "vkbeautify": "^0.99.3",
18
- "@types/vkbeautify": "^0.99.4"
19
+ "ng2-pdf-viewer": "^10.2.2"
19
20
  },
20
21
  "dependencies": {
21
22
  "tslib": "^2.3.0"
package/public-api.d.ts CHANGED
@@ -223,6 +223,11 @@ export * from './lib/components/kv-g-icon/kv-g-icon.module';
223
223
  */
224
224
  export * from './lib/components/kv-file-viewer/kv-file-viewer.component';
225
225
  export * from './lib/components/kv-file-viewer/kv-file-viewer.module';
226
+ /**
227
+ * File-Viewer Novo
228
+ */
229
+ export * from './lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component';
230
+ export * from './lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module';
226
231
  /**
227
232
  * Componentes comuns utilizados no keex
228
233
  */