angular-slickgrid 5.6.4 → 6.0.0

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 (234) hide show
  1. package/README.md +26 -27
  2. package/app/modules/angular-slickgrid/components/angular-slickgrid.component.d.ts +198 -198
  3. package/app/modules/angular-slickgrid/constants.d.ts +30 -30
  4. package/app/modules/angular-slickgrid/extensions/index.d.ts +1 -1
  5. package/app/modules/angular-slickgrid/extensions/slickRowDetailView.d.ts +87 -88
  6. package/app/modules/angular-slickgrid/global-grid-options.d.ts +3 -3
  7. package/app/modules/angular-slickgrid/index.d.ts +7 -7
  8. package/app/modules/angular-slickgrid/models/angularComponentOutput.interface.d.ts +5 -5
  9. package/app/modules/angular-slickgrid/models/angularGridInstance.interface.d.ts +36 -36
  10. package/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.d.ts +20 -20
  11. package/app/modules/angular-slickgrid/models/gridOption.interface.d.ts +9 -9
  12. package/app/modules/angular-slickgrid/models/index.d.ts +6 -6
  13. package/app/modules/angular-slickgrid/models/rowDetailView.interface.d.ts +25 -25
  14. package/app/modules/angular-slickgrid/models/slickGrid.interface.d.ts +6 -6
  15. package/app/modules/angular-slickgrid/modules/angular-slickgrid.module.d.ts +12 -12
  16. package/app/modules/angular-slickgrid/services/angularUtil.service.d.ts +11 -13
  17. package/app/modules/angular-slickgrid/services/container.service.d.ts +10 -11
  18. package/app/modules/angular-slickgrid/services/index.d.ts +4 -4
  19. package/app/modules/angular-slickgrid/services/translater.service.d.ts +30 -30
  20. package/app/modules/angular-slickgrid/services/utilities.d.ts +8 -8
  21. package/app/modules/angular-slickgrid/slickgrid-config.d.ts +5 -5
  22. package/{esm2020 → esm2022}/angular-slickgrid.mjs +4 -4
  23. package/esm2022/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +1245 -0
  24. package/esm2022/app/modules/angular-slickgrid/constants.mjs +96 -0
  25. package/{esm2020 → esm2022}/app/modules/angular-slickgrid/extensions/index.mjs +1 -1
  26. package/esm2022/app/modules/angular-slickgrid/extensions/slickRowDetailView.mjs +307 -0
  27. package/{esm2020 → esm2022}/app/modules/angular-slickgrid/global-grid-options.mjs +246 -246
  28. package/{esm2020 → esm2022}/app/modules/angular-slickgrid/index.mjs +7 -7
  29. package/{esm2020 → esm2022}/app/modules/angular-slickgrid/models/angularComponentOutput.interface.mjs +1 -1
  30. package/{esm2020 → esm2022}/app/modules/angular-slickgrid/models/angularGridInstance.interface.mjs +1 -1
  31. package/{esm2020 → esm2022}/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.mjs +1 -1
  32. package/{esm2020 → esm2022}/app/modules/angular-slickgrid/models/gridOption.interface.mjs +1 -1
  33. package/{esm2020 → esm2022}/app/modules/angular-slickgrid/models/index.mjs +6 -6
  34. package/{esm2020 → esm2022}/app/modules/angular-slickgrid/models/rowDetailView.interface.mjs +1 -1
  35. package/{esm2020 → esm2022}/app/modules/angular-slickgrid/models/slickGrid.interface.mjs +1 -1
  36. package/esm2022/app/modules/angular-slickgrid/modules/angular-slickgrid.module.mjs +42 -0
  37. package/esm2022/app/modules/angular-slickgrid/services/angularUtil.service.mjs +40 -0
  38. package/esm2022/app/modules/angular-slickgrid/services/container.service.mjs +28 -0
  39. package/{esm2020 → esm2022}/app/modules/angular-slickgrid/services/index.mjs +4 -4
  40. package/esm2022/app/modules/angular-slickgrid/services/translater.service.mjs +45 -0
  41. package/{esm2020 → esm2022}/app/modules/angular-slickgrid/services/utilities.mjs +18 -18
  42. package/esm2022/app/modules/angular-slickgrid/slickgrid-config.mjs +8 -0
  43. package/{esm2020 → esm2022}/public_api.mjs +1 -1
  44. package/{fesm2020 → fesm2022}/angular-slickgrid.mjs +2006 -1960
  45. package/fesm2022/angular-slickgrid.mjs.map +1 -0
  46. package/index.d.ts +5 -5
  47. package/package.json +15 -23
  48. package/public_api.d.ts +1 -1
  49. package/esm2020/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +0 -1200
  50. package/esm2020/app/modules/angular-slickgrid/constants.mjs +0 -95
  51. package/esm2020/app/modules/angular-slickgrid/extensions/slickRowDetailView.mjs +0 -298
  52. package/esm2020/app/modules/angular-slickgrid/modules/angular-slickgrid.module.mjs +0 -41
  53. package/esm2020/app/modules/angular-slickgrid/services/angularUtil.service.mjs +0 -46
  54. package/esm2020/app/modules/angular-slickgrid/services/container.service.mjs +0 -29
  55. package/esm2020/app/modules/angular-slickgrid/services/translater.service.mjs +0 -43
  56. package/esm2020/app/modules/angular-slickgrid/slickgrid-config.mjs +0 -7
  57. package/fesm2015/angular-slickgrid.mjs +0 -2044
  58. package/fesm2015/angular-slickgrid.mjs.map +0 -1
  59. package/fesm2020/angular-slickgrid.mjs.map +0 -1
  60. package/test/cypress/node_modules/@4tw/cypress-drag-drop/README.md +0 -169
  61. package/test/cypress/node_modules/@cypress/request/README.md +0 -1038
  62. package/test/cypress/node_modules/@cypress/xvfb/README.md +0 -48
  63. package/test/cypress/node_modules/@cypress/xvfb/node_modules/debug/README.md +0 -437
  64. package/test/cypress/node_modules/@types/node/README.md +0 -16
  65. package/test/cypress/node_modules/@types/sinonjs__fake-timers/README.md +0 -16
  66. package/test/cypress/node_modules/@types/sizzle/README.md +0 -16
  67. package/test/cypress/node_modules/@types/yauzl/README.md +0 -16
  68. package/test/cypress/node_modules/@types/yauzl/node_modules/@types/node/README.md +0 -16
  69. package/test/cypress/node_modules/aggregate-error/README.md +0 -61
  70. package/test/cypress/node_modules/ansi-colors/README.md +0 -315
  71. package/test/cypress/node_modules/ansi-escapes/README.md +0 -245
  72. package/test/cypress/node_modules/ansi-regex/README.md +0 -78
  73. package/test/cypress/node_modules/ansi-styles/README.md +0 -152
  74. package/test/cypress/node_modules/arch/README.md +0 -71
  75. package/test/cypress/node_modules/asn1/README.md +0 -50
  76. package/test/cypress/node_modules/assert-plus/README.md +0 -162
  77. package/test/cypress/node_modules/astral-regex/README.md +0 -46
  78. package/test/cypress/node_modules/async/README.md +0 -60
  79. package/test/cypress/node_modules/asynckit/README.md +0 -233
  80. package/test/cypress/node_modules/at-least-node/README.md +0 -25
  81. package/test/cypress/node_modules/aws-sign2/README.md +0 -4
  82. package/test/cypress/node_modules/aws4/README.md +0 -183
  83. package/test/cypress/node_modules/balanced-match/README.md +0 -91
  84. package/test/cypress/node_modules/base64-js/README.md +0 -34
  85. package/test/cypress/node_modules/bcrypt-pbkdf/README.md +0 -45
  86. package/test/cypress/node_modules/blob-util/README.md +0 -623
  87. package/test/cypress/node_modules/bluebird/README.md +0 -57
  88. package/test/cypress/node_modules/brace-expansion/README.md +0 -129
  89. package/test/cypress/node_modules/buffer/README.md +0 -410
  90. package/test/cypress/node_modules/buffer-crc32/README.md +0 -47
  91. package/test/cypress/node_modules/cachedir/README.md +0 -27
  92. package/test/cypress/node_modules/caseless/README.md +0 -45
  93. package/test/cypress/node_modules/chalk/README.md +0 -293
  94. package/test/cypress/node_modules/chalk/node_modules/supports-color/README.md +0 -76
  95. package/test/cypress/node_modules/check-more-types/README.md +0 -952
  96. package/test/cypress/node_modules/ci-info/README.md +0 -114
  97. package/test/cypress/node_modules/clean-stack/README.md +0 -76
  98. package/test/cypress/node_modules/cli-cursor/README.md +0 -55
  99. package/test/cypress/node_modules/cli-table3/README.md +0 -218
  100. package/test/cypress/node_modules/cli-truncate/README.md +0 -139
  101. package/test/cypress/node_modules/color-convert/README.md +0 -68
  102. package/test/cypress/node_modules/color-name/README.md +0 -11
  103. package/test/cypress/node_modules/colorette/README.md +0 -102
  104. package/test/cypress/node_modules/colors/README.md +0 -221
  105. package/test/cypress/node_modules/combined-stream/README.md +0 -138
  106. package/test/cypress/node_modules/commander/README.md +0 -737
  107. package/test/cypress/node_modules/common-tags/README.md +0 -687
  108. package/test/cypress/node_modules/core-util-is/README.md +0 -3
  109. package/test/cypress/node_modules/cross-spawn/README.md +0 -96
  110. package/test/cypress/node_modules/cypress/README.md +0 -25
  111. package/test/cypress/node_modules/cypress/angular/README.md +0 -10
  112. package/test/cypress/node_modules/cypress/mount-utils/README.md +0 -140
  113. package/test/cypress/node_modules/cypress/react/README.md +0 -14
  114. package/test/cypress/node_modules/cypress/react18/README.md +0 -7
  115. package/test/cypress/node_modules/cypress/svelte/README.md +0 -15
  116. package/test/cypress/node_modules/cypress/vue/README.md +0 -14
  117. package/test/cypress/node_modules/cypress/vue2/README.md +0 -7
  118. package/test/cypress/node_modules/dashdash/README.md +0 -574
  119. package/test/cypress/node_modules/dayjs/README.md +0 -128
  120. package/test/cypress/node_modules/debug/README.md +0 -481
  121. package/test/cypress/node_modules/delayed-stream/README.md +0 -141
  122. package/test/cypress/node_modules/ecc-jsbn/README.md +0 -8
  123. package/test/cypress/node_modules/emoji-regex/README.md +0 -73
  124. package/test/cypress/node_modules/end-of-stream/README.md +0 -54
  125. package/test/cypress/node_modules/enquirer/README.md +0 -1752
  126. package/test/cypress/node_modules/escape-string-regexp/README.md +0 -27
  127. package/test/cypress/node_modules/eventemitter2/README.md +0 -809
  128. package/test/cypress/node_modules/execa/README.md +0 -656
  129. package/test/cypress/node_modules/executable/README.md +0 -64
  130. package/test/cypress/node_modules/extend/README.md +0 -81
  131. package/test/cypress/node_modules/extract-zip/README.md +0 -57
  132. package/test/cypress/node_modules/extract-zip/node_modules/debug/README.md +0 -455
  133. package/test/cypress/node_modules/extsprintf/README.md +0 -46
  134. package/test/cypress/node_modules/fd-slicer/README.md +0 -199
  135. package/test/cypress/node_modules/figures/README.md +0 -139
  136. package/test/cypress/node_modules/forever-agent/README.md +0 -4
  137. package/test/cypress/node_modules/form-data/README.md +0 -234
  138. package/test/cypress/node_modules/fs-extra/README.md +0 -264
  139. package/test/cypress/node_modules/fs.realpath/README.md +0 -33
  140. package/test/cypress/node_modules/get-stream/README.md +0 -124
  141. package/test/cypress/node_modules/getos/README.md +0 -79
  142. package/test/cypress/node_modules/getpass/README.md +0 -32
  143. package/test/cypress/node_modules/glob/README.md +0 -375
  144. package/test/cypress/node_modules/global-dirs/README.md +0 -72
  145. package/test/cypress/node_modules/graceful-fs/README.md +0 -133
  146. package/test/cypress/node_modules/has-flag/README.md +0 -89
  147. package/test/cypress/node_modules/http-signature/README.md +0 -80
  148. package/test/cypress/node_modules/human-signals/README.md +0 -155
  149. package/test/cypress/node_modules/ieee754/README.md +0 -51
  150. package/test/cypress/node_modules/indent-string/README.md +0 -70
  151. package/test/cypress/node_modules/inflight/README.md +0 -37
  152. package/test/cypress/node_modules/inherits/README.md +0 -42
  153. package/test/cypress/node_modules/ini/README.md +0 -102
  154. package/test/cypress/node_modules/is-ci/README.md +0 -50
  155. package/test/cypress/node_modules/is-fullwidth-code-point/README.md +0 -39
  156. package/test/cypress/node_modules/is-installed-globally/README.md +0 -31
  157. package/test/cypress/node_modules/is-path-inside/README.md +0 -63
  158. package/test/cypress/node_modules/is-stream/README.md +0 -57
  159. package/test/cypress/node_modules/is-typedarray/README.md +0 -16
  160. package/test/cypress/node_modules/isexe/README.md +0 -51
  161. package/test/cypress/node_modules/isstream/README.md +0 -66
  162. package/test/cypress/node_modules/jsbn/README.md +0 -175
  163. package/test/cypress/node_modules/json-schema/README.md +0 -3
  164. package/test/cypress/node_modules/json-stringify-safe/README.md +0 -52
  165. package/test/cypress/node_modules/jsonfile/README.md +0 -205
  166. package/test/cypress/node_modules/jsonfile/node_modules/universalify/README.md +0 -76
  167. package/test/cypress/node_modules/jsprim/README.md +0 -287
  168. package/test/cypress/node_modules/lazy-ass/README.md +0 -269
  169. package/test/cypress/node_modules/listr2/README.md +0 -17
  170. package/test/cypress/node_modules/lodash/README.md +0 -39
  171. package/test/cypress/node_modules/lodash.once/README.md +0 -18
  172. package/test/cypress/node_modules/log-symbols/README.md +0 -51
  173. package/test/cypress/node_modules/log-update/README.md +0 -97
  174. package/test/cypress/node_modules/log-update/node_modules/slice-ansi/README.md +0 -66
  175. package/test/cypress/node_modules/log-update/node_modules/wrap-ansi/README.md +0 -97
  176. package/test/cypress/node_modules/lru-cache/README.md +0 -166
  177. package/test/cypress/node_modules/merge-stream/README.md +0 -78
  178. package/test/cypress/node_modules/mime-db/README.md +0 -102
  179. package/test/cypress/node_modules/mime-types/README.md +0 -123
  180. package/test/cypress/node_modules/mimic-fn/README.md +0 -69
  181. package/test/cypress/node_modules/minimatch/README.md +0 -209
  182. package/test/cypress/node_modules/ms/README.md +0 -60
  183. package/test/cypress/node_modules/npm-run-path/README.md +0 -115
  184. package/test/cypress/node_modules/once/README.md +0 -79
  185. package/test/cypress/node_modules/onetime/README.md +0 -94
  186. package/test/cypress/node_modules/ospath/README.md +0 -53
  187. package/test/cypress/node_modules/p-map/README.md +0 -89
  188. package/test/cypress/node_modules/path-is-absolute/README.md +0 -59
  189. package/test/cypress/node_modules/path-key/README.md +0 -61
  190. package/test/cypress/node_modules/pend/README.md +0 -41
  191. package/test/cypress/node_modules/performance-now/README.md +0 -30
  192. package/test/cypress/node_modules/pify/README.md +0 -119
  193. package/test/cypress/node_modules/pretty-bytes/README.md +0 -131
  194. package/test/cypress/node_modules/proxy-from-env/README.md +0 -131
  195. package/test/cypress/node_modules/psl/README.md +0 -215
  196. package/test/cypress/node_modules/pump/README.md +0 -65
  197. package/test/cypress/node_modules/punycode/README.md +0 -122
  198. package/test/cypress/node_modules/qs/README.md +0 -510
  199. package/test/cypress/node_modules/request-progress/README.md +0 -78
  200. package/test/cypress/node_modules/restore-cursor/README.md +0 -26
  201. package/test/cypress/node_modules/rimraf/README.md +0 -101
  202. package/test/cypress/node_modules/rxjs/README.md +0 -147
  203. package/test/cypress/node_modules/rxjs/_esm2015/README.md +0 -147
  204. package/test/cypress/node_modules/rxjs/_esm5/README.md +0 -147
  205. package/test/cypress/node_modules/rxjs/src/README.md +0 -147
  206. package/test/cypress/node_modules/safe-buffer/README.md +0 -584
  207. package/test/cypress/node_modules/safer-buffer/README.md +0 -156
  208. package/test/cypress/node_modules/semver/README.md +0 -566
  209. package/test/cypress/node_modules/shebang-command/README.md +0 -34
  210. package/test/cypress/node_modules/shebang-regex/README.md +0 -33
  211. package/test/cypress/node_modules/signal-exit/README.md +0 -39
  212. package/test/cypress/node_modules/slice-ansi/README.md +0 -72
  213. package/test/cypress/node_modules/sshpk/README.md +0 -804
  214. package/test/cypress/node_modules/string-width/README.md +0 -50
  215. package/test/cypress/node_modules/strip-ansi/README.md +0 -46
  216. package/test/cypress/node_modules/strip-final-newline/README.md +0 -30
  217. package/test/cypress/node_modules/supports-color/README.md +0 -77
  218. package/test/cypress/node_modules/throttleit/README.md +0 -32
  219. package/test/cypress/node_modules/tmp/README.md +0 -365
  220. package/test/cypress/node_modules/tough-cookie/README.md +0 -527
  221. package/test/cypress/node_modules/tslib/README.md +0 -142
  222. package/test/cypress/node_modules/tunnel-agent/README.md +0 -4
  223. package/test/cypress/node_modules/tweetnacl/README.md +0 -459
  224. package/test/cypress/node_modules/type-fest/README.md +0 -760
  225. package/test/cypress/node_modules/universalify/README.md +0 -76
  226. package/test/cypress/node_modules/untildify/README.md +0 -30
  227. package/test/cypress/node_modules/uuid/README.md +0 -505
  228. package/test/cypress/node_modules/verror/README.md +0 -528
  229. package/test/cypress/node_modules/verror/node_modules/extsprintf/README.md +0 -46
  230. package/test/cypress/node_modules/which/README.md +0 -54
  231. package/test/cypress/node_modules/wrap-ansi/README.md +0 -91
  232. package/test/cypress/node_modules/wrappy/README.md +0 -36
  233. package/test/cypress/node_modules/yallist/README.md +0 -204
  234. package/test/cypress/node_modules/yauzl/README.md +0 -658
