ms-data-grid 0.0.89 → 0.0.91

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.
@@ -10,6 +10,19 @@ import { CellHostDirective } from '../directives/cellHost.directive';
10
10
  import { DatePipe } from '@angular/common';
11
11
  import { FormatCurrencyPipe } from '../pipes/format-currency.pipe';
12
12
  import * as i0 from "@angular/core";
13
+ export interface DataGridConfig {
14
+ fontFaimly: string;
15
+ bodyTextFontsSize: number;
16
+ headerTextFontsSize: number;
17
+ oddRowsBackgroundColor: string;
18
+ showVerticalBorder: boolean;
19
+ selectedTableLayout: 'small' | 'medium' | 'large';
20
+ globalSearch: string;
21
+ filterNames: string;
22
+ totalCount: number;
23
+ rowShadingEnabled: boolean;
24
+ activeFilters: boolean;
25
+ }
13
26
  export declare enum RowAnimationType {
14
27
  None = "none",
15
28
  Spread = "spreadAnimation",
@@ -130,6 +143,7 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
130
143
  resetAllFilters: {
131
144
  resetAll: boolean;
132
145
  };
146
+ defaultConfig: DataGridConfig | null;
133
147
  columnThreedotsMunuConfig: {
134
148
  showPinleft: boolean;
135
149
  showPinright: boolean;
@@ -214,6 +228,7 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
214
228
  leftPinnedHeader: ElementRef<HTMLDivElement>;
215
229
  centerPinnedHeader: ElementRef<HTMLDivElement>;
216
230
  rightPinnedHeader: ElementRef<HTMLDivElement>;
231
+ globalSearchInput: ElementRef<HTMLInputElement>;
217
232
  columnsGroupedBox: ElementRef<HTMLDivElement>;
218
233
  centerFakeScrollbar: ElementRef<HTMLDivElement>;
219
234
  updateColumnWidthsAndGroups(columns?: any): Promise<void>;
@@ -225,6 +240,25 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
225
240
  isNestedValueArray(obj: any, field: string): boolean;
226
241
  onResizeGroup(event: MouseEvent, col: any, isRightPinned?: boolean): void;
227
242
  private updateColumnWidthInSourceByField;
243
+ get createUpdateColumnConfig(): {
244
+ columns: any[];
245
+ filters: any[];
246
+ no_of_records: any;
247
+ table_config: {
248
+ rowShadingEnabled: boolean;
249
+ showVerticalBorder: boolean;
250
+ fontFaimly: string | undefined;
251
+ headerTextFontsSize: number;
252
+ selectedTableLayout: any;
253
+ bodyTextFontsSize: number;
254
+ globalSearch: string;
255
+ filterNames: string;
256
+ totalCount: number;
257
+ activeFilters: boolean;
258
+ oddRowsBackgroundColor: string;
259
+ };
260
+ type: string;
261
+ };
228
262
  cleanColumns(columns: any[]): any[];
229
263
  onResizeColumn(event: MouseEvent, col: any): void;
230
264
  onResizeGroupBox(event: MouseEvent): void;
@@ -399,7 +433,7 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
399
433
  isAllSideFilterOptionsSelected(col: any): boolean;
400
434
  onOptionToggle(col: any, option: any): void;
401
435
  resetSideFilter(col: any): void;
402
- clearAllFilters(): void;
436
+ clearAllFilters(shouldUpdateConfigListing?: boolean): void;
403
437
  applySideFilter(column: any): void;
404
438
  removeSideFilter(column: any): void;
405
439
  collapseAllExpandedCells(): void;
@@ -518,7 +552,13 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
518
552
  private cloneData;
519
553
  performCut(selectedData: any[][]): void;
520
554
  getSelectedDataForCopy(): any[][];
555
+ pageSizeKeyMap: Record<string, number>;
556
+ private buildPageSizeKeyMap;
521
557
  onKeyDown(event: KeyboardEvent): void;
558
+ goToNextPage(): void;
559
+ goToPreviousPage(): void;
560
+ goToFirstPage(): void;
561
+ goToLastPage(): void;
522
562
  selectAllCells(): void;
523
563
  undo(): void;
524
564
  redo(): void;
@@ -582,5 +622,5 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
582
622
  getDynamicRight(col: any, section: string, colIndex: number, subColIndex: number): number | null;
583
623
  blurInput(event: Event, row: any, col: any): void;
584
624
  static ɵfac: i0.ɵɵFactoryDeclaration<DataGridComponent, never>;
585
- static ɵcmp: i0.ɵɵComponentDeclaration<DataGridComponent, "data-grid", never, { "rowAnimation": { "alias": "rowAnimation"; "required": false; }; "paginationConfig": { "alias": "paginationConfig"; "required": false; }; "dataSet": { "alias": "dataSet"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "headerRowHeight": { "alias": "headerRowHeight"; "required": false; }; "showVerticalBorder": { "alias": "showVerticalBorder"; "required": false; }; "evenRowsBackgroundColor": { "alias": "evenRowsBackgroundColor"; "required": false; }; "oddRowsBackgroundColor": { "alias": "oddRowsBackgroundColor"; "required": false; }; "headerBackgroundColor": { "alias": "headerBackgroundColor"; "required": false; }; "checkboxesBackgroundColor": { "alias": "checkboxesBackgroundColor"; "required": false; }; "showColumnsGrouping": { "alias": "showColumnsGrouping"; "required": false; }; "rowHoverColor": { "alias": "rowHoverColor"; "required": false; }; "leftPinnedBackgroundColor": { "alias": "leftPinnedBackgroundColor"; "required": false; }; "bodyBackgroundColor": { "alias": "bodyBackgroundColor"; "required": false; }; "rightPinnedBackgroundColor": { "alias": "rightPinnedBackgroundColor"; "required": false; }; "sidemenuBackgroundColor": { "alias": "sidemenuBackgroundColor"; "required": false; }; "bodyTextColor": { "alias": "bodyTextColor"; "required": false; }; "headerTextColor": { "alias": "headerTextColor"; "required": false; }; "checkboxesColor": { "alias": "checkboxesColor"; "required": false; }; "headerTextFontsSize": { "alias": "headerTextFontsSize"; "required": false; }; "bodyTextFontsSize": { "alias": "bodyTextFontsSize"; "required": false; }; "headerFontWeight": { "alias": "headerFontWeight"; "required": false; }; "bodyFontWeight": { "alias": "bodyFontWeight"; "required": false; }; "checkedRowBackgroundColor": { "alias": "checkedRowBackgroundColor"; "required": false; }; "dropdownsBackgroundColor": { "alias": "dropdownsBackgroundColor"; "required": false; }; "footerRowBackgroundColor": { "alias": "footerRowBackgroundColor"; "required": false; }; "footerRowHeight": { "alias": "footerRowHeight"; "required": false; }; "topGroupedBadgesBackgroundColor": { "alias": "topGroupedBadgesBackgroundColor"; "required": false; }; "showRowsGrouping": { "alias": "showRowsGrouping"; "required": false; }; "showFilterRow": { "alias": "showFilterRow"; "required": false; }; "fontFaimly": { "alias": "fontFaimly"; "required": false; }; "showSideMenu": { "alias": "showSideMenu"; "required": false; }; "footerPadding": { "alias": "footerPadding"; "required": false; }; "topFilterRowHeight": { "alias": "topFilterRowHeight"; "required": false; }; "rowShadingEnabled": { "alias": "rowShadingEnabled"; "required": false; }; "showSerialNumber": { "alias": "showSerialNumber"; "required": false; }; "singleSpaAssetsPath": { "alias": "singleSpaAssetsPath"; "required": false; }; "filtersConfig": { "alias": "filtersConfig"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "verticalScrollbarWidth": { "alias": "verticalScrollbarWidth"; "required": false; }; "horizintalScrollbarWidth": { "alias": "horizintalScrollbarWidth"; "required": false; }; "showCellDetailsBox": { "alias": "showCellDetailsBox"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "tableSearch": { "alias": "tableSearch"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "config": { "alias": "config"; "required": false; }; "showTaskbar": { "alias": "showTaskbar"; "required": false; }; "tableName": { "alias": "tableName"; "required": false; }; "listingType": { "alias": "listingType"; "required": false; }; "checkboxState": { "alias": "checkboxState"; "required": false; }; "taskbarActions": { "alias": "taskbarActions"; "required": false; }; "sortingConfig": { "alias": "sortingConfig"; "required": false; }; "tableFilterViewId": { "alias": "tableFilterViewId"; "required": false; }; "selectedTableLayout": { "alias": "selectedTableLayout"; "required": false; }; "closeDropdown": { "alias": "closeDropdown"; "required": false; }; "globalSearchText": { "alias": "globalSearchText"; "required": false; }; "nestedTablerowFontsize": { "alias": "nestedTablerowFontsize"; "required": false; }; "nestedTableHeaderRowHeight": { "alias": "nestedTableHeaderRowHeight"; "required": false; }; "nestedTablerowHeight": { "alias": "nestedTablerowHeight"; "required": false; }; "gridType": { "alias": "gridType"; "required": false; }; "currencySymbol": { "alias": "currencySymbol"; "required": false; }; "currencyFormat": { "alias": "currencyFormat"; "required": false; }; "leftPinnedBoxshadow": { "alias": "leftPinnedBoxshadow"; "required": false; }; "rightPinnedBoxshadow": { "alias": "rightPinnedBoxshadow"; "required": false; }; "selectedRowsBackgroundColor": { "alias": "selectedRowsBackgroundColor"; "required": false; }; "nestedTableHeaderBackgroundColor": { "alias": "nestedTableHeaderBackgroundColor"; "required": false; }; "nestedTableRowBackgroundColor": { "alias": "nestedTableRowBackgroundColor"; "required": false; }; "tableView": { "alias": "tableView"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "keepMultipleExpandedDetails": { "alias": "keepMultipleExpandedDetails"; "required": false; }; "showTotalAmountRow": { "alias": "showTotalAmountRow"; "required": false; }; "enableGlobalSearch": { "alias": "enableGlobalSearch"; "required": false; }; "tableType": { "alias": "tableType"; "required": false; }; "enableExport": { "alias": "enableExport"; "required": false; }; "showFullScreenButton": { "alias": "showFullScreenButton"; "required": false; }; "enableCut": { "alias": "enableCut"; "required": false; }; "tabs": { "alias": "tabs"; "required": false; }; "showCheckboxes": { "alias": "showCheckboxes"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "resetAllFilters": { "alias": "resetAllFilters"; "required": false; }; "columnThreedotsMunuConfig": { "alias": "columnThreedotsMunuConfig"; "required": false; }; }, { "changeLayout": "changeLayout"; "customCellEvent": "customCellEvent"; "filterOptions": "filterOptions"; "genericEvent": "genericEvent"; "tablePresetConfig": "tablePresetConfig"; "sortingOrderOptions": "sortingOrderOptions"; "createUpdateConfigListing": "createUpdateConfigListing"; }, never, never, false, never>;
625
+ static ɵcmp: i0.ɵɵComponentDeclaration<DataGridComponent, "data-grid", never, { "rowAnimation": { "alias": "rowAnimation"; "required": false; }; "paginationConfig": { "alias": "paginationConfig"; "required": false; }; "dataSet": { "alias": "dataSet"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "headerRowHeight": { "alias": "headerRowHeight"; "required": false; }; "showVerticalBorder": { "alias": "showVerticalBorder"; "required": false; }; "evenRowsBackgroundColor": { "alias": "evenRowsBackgroundColor"; "required": false; }; "oddRowsBackgroundColor": { "alias": "oddRowsBackgroundColor"; "required": false; }; "headerBackgroundColor": { "alias": "headerBackgroundColor"; "required": false; }; "checkboxesBackgroundColor": { "alias": "checkboxesBackgroundColor"; "required": false; }; "showColumnsGrouping": { "alias": "showColumnsGrouping"; "required": false; }; "rowHoverColor": { "alias": "rowHoverColor"; "required": false; }; "leftPinnedBackgroundColor": { "alias": "leftPinnedBackgroundColor"; "required": false; }; "bodyBackgroundColor": { "alias": "bodyBackgroundColor"; "required": false; }; "rightPinnedBackgroundColor": { "alias": "rightPinnedBackgroundColor"; "required": false; }; "sidemenuBackgroundColor": { "alias": "sidemenuBackgroundColor"; "required": false; }; "bodyTextColor": { "alias": "bodyTextColor"; "required": false; }; "headerTextColor": { "alias": "headerTextColor"; "required": false; }; "checkboxesColor": { "alias": "checkboxesColor"; "required": false; }; "headerTextFontsSize": { "alias": "headerTextFontsSize"; "required": false; }; "bodyTextFontsSize": { "alias": "bodyTextFontsSize"; "required": false; }; "headerFontWeight": { "alias": "headerFontWeight"; "required": false; }; "bodyFontWeight": { "alias": "bodyFontWeight"; "required": false; }; "checkedRowBackgroundColor": { "alias": "checkedRowBackgroundColor"; "required": false; }; "dropdownsBackgroundColor": { "alias": "dropdownsBackgroundColor"; "required": false; }; "footerRowBackgroundColor": { "alias": "footerRowBackgroundColor"; "required": false; }; "footerRowHeight": { "alias": "footerRowHeight"; "required": false; }; "topGroupedBadgesBackgroundColor": { "alias": "topGroupedBadgesBackgroundColor"; "required": false; }; "showRowsGrouping": { "alias": "showRowsGrouping"; "required": false; }; "showFilterRow": { "alias": "showFilterRow"; "required": false; }; "fontFaimly": { "alias": "fontFaimly"; "required": false; }; "showSideMenu": { "alias": "showSideMenu"; "required": false; }; "footerPadding": { "alias": "footerPadding"; "required": false; }; "topFilterRowHeight": { "alias": "topFilterRowHeight"; "required": false; }; "rowShadingEnabled": { "alias": "rowShadingEnabled"; "required": false; }; "showSerialNumber": { "alias": "showSerialNumber"; "required": false; }; "singleSpaAssetsPath": { "alias": "singleSpaAssetsPath"; "required": false; }; "filtersConfig": { "alias": "filtersConfig"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "verticalScrollbarWidth": { "alias": "verticalScrollbarWidth"; "required": false; }; "horizintalScrollbarWidth": { "alias": "horizintalScrollbarWidth"; "required": false; }; "showCellDetailsBox": { "alias": "showCellDetailsBox"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "tableSearch": { "alias": "tableSearch"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "config": { "alias": "config"; "required": false; }; "showTaskbar": { "alias": "showTaskbar"; "required": false; }; "tableName": { "alias": "tableName"; "required": false; }; "listingType": { "alias": "listingType"; "required": false; }; "checkboxState": { "alias": "checkboxState"; "required": false; }; "taskbarActions": { "alias": "taskbarActions"; "required": false; }; "sortingConfig": { "alias": "sortingConfig"; "required": false; }; "tableFilterViewId": { "alias": "tableFilterViewId"; "required": false; }; "selectedTableLayout": { "alias": "selectedTableLayout"; "required": false; }; "closeDropdown": { "alias": "closeDropdown"; "required": false; }; "globalSearchText": { "alias": "globalSearchText"; "required": false; }; "nestedTablerowFontsize": { "alias": "nestedTablerowFontsize"; "required": false; }; "nestedTableHeaderRowHeight": { "alias": "nestedTableHeaderRowHeight"; "required": false; }; "nestedTablerowHeight": { "alias": "nestedTablerowHeight"; "required": false; }; "gridType": { "alias": "gridType"; "required": false; }; "currencySymbol": { "alias": "currencySymbol"; "required": false; }; "currencyFormat": { "alias": "currencyFormat"; "required": false; }; "leftPinnedBoxshadow": { "alias": "leftPinnedBoxshadow"; "required": false; }; "rightPinnedBoxshadow": { "alias": "rightPinnedBoxshadow"; "required": false; }; "selectedRowsBackgroundColor": { "alias": "selectedRowsBackgroundColor"; "required": false; }; "nestedTableHeaderBackgroundColor": { "alias": "nestedTableHeaderBackgroundColor"; "required": false; }; "nestedTableRowBackgroundColor": { "alias": "nestedTableRowBackgroundColor"; "required": false; }; "tableView": { "alias": "tableView"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "keepMultipleExpandedDetails": { "alias": "keepMultipleExpandedDetails"; "required": false; }; "showTotalAmountRow": { "alias": "showTotalAmountRow"; "required": false; }; "enableGlobalSearch": { "alias": "enableGlobalSearch"; "required": false; }; "tableType": { "alias": "tableType"; "required": false; }; "enableExport": { "alias": "enableExport"; "required": false; }; "showFullScreenButton": { "alias": "showFullScreenButton"; "required": false; }; "enableCut": { "alias": "enableCut"; "required": false; }; "tabs": { "alias": "tabs"; "required": false; }; "showCheckboxes": { "alias": "showCheckboxes"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "resetAllFilters": { "alias": "resetAllFilters"; "required": false; }; "defaultConfig": { "alias": "defaultConfig"; "required": false; }; "columnThreedotsMunuConfig": { "alias": "columnThreedotsMunuConfig"; "required": false; }; }, { "changeLayout": "changeLayout"; "customCellEvent": "customCellEvent"; "filterOptions": "filterOptions"; "genericEvent": "genericEvent"; "tablePresetConfig": "tablePresetConfig"; "sortingOrderOptions": "sortingOrderOptions"; "createUpdateConfigListing": "createUpdateConfigListing"; }, never, never, false, never>;
586
626
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-data-grid",
3
- "version": "0.0.89",
3
+ "version": "0.0.91",
4
4
  "description": "A powerful, customizable Angular data grid component with advanced features like sorting, filtering, pagination, column pinning, and taskbar actions. Perfect for enterprise applications.",
5
5
  "keywords": [
6
6
  "angular",
package/public-api.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export * from './lib/data-grid.module';
2
2
  export * from './lib/data-grid/data-grid.component';
3
- export * from './lib/interfaces/data-grid-config.ts';
4
3
  export * from './lib/services/common.service';
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW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,97 +0,0 @@
1
- import { RowAnimationType } from "../data-grid/data-grid.component";
2
- export interface DataGridConfig {
3
- rowAnimation?: RowAnimationType;
4
- paginationConfig?: any;
5
- dataSet?: any[];
6
- columns?: any[];
7
- rowHeight?: number;
8
- headerRowHeight?: number;
9
- showVerticalBorder?: boolean;
10
- evenRowsBackgroundColor?: string;
11
- oddRowsBackgroundColor?: string;
12
- headerBackgroundColor?: string;
13
- checkboxesBackgroundColor?: string;
14
- showColumnsGrouping?: boolean;
15
- rowHoverColor?: string;
16
- leftPinnedBackgroundColor?: string;
17
- bodyBackgroundColor?: string;
18
- rightPinnedBackgroundColor?: string;
19
- sidemenuBackgroundColor?: string;
20
- bodyTextColor?: string;
21
- headerTextColor?: string;
22
- checkboxesColor?: string;
23
- headerTextFontsSize?: number;
24
- bodyTextFontsSize?: number;
25
- headerFontWeight?: number;
26
- bodyFontWeight?: number;
27
- checkedRowBackgroundColor?: string;
28
- dropdownsBackgroundColor?: string;
29
- footerRowBackgroundColor?: string;
30
- footerRowHeight?: number;
31
- topGroupedBadgesBackgroundColor?: string;
32
- showRowsGrouping?: boolean;
33
- showFilterRow?: boolean;
34
- fontFaimly?: string;
35
- showSideMenu?: boolean;
36
- footerPadding?: number;
37
- topFilterRowHeight?: number;
38
- rowShadingEnabled?: boolean;
39
- showSerialNumber?: boolean;
40
- singleSpaAssetsPath?: string;
41
- filtersConfig?: any[];
42
- loading?: boolean;
43
- verticalScrollbarWidth?: 'auto' | 'thin';
44
- horizintalScrollbarWidth?: 'auto' | 'thin';
45
- showCellDetailsBox?: boolean;
46
- dateFormat?: string;
47
- tableSearch?: string;
48
- actions?: any[];
49
- config?: any;
50
- showTaskbar?: boolean;
51
- tableName?: boolean;
52
- listingType?: string | boolean;
53
- checkboxState?: {
54
- reset: boolean;
55
- };
56
- taskbarActions?: any[];
57
- sortingConfig?: {
58
- field: string;
59
- order_by: string;
60
- } | null;
61
- tableFilterViewId?: any;
62
- selectedTableLayout?: any;
63
- closeDropdown?: {
64
- preset: {
65
- closed: boolean;
66
- loading: boolean;
67
- };
68
- };
69
- globalSearchText?: string;
70
- nestedTablerowFontsize?: number;
71
- nestedTableHeaderRowHeight?: number;
72
- nestedTablerowHeight?: number;
73
- gridType?: string;
74
- currencySymbol?: string;
75
- currencyFormat?: string;
76
- leftPinnedBoxshadow?: string;
77
- rightPinnedBoxshadow?: string;
78
- selectedRowsBackgroundColor?: string;
79
- nestedTableHeaderBackgroundColor?: string;
80
- nestedTableRowBackgroundColor?: string;
81
- tableView?: any[];
82
- buttons?: {
83
- name: string;
84
- is_showIcon: boolean;
85
- icon: string;
86
- has_permission: boolean;
87
- }[];
88
- keepMultipleExpandedDetails?: boolean;
89
- showTotalAmountRow?: boolean;
90
- enableGlobalSearch?: boolean;
91
- tableType?: string;
92
- enableExport?: boolean;
93
- showFullScreenButton?: boolean;
94
- enableCut?: boolean;
95
- tabs?: string[];
96
- showCheckboxes?: boolean;
97
- }