@skyux/ag-grid 6.0.0-beta.2 → 6.0.0-beta.3

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 (70) hide show
  1. package/documentation.json +3429 -57
  2. package/esm2020/index.mjs +8 -1
  3. package/esm2020/lib/modules/ag-grid/ag-grid-row-delete.directive.mjs +1 -4
  4. package/esm2020/lib/modules/ag-grid/ag-grid-wrapper.component.mjs +10 -6
  5. package/esm2020/lib/modules/ag-grid/ag-grid.service.mjs +6 -2
  6. package/esm2020/lib/modules/ag-grid/apply-lookup-properties-defaults.mjs +29 -0
  7. package/esm2020/lib/modules/ag-grid/cell-editors/cell-editor-autocomplete/cell-editor-autocomplete.component.mjs +1 -1
  8. package/esm2020/lib/modules/ag-grid/cell-editors/cell-editor-currency/cell-editor-currency.component.mjs +10 -3
  9. package/esm2020/lib/modules/ag-grid/cell-editors/cell-editor-datepicker/cell-editor-datepicker.component.mjs +1 -1
  10. package/esm2020/lib/modules/ag-grid/cell-editors/cell-editor-lookup/cell-editor-lookup.component.mjs +16 -5
  11. package/esm2020/lib/modules/ag-grid/cell-editors/cell-editor-number/cell-editor-number.component.mjs +5 -3
  12. package/esm2020/lib/modules/ag-grid/cell-editors/cell-editor-text/cell-editor-text.component.mjs +4 -3
  13. package/esm2020/lib/modules/ag-grid/cell-renderers/cell-renderer-currency/cell-renderer-currency.component.mjs +1 -1
  14. package/esm2020/lib/modules/ag-grid/cell-renderers/cell-renderer-lookup/cell-renderer-lookup.component.mjs +5 -2
  15. package/esm2020/lib/modules/ag-grid/cell-validator/ag-grid-cell-validator-tooltip.component.mjs +29 -22
  16. package/esm2020/lib/modules/ag-grid/types/ag-grid-row-delete-cancel-args.mjs +1 -1
  17. package/esm2020/lib/modules/ag-grid/types/ag-grid-row-delete-confirm-args.mjs +1 -1
  18. package/esm2020/lib/modules/ag-grid/types/autocomplete-properties.mjs +1 -1
  19. package/esm2020/lib/modules/ag-grid/types/cell-editor-autocomplete-params.mjs +1 -1
  20. package/esm2020/lib/modules/ag-grid/types/cell-editor-currency-params.mjs +1 -1
  21. package/esm2020/lib/modules/ag-grid/types/cell-editor-datepicker-params.mjs +1 -1
  22. package/esm2020/lib/modules/ag-grid/types/cell-editor-lookup-params.mjs +1 -1
  23. package/esm2020/lib/modules/ag-grid/types/cell-editor-number-params.mjs +2 -0
  24. package/esm2020/lib/modules/ag-grid/types/cell-editor-text-params.mjs +2 -0
  25. package/esm2020/lib/modules/ag-grid/types/cell-renderer-currency-params.mjs +1 -1
  26. package/esm2020/lib/modules/ag-grid/types/cell-renderer-lookup-params.mjs +1 -1
  27. package/esm2020/lib/modules/ag-grid/types/cell-renderer-validator-params.mjs +1 -1
  28. package/esm2020/lib/modules/ag-grid/types/currency-properties.mjs +1 -1
  29. package/esm2020/lib/modules/ag-grid/types/datepicker-properties.mjs +1 -1
  30. package/esm2020/lib/modules/ag-grid/types/lookup-properties.mjs +2 -26
  31. package/esm2020/lib/modules/ag-grid/types/number-properties.mjs +2 -0
  32. package/esm2020/lib/modules/ag-grid/types/text-properties.mjs +2 -0
  33. package/esm2020/lib/modules/ag-grid/types/validator-properties.mjs +2 -0
  34. package/fesm2015/skyux-ag-grid.mjs +83 -43
  35. package/fesm2015/skyux-ag-grid.mjs.map +1 -1
  36. package/fesm2020/skyux-ag-grid.mjs +77 -37
  37. package/fesm2020/skyux-ag-grid.mjs.map +1 -1
  38. package/index.d.ts +7 -0
  39. package/lib/modules/ag-grid/ag-grid-row-delete.directive.d.ts +0 -3
  40. package/lib/modules/ag-grid/ag-grid-wrapper.component.d.ts +4 -3
  41. package/lib/modules/ag-grid/apply-lookup-properties-defaults.d.ts +27 -0
  42. package/lib/modules/ag-grid/cell-editors/cell-editor-autocomplete/cell-editor-autocomplete.component.d.ts +2 -2
  43. package/lib/modules/ag-grid/cell-editors/cell-editor-currency/cell-editor-currency.component.d.ts +6 -2
  44. package/lib/modules/ag-grid/cell-editors/cell-editor-datepicker/cell-editor-datepicker.component.d.ts +2 -2
  45. package/lib/modules/ag-grid/cell-editors/cell-editor-lookup/cell-editor-lookup.component.d.ts +6 -2
  46. package/lib/modules/ag-grid/cell-editors/cell-editor-number/cell-editor-number.component.d.ts +4 -2
  47. package/lib/modules/ag-grid/cell-editors/cell-editor-text/cell-editor-text.component.d.ts +3 -2
  48. package/lib/modules/ag-grid/cell-renderers/cell-renderer-currency/cell-renderer-currency.component.d.ts +2 -2
  49. package/lib/modules/ag-grid/cell-renderers/cell-renderer-lookup/cell-renderer-lookup.component.d.ts +3 -0
  50. package/lib/modules/ag-grid/cell-validator/ag-grid-cell-validator-tooltip.component.d.ts +5 -6
  51. package/lib/modules/ag-grid/types/ag-grid-row-delete-cancel-args.d.ts +0 -1
  52. package/lib/modules/ag-grid/types/ag-grid-row-delete-confirm-args.d.ts +0 -1
  53. package/lib/modules/ag-grid/types/autocomplete-properties.d.ts +6 -4
  54. package/lib/modules/ag-grid/types/cell-editor-autocomplete-params.d.ts +5 -2
  55. package/lib/modules/ag-grid/types/cell-editor-currency-params.d.ts +5 -2
  56. package/lib/modules/ag-grid/types/cell-editor-datepicker-params.d.ts +5 -2
  57. package/lib/modules/ag-grid/types/cell-editor-lookup-params.d.ts +5 -2
  58. package/lib/modules/ag-grid/types/cell-editor-number-params.d.ts +8 -0
  59. package/lib/modules/ag-grid/types/cell-editor-text-params.d.ts +8 -0
  60. package/lib/modules/ag-grid/types/cell-renderer-currency-params.d.ts +5 -2
  61. package/lib/modules/ag-grid/types/cell-renderer-lookup-params.d.ts +5 -2
  62. package/lib/modules/ag-grid/types/cell-renderer-validator-params.d.ts +5 -2
  63. package/lib/modules/ag-grid/types/currency-properties.d.ts +1 -1
  64. package/lib/modules/ag-grid/types/datepicker-properties.d.ts +6 -4
  65. package/lib/modules/ag-grid/types/lookup-properties.d.ts +1 -24
  66. package/lib/modules/ag-grid/types/number-properties.d.ts +4 -0
  67. package/lib/modules/ag-grid/types/text-properties.d.ts +3 -0
  68. package/lib/modules/ag-grid/types/{validator-options.d.ts → validator-properties.d.ts} +1 -1
  69. package/package.json +12 -12
  70. package/esm2020/lib/modules/ag-grid/types/validator-options.mjs +0 -2
