@fctc/sme-widget-ui 2.7.7 → 2.7.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.js +8 -4
- package/dist/index.mjs +8 -4
- package/dist/widgets.d.mts +1 -0
- package/dist/widgets.d.ts +1 -0
- package/dist/widgets.js +8 -4
- package/dist/widgets.mjs +8 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10930,7 +10930,8 @@ var Row = (props) => {
|
|
|
10930
10930
|
onClickRow,
|
|
10931
10931
|
isAutoSelect,
|
|
10932
10932
|
selectedRowKeysRef,
|
|
10933
|
-
isEditTable
|
|
10933
|
+
isEditTable,
|
|
10934
|
+
env
|
|
10934
10935
|
} = props;
|
|
10935
10936
|
const checkboxRef = (0, import_react13.useRef)("enabled");
|
|
10936
10937
|
const checked = (0, import_react13.useMemo)(() => {
|
|
@@ -10980,10 +10981,11 @@ var Row = (props) => {
|
|
|
10980
10981
|
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
10981
10982
|
"tr",
|
|
10982
10983
|
{
|
|
10984
|
+
"data-platform": env?.envFile?.PLATFORM ? "edu" : "default",
|
|
10983
10985
|
"data-row-id": row?.id,
|
|
10984
10986
|
className: `border-b border-[#e8e8e8] cursor-pointer`,
|
|
10985
10987
|
style: {
|
|
10986
|
-
background: indexRow % 2 === 0 ? "#FFF" : "#EEF3FB"
|
|
10988
|
+
background: env?.envFile?.PLATFORM === "edu" ? "transparent" : indexRow % 2 === 0 ? "#FFF" : "#EEF3FB"
|
|
10987
10989
|
},
|
|
10988
10990
|
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
|
|
10989
10991
|
isDisplayCheckbox && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
@@ -11084,7 +11086,8 @@ var TableBodyRow = (props) => {
|
|
|
11084
11086
|
groupByList,
|
|
11085
11087
|
setIsAutoSelect,
|
|
11086
11088
|
isAutoSelect,
|
|
11087
|
-
isEditTable
|
|
11089
|
+
isEditTable,
|
|
11090
|
+
env
|
|
11088
11091
|
} = props;
|
|
11089
11092
|
return rows && rows?.length > 0 && rows?.map((row, index4) => {
|
|
11090
11093
|
return typeTable === "group" ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
@@ -11132,7 +11135,8 @@ var TableBodyRow = (props) => {
|
|
|
11132
11135
|
isAutoSelect,
|
|
11133
11136
|
selectedRowKeysRef,
|
|
11134
11137
|
setSelectedRowKeys,
|
|
11135
|
-
isEditTable
|
|
11138
|
+
isEditTable,
|
|
11139
|
+
env
|
|
11136
11140
|
},
|
|
11137
11141
|
`record-${index4}`
|
|
11138
11142
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -10803,7 +10803,8 @@ var Row = (props) => {
|
|
|
10803
10803
|
onClickRow,
|
|
10804
10804
|
isAutoSelect,
|
|
10805
10805
|
selectedRowKeysRef,
|
|
10806
|
-
isEditTable
|
|
10806
|
+
isEditTable,
|
|
10807
|
+
env
|
|
10807
10808
|
} = props;
|
|
10808
10809
|
const checkboxRef = useRef4("enabled");
|
|
10809
10810
|
const checked = useMemo3(() => {
|
|
@@ -10853,10 +10854,11 @@ var Row = (props) => {
|
|
|
10853
10854
|
return /* @__PURE__ */ jsx47(
|
|
10854
10855
|
"tr",
|
|
10855
10856
|
{
|
|
10857
|
+
"data-platform": env?.envFile?.PLATFORM ? "edu" : "default",
|
|
10856
10858
|
"data-row-id": row?.id,
|
|
10857
10859
|
className: `border-b border-[#e8e8e8] cursor-pointer`,
|
|
10858
10860
|
style: {
|
|
10859
|
-
background: indexRow % 2 === 0 ? "#FFF" : "#EEF3FB"
|
|
10861
|
+
background: env?.envFile?.PLATFORM === "edu" ? "transparent" : indexRow % 2 === 0 ? "#FFF" : "#EEF3FB"
|
|
10860
10862
|
},
|
|
10861
10863
|
children: /* @__PURE__ */ jsxs26(Fragment3, { children: [
|
|
10862
10864
|
isDisplayCheckbox && /* @__PURE__ */ jsx47(
|
|
@@ -10957,7 +10959,8 @@ var TableBodyRow = (props) => {
|
|
|
10957
10959
|
groupByList,
|
|
10958
10960
|
setIsAutoSelect,
|
|
10959
10961
|
isAutoSelect,
|
|
10960
|
-
isEditTable
|
|
10962
|
+
isEditTable,
|
|
10963
|
+
env
|
|
10961
10964
|
} = props;
|
|
10962
10965
|
return rows && rows?.length > 0 && rows?.map((row, index4) => {
|
|
10963
10966
|
return typeTable === "group" ? /* @__PURE__ */ jsx48(
|
|
@@ -11005,7 +11008,8 @@ var TableBodyRow = (props) => {
|
|
|
11005
11008
|
isAutoSelect,
|
|
11006
11009
|
selectedRowKeysRef,
|
|
11007
11010
|
setSelectedRowKeys,
|
|
11008
|
-
isEditTable
|
|
11011
|
+
isEditTable,
|
|
11012
|
+
env
|
|
11009
11013
|
},
|
|
11010
11014
|
`record-${index4}`
|
|
11011
11015
|
);
|
package/dist/widgets.d.mts
CHANGED
package/dist/widgets.d.ts
CHANGED
package/dist/widgets.js
CHANGED
|
@@ -9922,7 +9922,8 @@ var Row = (props) => {
|
|
|
9922
9922
|
onClickRow,
|
|
9923
9923
|
isAutoSelect,
|
|
9924
9924
|
selectedRowKeysRef,
|
|
9925
|
-
isEditTable
|
|
9925
|
+
isEditTable,
|
|
9926
|
+
env
|
|
9926
9927
|
} = props;
|
|
9927
9928
|
const checkboxRef = (0, import_react11.useRef)("enabled");
|
|
9928
9929
|
const checked = (0, import_react11.useMemo)(() => {
|
|
@@ -9972,10 +9973,11 @@ var Row = (props) => {
|
|
|
9972
9973
|
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
9973
9974
|
"tr",
|
|
9974
9975
|
{
|
|
9976
|
+
"data-platform": env?.envFile?.PLATFORM ? "edu" : "default",
|
|
9975
9977
|
"data-row-id": row?.id,
|
|
9976
9978
|
className: `border-b border-[#e8e8e8] cursor-pointer`,
|
|
9977
9979
|
style: {
|
|
9978
|
-
background: indexRow % 2 === 0 ? "#FFF" : "#EEF3FB"
|
|
9980
|
+
background: env?.envFile?.PLATFORM === "edu" ? "transparent" : indexRow % 2 === 0 ? "#FFF" : "#EEF3FB"
|
|
9979
9981
|
},
|
|
9980
9982
|
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
|
|
9981
9983
|
isDisplayCheckbox && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
@@ -10076,7 +10078,8 @@ var TableBodyRow = (props) => {
|
|
|
10076
10078
|
groupByList,
|
|
10077
10079
|
setIsAutoSelect,
|
|
10078
10080
|
isAutoSelect,
|
|
10079
|
-
isEditTable
|
|
10081
|
+
isEditTable,
|
|
10082
|
+
env
|
|
10080
10083
|
} = props;
|
|
10081
10084
|
return rows && rows?.length > 0 && rows?.map((row, index4) => {
|
|
10082
10085
|
return typeTable === "group" ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
@@ -10124,7 +10127,8 @@ var TableBodyRow = (props) => {
|
|
|
10124
10127
|
isAutoSelect,
|
|
10125
10128
|
selectedRowKeysRef,
|
|
10126
10129
|
setSelectedRowKeys,
|
|
10127
|
-
isEditTable
|
|
10130
|
+
isEditTable,
|
|
10131
|
+
env
|
|
10128
10132
|
},
|
|
10129
10133
|
`record-${index4}`
|
|
10130
10134
|
);
|
package/dist/widgets.mjs
CHANGED
|
@@ -9859,7 +9859,8 @@ var Row = (props) => {
|
|
|
9859
9859
|
onClickRow,
|
|
9860
9860
|
isAutoSelect,
|
|
9861
9861
|
selectedRowKeysRef,
|
|
9862
|
-
isEditTable
|
|
9862
|
+
isEditTable,
|
|
9863
|
+
env
|
|
9863
9864
|
} = props;
|
|
9864
9865
|
const checkboxRef = useRef2("enabled");
|
|
9865
9866
|
const checked = useMemo3(() => {
|
|
@@ -9909,10 +9910,11 @@ var Row = (props) => {
|
|
|
9909
9910
|
return /* @__PURE__ */ jsx47(
|
|
9910
9911
|
"tr",
|
|
9911
9912
|
{
|
|
9913
|
+
"data-platform": env?.envFile?.PLATFORM ? "edu" : "default",
|
|
9912
9914
|
"data-row-id": row?.id,
|
|
9913
9915
|
className: `border-b border-[#e8e8e8] cursor-pointer`,
|
|
9914
9916
|
style: {
|
|
9915
|
-
background: indexRow % 2 === 0 ? "#FFF" : "#EEF3FB"
|
|
9917
|
+
background: env?.envFile?.PLATFORM === "edu" ? "transparent" : indexRow % 2 === 0 ? "#FFF" : "#EEF3FB"
|
|
9916
9918
|
},
|
|
9917
9919
|
children: /* @__PURE__ */ jsxs26(Fragment3, { children: [
|
|
9918
9920
|
isDisplayCheckbox && /* @__PURE__ */ jsx47(
|
|
@@ -10013,7 +10015,8 @@ var TableBodyRow = (props) => {
|
|
|
10013
10015
|
groupByList,
|
|
10014
10016
|
setIsAutoSelect,
|
|
10015
10017
|
isAutoSelect,
|
|
10016
|
-
isEditTable
|
|
10018
|
+
isEditTable,
|
|
10019
|
+
env
|
|
10017
10020
|
} = props;
|
|
10018
10021
|
return rows && rows?.length > 0 && rows?.map((row, index4) => {
|
|
10019
10022
|
return typeTable === "group" ? /* @__PURE__ */ jsx48(
|
|
@@ -10061,7 +10064,8 @@ var TableBodyRow = (props) => {
|
|
|
10061
10064
|
isAutoSelect,
|
|
10062
10065
|
selectedRowKeysRef,
|
|
10063
10066
|
setSelectedRowKeys,
|
|
10064
|
-
isEditTable
|
|
10067
|
+
isEditTable,
|
|
10068
|
+
env
|
|
10065
10069
|
},
|
|
10066
10070
|
`record-${index4}`
|
|
10067
10071
|
);
|