@zat-design/sisyphus-react 3.13.7-beta.2 → 3.13.7-beta.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.
- package/es/ProAction/components/CheckModalContent/index.css +1 -1
- package/es/ProAction/components/CheckModalContent/index.js +13 -19
- package/es/ProAction/components/CheckModalContent/index.less +1 -1
- package/es/ProAction/index.js +1 -0
- package/es/ProAction/index.less +5 -6
- package/lib/ProAction/components/CheckModalContent/index.css +1 -1
- package/lib/ProAction/components/CheckModalContent/index.js +13 -17
- package/lib/ProAction/components/CheckModalContent/index.less +1 -1
- package/lib/ProAction/index.js +1 -0
- package/lib/ProAction/index.less +5 -6
- package/package.json +1 -1
@@ -1,15 +1,12 @@
|
|
1
|
-
import "antd/es/tooltip/style";
|
2
|
-
import _Tooltip from "antd/es/tooltip";
|
3
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
4
2
|
/*
|
5
3
|
* @Author: za-xuwenli xuwenli@zhongan.io
|
6
4
|
* @Date: 2025-02-17 11:49:02
|
7
5
|
* @LastEditors: za-xuwenli xuwenli@zhongan.io
|
8
|
-
* @LastEditTime: 2025-05-
|
6
|
+
* @LastEditTime: 2025-05-29 13:55:34
|
9
7
|
* @FilePath: /zat-wjs-pro-product-web/src/components/CheckModalContent/index.tsx
|
10
8
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
11
9
|
*/
|
12
|
-
|
13
10
|
import './index.less';
|
14
11
|
var CheckModalContent = function CheckModalContent(props) {
|
15
12
|
var _ref = props !== null && props !== void 0 ? props : {},
|
@@ -23,21 +20,18 @@ var CheckModalContent = function CheckModalContent(props) {
|
|
23
20
|
children: [_jsx("span", {
|
24
21
|
className: "err-tip",
|
25
22
|
children: errorTitle
|
26
|
-
}),
|
27
|
-
|
28
|
-
children: [
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
})
|
39
|
-
}) : null]
|
40
|
-
})]
|
23
|
+
}), Array.isArray(list) && list.length === 1 ? _jsx("span", {
|
24
|
+
className: "err-item",
|
25
|
+
children: list[0]
|
26
|
+
}) : null, Array.isArray(list) && list.length > 1 ? _jsx("div", {
|
27
|
+
className: "list-wrap",
|
28
|
+
children: list.map(function (item) {
|
29
|
+
return _jsx("div", {
|
30
|
+
className: "err-item",
|
31
|
+
children: item
|
32
|
+
});
|
33
|
+
})
|
34
|
+
}) : null]
|
41
35
|
})
|
42
36
|
});
|
43
37
|
};
|
package/es/ProAction/index.js
CHANGED
@@ -213,6 +213,7 @@ var ProAction = function ProAction(props) {
|
|
213
213
|
size: "small",
|
214
214
|
onOk: onOk,
|
215
215
|
form: form,
|
216
|
+
className: "pro-action-error-modal",
|
216
217
|
children: !contextRender ? _jsx(CheckModalContent, _objectSpread({}, errorModalData !== null && errorModalData !== void 0 ? errorModalData : {})) : renderContent()
|
217
218
|
}) : null]
|
218
219
|
});
|
package/es/ProAction/index.less
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
@root-entry-name: 'default';
|
2
2
|
@import (reference) '~antd/es/style/themes/index.less';
|
3
3
|
|
4
|
-
.pro-action-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
color: #000;
|
4
|
+
.pro-action-error-modal {
|
5
|
+
.ant-modal-content {
|
6
|
+
> div.ant-modal-body {
|
7
|
+
max-height: none;
|
8
|
+
}
|
10
9
|
}
|
11
10
|
}
|
@@ -5,13 +5,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.default = void 0;
|
7
7
|
var _jsxRuntime = require("react/jsx-runtime");
|
8
|
-
var _antd = require("antd");
|
9
8
|
require("./index.less");
|
10
9
|
/*
|
11
10
|
* @Author: za-xuwenli xuwenli@zhongan.io
|
12
11
|
* @Date: 2025-02-17 11:49:02
|
13
12
|
* @LastEditors: za-xuwenli xuwenli@zhongan.io
|
14
|
-
* @LastEditTime: 2025-05-
|
13
|
+
* @LastEditTime: 2025-05-29 13:55:34
|
15
14
|
* @FilePath: /zat-wjs-pro-product-web/src/components/CheckModalContent/index.tsx
|
16
15
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
17
16
|
*/
|
@@ -28,21 +27,18 @@ var CheckModalContent = function CheckModalContent(props) {
|
|
28
27
|
children: [(0, _jsxRuntime.jsx)("span", {
|
29
28
|
className: "err-tip",
|
30
29
|
children: errorTitle
|
31
|
-
}), (0, _jsxRuntime.
|
32
|
-
|
33
|
-
children: [
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
})
|
44
|
-
}) : null]
|
45
|
-
})]
|
30
|
+
}), Array.isArray(list) && list.length === 1 ? (0, _jsxRuntime.jsx)("span", {
|
31
|
+
className: "err-item",
|
32
|
+
children: list[0]
|
33
|
+
}) : null, Array.isArray(list) && list.length > 1 ? (0, _jsxRuntime.jsx)("div", {
|
34
|
+
className: "list-wrap",
|
35
|
+
children: list.map(function (item) {
|
36
|
+
return (0, _jsxRuntime.jsx)("div", {
|
37
|
+
className: "err-item",
|
38
|
+
children: item
|
39
|
+
});
|
40
|
+
})
|
41
|
+
}) : null]
|
46
42
|
})
|
47
43
|
});
|
48
44
|
};
|
package/lib/ProAction/index.js
CHANGED
@@ -217,6 +217,7 @@ var ProAction = function ProAction(props) {
|
|
217
217
|
size: "small",
|
218
218
|
onOk: onOk,
|
219
219
|
form: form,
|
220
|
+
className: "pro-action-error-modal",
|
220
221
|
children: !contextRender ? (0, _jsxRuntime.jsx)(_CheckModalContent.default, (0, _objectSpread2.default)({}, errorModalData !== null && errorModalData !== void 0 ? errorModalData : {})) : renderContent()
|
221
222
|
}) : null]
|
222
223
|
});
|
package/lib/ProAction/index.less
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
@root-entry-name: 'default';
|
2
2
|
@import (reference) '~antd/es/style/themes/index.less';
|
3
3
|
|
4
|
-
.pro-action-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
color: #000;
|
4
|
+
.pro-action-error-modal {
|
5
|
+
.ant-modal-content {
|
6
|
+
> div.ant-modal-body {
|
7
|
+
max-height: none;
|
8
|
+
}
|
10
9
|
}
|
11
10
|
}
|