package/README.md CHANGED
@@ -11,20 +11,20 @@
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 React. 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 @mleibman was retired some time ago by the original author for personal reasons. Also worth to know, that I also contributed a lot to the 6pac/SlickGrid fork for the benefit of all the SlickGrid libraries that I maintain like this one here.... also as a reminder, this is a wrapper of a jQuery lib (SlickGrid) and its core component is written in jQuery/JavaScript, so just keep that in mind and it also mean that jQuery is a dependency of Angular-Slickgrid.
14
+ One of the best JavasSript datagrid [SlickGrid](https://github.com/mleibman/SlickGrid) which was originally developed by @mleibman is now available to Angular. SlickGrid beats most other datagrids in terms of functionalities and performance (it can easily deal with even a million row). Angular-Slickgrid is a wrapper on top of SlickGrid and we are using the [6pac/SlickGrid](https://github.com/6pac/SlickGrid/) fork which is the most active fork since the original was put on pause by its original author for personal reasons. Also worth to know, that I also contributed a lot to the 6pac/SlickGrid fork for the benefit of all the SlickGrid libraries that I maintain like this one here... SlickGrid is now also native and no longer requires jQuery (its only dependency is SortableJS)
15
15
 
16
16
  ### License
17
17
  [MIT License](LICENSE)
18
18
 
19
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.
20
+ A good starting point is the **[Wiki - HOWTO Step by Step](https://github.com/ghiscoding/angular-slickgrid/wiki/HOWTO---Step-by-Step)** and/or simply clone the [Angular-Slickgrid Demos](https://github.com/ghiscoding/angular-slickgrid-demos) repository. Please consult all Wikis and closed issues before opening new ones, 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
21
 
22
22
  ```sh
23
23
  npm install angular-slickgrid
24
24
  ```
25
25
 
26
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)
27
+ `Angular-Slickgrid` works with all `Bootstrap` versions, you can see a demo of each one below. There are also extra styling themes for not just Bootstrap but also 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
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
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
30
 
@@ -38,7 +38,7 @@ npm start
38
38
  ```
39
39
 
40
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. 👷👷‍♀️
41
+ You like to use **Angular-Slickgrid**? Be sure to upvote :star: and maybe support me with caffeine :coffee: and feel free to contribute. 👷👷‍♀️
42
42
 
43
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
44
 
@@ -46,35 +46,34 @@ You like to use **Angular-Slickgrid**? Be sure to upvote :star:, maybe support m
46
46
  Check out the [Releases](https://github.com/ghiscoding/Angular-Slickgrid/releases) section for all latest News & Releases.
47
47
 
48
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
- - IE11 is EOL and **no longer supported**, if you still need to support it stay with version 2.x
53
- - uses new [Slickgrid-Universal](https://github.com/ghiscoding/slickgrid-universal) monorepo version 0.19.2
54
- - 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))
55
- - for Ivy build only (no more UMD bundle & output >= ES2017), IE not supported.
56
- - requires Slickgrid-Universal [1.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v1.1.1) version
57
- - 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))
58
- - removal of jQueryUI dependency (replaced internally by SortableJS, a smaller and touch friendly lib).
59
- - requires Slickgrid-Universal [2.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v2.0.0) version
60
-
61
- **Note** For a full compatibility table of Angular-Slickgrid with Slickgrid-Universal, you can consult the [Versions Compatibility Table - Wiki](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Versions-Compatibility-Table)
62
-
63
- 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)
49
+
50
+ | Angular-Slickgrid | Angular version | Migration Guide | Notes |
51
+ |-------------------|-----------------------|-----------------|------|
52
+ | 1.x | 4-6.x | | |
53
+ | 2.x | 7-11.x | | |
54
+ | 3.x | >=12.0 | [Migration 3.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-3.x) | the lib now uses [Slickgrid-Universal](https://github.com/ghiscoding/slickgrid-universal) monorepo version [v0.19.2](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v0.19.2). Also, IE11 is EOL and no longer supported. |
55
+ | 4.x | >=13.0 | [Migration 4.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-4.x) | for Ivy build only, uses Slickgrid-Universal [1.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v1.1.1) version |
56
+ | 5.x | >=14.0 | [Migration 5.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-5.x) | removal of jQueryUI, uses Slickgrid-Universal [2.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v2.0.0) version |
57
+ | 6.x | >=16.0 | [Migration 6.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-6.x) | removal of jQuery (now uses browser native code), uses Slickgrid-Universal [3.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v3.0.0) version |
58
+
59
+ **Note** For a full compatibility table of Angular-Slickgrid with Slickgrid-Universal, please take a look at the [Versions Compatibility Table - Wiki](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Versions-Compatibility-Table).
60
+
61
+ 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).
64
62
 
65
63
  ### ngx-translate Compatibility
66
64
 
67
- 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
+ Angular-Slickgrid uses `ngx-translate` library to support Locales, it is also required even when using a single Locale. The reason is because, we use `@Optional() TranslateService` in the lib and for that to work, it requires `ngx-translate` to installed. Once you run the build and if you are using a single Locale then the tree shaking process should remove these optional dependencies. See their version compatibility table below for more info
68
66
 
69
67
  | Angular Version | @ngx-translate/core |
70
68
  |-----------------|---------------------|
71
- | 13+ (Ivy only) | 14.x+ |
72
- | 10-13 | 13.x+ |
73
- | 8-9 | 12.x+ |
74
- | 7 | 11.x+ |
75
-
76
- ### Build Warnings (Angular 8+)
77
- 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):
69
+ | 16+ | 15.x |
70
+ | 13+ (Ivy only) | 14.x |
71
+ | 10-13 | 13.x |
72
+ | 8-9 | 12.x |
73
+ | 7 | 11.x |
74
+
75
+ ### `ngcc` Build Warnings (Angular >=8.0 && <16.0)
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 to CommonJS packages, 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):
78
77
  ```js
79
78
  module.exports = {
80
79
  packages: {
@@ -1,198 +1,198 @@
1
- import 'slickgrid/slick.core';
2
- import 'slickgrid/slick.interactions';
3
- import 'slickgrid/slick.grid';
4
- import 'slickgrid/slick.dataview';
5
- import { AfterViewInit, ApplicationRef, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
6
- import { TranslateService } from '@ngx-translate/core';
7
- import { BackendServiceApi, Column, EventSubscription, ExternalResource, Locale, Metrics, Pagination, ServicePagination, SlickDataView, SlickEventHandler, SlickGrid, BackendUtilityService, CollectionService, ExtensionService, ExtensionUtility, FilterFactory, FilterService, GridEventService, GridService, GridStateService, GroupingAndColspanService, PaginationService, ResizerService, RxJsFacade, SharedService, SlickGroupItemMetadataProvider, SortService, TreeDataService } from '@slickgrid-universal/common';
8
- import { SlickEmptyWarningComponent } from '@slickgrid-universal/empty-warning-component';
9
- import { SlickFooterComponent } from '@slickgrid-universal/custom-footer-component';
10
- import { SlickPaginationComponent } from '@slickgrid-universal/pagination-component';
11
- import { ExternalTestingDependencies, GridOption } from './../models/index';
12
- import { TranslaterService } from '../services/translater.service';
13
- import { AngularUtilService } from '../services/angularUtil.service';
14
- import { SlickRowDetailView } from '../extensions/slickRowDetailView';
15
- import { ContainerService } from '../services/container.service';
16
- import * as i0 from "@angular/core";
17
- export declare class AngularSlickgridComponent implements AfterViewInit, OnDestroy {
18
- private readonly angularUtilService;
19
- private readonly appRef;
20
- private readonly cd;
21
- private readonly containerService;
22
- private readonly elm;
23
- private readonly translate;
24
- private readonly translaterService;
25
- private forRootConfig;
26
- private _dataset?;
27
- private _columnDefinitions;
28
- private _currentDatasetLength;
29
- private _eventHandler;
30
- private _eventPubSubService;
31
- private _angularGridInstances;
32
- private _hideHeaderRowAfterPageLoad;
33
- private _isGridInitialized;
34
- private _isDatasetInitialized;
35
- private _isDatasetHierarchicalInitialized;
36
- private _isPaginationInitialized;
37
- private _isLocalGrid;
38
- private _paginationOptions;
39
- private _registeredResources;
40
- dataView: SlickDataView;
41
- slickGrid: SlickGrid;
42
- groupingDefinition: any;
43
- groupItemMetadataProvider?: SlickGroupItemMetadataProvider;
44
- backendServiceApi?: BackendServiceApi;
45
- locales: Locale;
46
- metrics?: Metrics;
47
- showPagination: boolean;
48
- serviceList: any[];
49
- totalItems: number;
50
- paginationData?: {
51
- gridOptions: GridOption;
52
- paginationService: PaginationService;
53
- };
54
- subscriptions: EventSubscription[];
55
- slickEmptyWarning?: SlickEmptyWarningComponent;
56
- slickFooter?: SlickFooterComponent;
57
- slickPagination?: SlickPaginationComponent;
58
- slickRowDetailView?: SlickRowDetailView;
59
- backendUtilityService: BackendUtilityService;
60
- collectionService: CollectionService;
61
- extensionService: ExtensionService;
62
- extensionUtility: ExtensionUtility;
63
- filterFactory: FilterFactory;
64
- filterService: FilterService;
65
- gridEventService: GridEventService;
66
- gridService: GridService;
67
- gridStateService: GridStateService;
68
- groupingService: GroupingAndColspanService;
69
- paginationService: PaginationService;
70
- resizerService: ResizerService;
71
- rxjs?: RxJsFacade;
72
- sharedService: SharedService;
73
- sortService: SortService;
74
- treeDataService: TreeDataService;
75
- customDataView: any;
76
- gridId: string;
77
- gridOptions: GridOption;
78
- get paginationOptions(): Pagination | undefined;
79
- set paginationOptions(newPaginationOptions: Pagination | undefined);
80
- set columnDefinitions(columnDefinitions: Column[]);
81
- get columnDefinitions(): Column[];
82
- columnDefinitionsChange: EventEmitter<any>;
83
- get dataset(): any[];
84
- set dataset(newDataset: any[]);
85
- get datasetHierarchical(): any[] | undefined;
86
- set datasetHierarchical(newHierarchicalDataset: any[] | undefined);
87
- get elementRef(): ElementRef;
88
- get eventHandler(): SlickEventHandler;
89
- get gridContainerElement(): HTMLElement | null;
90
- /** GETTER to know if dataset was initialized or not */
91
- get isDatasetInitialized(): boolean;
92
- /** SETTER to change if dataset was initialized or not (stringly used for unit testing purposes) */
93
- set isDatasetInitialized(isInitialized: boolean);
94
- set isDatasetHierarchicalInitialized(isInitialized: boolean);
95
- get registeredResources(): ExternalResource[];
96
- constructor(angularUtilService: AngularUtilService, appRef: ApplicationRef, cd: ChangeDetectorRef, containerService: ContainerService, elm: ElementRef, translate: TranslateService, translaterService: TranslaterService, forRootConfig: GridOption, externalServices: ExternalTestingDependencies);
97
- ngAfterViewInit(): void;
98
- ngOnDestroy(): void;
99
- destroy(shouldEmptyDomElementContainer?: boolean): void;
100
- emptyGridContainerElm(): void;
101
- /**
102
- * Define our internal Post Process callback, it will execute internally after we get back result from the Process backend call
103
- * For now, this is GraphQL Service ONLY feature and it will basically refresh the Dataset & Pagination without having the user to create his own PostProcess every time
104
- */
105
- createBackendApiInternalPostProcessCallback(gridOptions: GridOption): void;
106
- initialization(eventHandler: SlickEventHandler): void;
107
- /**
108
- * On a Pagination changed, we will trigger a Grid State changed with the new pagination info
109
- * Also if we use Row Selection or the Checkbox Selector with a Backend Service (Odata, GraphQL), we need to reset any selection
110
- */
111
- paginationChanged(pagination: ServicePagination): void;
112
- /**
113
- * When dataset changes, we need to refresh the entire grid UI & possibly resize it as well
114
- * @param dataset
115
- */
116
- refreshGridData(dataset: any[], totalCount?: number): void;
117
- /**
118
- * Check if there's any Pagination Presets defined in the Grid Options,
119
- * if there are then load them in the paginationOptions object
120
- */
121
- setPaginationOptionsWhenPresetDefined(gridOptions: GridOption, paginationOptions: Pagination): Pagination;
122
- /**
123
- * Dynamically change or update the column definitions list.
124
- * We will re-render the grid so that the new header and data shows up correctly.
125
- * If using i18n, we also need to trigger a re-translate of the column headers
126
- */
127
- updateColumnDefinitionsList(newColumnDefinitions: Column[]): void;
128
- /**
129
- * Show the filter row displayed on first row, we can optionally pass false to hide it.
130
- * @param showing
131
- */
132
- showHeaderRow(showing?: boolean): boolean;
133
- /**
134
- * Loop through all column definitions and copy the original optional `width` properties optionally provided by the user.
135
- * We will use this when doing a resize by cell content, if user provided a `width` it won't override it.
136
- */
137
- private copyColumnWidthsReference;
138
- private displayEmptyDataWarning;
139
- private bindDifferentHooks;
140
- private bindBackendCallbackFunctions;
141
- private bindResizeHook;
142
- private executeAfterDataviewCreated;
143
- /** When data changes in the DataView, we'll refresh the metrics and/or display a warning if the dataset is empty */
144
- private handleOnItemCountChanged;
145
- private initializePaginationService;
146
- /** Load the Editor Collection asynchronously and replace the "collection" property when Observable resolves */
147
- private loadEditorCollectionAsync;
148
- protected insertDynamicPresetColumns(columnId: string, gridPresetColumns: Column[]): void;
149
- /** Load any possible Columns Grid Presets */
150
- private loadColumnPresetsWhenDatasetInitialized;
151
- /** Load any possible Filters Grid Presets */
152
- private loadFilterPresetsWhenDatasetInitialized;
153
- /**
154
- * local grid, check if we need to show the Pagination
155
- * if so then also check if there's any presets and finally initialize the PaginationService
156
- * a local grid with Pagination presets will potentially have a different total of items, we'll need to get it from the DataView and update our total
157
- */
158
- private loadLocalGridPagination;
159
- /** Load any Row Selections into the DataView that were presets by the user */
160
- private loadRowSelectionPresetWhenExists;
161
- private mergeGridOptions;
162
- /** Pre-Register any Resource that don't require SlickGrid to be instantiated (for example RxJS Resource & RowDetail) */
163
- private preRegisterResources;
164
- private registerResources;
165
- /** Register the RxJS Resource in all necessary services which uses */
166
- private registerRxJsResource;
167
- /**
168
- * Render (or dispose) the Pagination Component, user can optionally provide False (to not show it) which will in term dispose of the Pagination,
169
- * also while disposing we can choose to omit the disposable of the Pagination Service (if we are simply toggling the Pagination, we want to keep the Service alive)
170
- * @param {Boolean} showPagination - show (new render) or not (dispose) the Pagination
171
- * @param {Boolean} shouldDisposePaginationService - when disposing the Pagination, do we also want to dispose of the Pagination Service? (defaults to True)
172
- */
173
- private renderPagination;
174
- /**
175
- * Takes a flat dataset with parent/child relationship, sort it (via its tree structure) and return the sorted flat array
176
- * @param {Array<Object>} flatDatasetInput - flat dataset input
177
- * @param {Boolean} forceGridRefresh - optionally force a full grid refresh
178
- * @returns {Array<Object>} sort flat parent/child dataset
179
- */
180
- private sortTreeDataset;
181
- /**
182
- * For convenience to the user, we provide the property "editor" as an Angular-Slickgrid editor complex object
183
- * however "editor" is used internally by SlickGrid for it's own Editor Factory
184
- * so in our lib we will swap "editor" and copy it into a new property called "internalColumnEditor"
185
- * then take back "editor.model" and make it the new "editor" so that SlickGrid Editor Factory still works
186
- */
187
- private swapInternalEditorToSlickGridFactoryEditor;
188
- private translateColumnHeaderTitleKeys;
189
- private translateColumnGroupKeys;
190
- /**
191
- * Update the "internalColumnEditor.collection" property.
192
- * Since this is called after the async call resolves, the pointer will not be the same as the "column" argument passed.
193
- * Once we found the new pointer, we will reassign the "editor" and "collection" to the "internalColumnEditor" so it has newest collection
194
- */
195
- private updateEditorCollection;
196
- static ɵfac: i0.ɵɵFactoryDeclaration<AngularSlickgridComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }, null, null]>;
197
- static ɵcmp: i0.ɵɵComponentDeclaration<AngularSlickgridComponent, "angular-slickgrid", never, { "customDataView": "customDataView"; "gridId": "gridId"; "gridOptions": "gridOptions"; "paginationOptions": "paginationOptions"; "columnDefinitions": "columnDefinitions"; "dataset": "dataset"; "datasetHierarchical": "datasetHierarchical"; }, { "columnDefinitionsChange": "columnDefinitionsChange"; }, never, never, false>;
198
- }
1
+ import 'slickgrid/slick.core';
2
+ import 'slickgrid/slick.interactions';
3
+ import 'slickgrid/slick.grid';
4
+ import 'slickgrid/slick.dataview';
5
+ import { AfterViewInit, ApplicationRef, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
6
+ import { TranslateService } from '@ngx-translate/core';
7
+ import { BackendServiceApi, Column, EventSubscription, ExternalResource, Locale, Metrics, Pagination, ServicePagination, SlickDataView, SlickEventHandler, SlickGrid, BackendUtilityService, CollectionService, ExtensionService, ExtensionUtility, FilterFactory, FilterService, GridEventService, GridService, GridStateService, GroupingAndColspanService, PaginationService, ResizerService, RxJsFacade, SharedService, SlickGroupItemMetadataProvider, SortService, TreeDataService } from '@slickgrid-universal/common';
8
+ import { SlickEmptyWarningComponent } from '@slickgrid-universal/empty-warning-component';
9
+ import { SlickFooterComponent } from '@slickgrid-universal/custom-footer-component';
10
+ import { SlickPaginationComponent } from '@slickgrid-universal/pagination-component';
11
+ import { ExternalTestingDependencies, GridOption } from './../models/index';
12
+ import { TranslaterService } from '../services/translater.service';
13
+ import { AngularUtilService } from '../services/angularUtil.service';
14
+ import { SlickRowDetailView } from '../extensions/slickRowDetailView';
15
+ import { ContainerService } from '../services/container.service';
16
+ import * as i0 from "@angular/core";
17
+ export declare class AngularSlickgridComponent implements AfterViewInit, OnDestroy {
18
+ private readonly angularUtilService;
19
+ private readonly appRef;
20
+ private readonly cd;
21
+ private readonly containerService;
22
+ private readonly elm;
23
+ private readonly translate;
24
+ private readonly translaterService;
25
+ private forRootConfig;
26
+ private _dataset?;
27
+ private _columnDefinitions;
28
+ private _currentDatasetLength;
29
+ private _eventHandler;
30
+ private _eventPubSubService;
31
+ private _angularGridInstances;
32
+ private _hideHeaderRowAfterPageLoad;
33
+ private _isGridInitialized;
34
+ private _isDatasetInitialized;
35
+ private _isDatasetHierarchicalInitialized;
36
+ private _isPaginationInitialized;
37
+ private _isLocalGrid;
38
+ private _paginationOptions;
39
+ private _registeredResources;
40
+ dataView: SlickDataView;
41
+ slickGrid: SlickGrid;
42
+ groupingDefinition: any;
43
+ groupItemMetadataProvider?: SlickGroupItemMetadataProvider;
44
+ backendServiceApi?: BackendServiceApi;
45
+ locales: Locale;
46
+ metrics?: Metrics;
47
+ showPagination: boolean;
48
+ serviceList: any[];
49
+ totalItems: number;
50
+ paginationData?: {
51
+ gridOptions: GridOption;
52
+ paginationService: PaginationService;
53
+ };
54
+ subscriptions: EventSubscription[];
55
+ slickEmptyWarning?: SlickEmptyWarningComponent;
56
+ slickFooter?: SlickFooterComponent;
57
+ slickPagination?: SlickPaginationComponent;
58
+ slickRowDetailView?: SlickRowDetailView;
59
+ backendUtilityService: BackendUtilityService;
60
+ collectionService: CollectionService;
61
+ extensionService: ExtensionService;
62
+ extensionUtility: ExtensionUtility;
63
+ filterFactory: FilterFactory;
64
+ filterService: FilterService;
65
+ gridEventService: GridEventService;
66
+ gridService: GridService;
67
+ gridStateService: GridStateService;
68
+ groupingService: GroupingAndColspanService;
69
+ paginationService: PaginationService;
70
+ resizerService: ResizerService;
71
+ rxjs?: RxJsFacade;
72
+ sharedService: SharedService;
73
+ sortService: SortService;
74
+ treeDataService: TreeDataService;
75
+ customDataView: any;
76
+ gridId: string;
77
+ gridOptions: GridOption;
78
+ get paginationOptions(): Pagination | undefined;
79
+ set paginationOptions(newPaginationOptions: Pagination | undefined);
80
+ set columnDefinitions(columnDefinitions: Column[]);
81
+ get columnDefinitions(): Column[];
82
+ columnDefinitionsChange: EventEmitter<any>;
83
+ get dataset(): any[];
84
+ set dataset(newDataset: any[]);
85
+ get datasetHierarchical(): any[] | undefined;
86
+ set datasetHierarchical(newHierarchicalDataset: any[] | undefined);
87
+ get elementRef(): ElementRef;
88
+ get eventHandler(): SlickEventHandler;
89
+ get gridContainerElement(): HTMLElement | null;
90
+ /** GETTER to know if dataset was initialized or not */
91
+ get isDatasetInitialized(): boolean;
92
+ /** SETTER to change if dataset was initialized or not (stringly used for unit testing purposes) */
93
+ set isDatasetInitialized(isInitialized: boolean);
94
+ set isDatasetHierarchicalInitialized(isInitialized: boolean);
95
+ get registeredResources(): ExternalResource[];
96
+ constructor(angularUtilService: AngularUtilService, appRef: ApplicationRef, cd: ChangeDetectorRef, containerService: ContainerService, elm: ElementRef, translate: TranslateService, translaterService: TranslaterService, forRootConfig: GridOption, externalServices: ExternalTestingDependencies);
97
+ ngAfterViewInit(): void;
98
+ ngOnDestroy(): void;
99
+ destroy(shouldEmptyDomElementContainer?: boolean): void;
100
+ emptyGridContainerElm(): void;
101
+ /**
102
+ * Define our internal Post Process callback, it will execute internally after we get back result from the Process backend call
103
+ * For now, this is GraphQL Service ONLY feature and it will basically refresh the Dataset & Pagination without having the user to create his own PostProcess every time
104
+ */
105
+ createBackendApiInternalPostProcessCallback(gridOptions: GridOption): void;
106
+ initialization(eventHandler: SlickEventHandler): void;
107
+ /**
108
+ * On a Pagination changed, we will trigger a Grid State changed with the new pagination info
109
+ * Also if we use Row Selection or the Checkbox Selector with a Backend Service (Odata, GraphQL), we need to reset any selection
110
+ */
111
+ paginationChanged(pagination: ServicePagination): void;
112
+ /**
113
+ * When dataset changes, we need to refresh the entire grid UI & possibly resize it as well
114
+ * @param dataset
115
+ */
116
+ refreshGridData(dataset: any[], totalCount?: number): void;
117
+ /**
118
+ * Check if there's any Pagination Presets defined in the Grid Options,
119
+ * if there are then load them in the paginationOptions object
120
+ */
121
+ setPaginationOptionsWhenPresetDefined(gridOptions: GridOption, paginationOptions: Pagination): Pagination;
122
+ /**
123
+ * Dynamically change or update the column definitions list.
124
+ * We will re-render the grid so that the new header and data shows up correctly.
125
+ * If using i18n, we also need to trigger a re-translate of the column headers
126
+ */
127
+ updateColumnDefinitionsList(newColumnDefinitions: Column[]): void;
128
+ /**
129
+ * Show the filter row displayed on first row, we can optionally pass false to hide it.
130
+ * @param showing
131
+ */
132
+ showHeaderRow(showing?: boolean): boolean;
133
+ /**
134
+ * Loop through all column definitions and copy the original optional `width` properties optionally provided by the user.
135
+ * We will use this when doing a resize by cell content, if user provided a `width` it won't override it.
136
+ */
137
+ private copyColumnWidthsReference;
138
+ private displayEmptyDataWarning;
139
+ private bindDifferentHooks;
140
+ private bindBackendCallbackFunctions;
141
+ private bindResizeHook;
142
+ private executeAfterDataviewCreated;
143
+ /** When data changes in the DataView, we'll refresh the metrics and/or display a warning if the dataset is empty */
144
+ private handleOnItemCountChanged;
145
+ private initializePaginationService;
146
+ /** Load the Editor Collection asynchronously and replace the "collection" property when Observable resolves */
147
+ private loadEditorCollectionAsync;
148
+ protected insertDynamicPresetColumns(columnId: string, gridPresetColumns: Column[]): void;
149
+ /** Load any possible Columns Grid Presets */
150
+ private loadColumnPresetsWhenDatasetInitialized;
151
+ /** Load any possible Filters Grid Presets */
152
+ private loadFilterPresetsWhenDatasetInitialized;
153
+ /**
154
+ * local grid, check if we need to show the Pagination
155
+ * if so then also check if there's any presets and finally initialize the PaginationService
156
+ * a local grid with Pagination presets will potentially have a different total of items, we'll need to get it from the DataView and update our total
157
+ */
158
+ private loadLocalGridPagination;
159
+ /** Load any Row Selections into the DataView that were presets by the user */
160
+ private loadRowSelectionPresetWhenExists;
161
+ private mergeGridOptions;
162
+ /** Pre-Register any Resource that don't require SlickGrid to be instantiated (for example RxJS Resource & RowDetail) */
163
+ private preRegisterResources;
164
+ private registerResources;
165
+ /** Register the RxJS Resource in all necessary services which uses */
166
+ private registerRxJsResource;
167
+ /**
168
+ * Render (or dispose) the Pagination Component, user can optionally provide False (to not show it) which will in term dispose of the Pagination,
169
+ * also while disposing we can choose to omit the disposable of the Pagination Service (if we are simply toggling the Pagination, we want to keep the Service alive)
170
+ * @param {Boolean} showPagination - show (new render) or not (dispose) the Pagination
171
+ * @param {Boolean} shouldDisposePaginationService - when disposing the Pagination, do we also want to dispose of the Pagination Service? (defaults to True)
172
+ */
173
+ private renderPagination;
174
+ /**
175
+ * Takes a flat dataset with parent/child relationship, sort it (via its tree structure) and return the sorted flat array
176
+ * @param {Array<Object>} flatDatasetInput - flat dataset input
177
+ * @param {Boolean} forceGridRefresh - optionally force a full grid refresh
178
+ * @returns {Array<Object>} sort flat parent/child dataset
179
+ */
180
+ private sortTreeDataset;
181
+ /**
182
+ * For convenience to the user, we provide the property "editor" as an Angular-Slickgrid editor complex object
183
+ * however "editor" is used internally by SlickGrid for it's own Editor Factory
184
+ * so in our lib we will swap "editor" and copy it into a new property called "internalColumnEditor"
185
+ * then take back "editor.model" and make it the new "editor" so that SlickGrid Editor Factory still works
186
+ */
187
+ private swapInternalEditorToSlickGridFactoryEditor;
188
+ private translateColumnHeaderTitleKeys;
189
+ private translateColumnGroupKeys;
190
+ /**
191
+ * Update the "internalColumnEditor.collection" property.
192
+ * Since this is called after the async call resolves, the pointer will not be the same as the "column" argument passed.
193
+ * Once we found the new pointer, we will reassign the "editor" and "collection" to the "internalColumnEditor" so it has newest collection
194
+ */
195
+ private updateEditorCollection;
196
+ static ɵfac: i0.ɵɵFactoryDeclaration<AngularSlickgridComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }, null, null]>;
197
+ static ɵcmp: i0.ɵɵComponentDeclaration<AngularSlickgridComponent, "angular-slickgrid", never, { "customDataView": { "alias": "customDataView"; "required": false; }; "gridId": { "alias": "gridId"; "required": false; }; "gridOptions": { "alias": "gridOptions"; "required": false; }; "paginationOptions": { "alias": "paginationOptions"; "required": false; }; "columnDefinitions": { "alias": "columnDefinitions"; "required": false; }; "dataset": { "alias": "dataset"; "required": false; }; "datasetHierarchical": { "alias": "datasetHierarchical"; "required": false; }; }, { "columnDefinitionsChange": "columnDefinitionsChange"; }, never, never, false, never>;
198
+ }
@@ -1,30 +1,30 @@
1
- import { Locale } from '@slickgrid-universal/common';
2
- export declare class Constants {
3
- static readonly locales: Locale;
4
- static readonly treeDataProperties: {
5
- CHILDREN_PROP: string;
6
- COLLAPSED_PROP: string;
7
- HAS_CHILDREN_PROP: string;
8
- TREE_LEVEL_PROP: string;
9
- PARENT_PROP: string;
10
- };
11
- static readonly VALIDATION_REQUIRED_FIELD = "Field is required";
12
- static readonly VALIDATION_EDITOR_VALID_NUMBER = "Please enter a valid number";
13
- static readonly VALIDATION_EDITOR_VALID_INTEGER = "Please enter a valid integer number";
14
- static readonly VALIDATION_EDITOR_INTEGER_BETWEEN = "Please enter a valid integer number between {{minValue}} and {{maxValue}}";
15
- static readonly VALIDATION_EDITOR_INTEGER_MAX = "Please enter a valid integer number that is lower than {{maxValue}}";
16
- static readonly VALIDATION_EDITOR_INTEGER_MAX_INCLUSIVE = "Please enter a valid integer number that is lower than or equal to {{maxValue}}";
17
- static readonly VALIDATION_EDITOR_INTEGER_MIN = "Please enter a valid integer number that is greater than {{minValue}}";
18
- static readonly VALIDATION_EDITOR_INTEGER_MIN_INCLUSIVE = "Please enter a valid integer number that is greater than or equal to {{minValue}}";
19
- static readonly VALIDATION_EDITOR_NUMBER_BETWEEN = "Please enter a valid number between {{minValue}} and {{maxValue}}";
20
- static readonly VALIDATION_EDITOR_NUMBER_MAX = "Please enter a valid number that is lower than {{maxValue}}";
21
- static readonly VALIDATION_EDITOR_NUMBER_MAX_INCLUSIVE = "Please enter a valid number that is lower than or equal to {{maxValue}}";
22
- static readonly VALIDATION_EDITOR_NUMBER_MIN = "Please enter a valid number that is greater than {{minValue}}";
23
- static readonly VALIDATION_EDITOR_NUMBER_MIN_INCLUSIVE = "Please enter a valid number that is greater than or equal to {{minValue}}";
24
- static readonly VALIDATION_EDITOR_DECIMAL_BETWEEN = "Please enter a valid number with a maximum of {{maxDecimal}} decimals";
25
- static readonly VALIDATION_EDITOR_TEXT_LENGTH_BETWEEN = "Please make sure your text length is between {{minLength}} and {{maxLength}} characters";
26
- static readonly VALIDATION_EDITOR_TEXT_MAX_LENGTH = "Please make sure your text is less than {{maxLength}} characters";
27
- static readonly VALIDATION_EDITOR_TEXT_MAX_LENGTH_INCLUSIVE = "Please make sure your text is less than or equal to {{maxLength}} characters";
28
- static readonly VALIDATION_EDITOR_TEXT_MIN_LENGTH = "Please make sure your text is more than {{minLength}} character(s)";
29
- static readonly VALIDATION_EDITOR_TEXT_MIN_LENGTH_INCLUSIVE = "Please make sure your text is at least {{minLength}} character(s)";
30
- }
1
+ import { Locale } from '@slickgrid-universal/common';
2
+ export declare class Constants {
3
+ static readonly locales: Locale;
4
+ static readonly treeDataProperties: {
5
+ CHILDREN_PROP: string;
6
+ COLLAPSED_PROP: string;
7
+ HAS_CHILDREN_PROP: string;
8
+ TREE_LEVEL_PROP: string;
9
+ PARENT_PROP: string;
10
+ };
11
+ static readonly VALIDATION_REQUIRED_FIELD = "Field is required";
12
+ static readonly VALIDATION_EDITOR_VALID_NUMBER = "Please enter a valid number";
13
+ static readonly VALIDATION_EDITOR_VALID_INTEGER = "Please enter a valid integer number";
14
+ static readonly VALIDATION_EDITOR_INTEGER_BETWEEN = "Please enter a valid integer number between {{minValue}} and {{maxValue}}";
15
+ static readonly VALIDATION_EDITOR_INTEGER_MAX = "Please enter a valid integer number that is lower than {{maxValue}}";
16
+ static readonly VALIDATION_EDITOR_INTEGER_MAX_INCLUSIVE = "Please enter a valid integer number that is lower than or equal to {{maxValue}}";
17
+ static readonly VALIDATION_EDITOR_INTEGER_MIN = "Please enter a valid integer number that is greater than {{minValue}}";
18
+ static readonly VALIDATION_EDITOR_INTEGER_MIN_INCLUSIVE = "Please enter a valid integer number that is greater than or equal to {{minValue}}";
19
+ static readonly VALIDATION_EDITOR_NUMBER_BETWEEN = "Please enter a valid number between {{minValue}} and {{maxValue}}";
20
+ static readonly VALIDATION_EDITOR_NUMBER_MAX = "Please enter a valid number that is lower than {{maxValue}}";
21
+ static readonly VALIDATION_EDITOR_NUMBER_MAX_INCLUSIVE = "Please enter a valid number that is lower than or equal to {{maxValue}}";
22
+ static readonly VALIDATION_EDITOR_NUMBER_MIN = "Please enter a valid number that is greater than {{minValue}}";
23
+ static readonly VALIDATION_EDITOR_NUMBER_MIN_INCLUSIVE = "Please enter a valid number that is greater than or equal to {{minValue}}";
24
+ static readonly VALIDATION_EDITOR_DECIMAL_BETWEEN = "Please enter a valid number with a maximum of {{maxDecimal}} decimals";
25
+ static readonly VALIDATION_EDITOR_TEXT_LENGTH_BETWEEN = "Please make sure your text length is between {{minLength}} and {{maxLength}} characters";
26
+ static readonly VALIDATION_EDITOR_TEXT_MAX_LENGTH = "Please make sure your text is less than {{maxLength}} characters";
27
+ static readonly VALIDATION_EDITOR_TEXT_MAX_LENGTH_INCLUSIVE = "Please make sure your text is less than or equal to {{maxLength}} characters";
28
+ static readonly VALIDATION_EDITOR_TEXT_MIN_LENGTH = "Please make sure your text is more than {{minLength}} character(s)";
29
+ static readonly VALIDATION_EDITOR_TEXT_MIN_LENGTH_INCLUSIVE = "Please make sure your text is at least {{minLength}} character(s)";
30
+ }
@@ -1 +1 @@
1
- export * from './slickRowDetailView';
1
+ export * from './slickRowDetailView';