react-table-edit 1.2.48 → 1.2.49
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.js +3 -3
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2883,7 +2883,7 @@ var import_react16 = require("react");
|
|
|
2883
2883
|
var import_react_datepicker = __toESM(require("react-datepicker"));
|
|
2884
2884
|
var import_react_input_mask = __toESM(require("react-input-mask"));
|
|
2885
2885
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
2886
|
-
var
|
|
2886
|
+
var DateInput = (0, import_react16.forwardRef)((props, ref) => {
|
|
2887
2887
|
const { id, onKeyDown, dateFormat, className, onChange, value } = props;
|
|
2888
2888
|
const [open, setOpen] = (0, import_react16.useState)(false);
|
|
2889
2889
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
@@ -2926,8 +2926,8 @@ var DateInputCustom = (props) => {
|
|
|
2926
2926
|
}
|
|
2927
2927
|
}
|
|
2928
2928
|
);
|
|
2929
|
-
};
|
|
2930
|
-
var input_date_default =
|
|
2929
|
+
});
|
|
2930
|
+
var input_date_default = DateInput;
|
|
2931
2931
|
|
|
2932
2932
|
// src/component/table/index.tsx
|
|
2933
2933
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/component/table/index.tsx
|
|
2
|
-
import { Fragment as Fragment21, forwardRef as
|
|
2
|
+
import { Fragment as Fragment21, forwardRef as forwardRef5, useEffect as useEffect9, useImperativeHandle, useRef as useRef4, useState as useState9 } from "react";
|
|
3
3
|
import { Button as Button6, DropdownMenu as DropdownMenu4, DropdownToggle as DropdownToggle4, Input as Input8, UncontrolledDropdown, UncontrolledTooltip as UncontrolledTooltip5 } from "reactstrap";
|
|
4
4
|
import classnames9 from "classnames";
|
|
5
5
|
import { useTranslation as useTranslation12 } from "react-i18next";
|
|
@@ -2849,11 +2849,11 @@ var SidebarSetColumn = (props) => {
|
|
|
2849
2849
|
var sidebar_setting_column_default = SidebarSetColumn;
|
|
2850
2850
|
|
|
2851
2851
|
// src/component/input-date/index.tsx
|
|
2852
|
-
import { useState as useState8 } from "react";
|
|
2852
|
+
import { forwardRef as forwardRef4, useState as useState8 } from "react";
|
|
2853
2853
|
import DatePicker from "react-datepicker";
|
|
2854
2854
|
import InputMask from "react-input-mask";
|
|
2855
2855
|
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
2856
|
-
var
|
|
2856
|
+
var DateInput = forwardRef4((props, ref) => {
|
|
2857
2857
|
const { id, onKeyDown, dateFormat, className, onChange, value } = props;
|
|
2858
2858
|
const [open, setOpen] = useState8(false);
|
|
2859
2859
|
return /* @__PURE__ */ jsx17(
|
|
@@ -2896,12 +2896,12 @@ var DateInputCustom = (props) => {
|
|
|
2896
2896
|
}
|
|
2897
2897
|
}
|
|
2898
2898
|
);
|
|
2899
|
-
};
|
|
2900
|
-
var input_date_default =
|
|
2899
|
+
});
|
|
2900
|
+
var input_date_default = DateInput;
|
|
2901
2901
|
|
|
2902
2902
|
// src/component/table/index.tsx
|
|
2903
2903
|
import { Fragment as Fragment22, jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2904
|
-
var TableEdit =
|
|
2904
|
+
var TableEdit = forwardRef5((props, ref) => {
|
|
2905
2905
|
const { t } = useTranslation12();
|
|
2906
2906
|
const {
|
|
2907
2907
|
idTable,
|