angular-slickgrid 4.3.1 → 5.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 (211) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +179 -181
  3. package/app/modules/angular-slickgrid/components/angular-slickgrid.component.d.ts +5 -9
  4. package/app/modules/angular-slickgrid/index.d.ts +1 -1
  5. package/app/modules/angular-slickgrid/services/index.d.ts +0 -1
  6. package/docs/assets/lib/multiple-select/README.md +17 -17
  7. package/esm2020/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +14 -15
  8. package/esm2020/app/modules/angular-slickgrid/constants.mjs +2 -1
  9. package/esm2020/app/modules/angular-slickgrid/extensions/index.mjs +1 -1
  10. package/esm2020/app/modules/angular-slickgrid/extensions/slickRowDetailView.mjs +2 -2
  11. package/esm2020/app/modules/angular-slickgrid/global-grid-options.mjs +3 -3
  12. package/esm2020/app/modules/angular-slickgrid/index.mjs +2 -2
  13. package/esm2020/app/modules/angular-slickgrid/models/angularComponentOutput.interface.mjs +1 -1
  14. package/esm2020/app/modules/angular-slickgrid/models/angularGridInstance.interface.mjs +1 -1
  15. package/esm2020/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.mjs +1 -1
  16. package/esm2020/app/modules/angular-slickgrid/models/gridOption.interface.mjs +1 -1
  17. package/esm2020/app/modules/angular-slickgrid/models/index.mjs +1 -1
  18. package/esm2020/app/modules/angular-slickgrid/models/rowDetailView.interface.mjs +1 -1
  19. package/esm2020/app/modules/angular-slickgrid/models/slickGrid.interface.mjs +1 -1
  20. package/esm2020/app/modules/angular-slickgrid/modules/angular-slickgrid.module.mjs +7 -12
  21. package/esm2020/app/modules/angular-slickgrid/services/angularUtil.service.mjs +4 -4
  22. package/esm2020/app/modules/angular-slickgrid/services/container.service.mjs +4 -4
  23. package/esm2020/app/modules/angular-slickgrid/services/index.mjs +1 -2
  24. package/esm2020/app/modules/angular-slickgrid/services/translater.service.mjs +4 -4
  25. package/esm2020/app/modules/angular-slickgrid/services/utilities.mjs +1 -1
  26. package/esm2020/app/modules/angular-slickgrid/slickgrid-config.mjs +1 -1
  27. package/esm2020/public_api.mjs +1 -1
  28. package/fesm2015/angular-slickgrid.mjs +34 -137
  29. package/fesm2015/angular-slickgrid.mjs.map +1 -1
  30. package/fesm2020/angular-slickgrid.mjs +33 -136
  31. package/fesm2020/angular-slickgrid.mjs.map +1 -1
  32. package/i18n/en.json +90 -89
  33. package/i18n/fr.json +91 -90
  34. package/{angular-slickgrid.d.ts → index.d.ts} +0 -0
  35. package/package.json +13 -15
  36. package/test/cypress/node_modules/@4tw/cypress-drag-drop/README.md +169 -0
  37. package/test/cypress/node_modules/@cypress/request/README.md +1038 -0
  38. package/test/cypress/node_modules/@cypress/xvfb/README.md +48 -0
  39. package/test/cypress/node_modules/@cypress/xvfb/node_modules/debug/README.md +437 -0
  40. package/test/cypress/node_modules/@types/node/README.md +16 -0
  41. package/test/cypress/node_modules/@types/sinonjs__fake-timers/README.md +16 -0
  42. package/test/cypress/node_modules/@types/sizzle/README.md +16 -0
  43. package/test/cypress/node_modules/@types/yauzl/README.md +16 -0
  44. package/test/cypress/node_modules/@types/yauzl/node_modules/@types/node/README.md +16 -0
  45. package/test/cypress/node_modules/aggregate-error/README.md +61 -0
  46. package/test/cypress/node_modules/ansi-colors/README.md +315 -0
  47. package/test/cypress/node_modules/ansi-escapes/README.md +245 -0
  48. package/test/cypress/node_modules/ansi-regex/README.md +78 -0
  49. package/test/cypress/node_modules/ansi-styles/README.md +152 -0
  50. package/test/cypress/node_modules/arch/README.md +71 -0
  51. package/test/cypress/node_modules/asn1/README.md +50 -0
  52. package/test/cypress/node_modules/assert-plus/README.md +162 -0
  53. package/test/cypress/node_modules/astral-regex/README.md +46 -0
  54. package/test/cypress/node_modules/async/README.md +60 -0
  55. package/test/cypress/node_modules/asynckit/README.md +233 -0
  56. package/test/cypress/node_modules/at-least-node/README.md +25 -0
  57. package/test/cypress/node_modules/aws-sign2/README.md +4 -0
  58. package/test/cypress/node_modules/aws4/README.md +183 -0
  59. package/test/cypress/node_modules/balanced-match/README.md +91 -0
  60. package/test/cypress/node_modules/base64-js/README.md +34 -0
  61. package/test/cypress/node_modules/bcrypt-pbkdf/README.md +45 -0
  62. package/test/cypress/node_modules/blob-util/README.md +623 -0
  63. package/test/cypress/node_modules/bluebird/README.md +57 -0
  64. package/test/cypress/node_modules/brace-expansion/README.md +129 -0
  65. package/test/cypress/node_modules/buffer/README.md +410 -0
  66. package/test/cypress/node_modules/buffer-crc32/README.md +47 -0
  67. package/test/cypress/node_modules/cachedir/README.md +27 -0
  68. package/test/cypress/node_modules/caseless/README.md +45 -0
  69. package/test/cypress/node_modules/chalk/README.md +293 -0
  70. package/test/cypress/node_modules/chalk/node_modules/supports-color/README.md +76 -0
  71. package/test/cypress/node_modules/check-more-types/README.md +952 -0
  72. package/test/cypress/node_modules/ci-info/README.md +114 -0
  73. package/test/cypress/node_modules/clean-stack/README.md +76 -0
  74. package/test/cypress/node_modules/cli-cursor/README.md +55 -0
  75. package/test/cypress/node_modules/cli-table3/README.md +218 -0
  76. package/test/cypress/node_modules/cli-truncate/README.md +139 -0
  77. package/test/cypress/node_modules/color-convert/README.md +68 -0
  78. package/test/cypress/node_modules/color-name/README.md +11 -0
  79. package/test/cypress/node_modules/colorette/README.md +102 -0
  80. package/test/cypress/node_modules/colors/README.md +221 -0
  81. package/test/cypress/node_modules/combined-stream/README.md +138 -0
  82. package/test/cypress/node_modules/commander/README.md +737 -0
  83. package/test/cypress/node_modules/common-tags/README.md +687 -0
  84. package/test/cypress/node_modules/core-util-is/README.md +3 -0
  85. package/test/cypress/node_modules/cross-spawn/README.md +96 -0
  86. package/test/cypress/node_modules/cypress/README.md +25 -0
  87. package/test/cypress/node_modules/cypress/angular/README.md +85 -0
  88. package/test/cypress/node_modules/cypress/mount-utils/README.md +21 -0
  89. package/test/cypress/node_modules/cypress/react/README.md +119 -0
  90. package/test/cypress/node_modules/cypress/svelte/README.md +83 -0
  91. package/test/cypress/node_modules/cypress/vue/README.md +88 -0
  92. package/test/cypress/node_modules/cypress/vue2/README.md +77 -0
  93. package/test/cypress/node_modules/dashdash/README.md +574 -0
  94. package/test/cypress/node_modules/dayjs/README.md +128 -0
  95. package/test/cypress/node_modules/debug/README.md +455 -0
  96. package/test/cypress/node_modules/delayed-stream/README.md +141 -0
  97. package/test/cypress/node_modules/ecc-jsbn/README.md +8 -0
  98. package/test/cypress/node_modules/emoji-regex/README.md +73 -0
  99. package/test/cypress/node_modules/end-of-stream/README.md +54 -0
  100. package/test/cypress/node_modules/enquirer/README.md +1752 -0
  101. package/test/cypress/node_modules/escape-string-regexp/README.md +27 -0
  102. package/test/cypress/node_modules/eventemitter2/README.md +809 -0
  103. package/test/cypress/node_modules/execa/README.md +656 -0
  104. package/test/cypress/node_modules/executable/README.md +64 -0
  105. package/test/cypress/node_modules/extend/README.md +81 -0
  106. package/test/cypress/node_modules/extract-zip/README.md +57 -0
  107. package/test/cypress/node_modules/extract-zip/node_modules/debug/README.md +455 -0
  108. package/test/cypress/node_modules/extsprintf/README.md +46 -0
  109. package/test/cypress/node_modules/fd-slicer/README.md +199 -0
  110. package/test/cypress/node_modules/figures/README.md +139 -0
  111. package/test/cypress/node_modules/forever-agent/README.md +4 -0
  112. package/test/cypress/node_modules/form-data/README.md +234 -0
  113. package/test/cypress/node_modules/fs-extra/README.md +264 -0
  114. package/test/cypress/node_modules/fs.realpath/README.md +33 -0
  115. package/test/cypress/node_modules/get-stream/README.md +124 -0
  116. package/test/cypress/node_modules/getos/README.md +79 -0
  117. package/test/cypress/node_modules/getpass/README.md +32 -0
  118. package/test/cypress/node_modules/glob/README.md +375 -0
  119. package/test/cypress/node_modules/global-dirs/README.md +72 -0
  120. package/test/cypress/node_modules/graceful-fs/README.md +133 -0
  121. package/test/cypress/node_modules/has-flag/README.md +89 -0
  122. package/test/cypress/node_modules/http-signature/README.md +80 -0
  123. package/test/cypress/node_modules/human-signals/README.md +155 -0
  124. package/test/cypress/node_modules/ieee754/README.md +51 -0
  125. package/test/cypress/node_modules/indent-string/README.md +70 -0
  126. package/test/cypress/node_modules/inflight/README.md +37 -0
  127. package/test/cypress/node_modules/inherits/README.md +42 -0
  128. package/test/cypress/node_modules/ini/README.md +102 -0
  129. package/test/cypress/node_modules/is-ci/README.md +50 -0
  130. package/test/cypress/node_modules/is-fullwidth-code-point/README.md +39 -0
  131. package/test/cypress/node_modules/is-installed-globally/README.md +31 -0
  132. package/test/cypress/node_modules/is-path-inside/README.md +63 -0
  133. package/test/cypress/node_modules/is-stream/README.md +57 -0
  134. package/test/cypress/node_modules/is-typedarray/README.md +16 -0
  135. package/test/cypress/node_modules/isexe/README.md +51 -0
  136. package/test/cypress/node_modules/isstream/README.md +66 -0
  137. package/test/cypress/node_modules/jsbn/README.md +175 -0
  138. package/test/cypress/node_modules/json-schema/README.md +3 -0
  139. package/test/cypress/node_modules/json-stringify-safe/README.md +52 -0
  140. package/test/cypress/node_modules/jsonfile/README.md +205 -0
  141. package/test/cypress/node_modules/jsonfile/node_modules/universalify/README.md +76 -0
  142. package/test/cypress/node_modules/jsprim/README.md +287 -0
  143. package/test/cypress/node_modules/lazy-ass/README.md +269 -0
  144. package/test/cypress/node_modules/listr2/README.md +17 -0
  145. package/test/cypress/node_modules/lodash/README.md +39 -0
  146. package/test/cypress/node_modules/lodash.once/README.md +18 -0
  147. package/test/cypress/node_modules/log-symbols/README.md +51 -0
  148. package/test/cypress/node_modules/log-update/README.md +97 -0
  149. package/test/cypress/node_modules/log-update/node_modules/slice-ansi/README.md +66 -0
  150. package/test/cypress/node_modules/log-update/node_modules/wrap-ansi/README.md +97 -0
  151. package/test/cypress/node_modules/lru-cache/README.md +166 -0
  152. package/test/cypress/node_modules/merge-stream/README.md +78 -0
  153. package/test/cypress/node_modules/mime-db/README.md +102 -0
  154. package/test/cypress/node_modules/mime-types/README.md +123 -0
  155. package/test/cypress/node_modules/mimic-fn/README.md +69 -0
  156. package/test/cypress/node_modules/minimatch/README.md +209 -0
  157. package/test/cypress/node_modules/ms/README.md +60 -0
  158. package/test/cypress/node_modules/npm-run-path/README.md +115 -0
  159. package/test/cypress/node_modules/once/README.md +79 -0
  160. package/test/cypress/node_modules/onetime/README.md +94 -0
  161. package/test/cypress/node_modules/ospath/README.md +53 -0
  162. package/test/cypress/node_modules/p-map/README.md +89 -0
  163. package/test/cypress/node_modules/path-is-absolute/README.md +59 -0
  164. package/test/cypress/node_modules/path-key/README.md +61 -0
  165. package/test/cypress/node_modules/pend/README.md +41 -0
  166. package/test/cypress/node_modules/performance-now/README.md +30 -0
  167. package/test/cypress/node_modules/pify/README.md +119 -0
  168. package/test/cypress/node_modules/pretty-bytes/README.md +131 -0
  169. package/test/cypress/node_modules/proxy-from-env/README.md +131 -0
  170. package/test/cypress/node_modules/psl/README.md +215 -0
  171. package/test/cypress/node_modules/pump/README.md +65 -0
  172. package/test/cypress/node_modules/punycode/README.md +122 -0
  173. package/test/cypress/node_modules/qs/README.md +475 -0
  174. package/test/cypress/node_modules/request-progress/README.md +78 -0
  175. package/test/cypress/node_modules/restore-cursor/README.md +26 -0
  176. package/test/cypress/node_modules/rimraf/README.md +101 -0
  177. package/test/cypress/node_modules/rxjs/README.md +147 -0
  178. package/test/cypress/node_modules/rxjs/_esm2015/README.md +147 -0
  179. package/test/cypress/node_modules/rxjs/_esm5/README.md +147 -0
  180. package/test/cypress/node_modules/rxjs/src/README.md +147 -0
  181. package/test/cypress/node_modules/safe-buffer/README.md +584 -0
  182. package/test/cypress/node_modules/safer-buffer/README.md +156 -0
  183. package/test/cypress/node_modules/semver/README.md +566 -0
  184. package/test/cypress/node_modules/shebang-command/README.md +34 -0
  185. package/test/cypress/node_modules/shebang-regex/README.md +33 -0
  186. package/test/cypress/node_modules/signal-exit/README.md +39 -0
  187. package/test/cypress/node_modules/slice-ansi/README.md +72 -0
  188. package/test/cypress/node_modules/sshpk/README.md +804 -0
  189. package/test/cypress/node_modules/string-width/README.md +50 -0
  190. package/test/cypress/node_modules/strip-ansi/README.md +46 -0
  191. package/test/cypress/node_modules/strip-final-newline/README.md +30 -0
  192. package/test/cypress/node_modules/supports-color/README.md +77 -0
  193. package/test/cypress/node_modules/throttleit/README.md +32 -0
  194. package/test/cypress/node_modules/tmp/README.md +365 -0
  195. package/test/cypress/node_modules/tough-cookie/README.md +527 -0
  196. package/test/cypress/node_modules/tslib/README.md +142 -0
  197. package/test/cypress/node_modules/tunnel-agent/README.md +4 -0
  198. package/test/cypress/node_modules/tweetnacl/README.md +459 -0
  199. package/test/cypress/node_modules/type-fest/README.md +760 -0
  200. package/test/cypress/node_modules/universalify/README.md +76 -0
  201. package/test/cypress/node_modules/untildify/README.md +30 -0
  202. package/test/cypress/node_modules/uuid/README.md +505 -0
  203. package/test/cypress/node_modules/verror/README.md +528 -0
  204. package/test/cypress/node_modules/verror/node_modules/extsprintf/README.md +46 -0
  205. package/test/cypress/node_modules/which/README.md +54 -0
  206. package/test/cypress/node_modules/wrap-ansi/README.md +91 -0
  207. package/test/cypress/node_modules/wrappy/README.md +36 -0
  208. package/test/cypress/node_modules/yallist/README.md +204 -0
  209. package/test/cypress/node_modules/yauzl/README.md +658 -0
  210. package/app/modules/angular-slickgrid/services/bsDropdown.service.d.ts +0 -31
  211. package/esm2020/app/modules/angular-slickgrid/services/bsDropdown.service.mjs +0 -103
