slickgrid-react 2.6.3 → 3.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 (119) hide show
  1. package/.eslintrc +0 -3
  2. package/CHANGELOG.md +9 -0
  3. package/README.md +2 -2
  4. package/dist/amd/components/slickgrid-react.d.ts +207 -207
  5. package/dist/amd/components/slickgrid-react.js +1325 -1324
  6. package/dist/amd/components/slickgrid-react.js.map +1 -1
  7. package/dist/amd/components/slickgridEventAggregator.d.ts +10 -10
  8. package/dist/amd/components/slickgridEventAggregator.js +13 -13
  9. package/dist/amd/components/slickgridReactProps.d.ts +288 -288
  10. package/dist/amd/components/slickgridReactProps.js +4 -4
  11. package/dist/amd/constants.d.ts +23 -23
  12. package/dist/amd/constants.js +92 -92
  13. package/dist/amd/constants.js.map +1 -1
  14. package/dist/amd/global-grid-options.d.ts +5 -5
  15. package/dist/amd/global-grid-options.js +267 -267
  16. package/dist/amd/index.d.ts +8 -8
  17. package/dist/amd/index.js +26 -26
  18. package/dist/amd/models/gridOption.interface.d.ts +6 -6
  19. package/dist/amd/models/gridOption.interface.js +4 -4
  20. package/dist/amd/models/index.d.ts +4 -4
  21. package/dist/amd/models/index.js +22 -22
  22. package/dist/amd/models/reactComponentOutput.interface.d.ts +6 -6
  23. package/dist/amd/models/reactComponentOutput.interface.js +4 -4
  24. package/dist/amd/models/slickGrid.interface.d.ts +6 -6
  25. package/dist/amd/models/slickGrid.interface.js +4 -4
  26. package/dist/amd/models/slickgridReactInstance.interface.d.ts +36 -36
  27. package/dist/amd/models/slickgridReactInstance.interface.js +4 -4
  28. package/dist/amd/services/container.service.d.ts +6 -6
  29. package/dist/amd/services/container.service.js +17 -17
  30. package/dist/amd/services/index.d.ts +4 -4
  31. package/dist/amd/services/index.js +22 -22
  32. package/dist/amd/services/reactUtil.service.d.ts +5 -5
  33. package/dist/amd/services/reactUtil.service.js +29 -29
  34. package/dist/amd/services/singletons.d.ts +6 -6
  35. package/dist/amd/services/singletons.js +8 -8
  36. package/dist/amd/services/translater.service.d.ts +25 -25
  37. package/dist/amd/services/translater.service.js +42 -42
  38. package/dist/amd/services/utilities.d.ts +7 -7
  39. package/dist/amd/services/utilities.js +22 -22
  40. package/dist/amd/slickgrid-config.d.ts +5 -5
  41. package/dist/amd/slickgrid-config.js +11 -11
  42. package/dist/cjs/components/slickgrid-react.d.ts +207 -207
  43. package/dist/cjs/components/slickgrid-react.js +1338 -1337
  44. package/dist/cjs/components/slickgrid-react.js.map +1 -1
  45. package/dist/cjs/components/slickgridEventAggregator.d.ts +10 -10
  46. package/dist/cjs/components/slickgridEventAggregator.js +11 -11
  47. package/dist/cjs/components/slickgridReactProps.d.ts +288 -288
  48. package/dist/cjs/components/slickgridReactProps.js +2 -2
  49. package/dist/cjs/constants.d.ts +23 -23
  50. package/dist/cjs/constants.js +90 -90
  51. package/dist/cjs/constants.js.map +1 -1
  52. package/dist/cjs/global-grid-options.d.ts +5 -5
  53. package/dist/cjs/global-grid-options.js +266 -266
  54. package/dist/cjs/index.d.ts +8 -8
  55. package/dist/cjs/index.js +30 -30
  56. package/dist/cjs/models/gridOption.interface.d.ts +6 -6
  57. package/dist/cjs/models/gridOption.interface.js +2 -2
  58. package/dist/cjs/models/index.d.ts +4 -4
  59. package/dist/cjs/models/index.js +20 -20
  60. package/dist/cjs/models/reactComponentOutput.interface.d.ts +6 -6
  61. package/dist/cjs/models/reactComponentOutput.interface.js +2 -2
  62. package/dist/cjs/models/slickGrid.interface.d.ts +6 -6
  63. package/dist/cjs/models/slickGrid.interface.js +2 -2
  64. package/dist/cjs/models/slickgridReactInstance.interface.d.ts +36 -36
  65. package/dist/cjs/models/slickgridReactInstance.interface.js +2 -2
  66. package/dist/cjs/services/container.service.d.ts +6 -6
  67. package/dist/cjs/services/container.service.js +15 -15
  68. package/dist/cjs/services/index.d.ts +4 -4
  69. package/dist/cjs/services/index.js +20 -20
  70. package/dist/cjs/services/reactUtil.service.d.ts +5 -5
  71. package/dist/cjs/services/reactUtil.service.js +27 -27
  72. package/dist/cjs/services/singletons.d.ts +6 -6
  73. package/dist/cjs/services/singletons.js +9 -9
  74. package/dist/cjs/services/translater.service.d.ts +25 -25
  75. package/dist/cjs/services/translater.service.js +40 -40
  76. package/dist/cjs/services/utilities.d.ts +7 -7
  77. package/dist/cjs/services/utilities.js +20 -20
  78. package/dist/cjs/slickgrid-config.d.ts +5 -5
  79. package/dist/cjs/slickgrid-config.js +10 -10
  80. package/dist/esm/components/slickgrid-react.d.ts +207 -207
  81. package/dist/esm/components/slickgrid-react.js +1317 -1315
  82. package/dist/esm/components/slickgrid-react.js.map +1 -1
  83. package/dist/esm/components/slickgridEventAggregator.d.ts +10 -10
  84. package/dist/esm/components/slickgridEventAggregator.js +7 -7
  85. package/dist/esm/components/slickgridReactProps.d.ts +288 -288
  86. package/dist/esm/components/slickgridReactProps.js +1 -1
  87. package/dist/esm/constants.d.ts +23 -23
  88. package/dist/esm/constants.js +87 -86
  89. package/dist/esm/constants.js.map +1 -1
  90. package/dist/esm/global-grid-options.d.ts +5 -5
  91. package/dist/esm/global-grid-options.js +263 -263
  92. package/dist/esm/index.d.ts +8 -8
  93. package/dist/esm/index.js +8 -8
  94. package/dist/esm/models/gridOption.interface.d.ts +6 -6
  95. package/dist/esm/models/gridOption.interface.js +1 -1
  96. package/dist/esm/models/index.d.ts +4 -4
  97. package/dist/esm/models/index.js +4 -4
  98. package/dist/esm/models/reactComponentOutput.interface.d.ts +6 -6
  99. package/dist/esm/models/reactComponentOutput.interface.js +1 -1
  100. package/dist/esm/models/slickGrid.interface.d.ts +6 -6
  101. package/dist/esm/models/slickGrid.interface.js +1 -1
  102. package/dist/esm/models/slickgridReactInstance.interface.d.ts +36 -36
  103. package/dist/esm/models/slickgridReactInstance.interface.js +1 -1
  104. package/dist/esm/services/container.service.d.ts +6 -6
  105. package/dist/esm/services/container.service.js +11 -11
  106. package/dist/esm/services/index.d.ts +4 -4
  107. package/dist/esm/services/index.js +4 -4
  108. package/dist/esm/services/reactUtil.service.d.ts +5 -5
  109. package/dist/esm/services/reactUtil.service.js +20 -20
  110. package/dist/esm/services/singletons.d.ts +6 -6
  111. package/dist/esm/services/singletons.js +6 -6
  112. package/dist/esm/services/translater.service.d.ts +25 -25
  113. package/dist/esm/services/translater.service.js +33 -33
  114. package/dist/esm/services/utilities.d.ts +7 -7
  115. package/dist/esm/services/utilities.js +16 -16
  116. package/dist/esm/slickgrid-config.d.ts +5 -5
  117. package/dist/esm/slickgrid-config.js +6 -6
  118. package/package.json +55 -56
  119. package/tsconfig.json +1 -1
