ms-data-grid 0.0.89 → 0.0.90

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.
@@ -19,6 +19,19 @@ export declare enum RowAnimationType {
19
19
  Skew = "skewAnimation",
20
20
  SlideRight = "slideFromRight"
21
21
  }
22
+ export interface DataGridConfig {
23
+ fontFaimly: string;
24
+ bodyTextFontsSize: number;
25
+ headerTextFontsSize: number;
26
+ oddRowsBackgroundColor: string;
27
+ showVerticalBorder: boolean;
28
+ selectedTableLayout: 'small' | 'medium' | 'large';
29
+ globalSearch: string;
30
+ filterNames: string;
31
+ totalCount: number;
32
+ rowShadingEnabled: boolean;
33
+ activeFilters: boolean;
34
+ }
22
35
  export declare const sortingAnimation: import("@angular/animations").AnimationTriggerMetadata;
23
36
  export declare class DataGridComponent implements OnChanges, AfterViewInit, OnInit, AfterViewChecked {
24
37
  private columnService;
@@ -126,7 +139,8 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
126
139
  enableCut: boolean;
127
140
  tabs: string[];
128
141
  showCheckboxes: boolean;
129
- pageSizeOptions: number[];
142
+ consumerFont: string | null;
143
+ defaultConfig: DataGridConfig | null;
130
144
  resetAllFilters: {
131
145
  resetAll: boolean;
132
146
  };
@@ -143,6 +157,7 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
143
157
  showResetColumns: boolean;
144
158
  };
145
159
  cellHosts: QueryList<CellHostDirective>;
160
+ globalSearchInput: ElementRef<HTMLInputElement>;
146
161
  changeLayout: EventEmitter<any>;
147
162
  customCellEvent: EventEmitter<any>;
148
163
  filterOptions: EventEmitter<any>;
@@ -150,7 +165,6 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
150
165
  tablePresetConfig: EventEmitter<any>;
151
166
  sortingOrderOptions: EventEmitter<any>;
152
167
  createUpdateConfigListing: EventEmitter<any>;
153
- storePresetName: string;
154
168
  isFullScreen: boolean;
155
169
  activeTab: string | null;
156
170
  groupedColumns: any[];
@@ -168,6 +182,7 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
168
182
  filterColumnsList: any[];
169
183
  groupBoxPadding: number;
170
184
  presetName: string;
185
+ storePresetName: string;
171
186
  presetFilter: boolean;
172
187
  searchTextPresetTable: string;
173
188
  addFilterColumnInput: string;
@@ -190,7 +205,6 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
190
205
  private injector;
191
206
  createCellInjector(row: any, col: any): Injector;
192
207
  private renderCustomCells;
193
- shouldRestoreScroll: boolean;
194
208
  ngAfterViewChecked(): void;
195
209
  ngOnInit(): void;
196
210
  dataSetLoading: boolean;
@@ -239,7 +253,8 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
239
253
  closeFilterDropdowns(event: MouseEvent): void;
240
254
  private hasParentWithClass;
241
255
  isMenueHidden: boolean;
242
- openThreeDotsMenu(event: MouseEvent, child: any, keepOriginalPosition?: boolean): void;
256
+ clickedOnSortIcon: boolean;
257
+ openThreeDotsMenu(event: MouseEvent, child: any, clickedOnSortIcon?: boolean): void;
243
258
  sortAsc(col: any): void;
244
259
  sortDesc(col: any): void;
245
260
  resetSort(col: any): void;
@@ -367,6 +382,7 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
367
382
  toggleActionsDropdown(): void;
368
383
  changeTableLayout(event: Event, layoutType: string): Promise<void>;
369
384
  setTableLayout(layoutType: string): void;
385
+ pageSizeOptions: number[];
370
386
  get startIndexData(): number;
371
387
  get endIndex(): number;
372
388
  get visiblePages(): (number | string)[];
@@ -385,8 +401,8 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
385
401
  firstValue: any;
386
402
  firstCondition: string;
387
403
  secondValue: any;
388
- secondCondition: string | null;
389
- condition: string | null;
404
+ secondCondition: null;
405
+ condition: string;
390
406
  resetTextFilterChanges(): void;
391
407
  toggleAllValusSelectionInDropdownFilter(column: any): void;
392
408
  selectedFilterOptions: any[];
@@ -518,7 +534,13 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
518
534
  private cloneData;
519
535
  performCut(selectedData: any[][]): void;
520
536
  getSelectedDataForCopy(): any[][];
537
+ pageSizeKeyMap: Record<string, number>;
538
+ private buildPageSizeKeyMap;
521
539
  onKeyDown(event: KeyboardEvent): void;
540
+ goToNextPage(): void;
541
+ goToPreviousPage(): void;
542
+ goToFirstPage(): void;
543
+ goToLastPage(): void;
522
544
  selectAllCells(): void;
