angular-slickgrid 5.0.1 → 5.1.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 (190) hide show
  1. package/README.md +8 -5
  2. package/app/modules/angular-slickgrid/components/angular-slickgrid.component.d.ts +3 -2
  3. package/app/modules/angular-slickgrid/models/angularGridInstance.interface.d.ts +3 -0
  4. package/esm2020/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +19 -9
  5. package/esm2020/app/modules/angular-slickgrid/extensions/slickRowDetailView.mjs +2 -2
  6. package/esm2020/app/modules/angular-slickgrid/models/angularGridInstance.interface.mjs +1 -1
  7. package/esm2020/app/modules/angular-slickgrid/modules/angular-slickgrid.module.mjs +5 -5
  8. package/esm2020/app/modules/angular-slickgrid/services/angularUtil.service.mjs +4 -4
  9. package/esm2020/app/modules/angular-slickgrid/services/container.service.mjs +4 -4
  10. package/esm2020/app/modules/angular-slickgrid/services/translater.service.mjs +4 -4
  11. package/fesm2015/angular-slickgrid.mjs +33 -23
  12. package/fesm2015/angular-slickgrid.mjs.map +1 -1
  13. package/fesm2020/angular-slickgrid.mjs +32 -22
  14. package/fesm2020/angular-slickgrid.mjs.map +1 -1
  15. package/package.json +10 -10
  16. package/test/cypress/node_modules/@4tw/cypress-drag-drop/README.md +169 -0
  17. package/test/cypress/node_modules/@cypress/request/README.md +1038 -0
  18. package/test/cypress/node_modules/@cypress/xvfb/README.md +48 -0
  19. package/test/cypress/node_modules/@cypress/xvfb/node_modules/debug/README.md +437 -0
  20. package/test/cypress/node_modules/@types/node/README.md +16 -0
  21. package/test/cypress/node_modules/@types/sinonjs__fake-timers/README.md +16 -0
  22. package/test/cypress/node_modules/@types/sizzle/README.md +16 -0
  23. package/test/cypress/node_modules/@types/yauzl/README.md +16 -0
  24. package/test/cypress/node_modules/@types/yauzl/node_modules/@types/node/README.md +16 -0
  25. package/test/cypress/node_modules/aggregate-error/README.md +61 -0
  26. package/test/cypress/node_modules/ansi-colors/README.md +315 -0
  27. package/test/cypress/node_modules/ansi-escapes/README.md +245 -0
  28. package/test/cypress/node_modules/ansi-regex/README.md +78 -0
  29. package/test/cypress/node_modules/ansi-styles/README.md +152 -0
  30. package/test/cypress/node_modules/arch/README.md +71 -0
  31. package/test/cypress/node_modules/asn1/README.md +50 -0
  32. package/test/cypress/node_modules/assert-plus/README.md +162 -0
  33. package/test/cypress/node_modules/astral-regex/README.md +46 -0
  34. package/test/cypress/node_modules/async/README.md +60 -0
  35. package/test/cypress/node_modules/asynckit/README.md +233 -0
  36. package/test/cypress/node_modules/at-least-node/README.md +25 -0
  37. package/test/cypress/node_modules/aws-sign2/README.md +4 -0
  38. package/test/cypress/node_modules/aws4/README.md +183 -0
  39. package/test/cypress/node_modules/balanced-match/README.md +91 -0
  40. package/test/cypress/node_modules/base64-js/README.md +34 -0
  41. package/test/cypress/node_modules/bcrypt-pbkdf/README.md +45 -0
  42. package/test/cypress/node_modules/blob-util/README.md +623 -0
  43. package/test/cypress/node_modules/bluebird/README.md +57 -0
  44. package/test/cypress/node_modules/brace-expansion/README.md +129 -0
  45. package/test/cypress/node_modules/buffer/README.md +410 -0
  46. package/test/cypress/node_modules/buffer-crc32/README.md +47 -0
  47. package/test/cypress/node_modules/cachedir/README.md +27 -0
  48. package/test/cypress/node_modules/caseless/README.md +45 -0
  49. package/test/cypress/node_modules/chalk/README.md +293 -0
  50. package/test/cypress/node_modules/chalk/node_modules/supports-color/README.md +76 -0
  51. package/test/cypress/node_modules/check-more-types/README.md +952 -0
  52. package/test/cypress/node_modules/ci-info/README.md +114 -0
  53. package/test/cypress/node_modules/clean-stack/README.md +76 -0
  54. package/test/cypress/node_modules/cli-cursor/README.md +55 -0
  55. package/test/cypress/node_modules/cli-table3/README.md +218 -0
  56. package/test/cypress/node_modules/cli-truncate/README.md +139 -0
  57. package/test/cypress/node_modules/color-convert/README.md +68 -0
  58. package/test/cypress/node_modules/color-name/README.md +11 -0
  59. package/test/cypress/node_modules/colorette/README.md +102 -0
  60. package/test/cypress/node_modules/colors/README.md +221 -0
  61. package/test/cypress/node_modules/combined-stream/README.md +138 -0
  62. package/test/cypress/node_modules/commander/README.md +737 -0
  63. package/test/cypress/node_modules/common-tags/README.md +687 -0
  64. package/test/cypress/node_modules/core-util-is/README.md +3 -0
  65. package/test/cypress/node_modules/cross-spawn/README.md +96 -0
  66. package/test/cypress/node_modules/cypress/README.md +25 -0
  67. package/test/cypress/node_modules/cypress/angular/README.md +10 -0
  68. package/test/cypress/node_modules/cypress/mount-utils/README.md +140 -0
  69. package/test/cypress/node_modules/cypress/react/README.md +14 -0
  70. package/test/cypress/node_modules/cypress/react18/README.md +7 -0
  71. package/test/cypress/node_modules/cypress/svelte/README.md +15 -0
  72. package/test/cypress/node_modules/cypress/vue/README.md +14 -0
  73. package/test/cypress/node_modules/cypress/vue2/README.md +7 -0
  74. package/test/cypress/node_modules/dashdash/README.md +574 -0
  75. package/test/cypress/node_modules/dayjs/README.md +128 -0
  76. package/test/cypress/node_modules/debug/README.md +455 -0
  77. package/test/cypress/node_modules/delayed-stream/README.md +141 -0
  78. package/test/cypress/node_modules/ecc-jsbn/README.md +8 -0
  79. package/test/cypress/node_modules/emoji-regex/README.md +73 -0
  80. package/test/cypress/node_modules/end-of-stream/README.md +54 -0
  81. package/test/cypress/node_modules/enquirer/README.md +1752 -0
  82. package/test/cypress/node_modules/escape-string-regexp/README.md +27 -0
  83. package/test/cypress/node_modules/eventemitter2/README.md +809 -0
  84. package/test/cypress/node_modules/execa/README.md +656 -0
  85. package/test/cypress/node_modules/executable/README.md +64 -0
  86. package/test/cypress/node_modules/extend/README.md +81 -0
  87. package/test/cypress/node_modules/extract-zip/README.md +57 -0
  88. package/test/cypress/node_modules/extract-zip/node_modules/debug/README.md +455 -0
  89. package/test/cypress/node_modules/extsprintf/README.md +46 -0
  90. package/test/cypress/node_modules/fd-slicer/README.md +199 -0
  91. package/test/cypress/node_modules/figures/README.md +139 -0
  92. package/test/cypress/node_modules/forever-agent/README.md +4 -0
  93. package/test/cypress/node_modules/form-data/README.md +234 -0
  94. package/test/cypress/node_modules/fs-extra/README.md +264 -0
  95. package/test/cypress/node_modules/fs.realpath/README.md +33 -0
  96. package/test/cypress/node_modules/get-stream/README.md +124 -0
  97. package/test/cypress/node_modules/getos/README.md +79 -0
  98. package/test/cypress/node_modules/getpass/README.md +32 -0
  99. package/test/cypress/node_modules/glob/README.md +375 -0
  100. package/test/cypress/node_modules/global-dirs/README.md +72 -0
  101. package/test/cypress/node_modules/graceful-fs/README.md +133 -0
  102. package/test/cypress/node_modules/has-flag/README.md +89 -0
  103. package/test/cypress/node_modules/http-signature/README.md +80 -0
  104. package/test/cypress/node_modules/human-signals/README.md +155 -0
  105. package/test/cypress/node_modules/ieee754/README.md +51 -0
  106. package/test/cypress/node_modules/indent-string/README.md +70 -0
  107. package/test/cypress/node_modules/inflight/README.md +37 -0
  108. package/test/cypress/node_modules/inherits/README.md +42 -0
  109. package/test/cypress/node_modules/ini/README.md +102 -0
  110. package/test/cypress/node_modules/is-ci/README.md +50 -0
  111. package/test/cypress/node_modules/is-fullwidth-code-point/README.md +39 -0
  112. package/test/cypress/node_modules/is-installed-globally/README.md +31 -0
  113. package/test/cypress/node_modules/is-path-inside/README.md +63 -0
  114. package/test/cypress/node_modules/is-stream/README.md +57 -0
  115. package/test/cypress/node_modules/is-typedarray/README.md +16 -0
  116. package/test/cypress/node_modules/isexe/README.md +51 -0
  117. package/test/cypress/node_modules/isstream/README.md +66 -0
  118. package/test/cypress/node_modules/jsbn/README.md +175 -0
  119. package/test/cypress/node_modules/json-schema/README.md +3 -0
  120. package/test/cypress/node_modules/json-stringify-safe/README.md +52 -0
  121. package/test/cypress/node_modules/jsonfile/README.md +205 -0
  122. package/test/cypress/node_modules/jsonfile/node_modules/universalify/README.md +76 -0
  123. package/test/cypress/node_modules/jsprim/README.md +287 -0
  124. package/test/cypress/node_modules/lazy-ass/README.md +269 -0
  125. package/test/cypress/node_modules/listr2/README.md +17 -0
  126. package/test/cypress/node_modules/lodash/README.md +39 -0
  127. package/test/cypress/node_modules/lodash.once/README.md +18 -0
  128. package/test/cypress/node_modules/log-symbols/README.md +51 -0
  129. package/test/cypress/node_modules/log-update/README.md +97 -0
  130. package/test/cypress/node_modules/log-update/node_modules/slice-ansi/README.md +66 -0
  131. package/test/cypress/node_modules/log-update/node_modules/wrap-ansi/README.md +97 -0
  132. package/test/cypress/node_modules/lru-cache/README.md +166 -0
  133. package/test/cypress/node_modules/merge-stream/README.md +78 -0
  134. package/test/cypress/node_modules/mime-db/README.md +102 -0
  135. package/test/cypress/node_modules/mime-types/README.md +123 -0
  136. package/test/cypress/node_modules/mimic-fn/README.md +69 -0
  137. package/test/cypress/node_modules/minimatch/README.md +209 -0
  138. package/test/cypress/node_modules/ms/README.md +60 -0
  139. package/test/cypress/node_modules/npm-run-path/README.md +115 -0
  140. package/test/cypress/node_modules/once/README.md +79 -0
  141. package/test/cypress/node_modules/onetime/README.md +94 -0
  142. package/test/cypress/node_modules/ospath/README.md +53 -0
  143. package/test/cypress/node_modules/p-map/README.md +89 -0
  144. package/test/cypress/node_modules/path-is-absolute/README.md +59 -0
  145. package/test/cypress/node_modules/path-key/README.md +61 -0
  146. package/test/cypress/node_modules/pend/README.md +41 -0
  147. package/test/cypress/node_modules/performance-now/README.md +30 -0
  148. package/test/cypress/node_modules/pify/README.md +119 -0
  149. package/test/cypress/node_modules/pretty-bytes/README.md +131 -0
  150. package/test/cypress/node_modules/proxy-from-env/README.md +131 -0
  151. package/test/cypress/node_modules/psl/README.md +215 -0
  152. package/test/cypress/node_modules/pump/README.md +65 -0
  153. package/test/cypress/node_modules/punycode/README.md +122 -0
  154. package/test/cypress/node_modules/qs/README.md +475 -0
  155. package/test/cypress/node_modules/request-progress/README.md +78 -0
  156. package/test/cypress/node_modules/restore-cursor/README.md +26 -0
  157. package/test/cypress/node_modules/rimraf/README.md +101 -0
  158. package/test/cypress/node_modules/rxjs/README.md +147 -0
  159. package/test/cypress/node_modules/rxjs/_esm2015/README.md +147 -0
  160. package/test/cypress/node_modules/rxjs/_esm5/README.md +147 -0
  161. package/test/cypress/node_modules/rxjs/src/README.md +147 -0
  162. package/test/cypress/node_modules/safe-buffer/README.md +584 -0
  163. package/test/cypress/node_modules/safer-buffer/README.md +156 -0
  164. package/test/cypress/node_modules/semver/README.md +566 -0
  165. package/test/cypress/node_modules/shebang-command/README.md +34 -0
  166. package/test/cypress/node_modules/shebang-regex/README.md +33 -0
  167. package/test/cypress/node_modules/signal-exit/README.md +39 -0
  168. package/test/cypress/node_modules/slice-ansi/README.md +72 -0
  169. package/test/cypress/node_modules/sshpk/README.md +804 -0
  170. package/test/cypress/node_modules/string-width/README.md +50 -0
  171. package/test/cypress/node_modules/strip-ansi/README.md +46 -0
  172. package/test/cypress/node_modules/strip-final-newline/README.md +30 -0
  173. package/test/cypress/node_modules/supports-color/README.md +77 -0
  174. package/test/cypress/node_modules/throttleit/README.md +32 -0
  175. package/test/cypress/node_modules/tmp/README.md +365 -0
  176. package/test/cypress/node_modules/tough-cookie/README.md +527 -0
  177. package/test/cypress/node_modules/tslib/README.md +142 -0
  178. package/test/cypress/node_modules/tunnel-agent/README.md +4 -0
  179. package/test/cypress/node_modules/tweetnacl/README.md +459 -0
  180. package/test/cypress/node_modules/type-fest/README.md +760 -0
  181. package/test/cypress/node_modules/universalify/README.md +76 -0
  182. package/test/cypress/node_modules/untildify/README.md +30 -0
  183. package/test/cypress/node_modules/uuid/README.md +505 -0
  184. package/test/cypress/node_modules/verror/README.md +528 -0
  185. package/test/cypress/node_modules/verror/node_modules/extsprintf/README.md +46 -0
  186. package/test/cypress/node_modules/which/README.md +54 -0
  187. package/test/cypress/node_modules/wrap-ansi/README.md +91 -0
  188. package/test/cypress/node_modules/wrappy/README.md +36 -0
  189. package/test/cypress/node_modules/yallist/README.md +204 -0
  190. package/test/cypress/node_modules/yauzl/README.md +658 -0
