react-table-edit 1.5.14 → 1.5.16

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.
@@ -4,6 +4,8 @@ export interface IFPropsDetail {
4
4
  setColumn: any;
5
5
  openSidebar: boolean;
6
6
  handleSidebar: any;
7
+ resetDefaultColumns?: () => void;
8
+ formatSetting?: any;
7
9
  }
8
10
  declare const SidebarSetColumn: (props: IFPropsDetail) => import("react/jsx-runtime").JSX.Element;
9
11
  export default SidebarSetColumn;
@@ -15,6 +15,7 @@ type IContentColProps = {
15
15
  selectEnable?: boolean;
16
16
  isMulti?: boolean;
17
17
  fieldKey: string;
18
+ zeroVisiable?: boolean;
18
19
  setSelectedRows: (value: any[]) => void;
19
20
  };
20
21
  export declare const RenderContentCol: (props: IContentColProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { Dispatch, SetStateAction } from 'react';
2
2
  import 'react-resizable/css/styles.css';
3
- import { IColumnTable, IFFilterTable, IFOrderTable, IFTableEditFormat } from '../type';
3
+ import { IColumnTable, IFFilterTable, IFOrderTable, IFTableEditFormat } from "../type";
4
4
  type IFDataProps = {
5
5
  idTable: string;
6
6
  selectEnable: boolean;
@@ -21,6 +21,7 @@ type TableViewProps = {
21
21
  updatedByName?: string;
22
22
  value: IFSettingColumns[];
23
23
  };
24
+ zeroVisiable?: boolean;
24
25
  groupSetting?: {
25
26
  client?: boolean;
26
27
  groupColumns: string[];
@@ -12,7 +12,7 @@ export interface KeyHandlerParams {
12
12
  pagingClient?: boolean;
13
13
  totalCount: number;
14
14
  columnLastEdit: number;
15
- addMoveNewCell: () => void;
15
+ moveIndexRowToNewPage: () => void;
16
16
  editDisable?: boolean;
17
17
  addDisable?: boolean;
18
18
  handleDuplicate: () => void;
@@ -22,10 +22,10 @@ export interface KeyHandlerParams {
22
22
  getNewParents: (parent: string, index: number) => string;
23
23
  fieldChildren?: string;
24
24
  }
25
- export declare const handleArrowRight: (e: KeyboardEvent<any>, params: KeyHandlerParams) => void;
26
- export declare const handleArrowLeft: (e: KeyboardEvent<any>, params: KeyHandlerParams) => void;
27
- export declare const handleArrowUp: (e: KeyboardEvent<any>, params: KeyHandlerParams) => void;
28
- export declare const handleArrowDown: (e: KeyboardEvent<any>, params: KeyHandlerParams) => "" | undefined;
29
- export declare const handleTab: (e: KeyboardEvent<any>, params: KeyHandlerParams) => void;
30
- export declare const handleEnter: (e: KeyboardEvent<any>, params: KeyHandlerParams) => "" | undefined;
31
- export declare const handleCtrlD: (e: KeyboardEvent<any>, params: KeyHandlerParams) => void;
25
+ export declare const handleArrowRight: (e: KeyboardEvent<any>, params: KeyHandlerParams) => string | undefined;
26
+ export declare const handleArrowLeft: (e: KeyboardEvent<any>, params: KeyHandlerParams) => string | undefined;
27
+ export declare const handleArrowUp: (e: KeyboardEvent<any>, params: KeyHandlerParams) => string | undefined;
28
+ export declare const handleArrowDown: (e: KeyboardEvent<any>, params: KeyHandlerParams) => string | undefined;
29
+ export declare const handleTab: (e: KeyboardEvent<any>, params: KeyHandlerParams) => string | undefined;
30
+ export declare const handleEnter: (e: KeyboardEvent<any>, params: KeyHandlerParams) => string | undefined;
31
+ export declare const handleCtrlD: (e: KeyboardEvent<any>, params: KeyHandlerParams) => string | undefined;
@@ -169,6 +169,8 @@ export type IColumnTable = {
169
169
  editEnable?: boolean;
170
170
  /** Có hiển thị không */
171
171
  visible?: boolean;
172
+ /** Có cho cho phép điều chỉnh hiển thị không */
173
+ visibleLocked?: boolean;
172
174
  /** Kiểu chỉnh sửa */
173
175
  type?: IColumnType;
174
176
  /** Căn lề */
package/dist/index.d.ts CHANGED
@@ -173,6 +173,8 @@ type IColumnTable = {
173
173
  editEnable?: boolean;
174
174
  /** Có hiển thị không */
175
175
  visible?: boolean;
176
+ /** Có cho cho phép điều chỉnh hiển thị không */
177
+ visibleLocked?: boolean;
176
178
  /** Kiểu chỉnh sửa */
177
179
  type?: IColumnType;
178
180
  /** Căn lề */
@@ -702,6 +704,7 @@ type TableViewProps = {
702
704
  updatedByName?: string;
703
705
  value: IFSettingColumns[];
704
706
  };
707
+ zeroVisiable?: boolean;
705
708
  groupSetting?: {
706
709
  client?: boolean;
707
710
  groupColumns: string[];