angular-slickgrid 5.0.2 → 5.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +182 -181
  3. package/app/modules/angular-slickgrid/components/angular-slickgrid.component.d.ts +3 -2
  4. package/app/modules/angular-slickgrid/models/angularGridInstance.interface.d.ts +3 -0
  5. package/esm2020/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +21 -7
  6. package/esm2020/app/modules/angular-slickgrid/constants.mjs +1 -1
  7. package/esm2020/app/modules/angular-slickgrid/extensions/index.mjs +1 -1
  8. package/esm2020/app/modules/angular-slickgrid/extensions/slickRowDetailView.mjs +3 -3
  9. package/esm2020/app/modules/angular-slickgrid/global-grid-options.mjs +1 -1
  10. package/esm2020/app/modules/angular-slickgrid/index.mjs +1 -1
  11. package/esm2020/app/modules/angular-slickgrid/models/angularComponentOutput.interface.mjs +1 -1
  12. package/esm2020/app/modules/angular-slickgrid/models/angularGridInstance.interface.mjs +1 -1
  13. package/esm2020/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.mjs +1 -1
  14. package/esm2020/app/modules/angular-slickgrid/models/gridOption.interface.mjs +1 -1
  15. package/esm2020/app/modules/angular-slickgrid/models/index.mjs +1 -1
  16. package/esm2020/app/modules/angular-slickgrid/models/rowDetailView.interface.mjs +1 -1
  17. package/esm2020/app/modules/angular-slickgrid/models/slickGrid.interface.mjs +1 -1
  18. package/esm2020/app/modules/angular-slickgrid/modules/angular-slickgrid.module.mjs +5 -5
  19. package/esm2020/app/modules/angular-slickgrid/services/angularUtil.service.mjs +4 -4
  20. package/esm2020/app/modules/angular-slickgrid/services/container.service.mjs +4 -4
  21. package/esm2020/app/modules/angular-slickgrid/services/index.mjs +1 -1
  22. package/esm2020/app/modules/angular-slickgrid/services/translater.service.mjs +4 -4
  23. package/esm2020/app/modules/angular-slickgrid/services/utilities.mjs +1 -1
  24. package/esm2020/app/modules/angular-slickgrid/slickgrid-config.mjs +1 -1
  25. package/esm2020/public_api.mjs +1 -1
  26. package/fesm2015/angular-slickgrid.mjs +35 -21
  27. package/fesm2015/angular-slickgrid.mjs.map +1 -1
  28. package/fesm2020/angular-slickgrid.mjs +35 -21
  29. package/fesm2020/angular-slickgrid.mjs.map +1 -1
  30. package/i18n/en.json +90 -90
  31. package/i18n/fr.json +91 -91
  32. package/package.json +10 -10
  33. package/test/cypress/node_modules/@4tw/cypress-drag-drop/README.md +169 -0
  34. package/test/cypress/node_modules/@cypress/request/README.md +1038 -0
  35. package/test/cypress/node_modules/@cypress/xvfb/README.md +48 -0
  36. package/test/cypress/node_modules/@cypress/xvfb/node_modules/debug/README.md +437 -0
  37. package/test/cypress/node_modules/@types/node/README.md +16 -0
  38. package/test/cypress/node_modules/@types/sinonjs__fake-timers/README.md +16 -0
  39. package/test/cypress/node_modules/@types/sizzle/README.md +16 -0
  40. package/test/cypress/node_modules/@types/yauzl/README.md +16 -0
  41. package/test/cypress/node_modules/@types/yauzl/node_modules/@types/node/README.md +16 -0
  42. package/test/cypress/node_modules/aggregate-error/README.md +61 -0
  43. package/test/cypress/node_modules/ansi-colors/README.md +315 -0
  44. package/test/cypress/node_modules/ansi-escapes/README.md +245 -0
  45. package/test/cypress/node_modules/ansi-regex/README.md +78 -0
  46. package/test/cypress/node_modules/ansi-styles/README.md +152 -0
  47. package/test/cypress/node_modules/arch/README.md +71 -0
  48. package/test/cypress/node_modules/asn1/README.md +50 -0
  49. package/test/cypress/node_modules/assert-plus/README.md +162 -0
  50. package/test/cypress/node_modules/astral-regex/README.md +46 -0
  51. package/test/cypress/node_modules/async/README.md +60 -0
  52. package/test/cypress/node_modules/asynckit/README.md +233 -0
  53. package/test/cypress/node_modules/at-least-node/README.md +25 -0
  54. package/test/cypress/node_modules/aws-sign2/README.md +4 -0
  55. package/test/cypress/node_modules/aws4/README.md +183 -0
  56. package/test/cypress/node_modules/balanced-match/README.md +91 -0
  57. package/test/cypress/node_modules/base64-js/README.md +34 -0
  58. package/test/cypress/node_modules/bcrypt-pbkdf/README.md +45 -0
  59. package/test/cypress/node_modules/blob-util/README.md +623 -0
  60. package/test/cypress/node_modules/bluebird/README.md +57 -0
  61. package/test/cypress/node_modules/brace-expansion/README.md +129 -0
  62. package/test/cypress/node_modules/buffer/README.md +410 -0
  63. package/test/cypress/node_modules/buffer-crc32/README.md +47 -0
  64. package/test/cypress/node_modules/cachedir/README.md +27 -0
  65. package/test/cypress/node_modules/caseless/README.md +45 -0
  66. package/test/cypress/node_modules/chalk/README.md +293 -0
  67. package/test/cypress/node_modules/chalk/node_modules/supports-color/README.md +76 -0
  68. package/test/cypress/node_modules/check-more-types/README.md +952 -0
  69. package/test/cypress/node_modules/ci-info/README.md +114 -0
  70. package/test/cypress/node_modules/clean-stack/README.md +76 -0
  71. package/test/cypress/node_modules/cli-cursor/README.md +55 -0
  72. package/test/cypress/node_modules/cli-table3/README.md +218 -0
  73. package/test/cypress/node_modules/cli-truncate/README.md +139 -0
  74. package/test/cypress/node_modules/color-convert/README.md +68 -0
  75. package/test/cypress/node_modules/color-name/README.md +11 -0
  76. package/test/cypress/node_modules/colorette/README.md +102 -0
  77. package/test/cypress/node_modules/colors/README.md +221 -0
  78. package/test/cypress/node_modules/combined-stream/README.md +138 -0
  79. package/test/cypress/node_modules/commander/README.md +737 -0
  80. package/test/cypress/node_modules/common-tags/README.md +687 -0
  81. package/test/cypress/node_modules/core-util-is/README.md +3 -0
  82. package/test/cypress/node_modules/cross-spawn/README.md +96 -0
  83. package/test/cypress/node_modules/cypress/README.md +25 -0
  84. package/test/cypress/node_modules/cypress/angular/README.md +10 -0
  85. package/test/cypress/node_modules/cypress/mount-utils/README.md +140 -0
  86. package/test/cypress/node_modules/cypress/react/README.md +14 -0
  87. package/test/cypress/node_modules/cypress/react18/README.md +7 -0
  88. package/test/cypress/node_modules/cypress/svelte/README.md +15 -0
  89. package/test/cypress/node_modules/cypress/vue/README.md +14 -0
  90. package/test/cypress/node_modules/cypress/vue2/README.md +7 -0
  91. package/test/cypress/node_modules/dashdash/README.md +574 -0
  92. package/test/cypress/node_modules/dayjs/README.md +128 -0
  93. package/test/cypress/node_modules/debug/README.md +455 -0
  94. package/test/cypress/node_modules/delayed-stream/README.md +141 -0
  95. package/test/cypress/node_modules/ecc-jsbn/README.md +8 -0
  96. package/test/cypress/node_modules/emoji-regex/README.md +73 -0
  97. package/test/cypress/node_modules/end-of-stream/README.md +54 -0
  98. package/test/cypress/node_modules/enquirer/README.md +1752 -0
  99. package/test/cypress/node_modules/escape-string-regexp/README.md +27 -0
  100. package/test/cypress/node_modules/eventemitter2/README.md +809 -0
  101. package/test/cypress/node_modules/execa/README.md +656 -0
  102. package/test/cypress/node_modules/executable/README.md +64 -0
  103. package/test/cypress/node_modules/extend/README.md +81 -0
  104. package/test/cypress/node_modules/extract-zip/README.md +57 -0
  105. package/test/cypress/node_modules/extract-zip/node_modules/debug/README.md +455 -0
  106. package/test/cypress/node_modules/extsprintf/README.md +46 -0
  107. package/test/cypress/node_modules/fd-slicer/README.md +199 -0
  108. package/test/cypress/node_modules/figures/README.md +139 -0
  109. package/test/cypress/node_modules/forever-agent/README.md +4 -0
  110. package/test/cypress/node_modules/form-data/README.md +234 -0
  111. package/test/cypress/node_modules/fs-extra/README.md +264 -0
  112. package/test/cypress/node_modules/fs.realpath/README.md +33 -0
  113. package/test/cypress/node_modules/get-stream/README.md +124 -0
  114. package/test/cypress/node_modules/getos/README.md +79 -0
  115. package/test/cypress/node_modules/getpass/README.md +32 -0
  116. package/test/cypress/node_modules/glob/README.md +375 -0
  117. package/test/cypress/node_modules/global-dirs/README.md +72 -0
  118. package/test/cypress/node_modules/graceful-fs/README.md +133 -0
  119. package/test/cypress/node_modules/has-flag/README.md +89 -0
  120. package/test/cypress/node_modules/http-signature/README.md +80 -0
  121. package/test/cypress/node_modules/human-signals/README.md +155 -0
  122. package/test/cypress/node_modules/ieee754/README.md +51 -0
  123. package/test/cypress/node_modules/indent-string/README.md +70 -0
  124. package/test/cypress/node_modules/inflight/README.md +37 -0
  125. package/test/cypress/node_modules/inherits/README.md +42 -0
  126. package/test/cypress/node_modules/ini/README.md +102 -0
  127. package/test/cypress/node_modules/is-ci/README.md +50 -0
  128. package/test/cypress/node_modules/is-fullwidth-code-point/README.md +39 -0
  129. package/test/cypress/node_modules/is-installed-globally/README.md +31 -0
  130. package/test/cypress/node_modules/is-path-inside/README.md +63 -0
  131. package/test/cypress/node_modules/is-stream/README.md +57 -0
  132. package/test/cypress/node_modules/is-typedarray/README.md +16 -0
  133. package/test/cypress/node_modules/isexe/README.md +51 -0
  134. package/test/cypress/node_modules/isstream/README.md +66 -0
  135. package/test/cypress/node_modules/jsbn/README.md +175 -0
  136. package/test/cypress/node_modules/json-schema/README.md +3 -0
  137. package/test/cypress/node_modules/json-stringify-safe/README.md +52 -0
  138. package/test/cypress/node_modules/jsonfile/README.md +205 -0
  139. package/test/cypress/node_modules/jsonfile/node_modules/universalify/README.md +76 -0
  140. package/test/cypress/node_modules/jsprim/README.md +287 -0
  141. package/test/cypress/node_modules/lazy-ass/README.md +269 -0
  142. package/test/cypress/node_modules/listr2/README.md +17 -0
  143. package/test/cypress/node_modules/lodash/README.md +39 -0
  144. package/test/cypress/node_modules/lodash.once/README.md +18 -0
  145. package/test/cypress/node_modules/log-symbols/README.md +51 -0
  146. package/test/cypress/node_modules/log-update/README.md +97 -0
  147. package/test/cypress/node_modules/log-update/node_modules/slice-ansi/README.md +66 -0
  148. package/test/cypress/node_modules/log-update/node_modules/wrap-ansi/README.md +97 -0
  149. package/test/cypress/node_modules/lru-cache/README.md +166 -0
  150. package/test/cypress/node_modules/merge-stream/README.md +78 -0
  151. package/test/cypress/node_modules/mime-db/README.md +102 -0
  152. package/test/cypress/node_modules/mime-types/README.md +123 -0
  153. package/test/cypress/node_modules/mimic-fn/README.md +69 -0
  154. package/test/cypress/node_modules/minimatch/README.md +209 -0
  155. package/test/cypress/node_modules/ms/README.md +60 -0
  156. package/test/cypress/node_modules/npm-run-path/README.md +115 -0
  157. package/test/cypress/node_modules/once/README.md +79 -0
  158. package/test/cypress/node_modules/onetime/README.md +94 -0
  159. package/test/cypress/node_modules/ospath/README.md +53 -0
  160. package/test/cypress/node_modules/p-map/README.md +89 -0
  161. package/test/cypress/node_modules/path-is-absolute/README.md +59 -0
  162. package/test/cypress/node_modules/path-key/README.md +61 -0
  163. package/test/cypress/node_modules/pend/README.md +41 -0
  164. package/test/cypress/node_modules/performance-now/README.md +30 -0
  165. package/test/cypress/node_modules/pify/README.md +119 -0
  166. package/test/cypress/node_modules/pretty-bytes/README.md +131 -0
  167. package/test/cypress/node_modules/proxy-from-env/README.md +131 -0
  168. package/test/cypress/node_modules/psl/README.md +215 -0
  169. package/test/cypress/node_modules/pump/README.md +65 -0
  170. package/test/cypress/node_modules/punycode/README.md +122 -0
  171. package/test/cypress/node_modules/qs/README.md +475 -0
  172. package/test/cypress/node_modules/request-progress/README.md +78 -0
  173. package/test/cypress/node_modules/restore-cursor/README.md +26 -0
  174. package/test/cypress/node_modules/rimraf/README.md +101 -0
  175. package/test/cypress/node_modules/rxjs/README.md +147 -0
  176. package/test/cypress/node_modules/rxjs/_esm2015/README.md +147 -0
  177. package/test/cypress/node_modules/rxjs/_esm5/README.md +147 -0
  178. package/test/cypress/node_modules/rxjs/src/README.md +147 -0
  179. package/test/cypress/node_modules/safe-buffer/README.md +584 -0
  180. package/test/cypress/node_modules/safer-buffer/README.md +156 -0
  181. package/test/cypress/node_modules/semver/README.md +566 -0
  182. package/test/cypress/node_modules/shebang-command/README.md +34 -0
  183. package/test/cypress/node_modules/shebang-regex/README.md +33 -0
  184. package/test/cypress/node_modules/signal-exit/README.md +39 -0
  185. package/test/cypress/node_modules/slice-ansi/README.md +72 -0
  186. package/test/cypress/node_modules/sshpk/README.md +804 -0
  187. package/test/cypress/node_modules/string-width/README.md +50 -0
  188. package/test/cypress/node_modules/strip-ansi/README.md +46 -0
  189. package/test/cypress/node_modules/strip-final-newline/README.md +30 -0
  190. package/test/cypress/node_modules/supports-color/README.md +77 -0
  191. package/test/cypress/node_modules/throttleit/README.md +32 -0
  192. package/test/cypress/node_modules/tmp/README.md +365 -0
  193. package/test/cypress/node_modules/tough-cookie/README.md +527 -0
  194. package/test/cypress/node_modules/tslib/README.md +142 -0
  195. package/test/cypress/node_modules/tunnel-agent/README.md +4 -0
  196. package/test/cypress/node_modules/tweetnacl/README.md +459 -0
  197. package/test/cypress/node_modules/type-fest/README.md +760 -0
  198. package/test/cypress/node_modules/universalify/README.md +76 -0
  199. package/test/cypress/node_modules/untildify/README.md +30 -0
  200. package/test/cypress/node_modules/uuid/README.md +505 -0
  201. package/test/cypress/node_modules/verror/README.md +528 -0
  202. package/test/cypress/node_modules/verror/node_modules/extsprintf/README.md +46 -0
  203. package/test/cypress/node_modules/which/README.md +54 -0
  204. package/test/cypress/node_modules/wrap-ansi/README.md +91 -0
  205. package/test/cypress/node_modules/wrappy/README.md +36 -0
  206. package/test/cypress/node_modules/yallist/README.md +204 -0
  207. package/test/cypress/node_modules/yauzl/README.md +658 -0