package/README.md CHANGED
@@ -49,13 +49,16 @@ Check out the [Releases](https://github.com/ghiscoding/Angular-Slickgrid/release
49
49
  - version `1.x.x` for Angular 4-6
50
50
  - version `2.x.x` for Angular 7-11
51
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
52
  - 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
53
+ - uses new [Slickgrid-Universal](https://github.com/ghiscoding/slickgrid-universal) monorepo version 0.19.2
57
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))
58
- - for Ivy build only (no more UMD bundle & output >= ES2017), IE is EOL and definitely out of the picture (finally).
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)
59
62
 
60
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)
61
64
 
@@ -2,7 +2,7 @@ import 'slickgrid/dist/slick.core.min';
2
2
  import 'slickgrid/dist/slick.interactions.min';
3
3
  import 'slickgrid/dist/slick.grid.min';
4
4
  import 'slickgrid/dist/slick.dataview.min';
5
- import { AfterViewInit, ApplicationRef, ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
5
+ import { AfterViewInit, ApplicationRef, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
6
6
  import { TranslateService } from '@ngx-translate/core';
7
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
8
  import { SlickEmptyWarningComponent } from '@slickgrid-universal/empty-warning-component';
@@ -79,6 +79,7 @@ export declare class AngularSlickgridComponent implements AfterViewInit, OnDestr
79
79
  set paginationOptions(newPaginationOptions: Pagination | undefined);
80
80
  set columnDefinitions(columnDefinitions: Column[]);
81
81
  get columnDefinitions(): Column[];
82
+ columnDefinitionsChange: EventEmitter<any>;
82
83
  get dataset(): any[];
83
84
  set dataset(newDataset: any[]);
84
85
  get datasetHierarchical(): any[] | undefined;
@@ -192,5 +193,5 @@ export declare class AngularSlickgridComponent implements AfterViewInit, OnDestr
192
193
  */
193
194
  private updateEditorCollection;
194
195
  static ɵfac: i0.ɵɵFactoryDeclaration<AngularSlickgridComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }, null, null]>;
