react-table-edit 1.2.19 → 1.2.21

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.css ADDED
@@ -0,0 +1,66 @@
1
+ /* node_modules/react-resizable/css/styles.css */
2
+ .react-resizable {
3
+ position: relative;
4
+ }
5
+ .react-resizable-handle {
6
+ position: absolute;
7
+ width: 20px;
8
+ height: 20px;
9
+ background-repeat: no-repeat;
10
+ background-origin: content-box;
11
+ box-sizing: border-box;
12
+ background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+);
13
+ background-position: bottom right;
14
+ padding: 0 3px 3px 0;
15
+ }
16
+ .react-resizable-handle-sw {
17
+ bottom: 0;
18
+ left: 0;
19
+ cursor: sw-resize;
20
+ transform: rotate(90deg);
21
+ }
22
+ .react-resizable-handle-se {
23
+ bottom: 0;
24
+ right: 0;
25
+ cursor: se-resize;
26
+ }
27
+ .react-resizable-handle-nw {
28
+ top: 0;
29
+ left: 0;
30
+ cursor: nw-resize;
31
+ transform: rotate(180deg);
32
+ }
33
+ .react-resizable-handle-ne {
34
+ top: 0;
35
+ right: 0;
36
+ cursor: ne-resize;
37
+ transform: rotate(270deg);
38
+ }
39
+ .react-resizable-handle-w,
40
+ .react-resizable-handle-e {
41
+ top: 50%;
42
+ margin-top: -10px;
43
+ cursor: ew-resize;
44
+ }
45
+ .react-resizable-handle-w {
46
+ left: 0;
47
+ transform: rotate(135deg);
48
+ }
49
+ .react-resizable-handle-e {
50
+ right: 0;
51
+ transform: rotate(315deg);
52
+ }
53
+ .react-resizable-handle-n,
54
+ .react-resizable-handle-s {
55
+ left: 50%;
56
+ margin-left: -10px;
57
+ cursor: ns-resize;
58
+ }
59
+ .react-resizable-handle-n {
60
+ top: 0;
61
+ transform: rotate(225deg);
62
+ }
63
+ .react-resizable-handle-s {
64
+ bottom: 0;
65
+ transform: rotate(45deg);
66
+ }
package/dist/index.d.mts CHANGED
@@ -41,6 +41,7 @@ type Props$1 = {
41
41
  rowData?: any;
42
42
  value: any;
43
43
  onKeyDown?: any;
44
+ onOpenMenu?: any;
44
45
  formatOptionLabel?: any;
45
46
  handleAdd?: any;
46
47
  options: any[];
@@ -71,13 +72,13 @@ type ISettingFormElement = {
71
72
  labelSize?: 'label-small' | 'label-medium' | 'label-large';
72
73
  menuWidth?: number;
73
74
  menuHeight?: number;
74
- onFormOpen?: any;
75
- onFormSubmit?: any;
76
75
  displayValue?: any;
77
76
  footerTemplate?: any;
78
- onChangeField?: any;
79
77
  openOnFocus?: boolean;
80
78
  isClearable?: boolean;
79
+ onChangeField?: any;
80
+ onFormOpen?: any;
81
+ onFormSubmit?: any;
81
82
  };
82
83
  type ISettingSelectElement = {
83
84
  isClearable?: boolean;
@@ -100,6 +101,7 @@ type ISettingSelectElement = {
100
101
  validateOption?: any;
101
102
  optionsField?: string;
102
103
  columns?: IFColumnSelectTable[];
104
+ onOpenMenu?: any;
103
105
  };
104
106
  type ISettingNumericElement = {
105
107
  min?: number;
@@ -129,7 +131,6 @@ type IColumnTable = {
129
131
  template?: any;
130
132
  commandItems?: ICommandItem[];
131
133
  editTypeCondition?: any;
132
- onPaste?: any;
133
134
  onPasteValidate?: any;
134
135
  placeholder?: string;
135
136
  numericSettings?: ISettingNumericElement;
@@ -333,6 +334,7 @@ type Props = {
333
334
  showFooter?: boolean;
334
335
  selectChilds?: boolean;
335
336
  formatSetting?: IFTableTreeSelectFormat;
337
+ onOpenMenu?: any;
336
338
  onPaste?: any;
337
339
  };
338
340
  declare const SelectTableTree: react__default.ForwardRefExoticComponent<Props & react__default.RefAttributes<unknown>>;
package/dist/index.d.ts CHANGED
@@ -41,6 +41,7 @@ type Props$1 = {
41
41
  rowData?: any;
42
42
  value: any;
43
43
  onKeyDown?: any;
44
+ onOpenMenu?: any;
44
45
  formatOptionLabel?: any;
45
46
  handleAdd?: any;
46
47
  options: any[];
@@ -71,13 +72,13 @@ type ISettingFormElement = {
71
72
  labelSize?: 'label-small' | 'label-medium' | 'label-large';
72
73
  menuWidth?: number;
73
74
  menuHeight?: number;
74
- onFormOpen?: any;
75
- onFormSubmit?: any;
76
75
  displayValue?: any;
77
76
  footerTemplate?: any;
78
- onChangeField?: any;
79
77
  openOnFocus?: boolean;
80
78
  isClearable?: boolean;
79
+ onChangeField?: any;
80
+ onFormOpen?: any;
81
+ onFormSubmit?: any;
81
82
  };
82
83
  type ISettingSelectElement = {
83
84
  isClearable?: boolean;
@@ -100,6 +101,7 @@ type ISettingSelectElement = {
100
101
  validateOption?: any;
101
102
  optionsField?: string;
102
103
  columns?: IFColumnSelectTable[];
104
+ onOpenMenu?: any;
103
105
  };
104
106
  type ISettingNumericElement = {
105
107
  min?: number;
@@ -129,7 +131,6 @@ type IColumnTable = {
129
131
  template?: any;
130
132
  commandItems?: ICommandItem[];
131
133
  editTypeCondition?: any;
132
- onPaste?: any;
133
134
  onPasteValidate?: any;
134
135
  placeholder?: string;
135
136
  numericSettings?: ISettingNumericElement;
@@ -333,6 +334,7 @@ type Props = {
333
334
  showFooter?: boolean;
334
335
  selectChilds?: boolean;
335
336
  formatSetting?: IFTableTreeSelectFormat;
337
+ onOpenMenu?: any;
336
338
  onPaste?: any;
337
339
  };
338
340
  declare const SelectTableTree: react__default.ForwardRefExoticComponent<Props & react__default.RefAttributes<unknown>>;