igniteui-webcomponents-grids 4.0.3 → 4.2.2

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.
Files changed (165) hide show
  1. package/bundles/igniteui-webcomponents-grids.umd.js +1042 -654
  2. package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
  3. package/esm2015/lib/CanvasGridCellBase.js +26 -26
  4. package/esm2015/lib/CanvasSummaryCell.js +2 -2
  5. package/esm2015/lib/CanvasTextHeaderCell.js +1 -1
  6. package/esm2015/lib/CheckboxListView_combined.js +552 -389
  7. package/esm2015/lib/ColumnChooserView_combined.js +9 -9
  8. package/esm2015/lib/ColumnFilterCondition_combined.js +1 -1
  9. package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
  10. package/esm2015/lib/ColumnPinningView_combined.js +7 -7
  11. package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +1 -1
  12. package/esm2015/lib/DataGridCellLayoutPanel.js +5 -5
  13. package/esm2015/lib/EditorCell.js +1 -1
  14. package/esm2015/lib/FilterCell.js +1 -1
  15. package/esm2015/lib/GridColumnFilterOptionsView_combined.js +8 -8
  16. package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +2 -2
  17. package/esm2015/lib/GridExpansionIndicatorView_combined.js +8 -8
  18. package/esm2015/lib/GridFilterDialogView_combined.js +5 -5
  19. package/esm2015/lib/GridSortIndicatorView_combined.js +9 -9
  20. package/esm2015/lib/ISummaryChooserView_combined.js +11 -11
  21. package/esm2015/lib/MultiColumnComboBoxView_combined.js +19 -19
  22. package/esm2015/lib/NumericEditorView.js +3 -3
  23. package/esm2015/lib/PropertyEditorView_combined.js +40 -40
  24. package/esm2015/lib/TextEditorView.js +10 -10
  25. package/esm2015/lib/igc-checkbox-list-component.js +155 -50
  26. package/esm2015/lib/igc-data-grid-column-component.js +10 -6
  27. package/esm2015/lib/igc-data-grid-component.js +45 -27
  28. package/esm2015/lib/igc-grid-active-cell-changed-event-args.js +10 -6
  29. package/esm2015/lib/igc-grid-column-width-changed-event-args.js +10 -6
  30. package/esm2015/lib/igc-grid-custom-filter-requested-event-args.js +5 -3
  31. package/esm2015/lib/igc-grid-filter-expressions-event-args.js +5 -3
  32. package/esm2015/lib/igc-grid-group-descriptions-changed-event-args.js +5 -3
  33. package/esm2015/lib/igc-grid-sort-descriptions-changed-event-args.js +5 -3
  34. package/esm2015/lib/igc-grid-summary-descriptions-changed-event-args.js +5 -3
  35. package/esm5/lib/CanvasGridCellBase.js +26 -26
  36. package/esm5/lib/CanvasSummaryCell.js +2 -2
  37. package/esm5/lib/CanvasTextHeaderCell.js +1 -1
  38. package/esm5/lib/CheckboxListView_combined.js +578 -375
  39. package/esm5/lib/ColumnChooserView_combined.js +9 -9
  40. package/esm5/lib/ColumnFilterCondition_combined.js +1 -1
  41. package/esm5/lib/ColumnGroupingView_combined.js +1 -1
  42. package/esm5/lib/ColumnPinningView_combined.js +7 -7
  43. package/esm5/lib/ComparisonOperatorSelectorView_combined.js +1 -1
  44. package/esm5/lib/DataGridCellLayoutPanel.js +5 -5
  45. package/esm5/lib/EditorCell.js +1 -1
  46. package/esm5/lib/FilterCell.js +1 -1
  47. package/esm5/lib/GridColumnFilterOptionsView_combined.js +8 -8
  48. package/esm5/lib/GridColumnSummaryOptionsView_combined.js +2 -2
  49. package/esm5/lib/GridExpansionIndicatorView_combined.js +8 -8
  50. package/esm5/lib/GridFilterDialogView_combined.js +5 -5
  51. package/esm5/lib/GridSortIndicatorView_combined.js +9 -9
  52. package/esm5/lib/ISummaryChooserView_combined.js +11 -11
  53. package/esm5/lib/MultiColumnComboBoxView_combined.js +19 -19
  54. package/esm5/lib/NumericEditorView.js +3 -3
  55. package/esm5/lib/PropertyEditorView_combined.js +40 -40
  56. package/esm5/lib/TextEditorView.js +10 -10
  57. package/esm5/lib/igc-checkbox-list-component.js +195 -50
  58. package/esm5/lib/igc-data-grid-column-component.js +10 -6
  59. package/esm5/lib/igc-data-grid-component.js +45 -27
  60. package/esm5/lib/igc-grid-active-cell-changed-event-args.js +10 -6
  61. package/esm5/lib/igc-grid-column-width-changed-event-args.js +10 -6
  62. package/esm5/lib/igc-grid-custom-filter-requested-event-args.js +5 -3
  63. package/esm5/lib/igc-grid-filter-expressions-event-args.js +5 -3
  64. package/esm5/lib/igc-grid-group-descriptions-changed-event-args.js +5 -3
  65. package/esm5/lib/igc-grid-sort-descriptions-changed-event-args.js +5 -3
  66. package/esm5/lib/igc-grid-summary-descriptions-changed-event-args.js +5 -3
  67. package/fesm2015/igniteui-webcomponents-grids.js +974 -666
  68. package/fesm5/igniteui-webcomponents-grids.js +1040 -652
  69. package/grids/combined.js +173 -91
  70. package/grids/index.d.ts +30 -0
  71. package/grids/index.js +1 -0
  72. package/grids/lib/column-pinning-position.d.ts +1 -0
  73. package/grids/lib/common.d.ts +0 -4
  74. package/grids/lib/filtering-expressions-tree-type.d.ts +1 -0
  75. package/grids/lib/filtering-logic.d.ts +1 -0
  76. package/grids/lib/grid-column-data-type.d.ts +1 -1
  77. package/grids/lib/grid-paging-mode.d.ts +1 -0
  78. package/grids/lib/grid-toolbar-exporter-type.d.ts +3 -0
  79. package/grids/lib/igc-action-strip-resource-strings.d.ts +1 -2
  80. package/grids/lib/igc-active-node-change-event-args.d.ts +1 -2
  81. package/grids/lib/igc-base-date-time-filtering-operand.d.ts +18 -0
  82. package/grids/lib/igc-base-event-args.d.ts +1 -2
  83. package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +2 -1
  84. package/grids/lib/igc-boolean-filtering-operand.d.ts +20 -0
  85. package/grids/lib/igc-cell-type.d.ts +6 -12
  86. package/grids/lib/igc-column-component.d.ts +4 -3
  87. package/grids/lib/igc-column-exporting-event-args.d.ts +1 -2
  88. package/grids/lib/igc-column-group-component.d.ts +4 -2
  89. package/grids/lib/igc-columns-auto-generated-event-args.d.ts +21 -0
  90. package/grids/lib/igc-date-filtering-operand.d.ts +20 -0
  91. package/grids/lib/igc-date-summary-operand.d.ts +75 -0
  92. package/grids/lib/igc-date-time-filtering-operand.d.ts +15 -0
  93. package/grids/lib/igc-dimensions-change.d.ts +30 -0
  94. package/grids/lib/igc-display-density-base.d.ts +1 -1
  95. package/grids/lib/igc-exporter-options-base.d.ts +18 -2
  96. package/grids/lib/igc-field-pipe-args.d.ts +6 -12
  97. package/grids/lib/igc-filtering-expression.d.ts +33 -0
  98. package/grids/lib/igc-filtering-expressions-tree.d.ts +8 -8
  99. package/grids/lib/igc-filtering-operand.d.ts +4 -2
  100. package/grids/lib/igc-filtering-operation.d.ts +5 -2
  101. package/grids/lib/igc-for-of-state.d.ts +2 -4
  102. package/grids/lib/igc-grid-action-button-component.d.ts +1 -1
  103. package/grids/lib/igc-grid-actions-base-directive.d.ts +1 -1
  104. package/grids/lib/igc-grid-base-directive.d.ts +34 -6
  105. package/grids/lib/igc-grid-component.d.ts +5 -5
  106. package/grids/lib/igc-grid-edit-done-event-args.d.ts +6 -12
  107. package/grids/lib/igc-grid-resource-strings.d.ts +166 -326
  108. package/grids/lib/igc-grid-toolbar-actions-component.d.ts +2 -1
  109. package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +2 -1
  110. package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +2 -1
  111. package/grids/lib/igc-grid-toolbar-title-component.d.ts +2 -1
  112. package/grids/lib/igc-grid-validation-state.d.ts +1 -2
  113. package/grids/lib/igc-group-by-record.d.ts +2 -4
  114. package/grids/lib/igc-grouped-records.d.ts +1 -1
  115. package/grids/lib/igc-number-filtering-operand.d.ts +20 -0
  116. package/grids/lib/igc-number-summary-operand.d.ts +104 -0
  117. package/grids/lib/igc-overlay-settings.d.ts +6 -12
  118. package/grids/lib/igc-paginator-resource-strings.d.ts +6 -12
  119. package/grids/lib/igc-pin-row-event-args.d.ts +2 -4
  120. package/grids/lib/igc-pinning-config.d.ts +2 -4
  121. package/grids/lib/igc-pivot-aggregator.d.ts +46 -0
  122. package/grids/lib/igc-pivot-configuration.d.ts +60 -0
  123. package/grids/lib/igc-pivot-data-selector-component.d.ts +127 -0
  124. package/grids/lib/igc-pivot-date-dimension-options.d.ts +34 -0
  125. package/grids/lib/igc-pivot-date-dimension.d.ts +88 -0
  126. package/grids/lib/igc-pivot-dimension-strategy.d.ts +25 -0
  127. package/grids/lib/igc-pivot-dimension.d.ts +69 -0
  128. package/grids/lib/igc-pivot-grid-component.d.ts +492 -0
  129. package/grids/lib/igc-pivot-grid-value-template-context.d.ts +20 -0
  130. package/grids/lib/igc-pivot-keys.d.ts +47 -0
  131. package/grids/lib/igc-pivot-value.d.ts +65 -0
  132. package/grids/lib/igc-position-settings.d.ts +6 -12
  133. package/grids/lib/igc-row-data-event-args.d.ts +0 -5
  134. package/grids/lib/igc-row-selection-event-args.d.ts +3 -0
  135. package/grids/lib/igc-row-type.d.ts +19 -38
  136. package/grids/lib/igc-sorting-event-args.d.ts +2 -4
  137. package/grids/lib/igc-sorting-expression.d.ts +2 -4
  138. package/grids/lib/igc-sorting-options.d.ts +3 -2
  139. package/grids/lib/igc-string-filtering-operand.d.ts +29 -0
  140. package/grids/lib/igc-summary-operand.d.ts +61 -0
  141. package/grids/lib/igc-summary-result.d.ts +1 -2
  142. package/grids/lib/igc-time-filtering-operand.d.ts +15 -0
  143. package/grids/lib/igc-time-summary-operand.d.ts +49 -0
  144. package/grids/lib/igc-tree-grid-component.d.ts +3 -2
  145. package/grids/lib/igc-tree-grid-record.d.ts +5 -10
  146. package/grids/lib/igc-values-change.d.ts +23 -0
  147. package/grids/lib/pivot-aggregation-type.d.ts +3 -0
  148. package/grids/lib/pivot-dimension-type.d.ts +17 -0
  149. package/grids/lib/row-pinning-position.d.ts +1 -0
  150. package/grids/lib/sorting-direction.d.ts +1 -0
  151. package/grids/lib/sorting-options-mode.d.ts +3 -0
  152. package/grids/styles.css +1 -1
  153. package/grids/themes/dark/bootstrap.css +1 -1
  154. package/grids/themes/dark/fluent.css +1 -1
  155. package/grids/themes/dark/indigo.css +1 -1
  156. package/grids/themes/dark/material.css +1 -1
  157. package/grids/themes/light/bootstrap.css +1 -1
  158. package/grids/themes/light/fluent.css +1 -1
  159. package/grids/themes/light/indigo.css +1 -1
  160. package/grids/themes/light/material.css +1 -1
  161. package/lib/CheckboxListView_combined.d.ts +120 -96
  162. package/lib/ComparisonOperatorSelectorView_combined.d.ts +1 -1
  163. package/lib/GridColumnSummaryOptionsView_combined.d.ts +1 -1
  164. package/lib/igc-checkbox-list-component.d.ts +40 -0
  165. package/package.json +4 -4