195
- static ɵcmp: i0.ɵɵComponentDeclaration<AngularSlickgridComponent, "angular-slickgrid", never, { "customDataView": "customDataView"; "gridId": "gridId"; "gridOptions": "gridOptions"; "paginationOptions": "paginationOptions"; "columnDefinitions": "columnDefinitions"; "dataset": "dataset"; "datasetHierarchical": "datasetHierarchical"; }, {}, never, never, false>;
196
+ 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>;
196
197
  }
@@ -1,4 +1,5 @@
1
1
  import { BackendService, ExtensionList, ExtensionService, FilterService, GridEventService, GridService, GridStateService, GroupingAndColspanService, PaginationService, ResizerService, SlickDataView, SlickGrid, SortService, TreeDataService } from '@slickgrid-universal/common';
2
+ import { EventPubSubService } from '@slickgrid-universal/event-pub-sub';
2
3
  export interface AngularGridInstance {
3
4
  /** Slick DataView object */
4
5
  dataView: SlickDataView;
@@ -10,6 +11,8 @@ export interface AngularGridInstance {
10
11
  destroy: (emptyDomElementContainer?: boolean) => void;
11
12
  /** Backend Service, when available */
12
13
  backendService?: BackendService;
14
+ /** EventPubSub Service instance that is used internal by the lib and could be used externally to subscribe to Angular-Slickgrid events */
15
+ eventPubSubService?: EventPubSubService;
13
16
  /** Extension (Plugins & Controls) Service */
14
17
  extensionService: ExtensionService;
15
18
  /** Filter Service */