@eternalcodestudio/primeng-table 19.0.0 → 20.0.0

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 (42) hide show
  1. package/fesm2022/eternalcodestudio-primeng-table.mjs +39 -48
  2. package/fesm2022/eternalcodestudio-primeng-table.mjs.map +1 -1
  3. package/index.d.ts +451 -3
  4. package/package.json +5 -5
  5. package/fesm2022/ecs-primeng-table.mjs +0 -1745
  6. package/fesm2022/ecs-primeng-table.mjs.map +0 -1
  7. package/lib/components/column-selector/column-selector.d.ts +0 -36
  8. package/lib/components/ecs-primeng-table/ecs-primeng-table.d.ts +0 -203
  9. package/lib/components/ecs-primeng-table/ecs-primeng-table.service.d.ts +0 -48
  10. package/lib/components/export-excel/export-excel.d.ts +0 -39
  11. package/lib/components/export-excel/export-excel.service.d.ts +0 -6
  12. package/lib/components/table-button/table-button.d.ts +0 -16
  13. package/lib/components/table-cell/table-cell.d.ts +0 -52
  14. package/lib/components/table-predifined-filters/table-predifined-filters.d.ts +0 -30
  15. package/lib/components/views-management/views-management.d.ts +0 -32
  16. package/lib/enums/cell-overflow-behaviour.enum.d.ts +0 -4
  17. package/lib/enums/data-align-horizontal.enum.d.ts +0 -5
  18. package/lib/enums/data-align-vertical.enum.d.ts +0 -5
  19. package/lib/enums/data-type.enum.enum.d.ts +0 -6
  20. package/lib/enums/frozen-column-align.enum.d.ts +0 -5
  21. package/lib/enums/index.d.ts +0 -6
  22. package/lib/enums/table-view-save-mode.enum.d.ts +0 -6
  23. package/lib/interfaces/columns-metadata.interface.d.ts +0 -25
  24. package/lib/interfaces/excel-export-request.interface.d.ts +0 -7
  25. package/lib/interfaces/index.d.ts +0 -9
  26. package/lib/interfaces/predifined-filter.interface.d.ts +0 -34
  27. package/lib/interfaces/table-button.interface.d.ts +0 -29
  28. package/lib/interfaces/table-configuration.interface.d.ts +0 -8
  29. package/lib/interfaces/table-paged-response.interface.d.ts +0 -13
  30. package/lib/interfaces/table-query-request.interface.d.ts +0 -20
  31. package/lib/interfaces/table-view-data.interface.d.ts +0 -12
  32. package/lib/interfaces/table-view.interface.d.ts +0 -6
  33. package/lib/services/http.service.d.ts +0 -9
  34. package/lib/services/index.d.ts +0 -2
  35. package/lib/services/notification.service.d.ts +0 -7
  36. package/lib/utils/data-align-horizontal-as-text.d.ts +0 -2
  37. package/lib/utils/data-align-vertical-as-text.d.ts +0 -2
  38. package/lib/utils/data-type-as-text.d.ts +0 -2
  39. package/lib/utils/frozen-column-align-as-text.d.ts +0 -2
  40. package/lib/utils/highlight-text.d.ts +0 -24
  41. package/lib/utils/index.d.ts +0 -5
  42. package/public-api.d.ts +0 -5
