Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@parallel-line/pro-mobile

Package Overview
Dependencies
Maintainers
4
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parallel-line/pro-mobile - npm Package Compare versions

Comparing version 2.1.0-beta.18 to 2.1.0-beta.19

es/components/index.d.ts

141

lib/components/ocr-form/index.js

@@ -27,8 +27,2 @@ "use strict";

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }

@@ -70,4 +64,5 @@

onClose = _ref.onClose;
return (0, _jsxRuntime.jsxs)("div", {
className: b('tooltip'),
return (0, _jsxRuntime.jsxs)("div", Object.assign({
className: b('tooltip')
}, {
children: [(0, _jsxRuntime.jsx)("img", {

@@ -77,10 +72,11 @@ src: src,

}, void 0), (0, _jsxRuntime.jsx)("footer", {
children: (0, _jsxRuntime.jsx)(_mobile.Button, {
children: (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({
block: true,
color: "primary",
onClick: onClose,
onClick: onClose
}, {
children: "\u77E5\u9053\u4E86"
}, void 0)
}), void 0)
}, void 0)]
}, void 0);
}), void 0);
}

@@ -197,8 +193,9 @@

var notAutoFillType = ['50', '70', '90', '110'];
return (0, _jsxRuntime.jsx)(_mobile.Spin, {
return (0, _jsxRuntime.jsx)(_mobile.Spin, Object.assign({
full: true,
spinning: loading,
spinning: loading
}, {
children: loading ? (0, _jsxRuntime.jsx)("div", {
className: b()
}, void 0) : (0, _jsxRuntime.jsxs)(_mobile.Form, {
}, void 0) : (0, _jsxRuntime.jsxs)(_mobile.Form, Object.assign({
className: b(),

@@ -208,5 +205,7 @@ form: form,

onValuesChange: props.onValuesChange,
onFinish: handleFinish,
children: [(0, _jsxRuntime.jsxs)("div", {
className: b('content'),
onFinish: handleFinish
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: b('content')
}, {
children: [tips, certificate.map(function (_ref3) {

@@ -220,6 +219,8 @@ var title = _ref3.title,

return (// formContent
(0, _jsxRuntime.jsxs)("div", {
className: b('title-container'),
children: [(0, _jsxRuntime.jsxs)("div", {
className: b('title'),
(0, _jsxRuntime.jsxs)("div", Object.assign({
className: b('title-container')
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: b('title')
}, {
children: [(0, _jsxRuntime.jsxs)("div", {

@@ -231,8 +232,10 @@ children: [(0, _jsxRuntime.jsxs)("span", {

}, void 0) : null]
}, void 0), desc && (0, _jsxRuntime.jsx)("div", {
className: b('desc'),
}, void 0), desc && (0, _jsxRuntime.jsx)("div", Object.assign({
className: b('desc')
}, {
children: desc
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)("div", {
className: b('upload-imgs'),
}), void 0)]
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: b('upload-imgs')
}, {
children: files.map(function (_ref4) {

@@ -278,6 +281,6 @@ var fileType = _ref4.fileType,

}), (0, _jsxRuntime.jsx)("div", {
children: (0, _jsxRuntime.jsx)(_mobile.Form.Item, _objectSpread(_objectSpread({}, itemProps), {}, {
children: (0, _jsxRuntime.jsx)(_ocrUpload.OCRUpload, _objectSpread(_objectSpread({
children: (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({}, itemProps, {
children: (0, _jsxRuntime.jsx)(_ocrUpload.OCRUpload, Object.assign({
fileType: fileType
}, uploadProps), {}, {
}, uploadProps, {
onSuccess: function onSuccess(data) {

@@ -294,27 +297,30 @@ var _props$onUploadSucces;

})
}, void 0)]
}, title)
}), void 0)]
}), title)
);
}), children && !notAutoFillType.includes(licenseType) && !hideTips && (0, _jsxRuntime.jsx)("div", {
className: b('tips'),
}), children && !notAutoFillType.includes(licenseType) && !hideTips && (0, _jsxRuntime.jsx)("div", Object.assign({
className: b('tips')
}, {
children: _global.default.PXX_ENV.isWorker && !children[0] ? '上传照片后系统会自动识别证件内容' : '以下信息为系统自动识别,如不正确请修改'
}, void 0), children, hasUnbound && footer]
}, void 0), isWorker && !disabled ? (0, _jsxRuntime.jsx)(_mobile.Button, {
}), void 0), children, hasUnbound && footer]
}), void 0), isWorker && !disabled ? (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({
type: "submit",
className: b('work-btn'),
color: "primary",
loading: submitLoading,
loading: submitLoading
}, {
children: "\u63D0\u4EA4"
}, void 0) : (0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
}), void 0) : (0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
children: !disabled && (0, _jsxRuntime.jsx)(Footer, {
children: (0, _jsxRuntime.jsx)(_mobile.Button, {
children: (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({
loading: submitLoading,
type: "submit",
color: "primary",
color: "primary"
}, {
children: "\u63D0\u4EA4"
}, void 0)
}), void 0)
}, void 0)
}, void 0)]
}, void 0)
}, void 0);
}), void 0)
}), void 0);
}

@@ -324,6 +330,7 @@

var children = _ref5.children;
return (0, _jsxRuntime.jsx)("div", {
className: b('footer'),
return (0, _jsxRuntime.jsx)("div", Object.assign({
className: b('footer')
}, {
children: children
}, void 0);
}), void 0);
}

@@ -335,4 +342,5 @@

var children = _ref6.children;
return (0, _jsxRuntime.jsxs)("div", {
className: b('error-tips'),
return (0, _jsxRuntime.jsxs)("div", Object.assign({
className: b('error-tips')
}, {
children: [(0, _jsxRuntime.jsx)("span", {

@@ -345,3 +353,3 @@ children: "\u8BA4\u8BC1\u5931\u8D25\u539F\u56E0\uFF1A"

}, void 0)]
}, void 0);
}), void 0);
}

@@ -366,16 +374,19 @@

if (showTypeList.includes(fileType)) {
return (0, _jsxRuntime.jsxs)("div", {
className: b('title-container'),
children: [title && (0, _jsxRuntime.jsx)("div", {
className: b('title'),
return (0, _jsxRuntime.jsxs)("div", Object.assign({
className: b('title-container')
}, {
children: [title && (0, _jsxRuntime.jsx)("div", Object.assign({
className: b('title')
}, {
children: title
}, void 0), _children]
}, void 0);
}), void 0), _children]
}), void 0);
}
return (0, _jsxRuntime.jsx)(_mobile.Form.Item, {
return (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({
noStyle: true,
shouldUpdate: function shouldUpdate(prevValues, currentValues) {
return prevValues[fileType] !== currentValues[fileType];
},
}
}, {
children: function children(_ref9) {

@@ -386,9 +397,11 @@ var getFieldValue = _ref9.getFieldValue;

if (v === null || v === void 0 ? void 0 : v.success) {
return (0, _jsxRuntime.jsxs)("div", {
className: b('title-container'),
children: [title && (0, _jsxRuntime.jsx)("div", {
className: b('title'),
return (0, _jsxRuntime.jsxs)("div", Object.assign({
className: b('title-container')
}, {
children: [title && (0, _jsxRuntime.jsx)("div", Object.assign({
className: b('title')
}, {
children: title
}, void 0), _children]
}, void 0);
}), void 0), _children]
}), void 0);
}

@@ -398,3 +411,3 @@

}
}, void 0);
}), void 0);
}