@@ -1,36 +1,36 @@
1
- import { BackendService, ExtensionService, FilterService, GridEventService, GridService, GridStateService, GroupingAndColspanService, PaginationService, ResizerService, SlickDataView, SortService, TreeDataService } from '@slickgrid-universal/common';
2
- import { EventPubSubService } from '@slickgrid-universal/event-pub-sub';
3
- import { SlickGrid } from '../models/index';
4
- export interface SlickgridReactInstance {
5
- element: HTMLDivElement;
6
- /** Slick DataView object */
7
- dataView: SlickDataView;
8
- /** Slick Grid object */
9
- slickGrid: SlickGrid;
10
- /** Dispose of the grid and optionally empty the DOM element grid container as well */
11
- dispose: (emptyDomElementContainer?: boolean) => void;
12
- /** Backend Service, when available */
13
- backendService?: BackendService;
14
- /** EventPubSub Service instance that is used internal by the lib and could be used externally to subscribe to Slickgrid-React events */
15
- eventPubSubService?: EventPubSubService;
16
- /** Extension (Plugins & Controls) Service */
17
- extensionService: ExtensionService;
18
- /** Filter Service */
19
- filterService: FilterService;
20
- /** Grid Service (grid extra functionalities) */
21
- gridService: GridService;
22
- /** Grid Events Service */
23
- gridEventService: GridEventService;
24
- /** Grid State Service */
25
- gridStateService: GridStateService;
26
- /** Grouping (and colspan) Service */
27
- groupingService: GroupingAndColspanService;
28
- /** Pagination Service (allows you to programmatically go to first/last page, etc...) */
29
- paginationService?: PaginationService;
30
- /** Resizer Service (including auto-resize) */
31
- resizerService: ResizerService;
32
- /** Sort Service */
33
- sortService: SortService;
34
- /** Tree Data View Service */
35
- treeDataService: TreeDataService;
36
- }
1
+ import { BackendService, ExtensionService, FilterService, GridEventService, GridService, GridStateService, GroupingAndColspanService, PaginationService, ResizerService, SlickDataView, SortService, TreeDataService } from '@slickgrid-universal/common';
2
+ import { EventPubSubService } from '@slickgrid-universal/event-pub-sub';
3
+ import { SlickGrid } from '../models/index';
4
+ export interface SlickgridReactInstance {
5
+ element: HTMLDivElement;
6
+ /** Slick DataView object */
7
+ dataView: SlickDataView;
8
+ /** Slick Grid object */
9
+ slickGrid: SlickGrid;
10
+ /** Dispose of the grid and optionally empty the DOM element grid container as well */
11
+ dispose: (emptyDomElementContainer?: boolean) => void;
12
+ /** Backend Service, when available */
13
+ backendService?: BackendService;
14
+ /** EventPubSub Service instance that is used internal by the lib and could be used externally to subscribe to Slickgrid-React events */
15
+ eventPubSubService?: EventPubSubService;
16
+ /** Extension (Plugins & Controls) Service */
17
+ extensionService: ExtensionService;
18
+ /** Filter Service */
19
+ filterService: FilterService;
20
+ /** Grid Service (grid extra functionalities) */
21
+ gridService: GridService;
22
+ /** Grid Events Service */
23
+ gridEventService: GridEventService;
24
+ /** Grid State Service */
25
+ gridStateService: GridStateService;
26
+ /** Grouping (and colspan) Service */
27
+ groupingService: GroupingAndColspanService;
28
+ /** Pagination Service (allows you to programmatically go to first/last page, etc...) */
29
+ paginationService?: PaginationService;
30
+ /** Resizer Service (including auto-resize) */
31
+ resizerService: ResizerService;
32
+ /** Sort Service */
33
+ sortService: SortService;
34
+ /** Tree Data View Service */
35
+ treeDataService: TreeDataService;
36
+ }
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=slickgridReactInstance.interface.js.map
@@ -1,6 +1,6 @@
1
- import { ContainerService as UniversalContainerService } from '@slickgrid-universal/common';
2
- export declare class ContainerService implements UniversalContainerService {
3
- private readonly container;
4
- get<T = any>(key: string): T | null;
5
- registerInstance(key: string, instance: any): void;
6
- }
1
+ import { ContainerService as UniversalContainerService } from '@slickgrid-universal/common';
2
+ export declare class ContainerService implements UniversalContainerService {
3
+ private readonly container;
4
+ get<T = any>(key: string): T | null;
5
+ registerInstance(key: string, instance: any): void;
6
+ }
@@ -1,12 +1,12 @@
1
- export class ContainerService {
2
- constructor() {
3
- this.container = {};
4
- }
5
- get(key) {
6
- return this.container[key];
7
- }
8
- registerInstance(key, instance) {
9
- this.container[key] = instance;
10
- }
11
- }
1
+ export class ContainerService {
2
+ constructor() {
3
+ this.container = {};
4
+ }
5
+ get(key) {
6
+ return this.container[key];
7
+ }
8
+ registerInstance(key, instance) {
9
+ this.container[key] = instance;
10
+ }
11
+ }
12
12
  //# sourceMappingURL=container.service.js.map