package/index.d.ts CHANGED
@@ -5,9 +5,14 @@ export * from './lib/modules/ag-grid/types/ag-grid-row-delete-confirm-args';
5
5
  export * from './lib/modules/ag-grid/types/autocomplete-properties';
6
6
  export * from './lib/modules/ag-grid/types/cell-class';
7
7
  export * from './lib/modules/ag-grid/types/cell-type';
8
+ export * from './lib/modules/ag-grid/types/currency-properties';
8
9
  export * from './lib/modules/ag-grid/types/datepicker-properties';
9
10
  export * from './lib/modules/ag-grid/types/header-class';
11
+ export * from './lib/modules/ag-grid/types/lookup-properties';
12
+ export * from './lib/modules/ag-grid/types/number-properties';
10
13
  export * from './lib/modules/ag-grid/types/sky-grid-options';
14
+ export * from './lib/modules/ag-grid/types/text-properties';
15
+ export * from './lib/modules/ag-grid/types/validator-properties';
11
16
  export { SkyAgGridCellEditorAutocompleteComponent as λ1 } from './lib/modules/ag-grid/cell-editors/cell-editor-autocomplete/cell-editor-autocomplete.component';
12
17
  export { SkyAgGridCellEditorTextComponent as λ2 } from './lib/modules/ag-grid/cell-editors/cell-editor-text/cell-editor-text.component';
