angular-slickgrid 5.0.0 → 5.0.2

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.
Files changed (205) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +181 -179
  3. package/esm2020/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +3 -7
  4. package/esm2020/app/modules/angular-slickgrid/constants.mjs +1 -1
  5. package/esm2020/app/modules/angular-slickgrid/extensions/index.mjs +1 -1
  6. package/esm2020/app/modules/angular-slickgrid/extensions/slickRowDetailView.mjs +2 -2
  7. package/esm2020/app/modules/angular-slickgrid/global-grid-options.mjs +1 -1
  8. package/esm2020/app/modules/angular-slickgrid/index.mjs +1 -1
  9. package/esm2020/app/modules/angular-slickgrid/models/angularComponentOutput.interface.mjs +1 -1
  10. package/esm2020/app/modules/angular-slickgrid/models/angularGridInstance.interface.mjs +1 -1
  11. package/esm2020/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.mjs +1 -1
  12. package/esm2020/app/modules/angular-slickgrid/models/gridOption.interface.mjs +1 -1
  13. package/esm2020/app/modules/angular-slickgrid/models/index.mjs +1 -1
  14. package/esm2020/app/modules/angular-slickgrid/models/rowDetailView.interface.mjs +1 -1
  15. package/esm2020/app/modules/angular-slickgrid/models/slickGrid.interface.mjs +1 -1
  16. package/esm2020/app/modules/angular-slickgrid/modules/angular-slickgrid.module.mjs +1 -1
  17. package/esm2020/app/modules/angular-slickgrid/services/angularUtil.service.mjs +1 -1
  18. package/esm2020/app/modules/angular-slickgrid/services/container.service.mjs +1 -1
  19. package/esm2020/app/modules/angular-slickgrid/services/index.mjs +1 -1
  20. package/esm2020/app/modules/angular-slickgrid/services/translater.service.mjs +1 -1
  21. package/esm2020/app/modules/angular-slickgrid/services/utilities.mjs +1 -1
  22. package/esm2020/app/modules/angular-slickgrid/slickgrid-config.mjs +1 -1
  23. package/esm2020/public_api.mjs +1 -1
  24. package/fesm2015/angular-slickgrid.mjs +4 -8
  25. package/fesm2015/angular-slickgrid.mjs.map +1 -1
  26. package/fesm2020/angular-slickgrid.mjs +3 -7
  27. package/fesm2020/angular-slickgrid.mjs.map +1 -1
  28. package/i18n/en.json +90 -90
  29. package/i18n/fr.json +91 -91
  30. package/package.json +1 -1
  31. package/docs/assets/lib/multiple-select/README.md +0 -17
  32. package/test/cypress/node_modules/@4tw/cypress-drag-drop/README.md +0 -169
  33. package/test/cypress/node_modules/@cypress/request/README.md +0 -1038
  34. package/test/cypress/node_modules/@cypress/xvfb/README.md +0 -48
  35. package/test/cypress/node_modules/@cypress/xvfb/node_modules/debug/README.md +0 -437
  36. package/test/cypress/node_modules/@types/node/README.md +0 -16
  37. package/test/cypress/node_modules/@types/sinonjs__fake-timers/README.md +0 -16
  38. package/test/cypress/node_modules/@types/sizzle/README.md +0 -16
  39. package/test/cypress/node_modules/@types/yauzl/README.md +0 -16
  40. package/test/cypress/node_modules/@types/yauzl/node_modules/@types/node/README.md +0 -16
  41. package/test/cypress/node_modules/aggregate-error/README.md +0 -61
  42. package/test/cypress/node_modules/ansi-colors/README.md +0 -315
  43. package/test/cypress/node_modules/ansi-escapes/README.md +0 -245
  44. package/test/cypress/node_modules/ansi-regex/README.md +0 -78
  45. package/test/cypress/node_modules/ansi-styles/README.md +0 -152
  46. package/test/cypress/node_modules/arch/README.md +0 -71
  47. package/test/cypress/node_modules/asn1/README.md +0 -50
  48. package/test/cypress/node_modules/assert-plus/README.md +0 -162
  49. package/test/cypress/node_modules/astral-regex/README.md +0 -46
  50. package/test/cypress/node_modules/async/README.md +0 -60
  51. package/test/cypress/node_modules/asynckit/README.md +0 -233
  52. package/test/cypress/node_modules/at-least-node/README.md +0 -25
  53. package/test/cypress/node_modules/aws-sign2/README.md +0 -4
  54. package/test/cypress/node_modules/aws4/README.md +0 -183
  55. package/test/cypress/node_modules/balanced-match/README.md +0 -91
  56. package/test/cypress/node_modules/base64-js/README.md +0 -34
  57. package/test/cypress/node_modules/bcrypt-pbkdf/README.md +0 -45
  58. package/test/cypress/node_modules/blob-util/README.md +0 -623
  59. package/test/cypress/node_modules/bluebird/README.md +0 -57
  60. package/test/cypress/node_modules/brace-expansion/README.md +0 -129
  61. package/test/cypress/node_modules/buffer/README.md +0 -410
  62. package/test/cypress/node_modules/buffer-crc32/README.md +0 -47
  63. package/test/cypress/node_modules/cachedir/README.md +0 -27
  64. package/test/cypress/node_modules/caseless/README.md +0 -45
  65. package/test/cypress/node_modules/chalk/README.md +0 -293
  66. package/test/cypress/node_modules/chalk/node_modules/supports-color/README.md +0 -76
  67. package/test/cypress/node_modules/check-more-types/README.md +0 -952
  68. package/test/cypress/node_modules/ci-info/README.md +0 -114
  69. package/test/cypress/node_modules/clean-stack/README.md +0 -76
  70. package/test/cypress/node_modules/cli-cursor/README.md +0 -55
  71. package/test/cypress/node_modules/cli-table3/README.md +0 -218
  72. package/test/cypress/node_modules/cli-truncate/README.md +0 -139
  73. package/test/cypress/node_modules/color-convert/README.md +0 -68
  74. package/test/cypress/node_modules/color-name/README.md +0 -11
  75. package/test/cypress/node_modules/colorette/README.md +0 -102
  76. package/test/cypress/node_modules/colors/README.md +0 -221
  77. package/test/cypress/node_modules/combined-stream/README.md +0 -138
  78. package/test/cypress/node_modules/commander/README.md +0 -737
  79. package/test/cypress/node_modules/common-tags/README.md +0 -687
  80. package/test/cypress/node_modules/core-util-is/README.md +0 -3
  81. package/test/cypress/node_modules/cross-spawn/README.md +0 -96
  82. package/test/cypress/node_modules/cypress/README.md +0 -25
  83. package/test/cypress/node_modules/cypress/angular/README.md +0 -85
  84. package/test/cypress/node_modules/cypress/mount-utils/README.md +0 -21
  85. package/test/cypress/node_modules/cypress/react/README.md +0 -119
  86. package/test/cypress/node_modules/cypress/svelte/README.md +0 -83
  87. package/test/cypress/node_modules/cypress/vue/README.md +0 -88
  88. package/test/cypress/node_modules/cypress/vue2/README.md +0 -77
  89. package/test/cypress/node_modules/dashdash/README.md +0 -574
  90. package/test/cypress/node_modules/dayjs/README.md +0 -128
  91. package/test/cypress/node_modules/debug/README.md +0 -455
  92. package/test/cypress/node_modules/delayed-stream/README.md +0 -141
  93. package/test/cypress/node_modules/ecc-jsbn/README.md +0 -8
  94. package/test/cypress/node_modules/emoji-regex/README.md +0 -73
  95. package/test/cypress/node_modules/end-of-stream/README.md +0 -54
  96. package/test/cypress/node_modules/enquirer/README.md +0 -1752
  97. package/test/cypress/node_modules/escape-string-regexp/README.md +0 -27
  98. package/test/cypress/node_modules/eventemitter2/README.md +0 -809
  99. package/test/cypress/node_modules/execa/README.md +0 -656
  100. package/test/cypress/node_modules/executable/README.md +0 -64
  101. package/test/cypress/node_modules/extend/README.md +0 -81
  102. package/test/cypress/node_modules/extract-zip/README.md +0 -57
  103. package/test/cypress/node_modules/extract-zip/node_modules/debug/README.md +0 -455
  104. package/test/cypress/node_modules/extsprintf/README.md +0 -46
  105. package/test/cypress/node_modules/fd-slicer/README.md +0 -199
  106. package/test/cypress/node_modules/figures/README.md +0 -139
  107. package/test/cypress/node_modules/forever-agent/README.md +0 -4
  108. package/test/cypress/node_modules/form-data/README.md +0 -234
  109. package/test/cypress/node_modules/fs-extra/README.md +0 -264
  110. package/test/cypress/node_modules/fs.realpath/README.md +0 -33
  111. package/test/cypress/node_modules/get-stream/README.md +0 -124
  112. package/test/cypress/node_modules/getos/README.md +0 -79
  113. package/test/cypress/node_modules/getpass/README.md +0 -32
  114. package/test/cypress/node_modules/glob/README.md +0 -375
  115. package/test/cypress/node_modules/global-dirs/README.md +0 -72
  116. package/test/cypress/node_modules/graceful-fs/README.md +0 -133
  117. package/test/cypress/node_modules/has-flag/README.md +0 -89
  118. package/test/cypress/node_modules/http-signature/README.md +0 -80
  119. package/test/cypress/node_modules/human-signals/README.md +0 -155
  120. package/test/cypress/node_modules/ieee754/README.md +0 -51
  121. package/test/cypress/node_modules/indent-string/README.md +0 -70
  122. package/test/cypress/node_modules/inflight/README.md +0 -37
  123. package/test/cypress/node_modules/inherits/README.md +0 -42
  124. package/test/cypress/node_modules/ini/README.md +0 -102
  125. package/test/cypress/node_modules/is-ci/README.md +0 -50
  126. package/test/cypress/node_modules/is-fullwidth-code-point/README.md +0 -39
  127. package/test/cypress/node_modules/is-installed-globally/README.md +0 -31
  128. package/test/cypress/node_modules/is-path-inside/README.md +0 -63
  129. package/test/cypress/node_modules/is-stream/README.md +0 -57
  130. package/test/cypress/node_modules/is-typedarray/README.md +0 -16
  131. package/test/cypress/node_modules/isexe/README.md +0 -51
  132. package/test/cypress/node_modules/isstream/README.md +0 -66
  133. package/test/cypress/node_modules/jsbn/README.md +0 -175
  134. package/test/cypress/node_modules/json-schema/README.md +0 -3
  135. package/test/cypress/node_modules/json-stringify-safe/README.md +0 -52
  136. package/test/cypress/node_modules/jsonfile/README.md +0 -205
  137. package/test/cypress/node_modules/jsonfile/node_modules/universalify/README.md +0 -76
  138. package/test/cypress/node_modules/jsprim/README.md +0 -287
  139. package/test/cypress/node_modules/lazy-ass/README.md +0 -269
  140. package/test/cypress/node_modules/listr2/README.md +0 -17
  141. package/test/cypress/node_modules/lodash/README.md +0 -39
  142. package/test/cypress/node_modules/lodash.once/README.md +0 -18
  143. package/test/cypress/node_modules/log-symbols/README.md +0 -51
  144. package/test/cypress/node_modules/log-update/README.md +0 -97
  145. package/test/cypress/node_modules/log-update/node_modules/slice-ansi/README.md +0 -66
  146. package/test/cypress/node_modules/log-update/node_modules/wrap-ansi/README.md +0 -97
  147. package/test/cypress/node_modules/lru-cache/README.md +0 -166
  148. package/test/cypress/node_modules/merge-stream/README.md +0 -78
  149. package/test/cypress/node_modules/mime-db/README.md +0 -102
  150. package/test/cypress/node_modules/mime-types/README.md +0 -123
  151. package/test/cypress/node_modules/mimic-fn/README.md +0 -69
  152. package/test/cypress/node_modules/minimatch/README.md +0 -209
  153. package/test/cypress/node_modules/ms/README.md +0 -60
  154. package/test/cypress/node_modules/npm-run-path/README.md +0 -115
  155. package/test/cypress/node_modules/once/README.md +0 -79
  156. package/test/cypress/node_modules/onetime/README.md +0 -94
  157. package/test/cypress/node_modules/ospath/README.md +0 -53
  158. package/test/cypress/node_modules/p-map/README.md +0 -89
  159. package/test/cypress/node_modules/path-is-absolute/README.md +0 -59
  160. package/test/cypress/node_modules/path-key/README.md +0 -61
  161. package/test/cypress/node_modules/pend/README.md +0 -41
  162. package/test/cypress/node_modules/performance-now/README.md +0 -30
  163. package/test/cypress/node_modules/pify/README.md +0 -119
  164. package/test/cypress/node_modules/pretty-bytes/README.md +0 -131
  165. package/test/cypress/node_modules/proxy-from-env/README.md +0 -131
  166. package/test/cypress/node_modules/psl/README.md +0 -215
  167. package/test/cypress/node_modules/pump/README.md +0 -65
  168. package/test/cypress/node_modules/punycode/README.md +0 -122
  169. package/test/cypress/node_modules/qs/README.md +0 -475
  170. package/test/cypress/node_modules/request-progress/README.md +0 -78
  171. package/test/cypress/node_modules/restore-cursor/README.md +0 -26
  172. package/test/cypress/node_modules/rimraf/README.md +0 -101
  173. package/test/cypress/node_modules/rxjs/README.md +0 -147
  174. package/test/cypress/node_modules/rxjs/_esm2015/README.md +0 -147
  175. package/test/cypress/node_modules/rxjs/_esm5/README.md +0 -147
  176. package/test/cypress/node_modules/rxjs/src/README.md +0 -147
  177. package/test/cypress/node_modules/safe-buffer/README.md +0 -584
  178. package/test/cypress/node_modules/safer-buffer/README.md +0 -156
  179. package/test/cypress/node_modules/semver/README.md +0 -566
  180. package/test/cypress/node_modules/shebang-command/README.md +0 -34
  181. package/test/cypress/node_modules/shebang-regex/README.md +0 -33
  182. package/test/cypress/node_modules/signal-exit/README.md +0 -39
  183. package/test/cypress/node_modules/slice-ansi/README.md +0 -72
  184. package/test/cypress/node_modules/sshpk/README.md +0 -804
  185. package/test/cypress/node_modules/string-width/README.md +0 -50
  186. package/test/cypress/node_modules/strip-ansi/README.md +0 -46
  187. package/test/cypress/node_modules/strip-final-newline/README.md +0 -30
  188. package/test/cypress/node_modules/supports-color/README.md +0 -77
  189. package/test/cypress/node_modules/throttleit/README.md +0 -32
  190. package/test/cypress/node_modules/tmp/README.md +0 -365
  191. package/test/cypress/node_modules/tough-cookie/README.md +0 -527
  192. package/test/cypress/node_modules/tslib/README.md +0 -142
  193. package/test/cypress/node_modules/tunnel-agent/README.md +0 -4
  194. package/test/cypress/node_modules/tweetnacl/README.md +0 -459
  195. package/test/cypress/node_modules/type-fest/README.md +0 -760
  196. package/test/cypress/node_modules/universalify/README.md +0 -76
  197. package/test/cypress/node_modules/untildify/README.md +0 -30
  198. package/test/cypress/node_modules/uuid/README.md +0 -505
  199. package/test/cypress/node_modules/verror/README.md +0 -528
  200. package/test/cypress/node_modules/verror/node_modules/extsprintf/README.md +0 -46
  201. package/test/cypress/node_modules/which/README.md +0 -54
  202. package/test/cypress/node_modules/wrap-ansi/README.md +0 -91
  203. package/test/cypress/node_modules/wrappy/README.md +0 -36
  204. package/test/cypress/node_modules/yallist/README.md +0 -204
  205. package/test/cypress/node_modules/yauzl/README.md +0 -658
