@noraent/nora-datagrid 0.0.265 → 0.0.267

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noraent/nora-datagrid",
3
- "version": "0.0.265",
3
+ "version": "0.0.267",
4
4
  "module": "./dist/nora_datagrid.es.js",
5
5
  "main": "./dist/nora_datagrid.cjs.js",
6
6
  "private": false,
@@ -6613,7 +6613,6 @@ const useMouseEvent = () => {
6613
6613
  gridRef.current.store.state.dataSource[updatedRow.__dataRowindex] = updatedRow;
6614
6614
  store.setState(["state", "dataSource"], updateDataSource, true);
6615
6615
  store.setState(["__reloadRangeRandomKey"], window.crypto.randomUUID());
6616
- console.log("실행", updatedRow);
6617
6616
  return updatedRow;
6618
6617
  } catch (error) {
6619
6618
  console.error("processRowUpdate error:", error);
@@ -7541,7 +7540,6 @@ const VirtualListItem = React__default.memo(
7541
7540
  const columns = gridRef.current.store.state.columns;
7542
7541
  const dataSource = gridRef.current.store.state.dataSource;
7543
7542
  const row = dataSource[item == null ? void 0 : item.__dataRowindex];
7544
- console.log("실행2", row);
7545
7543
  const getItemRange = useCallback(() => {
7546
7544
  const start2 = startColumnIndex;
7547
7545
  let end2 = columnEndIndex;
@@ -111,7 +111,7 @@ export type CellRangeDef = {
111
111
  };
112
112
  export interface CellRangeTempDef extends Partial<CellRangeDef> {
113
113
  }
114
- export interface GridCellPrams extends React.HTMLAttributes<any> {
114
+ export interface GridCellPrams {
115
115
  ref?: React.Ref<any> | undefined;
116
116
  rowRef: React.RefObject<DataGridPrivateDataSourceModel>;
117
117
  column: DataGridPrivateColumnModel;
@@ -120,6 +120,8 @@ export interface GridCellPrams extends React.HTMLAttributes<any> {
120
120
  rowIndex: number;
121
121
  gridRef?: React.RefObject<GirdApi>;
122
122
  loader?: any | undefined | null;
123
+ defaultValue?: string | number | null | undefined;
124
+ autoFocus?: boolean | undefined;
123
125
  }
124
126
  export type GridHeaderPrams = {} & DataGridColumnModelType;
125
127
  export interface GridEditCellPrams<T extends HTMLInputElement = any> extends GridCellPrams {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noraent/nora-datagrid",
3
- "version": "0.0.265",
3
+ "version": "0.0.267",
4
4
  "module": "./dist/nora_datagrid.es.js",
5
5
  "main": "./dist/nora_datagrid.cjs.js",
6
6
  "private": false,