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
package/index.d.ts
DELETED
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import type { Column, ColumnSort, CurrentFilter, CurrentSorter, DragRowMove, ExportTextDownloadOption, GridMenuCommandItemCallbackArgs, GridMenuEventWithElementCallbackArgs, GridSize, GridStateChange, HeaderButtonOnCommandArgs, HeaderMenuCommandItemCallbackArgs, MenuCommandItemCallbackArgs, MenuFromCellCallbackArgs, MenuOptionItemCallbackArgs, OnActiveCellChangedEventArgs, OnAddNewRowEventArgs, OnAutosizeColumnsEventArgs, OnBeforeAppendCellEventArgs, OnBeforeCellEditorDestroyEventArgs, OnBeforeColumnsResizeEventArgs, OnBeforeEditCellEventArgs, OnBeforeFooterRowCellDestroyEventArgs, OnBeforeHeaderCellDestroyEventArgs, OnBeforeHeaderRowCellDestroyEventArgs, OnBeforeSetColumnsEventArgs, OnCellChangeEventArgs, OnCellCssStylesChangedEventArgs, OnClickEventArgs, OnColumnsChangedArgs, OnColumnsDragEventArgs, OnColumnsReorderedEventArgs, OnColumnsResizeDblClickEventArgs, OnColumnsResizedEventArgs, OnCompositeEditorChangeEventArgs, OnDblClickEventArgs, OnDragReplaceCellsEventArgs, OnFooterClickEventArgs, OnFooterContextMenuEventArgs, OnFooterRowCellRenderedEventArgs, OnGroupCollapsedEventArgs, OnGroupExpandedEventArgs, OnHeaderCellRenderedEventArgs, OnHeaderClickEventArgs, OnHeaderContextMenuEventArgs, OnHeaderMouseEventArgs, OnHeaderRowCellRenderedEventArgs, OnKeyDownEventArgs, OnRenderedEventArgs, OnRowCountChangedEventArgs, OnRowsChangedEventArgs, OnRowsOrCountChangedEventArgs, OnScrollEventArgs, OnSearchChangeEventArgs, OnSelectedRowIdsChangedEventArgs, OnSelectedRowsChangedEventArgs, OnSetItemsCalledEventArgs, OnSetOptionsEventArgs, OnValidationErrorEventArgs, PaginationMetadata, PagingInfo, SingleColumnSort, SlickDataView, SlickGrid, SlickRange, TreeToggleStateChange } from '@slickgrid-universal/common';
|
|
2
|
-
import type { AngularGridInstance } from '../models/index';
|
|
3
|
-
/**
|
|
4
|
-
* Generic type for wrapping event output with detail property
|
|
5
|
-
* Used for typed Angular output() signals that need both eventData and args
|
|
6
|
-
* Extends CustomEvent for compatibility with event handlers
|
|
7
|
-
* @template T - The event function type from AngularSlickgridOutputs interface
|
|
8
|
-
*/
|
|
9
|
-
export type SlickEventOutput<T extends (...args: any) => any> = CustomEvent<{
|
|
10
|
-
eventData: any;
|
|
11
|
-
args: Parameters<T>[0];
|
|
12
|
-
}>;
|
|
13
|
-
/**
|
|
14
|
-
* Generic type for wrapping simple event output with detail property
|
|
15
|
-
* Extends CustomEvent for compatibility with event handlers
|
|
16
|
-
* @template T - The event function type from AngularSlickgridOutputs interface
|
|
17
|
-
*/
|
|
18
|
-
export type RegularEventOutput<T extends (...args: any) => any> = CustomEvent<Parameters<T>[0]>;
|
|
19
|
-
/**
|
|
20
|
-
* Angular-Slickgrid Output Events Interface
|
|
21
|
-
* Defines all typed output signals for strict template type checking in Angular 17+
|
|
22
|
-
* These are automatically managed by the AngularSlickgridComponent and should be used in templates
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```html
|
|
26
|
-
* <angular-slickgrid
|
|
27
|
-
* (onActiveCellChanged)="handleCellChange($event)"
|
|
28
|
-
* (onAngularGridCreated)="handleGridCreated($event)"
|
|
29
|
-
* ></angular-slickgrid>
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
export interface AngularSlickgridOutputs {
|
|
33
|
-
onActiveCellChanged: (e: OnActiveCellChangedEventArgs) => void;
|
|
34
|
-
onActiveCellPositionChanged: (e: {
|
|
35
|
-
grid: SlickGrid;
|
|
36
|
-
}) => void;
|
|
37
|
-
onAddNewRow: (e: OnAddNewRowEventArgs) => void;
|
|
38
|
-
onAutosizeColumns: (e: OnAutosizeColumnsEventArgs) => void;
|
|
39
|
-
onBeforeAppendCell: (e: OnBeforeAppendCellEventArgs) => void;
|
|
40
|
-
onBeforeCellEditorDestroy: (e: OnBeforeCellEditorDestroyEventArgs) => void;
|
|
41
|
-
onBeforeColumnsResize: (e: OnBeforeColumnsResizeEventArgs) => void;
|
|
42
|
-
onBeforeDestroy: (e: {
|
|
43
|
-
grid: SlickGrid;
|
|
44
|
-
}) => void;
|
|
45
|
-
onBeforeEditCell: (e: OnBeforeEditCellEventArgs) => void;
|
|
46
|
-
onBeforeHeaderCellDestroy: (e: OnBeforeHeaderCellDestroyEventArgs) => void;
|
|
47
|
-
onBeforeHeaderRowCellDestroy: (e: OnBeforeHeaderRowCellDestroyEventArgs) => void;
|
|
48
|
-
onBeforeFooterRowCellDestroy: (e: OnBeforeFooterRowCellDestroyEventArgs) => void;
|
|
49
|
-
onBeforeSetColumns: (e: OnBeforeSetColumnsEventArgs) => void;
|
|
50
|
-
onBeforeSort: (e: SingleColumnSort) => boolean | void;
|
|
51
|
-
onCellChange: (e: OnCellChangeEventArgs) => void;
|
|
52
|
-
onCellCssStylesChanged: (e: OnCellCssStylesChangedEventArgs) => void;
|
|
53
|
-
onClick: (e: OnClickEventArgs) => void;
|
|
54
|
-
onColumnsDrag: (e: OnColumnsDragEventArgs) => void;
|
|
55
|
-
onColumnsReordered: (e: OnColumnsReorderedEventArgs) => void;
|
|
56
|
-
onColumnsResized: (e: OnColumnsResizedEventArgs) => void;
|
|
57
|
-
onColumnsResizeDblClick: (e: OnColumnsResizeDblClickEventArgs) => void;
|
|
58
|
-
onCompositeEditorChange: (e: OnCompositeEditorChangeEventArgs) => void;
|
|
59
|
-
onContextMenu: (e: {
|
|
60
|
-
grid: SlickGrid;
|
|
61
|
-
}) => void;
|
|
62
|
-
onDrag: (e: DragRowMove) => void;
|
|
63
|
-
onDragEnd: (e: DragRowMove) => void;
|
|
64
|
-
onDragInit: (e: DragRowMove) => void;
|
|
65
|
-
onDragStart: (e: DragRowMove) => void;
|
|
66
|
-
onDragReplaceCells: (e: OnDragReplaceCellsEventArgs) => void;
|
|
67
|
-
onDblClick: (e: OnDblClickEventArgs) => void;
|
|
68
|
-
onFooterContextMenu: (e: OnFooterContextMenuEventArgs) => void;
|
|
69
|
-
onFooterRowCellRendered: (e: OnFooterRowCellRenderedEventArgs) => void;
|
|
70
|
-
onHeaderCellRendered: (e: OnHeaderCellRenderedEventArgs) => void;
|
|
71
|
-
onFooterClick: (e: OnFooterClickEventArgs) => void;
|
|
72
|
-
onHeaderClick: (e: OnHeaderClickEventArgs) => void;
|
|
73
|
-
onHeaderContextMenu: (e: OnHeaderContextMenuEventArgs) => void;
|
|
74
|
-
onHeaderMouseEnter: (e: OnHeaderMouseEventArgs) => void;
|
|
75
|
-
onHeaderMouseLeave: (e: OnHeaderMouseEventArgs) => void;
|
|
76
|
-
onHeaderRowCellRendered: (e: OnHeaderRowCellRenderedEventArgs) => void;
|
|
77
|
-
onHeaderRowMouseEnter: (e: OnHeaderMouseEventArgs) => void;
|
|
78
|
-
onHeaderRowMouseLeave: (e: OnHeaderMouseEventArgs) => void;
|
|
79
|
-
onKeyDown: (e: OnKeyDownEventArgs) => void;
|
|
80
|
-
onMouseEnter: (e: {
|
|
81
|
-
grid: SlickGrid;
|
|
82
|
-
}) => void;
|
|
83
|
-
onMouseLeave: (e: {
|
|
84
|
-
grid: SlickGrid;
|
|
85
|
-
}) => void;
|
|
86
|
-
onValidationError: (e: OnValidationErrorEventArgs) => void;
|
|
87
|
-
onViewportChanged: (e: {
|
|
88
|
-
grid: SlickGrid;
|
|
89
|
-
}) => void;
|
|
90
|
-
onRendered: (e: OnRenderedEventArgs) => void;
|
|
91
|
-
onSelectedRowsChanged: (e: OnSelectedRowsChangedEventArgs) => void;
|
|
92
|
-
onSetOptions: (e: OnSetOptionsEventArgs) => void;
|
|
93
|
-
onScroll: (e: OnScrollEventArgs) => void;
|
|
94
|
-
onSort: (e: SingleColumnSort) => void;
|
|
95
|
-
onBeforePagingInfoChanged: (e: PagingInfo) => void;
|
|
96
|
-
onGroupExpanded: (e: OnGroupExpandedEventArgs) => void;
|
|
97
|
-
onGroupCollapsed: (e: OnGroupCollapsedEventArgs) => void;
|
|
98
|
-
onPagingInfoChanged: (e: PagingInfo) => void;
|
|
99
|
-
onRowCountChanged: (e: OnRowCountChangedEventArgs) => void;
|
|
100
|
-
onRowsChanged: (e: OnRowsChangedEventArgs) => void;
|
|
101
|
-
onRowsOrCountChanged: (e: OnRowsOrCountChangedEventArgs) => void;
|
|
102
|
-
onSetItemsCalled: (e: OnSetItemsCalledEventArgs) => void;
|
|
103
|
-
onAfterMenuShow: (e: MenuFromCellCallbackArgs) => void;
|
|
104
|
-
onBeforeMenuClose: (e: MenuFromCellCallbackArgs) => void;
|
|
105
|
-
onBeforeMenuShow: (e: MenuFromCellCallbackArgs) => void;
|
|
106
|
-
onColumnsChanged: (e: OnColumnsChangedArgs) => void;
|
|
107
|
-
onCommand: (e: MenuCommandItemCallbackArgs | MenuOptionItemCallbackArgs) => void;
|
|
108
|
-
onGridMenuColumnsChanged: (e: OnColumnsChangedArgs) => void;
|
|
109
|
-
onMenuClose: (e: GridMenuEventWithElementCallbackArgs) => void;
|
|
110
|
-
onCopyCells: (e: {
|
|
111
|
-
ranges: SlickRange[];
|
|
112
|
-
}) => void;
|
|
113
|
-
onCopyCancelled: (e: {
|
|
114
|
-
ranges: SlickRange[];
|
|
115
|
-
}) => void;
|
|
116
|
-
onPasteCells: (e: {
|
|
117
|
-
ranges: SlickRange[];
|
|
118
|
-
}) => void;
|
|
119
|
-
onBeforePasteCell: (e: {
|
|
120
|
-
cell: number;
|
|
121
|
-
row: number;
|
|
122
|
-
item: any;
|
|
123
|
-
columnDef: Column;
|
|
124
|
-
value: any;
|
|
125
|
-
}) => void;
|
|
126
|
-
onAfterExportToExcel: (e: {
|
|
127
|
-
filename: string;
|
|
128
|
-
mimeType: string;
|
|
129
|
-
} | {
|
|
130
|
-
error: any;
|
|
131
|
-
}) => void;
|
|
132
|
-
onBeforeExportToExcel: (e: boolean) => void;
|
|
133
|
-
onAfterExportToPdf: (e: {
|
|
134
|
-
filename: string;
|
|
135
|
-
} | {
|
|
136
|
-
error: any;
|
|
137
|
-
}) => void;
|
|
138
|
-
onBeforeExportToPdf: (e: boolean) => void;
|
|
139
|
-
onBeforeExportToTextFile?: (e: boolean) => void;
|
|
140
|
-
onAfterExportToTextFile?: (e: ExportTextDownloadOption) => void;
|
|
141
|
-
onBeforeFilterChange: (e: CurrentFilter[]) => void;
|
|
142
|
-
onBeforeFilterClear: (e: {
|
|
143
|
-
columnId: string;
|
|
144
|
-
} | boolean) => void;
|
|
145
|
-
onBeforeSearchChange: (e: OnSearchChangeEventArgs) => boolean | void;
|
|
146
|
-
onBeforeSortChange: (e: Array<ColumnSort & {
|
|
147
|
-
clearSortTriggered?: boolean;
|
|
148
|
-
}>) => void;
|
|
149
|
-
onContextMenuClearGrouping: () => void;
|
|
150
|
-
onContextMenuCollapseAllGroups: () => void;
|
|
151
|
-
onContextMenuExpandAllGroups: () => void;
|
|
152
|
-
onOptionSelected: (e: MenuCommandItemCallbackArgs | MenuOptionItemCallbackArgs) => void;
|
|
153
|
-
onColumnPickerColumnsChanged: (e: OnColumnsChangedArgs) => void;
|
|
154
|
-
onGridMenuMenuClose: (e: GridMenuEventWithElementCallbackArgs) => void;
|
|
155
|
-
onGridMenuBeforeMenuShow: (e: GridMenuEventWithElementCallbackArgs) => void;
|
|
156
|
-
onGridMenuAfterMenuShow: (e: GridMenuEventWithElementCallbackArgs) => void;
|
|
157
|
-
onGridMenuClearAllPinning: () => void;
|
|
158
|
-
onGridMenuClearAllFilters: () => void;
|
|
159
|
-
onGridMenuClearAllSorting: () => void;
|
|
160
|
-
onGridMenuCommand: (e: GridMenuCommandItemCallbackArgs) => void;
|
|
161
|
-
onHeaderButtonCommand: (e: HeaderButtonOnCommandArgs) => void;
|
|
162
|
-
onHeaderMenuCommand: (e: MenuCommandItemCallbackArgs) => void;
|
|
163
|
-
onHeaderMenuColumnResizeByContent: (e: {
|
|
164
|
-
columnId: string;
|
|
165
|
-
}) => void;
|
|
166
|
-
onHeaderMenuBeforeMenuShow: (e: HeaderMenuCommandItemCallbackArgs) => void;
|
|
167
|
-
onHeaderMenuAfterMenuShow: (e: HeaderMenuCommandItemCallbackArgs) => void;
|
|
168
|
-
onHideColumns: (e: {
|
|
169
|
-
columns: Column[];
|
|
170
|
-
hiddenColumn: Column[];
|
|
171
|
-
}) => void;
|
|
172
|
-
onItemsAdded: (e: any[]) => void;
|
|
173
|
-
onItemsDeleted: (e: any[]) => void;
|
|
174
|
-
onItemsUpdated: (e: any[]) => void;
|
|
175
|
-
onItemsUpserted: (e: any[]) => void;
|
|
176
|
-
onFullResizeByContentRequested: (e: {
|
|
177
|
-
caller: string;
|
|
178
|
-
}) => void;
|
|
179
|
-
onGridStateChanged: (e: GridStateChange) => void;
|
|
180
|
-
onBeforePaginationChange: (e: PaginationMetadata) => boolean | void;
|
|
181
|
-
onPaginationChanged: (e: PaginationMetadata) => void;
|
|
182
|
-
onPaginationRefreshed: (e: PaginationMetadata) => void;
|
|
183
|
-
onPaginationVisibilityChanged: (e: {
|
|
184
|
-
visible: boolean;
|
|
185
|
-
}) => void;
|
|
186
|
-
onPaginationSetCursorBased: (e: {
|
|
187
|
-
isCursorBased: boolean;
|
|
188
|
-
}) => void;
|
|
189
|
-
onGridBeforeResize: () => void;
|
|
190
|
-
onGridAfterResize: (e: GridSize | undefined) => void;
|
|
191
|
-
onBeforeResizeByContent: () => void;
|
|
192
|
-
onAfterResizeByContent: (e: {
|
|
193
|
-
readItemCount: number;
|
|
194
|
-
calculateColumnWidths: {
|
|
195
|
-
[x: string]: number | undefined;
|
|
196
|
-
[x: number]: number | undefined;
|
|
197
|
-
};
|
|
198
|
-
}) => void;
|
|
199
|
-
onSelectedRowIdsChanged: (e: OnSelectedRowIdsChangedEventArgs) => void;
|
|
200
|
-
onSortCleared: (e: boolean) => void;
|
|
201
|
-
onFilterChanged: (e: CurrentFilter[]) => void;
|
|
202
|
-
onFilterCleared: (e: boolean) => void;
|
|
203
|
-
onSortChanged: (e: CurrentSorter[]) => void;
|
|
204
|
-
onTreeItemToggled: (e: TreeToggleStateChange) => void;
|
|
205
|
-
onTreeFullToggleEnd: (e: TreeToggleStateChange) => void;
|
|
206
|
-
onTreeFullToggleStart: (e: TreeToggleStateChange) => void;
|
|
207
|
-
onBeforeGridCreate: (e: boolean) => void;
|
|
208
|
-
onGridCreated: (e: SlickGrid) => void;
|
|
209
|
-
onDataviewCreated: (e: SlickDataView) => void;
|
|
210
|
-
onAngularGridCreated: (e: AngularGridInstance) => void;
|
|
211
|
-
onBeforeGridDestroy: (e: SlickGrid) => void;
|
|
212
|
-
onAfterGridDestroyed: (e: boolean) => void;
|
|
213
|
-
onLanguageChange: (lang: string) => void;
|
|
214
|
-
}
|
|
@@ -1,382 +0,0 @@
|
|
|
1
|
-
import { ApplicationRef, ChangeDetectorRef, ElementRef, EventEmitter, type AfterViewInit, type OnDestroy, type TemplateRef } from '@angular/core';
|
|
2
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
-
import { BackendUtilityService, CollectionService, ExtensionService, ExtensionUtility, FilterFactory, FilterService, GridEventService, GridService, GridStateService, HeaderGroupingService, PaginationService, ResizerService, SharedService, SlickDataView, SlickEventHandler, SlickGrid, SlickGroupItemMetadataProvider, SortService, TreeDataService, type BackendService, type BackendServiceApi, type BasePaginationComponent, type Column, type EventSubscription, type ExternalResource, type Locale, type Metrics, type Pagination, type PaginationMetadata, type RxJsFacade } from '@slickgrid-universal/common';
|
|
4
|
-
import { SlickFooterComponent } from '@slickgrid-universal/custom-footer-component';
|
|
5
|
-
import { SlickEmptyWarningComponent } from '@slickgrid-universal/empty-warning-component';
|
|
6
|
-
import { EventPubSubService } from '@slickgrid-universal/event-pub-sub';
|
|
7
|
-
import { SlickRowDetailView } from '../extensions/slickRowDetailView';
|
|
8
|
-
import type { AngularGridInstance, ExternalTestingDependencies, GridOption } from '../models/index';
|
|
9
|
-
import { AngularUtilService } from '../services/angularUtil.service';
|
|
10
|
-
import { ContainerService } from '../services/container.service';
|
|
11
|
-
import { TranslaterService } from '../services/translater.service';
|
|
12
|
-
import type { RegularEventOutput, SlickEventOutput } from './angular-slickgrid-outputs.interface';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
export declare class AngularSlickgridComponent<TData = any> implements AfterViewInit, OnDestroy {
|
|
15
|
-
protected readonly angularUtilService: AngularUtilService;
|
|
16
|
-
protected readonly appRef: ApplicationRef;
|
|
17
|
-
protected readonly cd: ChangeDetectorRef;
|
|
18
|
-
protected readonly containerService: ContainerService;
|
|
19
|
-
protected readonly elm: ElementRef;
|
|
20
|
-
protected readonly translate: TranslateService;
|
|
21
|
-
protected readonly translaterService: TranslaterService;
|
|
22
|
-
protected forRootConfig: GridOption;
|
|
23
|
-
protected _dataset?: TData[] | null;
|
|
24
|
-
protected _columnDefinitions: Column[];
|
|
25
|
-
protected _currentDatasetLength: number;
|
|
26
|
-
protected _darkMode: boolean;
|
|
27
|
-
protected _eventHandler: SlickEventHandler;
|
|
28
|
-
protected _eventPubSubService: EventPubSubService;
|
|
29
|
-
protected _angularGridInstances: AngularGridInstance | undefined;
|
|
30
|
-
protected _hideHeaderRowAfterPageLoad: boolean;
|
|
31
|
-
protected _isAutosizeColsCalled: boolean;
|
|
32
|
-
protected _isGridInitialized: boolean;
|
|
33
|
-
protected _isDatasetInitialized: boolean;
|
|
34
|
-
protected _isDatasetHierarchicalInitialized: boolean;
|
|
35
|
-
protected _isPaginationInitialized: boolean;
|
|
36
|
-
protected _isLocalGrid: boolean;
|
|
37
|
-
protected _paginationOptions: Pagination | undefined;
|
|
38
|
-
protected _registeredResources: ExternalResource[];
|
|
39
|
-
protected _scrollEndCalled: boolean;
|
|
40
|
-
dataView: SlickDataView;
|
|
41
|
-
slickGrid: SlickGrid;
|
|
42
|
-
groupingDefinition: any;
|
|
43
|
-
groupItemMetadataProvider?: SlickGroupItemMetadataProvider;
|
|
44
|
-
backendServiceApi?: BackendServiceApi;
|
|
45
|
-
locales: Locale;
|
|
46
|
-
metrics?: Metrics;
|
|
47
|
-
showPagination: boolean;
|
|
48
|
-
serviceList: any[];
|
|
49
|
-
totalItems: number;
|
|
50
|
-
paginationData?: {
|
|
51
|
-
gridOptions: GridOption;
|
|
52
|
-
paginationService: PaginationService;
|
|
53
|
-
};
|
|
54
|
-
subscriptions: EventSubscription[];
|
|
55
|
-
slickEmptyWarning?: SlickEmptyWarningComponent;
|
|
56
|
-
slickFooter?: SlickFooterComponent;
|
|
57
|
-
slickPagination?: BasePaginationComponent;
|
|
58
|
-
paginationComponent: BasePaginationComponent | undefined;
|
|
59
|
-
slickRowDetailView?: SlickRowDetailView;
|
|
60
|
-
backendUtilityService: BackendUtilityService;
|
|
61
|
-
collectionService: CollectionService;
|
|
62
|
-
extensionService: ExtensionService;
|
|
63
|
-
extensionUtility: ExtensionUtility;
|
|
64
|
-
filterFactory: FilterFactory;
|
|
65
|
-
filterService: FilterService;
|
|
66
|
-
gridEventService: GridEventService;
|
|
67
|
-
gridService: GridService;
|
|
68
|
-
gridStateService: GridStateService;
|
|
69
|
-
headerGroupingService: HeaderGroupingService;
|
|
70
|
-
paginationService: PaginationService;
|
|
71
|
-
resizerService: ResizerService;
|
|
72
|
-
rxjs?: RxJsFacade;
|
|
73
|
-
sharedService: SharedService;
|
|
74
|
-
sortService: SortService;
|
|
75
|
-
treeDataService: TreeDataService;
|
|
76
|
-
customDataView: any;
|
|
77
|
-
gridId: string;
|
|
78
|
-
options: GridOption;
|
|
79
|
-
get paginationOptions(): Pagination | undefined;
|
|
80
|
-
set paginationOptions(newPaginationOptions: Pagination | undefined);
|
|
81
|
-
get columns(): Column[];
|
|
82
|
-
set columns(columns: Column[]);
|
|
83
|
-
columnsChange: EventEmitter<any>;
|
|
84
|
-
onActiveCellChanged: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnActiveCellChangedEventArgs) => void>>;
|
|
85
|
-
onActiveCellPositionChanged: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: {
|
|
86
|
-
grid: SlickGrid;
|
|
87
|
-
}) => void>>;
|
|
88
|
-
onAddNewRow: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnAddNewRowEventArgs) => void>>;
|
|
89
|
-
onAutosizeColumns: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnAutosizeColumnsEventArgs) => void>>;
|
|
90
|
-
onBeforeAppendCell: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnBeforeAppendCellEventArgs) => void>>;
|
|
91
|
-
onBeforeCellEditorDestroy: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnBeforeCellEditorDestroyEventArgs) => void>>;
|
|
92
|
-
onBeforeColumnsResize: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnBeforeColumnsResizeEventArgs) => void>>;
|
|
93
|
-
onBeforeDestroy: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: {
|
|
94
|
-
grid: SlickGrid;
|
|
95
|
-
}) => void>>;
|
|
96
|
-
onBeforeEditCell: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnBeforeEditCellEventArgs) => void>>;
|
|
97
|
-
onBeforeHeaderCellDestroy: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnBeforeHeaderCellDestroyEventArgs) => void>>;
|
|
98
|
-
onBeforeHeaderRowCellDestroy: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnBeforeHeaderRowCellDestroyEventArgs) => void>>;
|
|
99
|
-
onBeforeFooterRowCellDestroy: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnBeforeFooterRowCellDestroyEventArgs) => void>>;
|
|
100
|
-
onBeforeSetColumns: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnBeforeSetColumnsEventArgs) => void>>;
|
|
101
|
-
onBeforeSort: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").SingleColumnSort) => boolean | void>>;
|
|
102
|
-
onCellChange: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnCellChangeEventArgs) => void>>;
|
|
103
|
-
onCellCssStylesChanged: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnCellCssStylesChangedEventArgs) => void>>;
|
|
104
|
-
onClick: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnClickEventArgs) => void>>;
|
|
105
|
-
onColumnsDrag: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnColumnsDragEventArgs) => void>>;
|
|
106
|
-
onColumnsReordered: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnColumnsReorderedEventArgs) => void>>;
|
|
107
|
-
onColumnsResized: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnColumnsResizedEventArgs) => void>>;
|
|
108
|
-
onColumnsResizeDblClick: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnColumnsResizeDblClickEventArgs) => void>>;
|
|
109
|
-
onCompositeEditorChange: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnCompositeEditorChangeEventArgs) => void>>;
|
|
110
|
-
onContextMenu: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: {
|
|
111
|
-
grid: SlickGrid;
|
|
112
|
-
}) => void>>;
|
|
113
|
-
onDrag: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").DragRowMove) => void>>;
|
|
114
|
-
onDragEnd: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").DragRowMove) => void>>;
|
|
115
|
-
onDragInit: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").DragRowMove) => void>>;
|
|
116
|
-
onDragStart: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").DragRowMove) => void>>;
|
|
117
|
-
onDragReplaceCells: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnDragReplaceCellsEventArgs) => void>>;
|
|
118
|
-
onDblClick: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnDblClickEventArgs) => void>>;
|
|
119
|
-
onFooterContextMenu: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnFooterContextMenuEventArgs) => void>>;
|
|
120
|
-
onFooterRowCellRendered: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnFooterRowCellRenderedEventArgs) => void>>;
|
|
121
|
-
onHeaderCellRendered: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnHeaderCellRenderedEventArgs) => void>>;
|
|
122
|
-
onFooterClick: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnFooterClickEventArgs) => void>>;
|
|
123
|
-
onHeaderClick: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnHeaderClickEventArgs) => void>>;
|
|
124
|
-
onHeaderContextMenu: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnHeaderContextMenuEventArgs) => void>>;
|
|
125
|
-
onHeaderMouseEnter: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnHeaderMouseEventArgs) => void>>;
|
|
126
|
-
onHeaderMouseLeave: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnHeaderMouseEventArgs) => void>>;
|
|
127
|
-
onHeaderRowCellRendered: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnHeaderRowCellRenderedEventArgs) => void>>;
|
|
128
|
-
onHeaderRowMouseEnter: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnHeaderMouseEventArgs) => void>>;
|
|
129
|
-
onHeaderRowMouseLeave: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnHeaderMouseEventArgs) => void>>;
|
|
130
|
-
onKeyDown: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnKeyDownEventArgs) => void>>;
|
|
131
|
-
onMouseEnter: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: {
|
|
132
|
-
grid: SlickGrid;
|
|
133
|
-
}) => void>>;
|
|
134
|
-
onMouseLeave: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: {
|
|
135
|
-
grid: SlickGrid;
|
|
136
|
-
}) => void>>;
|
|
137
|
-
onValidationError: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnValidationErrorEventArgs) => void>>;
|
|
138
|
-
onViewportChanged: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: {
|
|
139
|
-
grid: SlickGrid;
|
|
140
|
-
}) => void>>;
|
|
141
|
-
onRendered: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnRenderedEventArgs) => void>>;
|
|
142
|
-
onSelectedRowsChanged: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnSelectedRowsChangedEventArgs) => void>>;
|
|
143
|
-
onSetOptions: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnSetOptionsEventArgs) => void>>;
|
|
144
|
-
onScroll: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnScrollEventArgs) => void>>;
|
|
145
|
-
onSort: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").SingleColumnSort) => void>>;
|
|
146
|
-
onBeforePagingInfoChanged: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").PagingInfo) => void>>;
|
|
147
|
-
onGroupExpanded: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnGroupExpandedEventArgs) => void>>;
|
|
148
|
-
onGroupCollapsed: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnGroupCollapsedEventArgs) => void>>;
|
|
149
|
-
onPagingInfoChanged: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").PagingInfo) => void>>;
|
|
150
|
-
onRowCountChanged: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnRowCountChangedEventArgs) => void>>;
|
|
151
|
-
onRowsChanged: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnRowsChangedEventArgs) => void>>;
|
|
152
|
-
onRowsOrCountChanged: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnRowsOrCountChangedEventArgs) => void>>;
|
|
153
|
-
onSelectedRowIdsChanged: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnSelectedRowIdsChangedEventArgs) => void>>;
|
|
154
|
-
onSetItemsCalled: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnSetItemsCalledEventArgs) => void>>;
|
|
155
|
-
onAfterMenuShow: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").MenuFromCellCallbackArgs) => void>>;
|
|
156
|
-
onBeforeMenuClose: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").MenuFromCellCallbackArgs) => void>>;
|
|
157
|
-
onBeforeMenuShow: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").MenuFromCellCallbackArgs) => void>>;
|
|
158
|
-
onColumnsChanged: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnColumnsChangedArgs) => void>>;
|
|
159
|
-
onCommand: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").MenuCommandItemCallbackArgs | import("@slickgrid-universal/common").MenuOptionItemCallbackArgs) => void>>;
|
|
160
|
-
onGridMenuColumnsChanged: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").OnColumnsChangedArgs) => void>>;
|
|
161
|
-
onMenuClose: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: import("@slickgrid-universal/common").GridMenuEventWithElementCallbackArgs) => void>>;
|
|
162
|
-
onCopyCells: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: {
|
|
163
|
-
ranges: import("@slickgrid-universal/common").SlickRange[];
|
|
164
|
-
}) => void>>;
|
|
165
|
-
onCopyCancelled: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: {
|
|
166
|
-
ranges: import("@slickgrid-universal/common").SlickRange[];
|
|
167
|
-
}) => void>>;
|
|
168
|
-
onPasteCells: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: {
|
|
169
|
-
ranges: import("@slickgrid-universal/common").SlickRange[];
|
|
170
|
-
}) => void>>;
|
|
171
|
-
onBeforePasteCell: import("@angular/core").OutputEmitterRef<SlickEventOutput<(e: {
|
|
172
|
-
cell: number;
|
|
173
|
-
row: number;
|
|
174
|
-
item: any;
|
|
175
|
-
columnDef: Column;
|
|
176
|
-
value: any;
|
|
177
|
-
}) => void>>;
|
|
178
|
-
onAfterExportToExcel: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: {
|
|
179
|
-
filename: string;
|
|
180
|
-
mimeType: string;
|
|
181
|
-
} | {
|
|
182
|
-
error: any;
|
|
183
|
-
}) => void>>;
|
|
184
|
-
onBeforeExportToExcel: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: boolean) => void>>;
|
|
185
|
-
onBeforeFilterChange: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").CurrentFilter[]) => void>>;
|
|
186
|
-
onBeforeFilterClear: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: {
|
|
187
|
-
columnId: string;
|
|
188
|
-
} | boolean) => void>>;
|
|
189
|
-
onBeforeSearchChange: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").OnSearchChangeEventArgs) => boolean | void>>;
|
|
190
|
-
onBeforeSortChange: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: Array<import("@slickgrid-universal/common").ColumnSort & {
|
|
191
|
-
clearSortTriggered?: boolean;
|
|
192
|
-
}>) => void>>;
|
|
193
|
-
onContextMenuClearGrouping: import("@angular/core").OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
194
|
-
onContextMenuCollapseAllGroups: import("@angular/core").OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
195
|
-
onContextMenuExpandAllGroups: import("@angular/core").OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
196
|
-
onOptionSelected: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").MenuCommandItemCallbackArgs | import("@slickgrid-universal/common").MenuOptionItemCallbackArgs) => void>>;
|
|
197
|
-
onColumnPickerColumnsChanged: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").OnColumnsChangedArgs) => void>>;
|
|
198
|
-
onGridMenuMenuClose: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").GridMenuEventWithElementCallbackArgs) => void>>;
|
|
199
|
-
onGridMenuBeforeMenuShow: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").GridMenuEventWithElementCallbackArgs) => void>>;
|
|
200
|
-
onGridMenuAfterMenuShow: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").GridMenuEventWithElementCallbackArgs) => void>>;
|
|
201
|
-
onGridMenuClearAllPinning: import("@angular/core").OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
202
|
-
onGridMenuClearAllFilters: import("@angular/core").OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
203
|
-
onGridMenuClearAllSorting: import("@angular/core").OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
204
|
-
onGridMenuCommand: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").GridMenuCommandItemCallbackArgs) => void>>;
|
|
205
|
-
onHeaderButtonCommand: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").HeaderButtonOnCommandArgs) => void>>;
|
|
206
|
-
onHeaderMenuCommand: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").MenuCommandItemCallbackArgs) => void>>;
|
|
207
|
-
onHeaderMenuColumnResizeByContent: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: {
|
|
208
|
-
columnId: string;
|
|
209
|
-
}) => void>>;
|
|
210
|
-
onHeaderMenuBeforeMenuShow: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").HeaderMenuCommandItemCallbackArgs) => void>>;
|
|
211
|
-
onHeaderMenuAfterMenuShow: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").HeaderMenuCommandItemCallbackArgs) => void>>;
|
|
212
|
-
onHideColumns: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: {
|
|
213
|
-
columns: Column[];
|
|
214
|
-
hiddenColumn: Column[];
|
|
215
|
-
}) => void>>;
|
|
216
|
-
onItemsAdded: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: any[]) => void>>;
|
|
217
|
-
onItemsDeleted: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: any[]) => void>>;
|
|
218
|
-
onItemsUpdated: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: any[]) => void>>;
|
|
219
|
-
onItemsUpserted: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: any[]) => void>>;
|
|
220
|
-
onFullResizeByContentRequested: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: {
|
|
221
|
-
caller: string;
|
|
222
|
-
}) => void>>;
|
|
223
|
-
onGridStateChanged: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").GridStateChange) => void>>;
|
|
224
|
-
onBeforePaginationChange: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: PaginationMetadata) => boolean | void>>;
|
|
225
|
-
onPaginationChanged: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: PaginationMetadata) => void>>;
|
|
226
|
-
onPaginationRefreshed: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: PaginationMetadata) => void>>;
|
|
227
|
-
onPaginationVisibilityChanged: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: {
|
|
228
|
-
visible: boolean;
|
|
229
|
-
}) => void>>;
|
|
230
|
-
onPaginationSetCursorBased: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: {
|
|
231
|
-
isCursorBased: boolean;
|
|
232
|
-
}) => void>>;
|
|
233
|
-
onGridBeforeResize: import("@angular/core").OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
234
|
-
onGridAfterResize: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").GridSize | undefined) => void>>;
|
|
235
|
-
onBeforeResizeByContent: import("@angular/core").OutputEmitterRef<RegularEventOutput<() => void>>;
|
|
236
|
-
onAfterResizeByContent: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: {
|
|
237
|
-
readItemCount: number;
|
|
238
|
-
calculateColumnWidths: {
|
|
239
|
-
[x: string]: number | undefined;
|
|
240
|
-
[x: number]: number | undefined;
|
|
241
|
-
};
|
|
242
|
-
}) => void>>;
|
|
243
|
-
onSortCleared: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: boolean) => void>>;
|
|
244
|
-
onFilterChanged: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").CurrentFilter[]) => void>>;
|
|
245
|
-
onFilterCleared: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: boolean) => void>>;
|
|
246
|
-
onSortChanged: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").CurrentSorter[]) => void>>;
|
|
247
|
-
onTreeItemToggled: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").TreeToggleStateChange) => void>>;
|
|
248
|
-
onTreeFullToggleEnd: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").TreeToggleStateChange) => void>>;
|
|
249
|
-
onTreeFullToggleStart: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: import("@slickgrid-universal/common").TreeToggleStateChange) => void>>;
|
|
250
|
-
onBeforeGridCreate: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: boolean) => void>>;
|
|
251
|
-
onGridCreated: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: SlickGrid) => void>>;
|
|
252
|
-
onDataviewCreated: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: SlickDataView) => void>>;
|
|
253
|
-
onAngularGridCreated: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: AngularGridInstance) => void>>;
|
|
254
|
-
onBeforeGridDestroy: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: SlickGrid) => void>>;
|
|
255
|
-
onAfterGridDestroyed: import("@angular/core").OutputEmitterRef<RegularEventOutput<(e: boolean) => void>>;
|
|
256
|
-
onLanguageChange: import("@angular/core").OutputEmitterRef<RegularEventOutput<(lang: string) => void>>;
|
|
257
|
-
get dataset(): any[];
|
|
258
|
-
set dataset(newDataset: any[]);
|
|
259
|
-
get datasetHierarchical(): any[] | undefined;
|
|
260
|
-
set datasetHierarchical(newHierarchicalDataset: any[] | undefined);
|
|
261
|
-
get elementRef(): ElementRef;
|
|
262
|
-
get backendService(): BackendService | undefined;
|
|
263
|
-
get eventHandler(): SlickEventHandler;
|
|
264
|
-
get gridContainerElement(): HTMLElement | null;
|
|
265
|
-
/** GETTER to know if dataset was initialized or not */
|
|
266
|
-
get isDatasetInitialized(): boolean;
|
|
267
|
-
/** SETTER to change if dataset was initialized or not (stringly used for unit testing purposes) */
|
|
268
|
-
set isDatasetInitialized(isInitialized: boolean);
|
|
269
|
-
set isDatasetHierarchicalInitialized(isInitialized: boolean);
|
|
270
|
-
get registeredResources(): ExternalResource[];
|
|
271
|
-
slickgridHeader: TemplateRef<any> | null;
|
|
272
|
-
slickgridFooter: TemplateRef<any> | null;
|
|
273
|
-
constructor(angularUtilService: AngularUtilService, appRef: ApplicationRef, cd: ChangeDetectorRef, containerService: ContainerService, elm: ElementRef, translate: TranslateService, translaterService: TranslaterService, forRootConfig: GridOption, externalServices: ExternalTestingDependencies);
|
|
274
|
-
ngAfterViewInit(): void;
|
|
275
|
-
ngOnDestroy(): void;
|
|
276
|
-
destroy(shouldEmptyDomElementContainer?: boolean): void;
|
|
277
|
-
disposeExternalResources(): void;
|
|
278
|
-
emptyGridContainerElm(): void;
|
|
279
|
-
/**
|
|
280
|
-
* Define our internal Post Process callback, it will execute internally after we get back result from the Process backend call
|
|
281
|
-
* Currently ONLY available with the GraphQL Backend Service.
|
|
282
|
-
* The behavior is to refresh the Dataset & Pagination without requiring the user to create his own PostProcess every time
|
|
283
|
-
*/
|
|
284
|
-
createBackendApiInternalPostProcessCallback(gridOptions: GridOption): void;
|
|
285
|
-
initialization(eventHandler: SlickEventHandler): void;
|
|
286
|
-
/**
|
|
287
|
-
* On a Pagination changed, we will trigger a Grid State changed with the new pagination info
|
|
288
|
-
* Also if we use Row Selection or the Checkbox Selector with a Backend Service (Odata, GraphQL), we need to reset any selection
|
|
289
|
-
*/
|
|
290
|
-
paginationChanged(pagination: PaginationMetadata): void;
|
|
291
|
-
/**
|
|
292
|
-
* When dataset changes, we need to refresh the entire grid UI & possibly resize it as well
|
|
293
|
-
* @param dataset
|
|
294
|
-
*/
|
|
295
|
-
refreshGridData(dataset: any[], totalCount?: number): void;
|
|
296
|
-
setData(data: TData[], shouldAutosizeColumns?: boolean): void;
|
|
297
|
-
/**
|
|
298
|
-
* Check if there's any Pagination Presets defined in the Grid Options,
|
|
299
|
-
* if there are then load them in the paginationOptions object
|
|
300
|
-
*/
|
|
301
|
-
protected setPaginationOptionsWhenPresetDefined(gridOptions: GridOption, paginationOptions: Pagination): Pagination;
|
|
302
|
-
setDarkMode(dark?: boolean): void;
|
|
303
|
-
/**
|
|
304
|
-
* Dynamically change or update the column definitions list.
|
|
305
|
-
* We will re-render the grid so that the new header and data shows up correctly.
|
|
306
|
-
* If using i18n, we also need to trigger a re-translate of the column headers
|
|
307
|
-
*/
|
|
308
|
-
updateColumnDefinitionsList(newColumns: Column[]): void;
|
|
309
|
-
/**
|
|
310
|
-
* Show the filter row displayed on first row, we can optionally pass false to hide it.
|
|
311
|
-
* @param showing
|
|
312
|
-
*/
|
|
313
|
-
showHeaderRow(showing?: boolean): boolean;
|
|
314
|
-
/**
|
|
315
|
-
* Toggle the empty data warning message visibility.
|
|
316
|
-
* @param showWarning
|
|
317
|
-
*/
|
|
318
|
-
displayEmptyDataWarning(showWarning?: boolean): void;
|
|
319
|
-
/**
|
|
320
|
-
* Loop through all column definitions and copy the original optional `width` properties optionally provided by the user.
|
|
321
|
-
* We will use this when doing a resize by cell content, if user provided a `width` it won't override it.
|
|
322
|
-
*/
|
|
323
|
-
protected copyColumnWidthsReference(columns: Column[]): void;
|
|
324
|
-
protected bindDifferentHooks(grid: SlickGrid, gridOptions: GridOption, dataView: SlickDataView): void;
|
|
325
|
-
protected bindBackendCallbackFunctions(gridOptions: GridOption): void;
|
|
326
|
-
protected addBackendInfiniteScrollCallback(): void;
|
|
327
|
-
protected bindResizeHook(grid: SlickGrid, options: GridOption): void;
|
|
328
|
-
protected executeAfterDataviewCreated(_grid: SlickGrid, gridOptions: GridOption): void;
|
|
329
|
-
/** When data changes in the DataView, we'll refresh the metrics and/or display a warning if the dataset is empty */
|
|
330
|
-
protected handleOnItemCountChanged(currentPageRowItemCount: number, totalItemCount: number): void;
|
|
331
|
-
protected initializePaginationService(paginationOptions: Pagination): void;
|
|
332
|
-
/** Load the Editor Collection asynchronously and replace the "collection" property when Observable resolves */
|
|
333
|
-
protected loadEditorCollectionAsync(column: Column): void;
|
|
334
|
-
protected insertDynamicPresetColumns(columnId: string, gridPresetColumns: Column[]): void;
|
|
335
|
-
/** Load any possible Columns Grid Presets */
|
|
336
|
-
protected loadColumnPresetsWhenDatasetInitialized(): void;
|
|
337
|
-
/** Load any possible Filters Grid Presets */
|
|
338
|
-
protected loadFilterPresetsWhenDatasetInitialized(): void;
|
|
339
|
-
/**
|
|
340
|
-
* local grid, check if we need to show the Pagination
|
|
341
|
-
* if so then also check if there's any presets and finally initialize the PaginationService
|
|
342
|
-
* 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
|
|
343
|
-
*/
|
|
344
|
-
protected loadLocalGridPagination(dataset?: any[]): void;
|
|
345
|
-
/** Load any Row Selections into the DataView that were presets by the user */
|
|
346
|
-
protected loadRowSelectionPresetWhenExists(): void;
|
|
347
|
-
hasBackendInfiniteScroll(gridOptions?: GridOption): boolean;
|
|
348
|
-
protected mergeGridOptions(gridOptions: GridOption): GridOption;
|
|
349
|
-
/** 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. */
|
|
350
|
-
registerExternalResources(resources: ExternalResource[], disposePreviousResources?: boolean): void;
|
|
351
|
-
resetExternalResources(): void;
|
|
352
|
-
/** Pre-Register any Resource that don't require SlickGrid to be instantiated (for example RxJS Resource & RowDetail) */
|
|
353
|
-
protected preRegisterResources(): void;
|
|
354
|
-
protected initializeExternalResources(resources: ExternalResource[]): void;
|
|
355
|
-
protected registerResources(): void;
|
|
356
|
-
/** Register the RxJS Resource in all necessary services which uses */
|
|
357
|
-
protected registerRxJsResource(resource: RxJsFacade): void;
|
|
358
|
-
/**
|
|
359
|
-
* Render (or dispose) the Pagination Component, user can optionally provide False (to not show it) which will in term dispose of the Pagination,
|
|
360
|
-
* 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)
|
|
361
|
-
* @param {Boolean} showPagination - show (new render) or not (dispose) the Pagination
|
|
362
|
-
* @param {Boolean} shouldDisposePaginationService - when disposing the Pagination, do we also want to dispose of the Pagination Service? (defaults to True)
|
|
363
|
-
*/
|
|
364
|
-
protected renderPagination(showPagination?: boolean): void;
|
|
365
|
-
/**
|
|
366
|
-
* Takes a flat dataset with parent/child relationship, sort it (via its tree structure) and return the sorted flat array
|
|
367
|
-
* @param {Array<Object>} flatDatasetInput - flat dataset input
|
|
368
|
-
* @param {Boolean} forceGridRefresh - optionally force a full grid refresh
|
|
369
|
-
* @returns {Array<Object>} sort flat parent/child dataset
|
|
370
|
-
*/
|
|
371
|
-
protected sortTreeDataset<T>(flatDatasetInput: T[], forceGridRefresh?: boolean): T[];
|
|
372
|
-
/** Prepare and load all SlickGrid editors, if an async editor is found then we'll also execute it. */
|
|
373
|
-
protected loadSlickGridEditors(columns: Column<TData>[]): Column<TData>[];
|
|
374
|
-
protected suggestDateParsingWhenHelpful(): void;
|
|
375
|
-
/**
|
|
376
|
-
* When the Editor(s) has a "editor.collection" property, we'll load the async collection.
|
|
377
|
-
* Since this is called after the async call resolves, the pointer will not be the same as the "column" argument passed.
|
|
378
|
-
*/
|
|
379
|
-
protected updateEditorCollection<T = any>(column: Column<T>, newCollection: T[]): void;
|
|
380
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AngularSlickgridComponent<any>, [null, null, null, null, null, { optional: true; }, { optional: true; }, null, null]>;
|
|
381
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AngularSlickgridComponent<any>, "angular-slickgrid", never, { "customDataView": { "alias": "customDataView"; "required": false; }; "gridId": { "alias": "gridId"; "required": false; }; "options": { "alias": "options"; "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, false, never>;
|
|
382
|
-
}
|