@@ -401,0 +414,0 @@

@@ -126,6 +126,7 @@ "use strict";

if (hasAuditRemark) {
return (0, _jsxRuntime.jsx)("div", {
className: b('remark'),
return (0, _jsxRuntime.jsx)("div", Object.assign({
className: b('remark')
}, {
children: "\u8BA4\u8BC1\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u4E0A\u4F20"
}, void 0);
}), void 0);
}

@@ -144,6 +145,7 @@

if (content) {
return (0, _jsxRuntime.jsx)("div", {
className: b('auth-status'),
return (0, _jsxRuntime.jsx)("div", Object.assign({
className: b('auth-status')
}, {
children: content
}, void 0);
}), void 0);
}

@@ -154,4 +156,5 @@

return (0, _jsxRuntime.jsxs)("span", {
className: b('wrap'),
return (0, _jsxRuntime.jsxs)("span", Object.assign({
className: b('wrap')
}, {
children: [(0, _jsxRuntime.jsx)(_mobile.Upload, {

@@ -163,5 +166,5 @@ className: b(),

}, void 0), rendeRemark()]
}, void 0);
}), void 0);
});
exports.OCRUpload = OCRUpload;

@@ -76,3 +76,3 @@ "use strict";

return (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
children: [(0, _jsxRuntime.jsxs)(_mobile.Form, {
children: [(0, _jsxRuntime.jsxs)(_mobile.Form, Object.assign({
form: form,

@@ -83,4 +83,5 @@ onFinish: function onFinish(values) {

}));
},
children: [type == 2 && (0, _jsxRuntime.jsx)(_mobile.Form.Item, {
}
}, {
children: [type == 2 && (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({
name: 'feedbackName',

@@ -91,3 +92,4 @@ label: '投诉对象',

message: '请输入描述内容'
}],
}]
}, {
children: (0, _jsxRuntime.jsx)(_mobile.Input, {

@@ -98,3 +100,3 @@ placeholder: '请输入',

}, void 0)
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, {
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({
name: 'submitContent',

@@ -105,3 +107,4 @@ label: '描述内容',

message: '请输入描述内容'
}],
}]
}, {
children: (0, _jsxRuntime.jsx)(_mobile.TextArea, {

@@ -118,5 +121,5 @@ className: (0, _index.bemConsultation)('textArea'),

}, void 0)
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Popup.Footer, {
children: (0, _jsxRuntime.jsx)(_mobile.Button, {
}), void 0)]
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Popup.Footer, {
children: (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({
loading: loading,

@@ -126,5 +129,6 @@ color: 'primary',

return form.submit();
},
}
}, {
children: "\u786E\u5B9A"
}, void 0)
}), void 0)
}, void 0)]

@@ -131,0 +135,0 @@ }, void 0);

@@ -25,6 +25,7 @@ "use strict";

text = _ref$text === void 0 ? '' : _ref$text;
return (0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('detailText'),
return (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('detailText')
}, {
children: text
}, void 0);
}), void 0);
};

@@ -41,15 +42,19 @@

if (type == 1) {
return (0, _jsxRuntime.jsxs)(_mobile.Card, {
className: (0, _index.bemConsultation)('consultationItem'),
return (0, _jsxRuntime.jsxs)(_mobile.Card, Object.assign({
className: (0, _index.bemConsultation)('consultationItem')
}, {
children: [(0, _jsxRuntime.jsx)(_mobile.State, {
color: info.feedbackState == 0 ? 'warning' : 'success',
text: info.feedbackState == 0 ? '待处理' : '已处理'
}, void 0), (0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)('moduleItem'),
children: [(0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)('moduleItemContent'),
children: [(0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItemContentKey'),
}, void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItem')
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContent')
}, {
children: [(0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentKey')
}, {
children: "\u54A8\u8BE2\u5185\u5BB9"
}, void 0), (0, _jsxRuntime.jsx)("div", {
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentValue'),

@@ -70,29 +75,37 @@ onClick: function onClick() {

});
},
}
}, {
children: info.submitContent
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItem'),
children: (0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)('moduleItemContent'),
children: [(0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItemContentKey'),
}), void 0)]
}), void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)]
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItem')
}, {
children: (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContent')
}, {
children: [(0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentKey')
}, {
children: "\u63D0\u4EA4\u65F6\u95F4"
}, void 0), (0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItemContentValue'),
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentValue')
}, {
children: (0, _utils.toTime)(createTime, {
format: 'YYYY/MM/DD HH:mm'
})
}, void 0)]
}, void 0)
}, void 0), info.feedbackState == 1 && (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
children: [(0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)('moduleItem'),
children: [(0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)('moduleItemContent'),
children: [(0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItemContentKey'),
}), void 0)]
}), void 0)
}), void 0), info.feedbackState == 1 && (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItem')
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContent')
}, {
children: [(0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentKey')
}, {
children: "\u53CD\u9988\u5185\u5BB9"
}, void 0), (0, _jsxRuntime.jsx)("div", {
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentValue'),

@@ -113,50 +126,63 @@ onClick: function onClick() {

});
},
}
}, {
children: info.feedbackContent
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItem'),
children: (0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)('moduleItemContent'),
children: [(0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItemContentKey'),
}), void 0)]
}), void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)]
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItem')
}, {
children: (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContent')
}, {
children: [(0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentKey')
}, {
children: "\u53CD\u9988\u65F6\u95F4"
}, void 0), (0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItemContentValue'),
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentValue')
}, {
children: (0, _utils.toTime)(feedBackTime, {
format: 'YYYY/MM/DD HH:mm'
})
}, void 0)]
}, void 0)
}, void 0)]
}), void 0)]
}), void 0)
}), void 0)]
}, void 0)]
}, void 0);
}), void 0);
}
return (0, _jsxRuntime.jsxs)(_mobile.Card, {
className: (0, _index.bemConsultation)('consultationItem'),
return (0, _jsxRuntime.jsxs)(_mobile.Card, Object.assign({
className: (0, _index.bemConsultation)('consultationItem')
}, {
children: [(0, _jsxRuntime.jsx)(_mobile.State, {
color: info.feedbackState == 0 ? 'warning' : 'success',
text: info.feedbackState == 0 ? '待处理' : '已处理'
}, void 0), (0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItem'),
children: (0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)('moduleItemContent'),
children: [(0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItemContentKey'),
}, void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItem')
}, {
children: (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContent')
}, {
children: [(0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentKey')
}, {
children: "\u6295\u8BC9\u5BF9\u8C61"
}, void 0), (0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItemContentValue'),
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentValue')
}, {
children: info.feedbackName
}, void 0)]
}, void 0)
}, void 0), (0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)('moduleItem'),
children: [(0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)('moduleItemContent'),
children: [(0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItemContentKey'),
}), void 0)]
}), void 0)
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItem')
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContent')
}, {
children: [(0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentKey')
}, {
children: "\u6295\u8BC9\u5185\u5BB9"
}, void 0), (0, _jsxRuntime.jsx)("div", {
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentValue'),

@@ -177,29 +203,37 @@ onClick: function onClick() {

});
},
}
}, {
children: info.submitContent
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItem'),
children: (0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)('moduleItemContent'),
children: [(0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItemContentKey'),
}), void 0)]
}), void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)]
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItem')
}, {
children: (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContent')
}, {
children: [(0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentKey')
}, {
children: "\u63D0\u4EA4\u65F6\u95F4"
}, void 0), (0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItemContentValue'),
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentValue')
}, {
children: (0, _utils.toTime)(createTime, {
format: 'YYYY/MM/DD HH:mm'
})
}, void 0)]
}, void 0)
}, void 0), info.feedbackState == 1 && (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
children: [(0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)('moduleItem'),
children: [(0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)('moduleItemContent'),
children: [(0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItemContentKey'),
}), void 0)]
}), void 0)
}), void 0), info.feedbackState == 1 && (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItem')
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContent')
}, {
children: [(0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentKey')
}, {
children: "\u53CD\u9988\u5185\u5BB9"
}, void 0), (0, _jsxRuntime.jsx)("div", {
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentValue'),

@@ -220,23 +254,28 @@ onClick: function onClick() {

});
},
}
}, {
children: info.feedbackContent
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItem'),
children: (0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)('moduleItemContent'),
children: [(0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItemContentKey'),
}), void 0)]
}), void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)]
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItem')
}, {
children: (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContent')
}, {
children: [(0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentKey')
}, {
children: "\u53CD\u9988\u65F6\u95F4"
}, void 0), (0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('moduleItemContentValue'),
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('moduleItemContentValue')
}, {
children: (0, _utils.toTime)(feedBackTime, {
format: 'YYYY/MM/DD HH:mm'
})
}, void 0)]
}, void 0)
}, void 0)]
}), void 0)]
}), void 0)
}), void 0)]
}, void 0)]
}, void 0);
}), void 0);
};

