angular-slickgrid 7.0.3 → 7.2.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 +3 -0
- package/app/modules/angular-slickgrid/components/angular-slickgrid.component.d.ts +4 -2
- package/app/modules/angular-slickgrid/index.d.ts +1 -1
- package/app/modules/angular-slickgrid/models/index.d.ts +0 -1
- package/app/modules/angular-slickgrid/models/rowDetailView.interface.d.ts +0 -12
- package/esm2022/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +19 -9
- package/esm2022/app/modules/angular-slickgrid/extensions/slickRowDetailView.mjs +4 -3
- package/esm2022/app/modules/angular-slickgrid/index.mjs +1 -1
- package/esm2022/app/modules/angular-slickgrid/models/index.mjs +1 -2
- package/esm2022/app/modules/angular-slickgrid/models/rowDetailView.interface.mjs +1 -1
- package/esm2022/app/modules/angular-slickgrid/modules/angular-slickgrid.module.mjs +4 -4
- package/esm2022/app/modules/angular-slickgrid/services/angularUtil.service.mjs +3 -3
- package/esm2022/app/modules/angular-slickgrid/services/container.service.mjs +3 -3
- package/esm2022/app/modules/angular-slickgrid/services/translater.service.mjs +3 -3
- package/fesm2022/angular-slickgrid.mjs +34 -23
- package/fesm2022/angular-slickgrid.mjs.map +1 -1
- package/package.json +10 -10
- package/app/modules/angular-slickgrid/models/slickGrid.interface.d.ts +0 -6
- package/esm2022/app/modules/angular-slickgrid/models/slickGrid.interface.mjs +0 -2
package/README.md
CHANGED
|
@@ -16,6 +16,9 @@ One of the best JavasSript datagrid [SlickGrid](https://github.com/mleibman/Slic
|
|
|
16
16
|
### License
|
|
17
17
|
[MIT License](LICENSE)
|
|
18
18
|
|
|
19
|
+
## Documentation
|
|
20
|
+
📕 [Documentation](https://ghiscoding.gitbook.io/angular-slickgrid/getting-started/quick-start) website powered by GitBook.
|
|
21
|
+
|
|
19
22
|
## Installation
|
|
20
23
|
A good starting point is the **[Docs - Quick Start](https://ghiscoding.gitbook.io/angular-slickgrid/getting-started/quick-start)** and/or simply clone the [Angular-Slickgrid Demos](https://github.com/ghiscoding/angular-slickgrid-demos) repository. Please review all documentation and closed issues before opening any new issue, also consider asking installation and/or general questions on [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=slickgrid) unless you think there's a bug with the library.
|
|
21
24
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ApplicationRef, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ApplicationRef, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, TemplateRef } from '@angular/core';
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
3
|
import { BackendServiceApi, Column, EventSubscription, ExternalResource, Locale, Metrics, Pagination, RxJsFacade, ServicePagination, SlickDataView, SlickEventHandler, SlickGrid } from '@slickgrid-universal/common';
|
|
4
4
|
import { ExtensionUtility, SlickGroupItemMetadataProvider, BackendUtilityService, CollectionService, ExtensionService, FilterFactory, FilterService, GridEventService, GridService, GridStateService, GroupingAndColspanService, PaginationService, ResizerService, SharedService, SortService, TreeDataService } from '@slickgrid-universal/common';
|
|
@@ -91,6 +91,8 @@ export declare class AngularSlickgridComponent<TData = any> implements AfterView
|
|
|
91
91
|
set isDatasetInitialized(isInitialized: boolean);
|
|
92
92
|
set isDatasetHierarchicalInitialized(isInitialized: boolean);
|
|
93
93
|
get registeredResources(): ExternalResource[];
|
|
94
|
+
slickgridHeader?: TemplateRef<any>;
|
|
95
|
+
slickgridFooter?: TemplateRef<any>;
|
|
94
96
|
constructor(angularUtilService: AngularUtilService, appRef: ApplicationRef, cd: ChangeDetectorRef, containerService: ContainerService, elm: ElementRef, translate: TranslateService, translaterService: TranslaterService, forRootConfig: GridOption, externalServices: ExternalTestingDependencies);
|
|
95
97
|
ngAfterViewInit(): void;
|
|
96
98
|
ngOnDestroy(): void;
|
|
@@ -197,5 +199,5 @@ export declare class AngularSlickgridComponent<TData = any> implements AfterView
|
|
|
197
199
|
*/
|
|
198
200
|
protected updateEditorCollection<T = any>(column: Column<T>, newCollection: T[]): void;
|
|
199
201
|
static ɵfac: i0.ɵɵFactoryDeclaration<AngularSlickgridComponent<any>, [null, null, null, null, null, { optional: true; }, { optional: true; }, null, null]>;
|
|
200
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AngularSlickgridComponent<any>, "angular-slickgrid", never, { "customDataView": { "alias": "customDataView"; "required": false; }; "gridId": { "alias": "gridId"; "required": false; }; "gridOptions": { "alias": "gridOptions"; "required": false; }; "paginationOptions": { "alias": "paginationOptions"; "required": false; }; "columnDefinitions": { "alias": "columnDefinitions"; "required": false; }; "dataset": { "alias": "dataset"; "required": false; }; "datasetHierarchical": { "alias": "datasetHierarchical"; "required": false; }; }, { "columnDefinitionsChange": "columnDefinitionsChange"; },
|
|
202
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AngularSlickgridComponent<any>, "angular-slickgrid", never, { "customDataView": { "alias": "customDataView"; "required": false; }; "gridId": { "alias": "gridId"; "required": false; }; "gridOptions": { "alias": "gridOptions"; "required": false; }; "paginationOptions": { "alias": "paginationOptions"; "required": false; }; "columnDefinitions": { "alias": "columnDefinitions"; "required": false; }; "dataset": { "alias": "dataset"; "required": false; }; "datasetHierarchical": { "alias": "datasetHierarchical"; "required": false; }; }, { "columnDefinitionsChange": "columnDefinitionsChange"; }, ["slickgridHeader", "slickgridFooter"], never, false, never>;
|
|
201
203
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from '@slickgrid-universal/common';
|
|
2
|
-
export { AngularComponentOutput, AngularGridInstance, GridOption,
|
|
2
|
+
export { AngularComponentOutput, AngularGridInstance, GridOption, RowDetailView } from './models/index';
|
|
3
3
|
export { AngularUtilService, unsubscribeAllObservables } from './services/index';
|
|
4
4
|
export { SlickRowDetailView } from './extensions/index';
|
|
5
5
|
export { SlickgridConfig } from './slickgrid-config';
|
|
@@ -10,16 +10,4 @@ export interface RowDetailView extends UniversalRowDetailView {
|
|
|
10
10
|
preloadComponent?: Type<object>;
|
|
11
11
|
/** View Component that will be loaded in the row detail after the async function completed */
|
|
12
12
|
viewComponent: Type<object>;
|
|
13
|
-
/**
|
|
14
|
-
* HTML Preload Template that will be used before the async process (typically used to show a spinner/loading)
|
|
15
|
-
* It's preferable to use the "preloadView" property to use an Angular View instead of plain HTML.
|
|
16
|
-
* If you still wish to use these methods, we strongly suggest you to sanitize your HTML, e.g. "DOMPurify.sanitize()"
|
|
17
|
-
*/
|
|
18
|
-
preTemplate?: () => string;
|
|
19
|
-
/**
|
|
20
|
-
* HTML Post Template (when Row Detail data is available) that will be loaded once the async function finishes
|
|
21
|
-
* It's preferable to use the "preloadView" property to use an Angular View instead of plain HTML
|
|
22
|
-
* If you still wish to use these methods, we strongly suggest you to sanitize your HTML, e.g. "DOMPurify.sanitize()"
|
|
23
|
-
*/
|
|
24
|
-
postTemplate?: (item: any) => string;
|
|
25
13
|
}
|