jb-grid 0.0.1 → 0.0.2
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 +5 -2
- package/react/dist/{web-component/jb-grid/react/lib/Components → Components}/Cell.d.ts +10 -10
- package/react/dist/{web-component/jb-grid/react/lib/Components → Components}/ExpandRow.d.ts +11 -11
- package/react/dist/{web-component/jb-grid/react/lib/Components → Components}/JBLoading.d.ts +6 -6
- package/react/dist/{web-component/jb-grid/react/lib/Components → Components}/Row.d.ts +5 -5
- package/react/dist/{web-component/jb-grid/react/lib/Components → Components}/content-error/ContentError.d.ts +10 -10
- package/react/dist/{web-component/jb-grid/react/lib/Content.d.ts → Content.d.ts} +16 -16
- package/react/dist/{web-component/jb-grid/react/lib/Footer.d.ts → Footer.d.ts} +9 -9
- package/react/dist/{web-component/jb-grid/react/lib/Header.d.ts → Header.d.ts} +22 -22
- package/react/dist/JBGrid.cjs.js +2 -17989
- package/react/dist/JBGrid.cjs.js.map +1 -1
- package/react/dist/{web-component/jb-grid/react/lib/JBGrid.d.ts → JBGrid.d.ts} +25 -24
- package/react/dist/JBGrid.js +2 -17983
- package/react/dist/JBGrid.js.map +1 -1
- package/react/dist/JBGrid.umd.js +2 -17989
- package/react/dist/JBGrid.umd.js.map +1 -1
- package/react/dist/{web-component/jb-grid/react/lib/JBGridData.d.ts → JBGridData.d.ts} +16 -16
- package/react/dist/{web-component/jb-grid/react/lib/JBGridViewModel.d.ts → JBGridViewModel.d.ts} +70 -71
- package/react/dist/{web-component/jb-grid/react/lib/Types.d.ts → Types.d.ts} +124 -124
- package/react/dist/{web-component/jb-grid/react/lib/i18n.d.ts → i18n.d.ts} +2 -2
- package/react/lib/Content.tsx +1 -1
- package/react/lib/JBGrid.tsx +6 -6
- package/react/lib/JBGridData.ts +1 -1
- package/react/lib/JBGridViewModel.ts +2 -3
- package/react/lib/i18n.ts +1 -1
- package/react/lib/{Types.ts → types.ts} +1 -1
- package/react/package.json +1 -1
- package/react/tsconfig.json +3 -4
- package/react/dist/common/hooks/use-event.d.ts +0 -3
- package/react/dist/common/hooks/useLazyRef.d.ts +0 -4
- package/react/dist/common/hooks/useMobx.d.ts +0 -4
- package/react/dist/common/scripts/device-detection.d.ts +0 -1
- package/react/dist/common/scripts/persian-helper.d.ts +0 -3
- package/react/dist/web-component/jb-searchbar/types.d.ts +0 -1
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import './JBGrid.scss';
|
|
3
|
-
export { JBGridData } from './JBGridData.js';
|
|
4
|
-
import 'jb-searchbar';
|
|
5
|
-
import { AnyObject, JBGridBridgeClassInterface, JBGridConfig, JBGridI18nConfig, SearchbarConfig } from './
|
|
6
|
-
export { Row } from './Components/Row.js';
|
|
7
|
-
export { Cell } from './Components/Cell.js';
|
|
8
|
-
export { ExpandRow } from './Components/ExpandRow.js';
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import './JBGrid.scss';
|
|
3
|
+
export { JBGridData } from './JBGridData.js';
|
|
4
|
+
import 'jb-searchbar';
|
|
5
|
+
import { AnyObject, JBGridBridgeClassInterface, JBGridConfig, JBGridI18nConfig, SearchbarConfig } from './types.js';
|
|
6
|
+
export { Row } from './Components/Row.js';
|
|
7
|
+
export { Cell } from './Components/Cell.js';
|
|
8
|
+
export { ExpandRow } from './Components/ExpandRow.js';
|
|
9
|
+
export * from './types.js';
|
|
10
|
+
export type Props<T extends AnyObject> = {
|
|
11
|
+
searchbarConfig?: SearchbarConfig | null | undefined;
|
|
12
|
+
config: JBGridConfig<T>;
|
|
13
|
+
bridge: JBGridBridgeClassInterface;
|
|
14
|
+
isFullscreen?: boolean;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
onFullscreenChange?: (isFullscreen: boolean) => void;
|
|
18
|
+
title: string;
|
|
19
|
+
i18n?: JBGridI18nConfig | null | undefined;
|
|
20
|
+
contentError?: ReactNode;
|
|
21
|
+
headerEndComponents?: ReactNode[] | ReactNode;
|
|
22
|
+
children?: React.ReactNode | React.ReactNode[];
|
|
23
|
+
};
|
|
24
|
+
declare function JBGridComponent<T extends AnyObject>(props: Props<T>): React.JSX.Element;
|
|
25
|
+
export declare const JBGrid: typeof JBGridComponent;
|