@skyux/ag-grid 5.6.0 → 5.7.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.
Files changed (34) hide show
  1. package/bundles/skyux-ag-grid.umd.js +53 -41
  2. package/documentation.json +36 -55
  3. package/esm2015/lib/modules/ag-grid/cell-editors/cell-editor-autocomplete/cell-editor-autocomplete.module.js +4 -4
  4. package/esm2015/lib/modules/ag-grid/cell-editors/cell-editor-autocomplete/cell-editor-autocomplete.module.js.map +1 -1
  5. package/esm2015/lib/modules/ag-grid/cell-editors/cell-editor-currency/cell-editor-currency.module.js +4 -4
  6. package/esm2015/lib/modules/ag-grid/cell-editors/cell-editor-currency/cell-editor-currency.module.js.map +1 -1
  7. package/esm2015/lib/modules/ag-grid/cell-editors/cell-editor-number/cell-editor-number.module.js +4 -4
  8. package/esm2015/lib/modules/ag-grid/cell-editors/cell-editor-number/cell-editor-number.module.js.map +1 -1
  9. package/esm2015/lib/modules/ag-grid/cell-editors/cell-editor-text/cell-editor-text.module.js +4 -4
  10. package/esm2015/lib/modules/ag-grid/cell-editors/cell-editor-text/cell-editor-text.module.js.map +1 -1
  11. package/esm2015/lib/modules/ag-grid/cell-renderers/cell-renderer-currency/cell-renderer-currency.module.js +4 -4
  12. package/esm2015/lib/modules/ag-grid/cell-renderers/cell-renderer-currency/cell-renderer-currency.module.js.map +1 -1
  13. package/esm2015/lib/modules/ag-grid/cell-renderers/cell-renderer-lookup/cell-renderer-lookup.module.js +4 -4
  14. package/esm2015/lib/modules/ag-grid/cell-renderers/cell-renderer-lookup/cell-renderer-lookup.module.js.map +1 -1
  15. package/esm2015/lib/modules/ag-grid/cell-renderers/cell-renderer-row-selector/cell-renderer-row-selector.module.js +4 -4
  16. package/esm2015/lib/modules/ag-grid/cell-renderers/cell-renderer-row-selector/cell-renderer-row-selector.module.js.map +1 -1
  17. package/esm2015/lib/modules/ag-grid/types/cell-type.js +13 -4
  18. package/esm2015/lib/modules/ag-grid/types/cell-type.js.map +1 -1
  19. package/esm2015/lib/modules/shared/{ag-grid-resources.module.js → sky-ag-grid-resources.module.js} +15 -12
  20. package/esm2015/lib/modules/shared/sky-ag-grid-resources.module.js.map +1 -0
  21. package/fesm2015/skyux-ag-grid.js +48 -36
  22. package/fesm2015/skyux-ag-grid.js.map +1 -1
  23. package/lib/modules/ag-grid/cell-editors/cell-editor-autocomplete/cell-editor-autocomplete.module.d.ts +2 -2
  24. package/lib/modules/ag-grid/cell-editors/cell-editor-currency/cell-editor-currency.module.d.ts +2 -2
  25. package/lib/modules/ag-grid/cell-editors/cell-editor-number/cell-editor-number.module.d.ts +2 -2
  26. package/lib/modules/ag-grid/cell-editors/cell-editor-text/cell-editor-text.module.d.ts +2 -2
  27. package/lib/modules/ag-grid/cell-renderers/cell-renderer-currency/cell-renderer-currency.module.d.ts +2 -2
  28. package/lib/modules/ag-grid/cell-renderers/cell-renderer-lookup/cell-renderer-lookup.module.d.ts +2 -2
  29. package/lib/modules/ag-grid/cell-renderers/cell-renderer-row-selector/cell-renderer-row-selector.module.d.ts +2 -2
  30. package/lib/modules/ag-grid/types/cell-type.d.ts +13 -4
  31. package/lib/modules/shared/sky-ag-grid-resources.module.d.ts +14 -0
  32. package/package.json +22 -19
  33. package/esm2015/lib/modules/shared/ag-grid-resources.module.js.map +0 -1
  34. package/lib/modules/shared/ag-grid-resources.module.d.ts +0 -14
@@ -1,10 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./cell-editor-autocomplete.component";
3
3
  import * as i2 from "@angular/forms";
4
- import * as i3 from "../../../shared/ag-grid-resources.module";
4
+ import * as i3 from "../../../shared/sky-ag-grid-resources.module";
5
5
  import * as i4 from "@skyux/lookup";
