@den4ik92/ng2-smart-table 18.2.13 → 19.0.3
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/fesm2022/den4ik92-ng2-smart-table.mjs +1403 -1583
- package/fesm2022/den4ik92-ng2-smart-table.mjs.map +1 -1
- package/lib/components/cell/cell-edit-mode/custom-edit.component.d.ts +3 -5
- package/lib/components/cell/cell-edit-mode/default-edit.component.d.ts +3 -3
- package/lib/components/cell/cell-edit-mode/edit-cell-default.d.ts +2 -3
- package/lib/components/cell/cell-edit-mode/edit-cell.component.d.ts +4 -5
- package/lib/components/cell/cell-editors/checkbox-editor.component.d.ts +2 -2
- package/lib/components/cell/cell-editors/default-editor.d.ts +8 -8
- package/lib/components/cell/cell-editors/input-editor.component.d.ts +2 -2
- package/lib/components/cell/cell-editors/select-editor.component.d.ts +2 -2
- package/lib/components/cell/cell-editors/textarea-editor.component.d.ts +2 -2
- package/lib/components/cell/cell-view-mode/custom-view.component.d.ts +1 -1
- package/lib/components/cell/cell-view-mode/view-cell.component.d.ts +2 -2
- package/lib/components/cell/cell.component.d.ts +8 -8
- package/lib/components/filter/custom-filter.component.d.ts +3 -5
- package/lib/components/filter/default-filter.component.d.ts +1 -1
- package/lib/components/filter/filter-default.d.ts +2 -3
- package/lib/components/filter/filter-types/checkbox-filter.component.d.ts +4 -4
- package/lib/components/filter/filter-types/default-filter.d.ts +4 -4
- package/lib/components/filter/filter-types/input-filter.component.d.ts +4 -4
- package/lib/components/filter/filter-types/select-filter.component.d.ts +1 -1
- package/lib/components/filter/filter.component.d.ts +2 -2
- package/lib/components/pager/pager.component.d.ts +5 -5
- package/lib/components/tbody/cells/create-cancel.component.d.ts +4 -4
- package/lib/components/tbody/cells/custom.component.d.ts +2 -3
- package/lib/components/tbody/cells/edit-delete.component.d.ts +7 -7
- package/lib/components/tbody/tbody.component.d.ts +19 -19
- package/lib/components/thead/cells/actions-title.component.d.ts +3 -4
- package/lib/components/thead/cells/actions.component.d.ts +4 -4
- package/lib/components/thead/cells/add-button.component.d.ts +5 -6
- package/lib/components/thead/cells/checkbox-select-all.component.d.ts +3 -3
- package/lib/components/thead/cells/column-title.component.d.ts +4 -5
- package/lib/components/thead/cells/title/title.component.d.ts +8 -8
- package/lib/components/thead/rows/thead-filters-row.component.d.ts +4 -4
- package/lib/components/thead/rows/thead-form-row.component.d.ts +4 -4
- package/lib/components/thead/rows/thead-titles-row.component.d.ts +6 -6
- package/lib/components/thead/thead.component.d.ts +7 -7
- package/lib/lib/grid.d.ts +6 -7
- package/lib/ng2-smart-table.component.d.ts +17 -17
- package/package.json +5 -7
- package/public-api.d.ts +0 -1
- package/esm2022/den4ik92-ng2-smart-table.mjs +0 -5
- package/esm2022/lib/components/cell/cell-edit-mode/custom-edit.component.mjs +0 -44
- package/esm2022/lib/components/cell/cell-edit-mode/default-edit.component.mjs +0 -26
- package/esm2022/lib/components/cell/cell-edit-mode/edit-cell-default.mjs +0 -35
- package/esm2022/lib/components/cell/cell-edit-mode/edit-cell.component.mjs +0 -76
- package/esm2022/lib/components/cell/cell-editors/checkbox-editor.component.mjs +0 -40
- package/esm2022/lib/components/cell/cell-editors/default-editor.mjs +0 -30
- package/esm2022/lib/components/cell/cell-editors/input-editor.component.mjs +0 -37
- package/esm2022/lib/components/cell/cell-editors/select-editor.component.mjs +0 -52
- package/esm2022/lib/components/cell/cell-editors/textarea-editor.component.mjs +0 -39
- package/esm2022/lib/components/cell/cell-view-mode/custom-view.component.mjs +0 -15
- package/esm2022/lib/components/cell/cell-view-mode/view-cell.component.mjs +0 -47
- package/esm2022/lib/components/cell/cell-view-mode/view-cell.mjs +0 -2
- package/esm2022/lib/components/cell/cell.component.mjs +0 -73
- package/esm2022/lib/components/cell/cell.module.mjs +0 -75
- package/esm2022/lib/components/filter/custom-filter.component.mjs +0 -43
- package/esm2022/lib/components/filter/default-filter.component.mjs +0 -73
- package/esm2022/lib/components/filter/filter-default.mjs +0 -37
- package/esm2022/lib/components/filter/filter-types/checkbox-filter.component.mjs +0 -54
- package/esm2022/lib/components/filter/filter-types/default-filter.mjs +0 -36
- package/esm2022/lib/components/filter/filter-types/input-filter.component.mjs +0 -53
- package/esm2022/lib/components/filter/filter-types/select-filter.component.mjs +0 -58
- package/esm2022/lib/components/filter/filter.component.mjs +0 -86
- package/esm2022/lib/components/filter/filter.module.mjs +0 -62
- package/esm2022/lib/components/pager/pager.component.mjs +0 -241
- package/esm2022/lib/components/pager/pager.module.mjs +0 -28
- package/esm2022/lib/components/tbody/cells/create-cancel.component.mjs +0 -195
- package/esm2022/lib/components/tbody/cells/custom.component.mjs +0 -59
- package/esm2022/lib/components/tbody/cells/edit-delete.component.mjs +0 -241
- package/esm2022/lib/components/tbody/tbody.component.mjs +0 -95
- package/esm2022/lib/components/tbody/tbody.module.mjs +0 -47
- package/esm2022/lib/components/thead/cells/actions-title.component.mjs +0 -31
- package/esm2022/lib/components/thead/cells/actions.component.mjs +0 -42
- package/esm2022/lib/components/thead/cells/add-button.component.mjs +0 -57
- package/esm2022/lib/components/thead/cells/checkbox-select-all.component.mjs +0 -25
- package/esm2022/lib/components/thead/cells/column-title.component.mjs +0 -34
- package/esm2022/lib/components/thead/cells/title/title.component.mjs +0 -87
- package/esm2022/lib/components/thead/rows/thead-filters-row.component.mjs +0 -89
- package/esm2022/lib/components/thead/rows/thead-form-row.component.mjs +0 -108
- package/esm2022/lib/components/thead/rows/thead-titles-row.component.mjs +0 -87
- package/esm2022/lib/components/thead/thead.component.mjs +0 -42
- package/esm2022/lib/components/thead/thead.module.mjs +0 -75
- package/esm2022/lib/lib/data-set/cell.mjs +0 -43
- package/esm2022/lib/lib/data-set/column.mjs +0 -74
- package/esm2022/lib/lib/data-set/data-set.mjs +0 -96
- package/esm2022/lib/lib/data-set/row.mjs +0 -47
- package/esm2022/lib/lib/data-source/data-source.mjs +0 -92
- package/esm2022/lib/lib/data-source/local/local.data-source.mjs +0 -263
- package/esm2022/lib/lib/data-source/local/local.filter.mjs +0 -13
- package/esm2022/lib/lib/data-source/local/local.pager.mjs +0 -6
- package/esm2022/lib/lib/data-source/local/local.sorter.mjs +0 -19
- package/esm2022/lib/lib/grid.mjs +0 -218
- package/esm2022/lib/lib/helpers.mjs +0 -84
- package/esm2022/lib/lib/interfaces/smart-table.models.mjs +0 -16
- package/esm2022/lib/ng2-smart-table.component.mjs +0 -169
- package/esm2022/lib/ng2-smart-table.module.mjs +0 -51
- package/esm2022/public-api.mjs +0 -12
- package/lib/components/cell/cell.module.d.ts +0 -20
- package/lib/components/filter/filter.module.d.ts +0 -16
- package/lib/components/pager/pager.module.d.ts +0 -9
- package/lib/components/tbody/tbody.module.d.ts +0 -13
- package/lib/components/thead/thead.module.d.ts +0 -20
- package/lib/ng2-smart-table.module.d.ts +0 -14
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EditCellDefault } from
|
|
1
|
+
import { OnChanges, OnDestroy, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { EditCellDefault } from "./edit-cell-default";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class CustomEditComponent extends EditCellDefault implements OnChanges, OnDestroy {
|
|
5
|
-
private resolver;
|
|
6
5
|
customComponent: any;
|
|
7
6
|
dynamicTarget: any;
|
|
8
|
-
constructor(resolver: ComponentFactoryResolver);
|
|
9
7
|
ngOnChanges(changes: SimpleChanges): void;
|
|
10
8
|
ngOnDestroy(): void;
|
|
11
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomEditComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomEditComponent, "table-cell-custom-editor", never, {}, {}, never, never,
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomEditComponent, "table-cell-custom-editor", never, {}, {}, never, never, true, never>;
|
|
13
11
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { SmartTableEditorAndFilterTypes } from "../../../lib/interfaces/smart-table.models";
|
|
2
|
+
import { EditCellDefault } from "./edit-cell-default";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class DefaultEditComponent extends EditCellDefault {
|
|
5
5
|
constructor();
|
|
6
6
|
getEditorType(): SmartTableEditorAndFilterTypes;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultEditComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultEditComponent, "table-cell-default-editor", never, {}, {}, never, never,
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultEditComponent, "table-cell-default-editor", never, {}, {}, never, never, true, never>;
|
|
9
9
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
1
|
import { Cell } from '../../../lib/data-set/cell';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class EditCellDefault {
|
|
5
4
|
cell: Cell;
|
|
6
5
|
inputClass: string;
|
|
7
|
-
edited:
|
|
6
|
+
readonly edited: import("@angular/core").OutputEmitterRef<any>;
|
|
8
7
|
onEdited(event: any): boolean;
|
|
9
8
|
onStopEditing(): boolean;
|
|
10
9
|
onClick(event: MouseEvent): void;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditCellDefault, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditCellDefault, "ng-component", never, { "cell": { "alias": "cell"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; }, { "edited": "edited"; }, never, never,
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditCellDefault, "ng-component", never, { "cell": { "alias": "cell"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; }, { "edited": "edited"; }, never, never, true, never>;
|
|
13
12
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { SmartTableEditorAndFilterTypes } from '../../../lib/interfaces/smart-table.models';
|
|
1
|
+
import { Cell } from "../../../lib/data-set/cell";
|
|
2
|
+
import { SmartTableEditorAndFilterTypes } from "../../../lib/interfaces/smart-table.models";
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class EditCellComponent {
|
|
6
5
|
cell: Cell;
|
|
7
6
|
inputClass: string;
|
|
8
|
-
edited:
|
|
7
|
+
readonly edited: import("@angular/core").OutputEmitterRef<any>;
|
|
9
8
|
onEdited(event: any): boolean;
|
|
10
9
|
getEditorType(): SmartTableEditorAndFilterTypes;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditCellComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditCellComponent, "table-cell-edit-mode", never, { "cell": { "alias": "cell"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; }, { "edited": "edited"; }, never, never,
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditCellComponent, "table-cell-edit-mode", never, { "cell": { "alias": "cell"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; }, { "edited": "edited"; }, never, never, true, never>;
|
|
13
12
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DefaultEditor } from
|
|
1
|
+
import { DefaultEditor } from "./default-editor";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class CheckboxEditorComponent extends DefaultEditor {
|
|
4
4
|
constructor();
|
|
5
5
|
onChange(event: any): void;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxEditorComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxEditorComponent, "checkbox-editor", never, {}, {}, never, never,
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxEditorComponent, "checkbox-editor", never, {}, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OutputEmitterRef } from '@angular/core';
|
|
2
2
|
import { Cell } from '../../../lib/data-set/cell';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class DefaultEditor implements Editor {
|
|
5
5
|
cell: Cell;
|
|
6
6
|
inputClass: string;
|
|
7
|
-
onStopEditing:
|
|
8
|
-
onEdited:
|
|
9
|
-
onClick:
|
|
7
|
+
readonly onStopEditing: OutputEmitterRef<any>;
|
|
8
|
+
readonly onEdited: OutputEmitterRef<any>;
|
|
9
|
+
readonly onClick: OutputEmitterRef<any>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultEditor, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultEditor, "ng-component", never, { "cell": { "alias": "cell"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; }, { "onStopEditing": "onStopEditing"; "onEdited": "onEdited"; "onClick": "onClick"; }, never, never,
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultEditor, "ng-component", never, { "cell": { "alias": "cell"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; }, { "onStopEditing": "onStopEditing"; "onEdited": "onEdited"; "onClick": "onClick"; }, never, never, true, never>;
|
|
12
12
|
}
|
|
13
13
|
export interface Editor {
|
|
14
14
|
cell: Cell;
|
|
15
15
|
inputClass: string;
|
|
16
|
-
onStopEditing: EventEmitter<any>;
|
|
17
|
-
onEdited: EventEmitter<any>;
|
|
18
|
-
onClick: EventEmitter<any>;
|
|
16
|
+
onStopEditing: EventEmitter<any> | OutputEmitterRef<any>;
|
|
17
|
+
onEdited: EventEmitter<any> | OutputEmitterRef<any>;
|
|
18
|
+
onClick: EventEmitter<any> | OutputEmitterRef<any>;
|
|
19
19
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DefaultEditor } from
|
|
1
|
+
import { DefaultEditor } from "./default-editor";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class InputEditorComponent extends DefaultEditor {
|
|
4
4
|
constructor();
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputEditorComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputEditorComponent, "input-editor", never, {}, {}, never, never,
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputEditorComponent, "input-editor", never, {}, {}, never, never, true, never>;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DefaultEditor } from
|
|
1
|
+
import { DefaultEditor } from "./default-editor";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class SelectEditorComponent extends DefaultEditor {
|
|
4
4
|
constructor();
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectEditorComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectEditorComponent, "select-editor", never, {}, {}, never, never,
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectEditorComponent, "select-editor", never, {}, {}, never, never, true, never>;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DefaultEditor } from
|
|
1
|
+
import { DefaultEditor } from "./default-editor";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TextareaEditorComponent extends DefaultEditor {
|
|
4
4
|
constructor();
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaEditorComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaEditorComponent, "textarea-editor", never, {}, {}, never, never,
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaEditorComponent, "textarea-editor", never, {}, {}, never, never, true, never>;
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class CustomViewComponent {
|
|
4
4
|
cell: Cell;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomViewComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomViewComponent, "custom-view-component", never, { "cell": { "alias": "cell"; "required": false; }; }, {}, never, never,
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomViewComponent, "custom-view-component", never, { "cell": { "alias": "cell"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Cell } from
|
|
1
|
+
import { Cell } from "../../../lib/data-set/cell";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ViewCellComponent {
|
|
4
4
|
cell: Cell;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ViewCellComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewCellComponent, "table-cell-view-mode", never, { "cell": { "alias": "cell"; "required": false; }; }, {}, never, never,
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ViewCellComponent, "table-cell-view-mode", never, { "cell": { "alias": "cell"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
7
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
import { Cell } from
|
|
3
|
-
import { Row } from
|
|
4
|
-
import { Grid } from
|
|
1
|
+
import { EventEmitter, OutputEmitterRef } from "@angular/core";
|
|
2
|
+
import { Cell } from "../../lib/data-set/cell";
|
|
3
|
+
import { Row } from "../../lib/data-set/row";
|
|
4
|
+
import { Grid } from "../../lib/grid";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CellComponent {
|
|
7
7
|
grid: Grid;
|
|
8
8
|
row: Row;
|
|
9
|
-
editConfirm: EventEmitter<any>;
|
|
10
|
-
createConfirm: EventEmitter<any>;
|
|
9
|
+
editConfirm: EventEmitter<any> | OutputEmitterRef<any>;
|
|
10
|
+
createConfirm: EventEmitter<any> | OutputEmitterRef<any>;
|
|
11
11
|
isNew: boolean;
|
|
12
12
|
cell: Cell;
|
|
13
13
|
inputClass: string;
|
|
14
14
|
mode: string;
|
|
15
15
|
isInEditing: boolean;
|
|
16
|
-
edited:
|
|
16
|
+
readonly edited: OutputEmitterRef<any>;
|
|
17
17
|
onEdited(event: any): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<CellComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CellComponent, "ng2-smart-table-cell", never, { "grid": { "alias": "grid"; "required": false; }; "row": { "alias": "row"; "required": false; }; "editConfirm": { "alias": "editConfirm"; "required": false; }; "createConfirm": { "alias": "createConfirm"; "required": false; }; "isNew": { "alias": "isNew"; "required": false; }; "cell": { "alias": "cell"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "isInEditing": { "alias": "isInEditing"; "required": false; }; }, { "edited": "edited"; }, never, never,
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CellComponent, "ng2-smart-table-cell", never, { "grid": { "alias": "grid"; "required": false; }; "row": { "alias": "row"; "required": false; }; "editConfirm": { "alias": "editConfirm"; "required": false; }; "createConfirm": { "alias": "createConfirm"; "required": false; }; "isNew": { "alias": "isNew"; "required": false; }; "cell": { "alias": "cell"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "isInEditing": { "alias": "isInEditing"; "required": false; }; }, { "edited": "edited"; }, never, never, true, never>;
|
|
20
20
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FilterDefault } from
|
|
1
|
+
import { OnChanges, OnDestroy, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { FilterDefault } from "./filter-default";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class CustomFilterComponent extends FilterDefault implements OnChanges, OnDestroy {
|
|
5
|
-
private resolver;
|
|
6
5
|
customComponent: any;
|
|
7
6
|
dynamicTarget: any;
|
|
8
|
-
constructor(resolver: ComponentFactoryResolver);
|
|
9
7
|
ngOnChanges(changes: SimpleChanges): void;
|
|
10
8
|
ngOnDestroy(): void;
|
|
11
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomFilterComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomFilterComponent, "custom-table-filter", never, {}, {}, never, never,
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomFilterComponent, "custom-table-filter", never, {}, {}, never, never, true, never>;
|
|
13
11
|
}
|
|
@@ -2,5 +2,5 @@ import { FilterDefault } from "./filter-default";
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class DefaultFilterComponent extends FilterDefault {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultFilterComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultFilterComponent, "default-table-filter", never, {}, {}, never, never,
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultFilterComponent, "default-table-filter", never, {}, {}, never, never, true, never>;
|
|
6
6
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
1
|
import { Column } from '../../lib/data-set/column';
|
|
3
2
|
import { LocalDataSource } from '../../lib/data-source/local/local.data-source';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
@@ -7,8 +6,8 @@ export declare class FilterDefault {
|
|
|
7
6
|
source: LocalDataSource;
|
|
8
7
|
inputClass: string;
|
|
9
8
|
query: string;
|
|
10
|
-
filter:
|
|
9
|
+
readonly filter: import("@angular/core").OutputEmitterRef<any>;
|
|
11
10
|
onFilter(query: string): void;
|
|
12
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterDefault, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterDefault, "ng-component", never, { "column": { "alias": "column"; "required": false; }; "source": { "alias": "source"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; "query": { "alias": "query"; "required": false; }; }, { "filter": "filter"; }, never, never,
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterDefault, "ng-component", never, { "column": { "alias": "column"; "required": false; }; "source": { "alias": "source"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; "query": { "alias": "query"; "required": false; }; }, { "filter": "filter"; }, never, never, true, never>;
|
|
14
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OnInit } from
|
|
2
|
-
import { UntypedFormControl } from
|
|
3
|
-
import { DefaultFilter } from
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { UntypedFormControl } from "@angular/forms";
|
|
3
|
+
import { DefaultFilter } from "./default-filter";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CheckboxFilterComponent extends DefaultFilter implements OnInit {
|
|
6
6
|
filterActive: boolean;
|
|
@@ -9,5 +9,5 @@ export declare class CheckboxFilterComponent extends DefaultFilter implements On
|
|
|
9
9
|
ngOnInit(): void;
|
|
10
10
|
resetFilter(event: any): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFilterComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxFilterComponent, "checkbox-filter", never, {}, {}, never, never,
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxFilterComponent, "checkbox-filter", never, {}, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy, OutputEmitterRef } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
3
|
import { Column } from '../../../lib/data-set/column';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -8,11 +8,11 @@ export declare class DefaultFilter implements Filter, OnDestroy {
|
|
|
8
8
|
query: string;
|
|
9
9
|
inputClass: string;
|
|
10
10
|
column: Column;
|
|
11
|
-
filter:
|
|
11
|
+
readonly filter: OutputEmitterRef<string>;
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
setFilter(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultFilter, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultFilter, "ng-component", never, { "query": { "alias": "query"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, { "filter": "filter"; }, never, never,
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultFilter, "ng-component", never, { "query": { "alias": "query"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, { "filter": "filter"; }, never, never, true, never>;
|
|
16
16
|
}
|
|
17
17
|
export interface Filter {
|
|
18
18
|
delay?: number;
|
|
@@ -20,5 +20,5 @@ export interface Filter {
|
|
|
20
20
|
query: string;
|
|
21
21
|
inputClass: string;
|
|
22
22
|
column: Column;
|
|
23
|
-
filter: EventEmitter<string>;
|
|
23
|
+
filter: EventEmitter<string> | OutputEmitterRef<any>;
|
|
24
24
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OnChanges, OnInit, SimpleChanges } from
|
|
2
|
-
import { UntypedFormControl } from
|
|
3
|
-
import { DefaultFilter } from
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { UntypedFormControl } from "@angular/forms";
|
|
3
|
+
import { DefaultFilter } from "./default-filter";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class InputFilterComponent extends DefaultFilter implements OnInit, OnChanges {
|
|
6
6
|
inputControl: UntypedFormControl;
|
|
@@ -8,5 +8,5 @@ export declare class InputFilterComponent extends DefaultFilter implements OnIni
|
|
|
8
8
|
ngOnInit(): void;
|
|
9
9
|
ngOnChanges(changes: SimpleChanges): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputFilterComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputFilterComponent, "input-filter", never, {}, {}, never, never,
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputFilterComponent, "input-filter", never, {}, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -7,5 +7,5 @@ export declare class SelectFilterComponent extends DefaultFilter implements OnIn
|
|
|
7
7
|
constructor();
|
|
8
8
|
ngOnInit(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectFilterComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectFilterComponent, "select-filter", never, {}, {}, never, never,
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectFilterComponent, "select-filter", never, {}, {}, never, never, true, never>;
|
|
11
11
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FilterDefault } from './filter-default';
|
|
3
2
|
import { Subscription } from 'rxjs';
|
|
3
|
+
import { FilterDefault } from './filter-default';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class FilterComponent extends FilterDefault implements OnChanges {
|
|
6
6
|
protected dataChangedSub?: Subscription;
|
|
7
7
|
ngOnChanges(changes: SimpleChanges): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "ng2-smart-table-filter", never, {}, {}, never, never,
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "ng2-smart-table-filter", never, {}, {}, never, never, true, never>;
|
|
10
10
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Subscription } from
|
|
3
|
-
import { LocalDataSource } from
|
|
1
|
+
import { OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { Subscription } from "rxjs";
|
|
3
|
+
import { LocalDataSource } from "../../lib/data-source/local/local.data-source";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class PagerComponent implements OnChanges {
|
|
6
6
|
source: LocalDataSource;
|
|
7
7
|
perPageSelect: number[];
|
|
8
|
-
changePage:
|
|
8
|
+
readonly changePage: import("@angular/core").OutputEmitterRef<any>;
|
|
9
9
|
currentPerPage: number;
|
|
10
10
|
protected pages: number[];
|
|
11
11
|
protected page: number;
|
|
@@ -31,5 +31,5 @@ export declare class PagerComponent implements OnChanges {
|
|
|
31
31
|
initPages(): void;
|
|
32
32
|
onChangePerPage(): void;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<PagerComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PagerComponent, "ng2-smart-table-pager", never, { "source": { "alias": "source"; "required": false; }; "perPageSelect": { "alias": "perPageSelect"; "required": false; }; }, { "changePage": "changePage"; }, never, never,
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PagerComponent, "ng2-smart-table-pager", never, { "source": { "alias": "source"; "required": false; }; "perPageSelect": { "alias": "perPageSelect"; "required": false; }; }, { "changePage": "changePage"; }, never, never, true, never>;
|
|
35
35
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges } from "@angular/core";
|
|
1
|
+
import { EventEmitter, OnChanges, OutputEmitterRef } from "@angular/core";
|
|
2
2
|
import { Row } from "../../../lib/data-set/row";
|
|
3
3
|
import { Grid } from "../../../lib/grid";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TbodyCreateCancelComponent implements OnChanges {
|
|
6
6
|
grid: Grid;
|
|
7
7
|
row: Row;
|
|
8
|
-
editConfirm: EventEmitter<any>;
|
|
9
|
-
editCancel: EventEmitter<any>;
|
|
8
|
+
editConfirm: EventEmitter<any> | OutputEmitterRef<any>;
|
|
9
|
+
editCancel: EventEmitter<any> | OutputEmitterRef<any>;
|
|
10
10
|
cancelButtonContent: string;
|
|
11
11
|
saveButtonContent: string;
|
|
12
12
|
onSave(event: any): void;
|
|
13
13
|
onCancelEdit(event: any): void;
|
|
14
14
|
ngOnChanges(): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TbodyCreateCancelComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TbodyCreateCancelComponent, "ng2-st-tbody-create-cancel", never, { "grid": { "alias": "grid"; "required": false; }; "row": { "alias": "row"; "required": false; }; "editConfirm": { "alias": "editConfirm"; "required": false; }; "editCancel": { "alias": "editCancel"; "required": false; }; }, {}, never, never,
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TbodyCreateCancelComponent, "ng2-st-tbody-create-cancel", never, { "grid": { "alias": "grid"; "required": false; }; "row": { "alias": "row"; "required": false; }; "editConfirm": { "alias": "editConfirm"; "required": false; }; "editCancel": { "alias": "editCancel"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { EventEmitter } from "@angular/core";
|
|
2
1
|
import { Row } from "../../../lib/data-set/row";
|
|
3
2
|
import { LocalDataSource } from "./../../../lib/data-source/local/local.data-source";
|
|
4
3
|
import { Grid } from "../../../lib/grid";
|
|
@@ -8,9 +7,9 @@ export declare class TbodyCustomComponent {
|
|
|
8
7
|
grid: Grid;
|
|
9
8
|
row: Row;
|
|
10
9
|
source: LocalDataSource;
|
|
11
|
-
custom:
|
|
10
|
+
readonly custom: import("@angular/core").OutputEmitterRef<any>;
|
|
12
11
|
onCustom(action: any): void;
|
|
13
12
|
customActions(): SmartTableCustomAction[] | undefined;
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TbodyCustomComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TbodyCustomComponent, "ng2-st-tbody-custom", never, { "grid": { "alias": "grid"; "required": false; }; "row": { "alias": "row"; "required": false; }; "source": { "alias": "source"; "required": false; }; }, { "custom": "custom"; }, never, never,
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TbodyCustomComponent, "ng2-st-tbody-custom", never, { "grid": { "alias": "grid"; "required": false; }; "row": { "alias": "row"; "required": false; }; "source": { "alias": "source"; "required": false; }; }, { "custom": "custom"; }, never, never, true, never>;
|
|
16
15
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges } from "@angular/core";
|
|
1
|
+
import { EventEmitter, OnChanges, OutputEmitterRef } from "@angular/core";
|
|
2
2
|
import { Row } from "../../../lib/data-set/row";
|
|
3
3
|
import { LocalDataSource } from "../../../lib/data-source/local/local.data-source";
|
|
4
4
|
import { Grid } from "../../../lib/grid";
|
|
@@ -7,11 +7,11 @@ export declare class TbodyEditDeleteComponent implements OnChanges {
|
|
|
7
7
|
grid: Grid;
|
|
8
8
|
row: Row;
|
|
9
9
|
source: LocalDataSource;
|
|
10
|
-
deleteConfirm: EventEmitter<any>;
|
|
11
|
-
editConfirm: EventEmitter<any>;
|
|
12
|
-
edit:
|
|
13
|
-
delete:
|
|
14
|
-
editRowSelect:
|
|
10
|
+
deleteConfirm: EventEmitter<any> | OutputEmitterRef<any>;
|
|
11
|
+
editConfirm: EventEmitter<any> | OutputEmitterRef<any>;
|
|
12
|
+
readonly edit: OutputEmitterRef<any>;
|
|
13
|
+
readonly delete: OutputEmitterRef<any>;
|
|
14
|
+
readonly editRowSelect: OutputEmitterRef<any>;
|
|
15
15
|
isActionEdit: boolean;
|
|
16
16
|
isActionDelete: boolean;
|
|
17
17
|
editRowButtonContent: string;
|
|
@@ -20,5 +20,5 @@ export declare class TbodyEditDeleteComponent implements OnChanges {
|
|
|
20
20
|
onDelete(event: any): void;
|
|
21
21
|
ngOnChanges(): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<TbodyEditDeleteComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TbodyEditDeleteComponent, "ng2-st-tbody-edit-delete", never, { "grid": { "alias": "grid"; "required": false; }; "row": { "alias": "row"; "required": false; }; "source": { "alias": "source"; "required": false; }; "deleteConfirm": { "alias": "deleteConfirm"; "required": false; }; "editConfirm": { "alias": "editConfirm"; "required": false; }; }, { "edit": "edit"; "delete": "delete"; "editRowSelect": "editRowSelect"; }, never, never,
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TbodyEditDeleteComponent, "ng2-st-tbody-edit-delete", never, { "grid": { "alias": "grid"; "required": false; }; "row": { "alias": "row"; "required": false; }; "source": { "alias": "source"; "required": false; }; "deleteConfirm": { "alias": "deleteConfirm"; "required": false; }; "editConfirm": { "alias": "editConfirm"; "required": false; }; }, { "edit": "edit"; "delete": "delete"; "editRowSelect": "editRowSelect"; }, never, never, true, never>;
|
|
24
24
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { EventEmitter, OutputEmitterRef } from "@angular/core";
|
|
2
|
+
import { Cell } from "../../lib/data-set/cell";
|
|
3
|
+
import { LocalDataSource } from "../../lib/data-source/local/local.data-source";
|
|
4
|
+
import { Grid } from "../../lib/grid";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class Ng2SmartTableTbodyComponent {
|
|
7
7
|
grid: Grid;
|
|
8
8
|
source: LocalDataSource;
|
|
9
|
-
deleteConfirm: EventEmitter<any>;
|
|
10
|
-
editConfirm: EventEmitter<any>;
|
|
9
|
+
deleteConfirm: EventEmitter<any> | OutputEmitterRef<any>;
|
|
10
|
+
editConfirm: EventEmitter<any> | OutputEmitterRef<any>;
|
|
11
11
|
rowClassFunction: Function;
|
|
12
|
-
save:
|
|
13
|
-
cancel:
|
|
14
|
-
edit:
|
|
15
|
-
editCancel:
|
|
16
|
-
delete:
|
|
17
|
-
custom:
|
|
18
|
-
edited:
|
|
19
|
-
userSelectRow:
|
|
20
|
-
userClickedRow:
|
|
21
|
-
editRowSelect:
|
|
22
|
-
multipleSelectRow:
|
|
12
|
+
readonly save: OutputEmitterRef<any>;
|
|
13
|
+
readonly cancel: OutputEmitterRef<any>;
|
|
14
|
+
readonly edit: OutputEmitterRef<any>;
|
|
15
|
+
readonly editCancel: OutputEmitterRef<any>;
|
|
16
|
+
readonly delete: OutputEmitterRef<any>;
|
|
17
|
+
readonly custom: OutputEmitterRef<any>;
|
|
18
|
+
readonly edited: OutputEmitterRef<any>;
|
|
19
|
+
readonly userSelectRow: OutputEmitterRef<any>;
|
|
20
|
+
readonly userClickedRow: OutputEmitterRef<any>;
|
|
21
|
+
readonly editRowSelect: OutputEmitterRef<any>;
|
|
22
|
+
readonly multipleSelectRow: OutputEmitterRef<any>;
|
|
23
23
|
isMultiSelectVisible: boolean;
|
|
24
24
|
showActionColumnLeft: boolean;
|
|
25
25
|
showActionColumnRight: boolean;
|
|
26
|
-
mode:
|
|
26
|
+
mode: "inline" | "external" | "click-to-edit";
|
|
27
27
|
editInputClass: string;
|
|
28
28
|
isActionAdd: boolean;
|
|
29
29
|
isActionEdit: boolean;
|
|
@@ -34,5 +34,5 @@ export declare class Ng2SmartTableTbodyComponent {
|
|
|
34
34
|
getVisibleCells(cells: Cell[]): Cell[];
|
|
35
35
|
protected trackByIdOrIndex(index: number, item: any): string | number;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<Ng2SmartTableTbodyComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Ng2SmartTableTbodyComponent, "[ng2-st-tbody]", never, { "grid": { "alias": "grid"; "required": false; }; "source": { "alias": "source"; "required": false; }; "deleteConfirm": { "alias": "deleteConfirm"; "required": false; }; "editConfirm": { "alias": "editConfirm"; "required": false; }; "rowClassFunction": { "alias": "rowClassFunction"; "required": false; }; }, { "save": "save"; "cancel": "cancel"; "edit": "edit"; "editCancel": "editCancel"; "delete": "delete"; "custom": "custom"; "edited": "edited"; "userSelectRow": "userSelectRow"; "userClickedRow": "userClickedRow"; "editRowSelect": "editRowSelect"; "multipleSelectRow": "multipleSelectRow"; }, never, never,
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Ng2SmartTableTbodyComponent, "[ng2-st-tbody]", never, { "grid": { "alias": "grid"; "required": false; }; "source": { "alias": "source"; "required": false; }; "deleteConfirm": { "alias": "deleteConfirm"; "required": false; }; "editConfirm": { "alias": "editConfirm"; "required": false; }; "rowClassFunction": { "alias": "rowClassFunction"; "required": false; }; }, { "save": "save"; "cancel": "cancel"; "edit": "edit"; "editCancel": "editCancel"; "delete": "delete"; "custom": "custom"; "edited": "edited"; "userSelectRow": "userSelectRow"; "userClickedRow": "userClickedRow"; "editRowSelect": "editRowSelect"; "multipleSelectRow": "multipleSelectRow"; }, never, never, true, never>;
|
|
38
38
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
2
|
-
import { Grid } from
|
|
1
|
+
import { AfterViewInit, OnChanges } from "@angular/core";
|
|
2
|
+
import { Grid } from "../../../lib/grid";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ActionsTitleComponent implements AfterViewInit, OnChanges {
|
|
5
5
|
private ref;
|
|
6
6
|
grid: Grid;
|
|
7
7
|
actionsColumnTitle: string;
|
|
8
|
-
constructor(ref: ElementRef);
|
|
9
8
|
ngAfterViewInit(): void;
|
|
10
9
|
ngOnChanges(): void;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsTitleComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsTitleComponent, "[ng2-st-actions-title]", never, { "grid": { "alias": "grid"; "required": false; }; }, {}, never, never,
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsTitleComponent, "[ng2-st-actions-title]", never, { "grid": { "alias": "grid"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
12
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Grid } from
|
|
1
|
+
import { OnChanges } from "@angular/core";
|
|
2
|
+
import { Grid } from "../../../lib/grid";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ActionsComponent implements OnChanges {
|
|
5
5
|
grid: Grid;
|
|
6
|
-
create:
|
|
6
|
+
readonly create: import("@angular/core").OutputEmitterRef<any>;
|
|
7
7
|
createButtonContent: string;
|
|
8
8
|
cancelButtonContent: string;
|
|
9
9
|
ngOnChanges(): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsComponent, "ng2-st-actions", never, { "grid": { "alias": "grid"; "required": false; }; }, { "create": "create"; }, never, never,
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsComponent, "ng2-st-actions", never, { "grid": { "alias": "grid"; "required": false; }; }, { "create": "create"; }, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { AfterViewInit, OnChanges } from "@angular/core";
|
|
2
|
+
import { LocalDataSource } from "../../../lib/data-source/local/local.data-source";
|
|
3
|
+
import { Grid } from "../../../lib/grid";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AddButtonComponent implements AfterViewInit, OnChanges {
|
|
6
6
|
private ref;
|
|
7
7
|
grid: Grid;
|
|
8
8
|
source: LocalDataSource;
|
|
9
|
-
create:
|
|
9
|
+
readonly create: import("@angular/core").OutputEmitterRef<any>;
|
|
10
10
|
isActionAdd: boolean;
|
|
11
11
|
addNewButtonContent: string;
|
|
12
|
-
constructor(ref: ElementRef);
|
|
13
12
|
ngAfterViewInit(): void;
|
|
14
13
|
ngOnChanges(): void;
|
|
15
14
|
onAdd(event: any): void;
|
|
16
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddButtonComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddButtonComponent, "[ng2-st-add-button]", never, { "grid": { "alias": "grid"; "required": false; }; "source": { "alias": "source"; "required": false; }; }, { "create": "create"; }, never, never,
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddButtonComponent, "[ng2-st-add-button]", never, { "grid": { "alias": "grid"; "required": false; }; "source": { "alias": "source"; "required": false; }; }, { "create": "create"; }, never, never, true, never>;
|
|
18
17
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { LocalDataSource } from "../../../lib/data-source/local/local.data-source";
|
|
2
|
+
import { Grid } from "../../../lib/grid";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class CheckboxSelectAllComponent {
|
|
5
5
|
grid: Grid;
|
|
6
6
|
source: LocalDataSource;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxSelectAllComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxSelectAllComponent, "[ng2-st-checkbox-select-all]", never, { "grid": { "alias": "grid"; "required": false; }; "source": { "alias": "source"; "required": false; }; }, {}, never, never,
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxSelectAllComponent, "[ng2-st-checkbox-select-all]", never, { "grid": { "alias": "grid"; "required": false; }; "source": { "alias": "source"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
9
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { LocalDataSource } from '../../../lib/data-source/local/local.data-source';
|
|
1
|
+
import { Column } from "../../../lib/data-set/column";
|
|
2
|
+
import { LocalDataSource } from "../../../lib/data-source/local/local.data-source";
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class ColumnTitleComponent {
|
|
6
5
|
column: Column;
|
|
7
6
|
source: LocalDataSource;
|
|
8
|
-
sort:
|
|
7
|
+
readonly sort: import("@angular/core").OutputEmitterRef<any>;
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnTitleComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnTitleComponent, "ng2-st-column-title", never, { "column": { "alias": "column"; "required": false; }; "source": { "alias": "source"; "required": false; }; }, { "sort": "sort"; }, never, never,
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnTitleComponent, "ng2-st-column-title", never, { "column": { "alias": "column"; "required": false; }; "source": { "alias": "source"; "required": false; }; }, { "sort": "sort"; }, never, never, true, never>;
|
|
11
10
|
}
|