523
545
  undo(): void;
524
546
  redo(): void;
@@ -558,6 +580,7 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
558
580
  hasAnyDefaultView(): boolean;
559
581
  get isTablePresetNotChanged(): any;
560
582
  onActionButtonClick(button: string): void;
583
+ createCustomColumn(): void;
561
584
  setActiveTab(tab: string | null): void;
562
585
  getBackgroundColor(row: any, isEven: boolean, section: 'left' | 'center' | 'right'): string | undefined;
563
586
  hasHorizontalScrollbar(): boolean;
@@ -578,9 +601,8 @@ export declare class DataGridComponent implements OnChanges, AfterViewInit, OnIn
578
601
  selectGroupRow(e: Event, row: any): void;
579
602
  getGroupCheckedState(row: any): boolean | undefined;
580
603
  getCellTitle(row: any, col: any): string;
581
- finishEdit(event: any): void;
582
- getDynamicRight(col: any, section: string, colIndex: number, subColIndex: number): number | null;
583
- blurInput(event: Event, row: any, col: any): void;
604
+ activeFilterType: string;
605
+ activeFilter(type: string): void;
584
606
  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>;
607
+ 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; }; "consumerFont": { "alias": "consumerFont"; "required": false; }; "defaultConfig": { "alias": "defaultConfig"; "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>;
586
608
  }
@@ -0,0 +1,34 @@
1
+ @font-face {
2
+ font-family: "Inter";
3
+ src: url("../assets/fonts/Inter/static/Inter_18pt-Regular.ttf") format("truetype");
4
+ font-weight: 400;
5
+ font-style: normal;
6
+ font-display: swap;
7
+ }
8
+
9
+ /* medium */
10
+ @font-face {
11
+ font-family: "Inter";
12
+ src: url("../assets/fonts/Inter/static/Inter_18pt-Medium.ttf") format("truetype");
13
+ font-weight: 500;
14
+ font-style: normal;
15
+ font-display: swap;
16
+ }
17
+
18
+ /* bold */
19
+ @font-face {
20
+ font-family: "Inter";
21
+ src: url("../assets/fonts/Inter/static/Inter_18pt-Bold.ttf") format("truetype");
22
+ font-weight: 700;
23
+ font-style: normal;
24
+ font-display: swap;
25
+ }
26
+
27
+ /* semi bold */
28
+ @font-face {
29
+ font-family: "Inter";
30
+ src: url("../assets/fonts/Inter/static/Inter_18pt-SemiBold.ttf") format("truetype");
31
+ font-weight: 600;
32
+ font-style: normal;
33
+ font-display: swap;
34
+ }
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.90",
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1ncmlkLWNvbmZpZy50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RhdGEtZ3JpZC9zcmMvbGliL2ludGVyZmFjZXMvZGF0YS1ncmlkLWNvbmZpZy50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUm93QW5pbWF0aW9uVHlwZSB9IGZyb20gXCIuLi9kYXRhLWdyaWQvZGF0YS1ncmlkLmNvbXBvbmVudFwiO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBEYXRhR3JpZENvbmZpZyB7XHJcbiAgcm93QW5pbWF0aW9uPzogUm93QW5pbWF0aW9uVHlwZTtcclxuXHJcbiAgcGFnaW5hdGlvbkNvbmZpZz86IGFueTtcclxuICBkYXRhU2V0PzogYW55W107XHJcbiAgY29sdW1ucz86IGFueVtdO1xyXG5cclxuICByb3dIZWlnaHQ/OiBudW1iZXI7XHJcbiAgaGVhZGVyUm93SGVpZ2h0PzogbnVtYmVyO1xyXG5cclxuICBzaG93VmVydGljYWxCb3JkZXI/OiBib29sZWFuO1xyXG5cclxuICBldmVuUm93c0JhY2tncm91bmRDb2xvcj86IHN0cmluZztcclxuICBvZGRSb3dzQmFja2dyb3VuZENvbG9yPzogc3RyaW5nO1xyXG5cclxuICBoZWFkZXJCYWNrZ3JvdW5kQ29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AgdGFibGVUeXBlPzogc3RyaW5nO1xyXG5cclxuICBlbmFibGVFeHBvcnQ/OiBib29sZWFuO1xyXG5cclxuICBzaG93RnVsbFNjcmVlbkJ1dHRvbj86IGJvb2xlYW47XHJcblxyXG4gIGVuYWJsZUN1dD86IGJvb2xlYW47XHJcblxyXG4gIHRhYnM/OiBzdHJpbmdbXTtcclxuXHJcbiAgc2hvd0NoZWNrYm94ZXM/OiBib29sZWFuO1xyXG59XHJcbiJdfQ==
@@ -1,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
- }