@@ -7,14 +7,11 @@ import { TranslateModule } from '@ngx-translate/core';
7
7
  import { SlickRowDetailView as SlickRowDetailView$1 } from '@slickgrid-universal/row-detail-view-plugin';
8
8
  import { Observable } from 'rxjs';
9
9
  import * as DOMPurify from 'dompurify';
10
- import 'jquery-ui/ui/widgets/draggable';
11
- import 'jquery-ui/ui/widgets/droppable';
12
- import 'jquery-ui/ui/widgets/sortable';
13
- import 'slickgrid/lib/jquery.event.drag-2.3.0';
14
- import 'slickgrid/lib/jquery.mousewheel';
15
- import 'slickgrid/slick.core';
16
- import 'slickgrid/slick.grid';
17
- import 'slickgrid/slick.dataview';
10
+ import 'slickgrid/dist/slick.core.min';
11
+ import 'slickgrid/dist/slick.interactions.min';
12
+ import 'slickgrid/dist/slick.grid.min';
13
+ import 'slickgrid/dist/slick.dataview.min';
14
+ import * as Sortable_ from 'sortablejs';
18
15
  import { EventPubSubService } from '@slickgrid-universal/event-pub-sub';
19
16
  import { SlickEmptyWarningComponent } from '@slickgrid-universal/empty-warning-component';
