eli-video-interview 1.2.39-alpha.2 → 1.2.39-alpha.4
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.
|
@@ -26,13 +26,13 @@ var BodyImages = function (_a) {
|
|
|
26
26
|
setIndex(i);
|
|
27
27
|
setVisible(true);
|
|
28
28
|
}, []);
|
|
29
|
-
return (_jsxs(_Fragment, { children: [_jsx(Stack, __assign({ spacing: 2, direction: "row" }, { children: reviewImgs.map(function (_a, i) {
|
|
29
|
+
return (_jsxs(_Fragment, { children: [_jsx(Stack, __assign({ spacing: 2, direction: "row" }, { children: reviewImgs === null || reviewImgs === void 0 ? void 0 : reviewImgs.map(function (_a, i) {
|
|
30
30
|
var url = _a.url, title = _a.title;
|
|
31
31
|
return (_jsxs(Stack, __assign({ spacing: 0.5, onClick: function () {
|
|
32
32
|
setIndex(i);
|
|
33
33
|
setVisible(true);
|
|
34
34
|
} }, { children: [_jsx(Image, { src: url, alt: "" }), _jsx(Typography, __assign({ variant: "caption", color: "textSecondary", textAlign: "center" }, { children: title }))] }), url));
|
|
35
|
-
}) })), _jsx(PhotoSlider, { maskOpacity: 0.56, visible: visible, onClose: function () { return setVisible(false); }, index: index, onIndexChange: setIndex, images: reviewImgs.map(function (item) { return ({ src: item.url, key: item.url, title: item === null || item === void 0 ? void 0 : item.title }); }), overlayRender: function (_a) {
|
|
35
|
+
}) })), _jsx(PhotoSlider, { maskOpacity: 0.56, visible: visible, onClose: function () { return setVisible(false); }, index: index, onIndexChange: setIndex, images: reviewImgs === null || reviewImgs === void 0 ? void 0 : reviewImgs.map(function (item) { return ({ src: item.url, key: item.url, title: item === null || item === void 0 ? void 0 : item.title }); }), overlayRender: function (_a) {
|
|
36
36
|
var images = _a.images, index = _a.index;
|
|
37
37
|
return (_jsx(Box, __assign({ sx: { width: 1, position: 'absolute', bottom: 0, zIndex: 50 } }, { children: _jsx(PhotoPage, { onSelected: handleSelected, images: images, index: index }) })));
|
|
38
38
|
} })] }));
|
|
@@ -31,13 +31,13 @@ var BodyImages = function (_a) {
|
|
|
31
31
|
setIndex(i);
|
|
32
32
|
setVisible(true);
|
|
33
33
|
}, []);
|
|
34
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(mui_1.Stack, __assign({ spacing: 2, direction: "row" }, { children: reviewImgs.map(function (_a, i) {
|
|
34
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(mui_1.Stack, __assign({ spacing: 2, direction: "row" }, { children: reviewImgs === null || reviewImgs === void 0 ? void 0 : reviewImgs.map(function (_a, i) {
|
|
35
35
|
var url = _a.url, title = _a.title;
|
|
36
36
|
return ((0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ spacing: 0.5, onClick: function () {
|
|
37
37
|
setIndex(i);
|
|
38
38
|
setVisible(true);
|
|
39
39
|
} }, { children: [(0, jsx_runtime_1.jsx)(styled_1.Image, { src: url, alt: "" }), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "caption", color: "textSecondary", textAlign: "center" }, { children: title }))] }), url));
|
|
40
|
-
}) })), (0, jsx_runtime_1.jsx)(react_photo_view_1.PhotoSlider, { maskOpacity: 0.56, visible: visible, onClose: function () { return setVisible(false); }, index: index, onIndexChange: setIndex, images: reviewImgs.map(function (item) { return ({ src: item.url, key: item.url, title: item === null || item === void 0 ? void 0 : item.title }); }), overlayRender: function (_a) {
|
|
40
|
+
}) })), (0, jsx_runtime_1.jsx)(react_photo_view_1.PhotoSlider, { maskOpacity: 0.56, visible: visible, onClose: function () { return setVisible(false); }, index: index, onIndexChange: setIndex, images: reviewImgs === null || reviewImgs === void 0 ? void 0 : reviewImgs.map(function (item) { return ({ src: item.url, key: item.url, title: item === null || item === void 0 ? void 0 : item.title }); }), overlayRender: function (_a) {
|
|
41
41
|
var images = _a.images, index = _a.index;
|
|
42
42
|
return ((0, jsx_runtime_1.jsx)(fbm_ui_1.Box, __assign({ sx: { width: 1, position: 'absolute', bottom: 0, zIndex: 50 } }, { children: (0, jsx_runtime_1.jsx)(PhotoPage_1.default, { onSelected: handleSelected, images: images, index: index }) })));
|
|
43
43
|
} })] }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eli-video-interview",
|
|
3
|
-
"version": "1.2.39-alpha.
|
|
3
|
+
"version": "1.2.39-alpha.4",
|
|
4
4
|
"description": "鳄梨科技 AI视频面试 React SDK",
|
|
5
5
|
"author": "鳄梨科技",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"array-move": "^4.0.0",
|
|
21
21
|
"axios": "^0.27.2",
|
|
22
22
|
"dayjs": "^1.11.4",
|
|
23
|
-
"@avocadoui/echarts": "^1.0.
|
|
23
|
+
"@avocadoui/echarts": "^1.0.2",
|
|
24
24
|
"fbm-ui": "^1.4.161",
|
|
25
25
|
"hox": "^2.1.0",
|
|
26
26
|
"immutability-helper": "^3.1.1",
|