igniteui-webcomponents-grids 4.8.1 → 5.0.0-beta.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/bundles/igniteui-webcomponents-grids.umd.js +1078 -600
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/CheckboxListBridge.js +171 -0
- package/esm2015/lib/CheckboxListExternal.js +11 -0
- package/esm2015/lib/CheckboxListViewExternal.js +11 -0
- package/esm2015/lib/CheckboxListView_combined.js +554 -441
- package/esm2015/lib/CheckedChangedEventArgs.js +3 -2
- package/esm2015/lib/ColumnChooserView_combined.js +15 -15
- package/esm2015/lib/ColumnFilterCondition_combined.js +8 -8
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnGroupingVisualModelExport.js +1 -1
- package/esm2015/lib/ColumnPinningView_combined.js +12 -12
- package/esm2015/lib/DateEditorView.js +12 -12
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm2015/lib/ISummaryChooserView_combined.js +17 -17
- package/esm2015/lib/NativeUIGridFactory.js +66 -0
- package/esm2015/lib/PagerVisualModelExport.js +4 -4
- package/esm2015/lib/igc-checkbox-list-component.js +159 -93
- package/esm2015/lib/igc-checkbox-list-module.js +3 -0
- package/esm2015/lib/igc-checked-changed-event-args.js +14 -4
- package/esm2015/public_api.js +5 -0
- package/esm5/lib/CheckboxListBridge.js +173 -0
- package/esm5/lib/CheckboxListExternal.js +11 -0
- package/esm5/lib/CheckboxListViewExternal.js +11 -0
- package/esm5/lib/CheckboxListView_combined.js +541 -422
- package/esm5/lib/CheckedChangedEventArgs.js +3 -2
- package/esm5/lib/ColumnChooserView_combined.js +15 -15
- package/esm5/lib/ColumnFilterCondition_combined.js +8 -8
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnGroupingVisualModelExport.js +1 -1
- package/esm5/lib/ColumnPinningView_combined.js +12 -12
- package/esm5/lib/DateEditorView.js +12 -12
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm5/lib/ISummaryChooserView_combined.js +17 -17
- package/esm5/lib/NativeUIGridFactory.js +76 -0
- package/esm5/lib/PagerVisualModelExport.js +4 -4
- package/esm5/lib/igc-checkbox-list-component.js +173 -93
- package/esm5/lib/igc-checkbox-list-module.js +3 -0
- package/esm5/lib/igc-checked-changed-event-args.js +17 -3
- package/esm5/public_api.js +5 -0
- package/fesm2015/igniteui-webcomponents-grids.js +1065 -623
- package/fesm5/igniteui-webcomponents-grids.js +1077 -603
- package/grids/combined.js +37327 -39208
- package/grids/index.d.ts +8 -8
- package/grids/lib/igc-action-strip-component.d.ts +4 -4
- package/grids/lib/igc-action-strip-token.d.ts +16 -0
- package/grids/lib/igc-base-exporter.d.ts +0 -4
- package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +1 -1
- package/grids/lib/igc-base-toolbar-directive.d.ts +0 -8
- package/grids/lib/igc-column-component.d.ts +15 -101
- package/grids/lib/igc-column-group-component.d.ts +94 -1
- package/grids/lib/igc-column-layout-component.d.ts +11 -0
- package/grids/lib/igc-column-pipe-args.d.ts +1 -0
- package/grids/lib/igc-column-resize-event-args.d.ts +1 -0
- package/grids/lib/igc-column-state.d.ts +0 -4
- package/grids/lib/igc-columns-auto-generated-event-args.d.ts +2 -0
- package/grids/lib/igc-for-of-data-changing-event-args.d.ts +4 -0
- package/grids/lib/igc-grid-base-directive.d.ts +34 -21
- package/grids/lib/igc-grid-component.d.ts +1 -1
- package/grids/lib/igc-grid-context-menu-event-args.d.ts +32 -0
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +11 -3
- package/grids/lib/igc-grid-edit-event-args.d.ts +12 -3
- package/grids/lib/igc-grid-paginator-template-context.d.ts +19 -0
- package/grids/lib/igc-grid-resource-strings.d.ts +0 -3
- package/grids/lib/igc-grid-row-event-args.d.ts +27 -0
- package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +0 -8
- package/grids/lib/igc-grid-toolbar-component.d.ts +3 -2
- package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +5 -10
- package/grids/lib/igc-header-type.d.ts +0 -5
- package/grids/lib/igc-hierarchical-grid-component.d.ts +2 -2
- package/grids/lib/igc-paginator-component.d.ts +6 -22
- package/grids/lib/igc-pin-row-event-args.d.ts +5 -1
- package/grids/lib/igc-pivot-aggregator.d.ts +1 -1
- package/grids/lib/igc-pivot-configuration.d.ts +0 -1
- package/grids/lib/igc-pivot-data-selector-component.d.ts +2 -1
- package/grids/lib/igc-pivot-date-dimension.d.ts +3 -0
- package/grids/lib/igc-pivot-dimension.d.ts +12 -1
- package/grids/lib/igc-pivot-grid-component.d.ts +29 -19
- package/grids/lib/igc-pivot-grid-record.d.ts +8 -0
- package/grids/lib/igc-pivot-ui-settings.d.ts +28 -0
- package/grids/lib/igc-pivot-value.d.ts +0 -2
- package/grids/lib/igc-position-settings.d.ts +1 -10
- package/grids/lib/igc-row-data-cancelable-event-args.d.ts +61 -0
- package/grids/lib/igc-row-data-event-args.d.ts +10 -0
- package/grids/lib/igc-row-directive.d.ts +0 -5
- package/grids/lib/igc-row-island-component.d.ts +50 -146
- package/grids/lib/igc-row-toggle-event-args.d.ts +7 -1
- package/grids/lib/igc-sorting-options.d.ts +0 -1
- package/grids/lib/igc-tree-grid-component.d.ts +15 -18
- package/grids/lib/pivot-row-layout-type.d.ts +3 -0
- package/grids/lib/pivot-summary-position.d.ts +3 -0
- package/grids/styles.css +1 -1
- package/grids/themes/dark/bootstrap.css +1 -1
- package/grids/themes/dark/fluent.css +1 -1
- package/grids/themes/dark/indigo.css +1 -1
- package/grids/themes/dark/material.css +1 -1
- package/grids/themes/light/bootstrap.css +1 -1
- package/grids/themes/light/fluent.css +1 -1
- package/grids/themes/light/indigo.css +1 -1
- package/grids/themes/light/material.css +1 -1
- package/lib/CheckboxListBridge.d.ts +29 -0
- package/lib/CheckboxListExternal.d.ts +29 -0
- package/lib/CheckboxListViewExternal.d.ts +16 -0
- package/lib/CheckboxListView_combined.d.ts +130 -121
- package/lib/CheckedChangedEventArgs.d.ts +3 -2
- package/lib/ColumnFilterCondition_combined.d.ts +1 -1
- package/lib/DateEditorView.d.ts +2 -2
- package/lib/NativeUIGridFactory.d.ts +19 -0
- package/lib/igc-checkbox-list-component.d.ts +19 -0
- package/lib/igc-checked-changed-event-args.d.ts +2 -0
- package/package.json +4 -4
- package/public_api.d.ts +5 -0
- package/grids/3rdpartylicenses.txt +0 -705
- package/grids/lib/display-density.d.ts +0 -3
- package/grids/lib/igc-child-grid-row-component.d.ts +0 -59
- package/grids/lib/igc-density-changed-event-args.d.ts +0 -21
- package/grids/lib/igc-display-density-base.d.ts +0 -45
- package/grids/lib/igc-grid-filtering-cell-component.d.ts +0 -16
- package/grids/lib/igc-grid-header-component.d.ts +0 -16
- package/grids/lib/igc-grid-header-group-component.d.ts +0 -16
- package/grids/lib/igc-toggle-directive.d.ts +0 -171
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
import { IgcDisplayDensityBase } from './igc-display-density-base';
|
|
3
2
|
import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
|
|
4
3
|
import { IgcGridScrollEventArgs } from './igc-grid-scroll-event-args';
|
|
5
4
|
import { IgcGridCellEventArgs } from './igc-grid-cell-event-args';
|
|
5
|
+
import { IgcGridRowEventArgs } from './igc-grid-row-event-args';
|
|
6
6
|
import { IgcGridFormGroupCreatedEventArgs } from './igc-grid-form-group-created-event-args';
|
|
7
7
|
import { IgcGridValidationStatusEventArgs } from './igc-grid-validation-status-event-args';
|
|
8
8
|
import { IgcRowSelectionEventArgs } from './igc-row-selection-event-args';
|
|
@@ -17,7 +17,9 @@ import { IgcSortingEventArgs } from './igc-sorting-event-args';
|
|
|
17
17
|
import { IgcSortingExpression } from './igc-sorting-expression';
|
|
18
18
|
import { IgcFilteringEventArgs } from './igc-filtering-event-args';
|
|
19
19
|
import { IgcRowDataEventArgs } from './igc-row-data-event-args';
|
|
20
|
+
import { IgcRowDataCancelableEventArgs } from './igc-row-data-cancelable-event-args';
|
|
20
21
|
import { IgcColumnResizeEventArgs } from './igc-column-resize-event-args';
|
|
22
|
+
import { IgcGridContextMenuEventArgs } from './igc-grid-context-menu-event-args';
|
|
21
23
|
import { IgcColumnVisibilityChangingEventArgs } from './igc-column-visibility-changing-event-args';
|
|
22
24
|
import { IgcColumnVisibilityChangedEventArgs } from './igc-column-visibility-changed-event-args';
|
|
23
25
|
import { IgcColumnMovingStartEventArgs } from './igc-column-moving-start-event-args';
|
|
@@ -36,7 +38,7 @@ import { IgcForOfDataChangingEventArgs } from './igc-for-of-data-changing-event-
|
|
|
36
38
|
import { IgcRenderFunction } from './common';
|
|
37
39
|
import { IgcDataCloneStrategy } from './igc-data-clone-strategy';
|
|
38
40
|
import { IgcClipboardOptions } from './igc-clipboard-options';
|
|
39
|
-
import {
|
|
41
|
+
import { IgcActionStripToken } from './igc-action-strip-token';
|
|
40
42
|
import { IgcGridRowDragGhostContext } from './igc-grid-row-drag-ghost-context';
|
|
41
43
|
import { IgcGridRowEditTextTemplateContext } from './igc-grid-row-edit-text-template-context';
|
|
42
44
|
import { IgcGridEmptyTemplateContext } from './igc-grid-empty-template-context';
|
|
@@ -81,7 +83,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
81
83
|
omitModule
|
|
82
84
|
wcSkipComponentSuffix */
|
|
83
85
|
|
|
84
|
-
export declare abstract class IgcGridBaseDirective extends EventEmitterMixin<IgcGridBaseDirectiveEventMap, Constructor<
|
|
86
|
+
export declare abstract class IgcGridBaseDirective extends EventEmitterMixin<IgcGridBaseDirectiveEventMap, Constructor<LitElement>>(LitElement)
|
|
85
87
|
|
|
86
88
|
{
|
|
87
89
|
|
|
@@ -252,7 +254,6 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
252
254
|
|
|
253
255
|
|
|
254
256
|
|
|
255
|
-
/* alternateType: string */
|
|
256
257
|
/**
|
|
257
258
|
* Gets/Sets the primary key.
|
|
258
259
|
*
|
|
@@ -266,7 +267,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
266
267
|
|
|
267
268
|
|
|
268
269
|
|
|
269
|
-
/*
|
|
270
|
+
/* reactContentChildren */
|
|
270
271
|
/* blazorInclude */
|
|
271
272
|
/* blazorTreatAsCollection */
|
|
272
273
|
/* blazorCollectionName: ColumnCollection */
|
|
@@ -283,10 +284,11 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
283
284
|
/* blazorInclude */
|
|
284
285
|
/* blazorTreatAsCollection */
|
|
285
286
|
/* blazorCollectionName: ActionStripCollection */
|
|
287
|
+
/* blazorCollectionItemName: ActionStrip */
|
|
286
288
|
/* ngQueryListName: actionStripComponents */
|
|
287
289
|
/** @hidden @internal */
|
|
288
|
-
public set actionStripComponents(value:
|
|
289
|
-
public get actionStripComponents():
|
|
290
|
+
public set actionStripComponents(value: IgcActionStripToken[]);
|
|
291
|
+
public get actionStripComponents(): IgcActionStripToken[];
|
|
290
292
|
|
|
291
293
|
|
|
292
294
|
|
|
@@ -409,6 +411,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
409
411
|
|
|
410
412
|
|
|
411
413
|
|
|
414
|
+
|
|
412
415
|
/**
|
|
413
416
|
* Gets/Sets the resource strings.
|
|
414
417
|
*
|
|
@@ -1024,19 +1027,18 @@ public set selectedRows(value: any[]);
|
|
|
1024
1027
|
*/
|
|
1025
1028
|
public get defaultHeaderGroupMinWidth(): number;
|
|
1026
1029
|
|
|
1027
|
-
|
|
1030
|
+
|
|
1028
1031
|
|
|
1029
1032
|
/**
|
|
1030
1033
|
* Gets an array of `IgxColumnComponent`s.
|
|
1031
1034
|
*
|
|
1032
1035
|
* @example
|
|
1033
1036
|
* ```typescript
|
|
1034
|
-
* const
|
|
1037
|
+
* const colums = this.grid.columns.
|
|
1035
1038
|
* ```
|
|
1036
1039
|
*/
|
|
1037
|
-
public
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
+
public get columns(): IgcColumnComponent[];
|
|
1041
|
+
|
|
1040
1042
|
|
|
1041
1043
|
|
|
1042
1044
|
/**
|
|
@@ -1763,7 +1765,6 @@ public set selectedRows(value: any[]);
|
|
|
1763
1765
|
|
|
1764
1766
|
|
|
1765
1767
|
|
|
1766
|
-
|
|
1767
1768
|
/**
|
|
1768
1769
|
* Select specified columns.
|
|
1769
1770
|
*
|
|
@@ -1998,6 +1999,18 @@ gridScroll: CustomEvent<IgcGridScrollEventArgs>;
|
|
|
1998
1999
|
*/
|
|
1999
2000
|
cellClick: CustomEvent<IgcGridCellEventArgs>;
|
|
2000
2001
|
|
|
2002
|
+
/**
|
|
2003
|
+
* Emitted when a row is clicked.
|
|
2004
|
+
*
|
|
2005
|
+
* @remarks
|
|
2006
|
+
* Returns the `IgxGridRow`.
|
|
2007
|
+
* @example
|
|
2008
|
+
* ```html
|
|
2009
|
+
* <igx-grid #grid (rowClick)="rowClick($event)" [data]="localData" [height]="'305px'" [autoGenerate]="true"></igx-grid>
|
|
2010
|
+
* ```
|
|
2011
|
+
*/
|
|
2012
|
+
rowClick: CustomEvent<IgcGridRowEventArgs>;
|
|
2013
|
+
|
|
2001
2014
|
/**
|
|
2002
2015
|
* Emitted when formGroup is created on edit of row/cell.
|
|
2003
2016
|
*
|
|
@@ -2208,7 +2221,7 @@ columnInit: CustomEvent<IgcColumnComponent>;
|
|
|
2208
2221
|
|
|
2209
2222
|
/* blazorInclude */
|
|
2210
2223
|
/**
|
|
2211
|
-
* @internal
|
|
2224
|
+
* @hidden @internal
|
|
2212
2225
|
*/
|
|
2213
2226
|
columnsAutogenerated: CustomEvent<IgcColumnsAutoGeneratedEventArgs>;
|
|
2214
2227
|
|
|
@@ -2291,26 +2304,26 @@ rowDeleted: CustomEvent<IgcRowDataEventArgs>;
|
|
|
2291
2304
|
*
|
|
2292
2305
|
* @remarks
|
|
2293
2306
|
* This event is cancelable.
|
|
2294
|
-
* Returns an `
|
|
2307
|
+
* Returns an IRowDataCancellableEventArgs` object.
|
|
2295
2308
|
* @example
|
|
2296
2309
|
* ```html
|
|
2297
2310
|
* <igx-grid #grid [data]="localData" (rowDelete)="rowDelete($event)" [height]="'305px'" [autoGenerate]="true"></igx-grid>
|
|
2298
2311
|
* ```
|
|
2299
2312
|
*/
|
|
2300
|
-
rowDelete: CustomEvent<
|
|
2313
|
+
rowDelete: CustomEvent<IgcRowDataCancelableEventArgs>;
|
|
2301
2314
|
|
|
2302
2315
|
/**
|
|
2303
2316
|
* Emmited just before the newly added row is commited.
|
|
2304
2317
|
*
|
|
2305
2318
|
* @remarks
|
|
2306
2319
|
* This event is cancelable.
|
|
2307
|
-
* Returns an `
|
|
2320
|
+
* Returns an IRowDataCancellableEventArgs` object.
|
|
2308
2321
|
* @example
|
|
2309
2322
|
* ```html
|
|
2310
2323
|
* <igx-grid #grid [data]="localData" (rowAdd)="rowAdd($event)" [height]="'305px'" [autoGenerate]="true"></igx-grid>
|
|
2311
2324
|
* ```
|
|
2312
2325
|
*/
|
|
2313
|
-
rowAdd: CustomEvent<
|
|
2326
|
+
rowAdd: CustomEvent<IgcRowDataCancelableEventArgs>;
|
|
2314
2327
|
|
|
2315
2328
|
/**
|
|
2316
2329
|
* Emitted after column is resized.
|
|
@@ -2325,15 +2338,15 @@ rowAdd: CustomEvent<IgcGridEditEventArgs>;
|
|
|
2325
2338
|
columnResized: CustomEvent<IgcColumnResizeEventArgs>;
|
|
2326
2339
|
|
|
2327
2340
|
/**
|
|
2328
|
-
* Emitted when a cell is right clicked.
|
|
2341
|
+
* Emitted when a cell or row is right clicked.
|
|
2329
2342
|
*
|
|
2330
2343
|
* @remarks
|
|
2331
|
-
* Returns the `IgxGridCell` object.
|
|
2344
|
+
* Returns the `IgxGridCell` object if the immediate context menu target is a cell or an `IgxGridRow` otherwise.
|
|
2332
2345
|
* ```html
|
|
2333
2346
|
* <igx-grid #grid [data]="localData" (contextMenu)="contextMenu($event)" [autoGenerate]="true"></igx-grid>
|
|
2334
2347
|
* ```
|
|
2335
2348
|
*/
|
|
2336
|
-
contextMenu: CustomEvent<
|
|
2349
|
+
contextMenu: CustomEvent<IgcGridContextMenuEventArgs>;
|
|
2337
2350
|
|
|
2338
2351
|
/**
|
|
2339
2352
|
* Emitted when a cell is double clicked.
|
|
@@ -147,7 +147,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
|
-
* Gets/Sets the array of data that populates the
|
|
150
|
+
* Gets/Sets the array of data that populates the component.
|
|
151
151
|
*
|
|
152
152
|
* @example
|
|
153
153
|
* ```html
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcCellType } from './igc-cell-type';
|
|
3
|
+
import { IgcRowType } from './igc-row-type';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/** Represents an event argument for the grid contextMenu output */
|
|
9
|
+
|
|
10
|
+
export declare class IgcGridContextMenuEventArgs
|
|
11
|
+
{
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/** Represents the grid cell that triggered the event. */
|
|
15
|
+
public cell: IgcCellType;
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
/* blazorCSSuppress */
|
|
19
|
+
/**
|
|
20
|
+
* Represents the original event that occurred
|
|
21
|
+
* Examples of such events include: selecting, clicking, double clicking, etc.
|
|
22
|
+
*/
|
|
23
|
+
public event: any;
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/** Represents the grid row that triggered the event. */
|
|
27
|
+
public row: IgcRowType;
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
@@ -12,13 +12,21 @@ import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
|
12
12
|
{
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated Use the `rowKey` property instead.
|
|
17
|
+
*/
|
|
15
18
|
public rowID: any;
|
|
16
19
|
|
|
17
|
-
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Use the `rowKey` property instead.
|
|
23
|
+
*/
|
|
18
24
|
public primaryKey: any;
|
|
19
25
|
|
|
20
|
-
|
|
21
|
-
|
|
26
|
+
|
|
27
|
+
public rowKey: any;
|
|
28
|
+
|
|
29
|
+
|
|
22
30
|
public cellID?: { rowID: any; columnID: any; rowIndex: number; };
|
|
23
31
|
|
|
24
32
|
|
|
@@ -5,6 +5,7 @@ import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
|
|
8
9
|
/**
|
|
9
10
|
* Represents event arguments related to grid editing.
|
|
10
11
|
* The event is cancelable
|
|
@@ -21,13 +22,21 @@ import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
|
21
22
|
public cancel: boolean;
|
|
22
23
|
|
|
23
24
|
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated Use the `rowKey` property instead.
|
|
27
|
+
*/
|
|
24
28
|
public rowID: any;
|
|
25
29
|
|
|
26
|
-
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @deprecated Use the `rowKey` property instead.
|
|
33
|
+
*/
|
|
27
34
|
public primaryKey: any;
|
|
28
35
|
|
|
29
|
-
|
|
30
|
-
|
|
36
|
+
|
|
37
|
+
public rowKey: any;
|
|
38
|
+
|
|
39
|
+
|
|
31
40
|
public cellID?: { rowID: any; columnID: any; rowIndex: number; };
|
|
32
41
|
|
|
33
42
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export declare class IgcGridPaginatorTemplateContext
|
|
9
|
+
{
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
/* @wcWidgetMemberName: $implicit */
|
|
13
|
+
public set implicit(value: IgcGridBaseDirective);
|
|
14
|
+
public get implicit(): IgcGridBaseDirective;
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcBaseEventArgs } from './igc-base-event-args';
|
|
3
|
+
import { IgcRowType } from './igc-row-type';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/** Represents an event argument related to grid row interactions. */
|
|
9
|
+
|
|
10
|
+
export declare class IgcGridRowEventArgs extends IgcBaseEventArgs
|
|
11
|
+
{
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/** Represents the grid row that triggered the event. */
|
|
15
|
+
public row: IgcRowType;
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Represents the original event that occurred
|
|
20
|
+
* Examples of such events include: selecting, clicking, double clicking, etc.
|
|
21
|
+
*/
|
|
22
|
+
public event: any;
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
3
2
|
import { IgcOverlaySettings } from './igc-overlay-settings';
|
|
4
3
|
|
|
5
4
|
|
|
@@ -28,13 +27,6 @@ import { IgcOverlaySettings } from './igc-overlay-settings';
|
|
|
28
27
|
export declare class IgcGridToolbarAdvancedFilteringComponent extends HTMLElement
|
|
29
28
|
{
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Returns the grid containing this component.
|
|
35
|
-
*/
|
|
36
|
-
public get grid(): IgcGridBaseDirective;
|
|
37
|
-
|
|
38
30
|
|
|
39
31
|
|
|
40
32
|
public set overlaySettings(value: IgcOverlaySettings);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
import { IgcDisplayDensityBase } from './igc-display-density-base';
|
|
3
2
|
import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
4
3
|
|
|
5
4
|
|
|
@@ -23,7 +22,7 @@ import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
|
23
22
|
*
|
|
24
23
|
*/
|
|
25
24
|
|
|
26
|
-
export declare class IgcGridToolbarComponent extends
|
|
25
|
+
export declare class IgcGridToolbarComponent extends HTMLElement
|
|
27
26
|
{
|
|
28
27
|
|
|
29
28
|
|
|
@@ -43,6 +42,8 @@ import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
|
43
42
|
/**
|
|
44
43
|
* Gets/sets the grid component for the toolbar component.
|
|
45
44
|
*
|
|
45
|
+
* @deprecated No longer required to be set for the Hierarchical Grid child grid template
|
|
46
|
+
*
|
|
46
47
|
* @remarks
|
|
47
48
|
* Usually you should not set this property in the context of the default grid/tree grid.
|
|
48
49
|
* The only grids that demands this to be set are the hierarchical child grids. For additional
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { IgcBaseToolbarDirective } from './igc-base-toolbar-directive';
|
|
3
3
|
import { IgcExporterEventArgs } from './igc-exporter-event-args';
|
|
4
4
|
import { GridToolbarExporterType } from './grid-toolbar-exporter-type';
|
|
5
|
-
import { IgcToggleDirective } from './igc-toggle-directive';
|
|
6
5
|
import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from './common';
|
|
7
6
|
|
|
8
7
|
|
|
@@ -54,18 +53,14 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
54
53
|
public set filename(value: string);
|
|
55
54
|
public get filename(): string;
|
|
56
55
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Indicates whether there is an export in progress.
|
|
61
|
-
*/
|
|
62
|
-
public set isExporting(value: boolean);
|
|
63
|
-
public get isExporting(): boolean;
|
|
64
|
-
|
|
65
56
|
|
|
66
57
|
|
|
67
58
|
/* alternateName: exportGrid */
|
|
68
|
-
|
|
59
|
+
/**
|
|
60
|
+
* Export the grid's data
|
|
61
|
+
* @param type File type to export
|
|
62
|
+
*/
|
|
63
|
+
public export(type: GridToolbarExporterType): void;
|
|
69
64
|
|
|
70
65
|
}
|
|
71
66
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { IgcColumnComponent } from './igc-column-component';
|
|
3
|
-
import { DisplayDensity } from './display-density';
|
|
4
3
|
import { SortingDirection } from './sorting-direction';
|
|
5
4
|
|
|
6
5
|
|
|
@@ -21,10 +20,6 @@ import { SortingDirection } from './sorting-direction';
|
|
|
21
20
|
public get column(): IgcColumnComponent;
|
|
22
21
|
|
|
23
22
|
|
|
24
|
-
public set density(value: DisplayDensity);
|
|
25
|
-
public get density(): DisplayDensity;
|
|
26
|
-
|
|
27
|
-
|
|
28
23
|
/** Indicates whether the column is currently sorted. */
|
|
29
24
|
public set sorted(value: boolean);
|
|
30
25
|
public get sorted(): boolean;
|
|
@@ -79,7 +79,7 @@ import { IgcRowType } from './igc-row-type';
|
|
|
79
79
|
|
|
80
80
|
/* treatAsRef */
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* Gets/Sets the array of data that populates the component.
|
|
83
83
|
* ```html
|
|
84
84
|
* <igx-hierarchical-grid [data]="Data" [autoGenerate]="true"></igx-hierarchical-grid>
|
|
85
85
|
* ```
|
|
@@ -109,7 +109,7 @@ import { IgcRowType } from './igc-row-type';
|
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
111
|
* Sets if all immediate children of the `IgxHierarchicalGridComponent` should be expanded/collapsed.
|
|
112
|
-
*
|
|
112
|
+
* Default value is false.
|
|
113
113
|
* ```html
|
|
114
114
|
* <igx-hierarchical-grid [id]="'igx-grid-1'" [data]="Data" [autoGenerate]="true" [expandChildren]="true"></igx-hierarchical-grid>
|
|
115
115
|
* ```
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
import { IgcDisplayDensityBase } from './igc-display-density-base';
|
|
3
2
|
import { IgcPageCancellableEventArgs } from './igc-page-cancellable-event-args';
|
|
4
3
|
import { IgcPageEventArgs } from './igc-page-event-args';
|
|
5
4
|
import { IgcOverlaySettings } from './igc-overlay-settings';
|
|
@@ -23,7 +22,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
23
22
|
* @igxParent IgxGridComponent, IgxTreeGridComponent, IgxHierarchicalGridComponent, IgxPivotGridComponent, *
|
|
24
23
|
*/
|
|
25
24
|
|
|
26
|
-
export declare class IgcPaginatorComponent extends EventEmitterMixin<IgcPaginatorComponentEventMap, Constructor<
|
|
25
|
+
export declare class IgcPaginatorComponent extends EventEmitterMixin<IgcPaginatorComponentEventMap, Constructor<LitElement>>(LitElement)
|
|
27
26
|
|
|
28
27
|
{
|
|
29
28
|
|
|
@@ -38,7 +37,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
38
37
|
|
|
39
38
|
|
|
40
39
|
/**
|
|
41
|
-
*
|
|
40
|
+
* Gets/Sets the current page of the paginator.
|
|
42
41
|
* The default is 0.
|
|
43
42
|
* ```typescript
|
|
44
43
|
* let page = this.paginator.page;
|
|
@@ -52,7 +51,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
52
51
|
|
|
53
52
|
|
|
54
53
|
/**
|
|
55
|
-
*
|
|
54
|
+
* Gets/Sets the number of visible items per page in the paginator.
|
|
56
55
|
* The default is 15.
|
|
57
56
|
* ```typescript
|
|
58
57
|
* let itemsPerPage = this.paginator.perPage;
|
|
@@ -66,7 +65,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
66
65
|
|
|
67
66
|
|
|
68
67
|
/**
|
|
69
|
-
*
|
|
68
|
+
* Sets the total records.
|
|
70
69
|
* ```typescript
|
|
71
70
|
* let totalRecords = this.paginator.totalRecords;
|
|
72
71
|
* ```
|
|
@@ -79,7 +78,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
79
78
|
|
|
80
79
|
|
|
81
80
|
/**
|
|
82
|
-
*
|
|
81
|
+
* Sets custom options in the select of the paginator
|
|
83
82
|
* ```typescript
|
|
84
83
|
* let options = this.paginator.selectOptions;
|
|
85
84
|
* ```
|
|
@@ -92,7 +91,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
92
91
|
|
|
93
92
|
|
|
94
93
|
/**
|
|
95
|
-
*
|
|
94
|
+
* Sets custom OverlaySettings.
|
|
96
95
|
* ```html
|
|
97
96
|
* <igx-paginator [overlaySettings] = "customOverlaySettings"></igx-paginator>
|
|
98
97
|
* ```
|
|
@@ -130,21 +129,6 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
130
129
|
*/
|
|
131
130
|
public get isFirstPage(): boolean;
|
|
132
131
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Returns if the first pager buttons should be disabled
|
|
138
|
-
*/
|
|
139
|
-
public get isFirstPageDisabled(): boolean;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Returns if the last pager buttons should be disabled
|
|
145
|
-
*/
|
|
146
|
-
public get isLastPageDisabled(): boolean;
|
|
147
|
-
|
|
148
132
|
|
|
149
133
|
|
|
150
134
|
/**
|
|
@@ -15,11 +15,15 @@ import { IgcRowType } from './igc-row-type';
|
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* The ID of the row, that was pinned/unpinned.
|
|
18
|
-
*
|
|
18
|
+
* ID is either the primaryKey value or the data record instance.
|
|
19
|
+
* @deprecated Use the `rowKey` property instead.
|
|
19
20
|
*/
|
|
20
21
|
public rowID: any;
|
|
21
22
|
|
|
22
23
|
|
|
24
|
+
public rowKey: any;
|
|
25
|
+
|
|
26
|
+
|
|
23
27
|
public row?: IgcRowType;
|
|
24
28
|
|
|
25
29
|
|
|
@@ -33,7 +33,7 @@ import { PivotAggregationType } from './pivot-aggregation-type';
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
/*
|
|
36
|
+
/* blazorAlternateType: AggregatorEventHandler */
|
|
37
37
|
/* blazorOnlyScript */
|
|
38
38
|
/**
|
|
39
39
|
* Aggregator function can be a custom implementation of `PivotAggregation`, or
|
|
@@ -114,9 +114,10 @@ import { IgcPivotGridComponent } from './igc-pivot-grid-component';
|
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
|
|
117
|
+
|
|
117
118
|
/* treatAsRef */
|
|
118
119
|
/**
|
|
119
|
-
*
|
|
120
|
+
* Sets the grid.
|
|
120
121
|
*/
|
|
121
122
|
public set grid(value: IgcPivotGridComponent);
|
|
122
123
|
public get grid(): IgcPivotGridComponent;
|
|
@@ -80,6 +80,9 @@ import { IgcPivotDateDimensionOptions } from './igc-pivot-date-dimension-options
|
|
|
80
80
|
public set options(value: IgcPivotDateDimensionOptions);
|
|
81
81
|
public get options(): IgcPivotDateDimensionOptions;
|
|
82
82
|
|
|
83
|
+
|
|
84
|
+
public displayName: string;
|
|
85
|
+
|
|
83
86
|
constructor(inBaseDimension?: IgcPivotDimension, inOptions?: IgcPivotDateDimensionOptions);
|
|
84
87
|
|
|
85
88
|
}
|
|
@@ -33,6 +33,10 @@ import { GridColumnDataType } from './grid-column-data-type';
|
|
|
33
33
|
public memberFunction?: any;
|
|
34
34
|
|
|
35
35
|
|
|
36
|
+
/** Display name to show instead of the field name of this value. **/
|
|
37
|
+
public displayName?: string;
|
|
38
|
+
|
|
39
|
+
|
|
36
40
|
/** Enables/Disables a particular dimension from pivot structure. */
|
|
37
41
|
public set enabled(value: boolean);
|
|
38
42
|
public get enabled(): boolean;
|
|
@@ -44,6 +48,10 @@ import { GridColumnDataType } from './grid-column-data-type';
|
|
|
44
48
|
public filter?: IgcFilteringExpressionsTree;
|
|
45
49
|
|
|
46
50
|
|
|
51
|
+
/** Enable/disable sorting for a particular dimension. True by default. */
|
|
52
|
+
public sortable?: boolean;
|
|
53
|
+
|
|
54
|
+
|
|
47
55
|
/**
|
|
48
56
|
* The sorting direction of the current dimension. Determines the order in which the values will appear in the related dimension.
|
|
49
57
|
*/
|
|
@@ -56,13 +64,16 @@ import { GridColumnDataType } from './grid-column-data-type';
|
|
|
56
64
|
public dataType?: GridColumnDataType;
|
|
57
65
|
|
|
58
66
|
|
|
59
|
-
/** The width of the dimension cells to be rendered.Can be pixel or
|
|
67
|
+
/** The width of the dimension cells to be rendered.Can be pixel, % or "auto". */
|
|
60
68
|
public width?: string;
|
|
61
69
|
|
|
62
70
|
|
|
63
71
|
/** Level of the dimension. */
|
|
64
72
|
public level?: number;
|
|
65
73
|
|
|
74
|
+
|
|
75
|
+
public horizontalSummary?: boolean;
|
|
76
|
+
|
|
66
77
|
}
|
|
67
78
|
|
|
68
79
|
|