@@ -243,0 +282,0 @@

@@ -52,4 +52,5 @@ "use strict";

var text = props.text;
return (0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemConsultation)('Empty'),
return (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemConsultation)('Empty')
}, {
children: (0, _jsxRuntime.jsx)("div", {

@@ -60,3 +61,3 @@ children: (0, _jsxRuntime.jsx)("div", {

}, void 0)
}, void 0);
}), void 0);
};

@@ -161,5 +162,6 @@

return (0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)(),
children: [(0, _jsxRuntime.jsxs)(_mobile.Tabs, {
return (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)()
}, {
children: [(0, _jsxRuntime.jsxs)(_mobile.Tabs, Object.assign({
defaultActiveKey: '1',

@@ -179,3 +181,4 @@ onChange: function onChange(type) {

});
},
}
}, {
children: [(0, _jsxRuntime.jsx)(_mobile.Tabs.Tab, {

@@ -188,3 +191,3 @@ title: "\u95EE\u9898\u54A8\u8BE2",

}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)(_mobile.ListView, {
}), void 0), (0, _jsxRuntime.jsx)(_mobile.ListView, Object.assign({
className: (0, _index.bemConsultation)('list'),

@@ -196,3 +199,4 @@ uniqueKey: 'DRIVER_CONSULTATION',

empty: (0, _jsxRuntime.jsx)(Empty, {}, void 0)
},
}
}, {
children: function children() {

@@ -207,6 +211,8 @@ var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];

}
}, void 0), (0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)('footer'),
children: [(0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemConsultation)('info'),
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)('footer')
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemConsultation)('info')
}, {
children: [(0, _jsxRuntime.jsx)("div", {

@@ -217,3 +223,3 @@ children: "\u5982\u6709\u5176\u4ED6\u95EE\u9898\u53EF\u8054\u7CFB\u5BA2\u670D\u7535\u8BDD"

}, void 0)]
}, void 0), (0, _jsxRuntime.jsxs)(_mobile.Button, {
}), void 0), (0, _jsxRuntime.jsxs)(_mobile.Button, Object.assign({
size: 'small',

@@ -223,3 +229,4 @@ className: (0, _index.bemConsultation)('button'),

return setVisible(true);
},
}
}, {
children: [(0, _jsxRuntime.jsx)(_icons.VerifyLoginOutlined, {

@@ -230,4 +237,4 @@ style: {

}, void 0), listType == 1 ? '我要咨询' : '我要投诉']
}, void 0)]
}, void 0), visible && (0, _jsxRuntime.jsx)(_mobile.Popup, {
}), void 0)]
}), void 0), visible && (0, _jsxRuntime.jsx)(_mobile.Popup, {
title: listType == 1 ? '咨询内容' : '投诉内容',

@@ -247,5 +254,5 @@ visible: visible,

}, void 0)]
}, void 0);
}), void 0);
};
exports.Consultation = Consultation;

