@skyux/ag-grid 5.8.1 → 5.8.4
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/bundles/skyux-ag-grid.umd.js +22 -8
- package/documentation.json +3432 -60
- package/esm2015/index.js +7 -0
- package/esm2015/index.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/ag-grid-row-delete.directive.js +0 -3
- package/esm2015/lib/modules/ag-grid/ag-grid-row-delete.directive.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/ag-grid-wrapper.component.js +0 -3
- package/esm2015/lib/modules/ag-grid/ag-grid-wrapper.component.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/ag-grid.service.js +1 -1
- package/esm2015/lib/modules/ag-grid/ag-grid.service.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/apply-lookup-properties-defaults.js +29 -0
- package/esm2015/lib/modules/ag-grid/apply-lookup-properties-defaults.js.map +1 -0
- package/esm2015/lib/modules/ag-grid/cell-editors/cell-editor-autocomplete/cell-editor-autocomplete.component.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/cell-editors/cell-editor-currency/cell-editor-currency.component.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/cell-editors/cell-editor-datepicker/cell-editor-datepicker.component.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/cell-editors/cell-editor-lookup/cell-editor-lookup.component.js +15 -4
- package/esm2015/lib/modules/ag-grid/cell-editors/cell-editor-lookup/cell-editor-lookup.component.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/cell-renderers/cell-renderer-currency/cell-renderer-currency.component.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/cell-renderers/cell-renderer-lookup/cell-renderer-lookup.component.js +4 -1
- package/esm2015/lib/modules/ag-grid/cell-renderers/cell-renderer-lookup/cell-renderer-lookup.component.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/ag-grid-row-delete-cancel-args.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/ag-grid-row-delete-confirm-args.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/autocomplete-properties.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/cell-editor-autocomplete-params.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/cell-editor-currency-params.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/cell-editor-datepicker-params.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/cell-editor-lookup-params.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/cell-editor-number-params.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/cell-editor-text-params.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/cell-renderer-currency-params.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/cell-renderer-lookup-params.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/cell-renderer-validator-params.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/currency-properties.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/datepicker-properties.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/lookup-properties.js +1 -25
- package/esm2015/lib/modules/ag-grid/types/lookup-properties.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/number-properties.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/text-properties.js.map +1 -1
- package/esm2015/lib/modules/ag-grid/types/validator-properties.js +2 -0
- package/esm2015/lib/modules/ag-grid/types/validator-properties.js.map +1 -0
- package/fesm2015/skyux-ag-grid.js +21 -10
- package/fesm2015/skyux-ag-grid.js.map +1 -1
- package/index.d.ts +7 -0
- package/lib/modules/ag-grid/ag-grid-row-delete.directive.d.ts +0 -3
- package/lib/modules/ag-grid/ag-grid-wrapper.component.d.ts +0 -3
- package/lib/modules/ag-grid/apply-lookup-properties-defaults.d.ts +27 -0
- package/lib/modules/ag-grid/cell-editors/cell-editor-autocomplete/cell-editor-autocomplete.component.d.ts +2 -2
- package/lib/modules/ag-grid/cell-editors/cell-editor-currency/cell-editor-currency.component.d.ts +2 -2
- package/lib/modules/ag-grid/cell-editors/cell-editor-datepicker/cell-editor-datepicker.component.d.ts +2 -2
- package/lib/modules/ag-grid/cell-editors/cell-editor-lookup/cell-editor-lookup.component.d.ts +6 -2
- package/lib/modules/ag-grid/cell-renderers/cell-renderer-currency/cell-renderer-currency.component.d.ts +2 -2
- package/lib/modules/ag-grid/cell-renderers/cell-renderer-lookup/cell-renderer-lookup.component.d.ts +3 -0
- package/lib/modules/ag-grid/types/ag-grid-row-delete-cancel-args.d.ts +0 -1
- package/lib/modules/ag-grid/types/ag-grid-row-delete-confirm-args.d.ts +0 -1
- package/lib/modules/ag-grid/types/autocomplete-properties.d.ts +6 -4
- package/lib/modules/ag-grid/types/cell-editor-autocomplete-params.d.ts +5 -2
- package/lib/modules/ag-grid/types/cell-editor-currency-params.d.ts +5 -2
- package/lib/modules/ag-grid/types/cell-editor-datepicker-params.d.ts +5 -2
- package/lib/modules/ag-grid/types/cell-editor-lookup-params.d.ts +5 -2
- package/lib/modules/ag-grid/types/cell-editor-number-params.d.ts +5 -2
- package/lib/modules/ag-grid/types/cell-editor-text-params.d.ts +5 -2
- package/lib/modules/ag-grid/types/cell-renderer-currency-params.d.ts +5 -2
- package/lib/modules/ag-grid/types/cell-renderer-lookup-params.d.ts +5 -2
- package/lib/modules/ag-grid/types/cell-renderer-validator-params.d.ts +5 -2
- package/lib/modules/ag-grid/types/currency-properties.d.ts +1 -1
- package/lib/modules/ag-grid/types/datepicker-properties.d.ts +6 -4
- package/lib/modules/ag-grid/types/lookup-properties.d.ts +1 -24
- package/lib/modules/ag-grid/types/number-properties.d.ts +1 -4
- package/lib/modules/ag-grid/types/text-properties.d.ts +1 -4
- package/lib/modules/ag-grid/types/{validator-options.d.ts → validator-properties.d.ts} +1 -1
- package/package.json +12 -12
- package/esm2015/lib/modules/ag-grid/types/validator-options.js +0 -2
- package/esm2015/lib/modules/ag-grid/types/validator-options.js.map +0 -1
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;
|
|
@@ -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 {
|
|
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:
|
|
13
|
+
skyComponentProperties: SkyAgGridAutocompleteProperties;
|
|
14
14
|
private params;
|
|
15
15
|
input: ElementRef;
|
|
16
16
|
agInit(params: SkyCellEditorAutocompleteParams): void;
|
package/lib/modules/ag-grid/cell-editors/cell-editor-currency/cell-editor-currency.component.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ICellEditorAngularComp } from 'ag-grid-angular';
|
|
2
2
|
import { SkyCellEditorCurrencyParams } from '../../types/cell-editor-currency-params';
|
|
3
|
-
import {
|
|
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:
|
|
10
|
+
skyComponentProperties: SkyAgGridCurrencyProperties;
|
|
11
11
|
columnHeader: string;
|
|
12
12
|
columnWidth: number;
|
|
13
13
|
rowHeightWithoutBorders: number;
|
|
@@ -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 {
|
|
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:
|
|
16
|
+
skyComponentProperties: SkyAgGridDatepickerProperties;
|
|
17
17
|
private params;
|
|
18
18
|
private datepickerInput;
|
|
19
19
|
constructor(themeSvc?: SkyThemeService);
|
package/lib/modules/ag-grid/cell-editors/cell-editor-lookup/cell-editor-lookup.component.d.ts
CHANGED
|
@@ -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 {
|
|
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
|
-
|
|
14
|
+
width: number;
|
|
15
|
+
skyComponentProperties?: SkyAgGridLookupProperties;
|
|
12
16
|
isAlive: boolean;
|
|
13
17
|
lookupForm: FormGroup;
|
|
14
18
|
useAsyncSearch: boolean;
|
|
@@ -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 {
|
|
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 &
|
|
15
|
+
skyComponentProperties: NumericOptions & SkyAgGridValidatorProperties;
|
|
16
16
|
numericOptions: NumericOptions;
|
|
17
17
|
value: number;
|
|
18
18
|
private _params;
|
package/lib/modules/ag-grid/cell-renderers/cell-renderer-lookup/cell-renderer-lookup.component.d.ts
CHANGED
|
@@ -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,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 {
|
|
2
|
+
import { SkyAgGridCurrencyProperties } from './currency-properties';
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export interface SkyCellEditorCurrencyParams extends ICellEditorParams {
|
|
4
|
-
skyComponentProperties?:
|
|
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 {
|
|
2
|
+
import { SkyAgGridLookupProperties } from './lookup-properties';
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export interface SkyCellEditorLookupParams extends ICellEditorParams {
|
|
4
|
-
skyComponentProperties?:
|
|
7
|
+
skyComponentProperties?: SkyAgGridLookupProperties;
|
|
5
8
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ICellEditorParams } from 'ag-grid-community';
|
|
2
|
-
import {
|
|
2
|
+
import { SkyAgGridNumberProperties } from './number-properties';
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export interface SkyCellEditorNumberParams extends ICellEditorParams {
|
|
4
|
-
skyComponentProperties?:
|
|
7
|
+
skyComponentProperties?: SkyAgGridNumberProperties;
|
|
5
8
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ICellEditorParams } from 'ag-grid-community';
|
|
2
|
-
import {
|
|
2
|
+
import { SkyAgGridTextProperties } from './text-properties';
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export interface SkyCellEditorTextParams extends ICellEditorParams {
|
|
4
|
-
skyComponentProperties?:
|
|
7
|
+
skyComponentProperties?: SkyAgGridTextProperties;
|
|
5
8
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { NumericOptions } from '@skyux/core';
|
|
2
2
|
import { ICellRendererParams } from 'ag-grid-community';
|
|
3
|
-
import {
|
|
3
|
+
import { SkyAgGridValidatorProperties } from './validator-properties';
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
4
7
|
export interface SkyCellRendererCurrencyParams extends ICellRendererParams {
|
|
5
|
-
skyComponentProperties?: NumericOptions &
|
|
8
|
+
skyComponentProperties?: NumericOptions & SkyAgGridValidatorProperties;
|
|
6
9
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ICellRendererParams } from 'ag-grid-community';
|
|
2
|
-
import {
|
|
2
|
+
import { SkyAgGridLookupProperties } from './lookup-properties';
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export interface SkyCellRendererLookupParams extends ICellRendererParams {
|
|
4
|
-
skyComponentProperties?:
|
|
7
|
+
skyComponentProperties?: SkyAgGridLookupProperties;
|
|
5
8
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ICellRendererParams } from 'ag-grid-community';
|
|
2
|
-
import {
|
|
2
|
+
import { SkyAgGridValidatorProperties } from './validator-properties';
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export interface SkyCellRendererValidatorParams extends ICellRendererParams {
|
|
4
|
-
skyComponentProperties:
|
|
7
|
+
skyComponentProperties: SkyAgGridValidatorProperties;
|
|
5
8
|
}
|
|
@@ -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
|
|
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
|
-
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/ag-grid",
|
|
3
|
-
"version": "5.8.
|
|
3
|
+
"version": "5.8.4",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
"@angular/common": "^12.2.16",
|
|
20
20
|
"@angular/core": "^12.2.16",
|
|
21
21
|
"@angular/forms": "^12.2.16",
|
|
22
|
-
"@skyux/autonumeric": "5.8.
|
|
23
|
-
"@skyux/core": "5.8.
|
|
24
|
-
"@skyux/data-manager": "5.8.
|
|
25
|
-
"@skyux/datetime": "5.8.
|
|
26
|
-
"@skyux/forms": "5.8.
|
|
27
|
-
"@skyux/i18n": "5.8.
|
|
28
|
-
"@skyux/indicators": "5.8.
|
|
29
|
-
"@skyux/layout": "5.8.
|
|
30
|
-
"@skyux/lookup": "5.8.
|
|
31
|
-
"@skyux/popovers": "5.8.
|
|
32
|
-
"@skyux/theme": "5.8.
|
|
22
|
+
"@skyux/autonumeric": "5.8.4",
|
|
23
|
+
"@skyux/core": "5.8.4",
|
|
24
|
+
"@skyux/data-manager": "5.8.4",
|
|
25
|
+
"@skyux/datetime": "5.8.4",
|
|
26
|
+
"@skyux/forms": "5.8.4",
|
|
27
|
+
"@skyux/i18n": "5.8.4",
|
|
28
|
+
"@skyux/indicators": "5.8.4",
|
|
29
|
+
"@skyux/layout": "5.8.4",
|
|
30
|
+
"@skyux/lookup": "5.8.4",
|
|
31
|
+
"@skyux/popovers": "5.8.4",
|
|
32
|
+
"@skyux/theme": "5.8.4",
|
|
33
33
|
"ag-grid-angular": "^26.0.0",
|
|
34
34
|
"ag-grid-community": "^26.0.0"
|
|
35
35
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validator-options.js","sourceRoot":"","sources":["../../../../../../../../../libs/components/ag-grid/src/lib/modules/ag-grid/types/validator-options.ts"],"names":[],"mappings":"","sourcesContent":["export interface ValidatorOptions {\n validator?: (value: any, data?: any, rowIndex?: number) => boolean;\n validatorMessage?:\n | string\n | ((value: any, data?: any, rowIndex?: number) => string);\n}\n"]}
|