@@ -1,7 +1,7 @@
1
1
  import { unsubscribeAll, SlickRowSelectionModel, castObservableToPromise, addToArrayWhenNotExists, Filters, OperatorType, EventNamingStyle, FileType, DelimiterType, SlickgridConfig as SlickgridConfig$1, BackendUtilityService, GridEventService, SharedService, CollectionService, ExtensionUtility, FilterFactory, FilterService, ResizerService, SortService, TreeDataService, PaginationService, ExtensionService, GridStateService, GridService, GroupingAndColspanService, emptyElement, SlickGroupItemMetadataProvider, autoAddEditorFormatterToColumnsWithEditor, GridStateType, ExtensionName } from '@slickgrid-universal/common';
2
2
  export * from '@slickgrid-universal/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Injectable, Optional, ApplicationRef, Component, Inject, Input, NgModule } from '@angular/core';
4
+ import { Injectable, Optional, EventEmitter, ApplicationRef, Component, Inject, Input, Output, NgModule } from '@angular/core';
5
5
  import * as i1 from '@ngx-translate/core';
6
6
  import { TranslateModule } from '@ngx-translate/core';
7
7
  import { SlickRowDetailView as SlickRowDetailView$1 } from '@slickgrid-universal/row-detail-view-plugin';
@@ -57,9 +57,9 @@ class AngularUtilService {
57
57
  return componentOutput;
58
58
  }
