react-table-edit 1.5.39 → 1.5.40

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.
@@ -1,9 +1,8 @@
1
- import { CSSProperties } from 'react';
2
1
  import { IColumnTable } from '../type';
3
2
  import { IFDataMapExcel, IFNumberFormat } from './type';
4
3
  type IFProps = {
5
4
  /** custom style */
6
- style?: CSSProperties | undefined;
5
+ zIndex?: number;
7
6
  /** Kích thước cửa sổ hiện tại (width, height) */
8
7
  windowSize: any;
9
8
  /** Trạng thái mở/đóng modal import */
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import React__default, { ReactNode, JSX, Dispatch, SetStateAction, CSSProperties } from 'react';
2
+ import React__default, { ReactNode, JSX, Dispatch, SetStateAction } from 'react';
3
3
  import { UseFormSetValue, UseFormGetValues, UseFormReset } from 'react-hook-form';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import { TFunction } from 'react-i18next';
@@ -540,7 +540,7 @@ type IFNumberFormat = {
540
540
 
541
541
  type IFProps$1 = {
542
542
  /** custom style */
543
- style?: CSSProperties | undefined;
543
+ zIndex?: number;
544
544
  /** Kích thước cửa sổ hiện tại (width, height) */
545
545
  windowSize: any;
546
546
  /** Trạng thái mở/đóng modal import */
package/dist/index.js CHANGED
@@ -68391,7 +68391,7 @@ const TabValidateImportExcel = (props) => {
68391
68391
 
68392
68392
  const ModalImportComponent = (props) => {
68393
68393
  const { t } = reactI18next.useTranslation();
68394
- const { windowSize, openModal, handleModal, handleValidate, importExcelApi, validateExcelApi, getGeneralSettingApi, updateGeneralSettingApi, headerErrorExcelColumns, templateUrl, defaultHeaderRow, formatNumber, mapColumn, headerValidateExcelColumns, style, } = props;
68394
+ const { windowSize, openModal, handleModal, handleValidate, importExcelApi, validateExcelApi, getGeneralSettingApi, updateGeneralSettingApi, headerErrorExcelColumns, templateUrl, defaultHeaderRow, formatNumber, mapColumn, headerValidateExcelColumns, zIndex, } = props;
68395
68395
  const [optionField, setOptionField] = React$5.useState([]);
68396
68396
  const [dataMerge, setDataMerge] = React$5.useState([]);
68397
68397
  const [dataValidate, setDataValidate] = React$5.useState([]);
@@ -68589,7 +68589,7 @@ const ModalImportComponent = (props) => {
68589
68589
  setValue('step', 2);
68590
68590
  }
68591
68591
  };
68592
- return (jsxRuntime.jsx(Modal$1, { isOpen: openModal, style: style, toggle: handleModal, backdrop: "static", className: "modal-dialog-centered modal-xl", contentClassName: "p-0", onOpened: handleFormOpened, onClosed: handleModalClosed, children: jsxRuntime.jsxs(Form$1, { id: "form-modal-globalzone", className: "todo-modal modal-form-content", children: [jsxRuntime.jsx(ModalHeader, { typeModal: 'Import', handleModal: handleModal, title: "Import Excel" }), jsxRuntime.jsx(Scrollbars, { autoHide: true, autoHeight: true, autoHeightMax: windowSize.innerHeight - 120, children: jsxRuntime.jsx(ModalBody$1, { children: jsxRuntime.jsx("div", { style: { marginTop: '-25px' }, className: "modern-horizontal-wizard", children: jsxRuntime.jsx(Wizard, { activeStep: watch('step'), type: "modern-horizontal", steps: [
68592
+ return (jsxRuntime.jsx(Modal$1, { isOpen: openModal, zIndex: zIndex, toggle: handleModal, backdrop: "static", className: "modal-dialog-centered modal-xl", contentClassName: "p-0", onOpened: handleFormOpened, onClosed: handleModalClosed, children: jsxRuntime.jsxs(Form$1, { id: "form-modal-globalzone", className: "todo-modal modal-form-content", children: [jsxRuntime.jsx(ModalHeader, { typeModal: 'Import', handleModal: handleModal, title: "Import Excel" }), jsxRuntime.jsx(Scrollbars, { autoHide: true, autoHeight: true, autoHeightMax: windowSize.innerHeight - 120, children: jsxRuntime.jsx(ModalBody$1, { children: jsxRuntime.jsx("div", { style: { marginTop: '-25px' }, className: "modern-horizontal-wizard", children: jsxRuntime.jsx(Wizard, { activeStep: watch('step'), type: "modern-horizontal", steps: [
68593
68593
  {
68594
68594
  id: 'upload-file',
68595
68595
  title: t('Upload file'),