20
17
  import { SlickFooterComponent } from '@slickgrid-universal/custom-footer-component';
@@ -61,112 +58,12 @@ class AngularUtilService {
61
58
  return componentOutput;
62
59
  }
63
60
  }
64
- AngularUtilService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AngularUtilService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
65
- AngularUtilService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AngularUtilService });
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AngularUtilService, decorators: [{
61
+ 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 });
62
+ AngularUtilService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularUtilService });
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularUtilService, decorators: [{
67
64
  type: Injectable
68
65
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: i0.Injector }]; } });
69
66
 
70
- // Boostrap dropdown service
71
- class BsDropDownService {
72
- constructor(angularUtilService) {
73
- this.angularUtilService = angularUtilService;
74
- }
75
- get domElement() {
76
- return this._domElement;
77
- }
78
- get domContainerElement() {
79
- return this._domContainerElement;
80
- }
81
- get gridViewport() {
82
- return $('.slick-viewport');
83
- }
84
- dispose() {
85
- if (this._domElement && this._domElement.remove) {
86
- this._domElement.remove();
87
- }
88
- }
89
- dropContainerShow() {
90
- if (this._domContainerElement && this._domContainerElement.show) {
91
- this._domContainerElement.show();
92
- }
93
- }
94
- render(dropdownParams) {
95
- return new Promise((resolve) => {
96
- const { component, args, parent, offsetTop, offsetLeft, offsetDropupBottom } = dropdownParams;
97
- const cell = args.cell;
98
- const row = args.row;
99
- this._domContainerElement = $(`#myDrop-r${row}-c${cell}`);
100
- if (this._domContainerElement) {
101
- // hide the dropdown we created as a formatter Component, we'll redisplay it later
102
- const cellPos = this._domContainerElement.offset();
103
- const componentOutput = this.angularUtilService.createAngularComponent(component);
104
- const componentInstance = componentOutput && componentOutput.componentRef && componentOutput.componentRef.instance;
105
- if (componentInstance) {
106
- const myDropId = componentInstance.dropdownId || 'myDrop';
107
- const dropDownToggleId = componentInstance.dropDownToggleId || 'dropdownMenu1';
108
- this._domElement = $(`#${myDropId}`);
109
- if (this._domElement) {
110
- // make sure to remove any previous Action dropdown elements, to avoid having multiple element of the same on top of each other
111
- this.dispose();
112
- // assign the row data to the dropdown component instance
113
- Object.assign(componentInstance, { parent, row: args.row, dataContext: args.grid.getDataItem(args.row) });
114
- // use a delay to make sure Angular ran at least a full cycle and make sure it finished rendering the Component before using it
115
- setTimeout(() => {
116
- // create a new dropdown element
117
- this._domElement = $(componentOutput.domElement);
118
- const topPos = (cellPos && cellPos.top || 0) + 30 + (offsetTop || 0);
119
- const leftPos = (cellPos && cellPos.left || 0) + (offsetLeft || 0);
120
- this._domElement.appendTo('body');
121
- this._domElement.css('position', 'absolute');
122
- this._domElement.css('top', topPos);
123
- this._domElement.css('left', leftPos);
124
- $(`#${myDropId}`).addClass('open');
125
- $(`#${dropDownToggleId}`).hide();
126
- // check if it should drop Up or Down
127
- const offset = 35;
128
- const iElement = $('.dropdown-menu');
129
- const iElementWrapper = iElement.parent();
130
- const iElementWrapperOffset = iElementWrapper.offset() || {};
131
- const iElementWrapperOffsetTop = iElementWrapperOffset.top || iElementWrapper && iElementWrapper.length > 0 && iElementWrapper[0].offsetTop;
132
- const iElementHeight = iElement.height();
133
- const windowHeight = window.innerHeight;
134
- const shouldDropUp = (windowHeight - iElementHeight - offset) < iElementWrapperOffsetTop;
135
- let menuMarginTop = '0px';
136
- if (shouldDropUp) {
137
- const offsetBottom = offsetDropupBottom || 0;
138
- menuMarginTop = '-'.concat(`${iElementHeight + offset + offsetBottom + 5}`, 'px');
139
- }
140
- this._domElement.css({ 'margin-top': menuMarginTop });
141
- // set dropdown margin left according to the document width
142
- const parentOffset = iElementWrapperOffset.left;
143
- const leftMargin = parentOffset - $(document).width();
144
- this._domElement.css({ 'margin-left': (this._domElement.width() + leftMargin + 60) + 'px' });
145
- try {
146
- this._domElement.dropdown('show'); // required for Bootstrap 4 only
147
- }
148
- catch (e) {
149
- // Bootstrap 3 wil throw an error since that method doesn't exist, we can safely disregard it
150
- }
151
- this._domElement.on('hidden.bs.dropdown', () => this.dropContainerShow());
152
- // hide dropdown menu on grid scroll
153
- this.gridViewport.on('scroll', () => this.dispose());
154
- // hide on dropdown click
155
- this._domElement.on('click', () => this.dispose());
156
- resolve(true);
157
- });
158
- }
159
- }
160
- }
161
- });
162
- }
163
- }
164
- BsDropDownService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BsDropDownService, deps: [{ token: AngularUtilService }], target: i0.ɵɵFactoryTarget.Injectable });
165
- BsDropDownService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BsDropDownService });
166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BsDropDownService, decorators: [{
167
- type: Injectable
168
- }], ctorParameters: function () { return [{ type: AngularUtilService }]; } });
169
-
170
67
  class ContainerService {
171
68
  constructor() {
172
69
  this.dependencies = [];
@@ -188,9 +85,9 @@ class ContainerService {
188
85
  }
189
86
  }
190
87
  }