@@ -78,20 +78,25 @@ "use strict";

}, [currentIndex]);
return (0, _jsxRuntime.jsxs)("div", {
className: bemHelperDetail(),
children: [(0, _jsxRuntime.jsx)("audio", {
return (0, _jsxRuntime.jsxs)("div", Object.assign({
className: bemHelperDetail()
}, {
children: [(0, _jsxRuntime.jsx)("audio", Object.assign({
ref: voiceRef,
autoPlay: false,
autoPlay: false
}, {
children: (0, _jsxRuntime.jsx)("source", {
src: "https://prod-1302801272.cos.ap-guangzhou.myqcloud.com/assets/helper/".concat(keys[0], "/").concat(keys[1], "/").concat(currentIndex + 1, ".mp3")
}, void 0)
}, void 0), (0, _jsxRuntime.jsxs)("div", {
className: bemHelperDetail('content'),
children: [(0, _jsxRuntime.jsxs)("div", {
className: bemHelperDetail('control'),
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({
className: bemHelperDetail('content')
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: bemHelperDetail('control')
}, {
children: [(0, _jsxRuntime.jsx)("div", {
children: currentIndex != 0 && steps.length > 0 && (0, _jsxRuntime.jsx)("div", {
children: currentIndex != 0 && steps.length > 0 && (0, _jsxRuntime.jsx)("div", Object.assign({
className: bemHelperDetail('controlImg'),
onClick: function onClick() {
setCurrentIndex(currentIndex - 1);
},
}
}, {
children: (0, _jsxRuntime.jsx)(_icons.LeftArrowOutlined, {

@@ -103,3 +108,3 @@ style: {

}, void 0)
}, void 0)
}), void 0)
}, void 0), (0, _jsxRuntime.jsx)("img", {

@@ -110,7 +115,8 @@ className: bemHelperDetail('bgImg'),

}, void 0), (0, _jsxRuntime.jsx)("div", {
children: currentIndex != steps.length - 1 && steps.length > 0 && (0, _jsxRuntime.jsx)("div", {
children: currentIndex != steps.length - 1 && steps.length > 0 && (0, _jsxRuntime.jsx)("div", Object.assign({
className: bemHelperDetail('controlImg'),
onClick: function onClick() {
setCurrentIndex(currentIndex + 1);
},
}
}, {
children: (0, _jsxRuntime.jsx)(_icons.NextStepOutlined, {

@@ -122,6 +128,7 @@ style: {

}, void 0)
}, void 0)
}), void 0)
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)("div", {
className: bemHelperDetail('radius'),
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: bemHelperDetail('radius')
}, {
children: steps.map(function (item, index) {

@@ -135,12 +142,15 @@ return (0, _jsxRuntime.jsx)("div", {

})
}, void 0), (0, _jsxRuntime.jsxs)("div", {
className: bemHelperDetail('stepCount'),
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({
className: bemHelperDetail('stepCount')
}, {
children: ["\u7B2C", currentIndex + 1, "\u6B65"]
}, void 0), (0, _jsxRuntime.jsx)("div", {
className: bemHelperDetail('description'),
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: bemHelperDetail('description')
}, {
children: steps === null || steps === void 0 ? void 0 : (_steps$currentIndex = steps[currentIndex]) === null || _steps$currentIndex === void 0 ? void 0 : _steps$currentIndex.description
}, void 0)]
}, void 0), (0, _jsxRuntime.jsxs)("div", {
className: bemHelperDetail('btnWrap'),
children: [(0, _jsxRuntime.jsx)(_mobile.Button, {
}), void 0)]
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({
className: bemHelperDetail('btnWrap')
}, {
children: [(0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({
size: 'small',

@@ -156,5 +166,6 @@ icon: (0, _jsxRuntime.jsx)(_icons.VolumeOutlined, {}, void 0),

return play();
},
}
}, {
children: "\u8BB2\u89E3"
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Button, {
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({
color: currentIndex === steps.length - 1 ? 'success' : 'primary',

@@ -171,9 +182,10 @@ size: 'small',

}
},
}
}, {
children: currentIndex === steps.length - 1 ? '我学会了' : '下一步'
}, void 0)]
}, void 0)]
}, void 0);
}), void 0)]
}), void 0)]
}), void 0);
};
exports.HelperDetail = HelperDetail;

@@ -81,4 +81,5 @@ "use strict";

return (0, _jsxRuntime.jsxs)("div", {
className: bemHelper(),
return (0, _jsxRuntime.jsxs)("div", Object.assign({
className: bemHelper()
}, {
children: [(0, _jsxRuntime.jsx)("img", {

@@ -88,8 +89,10 @@ className: bemHelper('bgImg'),

alt: ""
}, void 0), (0, _jsxRuntime.jsxs)("div", {
}, void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({
style: {
zIndex: 1
},
children: [(0, _jsxRuntime.jsxs)("div", {
className: bemHelper('title'),
}
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: bemHelper('title')
}, {
children: [(0, _jsxRuntime.jsx)("div", {

@@ -100,23 +103,27 @@ children: "\u6307\u5F15\u5E38\u770B\u770B"

}, void 0)]
}, void 0), (0, _jsxRuntime.jsxs)(_mobile.Space, {
className: bemHelper('tagWrap'),
children: [(0, _jsxRuntime.jsx)("div", {
}), void 0), (0, _jsxRuntime.jsxs)(_mobile.Space, Object.assign({
className: bemHelper('tagWrap')
}, {
children: [(0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _classnames3.default)(bemHelper('tag'), _defineProperty({}, bemHelper('currentTagType'), currentTagType == '')),
onClick: function onClick() {
return setCurrentTag('');
},
}
}, {
children: "\u5168\u90E8"
}, void 0), (0, _map2.default)(data, function (value, key) {
return (0, _jsxRuntime.jsx)("div", {
}), void 0), (0, _map2.default)(data, function (value, key) {
return (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _classnames3.default)(bemHelper('tag'), _defineProperty({}, bemHelper('currentTagType'), currentTagType == key)),
onClick: function onClick() {
return setCurrentTag(key);
},
}
}, {
children: value.name
}, key);
}), key);
})]
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Space, {
}), void 0)]
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Space, Object.assign({
direction: 'vertical',
className: bemHelper('cardWrap'),
className: bemHelper('cardWrap')
}, {
children: pages === null || pages === void 0 ? void 0 : (_pages$filter = pages.filter(function (item) {

@@ -127,27 +134,31 @@ return currentTagType == '' || item.key == currentTagType;

style = _page.style;
return (0, _jsxRuntime.jsxs)(_mobile.Card, {
return (0, _jsxRuntime.jsxs)(_mobile.Card, Object.assign({
className: bemHelper('card'),
onClick: function onClick() {
_onClick === null || _onClick === void 0 ? void 0 : _onClick("".concat(_page.key, "__").concat(_page._key));
},
children: [(0, _jsxRuntime.jsxs)("div", {
className: bemHelper('cardContent'),
children: [(0, _jsxRuntime.jsx)("span", {
}
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: bemHelper('cardContent')
}, {
children: [(0, _jsxRuntime.jsx)("span", Object.assign({
className: bemHelper('cardTag'),
style: style,
style: style
}, {
children: name
}, void 0), (0, _jsxRuntime.jsx)("div", {
className: bemHelper('cardSubject'),
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({
className: bemHelper('cardSubject')
}, {
children: _page.title
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)("img", {
}), void 0)]
}), void 0), (0, _jsxRuntime.jsx)("img", {
alt: '',
src: "".concat(_global.default.assetsUrl, "/helper/").concat(platform, "/").concat(_page.key, "/").concat(_page._key, "/0.png")
}, void 0)]
}, _page.key + _page._key);
}), _page.key + _page._key);
})
}, void 0)]
}, void 0);
}), void 0)]
}), void 0);
};
exports.Helper = Helper;

@@ -51,13 +51,15 @@ "use strict";

if (!_global.default.loginAgreementOptions) return null;
return (0, _jsxRuntime.jsxs)("div", {
className: bem(),
return (0, _jsxRuntime.jsxs)("div", Object.assign({
className: bem()
}, {
children: [(0, _jsxRuntime.jsx)("span", {
children: "\u767B\u5F55\u89C6\u4E3A\u5DF2\u9605\u8BFB\u5E76\u540C\u610F"
}, void 0), (_global$loginAgreemen = _global.default.loginAgreementOptions) === null || _global$loginAgreemen === void 0 ? void 0 : _global$loginAgreemen.map(function (item) {
return (0, _jsxRuntime.jsxs)("span", {
className: bem('link'),
return (0, _jsxRuntime.jsxs)("span", Object.assign({
className: bem('link')
}, {
children: ["\u300A", item.title, "\u300B"]
}, item.key);
}), item.key);
})]
}, void 0);
}), void 0);
};

@@ -64,0 +66,0 @@

@@ -59,18 +59,23 @@ "use strict";

return (0, _utils.withNativeProps)(props, (0, _jsxRuntime.jsxs)(_mobile.Whiteboard, {
className: (0, _index.bemLogin)(),
children: [(0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemLogin)('container'),
children: [(0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemLogin)('tip'),
return (0, _utils.withNativeProps)(props, (0, _jsxRuntime.jsxs)(_mobile.Whiteboard, Object.assign({
className: (0, _index.bemLogin)()
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemLogin)('container')
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemLogin)('tip')
}, {
children: [(0, _jsxRuntime.jsx)("div", {
children: "\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"
}, void 0), (0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemLogin)('phoneNumber'),
}, void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemLogin)('phoneNumber')
}, {
children: ["\u9A8C\u8BC1\u7801\u5DF2\u53D1\u9001\u81F3\u624B\u673A\uFF1A", params === null || params === void 0 ? void 0 : params.phoneNumber]
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Form, {
}), void 0)]
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Form, Object.assign({
form: form,
onFinish: handleFinish,
children: (0, _jsxRuntime.jsx)(_mobile.Form.Item, {
onFinish: handleFinish
}, {
children: (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({
name: "code",

@@ -80,3 +85,4 @@ rules: [{

message: '请输入验证码'
}, _global.default.regular.phoneNumber.rule],
}, _global.default.regular.phoneNumber.rule]
}, {
children: (0, _jsxRuntime.jsx)(_mobile.Input //@ts-ignore

@@ -89,5 +95,5 @@ , {

}, void 0)
}, void 0)
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Button, {
}), void 0)
}), void 0)]
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({
block: true,

@@ -97,24 +103,29 @@ size: "large",

loading: loading,
onClick: form.submit,
onClick: form.submit
}, {
children: "\u767B\u5F55 / \u6CE8\u518C"
}, void 0), (0, _jsxRuntime.jsx)(_agreement.default, {}, void 0), (0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemLogin)('round-btn-wrapper'),
children: [(0, _jsxRuntime.jsxs)(_mobile.Space, {
}), void 0), (0, _jsxRuntime.jsx)(_agreement.default, {}, void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemLogin)('round-btn-wrapper')
}, {
children: [(0, _jsxRuntime.jsxs)(_mobile.Space, Object.assign({
style: {
'--gap': '40px',
display: 'inline-flex'
},
children: [(0, _jsxRuntime.jsxs)("div", {
}
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
onClick: onWeChatLogin,
className: (0, _index.bemLogin)('round-btn'),
children: [(0, _jsxRuntime.jsx)("button", {
className: (0, _index.bemLogin)('round-btn')
}, {
children: [(0, _jsxRuntime.jsx)("button", Object.assign({
className: (0, _index.bemLogin)('btn'),
style: {
backgroundColor: '#00b86b'
},
}
}, {
children: (0, _jsxRuntime.jsx)(_icons.WechatOutlined, {}, void 0)
}, void 0), (0, _jsxRuntime.jsx)("div", {
}), void 0), (0, _jsxRuntime.jsx)("div", {
children: "\u5FAE\u4FE1\u767B\u5F55"
}, void 0)]
}, void 0), (0, _jsxRuntime.jsxs)("div", {
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemLogin)('round-btn'),

@@ -125,20 +136,22 @@ onClick: function onClick() {

});
},
children: [(0, _jsxRuntime.jsx)("button", {
}
}, {
children: [(0, _jsxRuntime.jsx)("button", Object.assign({
className: (0, _index.bemLogin)('btn'),
style: {
backgroundColor: '#1552eb'
},
}
}, {
children: (0, _jsxRuntime.jsx)(_icons.PasswordOutlined, {}, void 0)
}, void 0), (0, _jsxRuntime.jsx)("div", {
}), void 0), (0, _jsxRuntime.jsx)("div", {
children: "\u5BC6\u7801\u767B\u5F55"
}, void 0)]
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)("div", {
}), void 0)]
}), void 0), (0, _jsxRuntime.jsx)("div", {
className: "pxx-safe-area-bottom"
}, void 0)]
}, void 0)]
}, void 0));
}), void 0)]
}), void 0));
};
exports.Code = Code;

