@noraent/nora-datagrid 1.1.0-beta.3 → 1.1.0-beta.5
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/dist/DataGrid.d.ts +2 -2
- package/dist/buildPackage.json +87 -1
- package/dist/common/constants/index.d.ts +2 -2
- package/dist/common/constants/utils.d.ts +1 -1
- package/dist/common/foundation/palette.d.ts +1 -1
- package/dist/common/foundation/scale/color/index.d.ts +1 -1
- package/dist/common/foundation/scale/index.d.ts +2 -2
- package/dist/common/foundation/scale/layout/index.d.ts +1 -1
- package/dist/common/styled/assets/components/index.d.ts +1 -1
- package/dist/common/styled/assets/components/loading/Loading.d.ts +1 -1
- package/dist/common/styled/assets/index.d.ts +1 -1
- package/dist/common/styled/index.d.ts +10 -10
- package/dist/components/GridBasicRows.d.ts +1 -1
- package/dist/components/NoraDataGrid.d.ts +2 -3
- package/dist/components/TwoDimensionalVirtualizedList.d.ts +2 -2
- package/dist/components/body/NoDataComponent.d.ts +1 -1
- package/dist/components/body/_styled/index.d.ts +6 -6
- package/dist/components/cell/CellMode.d.ts +1 -1
- package/dist/components/cell/Checkbox.d.ts +1 -1
- package/dist/components/cell/CheckboxAll.d.ts +1 -1
- package/dist/components/cell/_styled/index.d.ts +2 -2
- package/dist/components/header/VirtualHorizontalHeader.d.ts +2 -2
- package/dist/components/ime/IMEComponent.d.ts +1 -1
- package/dist/components/virtualized/_components/RenderHeader.d.ts +1 -1
- package/dist/components/virtualized/_components/VirtualHeader.d.ts +3 -3
- package/dist/components/virtualized/_hooks/useGridVirtualScroller.d.ts +1 -1
- package/dist/components/virtualized/_styled/index.d.ts +16 -16
- package/dist/components/virtualized/_styled/virtualScrollerStyled.d.ts +4 -4
- package/dist/hooks/external/usePublicTest.d.ts +2 -2
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/internal/useCellRange.d.ts +1 -1
- package/dist/hooks/internal/useInternalPrivateApi.d.ts +2 -2
- package/dist/hooks/useGridApiContext.d.ts +1 -1
- package/dist/hooks/useGridApiMethod.d.ts +2 -2
- package/dist/hooks/useGridApiRef.d.ts +2 -2
- package/dist/hooks/useGridInitialization.d.ts +2 -2
- package/dist/hooks/useMouseEvent.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/nora_datagrid.cjs.js +7 -0
- package/dist/nora_datagrid.es.js +11525 -0
- package/dist/provider/GridApiContext.d.ts +1 -1
- package/dist/provider/GridStoreContent.d.ts +2 -2
- package/dist/provider/ThemeProvider.d.ts +3 -3
- package/dist/types/classes/index.d.ts +1 -1
- package/dist/types/dataGridCoreProps.d.ts +3 -3
- package/dist/types/dataGridProps.d.ts +4 -4
- package/dist/types/index.d.ts +8 -8
- package/dist/types/license/handleVerify.d.ts +1 -1
- package/dist/types/license/verifyLicense.d.ts +1 -1
- package/dist/types/palette.d.ts +1 -1
- package/dist/vite.svg +1 -0
- package/package.json +1 -1
- package/dist/App.js +0 -298
- package/dist/DataGrid.js +0 -193
- package/dist/common/constants/defaultProps.js +0 -4
- package/dist/common/constants/index.js +0 -2
- package/dist/common/constants/path.js +0 -45
- package/dist/common/constants/useEnhancedEffect/index.js +0 -1
- package/dist/common/constants/useEnhancedEffect/useEnhancedEffect.js +0 -3
- package/dist/common/constants/useEventCallback.js +0 -12
- package/dist/common/constants/utils.js +0 -208
- package/dist/common/foundation/index.js +0 -4
- package/dist/common/foundation/palette.js +0 -198
- package/dist/common/foundation/scale/color/color.js +0 -46
- package/dist/common/foundation/scale/color/index.js +0 -1
- package/dist/common/foundation/scale/index.js +0 -2
- package/dist/common/foundation/scale/layout/breakpoints.js +0 -6
- package/dist/common/foundation/scale/layout/index.js +0 -1
- package/dist/common/foundation/scale/layout/size.js +0 -7
- package/dist/common/styled/assets/components/index.js +0 -1
- package/dist/common/styled/assets/components/loading/Loading.js +0 -2
- package/dist/common/styled/assets/index.js +0 -1
- package/dist/common/styled/index.js +0 -72
- package/dist/components/GridBasicRows.js +0 -88
- package/dist/components/NoraDataGrid.js +0 -191
- package/dist/components/TwoDimensionalVirtualizedList.js +0 -654
- package/dist/components/body/NoDataComponent.js +0 -25
- package/dist/components/body/_styled/index.js +0 -27
- package/dist/components/cell/CellMode.js +0 -70
- package/dist/components/cell/Checkbox.js +0 -48
- package/dist/components/cell/CheckboxAll.js +0 -47
- package/dist/components/cell/_styled/index.js +0 -8
- package/dist/components/header/VirtualHorizontalHeader.js +0 -24
- package/dist/components/ime/IMEComponent.js +0 -145
- package/dist/components/virtualized/_components/GridVirtualScroller.js +0 -19
- package/dist/components/virtualized/_components/RenderHeader.js +0 -7
- package/dist/components/virtualized/_components/VirtualHeader.js +0 -131
- package/dist/components/virtualized/_constants/virtualHeaderConstants.js +0 -1
- package/dist/components/virtualized/_hooks/useGridVirtualScroller.js +0 -115
- package/dist/components/virtualized/_styled/index.js +0 -339
- package/dist/components/virtualized/_styled/virtualScrollerStyled.js +0 -20
- package/dist/hooks/external/usePublicTest.js +0 -125
- package/dist/hooks/index.js +0 -2
- package/dist/hooks/internal/useCellRange.js +0 -275
- package/dist/hooks/internal/useInternalPrivateApi.js +0 -330
- package/dist/hooks/useGridApiContext.js +0 -10
- package/dist/hooks/useGridApiMethod.js +0 -23
- package/dist/hooks/useGridApiRef.js +0 -6
- package/dist/hooks/useGridInitialization.js +0 -101
- package/dist/hooks/useMouseEvent.js +0 -342
- package/dist/index.js +0 -3
- package/dist/packageInfo.js +0 -2
- package/dist/provider/GridApiContext.js +0 -5
- package/dist/provider/GridStoreContent.js +0 -69
- package/dist/provider/ThemeProvider.js +0 -20
- package/dist/provider/store.js +0 -28
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/types/classes/index.js +0 -1
- package/dist/types/classes/styled.js +0 -80
- package/dist/types/dataGridCoreEnum.js +0 -7
- package/dist/types/dataGridCoreProps.js +0 -1
- package/dist/types/dataGridProps.js +0 -43
- package/dist/types/index.js +0 -4
- package/dist/types/license/handleVerify.js +0 -19
- package/dist/types/license/licenseInfo.js +0 -39
- package/dist/types/license/verifyLicense.js +0 -124
- package/dist/types/palette.js +0 -1
package/dist/DataGrid.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
+
import { DataGridBasicPropsModel } from './types/dataGridProps';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
export declare const DataGrid: React.NamedExoticComponent<import("./types/dataGridCoreProps").DeepOmitStartsWith<Pick<DataGridBasicPropsModel, "columns" | "dataSource">, "__"> & Partial<import("./types/dataGridProps").DataGridOptionPropsModel> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
+
export declare const DataGrid: React.NamedExoticComponent<import('./types/dataGridCoreProps').DeepOmitStartsWith<Pick<DataGridBasicPropsModel, "columns" | "dataSource">, "__"> & Partial<import('./types/dataGridProps').DataGridOptionPropsModel> & React.RefAttributes<HTMLDivElement>>;
|
package/dist/buildPackage.json
CHANGED
|
@@ -1,3 +1,89 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
2
|
+
"name": "@noraent/nora-datagrid",
|
|
3
|
+
"version": "1.1.0-beta.5",
|
|
4
|
+
"module": "./dist/nora_datagrid.es.js",
|
|
5
|
+
"main": "./dist/nora_datagrid.cjs.js",
|
|
6
|
+
"private": false,
|
|
7
|
+
"files": [
|
|
8
|
+
"dist/"
|
|
9
|
+
],
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/nora_datagrid.es.js",
|
|
14
|
+
"require": "./dist/nora_datagrid.cjs.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"type": "module",
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"scripts": {
|
|
20
|
+
"start": "vite --mode on-local",
|
|
21
|
+
"build:local": "tsc -b && vite build --mode on-local",
|
|
22
|
+
"build:dev": "tsc -b && vite build --mode dev",
|
|
23
|
+
"build:production": "tsc -b && vite build --mode production",
|
|
24
|
+
"clean": "pnpm run clean:build && rimraf ./node_modules",
|
|
25
|
+
"clean:build": "rimraf ./dist",
|
|
26
|
+
"lint": "eslint .",
|
|
27
|
+
"preview": "vite preview",
|
|
28
|
+
"test": "jest",
|
|
29
|
+
"tsc-build": "tsc -p tsconfig-esm.json && tsc -p tsconfig-cjs.json && npm run vite-build && npm run copy-scss",
|
|
30
|
+
"vite-build": "tsc -b && vite build --mode production",
|
|
31
|
+
"publish:npm": "rm -rf dist && mkdir dist && npm run vite-build && npm run copy-package",
|
|
32
|
+
"copy-package": "cp package.json dist/buildPackage.json && cp package.json lib/cjs/buildPackage.json&& cp package.json lib/esm/buildPackage.json ",
|
|
33
|
+
"copy-scss": "cpx \"src/**/*.scss\" lib/cjs && cpx \"src/**/*.scss\" lib/esm"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@emotion/css": "^11.13.5",
|
|
37
|
+
"@noraent/nora-datagrid": "file:",
|
|
38
|
+
"jose": "^6.1.0",
|
|
39
|
+
"lodash": "^4.17.21",
|
|
40
|
+
"rimraf": "^6.0.1",
|
|
41
|
+
"sass-embedded": "^1.87.0"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"@emotion/react": "^11.14.0",
|
|
45
|
+
"@emotion/styled": "^11.14.0",
|
|
46
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
47
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@mui/material": "^7.3.4",
|
|
51
|
+
"@babel/cli": "^7.27.2",
|
|
52
|
+
"@babel/preset-react": "^7.27.1",
|
|
53
|
+
"@eslint/js": "^9.9.0",
|
|
54
|
+
"@types/lodash": "^4.17.16",
|
|
55
|
+
"@types/node": "^22.15.14",
|
|
56
|
+
"@types/react": "^19.0.0",
|
|
57
|
+
"@types/react-dom": "^19.0.0",
|
|
58
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
59
|
+
"cpx": "^1.5.0",
|
|
60
|
+
"eslint": "^9.9.0",
|
|
61
|
+
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
|
|
62
|
+
"eslint-plugin-react-refresh": "^0.4.9",
|
|
63
|
+
"globals": "^15.9.0",
|
|
64
|
+
"react": "^19.0.0",
|
|
65
|
+
"react-dom": "^19.0.0",
|
|
66
|
+
"terser": "^5.39.0",
|
|
67
|
+
"typescript": "~5.8.3",
|
|
68
|
+
"typescript-eslint": "^8.24.1",
|
|
69
|
+
"vite": "^6.2.0",
|
|
70
|
+
"vite-plugin-dts": "^4.5.3",
|
|
71
|
+
"vite-plugin-svgr": "^4.3.0",
|
|
72
|
+
"vite-tsconfig-paths": "^5.1.4"
|
|
73
|
+
},
|
|
74
|
+
"peerDependenciesMeta": {
|
|
75
|
+
"@emotion/react": {
|
|
76
|
+
"optional": true
|
|
77
|
+
},
|
|
78
|
+
"@emotion/styled": {
|
|
79
|
+
"optional": true
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"babel": {
|
|
83
|
+
"presets": [
|
|
84
|
+
"@babel/preset-env",
|
|
85
|
+
"@babel/preset-react"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
"packageManager": "pnpm@10.6.5+sha512.cdf928fca20832cd59ec53826492b7dc25dc524d4370b6b4adbf65803d32efaa6c1c88147c0ae4e8d579a6c9eec715757b50d4fa35eea179d868eada4ed043af"
|
|
3
89
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './defaultProps';
|
|
2
|
+
export * from './useEventCallback';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorMode, ComponentColors, DeepRequired, GridTheme, GridThemeOptions } from
|
|
1
|
+
import { ColorMode, ComponentColors, DeepRequired, GridTheme, GridThemeOptions } from '../../types/palette';
|
|
2
2
|
declare const lightPalette: GridTheme["palette"];
|
|
3
3
|
declare const darkPalette: GridTheme["palette"];
|
|
4
4
|
declare const darkCustomVars: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './color';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * as layout from
|
|
2
|
-
export * as color from
|
|
1
|
+
export * as layout from './layout';
|
|
2
|
+
export * as color from './color';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './size';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './loading/Loading';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import Loading from
|
|
1
|
+
import { default as Loading } from '../../svg/loading/Loading.svg?react';
|
|
2
2
|
export { Loading as LoadingSvg };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './components';
|
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
* 가이드가 아니므로 참고용으로만 활용해 주세요.
|
|
6
6
|
* 디자인 시스템을 개발할경우 색상이나 사이즈 처리 등 가이드로 사용하기에는 다소 부족한 부분이 있을 수 있습니다. 부득이하게 개발이 필요한 경우 해당부분을 고려하여 개발 해주세요.
|
|
7
7
|
*/
|
|
8
|
-
export declare const StyledButton: import(
|
|
9
|
-
ref?: import(
|
|
8
|
+
export declare const StyledButton: import('@emotion/styled').StyledComponent<any, {}, {
|
|
9
|
+
ref?: import('react').Ref<any> | undefined;
|
|
10
10
|
}>;
|
|
11
|
-
export declare const StyledSubTitle: import(
|
|
12
|
-
ref?: import(
|
|
11
|
+
export declare const StyledSubTitle: import('@emotion/styled').StyledComponent<any, {}, {
|
|
12
|
+
ref?: import('react').Ref<any> | undefined;
|
|
13
13
|
}>;
|
|
14
|
-
export declare const StyledNoneContent: import(
|
|
15
|
-
ref?: import(
|
|
14
|
+
export declare const StyledNoneContent: import('@emotion/styled').StyledComponent<any, {}, {
|
|
15
|
+
ref?: import('react').Ref<any> | undefined;
|
|
16
16
|
}>;
|
|
17
|
-
export declare const Typography: import(
|
|
18
|
-
ref?: import(
|
|
17
|
+
export declare const Typography: import('@emotion/styled').StyledComponent<any, {}, {
|
|
18
|
+
ref?: import('react').Ref<any> | undefined;
|
|
19
19
|
}>;
|
|
20
|
-
export declare const Spinner: import(
|
|
21
|
-
ref?: import(
|
|
20
|
+
export declare const Spinner: import('@emotion/styled').StyledComponent<any, {}, {
|
|
21
|
+
ref?: import('react').Ref<any> | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
export declare const spin: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import { Interpolation, Theme } from "@emotion/react";
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { Interpolation, Theme } from '@emotion/react';
|
|
4
3
|
export declare const NoraDataGrid: React.ForwardRefExoticComponent<NoraDataGridMainProps & React.RefAttributes<HTMLDivElement>> & {
|
|
5
4
|
Title: typeof NoraDataGridTitle;
|
|
6
5
|
Body: React.ForwardRefExoticComponent<NoraDataGridMainProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { DataGridPrivateColumnModel, DataGridPrivateDataSourceModel } from
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { DataGridPrivateColumnModel, DataGridPrivateDataSourceModel } from '../types/dataGridCoreProps';
|
|
3
3
|
export declare const initialWindowHeight = 500;
|
|
4
4
|
export declare const VirtualItem: React.MemoExoticComponent<({ column, row, rowIndex, }: {
|
|
5
5
|
column: DataGridPrivateColumnModel;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('react').MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
|
|
2
2
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const NoDataContent: import(
|
|
2
|
-
ref?: import(
|
|
1
|
+
export declare const NoDataContent: import('@emotion/styled').StyledComponent<any, {}, {
|
|
2
|
+
ref?: import('react').Ref<any> | undefined;
|
|
3
3
|
}>;
|
|
4
|
-
export declare const NoDataTitle: import(
|
|
5
|
-
ref?: import(
|
|
4
|
+
export declare const NoDataTitle: import('@emotion/styled').StyledComponent<any, {}, {
|
|
5
|
+
ref?: import('react').Ref<any> | undefined;
|
|
6
6
|
}>;
|
|
7
|
-
export declare const ErrorIconBox: import(
|
|
8
|
-
ref?: import(
|
|
7
|
+
export declare const ErrorIconBox: import('@emotion/styled').StyledComponent<any, {}, {
|
|
8
|
+
ref?: import('react').Ref<any> | undefined;
|
|
9
9
|
}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const CheckboxCon: import(
|
|
2
|
-
ref?: import(
|
|
1
|
+
export declare const CheckboxCon: import('@emotion/styled').StyledComponent<any, {}, {
|
|
2
|
+
ref?: import('react').Ref<any> | undefined;
|
|
3
3
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VirtualHeaderProps } from
|
|
2
|
-
declare const _default: import(
|
|
1
|
+
import { VirtualHeaderProps } from '../virtualized/_constants/virtualHeaderConstants';
|
|
2
|
+
declare const _default: import('react').MemoExoticComponent<(props: VirtualHeaderProps & {
|
|
3
3
|
offsetLeft: number;
|
|
4
4
|
}) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DataGridColumnModelType } from
|
|
1
|
+
import { DataGridColumnModelType } from '../../../types/dataGridCoreProps';
|
|
2
2
|
declare const RenderHeader: (props: DataGridColumnModelType) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default RenderHeader;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { VirtualHeaderProps } from
|
|
3
|
-
import { DataGridDataSource, GridSortModel } from
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { VirtualHeaderProps } from '../_constants/virtualHeaderConstants';
|
|
3
|
+
import { DataGridDataSource, GridSortModel } from '../../../types/dataGridCoreProps';
|
|
4
4
|
declare const VirtualHeader: React.FC<VirtualHeaderProps>;
|
|
5
5
|
export declare const sorting: (dataSource: DataGridDataSource, newSort: GridSortModel) => {
|
|
6
6
|
__ariaRowindex: number;
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
export declare const RawTableRow: import(
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const RawTableRow: import('@emotion/styled').StyledComponent<any, {}, {
|
|
3
3
|
ref?: React.Ref<any> | undefined;
|
|
4
4
|
}>;
|
|
5
5
|
export declare const TableRow: React.NamedExoticComponent<any>;
|
|
6
|
-
export declare const Skeleton: import(
|
|
6
|
+
export declare const Skeleton: import('@emotion/styled').StyledComponent<any, {}, {
|
|
7
7
|
ref?: React.Ref<any> | undefined;
|
|
8
8
|
}>;
|
|
9
|
-
export declare const TableBody: import(
|
|
9
|
+
export declare const TableBody: import('@emotion/styled').StyledComponent<any, {}, {
|
|
10
10
|
ref?: React.Ref<any> | undefined;
|
|
11
11
|
}>;
|
|
12
|
-
export declare const TableCell: import(
|
|
12
|
+
export declare const TableCell: import('@emotion/styled').StyledComponent<any, {}, {
|
|
13
13
|
ref?: React.Ref<any> | undefined;
|
|
14
14
|
}>;
|
|
15
|
-
export declare const Input: import(
|
|
15
|
+
export declare const Input: import('@emotion/styled').StyledComponent<any, {}, {
|
|
16
16
|
ref?: React.Ref<any> | undefined;
|
|
17
17
|
}>;
|
|
18
|
-
export declare const TableHeaderRoot: import(
|
|
18
|
+
export declare const TableHeaderRoot: import('@emotion/styled').StyledComponent<any, {}, {
|
|
19
19
|
ref?: React.Ref<any> | undefined;
|
|
20
20
|
}>;
|
|
21
|
-
export declare const ResizeBox: import(
|
|
21
|
+
export declare const ResizeBox: import('@emotion/styled').StyledComponent<any, {}, {
|
|
22
22
|
ref?: React.Ref<any> | undefined;
|
|
23
23
|
}>;
|
|
24
|
-
export declare const RightScrollBar: import(
|
|
24
|
+
export declare const RightScrollBar: import('@emotion/styled').StyledComponent<any, {}, {
|
|
25
25
|
ref?: React.Ref<any> | undefined;
|
|
26
26
|
}>;
|
|
27
|
-
export declare const BottomScrollBar: import(
|
|
27
|
+
export declare const BottomScrollBar: import('@emotion/styled').StyledComponent<any, {}, {
|
|
28
28
|
ref?: React.Ref<any> | undefined;
|
|
29
29
|
}>;
|
|
30
|
-
export declare const HeaderStyled: import(
|
|
30
|
+
export declare const HeaderStyled: import('@emotion/styled').StyledComponent<any, {}, {
|
|
31
31
|
ref?: React.Ref<any> | undefined;
|
|
32
32
|
}>;
|
|
33
|
-
export declare const SortContentStyled: import(
|
|
33
|
+
export declare const SortContentStyled: import('@emotion/styled').StyledComponent<any, {}, {
|
|
34
34
|
ref?: React.Ref<any> | undefined;
|
|
35
35
|
}>;
|
|
36
|
-
export declare const SortButton: import(
|
|
36
|
+
export declare const SortButton: import('@emotion/styled').StyledComponent<any, {}, {
|
|
37
37
|
ref?: React.Ref<any> | undefined;
|
|
38
38
|
}>;
|
|
39
|
-
export declare const NoraDataGridStyled: import(
|
|
39
|
+
export declare const NoraDataGridStyled: import('@emotion/styled').StyledComponent<any, {}, {
|
|
40
40
|
ref?: React.Ref<any> | undefined;
|
|
41
41
|
}>;
|
|
42
|
-
export declare const NoraDataGridBodyStyled: import(
|
|
42
|
+
export declare const NoraDataGridBodyStyled: import('@emotion/styled').StyledComponent<any, {}, {
|
|
43
43
|
ref?: React.Ref<any> | undefined;
|
|
44
44
|
}>;
|
|
45
|
-
export declare const WatermarStyled: import(
|
|
45
|
+
export declare const WatermarStyled: import('@emotion/styled').StyledComponent<any, {}, {
|
|
46
46
|
ref?: React.Ref<any> | undefined;
|
|
47
47
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const Scroller: import(
|
|
2
|
-
ref?: import(
|
|
1
|
+
export declare const Scroller: import('@emotion/styled').StyledComponent<any, {}, {
|
|
2
|
+
ref?: import('react').Ref<any> | undefined;
|
|
3
3
|
}>;
|
|
4
|
-
export declare const RenderZone: import(
|
|
5
|
-
ref?: import(
|
|
4
|
+
export declare const RenderZone: import('@emotion/styled').StyledComponent<any, {}, {
|
|
5
|
+
ref?: import('react').Ref<any> | undefined;
|
|
6
6
|
}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { DataGridPrivateApi, GirdApiCommon } from
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { DataGridPrivateApi, GirdApiCommon } from '../../types/dataGridProps';
|
|
3
3
|
export default function usePublicTest(apiRef: React.MutableRefObject<GirdApiCommon<DataGridPrivateApi>>): void;
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { useGridApiRef } from
|
|
2
|
-
export { type GridHeaderPrams, type GridCellPrams } from
|
|
3
|
-
export { useMouseEvent } from
|
|
1
|
+
export { useGridApiRef } from './useGridApiRef';
|
|
2
|
+
export { type GridHeaderPrams, type GridCellPrams } from '../types/dataGridCoreProps';
|
|
3
|
+
export { useMouseEvent } from './useMouseEvent';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { DataGridPrivateApi, GirdApiCommon } from
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { DataGridPrivateApi, GirdApiCommon } from '../../types/dataGridProps';
|
|
3
3
|
export default function useInternalPrivateApi(apiRef: React.MutableRefObject<GirdApiCommon<DataGridPrivateApi>>): {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { DataGridPrivateApi, GirdApiCommon } from '../types/dataGridProps';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import { DataGridPrivateApi, GirdApiCommon } from "../types/dataGridProps";
|
|
3
3
|
declare function useGridApiContext(): React.MutableRefObject<GirdApiCommon<DataGridPrivateApi>>;
|
|
4
4
|
export default useGridApiContext;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { DataGridPrivateApi, DataGridPublicApi, GirdApiCommon, Visibility } from
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { DataGridPrivateApi, DataGridPublicApi, GirdApiCommon, Visibility } from '../types/dataGridProps';
|
|
3
3
|
/**
|
|
4
4
|
* 객체나 함수를 등록하고 나중에 호출하거나 참조할 때 사용합니다.
|
|
5
5
|
* @private
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import DataGridBasicProps,
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { default as DataGridBasicProps, DataGridPrivateApiModel, GirdApiCommon } from '../types/dataGridProps';
|
|
3
3
|
export declare function useAddApi(ref: React.RefObject<GirdApiCommon<DataGridPrivateApiModel>>): void;
|
|
4
4
|
export declare function useGridInitialization(apiRef: DataGridBasicProps["gridRef"], props: DataGridBasicProps): React.MutableRefObject<GirdApiCommon<DataGridPrivateApiModel>>;
|
|
@@ -11,7 +11,7 @@ export declare const useMouseEvent: () => {
|
|
|
11
11
|
id: string;
|
|
12
12
|
field: string;
|
|
13
13
|
} | null) => void;
|
|
14
|
-
handleProcessRowUpdateEvent: (targetRowId?: string) => Promise<import(
|
|
14
|
+
handleProcessRowUpdateEvent: (targetRowId?: string) => Promise<import('../types/dataGridCoreProps').DataGridPrivateDataSourceModel | undefined>;
|
|
15
15
|
getNextArrowEvent: (event: KeyboardEvent) => {
|
|
16
16
|
nextRowId?: string;
|
|
17
17
|
nextColField?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './DataGrid';
|
|
2
|
+
export * from './hooks';
|
|
3
|
+
export * from './types';
|