@@ -1,12 +0,0 @@
1
- import { SortMeta } from "primeng/api";
2
- import { IColumnMetadata } from "./columns-metadata.interface";
3
- export interface ITableViewData {
4
- columnsShown: IColumnMetadata[];
5
- tableWidth: any;
6
- columnsWidth: string;
7
- multiSortMeta: SortMeta[] | null | undefined;
8
- filters: any;
9
- globalSearchText: string | null;
10
- currentPage: number;
11
- currentRowsPerPage: number;
12
- }
@@ -1,6 +0,0 @@
1
- import { ITableViewData } from "./table-view-data.interface";
2
- export interface ITableView {
3
- lastActive: boolean;
4
- viewAlias: string;
5
- viewData: ITableViewData;
6
- }
@@ -1,9 +0,0 @@
1
- import { HttpHeaders, HttpResponse } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare abstract class ECSPrimengTableHttpService {
5
- abstract handleHttpGetRequest<T>(servicePoint: string, httpOptions?: HttpHeaders | null, showSpinner?: boolean, customErrorHandler?: ((error: any) => Observable<any>) | null, showAPIError?: boolean, responseType?: 'json' | 'blob'): Observable<HttpResponse<T>>;
6
- abstract handleHttpPostRequest<T>(servicePoint: string, data: any, httpOptions?: HttpHeaders | null, showSpinner?: boolean, customErrorHandler?: ((error: any) => Observable<any>) | null, showAPIError?: boolean, responseType?: 'json' | 'blob'): Observable<HttpResponse<T>>;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<ECSPrimengTableHttpService, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<ECSPrimengTableHttpService>;
9
- }
@@ -1,2 +0,0 @@
1
- export * from "./http.service";
2
- export * from "./notification.service";
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare abstract class ECSPrimengTableNotificationService {
3
- abstract showToast(severity: string, title: string, message: string, duration?: number, keepToast?: boolean, closable?: boolean, clearPrevious?: boolean): void;
4
- abstract clearToasts(): void;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ECSPrimengTableNotificationService, never>;
6
- static ɵprov: i0.ɵɵInjectableDeclaration<ECSPrimengTableNotificationService>;
7
- }
@@ -1,2 +0,0 @@
1
- import { DataAlignHorizontal } from "../enums";
2
- export declare function dataAlignHorizontalAsText(dataAlignHorizontal: DataAlignHorizontal): string;
@@ -1,2 +0,0 @@
1
- import { DataAlignVertical } from "../enums";
2
- export declare function dataAlignVerticalAsText(dataAlignVertical: DataAlignVertical): string;
@@ -1,2 +0,0 @@
1
- import { DataType } from "../enums";
2
- export declare function dataTypeAsText(dataType: DataType): string;
@@ -1,2 +0,0 @@
1
- import { FrozenColumnAlign } from "../enums";
2
- export declare function frozenColumnAlignAsText(frozenColumnAlign: FrozenColumnAlign): string;
@@ -1,24 +0,0 @@
1
- import { SafeHtml } from "@angular/platform-browser";
2
- import { IColumnMetadata } from "../interfaces";
3
- /**
4
- * Generates SafeHtml with highlighted text based on global search criteria.
5
- *
6
- * @param {any} cellValue - The value of the cell to be highlighted.
7
- * @param {IprimengColumnsMetadata} colMetadata - The column configuration for the cell.
8
- * @param {string | null} globalSearchText - The global search text to highlight within the cell value.
9
- * @returns {SafeHtml} - HTML content with highlighted text if it matches the global search criteria.
10
- *
11
- * @example
12
- * // Define column configuration
13
- * const colMetadata: IprimengColumnsMetadata = { dataType: 'string', canBeGlobalFiltered: true, etc... };
14
- *
15
- * // Cell value to be highlighted
16
- * const cellValue: string = 'Example text';
17
- *
18
- * // Global search text
19
- * const globalSearchText: string = 'text';
20
- *
21
- * // Use highlightText to get SafeHtml with highlighted text
22
- * const highlightedHtml: SafeHtml = highlightText(cellValue, colMetadata, globalSearchText);
23
- */
24
- export declare function highlightText(cellValue: any, colMetadata: IColumnMetadata, globalSearchText: string | null): SafeHtml;
@@ -1,5 +0,0 @@
1
- export * from "./data-align-horizontal-as-text";
2
- export * from "./data-align-vertical-as-text";
3
- export * from "./data-type-as-text";
4
- export * from "./frozen-column-align-as-text";
5
- export * from "./highlight-text";
package/public-api.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export * from './lib/components/ecs-primeng-table/ecs-primeng-table';
2
- export * from './lib/components/ecs-primeng-table/ecs-primeng-table.service';
3
- export * from './lib/enums';
4
- export * from './lib/interfaces';
5
- export * from './lib/services';