13
18
  export { SkyAgGridCellEditorCurrencyComponent as λ3 } from './lib/modules/ag-grid/cell-editors/cell-editor-currency/cell-editor-currency.component';
@@ -22,3 +27,5 @@ export { SkyAgGridCellValidatorTooltipComponent as λ11 } from './lib/modules/ag
22
27
  export { SkyAgGridWrapperComponent as λ12 } from './lib/modules/ag-grid/ag-grid-wrapper.component';
23
28
  export { SkyAgGridRowDeleteDirective as λ13 } from './lib/modules/ag-grid/ag-grid-row-delete.directive';
24
29
  export { SkyAgGridDataManagerAdapterDirective as λ14 } from './lib/modules/ag-grid/ag-grid-data-manager-adapter.directive';
30
+ export { SkyAgGridCellEditorLookupComponent as λ15 } from './lib/modules/ag-grid/cell-editors/cell-editor-lookup/cell-editor-lookup.component';
31
+ export { SkyAgGridCellRendererLookupComponent as λ16 } from './lib/modules/ag-grid/cell-renderers/cell-renderer-lookup/cell-renderer-lookup.component';
@@ -6,9 +6,6 @@ import { SkyAgGridRowDeleteCancelArgs } from './types/ag-grid-row-delete-cancel-
6
6
  import { SkyAgGridRowDeleteConfig } from './types/ag-grid-row-delete-config';
7
7
  import { SkyAgGridRowDeleteConfirmArgs } from './types/ag-grid-row-delete-confirm-args';
8
8
  import * as i0 from "@angular/core";