59
59
  }
60
- AngularUtilService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularUtilService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
61
- AngularUtilService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularUtilService });
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularUtilService, decorators: [{
60
+ AngularUtilService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: AngularUtilService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
61
+ AngularUtilService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: AngularUtilService });
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: AngularUtilService, decorators: [{
63
63
  type: Injectable
64
64
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: i0.Injector }]; } });
65
65
 
@@ -84,9 +84,9 @@ class ContainerService {
84
84
  }
85
85
  }
86
86
  }
87
- ContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: ContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
88
- ContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: ContainerService });
89
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: ContainerService, decorators: [{
87
+ ContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: ContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
88
+ ContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: ContainerService });
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: ContainerService, decorators: [{
90
90
  type: Injectable
91
91
  }], ctorParameters: function () { return []; } });
92
92
 
@@ -122,9 +122,9 @@ class TranslaterService {
122
122
  return this.translateService?.instant?.(translationKey || ' ');
123
123
  }
124
124
  }
125
- TranslaterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: TranslaterService, deps: [{ token: i1.TranslateService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
126
- TranslaterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: TranslaterService });
127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: TranslaterService, decorators: [{
125
+ TranslaterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: TranslaterService, deps: [{ token: i1.TranslateService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
126
+ TranslaterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: TranslaterService });
127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: TranslaterService, decorators: [{
128
128
  type: Injectable
129
129
  }], ctorParameters: function () { return [{ type: i1.TranslateService, decorators: [{
130
130
  type: Optional
@@ -151,7 +151,7 @@ const ROW_DETAIL_CONTAINER_PREFIX = 'container_';
151
151
  const PRELOAD_CONTAINER_PREFIX = 'container_loading';
152
152
  class SlickRowDetailView extends SlickRowDetailView$1 {
153
153
  constructor(angularUtilService, appRef, eventPubSubService, gridContainerElement, rxjs) {
154
- super();
154
+ super(eventPubSubService);
155
155
  this.angularUtilService = angularUtilService;
156
156
  this.appRef = appRef;
157
157
  this.eventPubSubService = eventPubSubService;
@@ -396,7 +396,7 @@ class SlickRowDetailView extends SlickRowDetailView$1 {
396
396
  awaitedItemDetail = await castObservableToPromise(this.rxjs, response); // from Angular-http-client
397
397
  }
398
398
  if (!awaitedItemDetail || !awaitedItemDetail.hasOwnProperty(this.datasetIdPropName)) {
399
- throw new Error(`[Angular-Slickgrid] could not process the Row Detail, you must make sure that your "process" callback
399
+ throw new Error(`[Angular-Slickgrid] could not process the Row Detail, you must make sure that your "process" callback
400
400
  (a Promise or an HttpClient call returning an Observable) returns an item object that has an "${this.datasetIdPropName}" property`);
401
401
  }
402
402
  // notify the plugin with the new item details
@@ -810,6 +810,9 @@ class AngularSlickgridComponent {
810
810
  this.totalItems = 0;
811
811
  this.subscriptions = [];
812
812
  this.gridId = '';
813
+ // make the columnDefinitions a 2-way binding so that plugin adding cols
814
+ // are synched on user's side as well (RowMove, RowDetail, RowSelections)
815
+ this.columnDefinitionsChange = new EventEmitter(true);
813
816
  const slickgridConfig = new SlickgridConfig$1();
814
817
  // initialize and assign all Service Dependencies
815
818
  this._eventPubSubService = externalServices?.eventPubSubService ?? new EventPubSubService(this.elm.nativeElement);
@@ -1101,6 +1104,14 @@ class AngularSlickgridComponent {
1101
1104
  // save reference for all columns before they optionally become hidden/visible
1102
1105
  this.sharedService.allColumns = this._columnDefinitions;
1103
1106
  this.sharedService.visibleColumns = this._columnDefinitions;
1107
+ // before certain extentions/plugins potentially adds extra columns not created by the user itself (RowMove, RowDetail, RowSelections)
1108
+ // we'll subscribe to the event and push back the change to the user so they always use full column defs array including extra cols
1109
+ this.subscriptions.push(this._eventPubSubService.subscribe('onPluginColumnsChanged', data => {
1110
+ this._columnDefinitions = data.columns;
1111
+ this.columnDefinitionsChange.emit(this._columnDefinitions);
1112
+ }));
1113
+ // after subscribing to potential columns changed, we are ready to create these optional extensions
1114
+ // when we did find some to create (RowMove, RowDetail, RowSelections), it will automatically modify column definitions (by previous subscribe)
1104
1115
  this.extensionService.createExtensionsBeforeGridCreation(this._columnDefinitions, this.gridOptions);
1105
1116
  // if user entered some Pinning/Frozen "presets", we need to apply them in the grid options
1106
1117
  if (this.gridOptions.presets?.pinning) {
@@ -1204,6 +1215,7 @@ class AngularSlickgridComponent {
1204
1215
  destroy: this.destroy.bind(this),
1205
1216
  // return all available Services (non-singleton)
1206
1217
  backendService: this.gridOptions?.backendServiceApi?.service,
1218
+ eventPubSubService: this._eventPubSubService,
1207
1219
  filterService: this.filterService,
1208
1220
  gridEventService: this.gridEventService,
1209
1221
  gridStateService: this.gridStateService,
@@ -1878,21 +1890,21 @@ class AngularSlickgridComponent {
1878
1890
  }
1879
1891
  }
1880
1892
  }
1881
- AngularSlickgridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularSlickgridComponent, deps: [{ token: AngularUtilService }, { token: i0.ApplicationRef }, { token: i0.ChangeDetectorRef }, { token: ContainerService }, { token: i0.ElementRef }, { token: i1.TranslateService, optional: true }, { token: TranslaterService, optional: true }, { token: 'config' }, { token: 'externalService' }], target: i0.ɵɵFactoryTarget.Component });
1882
- AngularSlickgridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.6", type: AngularSlickgridComponent, selector: "angular-slickgrid", inputs: { customDataView: "customDataView", gridId: "gridId", gridOptions: "gridOptions", paginationOptions: "paginationOptions", columnDefinitions: "columnDefinitions", dataset: "dataset", datasetHierarchical: "datasetHierarchical" }, providers: [
1893
+ AngularSlickgridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: AngularSlickgridComponent, deps: [{ token: AngularUtilService }, { token: i0.ApplicationRef }, { token: i0.ChangeDetectorRef }, { token: ContainerService }, { token: i0.ElementRef }, { token: i1.TranslateService, optional: true }, { token: TranslaterService, optional: true }, { token: 'config' }, { token: 'externalService' }], target: i0.ɵɵFactoryTarget.Component });
1894
+ AngularSlickgridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.11", type: AngularSlickgridComponent, selector: "angular-slickgrid", inputs: { customDataView: "customDataView", gridId: "gridId", gridOptions: "gridOptions", paginationOptions: "paginationOptions", columnDefinitions: "columnDefinitions", dataset: "dataset", datasetHierarchical: "datasetHierarchical" }, outputs: { columnDefinitionsChange: "columnDefinitionsChange" }, providers: [
1883
1895
  // make everything transient (non-singleton)
1884
1896
  AngularUtilService,
1885
1897
  ApplicationRef,
1886
1898
  TranslaterService,
1887
- ], ngImport: i0, template: "<div id=\"slickGridContainer-{{gridId}}\" class=\"gridPane\">\r\n <div attr.id='{{gridId}}' class=\"slickgrid-container\" style=\"width: 100%\">\r\n </div>\r\n</div>" });
1888
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularSlickgridComponent, decorators: [{
1899
+ ], ngImport: i0, template: "<div id=\"slickGridContainer-{{gridId}}\" class=\"gridPane\">\n <div attr.id='{{gridId}}' class=\"slickgrid-container\" style=\"width: 100%\">\n </div>\n</div>" });
1900
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: AngularSlickgridComponent, decorators: [{
1889
1901
  type: Component,
1890
1902
  args: [{ selector: 'angular-slickgrid', providers: [
1891
1903
  // make everything transient (non-singleton)
1892
1904
  AngularUtilService,
1893
1905
  ApplicationRef,
1894
1906
  TranslaterService,
1895
- ], template: "<div id=\"slickGridContainer-{{gridId}}\" class=\"gridPane\">\r\n <div attr.id='{{gridId}}' class=\"slickgrid-container\" style=\"width: 100%\">\r\n </div>\r\n</div>" }]
1907
+ ], template: "<div id=\"slickGridContainer-{{gridId}}\" class=\"gridPane\">\n <div attr.id='{{gridId}}' class=\"slickgrid-container\" style=\"width: 100%\">\n </div>\n</div>" }]
1896
1908
  }], ctorParameters: function () { return [{ type: AngularUtilService }, { type: i0.ApplicationRef }, { type: i0.ChangeDetectorRef }, { type: ContainerService }, { type: i0.ElementRef }, { type: i1.TranslateService, decorators: [{
1897
1909
  type: Optional
1898
1910
  }] }, { type: TranslaterService, decorators: [{
@@ -1913,6 +1925,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImpor
1913
1925
  type: Input
1914
1926
  }], columnDefinitions: [{
1915
1927
  type: Input
1928
+ }], columnDefinitionsChange: [{
1929
+ type: Output
1916
1930
  }], dataset: [{
1917
1931
  type: Input
1918
1932
  }], datasetHierarchical: [{
@@ -1932,12 +1946,12 @@ class AngularSlickgridModule {
1932
1946
  };
1933
1947
  }
1934
1948
  }
1935
- AngularSlickgridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularSlickgridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1936
- AngularSlickgridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.6", ngImport: i0, type: AngularSlickgridModule, declarations: [AngularSlickgridComponent], imports: [CommonModule,
1949
+ AngularSlickgridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: AngularSlickgridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1950
+ AngularSlickgridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.11", ngImport: i0, type: AngularSlickgridModule, declarations: [AngularSlickgridComponent], imports: [CommonModule,
1937
1951
  TranslateModule], exports: [AngularSlickgridComponent] });
1938
- AngularSlickgridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularSlickgridModule, imports: [CommonModule,
1952
+ AngularSlickgridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: AngularSlickgridModule, imports: [CommonModule,
1939
1953
  TranslateModule] });
1940
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularSlickgridModule, decorators: [{
1954
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: AngularSlickgridModule, decorators: [{
1941
1955
  type: NgModule,
1942
1956
  args: [{
1943
1957
  imports: [