react-table-edit 0.5.5 → 0.5.6

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/index.d.mts CHANGED
@@ -3,8 +3,22 @@ import { ReactNode, Dispatch, SetStateAction } from 'react';
3
3
  import { TFunction } from 'react-i18next';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
 
6
+ type IFColumnSelectTable = {
7
+ field: string;
8
+ headerText: string;
9
+ visible?: boolean;
10
+ textAlign?: 'left' | 'right' | 'center';
11
+ type?: 'text' | 'numeric' | 'date' | 'datetime';
12
+ template?: any;
13
+ typeCondition?: any;
14
+ fraction?: number;
15
+ width?: number;
16
+ maxWidth?: number;
17
+ minWidth?: number;
18
+ };
19
+
6
20
  type ITextAlign = 'center' | 'left' | 'right';
7
- type IEditType = 'text' | 'numeric' | 'asyncSelect' | 'datetime' | 'selectMulti' | 'selectTree' | 'date' | 'select' | 'checkbox' | 'form' | 'color';
21
+ type IEditType = 'text' | 'numeric' | 'asyncSelect' | 'datetime' | 'selectMulti' | 'selectTree' | 'date' | 'select' | 'selectTable' | 'checkbox' | 'form' | 'color';
8
22
  type ICommandItem = {
9
23
  id: string;
10
24
  color?: string;
@@ -30,12 +44,15 @@ type ISettingSelectElement = {
30
44
  loadOptions?: any;
31
45
  defaultValue?: any;
32
46
  fieldValue?: string;
47
+ fieldLabel?: string;
33
48
  options?: any[];
34
49
  widthPopup?: string | number;
50
+ heightPopup?: string | number;
35
51
  iconGroup?: string;
36
- handIconGroupClick?: any;
52
+ handAddNew?: any;
37
53
  validateOption?: any;
38
54
  optionsField?: string;
55
+ columns?: IFColumnSelectTable[];
39
56
  };
40
57
  type ISettingNumericElement = {
41
58
  min?: number;
package/dist/index.d.ts CHANGED
@@ -3,8 +3,22 @@ import { ReactNode, Dispatch, SetStateAction } from 'react';
3
3
  import { TFunction } from 'react-i18next';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
 
6
+ type IFColumnSelectTable = {
7
+ field: string;
8
+ headerText: string;
9
+ visible?: boolean;
10
+ textAlign?: 'left' | 'right' | 'center';
11
+ type?: 'text' | 'numeric' | 'date' | 'datetime';
12
+ template?: any;
13
+ typeCondition?: any;
14
+ fraction?: number;
15
+ width?: number;
16
+ maxWidth?: number;
17
+ minWidth?: number;
18
+ };
19
+
6
20
  type ITextAlign = 'center' | 'left' | 'right';
7
- type IEditType = 'text' | 'numeric' | 'asyncSelect' | 'datetime' | 'selectMulti' | 'selectTree' | 'date' | 'select' | 'checkbox' | 'form' | 'color';
21
+ type IEditType = 'text' | 'numeric' | 'asyncSelect' | 'datetime' | 'selectMulti' | 'selectTree' | 'date' | 'select' | 'selectTable' | 'checkbox' | 'form' | 'color';
8
22
  type ICommandItem = {
9
23
  id: string;
10
24
  color?: string;
@@ -30,12 +44,15 @@ type ISettingSelectElement = {
30
44
  loadOptions?: any;
31
45
  defaultValue?: any;
32
46
  fieldValue?: string;
47
+ fieldLabel?: string;
33
48
  options?: any[];
34
49
  widthPopup?: string | number;
50
+ heightPopup?: string | number;
35
51
  iconGroup?: string;
36
- handIconGroupClick?: any;
52
+ handAddNew?: any;
37
53
  validateOption?: any;
38
54
  optionsField?: string;
55
+ columns?: IFColumnSelectTable[];
39
56
  };
40
57
  type ISettingNumericElement = {
41
58
  min?: number;