@@ -1,4 +1,4 @@
1
- export * from './reactUtil.service';
2
- export * from './container.service';
3
- export * from './translater.service';
4
- export * from './utilities';
1
+ export * from './reactUtil.service';
2
+ export * from './container.service';
3
+ export * from './translater.service';
4
+ export * from './utilities';
@@ -1,5 +1,5 @@
1
- export * from './reactUtil.service';
2
- export * from './container.service';
3
- export * from './translater.service';
4
- export * from './utilities';
1
+ export * from './reactUtil.service';
2
+ export * from './container.service';
3
+ export * from './translater.service';
4
+ export * from './utilities';
5
5
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { SlickgridReactComponentOutput } from '../models/reactComponentOutput.interface';
3
- export declare class ReactUtilService {
4
- createReactComponentAppendToDom(component: any, targetElement?: HTMLElement | Element, clearTargetContent?: boolean, props?: any, children?: ReactNode[]): SlickgridReactComponentOutput;
5
- }
1
+ import { ReactNode } from 'react';
2
+ import { SlickgridReactComponentOutput } from '../models/reactComponentOutput.interface';
3
+ export declare class ReactUtilService {
4
+ createReactComponentAppendToDom(component: any, targetElement?: HTMLElement | Element, clearTargetContent?: boolean, props?: any, children?: ReactNode[]): SlickgridReactComponentOutput;
5
+ }
@@ -1,21 +1,21 @@
1
- import React from 'react';
2
- import ReactDOM from 'react-dom';
3
- export class ReactUtilService {
4
- createReactComponentAppendToDom(component, targetElement, clearTargetContent = false, props = undefined, children = []) {
5
- const componentElement = React.createElement(component, props, children);
6
- let componentInstance;
7
- // Append DOM element to the HTML element specified
8
- if (targetElement) {
9
- if (clearTargetContent && targetElement.innerHTML) {
10
- targetElement.innerHTML = '';
11
- }
12
- componentInstance = ReactDOM.render(componentElement, targetElement);
13
- }
14
- else {
15
- componentInstance = ReactDOM.render(componentElement, document.body);
16
- }
17
- const domElement = ReactDOM.findDOMNode(componentInstance);
18
- return { componentInstance, componentElement, domElement };
19
- }
20
- }
1
+ import React from 'react';
2
+ import ReactDOM from 'react-dom';
3
+ export class ReactUtilService {
4
+ createReactComponentAppendToDom(component, targetElement, clearTargetContent = false, props = undefined, children = []) {
5
+ const componentElement = React.createElement(component, props, children);
6
+ let componentInstance;
7
+ // Append DOM element to the HTML element specified
8
+ if (targetElement) {
9
+ if (clearTargetContent && targetElement.innerHTML) {
10
+ targetElement.innerHTML = '';
11
+ }
12
+ componentInstance = ReactDOM.render(componentElement, targetElement);
13
+ }
14
+ else {
15
+ componentInstance = ReactDOM.render(componentElement, document.body);
16
+ }
17
+ const domElement = ReactDOM.findDOMNode(componentInstance);
18
+ return { componentInstance, componentElement, domElement };
19
+ }
20
+ }
21
21
  //# sourceMappingURL=reactUtil.service.js.map
