Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit 80ad504

Browse files
Ghislain BeaulacGhislain Beaulac
authored andcommitted
prepare release 0.7.7
1 parent c7a8324 commit 80ad504

12 files changed

+52
-12
lines changed

dist/angular-slickgrid.es5.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9967,6 +9967,18 @@ var FilterService = /** @class */ (function () {
99679967
this._grid.render();
99689968
}
99699969
};
9970+
/**
9971+
* @return {?}
9972+
*/
9973+
FilterService.prototype.destroyFilters = function () {
9974+
// we need to loop through all columnFilters and delete them 1 by 1
9975+
// only trying to make columnFilter an empty (without looping) would not trigger a dataset change
9976+
for (var /** @type {?} */ columnId in this._columnFilters) {
9977+
if (columnId && this._columnFilters[columnId]) {
9978+
delete this._columnFilters[columnId];
9979+
}
9980+
}
9981+
};
99709982
/**
99719983
* @param {?} operator
99729984
* @param {?} value1
@@ -33556,8 +33568,9 @@ var AngularSlickgridComponent = /** @class */ (function () {
3355633568
*/
3355733569
AngularSlickgridComponent.prototype.ngOnDestroy = function () {
3355833570
this._dataView = [];
33571+
this._gridOptions = {};
3355933572
this.controlAndPluginService.destroy();
33560-
this.filterService.clearFilters();
33573+
this.filterService.destroyFilters();
3356133574
this.resizer.destroy();
3356233575
this.grid.destroy();
3356333576
};

dist/angular-slickgrid.es5.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-slickgrid.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11763,6 +11763,18 @@ class FilterService {
1176311763
this._grid.render();
1176411764
}
1176511765
}
11766+
/**
11767+
* @return {?}
11768+
*/
11769+
destroyFilters() {
11770+
// we need to loop through all columnFilters and delete them 1 by 1
11771+
// only trying to make columnFilter an empty (without looping) would not trigger a dataset change
11772+
for (const /** @type {?} */ columnId in this._columnFilters) {
11773+
if (columnId && this._columnFilters[columnId]) {
11774+
delete this._columnFilters[columnId];
11775+
}
11776+
}
11777+
}
1176611778
/**
1176711779
* @param {?} operator
1176811780
* @param {?} value1
@@ -39365,8 +39377,9 @@ class AngularSlickgridComponent {
3936539377
*/
3936639378
ngOnDestroy() {
3936739379
this._dataView = [];
39380+
this._gridOptions = {};
3936839381
this.controlAndPluginService.destroy();
39369-
this.filterService.clearFilters();
39382+
this.filterService.destroyFilters();
3937039383
this.resizer.destroy();
3937139384
this.grid.destroy();
3937239385
}

dist/angular-slickgrid.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-slickgrid.metadata.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/bundles/angular-slickgrid.umd.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9966,6 +9966,18 @@ var FilterService = /** @class */ (function () {
99669966
this._grid.render();
99679967
}
99689968
};
9969+
/**
9970+
* @return {?}
9971+
*/
9972+
FilterService.prototype.destroyFilters = function () {
9973+
// we need to loop through all columnFilters and delete them 1 by 1
9974+
// only trying to make columnFilter an empty (without looping) would not trigger a dataset change
9975+
for (var /** @type {?} */ columnId in this._columnFilters) {
9976+
if (columnId && this._columnFilters[columnId]) {
9977+
delete this._columnFilters[columnId];
9978+
}
9979+
}
9980+
};
99699981
/**
99709982
* @param {?} operator
99719983
* @param {?} value1
@@ -33555,8 +33567,9 @@ var AngularSlickgridComponent = /** @class */ (function () {
3355533567
*/
3355633568
AngularSlickgridComponent.prototype.ngOnDestroy = function () {
3355733569
this._dataView = [];
33570+
this._gridOptions = {};
3355833571
this.controlAndPluginService.destroy();
33559-
this.filterService.clearFilters();
33572+
this.filterService.destroyFilters();
3356033573
this.resizer.destroy();
3356133574
this.grid.destroy();
3356233575
};

dist/bundles/angular-slickgrid.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bundles/angular-slickgrid.umd.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bundles/angular-slickgrid.umd.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"name":"angular-slickgrid","version":"0.7.6","description":"Slickgrid components made available in Angular","keywords":["angular","plugin","datatable","slickgrid"],"license":"MIT","scripts":{"ng":"ng","start":"ng serve","build":"ng build","test":"ng test","lint":"ng lint","e2e":"ng e2e","build-lib":"npm-run-all packagr sass:build sass:copy copy:i18n","build-lib-pack":"npm-run-all build-lib pack-lib copy-pack del-pack","copy:i18n":"cross-env copyfiles -f src/assets/i18n/*.json dist/i18n","copy-pack":"cross-env copyfiles -f *.tgz ../Angular-Slickgrid-PackageTest","del-pack":"cross-env del *.tgz","pack-lib":"npm pack ./dist","packagr":"ng-packagr -p ng-package.json","sass-build-task:scss-compile":"node-sass --source-map true src/app/modules/angular-slickgrid/styles/ -o dist/styles/css","sass-build-task:autoprefixer":"postcss dist/styles/css/*.css --use autoprefixer -d dist/styles/css","sass:build":"npm-run-all -p sass-build-task:*","sass:copy":"cross-env copyfiles -f src/app/modules/angular-slickgrid/styles/*.scss dist/styles/sass","sass:watch":"node-sass 'src/app/modules/angular-slickgrid/styles/**/*.scss' -c 'npm run sass:build'"},"author":"Ghislain B.","repository":{"type":"git","url":"http://github.com/ghiscoding/angular-slickgrid"},"private":false,"dependencies":{"@ngx-translate/core":"^9.0.1","@ngx-translate/http-loader":"^2.0.0","bootstrap":"^3.3.7","core-js":"^2.5.1","flatpickr":"^4.0.6","font-awesome":"^4.7.0","jquery":"^3.2.1","lodash":"^4.17.4","moment-mini":"^2.18.1","slickgrid":"^2.3.12","vinyl-paths":"^2.1.0"},"devDependencies":{"@angular/animations":"^5.0.0","@angular/cli":"1.5.4","@angular/common":"^5.0.0","@angular/compiler":"^5.0.0","@angular/compiler-cli":"^5.0.0","@angular/core":"^5.0.0","@angular/forms":"^5.0.0","@angular/http":"^5.0.0","@angular/language-service":"^5.0.0","@angular/platform-browser":"^5.0.0","@angular/platform-browser-dynamic":"^5.0.0","@angular/router":"^5.0.0","@types/flatpickr":"^3.1.2","@types/jasmine":"~2.6.0","@types/jasminewd2":"~2.0.3","@types/moment":"^2.13.0","@types/node":"^8.0.39","codelyzer":"~3.2.0","copyfiles":"^1.2.0","cross-env":"^5.1.0","del":"^3.0.0","del-cli":"^1.1.0","gulp":"^3.9.1","gulp-bump":"^2.7.0","gulp-sass":"^3.1.0","gulp-yuidoc":"^0.1.2","jasmine-core":"~2.8.0","jasmine-spec-reporter":"~4.2.1","karma":"~1.7.1","karma-chrome-launcher":"~2.2.0","karma-cli":"~1.0.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-jasmine":"~1.1.0","karma-jasmine-html-reporter":"^0.2.2","ng-packagr":"^1.6.0","node-sass":"^4.5.3","npm-run-all":"^4.1.1","postcss-cli":"^4.1.1","protractor":"~5.1.2","require-dir":"^0.3.2","run-sequence":"^2.2.0","rxjs":"^5.4.2","ts-node":"~3.3.0","tslint":"^5.8.0","typescript":"^2.3.4","yargs":"^9.0.1","zone.js":"^0.8.17"},"main":"bundles/angular-slickgrid.umd.js","module":"angular-slickgrid.es5.js","es2015":"angular-slickgrid.js","typings":"angular-slickgrid.d.ts","metadata":"angular-slickgrid.metadata.json"}
1+
{"name":"angular-slickgrid","version":"0.7.7","description":"Slickgrid components made available in Angular","keywords":["angular","plugin","datatable","slickgrid"],"license":"MIT","scripts":{"ng":"ng","start":"ng serve","build":"ng build","test":"ng test","lint":"ng lint","e2e":"ng e2e","build-lib":"npm-run-all packagr sass:build sass:copy copy:i18n","build-lib-pack":"npm-run-all build-lib pack-lib copy-pack del-pack","copy:i18n":"cross-env copyfiles -f src/assets/i18n/*.json dist/i18n","copy-pack":"cross-env copyfiles -f *.tgz ../Angular-Slickgrid-PackageTest","del-pack":"cross-env del *.tgz","pack-lib":"npm pack ./dist","packagr":"ng-packagr -p ng-package.json","sass-build-task:scss-compile":"node-sass --source-map true src/app/modules/angular-slickgrid/styles/ -o dist/styles/css","sass-build-task:autoprefixer":"postcss dist/styles/css/*.css --use autoprefixer -d dist/styles/css","sass:build":"npm-run-all -p sass-build-task:*","sass:copy":"cross-env copyfiles -f src/app/modules/angular-slickgrid/styles/*.scss dist/styles/sass","sass:watch":"node-sass 'src/app/modules/angular-slickgrid/styles/**/*.scss' -c 'npm run sass:build'"},"author":"Ghislain B.","repository":{"type":"git","url":"http://github.com/ghiscoding/angular-slickgrid"},"private":false,"dependencies":{"@ngx-translate/core":"^9.0.1","@ngx-translate/http-loader":"^2.0.0","bootstrap":"^3.3.7","core-js":"^2.5.1","flatpickr":"^4.0.6","font-awesome":"^4.7.0","jquery":"^3.2.1","lodash":"^4.17.4","moment-mini":"^2.18.1","slickgrid":"^2.3.12","vinyl-paths":"^2.1.0"},"devDependencies":{"@angular/animations":"^5.0.0","@angular/cli":"1.5.4","@angular/common":"^5.0.0","@angular/compiler":"^5.0.0","@angular/compiler-cli":"^5.0.0","@angular/core":"^5.0.0","@angular/forms":"^5.0.0","@angular/http":"^5.0.0","@angular/language-service":"^5.0.0","@angular/platform-browser":"^5.0.0","@angular/platform-browser-dynamic":"^5.0.0","@angular/router":"^5.0.0","@types/flatpickr":"^3.1.2","@types/jasmine":"~2.6.0","@types/jasminewd2":"~2.0.3","@types/moment":"^2.13.0","@types/node":"^8.0.39","codelyzer":"~3.2.0","copyfiles":"^1.2.0","cross-env":"^5.1.0","del":"^3.0.0","del-cli":"^1.1.0","gulp":"^3.9.1","gulp-bump":"^2.7.0","gulp-sass":"^3.1.0","gulp-yuidoc":"^0.1.2","jasmine-core":"~2.8.0","jasmine-spec-reporter":"~4.2.1","karma":"~1.7.1","karma-chrome-launcher":"~2.2.0","karma-cli":"~1.0.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-jasmine":"~1.1.0","karma-jasmine-html-reporter":"^0.2.2","ng-packagr":"^1.6.0","node-sass":"^4.5.3","npm-run-all":"^4.1.1","postcss-cli":"^4.1.1","protractor":"~5.1.2","require-dir":"^0.3.2","run-sequence":"^2.2.0","rxjs":"^5.4.2","ts-node":"~3.3.0","tslint":"^5.8.0","typescript":"^2.3.4","yargs":"^9.0.1","zone.js":"^0.8.17"},"main":"bundles/angular-slickgrid.umd.js","module":"angular-slickgrid.es5.js","es2015":"angular-slickgrid.js","typings":"angular-slickgrid.d.ts","metadata":"angular-slickgrid.metadata.json"}

0 commit comments

Comments
 (0)