angular-slickgrid 9.13.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/fesm2022/angular-slickgrid.mjs +172 -734
- package/fesm2022/angular-slickgrid.mjs.map +1 -1
- package/package.json +16 -14
- package/types/angular-slickgrid.d.ts +768 -0
- package/index.d.ts +0 -5
- package/library/components/angular-slickgrid-outputs.interface.d.ts +0 -214
- package/library/components/angular-slickgrid.component.d.ts +0 -382
- package/library/constants.d.ts +0 -31
- package/library/extensions/index.d.ts +0 -1
- package/library/extensions/slickRowDetailView.d.ts +0 -79
- package/library/global-grid-options.d.ts +0 -3
- package/library/index.d.ts +0 -8
- package/library/models/angularComponentOutput.interface.d.ts +0 -5
- package/library/models/angularGridInstance.interface.d.ts +0 -38
- package/library/models/externalTestingDependencies.interface.d.ts +0 -20
- package/library/models/gridOption.interface.d.ts +0 -11
- package/library/models/index.d.ts +0 -5
- package/library/models/rowDetailView.interface.d.ts +0 -13
- package/library/modules/angular-slickgrid.module.d.ts +0 -12
- package/library/services/angularUtil.service.d.ts +0 -39
- package/library/services/container.service.d.ts +0 -10
- package/library/services/index.d.ts +0 -4
- package/library/services/translater.service.d.ts +0 -30
- package/library/services/utilities.d.ts +0 -8
- package/library/slickgrid-config.d.ts +0 -5
- package/public_api.d.ts +0 -1
|
@@ -0,0 +1,768 @@
|
|
|
1
|
+
import { SlickDataView, SlickGrid, ExtensionList, BackendService, ExtensionService, FilterService, GridService, GridEventService, GridStateService, HeaderGroupingService, BasePaginationComponent, PaginationService, ResizerService, SortService, TreeDataService, BackendUtilityService, CollectionService, ExtensionUtility, RxJsFacade, SharedService, RowDetailView as RowDetailView$1, Column, GridOption as GridOption$1, ContainerService as ContainerService$1, ContainerInstance, TranslaterService as TranslaterService$1, OnActiveCellChangedEventArgs, OnAddNewRowEventArgs, OnAutosizeColumnsEventArgs, OnBeforeAppendCellEventArgs, OnBeforeCellEditorDestroyEventArgs, OnBeforeColumnsResizeEventArgs, OnBeforeEditCellEventArgs, OnBeforeHeaderCellDestroyEventArgs, OnBeforeHeaderRowCellDestroyEventArgs, OnBeforeFooterRowCellDestroyEventArgs, OnBeforeSetColumnsEventArgs, SingleColumnSort, OnCellChangeEventArgs, OnCellCssStylesChangedEventArgs, OnClickEventArgs, OnColumnsDragEventArgs, OnColumnsReorderedEventArgs, OnColumnsResizedEventArgs, OnColumnsResizeDblClickEventArgs, OnCompositeEditorChangeEventArgs, DragRowMove, OnDragReplaceCellsEventArgs, OnDblClickEventArgs, OnFooterContextMenuEventArgs, OnFooterRowCellRenderedEventArgs, OnHeaderCellRenderedEventArgs, OnFooterClickEventArgs, OnHeaderClickEventArgs, OnHeaderContextMenuEventArgs, OnHeaderMouseEventArgs, OnHeaderRowCellRenderedEventArgs, OnKeyDownEventArgs, OnValidationErrorEventArgs, OnRenderedEventArgs, OnSelectedRowsChangedEventArgs, OnSetOptionsEventArgs, OnScrollEventArgs, PagingInfo, OnGroupExpandedEventArgs, OnGroupCollapsedEventArgs, OnRowCountChangedEventArgs, OnRowsChangedEventArgs, OnRowsOrCountChangedEventArgs, OnSetItemsCalledEventArgs, MenuFromCellCallbackArgs, OnColumnsChangedArgs, MenuCommandItemCallbackArgs, MenuOptionItemCallbackArgs, GridMenuEventWithElementCallbackArgs, SlickRange, ExportTextDownloadOption, CurrentFilter, OnSearchChangeEventArgs, ColumnSort, GridMenuCommandItemCallbackArgs, HeaderButtonOnCommandArgs, HeaderMenuCommandItemCallbackArgs, GridStateChange, PaginationMetadata, GridSize, OnSelectedRowIdsChangedEventArgs, CurrentSorter, TreeToggleStateChange, SlickEventHandler, Pagination, ExternalResource, ExternalResourceConstructor, SlickGroupItemMetadataProvider, BackendServiceApi, Locale, Metrics, EventSubscription, FilterFactory, CustomDataView } from '@slickgrid-universal/common';
|
|
2
|
+
export * from '@slickgrid-universal/common';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
import { ComponentRef, Type, ViewContainerRef, Injector, NgModuleRef, EnvironmentInjector, AfterViewInit, OnDestroy, ApplicationRef, ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
5
|
+
import { EventPubSubService } from '@slickgrid-universal/event-pub-sub';
|
|
6
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
7
|
+
import * as angular_slickgrid from 'angular-slickgrid';
|
|
8
|
+
import { SlickFooterComponent } from '@slickgrid-universal/custom-footer-component';
|
|
9
|
+
import { SlickEmptyWarningComponent } from '@slickgrid-universal/empty-warning-component';
|
|
10
|
+
|
|
11
|
+
interface AngularComponentOutput {
|
|
12
|
+
componentRef: ComponentRef<any>;
|
|
13
|
+
domElement: HTMLElement;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
interface AngularGridInstance {
|
|
17
|
+
/** Slick DataView object */
|
|
18
|
+
dataView: SlickDataView;
|
|
19
|
+
/** Slick Grid object */
|
|
20
|
+
slickGrid: SlickGrid;
|
|
21
|
+
/** SlickGrid extensions (external controls/plugins) */
|
|
22
|
+
extensions: ExtensionList<any>;
|
|
23
|
+
/** Dispose of the grid and optionally empty the DOM element grid container as well */
|
|
24
|
+
destroy: (emptyDomElementContainer?: boolean) => void;
|
|
25
|
+
/** Backend Service, when available */
|
|
26
|
+
backendService?: BackendService;
|
|
27
|
+
/** EventPubSub Service instance that is used internal by the lib and could be used externally to subscribe to Angular-Slickgrid events */
|
|
28
|
+
eventPubSubService?: EventPubSubService;
|
|
29
|
+
/** Extension (Plugins & Controls) Service */
|
|
30
|
+
extensionService: ExtensionService;
|
|
31
|
+
/** Filter Service */
|
|
32
|
+
filterService: FilterService;
|
|
33
|
+
/** Grid Service (grid extra functionalities) */
|
|
34
|
+
gridService: GridService;
|
|
35
|
+
/** Grid Events Service */
|
|
36
|
+
gridEventService: GridEventService;
|
|
37
|
+
/** Grid State Service */
|
|
38
|
+
gridStateService: GridStateService;
|
|
39
|
+
/** Grouping (and colspan) Service */
|
|
40
|
+
headerGroupingService: HeaderGroupingService;
|
|
41
|
+
/** Pagination Component */
|
|
42
|
+
paginationComponent?: BasePaginationComponent;
|
|
43
|
+
/** Pagination Service (allows you to programmatically go to first/last page, etc...) */
|
|
44
|
+
paginationService?: PaginationService;
|
|
45
|
+
/** Resizer Service (including auto-resize) */
|
|
46
|
+
resizerService: ResizerService;
|
|
47
|
+
/** Sort Service */
|
|
48
|
+
sortService: SortService;
|
|
49
|
+
/** Tree Data View Service */
|
|
50
|
+
treeDataService: TreeDataService;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
interface ExternalTestingDependencies {
|
|
54
|
+
backendUtilityService?: BackendUtilityService;
|
|
55
|
+
collectionService?: CollectionService;
|
|
56
|
+
eventPubSubService?: EventPubSubService;
|
|
57
|
+
extensionService?: ExtensionService;
|
|
58
|
+
extensionUtility?: ExtensionUtility;
|
|
59
|
+
filterService?: FilterService;
|
|
60
|
+
gridEventService?: GridEventService;
|
|
61
|
+
gridService?: GridService;
|
|
62
|
+
gridStateService?: GridStateService;
|
|
63
|
+
headerGroupingService?: HeaderGroupingService;
|
|
64
|
+
paginationService?: PaginationService;
|
|
65
|
+
resizerService?: ResizerService;
|
|
66
|
+
rxjs?: RxJsFacade;
|
|
67
|
+
sharedService?: SharedService;
|
|
68
|
+
sortService?: SortService;
|
|
69
|
+
treeDataService?: TreeDataService;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
interface RowDetailView extends RowDetailView$1 {
|
|
73
|
+
/**
|
|
74
|
+
* Optionally pass your Parent Component reference to your Child Component (row detail component).
|
|
75
|
+
* note:: If anyone finds a better way of passing the parent to the row detail extension, please reach out and/or create a PR
|
|
76
|
+
*/
|
|
77
|
+
parentRef?: any;
|
|
78
|
+
/** View Component of the preload template (typically a spinner) which shows after opening on the row detail but before the row detail is ready */
|
|
79
|
+
preloadComponent?: Type<object>;
|
|
80
|
+
/** View Component that will be loaded in the row detail after the async function completed */
|
|
81
|
+
viewComponent: Type<object>;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
interface GridOption<C extends Column = Column> extends GridOption$1<C> {
|
|
85
|
+
/** External Custom Pagination Component that can be provided by the user */
|
|
86
|
+
customPaginationComponent?: typeof BasePaginationComponent;
|
|
87
|
+
/** ngx-translate i18n translation service instance */
|
|
88
|
+
i18n?: TranslateService;
|
|
89
|
+
/** Row Detail View Plugin options & events (columnId, cssClass, toolTip, width) */
|
|
90
|
+
rowDetailView?: RowDetailView;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
interface CreateComponentOption {
|
|
94
|
+
index?: number;
|
|
95
|
+
injector?: Injector;
|
|
96
|
+
ngModuleRef?: NgModuleRef<unknown>;
|
|
97
|
+
environmentInjector?: EnvironmentInjector | NgModuleRef<unknown>;
|
|
98
|
+
projectableNodes?: Node[][];
|
|
99
|
+
sanitizer?: (dirtyHtml: string) => string;
|
|
100
|
+
}
|
|
101
|
+
declare class AngularUtilService {
|
|
102
|
+
private vcr;
|
|
103
|
+
constructor(vcr: ViewContainerRef);
|
|
104
|
+
createInteractiveAngularComponent<C>(component: Type<C>, targetElement: Element, data?: any, createCompOptions?: CreateComponentOption): AngularComponentOutput;
|
|
105
|
+
/**
|
|
106
|
+
* Dynamically create an Angular component, user could also provide optional arguments for target, data & createComponent options
|
|
107
|
+
* @param {Component} component
|
|
108
|
+
* @param {HTMLElement} [targetElement]
|
|
109
|
+
* @param {*} [data]
|
|
110
|
+
* @param {CreateComponentOption} [createCompOptions]
|
|
111
|
+
* @returns
|
|
112
|
+
*/
|
|
113
|
+
createAngularComponent<C>(component: Type<C>, targetElement?: Element, data?: any, createCompOptions?: CreateComponentOption): AngularComponentOutput;
|
|
114
|
+
/**
|
|
115
|
+
* Dynamically create an Angular component and append it to the DOM unless a target element is provided,
|
|
116
|
+
* user could also provide other optional arguments for data & createComponent options.
|
|
117
|
+
* @param {Component} component
|
|
118
|
+
* @param {HTMLElement} [targetElement]
|
|
119
|
+
* @param {*} [data]
|
|
120
|
+
* @param {CreateComponentOption} [createCompOptions]
|
|
121
|
+
* @returns
|
|
122
|
+
*/
|
|
123
|
+
createAngularComponentAppendToDom<C>(component: Type<C>, targetElement?: Element, data?: any, createCompOptions?: CreateComponentOption): AngularComponentOutput;
|
|
124
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AngularUtilService, never>;
|
|
125
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AngularUtilService>;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
declare class ContainerService implements ContainerService$1 {
|
|
129
|
+
dependencies: ContainerInstance[];
|
|
130
|
+
get<T = any>(key: string): T | null;
|
|
131
|
+
dispose(): void;
|
|
132
|
+
registerInstance(key: string, instance: any): void;
|
|
133
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContainerService, never>;
|
|
134
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ContainerService>;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* This is a Translate Service Wrapper for Slickgrid-Universal monorepo lib to work properly,
|
|
139
|
+
* it must implement Slickgrid-Universal TranslaterService interface to work properly
|
|
140
|
+
*/
|
|
141
|
+
declare class TranslaterService implements TranslaterService$1 {
|
|
142
|
+
private readonly translateService;
|
|
143
|
+
constructor(translateService: TranslateService);
|
|
144
|
+
/**
|
|
145
|
+
* Method to return the current language used by the App
|
|
146
|
+
* @return {string} current language
|
|
147
|
+
*/
|
|
148
|
+
getCurrentLanguage(): string;
|
|
149
|
+
/**
|
|
150
|
+
* Method to set the language to use in the App and Translate Service
|
|
151
|
+
* @param {string} language
|
|
152
|
+
* @return {Promise} output
|
|
153
|
+
*/
|
|
154
|
+
use(newLang: string): Promise<any>;
|
|
155
|
+
/**
|
|
156
|
+
* Method which receives a translation key and returns the translated value assigned to that key
|
|
157
|
+
* @param {string} translation key
|
|
158
|
+
* @return {string} translated value
|
|
159
|
+
*/
|
|
160
|
+
translate(translationKey: string): string;
|
|
161
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TranslaterService, [{ optional: true; }]>;
|
|
162
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<TranslaterService>;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Unsubscribe all Observables Subscriptions
|
|
167
|
+
* It will return an empty array if it all went well
|
|
168
|
+
* @param subscriptions
|
|
169
|
+
*/
|
|
170
|
+
declare function unsubscribeAllObservables(subscriptions: Array<{
|
|
171
|
+
unsubscribe: () => void;
|
|
172
|
+
}>): void;
|
|
173
|
+
|
|
174
|
+
declare class SlickgridConfig {
|
|
175
|
+
options: Partial<GridOption>;
|
|
176
|
+
constructor();
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Generic type for wrapping event output with detail property
|
|
181
|
+
* Used for typed Angular output() signals that need both eventData and args
|
|
182
|
+
* Extends CustomEvent for compatibility with event handlers
|
|
183
|
+
* @template T - The event function type from AngularSlickgridOutputs interface
|
|
184
|
+
*/
|
|
185
|
+
type SlickEventOutput<T extends (...args: any) => any> = CustomEvent<{
|
|
186
|
+
eventData: any;
|
|
187
|
+
args: Parameters<T>[0];
|
|
188
|
+
}>;
|
|
189
|
+
/**
|
|
190
|
+
* Generic type for wrapping simple event output with detail property
|
|
191
|
+
* Extends CustomEvent for compatibility with event handlers
|
|
192
|
+
* @template T - The event function type from AngularSlickgridOutputs interface
|
|
193
|
+
*/
|
|
194
|
+
type RegularEventOutput<T extends (...args: any) => any> = CustomEvent<Parameters<T>[0]>;
|
|
195
|
+
/**
|
|
196
|
+
* Angular-Slickgrid Output Events Interface
|
|
197
|
+
* Defines all typed output signals for strict template type checking in Angular 17+
|
|
198
|
+
* These are automatically managed by the AngularSlickgridComponent and should be used in templates
|
|
199
|
+
*
|
|
200
|
+
* @example
|
|
201
|
+
* ```html
|
|
202
|
+
* <angular-slickgrid
|
|
203
|
+
* (onActiveCellChanged)="handleCellChange($event)"
|
|
204
|
+
* (onAngularGridCreated)="handleGridCreated($event)"
|
|
205
|
+
* ></angular-slickgrid>
|
|
206
|
+
* ```
|
|
207
|
+
*/
|
|
208
|
+
interface AngularSlickgridOutputs {
|
|
209
|
+
onActiveCellChanged: (e: OnActiveCellChangedEventArgs) => void;
|
|
210
|
+
onActiveCellPositionChanged: (e: {
|
|
211
|
+
grid: SlickGrid;
|
|
212
|
+
}) => void;
|
|
213
|
+
onAddNewRow: (e: OnAddNewRowEventArgs) => void;
|
|
214
|
+
onAutosizeColumns: (e: OnAutosizeColumnsEventArgs) => void;
|
|
215
|
+
onBeforeAppendCell: (e: OnBeforeAppendCellEventArgs) => void;
|
|
216
|
+
onBeforeCellEditorDestroy: (e: OnBeforeCellEditorDestroyEventArgs) => void;
|
|
217
|
+
onBeforeColumnsResize: (e: OnBeforeColumnsResizeEventArgs) => void;
|
|
218
|
+
onBeforeDestroy: (e: {
|
|
219
|
+
grid: SlickGrid;
|
|
220
|
+
}) => void;
|
|
221
|
+
onBeforeEditCell: (e: OnBeforeEditCellEventArgs) => void;
|
|
222
|
+
onBeforeHeaderCellDestroy: (e: OnBeforeHeaderCellDestroyEventArgs) => void;
|
|
223
|
+
onBeforeHeaderRowCellDestroy: (e: OnBeforeHeaderRowCellDestroyEventArgs) => void;
|
|
224
|
+
onBeforeFooterRowCellDestroy: (e: OnBeforeFooterRowCellDestroyEventArgs) => void;
|
|
225
|
+
onBeforeSetColumns: (e: OnBeforeSetColumnsEventArgs) => void;
|
|
226
|
+
onBeforeSort: (e: SingleColumnSort) => boolean | void;
|
|
227
|
+
onCellChange: (e: OnCellChangeEventArgs) => void;
|
|
228
|
+
onCellCssStylesChanged: (e: OnCellCssStylesChangedEventArgs) => void;
|
|
229
|
+
onClick: (e: OnClickEventArgs) => void;
|
|
230
|
+
onColumnsDrag: (e: OnColumnsDragEventArgs) => void;
|
|
231
|
+
onColumnsReordered: (e: OnColumnsReorderedEventArgs) => void;
|
|
232
|
+
onColumnsResized: (e: OnColumnsResizedEventArgs) => void;
|
|
233
|
+
onColumnsResizeDblClick: (e: OnColumnsResizeDblClickEventArgs) => void;
|
|
234
|
+
onCompositeEditorChange: (e: OnCompositeEditorChangeEventArgs) => void;
|
|
235
|
+
onContextMenu: (e: {
|
|
236
|
+
grid: SlickGrid;
|
|
237
|
+
}) => void;
|
|
238
|
+
onDrag: (e: DragRowMove) => void;
|
|
239
|
+
onDragEnd: (e: DragRowMove) => void;
|
|
240
|
+
onDragInit: (e: DragRowMove) => void;
|
|
241
|
+
onDragStart: (e: DragRowMove) => void;
|
|
242
|
+
onDragReplaceCells: (e: OnDragReplaceCellsEventArgs) => void;
|
|
243
|
+
onDblClick: (e: OnDblClickEventArgs) => void;
|
|
244
|
+
onFooterContextMenu: (e: OnFooterContextMenuEventArgs) => void;
|
|
245
|
+
onFooterRowCellRendered: (e: OnFooterRowCellRenderedEventArgs) => void;
|
|
246
|
+
onHeaderCellRendered: (e: OnHeaderCellRenderedEventArgs) => void;
|
|
247
|
+
onFooterClick: (e: OnFooterClickEventArgs) => void;
|
|
248
|
+
onHeaderClick: (e: OnHeaderClickEventArgs) => void;
|
|
249
|
+
onHeaderContextMenu: (e: OnHeaderContextMenuEventArgs) => void;
|
|
250
|
+
onHeaderMouseEnter: (e: OnHeaderMouseEventArgs) => void;
|
|
251
|
+
onHeaderMouseLeave: (e: OnHeaderMouseEventArgs) => void;
|
|
252
|
+
onHeaderRowCellRendered: (e: OnHeaderRowCellRenderedEventArgs) => void;
|
|
253
|
+
onHeaderRowMouseEnter: (e: OnHeaderMouseEventArgs) => void;
|
|
254
|
+
onHeaderRowMouseLeave: (e: OnHeaderMouseEventArgs) => void;
|
|
255
|
+
onKeyDown: (e: OnKeyDownEventArgs) => void;
|
|
256
|
+
onMouseEnter: (e: {
|
|
257
|
+
grid: SlickGrid;
|
|
258
|
+
}) => void;
|
|
259
|
+
onMouseLeave: (e: {
|
|
260
|
+
grid: SlickGrid;
|
|
261
|
+
}) => void;
|
|
262
|
+
onValidationError: (e: OnValidationErrorEventArgs) => void;
|
|
263
|
+
onViewportChanged: (e: {
|
|
264
|
+
grid: SlickGrid;
|
|
265
|
+
}) => void;
|
|
266
|
+
onRendered: (e: OnRenderedEventArgs) => void;
|
|
267
|
+
onSelectedRowsChanged: (e: OnSelectedRowsChangedEventArgs) => void;
|
|
268
|
+
onSetOptions: (e: OnSetOptionsEventArgs) => void;
|
|
269
|
+
onScroll: (e: OnScrollEventArgs) => void;
|
|
270
|
+
onSort: (e: SingleColumnSort) => void;
|
|
271
|
+
onBeforePagingInfoChanged: (e: PagingInfo) => void;
|
|
272
|
+
onGroupExpanded: (e: OnGroupExpandedEventArgs) => void;
|
|
273
|
+
onGroupCollapsed: (e: OnGroupCollapsedEventArgs) => void;
|
|
274
|
+
onPagingInfoChanged: (e: PagingInfo) => void;
|
|
275
|
+
onRowCountChanged: (e: OnRowCountChangedEventArgs) => void;
|
|
276
|
+
onRowsChanged: (e: OnRowsChangedEventArgs) => void;
|
|
277
|
+
onRowsOrCountChanged: (e: OnRowsOrCountChangedEventArgs) => void;
|
|
278
|
+
onSetItemsCalled: (e: OnSetItemsCalledEventArgs) => void;
|
|
279
|
+
onAfterMenuShow: (e: MenuFromCellCallbackArgs) => void;
|
|
280
|
+
onBeforeMenuClose: (e: MenuFromCellCallbackArgs) => void;
|
|
281
|
+
onBeforeMenuShow: (e: MenuFromCellCallbackArgs) => void;
|
|
282
|
+
onColumnsChanged: (e: OnColumnsChangedArgs) => void;
|
|
283
|
+
onCommand: (e: MenuCommandItemCallbackArgs | MenuOptionItemCallbackArgs) => void;
|
|
284
|
+
onGridMenuColumnsChanged: (e: OnColumnsChangedArgs) => void;
|
|
285
|
+
onMenuClose: (e: GridMenuEventWithElementCallbackArgs) => void;
|
|
286
|
+
onCopyCells: (e: {
|
|
287
|
+
ranges: SlickRange[];
|
|
288
|
+
}) => void;
|
|
289
|
+
onCopyCancelled: (e: {
|
|
290
|
+
ranges: SlickRange[];
|
|
291
|
+
}) => void;
|
|
292
|
+
onPasteCells: (e: {
|
|
293
|
+
ranges: SlickRange[];
|
|
294
|
+
}) => void;
|
|
295
|
+
onBeforePasteCell: (e: {
|
|
296
|
+
cell: number;
|
|
297
|
+
row: number;
|
|
298
|
+
item: any;
|
|
299
|
+
columnDef: Column;
|
|
300
|
+
value: any;
|
|
301
|
+
}) => void;
|
|
302
|
+
onAfterExportToExcel: (e: {
|
|
303
|
+
filename: string;
|
|
304
|
+
mimeType: string;
|
|
305
|
+
} | {
|
|
306
|
+
error: any;
|
|
307
|
+
}) => void;
|
|
308
|
+
onBeforeExportToExcel: (e: boolean) => void;
|
|
309
|
+
onAfterExportToPdf: (e: {
|
|
310
|
+
filename: string;
|
|
311
|
+
} | {
|
|
312
|
+
error: any;
|
|
313
|
+
}) => void;
|
|
314
|
+
onBeforeExportToPdf: (e: boolean) => void;
|
|
315
|
+
onBeforeExportToTextFile?: (e: boolean) => void;
|
|
316
|
+
onAfterExportToTextFile?: (e: ExportTextDownloadOption) => void;
|
|
317
|
+
onBeforeFilterChange: (e: CurrentFilter[]) => void;
|
|
318
|
+
onBeforeFilterClear: (e: {
|
|
319
|
+
columnId: string;
|
|
320
|
+
} | boolean) => void;
|
|
321
|
+
onBeforeSearchChange: (e: OnSearchChangeEventArgs) => boolean | void;
|
|
322
|
+
onBeforeSortChange: (e: Array<ColumnSort & {
|
|
323
|
+
clearSortTriggered?: boolean;
|
|
324
|
+
}>) => void;
|
|
325
|
+
onContextMenuClearGrouping: () => void;
|
|
326
|
+
onContextMenuCollapseAllGroups: () => void;
|
|
327
|
+
onContextMenuExpandAllGroups: () => void;
|
|
328
|
+
onOptionSelected: (e: MenuCommandItemCallbackArgs | MenuOptionItemCallbackArgs) => void;
|
|
329
|
+
onColumnPickerColumnsChanged: (e: OnColumnsChangedArgs) => void;
|
|
330
|
+
onGridMenuMenuClose: (e: GridMenuEventWithElementCallbackArgs) => void;
|
|
331
|
+
onGridMenuBeforeMenuShow: (e: GridMenuEventWithElementCallbackArgs) => void;
|
|
332
|
+
onGridMenuAfterMenuShow: (e: GridMenuEventWithElementCallbackArgs) => void;
|
|
333
|
+
onGridMenuClearAllPinning: () => void;
|
|
334
|
+
onGridMenuClearAllFilters: () => void;
|
|
335
|
+
onGridMenuClearAllSorting: () => void;
|
|
336
|
+
onGridMenuCommand: (e: GridMenuCommandItemCallbackArgs) => void;
|
|
337
|
+
onHeaderButtonCommand: (e: HeaderButtonOnCommandArgs) => void;
|
|
338
|
+
onHeaderMenuCommand: (e: MenuCommandItemCallbackArgs) => void;
|
|
339
|
+
onHeaderMenuColumnResizeByContent: (e: {
|
|
340
|
+
columnId: string;
|
|
341
|
+
}) => void;
|
|
342
|
+
onHeaderMenuBeforeMenuShow: (e: HeaderMenuCommandItemCallbackArgs) => void;
|
|
343
|
+
onHeaderMenuAfterMenuShow: (e: HeaderMenuCommandItemCallbackArgs) => void;
|
|
344
|
+
onHideColumns: (e: {
|
|
345
|
+
columns: Column[];
|
|
346
|
+
hiddenColumn: Column[];
|
|
347
|
+
}) => void;
|
|
348
|
+
onItemsAdded: (e: any[]) => void;
|
|
349
|
+
onItemsDeleted: (e: any[]) => void;
|
|
350
|
+
onItemsUpdated: (e: any[]) => void;
|
|
351
|
+
onItemsUpserted: (e: any[]) => void;
|
|
352
|
+
onFullResizeByContentRequested: (e: {
|
|
353
|
+
caller: string;
|
|
354
|
+
}) => void;
|
|
355
|
+
onGridStateChanged: (e: GridStateChange) => void;
|
|
356
|
+
onBeforePaginationChange: (e: PaginationMetadata) => boolean | void;
|
|
357
|
+
onPaginationChanged: (e: PaginationMetadata) => void;
|
|
358
|
+
onPaginationRefreshed: (e: PaginationMetadata) => void;
|
|
359
|
+
onPaginationVisibilityChanged: (e: {
|
|
360
|
+
visible: boolean;
|
|
361
|
+
}) => void;
|
|
362
|
+
onPaginationSetCursorBased: (e: {
|
|
363
|
+
isCursorBased: boolean;
|
|
364
|
+
}) => void;
|
|
365
|
+
onGridBeforeResize: () => void;
|
|
366
|
+
onGridAfterResize: (e: GridSize | undefined) => void;
|
|
367
|
+
onBeforeResizeByContent: () => void;
|
|
368
|
+
onAfterResizeByContent: (e: {
|
|
369
|
+
readItemCount: number;
|
|
370
|
+
calculateColumnWidths: {
|
|
371
|
+
[x: string]: number | undefined;
|
|
372
|
+
[x: number]: number | undefined;
|
|
373
|
+
};
|
|
374
|
+
}) => void;
|
|
375
|
+
onSelectedRowIdsChanged: (e: OnSelectedRowIdsChangedEventArgs) => void;
|
|
376
|
+
onSortCleared: (e: boolean) => void;
|
|
377
|
+
onFilterChanged: (e: CurrentFilter[]) => void;
|
|
378
|
+
onFilterCleared: (e: boolean) => void;
|
|
379
|
+
onSortChanged: (e: CurrentSorter[]) => void;
|
|
380
|
+
onTreeItemToggled: (e: TreeToggleStateChange) => void;
|
|
381
|
+
onTreeFullToggleEnd: (e: TreeToggleStateChange) => void;
|
|
382
|
+
onTreeFullToggleStart: (e: TreeToggleStateChange) => void;
|
|
383
|
+
onBeforeGridCreate: (e: boolean) => void;
|
|
384
|
+
onGridCreated: (e: SlickGrid) => void;
|
|
385
|
+
onDataviewCreated: (e: SlickDataView) => void;
|
|
386
|
+
onAngularGridCreated: (e: AngularGridInstance) => void;
|
|
387
|
+
onBeforeGridDestroy: (e: SlickGrid) => void;
|
|
388
|
+
onAfterGridDestroyed: (e: boolean) => void;
|
|
389
|
+
onLanguageChange: (lang: string) => void;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
interface AngularRowDetailView {
|
|
393
|
+
create(columns: Column[], gridOptions: GridOption): any;
|
|
394
|
+
init(grid: SlickGrid, containerService?: ContainerService): void;
|
|
395
|
+
}
|
|
396
|
+
declare class AngularSlickgridComponent<TData = any> implements AfterViewInit, OnDestroy {
|
|
397
|
+
protected readonly angularUtilService: AngularUtilService;
|
|
398
|
+
protected readonly appRef: ApplicationRef;
|
|
399
|
+
protected readonly containerService: ContainerService;
|
|
400
|
+
protected readonly elm: ElementRef;
|
|
401
|
+
protected readonly translate: TranslateService;
|
|
402
|
+
protected readonly translaterService: TranslaterService;
|
|
403
|
+
protected forRootConfig?: GridOption | undefined;
|
|
404
|
+
protected _dataset?: TData[] | null;
|
|
405
|
+
protected _columnDefinitions: Column[];
|
|
406
|
+
protected _currentDatasetLength: number;
|
|
407
|
+
protected _darkMode: boolean;
|
|
408
|
+
protected _eventHandler: SlickEventHandler;
|
|
409
|
+
protected _eventPubSubService: EventPubSubService;
|
|
410
|
+
protected _angularGridInstances: AngularGridInstance | undefined;
|
|
411
|
+
protected _hideHeaderRowAfterPageLoad: boolean;
|
|
412
|
+
protected _isAutosizeColsCalled: boolean;
|
|
413
|
+
protected _isGridInitialized: boolean;
|
|
414
|
+
protected _isDatasetInitialized: boolean;
|
|
415
|
+
protected _isDatasetHierarchicalInitialized: boolean;
|
|
416
|
+
protected _isPaginationInitialized: boolean;
|
|
417
|
+
protected _isLocalGrid: boolean;
|
|
418
|
+
protected _paginationOptions: Pagination | undefined;
|
|
419
|
+
protected _registeredResources: Array<ExternalResource | ExternalResourceConstructor>;
|
|
420
|
+
protected _scrollEndCalled: boolean;
|
|
421
|
+
dataView: SlickDataView;
|
|
422
|
+
slickGrid: SlickGrid;
|
|
423
|
+
groupingDefinition: any;
|
|
424
|
+
groupItemMetadataProvider?: SlickGroupItemMetadataProvider;
|
|
425
|
+
backendServiceApi?: BackendServiceApi;
|
|
426
|
+
locales: Locale;
|
|
427
|
+
metrics?: Metrics;
|
|
428
|
+
showPagination: boolean;
|
|
429
|
+
serviceList: any[];
|
|
430
|
+
totalItems: number;
|
|
431
|
+
paginationData?: {
|
|
432
|
+
gridOptions: GridOption;
|
|
433
|
+
paginationService: PaginationService;
|
|
434
|
+
};
|
|
435
|
+
subscriptions: EventSubscription[];
|
|
436
|
+
slickEmptyWarning?: SlickEmptyWarningComponent;
|
|
437
|
+
slickFooter?: SlickFooterComponent;
|
|
438
|
+
slickPagination?: BasePaginationComponent;
|
|
439
|
+
paginationComponent: BasePaginationComponent | undefined;
|
|
440
|
+
slickRowDetailView?: AngularRowDetailView;
|
|
441
|
+
backendUtilityService: BackendUtilityService;
|
|
442
|
+
collectionService: CollectionService;
|
|
443
|
+
extensionService: ExtensionService;
|
|
444
|
+
extensionUtility: ExtensionUtility;
|
|
445
|
+
filterFactory: FilterFactory;
|
|
446
|
+
filterService: FilterService;
|
|
447
|
+
gridEventService: GridEventService;
|
|
448
|
+
gridService: GridService;
|
|
449
|
+
gridStateService: GridStateService;
|
|
450
|
+
headerGroupingService: HeaderGroupingService;
|
|
451
|
+
paginationService: PaginationService;
|
|
452
|
+
resizerService: ResizerService;
|
|
453
|
+
rxjs?: RxJsFacade;
|
|
454
|
+
sharedService: SharedService;
|
|
455
|
+
sortService: SortService;
|
|
456
|
+
treeDataService: TreeDataService;
|
|
457
|
+
customDataView: CustomDataView | undefined;
|
|
458
|
+
gridId: string;
|
|
459
|
+
options: GridOption;
|
|
460
|
+
containerClasses?: string[];
|
|
461
|
+
get paginationOptions(): Pagination | undefined;
|
|
462
|
+
set paginationOptions(newPaginationOptions: Pagination | undefined);
|
|
463
|
+
get columns(): Column[];
|
|
464
|
+
set columns(columns: Column[]);
|
|
465
|
+
columnsChange: EventEmitter<any>;
|
|
466
|
+
onActiveCellChanged: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnActiveCellChangedEventArgs) => void>>;
|
|
467
|
+
onActiveCellPositionChanged: _angular_core.OutputEmitterRef<SlickEventOutput<(e: {
|
|
468
|
+
grid: SlickGrid;
|
|
469
|
+
}) => void>>;
|
|
470
|
+
onAddNewRow: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnAddNewRowEventArgs) => void>>;
|
|
471
|
+
onAutosizeColumns: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnAutosizeColumnsEventArgs) => void>>;
|
|
472
|
+
onBeforeAppendCell: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnBeforeAppendCellEventArgs) => void>>;
|
|
473
|
+
onBeforeCellEditorDestroy: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnBeforeCellEditorDestroyEventArgs) => void>>;
|
|
474
|
+
onBeforeColumnsResize: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnBeforeColumnsResizeEventArgs) => void>>;
|
|
475
|
+
onBeforeDestroy: _angular_core.OutputEmitterRef<SlickEventOutput<(e: {
|
|
476
|
+
grid: SlickGrid;
|
|
477
|
+
}) => void>>;
|
|
478
|
+
onBeforeEditCell: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnBeforeEditCellEventArgs) => void>>;
|
|
479
|
+
onBeforeHeaderCellDestroy: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnBeforeHeaderCellDestroyEventArgs) => void>>;
|
|
480
|
+
onBeforeHeaderRowCellDestroy: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnBeforeHeaderRowCellDestroyEventArgs) => void>>;
|
|
481
|
+
onBeforeFooterRowCellDestroy: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnBeforeFooterRowCellDestroyEventArgs) => void>>;
|
|
482
|
+
onBeforeSetColumns: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnBeforeSetColumnsEventArgs) => void>>;
|
|
483
|
+
onBeforeSort: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.SingleColumnSort) => boolean | void>>;
|
|
484
|
+
onCellChange: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnCellChangeEventArgs) => void>>;
|
|
485
|
+
onCellCssStylesChanged: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnCellCssStylesChangedEventArgs) => void>>;
|
|
486
|
+
onClick: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnClickEventArgs) => void>>;
|
|
487
|
+
onColumnsDrag: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnColumnsDragEventArgs) => void>>;
|
|
488
|
+
onColumnsReordered: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnColumnsReorderedEventArgs) => void>>;
|
|
489
|
+
onColumnsResized: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnColumnsResizedEventArgs) => void>>;
|
|
490
|
+
onColumnsResizeDblClick: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnColumnsResizeDblClickEventArgs) => void>>;
|
|
491
|
+
onCompositeEditorChange: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnCompositeEditorChangeEventArgs) => void>>;
|
|
492
|
+
onContextMenu: _angular_core.OutputEmitterRef<SlickEventOutput<(e: {
|
|
493
|
+
grid: SlickGrid;
|
|
494
|
+
}) => void>>;
|
|
495
|
+
onDrag: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.DragRowMove) => void>>;
|
|
496
|
+
onDragEnd: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.DragRowMove) => void>>;
|
|
497
|
+
onDragInit: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.DragRowMove) => void>>;
|
|
498
|
+
onDragStart: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.DragRowMove) => void>>;
|
|
499
|
+
onDragReplaceCells: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnDragReplaceCellsEventArgs) => void>>;
|
|
500
|
+
onDblClick: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnDblClickEventArgs) => void>>;
|
|
501
|
+
onFooterContextMenu: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnFooterContextMenuEventArgs) => void>>;
|
|
502
|
+
onFooterRowCellRendered: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnFooterRowCellRenderedEventArgs) => void>>;
|
|
503
|
+
onHeaderCellRendered: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnHeaderCellRenderedEventArgs) => void>>;
|
|
504
|
+
onFooterClick: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnFooterClickEventArgs) => void>>;
|
|
505
|
+
onHeaderClick: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnHeaderClickEventArgs) => void>>;
|
|
506
|
+
onHeaderContextMenu: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnHeaderContextMenuEventArgs) => void>>;
|
|
507
|
+
onHeaderMouseEnter: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnHeaderMouseEventArgs) => void>>;
|
|
508
|
+
onHeaderMouseLeave: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnHeaderMouseEventArgs) => void>>;
|
|
509
|
+
onHeaderRowCellRendered: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnHeaderRowCellRenderedEventArgs) => void>>;
|
|
510
|
+
onHeaderRowMouseEnter: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnHeaderMouseEventArgs) => void>>;
|
|
511
|
+
onHeaderRowMouseLeave: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnHeaderMouseEventArgs) => void>>;
|
|
512
|
+
onKeyDown: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnKeyDownEventArgs) => void>>;
|
|
513
|
+
onMouseEnter: _angular_core.OutputEmitterRef<SlickEventOutput<(e: {
|
|
514
|
+
grid: SlickGrid;
|
|
515
|
+
}) => void>>;
|
|
516
|
+
onMouseLeave: _angular_core.OutputEmitterRef<SlickEventOutput<(e: {
|
|
517
|
+
grid: SlickGrid;
|
|
518
|
+
}) => void>>;
|
|
519
|
+
onValidationError: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnValidationErrorEventArgs) => void>>;
|
|
520
|
+
onViewportChanged: _angular_core.OutputEmitterRef<SlickEventOutput<(e: {
|
|
521
|
+
grid: SlickGrid;
|
|
522
|
+
}) => void>>;
|
|
523
|
+
onRendered: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnRenderedEventArgs) => void>>;
|
|
524
|
+
onSelectedRowsChanged: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnSelectedRowsChangedEventArgs) => void>>;
|
|
525
|
+
onSetOptions: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnSetOptionsEventArgs) => void>>;
|
|
526
|
+
onScroll: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnScrollEventArgs) => void>>;
|
|
527
|
+
onSort: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.SingleColumnSort) => void>>;
|
|
528
|
+
onBeforePagingInfoChanged: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.PagingInfo) => void>>;
|
|
529
|
+
onGroupExpanded: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnGroupExpandedEventArgs) => void>>;
|
|
530
|
+
onGroupCollapsed: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnGroupCollapsedEventArgs) => void>>;
|
|
531
|
+
onPagingInfoChanged: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.PagingInfo) => void>>;
|
|
532
|
+
onRowCountChanged: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnRowCountChangedEventArgs) => void>>;
|
|
533
|
+
onRowsChanged: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnRowsChangedEventArgs) => void>>;
|
|
534
|
+
onRowsOrCountChanged: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnRowsOrCountChangedEventArgs) => void>>;
|
|
535
|
+
onSelectedRowIdsChanged: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnSelectedRowIdsChangedEventArgs) => void>>;
|
|
536
|
+
onSetItemsCalled: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnSetItemsCalledEventArgs) => void>>;
|
|
537
|
+
onAfterMenuShow: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.MenuFromCellCallbackArgs) => void>>;
|
|
538
|
+
onBeforeMenuClose: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.MenuFromCellCallbackArgs) => void>>;
|
|
539
|
+
onBeforeMenuShow: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.MenuFromCellCallbackArgs) => void>>;
|
|
540
|
+
onColumnsChanged: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnColumnsChangedArgs) => void>>;
|
|
541
|
+
onCommand: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.MenuCommandItemCallbackArgs | angular_slickgrid.MenuOptionItemCallbackArgs) => void>>;
|
|
542
|
+
onGridMenuColumnsChanged: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.OnColumnsChangedArgs) => void>>;
|
|
543
|
+
onMenuClose: _angular_core.OutputEmitterRef<SlickEventOutput<(e: angular_slickgrid.GridMenuEventWithElementCallbackArgs) => void>>;
|
|
544
|
+
onCopyCells: _angular_core.OutputEmitterRef<SlickEventOutput<(e: {
|
|
545
|
+
ranges: angular_slickgrid.SlickRange[];
|
|
546
|
+
}) => void>>;
|
|
547
|
+
onCopyCancelled: _angular_core.OutputEmitterRef<SlickEventOutput<(e: {
|
|
548
|
+
ranges: angular_slickgrid.SlickRange[];
|
|
549
|
+
}) => void>>;
|
|
550
|
+
onPasteCells: _angular_core.OutputEmitterRef<SlickEventOutput<(e: {
|
|
551
|
+
ranges: angular_slickgrid.SlickRange[];
|
|
552
|
+
}) => void>>;
|
|
553
|
+
onBeforePasteCell: _angular_core.OutputEmitterRef<SlickEventOutput<(e: {
|
|
554
|
+
cell: number;
|
|
555
|
+
row: number;
|
|
556
|
+
item: any;
|
|
557
|
+
columnDef: Column;
|
|
558
|
+
value: any;
|
|
559
|
+
}) => void>>;
|
|
560
|
+
onAfterExportToExcel: _angular_core.OutputEmitterRef<RegularEventOutput<(e: {
|
|
561
|
+
filename: string;
|
|
562
|
+
mimeType: string;
|
|
563
|
+
} | {
|
|
564
|
+
error: any;
|
|
565
|
+
}) => void>>;
|
|
566
|
+
onBeforeExportToExcel: _angular_core.OutputEmitterRef<RegularEventOutput<(e: boolean) => void>>;
|
|
567
|
+
onBeforeFilterChange: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.CurrentFilter[]) => void>>;
|
|
568
|
+
onBeforeFilterClear: _angular_core.OutputEmitterRef<RegularEventOutput<(e: {
|
|
569
|
+
columnId: string;
|
|
570
|
+
} | boolean) => void>>;
|
|
571
|
+
onBeforeSearchChange: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.OnSearchChangeEventArgs) => boolean | void>>;
|
|
572
|
+
onBeforeSortChange: _angular_core.OutputEmitterRef<RegularEventOutput<(e: Array<angular_slickgrid.ColumnSort & {
|
|
573
|
+
clearSortTriggered?: boolean;
|
|
574
|
+
}>) => void>>;
|
|
575
|
+
onContextMenuClearGrouping: _angular_core.OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
576
|
+
onContextMenuCollapseAllGroups: _angular_core.OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
577
|
+
onContextMenuExpandAllGroups: _angular_core.OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
578
|
+
onOptionSelected: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.MenuCommandItemCallbackArgs | angular_slickgrid.MenuOptionItemCallbackArgs) => void>>;
|
|
579
|
+
onColumnPickerColumnsChanged: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.OnColumnsChangedArgs) => void>>;
|
|
580
|
+
onGridMenuMenuClose: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.GridMenuEventWithElementCallbackArgs) => void>>;
|
|
581
|
+
onGridMenuBeforeMenuShow: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.GridMenuEventWithElementCallbackArgs) => void>>;
|
|
582
|
+
onGridMenuAfterMenuShow: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.GridMenuEventWithElementCallbackArgs) => void>>;
|
|
583
|
+
onGridMenuClearAllPinning: _angular_core.OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
584
|
+
onGridMenuClearAllFilters: _angular_core.OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
585
|
+
onGridMenuClearAllSorting: _angular_core.OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
586
|
+
onGridMenuCommand: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.GridMenuCommandItemCallbackArgs) => void>>;
|
|
587
|
+
onHeaderButtonCommand: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.HeaderButtonOnCommandArgs) => void>>;
|
|
588
|
+
onHeaderMenuCommand: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.MenuCommandItemCallbackArgs) => void>>;
|
|
589
|
+
onHeaderMenuColumnResizeByContent: _angular_core.OutputEmitterRef<RegularEventOutput<(e: {
|
|
590
|
+
columnId: string;
|
|
591
|
+
}) => void>>;
|
|
592
|
+
onHeaderMenuBeforeMenuShow: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.HeaderMenuCommandItemCallbackArgs) => void>>;
|
|
593
|
+
onHeaderMenuAfterMenuShow: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.HeaderMenuCommandItemCallbackArgs) => void>>;
|
|
594
|
+
onHideColumns: _angular_core.OutputEmitterRef<RegularEventOutput<(e: {
|
|
595
|
+
columns: Column[];
|
|
596
|
+
hiddenColumn: Column[];
|
|
597
|
+
}) => void>>;
|
|
598
|
+
onItemsAdded: _angular_core.OutputEmitterRef<RegularEventOutput<(e: any[]) => void>>;
|
|
599
|
+
onItemsDeleted: _angular_core.OutputEmitterRef<RegularEventOutput<(e: any[]) => void>>;
|
|
600
|
+
onItemsUpdated: _angular_core.OutputEmitterRef<RegularEventOutput<(e: any[]) => void>>;
|
|
601
|
+
onItemsUpserted: _angular_core.OutputEmitterRef<RegularEventOutput<(e: any[]) => void>>;
|
|
602
|
+
onFullResizeByContentRequested: _angular_core.OutputEmitterRef<RegularEventOutput<(e: {
|
|
603
|
+
caller: string;
|
|
604
|
+
}) => void>>;
|
|
605
|
+
onGridStateChanged: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.GridStateChange) => void>>;
|
|
606
|
+
onBeforePaginationChange: _angular_core.OutputEmitterRef<RegularEventOutput<(e: PaginationMetadata) => boolean | void>>;
|
|
607
|
+
onPaginationChanged: _angular_core.OutputEmitterRef<RegularEventOutput<(e: PaginationMetadata) => void>>;
|
|
608
|
+
onPaginationRefreshed: _angular_core.OutputEmitterRef<RegularEventOutput<(e: PaginationMetadata) => void>>;
|
|
609
|
+
onPaginationVisibilityChanged: _angular_core.OutputEmitterRef<RegularEventOutput<(e: {
|
|
610
|
+
visible: boolean;
|
|
611
|
+
}) => void>>;
|
|
612
|
+
onPaginationSetCursorBased: _angular_core.OutputEmitterRef<RegularEventOutput<(e: {
|
|
613
|
+
isCursorBased: boolean;
|
|
614
|
+
}) => void>>;
|
|
615
|
+
onGridBeforeResize: _angular_core.OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
616
|
+
onGridAfterResize: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.GridSize | undefined) => void>>;
|
|
617
|
+
onBeforeResizeByContent: _angular_core.OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
618
|
+
onAfterResizeByContent: _angular_core.OutputEmitterRef<RegularEventOutput<(e: {
|
|
619
|
+
readItemCount: number;
|
|
620
|
+
calculateColumnWidths: {
|
|
621
|
+
[x: string]: number | undefined;
|
|
622
|
+
[x: number]: number | undefined;
|
|
623
|
+
};
|
|
624
|
+
}) => void>>;
|
|
625
|
+
onSortCleared: _angular_core.OutputEmitterRef<RegularEventOutput<(e: boolean) => void>>;
|
|
626
|
+
onFilterChanged: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.CurrentFilter[]) => void>>;
|
|
627
|
+
onFilterCleared: _angular_core.OutputEmitterRef<RegularEventOutput<(e: boolean) => void>>;
|
|
628
|
+
onSortChanged: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.CurrentSorter[]) => void>>;
|
|
629
|
+
onTreeItemToggled: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.TreeToggleStateChange) => void>>;
|
|
630
|
+
onTreeFullToggleEnd: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.TreeToggleStateChange) => void>>;
|
|
631
|
+
onTreeFullToggleStart: _angular_core.OutputEmitterRef<RegularEventOutput<(e: angular_slickgrid.TreeToggleStateChange) => void>>;
|
|
632
|
+
onBeforeGridCreate: _angular_core.OutputEmitterRef<RegularEventOutput<(e: boolean) => void>>;
|
|
633
|
+
onGridCreated: _angular_core.OutputEmitterRef<RegularEventOutput<(e: SlickGrid) => void>>;
|
|
634
|
+
onDataviewCreated: _angular_core.OutputEmitterRef<RegularEventOutput<(e: SlickDataView) => void>>;
|
|
635
|
+
onAngularGridCreated: _angular_core.OutputEmitterRef<RegularEventOutput<(e: AngularGridInstance) => void>>;
|
|
636
|
+
onBeforeGridDestroy: _angular_core.OutputEmitterRef<RegularEventOutput<(e: SlickGrid) => void>>;
|
|
637
|
+
onAfterGridDestroyed: _angular_core.OutputEmitterRef<RegularEventOutput<(e: boolean) => void>>;
|
|
638
|
+
onLanguageChange: _angular_core.OutputEmitterRef<RegularEventOutput<(lang: string) => void>>;
|
|
639
|
+
get dataset(): any[];
|
|
640
|
+
set dataset(newDataset: any[]);
|
|
641
|
+
get datasetHierarchical(): any[] | undefined;
|
|
642
|
+
set datasetHierarchical(newHierarchicalDataset: any[] | undefined);
|
|
643
|
+
get elementRef(): ElementRef;
|
|
644
|
+
get backendService(): BackendService | undefined;
|
|
645
|
+
get eventHandler(): SlickEventHandler;
|
|
646
|
+
get gridContainerElement(): HTMLElement | null;
|
|
647
|
+
/** GETTER to know if dataset was initialized or not */
|
|
648
|
+
get isDatasetInitialized(): boolean;
|
|
649
|
+
/** SETTER to change if dataset was initialized or not (stringly used for unit testing purposes) */
|
|
650
|
+
set isDatasetInitialized(isInitialized: boolean);
|
|
651
|
+
set isDatasetHierarchicalInitialized(isInitialized: boolean);
|
|
652
|
+
get registeredResources(): Array<ExternalResource | ExternalResourceConstructor>;
|
|
653
|
+
slickgridHeader: TemplateRef<any> | null;
|
|
654
|
+
slickgridFooter: TemplateRef<any> | null;
|
|
655
|
+
constructor(angularUtilService: AngularUtilService, appRef: ApplicationRef, containerService: ContainerService, elm: ElementRef, translate: TranslateService, translaterService: TranslaterService, forRootConfig?: GridOption | undefined, externalServices?: ExternalTestingDependencies);
|
|
656
|
+
ngAfterViewInit(): void;
|
|
657
|
+
ngOnDestroy(): void;
|
|
658
|
+
destroy(shouldEmptyDomElementContainer?: boolean): void;
|
|
659
|
+
disposeExternalResources(): void;
|
|
660
|
+
emptyGridContainerElm(): void;
|
|
661
|
+
/**
|
|
662
|
+
* Define our internal Post Process callback, it will execute internally after we get back result from the Process backend call
|
|
663
|
+
* Currently ONLY available with the GraphQL Backend Service.
|
|
664
|
+
* The behavior is to refresh the Dataset & Pagination without requiring the user to create his own PostProcess every time
|
|
665
|
+
*/
|
|
666
|
+
createBackendApiInternalPostProcessCallback(gridOptions: GridOption): void;
|
|
667
|
+
initialization(eventHandler: SlickEventHandler): void;
|
|
668
|
+
/**
|
|
669
|
+
* On a Pagination changed, we will trigger a Grid State changed with the new pagination info
|
|
670
|
+
* Also if we use Row Selection or the Checkbox Selector with a Backend Service (Odata, GraphQL), we need to reset any selection
|
|
671
|
+
*/
|
|
672
|
+
paginationChanged(pagination: PaginationMetadata): void;
|
|
673
|
+
/**
|
|
674
|
+
* When dataset changes, we need to refresh the entire grid UI & possibly resize it as well
|
|
675
|
+
* @param dataset
|
|
676
|
+
*/
|
|
677
|
+
refreshGridData(dataset: any[], totalCount?: number): void;
|
|
678
|
+
setData(data: TData[], shouldAutosizeColumns?: boolean): void;
|
|
679
|
+
/**
|
|
680
|
+
* Check if there's any Pagination Presets defined in the Grid Options,
|
|
681
|
+
* if there are then load them in the paginationOptions object
|
|
682
|
+
*/
|
|
683
|
+
protected setPaginationOptionsWhenPresetDefined(gridOptions: GridOption, paginationOptions: Pagination): Pagination;
|
|
684
|
+
setDarkMode(dark?: boolean): void;
|
|
685
|
+
/**
|
|
686
|
+
* Dynamically change or update the column definitions list.
|
|
687
|
+
* We will re-render the grid so that the new header and data shows up correctly.
|
|
688
|
+
* If using i18n, we also need to trigger a re-translate of the column headers
|
|
689
|
+
*/
|
|
690
|
+
updateColumnDefinitionsList(newColumns: Column[]): void;
|
|
691
|
+
/**
|
|
692
|
+
* Show the filter row displayed on first row, we can optionally pass false to hide it.
|
|
693
|
+
* @param showing
|
|
694
|
+
*/
|
|
695
|
+
showHeaderRow(showing?: boolean): boolean;
|
|
696
|
+
/**
|
|
697
|
+
* Toggle the empty data warning message visibility.
|
|
698
|
+
* @param showWarning
|
|
699
|
+
*/
|
|
700
|
+
displayEmptyDataWarning(showWarning?: boolean): void;
|
|
701
|
+
/**
|
|
702
|
+
* Loop through all column definitions and copy the original optional `width` properties optionally provided by the user.
|
|
703
|
+
* We will use this when doing a resize by cell content, if user provided a `width` it won't override it.
|
|
704
|
+
*/
|
|
705
|
+
protected copyColumnWidthsReference(columns: Column[]): void;
|
|
706
|
+
protected bindDifferentHooks(grid: SlickGrid, gridOptions: GridOption, dataView: SlickDataView): void;
|
|
707
|
+
protected bindBackendCallbackFunctions(gridOptions: GridOption): void;
|
|
708
|
+
protected addBackendInfiniteScrollCallback(): void;
|
|
709
|
+
protected bindResizeHook(grid: SlickGrid, options: GridOption): void;
|
|
710
|
+
protected executeAfterDataviewCreated(_grid: SlickGrid, gridOptions: GridOption): void;
|
|
711
|
+
/** When data changes in the DataView, we'll refresh the metrics and/or display a warning if the dataset is empty */
|
|
712
|
+
protected handleOnItemCountChanged(currentPageRowItemCount: number, totalItemCount: number): void;
|
|
713
|
+
protected initializePaginationService(paginationOptions: Pagination): void;
|
|
714
|
+
/** Load the Editor Collection asynchronously and replace the "collection" property when Observable resolves */
|
|
715
|
+
protected loadEditorCollectionAsync(column: Column): void;
|
|
716
|
+
/** Load any possible Columns Grid Presets */
|
|
717
|
+
protected loadColumnPresetsWhenDatasetInitialized(): void;
|
|
718
|
+
/** Load any possible Filters Grid Presets */
|
|
719
|
+
protected loadFilterPresetsWhenDatasetInitialized(): void;
|
|
720
|
+
/**
|
|
721
|
+
* local grid, check if we need to show the Pagination
|
|
722
|
+
* if so then also check if there's any presets and finally initialize the PaginationService
|
|
723
|
+
* a local grid with Pagination presets will potentially have a different total of items, we'll need to get it from the DataView and update our total
|
|
724
|
+
*/
|
|
725
|
+
protected loadLocalGridPagination(dataset?: any[]): void;
|
|
726
|
+
/** Load any Row Selections into the DataView that were presets by the user */
|
|
727
|
+
protected loadRowSelectionPresetWhenExists(): void;
|
|
728
|
+
hasBackendInfiniteScroll(gridOptions?: GridOption): boolean;
|
|
729
|
+
protected mergeGridOptions(gridOptions: GridOption): GridOption;
|
|
730
|
+
/** Add a register of a new external resource, user could also optional dispose all previous resources before pushing any new resources to the resources array list. */
|
|
731
|
+
registerExternalResources(resources: Array<ExternalResource | ExternalResourceConstructor>, disposePreviousResources?: boolean): void;
|
|
732
|
+
resetExternalResources(): void;
|
|
733
|
+
/** Pre-Register any Resource that don't require SlickGrid to be instantiated (for example RxJS Resource & RowDetail) */
|
|
734
|
+
protected preRegisterResources(): void;
|
|
735
|
+
/** initialized & auto-enable external registered resources, e.g. if user registers `ExcelExportService` then let's auto-enable `enableExcelExport:true` */
|
|
736
|
+
protected autoEnableInitializedResources(resource: ExternalResource | ExternalResourceConstructor): void;
|
|
737
|
+
protected initializeExternalResources(resources: Array<ExternalResource | ExternalResourceConstructor>): void;
|
|
738
|
+
protected registerResources(): void;
|
|
739
|
+
/** Register the RxJS Resource in all necessary services which uses */
|
|
740
|
+
protected registerRxJsResource(resource: RxJsFacade): void;
|
|
741
|
+
/**
|
|
742
|
+
* Render (or dispose) the Pagination Component, user can optionally provide False (to not show it) which will in term dispose of the Pagination,
|
|
743
|
+
* also while disposing we can choose to omit the disposable of the Pagination Service (if we are simply toggling the Pagination, we want to keep the Service alive)
|
|
744
|
+
* @param {Boolean} showPagination - show (new render) or not (dispose) the Pagination
|
|
745
|
+
* @param {Boolean} shouldDisposePaginationService - when disposing the Pagination, do we also want to dispose of the Pagination Service? (defaults to True)
|
|
746
|
+
*/
|
|
747
|
+
protected renderPagination(showPagination?: boolean): void;
|
|
748
|
+
/**
|
|
749
|
+
* Takes a flat dataset with parent/child relationship, sort it (via its tree structure) and return the sorted flat array
|
|
750
|
+
* @param {Array<Object>} flatDatasetInput - flat dataset input
|
|
751
|
+
* @param {Boolean} forceGridRefresh - optionally force a full grid refresh
|
|
752
|
+
* @returns {Array<Object>} sort flat parent/child dataset
|
|
753
|
+
*/
|
|
754
|
+
protected sortTreeDataset<T>(flatDatasetInput: T[], forceGridRefresh?: boolean): T[];
|
|
755
|
+
/** Prepare and load all SlickGrid editors, if an async editor is found then we'll also execute it. */
|
|
756
|
+
protected loadSlickGridEditors(columns: Column<TData>[]): Column<TData>[];
|
|
757
|
+
protected suggestDateParsingWhenHelpful(): void;
|
|
758
|
+
/**
|
|
759
|
+
* When the Editor(s) has a "editor.collection" property, we'll load the async collection.
|
|
760
|
+
* Since this is called after the async call resolves, the pointer will not be the same as the "column" argument passed.
|
|
761
|
+
*/
|
|
762
|
+
protected updateEditorCollection<T = any>(column: Column<T>, newCollection: T[]): void;
|
|
763
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AngularSlickgridComponent<any>, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
764
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AngularSlickgridComponent<any>, "angular-slickgrid", never, { "customDataView": { "alias": "customDataView"; "required": false; }; "gridId": { "alias": "gridId"; "required": false; }; "options": { "alias": "options"; "required": false; }; "containerClasses": { "alias": "containerClasses"; "required": false; }; "paginationOptions": { "alias": "paginationOptions"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "dataset": { "alias": "dataset"; "required": false; }; "datasetHierarchical": { "alias": "datasetHierarchical"; "required": false; }; }, { "columnsChange": "columnsChange"; "onActiveCellChanged": "onActiveCellChanged"; "onActiveCellPositionChanged": "onActiveCellPositionChanged"; "onAddNewRow": "onAddNewRow"; "onAutosizeColumns": "onAutosizeColumns"; "onBeforeAppendCell": "onBeforeAppendCell"; "onBeforeCellEditorDestroy": "onBeforeCellEditorDestroy"; "onBeforeColumnsResize": "onBeforeColumnsResize"; "onBeforeDestroy": "onBeforeDestroy"; "onBeforeEditCell": "onBeforeEditCell"; "onBeforeHeaderCellDestroy": "onBeforeHeaderCellDestroy"; "onBeforeHeaderRowCellDestroy": "onBeforeHeaderRowCellDestroy"; "onBeforeFooterRowCellDestroy": "onBeforeFooterRowCellDestroy"; "onBeforeSetColumns": "onBeforeSetColumns"; "onBeforeSort": "onBeforeSort"; "onCellChange": "onCellChange"; "onCellCssStylesChanged": "onCellCssStylesChanged"; "onClick": "onClick"; "onColumnsDrag": "onColumnsDrag"; "onColumnsReordered": "onColumnsReordered"; "onColumnsResized": "onColumnsResized"; "onColumnsResizeDblClick": "onColumnsResizeDblClick"; "onCompositeEditorChange": "onCompositeEditorChange"; "onContextMenu": "onContextMenu"; "onDrag": "onDrag"; "onDragEnd": "onDragEnd"; "onDragInit": "onDragInit"; "onDragStart": "onDragStart"; "onDragReplaceCells": "onDragReplaceCells"; "onDblClick": "onDblClick"; "onFooterContextMenu": "onFooterContextMenu"; "onFooterRowCellRendered": "onFooterRowCellRendered"; "onHeaderCellRendered": "onHeaderCellRendered"; "onFooterClick": "onFooterClick"; "onHeaderClick": "onHeaderClick"; "onHeaderContextMenu": "onHeaderContextMenu"; "onHeaderMouseEnter": "onHeaderMouseEnter"; "onHeaderMouseLeave": "onHeaderMouseLeave"; "onHeaderRowCellRendered": "onHeaderRowCellRendered"; "onHeaderRowMouseEnter": "onHeaderRowMouseEnter"; "onHeaderRowMouseLeave": "onHeaderRowMouseLeave"; "onKeyDown": "onKeyDown"; "onMouseEnter": "onMouseEnter"; "onMouseLeave": "onMouseLeave"; "onValidationError": "onValidationError"; "onViewportChanged": "onViewportChanged"; "onRendered": "onRendered"; "onSelectedRowsChanged": "onSelectedRowsChanged"; "onSetOptions": "onSetOptions"; "onScroll": "onScroll"; "onSort": "onSort"; "onBeforePagingInfoChanged": "onBeforePagingInfoChanged"; "onGroupExpanded": "onGroupExpanded"; "onGroupCollapsed": "onGroupCollapsed"; "onPagingInfoChanged": "onPagingInfoChanged"; "onRowCountChanged": "onRowCountChanged"; "onRowsChanged": "onRowsChanged"; "onRowsOrCountChanged": "onRowsOrCountChanged"; "onSelectedRowIdsChanged": "onSelectedRowIdsChanged"; "onSetItemsCalled": "onSetItemsCalled"; "onAfterMenuShow": "onAfterMenuShow"; "onBeforeMenuClose": "onBeforeMenuClose"; "onBeforeMenuShow": "onBeforeMenuShow"; "onColumnsChanged": "onColumnsChanged"; "onCommand": "onCommand"; "onGridMenuColumnsChanged": "onGridMenuColumnsChanged"; "onMenuClose": "onMenuClose"; "onCopyCells": "onCopyCells"; "onCopyCancelled": "onCopyCancelled"; "onPasteCells": "onPasteCells"; "onBeforePasteCell": "onBeforePasteCell"; "onAfterExportToExcel": "onAfterExportToExcel"; "onBeforeExportToExcel": "onBeforeExportToExcel"; "onBeforeFilterChange": "onBeforeFilterChange"; "onBeforeFilterClear": "onBeforeFilterClear"; "onBeforeSearchChange": "onBeforeSearchChange"; "onBeforeSortChange": "onBeforeSortChange"; "onContextMenuClearGrouping": "onContextMenuClearGrouping"; "onContextMenuCollapseAllGroups": "onContextMenuCollapseAllGroups"; "onContextMenuExpandAllGroups": "onContextMenuExpandAllGroups"; "onOptionSelected": "onOptionSelected"; "onColumnPickerColumnsChanged": "onColumnPickerColumnsChanged"; "onGridMenuMenuClose": "onGridMenuMenuClose"; "onGridMenuBeforeMenuShow": "onGridMenuBeforeMenuShow"; "onGridMenuAfterMenuShow": "onGridMenuAfterMenuShow"; "onGridMenuClearAllPinning": "onGridMenuClearAllPinning"; "onGridMenuClearAllFilters": "onGridMenuClearAllFilters"; "onGridMenuClearAllSorting": "onGridMenuClearAllSorting"; "onGridMenuCommand": "onGridMenuCommand"; "onHeaderButtonCommand": "onHeaderButtonCommand"; "onHeaderMenuCommand": "onHeaderMenuCommand"; "onHeaderMenuColumnResizeByContent": "onHeaderMenuColumnResizeByContent"; "onHeaderMenuBeforeMenuShow": "onHeaderMenuBeforeMenuShow"; "onHeaderMenuAfterMenuShow": "onHeaderMenuAfterMenuShow"; "onHideColumns": "onHideColumns"; "onItemsAdded": "onItemsAdded"; "onItemsDeleted": "onItemsDeleted"; "onItemsUpdated": "onItemsUpdated"; "onItemsUpserted": "onItemsUpserted"; "onFullResizeByContentRequested": "onFullResizeByContentRequested"; "onGridStateChanged": "onGridStateChanged"; "onBeforePaginationChange": "onBeforePaginationChange"; "onPaginationChanged": "onPaginationChanged"; "onPaginationRefreshed": "onPaginationRefreshed"; "onPaginationVisibilityChanged": "onPaginationVisibilityChanged"; "onPaginationSetCursorBased": "onPaginationSetCursorBased"; "onGridBeforeResize": "onGridBeforeResize"; "onGridAfterResize": "onGridAfterResize"; "onBeforeResizeByContent": "onBeforeResizeByContent"; "onAfterResizeByContent": "onAfterResizeByContent"; "onSortCleared": "onSortCleared"; "onFilterChanged": "onFilterChanged"; "onFilterCleared": "onFilterCleared"; "onSortChanged": "onSortChanged"; "onTreeItemToggled": "onTreeItemToggled"; "onTreeFullToggleEnd": "onTreeFullToggleEnd"; "onTreeFullToggleStart": "onTreeFullToggleStart"; "onBeforeGridCreate": "onBeforeGridCreate"; "onGridCreated": "onGridCreated"; "onDataviewCreated": "onDataviewCreated"; "onAngularGridCreated": "onAngularGridCreated"; "onBeforeGridDestroy": "onBeforeGridDestroy"; "onAfterGridDestroyed": "onAfterGridDestroyed"; "onLanguageChange": "onLanguageChange"; }, ["slickgridHeader", "slickgridFooter"], never, true, never>;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
export { AngularSlickgridComponent, AngularUtilService, SlickgridConfig, unsubscribeAllObservables };
|
|
768
|
+
export type { AngularComponentOutput, AngularGridInstance, AngularSlickgridOutputs, GridOption, RowDetailView };
|