react-table-edit 1.3.8 → 1.3.9
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.ts +58 -3
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ type IFTableSelectFormat = {
|
|
|
37
37
|
prefixNegative?: string;
|
|
38
38
|
suffixNegative?: string;
|
|
39
39
|
};
|
|
40
|
-
type Props = {
|
|
40
|
+
type Props$1 = {
|
|
41
41
|
id?: string;
|
|
42
42
|
value: any;
|
|
43
43
|
options: any[];
|
|
@@ -68,7 +68,7 @@ type Props = {
|
|
|
68
68
|
footerComponent?: () => JSX.Element;
|
|
69
69
|
onChange: (val: any) => void;
|
|
70
70
|
};
|
|
71
|
-
declare const SelectTable: React__default.ForwardRefExoticComponent<Props & React__default.RefAttributes<unknown>>;
|
|
71
|
+
declare const SelectTable: React__default.ForwardRefExoticComponent<Props$1 & React__default.RefAttributes<unknown>>;
|
|
72
72
|
|
|
73
73
|
type ITextAlign = 'center' | 'left' | 'right';
|
|
74
74
|
type IEditType = 'text' | 'numeric' | 'datetime' | 'selectTree' | 'date' | 'select' | 'checkbox' | 'form' | 'color';
|
|
@@ -299,6 +299,61 @@ type IFDataProps$1 = {
|
|
|
299
299
|
};
|
|
300
300
|
declare const TabsMenuComponent: ({ buttonWidth, tabParent, tabChild, resourceCodeParent, resources, resourceCode, windowSize, renderModal }: IFDataProps$1) => react_jsx_runtime.JSX.Element;
|
|
301
301
|
|
|
302
|
+
type IFColumnSelectTableTree = {
|
|
303
|
+
field: string;
|
|
304
|
+
headerText: string;
|
|
305
|
+
visible?: boolean;
|
|
306
|
+
textAlign?: 'left' | 'right' | 'center';
|
|
307
|
+
type?: 'text' | 'numeric' | 'date' | 'datetime';
|
|
308
|
+
template?: any;
|
|
309
|
+
typeCondition?: any;
|
|
310
|
+
fraction?: number;
|
|
311
|
+
width?: number;
|
|
312
|
+
maxWidth?: number;
|
|
313
|
+
minWidth?: number;
|
|
314
|
+
};
|
|
315
|
+
type IFTableTreeSelectFormat = {
|
|
316
|
+
dateFormat?: string;
|
|
317
|
+
decimalSeparator?: string;
|
|
318
|
+
thousandSeparator?: string;
|
|
319
|
+
colorNegative?: string;
|
|
320
|
+
prefixNegative?: string;
|
|
321
|
+
suffixNegative?: string;
|
|
322
|
+
};
|
|
323
|
+
type Props = {
|
|
324
|
+
id?: string;
|
|
325
|
+
component?: any;
|
|
326
|
+
footerComponent?: any;
|
|
327
|
+
fieldValue?: string;
|
|
328
|
+
fieldLabel?: string;
|
|
329
|
+
onChange: any;
|
|
330
|
+
textAlign?: 'left' | 'right' | 'center';
|
|
331
|
+
placeholder?: string;
|
|
332
|
+
invalid?: any;
|
|
333
|
+
loadOptions?: any;
|
|
334
|
+
menuWidth?: number;
|
|
335
|
+
width?: number;
|
|
336
|
+
rowData?: any;
|
|
337
|
+
value: any;
|
|
338
|
+
onKeyDown?: any;
|
|
339
|
+
formatOptionLabel?: any;
|
|
340
|
+
handleAdd?: any;
|
|
341
|
+
options: any[];
|
|
342
|
+
isMulti?: boolean;
|
|
343
|
+
noHeader?: boolean;
|
|
344
|
+
maxHeight?: number;
|
|
345
|
+
columns?: IFColumnSelectTableTree[];
|
|
346
|
+
fieldChildren?: string;
|
|
347
|
+
isClearable?: boolean;
|
|
348
|
+
isDisabled?: boolean;
|
|
349
|
+
showFooter?: boolean;
|
|
350
|
+
selectChilds?: boolean;
|
|
351
|
+
formatSetting?: IFTableTreeSelectFormat;
|
|
352
|
+
onOpenMenu?: any;
|
|
353
|
+
onPaste?: any;
|
|
354
|
+
};
|
|
355
|
+
declare const SelectTableTree: React__default.ForwardRefExoticComponent<Props & React__default.RefAttributes<unknown>>;
|
|
356
|
+
|
|
302
357
|
interface IFDataStyleSetting {
|
|
303
358
|
color: string;
|
|
304
359
|
backgroundColor: string;
|
|
@@ -382,4 +437,4 @@ interface IFPropsDetail {
|
|
|
382
437
|
}
|
|
383
438
|
declare const ImportExcelComponent: (props: IFPropsDetail) => react_jsx_runtime.JSX.Element;
|
|
384
439
|
|
|
385
|
-
export { ExportExcelComponent, FindNodeByPath, type FromItemsField, type IColumnTable, type ICommandItem, type IFColumnSelectTable, type IFCurrentPage, type IFCurrentPageConfig, type IFPageSize, type IFPropsDetail, type IFTableEditButton, type IFTableEditFormat, type IFTableEditPaging, type IFTableEditProps, type IFTableEditSearchSetting, type IFTableEditToolbar, type IFTableSelectFormat, type IFToolbarOptions, type IHeaderColumnTable, type ISettingFormElement, type ISettingNumericElement, type ISettingSelectElement, ImportExcelComponent, InputStyleComponent, SelectTable, TabsMenuComponent, checkDecimalSeparator, checkThousandSeparator, TableEdit as default, formartNumberic, formatDateTime, generateUUID, isNullOrUndefined, messageBoxConfirm, messageBoxConfirm2, messageBoxConfirmDelete, messageBoxError, messageHtmlBoxConfirm, messageHtmlBoxError, notificationError, notificationSuccess, roundNumber, useOnClickOutside };
|
|
440
|
+
export { ExportExcelComponent, FindNodeByPath, type FromItemsField, type IColumnTable, type ICommandItem, type IFColumnSelectTable, type IFColumnSelectTableTree, type IFCurrentPage, type IFCurrentPageConfig, type IFPageSize, type IFPropsDetail, type IFTableEditButton, type IFTableEditFormat, type IFTableEditPaging, type IFTableEditProps, type IFTableEditSearchSetting, type IFTableEditToolbar, type IFTableSelectFormat, type IFTableTreeSelectFormat, type IFToolbarOptions, type IHeaderColumnTable, type ISettingFormElement, type ISettingNumericElement, type ISettingSelectElement, ImportExcelComponent, InputStyleComponent, SelectTable, SelectTableTree, TabsMenuComponent, checkDecimalSeparator, checkThousandSeparator, TableEdit as default, formartNumberic, formatDateTime, generateUUID, isNullOrUndefined, messageBoxConfirm, messageBoxConfirm2, messageBoxConfirmDelete, messageBoxError, messageHtmlBoxConfirm, messageHtmlBoxError, notificationError, notificationSuccess, roundNumber, useOnClickOutside };
|
package/dist/index.js
CHANGED
|
@@ -65703,6 +65703,7 @@ exports.FindNodeByPath = FindNodeByPath;
|
|
|
65703
65703
|
exports.ImportExcelComponent = ImportExcelComponent;
|
|
65704
65704
|
exports.InputStyleComponent = InputStyleComponent;
|
|
65705
65705
|
exports.SelectTable = SelectTable;
|
|
65706
|
+
exports.SelectTableTree = SelectTableTree;
|
|
65706
65707
|
exports.TabsMenuComponent = TabsMenuComponent;
|
|
65707
65708
|
exports.checkDecimalSeparator = checkDecimalSeparator;
|
|
65708
65709
|
exports.checkThousandSeparator = checkThousandSeparator;
|