@acorex/data-grid 6.5.29 → 6.5.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/README.md +2 -2
  2. package/acorex-data-grid.d.ts +5 -5
  3. package/esm2020/acorex-data-grid.mjs +4 -4
  4. package/esm2020/lib/data-grid/columns/check-column.component.mjs +117 -117
  5. package/esm2020/lib/data-grid/columns/column.component.mjs +164 -164
  6. package/esm2020/lib/data-grid/columns/command-column.component.mjs +115 -115
  7. package/esm2020/lib/data-grid/columns/date-column.component.mjs +111 -111
  8. package/esm2020/lib/data-grid/columns/row-number-column.component.mjs +37 -37
  9. package/esm2020/lib/data-grid/columns/selection-column.component.mjs +42 -42
  10. package/esm2020/lib/data-grid/columns/text-column.component.mjs +89 -89
  11. package/esm2020/lib/data-grid/datagrid.component.mjs +667 -667
  12. package/esm2020/lib/data-grid/datagrid.events.mjs +2 -2
  13. package/esm2020/lib/data-grid/datagrid.module.mjs +145 -145
  14. package/esm2020/lib/data-grid/filters/filter.component.mjs +39 -39
  15. package/esm2020/lib/data-grid/templates/cell-template.component.mjs +53 -53
  16. package/esm2020/lib/data-grid/templates/detail-template.component.mjs +46 -46
  17. package/esm2020/lib/data-grid/templates/row-template.component.mjs +43 -43
  18. package/esm2020/lib/data-lov/data-lov-popup/data-lov-popup.component.mjs +114 -114
  19. package/esm2020/lib/data-lov/data-lov.component.mjs +165 -165
  20. package/esm2020/lib/data-lov/data-lov.module.mjs +23 -23
  21. package/esm2020/public-api.mjs +18 -18
  22. package/fesm2015/acorex-data-grid.mjs +1833 -1833
  23. package/fesm2015/acorex-data-grid.mjs.map +1 -1
  24. package/fesm2020/acorex-data-grid.mjs +1833 -1833
  25. package/fesm2020/acorex-data-grid.mjs.map +1 -1
  26. package/lib/data-grid/columns/check-column.component.d.ts +37 -37
  27. package/lib/data-grid/columns/column.component.d.ts +32 -32
  28. package/lib/data-grid/columns/command-column.component.d.ts +27 -27
  29. package/lib/data-grid/columns/date-column.component.d.ts +32 -32
  30. package/lib/data-grid/columns/row-number-column.component.d.ts +10 -10
  31. package/lib/data-grid/columns/selection-column.component.d.ts +12 -12
  32. package/lib/data-grid/columns/text-column.component.d.ts +25 -25
  33. package/lib/data-grid/datagrid.component.d.ts +142 -142
  34. package/lib/data-grid/datagrid.events.d.ts +20 -20
  35. package/lib/data-grid/datagrid.module.d.ts +23 -23
  36. package/lib/data-grid/filters/filter.component.d.ts +5 -5
  37. package/lib/data-grid/templates/cell-template.component.d.ts +22 -22
  38. package/lib/data-grid/templates/detail-template.component.d.ts +21 -21
  39. package/lib/data-grid/templates/row-template.component.d.ts +20 -20
  40. package/lib/data-lov/data-lov-popup/data-lov-popup.component.d.ts +33 -33
  41. package/lib/data-lov/data-lov.component.d.ts +43 -43
  42. package/lib/data-lov/data-lov.module.d.ts +12 -12
  43. package/package.json +1 -1
  44. package/public-api.d.ts +17 -17