@@ -31,8 +31,11 @@ "use strict";

return (0, _jsxRuntime.jsxs)(_mobile.Whiteboard, {
className: (0, _index.bemLogin)(),
children: [(0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemLogin)('container'),
children: (0, _jsxRuntime.jsx)("div", {
className: (0, _index.bemLogin)('logo-wrapper'),
return (0, _jsxRuntime.jsxs)(_mobile.Whiteboard, Object.assign({
className: (0, _index.bemLogin)()
}, {
children: [(0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemLogin)('container')
}, {
children: (0, _jsxRuntime.jsx)("div", Object.assign({
className: (0, _index.bemLogin)('logo-wrapper')
}, {
children: (0, _jsxRuntime.jsx)("img", {

@@ -43,6 +46,7 @@ alt: "",

}, void 0)
}, void 0)
}, void 0), (0, _jsxRuntime.jsxs)(_mobile.Space, {
direction: "vertical",
children: [props.onSwitchEnv && (0, _jsxRuntime.jsx)(_mobile.Button, {
}), void 0)
}), void 0), (0, _jsxRuntime.jsxs)(_mobile.Space, Object.assign({
direction: "vertical"
}, {
children: [props.onSwitchEnv && (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({
block: true,

@@ -52,5 +56,6 @@ size: "large",

onClick: props.onSwitchEnv,
className: (0, _index.bemLogin)('switch-btn'),
className: (0, _index.bemLogin)('switch-btn')
}, {
children: "\u73AF\u5883\u5207\u6362"
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Button, {
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({
block: true,

@@ -62,13 +67,16 @@ size: "large",

openType: "getPhoneNumber",
onGetPhoneNumber: onWeChatLogin,
onGetPhoneNumber: onWeChatLogin
}, {
children: "\u5FAE\u4FE1\u5E10\u53F7\u4E00\u952E\u767B\u5F55"
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)(_agreement.default, {}, void 0), (0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemLogin)('round-btn-wrapper'),
children: [(0, _jsxRuntime.jsxs)(_mobile.Space, {
}), void 0)]
}), void 0), (0, _jsxRuntime.jsx)(_agreement.default, {}, void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemLogin)('round-btn-wrapper')
}, {
children: [(0, _jsxRuntime.jsxs)(_mobile.Space, Object.assign({
style: {
'--gap': '40px',
display: 'inline-flex'
},
children: [(0, _jsxRuntime.jsxs)("div", {
}
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemLogin)('round-btn'),

@@ -79,13 +87,15 @@ onClick: function onClick() {

});
},
children: [(0, _jsxRuntime.jsx)("button", {
}
}, {
children: [(0, _jsxRuntime.jsx)("button", Object.assign({
className: (0, _index.bemLogin)('btn'),
style: {
backgroundColor: '#1552eb'
},
}
}, {
children: (0, _jsxRuntime.jsx)(_icons.PasswordOutlined, {}, void 0)
}, void 0), (0, _jsxRuntime.jsx)("div", {
}), void 0), (0, _jsxRuntime.jsx)("div", {
children: "\u5BC6\u7801\u767B\u5F55"
}, void 0)]
}, void 0), (0, _jsxRuntime.jsxs)("div", {
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemLogin)('round-btn'),

@@ -96,20 +106,22 @@ onClick: function onClick() {

});
},
children: [(0, _jsxRuntime.jsx)("button", {
}
}, {
children: [(0, _jsxRuntime.jsx)("button", Object.assign({
className: (0, _index.bemLogin)('btn'),
style: {
backgroundColor: '#18a6fd'
},
}
}, {
children: (0, _jsxRuntime.jsx)(_icons.PhoneOutlined, {}, void 0)
}, void 0), (0, _jsxRuntime.jsx)("div", {
}), void 0), (0, _jsxRuntime.jsx)("div", {
children: "\u9A8C\u8BC1\u7801\u767B\u5F55"
}, void 0)]
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)("div", {
}), void 0)]
}), void 0), (0, _jsxRuntime.jsx)("div", {
className: "pxx-safe-area-bottom"
}, void 0)]
}, void 0)]
}, void 0);
}), void 0)]
}), void 0);
};
exports.Login = Login;