package/LICENSE CHANGED
@@ -1,20 +1,20 @@
1
- Copyright (c) 2017-present, Angular-Slickgrid - Ghislain B.
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ Copyright (c) 2017-present, Angular-Slickgrid - Ghislain B.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -1,179 +1,181 @@
1
- # Angular-Slickgrid
2
-
3
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
- [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](http://www.typescriptlang.org/)
5
- [![npm version](https://badge.fury.io/js/angular-slickgrid.svg)](//npmjs.com/package/angular-slickgrid)
6
- [![NPM downloads](https://img.shields.io/npm/dy/angular-slickgrid.svg)](https://npmjs.org/package/angular-slickgrid)
7
-
8
- [![Actions Status](https://github.com/ghiscoding/Angular-Slickgrid/workflows/CI%20Build/badge.svg)](https://github.com/ghiscoding/Angular-Slickgrid/actions)
9
- [![Cypress.io](https://img.shields.io/badge/tested%20with-Cypress-04C38E.svg)](https://www.cypress.io/)
10
- [![jest](https://jestjs.io/img/jest-badge.svg)](https://github.com/facebook/jest)
11
- [![codecov](https://codecov.io/gh/ghiscoding/Angular-Slickgrid/branch/master/graph/badge.svg)](https://codecov.io/gh/ghiscoding/Angular-Slickgrid)
12
-
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 it also mean that jQuery is a dependency.
15
-
16
- ### License
17
- [MIT License](LICENSE)
18
-
19
- ## Installation
20
- Refer to the **[Wiki - HOWTO Step by Step](https://github.com/ghiscoding/angular-slickgrid/wiki/HOWTO---Step-by-Step)** and/or clone the [Angular-Slickgrid Demos](https://github.com/ghiscoding/angular-slickgrid-demos) repository. Please consult all Wikis before opening new issues, also consider asking installation and/or general questions on [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=slickgrid) unless you think there's a bug with the library.
21
-
22
- ```sh
23
- npm install angular-slickgrid
24
- ```
25
-
26
- ### Demo page
27
- `Angular-Slickgrid` works with all `Bootstrap` versions, you can see a demo of each one below. There are also 2 new styling Themes, Material & Salesforce which are also available. You can also use different SVG icons, you may want to look at the [Wiki - SVG Icons](https://github.com/ghiscoding/Angular-Slickgrid/wiki/SVG-Icons)
28
- - [Bootstrap 5 demo](https://ghiscoding.github.io/Angular-Slickgrid) / [examples repo](https://github.com/ghiscoding/angular-slickgrid-demos/tree/master/bootstrap5-demo-with-translate)
29
- - [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)
30
-
31
- #### Working Demo
32
- 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).
33
- ```bash
34
- git clone https://github.com/ghiscoding/angular-slickgrid-demos
35
- cd bootstrap4-demo-with-translate # or any of the 4 demos
36
- npm install
37
- npm start
38
- ```
39
-
40
- ### Like it? :star: it
41
- You like to use **Angular-Slickgrid**? Be sure to upvote :star:, maybe support me with cafeine :coffee: and feel free to contribute. 👷👷‍♀️
42
-
43
- <a href='https://ko-fi.com/ghiscoding' target='_blank'><img height='32' style='border:0px;height:32px;' src='https://az743702.vo.msecnd.net/cdn/kofi3.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' />
44
-
45
- ## Latest News & Releases
46
- Check out the [Releases](https://github.com/ghiscoding/Angular-Slickgrid/releases) section for all latest News & Releases.
47
-
48
- ## Angular Compatibility
49
- - version `1.x.x` for Angular 4-6
50
- - version `2.x.x` for Angular 7-11
51
- - version `3.x.x` for Angular 12+ and RxJS 7+ ([migration guide to 3.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-3.x))
52
- - build `target` got bumped to `ES2018` for modern browser **only**
53
- - IE11 is EOL and **no longer supported**, if you still need to support it stay with version 2.x
54
- - uses new [Slickgrid-Universal](https://github.com/ghiscoding/slickgrid-universal) monorepo
55
- - last version is [v3.3.2](https://github.com/ghiscoding/Angular-Slickgrid/releases/tag/v3.3.2) compatible **only** with Slickgrid-Universal [v0.19.2](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v0.19.2)
56
- - Slickgrid-Universal 1.x versions only works with Angular-Slickgrid 4.x
57
- - version `4.x.x` for Angular 13+, RxJS 7+ and **Ivy ONLY** ([migration guide to 4.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-4.x))
58
- - for Ivy build only (no more UMD bundle & output >= ES2017), IE is EOL and definitely out of the picture (finally).
59
-
60
- For Angular 12+ see the instructions below - [Angular 12 with WebPack 5 - polyfill issue](https://github.com/ghiscoding/Angular-Slickgrid#angular-12-with-webpack-5---how-to-fix-polyfill-error)
61
-
62
- ### ngx-translate Compatibility
63
-
64
- If you are facing any issues with `ngx-translate` library while building your Angular Project. You need to make sure that `@ngx-translate/core` is part of your dependencies, that is also true even when using a single Locale, that is because it is a `peerDependency` of Angular-Slickgrid. The reason is because, we use `@Optional() TranslateService` in the lib and for that to work, we still need it to be installed, but don't worry it should still be removed by the tree shaking process after a running a production build. See their version compatibility table below
65
-
66
- | Angular Version | @ngx-translate/core |
67
- |-----------------|---------------------|
68
- | 13+ (Ivy only) | 14.x+ |
69
- | 10-13 | 13.x+ |
70
- | 8-9 | 12.x+ |
71
- | 7 | 11.x+ |
72
-
73
- ### Build Warnings (Angular 8+)
74
- You might get warnings about SlickGrid while doing a production build, most of them are fine and the best way to fix them, is to simply remove/ignore the warnings, all you have to do is to add a file named `ngcc.config.js` in your project root (same location as the `angular.json` file) with the following content (you can also see this [commit](https://github.com/ghiscoding/angular-slickgrid-demos/commit/1fe8092bcd2e99ede5ab048f4a7ebe6254e4bee0) which fixes the Angular-Slickgrid-Demos prod build):
75
- ```js
76
- module.exports = {
77
- packages: {
78
- 'angular-slickgrid': {
79
- ignorableDeepImportMatchers: [
80
- /assign-deep/,
81
- /slickgrid\//,
82
- /flatpickr/,
83
- /dequal/,
84
- ]
85
- },
86
- }
87
- };
88
- ```
89
- You should also add `Angular-Slickgrid` as an allowed CommonJS dependency to your `angular.json` file to silence the warnings.
90
- ```json
91
- "options": {
92
- "allowedCommonJsDependencies": ["angular-slickgrid"]
93
- }
94
- ```
95
-
96
- ### Angular 12 with WebPack 5 - how to fix polyfill error
97
- Since Angular 12 switched to WebPack 5, you might get some new errors and you will need to add some polyfills manually to get the Excel Builder (Excel Export) to work.
98
-
99
- #### The error you might get
100
-
101
- ```text
102
- BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
103
- This is no longer the case. Verify if you need this module and configure a polyfill for it.
104
- ```
105
-
106
- #### Steps to fix it
107
- 1. `npm install stream-browserify`
108
- 2. Add a path mapping in `tsconfig.json`:
109
- ```
110
- {
111
- ...
112
- "compilerOptions": {
113
- "paths": {
114
- "stream": [ "./node_modules/stream-browserify" ]
115
- },
116
- ```
117
- 3. Add `stream` to `allowedCommonJsDependencies` in `angular.json`:
118
- ```
119
- "options": {
120
- "allowedCommonJsDependencies": [
121
- "assign-deep",
122
- "excel-builder-webpacker",
123
- "stream"
124
- ],
125
- ```
126
-
127
- ### Fully Tested with [Jest](https://jestjs.io/) (Unit Tests) - [Cypress](https://www.cypress.io/) (E2E Tests)
128
- Angular-Slickgrid and Slickgrid-Universal both have **100%** Unit Test Coverage, we are talking about +15,000 lines of code (+3,750 unit tests) that are fully tested with [Jest](https://jestjs.io/). On the UI side, all Angular-Slickgrid Examples are tested with [Cypress](https://www.cypress.io/), there are over +500 Cypress E2E tests.
129
-
130
- #### How to load data with `HttpClient`?
131
- 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`.
132
-
133
- ## Wiki / Documentation
134
- 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. You can also take a look at the [Demo page](https://ghiscoding.github.io/Angular-Slickgrid), it includes sample for most of the features and it keeps growing (so you might want to consult it whenever a new version comes out).
135
-
136
- ## Main features
137
- You can see some screenshots below and the instructions down below and if that is not enough for you to decide, head over to the [Wiki - Main Features](https://github.com/ghiscoding/Angular-Slickgrid/wiki).
138
-
139
- ## Missing features
140
- What if `Angular-Slickgrid` is missing feature(s) compare to the original core library [6pac/SlickGrid](https://github.com/6pac/SlickGrid/)?
141
-
142
- Fear not, you can simply reference the `SlickGrid` and `DataView` objects, just like in the core lib (they are exposed through Custom Events). For more info continue reading on [Wiki - SlickGrid & DataView objects](/ghiscoding/Angular-Slickgrid/wiki/SlickGrid-&-DataView-Objects) and [Wiki - Grid & DataView Events](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Grid-&-DataView-Events)
143
-
144
-
145
- ## Screenshots
146
-
147
- Screenshots from the demo app with the `Bootstrap` theme.
148
-
149
- _Note that the styling changed a bit, the best is to simply head over to the [Live Demo](https://ghiscoding.github.io/Angular-Slickgrid) page._
150
-
151
- ### Slickgrid example with Formatters (last column shown is a custom Formatter)
152
-
153
- #### _You can also see the Grid Menu opened (aka hambuger menu)_
154
-
155
- ![Default Slickgrid Example](/screenshots/formatters.png)
156
-
157
- ### Filters and Multi-Column Sort
158
-
159
- ![Filter and Sort](/screenshots/filter_and_sort.png)
160
-
161
- ### Inline Editing
162
-
163
- ![Editors](/screenshots/editors.png)
164
-
165
- ### Pinned (aka frozen) Columns/Rows
166
-
167
- ![Pinned Columns/Rows](/screenshots/frozen.png)
168
-
169
- ### Draggable Grouping & Aggregators
170
-
171
- ![Draggable Grouping](/screenshots/draggable-grouping.png)
172
-
173
- ### Slickgrid Example with Server Side (Filter/Sort/Pagination)
174
- #### Comes with OData & GraphQL support (you can implement custom ones too)
175
-
176
- ![Slickgrid Server Side](/screenshots/pagination.png)
177
-
178
- ### Composite Editor Modal Windows
179
- ![Composite Editor Modal](/screenshots/composite-editor.png)
1
+ # Angular-Slickgrid
2
+
3
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
+ [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](http://www.typescriptlang.org/)
5
+ [![npm version](https://badge.fury.io/js/angular-slickgrid.svg)](//npmjs.com/package/angular-slickgrid)
6
+ [![NPM downloads](https://img.shields.io/npm/dy/angular-slickgrid.svg)](https://npmjs.org/package/angular-slickgrid)
7
+
8
+ [![Actions Status](https://github.com/ghiscoding/Angular-Slickgrid/workflows/CI%20Build/badge.svg)](https://github.com/ghiscoding/Angular-Slickgrid/actions)
9
+ [![Cypress.io](https://img.shields.io/badge/tested%20with-Cypress-04C38E.svg)](https://www.cypress.io/)
10
+ [![jest](https://jestjs.io/img/jest-badge.svg)](https://github.com/facebook/jest)
11
+ [![codecov](https://codecov.io/gh/ghiscoding/Angular-Slickgrid/branch/master/graph/badge.svg)](https://codecov.io/gh/ghiscoding/Angular-Slickgrid)
12
+
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 it also mean that jQuery is a dependency.
15
+
16
+ ### License
17
+ [MIT License](LICENSE)
18
+
19
+ ## Installation
20
+ Refer to the **[Wiki - HOWTO Step by Step](https://github.com/ghiscoding/angular-slickgrid/wiki/HOWTO---Step-by-Step)** and/or clone the [Angular-Slickgrid Demos](https://github.com/ghiscoding/angular-slickgrid-demos) repository. Please consult all Wikis before opening new issues, also consider asking installation and/or general questions on [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=slickgrid) unless you think there's a bug with the library.
21
+
22
+ ```sh
23
+ npm install angular-slickgrid
24
+ ```
25
+
26
+ ### Demo page
27
+ `Angular-Slickgrid` works with all `Bootstrap` versions, you can see a demo of each one below. There are also 2 new styling Themes, Material & Salesforce which are also available. You can also use different SVG icons, you may want to look at the [Wiki - SVG Icons](https://github.com/ghiscoding/Angular-Slickgrid/wiki/SVG-Icons)
28
+ - [Bootstrap 5 demo](https://ghiscoding.github.io/Angular-Slickgrid) / [examples repo](https://github.com/ghiscoding/angular-slickgrid-demos/tree/master/bootstrap5-demo-with-translate)
29
+ - [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)
30
+
31
+ #### Working Demo
32
+ 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).
33
+ ```bash
34
+ git clone https://github.com/ghiscoding/angular-slickgrid-demos
35
+ cd bootstrap4-demo-with-translate # or any of the 4 demos
36
+ npm install
37
+ npm start
38
+ ```
39
+
40
+ ### Like it? :star: it
41
+ You like to use **Angular-Slickgrid**? Be sure to upvote :star:, maybe support me with cafeine :coffee: and feel free to contribute. 👷👷‍♀️
42
+
43
+ <a href='https://ko-fi.com/ghiscoding' target='_blank'><img height='32' style='border:0px;height:32px;' src='https://az743702.vo.msecnd.net/cdn/kofi3.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' />
44
+
45
+ ## Latest News & Releases
46
+ Check out the [Releases](https://github.com/ghiscoding/Angular-Slickgrid/releases) section for all latest News & Releases.
47
+
48
+ ## Angular Compatibility
49
+ - version `1.x.x` for Angular 4-6
50
+ - version `2.x.x` for Angular 7-11
51
+ - version `3.x.x` for Angular 12+ and RxJS 7+ ([migration guide to 3.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-3.x))
52
+ - build `target` got bumped to `ES2018` for modern browser **only**
53
+ - IE11 is EOL and **no longer supported**, if you still need to support it stay with version 2.x
54
+ - uses new [Slickgrid-Universal](https://github.com/ghiscoding/slickgrid-universal) monorepo
55
+ - last version is [v3.3.2](https://github.com/ghiscoding/Angular-Slickgrid/releases/tag/v3.3.2) compatible **only** with Slickgrid-Universal [v0.19.2](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v0.19.2)
56
+ - Slickgrid-Universal 1.x versions only works with Angular-Slickgrid 4.x
57
+ - version `4.x.x` for Angular 13+, RxJS 7+ and **Ivy ONLY** ([migration guide to 4.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-4.x))
58
+ - for Ivy build only (no more UMD bundle & output >= ES2017), IE is EOL and definitely out of the picture (finally).
59
+ - version `5.x.x` for Angular 14+, RxJS >=7.5.0 and **Ivy ONLY** ([migration guide to 5.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-5.x))
60
+ - removal of jQueryUI dependency (replaced internally by SortableJS, a smaller and touch friendly lib).
61
+
62
+ For Angular 12+ see the instructions below - [Angular 12 with WebPack 5 - polyfill issue](https://github.com/ghiscoding/Angular-Slickgrid#angular-12-with-webpack-5---how-to-fix-polyfill-error)
63
+
64
+ ### ngx-translate Compatibility
65
+
66
+ If you are facing any issues with `ngx-translate` library while building your Angular Project. You need to make sure that `@ngx-translate/core` is part of your dependencies, that is also true even when using a single Locale, that is because it is a `peerDependency` of Angular-Slickgrid. The reason is because, we use `@Optional() TranslateService` in the lib and for that to work, we still need it to be installed, but don't worry it should still be removed by the tree shaking process after a running a production build. See their version compatibility table below
67
+
68
+ | Angular Version | @ngx-translate/core |
69
+ |-----------------|---------------------|
70
+ | 13+ (Ivy only) | 14.x+ |
71
+ | 10-13 | 13.x+ |
72
+ | 8-9 | 12.x+ |
73
+ | 7 | 11.x+ |
74
+
75
+ ### Build Warnings (Angular 8+)
76
+ You might get warnings about SlickGrid while doing a production build, most of them are fine and the best way to fix them, is to simply remove/ignore the warnings, all you have to do is to add a file named `ngcc.config.js` in your project root (same location as the `angular.json` file) with the following content (you can also see this [commit](https://github.com/ghiscoding/angular-slickgrid-demos/commit/1fe8092bcd2e99ede5ab048f4a7ebe6254e4bee0) which fixes the Angular-Slickgrid-Demos prod build):
77
+ ```js
78
+ module.exports = {
79
+ packages: {
80
+ 'angular-slickgrid': {
81
+ ignorableDeepImportMatchers: [
82
+ /assign-deep/,
83
+ /slickgrid\//,
84
+ /flatpickr/,
85
+ /dequal/,
86
+ ]
87
+ },
88
+ }
89
+ };
90
+ ```
91
+ You should also add `Angular-Slickgrid` as an allowed CommonJS dependency to your `angular.json` file to silence the warnings.
92
+ ```json
93
+ "options": {
94
+ "allowedCommonJsDependencies": ["angular-slickgrid"]
95
+ }
96
+ ```
97
+
98
+ ### Angular 12 with WebPack 5 - how to fix polyfill error
99
+ Since Angular 12 switched to WebPack 5, you might get some new errors and you will need to add some polyfills manually to get the Excel Builder (Excel Export) to work.
100
+
101
+ #### The error you might get
102
+
103
+ ```text
104
+ BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
105
+ This is no longer the case. Verify if you need this module and configure a polyfill for it.
106
+ ```
107
+
108
+ #### Steps to fix it
109
+ 1. `npm install stream-browserify`
110
+ 2. Add a path mapping in `tsconfig.json`:
111
+ ```
112
+ {
113
+ ...
114
+ "compilerOptions": {
115
+ "paths": {
116
+ "stream": [ "./node_modules/stream-browserify" ]
117
+ },
118
+ ```
119
+ 3. Add `stream` to `allowedCommonJsDependencies` in `angular.json`:
120
+ ```
121
+ "options": {
122
+ "allowedCommonJsDependencies": [
123
+ "assign-deep",
124
+ "excel-builder-webpacker",
125
+ "stream"
126
+ ],
127
+ ```
128
+
129
+ ### Fully Tested with [Jest](https://jestjs.io/) (Unit Tests) - [Cypress](https://www.cypress.io/) (E2E Tests)
130
+ Angular-Slickgrid and Slickgrid-Universal both have **100%** Unit Test Coverage, we are talking about +15,000 lines of code (+3,750 unit tests) that are fully tested with [Jest](https://jestjs.io/). On the UI side, all Angular-Slickgrid Examples are tested with [Cypress](https://www.cypress.io/), there are over +500 Cypress E2E tests.
131
+
132
+ #### How to load data with `HttpClient`?
133
+ 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`.
134
+
135
+ ## Wiki / Documentation
136
+ 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. You can also take a look at the [Demo page](https://ghiscoding.github.io/Angular-Slickgrid), it includes sample for most of the features and it keeps growing (so you might want to consult it whenever a new version comes out).
137
+
138
+ ## Main features
139
+ You can see some screenshots below and the instructions down below and if that is not enough for you to decide, head over to the [Wiki - Main Features](https://github.com/ghiscoding/Angular-Slickgrid/wiki).
140
+
141
+ ## Missing features
142
+ What if `Angular-Slickgrid` is missing feature(s) compare to the original core library [6pac/SlickGrid](https://github.com/6pac/SlickGrid/)?
143
+
144
+ Fear not, you can simply reference the `SlickGrid` and `DataView` objects, just like in the core lib (they are exposed through Custom Events). For more info continue reading on [Wiki - SlickGrid & DataView objects](/ghiscoding/Angular-Slickgrid/wiki/SlickGrid-&-DataView-Objects) and [Wiki - Grid & DataView Events](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Grid-&-DataView-Events)
145
+
146
+
147
+ ## Screenshots
148
+
149
+ Screenshots from the demo app with the `Bootstrap` theme.
150
+
151
+ _Note that the styling changed a bit, the best is to simply head over to the [Live Demo](https://ghiscoding.github.io/Angular-Slickgrid) page._
152
+
153
+ ### Slickgrid example with Formatters (last column shown is a custom Formatter)
154
+
155
+ #### _You can also see the Grid Menu opened (aka hambuger menu)_
156
+
157
+ ![Default Slickgrid Example](/screenshots/formatters.png)
158
+
159
+ ### Filters and Multi-Column Sort
160
+
161
+ ![Filter and Sort](/screenshots/filter_and_sort.png)
162
+
163
+ ### Inline Editing
164
+
165
+ ![Editors](/screenshots/editors.png)
166
+
167
+ ### Pinned (aka frozen) Columns/Rows
168
+
169
+ ![Pinned Columns/Rows](/screenshots/frozen.png)
170
+
171
+ ### Draggable Grouping & Aggregators
172
+
173
+ ![Draggable Grouping](/screenshots/draggable-grouping.png)
174
+
175
+ ### Slickgrid Example with Server Side (Filter/Sort/Pagination)
176
+ #### Comes with OData & GraphQL support (you can implement custom ones too)
177
+
178
+ ![Slickgrid Server Side](/screenshots/pagination.png)
179
+
180
+ ### Composite Editor Modal Windows
181
+ ![Composite Editor Modal](/screenshots/composite-editor.png)