@@ -1,37 +1,37 @@
1
- import { AXGridDataColumn } from './column.component';
2
- import { ICellRendererAngularComp, IFilterAngularComp } from 'ag-grid-angular';
3
- import { ICellRendererParams, IFilterParams, IDoesFilterPassParams, IAfterGuiAttachedParams } from 'ag-grid-community';
4
- import * as i0 from "@angular/core";
5
- export declare class AXGridCheckColumn extends AXGridDataColumn {
6
- constructor();
7
- render(): any;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AXGridCheckColumn, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<AXGridCheckColumn, "ax-check-column", never, {}, {}, never, never>;
10
- }
11
- export declare class BooleanRenderer implements ICellRendererAngularComp {
12
- value: boolean;
13
- constructor();
14
- agInit(params: ICellRendererParams): void;
15
- refresh(params: ICellRendererParams): boolean;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<BooleanRenderer, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<BooleanRenderer, "ng-component", never, {}, {}, never, never>;
18
- }
19
- export declare class BooleanFilterRenderer implements IFilterAngularComp {
20
- value?: boolean;
21
- private params;
22
- private valueGetter;
23
- input: any;
24
- selectItem: {
25
- value: number;
26
- label: string;
27
- }[];
28
- agInit(params: IFilterParams): void;
29
- isFilterActive(): boolean;
30
- doesFilterPass(params: IDoesFilterPassParams): boolean;
31
- getModel(): any;
32
- setModel(model: any): void;
33
- ngAfterViewInit(params: IAfterGuiAttachedParams): void;
34
- onChange(newValue: any): void;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<BooleanFilterRenderer, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<BooleanFilterRenderer, "ng-component", never, {}, {}, never, never>;
37
- }
1
+ import { AXGridDataColumn } from './column.component';
2
+ import { ICellRendererAngularComp, IFilterAngularComp } from 'ag-grid-angular';
3
+ import { ICellRendererParams, IFilterParams, IDoesFilterPassParams, IAfterGuiAttachedParams } from 'ag-grid-community';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AXGridCheckColumn extends AXGridDataColumn {
6
+ constructor();
7
+ render(): any;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXGridCheckColumn, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXGridCheckColumn, "ax-check-column", never, {}, {}, never, never>;
10
+ }
11
+ export declare class BooleanRenderer implements ICellRendererAngularComp {
12
+ value: boolean;
13
+ constructor();
14
+ agInit(params: ICellRendererParams): void;
15
+ refresh(params: ICellRendererParams): boolean;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<BooleanRenderer, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<BooleanRenderer, "ng-component", never, {}, {}, never, never>;
18
+ }
19
+ export declare class BooleanFilterRenderer implements IFilterAngularComp {
20
+ value?: boolean;
21
+ private params;
22
+ private valueGetter;
23
+ input: any;
24
+ selectItem: {
25
+ value: number;
26
+ label: string;
27
+ }[];
28
+ agInit(params: IFilterParams): void;
29
+ isFilterActive(): boolean;
30
+ doesFilterPass(params: IDoesFilterPassParams): boolean;
31
+ getModel(): any;
32
+ setModel(model: any): void;
33
+ ngAfterViewInit(params: IAfterGuiAttachedParams): void;
34
+ onChange(newValue: any): void;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<BooleanFilterRenderer, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<BooleanFilterRenderer, "ng-component", never, {}, {}, never, never>;
37
+ }
@@ -1,32 +1,32 @@
1
- import { AXGridCellParams } from '../datagrid.events';
2
- import { AXDataGridCellTemplateComponent } from '../templates/cell-template.component';
3
- import * as i0 from "@angular/core";
4
- export declare abstract class AXGridDataColumn {
5
- cellTemplate: AXDataGridCellTemplateComponent;
6
- width: number;
7
- maxWidth: number;
8
- minWidth: number;
9
- pinned: 'start' | 'end' | null;
10
- allowSorting: boolean;
11
- allowFiltering: boolean;
12
- cellClass: (params: AXGridCellParams) => (string | string[]) | (string | string[]);
13
- sort: 'asc' | 'desc' | null;
14
- field: string;
15
- caption: string;
16
- cellRendererParams: any;
17
- checkbox: boolean;
18
- headerCheckbox: boolean;
19
- groupIndex: number;
20
- treeIndex: number;
21
- enableRowGroup: boolean;
22
- hide: boolean;
23
- floatingFilter: boolean;
24
- disableMenu: boolean;
25
- resizable: boolean;
26
- menuColumnDisable: boolean;
27
- menuItemDisable: boolean;
28
- constructor();
29
- render(): any;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<AXGridDataColumn, never>;
31
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXGridDataColumn, never, never, { "width": "width"; "maxWidth": "maxWidth"; "minWidth": "minWidth"; "pinned": "pinned"; "allowSorting": "allowSorting"; "allowFiltering": "allowFiltering"; "cellClass": "cellClass"; "sort": "sort"; "field": "field"; "caption": "caption"; "cellRendererParams": "cellRendererParams"; "checkbox": "checkbox"; "headerCheckbox": "headerCheckbox"; "groupIndex": "groupIndex"; "treeIndex": "treeIndex"; "enableRowGroup": "enableRowGroup"; "hide": "hide"; "floatingFilter": "floatingFilter"; "disableMenu": "disableMenu"; "resizable": "resizable"; "menuColumnDisable": "menuColumnDisable"; "menuItemDisable": "menuItemDisable"; }, {}, ["cellTemplate"]>;
32
- }
1
+ import { AXGridCellParams } from '../datagrid.events';
2
+ import { AXDataGridCellTemplateComponent } from '../templates/cell-template.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare abstract class AXGridDataColumn {
5
+ cellTemplate: AXDataGridCellTemplateComponent;
6
+ width: number;
7
+ maxWidth: number;
8
+ minWidth: number;
9
+ pinned: 'start' | 'end' | null;
10
+ allowSorting: boolean;
11
+ allowFiltering: boolean;
12
+ cellClass: (params: AXGridCellParams) => (string | string[]) | (string | string[]);
13
+ sort: 'asc' | 'desc' | null;
14
+ field: string;
15
+ caption: string;
16
+ cellRendererParams: any;
17
+ checkbox: boolean;
18
+ headerCheckbox: boolean;
19
+ groupIndex: number;
20
+ treeIndex: number;
21
+ enableRowGroup: boolean;
22
+ hide: boolean;
23
+ floatingFilter: boolean;
24
+ disableMenu: boolean;
25
+ resizable: boolean;
26
+ menuColumnDisable: boolean;
27
+ menuItemDisable: boolean;
28
+ constructor();
29
+ render(): any;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXGridDataColumn, never>;
31
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXGridDataColumn, never, never, { "width": "width"; "maxWidth": "maxWidth"; "minWidth": "minWidth"; "pinned": "pinned"; "allowSorting": "allowSorting"; "allowFiltering": "allowFiltering"; "cellClass": "cellClass"; "sort": "sort"; "field": "field"; "caption": "caption"; "cellRendererParams": "cellRendererParams"; "checkbox": "checkbox"; "headerCheckbox": "headerCheckbox"; "groupIndex": "groupIndex"; "treeIndex": "treeIndex"; "enableRowGroup": "enableRowGroup"; "hide": "hide"; "floatingFilter": "floatingFilter"; "disableMenu": "disableMenu"; "resizable": "resizable"; "menuColumnDisable": "menuColumnDisable"; "menuItemDisable": "menuItemDisable"; }, {}, ["cellTemplate"]>;
32
+ }
@@ -1,27 +1,27 @@
1
- import { AXGridDataColumn } from './column.component';
2
- import { EventEmitter } from '@angular/core';
3
- import { ICellRendererParams } from 'ag-grid-community';
4
- import { AXGridRowCommandEvent } from '../datagrid.events';
5
- import { AXMenuItem } from '@acorex/core';
6
- import { ICellRendererAngularComp } from 'ag-grid-angular';
7
- import * as i0 from "@angular/core";
8
- export declare type AXGridRowCommandFunction = (row: any) => AXMenuItem[];
9
- export declare class AXGridCommandColumn extends AXGridDataColumn {
10
- items: AXMenuItem[] | AXGridRowCommandFunction;
11
- onItemClick: EventEmitter<AXGridRowCommandEvent>;
12
- render(): any;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<AXGridCommandColumn, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<AXGridCommandColumn, "ax-command-column", never, { "items": "items"; }, { "onItemClick": "onItemClick"; }, never, never>;
15
- }
16
- export declare class CommandRenderer implements ICellRendererAngularComp {
17
- items: AXMenuItem[] | AXGridRowCommandFunction;
18
- node: any;
19
- private clickCallback;
20
- constructor();
21
- agInit(params: ICellRendererParams): void;
22
- refresh(params: ICellRendererParams): boolean;
23
- private mapParams;
24
- onClick(item: AXMenuItem, e: MouseEvent): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<CommandRenderer, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<CommandRenderer, "ax-command-cell", never, {}, {}, never, never>;
27
- }
1
+ import { AXGridDataColumn } from './column.component';
2
+ import { EventEmitter } from '@angular/core';
3
+ import { ICellRendererParams } from 'ag-grid-community';
4
+ import { AXGridRowCommandEvent } from '../datagrid.events';
5
+ import { AXMenuItem } from '@acorex/core';
6
+ import { ICellRendererAngularComp } from 'ag-grid-angular';
7
+ import * as i0 from "@angular/core";
8
+ export declare type AXGridRowCommandFunction = (row: any) => AXMenuItem[];
9
+ export declare class AXGridCommandColumn extends AXGridDataColumn {
10
+ items: AXMenuItem[] | AXGridRowCommandFunction;
11
+ onItemClick: EventEmitter<AXGridRowCommandEvent>;
12
+ render(): any;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXGridCommandColumn, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXGridCommandColumn, "ax-command-column", never, { "items": "items"; }, { "onItemClick": "onItemClick"; }, never, never>;
15
+ }
16
+ export declare class CommandRenderer implements ICellRendererAngularComp {
17
+ items: AXMenuItem[] | AXGridRowCommandFunction;
18
+ node: any;
19
+ private clickCallback;
20
+ constructor();
21
+ agInit(params: ICellRendererParams): void;
22
+ refresh(params: ICellRendererParams): boolean;
23
+ private mapParams;
24
+ onClick(item: AXMenuItem, e: MouseEvent): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommandRenderer, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommandRenderer, "ax-command-cell", never, {}, {}, never, never>;
27
+ }
@@ -1,32 +1,32 @@
1
- import { ElementRef } from '@angular/core';
2
- import { AXGridDataColumn } from './column.component';
3
- import { AXCalendarType } from '@acorex/core';
4
- import { AXDatePickerComponent } from '@acorex/components';
5
- import * as i0 from "@angular/core";
6
- export declare class AXGridDateColumn extends AXGridDataColumn {
7
- constructor();
8
- format: string;
9
- type: AXCalendarType;
10
- render(): any;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<AXGridDateColumn, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<AXGridDateColumn, "ax-date-column", never, { "format": "format"; "type": "type"; }, {}, never, never>;
13
- }
14
- export declare class AXDatePickerFilterComponent {
15
- datePicker: AXDatePickerComponent;
16
- div: ElementRef;
17
- selectableHoliday: boolean;
18
- type: string;
19
- date: Date;
20
- params: any;
21
- picker: any;
22
- agInit(params: any): void;
23
- ngAfterViewInit(): void;
24
- ngOnDestroy(): void;
25
- onDateChanged(selectedDates: any): void;
26
- getDate(): Date;
27
- setDate(date: Date): void;
28
- setInputPlaceholder(placeholder: string): void;
29
- onValueChanged(e: any): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDatePickerFilterComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDatePickerFilterComponent, "ax-data-picker-filter", never, {}, {}, never, never>;
32
- }
1
+ import { ElementRef } from '@angular/core';
2
+ import { AXGridDataColumn } from './column.component';
3
+ import { AXCalendarType } from '@acorex/core';
4
+ import { AXDatePickerComponent } from '@acorex/components';
5
+ import * as i0 from "@angular/core";
6
+ export declare class AXGridDateColumn extends AXGridDataColumn {
7
+ constructor();
8
+ format: string;
9
+ type: AXCalendarType;
10
+ render(): any;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXGridDateColumn, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXGridDateColumn, "ax-date-column", never, { "format": "format"; "type": "type"; }, {}, never, never>;
13
+ }
14
+ export declare class AXDatePickerFilterComponent {
15
+ datePicker: AXDatePickerComponent;
16
+ div: ElementRef;
17
+ selectableHoliday: boolean;
18
+ type: string;
19
+ date: Date;
20
+ params: any;
21
+ picker: any;
22
+ agInit(params: any): void;
23
+ ngAfterViewInit(): void;
24
+ ngOnDestroy(): void;
25
+ onDateChanged(selectedDates: any): void;
26
+ getDate(): Date;
27
+ setDate(date: Date): void;
28
+ setInputPlaceholder(placeholder: string): void;
29
+ onValueChanged(e: any): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXDatePickerFilterComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXDatePickerFilterComponent, "ax-data-picker-filter", never, {}, {}, never, never>;
32
+ }
@@ -1,10 +1,10 @@
1
- import { AXGridDataColumn } from './column.component';
2
- import * as i0 from "@angular/core";
3
- export declare class AXGridRowNumberColumn extends AXGridDataColumn {
4
- constructor();
5
- ngOnInit(): void;
6
- condition: (params: any) => boolean;
7
- render(): any;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AXGridRowNumberColumn, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<AXGridRowNumberColumn, "ax-row-number-column", never, { "condition": "condition"; }, {}, never, never>;
10
- }
1
+ import { AXGridDataColumn } from './column.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXGridRowNumberColumn extends AXGridDataColumn {
4
+ constructor();
5
+ ngOnInit(): void;
6
+ condition: (params: any) => boolean;
7
+ render(): any;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXGridRowNumberColumn, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXGridRowNumberColumn, "ax-row-number-column", never, { "condition": "condition"; }, {}, never, never>;
10
+ }
@@ -1,12 +1,12 @@
1
- import { AXGridDataColumn } from './column.component';
2
- import * as i0 from "@angular/core";
3
- export declare class AXGridSelectionColumn extends AXGridDataColumn {
4
- constructor();
5
- ngOnInit(): void;
6
- condition: (params: any) => boolean;
7
- pinned: 'start' | 'end';
8
- width: number;
9
- render(): any;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<AXGridSelectionColumn, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<AXGridSelectionColumn, "ax-selection-column", never, { "condition": "condition"; "pinned": "pinned"; "width": "width"; }, {}, never, never>;
12
- }
1
+ import { AXGridDataColumn } from './column.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXGridSelectionColumn extends AXGridDataColumn {
4
+ constructor();
5
+ ngOnInit(): void;
6
+ condition: (params: any) => boolean;
7
+ pinned: 'start' | 'end';
8
+ width: number;
9
+ render(): any;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXGridSelectionColumn, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXGridSelectionColumn, "ax-selection-column", never, { "condition": "condition"; "pinned": "pinned"; "width": "width"; }, {}, never, never>;
12
+ }
@@ -1,25 +1,25 @@
1
- import { AXGridDataColumn } from './column.component';
2
- import { IFilterParams, IDoesFilterPassParams, IAfterGuiAttachedParams } from 'ag-grid-community';
3
- import { IFilterAngularComp } from 'ag-grid-angular';
4
- import * as i0 from "@angular/core";
5
- export declare class AXGridTextColumn extends AXGridDataColumn {
6
- constructor();
7
- render(): any;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AXGridTextColumn, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<AXGridTextColumn, "ax-text-column", never, {}, {}, never, never>;
10
- }
11
- export declare class TextFilterRenderer implements IFilterAngularComp {
12
- value?: string;
13
- private params;
14
- private valueGetter;
15
- private input;
16
- agInit(params: IFilterParams): void;
17
- isFilterActive(): boolean;
18
- doesFilterPass(params: IDoesFilterPassParams): boolean;
19
- getModel(): any;
20
- setModel(model: any): void;
21
- ngAfterViewInit(params: IAfterGuiAttachedParams): void;
22
- onChange(newValue: any): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<TextFilterRenderer, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<TextFilterRenderer, "ng-component", never, {}, {}, never, never>;
25
- }
1
+ import { AXGridDataColumn } from './column.component';
2
+ import { IFilterParams, IDoesFilterPassParams, IAfterGuiAttachedParams } from 'ag-grid-community';
3
+ import { IFilterAngularComp } from 'ag-grid-angular';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AXGridTextColumn extends AXGridDataColumn {
6
+ constructor();
7
+ render(): any;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXGridTextColumn, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXGridTextColumn, "ax-text-column", never, {}, {}, never, never>;
10
+ }
11
+ export declare class TextFilterRenderer implements IFilterAngularComp {
12
+ value?: string;
13
+ private params;
14
+ private valueGetter;
15
+ private input;
16
+ agInit(params: IFilterParams): void;
17
+ isFilterActive(): boolean;
18
+ doesFilterPass(params: IDoesFilterPassParams): boolean;
19
+ getModel(): any;
20
+ setModel(model: any): void;
21
+ ngAfterViewInit(params: IAfterGuiAttachedParams): void;
22
+ onChange(newValue: any): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextFilterRenderer, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextFilterRenderer, "ng-component", never, {}, {}, never, never>;
25
+ }