igniteui-webcomponents-grids 4.8.1-beta.0 → 4.8.1

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.
package/grids/index.d.ts CHANGED
@@ -20,6 +20,7 @@ export * from './lib/igc-active-node-change-event-args'
20
20
  export * from './lib/igc-base-date-time-filtering-operand'
21
21
  export * from './lib/igc-base-event-args'
22
22
  export * from './lib/igc-base-exporter'
23
+ export * from './lib/igc-base-filtering-strategy'
23
24
  export * from './lib/igc-base-search-info'
24
25
  export * from './lib/igc-base-toolbar-column-actions-directive'
25
26
  export * from './lib/igc-base-toolbar-directive'
@@ -58,6 +59,7 @@ export * from './lib/igc-exporter-event-args'
58
59
  export * from './lib/igc-exporter-options-base'
59
60
  export * from './lib/igc-expression-tree'
60
61
  export * from './lib/igc-field-pipe-args'
62
+ export * from './lib/igc-filter-item'
61
63
  export * from './lib/igc-filtering-event-args'
62
64
  export * from './lib/igc-filtering-expression'
63
65
  export * from './lib/igc-filtering-expressions-tree'
@@ -128,7 +130,9 @@ export * from './lib/igc-head-selector-template-details'
128
130
  export * from './lib/igc-header-type'
129
131
  export * from './lib/igc-hierarchical-grid-base-directive'
130
132
  export * from './lib/igc-hierarchical-grid-component'
133
+ export * from './lib/igc-noop-filtering-strategy'
131
134
  export * from './lib/igc-noop-pivot-dimensions-strategy'
135
+ export * from './lib/igc-noop-sorting-strategy'
132
136
  export * from './lib/igc-number-filtering-operand'
133
137
  export * from './lib/igc-number-summary-operand'
134
138
  export * from './lib/igc-overlay-outlet-directive'
@@ -0,0 +1,36 @@
1
+
2
+ import { IgcFilteringExpression } from './igc-filtering-expression';
3
+ import { IgcGridBaseDirective } from './igc-grid-base-directive';
4
+ import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
5
+ import { IgcColumnComponent } from './igc-column-component';
6
+ import { IgcFilterItem } from './igc-filter-item';
7
+
8
+
9
+
10
+
11
+ /* csSuppress */
12
+
13
+ export declare abstract class IgcBaseFilteringStrategy
14
+ {
15
+
16
+
17
+ // protected
18
+ public findMatchByExpression(rec: any, expr: IgcFilteringExpression, isDate?: boolean, isTime?: boolean, grid?: IgcGridBaseDirective): boolean;
19
+
20
+
21
+
22
+ // protected
23
+ public matchRecord(rec: any, expressions: IgcFilteringExpressionsTree | IgcFilteringExpression, grid?: IgcGridBaseDirective): boolean;
24
+
25
+
26
+
27
+ public getFilterItems(column: IgcColumnComponent, tree: IgcFilteringExpressionsTree): Promise<IgcFilterItem[]>;
28
+
29
+
30
+
31
+ public filter(data: any[], expressionsTree: IgcFilteringExpressionsTree, advancedExpressionsTree?: IgcFilteringExpressionsTree, grid?: IgcGridBaseDirective): any[];
32
+
33
+ }
34
+
35
+
36
+
@@ -0,0 +1,25 @@
1
+
2
+
3
+
4
+ /* jsonAPIPlainObject */
5
+
6
+
7
+ /* csSuppress */
8
+
9
+ export declare class IgcFilterItem
10
+ {
11
+
12
+
13
+ public set value(value: any);
14
+ public get value(): any;
15
+
16
+
17
+ public label?: string;
18
+
19
+
20
+ public children?: IgcFilterItem[];
21
+
22
+ }
23
+
24
+
25
+
@@ -1,18 +1,25 @@
1
1
 
2
2
  import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
3
3
  import { IgcGridBaseDirective } from './igc-grid-base-directive';
4
+ import { IgcColumnComponent } from './igc-column-component';
5
+ import { IgcFilterItem } from './igc-filter-item';
4
6
 
5
7
 
6
8
  /* jsonAPIPlainObject */
7
9
 
8
10
 
9
11
 
12
+
10
13
  export declare class IgcFilteringStrategy
11
14
  {
12
15
 
13
16
 
14
17
  public filter(data: any[], expressionsTree: IgcFilteringExpressionsTree, advancedExpressionsTree?: IgcFilteringExpressionsTree, grid?: IgcGridBaseDirective): any[];
15
18
 
19
+
20
+ /* csSuppress */
21
+ public getFilterItems(column: IgcColumnComponent, tree: IgcFilteringExpressionsTree): Promise<IgcFilterItem[]>;
22
+
16
23
  }
17
24
 
18
25
 
@@ -0,0 +1,24 @@
1
+
2
+ import { IgcBaseFilteringStrategy } from './igc-base-filtering-strategy';
3
+ import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
4
+
5
+
6
+
7
+
8
+ /* csSuppress */
9
+
10
+ export declare class IgcNoopFilteringStrategy extends IgcBaseFilteringStrategy
11
+ {
12
+
13
+
14
+
15
+ public static instance(): void;
16
+
17
+
18
+
19
+ public filter(data: any[], _: IgcFilteringExpressionsTree, __?: IgcFilteringExpressionsTree): any[];
20
+
21
+ }
22
+
23
+
24
+
@@ -0,0 +1,27 @@
1
+
2
+
3
+
4
+
5
+
6
+ /* csSuppress */
7
+ /**
8
+ * Represents a class implementing the IGridSortingStrategy interface with a no-operation sorting strategy.
9
+ * It performs no sorting and returns the data as it is.
10
+ */
11
+
12
+ export declare class IgcNoopSortingStrategy
13
+ {
14
+
15
+
16
+
17
+ public static instance(): IgcNoopSortingStrategy;
18
+
19
+
20
+
21
+ /* csSuppress */
22
+ public sort(data: any[]): any[];
23
+
24
+ }
25
+
26
+
27
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-webcomponents-grids",
3
- "version": "4.8.1-beta.0",
3
+ "version": "4.8.1",
4
4
  "description": "Ignite UI Web Components grid components.",
5
5
  "homepage": "https://github.com/IgniteUI/igniteui-webcomponents-grids",
6
6
  "keywords": [
@@ -18,9 +18,9 @@
18
18
  "tslib": "^2.3.1"
19
19
  },
20
20
  "peerDependencies": {
21
- "igniteui-webcomponents-core": "4.8.1-beta.0",
22
- "igniteui-webcomponents-layouts": "4.8.1-beta.0",
23
- "igniteui-webcomponents-inputs": "4.8.1-beta.0"
21
+ "igniteui-webcomponents-core": "4.8.1",
22
+ "igniteui-webcomponents-layouts": "4.8.1",
23
+ "igniteui-webcomponents-inputs": "4.8.1"
24
24
  },
25
25
  "sideEffects": [
26
26
  "./grids/combined.js"