6
6
  export declare class SkyAgGridCellEditorAutocompleteModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellEditorAutocompleteModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridCellEditorAutocompleteModule, [typeof i1.SkyAgGridCellEditorAutocompleteComponent], [typeof i2.FormsModule, typeof i3.AgGridResourcesModule, typeof i4.SkyAutocompleteModule], [typeof i1.SkyAgGridCellEditorAutocompleteComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridCellEditorAutocompleteModule, [typeof i1.SkyAgGridCellEditorAutocompleteComponent], [typeof i2.FormsModule, typeof i3.SkyAgGridResourcesModule, typeof i4.SkyAutocompleteModule], [typeof i1.SkyAgGridCellEditorAutocompleteComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyAgGridCellEditorAutocompleteModule>;
10
10
  }
@@ -1,10 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./cell-editor-currency.component";
3
- import * as i2 from "../../../shared/ag-grid-resources.module";
3
+ import * as i2 from "../../../shared/sky-ag-grid-resources.module";
4
4
  import * as i3 from "@angular/forms";
5
5
  import * as i4 from "@skyux/autonumeric";
6
6
  export declare class SkyAgGridCellEditorCurrencyModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellEditorCurrencyModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridCellEditorCurrencyModule, [typeof i1.SkyAgGridCellEditorCurrencyComponent], [typeof i2.AgGridResourcesModule, typeof i3.FormsModule, typeof i4.SkyAutonumericModule], [typeof i1.SkyAgGridCellEditorCurrencyComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridCellEditorCurrencyModule, [typeof i1.SkyAgGridCellEditorCurrencyComponent], [typeof i2.SkyAgGridResourcesModule, typeof i3.FormsModule, typeof i4.SkyAutonumericModule], [typeof i1.SkyAgGridCellEditorCurrencyComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyAgGridCellEditorCurrencyModule>;
10
10
  }
@@ -1,9 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./cell-editor-number.component";
3
- import * as i2 from "../../../shared/ag-grid-resources.module";
3
+ import * as i2 from "../../../shared/sky-ag-grid-resources.module";
4
4
  import * as i3 from "@angular/forms";
5
5
  export declare class SkyAgGridCellEditorNumberModule {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellEditorNumberModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridCellEditorNumberModule, [typeof i1.SkyAgGridCellEditorNumberComponent], [typeof i2.AgGridResourcesModule, typeof i3.FormsModule], [typeof i1.SkyAgGridCellEditorNumberComponent]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridCellEditorNumberModule, [typeof i1.SkyAgGridCellEditorNumberComponent], [typeof i2.SkyAgGridResourcesModule, typeof i3.FormsModule], [typeof i1.SkyAgGridCellEditorNumberComponent]>;
8
8
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyAgGridCellEditorNumberModule>;
9
9
  }
@@ -1,9 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./cell-editor-text.component";
3
- import * as i2 from "../../../shared/ag-grid-resources.module";
3
+ import * as i2 from "../../../shared/sky-ag-grid-resources.module";
4
4
  import * as i3 from "@angular/forms";
5
5
  export declare class SkyAgGridCellEditorTextModule {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellEditorTextModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridCellEditorTextModule, [typeof i1.SkyAgGridCellEditorTextComponent], [typeof i2.AgGridResourcesModule, typeof i3.FormsModule], [typeof i1.SkyAgGridCellEditorTextComponent]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridCellEditorTextModule, [typeof i1.SkyAgGridCellEditorTextComponent], [typeof i2.SkyAgGridResourcesModule, typeof i3.FormsModule], [typeof i1.SkyAgGridCellEditorTextComponent]>;
8
8
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyAgGridCellEditorTextModule>;
9
9
  }
@@ -2,12 +2,12 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./cell-renderer-currency.component";
3
3
  import * as i2 from "./cell-renderer-currency-validator.component";
4
4
  import * as i3 from "@angular/common";
5
- import * as i4 from "../../../shared/ag-grid-resources.module";
5
+ import * as i4 from "../../../shared/sky-ag-grid-resources.module";
6
6
  import * as i5 from "../../cell-validator/ag-grid-cell-validator.module";
7
7
  import * as i6 from "@angular/forms";
8
8
  import * as i7 from "@skyux/core";
9
9
  export declare class SkyAgGridCellRendererCurrencyModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellRendererCurrencyModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridCellRendererCurrencyModule, [typeof i1.SkyAgGridCellRendererCurrencyComponent, typeof i2.SkyAgGridCellRendererCurrencyValidatorComponent], [typeof i3.CommonModule, typeof i4.AgGridResourcesModule, typeof i5.SkyAgGridCellValidatorModule, typeof i6.FormsModule, typeof i7.SkyNumericModule], [typeof i1.SkyAgGridCellRendererCurrencyComponent, typeof i2.SkyAgGridCellRendererCurrencyValidatorComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridCellRendererCurrencyModule, [typeof i1.SkyAgGridCellRendererCurrencyComponent, typeof i2.SkyAgGridCellRendererCurrencyValidatorComponent], [typeof i3.CommonModule, typeof i4.SkyAgGridResourcesModule, typeof i5.SkyAgGridCellValidatorModule, typeof i6.FormsModule, typeof i7.SkyNumericModule], [typeof i1.SkyAgGridCellRendererCurrencyComponent, typeof i2.SkyAgGridCellRendererCurrencyValidatorComponent]>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyAgGridCellRendererCurrencyModule>;
13
13
  }
@@ -1,9 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./cell-renderer-lookup.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "../../../shared/ag-grid-resources.module";
4
+ import * as i3 from "../../../shared/sky-ag-grid-resources.module";
5
5
  export declare class SkyAgGridCellRendererLookupModule {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellRendererLookupModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridCellRendererLookupModule, [typeof i1.SkyAgGridCellRendererLookupComponent], [typeof i2.CommonModule, typeof i3.AgGridResourcesModule], [typeof i1.SkyAgGridCellRendererLookupComponent]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridCellRendererLookupModule, [typeof i1.SkyAgGridCellRendererLookupComponent], [typeof i2.CommonModule, typeof i3.SkyAgGridResourcesModule], [typeof i1.SkyAgGridCellRendererLookupComponent]>;
8
8
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyAgGridCellRendererLookupModule>;
9
9
  }
@@ -1,10 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./cell-renderer-row-selector.component";
3
- import * as i2 from "../../../shared/ag-grid-resources.module";
3
+ import * as i2 from "../../../shared/sky-ag-grid-resources.module";
4
4
  import * as i3 from "@skyux/forms";
5
5
  import * as i4 from "@angular/forms";
6
6
  export declare class SkyAgGridCellRendererRowSelectorModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellRendererRowSelectorModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridCellRendererRowSelectorModule, [typeof i1.SkyAgGridCellRendererRowSelectorComponent], [typeof i2.AgGridResourcesModule, typeof i3.SkyCheckboxModule, typeof i4.FormsModule], [typeof i1.SkyAgGridCellRendererRowSelectorComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridCellRendererRowSelectorModule, [typeof i1.SkyAgGridCellRendererRowSelectorComponent], [typeof i2.SkyAgGridResourcesModule, typeof i3.SkyCheckboxModule, typeof i4.FormsModule], [typeof i1.SkyAgGridCellRendererRowSelectorComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyAgGridCellRendererRowSelectorModule>;
10
10
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * These column types can be used by setting the AG Grid [column definition `type`](https://www.ag-grid.com/javascript-grid-column-properties/) to one of the following values.
2
+ * These column types can be used by setting the AG Grid [column definition `type`](https://www.ag-grid.com/angular-data-grid/column-properties/#reference-editing) to one of the following values.
3
3
  * <br/>
4
4
  * Any [SKY UX component](https://developer.blackbaud.com/skyux/components) can be made into a [cell editor](https://www.ag-grid.com/javascript-grid-cell-editor/) or [cell renderer](https://www.ag-grid.com/javascript-grid-cell-rendering-components/) component. If you would like to use a component that does not have a column definition yet, please consider [contributing it](https://developer.blackbaud.com/skyux/contribute/contribution-process) to the SKY UX data entry grid module, or [file an issue](https://developer.blackbaud.com/skyux/contribute/contribution-process/file-issue) in the [`@skyux/ag-grid` repo](https://github.com/blackbaud/skyux-ag-grid).
5
5
  */
@@ -7,7 +7,7 @@ export declare enum SkyCellType {
7
7
  /**
8
8
  * **Edit mode**
9
9
  * <br/>
10
- * Specifies that 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 them in the [column definition's `cellEditorParams` property](https://www.ag-grid.com/javascript-grid-column-properties/). 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.
10
+ * Specifies that 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/>
@@ -33,13 +33,22 @@ export declare enum SkyCellType {
33
33
  /**
34
34
  * **Edit mode**
35
35
  * <br/>
36
- * Specifies that 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 them in the [column definition's `cellEditorParams` property](https://www.ag-grid.com/javascript-grid-column-properties/). 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.
36
+ * Specifies that 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
  * Specifies that 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
+ /**
44
+ * **Edit mode**
45
+ * <br/>
46
+ * Specifies that 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
+ * <br/><br/>
48
+ * **Read-only mode**
49
+ * <br/>
50
+ * Specifies that 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
+ */
43
52
  Lookup = "skyCellLookup",
44
53
  /**
45
54
  * **Edit mode**
@@ -76,7 +85,7 @@ export declare enum SkyCellType {
76
85
  /**
77
86
  * **Edit and read-only modes**
78
87
  * <br/>
79
- * Specifies cell in the column will be passed to a validator function which 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/javascript-grid-column-properties/) 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/javascript-grid-column-properties/).
88
+ * Specifies cell in the column will be passed to a validator function which 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).
80
89
  */
81
90
  Validator = "skyCellValidator"
82
91
  }
@@ -0,0 +1,14 @@
1
+ import { SkyAppLocaleInfo, SkyLibResourcesProvider } from '@skyux/i18n';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@skyux/i18n";
4
+ export declare class SkyAgGridResourcesProvider implements SkyLibResourcesProvider {
5
+ getString(localeInfo: SkyAppLocaleInfo, name: string): string | undefined;
6
+ }
7
+ /**
8
+ * Import into any component library module that needs to use resource strings.
9
+ */
10
+ export declare class SkyAgGridResourcesModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridResourcesModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridResourcesModule, never, never, [typeof i1.SkyI18nModule]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyAgGridResourcesModule>;
14
+ }
package/package.json CHANGED
@@ -1,24 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/ag-grid",
3
- "version": "5.6.0",
4
- "peerDependencies": {
5
- "@angular/common": "^12.2.16",
6
- "@angular/core": "^12.2.16",
7
- "ag-grid-angular": "^26.0.0",
8
- "ag-grid-community": "^26.0.0",
9
- "@skyux/autonumeric": "5.6.0",
10
- "@skyux/data-manager": "5.6.0",
11
- "@skyux/datetime": "5.6.0",
12
- "@skyux/forms": "5.6.0",
13
- "@skyux/i18n": "5.6.0",
14
- "@skyux/indicators": "5.6.0",
15
- "@skyux/layout": "5.6.0",
16
- "@skyux/lookup": "5.6.0",
17
- "@skyux/popovers": "5.6.0"
18
- },
19
- "dependencies": {
20
- "tslib": "^2.3.1"
21
- },
3
+ "version": "5.7.0",
22
4
  "author": "Blackbaud, Inc.",
23
5
  "keywords": [
24
6
  "blackbaud",
@@ -33,6 +15,27 @@
33
15
  "url": "https://github.com/blackbaud/skyux/issues"
34
16
  },
35
17
  "homepage": "https://github.com/blackbaud/skyux#readme",
18
+ "peerDependencies": {
19
+ "@angular/common": "^12.2.16",
20
+ "@angular/core": "^12.2.16",
21
+ "@angular/forms": "^12.2.16",
22
+ "@skyux/autonumeric": "5.7.0",
23
+ "@skyux/core": "5.7.0",
24
+ "@skyux/data-manager": "5.7.0",
25
+ "@skyux/datetime": "5.7.0",
26
+ "@skyux/forms": "5.7.0",
27
+ "@skyux/i18n": "5.7.0",
28
+ "@skyux/indicators": "5.7.0",
29
+ "@skyux/layout": "5.7.0",
30
+ "@skyux/lookup": "5.7.0",
31
+ "@skyux/popovers": "5.7.0",
32
+ "@skyux/theme": "5.7.0",
33
+ "ag-grid-angular": "^26.0.0",
34
+ "ag-grid-community": "^26.0.0"
35
+ },
36
+ "dependencies": {
37
+ "tslib": "^2.3.1"
38
+ },
36
39
  "main": "bundles/skyux-ag-grid.umd.js",
37
40
  "module": "fesm2015/skyux-ag-grid.js",
38
41
  "es2015": "fesm2015/skyux-ag-grid.js",
@@ -1 +0,0 @@
1
- {"version":3,"file":"ag-grid-resources.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/ag-grid/src/lib/modules/shared/ag-grid-resources.module.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EACL,2BAA2B,EAE3B,aAAa,EAGb,qBAAqB,GACtB,MAAM,aAAa,CAAC;;AAErB,MAAM,SAAS,GAA0C;IACvD,OAAO,EAAE;QACP,mCAAmC,EAAE;YACnC,OAAO,EAAE,0BAA0B;SACpC;QACD,yCAAyC,EAAE;YACzC,OAAO,EAAE,iCAAiC;SAC3C;QACD,uCAAuC,EAAE;YACvC,OAAO,EAAE,+BAA+B;SACzC;QACD,+CAA+C,EAAE;YAC/C,OAAO,EAAE,uCAAuC;SACjD;QACD,6CAA6C,EAAE;YAC7C,OAAO,EAAE,mCAAmC;SAC7C;QACD,kDAAkD,EAAE;YAClD,OAAO,EAAE,6BAA6B;SACvC;QACD,oDAAoD,EAAE;YACpD,OAAO,EAAE,+BAA+B;SACzC;QACD,2BAA2B,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE;KAC/D;CACF,CAAC;AAEF,MAAM,OAAO,uBAAuB;IAC3B,SAAS,CAAC,UAA4B,EAAE,IAAY;QACzD,OAAO,qBAAqB,CAAC,SAAS,EAAE,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;CACF;AAED;;GAEG;AAWH,MAAM,OAAO,qBAAqB;;mHAArB,qBAAqB;oHAArB,qBAAqB,YATtB,aAAa;oHASZ,qBAAqB,aARrB;QACT;YACE,OAAO,EAAE,2BAA2B;YACpC,QAAQ,EAAE,uBAAuB;YACjC,KAAK,EAAE,IAAI;SACZ;KACF,YAPS,aAAa;4FASZ,qBAAqB;kBAVjC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,aAAa,CAAC;oBACxB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,2BAA2B;4BACpC,QAAQ,EAAE,uBAAuB;4BACjC,KAAK,EAAE,IAAI;yBACZ;qBACF;iBACF","sourcesContent":["/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module modules/shared/ag-grid' schematic.\n * To update this file, simply rerun the command.\n */\nimport { NgModule } from '@angular/core';\nimport {\n SKY_LIB_RESOURCES_PROVIDERS,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n getLibStringForLocale,\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: string]: SkyLibResources } = {\n 'EN-US': {\n sky_ag_grid_row_selector_aria_label: {\n message: 'Row selector for row {0}',\n },\n sky_ag_grid_cell_editor_number_aria_label: {\n message: 'Editable number {0} for row {1}',\n },\n sky_ag_grid_cell_editor_text_aria_label: {\n message: 'Editable text {0} for row {1}',\n },\n sky_ag_grid_cell_editor_autocomplete_aria_label: {\n message: 'Editable autocomplete {0} for row {1}',\n },\n sky_ag_grid_cell_renderer_currency_aria_label: {\n message: 'Editable currency {0} for row {1}',\n },\n sky_ag_grid_cell_renderer_number_validator_message: {\n message: 'Please enter a valid number',\n },\n sky_ag_grid_cell_renderer_currency_validator_message: {\n message: 'Please enter a valid currency',\n },\n skyux_lookup_tokens_summary: { message: '{0} items selected' },\n },\n};\n\nexport class AgGridResourcesProvider implements SkyLibResourcesProvider {\n public getString(localeInfo: SkyAppLocaleInfo, name: string): string {\n return getLibStringForLocale(RESOURCES, localeInfo.locale, name);\n }\n}\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n providers: [\n {\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: AgGridResourcesProvider,\n multi: true,\n },\n ],\n})\nexport class AgGridResourcesModule {}\n"]}
@@ -1,14 +0,0 @@
1
- import { SkyAppLocaleInfo, SkyLibResourcesProvider } from '@skyux/i18n';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@skyux/i18n";
4
- export declare class AgGridResourcesProvider implements SkyLibResourcesProvider {
5
- getString(localeInfo: SkyAppLocaleInfo, name: string): string;
6
- }
7
- /**
8
- * Import into any component library module that needs to use resource strings.
9
- */
10
- export declare class AgGridResourcesModule {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<AgGridResourcesModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<AgGridResourcesModule, never, never, [typeof i1.SkyI18nModule]>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<AgGridResourcesModule>;
14
- }