@skyux/ag-grid 12.22.0 → 13.0.0-alpha.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 (62) hide show
  1. package/fesm2022/skyux-ag-grid.mjs +189 -100
  2. package/fesm2022/skyux-ag-grid.mjs.map +1 -1
  3. package/index.d.ts +937 -42
  4. package/package.json +18 -18
  5. package/lib/modules/ag-grid/ag-grid-adapter.service.d.ts +0 -16
  6. package/lib/modules/ag-grid/ag-grid-data-manager-adapter.directive.d.ts +0 -19
  7. package/lib/modules/ag-grid/ag-grid-row-delete-context.d.ts +0 -20
  8. package/lib/modules/ag-grid/ag-grid-row-delete.component.d.ts +0 -23
  9. package/lib/modules/ag-grid/ag-grid-row-delete.directive.d.ts +0 -27
  10. package/lib/modules/ag-grid/ag-grid-wrapper.component.d.ts +0 -39
  11. package/lib/modules/ag-grid/ag-grid.module.d.ts +0 -12
  12. package/lib/modules/ag-grid/ag-grid.service.d.ts +0 -29
  13. package/lib/modules/ag-grid/apply-lookup-properties-defaults.d.ts +0 -5
  14. package/lib/modules/ag-grid/cell-editors/cell-editor-autocomplete/cell-editor-autocomplete.component.d.ts +0 -24
  15. package/lib/modules/ag-grid/cell-editors/cell-editor-currency/cell-editor-currency.component.d.ts +0 -43
  16. package/lib/modules/ag-grid/cell-editors/cell-editor-datepicker/cell-editor-datepicker.component.d.ts +0 -42
  17. package/lib/modules/ag-grid/cell-editors/cell-editor-lookup/cell-editor-lookup.component.d.ts +0 -29
  18. package/lib/modules/ag-grid/cell-editors/cell-editor-number/cell-editor-number.component.d.ts +0 -35
  19. package/lib/modules/ag-grid/cell-editors/cell-editor-text/cell-editor-text.component.d.ts +0 -33
  20. package/lib/modules/ag-grid/cell-renderers/cell-renderer-currency/cell-renderer-currency-validator.component.d.ts +0 -22
  21. package/lib/modules/ag-grid/cell-renderers/cell-renderer-currency/cell-renderer-currency.component.d.ts +0 -27
  22. package/lib/modules/ag-grid/cell-renderers/cell-renderer-lookup/cell-renderer-lookup.component.d.ts +0 -17
  23. package/lib/modules/ag-grid/cell-renderers/cell-renderer-row-selector/cell-renderer-row-selector.component.d.ts +0 -32
  24. package/lib/modules/ag-grid/cell-renderers/cell-renderer-template/cell-renderer-template-context.type.d.ts +0 -4
  25. package/lib/modules/ag-grid/cell-renderers/cell-renderer-template/cell-renderer-template.component.d.ts +0 -22
  26. package/lib/modules/ag-grid/cell-renderers/cell-renderer-validator-tooltip/cell-renderer-validator-tooltip.component.d.ts +0 -20
  27. package/lib/modules/ag-grid/cell-validator/ag-grid-cell-validator-tooltip.component.d.ts +0 -19
  28. package/lib/modules/ag-grid/header/header-group.component.d.ts +0 -22
  29. package/lib/modules/ag-grid/header/header.component.d.ts +0 -27
  30. package/lib/modules/ag-grid/icons/icon-map.d.ts +0 -5
  31. package/lib/modules/ag-grid/loading/loading.component.d.ts +0 -9
  32. package/lib/modules/ag-grid/types/ag-grid-row-delete-cancel-args.d.ts +0 -9
  33. package/lib/modules/ag-grid/types/ag-grid-row-delete-confirm-args.d.ts +0 -9
  34. package/lib/modules/ag-grid/types/autocomplete-properties.d.ts +0 -21
  35. package/lib/modules/ag-grid/types/cell-class.d.ts +0 -18
  36. package/lib/modules/ag-grid/types/cell-editor-autocomplete-params.d.ts +0 -5
  37. package/lib/modules/ag-grid/types/cell-editor-currency-params.d.ts +0 -8
  38. package/lib/modules/ag-grid/types/cell-editor-datepicker-params.d.ts +0 -5
  39. package/lib/modules/ag-grid/types/cell-editor-initial-action.d.ts +0 -11
  40. package/lib/modules/ag-grid/types/cell-editor-lookup-params.d.ts +0 -5
  41. package/lib/modules/ag-grid/types/cell-editor-number-params.d.ts +0 -8
  42. package/lib/modules/ag-grid/types/cell-editor-text-params.d.ts +0 -8
  43. package/lib/modules/ag-grid/types/cell-editor-utils.d.ts +0 -10
  44. package/lib/modules/ag-grid/types/cell-renderer-currency-params.d.ts +0 -9
  45. package/lib/modules/ag-grid/types/cell-renderer-lookup-params.d.ts +0 -8
  46. package/lib/modules/ag-grid/types/cell-renderer-validator-params.d.ts +0 -8
  47. package/lib/modules/ag-grid/types/cell-type.d.ts +0 -102
  48. package/lib/modules/ag-grid/types/currency-properties.d.ts +0 -5
  49. package/lib/modules/ag-grid/types/datepicker-properties.d.ts +0 -13
  50. package/lib/modules/ag-grid/types/header-class.d.ts +0 -7
  51. package/lib/modules/ag-grid/types/header-group-info.d.ts +0 -27
  52. package/lib/modules/ag-grid/types/header-group-params.d.ts +0 -14
  53. package/lib/modules/ag-grid/types/header-info.d.ts +0 -27
  54. package/lib/modules/ag-grid/types/header-params.d.ts +0 -20
  55. package/lib/modules/ag-grid/types/last-focused.cell.d.ts +0 -4
  56. package/lib/modules/ag-grid/types/lookup-properties.d.ts +0 -27
  57. package/lib/modules/ag-grid/types/number-properties.d.ts +0 -4
  58. package/lib/modules/ag-grid/types/sky-grid-options.d.ts +0 -16
  59. package/lib/modules/ag-grid/types/text-properties.d.ts +0 -3
  60. package/lib/modules/ag-grid/types/validator-properties.d.ts +0 -18
  61. package/lib/modules/shared/sky-ag-grid-resources.module.d.ts +0 -10
  62. package/lib/styles/ag-grid-theme.d.ts +0 -7
