antd-mobile 5.5.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/action-sheet/action-sheet.d.ts +5 -5
- package/2x/cjs/components/action-sheet/action-sheet.js +6 -46
- package/2x/cjs/components/action-sheet/index.d.ts +1 -1
- package/2x/cjs/components/badge/badge.js +1 -1
- package/2x/cjs/components/cascader-view/cascader-view.js +7 -0
- package/2x/cjs/components/checkbox/checkbox.js +4 -20
- package/2x/cjs/components/checkbox/native-input.d.ts +10 -0
- package/2x/cjs/components/checkbox/native-input.js +42 -0
- package/2x/cjs/components/dialog/index.d.ts +1 -1
- package/2x/cjs/components/dialog/show.d.ts +2 -4
- package/2x/cjs/components/dialog/show.js +9 -47
- package/2x/cjs/components/dot-loading/dot-loading.js +1 -2
- 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 +5 -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/floating-bubble/floating-bubble.css +2 -1
- package/2x/cjs/components/floating-bubble/floating-bubble.d.ts +1 -1
- 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/index.d.ts +1 -1
- package/2x/cjs/components/image-viewer/methods.d.ts +3 -7
- package/2x/cjs/components/image-viewer/methods.js +13 -79
- package/2x/cjs/components/modal/index.d.ts +1 -1
- package/2x/cjs/components/modal/show.d.ts +2 -4
- package/2x/cjs/components/modal/show.js +9 -47
- package/2x/cjs/components/popover/popover.css +1 -0
- package/2x/cjs/components/popover/popover.js +7 -6
- package/2x/cjs/components/popover/temp-floating-ui.min.d.ts +1 -0
- package/2x/cjs/components/popover/temp-floating-ui.min.js +1 -0
- package/2x/cjs/components/radio/radio.js +4 -20
- package/2x/cjs/components/search-bar/search-bar.d.ts +1 -1
- package/2x/cjs/components/tab-bar/tab-bar.d.ts +1 -1
- package/2x/cjs/components/tab-bar/tab-bar.js +1 -1
- package/2x/cjs/components/tree-select/tree-select.js +2 -2
- package/2x/cjs/utils/render-imperatively.d.ts +10 -0
- package/2x/cjs/utils/render-imperatively.js +68 -0
- package/2x/es/components/action-sheet/action-sheet.d.ts +5 -5
- package/2x/es/components/action-sheet/action-sheet.js +5 -41
- package/2x/es/components/action-sheet/index.d.ts +1 -1
- package/2x/es/components/badge/badge.js +1 -1
- package/2x/es/components/cascader-view/cascader-view.js +7 -0
- package/2x/es/components/checkbox/checkbox.js +4 -21
- package/2x/es/components/checkbox/native-input.d.ts +10 -0
- package/2x/es/components/checkbox/native-input.js +28 -0
- package/2x/es/components/dialog/index.d.ts +1 -1
- package/2x/es/components/dialog/show.d.ts +2 -4
- package/2x/es/components/dialog/show.js +8 -44
- package/2x/es/components/dot-loading/dot-loading.js +1 -2
- 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 +4 -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/floating-bubble/floating-bubble.css +2 -1
- package/2x/es/components/floating-bubble/floating-bubble.d.ts +1 -1
- 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/index.d.ts +1 -1
- package/2x/es/components/image-viewer/methods.d.ts +3 -7
- package/2x/es/components/image-viewer/methods.js +12 -75
- package/2x/es/components/modal/index.d.ts +1 -1
- package/2x/es/components/modal/show.d.ts +2 -4
- package/2x/es/components/modal/show.js +8 -44
- package/2x/es/components/popover/popover.css +1 -0
- package/2x/es/components/popover/popover.js +2 -1
- package/2x/es/components/popover/temp-floating-ui.min.d.ts +1 -0
- package/2x/es/components/popover/temp-floating-ui.min.js +1 -0
- package/2x/es/components/radio/radio.js +4 -21
- package/2x/es/components/search-bar/search-bar.d.ts +1 -1
- package/2x/es/components/tab-bar/tab-bar.d.ts +1 -1
- package/2x/es/components/tab-bar/tab-bar.js +1 -1
- package/2x/es/components/tree-select/tree-select.js +2 -2
- package/2x/es/utils/render-imperatively.d.ts +10 -0
- package/2x/es/utils/render-imperatively.js +53 -0
- package/2x/package.json +2 -3
- package/cjs/components/action-sheet/action-sheet.d.ts +5 -5
- package/cjs/components/action-sheet/action-sheet.js +6 -46
- package/cjs/components/action-sheet/index.d.ts +1 -1
- package/cjs/components/badge/badge.js +1 -1
- package/cjs/components/cascader-view/cascader-view.js +7 -0
- package/cjs/components/checkbox/checkbox.js +4 -20
- package/cjs/components/checkbox/native-input.d.ts +10 -0
- package/cjs/components/checkbox/native-input.js +42 -0
- package/cjs/components/dialog/index.d.ts +1 -1
- package/cjs/components/dialog/show.d.ts +2 -4
- package/cjs/components/dialog/show.js +9 -47
- package/cjs/components/dot-loading/dot-loading.js +1 -2
- 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 +5 -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/floating-bubble/floating-bubble.css +2 -1
- package/cjs/components/floating-bubble/floating-bubble.d.ts +1 -1
- package/cjs/components/form/form-item.d.ts +1 -1
- package/cjs/components/form/form-item.js +4 -1
- package/cjs/components/image-viewer/index.d.ts +1 -1
- package/cjs/components/image-viewer/methods.d.ts +3 -7
- package/cjs/components/image-viewer/methods.js +13 -79
- package/cjs/components/modal/index.d.ts +1 -1
- package/cjs/components/modal/show.d.ts +2 -4
- package/cjs/components/modal/show.js +9 -47
- package/cjs/components/popover/popover.css +1 -0
- package/cjs/components/popover/popover.js +7 -6
- package/cjs/components/popover/temp-floating-ui.min.d.ts +1 -0
- package/cjs/components/popover/temp-floating-ui.min.js +1 -0
- package/cjs/components/radio/radio.js +4 -20
- package/cjs/components/search-bar/search-bar.d.ts +1 -1
- package/cjs/components/tab-bar/tab-bar.d.ts +1 -1
- package/cjs/components/tab-bar/tab-bar.js +1 -1
- package/cjs/components/tree-select/tree-select.js +2 -2
- package/cjs/utils/render-imperatively.d.ts +10 -0
- package/cjs/utils/render-imperatively.js +68 -0
- package/es/components/action-sheet/action-sheet.d.ts +5 -5
- package/es/components/action-sheet/action-sheet.js +5 -41
- package/es/components/action-sheet/index.d.ts +1 -1
- package/es/components/badge/badge.js +1 -1
- package/es/components/cascader-view/cascader-view.js +7 -0
- package/es/components/checkbox/checkbox.js +4 -21
- package/es/components/checkbox/native-input.d.ts +10 -0
- package/es/components/checkbox/native-input.js +28 -0
- package/es/components/dialog/index.d.ts +1 -1
- package/es/components/dialog/show.d.ts +2 -4
- package/es/components/dialog/show.js +8 -44
- package/es/components/dot-loading/dot-loading.js +1 -2
- 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 +4 -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/floating-bubble/floating-bubble.css +2 -1
- package/es/components/floating-bubble/floating-bubble.d.ts +1 -1
- package/es/components/form/form-item.d.ts +1 -1
- package/es/components/form/form-item.js +4 -1
- package/es/components/image-viewer/index.d.ts +1 -1
- package/es/components/image-viewer/methods.d.ts +3 -7
- package/es/components/image-viewer/methods.js +12 -75
- package/es/components/modal/index.d.ts +1 -1
- package/es/components/modal/show.d.ts +2 -4
- package/es/components/modal/show.js +8 -44
- package/es/components/popover/popover.css +1 -0
- package/es/components/popover/popover.js +2 -1
- package/es/components/popover/temp-floating-ui.min.d.ts +1 -0
- package/es/components/popover/temp-floating-ui.min.js +1 -0
- package/es/components/radio/radio.js +4 -21
- package/es/components/search-bar/search-bar.d.ts +1 -1
- package/es/components/tab-bar/tab-bar.d.ts +1 -1
- package/es/components/tab-bar/tab-bar.js +1 -1
- package/es/components/tree-select/tree-select.js +2 -2
- package/es/utils/render-imperatively.d.ts +10 -0
- package/es/utils/render-imperatively.js +53 -0
- package/package.json +2 -3
- 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,178 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.defaultImage = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
|
|
12
|
+
const defaultImage = _react.default.createElement("svg", {
|
|
13
|
+
viewBox: '0 0 200 200',
|
|
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-default-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("circle", {
|
|
35
|
+
id: 'error-block-image-default-d',
|
|
36
|
+
cx: 18.823,
|
|
37
|
+
cy: 18.823,
|
|
38
|
+
r: 18.823
|
|
39
|
+
}), _react.default.createElement("rect", {
|
|
40
|
+
id: 'error-block-image-default-b',
|
|
41
|
+
x: 3.5,
|
|
42
|
+
y: 9,
|
|
43
|
+
width: 51.429,
|
|
44
|
+
height: 88,
|
|
45
|
+
rx: 4.571
|
|
46
|
+
})), _react.default.createElement("g", {
|
|
47
|
+
fill: 'none',
|
|
48
|
+
fillRule: 'evenodd'
|
|
49
|
+
}, _react.default.createElement("path", {
|
|
50
|
+
d: 'M73.557.004c19.435-.311 38.696 17.016 51.523 35.287 8.708-10.822 17.127-16.233 25.255-16.233 13.333 0 28.35 14.274 45.053 42.822 1.769 3.024-3.582 7.435-16.054 13.231l-41.322 1.37c-7.343 5.872-31.225.626-69.152 1.234-27.79.445-45.759-1.234-53.908-5.037C3.2 71.143-1.625 68.686.48 65.308 27.371 22.12 51.73.353 73.557.003Zm93.098 49.53a1.125 1.125 0 0 0-.401.072l-.058.023-.07.03-.028.014-.02.01c-.03.015-.059.032-.088.049a2.543 2.543 0 0 0-.568.477l-.067.074c-1.686 1.931-2.904 7.062-2.904 8.985 0 2.283 1.719 4.153 3.898 4.314l.026.001v3.805c0 .39.25.705.56.705.31 0 .56-.316.56-.705l.001-3.88c1.92-.402 3.363-2.148 3.363-4.24 0-2.39-1.882-9.734-4.204-9.734Zm-100-5a1.125 1.125 0 0 0-.331.05l-.035.01-.035.012-.058.023-.07.03-.028.014-.02.01c-.03.015-.059.032-.088.049a2.543 2.543 0 0 0-.568.477l-.067.074c-1.686 1.931-2.904 7.062-2.904 8.985 0 2.212 1.613 4.036 3.695 4.294l.203.02.026.001v3.805c0 .39.25.705.56.705.282 0 .515-.26.555-.6l.006-.105v-3.88c1.92-.402 3.363-2.148 3.363-4.24 0-2.39-1.882-9.734-4.204-9.734ZM52.64 38.348l-.15.008-.149.023-.032.007-.032.008-.078.022-.045.015-.045.016-.06.023-.038.017-.038.017-.058.028-.022.011a2.201 2.201 0 0 0-.323.204l-.05.038-.05.04-.025.02-.025.021a3.742 3.742 0 0 0-.31.294l-.036.04c-.035.037-.07.076-.105.116-.01.012-.02.025-.031.036a3.275 3.275 0 0 0-.081.098l-.063.078c-2.031 2.583-3.48 8.692-3.48 11.027 0 2.636 1.846 4.832 4.292 5.323l.224.04-.064-.012.105.018.103.014v4.618c0 .47.299.85.667.85.337 0 .615-.32.659-.735l.006-.115v-4.618c.18-.023.355-.054.527-.094l.256-.067.196-.06c2.136-.706 3.68-2.75 3.68-5.162 0-2.996-2.383-12.207-5.325-12.207Z',
|
|
51
|
+
transform: 'translate(2.286 22.286)',
|
|
52
|
+
fill: 'url(#error-block-image-default-a)'
|
|
53
|
+
}), _react.default.createElement("g", {
|
|
54
|
+
transform: 'rotate(-90 102.429 55.357)'
|
|
55
|
+
}, _react.default.createElement("path", {
|
|
56
|
+
d: 'M6.857 0H52a6.857 6.857 0 0 1 6.857 6.857v92A6.857 6.857 0 0 1 52 105.714H6.857A6.857 6.857 0 0 1 0 98.857v-92A6.857 6.857 0 0 1 6.857 0Z',
|
|
57
|
+
fill: '#7EACFF'
|
|
58
|
+
}), _react.default.createElement("mask", {
|
|
59
|
+
id: 'error-block-image-default-c',
|
|
60
|
+
fill: '#fff'
|
|
61
|
+
}, _react.default.createElement("use", {
|
|
62
|
+
xlinkHref: '#error-block-image-default-b'
|
|
63
|
+
})), _react.default.createElement("use", {
|
|
64
|
+
fill: '#377EFF',
|
|
65
|
+
xlinkHref: '#error-block-image-default-b'
|
|
66
|
+
}), _react.default.createElement("path", {
|
|
67
|
+
d: 'M11.838 91.8a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.628-.652c0-.36.281-.651.628-.651Zm-2.858 0a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.652.64.64 0 0 1-.627-.652c0-.36.281-.651.627-.651Zm2.16-2.305a.64.64 0 0 1 .628.652.64.64 0 0 1-.627.651.64.64 0 0 1-.627-.651c0-.36.28-.652.627-.652Zm-2.982-.04a.64.64 0 0 1 .627.651.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.651.627-.651Zm5.268-.531a.64.64 0 0 1 .628.651.64.64 0 0 1-.628.652.64.64 0 0 1-.627-.652c0-.36.281-.651.627-.651Zm2.858-1.143a.64.64 0 0 1 .627.651.64.64 0 0 1-.627.652.64.64 0 0 1-.628-.652c0-.36.281-.651.628-.651Zm-6.37-.917c.209 0 .377.175.377.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm3.512-.798.093.007a.644.644 0 0 1 .535.645.64.64 0 0 1-.628.652.64.64 0 0 1-.627-.652c0-.36.281-.652.627-.652Zm5.715 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.652.627-.652Zm-11.429 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.652.627-.652Zm-3.261.241c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.377-.391c0-.216.169-.391.377-.391Zm11.833-.812a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.651.64.64 0 0 1-.628-.651c0-.36.281-.652.628-.652Zm-4.851.399c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.377-.391c0-.216.169-.391.377-.391Zm10.313-2.056a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.651.64.64 0 0 1-.627-.651c0-.36.281-.652.627-.652Zm-2.354-.128a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.628-.652c0-.36.281-.652.628-.652Zm-13.798.311c.207 0 .376.175.376.391a.384.384 0 0 1-.376.391.384.384 0 0 1-.377-.39c0-.217.169-.392.377-.392Zm11.832-.812a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.651.64.64 0 0 1-.627-.651c0-.36.281-.652.627-.652Zm-6.285 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.651.64.64 0 0 1-.627-.651c0-.36.28-.652.627-.652Zm3.428 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.651.64.64 0 0 1-.627-.651c0-.36.28-.652.627-.652Zm-6.118.24c.208 0 .376.176.376.392a.384.384 0 0 1-.376.39.384.384 0 0 1-.377-.39c0-.216.169-.391.377-.391Zm11.261-2.525a.64.64 0 0 1 .627.651.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.651.627-.651Zm-3.557.484c.208 0 .376.175.376.391a.384.384 0 0 1-.376.391.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-2.478-.555a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.652.627-.652Zm-3.512-.26c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-2.857 0c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-4.571 0c.207 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.377-.391c0-.216.169-.391.377-.391Zm14.898-1.835a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.651.64.64 0 0 1-.627-.651c0-.36.281-.652.627-.652Zm-8.027-.245c.208 0 .377.175.377.39a.384.384 0 0 1-.377.392.384.384 0 0 1-.376-.391c0-.216.169-.391.376-.391Zm6.271-1.349c.208 0 .377.175.377.391a.384.384 0 0 1-.377.391.384.384 0 0 1-.376-.39c0-.217.169-.392.376-.392Zm-11.484-.481c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm15.103-.972c.208 0 .376.175.376.391a.384.384 0 0 1-.376.391.384.384 0 0 1-.376-.39c0-.217.168-.392.376-.392Zm-9.333-1.404c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-6.819-.405c.208 0 .377.175.377.39a.384.384 0 0 1-.377.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Z',
|
|
68
|
+
fill: '#003CFF',
|
|
69
|
+
fillRule: 'nonzero',
|
|
70
|
+
mask: 'url(#error-block-image-default-c)',
|
|
71
|
+
transform: 'rotate(116 12.367 83.503)'
|
|
72
|
+
}), _react.default.createElement("path", {
|
|
73
|
+
stroke: '#FFF',
|
|
74
|
+
strokeWidth: 0.75,
|
|
75
|
+
strokeLinecap: 'round',
|
|
76
|
+
strokeLinejoin: 'round',
|
|
77
|
+
d: 'M36.774 5.474H21.523'
|
|
78
|
+
}), _react.default.createElement("path", {
|
|
79
|
+
d: 'm67.818 94.025-4.996 3.913m4.996 11.91-4.996-3.912m-1.142 9.145-1.143-6.288m10.71-6.768h-7.262',
|
|
80
|
+
stroke: '#4486FE',
|
|
81
|
+
strokeWidth: 0.75,
|
|
82
|
+
strokeLinecap: 'round',
|
|
83
|
+
strokeLinejoin: 'round'
|
|
84
|
+
})), _react.default.createElement("circle", {
|
|
85
|
+
cx: 8.571,
|
|
86
|
+
cy: 8.571,
|
|
87
|
+
r: 8.571,
|
|
88
|
+
transform: 'translate(22.857 142)',
|
|
89
|
+
fill: '#FFCD6B',
|
|
90
|
+
fillRule: 'nonzero'
|
|
91
|
+
}), _react.default.createElement("g", {
|
|
92
|
+
transform: 'translate(132.857 124)'
|
|
93
|
+
}, _react.default.createElement("mask", {
|
|
94
|
+
id: 'error-block-image-default-e',
|
|
95
|
+
fill: '#fff'
|
|
96
|
+
}, _react.default.createElement("use", {
|
|
97
|
+
xlinkHref: '#error-block-image-default-d'
|
|
98
|
+
})), _react.default.createElement("use", {
|
|
99
|
+
fill: '#FBBE47',
|
|
100
|
+
fillRule: 'nonzero',
|
|
101
|
+
xlinkHref: '#error-block-image-default-d'
|
|
102
|
+
}), _react.default.createElement("circle", {
|
|
103
|
+
fill: '#FFCD6B',
|
|
104
|
+
fillRule: 'nonzero',
|
|
105
|
+
mask: 'url(#error-block-image-default-e)',
|
|
106
|
+
cx: 13.886,
|
|
107
|
+
cy: 15.12,
|
|
108
|
+
r: 18.823
|
|
109
|
+
}), _react.default.createElement("circle", {
|
|
110
|
+
fill: '#FFB400',
|
|
111
|
+
fillRule: 'nonzero',
|
|
112
|
+
mask: 'url(#error-block-image-default-e)',
|
|
113
|
+
cx: 23.4,
|
|
114
|
+
cy: 29.057,
|
|
115
|
+
r: 1
|
|
116
|
+
}), _react.default.createElement("circle", {
|
|
117
|
+
fill: '#FFB400',
|
|
118
|
+
fillRule: 'nonzero',
|
|
119
|
+
mask: 'url(#error-block-image-default-e)',
|
|
120
|
+
cx: 30.343,
|
|
121
|
+
cy: 29.829,
|
|
122
|
+
r: 1
|
|
123
|
+
}), _react.default.createElement("circle", {
|
|
124
|
+
fill: '#FFB400',
|
|
125
|
+
fillRule: 'nonzero',
|
|
126
|
+
mask: 'url(#error-block-image-default-e)',
|
|
127
|
+
cx: 18.771,
|
|
128
|
+
cy: 32.657,
|
|
129
|
+
r: 1.286
|
|
130
|
+
}), _react.default.createElement("circle", {
|
|
131
|
+
fill: '#FFB400',
|
|
132
|
+
fillRule: 'nonzero',
|
|
133
|
+
mask: 'url(#error-block-image-default-e)',
|
|
134
|
+
cx: 29.571,
|
|
135
|
+
cy: 25.971,
|
|
136
|
+
r: 1.286
|
|
137
|
+
}), _react.default.createElement("circle", {
|
|
138
|
+
fill: '#FFB400',
|
|
139
|
+
fillRule: 'nonzero',
|
|
140
|
+
mask: 'url(#error-block-image-default-e)',
|
|
141
|
+
cx: 19.286,
|
|
142
|
+
cy: 7.971,
|
|
143
|
+
r: 1.286
|
|
144
|
+
}), _react.default.createElement("circle", {
|
|
145
|
+
fill: '#FFB400',
|
|
146
|
+
fillRule: 'nonzero',
|
|
147
|
+
mask: 'url(#error-block-image-default-e)',
|
|
148
|
+
cx: 26.486,
|
|
149
|
+
cy: 5.914,
|
|
150
|
+
r: 1.286
|
|
151
|
+
}), _react.default.createElement("circle", {
|
|
152
|
+
fill: '#FFB400',
|
|
153
|
+
fillRule: 'nonzero',
|
|
154
|
+
mask: 'url(#error-block-image-default-e)',
|
|
155
|
+
cx: 11.057,
|
|
156
|
+
cy: 6.943,
|
|
157
|
+
r: 1
|
|
158
|
+
}), _react.default.createElement("circle", {
|
|
159
|
+
fill: '#FFB400',
|
|
160
|
+
fillRule: 'nonzero',
|
|
161
|
+
mask: 'url(#error-block-image-default-e)',
|
|
162
|
+
cx: 30.086,
|
|
163
|
+
cy: 15.686,
|
|
164
|
+
r: 1.286
|
|
165
|
+
}), _react.default.createElement("circle", {
|
|
166
|
+
fill: '#FFB400',
|
|
167
|
+
fillRule: 'nonzero',
|
|
168
|
+
mask: 'url(#error-block-image-default-e)',
|
|
169
|
+
cx: 22.886,
|
|
170
|
+
cy: 14.657,
|
|
171
|
+
r: 1
|
|
172
|
+
})), _react.default.createElement("path", {
|
|
173
|
+
d: 'm87.429 135.123 6.591-9.378v-.08h-5.99v-2.559h10.038v1.787l-6.44 9.254v.082h6.56v2.557h-10.76v-1.663Zm12.185-5.889 4.948-7.047v-.056h-4.498v-1.917h7.536v1.34l-4.849 6.942v.059h4.923v1.92h-8.06v-1.24Zm10.345.702 3.708-5.274v-.045h-3.372v-1.437h5.648v1.003l-3.628 5.206v.045H116v1.438h-6.041v-.936Z',
|
|
174
|
+
fill: '#FFF',
|
|
175
|
+
fillRule: 'nonzero'
|
|
176
|
+
})));
|
|
177
|
+
|
|
178
|
+
exports.defaultImage = defaultImage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const disconnectedImage: JSX.Element;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.disconnectedImage = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
|
|
12
|
+
const disconnectedImage = _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("title", null, '@\u53CD\u9988/\u5F02\u5E38/\u7F51\u7EDC\u670D\u52A1\u5F02\u5E38'), _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-disconnected-c'
|
|
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("circle", {
|
|
35
|
+
id: 'error-block-image-disconnected-d',
|
|
36
|
+
cx: 22.309,
|
|
37
|
+
cy: 22.309,
|
|
38
|
+
r: 22.309
|
|
39
|
+
}), _react.default.createElement("path", {
|
|
40
|
+
id: 'error-block-image-disconnected-a',
|
|
41
|
+
d: 'M0 0h400v400H0z'
|
|
42
|
+
})), _react.default.createElement("g", {
|
|
43
|
+
fill: 'none',
|
|
44
|
+
fillRule: 'evenodd'
|
|
45
|
+
}, _react.default.createElement("mask", {
|
|
46
|
+
id: 'error-block-image-disconnected-b',
|
|
47
|
+
fill: '#fff'
|
|
48
|
+
}, _react.default.createElement("use", {
|
|
49
|
+
xlinkHref: '#error-block-image-disconnected-a'
|
|
50
|
+
})), _react.default.createElement("g", {
|
|
51
|
+
mask: 'url(#error-block-image-disconnected-b)',
|
|
52
|
+
fill: 'url(#error-block-image-disconnected-c)'
|
|
53
|
+
}, _react.default.createElement("path", {
|
|
54
|
+
d: 'M151.686 45.58c38.869-.623 77.391 34.03 103.046 70.573 17.416-21.644 34.253-32.465 50.51-32.465 26.666 0 56.701 28.548 90.105 85.643 3.539 6.05-7.164 14.87-32.107 26.462l-82.643 2.741c-14.686 11.745-62.45 1.252-138.305 2.467-55.58.89-91.518-2.468-107.816-10.074-23.505-3.07-33.154-7.983-28.946-14.74C59.313 89.813 108.03 46.278 151.686 45.58Zm186.195 99.06-.127.003-.126.01a2.32 2.32 0 0 0-.465.103l-.032.01-.031.01a2.364 2.364 0 0 0-.181.071 2.52 2.52 0 0 0-.116.054l-.133.067-.042.024-.036.02a2.946 2.946 0 0 0-.133.08l-.048.03a3.052 3.052 0 0 0-.126.087l-.047.033a3.274 3.274 0 0 0-.128.097c-.01.008-.02.017-.031.024a4.906 4.906 0 0 0-.31.27l-.036.032a6.654 6.654 0 0 0-.46.484l-.045.05c-3.344 3.91-5.755 14.083-5.755 17.908 0 4.547 3.409 8.275 7.74 8.625l.108.008v7.608c0 .779.502 1.41 1.121 1.41.62 0 1.121-.632 1.121-1.41v-7.762c3.838-.802 6.727-4.293 6.727-8.48 0-4.778-3.765-19.467-8.409-19.467Zm-200-10-.127.003-.126.01a2.32 2.32 0 0 0-.368.073l-.049.014-.048.016-.032.01-.031.01a2.364 2.364 0 0 0-.181.071l-.058.026-.058.028-.133.067-.042.024-.036.02-.066.039-.067.041-.048.03a3.052 3.052 0 0 0-.126.087l-.047.033a3.274 3.274 0 0 0-.128.097c-.01.008-.02.017-.031.024l-.156.13-.154.14-.036.032a6.654 6.654 0 0 0-.46.484l-.045.05c-3.344 3.91-5.755 14.083-5.755 17.908 0 4.547 3.409 8.275 7.74 8.625l.054.004.054.004v7.608c0 .779.502 1.41 1.121 1.41.58 0 1.058-.556 1.115-1.266l.006-.144v-7.762c3.838-.802 6.727-4.293 6.727-8.48 0-4.778-3.765-19.467-8.409-19.467Zm-28.029-12.373-.107.002-.106.006a2.978 2.978 0 0 0-.551.095 3.444 3.444 0 0 0-.323.104 3.962 3.962 0 0 0-.61.297c-.076.045-.15.092-.226.141-4.964 3.312-8.728 18.445-8.728 23.77 0 5.434 3.922 9.935 9.04 10.726l.28.04v9.236c0 .886.532 1.614 1.21 1.692l.121.007.122-.007c.638-.074 1.147-.723 1.204-1.538l.006-.155v-9.235c5.254-.668 9.32-5.234 9.32-10.767 0-5.993-4.77-24.414-10.652-24.414Z'
|
|
55
|
+
})), _react.default.createElement("g", {
|
|
56
|
+
mask: 'url(#error-block-image-disconnected-b)'
|
|
57
|
+
}, _react.default.createElement("g", {
|
|
58
|
+
transform: 'translate(85.858 150.644)'
|
|
59
|
+
}, _react.default.createElement("path", {
|
|
60
|
+
d: 'M116.26 28.467c1.352 0 2.703.018 4.054.054 3.923.385 10.188 4.248 9.267 11.061-.878 6.496-5.836 9.089-8.962 9.529a130.762 130.762 0 0 0-4.36-.072c-28.567 0-60.654 10.149-96.22 30.676l-2.227 1.297c-.744.437-1.49.878-2.236 1.323-4.878 2.911-11.193 1.316-14.103-3.562C-1.438 73.894.157 67.58 5.035 64.67 45.34 40.62 82.4 28.467 116.26 28.467Zm22 11.63c1.03-5.942 6.376-8.618 11.084-8.08C172.14 36.91 194.83 46.86 217.37 61.794c4.735 3.138 6.03 9.52 2.893 14.255-3.138 4.736-9.52 6.031-14.256 2.893-20.111-13.325-40.075-22.165-59.935-26.584a9.974 9.974 0 0 0-.325-.088c-3.987-1.015-8.602-5.738-7.487-12.175ZM116.26 77.418c22.777 0 45.4 7.057 67.73 20.988 4.82 3.007 6.289 9.351 3.282 14.17-3.007 4.82-9.351 6.29-14.17 3.283-19.194-11.974-38.095-17.87-56.842-17.87s-37.648 5.896-56.842 17.87c-4.82 3.007-11.164 1.537-14.17-3.282-3.007-4.82-1.538-11.164 3.282-14.171 22.33-13.931 44.953-20.988 67.73-20.988ZM117.974 124.67c9.85 0 17.303 1.69 25.687 5.082l.82.337 2.9 1.231 3.008 1.252.77.305.107.04c5.326 1.976 8.042 7.895 6.066 13.221-1.976 5.326-7.895 8.042-13.221 6.067l-.713-.27-.726-.285-.763-.31-1.263-.527-2.944-1.26-1.125-.473c-6.393-2.648-11.433-3.838-18.603-3.838-8.223 0-16.532 2.126-25.028 6.475-5.056 2.588-11.254.587-13.842-4.47-2.589-5.056-.588-11.253 4.47-13.842 11.313-5.791 22.814-8.735 34.4-8.735ZM118.235 197.047c7.15 0 13.77-.897 19.841-2.721 5.44-1.635 8.526-7.37 6.892-12.81-1.635-5.44-7.37-8.526-12.81-6.892-4.072 1.224-8.707 1.851-13.923 1.851-4.36 0-8.79-1.045-13.373-3.21l-.626-.301c-5.095-2.512-11.262-.418-13.773 4.678-2.512 5.095-.418 11.261 4.678 13.773 7.559 3.727 15.288 5.632 23.094 5.632Z',
|
|
61
|
+
fill: '#377EFF',
|
|
62
|
+
fillRule: 'nonzero'
|
|
63
|
+
}), _react.default.createElement("path", {
|
|
64
|
+
d: 'M198.35 62.413c2.755-4.967 9.016-6.76 13.984-4.004 13.068 7.25 19.124 18.535 17.615 30.952-1.157 9.515-6.83 18.757-14.096 24.352-13.364 10.29-34.915 9.401-49.363-1.91-4.472-3.502-5.26-9.967-1.758-14.44 3.436-4.388 9.724-5.229 14.185-1.952l.255.194c7.283 5.702 18.475 6.164 24.13 1.809 3.072-2.366 5.766-6.754 6.226-10.536.467-3.844-1.21-7.07-6.796-10.267l-.378-.213c-4.967-2.756-6.76-9.017-4.004-13.985ZM61.35 103.092c-2.84-4.92-9.13-6.607-14.05-3.768-20.662 11.922-21.772 35.751-6.018 51.69 13.752 13.914 33.192 13.447 50.507 1.158 4.633-3.288 5.723-9.708 2.436-14.34-3.288-4.633-9.709-5.724-14.341-2.436-9.763 6.928-18.07 7.128-23.97 1.158-6.761-6.84-6.498-14.501 1.35-19.225l.317-.187c4.92-2.84 6.608-9.13 3.769-14.05ZM129.103 135.702c1.688-5.424 7.454-8.453 12.878-6.764 14.776 4.599 23.437 13.727 25.259 25.58 1.316 8.561-1.228 17.533-5.58 24.052-3.132 4.688-7.388 8.287-12.504 11.112-3.03 1.673-5.75 2.811-9.37 4.066l-1.4.477c-5.387 1.806-11.217-1.097-13.022-6.484-1.805-5.386 1.098-11.216 6.484-13.02l1.09-.374c6.032-2.112 9.602-4.19 11.613-7.201 1.693-2.535 2.818-6.502 2.356-9.503-.564-3.673-3.432-6.696-11.04-9.063-5.424-1.689-8.452-7.454-6.764-12.878Z',
|
|
65
|
+
fill: '#377EFF',
|
|
66
|
+
fillRule: 'nonzero'
|
|
67
|
+
}), _react.default.createElement("path", {
|
|
68
|
+
d: 'M148.072 181.58c3.718-7.98 4.172-14.9 1.36-20.76-2.81-5.86-6.236-9.096-10.275-9.707',
|
|
69
|
+
stroke: '#FFF',
|
|
70
|
+
strokeWidth: 0.571,
|
|
71
|
+
strokeLinecap: 'round'
|
|
72
|
+
}), _react.default.createElement("ellipse", {
|
|
73
|
+
fill: '#7EACFF',
|
|
74
|
+
transform: 'rotate(10 147 41.933)',
|
|
75
|
+
cx: 147,
|
|
76
|
+
cy: 41.933,
|
|
77
|
+
rx: 9.143,
|
|
78
|
+
ry: 10.286
|
|
79
|
+
}), _react.default.createElement("path", {
|
|
80
|
+
d: 'M210.422 107.472c3.718-7.98 4.172-14.9 1.36-20.76-2.81-5.86-6.668-9.883-11.572-12.067M51.604 131.769c-3.15-6.8-3.537-12.694-1.161-17.685 2.376-4.99 5.57-8.136 9.583-9.438',
|
|
81
|
+
stroke: '#003CFF',
|
|
82
|
+
strokeWidth: 0.75,
|
|
83
|
+
strokeLinecap: 'round',
|
|
84
|
+
strokeLinejoin: 'round'
|
|
85
|
+
}), _react.default.createElement("path", {
|
|
86
|
+
d: 'M21.53 64.408c4.946-3.389 9.817-6.026 14.612-7.912',
|
|
87
|
+
stroke: '#FFF',
|
|
88
|
+
strokeWidth: 0.75,
|
|
89
|
+
strokeLinecap: 'round',
|
|
90
|
+
strokeLinejoin: 'round'
|
|
91
|
+
}), _react.default.createElement("path", {
|
|
92
|
+
d: 'm113.243 15.444 9.588 8.314M144.31 9.405l-5.775 11.3m18.389-1.246-11.907 4.643M127.64 5.66l2.77 14.255',
|
|
93
|
+
stroke: '#4486FE',
|
|
94
|
+
strokeWidth: 0.75,
|
|
95
|
+
strokeLinecap: 'round',
|
|
96
|
+
strokeLinejoin: 'round'
|
|
97
|
+
}))), _react.default.createElement("g", {
|
|
98
|
+
mask: 'url(#error-block-image-disconnected-b)'
|
|
99
|
+
}, _react.default.createElement("g", {
|
|
100
|
+
transform: 'translate(275.143 302.571)'
|
|
101
|
+
}, _react.default.createElement("mask", {
|
|
102
|
+
id: 'error-block-image-disconnected-e',
|
|
103
|
+
fill: '#fff'
|
|
104
|
+
}, _react.default.createElement("use", {
|
|
105
|
+
xlinkHref: '#error-block-image-disconnected-d'
|
|
106
|
+
})), _react.default.createElement("use", {
|
|
107
|
+
fill: '#FBBE47',
|
|
108
|
+
fillRule: 'nonzero',
|
|
109
|
+
xlinkHref: '#error-block-image-disconnected-d'
|
|
110
|
+
}), _react.default.createElement("circle", {
|
|
111
|
+
fill: '#FFCD6B',
|
|
112
|
+
fillRule: 'nonzero',
|
|
113
|
+
mask: 'url(#error-block-image-disconnected-e)',
|
|
114
|
+
cx: 16.457,
|
|
115
|
+
cy: 17.92,
|
|
116
|
+
r: 22.309
|
|
117
|
+
}), _react.default.createElement("circle", {
|
|
118
|
+
fill: '#FFF',
|
|
119
|
+
fillRule: 'nonzero',
|
|
120
|
+
mask: 'url(#error-block-image-disconnected-e)',
|
|
121
|
+
cx: 14.263,
|
|
122
|
+
cy: 12.069,
|
|
123
|
+
r: 2.194
|
|
124
|
+
}))), _react.default.createElement("g", {
|
|
125
|
+
mask: 'url(#error-block-image-disconnected-b)',
|
|
126
|
+
fill: '#FBBE47',
|
|
127
|
+
fillRule: 'nonzero'
|
|
128
|
+
}, _react.default.createElement("circle", {
|
|
129
|
+
cx: 12,
|
|
130
|
+
cy: 12,
|
|
131
|
+
r: 12,
|
|
132
|
+
transform: 'translate(84 297.714)'
|
|
133
|
+
}))));
|
|
134
|
+
|
|
135
|
+
exports.disconnectedImage = disconnectedImage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const emptyImage: JSX.Element;
|
|
@@ -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,6 +7,7 @@
|
|
|
7
7
|
--edge-distance: 0;
|
|
8
8
|
--size: 48px;
|
|
9
9
|
--border-radius: 50%;
|
|
10
|
+
--background: var(--adm-color-primary);
|
|
10
11
|
}
|
|
11
12
|
.adm-floating-bubble-boundary-outer {
|
|
12
13
|
position: fixed;
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
transition: opacity ease 0.15s;
|
|
41
42
|
user-select: none;
|
|
42
43
|
touch-action: none;
|
|
43
|
-
background: var(--
|
|
44
|
+
background: var(--background);
|
|
44
45
|
color: var(--adm-color-white);
|
|
45
46
|
border-radius: var(--border-radius);
|
|
46
47
|
z-index: var(--z-index);
|
|
@@ -4,5 +4,5 @@ export declare type FloatingBubbleProps = {
|
|
|
4
4
|
onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
5
5
|
axis?: 'x' | 'y' | 'xy' | 'lock';
|
|
6
6
|
magnetic?: 'x' | 'y';
|
|
7
|
-
} & NativeProps<'--initial-position-left' | '--initial-position-right' | '--initial-position-top' | '--initial-position-bottom' | '--z-index' | '--edge-distance' | '--size' | '--border-radius'>;
|
|
7
|
+
} & NativeProps<'--initial-position-left' | '--initial-position-right' | '--initial-position-top' | '--initial-position-bottom' | '--z-index' | '--edge-distance' | '--size' | '--border-radius' | '--background'>;
|
|
8
8
|
export declare const FloatingBubble: FC<FloatingBubbleProps>;
|
|
@@ -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
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import './image-viewer.less';
|
|
3
3
|
import { showMultiImageViewer, showImageViewer, clearImageViewer } from './methods';
|
|
4
4
|
export type { ImageViewerProps, MultiImageViewerProps, MultiImageViewerRef, } from './image-viewer';
|
|
5
|
-
export type {
|
|
5
|
+
export type { ImageViewerShowHandler } from './methods';
|
|
6
6
|
declare const _default: import("react").FC<import("./image-viewer").ImageViewerProps> & {
|
|
7
7
|
Multi: import("react").ForwardRefExoticComponent<Omit<import("./image-viewer").ImageViewerProps, "image"> & {
|
|
8
8
|
images?: string[] | undefined;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { ImageViewerProps, MultiImageViewerProps } from './image-viewer';
|
|
2
|
-
export declare type
|
|
3
|
-
close: () => void;
|
|
4
|
-
};
|
|
5
|
-
export declare function showImageViewer(props: Omit<ImageViewerProps, 'visible'>): {
|
|
6
|
-
close: () => void;
|
|
7
|
-
};
|
|
8
|
-
export declare function showMultiImageViewer(props: Omit<MultiImageViewerProps, 'visible'>): {
|
|
2
|
+
export declare type ImageViewerShowHandler = {
|
|
9
3
|
close: () => void;
|
|
10
4
|
};
|
|
5
|
+
export declare function showImageViewer(props: Omit<ImageViewerProps, 'visible'>): ImageViewerShowHandler;
|
|
6
|
+
export declare function showMultiImageViewer(props: Omit<MultiImageViewerProps, 'visible'>): ImageViewerShowHandler;
|
|
11
7
|
export declare function clearImageViewer(): void;
|