@@ -0,0 +1,88 @@
1
+
2
+ import { IgcPivotDimension } from './igc-pivot-dimension';
3
+ import { GridColumnDataType } from './grid-column-data-type';
4
+ import { IgcGridResourceStrings } from './igc-grid-resource-strings';
5
+ import { IgcPivotDateDimensionOptions } from './igc-pivot-date-dimension-options';
6
+
7
+
8
+
9
+
10
+ /* blazorAlternateBaseType: PivotDimension */
11
+ /* alternateBaseType: PivotDimension */
12
+ // Equals to pretty much this configuration:
13
+ // {
14
+ // member: () => 'All Periods',
15
+ // enabled: true,
16
+ // fieldName: 'AllPeriods',
17
+ // childLevel: {
18
+ // fieldName: 'Years',
19
+ // member: (rec) => {
20
+ // const recordValue = rec['Date'];
21
+ // return recordValue ? (new Date(recordValue)).getFullYear().toString() : rec['Years'];
22
+ // },
23
+ // enabled: true,
24
+ // childLevel: {
25
+ // member: (rec) => {
26
+ // const recordValue = rec['Date'];
27
+ // return recordValue ? new Date(recordValue).toLocaleString('default', { month: 'long' }) : rec['Months'];
28
+ // },
29
+ // enabled: true,
30
+ // fieldName: 'Months',
31
+ // childLevel: {
32
+ // member: 'Date',
33
+ // fieldName:'Date',
34
+ // enabled: true
35
+ // }
36
+ // }
37
+ // }
38
+ // },
39
+
40
+ export declare class IgcPivotDateDimension extends IgcPivotDimension
41
+ {
42
+
43
+
44
+ /** Enables/Disables a particular dimension from pivot structure. */
45
+ public set enabled(value: boolean);
46
+ public get enabled(): boolean;
47
+
48
+
49
+
50
+ /**
51
+ * Gets/Sets data type
52
+ */
53
+ public dataType?: GridColumnDataType;
54
+
55
+
56
+
57
+ /**
58
+ * Gets/Sets the resource strings.
59
+ *
60
+ * @remarks
61
+ * By default it uses EN resources.
62
+ */
63
+ public set resourceStrings(value: IgcGridResourceStrings);
64
+ public get resourceStrings(): IgcGridResourceStrings;
65
+
66
+
67
+
68
+ /**
69
+ * Gets/Sets the base dimension that is used by this class to determine the other dimensions and their values.
70
+ * Having base dimension set is required in order for the Date Dimensions to show.
71
+ */
72
+ public set baseDimension(value: IgcPivotDimension);
73
+ public get baseDimension(): IgcPivotDimension;
74
+
75
+
76
+
77
+ /**
78
+ * Gets/Sets the options for the predefined date dimensions whether to show quarter, years and etc.
79
+ */
80
+ public set options(value: IgcPivotDateDimensionOptions);
81
+ public get options(): IgcPivotDateDimensionOptions;
82
+
83
+ constructor(inBaseDimension: IgcPivotDimension, inOptions?: IgcPivotDateDimensionOptions);
84
+
85
+ }
86
+
87
+
88
+
@@ -0,0 +1,25 @@
1
+
2
+ import { IgcPivotDimension } from './igc-pivot-dimension';
3
+ import { IgcPivotValue } from './igc-pivot-value';
4
+ import { IgcPivotKeys } from './igc-pivot-keys';
5
+
6
+
7
+ /* jsonAPIPlainObject */
8
+
9
+
10
+ /**
11
+ * Interface describing Pivot data processing for dimensions.
12
+ * Should contain a process method and return records hierarchy based on the provided dimensions.
13
+ */
14
+
15
+ export declare class IgcPivotDimensionStrategy
16
+ {
17
+
18
+
19
+ /* csSuppress */
20
+ public process(collection: any, dimensions: IgcPivotDimension[], values: IgcPivotValue[], pivotKeys?: IgcPivotKeys): any[];
21
+
22
+ }
23
+
24
+
25
+
@@ -0,0 +1,69 @@
1
+
2
+ import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
3
+ import { SortingDirection } from './sorting-direction';
4
+ import { GridColumnDataType } from './grid-column-data-type';
5
+
6
+
7
+ /* jsonAPIPlainObject */
8
+
9
+
10
+ /* blazorElement */
11
+ /* marshalByValue */
12
+ /**
13
+ * Configuration of a pivot dimension.
14
+ */
15
+
16
+ export declare class IgcPivotDimension
17
+ {
18
+
19
+
20
+ /** Allows defining a hierarchy when multiple sub groups need to be extracted from single member. */
21
+ public childLevel?: IgcPivotDimension;
22
+
23
+
24
+ /** Field name to use in order to extract value. */
25
+ public set memberName(value: string);
26
+ public get memberName(): string;
27
+
28
+
29
+
30
+ /* csTreatAsEvent: MemberFunctionHandler */
31
+ /* blazorOnlyScript */
32
+ /** Function that extracts the value */
33
+ public memberFunction?: (data: any) => any;
34
+
35
+
36
+ /** Enables/Disables a particular dimension from pivot structure. */
37
+ public set enabled(value: boolean);
38
+ public get enabled(): boolean;
39
+
40
+
41
+ /**
42
+ * A predefined or defined via the `igxPivotSelector` filter expression tree for the current dimension to be applied in the filter pipe.
43
+ * */
44
+ public filter?: IgcFilteringExpressionsTree;
45
+
46
+
47
+ /**
48
+ * The sorting direction of the current dimension. Determines the order in which the values will appear in the related dimension.
49
+ */
50
+ public sortDirection?: SortingDirection;
51
+
52
+
53
+ /**
54
+ * The dataType of the related data field.
55
+ */
56
+ public dataType?: GridColumnDataType;
57
+
58
+
59
+ /** The width of the dimension cells to be rendered.Can be pixel or %. */
60
+ public width?: string;
61
+
62
+
63
+ /** Level of the dimension. */
64
+ public level?: number;
65
+
66
+ }
67
+
68
+
69
+
@@ -0,0 +1,492 @@
1
+
2
+ import { IgcGridBaseDirective } from './igc-grid-base-directive';
3
+ import { IgcColumnComponent } from './igc-column-component';
4
+ import { IgcColumnGroupComponent } from './igc-column-group-component';
5
+ import { IgcColumnLayoutComponent } from './igc-column-layout-component';
6
+ import { IgcGridToolbarComponent } from './igc-grid-toolbar-component';
7
+ import { IgcGridToolbarActionsComponent } from './igc-grid-toolbar-actions-component';
8
+ import { IgcGridToolbarTitleComponent } from './igc-grid-toolbar-title-component';
9
+ import { IgcGridToolbarAdvancedFilteringComponent } from './igc-grid-toolbar-advanced-filtering-component';
10
+ import { IgcGridToolbarExporterComponent } from './igc-grid-toolbar-exporter-component';
11
+ import { IgcGridToolbarHidingComponent } from './igc-grid-toolbar-hiding-component';
12
+ import { IgcGridToolbarPinningComponent } from './igc-grid-toolbar-pinning-component';
13
+ import { IgcActionStripComponent } from './igc-action-strip-component';
14
+ import { IgcGridEditingActionsComponent } from './igc-grid-editing-actions-component';
15
+ import { IgcGridPinningActionsComponent } from './igc-grid-pinning-actions-component';
16
+ import { IgcDimensionsChange } from './igc-dimensions-change';
17
+ import { IgcPivotDimension } from './igc-pivot-dimension';
18
+ import { IgcPivotValue } from './igc-pivot-value';
19
+ import { IgcSortingExpression } from './igc-sorting-expression';
20
+ import { IgcValuesChange } from './igc-values-change';
21
+ import { IgcPivotGridValueTemplateContext } from './igc-pivot-grid-value-template-context';
22
+ import { IgcRenderFunction } from './common';
23
+ import { IgcPivotConfiguration } from './igc-pivot-configuration';
24
+ import { IgcPivotKeys } from './igc-pivot-keys';
25
+ import { PivotDimensionType } from './pivot-dimension-type';
26
+ import { SortingDirection } from './sorting-direction';
27
+ import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
28
+ import { IgcFilteringOperation } from './igc-filtering-operation';
29
+ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from './common';
30
+
31
+
32
+
33
+
34
+ /* blazorAdditionalDependency: Column */
35
+ /* blazorAdditionalDependency: ColumnGroup */
36
+ /* blazorAdditionalDependency: ColumnLayout */
37
+ /* blazorAdditionalDependency: GridToolbar */
38
+ /* blazorAdditionalDependency: GridToolbarActions */
39
+ /* blazorAdditionalDependency: GridToolbarTitle */
40
+ /* blazorAdditionalDependency: GridToolbarAdvancedFiltering */
41
+ /* blazorAdditionalDependency: GridToolbarExporter */
42
+ /* blazorAdditionalDependency: GridToolbarHiding */
43
+ /* blazorAdditionalDependency: GridToolbarPinning */
44
+ /* blazorAdditionalDependency: ActionStrip */
45
+ /* blazorAdditionalDependency: GridActionsBaseDirective */
46
+ /* blazorAdditionalDependency: GridEditingActions */
47
+ /* blazorAdditionalDependency: GridPinningActions */
48
+ /* blazorAdditionalDependency: PivotDateDimension */
49
+ /* blazorIndirectRender */
50
+ /**
51
+ * Pivot Grid provides a way to present and manipulate data in a pivot table view.
52
+ *
53
+ * @igxModule IgxPivotGridModule
54
+ * @igxGroup Grids & Lists
55
+ * @igxKeywords pivot, grid, table
56
+ * @igxTheme igx-grid-theme
57
+ * @remarks
58
+ * The Ignite UI Pivot Grid is used for grouping and aggregating simple flat data into a pivot table. Once data
59
+ * has been bound and the dimensions and values configured it can be manipulated via sorting and filtering.
60
+ * @example
61
+ * ```html
62
+ * <igx-pivot-grid [data]="data" [pivotConfiguration]="configuration">
63
+ * </igx-pivot-grid>
64
+ * ```
65
+ */
66
+
67
+ export declare class IgcPivotGridComponent extends EventEmitterMixin<IgcPivotGridComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)
68
+
69
+ {
70
+
71
+
72
+
73
+
74
+ /**
75
+ * Gets the sorting expressions generated for the dimensions.
76
+ *
77
+ * @example
78
+ * ```typescript
79
+ * const expressions = this.grid.dimensionsSortingExpressions;
80
+ * ```
81
+ */
82
+ public get dimensionsSortingExpressions(): IgcSortingExpression[];
83
+
84
+
85
+
86
+ /**
87
+ * Gets/Sets a custom template for the value chips.
88
+ *
89
+ * @example
90
+ * ```html
91
+ * <igx-pivot-grid [valueChipTemplate]="myTemplate"><igx-pivot-grid>
92
+ * ```
93
+ */
94
+ public set valueChipTemplate(value: IgcRenderFunction<IgcPivotGridValueTemplateContext>);
95
+ public get valueChipTemplate(): IgcRenderFunction<IgcPivotGridValueTemplateContext>;
96
+
97
+
98
+
99
+ /* mustSetInCodePlatforms: WebComponents;Blazor */
100
+ /**
101
+ * Gets/Sets the pivot configuration with all related dimensions and values.
102
+ *
103
+ * @example
104
+ * ```html
105
+ * <igx-pivot-grid [pivotConfiguration]="config"></igx-pivot-grid>
106
+ * ```
107
+ */
108
+ public set pivotConfiguration(value: IgcPivotConfiguration);
109
+ public get pivotConfiguration(): IgcPivotConfiguration;
110
+
111
+
112
+
113
+ public set showPivotConfigurationUI(value: boolean);
114
+ public get showPivotConfigurationUI(): boolean;
115
+
116
+
117
+
118
+ /**
119
+ * Enables a super compact theme for the component.
120
+ * @remarks
121
+ * Overrides the displayDensity option if one is set.
122
+ * @example
123
+ * ```html
124
+ * <igx-pivot-grid [superCompactMode]="true"></igx-pivot-grid>
125
+ * ```
126
+ */
127
+ public set superCompactMode(value: boolean);
128
+ public get superCompactMode(): boolean;
129
+
130
+
131
+ public set dimensionDataColumns(value: any);
132
+ public get dimensionDataColumns(): any;
133
+
134
+
135
+ public get pivotKeys(): IgcPivotKeys;
136
+
137
+
138
+ public get emptyRowDimension(): IgcPivotDimension;
139
+
140
+
141
+
142
+ /**
143
+ * Gets/Sets the default expand state for all rows.
144
+ */
145
+ public set defaultExpandState(value: boolean);
146
+ public get defaultExpandState(): boolean;
147
+
148
+
149
+
150
+ public get selectedRows(): any[];
151
+
152
+
153
+
154
+ /**
155
+ * Gets the default row height.
156
+ *
157
+ * @example
158
+ * ```typescript
159
+ * const rowHeigh = this.grid.defaultRowHeight;
160
+ * ```
161
+ */
162
+ public get defaultRowHeight(): number;
163
+
164
+
165
+
166
+ /**
167
+ * Gets the full list of dimensions.
168
+ *
169
+ * @example
170
+ * ```typescript
171
+ * const dimensions = this.grid.allDimensions;
172
+ * ```
173
+ */
174
+ public get allDimensions(): IgcPivotDimension[];
175
+
176
+
177
+
178
+ /* treatAsRef */
179
+ /* blazorAlternateType: object */
180
+ /**
181
+ * An @Input property that lets you fill the `IgxPivotGridComponent` with an array of data.
182
+ * ```html
183
+ * <igx-pivot-grid [data]="Data"></igx-pivot-grid>
184
+ * ```
185
+ */
186
+ public set data(value: any[]);
187
+ public get data(): any[];
188
+
189
+
190
+ /**
191
+ * Sets an array of objects containing the filtered data.
192
+ * ```typescript
193
+ * this.grid.filteredData = [{
194
+ * ID: 1,
195
+ * Name: "A"
196
+ * }];
197
+ * ```
198
+ */
199
+ public set filteredData(value: any);
200
+ public get filteredData(): any;
201
+
202
+
203
+
204
+ public get pivotContentCalcWidth(): number;
205
+
206
+
207
+
208
+ public get pivotPinnedWidth(): number;
209
+
210
+
211
+
212
+ public get pivotUnpinnedWidth(): number;
213
+
214
+
215
+
216
+ public get rowDimensions(): IgcPivotDimension[];
217
+
218
+
219
+
220
+ public get columnDimensions(): IgcPivotDimension[];
221
+
222
+
223
+
224
+ public get filterDimensions(): IgcPivotDimension[];
225
+
226
+
227
+
228
+ public get values(): IgcPivotValue[];
229
+
230
+
231
+
232
+ /**
233
+ * Gets/Sets a custom template when pivot grid is empty.
234
+ *
235
+ * @example
236
+ * ```html
237
+ * <igx-pivot-grid [emptyPivotGridTemplate]="myTemplate"><igx-pivot-grid>
238
+ * ```
239
+ */
240
+ public set emptyPivotGridTemplate(value: IgcRenderFunction<void>);
241
+ public get emptyPivotGridTemplate(): IgcRenderFunction<void>;
242
+
243
+
244
+
245
+ /**
246
+ * Notifies for dimension change.
247
+ */
248
+ public notifyDimensionChange(regenerateColumns?: boolean): void;
249
+
250
+
251
+
252
+ public toggleColumn(col: IgcColumnComponent): void;
253
+
254
+
255
+
256
+ public getColumnGroupExpandState(col: IgcColumnComponent): void;
257
+
258
+
259
+
260
+ public toggleRowGroup(col: IgcColumnComponent, newState: boolean): void;
261
+
262
+
263
+
264
+ /**
265
+ * Auto-sizes row dimension cells.
266
+ *
267
+ * @remarks
268
+ * Only sizes based on the dimension cells in view.
269
+ * @example
270
+ * ```typescript
271
+ * this.grid.autoSizeRowDimension(dimension);
272
+ * ```
273
+ * @param dimension The row dimension to size.
274
+ */
275
+ public autoSizeRowDimension(dimension: IgcPivotDimension): void;
276
+
277
+
278
+
279
+ /**
280
+ * Inserts dimension in target collection by type at specified index or at the collection's end.
281
+ *
282
+ * @example
283
+ * ```typescript
284
+ * this.grid.insertDimensionAt(dimension, PivotDimensionType.Row, 1);
285
+ * ```
286
+ * @param dimension The dimension that will be added.
287
+ * @param targetCollectionType The target collection type to add to. Can be Row, Column or Filter.
288
+ * @param index The index in the collection at which to add.
289
+ * This parameter is optional. If not set it will add it to the end of the collection.
290
+ */
291
+ public insertDimensionAt(dimension: IgcPivotDimension, targetCollectionType: PivotDimensionType, index?: number): void;
292
+
293
+
294
+
295
+ /**
296
+ * Move dimension from its currently collection to the specified target collection by type at specified index or at the collection's end.
297
+ *
298
+ * @example
299
+ * ```typescript
300
+ * this.grid.moveDimension(dimension, PivotDimensionType.Row, 1);
301
+ * ```
302
+ * @param dimension The dimension that will be moved.
303
+ * @param targetCollectionType The target collection type to move it to. Can be Row, Column or Filter.
304
+ * @param index The index in the collection at which to add.
305
+ * This parameter is optional. If not set it will add it to the end of the collection.
306
+ */
307
+ public moveDimension(dimension: IgcPivotDimension, targetCollectionType: PivotDimensionType, index?: number): void;
308
+
309
+
310
+
311
+ /**
312
+ * Removes dimension from its currently collection.
313
+ * @remarks
314
+ * This is different than toggleDimension that enabled/disables the dimension.
315
+ * This completely removes the specified dimension from the collection.
316
+ * @example
317
+ * ```typescript
318
+ * this.grid.removeDimension(dimension);
319
+ * ```
320
+ * @param dimension The dimension to be removed.
321
+ */
322
+ public removeDimension(dimension: IgcPivotDimension): void;
323
+
324
+
325
+
326
+ /**
327
+ * Toggles the dimension's enabled state on or off.
328
+ * @remarks
329
+ * The dimension remains in its current collection. This just changes its enabled state.
330
+ * @example
331
+ * ```typescript
332
+ * this.grid.toggleDimension(dimension);
333
+ * ```
334
+ * @param dimension The dimension to be toggled.
335
+ */
336
+ public toggleDimension(dimension: IgcPivotDimension): void;
337
+
338
+
339
+
340
+ /**
341
+ * Inserts value at specified index or at the end.
342
+ *
343
+ * @example
344
+ * ```typescript
345
+ * this.grid.insertValueAt(value, 1);
346
+ * ```
347
+ * @param value The value definition that will be added.
348
+ * @param index The index in the collection at which to add.
349
+ * This parameter is optional. If not set it will add it to the end of the collection.
350
+ */
351
+ public insertValueAt(value: IgcPivotValue, index?: number): void;
352
+
353
+
354
+
355
+ /**
356
+ * Move value from its currently at specified index or at the end.
357
+ *
358
+ * @example
359
+ * ```typescript
360
+ * this.grid.moveValue(value, 1);
361
+ * ```
362
+ * @param value The value that will be moved.
363
+ * @param index The index in the collection at which to add.
364
+ * This parameter is optional. If not set it will add it to the end of the collection.
365
+ */
366
+ public moveValue(value: IgcPivotValue, index?: number): void;
367
+
368
+
369
+
370
+ /**
371
+ * Removes value from collection.
372
+ * @remarks
373
+ * This is different than toggleValue that enabled/disables the value.
374
+ * This completely removes the specified value from the collection.
375
+ * @example
376
+ * ```typescript
377
+ * this.grid.removeValue(dimension);
378
+ * ```
379
+ * @param value The value to be removed.
380
+ */
381
+ public removeValue(value: IgcPivotValue): void;
382
+
383
+
384
+
385
+ /**
386
+ * Toggles the value's enabled state on or off.
387
+ * @remarks
388
+ * The value remains in its current collection. This just changes its enabled state.
389
+ * @example
390
+ * ```typescript
391
+ * this.grid.toggleValue(value);
392
+ * ```
393
+ * @param value The value to be toggled.
394
+ */
395
+ public toggleValue(value: IgcPivotValue): void;
396
+
397
+
398
+
399
+ /**
400
+ * Sort the dimension and its children in the provided direction.
401
+ * @example
402
+ * ```typescript
403
+ * this.grid.sortDimension(dimension, SortingDirection.Asc);
404
+ * ```
405
+ * @param value The value to be toggled.
406
+ */
407
+ public sortDimension(dimension: IgcPivotDimension, sortDirection: SortingDirection): void;
408
+
409
+
410
+
411
+ /**
412
+ * Filters a single `IPivotDimension`.
413
+ *
414
+ * @example
415
+ * ```typescript
416
+ * public filter() {
417
+ * const set = new Set();
418
+ * set.add('Value 1');
419
+ * set.add('Value 2');
420
+ * this.grid1.filterDimension(this.pivotConfigHierarchy.rows[0], set, IgxStringFilteringOperand.instance().condition('in'));
421
+ * }
422
+ * ```
423
+ */
424
+ public filterDimension(dimension: IgcPivotDimension, value: any, conditionOrExpressionTree?: IgcFilteringExpressionsTree | IgcFilteringOperation): void;
425
+
426
+ }
427
+
428
+ export declare interface IgcPivotGridComponentEventMap {
429
+
430
+ /**
431
+ * Emitted when the dimension collection is changed via the grid chip area.
432
+ *
433
+ * @remarks
434
+ * Returns the new dimension collection and its type:
435
+ * @example
436
+ * ```html
437
+ * <igx-pivot-grid #grid [data]="localData" [height]="'305px'"
438
+ * (dimensionsChange)="dimensionsChange($event)"></igx-grid>
439
+ * ```
440
+ */
441
+ dimensionsChange: CustomEvent<IgcDimensionsChange>;
442
+
443
+ /**
444
+ * Emitted when the dimension is initialized.
445
+ * @remarks
446
+ * Emits the dimension that is about to be initialized.
447
+ * @example
448
+ * ```html
449
+ * <igx-pivot-grid #grid [data]="localData" [height]="'305px'"
450
+ * (dimensionInit)="dimensionInit($event)"></igx-pivot-grid>
451
+ * ```
452
+ */
453
+ dimensionInit: CustomEvent<IgcPivotDimension>;
454
+
455
+ /**
456
+ * Emitted when the value is initialized.
457
+ * @remarks
458
+ * Emits the value that is about to be initialized.
459
+ * @example
460
+ * ```html
461
+ * <igx-pivot-grid #grid [data]="localData" [height]="'305px'"
462
+ * (valueInit)="valueInit($event)"></igx-pivot-grid>
463
+ * ```
464
+ */
465
+ valueInit: CustomEvent<IgcPivotValue>;
466
+
467
+ /**
468
+ * Emitted when a dimension is sorted.
469
+ *
470
+ * @example
471
+ * ```html
472
+ * <igx-pivot-grid #grid [data]="localData" [height]="'305px'"
473
+ * (dimensionsSortingExpressionsChange)="dimensionsSortingExpressionsChange($event)"></igx-pivot-grid>
474
+ * ```
475
+ */
476
+ dimensionsSortingExpressionsChange: CustomEvent<IgcSortingExpression[]>;
477
+
478
+ /**
479
+ * Emitted when the values collection is changed via the grid chip area.
480
+ *
481
+ * @remarks
482
+ * Returns the new dimension
483
+ * @example
484
+ * ```html
485
+ * <igx-pivot-grid #grid [data]="localData" [height]="'305px'"
486
+ * (valuesChange)="valuesChange($event)"></igx-grid>
487
+ * ```
488
+ */
489
+ valuesChange: CustomEvent<IgcValuesChange>;
490
+
491
+ }
492
+
@@ -0,0 +1,20 @@
1
+
2
+ import { IgcPivotValue } from './igc-pivot-value';
3
+
4
+
5
+ /* jsonAPIPlainObject */
6
+
7
+
8
+
9
+ export declare class IgcPivotGridValueTemplateContext
10
+ {
11
+
12
+
13
+ /* @wcWidgetMemberName: $implicit */
14
+ public set implicit(value: IgcPivotValue);
15
+ public get implicit(): IgcPivotValue;
16
+
17
+ }
18
+
19
+
20
+