igniteui-webcomponents-grids 4.0.4 → 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 (95) hide show
  1. package/bundles/igniteui-webcomponents-grids.umd.js +941 -593
  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/ColumnGroupingView_combined.js +1 -1
  9. package/esm2015/lib/ColumnPinningView_combined.js +7 -7
  10. package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +1 -1
  11. package/esm2015/lib/DataGridCellLayoutPanel.js +5 -5
  12. package/esm2015/lib/EditorCell.js +1 -1
  13. package/esm2015/lib/FilterCell.js +1 -1
  14. package/esm2015/lib/GridColumnFilterOptionsView_combined.js +8 -8
  15. package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +2 -2
  16. package/esm2015/lib/GridExpansionIndicatorView_combined.js +8 -8
  17. package/esm2015/lib/GridFilterDialogView_combined.js +5 -5
  18. package/esm2015/lib/GridSortIndicatorView_combined.js +9 -9
  19. package/esm2015/lib/ISummaryChooserView_combined.js +11 -11
  20. package/esm2015/lib/MultiColumnComboBoxView_combined.js +19 -19
  21. package/esm2015/lib/NumericEditorView.js +3 -3
  22. package/esm2015/lib/PropertyEditorView_combined.js +40 -40
  23. package/esm2015/lib/TextEditorView.js +10 -10
  24. package/esm2015/lib/igc-checkbox-list-component.js +155 -50
  25. package/esm5/lib/CanvasGridCellBase.js +26 -26
  26. package/esm5/lib/CanvasSummaryCell.js +2 -2
  27. package/esm5/lib/CanvasTextHeaderCell.js +1 -1
  28. package/esm5/lib/CheckboxListView_combined.js +578 -375
  29. package/esm5/lib/ColumnChooserView_combined.js +9 -9
  30. package/esm5/lib/ColumnGroupingView_combined.js +1 -1
  31. package/esm5/lib/ColumnPinningView_combined.js +7 -7
  32. package/esm5/lib/ComparisonOperatorSelectorView_combined.js +1 -1
  33. package/esm5/lib/DataGridCellLayoutPanel.js +5 -5
  34. package/esm5/lib/EditorCell.js +1 -1
  35. package/esm5/lib/FilterCell.js +1 -1
  36. package/esm5/lib/GridColumnFilterOptionsView_combined.js +8 -8
  37. package/esm5/lib/GridColumnSummaryOptionsView_combined.js +2 -2
  38. package/esm5/lib/GridExpansionIndicatorView_combined.js +8 -8
  39. package/esm5/lib/GridFilterDialogView_combined.js +5 -5
  40. package/esm5/lib/GridSortIndicatorView_combined.js +9 -9
  41. package/esm5/lib/ISummaryChooserView_combined.js +11 -11
  42. package/esm5/lib/MultiColumnComboBoxView_combined.js +19 -19
  43. package/esm5/lib/NumericEditorView.js +3 -3
  44. package/esm5/lib/PropertyEditorView_combined.js +40 -40
  45. package/esm5/lib/TextEditorView.js +10 -10
  46. package/esm5/lib/igc-checkbox-list-component.js +195 -50
  47. package/fesm2015/igniteui-webcomponents-grids.js +873 -605
  48. package/fesm5/igniteui-webcomponents-grids.js +939 -591
  49. package/grids/combined.js +160 -90
  50. package/grids/index.d.ts +15 -0
  51. package/grids/lib/common.d.ts +0 -4
  52. package/grids/lib/grid-toolbar-exporter-type.d.ts +3 -0
  53. package/grids/lib/igc-base-date-time-filtering-operand.d.ts +18 -0
  54. package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +2 -1
  55. package/grids/lib/igc-boolean-filtering-operand.d.ts +20 -0
  56. package/grids/lib/igc-cell-template-context.d.ts +2 -1
  57. package/grids/lib/igc-column-component.d.ts +3 -2
  58. package/grids/lib/igc-columns-auto-generated-event-args.d.ts +21 -0
  59. package/grids/lib/igc-date-filtering-operand.d.ts +20 -0
  60. package/grids/lib/igc-date-summary-operand.d.ts +75 -0
  61. package/grids/lib/igc-date-time-filtering-operand.d.ts +15 -0
  62. package/grids/lib/igc-display-density-base.d.ts +1 -1
  63. package/grids/lib/igc-exporter-options-base.d.ts +2 -0
  64. package/grids/lib/igc-filtering-expression.d.ts +33 -0
  65. package/grids/lib/igc-filtering-expressions-tree.d.ts +6 -4
  66. package/grids/lib/igc-filtering-operand.d.ts +4 -2
  67. package/grids/lib/igc-filtering-operation.d.ts +4 -0
  68. package/grids/lib/igc-grid-base-directive.d.ts +9 -2
  69. package/grids/lib/igc-grid-component.d.ts +4 -4
  70. package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +2 -1
  71. package/grids/lib/igc-grouped-records.d.ts +1 -1
  72. package/grids/lib/igc-number-filtering-operand.d.ts +20 -0
  73. package/grids/lib/igc-number-summary-operand.d.ts +104 -0
  74. package/grids/lib/igc-pivot-date-dimension.d.ts +1 -20
  75. package/grids/lib/igc-pivot-grid-component.d.ts +12 -0
  76. package/grids/lib/igc-sorting-options.d.ts +3 -2
  77. package/grids/lib/igc-string-filtering-operand.d.ts +29 -0
  78. package/grids/lib/igc-summary-operand.d.ts +61 -0
  79. package/grids/lib/igc-time-filtering-operand.d.ts +15 -0
  80. package/grids/lib/igc-time-summary-operand.d.ts +49 -0
  81. package/grids/lib/sorting-options-mode.d.ts +3 -0
  82. package/grids/styles.css +1 -1
  83. package/grids/themes/dark/bootstrap.css +1 -1
  84. package/grids/themes/dark/fluent.css +1 -1
  85. package/grids/themes/dark/indigo.css +1 -1
  86. package/grids/themes/dark/material.css +1 -1
  87. package/grids/themes/light/bootstrap.css +1 -1
  88. package/grids/themes/light/fluent.css +1 -1
  89. package/grids/themes/light/indigo.css +1 -1
  90. package/grids/themes/light/material.css +1 -1
  91. package/lib/CheckboxListView_combined.d.ts +120 -96
  92. package/lib/ComparisonOperatorSelectorView_combined.d.ts +1 -1
  93. package/lib/GridColumnSummaryOptionsView_combined.d.ts +1 -1
  94. package/lib/igc-checkbox-list-component.d.ts +40 -0
  95. package/package.json +4 -4
