Skip to content

Commit

Permalink
prepare release 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghislain Beaulac authored and Ghislain Beaulac committed Nov 20, 2017
1 parent cf114a4 commit d45b4c2
Show file tree
Hide file tree
Showing 17 changed files with 520 additions and 297 deletions.
2 changes: 1 addition & 1 deletion dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The goal is of course to be able to run SlickGrid within Angular 4+ but also to
[Angular-Slickgrid on NPM](https://www.npmjs.com/package/angular-slickgrid)

## Wiki / Documentation
The Wiki is where all the documentation and instructions will go, so please consult the [Angular-Validation - Wiki](https://github.com/ghiscoding/Angular-Slickgrid/wiki) before opening any issues. The [Wiki - HOWTO](https://github.com/ghiscoding/Angular-Slickgrid/wiki/HOWTO---Step-by-Step) is a great place to start with.
The Wiki is where all the documentation and instructions will go, so please consult the [Angular-Slickgrid - Wiki](https://github.com/ghiscoding/Angular-Slickgrid/wiki) before opening any issues. The [Wiki - HOWTO](https://github.com/ghiscoding/Angular-Slickgrid/wiki/HOWTO---Step-by-Step) is a great place to start with.


## Main features
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-slickgrid.metadata.json

Large diffs are not rendered by default.

246 changes: 156 additions & 90 deletions dist/angular-slickgrid/angular-slickgrid.es5.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/angular-slickgrid/angular-slickgrid.es5.js.map

Large diffs are not rendered by default.

244 changes: 155 additions & 89 deletions dist/angular-slickgrid/angular-slickgrid.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/angular-slickgrid/angular-slickgrid.js.map

Large diffs are not rendered by default.

253 changes: 160 additions & 93 deletions dist/bundles/angular-slickgrid.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/bundles/angular-slickgrid.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-slickgrid",
"version": "0.6.0",
"version": "0.6.1",
"description": "Slickgrid components made available in Angular",
"keywords": [
"angular",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,15 @@ import 'slickgrid/plugins/slick.headerbuttons';
import 'slickgrid/plugins/slick.headermenu';
import 'slickgrid/plugins/slick.rowmovemanager';
import 'slickgrid/plugins/slick.rowselectionmodel';
import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { AfterViewInit, EventEmitter, OnDestroy, OnInit } from '@angular/core';
import { Column, GridOption } from './../models';
import { ControlAndPluginService, FilterService, GridEventService, GridExtraService, SortService, ResizerService } from './../services';
export declare class AngularSlickgridComponent implements AfterViewInit, OnInit {
export declare class AngularSlickgridComponent implements AfterViewInit, OnDestroy, OnInit {
private controlAndPluginService;
private gridEventService;
private gridExtraService;
private filterService;
private resizer;
private router;
private sortService;
private _dataset;
private _dataView;
Expand All @@ -46,8 +44,9 @@ export declare class AngularSlickgridComponent implements AfterViewInit, OnInit
gridHeight: number;
gridWidth: number;
dataset: any[];
constructor(controlAndPluginService: ControlAndPluginService, gridEventService: GridEventService, gridExtraService: GridExtraService, filterService: FilterService, resizer: ResizerService, router: Router, sortService: SortService);
constructor(controlAndPluginService: ControlAndPluginService, gridEventService: GridEventService, gridExtraService: GridExtraService, filterService: FilterService, resizer: ResizerService, sortService: SortService);
ngOnInit(): void;
ngOnDestroy(): void;
ngAfterViewInit(): void;
attachDifferentHooks(grid: any, options: GridOption, dataView: any): void;
attachResizeHook(grid: any, options: GridOption): void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { FilterService } from '../services/filter.service';
import { SortService } from './../services/sort.service';
import { OnInit, AfterViewInit } from '@angular/core';
import { GridOption } from './../models';
export declare class SlickPaginationComponent implements AfterViewInit, OnInit {
private filterService;
private sortService;
private _gridPaginationOptions;
gridPaginationOptions: GridOption;
grid: any;
Expand All @@ -12,17 +16,16 @@ export declare class SlickPaginationComponent implements AfterViewInit, OnInit {
totalItems: number;
paginationCallback: Function;
paginationPageSizes: number[];
constructor();
constructor(filterService: FilterService, sortService: SortService);
ngOnInit(): void;
ngAfterViewInit(): void;
ceil(number: number): number;
onChangeItemPerPage(event: any): void;
changeToFirstPage(event: any): void;
changeToLastPage(event: any): void;
changeToNextPage(event: any): void;
changeToPreviousPage(event: any): void;
gotoFirstPage(): void;
refreshPagination(): void;
onChangeItemPerPage(event: any): void;
refreshPagination(isPageNumberReset?: boolean): void;
onPageChanged(event?: Event, pageNumber?: number): Promise<void>;
recalculateFromToIndexes(): void;
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import { Router } from '@angular/router';
import { FilterService } from './filter.service';
import { GridExtraService } from './gridExtra.service';
import { Column, GridOption } from './../models';
export declare class ControlAndPluginService {
private filterService;
private gridExtraService;
private router;
_dataView: any;
_grid: any;
_visibleColumns: Column[];
Expand All @@ -16,8 +14,7 @@ export declare class ControlAndPluginService {
headerMenuPlugin: any;
gridMenuControl: any;
rowSelectionPlugin: any;
constructor(filterService: FilterService, gridExtraService: GridExtraService, router: Router);
init(grid: any, dataView: any, columnDefinitions: Column[], options: GridOption): void;
constructor(filterService: FilterService, gridExtraService: GridExtraService);
/**
* Attach/Create different Controls or Plugins after the Grid is created
* @param {any} grid
Expand All @@ -27,7 +24,7 @@ export declare class ControlAndPluginService {
*/
attachDifferentControlOrPlugins(grid: any, columnDefinitions: Column[], options: GridOption, dataView: any): void;
hideColumn(column: Column): void;
removeColumnByIndex(array: any, index: any): any;
removeColumnByIndex(array: any[], index: number): any[];
autoResizeColumns(): void;
destroy(): void;
private addGridMenuCustomCommands(grid, options);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { EventEmitter } from '@angular/core';
import { Column, ColumnFilters, GridOption, SlickEvent } from './../models/index';
export declare class FilterService {
_columnFilters: ColumnFilters;
Expand All @@ -7,6 +8,7 @@ export declare class FilterService {
_gridOptions: GridOption;
_onFilterChangedOptions: any;
subscriber: SlickEvent;
onFilterChanged: EventEmitter<string>;
init(grid: any, gridOptions: GridOption, columnDefinitions: Column[]): void;
/**
* Attach a backend filter hook to the grid
Expand All @@ -29,6 +31,12 @@ export declare class FilterService {
destroy(): void;
callbackSearchEvent(e: any, args: any): void;
addFilterTemplateToHeaderRow(args: any): void;
/**
* A simple function that is attached to the subscriber and emit a change when the sort is called.
* Other services, like Pagination, can then subscribe to it.
* @param {string} sender
*/
emitFilterChangedBy(sender: string): void;
private keepColumnFilters(searchTerm, listTerm, columnDef);
private triggerEvent(evt, args, e);
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
export declare class GridExtraService {
private _grid;
private _dataView;
init(grid: any, dataView: any): void;
private _columnDefinition;
private _gridOptions;
init(grid: any, columnDefinition: any, gridOptions: any, dataView: any): void;
getDataItemByRowNumber(rowNumber: number): any;
/** Chain the item Metadata with our implementation of Metadata at given row index */
getItemRowMetadata(previousItemMetadata: any): (rowNumber: number) => {
cssClasses: string;
Expand All @@ -16,4 +19,12 @@ export declare class GridExtraService {
getSelectedRows(): any;
setSelectedRow(rowIndex: number): void;
setSelectedRows(rowIndexes: number[]): void;
/** Add an item (data item) to the datagrid
* @param object dataItem: item object holding all properties of that row
*/
addItemToDatagrid(item: any): void;
/** Update an existing item with new properties inside the datagrid
* @param object item: item object holding all properties of that row
*/
updateDataGridItem(item: any): void;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { GridOption } from './../models';
import { Router } from '@angular/router';
export declare class ResizerService {
private router;
constructor(router: Router);
constructor();
/** Attach an auto resize trigger on the datagrid, if that is enable then it will resize itself to the available space
* Options: we could also provide a % factor to resize on each height/width independently
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { EventEmitter } from '@angular/core';
import { GridOption } from './../models';
export declare class SortService {
subscriber: any;
onSortChanged: EventEmitter<string>;
/**
* Attach a backend sort (single/multi) hook to the grid
* @param grid SlickGrid Grid object
Expand All @@ -16,4 +18,10 @@ export declare class SortService {
*/
attachLocalOnSort(grid: any, gridOptions: GridOption, dataView: any): void;
destroy(): void;
/**
* A simple function that is attached to the subscriber and emit a change when the sort is called.
* Other services, like Pagination, can then subscribe to it.
* @param {string} sender
*/
emitSortChangedBy(sender: string): void;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-slickgrid",
"version": "0.6.0",
"version": "0.6.1",
"description": "Slickgrid components made available in Angular",
"keywords": [
"angular",
Expand Down

0 comments on commit d45b4c2

Please sign in to comment.