@@ -49,8 +49,11 @@ "use strict";

return (0, _jsxRuntime.jsxs)(_mobile.Whiteboard, {
className: (0, _index.bemLogin)(),
children: [(0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemLogin)('container'),
children: [(0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemLogin)('tip'),
return (0, _jsxRuntime.jsxs)(_mobile.Whiteboard, Object.assign({
className: (0, _index.bemLogin)()
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemLogin)('container')
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemLogin)('tip')
}, {
children: [(0, _jsxRuntime.jsx)("div", {

@@ -61,3 +64,3 @@ children: "Hi~"

}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Form, {
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Form, Object.assign({
form: form,

@@ -69,4 +72,5 @@ onFinish: function onFinish(_ref) {

});
},
children: (0, _jsxRuntime.jsx)(_mobile.Form.Item, {
}
}, {
children: (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({
name: "phone",

@@ -76,3 +80,4 @@ rules: [{

message: '请输入手机号'
}, phoneNumber.rule],
}, phoneNumber.rule]
}, {
children: (0, _jsxRuntime.jsx)(_mobile.Input //@ts-ignore

@@ -85,30 +90,35 @@ , {

}, void 0)
}, void 0)
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Button, {
}), void 0)
}), void 0)]
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({
block: true,
size: "large",
color: "primary",
onClick: form.submit,
onClick: form.submit
}, {
children: "\u4E0B\u4E00\u6B65"
}, void 0), (0, _jsxRuntime.jsx)(_agreement.default, {}, void 0), (0, _jsxRuntime.jsxs)("div", {
className: (0, _index.bemLogin)('round-btn-wrapper'),
children: [(0, _jsxRuntime.jsxs)(_mobile.Space, {
}), void 0), (0, _jsxRuntime.jsx)(_agreement.default, {}, void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemLogin)('round-btn-wrapper')
}, {
children: [(0, _jsxRuntime.jsxs)(_mobile.Space, Object.assign({
style: {
'--gap': '40px',
display: 'inline-flex'
},
children: [(0, _jsxRuntime.jsxs)("div", {
}
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
onClick: onWeChatLogin,
className: (0, _index.bemLogin)('round-btn'),
children: [(0, _jsxRuntime.jsx)("button", {
className: (0, _index.bemLogin)('round-btn')
}, {
children: [(0, _jsxRuntime.jsx)("button", Object.assign({
className: (0, _index.bemLogin)('btn'),
style: {
backgroundColor: '#00b86b'
},
}
}, {
children: (0, _jsxRuntime.jsx)(_icons.WechatOutlined, {}, void 0)
}, void 0), (0, _jsxRuntime.jsx)("div", {
}), void 0), (0, _jsxRuntime.jsx)("div", {
children: "\u5FAE\u4FE1\u767B\u5F55"
}, void 0)]
}, void 0), (0, _jsxRuntime.jsxs)("div", {
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({
className: (0, _index.bemLogin)('round-btn'),

@@ -119,20 +129,22 @@ onClick: function onClick() {

});
},
children: [(0, _jsxRuntime.jsx)("button", {
}
}, {
children: [(0, _jsxRuntime.jsx)("button", Object.assign({
className: (0, _index.bemLogin)('btn'),
style: {
backgroundColor: '#1552eb'
},
}
}, {
children: (0, _jsxRuntime.jsx)(_icons.PasswordOutlined, {}, void 0)
}, void 0), (0, _jsxRuntime.jsx)("div", {
}), void 0), (0, _jsxRuntime.jsx)("div", {
children: "\u5BC6\u7801\u767B\u5F55"
}, void 0)]
}, void 0)]
}, void 0), (0, _jsxRuntime.jsx)("div", {
}), void 0)]
}), void 0), (0, _jsxRuntime.jsx)("div", {
className: "pxx-safe-area-bottom"
}, void 0)]
}, void 0)]
}, void 0);
}), void 0)]
}), void 0);
};
exports.Phone = Phone;

@@ -36,8 +36,10 @@ "use strict";

return (0, _jsxRuntime.jsxs)("div", {
className: b(),
children: [(0, _jsxRuntime.jsx)("span", {
className: b('title'),
return (0, _jsxRuntime.jsxs)("div", Object.assign({
className: b()
}, {
children: [(0, _jsxRuntime.jsx)("span", Object.assign({
className: b('title')
}, {
children: "\u8BF7\u9009\u62E9\u8BC1\u4EF6\u6709\u6548\u671F\u7C7B\u578B"
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Button, {
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({
className: b('button'),

@@ -47,5 +49,6 @@ color: "gray",

return selectDate();
},
}
}, {
children: "\u6709\u660E\u786E\u6709\u6548\u671F"
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Button, {
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({
className: b('button'),

@@ -55,6 +58,7 @@ color: "gray",

return selectDate(true);
},
}
}, {
children: "\u65E0\u660E\u786E\u6709\u6548\u65E5\u671F\uFF0C\u957F\u671F\u6709\u6548"
}, void 0)]
}, void 0);
}), void 0)]
}), void 0);
};

@@ -61,0 +65,0 @@

@@ -22,13 +22,8 @@ "use strict";

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
var b = (0, _utils.bem)("".concat(_constant.prefixCls, "-authcode"));
var Authcode = function Authcode(props) {
return (0, _jsxRuntime.jsxs)("div", {
className: b(),
return (0, _jsxRuntime.jsxs)("div", Object.assign({
className: b()
}, {
children: [(0, _jsxRuntime.jsx)(_mobile.Input, {

@@ -39,4 +34,4 @@ onChange: props === null || props === void 0 ? void 0 : props.onChange,

disabled: props === null || props === void 0 ? void 0 : props.disabled
}, void 0), (0, _jsxRuntime.jsx)(_queryCode.default, _objectSpread({}, props), void 0)]
}, void 0);
}, void 0), (0, _jsxRuntime.jsx)(_queryCode.default, Object.assign({}, props), void 0)]
}), void 0);
};

@@ -43,0 +38,0 @@

@@ -100,4 +100,5 @@ "use strict";

var Check = function Check(childProps) {
return (0, _jsxRuntime.jsxs)("div", {
className: b('binding-bank'),
return (0, _jsxRuntime.jsxs)("div", Object.assign({
className: b('binding-bank')
}, {
children: [(0, _jsxRuntime.jsx)(_mobile.Checkbox, {

@@ -117,3 +118,3 @@ disabled: disabled,

}, void 0)]
}, void 0);
}), void 0);
};

@@ -149,5 +150,6 @@

