PageSourceSearch

https://cdn.okj.com/cdn/assets/okfe/account-jp/5.6.26/common/3391.34659bfb.js

js okj.com collected 2026-10-04 12:01:06 UTC 21,290 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkaccount=self.webpackChunkaccount||[]).push([[3391],{61230:(e,t,r)=>{r.d(t,{A:()=>l});r(41594);var a=r(3316),n=r(22205),o=r(65983);const l=function(e){var t=e.title,r=e.children,l=e.useNewStyle,s=void 0!==l&&l,i=e.noBottomLine,u=void 0!==i&&i,c=e.className,d=a({"title-container-new":Boolean(s)},{"title-container":Boolean(!s)},{"title-container-no-bottom-line":Boolean(!u)},c);return(0,o.jsx)("div",{className:d,children:(0,o.jsxs)("div",{className:"title",children:[(0,o.jsx)("span",{className:"title-text",children:t}),(0,o.jsx)(n.X5,{when:s,children:(0,o.jsx)("div",{className:a("title-info",{"title-info-padding":Boolean(r)}),children:r})}),(0,o.jsx)(n.X5,{when:!s,children:r})]})})}},48498:(e,t,r)=>{r.d(t,{lt:()=>h,bT:()=>P,jo:()=>p});r(69694);var a=r(23029),n=r(92901),o=r(50388),l=r(52176),s=r(53954),i=r(85501),u=r(41594),c=r.n(u),d=r(26200),h={NULL:"1",EQUAL:"2",NOT_EQUAL:"3",OVER_LENGTH:"4",TYPE_ERROR:"5",OTHER:"6"},p={SAVE_DATA:"0",TEXT:"1",PASSWORD:"2",MONEY:"3",TEXT_AREA:"4",SELECT:"5",RADIO:"6",CHECK:"7",DATE:"8",MULTI_INPUT:"9",UPLOAD:"10"},f=r(89379),m=(r(17027),r(49106),r(5229),r(90638),r(59612),r(20923),r(30377),r(12892)),v=r.n(m),g=r(79193);var A=function(e){function t(e,r){var n,i,u,c;return(0,a.A)(this,t),i=this,u=t,c=[e,r],u=(0,s.A)(u),(n=(0,o.A)(i,(0,l.A)()?Reflect.construct(u,c||[],(0,s.A)(i).constructor):u.apply(i,c))).onFocus=function(){n.setState({dataError:!1,focus:!0})},n.onBlur=function(e,t){var r=n.state.errorMsg,a=n.props.dataSource,o=a.key,l=a.formType,s=a.onBlur,i=a.extend;t&&t>0?setTimeout(function(){n.setState({dataError:0!==r.length,focus:!1})},t):n.setState({dataError:0!==r.length,focus:!1});var u=e.target.value;s&&s(o,l,u,i)},n.setValue=function(e){var t=e.key,r=e.formType,a=e.extend,o=e.value,l=e.errorData,s=e.onValSetFinished,i=e.onErrorCleaned,u=e.onErrorSetFinished;if(n.state.value!==o&&(0===o&&n.setState({value:o}),""!=o&&null!==o&&void 0!==o)){var c=n.getErrorMsg(o,l);n.setState({value:o,errorMsg:c}),s&&s(t,r,a),0===c.length?i&&i(t,r,a):u&&u(t,r,a)}},n.setError=function(e){var t=e.key,r=e.formType,a=e.onChange,o=e.extend,l=e.error,s=e.onErrorSetFinished;l&&(n.setState({errorMsg:l.msg,dataError:!0}),s&&s(t,r,o),a&&a(t,r,n.state.value,!1,o))},n.getErrorMsg=function(e,t){if(!t)return"";for(var r=n.props.dataSource,a=r.key,o=r.title,l="",s=0;s<t.length&&0===l.length;s++){var i=t[s];switch(i.type){case h.NULL:e&&0!==e.length||(l="ja_JP"===v().get("locale")?"".concat(o).concat((0,g.T)("check.input")):"".concat((0,g.T)("tip.enter")," ").concat(o));break;case h.OVER_LENGTH:e&&i.maxLength&&e.length>Number(i.maxLength)&&(l=(0,g.T)("tips.overMaxLength.cardName"));break;case h.OVER_LENGTH:e&&i.maxLength&&e.length>Number(i.maxLength)&&(l=(0,g.T)("tips.overMaxLength"));break;case h.OTHER:if(i.checkError)i.checkError(e,a)&&(l=i.msg);else if(i.checkErrors){var u=i.checkErrors(e,a);u.result&&(l=u.msg)}}}return l},n.cleanError=function(e){var t=e.key,r=e.formType,a=e.onChange,o=e.extend,l=e.errorData,s=e.cleanError,i=e.onErrorCleaned;if((!n.state.errorMsg||0!==n.state.errorMsg.length)&&s){n.setState({errorMsg:"",dataError:!1}),i&&i(t,r,o);var u=0===n.getErrorMsg(n.state.value,l).length;a&&a(t,r,n.state.value,u,o)}},n.state={},n}return(0,i.A)(t,e),(0,n.A)(t)}(c().Component),x=r(87323),S=r(65983);const E=function(e){var t=e.dataSource,r=void 0===t?{title:"",subtitle:null,pop:{title:null,className:"",tips:[]}}:t,a=r.title,n=r.subtitle,o=r.pop,l=o&&o.title&&o.title.length>0;return(0,S.jsxs)("div",{className:"input-title ".concat(l?"input-tip-title":""),children:[!l&&a,l&&(0,S.jsxs)(c().Fragment,{children:[(0,S.jsx)("span",{className:"pop-title",children:a}),(0,S.jsx)(x.A,(0,f.A)({},o))]}),n&&(0,S.jsx)("span",{className:"sub-title",children:n})]})};var k=function(e){function t(e){var r,n,i,u;return(0,a.A)(this,t),n=this,i=t,u=[e],i=(0,s.A)(i),(r=(0,o.A)(n,(0,l.A)()?Reflect.construct(i,u||[],(0,s.A)(n).constructor):i.apply(n,u))).onCheckChange=function(e,t){var a=r.state.checkValue,n=r.props.dataSource,o=n.key,l=n.onChange,s=n.errorData,i=n.formType,u=n.list,c=n.extend;a[t]=e.target.checked;var d=[];u.forEach(function(e,t){d.push({value:a[t],label:e.label})});for(var p=!0,f=0;f<s.length;f++){if(s[f].type===h.NULL){p=a.includes(!0);break}}r.setState({checkValue:a}),l&&l(o,i,d,p,c)},r.state={errorMsg:"",dataError:!1,checkValue:[],value:""},r}return(0,i.A)(t,e),(0,n.A)(t,[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props.dataSource.list,t=[];e.forEach(function(e){t.push(e.value)}),this.setState({checkValue:t})}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props.dataSource,r=t.key,a=t.formType,n=t.extend,o=t.onValSetFinished,l=e.dataSource.list,s=[];l&&0!==l.length&&(l.forEach(function(e){s.push(e.value)}),s.includes(!0)&&(this.setState({checkValue:s}),o&&o(r,a,n))),this.setError(e.dataSource),this.cleanError(e.dataSource)}},{key:"renderFormLineCheck",value:function(){var e=this,t=this.state,r=t.errorMsg,a=t.checkValue,n=this.props.dataSource,o=n.key,l=n.list,s=n.inputAttr,i=n.newLine;return(0,S.jsxs)("div",{className:"form-input-box",children:[(0,S.jsx)("div",{className:"form-radio",children:l.map(function(t,r){return(0,S.jsxs)("label",{htmlFor:"".concat(o,"formRadio").concat(r),className:"form-label-radio".concat(i?" block":""),children:[(0,S.jsx)("input",(0,f.A)((0,f.A)({type:"checkbox",className:"check"},s),{},{id:"".concat(o,"formRadio").concat(r),checked:a[r],onChange:function(t){e.onCheckCh
1ange(t,r)}})),(0,S.jsx)("span",{children:t.label})]},"".concat(o,"formRadio").concat(r))})}),(0,S.jsx)("br",{}),(0,S.jsx)("span",{className:"form-error-tips",children:r})]})}},{key:"render",value:function(){var e=this.state,t=e.dataError,r=e.errorMsg;return(0,S.jsxs)("div",{className:"form-item","data-error":t&&r&&0!==r.length,children:[(0,S.jsx)(E,{dataSource:this.props.dataSource}),this.renderFormLineCheck()]})}}])}(A);k.defaultProps={dataSource:{key:"",extend:null,placeholderRight:null,formType:p.CHECK,inputAttr:{},defaultValue:"",list:[],errorData:[],callback:null,onChange:null,onBlur:null,filter:function(e){return e}}};var y=r(56380),N=r.n(y),j=r(23246),M=r.n(j);var T=function(e){function t(e){var r,n,i,u;return(0,a.A)(this,t),n=this,i=t,u=[e],i=(0,s.A)(i),(r=(0,o.A)(n,(0,l.A)()?Reflect.construct(i,u||[],(0,s.A)(n).constructor):i.apply(n,u))).onDateChange=function(e){var t=r.props.dataSource,a=t.key,n=t.onChange,o=t.errorData,l=t.formType,s=t.extend,i=new Date(e).getTime(),u=r.getErrorMsg(e,o),c=0===u.length;r.setState({value:e,errorMsg:u,dataError:u&&0!==u.length}),n&&n(a,l,i,c,s)},r.state={errorMsg:"",dataError:!1,value:new(M())((new Date).getTime())},r}return(0,i.A)(t,e),(0,n.A)(t,[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props.dataSource.defaultValue;e&&this.setState({value:new(M())(e)})}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props.dataSource,r=t.key,a=t.formType,n=t.extend,o=t.onValSetFinished,l=e.dataSource.value;this.state.value!==new(M())(l)&&(null!==l&&void 0!==l&&(this.setState({value:new(M())(l)}),o&&o(r,a,n)),this.setError(e.dataSource),this.cleanError(e.dataSource))}},{key:"renderFormLineDataPicker",value:function(){var e=v().get("locale")||"en_US",t=this.state,r=t.errorMsg,a=t.value,n=this.props.dataSource.inputAttr;return(0,S.jsxs)("div",{className:"form-input-box",children:[(0,S.jsx)("div",{className:"form-date",children:(0,S.jsx)(N(),(0,f.A)((0,f.A)({fixedHeight:!0,dateFormat:"YYYY/MM/DD",dateFormatCalendar:"YYYY MMMM",className:"datapicker-container input",autocomplete:"off",readOnly:!0,placeholderText:"",peekNextMonth:!0,showMonthDropdown:!0,showYearDropdown:!0,dropdownMode:"select"},n),{},{selected:a,onChange:this.onDateChange,locale:e}))}),(0,S.jsx)("span",{className:"form-error-tips",children:r})]})}},{key:"render",value:function(){var e=this.state,t=e.dataError,r=e.errorMsg;return(0,S.jsxs)("div",{className:"form-item","data-error":t&&r&&0!==r.length,children:[(0,S.jsx)(E,{dataSource:this.props.dataSource}),this.renderFormLineDataPicker()]})}}])}(A);T.defaultProps={dataSource:{key:"",extend:null,placeholderRight:null,formType:p.DATE,inputAttr:{},defaultValue:"",list:[],errorData:[],callback:null,onChange:null,onBlur:null,filter:function(e){return e}}};r(57313);var b=r(28438),C=r(84693),F=r(58816);var R=function(e){function t(e){var r,n,i,u;return(0,a.A)(this,t),n=this,i=t,u=[e],i=(0,s.A)(i),(r=(0,o.A)(n,(0,l.A)()?Reflect.construct(i,u||[],(0,s.A)(n).constructor):i.apply(n,u))).onMultiValChange=function(e,t){var a=r.state.multiValue,n=r.props.dataSource,o=n.key,l=n.errorData,s=n.onChange,i=n.inputList,u=n.formType,c=n.extend,d=n.filter,h="";h=i[t].formType===p.SELECT?e?e.value:"":d?d(e.target.value):e.target.value;for(var f="",m="",v=0;v<i.length;v++){var g=t===v?h:a[v];if(0===(m=r.getErrorMsg(g,l)).length){var A=i[v].errorData?i[v].errorData:null;A&&(m=r.getErrorMsg(g,A))}if(0!==m.length){f=v;break}}var x=0!==m.length?f:"";a[t]=h,r.setState({multiChanged:!0,multiValue:a,multiErrorIndex:x,errorMsg:m});var S=0===m.length,E={};i.forEach(function(e,t){E[e.key]=a[t]}),s&&s(o,u,a,S,c,E)},r.onMultiFocus=function(e){var t=r.state.multiFocus;t[e.target.getAttribute("data-index")]=!0,r.setState({multiFocus:t}),r.onFocus(e)},r.onMultiBlur=function(e){r.onBlur(e);var t=r.state.multiFocus;t[e.target.getAttribute("data-index")]=!1,r.setState({multiFocus:t})},r.state={errorMsg:"",dataError:!1,value:"",multiValue:[],multiFocus:[],multiChanged:!1,multiErrorIndex:""},r}return(0,i.A)(t,e),(0,n.A)(t,[{key:"UNSAFE_componentWillMount",value:function(){var e=[];this.props.dataSource.inputList.forEach(function(t){e.push(void 0===t.defaultValue?"":t.defaultValue)}),this.setState({multiValue:e})}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props.dataSource,r=t.key,a=t.formType,n=t.extend,o=e.dataSource,l=o.value,s=o.onValSetFinished;if(l&&l.length){var i=[];l.forEach(function(e){i.push(void 0===e?"":e)}),this.setState({multiValue:i}),s&&s(r,a,n)}this.setError(e.dataSource),this.cleanError(e.dataSource)}},{key:"renderFormLineMultiText",value:function(){var e=this,t=this.state,r=t.errorMsg,a=t.multiValue,n=t.multiFocus,o=this.props.dataSource,l=o.key,s=o.inputList,i=o.list,u=o.displayBlock;return(0,S.jsxs)("div",{className:"form-multi-box".concat(u?" form-item-display-block":""),children:[(0,S.jsx)("div",{className:"form-multi-input-box",children:s.map(function(t,r){var o=t.formType,s=t.inputAttr,u=t.placeholderRight,c=o===p.MONEY,d=o===p.PASSWORD||s&&"password"===s.type,h=u?"form-transparent-input"
1:"input multi-input",m=null,v={key:l+r,value:a[r],className:h,onChange:function(t){e.onMultiValChange(t,r)},onFocus:e.onMultiFocus,onBlur:e.onMultiBlur},g=m=o===p.SELECT?(0,S.jsx)(b.Ay,(0,f.A)((0,f.A)({},s),{},{options:i||t.list,"data-index":r,name:"form-field-name",className:"select-type multi-input",value:a[r],clearable:!1,onChange:function(t){e.onMultiValChange(t,r)}})):c?(0,S.jsx)(C.A,(0,f.A)((0,f.A)((0,f.A)({},s),v),{},{"data-index":r})):d?(0,S.jsx)(F.A,(0,f.A)((0,f.A)((0,f.A)({},s),v),{},{"data-index":r})):(0,S.jsx)("input",(0,f.A)((0,f.A)((0,f.A)({type:"text"},s),v),{},{"data-index":r}));return u&&0!==u.length&&(g=(0,S.jsxs)("div",{className:"mock-multi-input-box","data-focus":n[r],children:[(0,S.jsx)("div",{className:"mock-input","data-index":r}),m,(0,S.jsx)("span",{className:"placeholder-right",children:u})]},l+r)),g})}),(0,S.jsx)("br",{}),(0,S.jsx)("span",{className:"form-error-tips",children:r})]})}},{key:"render",value:function(){var e=this.state,t=e.dataError,r=e.errorMsg,a=e.multiErrorIndex;return(0,S.jsxs)("div",{className:"form-item","data-error":t&&r&&0!==r.length,"data-error-index":a,children:[(0,S.jsx)(E,{dataSource:this.props.dataSource}),this.renderFormLineMultiText()]})}}])}(A);R.defaultProps={dataSource:{key:"",extend:null,placeholderRight:null,formType:p.MULTI_INPUT,inputAttr:{},defaultValue:"",list:[],errorData:[],callback:null,onChange:null,onBlur:null,filter:function(e){return e}}};var L=function(e){function t(e){var r,n,i,u;return(0,a.A)(this,t),n=this,i=t,u=[e],i=(0,s.A)(i),(r=(0,o.A)(n,(0,l.A)()?Reflect.construct(i,u||[],(0,s.A)(n).constructor):i.apply(n,u))).onSelectChange=function(e){var t=r.props.dataSource,a=t.key,n=t.onChange,o=t.errorData,l=t.formType,s=t.extend,i=e?e.value:"",u=r.getErrorMsg(i,o),c=0===u.length;r.setState({value:i,errorMsg:u,dataError:u&&0!==u.length}),n&&n(a,l,e,c,s)},r.state={errorMsg:"",dataError:!1,value:""},r}return(0,i.A)(t,e),(0,n.A)(t,[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props.dataSource.defaultValue;this.setState({value:void 0===e?"":e})}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setValue(e.dataSource),this.setError(e.dataSource),this.cleanError(e.dataSource)}},{key:"renderFormLineRadio",value:function(){var e=this,t=this.state,r=t.errorMsg,a=t.value,n=this.props.dataSource,o=n.key,l=n.list,s=n.inputAttr,i=n.newLine;return(0,S.jsxs)("div",{className:"form-input-box",children:[(0,S.jsx)("div",{className:"form-radio",children:l.map(function(t,r){return(0,S.jsxs)("label",{htmlFor:"".concat(o,"formRadio").concat(r),className:"form-label-radio".concat(i?" block":""),children:[(0,S.jsx)("input",(0,f.A)((0,f.A)({type:"radio",className:"check"},s),{},{id:"".concat(o,"formRadio").concat(r),checked:t.value===a,onChange:function(){e.onSelectChange(t)}})),(0,S.jsx)("label",{className:"label",htmlFor:"".concat(o,"formRadio").concat(r)}),t.label]},"".concat(o,"formRadio").concat(r))})}),(0,S.jsx)("br",{}),(0,S.jsx)("span",{className:"form-error-tips",children:r})]})}},{key:"render",value:function(){var e=this.state,t=e.dataError,r=e.errorMsg;return(0,S.jsxs)("div",{className:"form-item","data-error":t&&r&&0!==r.length,children:[(0,S.jsx)(E,{dataSource:this.props.dataSource}),this.renderFormLineRadio()]})}}])}(A);L.defaultProps={dataSource:{key:"",extend:null,placeholderRight:null,formType:p.RADIO,inputAttr:{},defaultValue:"",list:[],errorData:[],callback:null,onChange:null,onBlur:null,filter:function(e){return e}}};r(59818);var V=function(e){function t(e){var r,n,i,u;return(0,a.A)(this,t),n=this,i=t,u=[e],i=(0,s.A)(i),(r=(0,o.A)(n,(0,l.A)()?Reflect.construct(i,u||[],(0,s.A)(n).constructor):i.apply(n,u))).onSelectChange=function(e){var t=r.props.dataSource,a=t.key,n=t.onChange,o=t.errorData,l=t.formType,s=t.extend,i=e?e.value:"",u=r.getErrorMsg(i,o),c=0===u.length;r.setState({value:i,errorMsg:u,dataError:u&&0!==u.length}),n&&n(a,l,e,c,s)},r.state={errorMsg:"",dataError:!1,value:""},r}return(0,i.A)(t,e),(0,n.A)(t,[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props.dataSource.defaultValue;this.setState({value:void 0===e?"":e})}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setValue(e.dataSource),this.setError(e.dataSource),this.cleanError(e.dataSource)}},{key:"renderFormLineSelect",value:function(){var e=this.state,t=e.errorMsg,r=e.value,a=this.props.dataSource,n=a.list,o=a.inputAttr;return(0,S.jsxs)("div",{className:"form-input-box",children:[(0,S.jsx)("span",{className:"form-select",children:(0,S.jsx)(b.Ay,(0,f.A)((0,f.A)({},o),{},{options:n,name:"form-field-name",className:"select-type",value:r,clearable:!1,onChange:this.onSelectChange}))}),(0,S.jsx)("br",{}),(0,S.jsx)("span",{className:"form-error-tips",children:t})]})}},{key:"render",value:function(){var e=this.state,t=e.dataError,r=e.errorMsg;return(0,S.jsxs)("div",{className:"form-item","data-error":t&&r&&0!==r.length,children:[(0,S.jsx)(E,{dataSource:this.props.dataSource}),this.renderFormLineSelect()]})}}])}(A);V.defaultProps={dataSource:{key:"",extend:null,placeholderRight:null,formType:p.SELECT,inputAttr:{},defaultValue:"",list:[],errorData:[],callback:null,onChange:null,onBlur:null,filter:function(e){return e}}};var D=function(e){function t(e){var r,n,i,u;return(0,a.A)(this,t),n=this,i=t,u=[e],i=(0,s.A)(i),(r=(0,o.A)(n,(0,l.A)()?Reflect.construct(i,u||[],(0,s.A)(n).constructor):i.apply(n,u))).onChange=function(e){r.onMoneyChange(e.target.value)},r.onMoneyChange=function(e){var t=r.props.dataSource,a=t.key,n=t.onChange,o=t.errorData,l=t.formType,s=t.extend,i=t.filter,u=i?i(e):e,c=r.getErrorMsg(u,o),d=0===c.length;r.setState({value:u,errorMsg:c}),n&&n(a,l,u,d,s)},r.state={errorMsg:"",dataError:!1,value:""},r}return(0,i.A)(t,e),(0,n.A)(t,[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props.dataSource.defaultValue;this.setState({value:void 0===e?"":e})}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setValue(e.dataSource),this.setError(e.dataSource),this.cleanError(e.dataSource)}},{key:"renderFormLineText",value:function(){var e=this.state,t=e.errorMsg,r=e.value,a=e.focus,n=this.props.dataSource,o=n.inputAttr,l=n.placeholderRight,s=n.placeholderLeft,i=n.tips,u=n.formType,c=n.displayBlock,d=u===p.MONEY,h=u===p.PASSWORD||o&&"password"===o.type,m=null,v={value:r,className:l&&0!==l.length||s&&0!==s.length?"form-transparent-input"
1:"input form-input",onChange:d?this.onMoneyChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur};return m=d?(0,S.jsx)(C.A,(0,f.A)((0,f.A)({},o),v)):h?(0,S.jsx)(F.A,(0,f.A)((0,f.A)({},o),v)):(0,S.jsx)("input",(0,f.A)((0,f.A)({type:"text"},o),v)),l?(0,S.jsxs)("div",{className:"form-input-box".concat(c?" form-item-display-block":""),children:[(0,S.jsxs)("div",{className:"mock-input-box","data-focus":a,children:[(0,S.jsx)("div",{className:"mock-input"}),m,(0,S.jsx)("span",{className:"placeholder-right",children:l})]}),(0,S.jsx)("span",{className:"form-tips",children:i}),(0,S.jsx)("br",{}),(0,S.jsx)("span",{className:"form-error-tips",children:t})]}):s?(0,S.jsxs)("div",{className:"form-input-box".concat(c?" form-item-display-block":""),children:[(0,S.jsxs)("div",{className:"mock-input-box","data-focus":a,children:[(0,S.jsx)("div",{className:"mock-input"}),(0,S.jsx)("span",{className:"placeholder-left",children:s}),m]}),(0,S.jsx)("span",{className:"form-tips",children:i}),(0,S.jsx)("br",{}),(0,S.jsx)("span",{className:"form-error-tips",children:t})]}):(0,S.jsxs)("div",{className:"form-input-box".concat(c?" form-item-display-block":""),children:[m,(0,S.jsx)("br",{}),(0,S.jsx)("span",{className:"form-error-tips",children:t})]})}},{key:"render",value:function(){var e=this.state,t=e.dataError,r=e.errorMsg;return(0,S.jsxs)("div",{className:"form-item","data-error":t&&r&&0!==r.length,children:[(0,S.jsx)(E,{dataSource:this.props.dataSource}),this.renderFormLineText()]})}}])}(A);D.defaultProps={dataSource:{key:"",extend:null,placeholderRight:null,formType:p.TEXT,inputAttr:{},defaultValue:"",list:[],errorData:[],callback:null,onChange:null,onBlur:null,filter:function(e){return e}}};var _=function(e){function t(e){var r,n,i,u;return(0,a.A)(this,t),n=this,i=t,u=[e],i=(0,s.A)(i),(r=(0,o.A)(n,(0,l.A)()?Reflect.construct(i,u||[],(0,s.A)(n).constructor):i.apply(n,u))).onChange=function(e){var t=r.props.dataSource,a=t.key,n=t.onChange,o=t.errorData,l=t.formType,s=t.extend,i=t.filter,u=i?i(e.target.value):e.target.value,c=r.getErrorMsg(u,o),d=0===c.length;r.setState({value:u,errorMsg:c}),n&&n(a,l,u,d,s)},r.state={errorMsg:"",dataError:!1,value:""},r}return(0,i.A)(t,e),(0,n.A)(t,[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props.dataSource.defaultValue;this.setState({value:void 0===e?"":e})}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setValue(e.dataSource),this.setError(e.dataSource),this.cleanError(e.dataSource)}},{key:"renderFormLineTextArea",value:function(){var e=this.state,t=e.errorMsg,r=e.value,a=this.props.dataSource.inputAttr;return(0,S.jsxs)("div",{className:"form-input-box",children:[(0,S.jsx)("textarea",(0,f.A)((0,f.A)({},a),{},{value:r,className:"input form-text-area",onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur})),(0,S.jsx)("br",{}),(0,S.jsx)("span",{className:"form-error-tips",children:t})]})}},{key:"render",value:function(){var e=this.state,t=e.dataError,r=e.errorMsg;return(0,S.jsxs)("div",{className:"form-item","data-error":t&&r&&0!==r.length,children:[(0,S.jsx)(E,{dataSource:this.props.dataSource}),this.renderFormLineTextArea()]})}}])}(A);_.defaultProps={dataSource:{key:"",extend:null,placeholderRight:null,formType:p.TEXT_AREA,inputAttr:{},defaultValue:"",errorData:[],callback:null,onChange:null,onBlur:null,filter:function(e){return e}}};var P=function(e){function t(){return(0,a.A)(this,t),e=this,r=t,n=arguments,r=(0,s.A)(r),(0,o.A)(e,(0,l.A)()?Reflect.construct(r,n||[],(0,s.A)(e).constructor):r.apply(e,n));var e,r,n}return(0,i.A)(t,e),(0,n.A)(t,[{key:"render",value:function(){var e=this.props.dataSource;if(e.hidden)return null;var t=null;switch(e.formType){case p.MONEY:case p.PASSWORD:case p.TEXT:t=(0,S.jsx)(D,{dataSource:e});break;case p.TEXT_AREA:t=(0,S.jsx)(_,{dataSource:e});break;case p.RADIO:t=(0,S.jsx)(L,{dataSource:e});break;case p.SELECT:t=(0,S.jsx)(V,{dataSource:e});break;case p.CHECK:t=(0,S.jsx)(k,{dataSource:e});break;case p.DATE:t=(0,S.jsx)(T,{dataSource:e});break;case p.MULTI_INPUT:t=(0,S.jsx)(R,{dataSource:e});case p.SAVE_DATA:}return t}}])}(d.A);P.defaultProps={dataSource:{key:"",displayBlock:!1,title:"",extend:null,
1subtitle:null,placeholderRight:null,formType:p.TEXT,inputAttr:{},defaultValue:"",list:[],errorData:[],callback:null,onChange:null,onBlur:null,filter:function(e){return e}}}}}]);
2//# sourceMappingURL=3391.34659bfb.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.