@@ -80,26 +80,7 @@ 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
-
85
- /**
86
- * @deprecated since version 15.1.x. Please use the new name `baseDimension` for future versions.
87
- *
88
- * Gets the base dimension that is used by this class to determine the other dimensions and their values.
89
- * Having base dimension set is required in order for the Date Dimensions to show.
90
- */
91
- public get inBaseDimension(): IgcPivotDimension;
92
-
93
-
94
-
95
- /**
96
- * @deprecated since version 15.1.x. Please use the new name `options` for future versions.
97
- *
98
- * Gets the options for the predefined date dimensions whether to show quarter, years and etc.
99
- */
100
- public get inOptions(): IgcPivotDateDimensionOptions;
101
-
102
- constructor(inBaseDimension?: IgcPivotDimension, inOptions?: IgcPivotDateDimensionOptions);
83
+ constructor(inBaseDimension: IgcPivotDimension, inOptions?: IgcPivotDateDimensionOptions);
103
84
 
104
85
  }
105
86
 
@@ -201,6 +201,18 @@ import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
201
201
 
202
202
 
203
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
+
204
216
  public get rowDimensions(): IgcPivotDimension[];
205
217
 
206
218
 
@@ -1,4 +1,5 @@
1
1
 
2
+ import { SortingOptionsMode } from './sorting-options-mode';
2
3
 
3
4
 
4
5
  /* jsonAPIPlainObject */
@@ -9,8 +10,8 @@
9
10
  {
10
11
 
11
12
 
12
- public set mode(value: any);
13
- public get mode(): any;
13
+ public set mode(value: SortingOptionsMode);
14
+ public get mode(): SortingOptionsMode;
14
15
 
15
16
  }
16
17
 