package/index.d.ts CHANGED
@@ -1,42 +1,937 @@
1
- export { SkyAgGridModule } from './lib/modules/ag-grid/ag-grid.module';
2
- export { SkyAgGridService } from './lib/modules/ag-grid/ag-grid.service';
3
- export { SkyAgGridRowDeleteCancelArgs } from './lib/modules/ag-grid/types/ag-grid-row-delete-cancel-args';
4
- export { SkyAgGridRowDeleteConfirmArgs } from './lib/modules/ag-grid/types/ag-grid-row-delete-confirm-args';
5
- export { SkyAgGridAutocompleteProperties, SkyAutocompleteProperties, } from './lib/modules/ag-grid/types/autocomplete-properties';
6
- export { SkyCellClass } from './lib/modules/ag-grid/types/cell-class';
7
- export { SkyCellEditorAutocompleteParams } from './lib/modules/ag-grid/types/cell-editor-autocomplete-params';
8
- export { SkyCellEditorDatepickerParams } from './lib/modules/ag-grid/types/cell-editor-datepicker-params';
9
- export { SkyAgGridCellEditorInitialAction } from './lib/modules/ag-grid/types/cell-editor-initial-action';
10
- export { SkyCellEditorLookupParams } from './lib/modules/ag-grid/types/cell-editor-lookup-params';
11
- export { SkyAgGridCellEditorUtils } from './lib/modules/ag-grid/types/cell-editor-utils';
12
- export { SkyCellType } from './lib/modules/ag-grid/types/cell-type';
13
- export { SkyAgGridCurrencyProperties } from './lib/modules/ag-grid/types/currency-properties';
14
- export { SkyAgGridDatepickerProperties, SkyDatepickerProperties, } from './lib/modules/ag-grid/types/datepicker-properties';
15
- export { SkyHeaderClass } from './lib/modules/ag-grid/types/header-class';
16
- export { SkyAgGridHeaderGroupInfo } from './lib/modules/ag-grid/types/header-group-info';
17
- export { SkyAgGridHeaderGroupParams } from './lib/modules/ag-grid/types/header-group-params';
18
- export { SkyAgGridHeaderInfo } from './lib/modules/ag-grid/types/header-info';
19
- export { SkyAgGridHeaderParams } from './lib/modules/ag-grid/types/header-params';
20
- export { SkyAgGridLookupProperties } from './lib/modules/ag-grid/types/lookup-properties';
21
- export { SkyAgGridNumberProperties } from './lib/modules/ag-grid/types/number-properties';
22
- export { SkyGetGridOptionsArgs } from './lib/modules/ag-grid/types/sky-grid-options';
23
- export { SkyAgGridTextProperties } from './lib/modules/ag-grid/types/text-properties';
24
- export { SkyAgGridValidatorProperties } from './lib/modules/ag-grid/types/validator-properties';
25
- export { SkyAgGridDataManagerAdapterDirective as λ14 } from './lib/modules/ag-grid/ag-grid-data-manager-adapter.directive';
26
- export { SkyAgGridRowDeleteComponent as λ6 } from './lib/modules/ag-grid/ag-grid-row-delete.component';
27
- export { SkyAgGridRowDeleteDirective as λ13 } from './lib/modules/ag-grid/ag-grid-row-delete.directive';
28
- export { SkyAgGridWrapperComponent as λ12 } from './lib/modules/ag-grid/ag-grid-wrapper.component';
29
- export { SkyAgGridCellEditorAutocompleteComponent as λ1 } from './lib/modules/ag-grid/cell-editors/cell-editor-autocomplete/cell-editor-autocomplete.component';
30
- export { SkyAgGridCellEditorCurrencyComponent as λ3 } from './lib/modules/ag-grid/cell-editors/cell-editor-currency/cell-editor-currency.component';
31
- export { SkyAgGridCellEditorDatepickerComponent as λ5 } from './lib/modules/ag-grid/cell-editors/cell-editor-datepicker/cell-editor-datepicker.component';
32
- export { SkyAgGridCellEditorLookupComponent as λ15 } from './lib/modules/ag-grid/cell-editors/cell-editor-lookup/cell-editor-lookup.component';
33
- export { SkyAgGridCellEditorNumberComponent as λ4 } from './lib/modules/ag-grid/cell-editors/cell-editor-number/cell-editor-number.component';
34
- export { SkyAgGridCellEditorTextComponent as λ2 } from './lib/modules/ag-grid/cell-editors/cell-editor-text/cell-editor-text.component';
35
- export { SkyAgGridCellRendererCurrencyValidatorComponent as λ8 } from './lib/modules/ag-grid/cell-renderers/cell-renderer-currency/cell-renderer-currency-validator.component';
36
- export { SkyAgGridCellRendererCurrencyComponent as λ9 } from './lib/modules/ag-grid/cell-renderers/cell-renderer-currency/cell-renderer-currency.component';
37
- export { SkyAgGridCellRendererLookupComponent as λ16 } from './lib/modules/ag-grid/cell-renderers/cell-renderer-lookup/cell-renderer-lookup.component';
38
- export { SkyAgGridCellRendererRowSelectorComponent as λ7 } from './lib/modules/ag-grid/cell-renderers/cell-renderer-row-selector/cell-renderer-row-selector.component';
39
- export { SkyAgGridCellRendererValidatorTooltipComponent as λ10 } from './lib/modules/ag-grid/cell-renderers/cell-renderer-validator-tooltip/cell-renderer-validator-tooltip.component';
40
- export { SkyAgGridCellValidatorTooltipComponent as λ11 } from './lib/modules/ag-grid/cell-validator/ag-grid-cell-validator-tooltip.component';
41
- export { SkyAgGridHeaderGroupComponent as λ18 } from './lib/modules/ag-grid/header/header-group.component';
42
- export { SkyAgGridHeaderComponent as λ17 } from './lib/modules/ag-grid/header/header.component';
1
+ import * as i0 from '@angular/core';
2
+ import { AfterContentInit, AfterViewInit, OnDestroy, OnInit, ElementRef, ChangeDetectorRef, TemplateRef, Type, Signal, WritableSignal } from '@angular/core';
3
+ import * as i1$1 from 'ag-grid-angular';
4
+ import { AgGridAngular, ICellEditorAngularComp, ICellRendererAngularComp, IHeaderGroupAngularComp, IHeaderAngularComp } from 'ag-grid-angular';
5
+ import * as i2 from '@angular/common';
6
+ import * as ag_grid_community from 'ag-grid-community';
7
+ import { GridOptions, ICellEditorParams, ColumnGroup, IHeaderGroupParams, Column, IHeaderParams, GridApi, PopupComponent, ICellRendererParams, IRowNode } from 'ag-grid-community';
8
+ import { SkyDataManagerService } from '@skyux/data-manager';
9
+ import { Observable, Subject, Subscription, BehaviorSubject } from 'rxjs';
10
+ import * as i1 from '@skyux/i18n';
11
+ import { SkyLibResourcesService } from '@skyux/i18n';
12
+ import { SkyThemeService } from '@skyux/theme';
13
+ import { SkyCoreAdapterService, NumericOptions, SkyNumericOptions } from '@skyux/core';
14
+ import { SkyAutocompleteSelectionChange, SkyLookupAddClickEventArgs, SkyAutocompleteSearchFunction, SkyAutocompleteSearchAsyncArgs, SkyAutocompleteSearchFunctionFilter, SkyLookupSelectModeType, SkyLookupShowMoreConfig } from '@skyux/lookup';
15
+ import { UntypedFormGroup, UntypedFormControl } from '@angular/forms';
16
+ import { SkyPopoverMessage } from '@skyux/popovers';
17
+
18
+ declare class SkyAgGridWrapperComponent implements AfterContentInit, AfterViewInit, OnDestroy, OnInit {
19
+ #private;
20
+ agGrid: AgGridAngular | undefined;
21
+ isNormalLayout: boolean;
22
+ /**
23
+ * Enable a compact layout for the grid when using modern theme. Compact layout uses
24
+ * a smaller font size and row height to display more data in a smaller space.
25
+ */
26
+ set compact(value: boolean);
27
+ /**
28
+ * The minimum height of the grid in pixels. The default value is `50`.
29
+ */
30
+ readonly minHeight: i0.InputSignalWithTransform<number, unknown>;
31
+ afterAnchorId: string;
32
+ beforeAnchorId: string;
33
+ gridId: string;
34
+ wrapperClasses$: Observable<string[]>;
35
+ get viewkeeperClasses(): string[];
36
+ set viewkeeperClasses(value: string[]);
37
+ protected readonly skyAgGridDiv: i0.Signal<ElementRef<HTMLElement> | undefined>;
38
+ constructor();
39
+ ngAfterContentInit(): void;
40
+ ngOnDestroy(): void;
41
+ ngOnInit(): void;
42
+ ngAfterViewInit(): void;
43
+ /**
44
+ * Prevent closing a modal when focused in AG Grid.
45
+ */
46
+ onKeyUpEscape($event: Event): void;
47
+ onGridKeydown(event: KeyboardEvent): void;
48
+ onAnchorFocus(event: FocusEvent): void;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridWrapperComponent, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridWrapperComponent, "sky-ag-grid-wrapper", never, { "compact": { "alias": "compact"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; }, {}, ["agGrid"], ["*"], true, never>;
51
+ static ngAcceptInputType_compact: unknown;
52
+ }
53
+
54
+ /**
55
+ * @internal
56
+ */
57
+ declare class SkyAgGridDataManagerAdapterDirective implements AfterContentInit, OnDestroy {
58
+ #private;
59
+ viewId: string | undefined;
60
+ readonly agGridList: i0.Signal<readonly AgGridAngular<any, ag_grid_community.ColDef<any, any>>[]>;
61
+ skyAgGridWrapperList: i0.Signal<readonly SkyAgGridWrapperComponent[]>;
62
+ constructor(changeDetector: ChangeDetectorRef, dataManagerSvc: SkyDataManagerService);
63
+ ngAfterContentInit(): void;
64
+ ngOnDestroy(): void;
65
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridDataManagerAdapterDirective, never>;
66
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SkyAgGridDataManagerAdapterDirective, "[skyAgGridDataManagerAdapter]", never, { "viewId": { "alias": "viewId"; "required": false; }; }, {}, ["agGridList", "skyAgGridWrapperList"], never, true, never>;
67
+ }
68
+
69
+ /**
70
+ * Import into any component library module that needs to use resource strings.
71
+ */
72
+ declare class SkyAgGridResourcesModule {
73
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridResourcesModule, never>;
74
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridResourcesModule, never, never, [typeof i1.SkyI18nModule]>;
75
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyAgGridResourcesModule>;
76
+ }
77
+
78
+ /**
79
+ * Information regarding a row whose deletion has been cancelled.
80
+ */
81
+ interface SkyAgGridRowDeleteCancelArgs {
82
+ /**
83
+ * The id of the data in the row whose deletion has been cancelled.
84
+ */
85
+ id: string;
86
+ }
87
+
88
+ /**
89
+ * Information regarding a row whose deletion has been confirmed.
90
+ */
91
+ interface SkyAgGridRowDeleteConfirmArgs {
92
+ /**
93
+ * The id of the data in the row whose deletion has been confirmed.
94
+ */
95
+ id: string;
96
+ }
97
+
98
+ declare class SkyAgGridRowDeleteDirective implements AfterContentInit, AfterViewInit, OnDestroy {
99
+ #private;
100
+ /**
101
+ * The IDs of the data in the rows where the inline delete appears.
102
+ */
103
+ readonly rowDeleteIds: i0.ModelSignal<string[]>;
104
+ /**
105
+ * Emits a `SkyAgGridRowDeleteCancelArgs` object when a row's inline delete is cancelled.
106
+ */
107
+ rowDeleteCancel: i0.OutputEmitterRef<SkyAgGridRowDeleteCancelArgs>;
108
+ /**
109
+ * Emits a `SkyAgGridRowDeleteConfirmArgs` object when a row's inline delete is confirmed.
110
+ */
111
+ rowDeleteConfirm: i0.OutputEmitterRef<SkyAgGridRowDeleteConfirmArgs>;
112
+ protected readonly agGrid: i0.Signal<AgGridAngular<any, any> | undefined>;
113
+ constructor();
114
+ ngAfterContentInit(): void;
115
+ ngAfterViewInit(): void;
116
+ ngOnDestroy(): void;
117
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridRowDeleteDirective, never>;
118
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SkyAgGridRowDeleteDirective, "[skyAgGridRowDelete]", never, { "rowDeleteIds": { "alias": "rowDeleteIds"; "required": false; "isSignal": true; }; }, { "rowDeleteIds": "rowDeleteIdsChange"; "rowDeleteCancel": "rowDeleteCancel"; "rowDeleteConfirm": "rowDeleteConfirm"; }, ["agGrid"], never, true, never>;
119
+ }
120
+
121
+ declare class SkyAgGridModule {
122
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridModule, never>;
123
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAgGridModule, never, [typeof i1$1.AgGridAngular, typeof i2.CommonModule, typeof SkyAgGridDataManagerAdapterDirective, typeof SkyAgGridResourcesModule, typeof SkyAgGridRowDeleteDirective, typeof SkyAgGridWrapperComponent], [typeof SkyAgGridDataManagerAdapterDirective, typeof SkyAgGridRowDeleteDirective, typeof SkyAgGridWrapperComponent]>;
124
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyAgGridModule>;
125
+ }
126
+
127
+ /**
128
+ * @internal
129
+ */
130
+ declare class SkyAgGridAdapterService {
131
+ #private;
132
+ constructor(skyAdapterService: SkyCoreAdapterService);
133
+ getElementOrParentWithClass(element: HTMLElement, className: string): HTMLElement | undefined;
134
+ setFocusedElementById(parentEl: HTMLElement, selector: string): void;
135
+ getFocusedElement(): HTMLElement;
136
+ getNextFocusableElement(currentEl: HTMLElement, parentEl?: HTMLElement, moveFocusLeft?: boolean): HTMLElement | undefined;
137
+ focusOnFocusableChildren(element: HTMLElement): void;
138
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridAdapterService, never>;
139
+ static ɵprov: i0.ɵɵInjectableDeclaration<SkyAgGridAdapterService>;
140
+ }
141
+
142
+ interface SkyGetGridOptionsArgs {
143
+ /**
144
+ * 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.
145
+ */
146
+ gridOptions: GridOptions;
147
+ /**
148
+ * The locale for location-specific formatting, such as date values for the `SkyCellType.Date` column.
149
+ */
150
+ locale?: string;
151
+ /**
152
+ * The format to use for formatting date strings in the `SkyCellType.Date` column.
153
+ * @default "shortDate"
154
+ */
155
+ dateFormat?: string;
156
+ }
157
+
158
+ /**
159
+ * `SkyAgGridService` provides methods to get AG Grid `gridOptions` to ensure grids match SKY UX functionality. The `gridOptions` can be overridden, and include registered SKY UX column types.
160
+ */
161
+ declare class SkyAgGridService implements OnDestroy {
162
+ #private;
163
+ constructor(agGridAdapterService: SkyAgGridAdapterService, themeSvc?: SkyThemeService, resources?: SkyLibResourcesService);
164
+ ngOnDestroy(): void;
165
+ /**
166
+ * Returns [AG Grid `gridOptions`](https://www.ag-grid.com/javascript-grid-properties/) with default SKY UX options, styling, and cell renderers registered for read-only grids.
167
+ * @param args
168
+ * @returns
169
+ */
170
+ getGridOptions(args: SkyGetGridOptionsArgs): GridOptions;
171
+ /**
172
+ * Returns [AG Grid `gridOptions`](https://www.ag-grid.com/javascript-grid-properties/) with default SKY UX options, styling, and cell editors registered for editable grids.
173
+ * @param args
174
+ * @returns
175
+ */
176
+ getEditableGridOptions(args: SkyGetGridOptionsArgs): GridOptions;
177
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridService, [null, { optional: true; }, { optional: true; }]>;
178
+ static ɵprov: i0.ɵɵInjectableDeclaration<SkyAgGridService>;
179
+ }
180
+
181
+ interface SkyAgGridAutocompleteProperties {
182
+ allowAnyValue?: boolean;
183
+ data?: unknown[];
184
+ debounceTime?: number;
185
+ descriptorProperty?: string;
186
+ highlightSearchText?: boolean;
187
+ propertiesToSearch?: string[];
188
+ search?: (searchText: string, data?: unknown[]) => unknown[] | Promise<unknown[]>;
189
+ searchFilters?: ((searchText: string, item: unknown) => boolean)[];
190
+ searchResultsLimit?: number;
191
+ searchResultTemplate?: TemplateRef<unknown>;
192
+ searchTextMinimumCharacters?: number;
193
+ selectionChange?: (event: SkyAutocompleteSelectionChange) => void;
194
+ }
195
+ /**
196
+ * @deprecated Use SkyAgGridAutocompleteProperties instead.
197
+ */
198
+ interface SkyAutocompleteProperties extends SkyAgGridAutocompleteProperties {
199
+ }
200
+
201
+ /**
202
+ * @internal
203
+ */
204
+ declare enum SkyCellClass {
205
+ Autocomplete = "sky-ag-grid-cell-autocomplete",
206
+ Currency = "sky-ag-grid-cell-currency",
207
+ Date = "sky-ag-grid-cell-date",
208
+ Editable = "sky-ag-grid-cell-editable",
209
+ Invalid = "sky-ag-grid-cell-invalid",
210
+ Lookup = "sky-ag-grid-cell-lookup",
211
+ Number = "sky-ag-grid-cell-number",
212
+ RightAligned = "sky-ag-grid-cell-right-aligned",
213
+ RowSelector = "sky-ag-grid-cell-row-selector",
214
+ Template = "sky-ag-grid-cell-template",
215
+ Text = "sky-ag-grid-cell-text",
216
+ Uneditable = "sky-ag-grid-cell-uneditable",
217
+ Validator = "sky-ag-grid-cell-validator"
218
+ }
219
+
220
+ interface SkyCellEditorAutocompleteParams extends ICellEditorParams {
221
+ skyComponentProperties?: SkyAutocompleteProperties | SkyAgGridAutocompleteProperties;
222
+ }
223
+
224
+ interface SkyAgGridDatepickerProperties {
225
+ dateFormat?: string;
226
+ disabled?: boolean;
227
+ maxDate?: Date;
228
+ minDate?: Date;
229
+ skyDatepickerNoValidate?: boolean;
230
+ startingDay?: number;
231
+ }
232
+ /**
233
+ * @deprecated Use SkyAgGridDatepickerProperties instead.
234
+ */
235
+ interface SkyDatepickerProperties extends SkyAgGridDatepickerProperties {
236
+ }
237
+
238
+ interface SkyCellEditorDatepickerParams extends ICellEditorParams {
239
+ skyComponentProperties?: SkyDatepickerProperties | SkyAgGridDatepickerProperties;
240
+ }
241
+
242
+ /** The initial action that a cell editor should take when initialized. */
243
+ declare enum SkyAgGridCellEditorInitialAction {
244
+ /** The cell should be cleared. */
245
+ Delete = 0,
246
+ /** The cell value should be highlighted. */
247
+ Highlighted = 1,
248
+ /** The cell value should be replaced with the initializing value. */
249
+ Replace = 2,
250
+ /** The cell should not be modified and the cursor is placed at the end of the value. */
251
+ Untouched = 3
252
+ }
253
+
254
+ interface SkyAgGridLookupProperties {
255
+ addClick?: (args: SkyLookupAddClickEventArgs) => void;
256
+ ariaLabel?: string;
257
+ ariaLabelledBy?: string;
258
+ /** @deprecated */
259
+ autocompleteAttribute?: string;
260
+ data?: unknown[];
261
+ debounceTime?: number;
262
+ descriptorProperty?: string;
263
+ disabled?: boolean;
264
+ enableShowMore?: boolean;
265
+ idProperty?: string;
266
+ placeholderText?: string;
267
+ propertiesToSearch?: string[];
268
+ search?: SkyAutocompleteSearchFunction;
269
+ searchAsync?: (args: SkyAutocompleteSearchAsyncArgs) => void;
270
+ searchFilters?: SkyAutocompleteSearchFunctionFilter[];
271
+ searchResultsLimit?: number;
272
+ searchResultTemplate?: TemplateRef<unknown>;
273
+ searchTextMinimumCharacters?: number;
274
+ selectMode?: SkyLookupSelectModeType;
275
+ showAddButton?: boolean;
276
+ showMoreConfig?: SkyLookupShowMoreConfig;
277
+ wrapperClass?: string;
278
+ }
279
+
280
+ interface SkyCellEditorLookupParams extends ICellEditorParams {
281
+ skyComponentProperties?: SkyAgGridLookupProperties;
282
+ }
283
+
284
+ declare class SkyAgGridCellEditorUtils {
285
+ /**
286
+ * Gets the initial action that a cell editor should take when initialized.
287
+ * @param params The editor's initializing parameters.
288
+ */
289
+ static getEditorInitialAction(params: ICellEditorParams | undefined): SkyAgGridCellEditorInitialAction;
290
+ static subtractOrZero(minuend: number | null | undefined, subtrahend: number): number;
291
+ }
292
+
293
+ /**
294
+ * 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.
295
+ * 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).
296
+ */
297
+ declare enum SkyCellType {
298
+ /**
299
+ * **Edit mode**
300
+ *
301
+ * 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.
302
+ *
303
+ * **Read-only mode**
304
+ *
305
+ * 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.
306
+ */
307
+ Autocomplete = "skyCellAutocomplete",
308
+ /**
309
+ * **Edit mode**
310
+ *
311
+ * Cells in the column will be edited as a currency amount.
312
+ *
313
+ * **Read-only mode**
314
+ *
315
+ * Formats the display as currency using [SKY UX numeric components](https://developer.blackbaud.com/skyux/components/numeric).
316
+ */
317
+ Currency = "skyCellCurrency",
318
+ /**
319
+ * **Edit and read-only modes**
320
+ *
321
+ * Combines SkyCellType.Currency and SkyCellType.Validator, where the value is displayed as a currency and passed to a validator function.
322
+ */
323
+ CurrencyValidator = "skyCellCurrencyValidator",
324
+ /**
325
+ * **Edit mode**
326
+ *
327
+ * 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.
328
+ *
329
+ * **Read-only mode**
330
+ *
331
+ * 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.
332
+ */
333
+ Date = "skyCellDate",
334
+ /**
335
+ * **Edit mode**
336
+ *
337
+ * 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.
338
+ *
339
+ * **Read-only mode**
340
+ *
341
+ * 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.
342
+ */
343
+ Lookup = "skyCellLookup",
344
+ /**
345
+ * **Edit mode**
346
+ *
347
+ * Cells in the column will be edited as HTML number `inputs`. Only numbers can be entered.
348
+ *
349
+ * **Read-only mode**
350
+ *
351
+ * Cells in the column will render as the number value.
352
+ */
353
+ Number = "skyCellNumber",
354
+ /**
355
+ * **Edit and read-only modes**
356
+ *
357
+ * Combines SkyCellType.Number and SkyCellType.Validator, where the value is displayed as a number and passed to a validator function.
358
+ */
359
+ NumberValidator = "skyCellNumberValidator",
360
+ /**
361
+ * **Edit and read-only modes**
362
+ *
363
+ * The header and cells in the column will render right aligned.
364
+ */
365
+ RightAligned = "skyCellRightAligned",
366
+ /**
367
+ * **Edit and read-only modes**
368
+ *
369
+ * 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.
370
+ */
371
+ RowSelector = "skyCellRowSelector",
372
+ /**
373
+ * **Read-only mode**
374
+ *
375
+ * Cells in the column will render in a `TemplateRef` passed in the column definition's `cellRendererParams.template` property, with `value` and `row` context. See the demo for an example.
376
+ */
377
+ Template = "skyCellTemplate",
378
+ /**
379
+ * **Edit mode**
380
+ *
381
+ * Cells in the column will be edited as HTML text `inputs`. Any characters can be entered.
382
+ *
383
+ * **Read-only mode**
384
+ *
385
+ * Cells in the column will render as their string value.
386
+ */
387
+ Text = "skyCellText",
388
+ /**
389
+ * **Edit and read-only modes**
390
+ *
391
+ * 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 a `SkyAgGridValidatorProperties` object as `skyComponentProperties` to [column definition's `cellRendererParams` property](https://www.ag-grid.com/angular-data-grid/column-properties/#reference-editing), like `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).
392
+ */
393
+ Validator = "skyCellValidator"
394
+ }
395
+
396
+ interface SkyAgGridCurrencyProperties {
397
+ currencySymbol?: string;
398
+ decimalPlaces?: number | string;
399
+ negativeBracketsTypeOnBlur?: '(,)' | '[,]' | '<,>' | '{,}' | '〈,〉' | '「,」' | '⸤,⸥' | '⟦,⟧' | '‹,›' | '«,»' | null;
400
+ }
401
+
402
+ /**
403
+ * @internal
404
+ */
405
+ declare enum SkyHeaderClass {
406
+ Resizable = "sky-ag-grid-header-resizable",
407
+ RightAligned = "sky-ag-grid-header-right-aligned"
408
+ }
409
+
410
+ /**
411
+ * To display a help button beside the column group header, create a component containing
412
+ * [`sky-help-inline`](https://developer.blackbaud.com/skyux/components/help-inline),
413
+ * and inject SkyAgGridHeaderGroupInfo to access the column group
414
+ * information, such as display name.
415
+ * Add the component to the `headerGroupComponentParams.inlineHelpComponent`
416
+ * property of the [column group definition](https://www.ag-grid.com/angular-data-grid/column-groups/).
417
+ * @see SkyAgGridHeaderGroupParams
418
+ */
419
+ declare class SkyAgGridHeaderGroupInfo {
420
+ /**
421
+ * [Column group information from AG Grid](https://www.ag-grid.com/angular-data-grid/column-object-group/).
422
+ */
423
+ columnGroup: ColumnGroup | undefined;
424
+ /**
425
+ * Display name of the column group.
426
+ */
427
+ displayName: string | undefined;
428
+ /**
429
+ * AG Grid's [`context` field](https://www.ag-grid.com/angular-data-grid/context/).
430
+ */
431
+ context: any;
432
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridHeaderGroupInfo, never>;
433
+ static ɵprov: i0.ɵɵInjectableDeclaration<SkyAgGridHeaderGroupInfo>;
434
+ }
435
+
436
+ /**
437
+ * Interface to use for the
438
+ * [`headerGroupComponentParams`](https://www.ag-grid.com/angular-data-grid/column-properties/#reference-groupsHeader-headerGroupComponentParams)
439
+ * property on `ColGroupDef`.
440
+ */
441
+ interface SkyAgGridHeaderGroupParams extends IHeaderGroupParams {
442
+ /**
443
+ * The component to display as inline help beside the column group header.
444
+ * @see SkyAgGridHeaderGroupInfo
445
+ */
446
+ inlineHelpComponent?: Type<unknown>;
447
+ }
448
+
449
+ /**
450
+ * To display a help button beside the column header, create a component containing
451
+ * [`sky-help-inline`](https://developer.blackbaud.com/skyux/components/help-inline),
452
+ * and inject SkyAgGridHeaderInfo to access the column information, such
453
+ * as display name.
454
+ * Add the component to the `headerComponentParams.inlineHelpComponent`
455
+ * property of the [column definition](https://www.ag-grid.com/angular-data-grid/column-definitions/).
456
+ * @see SkyAgGridHeaderParams
457
+ */
458
+ declare class SkyAgGridHeaderInfo {
459
+ /**
460
+ * [Column information from AG Grid](https://www.ag-grid.com/angular-data-grid/column-object/).
461
+ */
462
+ column: Column | undefined;
463
+ /**
464
+ * Display name of the column.
465
+ */
466
+ displayName: string | undefined;
467
+ /**
468
+ * AG Grid's [`context` field](https://www.ag-grid.com/angular-data-grid/context/).
469
+ */
470
+ context: any;
471
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridHeaderInfo, never>;
472
+ static ɵprov: i0.ɵɵInjectableDeclaration<SkyAgGridHeaderInfo>;
473
+ }
474
+
475
+ /**
476
+ * Interface to use for the
477
+ * [`headerComponentParams`](https://www.ag-grid.com/angular-data-grid/column-properties/#reference-header-headerComponentParams)
478
+ * property on `ColDef`.
479
+ */
480
+ interface SkyAgGridHeaderParams extends IHeaderParams {
481
+ /**
482
+ * Hides the column header text.
483
+ * Each column should have a `headerName` defined in the column definition for accessibility.
484
+ * This option allows that text to be hidden from view while still being available to screen readers.
485
+ */
486
+ headerHidden?: boolean;
487
+ /**
488
+ * The component to display as inline help beside the column header.
489
+ * @see SkyAgGridHeaderInfo
490
+ */
491
+ inlineHelpComponent?: Type<unknown>;
492
+ }
493
+
494
+ interface SkyAgGridNumberProperties {
495
+ max?: number;
496
+ min?: number;
497
+ }
498
+
499
+ interface SkyAgGridTextProperties {
500
+ maxlength?: number;
501
+ }
502
+
503
+ interface SkyAgGridValidatorProperties {
504
+ /**
505
+ * An optional function that returns an observable that emits a string. Can be used with resources to localize the
506
+ * value displayed in the cell.
507
+ */
508
+ valueResourceObservable?: (value: unknown, data?: unknown, rowIndex?: number | null) => Observable<string>;
509
+ /**
510
+ * A function that returns true if the value is valid, or false if it is not. Invalid values
511
+ * will be highlighted and display a validation message.
512
+ */
513
+ validator?: (value: unknown, data?: unknown, rowIndex?: number | null) => boolean;
514
+ /**
515
+ * Either a string or a function that returns a string. The message to display when the value is
516
+ * invalid.
517
+ */
518
+ validatorMessage?: string | ((value: unknown, data?: unknown, rowIndex?: number | null) => string);
519
+ }
520
+
521
+ /**
522
+ * Used to provide dependencies to the `SkyAgGridRowDeleteComponent` overlay.
523
+ * @internal
524
+ */
525
+ declare class SkyAgGridRowDeleteContext {
526
+ readonly rows: Signal<string[]>;
527
+ readonly gridElement: Signal<ElementRef<HTMLElement>[] | undefined>;
528
+ readonly gridApi: WritableSignal<GridApi | undefined>;
529
+ readonly cancelRowDelete: Subject<string>;
530
+ readonly confirmRowDelete: Subject<string>;
531
+ readonly subscription: Subscription;
532
+ constructor(rows: Signal<string[]>, gridElement: Signal<ElementRef<HTMLElement>[] | undefined>, gridApi: WritableSignal<GridApi | undefined>);
533
+ }
534
+
535
+ /**
536
+ * Component for rendering the inline delete template in the overlay.
537
+ * @internal
538
+ */
539
+ declare class SkyAgGridRowDeleteComponent {
540
+ #private;
541
+ readonly service: SkyAgGridRowDeleteContext;
542
+ protected tableWidthStyle: i0.Signal<string>;
543
+ protected rowsWithElements: i0.Signal<{
544
+ rowId: string;
545
+ increment: string;
546
+ element: HTMLElement | null;
547
+ }[]>;
548
+ protected readonly pending: i0.WritableSignal<string[]>;
549
+ protected readonly tableWidth: i0.WritableSignal<number>;
550
+ protected readonly gridChanges: i0.Signal<number>;
551
+ constructor();
552
+ protected cancelDelete(rowId: string): void;
553
+ protected confirmDelete(rowId: string): void;
554
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridRowDeleteComponent, never>;
555
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridRowDeleteComponent, "sky-ag-grid-row-delete", never, {}, {}, never, never, true, never>;
556
+ }
557
+
558
+ /**
559
+ * @internal
560
+ */
561
+ declare class SkyAgGridCellEditorAutocompleteComponent implements ICellEditorAngularComp {
562
+ #private;
563
+ columnHeader: string | undefined;
564
+ editorForm: UntypedFormGroup;
565
+ rowNumber: number | undefined;
566
+ skyComponentProperties: SkyAgGridAutocompleteProperties;
567
+ input: ElementRef | undefined;
568
+ onBlur(event: FocusEvent): void;
569
+ agInit(params: SkyCellEditorAutocompleteParams): void;
570
+ afterGuiAttached(): void;
571
+ getValue(): any | undefined;
572
+ onAutocompleteOpenChange($event: boolean): void;
573
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellEditorAutocompleteComponent, never>;
574
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridCellEditorAutocompleteComponent, "sky-ag-grid-cell-editor-autocomplete", never, {}, {}, never, never, true, never>;
575
+ }
576
+
577
+ /**
578
+ * @internal
579
+ */
580
+ interface SkyCellEditorCurrencyParams extends ICellEditorParams {
581
+ skyComponentProperties?: SkyAgGridCurrencyProperties;
582
+ }
583
+
584
+ /**
585
+ * @internal
586
+ */
587
+ declare class SkyAgGridCellEditorCurrencyComponent implements ICellEditorAngularComp {
588
+ #private;
589
+ skyComponentProperties: SkyAgGridCurrencyProperties & {
590
+ isCancellable: boolean;
591
+ };
592
+ columnHeader: string | undefined;
593
+ currency: UntypedFormControl;
594
+ editorForm: UntypedFormGroup;
595
+ params: SkyCellEditorCurrencyParams | undefined;
596
+ rowNumber: number | undefined;
597
+ input: ElementRef | undefined;
598
+ onFocusOut(event: FocusEvent): void;
599
+ /**
600
+ * agInit is called by agGrid once after the editor is created and provides the editor with the information it needs.
601
+ * @param params The cell editor params that include data about the cell, column, row, and grid.
602
+ */
603
+ agInit(params: SkyCellEditorCurrencyParams): void;
604
+ refresh(params: SkyCellEditorCurrencyParams): void;
605
+ /**
606
+ * 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.
607
+ */
608
+ afterGuiAttached(): void;
609
+ /**
610
+ * getValue is called by agGrid when editing is stopped to get the new value of the cell.
611
+ */
612
+ getValue(): number | undefined;
613
+ /**
614
+ * The autoNumeric library's event handler suppresses the escape key event. This additional handler re-enables AG Grid's default functionality.
615
+ */
616
+ onPressEscape(): void;
617
+ onPressEnter(): void;
618
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellEditorCurrencyComponent, never>;
619
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridCellEditorCurrencyComponent, "sky-ag-grid-cell-editor-currency", never, {}, {}, never, never, true, never>;
620
+ }
621
+
622
+ /**
623
+ * @internal
624
+ */
625
+ declare class SkyAgGridCellEditorDatepickerComponent extends PopupComponent implements ICellEditorAngularComp {
626
+ #private;
627
+ columnHeader: string | undefined;
628
+ columnWidth: number | undefined;
629
+ columnWidthWithoutBorders: number | undefined;
630
+ editorForm: UntypedFormGroup;
631
+ rowHeightWithoutBorders: number | null | undefined;
632
+ rowNumber: number | undefined;
633
+ skyComponentProperties: SkyAgGridDatepickerProperties;
634
+ datepickerInput: ElementRef | undefined;
635
+ protected resolvedDateFormat: string;
636
+ constructor();
637
+ onFocusOut(event: FocusEvent): void;
638
+ onCalendarOpenChange(isOpen: boolean): void;
639
+ onDateFormatChange(dateFormat: string): void;
640
+ /**
641
+ * agInit is called by agGrid once after the editor is created and provides the editor with the information it needs.
642
+ * @param params The cell editor params that include data about the cell, column, row, and grid.
643
+ */
644
+ agInit(params: SkyCellEditorDatepickerParams): void;
645
+ getPopupPosition(): 'over' | 'under' | undefined;
646
+ /**
647
+ * 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.
648
+ */
649
+ afterGuiAttached(): void;
650
+ /**
651
+ * getValue is called by agGrid when editing is stopped to get the new value of the cell.
652
+ */
653
+ getValue(): Date;
654
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellEditorDatepickerComponent, never>;
655
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridCellEditorDatepickerComponent, "sky-ag-grid-cell-editor-datepicker", never, {}, {}, never, never, true, never>;
656
+ }
657
+
658
+ /**
659
+ * @internal
660
+ */
661
+ declare class SkyAgGridCellEditorLookupComponent implements ICellEditorAngularComp {
662
+ #private;
663
+ width: number | undefined;
664
+ skyComponentProperties?: SkyAgGridLookupProperties;
665
+ isAlive: boolean;
666
+ editorForm: UntypedFormGroup;
667
+ useAsyncSearch: boolean;
668
+ protected labelText: string | undefined;
669
+ onBlur(event: FocusEvent): void;
670
+ agInit(params: SkyCellEditorLookupParams): void;
671
+ isCancelAfterEnd(): boolean;
672
+ getGui(): HTMLElement;
673
+ getValue(): any[];
674
+ isPopup(): boolean;
675
+ getPopupPosition(): 'over' | 'under' | undefined;
676
+ afterGuiAttached(): void;
677
+ onLookupOpenChange(isOpen: boolean): void;
678
+ onSelectionModalOpenChange(isOpen: boolean): void;
679
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellEditorLookupComponent, never>;
680
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridCellEditorLookupComponent, "sky-ag-grid-cell-editor-lookup", never, {}, {}, never, never, true, never>;
681
+ }
682
+
683
+ /**
684
+ * @internal
685
+ */
686
+ interface SkyCellEditorNumberParams extends ICellEditorParams {
687
+ skyComponentProperties?: SkyAgGridNumberProperties;
688
+ }
689
+
690
+ /**
691
+ * @internal
692
+ */
693
+ declare class SkyAgGridCellEditorNumberComponent implements ICellEditorAngularComp {
694
+ #private;
695
+ columnHeader: string | undefined;
696
+ columnWidth: number | undefined;
697
+ editorForm: UntypedFormGroup;
698
+ rowHeightWithoutBorders: number | undefined;
699
+ rowNumber: number | undefined;
700
+ max: number | undefined;
701
+ min: number | undefined;
702
+ input: ElementRef | undefined;
703
+ onFocusOut(event: FocusEvent): void;
704
+ /**
705
+ * agInit is called by agGrid once after the editor is created and provides the editor with the information it needs.
706
+ * @param params The cell editor params that include data about the cell, column, row, and grid.
707
+ */
708
+ agInit(params: SkyCellEditorNumberParams): void;
709
+ /**
710
+ * 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.
711
+ */
712
+ afterGuiAttached(): void;
713
+ /**
714
+ * getValue is called by agGrid when editing is stopped to get the new value of the cell.
715
+ */
716
+ getValue(): number | undefined;
717
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellEditorNumberComponent, never>;
718
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridCellEditorNumberComponent, "sky-ag-grid-cell-editor-number", never, {}, {}, never, never, true, never>;
719
+ }
720
+
721
+ /**
722
+ * @internal
723
+ */
724
+ interface SkyCellEditorTextParams extends ICellEditorParams {
725
+ skyComponentProperties?: SkyAgGridTextProperties;
726
+ }
727
+
728
+ /**
729
+ * @internal
730
+ */
731
+ declare class SkyAgGridCellEditorTextComponent implements ICellEditorAngularComp {
732
+ #private;
733
+ textInputLabel: string | undefined;
734
+ columnHeader: string | undefined;
735
+ editorForm: UntypedFormGroup;
736
+ rowNumber: number | undefined;
737
+ maxlength: number | undefined;
738
+ input: ElementRef | undefined;
739
+ onFocusOut(event: FocusEvent): void;
740
+ /**
741
+ * agInit is called by agGrid once after the editor is created and provides the editor with the information it needs.
742
+ * @param params The cell editor params that include data about the cell, column, row, and grid.
743
+ */
744
+ agInit(params: SkyCellEditorTextParams): void;
745
+ /**
746
+ * 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.
747
+ */
748
+ afterGuiAttached(): void;
749
+ /**
750
+ * getValue is called by agGrid when editing is stopped to get the new value of the cell.
751
+ */
752
+ getValue(): string | undefined;
753
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellEditorTextComponent, never>;
754
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridCellEditorTextComponent, "sky-ag-grid-cell-editor-text", never, {}, {}, never, never, true, never>;
755
+ }
756
+
757
+ /**
758
+ * @internal
759
+ */
760
+ interface SkyCellRendererCurrencyParams extends ICellRendererParams {
761
+ skyComponentProperties?: NumericOptions & SkyAgGridValidatorProperties;
762
+ }
763
+
764
+ /**
765
+ * @internal
766
+ */
767
+ declare class SkyAgGridCellRendererCurrencyValidatorComponent implements ICellRendererAngularComp {
768
+ #private;
769
+ set parameters(value: SkyCellRendererCurrencyParams);
770
+ protected cellRendererParams: SkyCellRendererCurrencyParams | undefined;
771
+ constructor(changeDetector: ChangeDetectorRef);
772
+ /**
773
+ * agInit is called by agGrid once after the renderer is created and provides the renderer with the information it needs.
774
+ * @param params The cell renderer params that include data about the cell, column, row, and grid.
775
+ */
776
+ agInit(params: SkyCellRendererCurrencyParams): void;
777
+ isNumeric(value: any): boolean;
778
+ refresh(params: SkyCellRendererCurrencyParams): boolean;
779
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellRendererCurrencyValidatorComponent, never>;
780
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridCellRendererCurrencyValidatorComponent, "sky-ag-grid-cell-renderer-currency-validator", never, { "parameters": { "alias": "parameters"; "required": false; }; }, {}, never, never, true, never>;
781
+ }
782
+
783
+ /**
784
+ * @internal
785
+ */
786
+ declare class SkyAgGridCellRendererCurrencyComponent implements ICellRendererAngularComp {
787
+ #private;
788
+ set params(value: SkyCellRendererCurrencyParams);
789
+ columnWidth: number | undefined;
790
+ rowHeightWithoutBorders: number | undefined;
791
+ skyComponentProperties: SkyNumericOptions & SkyAgGridValidatorProperties;
792
+ numericOptions: SkyNumericOptions;
793
+ value: number | undefined;
794
+ /**
795
+ * agInit is called by AG Grid once after the renderer is created and provides the renderer with the information it needs.
796
+ */
797
+ agInit(params: SkyCellRendererCurrencyParams): void;
798
+ /**
799
+ * refresh is called by AG Grid to update the cell without destroying and recreating the component.
800
+ */
801
+ refresh(params: SkyCellRendererCurrencyParams): boolean;
802
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellRendererCurrencyComponent, never>;
803
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridCellRendererCurrencyComponent, "sky-ag-grid-cell-renderer-currency", never, { "params": { "alias": "params"; "required": false; }; }, {}, never, never, true, never>;
804
+ }
805
+
806
+ /**
807
+ * @internal
808
+ */
809
+ interface SkyCellRendererLookupParams extends ICellRendererParams {
810
+ skyComponentProperties?: SkyAgGridLookupProperties;
811
+ }
812
+
813
+ /**
814
+ * @internal
815
+ */
816
+ declare class SkyAgGridCellRendererLookupComponent implements ICellRendererAngularComp {
817
+ #private;
818
+ protected value: string;
819
+ protected summaryCount: number;
820
+ constructor(changeDetector: ChangeDetectorRef);
821
+ agInit(params: SkyCellRendererLookupParams): void;
822
+ refresh(params: SkyCellRendererLookupParams): boolean;
823
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellRendererLookupComponent, never>;
824
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridCellRendererLookupComponent, "sky-cell-renderer-lookup", never, {}, {}, never, never, true, never>;
825
+ }
826
+
827
+ /**
828
+ * @internal
829
+ */
830
+ declare class SkyAgGridCellRendererRowSelectorComponent implements ICellRendererAngularComp, OnDestroy {
831
+ #private;
832
+ dataField: string | undefined;
833
+ rowNode: IRowNode | undefined;
834
+ rowNumber: number | undefined;
835
+ protected checked: BehaviorSubject<boolean>;
836
+ protected readonly disabled: BehaviorSubject<boolean>;
837
+ protected readonly label: BehaviorSubject<string>;
838
+ constructor();
839
+ ngOnDestroy(): void;
840
+ /**
841
+ * agInit is called by agGrid once after the cell is created and provides the renderer with the information it needs.
842
+ * @param params The cell renderer params that include data about the cell, column, row, and grid.
843
+ */
844
+ agInit(params: ICellRendererParams): void;
845
+ /**
846
+ * Used by agGrid to update cell value after a user triggers a refresh.
847
+ * Returning true tells agGrid that the refresh was successful.
848
+ */
849
+ refresh(params: ICellRendererParams): boolean;
850
+ updateRow(rowChecked: boolean): void;
851
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellRendererRowSelectorComponent, never>;
852
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridCellRendererRowSelectorComponent, "sky-ag-grid-cell-renderer-row-selector", never, {}, {}, never, never, true, never>;
853
+ }
854
+
855
+ /**
856
+ * @internal
857
+ */
858
+ interface SkyCellRendererValidatorParams extends ICellRendererParams {
859
+ skyComponentProperties?: SkyAgGridValidatorProperties;
860
+ }
861
+
862
+ /**
863
+ * @internal
864
+ */
865
+ declare class SkyAgGridCellRendererValidatorTooltipComponent implements ICellRendererAngularComp, OnDestroy {
866
+ #private;
867
+ set params(value: SkyCellRendererValidatorParams);
868
+ cellRendererParams: SkyCellRendererValidatorParams | undefined;
869
+ value: unknown;
870
+ protected valueObservable: BehaviorSubject<string>;
871
+ ngOnDestroy(): void;
872
+ agInit(params: SkyCellRendererValidatorParams): void;
873
+ refresh(params: SkyCellRendererValidatorParams): boolean;
874
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellRendererValidatorTooltipComponent, never>;
875
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridCellRendererValidatorTooltipComponent, "sky-ag-grid-cell-renderer-validator-tooltip", never, { "params": { "alias": "params"; "required": false; }; }, {}, never, never, true, never>;
876
+ }
877
+
878
+ /**
879
+ * @internal
880
+ */
881
+ declare class SkyAgGridCellValidatorTooltipComponent implements OnDestroy {
882
+ #private;
883
+ set params(value: SkyCellRendererValidatorParams | undefined);
884
+ popoverMessageStream: Subject<SkyPopoverMessage>;
885
+ validatorMessage: string | undefined;
886
+ cellRendererParams: SkyCellRendererValidatorParams | undefined;
887
+ protected readonly showValidatorMessage: i0.WritableSignal<boolean>;
888
+ ngOnDestroy(): void;
889
+ hidePopover(): void;
890
+ showPopover(): void;
891
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridCellValidatorTooltipComponent, never>;
892
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridCellValidatorTooltipComponent, "sky-ag-grid-cell-validator-tooltip", never, { "params": { "alias": "params"; "required": false; }; }, {}, never, ["*"], true, never>;
893
+ }
894
+
895
+ /**
896
+ * @internal
897
+ */
898
+ declare class SkyAgGridHeaderGroupComponent implements IHeaderGroupAngularComp, OnDestroy, AfterViewInit {
899
+ #private;
900
+ inlineHelpContainer: ElementRef | undefined;
901
+ protected params: SkyAgGridHeaderGroupParams | undefined;
902
+ protected isExpandable$: Observable<boolean>;
903
+ protected isExpanded$: Observable<boolean>;
904
+ constructor();
905
+ ngAfterViewInit(): void;
906
+ ngOnDestroy(): void;
907
+ agInit(params: SkyAgGridHeaderGroupParams | undefined): void;
908
+ setExpanded($event: boolean): void;
909
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridHeaderGroupComponent, never>;
910
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridHeaderGroupComponent, "sky-header-group", never, {}, {}, never, never, true, never>;
911
+ }
912
+
913
+ /**
914
+ * @internal
915
+ */
916
+ declare class SkyAgGridHeaderComponent implements IHeaderAngularComp, OnDestroy, AfterViewInit {
917
+ #private;
918
+ readonly filterEnabled$: BehaviorSubject<boolean>;
919
+ protected readonly accessibleHeaderText: i0.Signal<string | undefined>;
920
+ protected inlineHelpContainer: ElementRef | undefined;
921
+ protected readonly params: i0.WritableSignal<SkyAgGridHeaderParams | undefined>;
922
+ protected sorted: string;
923
+ protected readonly sortOrder$: BehaviorSubject<"desc" | "asc" | undefined>;
924
+ protected readonly sortIndexDisplay$: BehaviorSubject<string>;
925
+ protected displayName: i0.Signal<string | undefined>;
926
+ ngAfterViewInit(): void;
927
+ ngOnDestroy(): void;
928
+ agInit(params: SkyAgGridHeaderParams | undefined): void;
929
+ onMenuClick($event: Event): void;
930
+ onSortRequested(event: MouseEvent): void;
931
+ refresh(params: SkyAgGridHeaderParams): boolean;
932
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridHeaderComponent, never>;
933
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridHeaderComponent, "sky-ag-grid-header", never, {}, {}, never, never, true, never>;
934
+ }
935
+
936
+ export { SkyAgGridCellEditorInitialAction, SkyAgGridCellEditorUtils, SkyAgGridHeaderGroupInfo, SkyAgGridHeaderInfo, SkyAgGridModule, SkyAgGridService, SkyCellClass, SkyCellType, SkyHeaderClass, SkyAgGridCellEditorAutocompleteComponent as λ1, SkyAgGridCellRendererValidatorTooltipComponent as λ10, SkyAgGridCellValidatorTooltipComponent as λ11, SkyAgGridWrapperComponent as λ12, SkyAgGridRowDeleteDirective as λ13, SkyAgGridDataManagerAdapterDirective as λ14, SkyAgGridCellEditorLookupComponent as λ15, SkyAgGridCellRendererLookupComponent as λ16, SkyAgGridHeaderComponent as λ17, SkyAgGridHeaderGroupComponent as λ18, SkyAgGridCellEditorTextComponent as λ2, SkyAgGridCellEditorCurrencyComponent as λ3, SkyAgGridCellEditorNumberComponent as λ4, SkyAgGridCellEditorDatepickerComponent as λ5, SkyAgGridRowDeleteComponent as λ6, SkyAgGridCellRendererRowSelectorComponent as λ7, SkyAgGridCellRendererCurrencyValidatorComponent as λ8, SkyAgGridCellRendererCurrencyComponent as λ9 };
937
+ export type { SkyAgGridAutocompleteProperties, SkyAgGridCurrencyProperties, SkyAgGridDatepickerProperties, SkyAgGridHeaderGroupParams, SkyAgGridHeaderParams, SkyAgGridLookupProperties, SkyAgGridNumberProperties, SkyAgGridRowDeleteCancelArgs, SkyAgGridRowDeleteConfirmArgs, SkyAgGridTextProperties, SkyAgGridValidatorProperties, SkyAutocompleteProperties, SkyCellEditorAutocompleteParams, SkyCellEditorDatepickerParams, SkyCellEditorLookupParams, SkyDatepickerProperties, SkyGetGridOptionsArgs };