@ebscn/ui 1.0.2-beta.0 → 1.0.3-beta.0
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/assets/images/keybord_keybord.png +0 -0
- package/assets/images/keybord_shift.png +0 -0
- package/cjs/assets/images/keybord_keybord.png +0 -0
- package/cjs/assets/images/keybord_shift.png +0 -0
- package/cjs/components/alphabet-keyboard/alphabet-keyboard.css +42 -56
- package/cjs/components/alphabet-keyboard/alphabet-keyboard.js +5 -5
- package/cjs/components/date-range-picker/date-range-picker.js +2 -2
- package/cjs/components/handRead/handRead.js +6 -1
- package/cjs/components/icons/back-icon.js +10 -23
- package/cjs/components/icons/clear-icon.js +10 -26
- package/cjs/components/icons/close-icon.js +12 -20
- package/cjs/components/icons/notice-icon.js +11 -5
- package/cjs/components/icons/right-icon.js +7 -6
- package/cjs/components/icons/search-icon.js +13 -28
- package/cjs/components/icons/warning-icon.js +9 -18
- package/cjs/components/picker/picker.js +2 -2
- package/cjs/index.d.ts +0 -1
- package/cjs/index.js +0 -8
- package/es/assets/images/keybord_keybord.png +0 -0
- package/es/assets/images/keybord_shift.png +0 -0
- package/es/components/alphabet-keyboard/alphabet-keyboard.css +42 -56
- package/es/components/alphabet-keyboard/alphabet-keyboard.js +5 -5
- package/es/components/date-range-picker/date-range-picker.js +1 -1
- package/es/components/handRead/handRead.js +7 -2
- package/es/components/icons/back-icon.js +10 -23
- package/es/components/icons/clear-icon.js +10 -26
- package/es/components/icons/close-icon.js +12 -20
- package/es/components/icons/notice-icon.js +11 -5
- package/es/components/icons/right-icon.js +7 -6
- package/es/components/icons/search-icon.js +13 -28
- package/es/components/icons/warning-icon.js +9 -18
- package/es/components/picker/picker.js +1 -1
- package/es/index.d.ts +0 -1
- package/es/index.js +1 -1
- package/package.json +21 -12
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -9,6 +9,47 @@
|
|
|
9
9
|
align-content: flex-start;
|
|
10
10
|
background: #d2d5db;
|
|
11
11
|
}
|
|
12
|
+
.ebscn-alphabet-keyboard-darkkey {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
width: 11.2%;
|
|
17
|
+
height: 42px;
|
|
18
|
+
border-radius: 5px;
|
|
19
|
+
box-shadow: 0px 0.5px 0px 0px #888888;
|
|
20
|
+
background: #adb3bd;
|
|
21
|
+
font-size: var(--ebscn-font-size-9);
|
|
22
|
+
}
|
|
23
|
+
.ebscn-alphabet-keyboard-darkkey:active {
|
|
24
|
+
background: #adb3bd;
|
|
25
|
+
}
|
|
26
|
+
.ebscn-alphabet-keyboard-shift {
|
|
27
|
+
margin-right: 3.73%;
|
|
28
|
+
background: url(../../assets/images/keybord_shift.png) #adb3bd no-repeat center;
|
|
29
|
+
background-size: 17px 17px;
|
|
30
|
+
}
|
|
31
|
+
.ebscn-alphabet-keyboard-delete {
|
|
32
|
+
margin-left: 2.26%;
|
|
33
|
+
background: url(../../assets/images/delete.png) #adb3bd no-repeat center;
|
|
34
|
+
background-size: 24px 24px;
|
|
35
|
+
}
|
|
36
|
+
.ebscn-alphabet-keyboard-keybord {
|
|
37
|
+
background: url(../../assets/images/keybord_keybord.png) #adb3bd no-repeat center;
|
|
38
|
+
background-size: 24px 18px;
|
|
39
|
+
}
|
|
40
|
+
.ebscn-alphabet-keyboard-space {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
width: 48.4%;
|
|
45
|
+
height: 42px;
|
|
46
|
+
background: var(--ebscn-color-white);
|
|
47
|
+
border-radius: 5px;
|
|
48
|
+
box-shadow: 0px 0.5px 0px 0px #888888;
|
|
49
|
+
}
|
|
50
|
+
.ebscn-alphabet-keyboard-space:active {
|
|
51
|
+
background: var(--ebscn-color-border);
|
|
52
|
+
}
|
|
12
53
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firstline,
|
|
13
54
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-secondline,
|
|
14
55
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-thirdline,
|
|
@@ -54,66 +95,11 @@
|
|
|
54
95
|
padding-left: 0.8%;
|
|
55
96
|
padding-right: 0.8%;
|
|
56
97
|
}
|
|
57
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-thirdline-capital {
|
|
58
|
-
display: flex;
|
|
59
|
-
align-items: center;
|
|
60
|
-
justify-content: center;
|
|
61
|
-
width: 11.2%;
|
|
62
|
-
height: 42px;
|
|
63
|
-
background: #adb3bd;
|
|
64
|
-
border-radius: 5px;
|
|
65
|
-
box-shadow: 0px 0.5px 0px 0px #888888;
|
|
66
|
-
margin-right: 3.73%;
|
|
67
|
-
}
|
|
68
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-thirdline-capital:active {
|
|
69
|
-
background: #CACBD0;
|
|
70
|
-
}
|
|
71
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-thirdline-delete {
|
|
72
|
-
display: flex;
|
|
73
|
-
align-items: center;
|
|
74
|
-
justify-content: center;
|
|
75
|
-
width: 11.2%;
|
|
76
|
-
height: 42px;
|
|
77
|
-
border-radius: 5px;
|
|
78
|
-
box-shadow: 0px 0.5px 0px 0px #888888;
|
|
79
|
-
margin-left: 2.26%;
|
|
80
|
-
background: url(../../assets/images/delete.png) #adb3bd no-repeat center;
|
|
81
|
-
background-size: 24px 24px;
|
|
82
|
-
}
|
|
83
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-thirdline-delete:active {
|
|
84
|
-
background: #CACBD0;
|
|
85
|
-
}
|
|
86
98
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline {
|
|
87
99
|
padding-left: 0.8%;
|
|
88
100
|
padding-right: 0.8%;
|
|
89
101
|
padding-bottom: 1.06%;
|
|
90
102
|
}
|
|
91
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline-function {
|
|
92
|
-
display: flex;
|
|
93
|
-
align-items: center;
|
|
94
|
-
justify-content: center;
|
|
95
|
-
width: 11.2%;
|
|
96
|
-
height: 42px;
|
|
97
|
-
background: #adb3bd;
|
|
98
|
-
border-radius: 5px;
|
|
99
|
-
box-shadow: 0px 0.5px 0px 0px #888888;
|
|
100
|
-
}
|
|
101
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline-function:active {
|
|
102
|
-
background: #CACBD0;
|
|
103
|
-
}
|
|
104
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline-space {
|
|
105
|
-
display: flex;
|
|
106
|
-
align-items: center;
|
|
107
|
-
justify-content: center;
|
|
108
|
-
width: 48.4%;
|
|
109
|
-
height: 42px;
|
|
110
|
-
background: var(--ebscn-color-white);
|
|
111
|
-
border-radius: 5px;
|
|
112
|
-
box-shadow: 0px 0.5px 0px 0px #888888;
|
|
113
|
-
}
|
|
114
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline-space:active {
|
|
115
|
-
background: var(--ebscn-color-border);
|
|
116
|
-
}
|
|
117
103
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline-confirm {
|
|
118
104
|
display: flex;
|
|
119
105
|
align-items: center;
|
|
@@ -136,7 +122,7 @@
|
|
|
136
122
|
height: 20%;
|
|
137
123
|
}
|
|
138
124
|
@supports (bottom: env(safe-area-inset-bottom)) or (constant(safe-area-inset-bottom)) {
|
|
139
|
-
.keyboard {
|
|
125
|
+
.ebscn-alphabet-keyboard {
|
|
140
126
|
height: calc(216px + env(safe-area-inset-bottom));
|
|
141
127
|
height: calc(216px + constant(safe-area-inset-bottom));
|
|
142
128
|
}
|
|
@@ -35,7 +35,7 @@ function AlphabetKeyboard(p) {
|
|
|
35
35
|
var appearTimer = (0, _react.useRef)(null);
|
|
36
36
|
var hideTimer = (0, _react.useRef)(null);
|
|
37
37
|
var lastVisible = (0, _react.useRef)(null);
|
|
38
|
-
var
|
|
38
|
+
var imgKeys = ['×', '↑', '⌨'];
|
|
39
39
|
(0, _react.useEffect)(function () {
|
|
40
40
|
if (!visible) {
|
|
41
41
|
if (lastVisible.current) {
|
|
@@ -114,25 +114,25 @@ function AlphabetKeyboard(p) {
|
|
|
114
114
|
}, (isBig == false ? thirdKeys : thirdKeysBig).map(function (item, index) {
|
|
115
115
|
return _react.default.createElement("div", {
|
|
116
116
|
key: item || index,
|
|
117
|
-
className: item == '↑' ? "".concat(classPrefix, "-
|
|
117
|
+
className: item == '↑' ? "".concat(classPrefix, "-darkkey ").concat(classPrefix, "-shift") : item == '×' ? "".concat(classPrefix, "-darkkey ").concat(classPrefix, "-delete") : "".concat(classPrefix, "-thirdline-key"),
|
|
118
118
|
onClick: function () {
|
|
119
119
|
if (visible) {
|
|
120
120
|
onKeyPress(item);
|
|
121
121
|
}
|
|
122
122
|
;
|
|
123
123
|
}
|
|
124
|
-
}, item
|
|
124
|
+
}, imgKeys.includes(item) ? '' : item);
|
|
125
125
|
})), _react.default.createElement("div", {
|
|
126
126
|
className: "".concat(classPrefix, "-firthline")
|
|
127
127
|
}, firthKeys.map(function (item, index) {
|
|
128
128
|
return _react.default.createElement("div", {
|
|
129
129
|
key: item || index,
|
|
130
|
-
className: item == '123'
|
|
130
|
+
className: item == '123' ? "".concat(classPrefix, "-darkkey") : item == '⌨' ? " ".concat(classPrefix, "-darkkey ").concat(classPrefix, "-keybord") : item == '空格' ? "".concat(classPrefix, "-space") : "".concat(classPrefix, "-firthline-confirm"),
|
|
131
131
|
onClick: function () {
|
|
132
132
|
if (visible) {
|
|
133
133
|
onKeyPress(item);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
}, item);
|
|
136
|
+
}, imgKeys.includes(item) ? '' : item);
|
|
137
137
|
}))));
|
|
138
138
|
}
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.DateRangePicker = void 0;
|
|
7
7
|
var _ahooks = require("ahooks");
|
|
8
|
-
var
|
|
8
|
+
var _safeArea = _interopRequireDefault(require("../safe-area"));
|
|
9
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
10
|
var _dayjs = _interopRequireDefault(require("dayjs"));
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
@@ -331,7 +331,7 @@ var DateRangePicker = exports.DateRangePicker = (0, _react.memo)((0, _react.forw
|
|
|
331
331
|
onClick: props.onClick,
|
|
332
332
|
forceRender: props.forceRender,
|
|
333
333
|
stopPropagation: props.stopPropagation
|
|
334
|
-
}, pickerElement, _react.default.createElement(
|
|
334
|
+
}, pickerElement, _react.default.createElement(_safeArea.default, {
|
|
335
335
|
position: "bottom"
|
|
336
336
|
}));
|
|
337
337
|
return _react.default.createElement(_react.default.Fragment, null, popupElement, (_c = props.children) === null || _c === void 0 ? void 0 : _c.call(props, value, actions));
|
|
@@ -31,7 +31,7 @@ function HandRead(props) {
|
|
|
31
31
|
var _a = (0, _react.useState)(false),
|
|
32
32
|
imgFlag = _a[0],
|
|
33
33
|
setImgFlag = _a[1];
|
|
34
|
-
var _b = (0, _react.useState)(
|
|
34
|
+
var _b = (0, _react.useState)(90),
|
|
35
35
|
currentPageNum = _b[0],
|
|
36
36
|
setCurrentPageNum = _b[1];
|
|
37
37
|
var _c = (0, _react.useState)(0),
|
|
@@ -87,6 +87,11 @@ function HandRead(props) {
|
|
|
87
87
|
// 下一页
|
|
88
88
|
var onNext = function () {
|
|
89
89
|
if (currentPageNum < documentPages) {
|
|
90
|
+
if (currentPageNum === documentPages - 1) {
|
|
91
|
+
if (!isAllSure()) {
|
|
92
|
+
_antdMobile.Toast.show("您仍有待完成的确认项,请完成后提交");
|
|
93
|
+
}
|
|
94
|
+
}
|
|
90
95
|
setCurrentPageNum(function () {
|
|
91
96
|
return currentPageNum + 1;
|
|
92
97
|
});
|
|
@@ -10,29 +10,16 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
10
10
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
11
|
var BackIcon = (0, _react.memo)(function (props) {
|
|
12
12
|
return (0, _nativeProps.withNativeProps)(props, _react.default.createElement("svg", {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
viewBox: "0 0 56 56",
|
|
13
|
+
className: "ebscn-ui-icon",
|
|
14
|
+
viewBox: "0 0 1024 1024",
|
|
16
15
|
version: "1.1",
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
opacity: "0",
|
|
26
|
-
x: "8",
|
|
27
|
-
y: "8",
|
|
28
|
-
width: "40",
|
|
29
|
-
height: "40",
|
|
30
|
-
rx: "8"
|
|
31
|
-
}), _react.default.createElement("path", {
|
|
32
|
-
d: "M24.2637318,14 L10.6051328,26.5589714 C9.79204002,27.3066037 9.73897377,28.5718213 10.486606,29.384914 C10.5255617,29.4272805 10.566328,29.4679458 10.6087911,29.5067962 L24.2637318,42 L24.2637318,42",
|
|
33
|
-
stroke: "currentColor",
|
|
34
|
-
strokeWidth: "3",
|
|
35
|
-
strokeLinecap: "round"
|
|
36
|
-
}))));
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
"p-id": "8060",
|
|
18
|
+
width: "1em",
|
|
19
|
+
height: "1em"
|
|
20
|
+
}, _react.default.createElement("path", {
|
|
21
|
+
d: "M361.344 121.392a32 32 0 0 1 45.312 45.216l-334.4 335.136a15.6 15.6 0 0 0 0.032 22.064l334.32 333.536a32 32 0 1 1-45.216 45.312L27.088 569.104a79.6 79.6 0 0 1-0.128-112.56l334.4-335.152z",
|
|
22
|
+
"p-id": "8061"
|
|
23
|
+
})));
|
|
37
24
|
});
|
|
38
25
|
var _default = exports.default = BackIcon;
|
|
@@ -10,32 +10,16 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
10
10
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
11
|
var ClearIcon = (0, _react.memo)(function (props) {
|
|
12
12
|
return (0, _nativeProps.withNativeProps)(props, _react.default.createElement("svg", {
|
|
13
|
+
className: "ebscn-ui-icon",
|
|
14
|
+
viewBox: "0 0 1024 1024",
|
|
15
|
+
version: "1.1",
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
"p-id": "8690",
|
|
13
18
|
width: "1em",
|
|
14
|
-
height: "1em"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
strokeWidth: "1",
|
|
20
|
-
fill: "none",
|
|
21
|
-
fillRule: "evenodd"
|
|
22
|
-
}, _react.default.createElement("g", null, _react.default.createElement("rect", {
|
|
23
|
-
x: "0",
|
|
24
|
-
y: "0",
|
|
25
|
-
width: "36",
|
|
26
|
-
height: "36"
|
|
27
|
-
}), _react.default.createElement("g", {
|
|
28
|
-
transform: "translate(4, 4)"
|
|
29
|
-
}, _react.default.createElement("circle", {
|
|
30
|
-
fill: "currentColor",
|
|
31
|
-
cx: "18",
|
|
32
|
-
cy: "18",
|
|
33
|
-
r: "18"
|
|
34
|
-
}), _react.default.createElement("path", {
|
|
35
|
-
d: "M19.5548764,18 L27.7015838,9.85329258 C28.1128091,9.44206724 28.1128091,8.76410114 27.7015838,8.3528758 L27.657127,8.30841901 C27.2459016,7.89719366 26.5679355,7.89719366 26.1567102,8.30841901 L18.0100028,16.4662406 L9.86329536,8.30841901 C9.45207002,7.89719366 8.77410392,7.89719366 8.36287858,8.30841901 L8.31842178,8.3528758 C7.89608225,8.76410114 7.89608225,9.44206724 8.31842178,9.85329258 L16.4651292,18 L8.31842178,26.1467074 C7.90719644,26.5579328 7.90719644,27.2358989 8.31842178,27.6471242 L8.36287858,27.691581 C8.77410392,28.1028063 9.45207002,28.1028063 9.86329536,27.691581 L18.0100028,19.5448736 L26.1567102,27.691581 C26.5679355,28.1028063 27.2459016,28.1028063 27.657127,27.691581 L27.7015838,27.6471242 C28.1128091,27.2358989 28.1128091,26.5579328 27.7015838,26.1467074 L19.5548764,18 Z",
|
|
36
|
-
id: "\u8DEF\u5F84",
|
|
37
|
-
fill: "#FFFFFF",
|
|
38
|
-
fillRule: "nonzero"
|
|
39
|
-
}))))));
|
|
19
|
+
height: "1em"
|
|
20
|
+
}, _react.default.createElement("path", {
|
|
21
|
+
d: "M512 64c247.424 0 448 200.576 448 448S759.424 960 512 960 64 759.424 64 512 264.576 64 512 64zM342.624 297.376a32 32 0 0 0-45.248 0l-1.872 2.032a32 32 0 0 0 1.872 43.216L466.72 512 297.376 681.376a32 32 0 0 0 0 45.248l2.032 1.872a32 32 0 0 0 43.216-1.872L512 557.248l169.376 169.376a32 32 0 0 0 45.248 0l1.872-2.032a32 32 0 0 0-1.872-43.216L557.248 512l169.376-169.376a32 32 0 0 0 0-45.248l-2.032-1.872a32 32 0 0 0-43.216 1.872L512 466.72z",
|
|
22
|
+
"p-id": "8691"
|
|
23
|
+
})));
|
|
40
24
|
});
|
|
41
25
|
var _default = exports.default = ClearIcon;
|
|
@@ -10,27 +10,19 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
10
10
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
11
|
var CloseIcon = (0, _react.memo)(function (props) {
|
|
12
12
|
return (0, _nativeProps.withNativeProps)(props, _react.default.createElement("svg", {
|
|
13
|
+
className: "ebscn-ui-icon",
|
|
14
|
+
viewBox: "0 0 1024 1024",
|
|
15
|
+
version: "1.1",
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
"p-id": "8217",
|
|
13
18
|
width: "1em",
|
|
14
|
-
height: "1em"
|
|
15
|
-
viewBox: "0 0 32 32",
|
|
16
|
-
className: "ebscn-ui-icon"
|
|
17
|
-
}, _react.default.createElement("g", {
|
|
18
|
-
stroke: "none",
|
|
19
|
-
strokeWidth: "1",
|
|
20
|
-
fill: "none",
|
|
21
|
-
fillRule: "evenodd",
|
|
22
|
-
strokeLinecap: "round",
|
|
23
|
-
strokeLinejoin: "round"
|
|
24
|
-
}, _react.default.createElement("g", {
|
|
25
|
-
transform: "translate(-694.000000, -585.000000)",
|
|
26
|
-
stroke: "currentColor",
|
|
27
|
-
strokeWidth: "2.5"
|
|
28
|
-
}, _react.default.createElement("g", {
|
|
29
|
-
transform: "translate(0.000000, 563.000000)"
|
|
30
|
-
}, _react.default.createElement("g", {
|
|
31
|
-
transform: "translate(694.000000, 22.000000)"
|
|
19
|
+
height: "1em"
|
|
32
20
|
}, _react.default.createElement("path", {
|
|
33
|
-
d: "
|
|
34
|
-
|
|
21
|
+
d: "M137.376 137.376a32 32 0 0 1 45.248 0l712.768 712.768a32 32 0 1 1-45.248 45.248L137.376 182.624a32 32 0 0 1 0-45.248z",
|
|
22
|
+
"p-id": "8218"
|
|
23
|
+
}), _react.default.createElement("path", {
|
|
24
|
+
d: "M137.376 895.392a32 32 0 0 1 0-45.248L850.144 137.376a32 32 0 1 1 45.248 45.248L182.624 895.392a32 32 0 0 1-45.248 0z",
|
|
25
|
+
"p-id": "8219"
|
|
26
|
+
})));
|
|
35
27
|
});
|
|
36
28
|
var _default = exports.default = CloseIcon;
|
|
@@ -10,15 +10,21 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
10
10
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
11
|
var NoticeIcon = (0, _react.memo)(function (props) {
|
|
12
12
|
return (0, _nativeProps.withNativeProps)(props, _react.default.createElement("svg", {
|
|
13
|
+
className: "ebscn-ui-icon",
|
|
13
14
|
viewBox: "0 0 1024 1024",
|
|
14
15
|
version: "1.1",
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
"p-id": "8375",
|
|
15
18
|
width: "1em",
|
|
16
|
-
height: "1em"
|
|
17
|
-
fill: "currentColor",
|
|
18
|
-
className: "ebscn-ui-icon"
|
|
19
|
+
height: "1em"
|
|
19
20
|
}, _react.default.createElement("path", {
|
|
20
|
-
d: "
|
|
21
|
-
|
|
21
|
+
d: "M614.4 268.8a32 32 0 0 1 44.8-6.4C752.128 332.096 800 415.872 800 512c0 96.128-47.872 179.904-140.8 249.6a32 32 0 1 1-38.4-51.2C698.528 652.096 736 586.528 736 512s-37.472-140.096-115.2-198.4a32 32 0 0 1-6.4-44.8zM370.368 108.352A96 96 0 0 1 544 164.8v694.368a96 96 0 0 1-173.632 56.48L249.28 749.168A32 32 0 0 0 223.408 736H176a112 112 0 0 1-112-112V400a112 112 0 0 1 112-112h47.408a32 32 0 0 0 25.888-13.184l121.072-166.464z m96.448 30.576a32 32 0 0 0-44.688 7.056L301.056 312.48A96 96 0 0 1 223.408 352H176a48 48 0 0 0-48 48v224a48 48 0 0 0 48 48h47.408a96 96 0 0 1 77.648 39.536l121.072 166.48A32 32 0 0 0 480 859.184V164.816a32 32 0 0 0-13.184-25.888z",
|
|
22
|
+
fill: "#333333",
|
|
23
|
+
"p-id": "8376"
|
|
24
|
+
}), _react.default.createElement("path", {
|
|
25
|
+
d: "M745.376 137.376a32 32 0 0 1 45.248 0C903.04 249.792 960 375.088 960 512c0 136.912-56.96 262.208-169.376 374.624a32 32 0 0 1-45.248-45.248C846.288 740.448 896 631.088 896 512c0-119.088-49.712-228.448-150.624-329.376a32 32 0 0 1 0-45.248z",
|
|
26
|
+
fill: "#333333",
|
|
27
|
+
"p-id": "8377"
|
|
22
28
|
})));
|
|
23
29
|
});
|
|
24
30
|
var _default = exports.default = NoticeIcon;
|
|
@@ -10,15 +10,16 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
10
10
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
11
|
var RightIcon = (0, _react.memo)(function (props) {
|
|
12
12
|
return (0, _nativeProps.withNativeProps)(props, _react.default.createElement("svg", {
|
|
13
|
-
|
|
14
|
-
height: "1em",
|
|
13
|
+
className: "ebscn-ui-icon",
|
|
15
14
|
viewBox: "0 0 1024 1024",
|
|
16
15
|
version: "1.1",
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
"p-id": "8533",
|
|
18
|
+
width: "1em",
|
|
19
|
+
height: "1em"
|
|
19
20
|
}, _react.default.createElement("path", {
|
|
20
|
-
d: "
|
|
21
|
-
"p-id": "
|
|
21
|
+
d: "M662.656 121.392a32 32 0 0 0-45.312 45.216l334.4 335.136c6.08 6.096 6.064 15.968-0.032 22.064L617.392 857.344a32 32 0 1 0 45.216 45.312l334.304-333.552a79.6 79.6 0 0 0 0.128-112.56l-334.4-335.152z",
|
|
22
|
+
"p-id": "8534"
|
|
22
23
|
})));
|
|
23
24
|
});
|
|
24
25
|
var _default = exports.default = RightIcon;
|
|
@@ -10,34 +10,19 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
10
10
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
11
|
var SearchIcon = (0, _react.memo)(function (props) {
|
|
12
12
|
return (0, _nativeProps.withNativeProps)(props, _react.default.createElement("svg", {
|
|
13
|
+
className: "ebscn-ui-icon",
|
|
14
|
+
viewBox: "0 0 1024 1024",
|
|
15
|
+
version: "1.1",
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
"p-id": "7902",
|
|
13
18
|
width: "1em",
|
|
14
|
-
height: "1em"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}, _react.default.createElement("g", null, _react.default.createElement("rect", {
|
|
23
|
-
x: "0",
|
|
24
|
-
y: "0",
|
|
25
|
-
width: "56",
|
|
26
|
-
height: "56"
|
|
27
|
-
}), _react.default.createElement("circle", {
|
|
28
|
-
stroke: "currentColor",
|
|
29
|
-
strokeWidth: "3",
|
|
30
|
-
cx: "27",
|
|
31
|
-
cy: "27",
|
|
32
|
-
r: "16.5"
|
|
33
|
-
}), _react.default.createElement("rect", {
|
|
34
|
-
fill: "currentColor",
|
|
35
|
-
transform: "translate(42.2426, 42.6464) rotate(-45) translate(-42.2426, -42.6464)",
|
|
36
|
-
x: "40.7426407",
|
|
37
|
-
y: "37.1464466",
|
|
38
|
-
width: "3",
|
|
39
|
-
height: "11",
|
|
40
|
-
rx: "1.5"
|
|
41
|
-
})))));
|
|
19
|
+
height: "1em"
|
|
20
|
+
}, _react.default.createElement("path", {
|
|
21
|
+
d: "M928 510c0 106.384-38.288 204.24-106.368 280.832l-42.56 46.8C702.512 905.712 604.64 944 498.288 944 251.472 944 55.744 739.76 64.256 492.992c8.512-221.264 191.456-404.208 416.96-412.72C728.032 71.76 928 267.472 928 510zM483.648 144.224C292.176 151.44 135.472 307.04 128.224 495.2 120.96 706.144 288.048 880 498.256 880c86.848 0 167.616-29.888 232.464-85.12l3.472-3.024 39.6-43.552c56.768-63.856 88.32-143.952 90.128-230.416l0.08-7.888C864 302.512 692.864 137.008 483.648 144.224z",
|
|
22
|
+
"p-id": "7903"
|
|
23
|
+
}), _react.default.createElement("path", {
|
|
24
|
+
d: "M950.624 889.376a32 32 0 1 1-45.248 45.248l-131.888-131.872a32 32 0 1 1 45.264-45.264l131.872 131.888z",
|
|
25
|
+
"p-id": "7904"
|
|
26
|
+
})));
|
|
42
27
|
});
|
|
43
28
|
var _default = exports.default = SearchIcon;
|
|
@@ -10,25 +10,16 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
10
10
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
11
|
var WarningIcon = (0, _react.memo)(function (props) {
|
|
12
12
|
return (0, _nativeProps.withNativeProps)(props, _react.default.createElement("svg", {
|
|
13
|
+
className: "ebscn-ui-icon",
|
|
14
|
+
viewBox: "0 0 1024 1024",
|
|
15
|
+
version: "1.1",
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
"p-id": "2315",
|
|
13
18
|
width: "1em",
|
|
14
|
-
height: "1em"
|
|
15
|
-
viewBox: "0 0 32 32",
|
|
16
|
-
className: "ebscn-ui-icon"
|
|
17
|
-
}, _react.default.createElement("g", {
|
|
18
|
-
stroke: "none",
|
|
19
|
-
strokeWidth: "1",
|
|
20
|
-
fill: "none",
|
|
21
|
-
fillRule: "evenodd"
|
|
22
|
-
}, _react.default.createElement("g", {
|
|
23
|
-
transform: "translate(-24.000000, -1009.000000)",
|
|
24
|
-
fill: "currentColor"
|
|
25
|
-
}, _react.default.createElement("g", {
|
|
26
|
-
transform: "translate(0.000000, 987.000000)"
|
|
27
|
-
}, _react.default.createElement("g", {
|
|
28
|
-
transform: "translate(24.000000, 22.000000)"
|
|
19
|
+
height: "1em"
|
|
29
20
|
}, _react.default.createElement("path", {
|
|
30
|
-
d: "
|
|
31
|
-
id: "
|
|
32
|
-
})))
|
|
21
|
+
d: "M512 64c247.424 0 448 200.576 448 448S759.424 960 512 960 64 759.424 64 512 264.576 64 512 64z m0 640a48 48 0 1 0 0 96 48 48 0 0 0 0-96z m0-480a40 40 0 0 0-40 40v336a40 40 0 1 0 80 0v-336A40 40 0 0 0 512 224z",
|
|
22
|
+
"p-id": "2316"
|
|
23
|
+
})));
|
|
33
24
|
});
|
|
34
25
|
var _default = exports.default = WarningIcon;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Picker = void 0;
|
|
7
7
|
var _ahooks = require("ahooks");
|
|
8
|
-
var
|
|
8
|
+
var _safeArea = _interopRequireDefault(require("../safe-area"));
|
|
9
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _nativeProps = require("../../utils/native-props");
|
|
@@ -152,7 +152,7 @@ var Picker = exports.Picker = (0, _react.memo)((0, _react.forwardRef)(function (
|
|
|
152
152
|
onClick: props.onClick,
|
|
153
153
|
forceRender: props.forceRender,
|
|
154
154
|
stopPropagation: props.stopPropagation
|
|
155
|
-
}, pickerElement, _react.default.createElement(
|
|
155
|
+
}, pickerElement, _react.default.createElement(_safeArea.default, {
|
|
156
156
|
position: "bottom"
|
|
157
157
|
}));
|
|
158
158
|
return _react.default.createElement(_react.default.Fragment, null, popupElement, (_a = props.children) === null || _a === void 0 ? void 0 : _a.call(props, extend.items, actions));
|
package/cjs/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export { default as Checkbox } from './components/checkbox';
|
|
|
7
7
|
export { default as DateRangePicker } from './components/date-range-picker';
|
|
8
8
|
export { default as Divider } from './components/divider';
|
|
9
9
|
export { default as Grid } from './components/grid';
|
|
10
|
-
export { default as HandRead } from './components/handRead';
|
|
11
10
|
export { default as Header } from './components/header';
|
|
12
11
|
export * from './components/icons';
|
|
13
12
|
export { default as ImageViewer } from './components/imageViewer';
|
package/cjs/index.js
CHANGED
|
@@ -13,7 +13,6 @@ var _exportNames = {
|
|
|
13
13
|
DateRangePicker: true,
|
|
14
14
|
Divider: true,
|
|
15
15
|
Grid: true,
|
|
16
|
-
HandRead: true,
|
|
17
16
|
Header: true,
|
|
18
17
|
ImageViewer: true,
|
|
19
18
|
MarketTag: true,
|
|
@@ -92,12 +91,6 @@ Object.defineProperty(exports, "Grid", {
|
|
|
92
91
|
return _grid.default;
|
|
93
92
|
}
|
|
94
93
|
});
|
|
95
|
-
Object.defineProperty(exports, "HandRead", {
|
|
96
|
-
enumerable: true,
|
|
97
|
-
get: function () {
|
|
98
|
-
return _handRead.default;
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
94
|
Object.defineProperty(exports, "Header", {
|
|
102
95
|
enumerable: true,
|
|
103
96
|
get: function () {
|
|
@@ -287,7 +280,6 @@ var _checkbox = _interopRequireDefault(require("./components/checkbox"));
|
|
|
287
280
|
var _dateRangePicker = _interopRequireDefault(require("./components/date-range-picker"));
|
|
288
281
|
var _divider = _interopRequireDefault(require("./components/divider"));
|
|
289
282
|
var _grid = _interopRequireDefault(require("./components/grid"));
|
|
290
|
-
var _handRead = _interopRequireDefault(require("./components/handRead"));
|
|
291
283
|
var _header = _interopRequireDefault(require("./components/header"));
|
|
292
284
|
var _icons = require("./components/icons");
|
|
293
285
|
Object.keys(_icons).forEach(function (key) {
|
|
Binary file
|
|
Binary file
|
|
@@ -9,6 +9,47 @@
|
|
|
9
9
|
align-content: flex-start;
|
|
10
10
|
background: #d2d5db;
|
|
11
11
|
}
|
|
12
|
+
.ebscn-alphabet-keyboard-darkkey {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
width: 11.2%;
|
|
17
|
+
height: 42px;
|
|
18
|
+
border-radius: 5px;
|
|
19
|
+
box-shadow: 0px 0.5px 0px 0px #888888;
|
|
20
|
+
background: #adb3bd;
|
|
21
|
+
font-size: var(--ebscn-font-size-9);
|
|
22
|
+
}
|
|
23
|
+
.ebscn-alphabet-keyboard-darkkey:active {
|
|
24
|
+
background: #adb3bd;
|
|
25
|
+
}
|
|
26
|
+
.ebscn-alphabet-keyboard-shift {
|
|
27
|
+
margin-right: 3.73%;
|
|
28
|
+
background: url(../../assets/images/keybord_shift.png) #adb3bd no-repeat center;
|
|
29
|
+
background-size: 17px 17px;
|
|
30
|
+
}
|
|
31
|
+
.ebscn-alphabet-keyboard-delete {
|
|
32
|
+
margin-left: 2.26%;
|
|
33
|
+
background: url(../../assets/images/delete.png) #adb3bd no-repeat center;
|
|
34
|
+
background-size: 24px 24px;
|
|
35
|
+
}
|
|
36
|
+
.ebscn-alphabet-keyboard-keybord {
|
|
37
|
+
background: url(../../assets/images/keybord_keybord.png) #adb3bd no-repeat center;
|
|
38
|
+
background-size: 24px 18px;
|
|
39
|
+
}
|
|
40
|
+
.ebscn-alphabet-keyboard-space {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
width: 48.4%;
|
|
45
|
+
height: 42px;
|
|
46
|
+
background: var(--ebscn-color-white);
|
|
47
|
+
border-radius: 5px;
|
|
48
|
+
box-shadow: 0px 0.5px 0px 0px #888888;
|
|
49
|
+
}
|
|
50
|
+
.ebscn-alphabet-keyboard-space:active {
|
|
51
|
+
background: var(--ebscn-color-border);
|
|
52
|
+
}
|
|
12
53
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firstline,
|
|
13
54
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-secondline,
|
|
14
55
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-thirdline,
|
|
@@ -54,66 +95,11 @@
|
|
|
54
95
|
padding-left: 0.8%;
|
|
55
96
|
padding-right: 0.8%;
|
|
56
97
|
}
|
|
57
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-thirdline-capital {
|
|
58
|
-
display: flex;
|
|
59
|
-
align-items: center;
|
|
60
|
-
justify-content: center;
|
|
61
|
-
width: 11.2%;
|
|
62
|
-
height: 42px;
|
|
63
|
-
background: #adb3bd;
|
|
64
|
-
border-radius: 5px;
|
|
65
|
-
box-shadow: 0px 0.5px 0px 0px #888888;
|
|
66
|
-
margin-right: 3.73%;
|
|
67
|
-
}
|
|
68
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-thirdline-capital:active {
|
|
69
|
-
background: #CACBD0;
|
|
70
|
-
}
|
|
71
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-thirdline-delete {
|
|
72
|
-
display: flex;
|
|
73
|
-
align-items: center;
|
|
74
|
-
justify-content: center;
|
|
75
|
-
width: 11.2%;
|
|
76
|
-
height: 42px;
|
|
77
|
-
border-radius: 5px;
|
|
78
|
-
box-shadow: 0px 0.5px 0px 0px #888888;
|
|
79
|
-
margin-left: 2.26%;
|
|
80
|
-
background: url(../../assets/images/delete.png) #adb3bd no-repeat center;
|
|
81
|
-
background-size: 24px 24px;
|
|
82
|
-
}
|
|
83
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-thirdline-delete:active {
|
|
84
|
-
background: #CACBD0;
|
|
85
|
-
}
|
|
86
98
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline {
|
|
87
99
|
padding-left: 0.8%;
|
|
88
100
|
padding-right: 0.8%;
|
|
89
101
|
padding-bottom: 1.06%;
|
|
90
102
|
}
|
|
91
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline-function {
|
|
92
|
-
display: flex;
|
|
93
|
-
align-items: center;
|
|
94
|
-
justify-content: center;
|
|
95
|
-
width: 11.2%;
|
|
96
|
-
height: 42px;
|
|
97
|
-
background: #adb3bd;
|
|
98
|
-
border-radius: 5px;
|
|
99
|
-
box-shadow: 0px 0.5px 0px 0px #888888;
|
|
100
|
-
}
|
|
101
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline-function:active {
|
|
102
|
-
background: #CACBD0;
|
|
103
|
-
}
|
|
104
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline-space {
|
|
105
|
-
display: flex;
|
|
106
|
-
align-items: center;
|
|
107
|
-
justify-content: center;
|
|
108
|
-
width: 48.4%;
|
|
109
|
-
height: 42px;
|
|
110
|
-
background: var(--ebscn-color-white);
|
|
111
|
-
border-radius: 5px;
|
|
112
|
-
box-shadow: 0px 0.5px 0px 0px #888888;
|
|
113
|
-
}
|
|
114
|
-
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline-space:active {
|
|
115
|
-
background: var(--ebscn-color-border);
|
|
116
|
-
}
|
|
117
103
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline-confirm {
|
|
118
104
|
display: flex;
|
|
119
105
|
align-items: center;
|
|
@@ -136,7 +122,7 @@
|
|
|
136
122
|
height: 20%;
|
|
137
123
|
}
|
|
138
124
|
@supports (bottom: env(safe-area-inset-bottom)) or (constant(safe-area-inset-bottom)) {
|
|
139
|
-
.keyboard {
|
|
125
|
+
.ebscn-alphabet-keyboard {
|
|
140
126
|
height: calc(216px + env(safe-area-inset-bottom));
|
|
141
127
|
height: calc(216px + constant(safe-area-inset-bottom));
|
|
142
128
|
}
|
|
@@ -28,7 +28,7 @@ export function AlphabetKeyboard(p) {
|
|
|
28
28
|
var appearTimer = useRef(null);
|
|
29
29
|
var hideTimer = useRef(null);
|
|
30
30
|
var lastVisible = useRef(null);
|
|
31
|
-
var
|
|
31
|
+
var imgKeys = ['×', '↑', '⌨'];
|
|
32
32
|
useEffect(function () {
|
|
33
33
|
if (!visible) {
|
|
34
34
|
if (lastVisible.current) {
|
|
@@ -107,25 +107,25 @@ export function AlphabetKeyboard(p) {
|
|
|
107
107
|
}, (isBig == false ? thirdKeys : thirdKeysBig).map(function (item, index) {
|
|
108
108
|
return React.createElement("div", {
|
|
109
109
|
key: item || index,
|
|
110
|
-
className: item == '↑' ? "".concat(classPrefix, "-
|
|
110
|
+
className: item == '↑' ? "".concat(classPrefix, "-darkkey ").concat(classPrefix, "-shift") : item == '×' ? "".concat(classPrefix, "-darkkey ").concat(classPrefix, "-delete") : "".concat(classPrefix, "-thirdline-key"),
|
|
111
111
|
onClick: function () {
|
|
112
112
|
if (visible) {
|
|
113
113
|
onKeyPress(item);
|
|
114
114
|
}
|
|
115
115
|
;
|
|
116
116
|
}
|
|
117
|
-
}, item
|
|
117
|
+
}, imgKeys.includes(item) ? '' : item);
|
|
118
118
|
})), React.createElement("div", {
|
|
119
119
|
className: "".concat(classPrefix, "-firthline")
|
|
120
120
|
}, firthKeys.map(function (item, index) {
|
|
121
121
|
return React.createElement("div", {
|
|
122
122
|
key: item || index,
|
|
123
|
-
className: item == '123'
|
|
123
|
+
className: item == '123' ? "".concat(classPrefix, "-darkkey") : item == '⌨' ? " ".concat(classPrefix, "-darkkey ").concat(classPrefix, "-keybord") : item == '空格' ? "".concat(classPrefix, "-space") : "".concat(classPrefix, "-firthline-confirm"),
|
|
124
124
|
onClick: function () {
|
|
125
125
|
if (visible) {
|
|
126
126
|
onKeyPress(item);
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
}, item);
|
|
129
|
+
}, imgKeys.includes(item) ? '' : item);
|
|
130
130
|
}))));
|
|
131
131
|
}
|
|
@@ -114,7 +114,7 @@ var __generator = this && this.__generator || function (thisArg, body) {
|
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
import { useMemoizedFn } from 'ahooks';
|
|
117
|
-
import
|
|
117
|
+
import SafeArea from '../safe-area';
|
|
118
118
|
import classNames from 'classnames';
|
|
119
119
|
import dayjs from 'dayjs';
|
|
120
120
|
import React, { forwardRef, memo, useEffect, useImperativeHandle, useMemo, useState } from 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Draggable from "react-draggable";
|
|
2
2
|
import "./handRead.css";
|
|
3
3
|
import React, { useLayoutEffect, useRef, useState } from "react";
|
|
4
|
-
import { Button } from "antd-mobile";
|
|
4
|
+
import { Button, Toast } from "antd-mobile";
|
|
5
5
|
import dayjs from "dayjs";
|
|
6
6
|
import hand from "../../assets/images/hand.png";
|
|
7
7
|
import ImageViewer from "../imageViewer";
|
|
@@ -22,7 +22,7 @@ function HandRead(props) {
|
|
|
22
22
|
var _a = useState(false),
|
|
23
23
|
imgFlag = _a[0],
|
|
24
24
|
setImgFlag = _a[1];
|
|
25
|
-
var _b = useState(
|
|
25
|
+
var _b = useState(90),
|
|
26
26
|
currentPageNum = _b[0],
|
|
27
27
|
setCurrentPageNum = _b[1];
|
|
28
28
|
var _c = useState(0),
|
|
@@ -78,6 +78,11 @@ function HandRead(props) {
|
|
|
78
78
|
// 下一页
|
|
79
79
|
var onNext = function () {
|
|
80
80
|
if (currentPageNum < documentPages) {
|
|
81
|
+
if (currentPageNum === documentPages - 1) {
|
|
82
|
+
if (!isAllSure()) {
|
|
83
|
+
Toast.show("您仍有待完成的确认项,请完成后提交");
|
|
84
|
+
}
|
|
85
|
+
}
|
|
81
86
|
setCurrentPageNum(function () {
|
|
82
87
|
return currentPageNum + 1;
|
|
83
88
|
});
|
|
@@ -2,29 +2,16 @@ import React, { memo } from 'react';
|
|
|
2
2
|
import { withNativeProps } from '../../utils/native-props';
|
|
3
3
|
var BackIcon = memo(function (props) {
|
|
4
4
|
return withNativeProps(props, React.createElement("svg", {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
viewBox: "0 0 56 56",
|
|
5
|
+
className: "ebscn-ui-icon",
|
|
6
|
+
viewBox: "0 0 1024 1024",
|
|
8
7
|
version: "1.1",
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
opacity: "0",
|
|
18
|
-
x: "8",
|
|
19
|
-
y: "8",
|
|
20
|
-
width: "40",
|
|
21
|
-
height: "40",
|
|
22
|
-
rx: "8"
|
|
23
|
-
}), React.createElement("path", {
|
|
24
|
-
d: "M24.2637318,14 L10.6051328,26.5589714 C9.79204002,27.3066037 9.73897377,28.5718213 10.486606,29.384914 C10.5255617,29.4272805 10.566328,29.4679458 10.6087911,29.5067962 L24.2637318,42 L24.2637318,42",
|
|
25
|
-
stroke: "currentColor",
|
|
26
|
-
strokeWidth: "3",
|
|
27
|
-
strokeLinecap: "round"
|
|
28
|
-
}))));
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
"p-id": "8060",
|
|
10
|
+
width: "1em",
|
|
11
|
+
height: "1em"
|
|
12
|
+
}, React.createElement("path", {
|
|
13
|
+
d: "M361.344 121.392a32 32 0 0 1 45.312 45.216l-334.4 335.136a15.6 15.6 0 0 0 0.032 22.064l334.32 333.536a32 32 0 1 1-45.216 45.312L27.088 569.104a79.6 79.6 0 0 1-0.128-112.56l334.4-335.152z",
|
|
14
|
+
"p-id": "8061"
|
|
15
|
+
})));
|
|
29
16
|
});
|
|
30
17
|
export default BackIcon;
|
|
@@ -2,32 +2,16 @@ import React, { memo } from 'react';
|
|
|
2
2
|
import { withNativeProps } from '../../utils/native-props';
|
|
3
3
|
var ClearIcon = memo(function (props) {
|
|
4
4
|
return withNativeProps(props, React.createElement("svg", {
|
|
5
|
+
className: "ebscn-ui-icon",
|
|
6
|
+
viewBox: "0 0 1024 1024",
|
|
7
|
+
version: "1.1",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
"p-id": "8690",
|
|
5
10
|
width: "1em",
|
|
6
|
-
height: "1em"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
strokeWidth: "1",
|
|
12
|
-
fill: "none",
|
|
13
|
-
fillRule: "evenodd"
|
|
14
|
-
}, React.createElement("g", null, React.createElement("rect", {
|
|
15
|
-
x: "0",
|
|
16
|
-
y: "0",
|
|
17
|
-
width: "36",
|
|
18
|
-
height: "36"
|
|
19
|
-
}), React.createElement("g", {
|
|
20
|
-
transform: "translate(4, 4)"
|
|
21
|
-
}, React.createElement("circle", {
|
|
22
|
-
fill: "currentColor",
|
|
23
|
-
cx: "18",
|
|
24
|
-
cy: "18",
|
|
25
|
-
r: "18"
|
|
26
|
-
}), React.createElement("path", {
|
|
27
|
-
d: "M19.5548764,18 L27.7015838,9.85329258 C28.1128091,9.44206724 28.1128091,8.76410114 27.7015838,8.3528758 L27.657127,8.30841901 C27.2459016,7.89719366 26.5679355,7.89719366 26.1567102,8.30841901 L18.0100028,16.4662406 L9.86329536,8.30841901 C9.45207002,7.89719366 8.77410392,7.89719366 8.36287858,8.30841901 L8.31842178,8.3528758 C7.89608225,8.76410114 7.89608225,9.44206724 8.31842178,9.85329258 L16.4651292,18 L8.31842178,26.1467074 C7.90719644,26.5579328 7.90719644,27.2358989 8.31842178,27.6471242 L8.36287858,27.691581 C8.77410392,28.1028063 9.45207002,28.1028063 9.86329536,27.691581 L18.0100028,19.5448736 L26.1567102,27.691581 C26.5679355,28.1028063 27.2459016,28.1028063 27.657127,27.691581 L27.7015838,27.6471242 C28.1128091,27.2358989 28.1128091,26.5579328 27.7015838,26.1467074 L19.5548764,18 Z",
|
|
28
|
-
id: "\u8DEF\u5F84",
|
|
29
|
-
fill: "#FFFFFF",
|
|
30
|
-
fillRule: "nonzero"
|
|
31
|
-
}))))));
|
|
11
|
+
height: "1em"
|
|
12
|
+
}, React.createElement("path", {
|
|
13
|
+
d: "M512 64c247.424 0 448 200.576 448 448S759.424 960 512 960 64 759.424 64 512 264.576 64 512 64zM342.624 297.376a32 32 0 0 0-45.248 0l-1.872 2.032a32 32 0 0 0 1.872 43.216L466.72 512 297.376 681.376a32 32 0 0 0 0 45.248l2.032 1.872a32 32 0 0 0 43.216-1.872L512 557.248l169.376 169.376a32 32 0 0 0 45.248 0l1.872-2.032a32 32 0 0 0-1.872-43.216L557.248 512l169.376-169.376a32 32 0 0 0 0-45.248l-2.032-1.872a32 32 0 0 0-43.216 1.872L512 466.72z",
|
|
14
|
+
"p-id": "8691"
|
|
15
|
+
})));
|
|
32
16
|
});
|
|
33
17
|
export default ClearIcon;
|
|
@@ -2,27 +2,19 @@ import React, { memo } from 'react';
|
|
|
2
2
|
import { withNativeProps } from '../../utils/native-props';
|
|
3
3
|
var CloseIcon = memo(function (props) {
|
|
4
4
|
return withNativeProps(props, React.createElement("svg", {
|
|
5
|
+
className: "ebscn-ui-icon",
|
|
6
|
+
viewBox: "0 0 1024 1024",
|
|
7
|
+
version: "1.1",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
"p-id": "8217",
|
|
5
10
|
width: "1em",
|
|
6
|
-
height: "1em"
|
|
7
|
-
viewBox: "0 0 32 32",
|
|
8
|
-
className: "ebscn-ui-icon"
|
|
9
|
-
}, React.createElement("g", {
|
|
10
|
-
stroke: "none",
|
|
11
|
-
strokeWidth: "1",
|
|
12
|
-
fill: "none",
|
|
13
|
-
fillRule: "evenodd",
|
|
14
|
-
strokeLinecap: "round",
|
|
15
|
-
strokeLinejoin: "round"
|
|
16
|
-
}, React.createElement("g", {
|
|
17
|
-
transform: "translate(-694.000000, -585.000000)",
|
|
18
|
-
stroke: "currentColor",
|
|
19
|
-
strokeWidth: "2.5"
|
|
20
|
-
}, React.createElement("g", {
|
|
21
|
-
transform: "translate(0.000000, 563.000000)"
|
|
22
|
-
}, React.createElement("g", {
|
|
23
|
-
transform: "translate(694.000000, 22.000000)"
|
|
11
|
+
height: "1em"
|
|
24
12
|
}, React.createElement("path", {
|
|
25
|
-
d: "
|
|
26
|
-
|
|
13
|
+
d: "M137.376 137.376a32 32 0 0 1 45.248 0l712.768 712.768a32 32 0 1 1-45.248 45.248L137.376 182.624a32 32 0 0 1 0-45.248z",
|
|
14
|
+
"p-id": "8218"
|
|
15
|
+
}), React.createElement("path", {
|
|
16
|
+
d: "M137.376 895.392a32 32 0 0 1 0-45.248L850.144 137.376a32 32 0 1 1 45.248 45.248L182.624 895.392a32 32 0 0 1-45.248 0z",
|
|
17
|
+
"p-id": "8219"
|
|
18
|
+
})));
|
|
27
19
|
});
|
|
28
20
|
export default CloseIcon;
|
|
@@ -2,15 +2,21 @@ import React, { memo } from 'react';
|
|
|
2
2
|
import { withNativeProps } from '../../utils/native-props';
|
|
3
3
|
var NoticeIcon = memo(function (props) {
|
|
4
4
|
return withNativeProps(props, React.createElement("svg", {
|
|
5
|
+
className: "ebscn-ui-icon",
|
|
5
6
|
viewBox: "0 0 1024 1024",
|
|
6
7
|
version: "1.1",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
"p-id": "8375",
|
|
7
10
|
width: "1em",
|
|
8
|
-
height: "1em"
|
|
9
|
-
fill: "currentColor",
|
|
10
|
-
className: "ebscn-ui-icon"
|
|
11
|
+
height: "1em"
|
|
11
12
|
}, React.createElement("path", {
|
|
12
|
-
d: "
|
|
13
|
-
|
|
13
|
+
d: "M614.4 268.8a32 32 0 0 1 44.8-6.4C752.128 332.096 800 415.872 800 512c0 96.128-47.872 179.904-140.8 249.6a32 32 0 1 1-38.4-51.2C698.528 652.096 736 586.528 736 512s-37.472-140.096-115.2-198.4a32 32 0 0 1-6.4-44.8zM370.368 108.352A96 96 0 0 1 544 164.8v694.368a96 96 0 0 1-173.632 56.48L249.28 749.168A32 32 0 0 0 223.408 736H176a112 112 0 0 1-112-112V400a112 112 0 0 1 112-112h47.408a32 32 0 0 0 25.888-13.184l121.072-166.464z m96.448 30.576a32 32 0 0 0-44.688 7.056L301.056 312.48A96 96 0 0 1 223.408 352H176a48 48 0 0 0-48 48v224a48 48 0 0 0 48 48h47.408a96 96 0 0 1 77.648 39.536l121.072 166.48A32 32 0 0 0 480 859.184V164.816a32 32 0 0 0-13.184-25.888z",
|
|
14
|
+
fill: "#333333",
|
|
15
|
+
"p-id": "8376"
|
|
16
|
+
}), React.createElement("path", {
|
|
17
|
+
d: "M745.376 137.376a32 32 0 0 1 45.248 0C903.04 249.792 960 375.088 960 512c0 136.912-56.96 262.208-169.376 374.624a32 32 0 0 1-45.248-45.248C846.288 740.448 896 631.088 896 512c0-119.088-49.712-228.448-150.624-329.376a32 32 0 0 1 0-45.248z",
|
|
18
|
+
fill: "#333333",
|
|
19
|
+
"p-id": "8377"
|
|
14
20
|
})));
|
|
15
21
|
});
|
|
16
22
|
export default NoticeIcon;
|
|
@@ -2,15 +2,16 @@ import React, { memo } from 'react';
|
|
|
2
2
|
import { withNativeProps } from '../../utils/native-props';
|
|
3
3
|
var RightIcon = memo(function (props) {
|
|
4
4
|
return withNativeProps(props, React.createElement("svg", {
|
|
5
|
-
|
|
6
|
-
height: "1em",
|
|
5
|
+
className: "ebscn-ui-icon",
|
|
7
6
|
viewBox: "0 0 1024 1024",
|
|
8
7
|
version: "1.1",
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
"p-id": "8533",
|
|
10
|
+
width: "1em",
|
|
11
|
+
height: "1em"
|
|
11
12
|
}, React.createElement("path", {
|
|
12
|
-
d: "
|
|
13
|
-
"p-id": "
|
|
13
|
+
d: "M662.656 121.392a32 32 0 0 0-45.312 45.216l334.4 335.136c6.08 6.096 6.064 15.968-0.032 22.064L617.392 857.344a32 32 0 1 0 45.216 45.312l334.304-333.552a79.6 79.6 0 0 0 0.128-112.56l-334.4-335.152z",
|
|
14
|
+
"p-id": "8534"
|
|
14
15
|
})));
|
|
15
16
|
});
|
|
16
17
|
export default RightIcon;
|
|
@@ -2,34 +2,19 @@ import React, { memo } from 'react';
|
|
|
2
2
|
import { withNativeProps } from '../../utils/native-props';
|
|
3
3
|
var SearchIcon = memo(function (props) {
|
|
4
4
|
return withNativeProps(props, React.createElement("svg", {
|
|
5
|
+
className: "ebscn-ui-icon",
|
|
6
|
+
viewBox: "0 0 1024 1024",
|
|
7
|
+
version: "1.1",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
"p-id": "7902",
|
|
5
10
|
width: "1em",
|
|
6
|
-
height: "1em"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}, React.createElement("g", null, React.createElement("rect", {
|
|
15
|
-
x: "0",
|
|
16
|
-
y: "0",
|
|
17
|
-
width: "56",
|
|
18
|
-
height: "56"
|
|
19
|
-
}), React.createElement("circle", {
|
|
20
|
-
stroke: "currentColor",
|
|
21
|
-
strokeWidth: "3",
|
|
22
|
-
cx: "27",
|
|
23
|
-
cy: "27",
|
|
24
|
-
r: "16.5"
|
|
25
|
-
}), React.createElement("rect", {
|
|
26
|
-
fill: "currentColor",
|
|
27
|
-
transform: "translate(42.2426, 42.6464) rotate(-45) translate(-42.2426, -42.6464)",
|
|
28
|
-
x: "40.7426407",
|
|
29
|
-
y: "37.1464466",
|
|
30
|
-
width: "3",
|
|
31
|
-
height: "11",
|
|
32
|
-
rx: "1.5"
|
|
33
|
-
})))));
|
|
11
|
+
height: "1em"
|
|
12
|
+
}, React.createElement("path", {
|
|
13
|
+
d: "M928 510c0 106.384-38.288 204.24-106.368 280.832l-42.56 46.8C702.512 905.712 604.64 944 498.288 944 251.472 944 55.744 739.76 64.256 492.992c8.512-221.264 191.456-404.208 416.96-412.72C728.032 71.76 928 267.472 928 510zM483.648 144.224C292.176 151.44 135.472 307.04 128.224 495.2 120.96 706.144 288.048 880 498.256 880c86.848 0 167.616-29.888 232.464-85.12l3.472-3.024 39.6-43.552c56.768-63.856 88.32-143.952 90.128-230.416l0.08-7.888C864 302.512 692.864 137.008 483.648 144.224z",
|
|
14
|
+
"p-id": "7903"
|
|
15
|
+
}), React.createElement("path", {
|
|
16
|
+
d: "M950.624 889.376a32 32 0 1 1-45.248 45.248l-131.888-131.872a32 32 0 1 1 45.264-45.264l131.872 131.888z",
|
|
17
|
+
"p-id": "7904"
|
|
18
|
+
})));
|
|
34
19
|
});
|
|
35
20
|
export default SearchIcon;
|
|
@@ -2,25 +2,16 @@ import React, { memo } from 'react';
|
|
|
2
2
|
import { withNativeProps } from '../../utils/native-props';
|
|
3
3
|
var WarningIcon = memo(function (props) {
|
|
4
4
|
return withNativeProps(props, React.createElement("svg", {
|
|
5
|
+
className: "ebscn-ui-icon",
|
|
6
|
+
viewBox: "0 0 1024 1024",
|
|
7
|
+
version: "1.1",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
"p-id": "2315",
|
|
5
10
|
width: "1em",
|
|
6
|
-
height: "1em"
|
|
7
|
-
viewBox: "0 0 32 32",
|
|
8
|
-
className: "ebscn-ui-icon"
|
|
9
|
-
}, React.createElement("g", {
|
|
10
|
-
stroke: "none",
|
|
11
|
-
strokeWidth: "1",
|
|
12
|
-
fill: "none",
|
|
13
|
-
fillRule: "evenodd"
|
|
14
|
-
}, React.createElement("g", {
|
|
15
|
-
transform: "translate(-24.000000, -1009.000000)",
|
|
16
|
-
fill: "currentColor"
|
|
17
|
-
}, React.createElement("g", {
|
|
18
|
-
transform: "translate(0.000000, 987.000000)"
|
|
19
|
-
}, React.createElement("g", {
|
|
20
|
-
transform: "translate(24.000000, 22.000000)"
|
|
11
|
+
height: "1em"
|
|
21
12
|
}, React.createElement("path", {
|
|
22
|
-
d: "
|
|
23
|
-
id: "
|
|
24
|
-
})))
|
|
13
|
+
d: "M512 64c247.424 0 448 200.576 448 448S759.424 960 512 960 64 759.424 64 512 264.576 64 512 64z m0 640a48 48 0 1 0 0 96 48 48 0 0 0 0-96z m0-480a40 40 0 0 0-40 40v336a40 40 0 1 0 80 0v-336A40 40 0 0 0 512 224z",
|
|
14
|
+
"p-id": "2316"
|
|
15
|
+
})));
|
|
25
16
|
});
|
|
26
17
|
export default WarningIcon;
|
|
@@ -9,7 +9,7 @@ var __assign = this && this.__assign || function () {
|
|
|
9
9
|
return __assign.apply(this, arguments);
|
|
10
10
|
};
|
|
11
11
|
import { useMemoizedFn } from 'ahooks';
|
|
12
|
-
import
|
|
12
|
+
import SafeArea from '../safe-area';
|
|
13
13
|
import classNames from 'classnames';
|
|
14
14
|
import React, { forwardRef, memo, useEffect, useImperativeHandle, useState } from 'react';
|
|
15
15
|
import { withNativeProps } from '../../utils/native-props';
|
package/es/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export { default as Checkbox } from './components/checkbox';
|
|
|
7
7
|
export { default as DateRangePicker } from './components/date-range-picker';
|
|
8
8
|
export { default as Divider } from './components/divider';
|
|
9
9
|
export { default as Grid } from './components/grid';
|
|
10
|
-
export { default as HandRead } from './components/handRead';
|
|
11
10
|
export { default as Header } from './components/header';
|
|
12
11
|
export * from './components/icons';
|
|
13
12
|
export { default as ImageViewer } from './components/imageViewer';
|
package/es/index.js
CHANGED
|
@@ -7,7 +7,7 @@ export { default as Checkbox } from './components/checkbox';
|
|
|
7
7
|
export { default as DateRangePicker } from './components/date-range-picker';
|
|
8
8
|
export { default as Divider } from './components/divider';
|
|
9
9
|
export { default as Grid } from './components/grid';
|
|
10
|
-
export { default as HandRead } from './components/handRead'
|
|
10
|
+
//export { default as HandRead } from './components/handRead'
|
|
11
11
|
export { default as Header } from './components/header';
|
|
12
12
|
export * from './components/icons';
|
|
13
13
|
export { default as ImageViewer } from './components/imageViewer';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ebscn/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3-beta.0",
|
|
4
4
|
"description": "ebscn react library",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./es/index.d.ts",
|
|
@@ -36,15 +36,24 @@
|
|
|
36
36
|
"react-dom": ">=16.9.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@react-spring/web": "9.7.3",
|
|
40
|
-
"@use-gesture/react": "10.3.0",
|
|
41
|
-
"ahooks": "3.7.10",
|
|
42
|
-
"antd-mobile": "5.34.0",
|
|
43
|
-
"lodash": "4.17.21",
|
|
44
|
-
"lorem-ipsum": "2.0.8",
|
|
45
|
-
"pdfh5": "1.4.2",
|
|
46
|
-
"react-
|
|
47
|
-
"react-
|
|
48
|
-
"
|
|
49
|
-
|
|
39
|
+
"@react-spring/web": "^9.7.3",
|
|
40
|
+
"@use-gesture/react": "^10.3.0",
|
|
41
|
+
"ahooks": "^3.7.10",
|
|
42
|
+
"antd-mobile": "^5.34.0",
|
|
43
|
+
"lodash": "^4.17.21",
|
|
44
|
+
"lorem-ipsum": "^2.0.8",
|
|
45
|
+
"pdfh5": "^1.4.2",
|
|
46
|
+
"react-fast-compare": "^3.2.2",
|
|
47
|
+
"react-is": "^18.2.0",
|
|
48
|
+
"react-photo-view": "^1.2.4",
|
|
49
|
+
"use-sync-external-store": "^1.2.0"
|
|
50
|
+
},
|
|
51
|
+
"sideEffects": [
|
|
52
|
+
"**/*.css",
|
|
53
|
+
"**/*.less",
|
|
54
|
+
"./es/index.js",
|
|
55
|
+
"./src/index.ts",
|
|
56
|
+
"./es/global/index.js",
|
|
57
|
+
"./src/global/index.ts"
|
|
58
|
+
]
|
|
50
59
|
}
|