191
- ContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
192
- ContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContainerService });
193
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContainerService, decorators: [{
88
+ ContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: ContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
89
+ ContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: ContainerService });
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: ContainerService, decorators: [{
194
91
  type: Injectable
195
92
  }], ctorParameters: function () { return []; } });
196
93
 
@@ -226,9 +123,9 @@ class TranslaterService {
226
123
  return this.translateService?.instant?.(translationKey || ' ');
227
124
  }
228
125
  }
229
- TranslaterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TranslaterService, deps: [{ token: i1.TranslateService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
230
- TranslaterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TranslaterService });
231
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TranslaterService, decorators: [{
126
+ 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 });
127
+ TranslaterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: TranslaterService });
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: TranslaterService, decorators: [{
232
129
  type: Injectable
233
130
  }], ctorParameters: function () { return [{ type: i1.TranslateService, decorators: [{
234
131
  type: Optional
@@ -500,7 +397,7 @@ class SlickRowDetailView extends SlickRowDetailView$1 {
500
397
  awaitedItemDetail = await castObservableToPromise(this.rxjs, response); // from Angular-http-client
501
398
  }
502
399
  if (!awaitedItemDetail || !awaitedItemDetail.hasOwnProperty(this.datasetIdPropName)) {
503
- throw new Error(`[Angular-Slickgrid] could not process the Row Detail, you must make sure that your "process" callback
400
+ throw new Error(`[Angular-Slickgrid] could not process the Row Detail, you must make sure that your "process" callback
504
401
  (a Promise or an HttpClient call returning an Observable) returns an item object that has an "${this.datasetIdPropName}" property`);
505
402
  }
506
403
  // notify the plugin with the new item details
@@ -632,7 +529,7 @@ const GlobalGridOptions = {
632
529
  enableColumnResizeOnDoubleClick: true,
633
530
  enableContextMenu: true,
634
531
  enableExcelExport: true,
635
- enableExport: false,
532
+ enableTextExport: false,
636
533
  enableFilterTrimWhiteSpace: false,
637
534
  enableGridMenu: true,
638
535
  enableHeaderMenu: true,
@@ -664,7 +561,7 @@ const GlobalGridOptions = {
664
561
  groupingAggregatorRowText: '',
665
562
  sanitizeDataExport: false,
666
563
  },
667
- exportOptions: {
564
+ textExportOptions: {
668
565
  delimiter: DelimiterType.comma,
669
566
  exportWithFormatter: false,
670
567
  filename: 'export',
@@ -842,6 +739,7 @@ Constants.locales = {
842
739
  TEXT_LAST_UPDATE: 'Last Update',
843
740
  TEXT_LESS_THAN: 'Less than',
844
741
  TEXT_LESS_THAN_OR_EQUAL_TO: 'Less than or equal to',
742
+ TEXT_NO_ELEMENTS_FOUND: 'Aucun élément trouvé',
845
743
  TEXT_NOT_CONTAINS: 'Not contains',
846
744
  TEXT_NOT_EQUAL_TO: 'Not equal to',
847
745
  TEXT_PAGE: 'Page',
@@ -888,6 +786,9 @@ Constants.VALIDATION_EDITOR_TEXT_MIN_LENGTH = 'Please make sure your text is mor
888
786
  Constants.VALIDATION_EDITOR_TEXT_MIN_LENGTH_INCLUSIVE = 'Please make sure your text is at least {{minLength}} character(s)';
889
787
 
890
788
  // import 3rd party vendor libs
789
+ const Sortable = (Sortable_?.['default'] ?? Sortable_); // patch for rollup
790
+ // add Sortable to the window object so that SlickGrid lib can use globally
791
+ window.Sortable = Sortable;
891
792
  class AngularSlickgridComponent {
892
793
  constructor(angularUtilService, appRef, cd, containerService, elm, translate, translaterService, forRootConfig, externalServices) {
893
794
  this.angularUtilService = angularUtilService;
@@ -1981,21 +1882,21 @@ class AngularSlickgridComponent {
1981
1882
  }
1982
1883
  }
1983
1884
  }
1984
- AngularSlickgridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.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 });
1985
- AngularSlickgridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AngularSlickgridComponent, selector: "angular-slickgrid", inputs: { customDataView: "customDataView", gridId: "gridId", gridOptions: "gridOptions", paginationOptions: "paginationOptions", columnDefinitions: "columnDefinitions", dataset: "dataset", datasetHierarchical: "datasetHierarchical" }, providers: [
1885
+ 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 });
1886
+ 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: [
1986
1887
  // make everything transient (non-singleton)
1987
1888
  AngularUtilService,
1988
1889
  ApplicationRef,
1989
1890
  TranslaterService,
1990
- ], 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>" });
1991
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AngularSlickgridComponent, decorators: [{
1891
+ ], ngImport: i0, template: "<div id=\"slickGridContainer-{{gridId}}\" class=\"gridPane\">\n <div attr.id='{{gridId}}' class=\"slickgrid-container\" style=\"width: 100%\">\n </div>\n</div>" });
1892
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularSlickgridComponent, decorators: [{
1992
1893
  type: Component,
1993
1894
  args: [{ selector: 'angular-slickgrid', providers: [
1994
1895
  // make everything transient (non-singleton)
1995
1896
  AngularUtilService,
1996
1897
  ApplicationRef,
1997
1898
  TranslaterService,
1998
- ], 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>" }]
1899
+ ], template: "<div id=\"slickGridContainer-{{gridId}}\" class=\"gridPane\">\n <div attr.id='{{gridId}}' class=\"slickgrid-container\" style=\"width: 100%\">\n </div>\n</div>" }]
1999
1900
  }], ctorParameters: function () { return [{ type: AngularUtilService }, { type: i0.ApplicationRef }, { type: i0.ChangeDetectorRef }, { type: ContainerService }, { type: i0.ElementRef }, { type: i1.TranslateService, decorators: [{
2000
1901
  type: Optional
2001
1902
  }] }, { type: TranslaterService, decorators: [{
@@ -2030,20 +1931,17 @@ class AngularSlickgridModule {
2030
1931
  { provide: 'config', useValue: config },
2031
1932
  { provide: 'externalService', useValue: null },
2032
1933
  AngularUtilService,
2033
- BsDropDownService,
2034
1934
  ContainerService,
2035
1935
  ]
2036
1936
  };
2037
1937
  }
2038
1938
  }
2039
- AngularSlickgridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AngularSlickgridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2040
- AngularSlickgridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AngularSlickgridModule, declarations: [AngularSlickgridComponent], imports: [CommonModule,
1939
+ AngularSlickgridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularSlickgridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1940
+ AngularSlickgridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.6", ngImport: i0, type: AngularSlickgridModule, declarations: [AngularSlickgridComponent], imports: [CommonModule,
2041
1941
  TranslateModule], exports: [AngularSlickgridComponent] });
2042
- AngularSlickgridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AngularSlickgridModule, imports: [[
2043
- CommonModule,
2044
- TranslateModule
2045
- ]] });
2046
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AngularSlickgridModule, decorators: [{
1942
+ AngularSlickgridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularSlickgridModule, imports: [CommonModule,
1943
+ TranslateModule] });
1944
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularSlickgridModule, decorators: [{
2047
1945
  type: NgModule,
2048
1946
  args: [{
2049
1947
  imports: [
@@ -2055,8 +1953,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
2055
1953
  ],
2056
1954
  exports: [
2057
1955
  AngularSlickgridComponent,
2058
- ],
2059
- entryComponents: [AngularSlickgridComponent]
1956
+ ]
2060
1957
  }]
2061
1958
  }] });
2062
1959
 
@@ -2064,5 +1961,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
2064
1961
  * Generated bundle index. Do not edit.
2065
1962
  */
2066
1963
 
2067
- export { AngularSlickgridComponent, AngularSlickgridModule, AngularUtilService, BsDropDownService, SlickRowDetailView, SlickgridConfig, unsubscribeAllObservables };
1964
+ export { AngularSlickgridComponent, AngularSlickgridModule, AngularUtilService, SlickRowDetailView, SlickgridConfig, unsubscribeAllObservables };
2068
1965
  //# sourceMappingURL=angular-slickgrid.mjs.map