@swimlane/ngx-datatable 18.0.0 → 20.0.0-alpha-1
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 +0 -1
- package/esm2020/lib/components/body/body-cell.component.mjs +432 -0
- package/esm2020/lib/components/body/body-group-header-template.directive.mjs +16 -0
- package/esm2020/lib/components/body/body-group-header.directive.mjs +62 -0
- package/esm2020/lib/components/body/body-row-wrapper.component.mjs +140 -0
- package/esm2020/lib/components/body/body-row.component.mjs +262 -0
- package/esm2020/lib/components/body/body.component.mjs +863 -0
- package/esm2020/lib/components/body/progress-bar.component.mjs +27 -0
- package/esm2020/lib/components/body/scroller.component.mjs +91 -0
- package/esm2020/lib/components/body/selection.component.mjs +150 -0
- package/esm2020/lib/components/body/summary/summary-row.component.mjs +105 -0
- package/esm2020/lib/components/columns/column-cell.directive.mjs +14 -0
- package/esm2020/lib/components/columns/column-header.directive.mjs +14 -0
- package/esm2020/lib/components/columns/column.directive.mjs +98 -0
- package/esm2020/lib/components/columns/tree.directive.mjs +14 -0
- package/esm2020/lib/components/datatable.component.mjs +1008 -0
- package/esm2020/lib/components/footer/footer-template.directive.mjs +14 -0
- package/esm2020/lib/components/footer/footer.component.mjs +128 -0
- package/esm2020/lib/components/footer/footer.directive.mjs +35 -0
- package/esm2020/lib/components/footer/pager.component.mjs +181 -0
- package/esm2020/lib/components/header/header-cell.component.mjs +243 -0
- package/esm2020/lib/components/header/header.component.mjs +376 -0
- package/esm2020/lib/components/row-detail/row-detail-template.directive.mjs +16 -0
- package/esm2020/lib/components/row-detail/row-detail.directive.mjs +63 -0
- package/esm2020/lib/directives/draggable.directive.mjs +108 -0
- package/esm2020/lib/directives/long-press.directive.mjs +117 -0
- package/esm2020/lib/directives/orderable.directive.mjs +136 -0
- package/esm2020/lib/directives/resizeable.directive.mjs +93 -0
- package/esm2020/lib/directives/visibility.directive.mjs +63 -0
- package/{esm2015/lib/events.js → esm2020/lib/events.mjs} +0 -0
- package/esm2020/lib/ngx-datatable.module.mjs +139 -0
- package/esm2020/lib/services/column-changes.service.mjs +24 -0
- package/esm2020/lib/services/dimensions-helper.service.mjs +17 -0
- package/esm2020/lib/services/scrollbar-helper.service.mjs +37 -0
- package/{esm2015/lib/types/click.type.js → esm2020/lib/types/click.type.mjs} +0 -0
- package/{esm2015/lib/types/column-mode.type.js → esm2020/lib/types/column-mode.type.mjs} +0 -0
- package/{esm2015/lib/types/contextmenu.type.js → esm2020/lib/types/contextmenu.type.mjs} +0 -0
- package/{esm2015/lib/types/selection.type.js → esm2020/lib/types/selection.type.mjs} +0 -0
- package/{esm2015/lib/types/sort-direction.type.js → esm2020/lib/types/sort-direction.type.mjs} +0 -0
- package/{esm2015/lib/types/sort-prop-dir.type.js → esm2020/lib/types/sort-prop-dir.type.mjs} +1 -0
- package/{esm2015/lib/types/sort.type.js → esm2020/lib/types/sort.type.mjs} +0 -0
- package/{esm2015/lib/types/table-column.type.js → esm2020/lib/types/table-column.type.mjs} +1 -0
- package/{esm2015/lib/utils/camel-case.js → esm2020/lib/utils/camel-case.mjs} +0 -0
- package/{esm2015/lib/utils/column-helper.js → esm2020/lib/utils/column-helper.mjs} +0 -0
- package/{esm2015/lib/utils/column-prop-getters.js → esm2020/lib/utils/column-prop-getters.mjs} +0 -0
- package/{esm2015/lib/utils/column.js → esm2020/lib/utils/column.mjs} +0 -0
- package/{esm2015/lib/utils/elm-from-point.js → esm2020/lib/utils/elm-from-point.mjs} +0 -0
- package/{esm2015/lib/utils/id.js → esm2020/lib/utils/id.mjs} +0 -0
- package/{esm2015/lib/utils/keys.js → esm2020/lib/utils/keys.mjs} +0 -0
- package/{esm2015/lib/utils/math.js → esm2020/lib/utils/math.mjs} +0 -0
- package/esm2020/lib/utils/prefixes.mjs +38 -0
- package/{esm2015/lib/utils/row-height-cache.js → esm2020/lib/utils/row-height-cache.mjs} +0 -0
- package/{esm2015/lib/utils/selection.js → esm2020/lib/utils/selection.mjs} +0 -0
- package/{esm2015/lib/utils/sort.js → esm2020/lib/utils/sort.mjs} +0 -0
- package/{esm2015/lib/utils/throttle.js → esm2020/lib/utils/throttle.mjs} +0 -0
- package/{esm2015/lib/utils/translate.js → esm2020/lib/utils/translate.mjs} +0 -0
- package/{esm2015/lib/utils/tree.js → esm2020/lib/utils/tree.mjs} +0 -0
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- package/{esm2015/swimlane-ngx-datatable.js → esm2020/swimlane-ngx-datatable.mjs} +0 -0
- package/fesm2015/{swimlane-ngx-datatable.js → swimlane-ngx-datatable.mjs} +4104 -3337
- package/fesm2015/swimlane-ngx-datatable.mjs.map +1 -0
- package/fesm2020/swimlane-ngx-datatable.mjs +5974 -0
- package/fesm2020/swimlane-ngx-datatable.mjs.map +1 -0
- package/lib/components/body/body-cell.component.d.ts +3 -0
- package/lib/components/body/body-group-header-template.directive.d.ts +3 -0
- package/lib/components/body/body-group-header.directive.d.ts +3 -0
- package/lib/components/body/body-row-wrapper.component.d.ts +3 -0
- package/lib/components/body/body-row.component.d.ts +3 -0
- package/lib/components/body/body.component.d.ts +3 -0
- package/lib/components/body/progress-bar.component.d.ts +3 -0
- package/lib/components/body/scroller.component.d.ts +3 -0
- package/lib/components/body/selection.component.d.ts +3 -0
- package/lib/components/body/summary/summary-row.component.d.ts +3 -0
- package/lib/components/columns/column-cell.directive.d.ts +3 -0
- package/lib/components/columns/column-header.directive.d.ts +3 -0
- package/lib/components/columns/column.directive.d.ts +3 -0
- package/lib/components/columns/tree.directive.d.ts +3 -0
- package/lib/components/datatable.component.d.ts +3 -0
- package/lib/components/footer/footer-template.directive.d.ts +3 -0
- package/lib/components/footer/footer.component.d.ts +3 -0
- package/lib/components/footer/footer.directive.d.ts +3 -0
- package/lib/components/footer/pager.component.d.ts +3 -0
- package/lib/components/header/header-cell.component.d.ts +3 -0
- package/lib/components/header/header.component.d.ts +3 -0
- package/lib/components/row-detail/row-detail-template.directive.d.ts +3 -0
- package/lib/components/row-detail/row-detail.directive.d.ts +3 -0
- package/lib/directives/draggable.directive.d.ts +3 -0
- package/lib/directives/long-press.directive.d.ts +3 -0
- package/lib/directives/orderable.directive.d.ts +3 -0
- package/lib/directives/resizeable.directive.d.ts +3 -0
- package/lib/directives/visibility.directive.d.ts +3 -0
- package/lib/ngx-datatable.module.d.ts +33 -0
- package/lib/services/column-changes.service.d.ts +3 -0
- package/lib/services/dimensions-helper.service.d.ts +3 -0
- package/lib/services/scrollbar-helper.service.d.ts +3 -0
- package/package.json +24 -12
- package/swimlane-ngx-datatable.d.ts +1 -0
- package/bundles/swimlane-ngx-datatable.umd.js +0 -5876
- package/bundles/swimlane-ngx-datatable.umd.js.map +0 -1
- package/bundles/swimlane-ngx-datatable.umd.min.js +0 -2
- package/bundles/swimlane-ngx-datatable.umd.min.js.map +0 -1
- package/esm2015/lib/components/body/body-cell.component.js +0 -361
- package/esm2015/lib/components/body/body-group-header-template.directive.js +0 -15
- package/esm2015/lib/components/body/body-group-header.directive.js +0 -54
- package/esm2015/lib/components/body/body-row-wrapper.component.js +0 -106
- package/esm2015/lib/components/body/body-row.component.js +0 -212
- package/esm2015/lib/components/body/body.component.js +0 -713
- package/esm2015/lib/components/body/progress-bar.component.js +0 -17
- package/esm2015/lib/components/body/scroller.component.js +0 -83
- package/esm2015/lib/components/body/selection.component.js +0 -140
- package/esm2015/lib/components/body/summary/summary-row.component.js +0 -81
- package/esm2015/lib/components/columns/column-cell.directive.js +0 -13
- package/esm2015/lib/components/columns/column-header.directive.js +0 -13
- package/esm2015/lib/components/columns/column.directive.js +0 -65
- package/esm2015/lib/components/columns/tree.directive.js +0 -13
- package/esm2015/lib/components/datatable.component.js +0 -925
- package/esm2015/lib/components/footer/footer-template.directive.js +0 -13
- package/esm2015/lib/components/footer/footer.component.js +0 -75
- package/esm2015/lib/components/footer/footer.directive.js +0 -22
- package/esm2015/lib/components/footer/pager.component.js +0 -136
- package/esm2015/lib/components/header/header-cell.component.js +0 -191
- package/esm2015/lib/components/header/header.component.js +0 -295
- package/esm2015/lib/components/row-detail/row-detail-template.directive.js +0 -15
- package/esm2015/lib/components/row-detail/row-detail.directive.js +0 -55
- package/esm2015/lib/directives/draggable.directive.js +0 -102
- package/esm2015/lib/directives/long-press.directive.js +0 -103
- package/esm2015/lib/directives/orderable.directive.js +0 -131
- package/esm2015/lib/directives/resizeable.directive.js +0 -89
- package/esm2015/lib/directives/visibility.directive.js +0 -62
- package/esm2015/lib/ngx-datatable.module.js +0 -96
- package/esm2015/lib/services/column-changes.service.js +0 -21
- package/esm2015/lib/services/dimensions-helper.service.js +0 -14
- package/esm2015/lib/services/scrollbar-helper.service.js +0 -34
- package/esm2015/lib/utils/prefixes.js +0 -40
- package/fesm2015/swimlane-ngx-datatable.js.map +0 -1
- package/swimlane-ngx-datatable.metadata.json +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, ElementRef, ViewContainerRef, OnDestroy, DoCheck } from '@angular/core';
|
|
2
2
|
import { TableColumn } from '../../types/table-column.type';
|
|
3
3
|
import { SortDirection } from '../../types/sort-direction.type';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare type TreeStatus = 'collapsed' | 'expanded' | 'loading' | 'disabled';
|
|
5
6
|
export declare class DataTableBodyCellComponent implements DoCheck, OnDestroy {
|
|
6
7
|
private cd;
|
|
@@ -62,4 +63,6 @@ export declare class DataTableBodyCellComponent implements DoCheck, OnDestroy {
|
|
|
62
63
|
stripHtml(html: string): string;
|
|
63
64
|
onTreeAction(): void;
|
|
64
65
|
calcLeftMargin(column: any, row: any): number;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableBodyCellComponent, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableBodyCellComponent, "datatable-body-cell", never, { "displayCheck": "displayCheck"; "group": "group"; "rowHeight": "rowHeight"; "isSelected": "isSelected"; "expanded": "expanded"; "rowIndex": "rowIndex"; "column": "column"; "row": "row"; "sorts": "sorts"; "treeStatus": "treeStatus"; }, { "activate": "activate"; "treeAction": "treeAction"; }, never, never>;
|
|
65
68
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DatatableGroupHeaderTemplateDirective {
|
|
3
4
|
template: TemplateRef<any>;
|
|
4
5
|
constructor(template: TemplateRef<any>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatatableGroupHeaderTemplateDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DatatableGroupHeaderTemplateDirective, "[ngx-datatable-group-header-template]", never, {}, {}, never>;
|
|
5
8
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DatatableGroupHeaderDirective {
|
|
3
4
|
/**
|
|
4
5
|
* Row height is required when virtual scroll is enabled.
|
|
@@ -23,4 +24,6 @@ export declare class DatatableGroupHeaderDirective {
|
|
|
23
24
|
* Collapse all groups
|
|
24
25
|
*/
|
|
25
26
|
collapseAllGroups(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatatableGroupHeaderDirective, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DatatableGroupHeaderDirective, "ngx-datatable-group-header", never, { "rowHeight": "rowHeight"; "_templateInput": "template"; }, { "toggle": "toggle"; }, ["_templateQuery"]>;
|
|
26
29
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, DoCheck, ChangeDetectorRef, KeyValueDiffers } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DataTableRowWrapperComponent implements DoCheck {
|
|
3
4
|
private cd;
|
|
4
5
|
private differs;
|
|
@@ -26,4 +27,6 @@ export declare class DataTableRowWrapperComponent implements DoCheck {
|
|
|
26
27
|
ngDoCheck(): void;
|
|
27
28
|
onContextmenu($event: MouseEvent): void;
|
|
28
29
|
getGroupHeaderStyle(): any;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableRowWrapperComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableRowWrapperComponent, "datatable-row-wrapper", never, { "innerWidth": "innerWidth"; "rowDetail": "rowDetail"; "groupHeader": "groupHeader"; "offsetX": "offsetX"; "detailRowHeight": "detailRowHeight"; "row": "row"; "groupedRows": "groupedRows"; "rowIndex": "rowIndex"; "expanded": "expanded"; }, { "rowContextmenu": "rowContextmenu"; }, never, ["*"]>;
|
|
29
32
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ElementRef, KeyValueDiffers, EventEmitter, ChangeDetectorRef, DoCheck } from '@angular/core';
|
|
2
2
|
import { TreeStatus } from './body-cell.component';
|
|
3
3
|
import { ScrollbarHelper } from '../../services/scrollbar-helper.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class DataTableBodyRowComponent implements DoCheck {
|
|
5
6
|
private differs;
|
|
6
7
|
private scrollbarHelper;
|
|
@@ -47,4 +48,6 @@ export declare class DataTableBodyRowComponent implements DoCheck {
|
|
|
47
48
|
onMouseenter(event: any): void;
|
|
48
49
|
recalculateColumns(val?: any[]): void;
|
|
49
50
|
onTreeAction(): void;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableBodyRowComponent, [null, { skipSelf: true; }, null, null]>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableBodyRowComponent, "datatable-body-row", never, { "columns": "columns"; "innerWidth": "innerWidth"; "expanded": "expanded"; "rowClass": "rowClass"; "row": "row"; "group": "group"; "isSelected": "isSelected"; "rowIndex": "rowIndex"; "displayCheck": "displayCheck"; "treeStatus": "treeStatus"; "offsetX": "offsetX"; "rowHeight": "rowHeight"; }, { "activate": "activate"; "treeAction": "treeAction"; }, never, never>;
|
|
50
53
|
}
|
|
@@ -2,6 +2,7 @@ import { EventEmitter, ChangeDetectorRef, OnInit, OnDestroy } from '@angular/cor
|
|
|
2
2
|
import { ScrollerComponent } from './scroller.component';
|
|
3
3
|
import { SelectionType } from '../../types/selection.type';
|
|
4
4
|
import { RowHeightCache } from '../../utils/row-height-cache';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class DataTableBodyComponent implements OnInit, OnDestroy {
|
|
6
7
|
private cd;
|
|
7
8
|
scrollbarV: boolean;
|
|
@@ -206,4 +207,6 @@ export declare class DataTableBodyComponent implements OnInit, OnDestroy {
|
|
|
206
207
|
*/
|
|
207
208
|
getRowIndex(row: any): number;
|
|
208
209
|
onTreeAction(row: any): void;
|
|
210
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableBodyComponent, never>;
|
|
211
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableBodyComponent, "datatable-body", never, { "scrollbarV": "scrollbarV"; "scrollbarH": "scrollbarH"; "loadingIndicator": "loadingIndicator"; "externalPaging": "externalPaging"; "rowHeight": "rowHeight"; "offsetX": "offsetX"; "emptyMessage": "emptyMessage"; "selectionType": "selectionType"; "selected": "selected"; "rowIdentity": "rowIdentity"; "rowDetail": "rowDetail"; "groupHeader": "groupHeader"; "selectCheck": "selectCheck"; "displayCheck": "displayCheck"; "trackByProp": "trackByProp"; "rowClass": "rowClass"; "groupedRows": "groupedRows"; "groupExpansionDefault": "groupExpansionDefault"; "innerWidth": "innerWidth"; "groupRowsBy": "groupRowsBy"; "virtualization": "virtualization"; "summaryRow": "summaryRow"; "summaryPosition": "summaryPosition"; "summaryHeight": "summaryHeight"; "pageSize": "pageSize"; "rows": "rows"; "columns": "columns"; "offset": "offset"; "rowCount": "rowCount"; "bodyHeight": "bodyHeight"; }, { "scroll": "scroll"; "page": "page"; "activate": "activate"; "select": "select"; "detailToggle": "detailToggle"; "rowContextmenu": "rowContextmenu"; "treeAction": "treeAction"; }, never, never>;
|
|
209
212
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, Renderer2, NgZone, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class ScrollerComponent implements OnInit, OnDestroy {
|
|
3
4
|
private ngZone;
|
|
4
5
|
private renderer;
|
|
@@ -21,4 +22,6 @@ export declare class ScrollerComponent implements OnInit, OnDestroy {
|
|
|
21
22
|
setOffset(offsetY: number): void;
|
|
22
23
|
onScrolled(event: MouseEvent): void;
|
|
23
24
|
updateOffset(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollerComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScrollerComponent, "datatable-scroller", never, { "scrollbarV": "scrollbarV"; "scrollbarH": "scrollbarH"; "scrollHeight": "scrollHeight"; "scrollWidth": "scrollWidth"; }, { "scroll": "scroll"; }, never, ["*"]>;
|
|
24
27
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { SelectionType } from '../../types/selection.type';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export interface Model {
|
|
4
5
|
type: string;
|
|
5
6
|
event: MouseEvent | KeyboardEvent;
|
|
@@ -26,4 +27,6 @@ export declare class DataTableSelectionComponent {
|
|
|
26
27
|
focusCell(cellElement: any, rowElement: any, keyCode: number, cellIndex: number): void;
|
|
27
28
|
getRowSelected(row: any): boolean;
|
|
28
29
|
getRowSelectedIdx(row: any, selected: any[]): number;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableSelectionComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableSelectionComponent, "datatable-selection", never, { "rows": "rows"; "selected": "selected"; "selectEnabled": "selectEnabled"; "selectionType": "selectionType"; "rowIdentity": "rowIdentity"; "selectCheck": "selectCheck"; }, { "activate": "activate"; "select": "select"; }, never, ["*"]>;
|
|
29
32
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OnChanges, PipeTransform, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export interface ISummaryColumn {
|
|
3
4
|
summaryFunc?: (cells: any[]) => any;
|
|
4
5
|
summaryTemplate?: TemplateRef<any>;
|
|
@@ -17,4 +18,6 @@ export declare class DataTableSummaryRowComponent implements OnChanges {
|
|
|
17
18
|
private updateInternalColumns;
|
|
18
19
|
private updateValues;
|
|
19
20
|
private getSummaryFunction;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableSummaryRowComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableSummaryRowComponent, "datatable-summary-row", never, { "rows": "rows"; "columns": "columns"; "rowHeight": "rowHeight"; "offsetX": "offsetX"; "innerWidth": "innerWidth"; }, {}, never, never>;
|
|
20
23
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DataTableColumnCellDirective {
|
|
3
4
|
template: TemplateRef<any>;
|
|
4
5
|
constructor(template: TemplateRef<any>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableColumnCellDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DataTableColumnCellDirective, "[ngx-datatable-cell-template]", never, {}, {}, never>;
|
|
5
8
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DataTableColumnHeaderDirective {
|
|
3
4
|
template: TemplateRef<any>;
|
|
4
5
|
constructor(template: TemplateRef<any>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableColumnHeaderDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DataTableColumnHeaderDirective, "[ngx-datatable-header-template]", never, {}, {}, never>;
|
|
5
8
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TemplateRef, OnChanges } from '@angular/core';
|
|
2
2
|
import { ColumnChangesService } from '../../services/column-changes.service';
|
|
3
3
|
import { TableColumnProp } from '../../types/table-column.type';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class DataTableColumnDirective implements OnChanges {
|
|
5
6
|
private columnChangesService;
|
|
6
7
|
name: string;
|
|
@@ -37,4 +38,6 @@ export declare class DataTableColumnDirective implements OnChanges {
|
|
|
37
38
|
private isFirstChange;
|
|
38
39
|
constructor(columnChangesService: ColumnChangesService);
|
|
39
40
|
ngOnChanges(): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableColumnDirective, never>;
|
|
42
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DataTableColumnDirective, "ngx-datatable-column", never, { "name": "name"; "prop": "prop"; "frozenLeft": "frozenLeft"; "frozenRight": "frozenRight"; "flexGrow": "flexGrow"; "resizeable": "resizeable"; "comparator": "comparator"; "pipe": "pipe"; "sortable": "sortable"; "draggable": "draggable"; "canAutoResize": "canAutoResize"; "minWidth": "minWidth"; "width": "width"; "maxWidth": "maxWidth"; "checkboxable": "checkboxable"; "headerCheckboxable": "headerCheckboxable"; "headerClass": "headerClass"; "cellClass": "cellClass"; "isTreeColumn": "isTreeColumn"; "treeLevelIndent": "treeLevelIndent"; "summaryFunc": "summaryFunc"; "summaryTemplate": "summaryTemplate"; "_cellTemplateInput": "cellTemplate"; "_headerTemplateInput": "headerTemplate"; "_treeToggleTemplateInput": "treeToggleTemplate"; }, {}, ["_cellTemplateQuery", "_headerTemplateQuery", "_treeToggleTemplateQuery"]>;
|
|
40
43
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DataTableColumnCellTreeToggle {
|
|
3
4
|
template: TemplateRef<any>;
|
|
4
5
|
constructor(template: TemplateRef<any>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableColumnCellTreeToggle, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DataTableColumnCellTreeToggle, "[ngx-datatable-tree-toggle]", never, {}, {}, never>;
|
|
5
8
|
}
|
|
@@ -15,6 +15,7 @@ import { DataTableHeaderComponent } from './header/header.component';
|
|
|
15
15
|
import { ScrollbarHelper } from '../services/scrollbar-helper.service';
|
|
16
16
|
import { ColumnChangesService } from '../services/column-changes.service';
|
|
17
17
|
import { DimensionsHelper } from '../services/dimensions-helper.service';
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
18
19
|
export declare class DatatableComponent implements OnInit, DoCheck, AfterViewInit {
|
|
19
20
|
private scrollbarHelper;
|
|
20
21
|
private dimensionsHelper;
|
|
@@ -519,4 +520,6 @@ export declare class DatatableComponent implements OnInit, DoCheck, AfterViewIni
|
|
|
519
520
|
*/
|
|
520
521
|
private listenForColumnInputChanges;
|
|
521
522
|
private sortInternalRows;
|
|
523
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatatableComponent, [{ skipSelf: true; }, { skipSelf: true; }, null, null, null, null, { optional: true; }]>;
|
|
524
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatatableComponent, "ngx-datatable", never, { "targetMarkerTemplate": "targetMarkerTemplate"; "rows": "rows"; "groupRowsBy": "groupRowsBy"; "groupedRows": "groupedRows"; "columns": "columns"; "selected": "selected"; "scrollbarV": "scrollbarV"; "scrollbarH": "scrollbarH"; "rowHeight": "rowHeight"; "columnMode": "columnMode"; "headerHeight": "headerHeight"; "footerHeight": "footerHeight"; "externalPaging": "externalPaging"; "externalSorting": "externalSorting"; "limit": "limit"; "count": "count"; "offset": "offset"; "loadingIndicator": "loadingIndicator"; "selectionType": "selectionType"; "reorderable": "reorderable"; "swapColumns": "swapColumns"; "sortType": "sortType"; "sorts": "sorts"; "cssClasses": "cssClasses"; "messages": "messages"; "rowClass": "rowClass"; "selectCheck": "selectCheck"; "displayCheck": "displayCheck"; "groupExpansionDefault": "groupExpansionDefault"; "trackByProp": "trackByProp"; "selectAllRowsOnPage": "selectAllRowsOnPage"; "virtualization": "virtualization"; "treeFromRelation": "treeFromRelation"; "treeToRelation": "treeToRelation"; "summaryRow": "summaryRow"; "summaryHeight": "summaryHeight"; "summaryPosition": "summaryPosition"; "rowIdentity": "rowIdentity"; }, { "scroll": "scroll"; "activate": "activate"; "select": "select"; "sort": "sort"; "page": "page"; "reorder": "reorder"; "resize": "resize"; "tableContextmenu": "tableContextmenu"; "treeAction": "treeAction"; }, ["rowDetail", "groupHeader", "footer", "columnTemplates"], never>;
|
|
522
525
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DataTableFooterTemplateDirective {
|
|
3
4
|
template: TemplateRef<any>;
|
|
4
5
|
constructor(template: TemplateRef<any>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableFooterTemplateDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DataTableFooterTemplateDirective, "[ngx-datatable-footer-template]", never, {}, {}, never>;
|
|
5
8
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { DatatableFooterDirective } from './footer.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class DataTableFooterComponent {
|
|
4
5
|
footerHeight: number;
|
|
5
6
|
rowCount: number;
|
|
@@ -16,4 +17,6 @@ export declare class DataTableFooterComponent {
|
|
|
16
17
|
page: EventEmitter<any>;
|
|
17
18
|
get isVisible(): boolean;
|
|
18
19
|
get curPage(): number;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableFooterComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableFooterComponent, "datatable-footer", never, { "footerHeight": "footerHeight"; "rowCount": "rowCount"; "pageSize": "pageSize"; "offset": "offset"; "pagerLeftArrowIcon": "pagerLeftArrowIcon"; "pagerRightArrowIcon": "pagerRightArrowIcon"; "pagerPreviousIcon": "pagerPreviousIcon"; "pagerNextIcon": "pagerNextIcon"; "totalMessage": "totalMessage"; "footerTemplate": "footerTemplate"; "selectedCount": "selectedCount"; "selectedMessage": "selectedMessage"; }, { "page": "page"; }, never, never>;
|
|
19
22
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DatatableFooterDirective {
|
|
3
4
|
footerHeight: number;
|
|
4
5
|
totalMessage: string;
|
|
@@ -10,4 +11,6 @@ export declare class DatatableFooterDirective {
|
|
|
10
11
|
_templateInput: TemplateRef<any>;
|
|
11
12
|
_templateQuery: TemplateRef<any>;
|
|
12
13
|
get template(): TemplateRef<any>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatatableFooterDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DatatableFooterDirective, "ngx-datatable-footer", never, { "footerHeight": "footerHeight"; "totalMessage": "totalMessage"; "selectedMessage": "selectedMessage"; "pagerLeftArrowIcon": "pagerLeftArrowIcon"; "pagerRightArrowIcon": "pagerRightArrowIcon"; "pagerPreviousIcon": "pagerPreviousIcon"; "pagerNextIcon": "pagerNextIcon"; "_templateInput": "template"; }, {}, ["_templateQuery"]>;
|
|
13
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DataTablePagerComponent {
|
|
3
4
|
pagerLeftArrowIcon: string;
|
|
4
5
|
pagerRightArrowIcon: string;
|
|
@@ -22,4 +23,6 @@ export declare class DataTablePagerComponent {
|
|
|
22
23
|
nextPage(): void;
|
|
23
24
|
selectPage(page: number): void;
|
|
24
25
|
calcPages(page?: number): any[];
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTablePagerComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTablePagerComponent, "datatable-pager", never, { "pagerLeftArrowIcon": "pagerLeftArrowIcon"; "pagerRightArrowIcon": "pagerRightArrowIcon"; "pagerPreviousIcon": "pagerPreviousIcon"; "pagerNextIcon": "pagerNextIcon"; "size": "size"; "count": "count"; "page": "page"; }, { "change": "change"; }, never, never>;
|
|
25
28
|
}
|
|
@@ -3,6 +3,7 @@ import { SortType } from '../../types/sort.type';
|
|
|
3
3
|
import { SelectionType } from '../../types/selection.type';
|
|
4
4
|
import { TableColumn } from '../../types/table-column.type';
|
|
5
5
|
import { SortDirection } from '../../types/sort-direction.type';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class DataTableHeaderCellComponent {
|
|
7
8
|
private cd;
|
|
8
9
|
sortType: SortType;
|
|
@@ -46,4 +47,6 @@ export declare class DataTableHeaderCellComponent {
|
|
|
46
47
|
calcSortDir(sorts: any[]): any;
|
|
47
48
|
onSort(): void;
|
|
48
49
|
calcSortClass(sortDir: SortDirection): string;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableHeaderCellComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableHeaderCellComponent, "datatable-header-cell", never, { "sortType": "sortType"; "sortAscendingIcon": "sortAscendingIcon"; "sortDescendingIcon": "sortDescendingIcon"; "sortUnsetIcon": "sortUnsetIcon"; "isTarget": "isTarget"; "targetMarkerTemplate": "targetMarkerTemplate"; "targetMarkerContext": "targetMarkerContext"; "allRowsSelected": "allRowsSelected"; "selectionType": "selectionType"; "column": "column"; "headerHeight": "headerHeight"; "sorts": "sorts"; }, { "sort": "sort"; "select": "select"; "columnContextmenu": "columnContextmenu"; }, never, never>;
|
|
49
52
|
}
|
|
@@ -2,6 +2,7 @@ import { EventEmitter, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { SortType } from '../../types/sort.type';
|
|
3
3
|
import { SelectionType } from '../../types/selection.type';
|
|
4
4
|
import { DataTableColumnDirective } from '../columns/column.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class DataTableHeaderComponent implements OnDestroy {
|
|
6
7
|
private cd;
|
|
7
8
|
sortAscendingIcon: any;
|
|
@@ -64,4 +65,6 @@ export declare class DataTableHeaderComponent implements OnDestroy {
|
|
|
64
65
|
calcNewSorts(column: any, prevValue: number, newValue: number): any[];
|
|
65
66
|
setStylesByGroup(): void;
|
|
66
67
|
calcStylesByGroup(group: string): any;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableHeaderComponent, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableHeaderComponent, "datatable-header", never, { "sortAscendingIcon": "sortAscendingIcon"; "sortDescendingIcon": "sortDescendingIcon"; "sortUnsetIcon": "sortUnsetIcon"; "scrollbarH": "scrollbarH"; "dealsWithGroup": "dealsWithGroup"; "targetMarkerTemplate": "targetMarkerTemplate"; "innerWidth": "innerWidth"; "sorts": "sorts"; "sortType": "sortType"; "allRowsSelected": "allRowsSelected"; "selectionType": "selectionType"; "reorderable": "reorderable"; "headerHeight": "headerHeight"; "columns": "columns"; "offsetX": "offsetX"; }, { "sort": "sort"; "reorder": "reorder"; "resize": "resize"; "select": "select"; "columnContextmenu": "columnContextmenu"; }, never, never>;
|
|
67
70
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DatatableRowDetailTemplateDirective {
|
|
3
4
|
template: TemplateRef<any>;
|
|
4
5
|
constructor(template: TemplateRef<any>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatatableRowDetailTemplateDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DatatableRowDetailTemplateDirective, "[ngx-datatable-row-detail-template]", never, {}, {}, never>;
|
|
5
8
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DatatableRowDetailDirective {
|
|
3
4
|
/**
|
|
4
5
|
* The detail row height is required especially
|
|
@@ -24,4 +25,6 @@ export declare class DatatableRowDetailDirective {
|
|
|
24
25
|
* API method to collapse all the rows.
|
|
25
26
|
*/
|
|
26
27
|
collapseAllRows(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatatableRowDetailDirective, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DatatableRowDetailDirective, "ngx-datatable-row-detail", never, { "rowHeight": "rowHeight"; "_templateInput": "template"; }, { "toggle": "toggle"; }, ["_templateQuery"]>;
|
|
27
30
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
4
5
|
* Draggable Directive for Angular2
|
|
5
6
|
*
|
|
@@ -29,4 +30,6 @@ export declare class DraggableDirective implements OnDestroy, OnChanges {
|
|
|
29
30
|
y: number;
|
|
30
31
|
}): void;
|
|
31
32
|
private _destroySubscription;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DraggableDirective, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DraggableDirective, "[draggable]", never, { "dragEventTarget": "dragEventTarget"; "dragModel": "dragModel"; "dragX": "dragX"; "dragY": "dragY"; }, { "dragStart": "dragStart"; "dragging": "dragging"; "dragEnd": "dragEnd"; }, never>;
|
|
32
35
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class LongPressDirective implements OnDestroy {
|
|
4
5
|
pressEnabled: boolean;
|
|
5
6
|
pressModel: any;
|
|
@@ -22,4 +23,6 @@ export declare class LongPressDirective implements OnDestroy {
|
|
|
22
23
|
onMouseup(): void;
|
|
23
24
|
ngOnDestroy(): void;
|
|
24
25
|
private _destroySubscription;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LongPressDirective, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LongPressDirective, "[long-press]", never, { "pressEnabled": "pressEnabled"; "pressModel": "pressModel"; "duration": "duration"; }, { "longPressStart": "longPressStart"; "longPressing": "longPressing"; "longPressEnd": "longPressEnd"; }, never>;
|
|
25
28
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, QueryList, KeyValueDiffers, AfterContentInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { DraggableDirective } from './draggable.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class OrderableDirective implements AfterContentInit, OnDestroy {
|
|
4
5
|
private document;
|
|
5
6
|
reorder: EventEmitter<any>;
|
|
@@ -17,4 +18,6 @@ export declare class OrderableDirective implements AfterContentInit, OnDestroy {
|
|
|
17
18
|
onDragEnd({ element, model, event }: any): void;
|
|
18
19
|
isTarget(model: any, event: any): any;
|
|
19
20
|
private createMapDiffs;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderableDirective, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OrderableDirective, "[orderable]", never, {}, { "reorder": "reorder"; "targetChanged": "targetChanged"; }, ["draggables"]>;
|
|
20
23
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnDestroy, AfterViewInit, Renderer2 } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class ResizeableDirective implements OnDestroy, AfterViewInit {
|
|
4
5
|
private renderer;
|
|
5
6
|
resizeEnabled: boolean;
|
|
@@ -17,4 +18,6 @@ export declare class ResizeableDirective implements OnDestroy, AfterViewInit {
|
|
|
17
18
|
onMousedown(event: MouseEvent): void;
|
|
18
19
|
move(event: MouseEvent, initialWidth: number, mouseDownScreenX: number): void;
|
|
19
20
|
private _destroySubscription;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeableDirective, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeableDirective, "[resizeable]", never, { "resizeEnabled": "resizeEnabled"; "minWidth": "minWidth"; "maxWidth": "maxWidth"; }, { "resize": "resize"; }, never>;
|
|
20
23
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, ElementRef, NgZone, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
/**
|
|
3
4
|
* Visibility Observer Directive
|
|
4
5
|
*
|
|
@@ -21,4 +22,6 @@ export declare class VisibilityDirective implements OnInit, OnDestroy {
|
|
|
21
22
|
ngOnDestroy(): void;
|
|
22
23
|
onVisibilityChange(): void;
|
|
23
24
|
runCheck(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VisibilityDirective, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VisibilityDirective, "[visibilityObserver]", never, {}, { "visible": "visible"; }, never>;
|
|
24
27
|
}
|
|
@@ -1,10 +1,43 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./components/footer/footer-template.directive";
|
|
4
|
+
import * as i2 from "./directives/visibility.directive";
|
|
5
|
+
import * as i3 from "./directives/draggable.directive";
|
|
6
|
+
import * as i4 from "./directives/resizeable.directive";
|
|
7
|
+
import * as i5 from "./directives/orderable.directive";
|
|
8
|
+
import * as i6 from "./directives/long-press.directive";
|
|
9
|
+
import * as i7 from "./components/body/scroller.component";
|
|
10
|
+
import * as i8 from "./components/datatable.component";
|
|
11
|
+
import * as i9 from "./components/columns/column.directive";
|
|
12
|
+
import * as i10 from "./components/header/header.component";
|
|
13
|
+
import * as i11 from "./components/header/header-cell.component";
|
|
14
|
+
import * as i12 from "./components/body/body.component";
|
|
15
|
+
import * as i13 from "./components/footer/footer.component";
|
|
16
|
+
import * as i14 from "./components/footer/pager.component";
|
|
17
|
+
import * as i15 from "./components/body/progress-bar.component";
|
|
18
|
+
import * as i16 from "./components/body/body-row.component";
|
|
19
|
+
import * as i17 from "./components/body/body-row-wrapper.component";
|
|
20
|
+
import * as i18 from "./components/row-detail/row-detail.directive";
|
|
21
|
+
import * as i19 from "./components/body/body-group-header.directive";
|
|
22
|
+
import * as i20 from "./components/row-detail/row-detail-template.directive";
|
|
23
|
+
import * as i21 from "./components/body/body-cell.component";
|
|
24
|
+
import * as i22 from "./components/body/selection.component";
|
|
25
|
+
import * as i23 from "./components/columns/column-header.directive";
|
|
26
|
+
import * as i24 from "./components/columns/column-cell.directive";
|
|
27
|
+
import * as i25 from "./components/columns/tree.directive";
|
|
28
|
+
import * as i26 from "./components/footer/footer.directive";
|
|
29
|
+
import * as i27 from "./components/body/body-group-header-template.directive";
|
|
30
|
+
import * as i28 from "./components/body/summary/summary-row.component";
|
|
31
|
+
import * as i29 from "@angular/common";
|
|
2
32
|
export declare class NgxDatatableModule {
|
|
3
33
|
/**
|
|
4
34
|
* Configure global configuration via INgxDatatableConfig
|
|
5
35
|
* @param configuration
|
|
6
36
|
*/
|
|
7
37
|
static forRoot(configuration: INgxDatatableConfig): ModuleWithProviders<NgxDatatableModule>;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxDatatableModule, never>;
|
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxDatatableModule, [typeof i1.DataTableFooterTemplateDirective, typeof i2.VisibilityDirective, typeof i3.DraggableDirective, typeof i4.ResizeableDirective, typeof i5.OrderableDirective, typeof i6.LongPressDirective, typeof i7.ScrollerComponent, typeof i8.DatatableComponent, typeof i9.DataTableColumnDirective, typeof i10.DataTableHeaderComponent, typeof i11.DataTableHeaderCellComponent, typeof i12.DataTableBodyComponent, typeof i13.DataTableFooterComponent, typeof i14.DataTablePagerComponent, typeof i15.ProgressBarComponent, typeof i16.DataTableBodyRowComponent, typeof i17.DataTableRowWrapperComponent, typeof i18.DatatableRowDetailDirective, typeof i19.DatatableGroupHeaderDirective, typeof i20.DatatableRowDetailTemplateDirective, typeof i21.DataTableBodyCellComponent, typeof i22.DataTableSelectionComponent, typeof i23.DataTableColumnHeaderDirective, typeof i24.DataTableColumnCellDirective, typeof i25.DataTableColumnCellTreeToggle, typeof i26.DatatableFooterDirective, typeof i27.DatatableGroupHeaderTemplateDirective, typeof i28.DataTableSummaryRowComponent], [typeof i29.CommonModule], [typeof i8.DatatableComponent, typeof i18.DatatableRowDetailDirective, typeof i19.DatatableGroupHeaderDirective, typeof i20.DatatableRowDetailTemplateDirective, typeof i9.DataTableColumnDirective, typeof i23.DataTableColumnHeaderDirective, typeof i24.DataTableColumnCellDirective, typeof i25.DataTableColumnCellTreeToggle, typeof i1.DataTableFooterTemplateDirective, typeof i26.DatatableFooterDirective, typeof i14.DataTablePagerComponent, typeof i27.DatatableGroupHeaderTemplateDirective]>;
|
|
40
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgxDatatableModule>;
|
|
8
41
|
}
|
|
9
42
|
/**
|
|
10
43
|
* Interface definition for INgxDatatableConfig global configuration
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
/**
|
|
3
4
|
* service to make DatatableComponent aware of changes to
|
|
4
5
|
* input bindings of DataTableColumnDirective
|
|
@@ -7,4 +8,6 @@ export declare class ColumnChangesService {
|
|
|
7
8
|
private columnInputChanges;
|
|
8
9
|
get columnInputChanges$(): Observable<undefined>;
|
|
9
10
|
onInputChange(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnChangesService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ColumnChangesService>;
|
|
10
13
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
/**
|
|
2
3
|
* Gets the width of the scrollbar. Nesc for windows
|
|
3
4
|
* http://stackoverflow.com/a/13382873/888165
|
|
4
5
|
*/
|
|
5
6
|
export declare class DimensionsHelper {
|
|
6
7
|
getDimensions(element: Element): ClientRect;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DimensionsHelper, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DimensionsHelper>;
|
|
7
10
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
/**
|
|
2
3
|
* Gets the width of the scrollbar. Nesc for windows
|
|
3
4
|
* http://stackoverflow.com/a/13382873/888165
|
|
@@ -7,4 +8,6 @@ export declare class ScrollbarHelper {
|
|
|
7
8
|
width: number;
|
|
8
9
|
constructor(document: any);
|
|
9
10
|
getWidth(): number;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollbarHelper, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ScrollbarHelper>;
|
|
10
13
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swimlane/ngx-datatable",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.0-alpha-1",
|
|
4
4
|
"description": "ngx-datatable is an Angular table grid component for presenting large and complex data.",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@angular/common": "
|
|
7
|
-
"@angular/core": "
|
|
8
|
-
"@angular/platform-browser": "
|
|
9
|
-
"rxjs": "
|
|
6
|
+
"@angular/common": ">=11.0.2",
|
|
7
|
+
"@angular/core": ">=11.0.2",
|
|
8
|
+
"@angular/platform-browser": ">=11.0.2",
|
|
9
|
+
"rxjs": ">=6.6.7 || ^7.4.0"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"tslib": "^2.0.0"
|
|
@@ -29,12 +29,24 @@
|
|
|
29
29
|
"url": "https://github.com/swimlane/ngx-datatable/issues"
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://github.com/swimlane/ngx-datatable#readme",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"fesm2015": "fesm2015/swimlane-ngx-datatable.
|
|
32
|
+
"module": "fesm2015/swimlane-ngx-datatable.mjs",
|
|
33
|
+
"es2020": "fesm2020/swimlane-ngx-datatable.mjs",
|
|
34
|
+
"esm2020": "esm2020/swimlane-ngx-datatable.mjs",
|
|
35
|
+
"fesm2020": "fesm2020/swimlane-ngx-datatable.mjs",
|
|
36
|
+
"fesm2015": "fesm2015/swimlane-ngx-datatable.mjs",
|
|
37
37
|
"typings": "swimlane-ngx-datatable.d.ts",
|
|
38
|
-
"
|
|
38
|
+
"exports": {
|
|
39
|
+
"./package.json": {
|
|
40
|
+
"default": "./package.json"
|
|
41
|
+
},
|
|
42
|
+
".": {
|
|
43
|
+
"types": "./swimlane-ngx-datatable.d.ts",
|
|
44
|
+
"esm2020": "./esm2020/swimlane-ngx-datatable.mjs",
|
|
45
|
+
"es2020": "./fesm2020/swimlane-ngx-datatable.mjs",
|
|
46
|
+
"es2015": "./fesm2015/swimlane-ngx-datatable.mjs",
|
|
47
|
+
"node": "./fesm2015/swimlane-ngx-datatable.mjs",
|
|
48
|
+
"default": "./fesm2020/swimlane-ngx-datatable.mjs"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
39
51
|
"sideEffects": false
|
|
40
|
-
}
|
|
52
|
+
}
|