angular-slickgrid 3.3.0 → 3.3.1

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/README.md CHANGED
@@ -11,13 +11,27 @@
11
11
  [![codecov](https://codecov.io/gh/ghiscoding/Angular-Slickgrid/branch/master/graph/badge.svg)](https://codecov.io/gh/ghiscoding/Angular-Slickgrid)
12
12
 
13
13
  ### Brief introduction
14
- One of the best javascript datagrid [SlickGrid](https://github.com/mleibman/SlickGrid) which was originally developed by @mleibman is now available to Angular. I have used a few datagrids and SlickGrid beats most of them in terms of functionalities and performance (it can easily deal with even a million row). We will be using the [6pac/SlickGrid](https://github.com/6pac/SlickGrid/) fork, it is the most active fork since the original author @mleibman stopped working on his original repo. Also worth knowing that I have contributed a lot to the 6pac/SlickGrid fork for the benefit of Angular-Slickgrid... also a reminder, this is a wrapper of a jQuery lib (SlickGrid) and a big portion of the lib (like Editors, Filters and others) are written in jQuery/JavaScript, so just keep that in mind and that also means jQuery is a dependency.
14
+ One of the best javascript datagrid [SlickGrid](https://github.com/mleibman/SlickGrid) which was originally developed by @mleibman is now available to Angular. I have used a few datagrids and SlickGrid beats most of them in terms of functionalities and performance (it can easily deal with even a million row). We will be using the [6pac/SlickGrid](https://github.com/6pac/SlickGrid/) fork, it is the most active fork since the original author @mleibman stopped working on his original repo. Also worth knowing that I have contributed a lot to the 6pac/SlickGrid fork for the benefit of Angular-Slickgrid... also a reminder, this is a wrapper of a jQuery lib (SlickGrid) and a big portion of the lib (like Editors, Filters and others) are written in jQuery/JavaScript, so just keep that in mind and it also mean that jQuery is a dependency.
15
+
16
+ ### License
17
+ [MIT License](LICENSE)
15
18
 
16
19
  ### NPM Package
17
20
  [Angular-Slickgrid on NPM](https://www.npmjs.com/package/angular-slickgrid)
18
21
 
19
- ### License
20
- [MIT License](LICENSE)
22
+ ### Demo page
23
+ `Angular-Slickgrid` works with `Bootstrap 4` and even latest `Bootstrap 5` version, you can see a demo of each one below. There are also 2 new styling Themes, Material & Salesforce are also available and you could also use SVG icons if so take a look at the [Wiki - SVG Icons](https://github.com/ghiscoding/Angular-Slickgrid/wiki/SVG-Icons)
24
+ - [Bootstrap 5 demo](https://ghiscoding.github.io/Angular-Slickgrid) / [examples repo](https://github.com/ghiscoding/angular-slickgrid-demos/tree/master/bootstrap5-demo-with-translate)
25
+ - [Bootstrap 4 demo](https://ghiscoding.github.io/angular-slickgrid-demos) / [examples repo](https://github.com/ghiscoding/angular-slickgrid-demos/tree/master/bootstrap4-demo-with-translate)
26
+
27
+ #### Working Demo
28
+ For a complete & working local demo (30+ examples), you can (and should) clone the [Angular-Slickgrid Demos](https://github.com/ghiscoding/angular-slickgrid-demos) repository to get started. That repo is updated frequently and is used to update the GitHub demo page for both the [Bootstrap 5 demo](https://ghiscoding.github.io/Angular-Slickgrid) and [Bootstrap 4 demo](https://ghiscoding.github.io/angular-slickgrid-demos).
29
+ ```bash
30
+ git clone https://github.com/ghiscoding/angular-slickgrid-demos
31
+ cd bootstrap4-demo-with-translate # or any of the 4 demos
32
+ npm install
33
+ npm start
34
+ ```
21
35
 
22
36
  ### Like it? :star: it
23
37
  You like and use **Angular-Slickgrid**? Be sure to upvote :star: and feel free to contribute. :construction_worker:👷‍♀️
@@ -39,9 +53,7 @@ Check out the [Releases](https://github.com/ghiscoding/Angular-Slickgrid/release
39
53
 
40
54
  ## Angular Compatibility
41
55
  - version `1.x.x` for Angular 4 to 6
42
- - Angular 6, is only supported through `rxjs-compat` as shown in this [post](https://github.com/ghiscoding/Angular-Slickgrid/issues/36#issuecomment-395710915). It's preferable to upgrade to Angular 7+ to avoid using the `rxjs-compat` package.
43
56
  - version `2.x.x` for Angular 7+
44
- - since version `2.11.0`, you can also change your build `target` to `ES2015` for modern browser.
45
57
  - version `3.x.x` for Angular 12+ and RxJS 7+
46
58
  - build `target` got bumped to `ES2018` for modern browser **only**
47
59
  - IE11 is reaching EOL by year end and is **no longer supported**, if you still need to support it then stick with version 2.x
@@ -55,7 +67,7 @@ If you are facing any issues with `ngx-translate` library while building your An
55
67
 
56
68
  | Angular Version | @ngx-translate/core |
57
69
  |-----------------|---------------------|
58
- | 10 | 13.x+ |
70
+ | 10+ | 13.x+ |
59
71
  | 9 | 12.x+ |
60
72
  | 8 | 12.x+ |
61
73
  | 7 | 11.x+ |
@@ -77,7 +89,7 @@ module.exports = {
77
89
  }
78
90
  };
79
91
  ```
80
- You should also add `Angular-Slickgrid` as an allowed CommonJS dependency to your `angular.json` file to silent the warnings.
92
+ You should also add `Angular-Slickgrid` as an allowed CommonJS dependency to your `angular.json` file to silence the warnings.
81
93
  ```json
82
94
  "options": {
83
95
  "allowedCommonJsDependencies": ["angular-slickgrid"]
@@ -124,22 +136,6 @@ Refer to the **[Wiki - HOWTO Step by Step](https://github.com/ghiscoding/angular
124
136
 
125
137
  **NOTE:** if you have any question, please consider asking installation and/or general questions on [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=slickgrid)
126
138
 
127
- ### Demo page
128
- `Angular-Slickgrid` works with `Bootstrap 4` and even latest `Bootstrap 5` version, you can see a demo of each one below.
129
- - [Bootstrap 5 demo](https://ghiscoding.github.io/Angular-Slickgrid) / [examples repo](https://github.com/ghiscoding/angular-slickgrid-demos/tree/master/bootstrap5-demo-with-translate)
130
- - [Bootstrap 4 demo](https://ghiscoding.github.io/angular-slickgrid-demos) / [examples repo](https://github.com/ghiscoding/angular-slickgrid-demos/tree/master/bootstrap4-demo-with-translate)
131
-
132
- There are also 2 new styling Themes, Material & Salesforce are also available and you could also use SVG icons if so take a look at the [Wiki - SVG Icons](https://github.com/ghiscoding/Angular-Slickgrid/wiki/SVG-Icons)
133
-
134
- #### Working Demo
135
- For a complete and working local demo (with +30 examples), you can (should) clone the [Angular-Slickgrid Demos](https://github.com/ghiscoding/angular-slickgrid-demos) repository. That repo is updated frequently and is used to update the GitHub demo pages for both the [Bootstrap 5 demo](https://ghiscoding.github.io/Angular-Slickgrid) and [Bootstrap 4 demo](https://ghiscoding.github.io/angular-slickgrid-demos).
136
- ```bash
137
- git clone https://github.com/ghiscoding/angular-slickgrid-demos
138
- cd bootstrap4-demo-with-translate
139
- npm install
140
- npm start
141
- ```
142
-
143
139
  #### How to load data with `HttpClient`?
144
140
  You might notice that all demos are coded with mocked dataset in each of the examples, that is mainly for demo purposes, but you might be wondering how to connect this with an `HttpClient`? Easy... just replace the mocked data, assigned to the `dataset` property, by your `HttpClient` call it and that's it. The `dataset` property can be changed or refreshed at any time, which is why you can use local data and/or connect it to a `Promise` or an `Observable` with `HttpClient` (internally it's just a SETTER that refreshes the grid). See [Example 24](https://ghiscoding.github.io/Angular-Slickgrid/#/gridtabs) for a demo showing how to load a JSON file with `HttpClient`.
145
141
 
@@ -1359,7 +1359,7 @@
1359
1359
  var columnPickerExtension = new common.ColumnPickerExtension(this.extensionUtility, this.sharedService);
1360
1360
  var checkboxExtension = new common.CheckboxSelectorExtension(this.sharedService);
1361
1361
  var draggableGroupingExtension = new common.DraggableGroupingExtension(this.extensionUtility, this._eventPubSubService, this.sharedService);
1362
- var gridMenuExtension = new common.GridMenuExtension(this.extensionUtility, this.filterService, this.sharedService, this.sortService, this.backendUtilityService, this.translaterService);
1362
+ var gridMenuExtension = new common.GridMenuExtension(this.extensionUtility, this.filterService, this._eventPubSubService, this.sharedService, this.sortService, this.backendUtilityService, this.translaterService);
1363
1363
  var groupItemMetaProviderExtension = new common.GroupItemMetaProviderExtension(this.sharedService);
1364
1364
  var headerButtonExtension = new common.HeaderButtonExtension(this.extensionUtility, this.sharedService);
1365
1365
  var headerMenuExtension = new common.HeaderMenuExtension(this.extensionUtility, this.filterService, this._eventPubSubService, this.sharedService, this.sortService, this.translaterService);