@daoyi/nmtl-ui 2.0.1-beta.83 → 2.0.1-beta.84
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.
|
@@ -9998,7 +9998,6 @@ styleInject(css_248z$2);
|
|
|
9998
9998
|
const VCode = _ref => {
|
|
9999
9999
|
let {
|
|
10000
10000
|
visible,
|
|
10001
|
-
placeholder,
|
|
10002
10001
|
onChange,
|
|
10003
10002
|
formatMessage,
|
|
10004
10003
|
name
|
|
@@ -10021,7 +10020,9 @@ const VCode = _ref => {
|
|
|
10021
10020
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
10022
10021
|
className: "vcode"
|
|
10023
10022
|
}, /*#__PURE__*/React__default.createElement(Input, {
|
|
10024
|
-
placeholder:
|
|
10023
|
+
placeholder: formatMessage({
|
|
10024
|
+
id: 'common.form.code.check'
|
|
10025
|
+
}),
|
|
10025
10026
|
onChange: e => onChange(e.target.value.toUpperCase() === vcodeNumber.toUpperCase())
|
|
10026
10027
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
10027
10028
|
className: "vcode__box"
|
|
@@ -10052,14 +10053,14 @@ const VCode = _ref => {
|
|
|
10052
10053
|
};
|
|
10053
10054
|
VCode.defaultProps = {
|
|
10054
10055
|
visible: false,
|
|
10055
|
-
placeholder: undefined,
|
|
10056
|
+
// placeholder: undefined,
|
|
10056
10057
|
onChange: () => {},
|
|
10057
10058
|
formatMessage: () => {},
|
|
10058
10059
|
name: undefined
|
|
10059
10060
|
};
|
|
10060
10061
|
VCode.propTypes = {
|
|
10061
10062
|
visible: PropTypes.bool,
|
|
10062
|
-
placeholder: PropTypes.string,
|
|
10063
|
+
// placeholder: PropTypes.string,
|
|
10063
10064
|
onChange: PropTypes.func,
|
|
10064
10065
|
formatMessage: PropTypes.func,
|
|
10065
10066
|
name: PropTypes.string
|
package/lib/components/Footer.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default, { useState, useEffect } from 'react';
|
|
|
3
3
|
import { c as classNames } from './index-cbd6bca9.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import axios from 'axios';
|
|
6
|
-
import { C as ContactModal } from './ContactModal-
|
|
6
|
+
import { C as ContactModal } from './ContactModal-80d24d0b.js';
|
|
7
7
|
import { S as Spin } from './Spin-1762ce9c.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
9
9
|
import './hoist-non-react-statics.cjs-3f408ad2.js';
|
|
@@ -46,7 +46,8 @@ var zhtw = {
|
|
|
46
46
|
"common.form.female": "女",
|
|
47
47
|
"common.form.dataname.placeholder": "可填書名、期刊名等",
|
|
48
48
|
"common.form.provider.notice": "(此名稱將會顯示於此網站上)",
|
|
49
|
-
"common.form.code": "驗證碼
|
|
49
|
+
"common.form.code": "驗證碼",
|
|
50
|
+
"common.form.code.check": "請輸入驗證碼(點選圖片可更換驗證碼)",
|
|
50
51
|
"common.form.code.error": "驗證碼錯誤",
|
|
51
52
|
"common.form.attachment": "附件上傳",
|
|
52
53
|
"common.form.attachment.valid.error": "附件上傳上限為10MB",
|
package/package.json
CHANGED