react-table-edit 1.4.50 → 1.4.52
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.
|
@@ -4,8 +4,6 @@ export interface IFPropsDetail {
|
|
|
4
4
|
setColumn: any;
|
|
5
5
|
openSidebar: boolean;
|
|
6
6
|
handleSidebar: any;
|
|
7
|
-
resetDefaultColumns?: () => void;
|
|
8
|
-
formatSetting?: any;
|
|
9
7
|
}
|
|
10
8
|
declare const SidebarSetColumn: (props: IFPropsDetail) => import("react/jsx-runtime").JSX.Element;
|
|
11
9
|
export default SidebarSetColumn;
|
package/dist/index.js
CHANGED
|
@@ -17909,7 +17909,7 @@ const SelectTable = React$5.forwardRef((props, ref) => {
|
|
|
17909
17909
|
};
|
|
17910
17910
|
const handChange = (val) => {
|
|
17911
17911
|
if (val && val.isCreated) {
|
|
17912
|
-
const newVal = { ...val, [fieldLabel ?? 'label']: val.valueCreate, isCreated: undefined };
|
|
17912
|
+
const newVal = { ...val, [fieldLabel ?? 'label']: val.valueCreate, isCreated: undefined, isCreatedItem: true };
|
|
17913
17913
|
options.unshift(newVal);
|
|
17914
17914
|
onChange(newVal);
|
|
17915
17915
|
return;
|
|
@@ -71813,7 +71813,7 @@ const mapDataImportExcel = async (dataSheet, headerRow, dataMap, handleValidate)
|
|
|
71813
71813
|
}
|
|
71814
71814
|
}
|
|
71815
71815
|
else {
|
|
71816
|
-
value = row[ele.column] ? row[ele.column].toString() : undefined;
|
|
71816
|
+
value = row[ele.column] ? row[ele.column].toString().trim() : undefined;
|
|
71817
71817
|
}
|
|
71818
71818
|
//validate cho mỗi loại
|
|
71819
71819
|
}
|