react-table-edit 0.5.0 → 0.5.2
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 +4 -13
- package/dist/index.mjs +4 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2682,10 +2682,7 @@ var TableEdit = (0, import_react12.forwardRef)((props, ref) => {
|
|
|
2682
2682
|
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
2683
2683
|
"div",
|
|
2684
2684
|
{
|
|
2685
|
-
style: {
|
|
2686
|
-
height: `${(col.rowspan ?? 1) * 42}px`,
|
|
2687
|
-
justifyContent: col.textAlign ?? "left"
|
|
2688
|
-
},
|
|
2685
|
+
style: { justifyContent: col.textAlign ?? "left" },
|
|
2689
2686
|
className: (0, import_classnames10.default)("r-headercell-div"),
|
|
2690
2687
|
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
2691
2688
|
import_reactstrap8.Input,
|
|
@@ -2736,10 +2733,7 @@ var TableEdit = (0, import_react12.forwardRef)((props, ref) => {
|
|
|
2736
2733
|
"div",
|
|
2737
2734
|
{
|
|
2738
2735
|
title: t(col.headerText ?? ""),
|
|
2739
|
-
style: {
|
|
2740
|
-
height: `${(col.rowspan ?? 1) * 42}px`,
|
|
2741
|
-
justifyContent: col.textAlign ?? "left"
|
|
2742
|
-
},
|
|
2736
|
+
style: { justifyContent: col.textAlign ?? "left" },
|
|
2743
2737
|
className: "r-headercell-div",
|
|
2744
2738
|
children: t(col.headerText ?? "")
|
|
2745
2739
|
}
|
|
@@ -2775,10 +2769,7 @@ var TableEdit = (0, import_react12.forwardRef)((props, ref) => {
|
|
|
2775
2769
|
{
|
|
2776
2770
|
role: "textbox",
|
|
2777
2771
|
title: t(col.headerText ?? ""),
|
|
2778
|
-
style: {
|
|
2779
|
-
height: `${(col.rowspan ?? 1) * 42}px`,
|
|
2780
|
-
justifyContent: col.textAlign ?? "left"
|
|
2781
|
-
},
|
|
2772
|
+
style: { justifyContent: col.textAlign ?? "left" },
|
|
2782
2773
|
className: "r-headercell-div",
|
|
2783
2774
|
children: t(col.headerText ?? "")
|
|
2784
2775
|
}
|
|
@@ -3031,7 +3022,7 @@ var TabsMenuComponent = ({
|
|
|
3031
3022
|
setOpenModal((old) => ({ ...old, [name]: !(openModal[name] ?? false) }));
|
|
3032
3023
|
};
|
|
3033
3024
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_react13.Fragment, { children: [
|
|
3034
|
-
renderModal({ handleModal, windowSize, openModal, setDataItem, dataItem }),
|
|
3025
|
+
renderModal ? renderModal({ handleModal, windowSize, openModal, setDataItem, dataItem }) : "",
|
|
3035
3026
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: (0, import_classnames11.default)("tab-custom", { "tab-parent": tabParent }, { "tab-child": tabChild }), style: { width: `calc(100% - ${buttonWidth ?? 100}px` }, children: [
|
|
3036
3027
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
3037
3028
|
"div",
|
package/dist/index.mjs
CHANGED
|
@@ -2640,10 +2640,7 @@ var TableEdit = forwardRef2((props, ref) => {
|
|
|
2640
2640
|
children: /* @__PURE__ */ jsx12(
|
|
2641
2641
|
"div",
|
|
2642
2642
|
{
|
|
2643
|
-
style: {
|
|
2644
|
-
height: `${(col.rowspan ?? 1) * 42}px`,
|
|
2645
|
-
justifyContent: col.textAlign ?? "left"
|
|
2646
|
-
},
|
|
2643
|
+
style: { justifyContent: col.textAlign ?? "left" },
|
|
2647
2644
|
className: classnames6("r-headercell-div"),
|
|
2648
2645
|
children: /* @__PURE__ */ jsx12(
|
|
2649
2646
|
Input6,
|
|
@@ -2694,10 +2691,7 @@ var TableEdit = forwardRef2((props, ref) => {
|
|
|
2694
2691
|
"div",
|
|
2695
2692
|
{
|
|
2696
2693
|
title: t(col.headerText ?? ""),
|
|
2697
|
-
style: {
|
|
2698
|
-
height: `${(col.rowspan ?? 1) * 42}px`,
|
|
2699
|
-
justifyContent: col.textAlign ?? "left"
|
|
2700
|
-
},
|
|
2694
|
+
style: { justifyContent: col.textAlign ?? "left" },
|
|
2701
2695
|
className: "r-headercell-div",
|
|
2702
2696
|
children: t(col.headerText ?? "")
|
|
2703
2697
|
}
|
|
@@ -2733,10 +2727,7 @@ var TableEdit = forwardRef2((props, ref) => {
|
|
|
2733
2727
|
{
|
|
2734
2728
|
role: "textbox",
|
|
2735
2729
|
title: t(col.headerText ?? ""),
|
|
2736
|
-
style: {
|
|
2737
|
-
height: `${(col.rowspan ?? 1) * 42}px`,
|
|
2738
|
-
justifyContent: col.textAlign ?? "left"
|
|
2739
|
-
},
|
|
2730
|
+
style: { justifyContent: col.textAlign ?? "left" },
|
|
2740
2731
|
className: "r-headercell-div",
|
|
2741
2732
|
children: t(col.headerText ?? "")
|
|
2742
2733
|
}
|
|
@@ -2989,7 +2980,7 @@ var TabsMenuComponent = ({
|
|
|
2989
2980
|
setOpenModal((old) => ({ ...old, [name]: !(openModal[name] ?? false) }));
|
|
2990
2981
|
};
|
|
2991
2982
|
return /* @__PURE__ */ jsxs12(Fragment14, { children: [
|
|
2992
|
-
renderModal({ handleModal, windowSize, openModal, setDataItem, dataItem }),
|
|
2983
|
+
renderModal ? renderModal({ handleModal, windowSize, openModal, setDataItem, dataItem }) : "",
|
|
2993
2984
|
/* @__PURE__ */ jsxs12("div", { className: classNames5("tab-custom", { "tab-parent": tabParent }, { "tab-child": tabChild }), style: { width: `calc(100% - ${buttonWidth ?? 100}px` }, children: [
|
|
2994
2985
|
/* @__PURE__ */ jsx13(
|
|
2995
2986
|
"div",
|