angular2-smart-table
Advanced tools
Comparing version
@@ -5,2 +5,7 @@ # CHANGELOG | ||
## Version 3.6.0 | ||
* Add setting `sortMode` with the options `single` or `multi` (default is `multi`) | ||
* Improve rendering of the column title header | ||
## Version 3.5.2 | ||
@@ -7,0 +12,0 @@ |
@@ -1,12 +0,21 @@ | ||
import { EventEmitter } from '@angular/core'; | ||
import { EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; | ||
import { Column } from '../../../lib/data-set/column'; | ||
import { DataSource } from '../../../lib/data-source/data-source'; | ||
import { Subscription } from "rxjs"; | ||
import * as i0 from "@angular/core"; | ||
export declare class ColumnTitleComponent { | ||
export declare class ColumnTitleComponent implements OnChanges, OnDestroy { | ||
currentDirection: 'asc' | 'desc' | null; | ||
multiSort: boolean; | ||
column: Column; | ||
source: DataSource; | ||
isHideable: boolean; | ||
hide: EventEmitter<any>; | ||
hide: EventEmitter<string>; | ||
protected dataChangedSub: Subscription | null; | ||
ngOnChanges(changes: SimpleChanges): void; | ||
ngOnDestroy(): void; | ||
_sort(event: any): void; | ||
_hideColumnClicked(event: any): void; | ||
private changeSortDirection; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnTitleComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnTitleComponent, "angular2-st-column-title", never, { "column": { "alias": "column"; "required": false; }; "source": { "alias": "source"; "required": false; }; "isHideable": { "alias": "isHideable"; "required": false; }; }, { "hide": "hide"; }, never, never, false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnTitleComponent, "angular2-st-column-title", never, { "multiSort": { "alias": "multiSort"; "required": false; }; "column": { "alias": "column"; "required": false; }; "source": { "alias": "source"; "required": false; }; "isHideable": { "alias": "isHideable"; "required": false; }; }, { "hide": "hide"; }, never, never, false, never>; | ||
} |
@@ -10,3 +10,3 @@ import { EventEmitter, OnChanges } from '@angular/core'; | ||
source: DataSource; | ||
hide: EventEmitter<any>; | ||
hide: EventEmitter<string>; | ||
selectAllRows: EventEmitter<void>; | ||
@@ -13,0 +13,0 @@ multiSelectWidth: string; |
@@ -6,16 +6,15 @@ import * as i0 from "@angular/core"; | ||
import * as i4 from "./cells/column-title.component"; | ||
import * as i5 from "./cells/title/title.component"; | ||
import * as i6 from "./rows/thead-filters-row.component"; | ||
import * as i7 from "./rows/thead-form-row.component"; | ||
import * as i8 from "./rows/thead-titles-row.component"; | ||
import * as i9 from "./thead.component"; | ||
import * as i10 from "@angular/common"; | ||
import * as i11 from "../filter/filter.module"; | ||
import * as i12 from "../cell/cell.module"; | ||
import * as i13 from "../../directives/directives.module"; | ||
import * as i14 from "../../pipes/pipes.module"; | ||
import * as i5 from "./rows/thead-filters-row.component"; | ||
import * as i6 from "./rows/thead-form-row.component"; | ||
import * as i7 from "./rows/thead-titles-row.component"; | ||
import * as i8 from "./thead.component"; | ||
import * as i9 from "@angular/common"; | ||
import * as i10 from "../filter/filter.module"; | ||
import * as i11 from "../cell/cell.module"; | ||
import * as i12 from "../../directives/directives.module"; | ||
import * as i13 from "../../pipes/pipes.module"; | ||
export declare class THeadModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<THeadModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<THeadModule, [typeof i1.TheadCreateCancelComponent, typeof i2.ActionsTitleComponent, typeof i3.AddButtonComponent, typeof i4.ColumnTitleComponent, typeof i5.TitleComponent, typeof i6.TheadFitlersRowComponent, typeof i7.TheadFormRowComponent, typeof i8.TheadTitlesRowComponent, typeof i9.NgxSmartTableTheadComponent], [typeof i10.CommonModule, typeof i11.FilterModule, typeof i12.CellModule, typeof i13.DirectivesModule, typeof i14.PipesModule], [typeof i1.TheadCreateCancelComponent, typeof i2.ActionsTitleComponent, typeof i3.AddButtonComponent, typeof i4.ColumnTitleComponent, typeof i5.TitleComponent, typeof i6.TheadFitlersRowComponent, typeof i7.TheadFormRowComponent, typeof i8.TheadTitlesRowComponent, typeof i9.NgxSmartTableTheadComponent]>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<THeadModule, [typeof i1.TheadCreateCancelComponent, typeof i2.ActionsTitleComponent, typeof i3.AddButtonComponent, typeof i4.ColumnTitleComponent, typeof i5.TheadFitlersRowComponent, typeof i6.TheadFormRowComponent, typeof i7.TheadTitlesRowComponent, typeof i8.NgxSmartTableTheadComponent], [typeof i9.CommonModule, typeof i10.FilterModule, typeof i11.CellModule, typeof i12.DirectivesModule, typeof i13.PipesModule], [typeof i1.TheadCreateCancelComponent, typeof i2.ActionsTitleComponent, typeof i3.AddButtonComponent, typeof i4.ColumnTitleComponent, typeof i5.TheadFitlersRowComponent, typeof i6.TheadFormRowComponent, typeof i7.TheadTitlesRowComponent, typeof i8.NgxSmartTableTheadComponent]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<THeadModule>; | ||
} |
@@ -28,2 +28,3 @@ import { Observable, Subject } from 'rxjs'; | ||
isMultiSelectVisible(): boolean; | ||
isMultiSortEnabled(): boolean; | ||
getExpandedRowComponentClass(): Type<any> | undefined; | ||
@@ -30,0 +31,0 @@ setSettings(settings: Settings): void; |
@@ -23,2 +23,3 @@ import { Cell } from "./data-set/cell"; | ||
selectMode?: 'single' | 'multi' | 'multi_filtered'; | ||
sortMode?: 'single' | 'multi'; | ||
switchPageToSelectedRowPage?: boolean; | ||
@@ -25,0 +26,0 @@ } |
{ | ||
"name": "angular2-smart-table", | ||
"version": "3.5.2", | ||
"version": "3.6.0", | ||
"description": "Angular 2 Smart Table", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
577700
-0.5%72
-1.37%5933
-0.49%