pb-sxp-ui 1.13.2 → 1.13.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.cjs +6 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -22
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +1 -1
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +6 -22
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +1 -1
- package/dist/pb-ui.min.js.map +1 -1
- package/es/materials/sxp/popup/Iframe/index.d.ts +0 -4
- package/es/materials/sxp/popup/Iframe/index.js +4 -5
- package/es/materials/sxp/popup/Iframe/settingRender.js +0 -15
- package/lib/materials/sxp/popup/Iframe/index.d.ts +0 -4
- package/lib/materials/sxp/popup/Iframe/index.js +4 -5
- package/lib/materials/sxp/popup/Iframe/settingRender.js +0 -15
- package/package.json +1 -1
package/dist/pb-ui.js
CHANGED
@@ -11954,7 +11954,7 @@ Made in Italy` })));
|
|
11954
11954
|
* @Author: binruan@chatlabs.com
|
11955
11955
|
* @Date: 2023-10-27 14:06:35
|
11956
11956
|
* @LastEditors: binruan@chatlabs.com
|
11957
|
-
* @LastEditTime: 2024-
|
11957
|
+
* @LastEditTime: 2024-08-08 17:32:11
|
11958
11958
|
* @FilePath: \pb-sxp-ui\src\materials\sxp\popup\Iframe\settingRender.tsx
|
11959
11959
|
*
|
11960
11960
|
*/
|
@@ -11968,32 +11968,16 @@ Made in Italy` })));
|
|
11968
11968
|
name: ['style', 'backgroundColor']
|
11969
11969
|
}
|
11970
11970
|
]
|
11971
|
-
},
|
11972
|
-
{
|
11973
|
-
title: 'iframe',
|
11974
|
-
child: [
|
11975
|
-
{
|
11976
|
-
type: 'TextArea',
|
11977
|
-
label: 'url',
|
11978
|
-
name: ['props', 'iframe', 'src']
|
11979
|
-
},
|
11980
|
-
{
|
11981
|
-
type: 'TextArea',
|
11982
|
-
label: 'allow',
|
11983
|
-
name: ['props', 'iframe', 'allow']
|
11984
|
-
}
|
11985
|
-
]
|
11986
11971
|
}
|
11987
11972
|
];
|
11988
11973
|
|
11989
11974
|
const Iframe$1 = (_a) => {
|
11990
11975
|
var _b, _c;
|
11991
|
-
var { content, btnText, style, icon, isPopup, isExternalLink, onClose, onClick, submitButtonStyle, contentStyle, isTel
|
11976
|
+
var { content, btnText, style, icon, isPopup, isExternalLink, onClose, onClick, submitButtonStyle, contentStyle, isTel } = _a, props = __rest(_a, ["content", "btnText", "style", "icon", "isPopup", "isExternalLink", "onClose", "onClick", "submitButtonStyle", "contentStyle", "isTel"]);
|
11992
11977
|
const { popupDetailData } = useSxpDataSource();
|
11993
|
-
const
|
11994
|
-
|
11995
|
-
|
11996
|
-
React.createElement("iframe", { src: iframeUrl, allow: allow, scrolling: 'no', style: {
|
11978
|
+
const iframeUrl = (_c = (_b = popupDetailData === null || popupDetailData === void 0 ? void 0 : popupDetailData.video) === null || _b === void 0 ? void 0 : _b.bindCta) === null || _c === void 0 ? void 0 : _c.remark;
|
11979
|
+
return (React.createElement("div", Object.assign({ className: `${css.css(Object.assign({}, style))}` }, props),
|
11980
|
+
React.createElement("iframe", { src: iframeUrl, style: {
|
11997
11981
|
width: '100%',
|
11998
11982
|
height: 'calc(100% - 50px)',
|
11999
11983
|
marginTop: '50px',
|
@@ -18898,7 +18882,7 @@ Made in Italy` })));
|
|
18898
18882
|
* @Author: binruan@chatlabs.com
|
18899
18883
|
* @Date: 2023-10-31 10:56:01
|
18900
18884
|
* @LastEditors: binruan@chatlabs.com
|
18901
|
-
* @LastEditTime: 2024-
|
18885
|
+
* @LastEditTime: 2024-10-23 15:07:29
|
18902
18886
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\Popup\index.tsx
|
18903
18887
|
*
|
18904
18888
|
*/
|