react-table-edit 1.5.21 → 1.5.23
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/component/table/data-table.d.ts +0 -1
- package/dist/component/table/gourp-col.d.ts +8 -0
- package/dist/component/table/header.d.ts +2 -0
- package/dist/component/table/setting-column.d.ts +1 -1
- package/dist/component/table-view/content.d.ts +2 -0
- package/dist/component/table-view/index.d.ts +1 -0
- package/dist/component/type/index.d.ts +2 -0
- package/dist/component/utils.d.ts +0 -1
- package/dist/component/wizard/index.d.ts +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +99 -76
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +99 -76
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IColumnTable } from '../type';
|
|
2
|
+
type IFProps = {
|
|
3
|
+
contentColumns: IColumnTable[];
|
|
4
|
+
groupColumns?: string[];
|
|
5
|
+
visibleGroupColumn?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const RenderColGroup: ({ contentColumns, groupColumns, visibleGroupColumn }: IFProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -24,6 +24,8 @@ type IFDataProps = {
|
|
|
24
24
|
container: any;
|
|
25
25
|
optionsFilter: any;
|
|
26
26
|
formatSetting?: IFTableEditFormat;
|
|
27
|
+
groupColumns?: string[];
|
|
28
|
+
visibleGroupColumn?: boolean;
|
|
27
29
|
setColumns?: (columns: IHeaderColumnTable[]) => void;
|
|
28
30
|
changeFilter: (data: IFFilterTable[]) => void;
|
|
29
31
|
setContentColumns: (col: any[]) => void;
|
|
@@ -16,6 +16,8 @@ type IContentColProps = {
|
|
|
16
16
|
isMulti?: boolean;
|
|
17
17
|
fieldKey: string;
|
|
18
18
|
zeroVisiable?: boolean;
|
|
19
|
+
groupColumns?: string[];
|
|
20
|
+
visibleGroupColumn?: boolean;
|
|
19
21
|
setSelectedRows: (value: any[]) => void;
|
|
20
22
|
};
|
|
21
23
|
export declare const RenderContentCol: (props: IContentColProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -151,6 +151,8 @@ export type IColumnTable = {
|
|
|
151
151
|
headerText?: string;
|
|
152
152
|
/** Tiêu đề hiển thị trên giao diện */
|
|
153
153
|
headerDisplay?: string;
|
|
154
|
+
/** Tiêu đề hiển thị trên giao diện nhóm*/
|
|
155
|
+
columnGroupText?: string;
|
|
154
156
|
/** Khóa chính */
|
|
155
157
|
isPrimarykey?: boolean;
|
|
156
158
|
/** Duy nhất trong bảng */
|
|
@@ -41,7 +41,6 @@ export declare const FindNodeByPath: (tree: any[], path: string) => {
|
|
|
41
41
|
export declare const calculateTableStructure: (columns: any[], settingColumns?: IFSettingColumns[]) => {
|
|
42
42
|
levels: any[][];
|
|
43
43
|
flat: any[];
|
|
44
|
-
flatVisble: any[];
|
|
45
44
|
flatVisbleContent: any[];
|
|
46
45
|
objWidthFixLeft: Record<number, number>;
|
|
47
46
|
objWidthFixRight: Record<number, number>;
|
package/dist/index.d.ts
CHANGED
|
@@ -155,6 +155,8 @@ type IColumnTable = {
|
|
|
155
155
|
headerText?: string;
|
|
156
156
|
/** Tiêu đề hiển thị trên giao diện */
|
|
157
157
|
headerDisplay?: string;
|
|
158
|
+
/** Tiêu đề hiển thị trên giao diện nhóm*/
|
|
159
|
+
columnGroupText?: string;
|
|
158
160
|
/** Khóa chính */
|
|
159
161
|
isPrimarykey?: boolean;
|
|
160
162
|
/** Duy nhất trong bảng */
|
|
@@ -709,6 +711,7 @@ type TableViewProps = {
|
|
|
709
711
|
zeroVisiable?: boolean;
|
|
710
712
|
groupSetting?: {
|
|
711
713
|
client?: boolean;
|
|
714
|
+
visibleGroupColumn?: boolean;
|
|
712
715
|
groupColumns: string[];
|
|
713
716
|
onGroup: (props: any) => void;
|
|
714
717
|
};
|
|
@@ -770,7 +773,6 @@ declare const FindNodeByPath: (tree: any[], path: string) => {
|
|
|
770
773
|
declare const calculateTableStructure: (columns: any[], settingColumns?: IFSettingColumns[]) => {
|
|
771
774
|
levels: any[][];
|
|
772
775
|
flat: any[];
|
|
773
|
-
flatVisble: any[];
|
|
774
776
|
flatVisbleContent: any[];
|
|
775
777
|
objWidthFixLeft: Record<number, number>;
|
|
776
778
|
objWidthFixRight: Record<number, number>;
|
|
@@ -795,7 +797,7 @@ type IFSteps = {
|
|
|
795
797
|
done?: boolean;
|
|
796
798
|
loading?: boolean;
|
|
797
799
|
disable?: boolean;
|
|
798
|
-
|
|
800
|
+
visible?: boolean;
|
|
799
801
|
};
|
|
800
802
|
type IFProps = {
|
|
801
803
|
steps: IFSteps[];
|