react-table-edit 0.6.7 → 0.6.8
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 +16 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.js +378 -341
- package/dist/index.mjs +337 -300
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -41,6 +41,7 @@ type Props = {
|
|
|
41
41
|
isClearable?: boolean;
|
|
42
42
|
isDisabled?: boolean;
|
|
43
43
|
showFooter?: boolean;
|
|
44
|
+
onPaste?: any;
|
|
44
45
|
};
|
|
45
46
|
declare const SelectTable: react.ForwardRefExoticComponent<Props & react.RefAttributes<unknown>>;
|
|
46
47
|
|
|
@@ -108,6 +109,7 @@ type IColumnTable = {
|
|
|
108
109
|
template?: any;
|
|
109
110
|
commandItems?: ICommandItem[];
|
|
110
111
|
editTypeCondition?: any;
|
|
112
|
+
onPaste?: any;
|
|
111
113
|
placeholder?: string;
|
|
112
114
|
numericSettings?: ISettingNumericElement;
|
|
113
115
|
selectSettings?: ISettingSelectElement;
|
|
@@ -186,6 +188,19 @@ type IFCurrentPageConfig = {
|
|
|
186
188
|
type IFRef = {
|
|
187
189
|
refeshFocusRow: any;
|
|
188
190
|
};
|
|
191
|
+
type IHeaderColumnTable = {
|
|
192
|
+
field: string;
|
|
193
|
+
headerText?: string;
|
|
194
|
+
width?: string | number;
|
|
195
|
+
minWidth?: string | number;
|
|
196
|
+
maxWidth?: string | number;
|
|
197
|
+
visible?: boolean;
|
|
198
|
+
rowspan?: number;
|
|
199
|
+
columns?: IColumnTable[];
|
|
200
|
+
textAlign?: ITextAlign;
|
|
201
|
+
fixedType?: 'left' | 'right' | undefined;
|
|
202
|
+
index?: number;
|
|
203
|
+
};
|
|
189
204
|
declare const TableEdit: react.ForwardRefExoticComponent<IFTableEditProps & react.RefAttributes<IFRef>>;
|
|
190
205
|
|
|
191
206
|
type FromItemsField = {
|
|
@@ -237,4 +252,4 @@ type IFDataProps = {
|
|
|
237
252
|
};
|
|
238
253
|
declare const TabsMenuComponent: ({ buttonWidth, tabParent, tabChild, resourceCodeParent, resources, resourceCode, windowSize, renderModal }: IFDataProps) => react_jsx_runtime.JSX.Element;
|
|
239
254
|
|
|
240
|
-
export { type FromItemsField, type IColumnTable, type ICommandItem, type IFColumnSelectTable, type IFCurrentPage, type IFCurrentPageConfig, type IFPageSize, type IFTableEditButton, type IFTableEditPaging, type IFTableEditProps, type IFTableEditSearchSetting, type IFTableEditToolbar, type IFToolbarOptions, type ISettingFormElement, type ISettingNumericElement, type ISettingSelectElement, SelectTable, TabsMenuComponent, TableEdit as default, formartNumberic, generateUUID, isNullOrUndefined, messageBoxConfirm, messageBoxConfirm2, messageBoxConfirmDelete, messageBoxError, messageHtmlBoxConfirm, messageHtmlBoxError, notificationError, notificationSuccess, objSymbolDecimal, objSymbolThousand, roundNumber, useOnClickOutside };
|
|
255
|
+
export { type FromItemsField, type IColumnTable, type ICommandItem, type IFColumnSelectTable, type IFCurrentPage, type IFCurrentPageConfig, type IFPageSize, type IFTableEditButton, type IFTableEditPaging, type IFTableEditProps, type IFTableEditSearchSetting, type IFTableEditToolbar, type IFToolbarOptions, type IHeaderColumnTable, type ISettingFormElement, type ISettingNumericElement, type ISettingSelectElement, SelectTable, TabsMenuComponent, TableEdit as default, formartNumberic, generateUUID, isNullOrUndefined, messageBoxConfirm, messageBoxConfirm2, messageBoxConfirmDelete, messageBoxError, messageHtmlBoxConfirm, messageHtmlBoxError, notificationError, notificationSuccess, objSymbolDecimal, objSymbolThousand, roundNumber, useOnClickOutside };
|
package/dist/index.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ type Props = {
|
|
|
41
41
|
isClearable?: boolean;
|
|
42
42
|
isDisabled?: boolean;
|
|
43
43
|
showFooter?: boolean;
|
|
44
|
+
onPaste?: any;
|
|
44
45
|
};
|
|
45
46
|
declare const SelectTable: react.ForwardRefExoticComponent<Props & react.RefAttributes<unknown>>;
|
|
46
47
|
|
|
@@ -108,6 +109,7 @@ type IColumnTable = {
|
|
|
108
109
|
template?: any;
|
|
109
110
|
commandItems?: ICommandItem[];
|
|
110
111
|
editTypeCondition?: any;
|
|
112
|
+
onPaste?: any;
|
|
111
113
|
placeholder?: string;
|
|
112
114
|
numericSettings?: ISettingNumericElement;
|
|
113
115
|
selectSettings?: ISettingSelectElement;
|
|
@@ -186,6 +188,19 @@ type IFCurrentPageConfig = {
|
|
|
186
188
|
type IFRef = {
|
|
187
189
|
refeshFocusRow: any;
|
|
188
190
|
};
|
|
191
|
+
type IHeaderColumnTable = {
|
|
192
|
+
field: string;
|
|
193
|
+
headerText?: string;
|
|
194
|
+
width?: string | number;
|
|
195
|
+
minWidth?: string | number;
|
|
196
|
+
maxWidth?: string | number;
|
|
197
|
+
visible?: boolean;
|
|
198
|
+
rowspan?: number;
|
|
199
|
+
columns?: IColumnTable[];
|
|
200
|
+
textAlign?: ITextAlign;
|
|
201
|
+
fixedType?: 'left' | 'right' | undefined;
|
|
202
|
+
index?: number;
|
|
203
|
+
};
|
|
189
204
|
declare const TableEdit: react.ForwardRefExoticComponent<IFTableEditProps & react.RefAttributes<IFRef>>;
|
|
190
205
|
|
|
191
206
|
type FromItemsField = {
|
|
@@ -237,4 +252,4 @@ type IFDataProps = {
|
|
|
237
252
|
};
|
|
238
253
|
declare const TabsMenuComponent: ({ buttonWidth, tabParent, tabChild, resourceCodeParent, resources, resourceCode, windowSize, renderModal }: IFDataProps) => react_jsx_runtime.JSX.Element;
|
|
239
254
|
|
|
240
|
-
export { type FromItemsField, type IColumnTable, type ICommandItem, type IFColumnSelectTable, type IFCurrentPage, type IFCurrentPageConfig, type IFPageSize, type IFTableEditButton, type IFTableEditPaging, type IFTableEditProps, type IFTableEditSearchSetting, type IFTableEditToolbar, type IFToolbarOptions, type ISettingFormElement, type ISettingNumericElement, type ISettingSelectElement, SelectTable, TabsMenuComponent, TableEdit as default, formartNumberic, generateUUID, isNullOrUndefined, messageBoxConfirm, messageBoxConfirm2, messageBoxConfirmDelete, messageBoxError, messageHtmlBoxConfirm, messageHtmlBoxError, notificationError, notificationSuccess, objSymbolDecimal, objSymbolThousand, roundNumber, useOnClickOutside };
|
|
255
|
+
export { type FromItemsField, type IColumnTable, type ICommandItem, type IFColumnSelectTable, type IFCurrentPage, type IFCurrentPageConfig, type IFPageSize, type IFTableEditButton, type IFTableEditPaging, type IFTableEditProps, type IFTableEditSearchSetting, type IFTableEditToolbar, type IFToolbarOptions, type IHeaderColumnTable, type ISettingFormElement, type ISettingNumericElement, type ISettingSelectElement, SelectTable, TabsMenuComponent, TableEdit as default, formartNumberic, generateUUID, isNullOrUndefined, messageBoxConfirm, messageBoxConfirm2, messageBoxConfirmDelete, messageBoxError, messageHtmlBoxConfirm, messageHtmlBoxError, notificationError, notificationSuccess, objSymbolDecimal, objSymbolThousand, roundNumber, useOnClickOutside };
|