@den4ik92/ng2-smart-table 1.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/esm2020/den4ik92-ng2-smart-table.mjs +5 -0
- package/esm2020/lib/components/cell/cell-edit-mode/custom-edit.component.mjs +50 -0
- package/esm2020/lib/components/cell/cell-edit-mode/default-edit.component.mjs +84 -0
- package/esm2020/lib/components/cell/cell-edit-mode/edit-cell-default.mjs +35 -0
- package/esm2020/lib/components/cell/cell-edit-mode/edit-cell.component.mjs +75 -0
- package/esm2020/lib/components/cell/cell-editors/checkbox-editor.component.mjs +37 -0
- package/esm2020/lib/components/cell/cell-editors/completer-editor.component.mjs +38 -0
- package/esm2020/lib/components/cell/cell-editors/default-editor.mjs +29 -0
- package/esm2020/lib/components/cell/cell-editors/input-editor.component.mjs +33 -0
- package/esm2020/lib/components/cell/cell-editors/select-editor.component.mjs +55 -0
- package/esm2020/lib/components/cell/cell-editors/textarea-editor.component.mjs +35 -0
- package/esm2020/lib/components/cell/cell-view-mode/custom-view.component.mjs +63 -0
- package/esm2020/lib/components/cell/cell-view-mode/view-cell.component.mjs +59 -0
- package/esm2020/lib/components/cell/cell-view-mode/view-cell.mjs +2 -0
- package/esm2020/lib/components/cell/cell.component.mjs +82 -0
- package/esm2020/lib/components/cell/cell.module.mjs +80 -0
- package/esm2020/lib/components/filter/custom-filter.component.mjs +53 -0
- package/esm2020/lib/components/filter/default-filter.component.mjs +100 -0
- package/esm2020/lib/components/filter/filter-default.mjs +35 -0
- package/esm2020/lib/components/filter/filter-types/checkbox-filter.component.mjs +65 -0
- package/esm2020/lib/components/filter/filter-types/completer-filter.component.mjs +52 -0
- package/esm2020/lib/components/filter/filter-types/default-filter.mjs +34 -0
- package/esm2020/lib/components/filter/filter-types/input-filter.component.mjs +51 -0
- package/esm2020/lib/components/filter/filter-types/select-filter.component.mjs +71 -0
- package/esm2020/lib/components/filter/filter.component.mjs +91 -0
- package/esm2020/lib/components/filter/filter.module.mjs +67 -0
- package/esm2020/lib/components/pager/pager.component.mjs +284 -0
- package/esm2020/lib/components/pager/pager.module.mjs +29 -0
- package/esm2020/lib/components/tbody/cells/create-cancel.component.mjs +52 -0
- package/esm2020/lib/components/tbody/cells/custom.component.mjs +56 -0
- package/esm2020/lib/components/tbody/cells/edit-delete.component.mjs +103 -0
- package/esm2020/lib/components/tbody/tbody.component.mjs +206 -0
- package/esm2020/lib/components/tbody/tbody.module.mjs +48 -0
- package/esm2020/lib/components/thead/cells/actions-title.component.mjs +36 -0
- package/esm2020/lib/components/thead/cells/actions.component.mjs +44 -0
- package/esm2020/lib/components/thead/cells/add-button.component.mjs +63 -0
- package/esm2020/lib/components/thead/cells/checkbox-select-all.component.mjs +28 -0
- package/esm2020/lib/components/thead/cells/column-title.component.mjs +37 -0
- package/esm2020/lib/components/thead/cells/title/title.component.mjs +100 -0
- package/esm2020/lib/components/thead/rows/thead-filters-row.component.mjs +105 -0
- package/esm2020/lib/components/thead/rows/thead-form-row.component.mjs +108 -0
- package/esm2020/lib/components/thead/rows/thead-titles-row.component.mjs +103 -0
- package/esm2020/lib/components/thead/thead.component.mjs +76 -0
- package/esm2020/lib/components/thead/thead.module.mjs +76 -0
- package/esm2020/lib/lib/data-set/cell.mjs +41 -0
- package/esm2020/lib/lib/data-set/column.mjs +75 -0
- package/esm2020/lib/lib/data-set/data-set.mjs +98 -0
- package/esm2020/lib/lib/data-set/row.mjs +46 -0
- package/esm2020/lib/lib/data-source/data-source.mjs +101 -0
- package/esm2020/lib/lib/data-source/local/local.data-source.mjs +228 -0
- package/esm2020/lib/lib/data-source/local/local.filter.mjs +13 -0
- package/esm2020/lib/lib/data-source/local/local.pager.mjs +6 -0
- package/esm2020/lib/lib/data-source/local/local.sorter.mjs +19 -0
- package/esm2020/lib/lib/data-source/server/server-source.conf.mjs +20 -0
- package/esm2020/lib/lib/data-source/server/server.data-source.mjs +93 -0
- package/esm2020/lib/lib/grid.mjs +220 -0
- package/esm2020/lib/lib/helpers.mjs +84 -0
- package/esm2020/lib/lib/interfaces/smart-table.models.mjs +2 -0
- package/esm2020/lib/ng2-smart-table.component.mjs +203 -0
- package/esm2020/lib/ng2-smart-table.module.mjs +52 -0
- package/esm2020/public-api.mjs +8 -0
- package/fesm2015/den4ik92-ng2-smart-table.mjs +4329 -0
- package/fesm2015/den4ik92-ng2-smart-table.mjs.map +1 -0
- package/fesm2020/den4ik92-ng2-smart-table.mjs +3949 -0
- package/fesm2020/den4ik92-ng2-smart-table.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/cell/cell-edit-mode/custom-edit.component.d.ts +13 -0
- package/lib/components/cell/cell-edit-mode/default-edit.component.d.ts +8 -0
- package/lib/components/cell/cell-edit-mode/edit-cell-default.d.ts +13 -0
- package/lib/components/cell/cell-edit-mode/edit-cell.component.d.ts +12 -0
- package/lib/components/cell/cell-editors/checkbox-editor.component.d.ts +8 -0
- package/lib/components/cell/cell-editors/completer-editor.component.d.ts +13 -0
- package/lib/components/cell/cell-editors/default-editor.d.ts +19 -0
- package/lib/components/cell/cell-editors/input-editor.component.d.ts +7 -0
- package/lib/components/cell/cell-editors/select-editor.component.d.ts +7 -0
- package/lib/components/cell/cell-editors/textarea-editor.component.d.ts +7 -0
- package/lib/components/cell/cell-view-mode/custom-view.component.d.ts +19 -0
- package/lib/components/cell/cell-view-mode/view-cell.component.d.ts +7 -0
- package/lib/components/cell/cell-view-mode/view-cell.d.ts +4 -0
- package/lib/components/cell/cell.component.d.ts +20 -0
- package/lib/components/cell/cell.module.d.ts +21 -0
- package/lib/components/filter/custom-filter.component.d.ts +14 -0
- package/lib/components/filter/default-filter.component.d.ts +7 -0
- package/lib/components/filter/filter-default.d.ts +14 -0
- package/lib/components/filter/filter-types/checkbox-filter.component.d.ts +13 -0
- package/lib/components/filter/filter-types/completer-filter.component.d.ts +12 -0
- package/lib/components/filter/filter-types/default-filter.d.ts +24 -0
- package/lib/components/filter/filter-types/input-filter.component.d.ts +12 -0
- package/lib/components/filter/filter-types/select-filter.component.d.ts +11 -0
- package/lib/components/filter/filter.component.d.ts +11 -0
- package/lib/components/filter/filter.module.d.ts +17 -0
- package/lib/components/pager/pager.component.d.ts +35 -0
- package/lib/components/pager/pager.module.d.ts +9 -0
- package/lib/components/tbody/cells/create-cancel.component.d.ts +16 -0
- package/lib/components/tbody/cells/custom.component.d.ts +13 -0
- package/lib/components/tbody/cells/edit-delete.component.d.ts +24 -0
- package/lib/components/tbody/tbody.component.d.ts +37 -0
- package/lib/components/tbody/tbody.module.d.ts +13 -0
- package/lib/components/thead/cells/actions-title.component.d.ts +13 -0
- package/lib/components/thead/cells/actions.component.d.ts +12 -0
- package/lib/components/thead/cells/add-button.component.d.ts +18 -0
- package/lib/components/thead/cells/checkbox-select-all.component.d.ts +9 -0
- package/lib/components/thead/cells/column-title.component.d.ts +11 -0
- package/lib/components/thead/cells/title/title.component.d.ts +17 -0
- package/lib/components/thead/rows/thead-filters-row.component.d.ts +19 -0
- package/lib/components/thead/rows/thead-form-row.component.d.ts +20 -0
- package/lib/components/thead/rows/thead-titles-row.component.d.ts +18 -0
- package/lib/components/thead/thead.component.d.ts +18 -0
- package/lib/components/thead/thead.module.d.ts +20 -0
- package/lib/lib/data-set/cell.d.ts +20 -0
- package/lib/lib/data-set/column.d.ts +44 -0
- package/lib/lib/data-set/data-set.d.ts +37 -0
- package/lib/lib/data-set/row.d.ts +20 -0
- package/lib/lib/data-source/data-source.d.ts +35 -0
- package/lib/lib/data-source/local/local.data-source.d.ts +55 -0
- package/lib/lib/data-source/local/local.filter.d.ts +4 -0
- package/lib/lib/data-source/local/local.pager.d.ts +3 -0
- package/lib/lib/data-source/local/local.sorter.d.ts +4 -0
- package/lib/lib/data-source/server/server-source.conf.d.ts +27 -0
- package/lib/lib/data-source/server/server.data-source.d.ts +30 -0
- package/lib/lib/grid.d.ts +49 -0
- package/lib/lib/helpers.d.ts +18 -0
- package/lib/lib/interfaces/smart-table.models.d.ts +148 -0
- package/lib/ng2-smart-table.component.d.ts +43 -0
- package/lib/ng2-smart-table.module.d.ts +14 -0
- package/package.json +35 -0
- package/public-api.d.ts +8 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentFactoryResolver, SimpleChanges, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
+
import { EditCellDefault } from './edit-cell-default';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CustomEditComponent extends EditCellDefault implements OnChanges, OnDestroy {
|
|
5
|
+
private resolver;
|
|
6
|
+
customComponent: any;
|
|
7
|
+
dynamicTarget: any;
|
|
8
|
+
constructor(resolver: ComponentFactoryResolver);
|
|
9
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
10
|
+
ngOnDestroy(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomEditComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomEditComponent, "table-cell-custom-editor", never, {}, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EditCellDefault } from './edit-cell-default';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DefaultEditComponent extends EditCellDefault {
|
|
4
|
+
constructor();
|
|
5
|
+
getEditorType(): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultEditComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultEditComponent, "table-cell-default-editor", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Cell } from '../../../lib/data-set/cell';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EditCellDefault {
|
|
5
|
+
cell: Cell;
|
|
6
|
+
inputClass: string;
|
|
7
|
+
edited: EventEmitter<any>;
|
|
8
|
+
onEdited(event: any): boolean;
|
|
9
|
+
onStopEditing(): boolean;
|
|
10
|
+
onClick(event: any): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditCellDefault, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditCellDefault, "ng-component", never, { "cell": "cell"; "inputClass": "inputClass"; }, { "edited": "edited"; }, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Cell } from '../../../lib/data-set/cell';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EditCellComponent {
|
|
5
|
+
cell: Cell;
|
|
6
|
+
inputClass: string;
|
|
7
|
+
edited: EventEmitter<any>;
|
|
8
|
+
onEdited(event: any): boolean;
|
|
9
|
+
getEditorType(): string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditCellComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditCellComponent, "table-cell-edit-mode", never, { "cell": "cell"; "inputClass": "inputClass"; }, { "edited": "edited"; }, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DefaultEditor } from './default-editor';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CheckboxEditorComponent extends DefaultEditor {
|
|
4
|
+
constructor();
|
|
5
|
+
onChange(event: any): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxEditorComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxEditorComponent, "checkbox-editor", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DefaultEditor } from './default-editor';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CompleterEditorComponent extends DefaultEditor implements OnInit {
|
|
5
|
+
completerStr: string;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
onEditedCompleter(event: {
|
|
9
|
+
title: '';
|
|
10
|
+
}): boolean;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CompleterEditorComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CompleterEditorComponent, "completer-editor", never, {}, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Cell } from '../../../lib/data-set/cell';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DefaultEditor implements Editor {
|
|
5
|
+
cell: Cell;
|
|
6
|
+
inputClass: string;
|
|
7
|
+
onStopEditing: EventEmitter<any>;
|
|
8
|
+
onEdited: EventEmitter<any>;
|
|
9
|
+
onClick: EventEmitter<any>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultEditor, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultEditor, "ng-component", never, { "cell": "cell"; "inputClass": "inputClass"; }, { "onStopEditing": "onStopEditing"; "onEdited": "onEdited"; "onClick": "onClick"; }, never, never, false, never>;
|
|
12
|
+
}
|
|
13
|
+
export interface Editor {
|
|
14
|
+
cell: Cell;
|
|
15
|
+
inputClass: string;
|
|
16
|
+
onStopEditing: EventEmitter<any>;
|
|
17
|
+
onEdited: EventEmitter<any>;
|
|
18
|
+
onClick: EventEmitter<any>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DefaultEditor } from './default-editor';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InputEditorComponent extends DefaultEditor {
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputEditorComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputEditorComponent, "input-editor", never, {}, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DefaultEditor } from './default-editor';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SelectEditorComponent extends DefaultEditor {
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectEditorComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectEditorComponent, "select-editor", never, {}, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DefaultEditor } from './default-editor';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TextareaEditorComponent extends DefaultEditor {
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaEditorComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaEditorComponent, "textarea-editor", never, {}, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ComponentFactoryResolver, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Cell } from '../../../lib/data-set/cell';
|
|
3
|
+
import { ViewCell } from './view-cell';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CustomViewComponent implements OnInit, OnDestroy {
|
|
6
|
+
private resolver;
|
|
7
|
+
customComponent: any;
|
|
8
|
+
cell: Cell;
|
|
9
|
+
dynamicTarget: any;
|
|
10
|
+
constructor(resolver: ComponentFactoryResolver);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
protected createCustomComponent(): void;
|
|
14
|
+
protected callOnComponentInit(): void;
|
|
15
|
+
protected patchInstance(): void;
|
|
16
|
+
protected getPatch(): ViewCell;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomViewComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomViewComponent, "custom-view-component", never, { "cell": "cell"; }, {}, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Cell } from '../../../lib/data-set/cell';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ViewCellComponent {
|
|
4
|
+
cell: Cell;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewCellComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ViewCellComponent, "table-cell-view-mode", never, { "cell": "cell"; }, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Grid } from '../../lib/grid';
|
|
3
|
+
import { Cell } from '../../lib/data-set/cell';
|
|
4
|
+
import { Row } from '../../lib/data-set/row';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CellComponent {
|
|
7
|
+
grid: Grid;
|
|
8
|
+
row: Row;
|
|
9
|
+
editConfirm: EventEmitter<any>;
|
|
10
|
+
createConfirm: EventEmitter<any>;
|
|
11
|
+
isNew: boolean;
|
|
12
|
+
cell: Cell;
|
|
13
|
+
inputClass: string;
|
|
14
|
+
mode: string;
|
|
15
|
+
isInEditing: boolean;
|
|
16
|
+
edited: EventEmitter<any>;
|
|
17
|
+
onEdited(event: any): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CellComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CellComponent, "ng2-smart-table-cell", never, { "grid": "grid"; "row": "row"; "editConfirm": "editConfirm"; "createConfirm": "createConfirm"; "isNew": "isNew"; "cell": "cell"; "inputClass": "inputClass"; "mode": "mode"; "isInEditing": "isInEditing"; }, { "edited": "edited"; }, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./cell.component";
|
|
3
|
+
import * as i2 from "./cell-edit-mode/edit-cell-default";
|
|
4
|
+
import * as i3 from "./cell-editors/default-editor";
|
|
5
|
+
import * as i4 from "./cell-edit-mode/custom-edit.component";
|
|
6
|
+
import * as i5 from "./cell-edit-mode/default-edit.component";
|
|
7
|
+
import * as i6 from "./cell-edit-mode/edit-cell.component";
|
|
8
|
+
import * as i7 from "./cell-editors/checkbox-editor.component";
|
|
9
|
+
import * as i8 from "./cell-editors/completer-editor.component";
|
|
10
|
+
import * as i9 from "./cell-editors/input-editor.component";
|
|
11
|
+
import * as i10 from "./cell-editors/select-editor.component";
|
|
12
|
+
import * as i11 from "./cell-editors/textarea-editor.component";
|
|
13
|
+
import * as i12 from "./cell-view-mode/custom-view.component";
|
|
14
|
+
import * as i13 from "./cell-view-mode/view-cell.component";
|
|
15
|
+
import * as i14 from "@angular/common";
|
|
16
|
+
import * as i15 from "@angular/forms";
|
|
17
|
+
export declare class CellModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CellModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CellModule, [typeof i1.CellComponent, typeof i2.EditCellDefault, typeof i3.DefaultEditor, typeof i4.CustomEditComponent, typeof i5.DefaultEditComponent, typeof i6.EditCellComponent, typeof i7.CheckboxEditorComponent, typeof i8.CompleterEditorComponent, typeof i9.InputEditorComponent, typeof i10.SelectEditorComponent, typeof i11.TextareaEditorComponent, typeof i12.CustomViewComponent, typeof i13.ViewCellComponent], [typeof i14.CommonModule, typeof i15.FormsModule], [typeof i1.CellComponent, typeof i2.EditCellDefault, typeof i3.DefaultEditor, typeof i4.CustomEditComponent, typeof i5.DefaultEditComponent, typeof i6.EditCellComponent, typeof i7.CheckboxEditorComponent, typeof i8.CompleterEditorComponent, typeof i9.InputEditorComponent, typeof i10.SelectEditorComponent, typeof i11.TextareaEditorComponent, typeof i12.CustomViewComponent, typeof i13.ViewCellComponent]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CellModule>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentFactoryResolver, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FilterDefault } from './filter-default';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CustomFilterComponent extends FilterDefault implements OnChanges, OnDestroy {
|
|
5
|
+
private resolver;
|
|
6
|
+
query: string;
|
|
7
|
+
customComponent: any;
|
|
8
|
+
dynamicTarget: any;
|
|
9
|
+
constructor(resolver: ComponentFactoryResolver);
|
|
10
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomFilterComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomFilterComponent, "custom-table-filter", never, { "query": "query"; }, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FilterDefault } from "./filter-default";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DefaultFilterComponent extends FilterDefault {
|
|
4
|
+
query: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultFilterComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultFilterComponent, "default-table-filter", never, { "query": "query"; }, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Column } from '../../lib/data-set/column';
|
|
3
|
+
import { DataSource } from '../../lib/data-source/data-source';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FilterDefault {
|
|
6
|
+
column: Column;
|
|
7
|
+
source: DataSource;
|
|
8
|
+
inputClass: string;
|
|
9
|
+
filter: EventEmitter<any>;
|
|
10
|
+
query: string;
|
|
11
|
+
onFilter(query: string): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterDefault, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterDefault, "ng-component", never, { "column": "column"; "source": "source"; "inputClass": "inputClass"; }, { "filter": "filter"; }, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormControl } from '@angular/forms';
|
|
3
|
+
import { DefaultFilter } from './default-filter';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CheckboxFilterComponent extends DefaultFilter implements OnInit {
|
|
6
|
+
filterActive: boolean;
|
|
7
|
+
inputControl: UntypedFormControl;
|
|
8
|
+
constructor();
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
resetFilter(event: any): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFilterComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxFilterComponent, "checkbox-filter", never, {}, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { DefaultFilter } from './default-filter';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CompleterFilterComponent extends DefaultFilter implements OnInit {
|
|
6
|
+
completerContent: Subject<any>;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
inputTextChanged(event: string): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CompleterFilterComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CompleterFilterComponent, "completer-filter", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { Column } from '../../../lib/data-set/column';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DefaultFilter implements Filter, OnDestroy {
|
|
6
|
+
delay: number;
|
|
7
|
+
changesSubscription: Subscription;
|
|
8
|
+
query: string;
|
|
9
|
+
inputClass: string;
|
|
10
|
+
column: Column;
|
|
11
|
+
filter: EventEmitter<string>;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
setFilter(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultFilter, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultFilter, "ng-component", never, { "query": "query"; "inputClass": "inputClass"; "column": "column"; }, { "filter": "filter"; }, never, never, false, never>;
|
|
16
|
+
}
|
|
17
|
+
export interface Filter {
|
|
18
|
+
delay?: number;
|
|
19
|
+
changesSubscription?: Subscription;
|
|
20
|
+
query: string;
|
|
21
|
+
inputClass: string;
|
|
22
|
+
column: Column;
|
|
23
|
+
filter: EventEmitter<string>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { UntypedFormControl } from '@angular/forms';
|
|
3
|
+
import { DefaultFilter } from './default-filter';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputFilterComponent extends DefaultFilter implements OnInit, OnChanges {
|
|
6
|
+
inputControl: UntypedFormControl;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputFilterComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputFilterComponent, "input-filter", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { DefaultFilter } from './default-filter';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SelectFilterComponent extends DefaultFilter implements OnInit {
|
|
6
|
+
inputControl: NgControl;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectFilterComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectFilterComponent, "select-filter", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FilterDefault } from './filter-default';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FilterComponent extends FilterDefault implements OnChanges {
|
|
6
|
+
query: string;
|
|
7
|
+
protected dataChangedSub: Subscription;
|
|
8
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "ng2-smart-table-filter", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./filter-default";
|
|
3
|
+
import * as i2 from "./filter-types/default-filter";
|
|
4
|
+
import * as i3 from "./filter.component";
|
|
5
|
+
import * as i4 from "./default-filter.component";
|
|
6
|
+
import * as i5 from "./custom-filter.component";
|
|
7
|
+
import * as i6 from "./filter-types/checkbox-filter.component";
|
|
8
|
+
import * as i7 from "./filter-types/completer-filter.component";
|
|
9
|
+
import * as i8 from "./filter-types/input-filter.component";
|
|
10
|
+
import * as i9 from "./filter-types/select-filter.component";
|
|
11
|
+
import * as i10 from "@angular/common";
|
|
12
|
+
import * as i11 from "@angular/forms";
|
|
13
|
+
export declare class FilterModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FilterModule, [typeof i1.FilterDefault, typeof i2.DefaultFilter, typeof i3.FilterComponent, typeof i4.DefaultFilterComponent, typeof i5.CustomFilterComponent, typeof i6.CheckboxFilterComponent, typeof i7.CompleterFilterComponent, typeof i8.InputFilterComponent, typeof i9.SelectFilterComponent], [typeof i10.CommonModule, typeof i11.FormsModule, typeof i11.ReactiveFormsModule], [typeof i1.FilterDefault, typeof i2.DefaultFilter, typeof i3.FilterComponent, typeof i4.DefaultFilterComponent, typeof i5.CustomFilterComponent, typeof i6.CheckboxFilterComponent, typeof i7.CompleterFilterComponent, typeof i8.InputFilterComponent, typeof i9.SelectFilterComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FilterModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { DataSource } from '../../lib/data-source/data-source';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PagerComponent implements OnChanges {
|
|
6
|
+
source: DataSource;
|
|
7
|
+
perPageSelect: any[];
|
|
8
|
+
changePage: EventEmitter<any>;
|
|
9
|
+
currentPerPage: any;
|
|
10
|
+
protected pages: Array<any>;
|
|
11
|
+
protected page: number;
|
|
12
|
+
protected count: number;
|
|
13
|
+
protected perPage: number;
|
|
14
|
+
protected dataChangedSub: Subscription;
|
|
15
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
16
|
+
/**
|
|
17
|
+
* We change the page here depending on the action performed against data source
|
|
18
|
+
* if a new element was added to the end of the table - then change the page to the last
|
|
19
|
+
* if a new element was added to the beginning of the table - then to the first page
|
|
20
|
+
* @param changes
|
|
21
|
+
*/
|
|
22
|
+
processPageChange(changes: any): void;
|
|
23
|
+
shouldShow(): boolean;
|
|
24
|
+
paginate(page: number): boolean;
|
|
25
|
+
next(): boolean;
|
|
26
|
+
prev(): boolean;
|
|
27
|
+
getPage(): number;
|
|
28
|
+
getPages(): Array<any>;
|
|
29
|
+
getLast(): number;
|
|
30
|
+
isPageOutOfBounce(): boolean;
|
|
31
|
+
initPages(): void;
|
|
32
|
+
onChangePerPage(event: any): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PagerComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PagerComponent, "ng2-smart-table-pager", never, { "source": "source"; "perPageSelect": "perPageSelect"; }, { "changePage": "changePage"; }, never, never, false, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./pager.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
export declare class PagerModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PagerModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PagerModule, [typeof i1.PagerComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.PagerComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PagerModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges } from '@angular/core';
|
|
2
|
+
import { Grid } from '../../../lib/grid';
|
|
3
|
+
import { Row } from '../../../lib/data-set/row';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TbodyCreateCancelComponent implements OnChanges {
|
|
6
|
+
grid: Grid;
|
|
7
|
+
row: Row;
|
|
8
|
+
editConfirm: EventEmitter<any>;
|
|
9
|
+
cancelButtonContent: string;
|
|
10
|
+
saveButtonContent: string;
|
|
11
|
+
onSave(event: any): void;
|
|
12
|
+
onCancelEdit(event: any): void;
|
|
13
|
+
ngOnChanges(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TbodyCreateCancelComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TbodyCreateCancelComponent, "ng2-st-tbody-create-cancel", never, { "grid": "grid"; "row": "row"; "editConfirm": "editConfirm"; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Row } from '../../../lib/data-set/row';
|
|
3
|
+
import { Grid } from '../../../lib/grid';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TbodyCustomComponent {
|
|
6
|
+
grid: Grid;
|
|
7
|
+
row: Row;
|
|
8
|
+
source: any;
|
|
9
|
+
custom: EventEmitter<any>;
|
|
10
|
+
onCustom(action: any, event: any): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TbodyCustomComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TbodyCustomComponent, "ng2-st-tbody-custom", never, { "grid": "grid"; "row": "row"; "source": "source"; }, { "custom": "custom"; }, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges } from '@angular/core';
|
|
2
|
+
import { Grid } from '../../../lib/grid';
|
|
3
|
+
import { Row } from '../../../lib/data-set/row';
|
|
4
|
+
import { DataSource } from '../../../lib/data-source/data-source';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TbodyEditDeleteComponent implements OnChanges {
|
|
7
|
+
grid: Grid;
|
|
8
|
+
row: Row;
|
|
9
|
+
source: DataSource;
|
|
10
|
+
deleteConfirm: EventEmitter<any>;
|
|
11
|
+
editConfirm: EventEmitter<any>;
|
|
12
|
+
edit: EventEmitter<any>;
|
|
13
|
+
delete: EventEmitter<any>;
|
|
14
|
+
editRowSelect: EventEmitter<any>;
|
|
15
|
+
isActionEdit: boolean;
|
|
16
|
+
isActionDelete: boolean;
|
|
17
|
+
editRowButtonContent: string;
|
|
18
|
+
deleteRowButtonContent: string;
|
|
19
|
+
onEdit(event: any): void;
|
|
20
|
+
onDelete(event: any): void;
|
|
21
|
+
ngOnChanges(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TbodyEditDeleteComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TbodyEditDeleteComponent, "ng2-st-tbody-edit-delete", never, { "grid": "grid"; "row": "row"; "source": "source"; "deleteConfirm": "deleteConfirm"; "editConfirm": "editConfirm"; }, { "edit": "edit"; "delete": "delete"; "editRowSelect": "editRowSelect"; }, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Grid } from '../../lib/grid';
|
|
3
|
+
import { DataSource } from '../../lib/data-source/data-source';
|
|
4
|
+
import { Cell } from '../../lib/data-set/cell';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class Ng2SmartTableTbodyComponent {
|
|
7
|
+
grid: Grid;
|
|
8
|
+
source: DataSource;
|
|
9
|
+
deleteConfirm: EventEmitter<any>;
|
|
10
|
+
editConfirm: EventEmitter<any>;
|
|
11
|
+
rowClassFunction: Function;
|
|
12
|
+
save: EventEmitter<any>;
|
|
13
|
+
cancel: EventEmitter<any>;
|
|
14
|
+
edit: EventEmitter<any>;
|
|
15
|
+
delete: EventEmitter<any>;
|
|
16
|
+
custom: EventEmitter<any>;
|
|
17
|
+
edited: EventEmitter<any>;
|
|
18
|
+
userSelectRow: EventEmitter<any>;
|
|
19
|
+
userClickedRow: EventEmitter<any>;
|
|
20
|
+
editRowSelect: EventEmitter<any>;
|
|
21
|
+
multipleSelectRow: EventEmitter<any>;
|
|
22
|
+
rowHover: EventEmitter<any>;
|
|
23
|
+
isMultiSelectVisible: boolean;
|
|
24
|
+
showActionColumnLeft: boolean;
|
|
25
|
+
showActionColumnRight: boolean;
|
|
26
|
+
mode: string;
|
|
27
|
+
editInputClass: string;
|
|
28
|
+
isActionAdd: boolean;
|
|
29
|
+
isActionEdit: boolean;
|
|
30
|
+
isActionDelete: boolean;
|
|
31
|
+
noDataMessage: boolean;
|
|
32
|
+
get tableColumnsCount(): number;
|
|
33
|
+
ngOnChanges(): void;
|
|
34
|
+
getVisibleCells(cells: Array<Cell>): Array<Cell>;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Ng2SmartTableTbodyComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Ng2SmartTableTbodyComponent, "[ng2-st-tbody]", never, { "grid": "grid"; "source": "source"; "deleteConfirm": "deleteConfirm"; "editConfirm": "editConfirm"; "rowClassFunction": "rowClassFunction"; }, { "save": "save"; "cancel": "cancel"; "edit": "edit"; "delete": "delete"; "custom": "custom"; "edited": "edited"; "userSelectRow": "userSelectRow"; "userClickedRow": "userClickedRow"; "editRowSelect": "editRowSelect"; "multipleSelectRow": "multipleSelectRow"; "rowHover": "rowHover"; }, never, never, false, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./cells/create-cancel.component";
|
|
3
|
+
import * as i2 from "./cells/edit-delete.component";
|
|
4
|
+
import * as i3 from "./cells/custom.component";
|
|
5
|
+
import * as i4 from "./tbody.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "../cell/cell.module";
|
|
9
|
+
export declare class TBodyModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TBodyModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TBodyModule, [typeof i1.TbodyCreateCancelComponent, typeof i2.TbodyEditDeleteComponent, typeof i3.TbodyCustomComponent, typeof i4.Ng2SmartTableTbodyComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.CellModule], [typeof i1.TbodyCreateCancelComponent, typeof i2.TbodyEditDeleteComponent, typeof i3.TbodyCustomComponent, typeof i4.Ng2SmartTableTbodyComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TBodyModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges } from '@angular/core';
|
|
2
|
+
import { Grid } from '../../../lib/grid';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ActionsTitleComponent implements AfterViewInit, OnChanges {
|
|
5
|
+
private ref;
|
|
6
|
+
grid: Grid;
|
|
7
|
+
actionsColumnTitle: string;
|
|
8
|
+
constructor(ref: ElementRef);
|
|
9
|
+
ngAfterViewInit(): void;
|
|
10
|
+
ngOnChanges(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsTitleComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsTitleComponent, "[ng2-st-actions-title]", never, { "grid": "grid"; }, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges } from '@angular/core';
|
|
2
|
+
import { Grid } from '../../../lib/grid';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ActionsComponent implements OnChanges {
|
|
5
|
+
grid: Grid;
|
|
6
|
+
create: EventEmitter<any>;
|
|
7
|
+
createButtonContent: string;
|
|
8
|
+
cancelButtonContent: string;
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsComponent, "ng2-st-actions", never, { "grid": "grid"; }, { "create": "create"; }, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter, AfterViewInit, ElementRef, OnChanges } from '@angular/core';
|
|
2
|
+
import { Grid } from '../../../lib/grid';
|
|
3
|
+
import { DataSource } from '../../../lib/data-source/data-source';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AddButtonComponent implements AfterViewInit, OnChanges {
|
|
6
|
+
private ref;
|
|
7
|
+
grid: Grid;
|
|
8
|
+
source: DataSource;
|
|
9
|
+
create: EventEmitter<any>;
|
|
10
|
+
isActionAdd: boolean;
|
|
11
|
+
addNewButtonContent: string;
|
|
12
|
+
constructor(ref: ElementRef);
|
|
13
|
+
ngAfterViewInit(): void;
|
|
14
|
+
ngOnChanges(): void;
|
|
15
|
+
onAdd(event: any): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddButtonComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddButtonComponent, "[ng2-st-add-button]", never, { "grid": "grid"; "source": "source"; }, { "create": "create"; }, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Grid } from '../../../lib/grid';
|
|
2
|
+
import { DataSource } from '../../../lib/data-source/data-source';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CheckboxSelectAllComponent {
|
|
5
|
+
grid: Grid;
|
|
6
|
+
source: DataSource;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxSelectAllComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxSelectAllComponent, "[ng2-st-checkbox-select-all]", never, { "grid": "grid"; "source": "source"; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Column } from '../../../lib/data-set/column';
|
|
3
|
+
import { DataSource } from '../../../lib/data-source/data-source';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ColumnTitleComponent {
|
|
6
|
+
column: Column;
|
|
7
|
+
source: DataSource;
|
|
8
|
+
sort: EventEmitter<any>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnTitleComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnTitleComponent, "ng2-st-column-title", never, { "column": "column"; "source": "source"; }, { "sort": "sort"; }, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { DataSource } from '../../../../lib/data-source/data-source';
|
|
4
|
+
import { Column } from '../../../../lib/data-set/column';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TitleComponent implements OnChanges {
|
|
7
|
+
currentDirection: string;
|
|
8
|
+
column: Column;
|
|
9
|
+
source: DataSource;
|
|
10
|
+
sort: EventEmitter<any>;
|
|
11
|
+
protected dataChangedSub: Subscription;
|
|
12
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
13
|
+
_sort(event: any): void;
|
|
14
|
+
changeSortDirection(): string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TitleComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TitleComponent, "ng2-smart-table-title", never, { "column": "column"; "source": "source"; }, { "sort": "sort"; }, never, never, false, never>;
|
|
17
|
+
}
|