return (0, _jsxRuntime.jsx)("div", {
className: b(),
children: (0, _jsxRuntime.jsxs)(_mobile.Form, {
return (0, _jsxRuntime.jsx)("div", Object.assign({
className: b()
}, {
children: (0, _jsxRuntime.jsxs)(_mobile.Form, Object.assign({
form: form,

@@ -159,8 +161,11 @@ onFinish: onFinish,

bindingBank: 1
},
children: [(0, _jsxRuntime.jsxs)("div", {
className: b('form__content'),
children: [(0, _jsxRuntime.jsx)(_mobile.Form.Item, {
}
}, {
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({
className: b('form__content')
}, {
children: [(0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({
label: '认证方式',
name: 'verifyType',
name: 'verifyType'
}, {
children: (0, _jsxRuntime.jsx)(_mobile.Select, {

@@ -170,16 +175,18 @@ label: '银行卡',

}, void 0)
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, {
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({
label: '姓名',
name: 'userName',
required: true,
required: true
}, {
children: (0, _jsxRuntime.jsx)(_mobile.Input, {
disabled: true
}, void 0)
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, {
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({
label: '身份证号',
name: 'idCardNo',
name: 'idCardNo'
}, {
children: (0, _jsxRuntime.jsx)(_mobile.Input, {
disabled: true
}, void 0)
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, {
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({
label: '银行卡号',

@@ -193,5 +200,6 @@ name: 'bankCardNo',

message: '银行卡号格式不正确'
}],
}]
}, {
children: (0, _jsxRuntime.jsx)(_mobile.Input, {}, void 0)
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, {
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({
label: '银行卡预留手机号码',

@@ -202,3 +210,4 @@ name: 'phone',

message: '请输入预留手机号码'
}, _utils.verification.phoneNumber.rule],
}, _utils.verification.phoneNumber.rule]
}, {
children: (0, _jsxRuntime.jsx)(_mobile.Input, {

@@ -208,9 +217,10 @@ disabled: disabled,

}, void 0)
}, void 0), !disabled ? (0, _jsxRuntime.jsx)(_mobile.Form.Item, {
}), void 0), !disabled ? (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({
noStyle: true,
shouldUpdate: true,
shouldUpdate: true
}, {
children: function children(_ref) {
var getFieldsValue = _ref.getFieldsValue;
var params = getFieldsValue();
return (0, _jsxRuntime.jsx)(_mobile.Form.Item, {
return (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({
label: '验证码',

@@ -232,24 +242,28 @@ name: 'authcode',

}
}],
children: (0, _jsxRuntime.jsx)(_authcode.default, _objectSpread(_objectSpread({}, params), {}, {
}]
}, {
children: (0, _jsxRuntime.jsx)(_authcode.default, Object.assign({}, params, {
disabled: disabled,
queryDisabled: disabled || !(params === null || params === void 0 ? void 0 : params.bankCardNo) || !(params === null || params === void 0 ? void 0 : params.phone)
}), void 0)
}, void 0);
}), void 0);
}
}, void 0) : null, (0, _jsxRuntime.jsx)(_mobile.Form.Item, {
name: 'bindingBank',
}), void 0) : null, (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({
name: 'bindingBank'
}, {
children: (0, _jsxRuntime.jsx)(Check, {}, void 0)
}, void 0)]
}, void 0), !disabled ? (0, _jsxRuntime.jsx)(_mobile.Form.Item, {
className: b('footer'),
children: (0, _jsxRuntime.jsx)(_mobile.Button, {
}), void 0)]
}), void 0), !disabled ? (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({
className: b('footer')
}, {
children: (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({
type: "submit",
color: "primary",
loading: actionSubmit.loading,
loading: actionSubmit.loading
}, {
children: "\u63D0\u4EA4"
}, void 0)
}, void 0) : null]
}, void 0)
}, void 0);
}), void 0)
}), void 0) : null]
}), void 0)
}), void 0);
};

@@ -256,0 +270,0 @@

@@ -46,3 +46,3 @@ "use strict";

});
return (0, _jsxRuntime.jsx)("span", {
return (0, _jsxRuntime.jsx)("span", Object.assign({
onClick: function onClick() {

@@ -61,5 +61,6 @@ if (countdown !== 0 || (props === null || props === void 0 ? void 0 : props.queryDisabled)) {

});
},
}
}, {
children: countdown === 0 ? '获取验证码' : "\u7B49\u5F85".concat(Math.round(countdown / 1000), "s")
}, void 0);
}), void 0);
};

@@ -66,0 +67,0 @@

@@ -88,6 +88,7 @@ "use strict";

content: function content(disabled, validDisabled) {
return (0, _jsxRuntime.jsxs)(_components.OCRForm.Group, {
return (0, _jsxRuntime.jsxs)(_components.OCRForm.Group, Object.assign({
title: "\u9A7E\u9A76\u8BC1\u4FE1\u606F",
fileType: "1011",
children: [(0, _jsxRuntime.jsx)(_components.OCRForm.Item, {
fileType: "1011"
}, {
children: [(0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({
label: "\u9A7E\u9A76\u8BC1\u53F7",

@@ -101,7 +102,8 @@ name: "licenseNumber",

onClick: (0, _components.tooltipClick)(_licenseNumber.default)
},
}
}, {
children: (0, _jsxRuntime.jsx)(_mobile.Input, {
disabled: disabled
}, void 0)
}, void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, {
}), void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({
label: "\u9A7E\u9A76\u8BC1\u521D\u6B21\u9886\u8BC1\u65E5\u671F",

@@ -123,6 +125,8 @@ name: "licenseFirstDate",

onClick: (0, _components.tooltipClick)(_licenseFirstDate.default)
},
children: (0, _jsxRuntime.jsx)(_mobile.DatePicker, {
}
}, {
children: (0, _jsxRuntime.jsx)(_mobile.DatePicker, Object.assign({
title: '驾驶证初次领证日期',
disabled: disabled,
disabled: disabled
}, {
children: function children(val) {

@@ -133,4 +137,4 @@ return (0, _jsxRuntime.jsx)(_mobile.Select, {

}
}, void 0)
}, void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, {
}), void 0)
}), void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({
label: "\u9A7E\u9A76\u8BC1\u6709\u6548\u671F",

@@ -147,3 +151,4 @@ name: "validPeriodTo",

onClick: (0, _components.tooltipClick)(_validPeriodTo.default)
},
}
}, {
children: (0, _jsxRuntime.jsx)(_components2.DateTypeSelect, {

@@ -153,3 +158,3 @@ title: '驾驶证有效期',

}, void 0)
}, void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, {
}), void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({
label: "\u51C6\u9A7E\u8F66\u578B",

@@ -163,7 +168,9 @@ name: "vehicleClass",

onClick: (0, _components.tooltipClick)(_vehicleClass.default)
},
children: (0, _jsxRuntime.jsx)(_mobile.Picker, {
}
}, {
children: (0, _jsxRuntime.jsx)(_mobile.Picker, Object.assign({
columns: [['A1', 'A2', 'A3', 'B1', 'B2']],
title: "\u51C6\u63A5\u8F66\u578B",
disabled: disabled,
disabled: disabled
}, {
children: function children(val) {

@@ -174,4 +181,4 @@ return (0, _jsxRuntime.jsx)(_mobile.Select, {

}
}, void 0)
}, void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, {
}), void 0)
}), void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({
label: "\u9A7E\u9A76\u8BC1\u53D1\u5E03\u673A\u5173\u7701\u5E02",

@@ -185,5 +192,7 @@ name: "issuingOrganizations",

onClick: (0, _components.tooltipClick)(_issuingOrganizations.default)
},
children: (0, _jsxRuntime.jsx)(_mobile.DistrictPicker, {
disabled: disabled,
}
}, {
children: (0, _jsxRuntime.jsx)(_mobile.DistrictPicker, Object.assign({
disabled: disabled
}, {
children: function children(val) {

@@ -194,5 +203,5 @@ return (0, _jsxRuntime.jsx)(_mobile.Select, {

}
}, void 0)
}, void 0)]
}, void 0);
}), void 0)
}), void 0)]
}), void 0);
}