@@ -0,0 +1,29 @@
1
+
2
+ import { IgcFilteringOperand } from './igc-filtering-operand';
3
+
4
+
5
+
6
+
7
+ /* csSuppress */
8
+ /**
9
+ * Provides filtering operations for strings
10
+ *
11
+ * @export
12
+ */
13
+
14
+ export declare class IgcStringFilteringOperand extends IgcFilteringOperand
15
+ {
16
+
17
+
18
+
19
+ /**
20
+ * Applies case sensitivity on strings if provided
21
+ *
22
+ * @memberof IgxStringFilteringOperand
23
+ */
24
+ public static applyIgnoreCase(a: string, ignoreCase: boolean): string;
25
+
26
+ }
27
+
28
+
29
+
@@ -0,0 +1,61 @@
1
+
2
+ import { IgcGroupByRecord } from './igc-group-by-record';
3
+ import { IgcSummaryResult } from './igc-summary-result';
4
+
5
+
6
+
7
+
8
+ /* csSuppress */
9
+
10
+ export declare class IgcSummaryOperand
11
+ {
12
+
13
+
14
+ /**
15
+ * Counts all the records in the data source.
16
+ * If filtering is applied, counts only the filtered records.
17
+ * ```typescript
18
+ * IgxSummaryOperand.count(dataSource);
19
+ * ```
20
+ *
21
+ * @memberof IgxSummaryOperand
22
+ */
23
+ public static count(data: any[]): number;
24
+
25
+
26
+ /**
27
+ * Executes the static `count` method and returns `IgxSummaryResult[]`.
28
+ * ```typescript
29
+ * interface IgxSummaryResult {
30
+ * key: string;
31
+ * label: string;
32
+ * summaryResult: any;
33
+ * }
34
+ * ```
35
+ * Can be overridden in the inherited classes to provide customization for the `summary`.
36
+ * ```typescript
37
+ * class CustomSummary extends IgxSummaryOperand {
38
+ * constructor() {
39
+ * super();
40
+ * }
41
+ * public operate(data: any[], allData: any[], fieldName: string, groupRecord: IGroupByRecord): IgxSummaryResult[] {
42
+ * const result = [];
43
+ * result.push({
44
+ * key: "test",
45
+ * label: "Test",
46
+ * summaryResult: IgxSummaryOperand.count(data)
47
+ * });
48
+ * return result;
49
+ * }
50
+ * }
51
+ * this.grid.getColumnByName('ColumnName').summaries = CustomSummary;
52
+ * ```
53
+ *
54
+ * @memberof IgxSummaryOperand
55
+ */
56
+ public operate(data?: any[], _allData?: any[], _fieldName?: string, _groupRecord?: IgcGroupByRecord): IgcSummaryResult[];
57
+
58
+ }
59
+
60
+
61
+
@@ -0,0 +1,15 @@
1
+
2
+ import { IgcBaseDateTimeFilteringOperand } from './igc-base-date-time-filtering-operand';
3
+
4
+
5
+
6
+
7
+ /* csSuppress */
8
+
9
+ export declare class IgcTimeFilteringOperand extends IgcBaseDateTimeFilteringOperand
10
+ {
11
+
12
+ }
13
+
14
+
15
+
@@ -0,0 +1,49 @@
1
+
2
+ import { IgcSummaryOperand } from './igc-summary-operand';
3
+ import { IgcGroupByRecord } from './igc-group-by-record';
4
+ import { IgcSummaryResult } from './igc-summary-result';
5
+
6
+
7
+
8
+
9
+ /* csSuppress */
10
+ // @dynamic
11
+
12
+ export declare class IgcTimeSummaryOperand extends IgcSummaryOperand
13
+ {
14
+
15
+
16
+ /**
17
+ * Returns the latest time value in the data records. Compare only the time part of the date.
18
+ * If filtering is applied, returns the latest time value in the filtered data records.
19
+ * ```typescript
20
+ * IgxTimeSummaryOperand.latestTime(data);
21
+ * ```
22
+ *
23
+ * @memberof IgxTimeSummaryOperand
24
+ */
25
+ public static latestTime(data: any[]): void;
26
+
27
+
28
+
29
+ /**
30
+ * Returns the earliest time value in the data records. Compare only the time part of the date.
31
+ * If filtering is applied, returns the earliest time value in the filtered data records.
32
+ * ```typescript
33
+ * IgxTimeSummaryOperand.earliestTime(data);
34
+ * ```
35
+ *
36
+ * @memberof IgxTimeSummaryOperand
37
+ */
38
+ public static earliestTime(data: any[]): void;
39
+
40
+
41
+ /**
42
+ * @memberof IgxTimeSummaryOperand
43
+ */
44
+ public operate(data?: any[], allData?: any[], fieldName?: string, groupRecord?: IgcGroupByRecord): IgcSummaryResult[];
45
+
46
+ }
47
+
48
+
49
+
@@ -0,0 +1,3 @@
1
+
2
+ export declare type SortingOptionsMode = "single" | "multiple";
3
+