angular-slickgrid 9.10.0 → 9.12.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 +12 -20
- package/fesm2022/angular-slickgrid.mjs +148 -20
- package/fesm2022/angular-slickgrid.mjs.map +1 -1
- package/library/components/angular-slickgrid-outputs.interface.d.ts +208 -0
- package/library/components/angular-slickgrid.component.d.ts +177 -3
- package/library/index.d.ts +1 -0
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# <a href="https://angular.io/" rel="nofollow"><img alt="Angular" src="https://ghiscoding.github.io/angular-slickgrid-demos/assets/angular-logo2.png" width="60"></a> Angular-Slickgrid
|
|
2
2
|
|
|
3
3
|
[](https://opensource.org/licenses/MIT)
|
|
4
4
|
[](http://www.typescriptlang.org/)
|
|
@@ -67,10 +67,6 @@ export class GridComponent implements OnInit {
|
|
|
67
67
|
[dataset]="dataset">
|
|
68
68
|
</angular-slickgrid>
|
|
69
69
|
```
|
|
70
|
-
### Troubleshooting
|
|
71
|
-
|
|
72
|
-
> [!WARNING]
|
|
73
|
-
> Because of its use of native Custom Event, this project **does not** work well with `strictTemplates`, so please make sure to either disable `strictTemplates` or cast your event as `any` (see this [discussion](https://github.com/ghiscoding/Angular-Slickgrid/discussions/815) for more info)
|
|
74
70
|
|
|
75
71
|
### Styling Themes
|
|
76
72
|
|
|
@@ -112,17 +108,17 @@ Make sure to check out the [Releases](https://github.com/ghiscoding/slickgrid-un
|
|
|
112
108
|
|
|
113
109
|
## Angular Compatibility
|
|
114
110
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
| Angular-Slickgrid | Angular
|
|
118
|
-
|
|
119
|
-
| 9.x | >=19.0 | [Migration 9.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/migration-to-9.x)
|
|
120
|
-
| 8.x | >=18.0 | [Migration 8.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/migration-to-8.x)
|
|
121
|
-
| 7.x | >=17.0 | [Migration 7.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/migration-to-7.x)
|
|
122
|
-
| 6.x | >=16.0 | [Migration 6.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/Migration-to-6.x)
|
|
123
|
-
| 5.x | >=14.0 | [Migration 5.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/Migration-to-5.x)
|
|
124
|
-
| 4.x | >=13.0 | [Migration 4.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/Migration-to-4.x)
|
|
125
|
-
| 3.x | >=12.0 | [Migration 3.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/Migration-to-3.x) | the lib now uses [Slickgrid-Universal](https://github.com/ghiscoding/slickgrid-universal) monorepo [v0.19.2](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v0.19.2)
|
|
111
|
+
**NOTE:** Please be aware that only the latest major version of Angular-Slickgrid will be supported and receive bug fixes.
|
|
112
|
+
|
|
113
|
+
| Angular-Slickgrid | Angular | Migration Guide | Notes | Date |
|
|
114
|
+
| :----------------:|:-------:|-----------------| ------| ---- |
|
|
115
|
+
| 9.x | >=19.0 | [Migration 9.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/migration-to-9.x) | ESM-Only, requires Slickgrid-Universal [9.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v9.0.0) | 2025-05-10 |
|
|
116
|
+
| 8.x | >=18.0 | [Migration 8.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/migration-to-8.x) | Modern UI / Dark Mode, requires Slickgrid-Universal [5.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v5.0.0) | 2024-05-22 |
|
|
117
|
+
| 7.x | >=17.0 | [Migration 7.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/migration-to-7.x) | merge SlickGrid into Slickgrid-Universal, <br> requires Slickgrid-Universal [4.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v4.0.2) | 2023-12-15 |
|
|
118
|
+
| 6.x | >=16.0 | [Migration 6.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/Migration-to-6.x) | removal of jQuery (now uses browser native code),<br> requires Slickgrid-Universal [3.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v3.0.0) | 2023-07-01 |
|
|
119
|
+
| 5.x | >=14.0 | [Migration 5.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/Migration-to-5.x) | removal of jQueryUI, requires Slickgrid-Universal [2.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v2.0.0) | 2022-10-17 |
|
|
120
|
+
| 4.x | >=13.0 | [Migration 4.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/Migration-to-4.x) | for Ivy build only, requires Slickgrid-Universal [1.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v1.1.1) | 2021-12-11 |
|
|
121
|
+
| 3.x | >=12.0 | [Migration 3.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/Migration-to-3.x) | the lib now uses [Slickgrid-Universal](https://github.com/ghiscoding/slickgrid-universal) monorepo [v0.19.2](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v0.19.2).<br>Also, IE11 is EOL and no longer supported. | 2021-07-02 |
|
|
126
122
|
| 2.x | 7-11.x | [Migration 2.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/Migration-to-2.x) | support multiple grids on the same page |
|
|
127
123
|
| 1.x | 4-6.x | | |
|
|
128
124
|
|
|
@@ -143,7 +139,3 @@ Angular-Slickgrid uses [`ngx-translate`](https://github.com/ngx-translate/core)
|
|
|
143
139
|
|
|
144
140
|
### Tested with [Vitest](https://vitest.dev/) (Unit Tests) - [Cypress](https://www.cypress.io/) (E2E Tests)
|
|
145
141
|
Slickgrid-Universal & Angular-Slickgrid both have **100%** Unit Test Coverage and also every Angular-Slickgrid Examples are fully tested with [Cypress](https://www.cypress.io/) as E2E tests.
|
|
146
|
-
|
|
147
|
-
## Troubleshooting Section
|
|
148
|
-
|
|
149
|
-
- [`strictTemplates` error](https://ghiscoding.gitbook.io/angular-slickgrid/getting-started/troubleshooting#stricttemplates-error)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { unsubscribeAll, createDomElement, SlickHybridSelectionModel, SlickRowSelectionModel, SlickEventData, castObservableToPromise, addToArrayWhenNotExists, DelimiterType, EventNamingStyle, Filters, SlickEventHandler, SlickgridConfig as SlickgridConfig$1, BackendUtilityService, GridEventService, SharedService, CollectionService, ExtensionUtility, FilterFactory, FilterService, ResizerService, SortService, TreeDataService, PaginationService, ExtensionService, GridStateService, GridService, HeaderGroupingService, emptyElement, SlickGroupItemMetadataProvider, SlickDataView, autoAddEditorFormatterToColumnsWithEditor, SlickGrid, ExtensionName, isColumnDateType } from '@slickgrid-universal/common';
|
|
2
2
|
export * from '@slickgrid-universal/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { Injectable, Optional, EventEmitter, ContentChild, Input, Output, Inject, Component, NgModule } from '@angular/core';
|
|
4
|
+
import { Injectable, Optional, EventEmitter, output, ContentChild, Input, Output, Inject, Component, NgModule } from '@angular/core';
|
|
5
5
|
import * as i1 from '@ngx-translate/core';
|
|
6
6
|
import { TranslateModule } from '@ngx-translate/core';
|
|
7
7
|
import { SlickRowDetailView as SlickRowDetailView$1 } from '@slickgrid-universal/row-detail-view-plugin';
|
|
@@ -93,10 +93,10 @@ class AngularUtilService {
|
|
|
93
93
|
}
|
|
94
94
|
return componentOutput;
|
|
95
95
|
}
|
|
96
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
97
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
96
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AngularUtilService, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
97
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AngularUtilService });
|
|
98
98
|
}
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AngularUtilService, decorators: [{
|
|
100
100
|
type: Injectable
|
|
101
101
|
}], ctorParameters: () => [{ type: i0.ViewContainerRef }] });
|
|
102
102
|
|
|
@@ -118,10 +118,10 @@ class ContainerService {
|
|
|
118
118
|
this.dependencies.push({ key, instance });
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
122
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
121
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
122
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ContainerService });
|
|
123
123
|
}
|
|
124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ContainerService, decorators: [{
|
|
125
125
|
type: Injectable
|
|
126
126
|
}] });
|
|
127
127
|
|
|
@@ -157,10 +157,10 @@ class TranslaterService {
|
|
|
157
157
|
translate(translationKey) {
|
|
158
158
|
return this.translateService?.instant?.(translationKey || ' ');
|
|
159
159
|
}
|
|
160
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
161
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
160
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TranslaterService, deps: [{ token: i1.TranslateService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
161
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TranslaterService });
|
|
162
162
|
}
|
|
163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TranslaterService, decorators: [{
|
|
164
164
|
type: Injectable
|
|
165
165
|
}], ctorParameters: () => [{ type: i1.TranslateService, decorators: [{
|
|
166
166
|
type: Optional
|
|
@@ -950,6 +950,134 @@ class AngularSlickgridComponent {
|
|
|
950
950
|
// make the columnDefinitions a 2-way binding so that plugin adding cols
|
|
951
951
|
// are synched on user's side as well (RowMove, RowDetail, RowSelections)
|
|
952
952
|
columnsChange = new EventEmitter(true);
|
|
953
|
+
// SlickGrid events
|
|
954
|
+
onActiveCellChanged = output();
|
|
955
|
+
onActiveCellPositionChanged = output();
|
|
956
|
+
onAddNewRow = output();
|
|
957
|
+
onAutosizeColumns = output();
|
|
958
|
+
onBeforeAppendCell = output();
|
|
959
|
+
onBeforeCellEditorDestroy = output();
|
|
960
|
+
onBeforeColumnsResize = output();
|
|
961
|
+
onBeforeDestroy = output();
|
|
962
|
+
onBeforeEditCell = output();
|
|
963
|
+
onBeforeHeaderCellDestroy = output();
|
|
964
|
+
onBeforeHeaderRowCellDestroy = output();
|
|
965
|
+
onBeforeFooterRowCellDestroy = output();
|
|
966
|
+
onBeforeSetColumns = output();
|
|
967
|
+
onBeforeSort = output();
|
|
968
|
+
onCellChange = output();
|
|
969
|
+
onCellCssStylesChanged = output();
|
|
970
|
+
onClick = output();
|
|
971
|
+
onColumnsDrag = output();
|
|
972
|
+
onColumnsReordered = output();
|
|
973
|
+
onColumnsResized = output();
|
|
974
|
+
onColumnsResizeDblClick = output();
|
|
975
|
+
onCompositeEditorChange = output();
|
|
976
|
+
onContextMenu = output();
|
|
977
|
+
onDrag = output();
|
|
978
|
+
onDragEnd = output();
|
|
979
|
+
onDragInit = output();
|
|
980
|
+
onDragStart = output();
|
|
981
|
+
onDragReplaceCells = output();
|
|
982
|
+
onDblClick = output();
|
|
983
|
+
onFooterContextMenu = output();
|
|
984
|
+
onFooterRowCellRendered = output();
|
|
985
|
+
onHeaderCellRendered = output();
|
|
986
|
+
onFooterClick = output();
|
|
987
|
+
onHeaderClick = output();
|
|
988
|
+
onHeaderContextMenu = output();
|
|
989
|
+
onHeaderMouseEnter = output();
|
|
990
|
+
onHeaderMouseLeave = output();
|
|
991
|
+
onHeaderRowCellRendered = output();
|
|
992
|
+
onHeaderRowMouseEnter = output();
|
|
993
|
+
onHeaderRowMouseLeave = output();
|
|
994
|
+
onKeyDown = output();
|
|
995
|
+
onMouseEnter = output();
|
|
996
|
+
onMouseLeave = output();
|
|
997
|
+
onValidationError = output();
|
|
998
|
+
onViewportChanged = output();
|
|
999
|
+
onRendered = output();
|
|
1000
|
+
onSelectedRowsChanged = output();
|
|
1001
|
+
onSetOptions = output();
|
|
1002
|
+
onScroll = output();
|
|
1003
|
+
onSort = output();
|
|
1004
|
+
// DataView events
|
|
1005
|
+
onBeforePagingInfoChanged = output();
|
|
1006
|
+
onGroupExpanded = output();
|
|
1007
|
+
onGroupCollapsed = output();
|
|
1008
|
+
onPagingInfoChanged = output();
|
|
1009
|
+
onRowCountChanged = output();
|
|
1010
|
+
onRowsChanged = output();
|
|
1011
|
+
onRowsOrCountChanged = output();
|
|
1012
|
+
onSelectedRowIdsChanged = output();
|
|
1013
|
+
onSetItemsCalled = output();
|
|
1014
|
+
// other Slick Events
|
|
1015
|
+
onAfterMenuShow = output();
|
|
1016
|
+
onBeforeMenuClose = output();
|
|
1017
|
+
onBeforeMenuShow = output();
|
|
1018
|
+
onColumnsChanged = output();
|
|
1019
|
+
onCommand = output();
|
|
1020
|
+
onGridMenuColumnsChanged = output();
|
|
1021
|
+
onMenuClose = output();
|
|
1022
|
+
onCopyCells = output();
|
|
1023
|
+
onCopyCancelled = output();
|
|
1024
|
+
onPasteCells = output();
|
|
1025
|
+
onBeforePasteCell = output();
|
|
1026
|
+
// Slickgrid-Universal events
|
|
1027
|
+
onAfterExportToExcel = output();
|
|
1028
|
+
onBeforeExportToExcel = output();
|
|
1029
|
+
onBeforeFilterChange = output();
|
|
1030
|
+
onBeforeFilterClear = output();
|
|
1031
|
+
onBeforeSearchChange = output();
|
|
1032
|
+
onBeforeSortChange = output();
|
|
1033
|
+
onContextMenuClearGrouping = output();
|
|
1034
|
+
onContextMenuCollapseAllGroups = output();
|
|
1035
|
+
onContextMenuExpandAllGroups = output();
|
|
1036
|
+
onOptionSelected = output();
|
|
1037
|
+
onColumnPickerColumnsChanged = output();
|
|
1038
|
+
onGridMenuMenuClose = output();
|
|
1039
|
+
onGridMenuBeforeMenuShow = output();
|
|
1040
|
+
onGridMenuAfterMenuShow = output();
|
|
1041
|
+
onGridMenuClearAllPinning = output();
|
|
1042
|
+
onGridMenuClearAllFilters = output();
|
|
1043
|
+
onGridMenuClearAllSorting = output();
|
|
1044
|
+
onGridMenuCommand = output();
|
|
1045
|
+
onHeaderButtonCommand = output();
|
|
1046
|
+
onHeaderMenuCommand = output();
|
|
1047
|
+
onHeaderMenuColumnResizeByContent = output();
|
|
1048
|
+
onHeaderMenuBeforeMenuShow = output();
|
|
1049
|
+
onHeaderMenuAfterMenuShow = output();
|
|
1050
|
+
onHideColumns = output();
|
|
1051
|
+
onItemsAdded = output();
|
|
1052
|
+
onItemsDeleted = output();
|
|
1053
|
+
onItemsUpdated = output();
|
|
1054
|
+
onItemsUpserted = output();
|
|
1055
|
+
onFullResizeByContentRequested = output();
|
|
1056
|
+
onGridStateChanged = output();
|
|
1057
|
+
onBeforePaginationChange = output();
|
|
1058
|
+
onPaginationChanged = output();
|
|
1059
|
+
onPaginationRefreshed = output();
|
|
1060
|
+
onPaginationVisibilityChanged = output();
|
|
1061
|
+
onPaginationSetCursorBased = output();
|
|
1062
|
+
onGridBeforeResize = output();
|
|
1063
|
+
onGridAfterResize = output();
|
|
1064
|
+
onBeforeResizeByContent = output();
|
|
1065
|
+
onAfterResizeByContent = output();
|
|
1066
|
+
onSortCleared = output();
|
|
1067
|
+
onFilterChanged = output();
|
|
1068
|
+
onFilterCleared = output();
|
|
1069
|
+
onSortChanged = output();
|
|
1070
|
+
onTreeItemToggled = output();
|
|
1071
|
+
onTreeFullToggleEnd = output();
|
|
1072
|
+
onTreeFullToggleStart = output();
|
|
1073
|
+
// Angular-Slickgrid specific events
|
|
1074
|
+
onBeforeGridCreate = output();
|
|
1075
|
+
onGridCreated = output();
|
|
1076
|
+
onDataviewCreated = output();
|
|
1077
|
+
onAngularGridCreated = output();
|
|
1078
|
+
onBeforeGridDestroy = output();
|
|
1079
|
+
onAfterGridDestroyed = output();
|
|
1080
|
+
onLanguageChange = output();
|
|
953
1081
|
get dataset() {
|
|
954
1082
|
return (this.customDataView ? this.slickGrid?.getData?.() : this.dataView?.getItems()) || [];
|
|
955
1083
|
}
|
|
@@ -1027,8 +1155,8 @@ class AngularSlickgridComponent {
|
|
|
1027
1155
|
get registeredResources() {
|
|
1028
1156
|
return this._registeredResources;
|
|
1029
1157
|
}
|
|
1030
|
-
slickgridHeader;
|
|
1031
|
-
slickgridFooter;
|
|
1158
|
+
slickgridHeader = null;
|
|
1159
|
+
slickgridFooter = null;
|
|
1032
1160
|
constructor(angularUtilService, appRef, cd, containerService, elm, translate, translaterService, forRootConfig, externalServices) {
|
|
1033
1161
|
this.angularUtilService = angularUtilService;
|
|
1034
1162
|
this.appRef = appRef;
|
|
@@ -1553,7 +1681,7 @@ class AngularSlickgridComponent {
|
|
|
1553
1681
|
}
|
|
1554
1682
|
this.subscriptions.push(this.translate.onLangChange.subscribe(({ lang }) => {
|
|
1555
1683
|
// publish event of the same name that Slickgrid-Universal uses on a language change event
|
|
1556
|
-
this._eventPubSubService.publish('onLanguageChange');
|
|
1684
|
+
this._eventPubSubService.publish('onLanguageChange', lang);
|
|
1557
1685
|
if (gridOptions.enableTranslate) {
|
|
1558
1686
|
this.extensionService.translateAllExtensions(lang);
|
|
1559
1687
|
if ((gridOptions.createPreHeaderPanel && gridOptions.createTopHeaderPanel) ||
|
|
@@ -2155,10 +2283,10 @@ class AngularSlickgridComponent {
|
|
|
2155
2283
|
}
|
|
2156
2284
|
}
|
|
2157
2285
|
}
|
|
2158
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2159
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
2286
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AngularSlickgridComponent, deps: [{ token: AngularUtilService }, { token: i0.ApplicationRef }, { token: i0.ChangeDetectorRef }, { token: ContainerService }, { token: i0.ElementRef }, { token: i1.TranslateService, optional: true }, { token: TranslaterService, optional: true }, { token: 'config' }, { token: 'externalService' }], target: i0.ɵɵFactoryTarget.Component });
|
|
2287
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: AngularSlickgridComponent, isStandalone: false, selector: "angular-slickgrid", inputs: { customDataView: "customDataView", gridId: "gridId", options: "options", paginationOptions: "paginationOptions", columns: "columns", dataset: "dataset", datasetHierarchical: "datasetHierarchical" }, outputs: { 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" }, providers: [AngularUtilService, TranslaterService], queries: [{ propertyName: "slickgridHeader", first: true, predicate: ["slickgridHeader"], descendants: true, static: true }, { propertyName: "slickgridFooter", first: true, predicate: ["slickgridFooter"], descendants: true, static: true }], ngImport: i0, template: "<div id=\"slickGridContainer-{{ gridId }}\" class=\"gridPane\">\n <ng-container *ngTemplateOutlet=\"slickgridHeader\"></ng-container>\n <div attr.id=\"{{ gridId }}\" class=\"slickgrid-container\"></div>\n <ng-container *ngTemplateOutlet=\"slickgridFooter\"></ng-container>\n</div>\n", dependencies: [{ kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], preserveWhitespaces: true });
|
|
2160
2288
|
}
|
|
2161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AngularSlickgridComponent, decorators: [{
|
|
2162
2290
|
type: Component,
|
|
2163
2291
|
args: [{ selector: 'angular-slickgrid', providers: [AngularUtilService, TranslaterService], standalone: false, template: "<div id=\"slickGridContainer-{{ gridId }}\" class=\"gridPane\">\n <ng-container *ngTemplateOutlet=\"slickgridHeader\"></ng-container>\n <div attr.id=\"{{ gridId }}\" class=\"slickgrid-container\"></div>\n <ng-container *ngTemplateOutlet=\"slickgridFooter\"></ng-container>\n</div>\n" }]
|
|
2164
2292
|
}], ctorParameters: () => [{ type: AngularUtilService }, { type: i0.ApplicationRef }, { type: i0.ChangeDetectorRef }, { type: ContainerService }, { type: i0.ElementRef }, { type: i1.TranslateService, decorators: [{
|
|
@@ -2207,11 +2335,11 @@ class AngularSlickgridModule {
|
|
|
2207
2335
|
],
|
|
2208
2336
|
};
|
|
2209
2337
|
}
|
|
2210
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2211
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
2212
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
2338
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AngularSlickgridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2339
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: AngularSlickgridModule, declarations: [AngularSlickgridComponent], imports: [CommonModule, TranslateModule], exports: [AngularSlickgridComponent] });
|
|
2340
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AngularSlickgridModule, imports: [CommonModule, TranslateModule] });
|
|
2213
2341
|
}
|
|
2214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AngularSlickgridModule, decorators: [{
|
|
2215
2343
|
type: NgModule,
|
|
2216
2344
|
args: [{
|
|
2217
2345
|
imports: [CommonModule, TranslateModule],
|