@fctc/sme-widget-ui 2.8.1 → 2.8.3

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 CHANGED
@@ -10776,7 +10776,8 @@ var TableGroup = (props) => {
10776
10776
  groupByList,
10777
10777
  selectedRowKeys,
10778
10778
  setSelectedRowKeys,
10779
- onClickRow
10779
+ onClickRow,
10780
+ env
10780
10781
  } = props;
10781
10782
  const {
10782
10783
  onExpandChildGroup,
@@ -10903,7 +10904,8 @@ var TableGroup = (props) => {
10903
10904
  groupByList,
10904
10905
  selectedRowKeys,
10905
10906
  setSelectedRowKeys,
10906
- onClickRow
10907
+ onClickRow,
10908
+ env
10907
10909
  }
10908
10910
  )
10909
10911
  ] });
@@ -11112,7 +11114,8 @@ var TableBodyRow = (props) => {
11112
11114
  tableGroupController,
11113
11115
  setSelectedRowKeys,
11114
11116
  selectedRowKeys,
11115
- onClickRow
11117
+ onClickRow,
11118
+ env
11116
11119
  },
11117
11120
  `record-group-${index4}`
11118
11121
  ) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
@@ -13154,7 +13157,7 @@ var TableHead = (props) => {
13154
13157
  className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${(col?.field?.type === "monetary" || col?.field?.widget === "monetary") && "justify-end"}`,
13155
13158
  children: [
13156
13159
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "cursor-pointer flex justify-between items-center gap-[4px] w-full max-w-full truncate", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "truncate", children: col.title }) }),
13157
- col?.field?.help && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
13160
+ col?.field?.help && env?.envFile?.PLATFORM !== "edu" && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
13158
13161
  (0, import_react_dom.createPortal)(
13159
13162
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
13160
13163
  M,
package/dist/index.mjs CHANGED
@@ -10649,7 +10649,8 @@ var TableGroup = (props) => {
10649
10649
  groupByList,
10650
10650
  selectedRowKeys,
10651
10651
  setSelectedRowKeys,
10652
- onClickRow
10652
+ onClickRow,
10653
+ env
10653
10654
  } = props;
10654
10655
  const {
10655
10656
  onExpandChildGroup,
@@ -10776,7 +10777,8 @@ var TableGroup = (props) => {
10776
10777
  groupByList,
10777
10778
  selectedRowKeys,
10778
10779
  setSelectedRowKeys,
10779
- onClickRow
10780
+ onClickRow,
10781
+ env
10780
10782
  }
10781
10783
  )
10782
10784
  ] });
@@ -10985,7 +10987,8 @@ var TableBodyRow = (props) => {
10985
10987
  tableGroupController,
10986
10988
  setSelectedRowKeys,
10987
10989
  selectedRowKeys,
10988
- onClickRow
10990
+ onClickRow,
10991
+ env
10989
10992
  },
10990
10993
  `record-group-${index4}`
10991
10994
  ) : /* @__PURE__ */ jsx48(
@@ -13027,7 +13030,7 @@ var TableHead = (props) => {
13027
13030
  className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${(col?.field?.type === "monetary" || col?.field?.widget === "monetary") && "justify-end"}`,
13028
13031
  children: [
13029
13032
  /* @__PURE__ */ jsx51("div", { className: "cursor-pointer flex justify-between items-center gap-[4px] w-full max-w-full truncate", children: /* @__PURE__ */ jsx51("span", { className: "truncate", children: col.title }) }),
13030
- col?.field?.help && /* @__PURE__ */ jsxs29(Fragment4, { children: [
13033
+ col?.field?.help && env?.envFile?.PLATFORM !== "edu" && /* @__PURE__ */ jsxs29(Fragment4, { children: [
13031
13034
  createPortal(
13032
13035
  /* @__PURE__ */ jsx51(
13033
13036
  M,
@@ -118,6 +118,7 @@ interface TableGroupProps {
118
118
  selectedRowKeys?: any;
119
119
  setSelectedRowKeys?: (selectedRowKeys: any) => void;
120
120
  onClickRow?: any;
121
+ env?: any;
121
122
  }
122
123
  declare const TableGroup: (props: TableGroupProps) => JSX.Element;
123
124
 
package/dist/widgets.d.ts CHANGED
@@ -118,6 +118,7 @@ interface TableGroupProps {
118
118
  selectedRowKeys?: any;
119
119
  setSelectedRowKeys?: (selectedRowKeys: any) => void;
120
120
  onClickRow?: any;
121
+ env?: any;
121
122
  }
122
123
  declare const TableGroup: (props: TableGroupProps) => JSX.Element;
123
124
 
package/dist/widgets.js CHANGED
@@ -9768,7 +9768,8 @@ var TableGroup = (props) => {
9768
9768
  groupByList,
9769
9769
  selectedRowKeys,
9770
9770
  setSelectedRowKeys,
9771
- onClickRow
9771
+ onClickRow,
9772
+ env
9772
9773
  } = props;
9773
9774
  const {
9774
9775
  onExpandChildGroup,
@@ -9895,7 +9896,8 @@ var TableGroup = (props) => {
9895
9896
  groupByList,
9896
9897
  selectedRowKeys,
9897
9898
  setSelectedRowKeys,
9898
- onClickRow
9899
+ onClickRow,
9900
+ env
9899
9901
  }
9900
9902
  )
9901
9903
  ] });
@@ -10104,7 +10106,8 @@ var TableBodyRow = (props) => {
10104
10106
  tableGroupController,
10105
10107
  setSelectedRowKeys,
10106
10108
  selectedRowKeys,
10107
- onClickRow
10109
+ onClickRow,
10110
+ env
10108
10111
  },
10109
10112
  `record-group-${index4}`
10110
10113
  ) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
@@ -12146,7 +12149,7 @@ var TableHead = (props) => {
12146
12149
  className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${(col?.field?.type === "monetary" || col?.field?.widget === "monetary") && "justify-end"}`,
12147
12150
  children: [
12148
12151
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "cursor-pointer flex justify-between items-center gap-[4px] w-full max-w-full truncate", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "truncate", children: col.title }) }),
12149
- col?.field?.help && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
12152
+ col?.field?.help && env?.envFile?.PLATFORM !== "edu" && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
12150
12153
  (0, import_react_dom.createPortal)(
12151
12154
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
12152
12155
  M,
package/dist/widgets.mjs CHANGED
@@ -9705,7 +9705,8 @@ var TableGroup = (props) => {
9705
9705
  groupByList,
9706
9706
  selectedRowKeys,
9707
9707
  setSelectedRowKeys,
9708
- onClickRow
9708
+ onClickRow,
9709
+ env
9709
9710
  } = props;
9710
9711
  const {
9711
9712
  onExpandChildGroup,
@@ -9832,7 +9833,8 @@ var TableGroup = (props) => {
9832
9833
  groupByList,
9833
9834
  selectedRowKeys,
9834
9835
  setSelectedRowKeys,
9835
- onClickRow
9836
+ onClickRow,
9837
+ env
9836
9838
  }
9837
9839
  )
9838
9840
  ] });
@@ -10041,7 +10043,8 @@ var TableBodyRow = (props) => {
10041
10043
  tableGroupController,
10042
10044
  setSelectedRowKeys,
10043
10045
  selectedRowKeys,
10044
- onClickRow
10046
+ onClickRow,
10047
+ env
10045
10048
  },
10046
10049
  `record-group-${index4}`
10047
10050
  ) : /* @__PURE__ */ jsx48(
@@ -12083,7 +12086,7 @@ var TableHead = (props) => {
12083
12086
  className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${(col?.field?.type === "monetary" || col?.field?.widget === "monetary") && "justify-end"}`,
12084
12087
  children: [
12085
12088
  /* @__PURE__ */ jsx51("div", { className: "cursor-pointer flex justify-between items-center gap-[4px] w-full max-w-full truncate", children: /* @__PURE__ */ jsx51("span", { className: "truncate", children: col.title }) }),
12086
- col?.field?.help && /* @__PURE__ */ jsxs29(Fragment4, { children: [
12089
+ col?.field?.help && env?.envFile?.PLATFORM !== "edu" && /* @__PURE__ */ jsxs29(Fragment4, { children: [
12087
12090
  createPortal(
12088
12091
  /* @__PURE__ */ jsx51(
12089
12092
  M,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "2.8.1",
3
+ "version": "2.8.3",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",