pb-sxp-ui 1.16.3 → 1.16.5

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.
@@ -310,7 +310,7 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
310
310
  cta = (_e = (_d = rec === null || rec === void 0 ? void 0 : rec.video) === null || _d === void 0 ? void 0 : _d.bindCta) === null || _e === void 0 ? void 0 : _e.itemId;
311
311
  }
312
312
  const value = tempMap === null || tempMap === void 0 ? void 0 : tempMap[cta];
313
- const isNineProduct = (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.nineProductEnable) && index === 1;
313
+ const isNineProduct = (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.nineProductEnable) && index === ((rtcList === null || rtcList === void 0 ? void 0 : rtcList[0]) === 'organic menu' ? 2 : 1);
314
314
  return (React.createElement(React.Fragment, null,
315
315
  isNineProduct && (React.createElement(RenderCard, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, isActive: index === activeIndex, value: value, isNineProduct: isNineProduct })),
316
316
  ((_f = rec === null || rec === void 0 ? void 0 : rec.video) === null || _f === void 0 ? void 0 : _f.title) && !isShowMore && React.createElement("div", { className: 'clc-sxp-bottom-shadow' }),
@@ -336,7 +336,8 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
336
336
  globalConfig,
337
337
  onExpandableChange,
338
338
  isShowMore,
339
- lineGradStyle
339
+ lineGradStyle,
340
+ rtcList
340
341
  ]);
341
342
  const renderLikeButton = useCallback((rec, index, visible) => {
342
343
  var _a, _b, _c, _d;
@@ -313,7 +313,7 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
313
313
  cta = (_e = (_d = rec === null || rec === void 0 ? void 0 : rec.video) === null || _d === void 0 ? void 0 : _d.bindCta) === null || _e === void 0 ? void 0 : _e.itemId;
314
314
  }
315
315
  const value = tempMap === null || tempMap === void 0 ? void 0 : tempMap[cta];
316
- const isNineProduct = (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.nineProductEnable) && index === 1;
316
+ const isNineProduct = (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.nineProductEnable) && index === ((rtcList === null || rtcList === void 0 ? void 0 : rtcList[0]) === 'organic menu' ? 2 : 1);
317
317
  return (react_1.default.createElement(react_1.default.Fragment, null,
318
318
  isNineProduct && (react_1.default.createElement(RenderCard_1.default, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, isActive: index === activeIndex, value: value, isNineProduct: isNineProduct })),
319
319
  ((_f = rec === null || rec === void 0 ? void 0 : rec.video) === null || _f === void 0 ? void 0 : _f.title) && !isShowMore && react_1.default.createElement("div", { className: 'clc-sxp-bottom-shadow' }),
@@ -339,7 +339,8 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
339
339
  globalConfig,
340
340
  onExpandableChange,
341
341
  isShowMore,
342
- lineGradStyle
342
+ lineGradStyle,
343
+ rtcList
343
344
  ]);
344
345
  const renderLikeButton = (0, react_1.useCallback)((rec, index, visible) => {
345
346
  var _a, _b, _c, _d;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pb-sxp-ui",
3
- "version": "1.16.3",
3
+ "version": "1.16.5",
4
4
  "description": "React enterprise-class UI components",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",