@skyux/ag-grid 7.5.0 → 7.6.0
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/documentation.json +12 -12
- package/esm2020/lib/modules/ag-grid/ag-grid-row-delete.directive.mjs +2 -2
- package/esm2020/lib/modules/ag-grid/header/header.component.mjs +6 -4
- package/esm2020/lib/modules/ag-grid/types/cell-type.mjs +14 -14
- package/esm2020/lib/modules/ag-grid/types/sky-grid-options.mjs +1 -1
- package/fesm2015/skyux-ag-grid.mjs +20 -18
- package/fesm2015/skyux-ag-grid.mjs.map +1 -1
- package/fesm2020/skyux-ag-grid.mjs +19 -17
- package/fesm2020/skyux-ag-grid.mjs.map +1 -1
- package/lib/modules/ag-grid/ag-grid-row-delete.directive.d.ts +1 -1
- package/lib/modules/ag-grid/types/cell-type.d.ts +13 -13
- package/lib/modules/ag-grid/types/sky-grid-options.d.ts +2 -2
- package/package.json +12 -12
|
@@ -9,7 +9,7 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
export declare class SkyAgGridRowDeleteDirective implements AfterContentInit, OnDestroy {
|
|
10
10
|
#private;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* The IDs of the data in the rows where the inline delete appears.
|
|
13
13
|
*/
|
|
14
14
|
set rowDeleteIds(value: string[] | undefined);
|
|
15
15
|
get rowDeleteIds(): string[] | undefined;
|
|
@@ -7,17 +7,17 @@ export declare enum SkyCellType {
|
|
|
7
7
|
/**
|
|
8
8
|
* **Edit mode**
|
|
9
9
|
* <br/>
|
|
10
|
-
*
|
|
10
|
+
* Cells in the column will be edited as [SKY UX autocomplete components](https://developer.blackbaud.com/skyux/components/autocomplete). You can set any of the autocomplete component's properties by passing `SkyCellEditorAutocompleteParams` in the [column definition's `cellEditorParams` property](https://www.ag-grid.com/angular-data-grid/column-properties/#reference-editing). These params can be updated as other cell edits are made or [provided dynamically](https://www.ag-grid.com/javascript-grid-cell-editing/#dynamic-parameters) based on other cell values. See the demo for an example. Text can be entered and a value selected from the provided list.
|
|
11
11
|
* <br/><br/>
|
|
12
12
|
* **Read-only mode**
|
|
13
13
|
* <br/>
|
|
14
|
-
*
|
|
14
|
+
* Cells the column will display the currently selected value's name property by default. If the autocomplete needs to show a different property or needs to be formatted in any way, you can [define a `valueFormatter`](https://www.ag-grid.com/javascript-grid-value-formatters/) on the column definition.
|
|
15
15
|
*/
|
|
16
16
|
Autocomplete = "skyCellAutocomplete",
|
|
17
17
|
/**
|
|
18
18
|
* **Edit mode**
|
|
19
19
|
* <br/>
|
|
20
|
-
*
|
|
20
|
+
* Cells in the column will be edited as a currency amount.
|
|
21
21
|
* <br/><br/>
|
|
22
22
|
* **Read-only mode**
|
|
23
23
|
* <br/>
|
|
@@ -33,31 +33,31 @@ export declare enum SkyCellType {
|
|
|
33
33
|
/**
|
|
34
34
|
* **Edit mode**
|
|
35
35
|
* <br/>
|
|
36
|
-
*
|
|
36
|
+
* Cells in the column will be edited as [SKY UX datepicker components](https://developer.blackbaud.com/skyux/components/datepicker). You can set any of the datepicker component's properties by passing `SkyCellEditorDatepickerParams` in the [column definition's `cellEditorParams` property](https://www.ag-grid.com/angular-data-grid/column-properties/#reference-editing). These params can be updated as other cell edits are made or [provided dynamically](https://www.ag-grid.com/javascript-grid-cell-editing/#dynamic-parameters) based on other cell values. See the demo for an example. Date values can be entered.
|
|
37
37
|
* <br/><br/>
|
|
38
38
|
* **Read-only mode**
|
|
39
39
|
* <br/>
|
|
40
|
-
*
|
|
40
|
+
* Cells in the column will display the currently selected date formatted as `MM-DD-YYYY`, or the date format of the locale passed to `getGridOptions()`. If you would like to overwrite this format, you can [define a `valueFormatter`](https://www.ag-grid.com/javascript-grid-value-formatters/) on the column definition. See the demo for an example.
|
|
41
41
|
*/
|
|
42
42
|
Date = "skyCellDate",
|
|
43
43
|
/**
|
|
44
44
|
* **Edit mode**
|
|
45
45
|
* <br/>
|
|
46
|
-
*
|
|
46
|
+
* Cells in the column will be edited as [SKY UX lookup components](https://developer.blackbaud.com/skyux-v5/components/lookup). You can set any of the lookup component's properties by passing `SkyCellEditorLookupParams` in the [column definition's `cellEditorParams` property](https://www.ag-grid.com/angular-data-grid/column-properties/#reference-editing). These params can be updated as other cell edits are made or [provided dynamically](https://www.ag-grid.com/javascript-grid-cell-editing/#dynamic-parameters) based on other cell values. See the demo for an example. Text can be entered and a value selected from the provided list.
|
|
47
47
|
* <br/><br/>
|
|
48
48
|
* **Read-only mode**
|
|
49
49
|
* <br/>
|
|
50
|
-
*
|
|
50
|
+
* Cells the column will display, by default, either: the name(s) of the selected value(s) if there are less than 6, or a summary count of the values if there are more than 5. If the lookup needs to show a different property or needs to be formatted in any way, you can [define a `valueFormatter`](https://www.ag-grid.com/javascript-grid-value-formatters/) on the column definition.
|
|
51
51
|
*/
|
|
52
52
|
Lookup = "skyCellLookup",
|
|
53
53
|
/**
|
|
54
54
|
* **Edit mode**
|
|
55
55
|
* <br/>
|
|
56
|
-
*
|
|
56
|
+
* Cells in the column will be edited as HTML number `inputs`. Only numbers can be entered.
|
|
57
57
|
* <br/><br/>
|
|
58
58
|
* **Read-only mode**
|
|
59
59
|
* <br/>
|
|
60
|
-
*
|
|
60
|
+
* Cells in the column will render as the number value.
|
|
61
61
|
*/
|
|
62
62
|
Number = "skyCellNumber",
|
|
63
63
|
/**
|
|
@@ -69,23 +69,23 @@ export declare enum SkyCellType {
|
|
|
69
69
|
/**
|
|
70
70
|
* **Edit and read-only modes**
|
|
71
71
|
* <br/>
|
|
72
|
-
*
|
|
72
|
+
* Cells in the column will render as [SKY UX checkbox components](https://developer.blackbaud.com/skyux/components/checkbox). It allows the user to select multiple rows, and adds a highlight to selected rows. The [Ag Grid `rowNode`](https://www.ag-grid.com/javascript-grid-row-node/) will be updated to reflect the selected state.
|
|
73
73
|
*/
|
|
74
74
|
RowSelector = "skyCellRowSelector",
|
|
75
75
|
/**
|
|
76
76
|
* **Edit mode**
|
|
77
77
|
* <br/>
|
|
78
|
-
*
|
|
78
|
+
* Cells in the column will be edited as HTML text `inputs`. Any characters can be entered.
|
|
79
79
|
* <br/><br/>
|
|
80
80
|
* **Read-only mode**
|
|
81
81
|
* <br/>
|
|
82
|
-
*
|
|
82
|
+
* Cells in the column will render as their string value.
|
|
83
83
|
*/
|
|
84
84
|
Text = "skyCellText",
|
|
85
85
|
/**
|
|
86
86
|
* **Edit and read-only modes**
|
|
87
87
|
* <br/>
|
|
88
|
-
*
|
|
88
|
+
* Cells in the column will be passed to a validator function that flags erroneous entries. You can set the validator function and message by passing them to [column definition's `cellRendererParams` property](https://www.ag-grid.com/angular-data-grid/column-properties/#reference-editing) as `skyComponentProperties.validator` and `skyComponentProperties.validatorMessage`. SkyCellType.Validator can be combined with other cell types, such as SkyCellType.Autocomplete or SkyCellType.Date, by using the array syntax for the [column definition's `type` property](https://www.ag-grid.com/angular-data-grid/column-properties/#reference-editing).
|
|
89
89
|
*/
|
|
90
90
|
Validator = "skyCellValidator"
|
|
91
91
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { GridOptions } from 'ag-grid-community';
|
|
2
2
|
export interface SkyGetGridOptionsArgs {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* The [AG Grid `gridOptions`](https://www.ag-grid.com/javascript-grid-properties/) that override default SKY UX `gridOptions`. SKY UX column types for components and column `cellClassRules` enforce required cell styling and cannot be overridden.
|
|
5
5
|
*/
|
|
6
6
|
gridOptions: GridOptions;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* The locale for location-specific formatting, such as date values for the `SkyCellType.Date` column.
|
|
9
9
|
*/
|
|
10
10
|
locale?: string;
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/ag-grid",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.6.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
"@angular/common": "^14.2.11",
|
|
36
36
|
"@angular/core": "^14.2.11",
|
|
37
37
|
"@angular/forms": "^14.2.11",
|
|
38
|
-
"@skyux/autonumeric": "7.
|
|
39
|
-
"@skyux/core": "7.
|
|
40
|
-
"@skyux/data-manager": "7.
|
|
41
|
-
"@skyux/datetime": "7.
|
|
42
|
-
"@skyux/forms": "7.
|
|
43
|
-
"@skyux/i18n": "7.
|
|
44
|
-
"@skyux/indicators": "7.
|
|
45
|
-
"@skyux/layout": "7.
|
|
46
|
-
"@skyux/lookup": "7.
|
|
47
|
-
"@skyux/popovers": "7.
|
|
48
|
-
"@skyux/theme": "7.
|
|
38
|
+
"@skyux/autonumeric": "7.6.0",
|
|
39
|
+
"@skyux/core": "7.6.0",
|
|
40
|
+
"@skyux/data-manager": "7.6.0",
|
|
41
|
+
"@skyux/datetime": "7.6.0",
|
|
42
|
+
"@skyux/forms": "7.6.0",
|
|
43
|
+
"@skyux/i18n": "7.6.0",
|
|
44
|
+
"@skyux/indicators": "7.6.0",
|
|
45
|
+
"@skyux/layout": "7.6.0",
|
|
46
|
+
"@skyux/lookup": "7.6.0",
|
|
47
|
+
"@skyux/popovers": "7.6.0",
|
|
48
|
+
"@skyux/theme": "7.6.0",
|
|
49
49
|
"ag-grid-angular": "^28.2.1",
|
|
50
50
|
"ag-grid-community": "^28.2.1"
|
|
51
51
|
},
|