9
- /**
10
- * @internal
11
- */
12
9
  export declare class SkyAgGridRowDeleteDirective implements AfterContentInit, OnDestroy {
13
10
  private affixService;
14
11
  private changeDetector;
@@ -2,9 +2,6 @@ import { AfterContentInit, ChangeDetectorRef, ElementRef } from '@angular/core';
2
2
  import { AgGridAngular } from 'ag-grid-angular';
3
3
  import { SkyAgGridAdapterService } from './ag-grid-adapter.service';
4
4
  import * as i0 from "@angular/core";
5
- /**
6
- * @internal
7
- */
8
5
  export declare class SkyAgGridWrapperComponent implements AfterContentInit {
9
6
  private adapterService;
10
7
  private changeDetector;
@@ -18,6 +15,10 @@ export declare class SkyAgGridWrapperComponent implements AfterContentInit {
18
15
  private _viewkeeperClasses;
19
16
  constructor(adapterService: SkyAgGridAdapterService, changeDetector: ChangeDetectorRef, elementRef: ElementRef);
20
17
  ngAfterContentInit(): void;
18
+ /**
19
+ * Prevent closing a modal when focused in AG Grid.
20
+ */
21
+ onKeyUpEscape($event: Event): void;
21
22
  onGridKeydown(event: KeyboardEvent): void;
22
23
  onAnchorFocus(event: FocusEvent): void;
23
24
  private get isInEditMode();
@@ -0,0 +1,27 @@
1
+ import { SkyAgGridLookupProperties } from './types/lookup-properties';
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare function applySkyLookupPropertiesDefaults(skyLookupProperties: SkyAgGridLookupProperties): {
6
+ addClick: (args: import("@skyux/lookup").SkyLookupAddClickEventArgs) => {};
7
+ ariaLabel: string;
8
+ autocompleteAttribute: string;
9
+ data: any[];
10
+ debounceTime: number;
11
+ descriptorProperty: string;
12
+ disabled: boolean;
13
+ enableShowMore: boolean;
14
+ idProperty: string;
15
+ placeholderText: string;
16
+ propertiesToSearch: string[];
17
+ search: import("@skyux/lookup").SkyAutocompleteSearchFunction;
18
+ searchAsync: (args: import("@skyux/lookup").SkyAutocompleteSearchAsyncArgs) => {};
19
+ searchFilters: import("@skyux/lookup").SkyAutocompleteSearchFunctionFilter[];
20
+ searchResultsLimit: number;
21
+ searchResultTemplate: import("@angular/core").TemplateRef<any>;
22
+ searchTextMinimumCharacters: number;
23
+ selectMode: import("@skyux/lookup").SkyLookupSelectModeType;
24
+ showAddButton: boolean;
25
+ showMoreConfig: import("@skyux/lookup").SkyLookupShowMoreConfig;
26
+ wrapperClass: string;
27
+ };
@@ -1,6 +1,6 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { ICellEditorAngularComp } from 'ag-grid-angular';
3
- import { SkyAutocompleteProperties } from '../../types/autocomplete-properties';
3
+ import { SkyAgGridAutocompleteProperties } from '../../types/autocomplete-properties';
4
4
  import { SkyCellEditorAutocompleteParams } from '../../types/cell-editor-autocomplete-params';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
@@ -10,7 +10,7 @@ export declare class SkyAgGridCellEditorAutocompleteComponent implements ICellEd
10
10
  currentSelection: any;
11
11
  columnHeader: string;
12
12
  rowNumber: number;
13
- skyComponentProperties: SkyAutocompleteProperties;
13
+ skyComponentProperties: SkyAgGridAutocompleteProperties;
14
14
  private params;
15
15
  input: ElementRef;
16
16
  agInit(params: SkyCellEditorAutocompleteParams): void;
@@ -1,13 +1,13 @@
1
1
  import { ICellEditorAngularComp } from 'ag-grid-angular';
2
2
  import { SkyCellEditorCurrencyParams } from '../../types/cell-editor-currency-params';
3
- import { SkyCurrencyProperties } from '../../types/currency-properties';
3
+ import { SkyAgGridCurrencyProperties } from '../../types/currency-properties';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
6
6
  * @internal
7
7
  */
8
8
  export declare class SkyAgGridCellEditorCurrencyComponent implements ICellEditorAngularComp {
9
9
  value: number;
10
- skyComponentProperties: SkyCurrencyProperties;
10
+ skyComponentProperties: SkyAgGridCurrencyProperties;
11
11
  columnHeader: string;
12
12
  columnWidth: number;
13
13
  rowHeightWithoutBorders: number;
@@ -27,6 +27,10 @@ export declare class SkyAgGridCellEditorCurrencyComponent implements ICellEditor
27
27
  * getValue is called by agGrid when editing is stopped to get the new value of the cell.
28
28
  */
29
29
  getValue(): number;
30
+ /**
31
+ * The autoNumeric library's event handler suppresses the escape key event. This additional handler re-enables AG Grid's default functionality.
32
+ */
33
+ onPressEscape(): void;
30
34
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellEditorCurrencyComponent, never>;
31
35
  static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridCellEditorCurrencyComponent, "sky-ag-grid-cell-editor-currency", never, {}, {}, never, never>;
32
36
  }
@@ -2,7 +2,7 @@ import { SkyThemeService } from '@skyux/theme';
2
2
  import { ICellEditorAngularComp } from 'ag-grid-angular';
3
3
  import { PopupComponent } from 'ag-grid-community';
4
4
  import { SkyCellEditorDatepickerParams } from '../../types/cell-editor-datepicker-params';
5
- import { SkyDatepickerProperties } from '../../types/datepicker-properties';
5
+ import { SkyAgGridDatepickerProperties } from '../../types/datepicker-properties';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * @internal
@@ -13,7 +13,7 @@ export declare class SkyAgGridCellEditorDatepickerComponent extends PopupCompone
13
13
  currentDate: Date;
14
14
  columnWidthWithoutBorders: number;
15
15
  rowHeightWithoutBorders: number;
16
- skyComponentProperties: SkyDatepickerProperties;
16
+ skyComponentProperties: SkyAgGridDatepickerProperties;
17
17
  private params;
18
18
  private datepickerInput;
19
19
  constructor(themeSvc?: SkyThemeService);
@@ -3,12 +3,16 @@ import { FormGroup } from '@angular/forms';
3
3
  import { ICellEditorAngularComp } from 'ag-grid-angular';
4
4
  import { IPopupComponent } from 'ag-grid-community/dist/lib/interfaces/iPopupComponent';
5
5
  import { SkyCellEditorLookupParams } from '../../types/cell-editor-lookup-params';
6
- import { SkyLookupProperties } from '../../types/lookup-properties';
6
+ import { SkyAgGridLookupProperties } from '../../types/lookup-properties';
7
7
  import * as i0 from "@angular/core";
8
+ /**
9
+ * @internal
10
+ */
8
11
  export declare class SkyAgGridCellEditorLookupComponent implements ICellEditorAngularComp, IPopupComponent<any> {
9
12
  private changeDetector;
10
13
  private elementRef;
11
- skyComponentProperties?: SkyLookupProperties;
14
+ width: number;
15
+ skyComponentProperties?: SkyAgGridLookupProperties;
12
16
  isAlive: boolean;
13
17
  lookupForm: FormGroup;
14
18
  useAsyncSearch: boolean;
@@ -1,5 +1,5 @@
1
1
  import { ICellEditorAngularComp } from 'ag-grid-angular';
2
- import { ICellEditorParams } from 'ag-grid-community';
2
+ import { SkyCellEditorNumberParams } from '../../types/cell-editor-number-params';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
5
  * @internal
@@ -10,13 +10,15 @@ export declare class SkyAgGridCellEditorNumberComponent implements ICellEditorAn
10
10
  columnWidth: number;
11
11
  rowHeightWithoutBorders: number;
12
12
  rowNumber: number;
13
+ max: number;
14
+ min: number;
13
15
  private params;
14
16
  private input;
15
17
  /**
16
18
  * agInit is called by agGrid once after the editor is created and provides the editor with the information it needs.
17
19
  * @param params The cell editor params that include data about the cell, column, row, and grid.
18
20
  */
19
- agInit(params: ICellEditorParams): void;
21
+ agInit(params: SkyCellEditorNumberParams): void;
20
22
  /**
21
23
  * afterGuiAttached is called by agGrid after the editor is rendered in the DOM. Once it is attached the editor is ready to be focused on.
22
24
  */
@@ -1,5 +1,5 @@
1
1
  import { ICellEditorAngularComp } from 'ag-grid-angular';
2
- import { ICellEditorParams } from 'ag-grid-community';
2
+ import { SkyCellEditorTextParams } from '../../types/cell-editor-text-params';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
5
  * @internal
@@ -11,13 +11,14 @@ export declare class SkyAgGridCellEditorTextComponent implements ICellEditorAngu
11
11
  columnWidth: number;
12
12
  rowHeightWithoutBorders: number;
13
13
  rowNumber: number;
14
+ maxlength: number;
14
15
  private params;
15
16
  private input;
16
17
  /**
17
18
  * agInit is called by agGrid once after the editor is created and provides the editor with the information it needs.
18
19
  * @param params The cell editor params that include data about the cell, column, row, and grid.
19
20
  */
20
- agInit(params: ICellEditorParams): void;
21
+ agInit(params: SkyCellEditorTextParams): void;
21
22
  /**
22
23
  * afterGuiAttached is called by agGrid after the editor is rendered in the DOM. Once it is attached the editor is ready to be focused on.
23
24
  */
@@ -1,7 +1,7 @@
1
1
  import { NumericOptions } from '@skyux/core';
2
2
  import { ICellRendererAngularComp } from 'ag-grid-angular';
3
3
  import { SkyCellRendererCurrencyParams } from '../../types/cell-renderer-currency-params';
4
- import { ValidatorOptions } from '../../types/validator-options';
4
+ import { SkyAgGridValidatorProperties } from '../../types/validator-properties';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
7
  * @internal
@@ -12,7 +12,7 @@ export declare class SkyAgGridCellRendererCurrencyComponent implements ICellRend
12
12
  columnWidth: number;
13
13
  rowHeightWithoutBorders: number;
14
14
  rowNumber: number;
15
- skyComponentProperties: NumericOptions & ValidatorOptions;
15
+ skyComponentProperties: NumericOptions & SkyAgGridValidatorProperties;
16
16
  numericOptions: NumericOptions;
17
17
  value: number;
18
18
  private _params;
@@ -2,6 +2,9 @@ import { ChangeDetectorRef } from '@angular/core';
2
2
  import { ICellRendererAngularComp } from 'ag-grid-angular';
3
3
  import { SkyCellRendererLookupParams } from '../../types/cell-renderer-lookup-params';
4
4
  import * as i0 from "@angular/core";
5
+ /**
6
+ * @internal
7
+ */
5
8
  export declare class SkyAgGridCellRendererLookupComponent implements ICellRendererAngularComp {
6
9
  private changeDetector;
7
10
  value: string;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, NgZone } from '@angular/core';
1
+ import { ChangeDetectorRef } from '@angular/core';
2
2
  import { SkyPopoverMessage } from '@skyux/popovers';
3
3
  import { Subject } from 'rxjs';
4
4
  import { SkyCellRendererValidatorParams } from '../types/cell-renderer-validator-params';
@@ -8,17 +8,16 @@ import * as i0 from "@angular/core";
8
8
  */
9
9
  export declare class SkyAgGridCellValidatorTooltipComponent {
10
10
  private changeDetector;
11
- private zone;
12
11
  set params(value: SkyCellRendererValidatorParams);
13
- indicatorShouldShow: boolean;
14
12
  popoverMessageStream: Subject<SkyPopoverMessage>;
15
13
  validatorMessage: string;
16
14
  cellRendererParams: SkyCellRendererValidatorParams;
17
- constructor(changeDetector: ChangeDetectorRef, zone: NgZone);
18
- hideIndicator(): void;
15
+ private _hoverTimeout;
16
+ constructor(changeDetector: ChangeDetectorRef);
19
17
  hidePopover(): void;
20
- showIndicator(): void;
21
18
  showPopover(): void;
19
+ private scheduleDelayedPopover;
20
+ private cancelDelayedPopover;
22
21
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellValidatorTooltipComponent, never>;
23
22
  static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridCellValidatorTooltipComponent, "sky-ag-grid-cell-validator-tooltip", never, { "params": "params"; }, {}, never, ["*"]>;
24
23
  }
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * Information regarding a row whose deletion has been cancelled.
3
- * @internal
4
3
  */
5
4
  export interface SkyAgGridRowDeleteCancelArgs {
6
5
  /**
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * Information regarding a row whose deletion has been confirmed.
3
- * @internal
4
3
  */
5
4
  export interface SkyAgGridRowDeleteConfirmArgs {
6
5
  /**
@@ -1,8 +1,5 @@
1
1
  import { TemplateRef } from '@angular/core';
2
- /**
3
- * @internal
4
- */
5
- export interface SkyAutocompleteProperties {
2
+ export interface SkyAgGridAutocompleteProperties {
6
3
  data?: any[];
7
4
  debounceTime?: number;
8
5
  descriptorProperty?: string;
@@ -14,3 +11,8 @@ export interface SkyAutocompleteProperties {
14
11
  searchTextMinimumCharacters?: number;
15
12
  selectionChange?: Function;
16
13
  }
14
+ /**
15
+ * @deprecated Use SkyAgGridAutocompleteProperties instead.
16
+ */
17
+ export interface SkyAutocompleteProperties extends SkyAgGridAutocompleteProperties {
18
+ }
@@ -1,5 +1,8 @@
1
1
  import { ICellEditorParams } from 'ag-grid-community';
2
- import { SkyAutocompleteProperties } from './autocomplete-properties';
2
+ import { SkyAgGridAutocompleteProperties, SkyAutocompleteProperties } from './autocomplete-properties';
3
+ /**
4
+ * @internal
5
+ */
3
6
  export interface SkyCellEditorAutocompleteParams extends ICellEditorParams {
4
- skyComponentProperties?: SkyAutocompleteProperties;
7
+ skyComponentProperties?: SkyAutocompleteProperties | SkyAgGridAutocompleteProperties;
5
8
  }
@@ -1,5 +1,8 @@
1
1
  import { ICellEditorParams } from 'ag-grid-community';
2
- import { SkyCurrencyProperties } from './currency-properties';
2
+ import { SkyAgGridCurrencyProperties } from './currency-properties';
3
+ /**
4
+ * @internal
5
+ */
3
6
  export interface SkyCellEditorCurrencyParams extends ICellEditorParams {
4
- skyComponentProperties?: SkyCurrencyProperties;
7
+ skyComponentProperties?: SkyAgGridCurrencyProperties;
5
8
  }
@@ -1,5 +1,8 @@
1
1
  import { ICellEditorParams } from 'ag-grid-community';
2
- import { SkyDatepickerProperties } from './datepicker-properties';
2
+ import { SkyAgGridDatepickerProperties, SkyDatepickerProperties } from './datepicker-properties';
3
+ /**
4
+ * @internal
5
+ */
3
6
  export interface SkyCellEditorDatepickerParams extends ICellEditorParams {
4
- skyComponentProperties?: SkyDatepickerProperties;
7
+ skyComponentProperties?: SkyDatepickerProperties | SkyAgGridDatepickerProperties;
5
8
  }
@@ -1,5 +1,8 @@
1
1
  import { ICellEditorParams } from 'ag-grid-community';
2
- import { SkyLookupProperties } from './lookup-properties';
2
+ import { SkyAgGridLookupProperties } from './lookup-properties';
3
+ /**
4
+ * @internal
5
+ */
3
6
  export interface SkyCellEditorLookupParams extends ICellEditorParams {
4
- skyComponentProperties?: SkyLookupProperties;
7
+ skyComponentProperties?: SkyAgGridLookupProperties;
5
8
  }
@@ -0,0 +1,8 @@
1
+ import { ICellEditorParams } from 'ag-grid-community';
2
+ import { SkyAgGridNumberProperties } from './number-properties';
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface SkyCellEditorNumberParams extends ICellEditorParams {
7
+ skyComponentProperties?: SkyAgGridNumberProperties;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { ICellEditorParams } from 'ag-grid-community';
2
+ import { SkyAgGridTextProperties } from './text-properties';
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface SkyCellEditorTextParams extends ICellEditorParams {
7
+ skyComponentProperties?: SkyAgGridTextProperties;
8
+ }
@@ -1,6 +1,9 @@
1
1
  import { NumericOptions } from '@skyux/core';
2
2
  import { ICellRendererParams } from 'ag-grid-community';
3
- import { ValidatorOptions } from './validator-options';
3
+ import { SkyAgGridValidatorProperties } from './validator-properties';
4
+ /**
5
+ * @internal
6
+ */
4
7
  export interface SkyCellRendererCurrencyParams extends ICellRendererParams {
5
- skyComponentProperties?: NumericOptions & ValidatorOptions;
8
+ skyComponentProperties?: NumericOptions & SkyAgGridValidatorProperties;
6
9
  }
@@ -1,5 +1,8 @@
1
1
  import { ICellRendererParams } from 'ag-grid-community';
2
- import { SkyLookupProperties } from './lookup-properties';
2
+ import { SkyAgGridLookupProperties } from './lookup-properties';
3
+ /**
4
+ * @internal
5
+ */
3
6
  export interface SkyCellRendererLookupParams extends ICellRendererParams {
4
- skyComponentProperties?: SkyLookupProperties;
7
+ skyComponentProperties?: SkyAgGridLookupProperties;
5
8
  }
@@ -1,5 +1,8 @@
1
1
  import { ICellRendererParams } from 'ag-grid-community';
2
- import { ValidatorOptions } from './validator-options';
2
+ import { SkyAgGridValidatorProperties } from './validator-properties';
3
+ /**
4
+ * @internal
5
+ */
3
6
  export interface SkyCellRendererValidatorParams extends ICellRendererParams {
4
- skyComponentProperties: ValidatorOptions;
7
+ skyComponentProperties: SkyAgGridValidatorProperties;
5
8
  }
@@ -1,4 +1,4 @@
1
- export interface SkyCurrencyProperties {
1
+ export interface SkyAgGridCurrencyProperties {
2
2
  currencySymbol?: string;
3
3
  decimalPlaces?: number;
4
4
  negativeBracketsTypeOnBlur?: string;
@@ -1,7 +1,4 @@
1
- /**
2
- * @internal
3
- */
4
- export interface SkyDatepickerProperties {
1
+ export interface SkyAgGridDatepickerProperties {
5
2
  dateFormat?: string;
6
3
  disabled?: boolean;
7
4
  maxDate?: Date;
@@ -9,3 +6,8 @@ export interface SkyDatepickerProperties {
9
6
  skyDatepickerNoValidate?: boolean;
10
7
  startingDay?: number;
11
8
  }
9
+ /**
10
+ * @deprecated Use SkyAgGridDatepickerProperties instead.
11
+ */
12
+ export interface SkyDatepickerProperties extends SkyAgGridDatepickerProperties {
13
+ }
@@ -1,6 +1,6 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import { SkyAutocompleteSearchAsyncArgs, SkyAutocompleteSearchFunction, SkyAutocompleteSearchFunctionFilter, SkyLookupAddClickEventArgs, SkyLookupSelectModeType, SkyLookupShowMoreConfig } from '@skyux/lookup';
3
- export interface SkyLookupProperties {
3
+ export interface SkyAgGridLookupProperties {
4
4
  addClick?: (args: SkyLookupAddClickEventArgs) => {};
5
5
  ariaLabel?: string;
6
6
  autocompleteAttribute?: string;
@@ -23,26 +23,3 @@ export interface SkyLookupProperties {
23
23
  showMoreConfig?: SkyLookupShowMoreConfig;
24
24
  wrapperClass?: string;
25
25
  }
26
- export declare function applySkyLookupPropertiesDefaults(skyLookupProperties: SkyLookupProperties): {
27
- addClick: (args: SkyLookupAddClickEventArgs) => {};
28
- ariaLabel: string;
29
- autocompleteAttribute: string;
30
- data: any[];
31
- debounceTime: number;
32
- descriptorProperty: string;
33
- disabled: boolean;
34
- enableShowMore: boolean;
35
- idProperty: string;
36
- placeholderText: string;
37
- propertiesToSearch: string[];
38
- search: SkyAutocompleteSearchFunction;
39
- searchAsync: (args: SkyAutocompleteSearchAsyncArgs) => {};
40
- searchFilters: SkyAutocompleteSearchFunctionFilter[];
41
- searchResultsLimit: number;
42
- searchResultTemplate: TemplateRef<any>;
43
- searchTextMinimumCharacters: number;
44
- selectMode: SkyLookupSelectModeType;
45
- showAddButton: boolean;
46
- showMoreConfig: SkyLookupShowMoreConfig;
47
- wrapperClass: string;
48
- };
@@ -0,0 +1,4 @@
1
+ export interface SkyAgGridNumberProperties {
2
+ max?: number;
3
+ min?: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ export interface SkyAgGridTextProperties {
2
+ maxlength?: number;
3
+ }
@@ -1,4 +1,4 @@
1
- export interface ValidatorOptions {
1
+ export interface SkyAgGridValidatorProperties {
2
2
  validator?: (value: any, data?: any, rowIndex?: number) => boolean;
3
3
  validatorMessage?: string | ((value: any, data?: any, rowIndex?: number) => string);
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/ag-grid",
3
- "version": "6.0.0-beta.2",
3
+ "version": "6.0.0-beta.3",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -35,17 +35,17 @@
35
35
  "@angular/common": "^13.2.7",
36
36
  "@angular/core": "^13.2.7",
37
37
  "@angular/forms": "^13.2.7",
38
- "@skyux/autonumeric": "6.0.0-beta.2",
39
- "@skyux/core": "6.0.0-beta.2",
40
- "@skyux/data-manager": "6.0.0-beta.2",
41
- "@skyux/datetime": "6.0.0-beta.2",
42
- "@skyux/forms": "6.0.0-beta.2",
43
- "@skyux/i18n": "6.0.0-beta.2",
44
- "@skyux/indicators": "6.0.0-beta.2",
45
- "@skyux/layout": "6.0.0-beta.2",
46
- "@skyux/lookup": "6.0.0-beta.2",
47
- "@skyux/popovers": "6.0.0-beta.2",
48
- "@skyux/theme": "6.0.0-beta.2",
38
+ "@skyux/autonumeric": "6.0.0-beta.3",
39
+ "@skyux/core": "6.0.0-beta.3",
40
+ "@skyux/data-manager": "6.0.0-beta.3",
41
+ "@skyux/datetime": "6.0.0-beta.3",
42
+ "@skyux/forms": "6.0.0-beta.3",
43
+ "@skyux/i18n": "6.0.0-beta.3",
44
+ "@skyux/indicators": "6.0.0-beta.3",
45
+ "@skyux/layout": "6.0.0-beta.3",
46
+ "@skyux/lookup": "6.0.0-beta.3",
47
+ "@skyux/popovers": "6.0.0-beta.3",
48
+ "@skyux/theme": "6.0.0-beta.3",
49
49
  "ag-grid-angular": "^26.0.0",
50
50
  "ag-grid-community": "^26.0.0"
51
51
  },
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdG9yLW9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvYWctZ3JpZC9zcmMvbGliL21vZHVsZXMvYWctZ3JpZC90eXBlcy92YWxpZGF0b3Itb3B0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBWYWxpZGF0b3JPcHRpb25zIHtcbiAgdmFsaWRhdG9yPzogKHZhbHVlOiBhbnksIGRhdGE/OiBhbnksIHJvd0luZGV4PzogbnVtYmVyKSA9PiBib29sZWFuO1xuICB2YWxpZGF0b3JNZXNzYWdlPzpcbiAgICB8IHN0cmluZ1xuICAgIHwgKCh2YWx1ZTogYW55LCBkYXRhPzogYW55LCByb3dJbmRleD86IG51bWJlcikgPT4gc3RyaW5nKTtcbn1cbiJdfQ==