@@ -1,6 +1,6 @@
1
- import { SharedService } from '@slickgrid-universal/common';
2
- import { EventPubSubService } from '@slickgrid-universal/event-pub-sub';
3
- import { ContainerService } from './container.service';
4
- export declare const GlobalEventPubSubService: EventPubSubService;
5
- export declare const GlobalEventSharedService: SharedService;
6
- export declare const GlobalContainerService: ContainerService;
1
+ import { SharedService } from '@slickgrid-universal/common';
2
+ import { EventPubSubService } from '@slickgrid-universal/event-pub-sub';
3
+ import { ContainerService } from './container.service';
4
+ export declare const GlobalEventPubSubService: EventPubSubService;
5
+ export declare const GlobalEventSharedService: SharedService;
6
+ export declare const GlobalContainerService: ContainerService;
@@ -1,7 +1,7 @@
1
- import { SharedService } from '@slickgrid-universal/common';
2
- import { EventPubSubService } from '@slickgrid-universal/event-pub-sub';
3
- import { ContainerService } from './container.service';
4
- export const GlobalEventPubSubService = new EventPubSubService();
5
- export const GlobalEventSharedService = new SharedService();
6
- export const GlobalContainerService = new ContainerService();
1
+ import { SharedService } from '@slickgrid-universal/common';
2
+ import { EventPubSubService } from '@slickgrid-universal/event-pub-sub';
3
+ import { ContainerService } from './container.service';
4
+ export const GlobalEventPubSubService = new EventPubSubService();
5
+ export const GlobalEventSharedService = new SharedService();
6
+ export const GlobalContainerService = new ContainerService();
7
7
  //# sourceMappingURL=singletons.js.map
@@ -1,25 +1,25 @@
1
- import { TranslaterService as UniversalTranslateService } from '@slickgrid-universal/common';
2
- /**
3
- * This is a Translate Service Wrapper for Slickgrid-Universal monorepo lib to work properly,
4
- * it must implement Slickgrid-Universal TranslaterService interface to work properly
5
- */
6
- export declare class TranslaterService implements UniversalTranslateService {
7
- private readonly i18n;
8
- /**
9
- * Method to return the current language used by the App
10
- * @return {string} current language
11
- */
12
- getCurrentLanguage(): string;
13
- /**
14
- * Method to set the language to use in the App and Translate Service
15
- * @param {string} language
16
- * @return {Promise} output
17
- */
18
- use(newLang: string): Promise<any>;
19
- /**
20
- * Method which receives a translation key and returns the translated value assigned to that key
21
- * @param {string} translation key
22
- * @return {string} translated value
23
- */
24
- translate(translationKey: string): string;
25
- }
1
+ import { TranslaterService as UniversalTranslateService } from '@slickgrid-universal/common';
2
+ /**
3
+ * This is a Translate Service Wrapper for Slickgrid-Universal monorepo lib to work properly,
4
+ * it must implement Slickgrid-Universal TranslaterService interface to work properly
5
+ */
6
+ export declare class TranslaterService implements UniversalTranslateService {
7
+ private readonly i18n;
8
+ /**
9
+ * Method to return the current language used by the App
10
+ * @return {string} current language
11
+ */
12
+ getCurrentLanguage(): string;
13
+ /**
14
+ * Method to set the language to use in the App and Translate Service
15
+ * @param {string} language
16
+ * @return {Promise} output
17
+ */
18
+ use(newLang: string): Promise<any>;
19
+ /**
20
+ * Method which receives a translation key and returns the translated value assigned to that key
21
+ * @param {string} translation key
22
+ * @return {string} translated value
23
+ */
24
+ translate(translationKey: string): string;
25
+ }
@@ -1,34 +1,34 @@
1
- import i18next from 'i18next';
2
- /**
3
- * This is a Translate Service Wrapper for Slickgrid-Universal monorepo lib to work properly,
4
- * it must implement Slickgrid-Universal TranslaterService interface to work properly
5
- */
6
- export class TranslaterService {
7
- constructor() {
8
- this.i18n = i18next;
9
- }
10
- /**
11
- * Method to return the current language used by the App
12
- * @return {string} current language
13
- */
14
- getCurrentLanguage() {
15
- return this.i18n.language;
16
- }
17
- /**
18
- * Method to set the language to use in the App and Translate Service
19
- * @param {string} language
20
- * @return {Promise} output
21
- */
22
- async use(newLang) {
23
- return this.i18n.changeLanguage(newLang);
24
- }
25
- /**
26
- * Method which receives a translation key and returns the translated value assigned to that key
27
- * @param {string} translation key
28
- * @return {string} translated value
29
- */
30
- translate(translationKey) {
31
- return this.i18n.t(translationKey);
32
- }
33
- }
1
+ import i18next from 'i18next';
2
+ /**
3
+ * This is a Translate Service Wrapper for Slickgrid-Universal monorepo lib to work properly,
4
+ * it must implement Slickgrid-Universal TranslaterService interface to work properly
5
+ */
6
+ export class TranslaterService {
7
+ constructor() {
8
+ this.i18n = i18next;
9
+ }
10
+ /**
11
+ * Method to return the current language used by the App
12
+ * @return {string} current language
13
+ */
14
+ getCurrentLanguage() {
15
+ return this.i18n.language;
16
+ }
17
+ /**
18
+ * Method to set the language to use in the App and Translate Service
19
+ * @param {string} language
20
+ * @return {Promise} output
21
+ */
22
+ async use(newLang) {
23
+ return this.i18n.changeLanguage(newLang);
24
+ }
25
+ /**
26
+ * Method which receives a translation key and returns the translated value assigned to that key
27
+ * @param {string} translation key
28
+ * @return {string} translated value
29
+ */
30
+ translate(translationKey) {
31
+ return this.i18n.t(translationKey);
32
+ }
33
+ }
34
34
  //# sourceMappingURL=translater.service.js.map
@@ -1,7 +1,7 @@
1
- import { EventSubscription } from '@slickgrid-universal/common';
2
- /**
3
- * Loop through and dispose of all subscriptions when they are disposable
4
- * @param subscriptions
5
- * @return empty array
6
- */
7
- export declare function disposeAllSubscriptions(subscriptions: Array<EventSubscription>): Array<EventSubscription>;
1
+ import { EventSubscription } from '@slickgrid-universal/common';
2
+ /**
3
+ * Loop through and dispose of all subscriptions when they are disposable
4
+ * @param subscriptions
5
+ * @return empty array
6
+ */
7
+ export declare function disposeAllSubscriptions(subscriptions: Array<EventSubscription>): Array<EventSubscription>;
@@ -1,17 +1,17 @@
1
- /**
2
- * Loop through and dispose of all subscriptions when they are disposable
3
- * @param subscriptions
4
- * @return empty array
5
- */
6
- export function disposeAllSubscriptions(subscriptions) {
7
- if (Array.isArray(subscriptions)) {
8
- while (subscriptions.length > 0) {
9
- const subscription = subscriptions.pop();
10
- if (subscription === null || subscription === void 0 ? void 0 : subscription.unsubscribe) {
11
- subscription.unsubscribe();
12
- }
13
- }
14
- }
15
- return subscriptions;
16
- }
1
+ /**
2
+ * Loop through and dispose of all subscriptions when they are disposable
3
+ * @param subscriptions
4
+ * @return empty array
5
+ */
6
+ export function disposeAllSubscriptions(subscriptions) {
7
+ if (Array.isArray(subscriptions)) {
8
+ while (subscriptions.length > 0) {
9
+ const subscription = subscriptions.pop();
10
+ if (subscription === null || subscription === void 0 ? void 0 : subscription.unsubscribe) {
11
+ subscription.unsubscribe();
12
+ }
13
+ }
14
+ }
15
+ return subscriptions;
16
+ }
17
17
  //# sourceMappingURL=utilities.js.map
@@ -1,5 +1,5 @@
1
- import { GridOption } from './models/gridOption.interface';
2
- export declare class SlickgridConfig {
3
- options: Partial<GridOption>;
4
- constructor();
5
- }
1
+ import { GridOption } from './models/gridOption.interface';
2
+ export declare class SlickgridConfig {
3
+ options: Partial<GridOption>;
4
+ constructor();
5
+ }
@@ -1,7 +1,7 @@
1
- import { GlobalGridOptions } from './global-grid-options';
2
- export class SlickgridConfig {
3
- constructor() {
4
- this.options = GlobalGridOptions;
5
- }
6
- }
1
+ import { GlobalGridOptions } from './global-grid-options';
2
+ export class SlickgridConfig {
3
+ constructor() {
4
+ this.options = GlobalGridOptions;
5
+ }
6
+ }
7
7
  //# sourceMappingURL=slickgrid-config.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slickgrid-react",
3
- "version": "2.6.3",
3
+ "version": "3.0.0",
4
4
  "description": "Slickgrid components made available in React",
5
5
  "keywords": [
6
6
  "react",
@@ -76,73 +76,72 @@
76
76
  ]
77
77
  },
78
78
  "dependencies": {
79
- "@slickgrid-universal/common": "~2.6.3",
80
- "@slickgrid-universal/custom-footer-component": "~2.6.3",
81
- "@slickgrid-universal/empty-warning-component": "~2.6.3",
82
- "@slickgrid-universal/event-pub-sub": "~2.6.2",
83
- "@slickgrid-universal/pagination-component": "~2.6.3",
79
+ "@slickgrid-universal/common": "3.0.0",
80
+ "@slickgrid-universal/custom-footer-component": "3.0.0",
81
+ "@slickgrid-universal/empty-warning-component": "3.0.0",
82
+ "@slickgrid-universal/event-pub-sub": "3.0.0",
83
+ "@slickgrid-universal/pagination-component": "3.0.0",
84
84
  "dequal": "^2.0.3",
85
- "dompurify": "^3.0.1",
85
+ "dompurify": "^3.0.3",
86
86
  "font-awesome": "^4.7.0",
87
- "i18next": ">=22.0.0",
88
- "jquery": "^3.6.4",
87
+ "i18next": ">=22.5.0",
89
88
  "moment-mini": "^2.29.4",
90
89
  "regenerator-runtime": "^0.13.11",
91
90
  "sortablejs": "^1.15.0"
92
91
  },
93
92
  "devDependencies": {
94
93
  "@4tw/cypress-drag-drop": "^2.2.3",
95
- "@babel/preset-env": "^7.20.2",
96
- "@babel/preset-react": "^7.18.6",
97
- "@babel/preset-typescript": "^7.21.0",
98
- "@faker-js/faker": "^7.6.0",
94
+ "@babel/preset-env": "^7.22.4",
95
+ "@babel/preset-react": "^7.22.3",
96
+ "@babel/preset-typescript": "^7.21.5",
97
+ "@faker-js/faker": "^8.0.2",
99
98
  "@fnando/sparkline": "^0.3.10",
100
- "@popperjs/core": "^2.11.6",
99
+ "@popperjs/core": "^2.11.8",
101
100
  "@release-it/conventional-changelog": "^5.1.1",
102
- "@slickgrid-universal/composite-editor-component": "~2.6.3",
103
- "@slickgrid-universal/custom-tooltip-plugin": "~2.6.3",
104
- "@slickgrid-universal/excel-export": "~2.6.3",
105
- "@slickgrid-universal/graphql": "~2.6.3",
106
- "@slickgrid-universal/odata": "~2.6.3",
107
- "@slickgrid-universal/rxjs-observable": "~2.6.3",
108
- "@slickgrid-universal/text-export": "~2.6.3",
101
+ "@slickgrid-universal/composite-editor-component": "3.0.0",
102
+ "@slickgrid-universal/custom-tooltip-plugin": "3.0.0",
103
+ "@slickgrid-universal/excel-export": "3.0.0",
104
+ "@slickgrid-universal/graphql": "3.0.0",
105
+ "@slickgrid-universal/odata": "3.0.0",
106
+ "@slickgrid-universal/rxjs-observable": "3.0.0",
107
+ "@slickgrid-universal/text-export": "3.0.0",
109
108
  "@testing-library/jest-dom": "^5.16.5",
110
109
  "@testing-library/react": "^14.0.0",
111
110
  "@testing-library/user-event": "^14.4.3",
112
111
  "@types/bluebird": "^3.5.38",
113
- "@types/dompurify": "^3.0.0",
112
+ "@types/dompurify": "^3.0.2",
114
113
  "@types/flatpickr": "^3.1.2",
115
114
  "@types/fnando__sparkline": "^0.3.4",
116
115
  "@types/i18next-xhr-backend": "^1.4.2",
117
- "@types/jest": "^29.5.0",
118
- "@types/jquery": "^3.5.16",
119
- "@types/node": "^18.15.5",
120
- "@types/react": "^18.0.28",
121
- "@types/react-dom": "^18.0.11",
116
+ "@types/jest": "^29.5.1",
117
+ "@types/node": "^18.16.16",
118
+ "@types/react": "^18.2.7",
119
+ "@types/react-dom": "^18.2.4",
122
120
  "@types/sortablejs": "^1.15.1",
123
121
  "@types/text-encoding-utf-8": "^1.0.2",
124
- "@types/webpack": "^5.28.0",
125
- "@typescript-eslint/eslint-plugin": "^5.56.0",
126
- "@typescript-eslint/parser": "^5.56.0",
127
- "@webpack-cli/serve": "^2.0.1",
122
+ "@types/webpack": "^5.28.1",
123
+ "@typescript-eslint/eslint-plugin": "^5.59.8",
124
+ "@typescript-eslint/parser": "^5.59.8",
125
+ "@webpack-cli/serve": "^2.0.4",
128
126
  "babel-loader": "^9.1.2",
129
127
  "bootstrap": "^5.2.3",
130
128
  "clean-webpack-plugin": "^4.0.0",
131
- "concurrently": "^7.6.0",
129
+ "concurrently": "^8.0.1",
132
130
  "copy-webpack-plugin": "^11.0.0",
133
131
  "copyfiles": "^2.4.1",
134
132
  "cross-env": "^7.0.3",
135
- "css-loader": "^6.7.3",
133
+ "css-loader": "^6.8.1",
136
134
  "custom-event-polyfill": "^1.0.7",
137
- "cypress": "^12.8.1",
138
- "eslint": "^8.36.0",
135
+ "cypress": "^12.13.0",
136
+ "eslint": "^8.41.0",
139
137
  "eslint-plugin-import": "^2.27.5",
140
138
  "eslint-plugin-prefer-arrow": "^1.2.3",
139
+ "fetch-jsonp": "^1.2.3",
141
140
  "file-loader": "6.2.0",
142
141
  "font-awesome": "^4.7.0",
143
142
  "html-loader": "4.2.0",
144
- "html-webpack-plugin": "5.5.0",
145
- "i18next-http-backend": "^2.2.0",
143
+ "html-webpack-plugin": "5.5.1",
144
+ "i18next-http-backend": "^2.2.1",
146
145
  "isomorphic-fetch": "^3.0.0",
147
146
  "istanbul-instrumenter-loader": "^3.0.1",
148
147
  "jest": "^29.5.0",
@@ -150,37 +149,37 @@
150
149
  "jest-environment-jsdom": "^29.5.0",
151
150
  "jest-extended": "^3.2.4",
152
151
  "jsdom-global": "^3.0.2",
153
- "mini-css-extract-plugin": "^2.7.5",
154
- "minimatch": "^7.4.3",
152
+ "mini-css-extract-plugin": "^2.7.6",
153
+ "minimatch": "^9.0.1",
155
154
  "moment-mini": "^2.29.4",
156
155
  "npm-check": "^6.0.1",
157
156
  "npm-run-all": "^4.1.5",
158
157
  "promise-polyfill": "^8.3.0",
159
158
  "react": "^18.2.0",
160
159
  "react-dom": "^18.2.0",
161
- "react-i18next": ">=12.2.0",
160
+ "react-i18next": "^12.3.1",
162
161
  "react-scripts": "^5.0.1",
163
- "react-router-dom": "^6.9.0",
164
- "release-it": "^15.9.1",
162
+ "react-router-dom": "^6.11.2",
163
+ "release-it": "^15.10.3",
165
164
  "require-dir": "^1.2.0",
166
- "rimraf": "^4.4.1",
167
- "rxjs": "^7.8.0",
168
- "sass": "^1.59.3",
169
- "sass-loader": "^13.2.1",
165
+ "rimraf": "^5.0.1",
166
+ "rxjs": "^7.8.1",
167
+ "sass": "^1.62.1",
168
+ "sass-loader": "^13.3.1",
170
169
  "serve": "^14.2.0",
171
- "style-loader": "3.3.2",
172
- "ts-jest": "^29.0.5",
173
- "ts-loader": "^9.4.2",
174
- "typescript": "^4.9.5",
175
- "webpack": "^5.76.3",
176
- "webpack-cli": "^5.0.1",
177
- "webpack-dev-server": "^4.13.1"
170
+ "style-loader": "3.3.3",
171
+ "ts-jest": "^29.1.0",
172
+ "ts-loader": "^9.4.3",
173
+ "typescript": "^5.0.4",
174
+ "webpack": "^5.84.1",
175
+ "webpack-cli": "^5.1.1",
176
+ "webpack-dev-server": "^4.15.0"
178
177
  },
179
178
  "engines": {
180
- "node": ">=v14.17.0",
181
- "npm": ">=6.14.13"
179
+ "node": ">=16.15.0",
180
+ "npm": ">=8.5.0"
182
181
  },
183
182
  "resolutions": {
184
- "caniuse-lite": "1.0.30001469"
183
+ "caniuse-lite": "1.0.30001489"
185
184
  }
186
185
  }
package/tsconfig.json CHANGED
@@ -4,6 +4,7 @@
4
4
  "target": "es2018",
5
5
  "module": "esnext",
6
6
  "sourceMap": true,
7
+ "allowSyntheticDefaultImports": true,
7
8
  "downlevelIteration": true,
8
9
  "emitDecoratorMetadata": true,
9
10
  "experimentalDecorators": true,
@@ -13,7 +14,6 @@
13
14
  "baseUrl": "src",
14
15
  "skipLibCheck": true,
15
16
  "strict": true,
16
- "suppressImplicitAnyIndexErrors": true,
17
17
  "jsx": "react",
18
18
  "lib": [
19
19
  "es2018",