@adaptabletools/adaptable-react-aggrid 22.0.0-canary.8 → 22.0.0-canary.9
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.
- package/package.json +2 -2
- package/src/components/AdaptableOptionsWizardView.d.ts +1 -1
- package/src/components/AdaptableOptionsWizardView.js +1 -1
- package/src/components/AdaptableProvider.d.ts +1 -1
- package/src/components/AdaptableReact.d.ts +1 -1
- package/src/components/AdaptableReact.js +1 -1
- package/src/components/useAdaptableState.d.ts +1 -1
- package/src/index.d.ts +4 -2
- package/src/index.js +8 -2
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-react-aggrid",
|
|
3
|
-
"version": "22.0.0-canary.
|
|
3
|
+
"version": "22.0.0-canary.9",
|
|
4
4
|
"description": "React version of AdapTable - the powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "contact sales@adaptabletools.com for details",
|
|
7
7
|
"typings": "src/index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"tslib": "^2.8.1",
|
|
10
|
-
"@adaptabletools/adaptable": "22.0.0-canary.
|
|
10
|
+
"@adaptabletools/adaptable": "22.0.0-canary.9"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"ag-grid-enterprise": ">=35.0.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AdaptableWizardView } from '@adaptabletools/adaptable
|
|
2
|
+
import { AdaptableWizardView } from '@adaptabletools/adaptable';
|
|
3
3
|
import AdaptableReact from './AdaptableReact';
|
|
4
4
|
interface AdaptableOptionsWizardViewProps extends React.ComponentProps<typeof AdaptableWizardView> {
|
|
5
5
|
shouldRenderAdaptable?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AdaptableWizardView } from '@adaptabletools/adaptable
|
|
2
|
+
import { AdaptableWizardView } from '@adaptabletools/adaptable';
|
|
3
3
|
import AdaptableReact from './AdaptableReact';
|
|
4
4
|
export const AdaptableOptionsWizardView = (props) => {
|
|
5
5
|
const { shouldRenderAdaptable, adaptableProps, ...adaptableWizardViewProps } = props;
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { AgGridReact } from 'ag-grid-react';
|
|
3
3
|
import { AdaptableReactProps } from './AdaptableReact';
|
|
4
4
|
import { GridApi, GridOptions, Module } from 'ag-grid-enterprise';
|
|
5
|
-
import { AdaptableApi, AdaptableOptions, AdaptableReadyInfo } from '
|
|
5
|
+
import { AdaptableApi, AdaptableOptions, AdaptableReadyInfo } from '@adaptabletools/adaptable';
|
|
6
6
|
declare enum AdaptableAgGridStateTransitions {
|
|
7
7
|
AG_GRID_EMIT_PROPS = "AG_GRID_EMIT_PROPS",
|
|
8
8
|
INITIALIZE_ADAPTABLE = "INITIALIZE_ADAPTABLE",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AdaptableOptions, AdaptableReadyInfo } from '@adaptabletools/adaptable
|
|
2
|
+
import { AdaptableOptions, AdaptableReadyInfo } from '@adaptabletools/adaptable';
|
|
3
3
|
import { GridOptions, Module } from 'ag-grid-enterprise';
|
|
4
4
|
import { RenderAgGridFrameworkComponentResult } from './AdaptableProvider';
|
|
5
5
|
export interface AdaptableReactProps<TData = any> extends React.HTMLProps<HTMLDivElement> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useMemo, useState, useRef, useCallback } from 'react';
|
|
3
3
|
import { ColumnApiModule } from 'ag-grid-enterprise';
|
|
4
|
-
import { _AdaptableAgGrid } from '@adaptabletools/adaptable
|
|
4
|
+
import { _AdaptableAgGrid } from '@adaptabletools/adaptable';
|
|
5
5
|
import { setupFrameworkComponents } from '../setupFrameworkComponents';
|
|
6
6
|
import join from '../utils/join';
|
|
7
7
|
import { useAdaptableAgGridContext, } from './AdaptableProvider';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdaptableApi, AdaptableState, Layout } from '@adaptabletools/adaptable
|
|
1
|
+
import { AdaptableApi, AdaptableState, Layout } from '@adaptabletools/adaptable';
|
|
2
2
|
export declare function useAdaptableApi(): AdaptableApi | null;
|
|
3
3
|
export declare function useAdaptableState(): AdaptableState | null;
|
|
4
4
|
export declare function useAdaptableState<T>(selector: (state: AdaptableState) => T): T | null;
|
package/src/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from '@adaptabletools/adaptable';
|
|
2
|
+
export declare const AdaptableNumberEditor: import("react").ForwardRefExoticComponent<import("@adaptabletools/adaptable").AdaptableNumberCellEditorParams & import("react").RefAttributes<unknown>>;
|
|
3
|
+
export declare const AdaptablePercentageEditor: import("react").ForwardRefExoticComponent<import("@adaptabletools/adaptable").AdaptablePercentageCellEditorParams & import("react").RefAttributes<unknown>>;
|
|
4
|
+
export declare const AdaptableDateEditor: import("react").ForwardRefExoticComponent<import("@adaptabletools/adaptable").AdaptableDateEditorParams & import("react").RefAttributes<unknown>>;
|
|
2
5
|
export { AdaptableOptionsWizardView } from './components/AdaptableOptionsWizardView';
|
|
3
|
-
export * from '@adaptabletools/adaptable/types';
|
|
4
6
|
export { Adaptable } from './components/AdaptableProvider';
|
|
5
7
|
export { Icon } from '@adaptabletools/adaptable/src/components/icons';
|
|
6
8
|
export * from './components/useAdaptableState';
|
package/src/index.js
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
// export { default } from './components/AdaptableReact';
|
|
2
|
-
|
|
2
|
+
import { AdaptableReactDateEditor, AdaptableReactNumberEditor, AdaptableReactPercentageEditor } from '@adaptabletools/adaptable';
|
|
3
|
+
export * from '@adaptabletools/adaptable';
|
|
4
|
+
// we want to shadow the `AdaptableNumberEditor`,
|
|
5
|
+
// `AdaptablePercentageEditor`, and `AdaptableDateEditor` from `@adaptabletools/adaptable`
|
|
6
|
+
// and pass the react variants for those editors
|
|
7
|
+
export const AdaptableNumberEditor = AdaptableReactNumberEditor;
|
|
8
|
+
export const AdaptablePercentageEditor = AdaptableReactPercentageEditor;
|
|
9
|
+
export const AdaptableDateEditor = AdaptableReactDateEditor;
|
|
3
10
|
export { AdaptableOptionsWizardView } from './components/AdaptableOptionsWizardView';
|
|
4
|
-
export * from '@adaptabletools/adaptable/types';
|
|
5
11
|
export { Adaptable } from './components/AdaptableProvider';
|
|
6
12
|
export { Icon } from '@adaptabletools/adaptable/src/components/icons';
|
|
7
13
|
export * from './components/useAdaptableState';
|