antd-mobile 5.6.0 → 5.6.1
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/2x/cjs/components/empty/empty-icon.d.ts +3 -0
- package/2x/cjs/components/empty/empty-icon.js +37 -0
- package/2x/cjs/components/empty/empty.js +27 -15
- package/2x/cjs/components/error-block/error-block.css +1 -0
- package/2x/cjs/components/error-block/error-block.js +3 -8
- package/2x/cjs/components/error-block/images/busy.d.ts +1 -0
- package/2x/cjs/components/error-block/images/busy.js +102 -0
- package/2x/cjs/components/error-block/images/default.d.ts +1 -0
- package/2x/cjs/components/error-block/images/default.js +178 -0
- package/2x/cjs/components/error-block/images/disconnected.d.ts +1 -0
- package/2x/cjs/components/error-block/images/disconnected.js +135 -0
- package/2x/cjs/components/error-block/images/empty.d.ts +1 -0
- package/2x/cjs/components/error-block/images/empty.js +131 -0
- package/2x/cjs/components/error-block/images/index.d.ts +2 -0
- package/2x/cjs/components/error-block/images/index.js +22 -0
- package/2x/cjs/components/form/form-item.d.ts +1 -1
- package/2x/cjs/components/form/form-item.js +4 -1
- package/2x/cjs/components/image-viewer/methods.d.ts +1 -4
- package/2x/cjs/components/image-viewer/methods.js +7 -58
- package/2x/cjs/components/popover/popover.css +1 -0
- package/2x/cjs/utils/render-imperatively.js +17 -7
- package/2x/es/components/empty/empty-icon.d.ts +3 -0
- package/2x/es/components/empty/empty-icon.js +24 -0
- package/2x/es/components/empty/empty.js +27 -14
- package/2x/es/components/error-block/error-block.css +1 -0
- package/2x/es/components/error-block/error-block.js +2 -6
- package/2x/es/components/error-block/images/busy.d.ts +1 -0
- package/2x/es/components/error-block/images/busy.js +90 -0
- package/2x/es/components/error-block/images/default.d.ts +1 -0
- package/2x/es/components/error-block/images/default.js +166 -0
- package/2x/es/components/error-block/images/disconnected.d.ts +1 -0
- package/2x/es/components/error-block/images/disconnected.js +123 -0
- package/2x/es/components/error-block/images/empty.d.ts +1 -0
- package/2x/es/components/error-block/images/empty.js +119 -0
- package/2x/es/components/error-block/images/index.d.ts +2 -0
- package/2x/es/components/error-block/images/index.js +10 -0
- package/2x/es/components/form/form-item.d.ts +1 -1
- package/2x/es/components/form/form-item.js +4 -1
- package/2x/es/components/image-viewer/methods.d.ts +1 -4
- package/2x/es/components/image-viewer/methods.js +6 -50
- package/2x/es/components/popover/popover.css +1 -0
- package/2x/es/utils/render-imperatively.js +16 -8
- package/2x/package.json +1 -1
- package/cjs/components/empty/empty-icon.d.ts +3 -0
- package/cjs/components/empty/empty-icon.js +37 -0
- package/cjs/components/empty/empty.js +27 -15
- package/cjs/components/error-block/error-block.css +1 -0
- package/cjs/components/error-block/error-block.js +3 -8
- package/cjs/components/error-block/images/busy.d.ts +1 -0
- package/cjs/components/error-block/images/busy.js +102 -0
- package/cjs/components/error-block/images/default.d.ts +1 -0
- package/cjs/components/error-block/images/default.js +178 -0
- package/cjs/components/error-block/images/disconnected.d.ts +1 -0
- package/cjs/components/error-block/images/disconnected.js +135 -0
- package/cjs/components/error-block/images/empty.d.ts +1 -0
- package/cjs/components/error-block/images/empty.js +131 -0
- package/cjs/components/error-block/images/index.d.ts +2 -0
- package/cjs/components/error-block/images/index.js +22 -0
- package/cjs/components/form/form-item.d.ts +1 -1
- package/cjs/components/form/form-item.js +4 -1
- package/cjs/components/image-viewer/methods.d.ts +1 -4
- package/cjs/components/image-viewer/methods.js +7 -58
- package/cjs/components/popover/popover.css +1 -0
- package/cjs/utils/render-imperatively.js +17 -7
- package/es/components/empty/empty-icon.d.ts +3 -0
- package/es/components/empty/empty-icon.js +24 -0
- package/es/components/empty/empty.js +27 -14
- package/es/components/error-block/error-block.css +1 -0
- package/es/components/error-block/error-block.js +2 -6
- package/es/components/error-block/images/busy.d.ts +1 -0
- package/es/components/error-block/images/busy.js +90 -0
- package/es/components/error-block/images/default.d.ts +1 -0
- package/es/components/error-block/images/default.js +166 -0
- package/es/components/error-block/images/disconnected.d.ts +1 -0
- package/es/components/error-block/images/disconnected.js +123 -0
- package/es/components/error-block/images/empty.d.ts +1 -0
- package/es/components/error-block/images/empty.js +119 -0
- package/es/components/error-block/images/index.d.ts +2 -0
- package/es/components/error-block/images/index.js +10 -0
- package/es/components/form/form-item.d.ts +1 -1
- package/es/components/form/form-item.js +4 -1
- package/es/components/image-viewer/methods.d.ts +1 -4
- package/es/components/image-viewer/methods.js +6 -50
- package/es/components/popover/popover.css +1 -0
- package/es/utils/render-imperatively.js +16 -8
- package/package.json +1 -1
- package/umd/antd-mobile.js +1 -1
- package/2x/assets/busy.svg +0 -42
- package/2x/assets/default.svg +0 -53
- package/2x/assets/disconnected.svg +0 -60
- package/2x/assets/empty-icon.svg +0 -18
- package/2x/assets/empty.svg +0 -52
- package/2x/cjs/assets/busy.svg +0 -42
- package/2x/cjs/assets/default.svg +0 -53
- package/2x/cjs/assets/disconnected.svg +0 -60
- package/2x/cjs/assets/empty-icon.svg +0 -18
- package/2x/cjs/assets/empty.svg +0 -52
- package/2x/cjs/components/error-block/error.d.ts +0 -1
- package/2x/cjs/components/error-block/error.js +0 -24
- package/2x/es/assets/busy.svg +0 -42
- package/2x/es/assets/default.svg +0 -53
- package/2x/es/assets/disconnected.svg +0 -60
- package/2x/es/assets/empty-icon.svg +0 -18
- package/2x/es/assets/empty.svg +0 -52
- package/2x/es/components/error-block/error.d.ts +0 -1
- package/2x/es/components/error-block/error.js +0 -10
- package/assets/busy.svg +0 -42
- package/assets/default.svg +0 -53
- package/assets/disconnected.svg +0 -60
- package/assets/empty-icon.svg +0 -18
- package/assets/empty.svg +0 -52
- package/cjs/assets/busy.svg +0 -42
- package/cjs/assets/default.svg +0 -53
- package/cjs/assets/disconnected.svg +0 -60
- package/cjs/assets/empty-icon.svg +0 -18
- package/cjs/assets/empty.svg +0 -52
- package/cjs/components/error-block/error.d.ts +0 -1
- package/cjs/components/error-block/error.js +0 -24
- package/es/assets/busy.svg +0 -42
- package/es/assets/default.svg +0 -53
- package/es/assets/disconnected.svg +0 -60
- package/es/assets/empty-icon.svg +0 -18
- package/es/assets/empty.svg +0 -52
- package/es/components/error-block/error.d.ts +0 -1
- package/es/components/error-block/error.js +0 -10
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.emptyImage = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
|
|
12
|
+
const emptyImage = _react.default.createElement("svg", {
|
|
13
|
+
viewBox: '0 0 400 400',
|
|
14
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
15
|
+
xmlnsXlink: 'http://www.w3.org/1999/xlink'
|
|
16
|
+
}, _react.default.createElement("defs", null, _react.default.createElement("linearGradient", {
|
|
17
|
+
x1: '50%',
|
|
18
|
+
y1: '-116.862%',
|
|
19
|
+
x2: '50%',
|
|
20
|
+
y2: '90.764%',
|
|
21
|
+
id: 'error-block-image-empty-a'
|
|
22
|
+
}, _react.default.createElement("stop", {
|
|
23
|
+
stopColor: '#72A7FD',
|
|
24
|
+
stopOpacity: 0.207,
|
|
25
|
+
offset: '0%'
|
|
26
|
+
}), _react.default.createElement("stop", {
|
|
27
|
+
stopColor: '#72A7FD',
|
|
28
|
+
stopOpacity: 0.115,
|
|
29
|
+
offset: '80.072%'
|
|
30
|
+
}), _react.default.createElement("stop", {
|
|
31
|
+
stopColor: '#72A7FD',
|
|
32
|
+
stopOpacity: 0,
|
|
33
|
+
offset: '100%'
|
|
34
|
+
})), _react.default.createElement("path", {
|
|
35
|
+
d: 'M146.183 18.461c31.705 23.336 33.349 71.85 4.93 96.614-.252.22 6.172 5.602 13.577 11.414l.686.537.69.54.695.54.348.27.698.54a341.27 341.27 0 0 0 8.806 6.596c1.114.802 4.643-.853 10.587-4.965l-.532 12.218a1.2 1.2 0 0 1-.481.91l-10.868 8.111c-1.405 1.048-3.32 1.185-4.854.072l-35.578-25.834c-33.414 17.333-79.913 15-109.804-7-33.444-24.616-33.444-75.95 0-100.563 33.443-24.615 87.657-24.615 121.1 0Zm-60.469 7.653C51.63 26.114 24 44.534 24 67.257S51.63 108.4 85.714 108.4s61.715-18.42 61.715-41.143c0-22.722-27.63-41.143-61.715-41.143Z',
|
|
36
|
+
id: 'error-block-image-empty-b'
|
|
37
|
+
})), _react.default.createElement("g", {
|
|
38
|
+
fill: 'none',
|
|
39
|
+
fillRule: 'evenodd'
|
|
40
|
+
}, _react.default.createElement("path", {
|
|
41
|
+
d: 'M157.964 244.661H0L3.806 100.13a4.572 4.572 0 0 1 4.353-4.446l.217-.006h45.588V68.2a4.572 4.572 0 0 1 4.356-4.567l.216-.005h65.498l2.554-58.689a4.571 4.571 0 0 1 4.779-4.367l.214.015 87.79 8.222a4.572 4.572 0 0 1 4.126 4.133l.015.212 3.146 69.652L301.634 64.9a4.571 4.571 0 0 1 5.628 4.231l.005.215v43.955l56.162.001v130.264h-56.163v.001h-82.383v-.004h-66.919v1.098ZM89.503 160.03h-9.968v8.436h9.968v-8.436Zm0-14.507h-9.968v8.435h9.968v-8.435Zm197.985-5.15h-9.967v8.432h9.967v-8.431Zm-197.985-8.806h-9.968v8.436h9.968v-8.436Zm197.985-5.153h-9.967v8.432h9.967v-8.432Zm0-14.503h-9.967v8.432h9.967v-8.432Zm-84.643-.777h-30.8v8.436h30.8v-8.436Zm84.643-13.186h-9.967v8.436h9.967v-8.436Zm-84.643-3.29h-30.8v8.436h30.8v-8.436Zm0-15.912h-30.8v8.436h30.8v-8.436Z',
|
|
42
|
+
transform: 'translate(18.286 50.286)',
|
|
43
|
+
fill: 'url(#error-block-image-empty-a)'
|
|
44
|
+
}), _react.default.createElement("g", {
|
|
45
|
+
transform: 'translate(108.571 189.886)'
|
|
46
|
+
}, _react.default.createElement("mask", {
|
|
47
|
+
id: 'error-block-image-empty-c',
|
|
48
|
+
fill: '#fff'
|
|
49
|
+
}, _react.default.createElement("use", {
|
|
50
|
+
xlinkHref: '#error-block-image-empty-b'
|
|
51
|
+
})), _react.default.createElement("use", {
|
|
52
|
+
fill: '#377EFF',
|
|
53
|
+
xlinkHref: '#error-block-image-empty-b'
|
|
54
|
+
}), _react.default.createElement("path", {
|
|
55
|
+
d: 'M131.429 134.686a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm5.714 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285ZM128 133.543a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-5.714 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm21.143-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-9.143-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm12-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-6.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM120 128.971a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm5.714 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm16-1.142.125.006a1.143 1.143 0 1 1-.125-.006Zm11.429 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-22.857 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm17.143-1.143a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285ZM136 125.543a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-13.143 1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm4.572-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm18.857-2.286a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-16-1.143.124.007a1.143 1.143 0 1 1-.124-.007Zm11.428 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-22.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm36.572 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-5.715 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-37.143 1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm13.715-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm9.714-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm18.286-3.428a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-11.429 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-28 1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm5.714-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm17.715-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-5.715 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-6.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm17.143-4.571a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-11.428 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-5.143 1.142a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-8-1.142a.571.571 0 1 1 0 1.142.571.571 0 0 1 0-1.142Zm-9.143 0a.571.571 0 1 1 0 1.142.571.571 0 0 1 0-1.142Zm30.286-3.429a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM124 109.543a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm5.714 0a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm5.715-4.572a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-22.858-1.142a.571.571 0 1 1 0 1.142.571.571 0 0 1 0-1.142Zm-11.428-3.429a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM124 99.257a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM49.143 55.829a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm5.714 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-9.143-1.143a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-5.714 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm21.143-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM52 52.4a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm12-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-6.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-19.429-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm5.715 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm16-1.143.124.007a1.143 1.143 0 1 1-.124-.007Zm11.428 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-22.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm17.143-1.142a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-11.429-1.143a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-13.143 1.143a.571.571 0 1 1 0 1.142.571.571 0 0 1 0-1.142Zm4.572-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM64 44.4a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-16-1.143.125.007a1.143 1.143 0 1 1-.125-.007Zm11.429 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-22.858 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm36.572 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-5.714 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM30.286 44.4a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM44 43.257a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm9.714-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM72 38.686a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-11.429 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-28 1.143a.571.571 0 1 1 0 1.142.571.571 0 0 1 0-1.142Zm5.715-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM56 37.543a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-5.714 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-6.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM60.57 32.97a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-11.428 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM44 34.114a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-8-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-9.143 0a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm30.286-3.428a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-15.429 1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm5.715 0a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm5.714-4.572a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-22.857-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-11.429-3.428a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM41.714 20.4a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Z',
|
|
56
|
+
fill: '#003CFF',
|
|
57
|
+
fillRule: 'nonzero',
|
|
58
|
+
mask: 'url(#error-block-image-empty-c)'
|
|
59
|
+
})), _react.default.createElement("path", {
|
|
60
|
+
d: 'M295.213 319.24c.744.546.745 1.433.002 1.98l-11.806 8.81c-1.069.799-3.326.474-4.853-.609l-35.622-25.241c-33.375 17.037-79.545 14.615-109.28-7.271-33.443-24.615-33.443-64.521 0-89.133 33.443-24.616 87.657-24.616 121.1 0 31.706 23.336 33.35 60.42 4.931 85.185-.543.473 35.528 26.278 35.528 26.278ZM148.06 220.015c-25.44 17.853-25.44 46.8 0 64.652 25.44 17.85 66.689 17.85 92.129 0 25.436-17.853 25.436-46.799 0-64.652-25.44-17.853-66.688-17.853-92.129 0Z',
|
|
61
|
+
fill: '#5D96FE'
|
|
62
|
+
}), _react.default.createElement("path", {
|
|
63
|
+
d: 'M123.514 233.021c2.185-5.241 5.67-9.735 10.453-13.482M264.967 271.54c-2.185 5.24-5.67 9.734-10.453 13.481',
|
|
64
|
+
stroke: '#FFF',
|
|
65
|
+
strokeWidth: 0.75,
|
|
66
|
+
strokeLinecap: 'round',
|
|
67
|
+
strokeLinejoin: 'round'
|
|
68
|
+
}), _react.default.createElement("path", {
|
|
69
|
+
d: 'M81.143 252.571c7.574 0 13.714 23.88 13.714 31.649 0 6.97-4.942 12.755-11.429 13.871v11.672c0 1.235-.767 2.237-1.713 2.237-.904 0-1.644-.912-1.71-2.07l-.005-.167v-11.526c-7.04-.595-12.571-6.644-12.571-14.017 0-7.024 5.02-27.222 11.581-31.027l.096-.053c.027-.016.055-.03.082-.045l.067-.035.066-.033.1-.05.094-.041a3.34 3.34 0 0 1 .224-.093l.11-.042.097-.032c.038-.013.077-.025.115-.036l.053-.016.053-.014a3.351 3.351 0 0 1 .23-.055l.085-.016a3.95 3.95 0 0 1 .441-.054l.11-.005.11-.002Z',
|
|
70
|
+
fill: '#FFCD6B',
|
|
71
|
+
fillRule: 'nonzero'
|
|
72
|
+
}), _react.default.createElement("g", {
|
|
73
|
+
transform: 'translate(283.429 177.143)',
|
|
74
|
+
fillRule: 'nonzero'
|
|
75
|
+
}, _react.default.createElement("path", {
|
|
76
|
+
d: 'M22.475.847c12.34 0 22.345 37.935 22.345 50.276 0 11.395-8.53 20.798-19.552 22.172v19.019c0 1.932-1.25 3.5-2.792 3.5-1.49 0-2.707-1.46-2.79-3.301l-.004-.2-.001-19.018C8.659 71.92.13 62.518.13 51.123.13 40.071 8.154 8.49 18.694 2.015l.054-.031a5.94 5.94 0 0 1 .214-.128l.088-.048c.213-.12.427-.228.642-.326l.135-.06.18-.075.135-.053a5.796 5.796 0 0 1 .464-.16 4.44 4.44 0 0 1 .33-.092l.124-.03a7.122 7.122 0 0 1 .31-.065l.018-.003a6.305 6.305 0 0 1 .756-.088l.165-.007.166-.002Z',
|
|
77
|
+
fill: '#FFCD6B'
|
|
78
|
+
}), _react.default.createElement("path", {
|
|
79
|
+
d: 'M22.475.847c12.34 0 22.345 37.935 22.345 50.276 0 11.395-8.53 20.798-19.552 22.172v19.019c0 1.932-1.25 3.5-2.792 3.5-1.543 0-2.794-1.566-2.794-3.5V73.295C8.659 71.921.13 62.518.13 51.123.13 38.783 10.134.847 22.475.847Z',
|
|
80
|
+
fill: '#FFCD6B'
|
|
81
|
+
}), _react.default.createElement("circle", {
|
|
82
|
+
fill: '#FFB400',
|
|
83
|
+
cx: 26.4,
|
|
84
|
+
cy: 56.869,
|
|
85
|
+
r: 1.45
|
|
86
|
+
}), _react.default.createElement("circle", {
|
|
87
|
+
fill: '#FFB400',
|
|
88
|
+
cx: 39.453,
|
|
89
|
+
cy: 58.319,
|
|
90
|
+
r: 1
|
|
91
|
+
}), _react.default.createElement("circle", {
|
|
92
|
+
fill: '#FFB400',
|
|
93
|
+
cx: 17.698,
|
|
94
|
+
cy: 63.637,
|
|
95
|
+
r: 2.417
|
|
96
|
+
}), _react.default.createElement("circle", {
|
|
97
|
+
fill: '#FFB400',
|
|
98
|
+
cx: 38.002,
|
|
99
|
+
cy: 51.068,
|
|
100
|
+
r: 2.417
|
|
101
|
+
}), _react.default.createElement("circle", {
|
|
102
|
+
fill: '#FFB400',
|
|
103
|
+
cx: 18.665,
|
|
104
|
+
cy: 17.228,
|
|
105
|
+
r: 2.417
|
|
106
|
+
}), _react.default.createElement("circle", {
|
|
107
|
+
fill: '#FFB400',
|
|
108
|
+
cx: 32.201,
|
|
109
|
+
cy: 13.36,
|
|
110
|
+
r: 2.417
|
|
111
|
+
}), _react.default.createElement("circle", {
|
|
112
|
+
fill: '#FFB400',
|
|
113
|
+
cx: 26.83,
|
|
114
|
+
cy: 20.666,
|
|
115
|
+
r: 1.45
|
|
116
|
+
}), _react.default.createElement("circle", {
|
|
117
|
+
fill: '#FFB400',
|
|
118
|
+
cx: 38.969,
|
|
119
|
+
cy: 31.731,
|
|
120
|
+
r: 2.417
|
|
121
|
+
}), _react.default.createElement("circle", {
|
|
122
|
+
fill: '#FFB400',
|
|
123
|
+
cx: 25.433,
|
|
124
|
+
cy: 29.797,
|
|
125
|
+
r: 1.45
|
|
126
|
+
}), _react.default.createElement("path", {
|
|
127
|
+
d: 'M34.197 53.033c0 9.825-6.934 18.017-16.172 19.987a22.44 22.44 0 0 0 4.45.448c12.34 0 22.344-10.004 22.344-22.345C44.82 38.783 34.815.847 22.475.847c8.947 14.03 11.722 40.891 11.722 52.186Z',
|
|
128
|
+
fill: '#FBBE47'
|
|
129
|
+
}))));
|
|
130
|
+
|
|
131
|
+
exports.emptyImage = emptyImage;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.imageRecord = void 0;
|
|
7
|
+
|
|
8
|
+
var _default = require("./default");
|
|
9
|
+
|
|
10
|
+
var _disconnected = require("./disconnected");
|
|
11
|
+
|
|
12
|
+
var _empty = require("./empty");
|
|
13
|
+
|
|
14
|
+
var _busy = require("./busy");
|
|
15
|
+
|
|
16
|
+
const imageRecord = {
|
|
17
|
+
'default': _default.defaultImage,
|
|
18
|
+
'disconnected': _disconnected.disconnectedImage,
|
|
19
|
+
'empty': _empty.emptyImage,
|
|
20
|
+
'busy': _busy.busyImage
|
|
21
|
+
};
|
|
22
|
+
exports.imageRecord = imageRecord;
|
|
@@ -7,7 +7,7 @@ import type { FormLayout } from './index';
|
|
|
7
7
|
declare type RenderChildren<Values = any> = (form: FormInstance<Values>) => React.ReactNode;
|
|
8
8
|
declare type ChildrenType<Values = any> = RenderChildren<Values> | React.ReactNode;
|
|
9
9
|
declare type RcFieldProps = Omit<FieldProps, 'children'>;
|
|
10
|
-
export declare type FormItemProps = Pick<RcFieldProps, 'dependencies' | 'valuePropName' | 'name' | 'rules' | 'messageVariables' | 'trigger' | 'validateTrigger' | 'shouldUpdate' | 'initialValue'> & Pick<ListItemProps, 'style' | 'onClick' | 'extra' | 'arrow' | 'description'> & {
|
|
10
|
+
export declare type FormItemProps = Pick<RcFieldProps, 'dependencies' | 'valuePropName' | 'name' | 'rules' | 'messageVariables' | 'trigger' | 'validateTrigger' | 'shouldUpdate' | 'initialValue'> & Pick<ListItemProps, 'style' | 'onClick' | 'extra' | 'clickable' | 'arrow' | 'description'> & {
|
|
11
11
|
label?: React.ReactNode;
|
|
12
12
|
help?: React.ReactNode;
|
|
13
13
|
hasFeedback?: boolean;
|
|
@@ -120,6 +120,7 @@ const FormItemLayout = props => {
|
|
|
120
120
|
}),
|
|
121
121
|
disabled: disabled,
|
|
122
122
|
onClick: props.onClick,
|
|
123
|
+
clickable: props.clickable,
|
|
123
124
|
arrow: arrow
|
|
124
125
|
}, _react.default.createElement("div", {
|
|
125
126
|
className: (0, _classnames.default)(`${classPrefix}-child`, `${classPrefix}-child-position-${childElementPosition}`)
|
|
@@ -155,9 +156,10 @@ const FormItem = props => {
|
|
|
155
156
|
onClick,
|
|
156
157
|
shouldUpdate,
|
|
157
158
|
dependencies,
|
|
159
|
+
clickable,
|
|
158
160
|
arrow
|
|
159
161
|
} = props,
|
|
160
|
-
fieldProps = (0, _tslib.__rest)(props, ["className", "style", "label", "help", "extra", "hasFeedback", "name", "required", "noStyle", "hidden", "layout", "childElementPosition", "description", "disabled", "rules", "children", "messageVariables", "trigger", "validateTrigger", "onClick", "shouldUpdate", "dependencies", "arrow"]);
|
|
162
|
+
fieldProps = (0, _tslib.__rest)(props, ["className", "style", "label", "help", "extra", "hasFeedback", "name", "required", "noStyle", "hidden", "layout", "childElementPosition", "description", "disabled", "rules", "children", "messageVariables", "trigger", "validateTrigger", "onClick", "shouldUpdate", "dependencies", "clickable", "arrow"]);
|
|
161
163
|
|
|
162
164
|
const {
|
|
163
165
|
validateTrigger: contextValidateTrigger
|
|
@@ -232,6 +234,7 @@ const FormItem = props => {
|
|
|
232
234
|
hidden: hidden,
|
|
233
235
|
layout: layout,
|
|
234
236
|
childElementPosition: childElementPosition,
|
|
237
|
+
clickable: clickable,
|
|
235
238
|
arrow: arrow
|
|
236
239
|
}, _react.default.createElement(_context.NoStyleItemContext.Provider, {
|
|
237
240
|
value: onSubMetaChange
|
|
@@ -3,8 +3,5 @@ export declare type ImageViewerShowHandler = {
|
|
|
3
3
|
close: () => void;
|
|
4
4
|
};
|
|
5
5
|
export declare function showImageViewer(props: Omit<ImageViewerProps, 'visible'>): ImageViewerShowHandler;
|
|
6
|
-
export declare function showMultiImageViewer(props: Omit<MultiImageViewerProps, 'visible'>):
|
|
7
|
-
close: () => void;
|
|
8
|
-
};
|
|
6
|
+
export declare function showMultiImageViewer(props: Omit<MultiImageViewerProps, 'visible'>): ImageViewerShowHandler;
|
|
9
7
|
export declare function clearImageViewer(): void;
|
|
10
|
-
export declare const getH: () => void;
|
|
@@ -4,21 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.clearImageViewer = clearImageViewer;
|
|
7
|
-
exports.getH = void 0;
|
|
8
7
|
exports.showImageViewer = showImageViewer;
|
|
9
8
|
exports.showMultiImageViewer = showMultiImageViewer;
|
|
10
9
|
|
|
11
|
-
var _react =
|
|
12
|
-
|
|
13
|
-
var _renderToBody = require("../../utils/render-to-body");
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
14
11
|
|
|
15
12
|
var _imageViewer = require("./image-viewer");
|
|
16
13
|
|
|
17
14
|
var _renderImperatively = require("../../utils/render-imperatively");
|
|
18
15
|
|
|
19
|
-
function
|
|
20
|
-
|
|
21
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22
17
|
|
|
23
18
|
const handlerSet = new Set();
|
|
24
19
|
|
|
@@ -38,54 +33,14 @@ function showImageViewer(props) {
|
|
|
38
33
|
|
|
39
34
|
function showMultiImageViewer(props) {
|
|
40
35
|
clearImageViewer();
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
const closedRef = (0, _react.useRef)(false);
|
|
44
|
-
(0, _react.useEffect)(() => {
|
|
45
|
-
if (!closedRef.current) {
|
|
46
|
-
setVisible(true);
|
|
47
|
-
} else {
|
|
48
|
-
handleAfterClose();
|
|
49
|
-
}
|
|
50
|
-
}, []);
|
|
51
|
-
|
|
52
|
-
function handleClose() {
|
|
53
|
-
var _a;
|
|
54
|
-
|
|
55
|
-
closedRef.current = true;
|
|
56
|
-
(_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
57
|
-
setVisible(false);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
(0, _react.useImperativeHandle)(ref, () => ({
|
|
61
|
-
close: handleClose
|
|
62
|
-
}));
|
|
63
|
-
|
|
64
|
-
function handleAfterClose() {
|
|
36
|
+
const handler = (0, _renderImperatively.renderImperatively)(_react.default.createElement(_imageViewer.MultiImageViewer, Object.assign({}, props, {
|
|
37
|
+
afterClose: () => {
|
|
65
38
|
var _a;
|
|
66
39
|
|
|
67
|
-
(_a = props.afterClose) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
68
|
-
unmount();
|
|
69
40
|
handlerSet.delete(handler);
|
|
41
|
+
(_a = props.afterClose) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
70
42
|
}
|
|
71
|
-
|
|
72
|
-
return _react.default.createElement(_imageViewer.MultiImageViewer, Object.assign({}, props, {
|
|
73
|
-
visible: visible,
|
|
74
|
-
onClose: handleClose,
|
|
75
|
-
afterClose: handleAfterClose
|
|
76
|
-
}));
|
|
77
|
-
});
|
|
78
|
-
const ref = (0, _react.createRef)();
|
|
79
|
-
const unmount = (0, _renderToBody.renderToBody)(_react.default.createElement(Wrapper, {
|
|
80
|
-
ref: ref
|
|
81
|
-
}));
|
|
82
|
-
const handler = {
|
|
83
|
-
close: () => {
|
|
84
|
-
var _a;
|
|
85
|
-
|
|
86
|
-
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.close();
|
|
87
|
-
}
|
|
88
|
-
};
|
|
43
|
+
})));
|
|
89
44
|
handlerSet.add(handler);
|
|
90
45
|
return handler;
|
|
91
46
|
}
|
|
@@ -95,10 +50,4 @@ function clearImageViewer() {
|
|
|
95
50
|
handler.close();
|
|
96
51
|
});
|
|
97
52
|
handlerSet.clear();
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
const getH = () => {
|
|
101
|
-
console.log(handlerSet);
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
exports.getH = getH;
|
|
53
|
+
}
|
|
@@ -14,9 +14,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
14
14
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
15
|
|
|
16
16
|
function renderImperatively(element) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const Wrapper = () => {
|
|
17
|
+
const Wrapper = _react.default.forwardRef((_, ref) => {
|
|
20
18
|
const [visible, setVisible] = (0, _react.useState)(false);
|
|
21
19
|
const closedRef = (0, _react.useRef)(false);
|
|
22
20
|
(0, _react.useEffect)(() => {
|
|
@@ -35,8 +33,6 @@ function renderImperatively(element) {
|
|
|
35
33
|
(_b = (_a = element.props).onClose) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
36
34
|
}
|
|
37
35
|
|
|
38
|
-
close = onClose;
|
|
39
|
-
|
|
40
36
|
function afterClose() {
|
|
41
37
|
var _a, _b;
|
|
42
38
|
|
|
@@ -44,14 +40,28 @@ function renderImperatively(element) {
|
|
|
44
40
|
(_b = (_a = element.props).afterClose) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
45
41
|
}
|
|
46
42
|
|
|
43
|
+
(0, _react.useImperativeHandle)(ref, () => ({
|
|
44
|
+
close: onClose
|
|
45
|
+
}));
|
|
47
46
|
return _react.default.cloneElement(element, Object.assign(Object.assign({}, element.props), {
|
|
48
47
|
visible,
|
|
49
48
|
onClose,
|
|
50
49
|
afterClose
|
|
51
50
|
}));
|
|
52
|
-
};
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
const wrapperRef = _react.default.createRef();
|
|
54
|
+
|
|
55
|
+
const unmount = (0, _renderToBody.renderToBody)(_react.default.createElement(Wrapper, {
|
|
56
|
+
ref: wrapperRef
|
|
57
|
+
}));
|
|
58
|
+
|
|
59
|
+
function close() {
|
|
60
|
+
var _a;
|
|
61
|
+
|
|
62
|
+
(_a = wrapperRef.current) === null || _a === void 0 ? void 0 : _a.close();
|
|
63
|
+
}
|
|
53
64
|
|
|
54
|
-
const unmount = (0, _renderToBody.renderToBody)(_react.default.createElement(Wrapper, null));
|
|
55
65
|
return {
|
|
56
66
|
close
|
|
57
67
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { withNativeProps } from '../../utils/native-props';
|
|
3
|
+
export const EmptyIcon = props => {
|
|
4
|
+
return withNativeProps(props, React.createElement("svg", {
|
|
5
|
+
viewBox: '0 0 64 41'
|
|
6
|
+
}, React.createElement("g", {
|
|
7
|
+
transform: 'translate(0 1)',
|
|
8
|
+
fill: 'none',
|
|
9
|
+
fillRule: 'evenodd'
|
|
10
|
+
}, React.createElement("ellipse", {
|
|
11
|
+
fill: '#f5f5f5',
|
|
12
|
+
cx: '32',
|
|
13
|
+
cy: '33',
|
|
14
|
+
rx: '32',
|
|
15
|
+
ry: '7'
|
|
16
|
+
}), React.createElement("g", {
|
|
17
|
+
stroke: '#d9d9d9'
|
|
18
|
+
}, React.createElement("path", {
|
|
19
|
+
d: 'M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z'
|
|
20
|
+
}), React.createElement("path", {
|
|
21
|
+
d: 'M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z',
|
|
22
|
+
fill: '#fafafa'
|
|
23
|
+
})))));
|
|
24
|
+
};
|
|
@@ -1,25 +1,38 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
|
-
import { mergeProps } from '../../utils/with-default-props';
|
|
4
3
|
import { withNativeProps } from '../../utils/native-props';
|
|
5
|
-
import EmptyIcon from '
|
|
4
|
+
import { EmptyIcon } from './empty-icon';
|
|
6
5
|
const classPrefix = `adm-empty`;
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
6
|
+
export const Empty = props => {
|
|
7
|
+
function renderImageNode() {
|
|
8
|
+
const {
|
|
9
|
+
image
|
|
10
|
+
} = props;
|
|
11
|
+
|
|
12
|
+
if (image === undefined) {
|
|
13
|
+
return React.createElement(EmptyIcon, {
|
|
14
|
+
className: `${classPrefix}-image`,
|
|
15
|
+
style: props.imageStyle
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
if (typeof image === 'string') {
|
|
20
|
+
return React.createElement("img", {
|
|
21
|
+
className: `${classPrefix}-image`,
|
|
22
|
+
style: props.imageStyle,
|
|
23
|
+
src: image,
|
|
24
|
+
alt: 'empty'
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return image;
|
|
29
|
+
}
|
|
30
|
+
|
|
18
31
|
return withNativeProps(props, React.createElement("div", {
|
|
19
32
|
className: classPrefix
|
|
20
33
|
}, React.createElement("div", {
|
|
21
34
|
className: `${classPrefix}-image-container`
|
|
22
|
-
},
|
|
35
|
+
}, renderImageNode()), props.description && React.createElement("div", {
|
|
23
36
|
className: classNames(`${classPrefix}-description`)
|
|
24
37
|
}, props.description)));
|
|
25
38
|
};
|
|
@@ -1,26 +1,22 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
|
-
import { iconRecord } from './error';
|
|
4
3
|
import { mergeProps } from '../../utils/with-default-props';
|
|
5
4
|
import { withNativeProps } from '../../utils/native-props';
|
|
6
5
|
import { useConfig } from '../config-provider';
|
|
6
|
+
import { imageRecord } from './images';
|
|
7
7
|
const classPrefix = `adm-error-block`;
|
|
8
8
|
const defaultProps = {
|
|
9
9
|
status: 'default'
|
|
10
10
|
};
|
|
11
11
|
export const ErrorBlock = p => {
|
|
12
12
|
const props = mergeProps(defaultProps, p);
|
|
13
|
-
const icon = iconRecord[props.status];
|
|
14
13
|
const {
|
|
15
14
|
locale
|
|
16
15
|
} = useConfig();
|
|
17
16
|
const contentPack = locale.ErrorBlock[props.status];
|
|
18
17
|
const des = 'description' in props ? props.description : contentPack.description;
|
|
19
18
|
const title = 'title' in props ? props.title : contentPack.title;
|
|
20
|
-
let imageNode =
|
|
21
|
-
src: icon,
|
|
22
|
-
alt: 'error block image'
|
|
23
|
-
});
|
|
19
|
+
let imageNode = imageRecord[props.status];
|
|
24
20
|
|
|
25
21
|
if (props.image) {
|
|
26
22
|
if (typeof props.image === 'string') {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const busyImage: JSX.Element;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export const busyImage = React.createElement("svg", {
|
|
3
|
+
viewBox: '0 0 400 400',
|
|
4
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
5
|
+
xmlnsXlink: 'http://www.w3.org/1999/xlink'
|
|
6
|
+
}, React.createElement("defs", null, React.createElement("linearGradient", {
|
|
7
|
+
x1: '50%',
|
|
8
|
+
y1: '-116.862%',
|
|
9
|
+
x2: '50%',
|
|
10
|
+
y2: '90.764%',
|
|
11
|
+
id: 'error-block-image-busy-a'
|
|
12
|
+
}, React.createElement("stop", {
|
|
13
|
+
stopColor: '#72A7FD',
|
|
14
|
+
stopOpacity: 0.207,
|
|
15
|
+
offset: '0%'
|
|
16
|
+
}), React.createElement("stop", {
|
|
17
|
+
stopColor: '#72A7FD',
|
|
18
|
+
stopOpacity: 0.115,
|
|
19
|
+
offset: '80.072%'
|
|
20
|
+
}), React.createElement("stop", {
|
|
21
|
+
stopColor: '#72A7FD',
|
|
22
|
+
stopOpacity: 0,
|
|
23
|
+
offset: '100%'
|
|
24
|
+
})), React.createElement("circle", {
|
|
25
|
+
id: 'error-block-image-busy-b',
|
|
26
|
+
cx: 34.857,
|
|
27
|
+
cy: 34.857,
|
|
28
|
+
r: 34.857
|
|
29
|
+
})), React.createElement("g", {
|
|
30
|
+
fill: 'none',
|
|
31
|
+
fillRule: 'evenodd'
|
|
32
|
+
}, React.createElement("path", {
|
|
33
|
+
d: 'M157.964 243.667H0L3.806 99.134a4.572 4.572 0 0 1 4.353-4.446l.217-.005h45.588V67.205a4.572 4.572 0 0 1 4.356-4.566l.216-.005 65.498-.001 2.554-58.688a4.571 4.571 0 0 1 4.779-4.368l.214.015 87.79 8.222a4.572 4.572 0 0 1 4.126 4.133l.015.213 3.146 69.652 74.976-17.906a4.571 4.571 0 0 1 5.628 4.23l.005.216v43.955h56.162v130.265l-56.163-.001v.002h-82.383v-.004h-66.919v1.098Zm-68.461-84.631h-9.968v8.435h9.968v-8.435Zm0-14.508h-9.968v8.436h9.968v-8.436Zm197.985-5.149h-9.967v8.432h9.967v-8.432Zm-197.985-8.806h-9.968v8.436h9.968v-8.436Zm197.985-5.153h-9.967v8.432h9.967v-8.432Zm0-14.503h-9.967v8.432h9.967v-8.432Zm-84.643-.777h-30.8v8.436h30.8v-8.436Zm84.643-13.186h-9.967v8.435h9.967v-8.435Zm-84.643-3.29h-30.8v8.435h30.8v-8.435Zm0-15.912h-30.8v8.436h30.8v-8.436Z',
|
|
34
|
+
transform: 'translate(18.286 51.286)',
|
|
35
|
+
fill: 'url(#error-block-image-busy-a)'
|
|
36
|
+
}), React.createElement("path", {
|
|
37
|
+
d: 'm250.934 176.555-101.963 1.038c-5.276.054-9.51 4.374-9.455 9.65.054 5.274 4.374 9.507 9.649 9.454l.958-.01c-.376 7.363 3.679 59.93 34.894 62.659 4.203.367 7.432.39 7.475 4.609.042 4.218-3.176 4.307-7.37 4.76-34.593 3.737-34.136 56.004-33.61 63.357l-.957.01c-5.276.053-9.51 4.373-9.455 9.649.053 5.275 4.374 9.508 9.649 9.454l101.963-1.039c5.275-.054 9.508-4.374 9.455-9.648-.055-5.276-4.374-9.51-9.65-9.455l-.958.01c.377-7.363-.729-59.672-34.894-62.66-4.202-.367-7.432-.39-7.474-4.608-.043-4.219 3.175-4.308 7.369-4.76 31.276-3.377 34.136-56.004 33.61-63.357l.958-.01c5.276-.053 9.508-4.373 9.455-9.649-.055-5.276-4.374-9.509-9.65-9.454Z',
|
|
38
|
+
fill: '#377EFF'
|
|
39
|
+
}), React.createElement("path", {
|
|
40
|
+
d: 'M233.524 314.422c.108.684.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-.894-5.644c.108.684.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-.149 17.865c.108.684.773 1.147 1.483 1.035.711-.113 1.2-.759 1.091-1.443-.108-.684-.772-1.148-1.483-1.035-.71.112-1.2.758-1.09 1.443Zm-2.144-8.182c.109.684.773 1.148 1.484 1.035.71-.113 1.199-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.113-1.2.759-1.09 1.443Zm-1.586-4.694c.108.684.772 1.148 1.483 1.035.711-.113 1.2-.759 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-1.013-5.88c.109.685.773 1.148 1.484 1.036.71-.113 1.2-.759 1.09-1.443-.107-.684-.772-1.148-1.483-1.035-.71.113-1.199.759-1.09 1.443Zm.236 15.575c.108.685.772 1.148 1.483 1.035.71-.112 1.2-.758 1.09-1.442-.107-.685-.772-1.148-1.483-1.035-.71.112-1.199.758-1.09 1.442Zm-.4 4.494c.108.684.772 1.147 1.483 1.035.71-.113 1.2-.759 1.091-1.443-.108-.684-.773-1.148-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-3.88-8.601c.108.684.772 1.147 1.483 1.035.71-.113 1.199-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.113-1.2.759-1.09 1.443Zm-.524-7.186c.065.41.463.688.89.62.426-.067.72-.454.654-.865-.065-.41-.463-.688-.89-.62-.426.067-.72.454-.654.865Zm-2.265-4.102c.109.684.773 1.148 1.484 1.035.71-.113 1.2-.759 1.09-1.443-.108-.684-.772-1.147-1.483-1.035-.71.113-1.199.759-1.09 1.443Zm-.545-6.518c.065.41.464.689.89.621.427-.067.72-.455.655-.865-.065-.41-.464-.689-.89-.621-.427.067-.72.455-.655.865Zm2.098 23.629c.109.684.773 1.147 1.484 1.035.71-.113 1.2-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.112-1.199.758-1.09 1.443Zm-.756-9.65c.043.274.309.46.593.414a.512.512 0 0 0 .437-.577.512.512 0 0 0-.594-.414.512.512 0 0 0-.436.577Zm-.808 20.96c.109.684.773 1.147 1.484 1.034.71-.112 1.2-.758 1.09-1.442-.108-.685-.772-1.148-1.483-1.036-.71.113-1.199.759-1.09 1.443Zm-4.691-31.966c.065.41.463.689.89.621.426-.068.72-.455.654-.866-.065-.41-.463-.688-.89-.62-.426.067-.72.454-.654.865Zm2.098 23.628c.108.684.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-1.967-12.416c.109.684.773 1.147 1.484 1.035.71-.113 1.199-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.112-1.2.758-1.09 1.443Zm1.073 6.772c.108.685.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.442-.108-.685-.772-1.148-1.483-1.036-.711.113-1.2.759-1.091 1.443Zm-.009-3.131c.065.41.464.689.89.621.427-.068.72-.455.655-.866-.065-.41-.464-.688-.89-.62-.427.067-.72.454-.655.865Zm-1.43-9.03c.065.41.463.688.89.62.426-.067.72-.454.655-.865-.065-.41-.464-.689-.89-.62-.427.067-.72.454-.655.865ZM214.5 333.38c.108.685.772 1.148 1.483 1.036.711-.113 1.2-.759 1.091-1.443-.108-.684-.772-1.148-1.483-1.035-.711.112-1.2.758-1.091 1.442Zm-.156-7.178c.065.41.464.689.89.621.427-.067.72-.455.655-.865-.065-.41-.464-.689-.89-.621-.427.067-.72.455-.655.865Zm-1.871-4.72c.108.684.773 1.147 1.483 1.034.711-.112 1.2-.758 1.091-1.442-.108-.685-.772-1.148-1.483-1.035-.71.112-1.2.758-1.091 1.442Zm-1.614-6.857c.065.41.464.689.89.621.427-.068.72-.455.655-.866-.065-.41-.464-.688-.89-.62-.427.067-.72.454-.655.865Zm-.894-5.644c.065.41.464.689.89.621.427-.067.72-.455.655-.866-.065-.41-.463-.688-.89-.62-.427.067-.72.455-.655.865Zm-1.43-9.03c.065.41.464.688.89.62.427-.067.72-.454.655-.865-.065-.41-.464-.688-.89-.62-.427.067-.72.454-.655.865Zm-1.958 14.225c.065.41.463.689.89.62.426-.067.72-.454.654-.865-.065-.41-.463-.688-.89-.62-.426.067-.72.454-.654.865Zm-.703 12.81c.065.41.464.688.89.62.427-.067.72-.455.655-.865-.065-.41-.463-.689-.89-.621-.427.067-.72.455-.655.866Zm-4.543-22.536c.065.41.463.689.89.621.426-.067.72-.455.654-.865-.065-.41-.463-.689-.89-.621-.426.067-.72.455-.654.865Zm2.806 30.138c.065.41.463.689.89.621.426-.067.72-.455.654-.865-.065-.41-.463-.689-.89-.621-.426.067-.72.455-.654.865Zm-5.694-17.996c.065.41.463.688.89.62.426-.067.72-.455.654-.865-.065-.41-.463-.689-.89-.621-.426.067-.72.455-.654.866Zm-2.935-13.343c.066.41.464.688.89.62.427-.067.72-.454.655-.865-.065-.41-.463-.689-.89-.621-.426.068-.72.455-.655.866Z',
|
|
41
|
+
fill: '#003CFF',
|
|
42
|
+
fillRule: 'nonzero'
|
|
43
|
+
}), React.createElement("path", {
|
|
44
|
+
d: 'm250.934 176.555-101.963 1.038c-5.276.054-9.51 4.374-9.455 9.65.054 5.274 4.374 9.507 9.649 9.454l101.963-1.04c5.276-.052 9.508-4.372 9.455-9.648-.055-5.276-4.374-9.509-9.65-9.454ZM252.64 331.241l-101.964 1.038c-5.275.054-9.508 4.374-9.454 9.65.054 5.275 4.374 9.508 9.649 9.454l101.963-1.039c5.275-.053 9.507-4.373 9.454-9.649-.054-5.275-4.374-9.508-9.649-9.454Z',
|
|
45
|
+
fill: '#7EACFF'
|
|
46
|
+
}), React.createElement("path", {
|
|
47
|
+
stroke: '#003CFF',
|
|
48
|
+
strokeWidth: 0.75,
|
|
49
|
+
strokeLinecap: 'round',
|
|
50
|
+
strokeLinejoin: 'round',
|
|
51
|
+
d: 'm196.824 197.298 52.216-.506M193.329 330.5h52.215'
|
|
52
|
+
}), React.createElement("path", {
|
|
53
|
+
d: 'M167.367 228.041c-4.091-10.787-6.086-20.934-5.985-30.44',
|
|
54
|
+
stroke: '#FFF',
|
|
55
|
+
strokeWidth: 0.75,
|
|
56
|
+
strokeLinecap: 'round',
|
|
57
|
+
strokeLinejoin: 'round'
|
|
58
|
+
}), React.createElement("circle", {
|
|
59
|
+
cx: 14.857,
|
|
60
|
+
cy: 14.857,
|
|
61
|
+
r: 14.857,
|
|
62
|
+
transform: 'translate(106.857 248.571)',
|
|
63
|
+
fill: '#FFCD6B',
|
|
64
|
+
fillRule: 'nonzero'
|
|
65
|
+
}), React.createElement("g", {
|
|
66
|
+
transform: 'translate(236.571 284.571)'
|
|
67
|
+
}, React.createElement("mask", {
|
|
68
|
+
id: 'error-block-image-busy-c',
|
|
69
|
+
fill: '#fff'
|
|
70
|
+
}, React.createElement("use", {
|
|
71
|
+
xlinkHref: '#error-block-image-busy-b'
|
|
72
|
+
})), React.createElement("use", {
|
|
73
|
+
fill: '#FBBE47',
|
|
74
|
+
fillRule: 'nonzero',
|
|
75
|
+
xlinkHref: '#error-block-image-busy-b'
|
|
76
|
+
}), React.createElement("circle", {
|
|
77
|
+
fill: '#FFCD6B',
|
|
78
|
+
fillRule: 'nonzero',
|
|
79
|
+
mask: 'url(#error-block-image-busy-c)',
|
|
80
|
+
cx: 25.714,
|
|
81
|
+
cy: 28,
|
|
82
|
+
r: 34.857
|
|
83
|
+
}), React.createElement("circle", {
|
|
84
|
+
fill: '#FFF',
|
|
85
|
+
fillRule: 'nonzero',
|
|
86
|
+
mask: 'url(#error-block-image-busy-c)',
|
|
87
|
+
cx: 22.286,
|
|
88
|
+
cy: 18.857,
|
|
89
|
+
r: 3.429
|
|
90
|
+
}))));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const defaultImage: JSX.Element;
|