@@ -217,6 +226,7 @@ };

content: function content(disabled, validDisabled) {
return (0, _jsxRuntime.jsx)(_components.OCRForm.Group, {
return (0, _jsxRuntime.jsx)(_components.OCRForm.Group, Object.assign({
title: "\u4ECE\u4E1A\u8D44\u683C\u8BC1\u4FE1\u606F",
fileType: "1010",
children: (0, _jsxRuntime.jsx)(_components.OCRForm.Item, {
fileType: "1010"
}, {
children: (0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({
label: "\u6709\u6548\u671F",

@@ -233,6 +243,8 @@ name: "validPeriodTo",

onClick: (0, _components.tooltipClick)(_businessPeriodTo.default)
},
children: (0, _jsxRuntime.jsx)(_mobile.DatePicker, {
}
}, {
children: (0, _jsxRuntime.jsx)(_mobile.DatePicker, Object.assign({
title: '从业资格证有效期',
disabled: validDisabled,
disabled: validDisabled
}, {
children: function children(val) {

@@ -243,5 +255,5 @@ return (0, _jsxRuntime.jsx)(_mobile.Select, {

}
}, void 0)
}, void 0)
}, void 0);
}), void 0)
}), void 0)
}), void 0);
}

@@ -284,6 +296,7 @@ };

content: function content(disabled) {
return (0, _jsxRuntime.jsxs)(_components.OCRForm.Group, {
return (0, _jsxRuntime.jsxs)(_components.OCRForm.Group, Object.assign({
title: "\u8EAB\u4EFD\u8BC1\u4FE1\u606F",
fileType: "1001",
children: [(0, _jsxRuntime.jsx)(_components.OCRForm.Item, {
fileType: "1001"
}, {
children: [(0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({
label: "\u59D3\u540D",

@@ -294,7 +307,8 @@ name: "name",

message: '请输入姓名'
}],
}]
}, {
children: (0, _jsxRuntime.jsx)(_mobile.Input, {
disabled: disabled
}, void 0)
}, void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, {
}), void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({
label: "\u8EAB\u4EFD\u8BC1\u53F7",

@@ -305,8 +319,9 @@ name: "idNum",

message: '请输入身份证号'
}, _utils.verification.userName.rule],
}, _utils.verification.userName.rule]
}, {
children: (0, _jsxRuntime.jsx)(_mobile.Input, {
disabled: disabled
}, void 0)
}, void 0)]
}, void 0);
}), void 0)]
}), void 0);
}

@@ -313,0 +328,0 @@ };

@@ -34,8 +34,2 @@ "use strict";

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }

@@ -389,11 +383,13 @@

return (0, _jsxRuntime.jsxs)("div", {
className: b(),
children: [isWorker && (resData === null || resData === void 0 ? void 0 : (_resData$data6 = resData.data) === null || _resData$data6 === void 0 ? void 0 : _resData$data6.verifiedStatus) !== 10 ? (0, _jsxRuntime.jsx)(_components2.Steps, _objectSpread(_objectSpread({}, idInfos), {}, {
return (0, _jsxRuntime.jsxs)("div", Object.assign({
className: b()
}, {
children: [isWorker && (resData === null || resData === void 0 ? void 0 : (_resData$data6 = resData.data) === null || _resData$data6 === void 0 ? void 0 : _resData$data6.verifiedStatus) !== 10 ? (0, _jsxRuntime.jsx)(_components2.Steps, Object.assign({}, idInfos, {
verifiedStatus: resData === null || resData === void 0 ? void 0 : (_resData$data7 = resData.data) === null || _resData$data7 === void 0 ? void 0 : _resData$data7.verifiedStatus
}), void 0) : null, isWorker && (idInfos === null || idInfos === void 0 ? void 0 : idInfos.auditStatus) === 1 && (resData === null || resData === void 0 ? void 0 : (_resData$data8 = resData.data) === null || _resData$data8 === void 0 ? void 0 : _resData$data8.verifiedStatus) !== 10 ? (0, _jsxRuntime.jsx)(_components2.RealNameForm, _objectSpread(_objectSpread({}, idInfos), {}, {
}), void 0) : null, isWorker && (idInfos === null || idInfos === void 0 ? void 0 : idInfos.auditStatus) === 1 && (resData === null || resData === void 0 ? void 0 : (_resData$data8 = resData.data) === null || _resData$data8 === void 0 ? void 0 : _resData$data8.verifiedStatus) !== 10 ? (0, _jsxRuntime.jsx)(_components2.RealNameForm, Object.assign({}, idInfos, {
verifiedStatus: resData === null || resData === void 0 ? void 0 : (_resData$data9 = resData.data) === null || _resData$data9 === void 0 ? void 0 : _resData$data9.verifiedStatus
}), void 0) : (0, _jsxRuntime.jsx)("div", {
className: b('form'),
children: (0, _jsxRuntime.jsxs)(_components.OCRForm, {
}), void 0) : (0, _jsxRuntime.jsx)("div", Object.assign({
className: b('form')
}, {
children: (0, _jsxRuntime.jsxs)(_components.OCRForm, Object.assign({
hideTips: isWorker && (idInfos === null || idInfos === void 0 ? void 0 : idInfos.auditStatus) === 1,

@@ -408,3 +404,4 @@ loading: loading,

onFinish: onFinish,
onUploadSuccess: onUploadSuccess,
onUploadSuccess: onUploadSuccess
}, {
children: [!!(errorTips === null || errorTips === void 0 ? void 0 : errorTips.length) && (0, _jsxRuntime.jsx)(_components.OCRForm.ErrorTips, {

@@ -417,7 +414,7 @@ children: errorTips.map(function (tip, inx) {

}, void 0), (_queryConfig2 = (0, _photos.default)(type)) === null || _queryConfig2 === void 0 ? void 0 : (_queryConfig2$content = _queryConfig2.content) === null || _queryConfig2$content === void 0 ? void 0 : _queryConfig2$content.call(_queryConfig2, infosDisabled, formDisabled)]
}, void 0)
}, void 0)]
}, void 0);
}), void 0)
}), void 0)]
}), void 0);
};
exports.Photos = Photos;

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "2.1.0-beta.18",
"version": "2.1.0-beta.19",
"scripts": {

@@ -14,2 +14,7 @@ "build": "father-build"

},
"files": [
"es",
"lib",
"package.json"
],
"main": "lib/index.js",

@@ -25,3 +30,3 @@ "module": "es/index.js",

],
"gitHead": "65cf4b6471050ef8f0655429548ce023ee1fbe6d"
"gitHead": "f1121a073a7332c9a6348ac858a61f990fbac073"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc