Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.142.199.54
{"version":3,"sources":["actions/after-exam/valuatorInvitationAct.js","pages/after-exam/Valuation/valuationInvitation/valuatorInvitation.js","pages/after-exam/Valuation/valuationInvitation/index.js","../node_modules/react-input-mask/index.js","../node_modules/react-input-mask/lib/react-input-mask.production.min.js"],"names":["changeInvite","el","i","type","payload","sendmessage","inviteParams","console","log","techd","finaldata1","finaldata2","finaldata3","lastupdate","ValuatorInvitation","state","trrefs","pd","_this","props","newData","length","NowtableData","taechdet","tdata","valinvidet","selctAllArray","particularArray","searchVal","all","single","selectArr","finaldata","_callee4","regenerator_default","a","wrap","_context4","prev","next","map","_ref2","Object","asyncToGenerator","mark","_callee","item","index","_context","toConsumableArray","Set","indexOf","push","fteachcode","FTEACHNAME","FSCALE","fmobile","femail","fboard","finvited","stop","_x","_x2","apply","this","arguments","_ref3","_callee3","_context3","_ref4","_callee2","_context2","_x4","_x3","saveInviteData","searchTable","e","data","string","value","searchPrbatch","tblData","filter","o","keys","some","k","toLowerCase","includes","setState","prevProps","changeALL","new_el","checked","_this2","FLAG_100","user","fcurtype","react_default","createElement","Divider","Table","celled","padded","selectable","size","color","className","Header","Row","textAlign","HeaderCell","style","height","width","onClick","_ref5","_callee7","h","_h","_context7","_x11","_x12","Body","Fragment","fdegree","key","Cell","_callee8","ar","_context8","Component","connect","valInvitation","saveInvitations","saveInvitation","sendMsg","saveInviteList","globalname","finalArry","valCenter_options","fboard_options","ValInvitation","arr","invitype","valinvidata","fboardfrm","fboardto","ftechfrm","ftechto","nontype","smsType","template","custom","message","fdate","moment","format","ftime","valCenter","messageCondition","handleChangedate","defineProperty","target","name","handleCancel","handleTemplate","handleCustom","handleTempMsg","text","handleMessage","response","sendmsgData","fmobileno","fusertype","deggrp","fdeggrp","sendmessagefinal","sent","taechcntr","handleChange","handleTable","_this$state","error","univs","funivcode","fcuruniv","funivname","header","content","showError","abrupt","getValInvi","close","open","_this$state2","FVALCNTR","FCNTRNAME","taechboard","fboardcode","fboardname","wheight","wHeight","Card","fluid","Content","display","Button","basic","icon","Link","to","Description","concat","overflowY","Form","Group","Input","placeholder","disabled","onChange","maxLength","label","marginTop","Field","Dropdown","search","selection","options","Radio","marginLeft","TextArea","react_input_mask_default","formatChars","n","m","d","z","y","mask","required","r","t","textTransform","match","defaultValue","valuatorInvitation","mapfilter","valinvi","getButtonData","univcode","univ","usr","dispatch","getState","_error","success","univadmin","post","usrmob","smstype","error_code","msg","fetchUnivs","_ref","get","params","fteachfrom","fteachto","fboardfrom","fscale","status","module","exports","__webpack_require__","React","reactDom","_extends","assign","prototype","hasOwnProperty","call","_inheritsLoose","create","getOwnPropertyNames","getOwnPropertyDescriptor","configurable","undefined","_defaults2","constructor","_assertThisInitialized","ReferenceError","invariant_1","s","l","Error","u","c","replace","framesToPop","setInputSelection","selectionStart","selectionEnd","createTextRange","collapse","moveStart","moveEnd","select","defaultFormatChars","9","*","defaultMaskChar","parseMask","maskChar","prefix","lastEditablePosition","permanents","split","forEach","isPermanentCharacter","isAllowedCharacter","RegExp","test","isEmpty","every","getFilledLength","slice","isFilled","formatValue","insertString","getRightEditablePosition","getStringValue","processChange","f","Math","min","start","end","getInsertStringLength","getLeftEditablePosition","join","max","splice","clearRange","enteredString","isFunction","getCancelAnimationFrame","window","cancelAnimationFrame","webkitCancelRequestAnimationFrame","webkitCancelAnimationFrame","mozCancelAnimationFrame","defer","requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","setTimeout","cancelDefer","clearTimeout","InputElement","focused","mounted","previousSelection","selectionDeferId","saveSelectionLoopDeferId","saveSelectionLoop","getSelection","runSaveSelectionLoop","stopSaveSelectionLoop","getInputDOMNode","findDOMNode","Element","nodeName","querySelector","getInputValue","setInputValue","setCursorToEnd","maskOptions","setCursorPosition","setSelection","isFocused","deferred","abs","document","createRange","parentElement","getInputSelection","getCursorPosition","getBeforeMaskedValueChangeConfig","alwaysShowMask","isInputAutofilled","matches","beforePasteState","beforeMaskedValueChange","isWindowsPhoneBrowser","onFocus","onBlur","onMouseDown","addEventListener","mouseDownX","clientX","mouseDownY","clientY","mouseDownTime","Date","getTime","removeEventListener","onPaste","defaultPrevented","handleRef","children","inputRef","componentDidMount","navigator","userAgent","componentDidUpdate","p","g","forceUpdate","v","componentWillUnmount","render","_objectWithoutPropertiesLoose","ref","readOnly","cloneElement"],"mappings":"oTAmDaA,EAAe,SAACC,EAAIC,GAC/B,MAAO,CACLC,KAAM,qBACNC,QAAS,CAAEH,KAAIC,OAWNG,EAAc,SAAAC,GAGzB,OAFAC,QAAQC,IAAI,QAASF,GAEd,CACLH,KAAM,oBACNC,QAASE,qCChDTG,UAAQ,IACVC,EAAa,GACbC,EAAa,GACbC,EAAa,GACbC,EAAa,GAETC,6MACJC,MAAQ,CACNC,OAAQ,GACRC,GACEC,EAAKC,MAAMC,QAAQC,OAAS,EACxBH,EAAKC,MAAMC,QACXF,EAAKC,MAAMG,aAAaC,SAC9BC,OAAO,EACPC,WAAY,GACZC,cAAe,GACfC,gBAAiB,GACjBC,UAAW,GACXC,IAAK,aACLC,OAAQ,GACRC,UAAW,MAmBbC,+BAAY,SAAAC,IAAA,OAAAC,EAAAC,EAAAC,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,cACVhC,QAAQC,IAAI,SAAUU,EAAKC,MAAMG,cACjCZ,EAAa,GACbA,EAAa,GACbC,EAAa,GACbC,EAAa,GAEbM,EAAKC,MAAMG,aAAaC,SAASiB,IAAjC,eAAAC,EAAAC,OAAAC,EAAA,EAAAD,CAAAR,EAAAC,EAAAS,KAAqC,SAAAC,EAAOC,EAAMC,GAAb,OAAAb,EAAAC,EAAAC,KAAA,SAAAY,GAAA,cAAAA,EAAAV,KAAAU,EAAAT,MAAA,YAAAG,OAAAO,EAAA,EAAAP,CACpB,IAAIQ,IAAIzC,IAChB0C,QAAQJ,IAAU,GA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EAAA,sFACA+O,EAAAoC,EAAA,GAAyBlP,GAEzBjC,EAAA4T,QAAA,SAAAlP,GACA,cAAAqK,EAAArK,KACOsK,EAAAR,EAAAO,GAAA/O,EAAAgF,OAAA,SAAAN,GACP,aAAAsK,EAAA/N,MAAAyD,IAAAsK,EAAA/N,MAAAyD,KAAAzC,EAAAyC,KACOvD,QAAA+Q,GAAA,QACFlD,EAAAiC,EAAAhL,cAAA,QAAAkL,EAAA,CACLkJ,IAAAvW,KAAAyV,WACKtX,IAEL,IAAAgD,EAAA,CACAwT,QAAA3U,KAAA2U,QACAC,OAAA5U,KAAA4U,QAEA,OAAA5U,KAAAyT,YAAA1I,OAAA5M,EAAAwL,UAAAxL,EAAAqY,WAAArV,EAAAyI,SAAA5J,KAAA4J,SAAAzI,EAAAoU,QAAAvV,KAAAuV,QAAApU,EAAA0T,YAAA7U,KAAA6U,aAAA,MAAA1W,EAAA4C,QAAAI,EAAAJ,MAAAf,KAAAe,QAAAmK,EAAAiC,EAAAsJ,aAAAvL,EAAA/J,IACGP,EA5RH,CA6RCuM,EAAAhJ,WAED6I,EAAAC,QAAAsF","file":"static/js/122.05caeb25.chunk.js","sourcesContent":["import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\n\nexport const getValInvi = (fboardfrm, fboardto, ftechfrm, ftechto, nontype) => {\n return async function(dispatch, getState) {\n const state = getState();\n const fdeggrp = state.user.fdeggrp;\n dispatch({\n type: \"SET_LOADER\"\n });\n\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"teachvalapi\",\n univcode: state.univ.funivcode,\n fteachfrom: ftechfrm,\n fteachto: ftechto,\n fboardfrom: fboardfrm,\n fboardto: fboardto,\n fscale: nontype\n }\n });\n\n dispatch({\n type: \"UNSET_LOADER\"\n });\n console.log(\"valuatorInvitation\", response.data, typeof response.data);\n\n if (typeof response.data !== \"object\") {\n const data = {\n error_code: -1,\n data: { msg: \"Something went wrong\" },\n status: \"failure\"\n };\n\n dispatch({\n type: \"SET_ERROR\",\n payload: data\n });\n } else if (response.data.error_code === 0) {\n dispatch({\n type: \"GET_VAL_INVI\",\n payload: response.data\n });\n } else {\n const error = { header: \"Error\", content: response.data.msg };\n dispatch(showError(error));\n }\n };\n};\n\nexport const changeInvite = (el, i) => {\n return {\n type: \"CHANGE_INVITE_DATA\",\n payload: { el, i }\n };\n};\n\nexport const changeALL = (el, i) => {\n return {\n type: \"CHANGE_ALL\",\n payload: { el, i }\n };\n};\n\nexport const sendmessage = inviteParams => {\n console.log(\"hghfs\", inviteParams);\n\n return {\n type: \"SVAE_SEND_MESSAGE\",\n payload: inviteParams\n };\n};\n\n// export const sendmessagefinal = (message, smsType, fmobileno, finalArry) => {\n\n// console.log(\"message updated\", message)\n// console.log(\"SMS TYPE\", smsType)\n// console.log(\"Number\", fmobileno)\n// console.log(\"finalArry\", finalArry)\n// return {\n// type: \"SEND_ALL_MSG\",\n// payload: {\n// message, smsType, fmobileno, finalArry\n// }\n// };\n// };\n\nexport const sendmessagefinal = (\n message,\n smsType,\n fmobileno,\n finalArry,\n fboard,\n usr,\n fdeggrp,\n fdegree\n) => {\n return async (dispatch, getState) => {\n console.log(\"message updated\", message);\n console.log(\"SMS TYPE\", smsType);\n console.log(\"Number\", fmobileno);\n console.log(\"finalArry\", finalArry);\n const state = getState();\n dispatch({\n type: \"SET_LOADER\"\n });\n\n const response = await univadmin.post(\n \"/app.php?a=saveteachvalapi&univcode=\" + state.univ.funivcode,\n {\n data: {\n univcode: state.univ.funivcode,\n taechdet: finalArry,\n usrmob: fmobileno,\n message: message,\n smstype: smsType,\n fboard: fboard,\n usr: fdegree,\n fdeggrp: fdeggrp\n }\n }\n );\n\n // const response = await univadmin.post(\"/app.php\", {\n // params: {\n // a: \"saveteachvalapi\",\n // univcode: state.univ.funivcode,\n // taechdet: finalArry,\n // usrmob: fmobileno,\n // message: message,\n // smstype: smsType,\n // fboard: fboard,\n // usr: usr,\n // fdeggrp: fdeggrp,\n // fdegree: fdegree\n\n // }\n // });\n\n dispatch({\n type: \"UNSET_LOADER\"\n });\n if (typeof response.data !== \"object\") {\n const error = { header: \"Error\", content: \"Something went wrong\" };\n dispatch(showError(error));\n } else if (response.data.error_code === -1) {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n const success = { header: \"Success\", content: response.data.data.msg };\n\n dispatch(showError(success), {\n type: \"SAVE_ALL_MSG\",\n payload: response.data\n });\n\n return true;\n }\n };\n};\n","import React, { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport {\n Card,\n Divider,\n Form,\n Button,\n Dropdown,\n Input,\n Table,\n Checkbox\n} from \"semantic-ui-react\";\nimport { Link } from \"react-router-dom\";\nimport {\n getValInvi,\n changeInvite,\n changeALL,\n sendmessage\n} from \"../../../../actions/after-exam/valuatorInvitationAct\";\nimport \"../../../../index.css\";\nimport { saveInviteData, saveInviteList } from \"../../../../actions/index\";\n\nvar techd = [],\n finaldata1 = [],\n finaldata2 = [],\n finaldata3 = [],\n lastupdate = [];\n\nclass ValuatorInvitation extends Component {\n state = {\n trrefs: [],\n pd:\n this.props.newData.length > 0\n ? this.props.newData\n : this.props.NowtableData.taechdet,\n tdata: false,\n valinvidet: [],\n selctAllArray: [],\n particularArray: [],\n searchVal: \"\",\n all: \"notdefined\",\n single: \"\",\n selectArr: []\n };\n\n componentDidMount() {\n this.setState({ valinvidet: this.props.tblData });\n console.log(\"this.props.tblData\", this.props);\n this.props.sendmessage(this.state.pd);\n }\n componentDidUpdate(prevProps) {\n if (this.props.tblData !== prevProps.tblData) {\n this.setState({ valinvidet: this.props.tblData });\n console.log(\"this.props.tblData\", this.props.tblData);\n }\n }\n\n async chnageCell2(data, type, finaldata) {\n console.log(\"forallt\", data, type, finaldata);\n await this.props.changeALL(data, finaldata);\n }\n finaldata = async () => {\n console.log(\"Ssssss\", this.props.NowtableData);\n finaldata1 = [];\n finaldata1 = [];\n finaldata2 = [];\n finaldata3 = [];\n\n this.props.NowtableData.taechdet.map(async (item, index) => {\n const d1 = [...new Set(techd)];\n if (d1.indexOf(index) > -1)\n await finaldata1.push({\n fteachcode: item.fteachcode,\n FTEACHNAME: item.FTEACHNAME,\n FSCALE: item.FSCALE,\n fmobile: item.fmobile,\n femail: item.femail,\n fboard: item.fboard,\n finvited: item.finvited\n });\n });\n this.props.NowtableData.taechdet.map(async item => {\n await finaldata2.push({\n fteachcode: item.fteachcode,\n FTEACHNAME: item.FTEACHNAME,\n FSCALE: item.FSCALE,\n fmobile: item.fmobile,\n femail: item.femail,\n fboard: item.fboard,\n finvited: \"F\"\n });\n\n this.props.NowtableData.taechdet.map(async item => {\n await finaldata3.push({\n fteachcode: item.fteachcode,\n FTEACHNAME: item.FTEACHNAME,\n FSCALE: item.FSCALE,\n fmobile: item.fmobile,\n femail: item.femail,\n fboard: item.fboard,\n finvited: \"F\"\n });\n });\n });\n\n console.log(\"finalDats\", finaldata1);\n\n await this.props.saveInviteData(finaldata1);\n };\n\n async changeCell(data, el, i) {\n techd.push(i);\n console.log(\"data from table\", data, el);\n\n const new_el = { ...el, finvited: data.checked ? \"T\" : \"F\" };\n\n await this.props.changeInvite(new_el, i, data);\n console.log(\"tech\", [...new Set(techd)]);\n\n this.finaldata();\n }\n\n searchTable = (e, data) => {\n const string = data.value;\n const searchPrbatch = this.props.tblData.filter(o =>\n Object.keys(o).some(k =>\n o[k].toLowerCase().includes(string.toLowerCase())\n )\n );\n this.setState({ valinvidet: searchPrbatch, searchVal: data.value });\n };\n\n render() {\n const FLAG_100 = this.props.user.fcurtype == \"100\" ? true : false;\n console.log(\"FLAG_100\", FLAG_100);\n var array2 = [];\n console.log(\"table data\", this.props);\n // if (data.lenght = 0) {\n\n // } else {\n return (\n <div>\n <Divider />\n <div>\n <Table\n celled\n padded\n selectable\n size=\"small\"\n color=\"olive\"\n className=\"sticky\"\n >\n <Table.Header>\n <Table.Row textAlign=\"center\">\n <Table.HeaderCell>Sl.No.</Table.HeaderCell>\n <Table.HeaderCell>Teacher Code</Table.HeaderCell>\n <Table.HeaderCell>Teacher Name</Table.HeaderCell>\n <Table.HeaderCell>Type</Table.HeaderCell>\n <Table.HeaderCell>Mobile Number</Table.HeaderCell>\n <Table.HeaderCell>Email ID</Table.HeaderCell>\n <Table.HeaderCell>Board</Table.HeaderCell>\n\n <Table.HeaderCell>\n <input\n style={{ height: \"18px\", width: \"18px\" }}\n checked={this.state.all == \"active\" && \"checked\"}\n type=\"checkbox\"\n onClick={async (e, data) => {\n this.state.all == \"active\"\n ? await this.setState({ all: \"inactive\" })\n : await this.setState({ all: \"active\" });\n\n // this.chnageCell2(\n // data,\n // e,\n // this.props.NowtableData.taechdet\n // )\n if (this.state.all == \"inactive\") {\n let h = [];\n this.state.pd.map(el => {\n lastupdate = [];\n console.log(\"lastupdate\", lastupdate);\n return h.push({\n fteachcode: el.fteachcode,\n FTEACHNAME: el.FTEACHNAME,\n FSCALE: el.FSCALE,\n fmobile: el.fmobile,\n femail: el.femail,\n fboard: el.fboard,\n finvited: \"F\"\n });\n });\n console.log(\"hhhhhhhhhh\", h);\n await this.setState({ pd: h });\n\n console.log(\"pfpfpfpf\", this.state.pd);\n await this.props.sendmessage(this.state.pd);\n } else {\n lastupdate = this.state.pd;\n console.log(\"lastupdate\", lastupdate);\n }\n console.log(\"ss\", this.state.all);\n\n if (this.state.all == \"active\") {\n let h = [];\n await this.state.pd.map(el => {\n lastupdate = [];\n console.log(\"lastupdate\", lastupdate);\n console.log(\"cure\", h);\n return h.push({\n fteachcode: el.fteachcode,\n FTEACHNAME: el.FTEACHNAME,\n FSCALE: el.FSCALE,\n fmobile: el.fmobile,\n femail: el.femail,\n fboard: el.fboard,\n finvited: \"T\"\n });\n });\n\n console.log(\"hhhhhhhhhh\", h);\n await this.setState({ pd: h });\n\n console.log(\"pfpfpfpf\", this.state.pd);\n await this.props.sendmessage(h);\n }\n }}\n />\n </Table.HeaderCell>\n </Table.Row>\n </Table.Header>\n {console.log(\"before table\", FLAG_100, this.state.pd)}\n <Table.Body>\n {this.state.pd.map((el, i) => {\n return (\n <>\n {\" \"}\n {(FLAG_100 || this.props.user.fdegree == el.fboard) && (\n <Table.Row key={i}>\n <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\n <Table.Cell textAlign=\"center\">\n {el.fteachcode}\n </Table.Cell>\n <Table.Cell textAlign=\"left\">\n {el.FTEACHNAME}\n </Table.Cell>\n <Table.Cell textAlign=\"center\">{el.FSCALE}</Table.Cell>\n <Table.Cell textAlign=\"center\">{el.fmobile}</Table.Cell>\n <Table.Cell textAlign=\"left\">{el.femail}</Table.Cell>\n <Table.Cell textAlign=\"center\">{el.fboard}</Table.Cell>\n <Table.Cell textAlign=\"center\">\n <div className=\"ui checkbox\">\n <input\n type=\"checkbox\"\n onClick={async () => {\n await this.setState({\n all: \"inactive\"\n });\n console.log(\"lastupdtae\", lastupdate);\n const ar = this.state.pd;\n ar[i] = {\n fteachcode: el.fteachcode,\n FTEACHNAME: el.FTEACHNAME,\n FSCALE: el.FSCALE,\n fmobile: el.fmobile,\n femail: el.femail,\n fboard: el.fboard,\n finvited: el.finvited == \"T\" ? \"F\" : \"T\"\n };\n console.log(\"afterclcik\", ar);\n console.log(\"lastupdate\", lastupdate);\n this.setState({ pd: ar });\n this.props.sendmessage(this.state.pd);\n }}\n checked={\n this.state.all == \"active\"\n ? \"checked\"\n : el.finvited == \"T\"\n ? true\n : false\n }\n />\n <label> </label>\n </div>\n </Table.Cell>\n </Table.Row>\n )}{\" \"}\n </>\n );\n })}\n </Table.Body>\n </Table>\n </div>\n </div>\n );\n }\n}\n\nconst mapStateToProps = state => {\n return {\n NowtableData: state.valInvitation,\n saveInvitations: state.saveInvitation,\n user: state.user,\n newData: state.sendMsg\n };\n};\n\nexport default connect(\n mapStateToProps,\n {\n changeInvite,\n changeALL,\n saveInviteData,\n saveInviteList,\n sendmessage\n }\n)(ValuatorInvitation);\n","import React, { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport {\n Card,\n Divider,\n Form,\n Button,\n Dropdown,\n Radio,\n ItemGroup,\n} from \"semantic-ui-react\";\nimport InputMask from \"react-input-mask\";\nimport { Link } from \"react-router-dom\";\nimport { showError, saveInviteData, saveInviteList } from \"../../../../actions\";\nimport {\n getValInvi,\n changeInvite,\n sendmessage,\n sendmessagefinal,\n} from \"../../../../actions/after-exam/valuatorInvitationAct\";\nimport { wHeight } from \"../../../parms\";\nimport ValuatorInvitation from \"./valuatorInvitation\";\nimport { fetchUnivs } from \"../../../../actions\";\nimport moment from \"moment\";\n\nvar globalname = \"\",\n finalArry = [],\n lastupdate = [],\n valCenter_options = [],\n fboard_options = [];\n\nclass ValInvitation extends Component {\n state = {\n arr: this.props.NowtableData,\n invitype: \"All\",\n valinvidata: false,\n fboardfrm: \"0\",\n fboardto: \"zzzzz\",\n ftechfrm: \"0\",\n ftechto: \"zzzzz\",\n nontype: \"a\",\n smsType: \"Invite\",\n template: false,\n custom: false,\n message: \"\",\n fdate: moment().format(\"DD/MM/YYYY\"),\n ftime: moment().format(\"HH:MM AM\"),\n valCenter: \"\",\n fboard: \"\",\n messageCondition: false,\n };\n\n handleChangedate = (e) => {\n this.setState({ [e.target.name]: e.target.value });\n };\n\n handleCancel = () => {\n this.setState({\n valinvidata: false,\n ftechfrm: \"0\",\n fboardfrm: \"0\",\n fboardto: \"zzzzz\",\n ftechto: \"zzzzz\",\n nontype: \"a\",\n smsType: \"Invite\",\n invitype: \"All\",\n template: false,\n custom: false,\n message: \"\",\n fdate: moment().format(\"DD/MM/YYYY\"),\n ftime: moment().format(\"HH:MM AM\"),\n valCenter: \"\",\n fboard: \"\",\n messageCondition: false,\n });\n };\n\n handleTemplate = () => {\n if (this.state.template == false) {\n this.setState({ template: true, custom: false });\n console.log(\"template\", this.state.template);\n console.log(\"custom\", this.state.custom);\n }\n };\n\n handleCustom = () => {\n this.setState({ message: \"\" });\n if (this.state.custom == false) {\n this.setState({ custom: true, template: false });\n console.log(\"custom\", this.state.custom);\n console.log(\"template\", this.state.template);\n }\n };\n\n handleTempMsg = () => {\n console.log(\"lallalal\", this.state.fboard.text);\n console.log(\"lallalal\", this.state.valCenter.text);\n this.setState({\n message:\n \"Message from \" +\n globalname +\n \" : Valuation of \" +\n this.state.fboard +\n \" board will commence on \" +\n this.state.fdate +\n \" at \" +\n this.state.ftime +\n \" in \" +\n this.state.valCenter +\n \". You are requested to bring the Valuation Order Copy and PAN No. \",\n });\n };\n\n handleMessage = async () => {\n finalArry = [];\n this.props.sendmsgData.map((item) => {\n if (item.finvited == \"T\") {\n finalArry.push({\n fteachcode: item.fteachcode,\n FTEACHNAME: item.FTEACHNAME,\n FSCALE: item.FSCALE,\n fmobile: item.fmobile,\n femail: item.femail,\n fboard: item.fboard,\n finvited: item.finvited,\n });\n }\n });\n\n console.log(\"message updated\", this.state.message);\n console.log(\"SMS TYPE\", this.state.smsType);\n console.log(\"Number\", this.props.user.fmobileno);\n console.log(\"finalArry\", finalArry);\n console.log(\"fboard\", this.state.fboard);\n console.log(\"usr\", this.props.user.fusertype);\n console.log(\"fdeggrp\", this.props.deggrp.fdeggrp);\n console.log(\"fdegree\", this.props.user.fdegree);\n const response = await this.props.sendmessagefinal(\n this.state.message,\n this.state.smsType,\n this.props.user.fmobileno,\n finalArry,\n this.state.fboard,\n this.props.user.fusertype,\n this.props.deggrp.fdeggrp,\n this.props.user.fdegree\n );\n console.log(\"Response\", response);\n if (response) {\n let h = [];\n this.props.NowtableData.taechdet.map((el) => {\n lastupdate = [];\n console.log(\"lastupdate\", lastupdate);\n return h.push({\n fteachcode: el.fteachcode,\n FTEACHNAME: el.FTEACHNAME,\n FSCALE: el.FSCALE,\n fmobile: el.fmobile,\n femail: el.femail,\n fboard: el.fboard,\n finvited: \"F\",\n });\n });\n console.log(\"hhhh22hhhhhh\", h);\n\n this.state.valinvidata\n ? console.log(\"afterrrrrr\", this.props.NowtableData.taechcntr)\n : console.log(\"beforeee\", this.props.NowtableData);\n await this.setState({ arr: h });\n\n console.log(\"pfpf22pfpf\", this.state.arr);\n await this.props.sendmessage(this.state.arr);\n await this.setState({ valinvidata: false });\n\n await this.setState({ valinvidata: true });\n }\n };\n\n handleChange = (e, data) => {\n this.setState({ [data.name]: data.value });\n };\n\n handleTable = async () => {\n await console.log(\"mhgadsjg\", this.state.arr, this.props.NowtableData);\n\n this.props.univs.map((item) => {\n if (item.funivcode == this.props.user.fcuruniv) {\n globalname = item.funivname;\n }\n });\n\n // console.log(\"fghjk\", globalname)\n\n const { ftechfrm, ftechto, nontype } = this.state;\n\n const { fdeggrp } = this.props.user;\n\n if (fdeggrp === \"\") {\n const error = { header: \"Error\", content: \"Select Degree Group\" };\n this.props.showError(error);\n return;\n }\n console.log(\"kjgsdfjdljkfdhg\", this.props.user.fcurtype);\n if (this.props.user.fcurtype !== \"100\") {\n console.log(\n \"beforeelselpjfjhf\",\n this.state.fboardfrm,\n this.state.fboardto\n );\n await this.setState({ fboardfrm: this.props.user.fdegree });\n await this.setState({ fboardto: this.props.user.fdegree });\n console.log(\n \"afterelselpjfjhf\",\n this.state.fboardfrm,\n this.state.fboardto\n );\n }\n\n await this.props.getValInvi(\n this.state.fboardfrm,\n this.state.fboardto,\n ftechfrm,\n ftechto,\n nontype\n );\n this.setState({ valinvidata: true });\n this.setState({ messageCondition: true });\n\n {\n valCenter_options.length == 1 &&\n this.setState({\n valCenter: valCenter_options[0].value,\n });\n }\n {\n fboard_options.length == 1 &&\n this.setState({\n fboard: fboard_options[0].value,\n });\n }\n };\n\n close = (e, data) => {\n if (e.type == \"keydown\") return;\n this.setState({ open: false });\n };\n\n render() {\n const {\n ftechfrm,\n ftechto,\n nontype,\n invitype,\n template,\n smsType,\n custom,\n message,\n fdate,\n ftime,\n valCenter,\n fboard,\n } = this.state;\n\n const session_options = [\n { key: \"a\", value: \"a\", text: \"All\" },\n { key: \"u\", value: \"u\", text: \"UGC\" },\n { key: \"n\", value: \"n\", text: \"Non UGC\" },\n ];\n\n valCenter_options = [];\n fboard_options = [];\n\n this.state.valinvidata &&\n this.props.NowtableData.taechcntr.map((el, i) => {\n valCenter_options.push({\n key: el.FVALCNTR,\n value: el.FCNTRNAME,\n text: el.FCNTRNAME,\n });\n });\n\n const smsType_options = [\n { key: \"1\", value: \"Invite\", text: \"Invite\" },\n { key: \"2\", value: \"Relieve\", text: \"Relieve\" },\n ];\n\n this.state.valinvidata &&\n this.props.NowtableData.taechboard.map((el, i) => {\n fboard_options.push({\n key: el.fboardcode,\n value: el.fboardname,\n text: el.fboardname,\n });\n });\n\n const invitation_options = [\n { key: \"0\", value: \"All\", text: \"All\" },\n { key: \"1\", value: \"T\", text: \"Invited\" },\n { key: \"2\", value: \"F\", text: \"Not Invited\" },\n ];\n\n console.log(\"Valuator Invitation\", this.props);\n const formatDate = {\n n: \"[0-1]\",\n m: \"[0-9]\",\n e: \"[0-3]\",\n d: \"[0-9]\",\n z: \"[1-2]\",\n y: \"[0-9]\",\n };\n const formatTime = {\n h: \"[0-1]\",\n r: \"[0-9]\",\n m: \"[0-6]\",\n n: \"[0-9]\",\n t: \"[APap]\",\n z: \"[Mm]\",\n };\n const wheight = wHeight();\n\n const getButtonData = (d) => {\n console.log(\"d\", d);\n };\n\n return (\n <div className=\"animated fadeIn\">\n <Card fluid>\n <Card.Content>\n <Card.Header style={{ display: \"flex\" }}>\n <h4>Sending Valuator Invitation</h4>\n <div className=\"ml-auto\">\n {/* <Button\n basic\n color=\"blue\"\n onClick={this.saveInvitation}\n content=\"save\"\n icon=\"file\"\n /> */}\n <Button\n basic\n color=\"black\"\n icon=\"ban\"\n onClick={this.handleCancel}\n content=\"Cancel\"\n />\n <Link to=\"dashboard\">\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n </Link>\n </div>\n </Card.Header>\n <Divider />\n <Card.Description\n className=\"row\"\n style={{ height: `${wheight}px`, overflowY: \"auto\" }}\n >\n <div className=\"col-md-6 col-lg-6 col-sm-6\">\n <Form>\n <Form.Group>\n <Form.Input\n placeholder=\"From\"\n value={ftechfrm}\n width={6}\n name=\"ftechfrm\"\n disabled={this.state.messageCondition}\n onChange={this.handleChange}\n maxLength=\"5\"\n label=\"Teacher Code Range\"\n />\n <Form.Input\n placeholder=\"To\"\n name=\"ftechto\"\n value={ftechto}\n disabled={this.state.messageCondition}\n width={6}\n onChange={this.handleChange}\n maxLength=\"5\"\n style={{ marginTop: \"1.6em\" }}\n />\n </Form.Group>\n <Form.Group>\n <Form.Field response>\n <label>Scale</label>\n <Dropdown\n placeholder=\"Scale\"\n search\n selection\n width={4}\n disabled={this.state.messageCondition}\n name=\"nontype\"\n value={nontype}\n options={session_options}\n onChange={this.handleChange}\n />\n </Form.Field>\n <Form.Field>\n <label>Type</label>\n <Dropdown\n placeholder=\"Scale\"\n search\n selection\n width={4}\n disabled={this.state.messageCondition}\n name=\"invitype\"\n value={invitype}\n options={invitation_options}\n onChange={this.handleChange}\n />\n </Form.Field>\n </Form.Group>\n <Form.Group>\n <Form.Field width={12} response>\n <label>SMS Type</label>\n <Dropdown\n placeholder=\"Scale\"\n search\n selection\n disabled={this.state.messageCondition}\n name=\"smsType\"\n value={smsType}\n options={smsType_options}\n onChange={this.handleChange}\n />\n </Form.Field>\n </Form.Group>\n <Button\n color=\"blue\"\n onClick={this.handleTable}\n disabled={this.state.messageCondition}\n content=\"Submit\"\n />\n </Form>\n </div>\n <div className=\"col-md-6 col-lg-6 col-sm-6\">\n {this.state.messageCondition ? (\n <Form>\n <strong>\n <h3>Send Invite / Relieve Message</h3>\n </strong>\n <Divider />\n <Form.Group>\n <Radio\n label=\"Template Message\"\n name=\"template\"\n value={template}\n checked={this.state.template}\n onClick={this.handleTemplate}\n />\n <Radio\n label=\"Custom Message\"\n name=\"custom\"\n value={custom}\n style={{ marginLeft: \"2%\" }}\n checked={this.state.custom}\n onClick={this.handleCustom}\n />\n </Form.Group>\n {this.state.custom ? (\n <div>\n <Form.Field width={11} height={200}>\n <Form.TextArea\n label=\"Type your message here...\"\n placeholder=\"Message\"\n value={message}\n name=\"message\"\n onChange={this.handleChange}\n />\n </Form.Field>\n <Form.Field>\n <Button\n onClick={this.handleMessage}\n basic\n color=\"blue\"\n icon=\"send\"\n content=\"Send\"\n />\n </Form.Field>\n </div>\n ) : null}\n {this.state.template ? (\n <div>\n <Form.Group>\n <Form.Field width={6}>\n <label>Date</label>\n <InputMask\n formatChars={formatDate}\n type=\"text\"\n value={fdate}\n mask=\"ed/nm/zyyy\"\n placeholder=\"From\"\n name=\"fdate\"\n onChange={this.handleChangedate}\n required\n />\n </Form.Field>\n <Form.Field width={6}>\n <label>Time</label>\n <InputMask\n formatChars={formatTime}\n type=\"text\"\n value={ftime}\n mask=\"hr:mn tz\"\n style={{ textTransform: \"uppercase\" }}\n placeholder=\"From\"\n name=\"ftime\"\n onChange={this.handleChangedate}\n required\n />\n </Form.Field>\n </Form.Group>\n <Form.Group>\n <Form.Field width={12}>\n <label>Valuation Center</label>\n <Dropdown\n placeholder=\"Valuation Center\"\n search\n selection\n name=\"valCenter\"\n value={\n valCenter_options.length > 1\n ? valCenter\n : valCenter_options[0].value\n }\n options={valCenter_options}\n onChange={this.handleChange}\n required\n />\n </Form.Field>\n </Form.Group>\n <Form.Group>\n <Form.Field width={12}>\n <label>Board</label>\n <Dropdown\n placeholder=\"Board\"\n search\n selection\n name=\"fboard\"\n value={\n fboard_options.length > 1\n ? fboard\n : fboard_options[0].value\n }\n options={fboard_options}\n onChange={this.handleChange}\n required\n />\n </Form.Field>\n </Form.Group>\n <Form.Group>\n <Button\n color=\"blue\"\n disabled={\n !this.state.fdate.match(\"_\") &&\n !this.state.ftime.match(\"_\") &&\n this.state.valCenter.length > 0 &&\n this.state.fboard.length > 0\n ? false\n : true\n }\n onClick={this.handleTempMsg}\n content=\"Submit\"\n />\n </Form.Group>\n <Form.Group>\n <Form.Field width={12}>\n <Form.TextArea\n defaultValue={message}\n onChange={(e) => {\n console.log(\"e\", e, e.target.value);\n }}\n name=\"message\"\n />\n </Form.Field>\n </Form.Group>\n <Form.Group>\n <Form.Field>\n <Button\n onClick={this.handleMessage}\n basic\n color=\"blue\"\n icon=\"send\"\n content=\"Send\"\n />\n </Form.Field>\n </Form.Group>\n </div>\n ) : null}\n </Form>\n ) : null}\n </div>\n <div className=\"col-md-12 col-lg-12 col-sm-12\">\n {/* {this.state.valinvidata ? console.log(\"withihdj\", this.props.NowtableData.taechcntr) : console.log(\"null\", this.props.NowtableData)} */}\n {this.state.valinvidata ? (\n <ValuatorInvitation\n mapfilter={this.state.invitype}\n tblData={this.props.valinvi}\n getButtonData={getButtonData}\n />\n ) : null}\n </div>\n </Card.Description>\n </Card.Content>\n </Card>\n </div>\n );\n }\n}\nconst mapStateToProps = (state) => {\n return {\n deggrp: state.deggrp,\n univcode: state.univ.funivcode,\n NowtableData: state.valInvitation,\n user: state.user,\n univs: state.univs,\n sendmsgData: state.sendMsg,\n };\n};\n\nexport default connect(mapStateToProps, {\n sendmessagefinal,\n fetchUnivs,\n showError,\n getValInvi,\n changeInvite,\n\n saveInviteData,\n saveInviteList,\n sendmessage,\n})(ValInvitation);\n","if (process.env.NODE_ENV === 'production') {\n module.exports = require('./lib/react-input-mask.production.min.js');\n} else {\n module.exports = require('./lib/react-input-mask.development.js');\n}","\"use strict\";\n\nfunction _interopDefault(e) {\n return e && \"object\" == typeof e && \"default\" in e ? e[\"default\"] : e;\n}\n\nvar React = _interopDefault(require(\"react\")),\n reactDom = require(\"react-dom\");\n\nfunction _defaults2(e, t) {\n for (var n = Object.getOwnPropertyNames(t), a = 0; a < n.length; a++) {\n var i = n[a],\n r = Object.getOwnPropertyDescriptor(t, i);\n r && r.configurable && e[i] === undefined && Object.defineProperty(e, i, r);\n }\n\n return e;\n}\n\nfunction _extends() {\n return (_extends = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var a in n) {\n Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);\n }\n }\n\n return e;\n }).apply(this, arguments);\n}\n\nfunction _inheritsLoose(e, t) {\n e.prototype = Object.create(t.prototype), _defaults2(e.prototype.constructor = e, t);\n}\n\nfunction _objectWithoutPropertiesLoose(e, t) {\n if (null == e) return {};\n var n,\n a,\n i = {},\n r = Object.keys(e);\n\n for (a = 0; a < r.length; a++) {\n n = r[a], 0 <= t.indexOf(n) || (i[n] = e[n]);\n }\n\n return i;\n}\n\nfunction _assertThisInitialized(e) {\n if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n}\n\nvar invariant = function invariant(e, t, n, a, i, r, o, s) {\n if (!e) {\n var l;\n if (t === undefined) l = new Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else {\n var u = [n, a, i, r, o, s],\n c = 0;\n (l = new Error(t.replace(/%s/g, function () {\n return u[c++];\n }))).name = \"Invariant Violation\";\n }\n throw l.framesToPop = 1, l;\n }\n},\n invariant_1 = invariant;\n\nfunction setInputSelection(e, t, n) {\n if (\"selectionStart\" in e && \"selectionEnd\" in e) e.selectionStart = t, e.selectionEnd = n;else {\n var a = e.createTextRange();\n a.collapse(!0), a.moveStart(\"character\", t), a.moveEnd(\"character\", n - t), a.select();\n }\n}\n\nfunction getInputSelection(e) {\n var t = 0,\n n = 0;\n if (\"selectionStart\" in e && \"selectionEnd\" in e) t = e.selectionStart, n = e.selectionEnd;else {\n var a = document.selection.createRange();\n a.parentElement() === e && (t = -a.moveStart(\"character\", -e.value.length), n = -a.moveEnd(\"character\", -e.value.length));\n }\n return {\n start: t,\n end: n,\n length: n - t\n };\n}\n\nvar defaultFormatChars = {\n 9: \"[0-9]\",\n a: \"[A-Za-z]\",\n \"*\": \"[A-Za-z0-9]\"\n},\n defaultMaskChar = \"_\";\n\nfunction parseMask(e, t, n) {\n var a = \"\",\n i = \"\",\n r = null,\n o = [];\n if (t === undefined && (t = defaultMaskChar), null == n && (n = defaultFormatChars), !e || \"string\" != typeof e) return {\n maskChar: t,\n formatChars: n,\n mask: null,\n prefix: null,\n lastEditablePosition: null,\n permanents: []\n };\n var s = !1;\n return e.split(\"\").forEach(function (e) {\n s = !s && \"\\\\\" === e || (s || !n[e] ? (o.push(a.length), a.length === o.length - 1 && (i += e)) : r = a.length + 1, a += e, !1);\n }), {\n maskChar: t,\n formatChars: n,\n prefix: i,\n mask: a,\n lastEditablePosition: r,\n permanents: o\n };\n}\n\nfunction isPermanentCharacter(e, t) {\n return -1 !== e.permanents.indexOf(t);\n}\n\nfunction isAllowedCharacter(e, t, n) {\n var a = e.mask,\n i = e.formatChars;\n if (!n) return !1;\n if (isPermanentCharacter(e, t)) return a[t] === n;\n var r = i[a[t]];\n return new RegExp(r).test(n);\n}\n\nfunction isEmpty(n, e) {\n return e.split(\"\").every(function (e, t) {\n return isPermanentCharacter(n, t) || !isAllowedCharacter(n, t, e);\n });\n}\n\nfunction getFilledLength(e, t) {\n var n = e.maskChar,\n a = e.prefix;\n\n if (!n) {\n for (; t.length > a.length && isPermanentCharacter(e, t.length - 1);) {\n t = t.slice(0, t.length - 1);\n }\n\n return t.length;\n }\n\n for (var i = a.length, r = t.length; r >= a.length; r--) {\n var o = t[r];\n\n if (!isPermanentCharacter(e, r) && isAllowedCharacter(e, r, o)) {\n i = r + 1;\n break;\n }\n }\n\n return i;\n}\n\nfunction isFilled(e, t) {\n return getFilledLength(e, t) === e.mask.length;\n}\n\nfunction formatValue(e, t) {\n var n = e.maskChar,\n a = e.mask,\n i = e.prefix;\n\n if (!n) {\n for ((t = insertString(e, \"\", t, 0)).length < i.length && (t = i); t.length < a.length && isPermanentCharacter(e, t.length);) {\n t += a[t.length];\n }\n\n return t;\n }\n\n if (t) return insertString(e, formatValue(e, \"\"), t, 0);\n\n for (var r = 0; r < a.length; r++) {\n isPermanentCharacter(e, r) ? t += a[r] : t += n;\n }\n\n return t;\n}\n\nfunction clearRange(n, e, a, t) {\n var i = a + t,\n r = n.maskChar,\n o = n.mask,\n s = n.prefix,\n l = e.split(\"\");\n if (r) return l.map(function (e, t) {\n return t < a || i <= t ? e : isPermanentCharacter(n, t) ? o[t] : r;\n }).join(\"\");\n\n for (var u = i; u < l.length; u++) {\n isPermanentCharacter(n, u) && (l[u] = \"\");\n }\n\n return a = Math.max(s.length, a), l.splice(a, i - a), e = l.join(\"\"), formatValue(n, e);\n}\n\nfunction insertString(r, o, e, s) {\n var l = r.mask,\n u = r.maskChar,\n c = r.prefix,\n t = e.split(\"\"),\n h = isFilled(r, o);\n return !u && s > o.length && (o += l.slice(o.length, s)), t.every(function (e) {\n for (; i = e, isPermanentCharacter(r, a = s) && i !== l[a];) {\n if (s >= o.length && (o += l[s]), t = e, n = s, u && isPermanentCharacter(r, n) && t === u) return !0;\n if (++s >= l.length) return !1;\n }\n\n var t, n, a, i;\n return !isAllowedCharacter(r, s, e) && e !== u || (s < o.length ? o = u || h || s < c.length ? o.slice(0, s) + e + o.slice(s + 1) : (o = o.slice(0, s) + e + o.slice(s), formatValue(r, o)) : u || (o += e), ++s < l.length);\n }), o;\n}\n\nfunction getInsertStringLength(a, e, t, i) {\n var r = a.mask,\n o = a.maskChar,\n n = t.split(\"\"),\n s = i;\n return n.every(function (e) {\n for (; n = e, isPermanentCharacter(a, t = i) && n !== r[t];) {\n if (++i >= r.length) return !1;\n }\n\n var t, n;\n return (isAllowedCharacter(a, i, e) || e === o) && i++, i < r.length;\n }), i - s;\n}\n\nfunction getLeftEditablePosition(e, t) {\n for (var n = t; 0 <= n; --n) {\n if (!isPermanentCharacter(e, n)) return n;\n }\n\n return null;\n}\n\nfunction getRightEditablePosition(e, t) {\n for (var n = e.mask, a = t; a < n.length; ++a) {\n if (!isPermanentCharacter(e, a)) return a;\n }\n\n return null;\n}\n\nfunction getStringValue(e) {\n return e || 0 === e ? e + \"\" : \"\";\n}\n\nfunction processChange(e, t, n, a, i) {\n var r = e.mask,\n o = e.prefix,\n s = e.lastEditablePosition,\n l = t,\n u = \"\",\n c = 0,\n h = 0,\n f = Math.min(i.start, n.start);\n\n if (n.end > i.start ? h = (c = getInsertStringLength(e, a, u = l.slice(i.start, n.end), f)) ? i.length : 0 : l.length < a.length && (h = a.length - l.length), l = a, h) {\n if (1 === h && !i.length) f = i.start === n.start ? getRightEditablePosition(e, n.start) : getLeftEditablePosition(e, n.start);\n l = clearRange(e, l, f, h);\n }\n\n return l = insertString(e, l, u, f), (f += c) >= r.length ? f = r.length : f < o.length && !c ? f = o.length : f >= o.length && f < s && c && (f = getRightEditablePosition(e, f)), u || (u = null), {\n value: l = formatValue(e, l),\n enteredString: u,\n selection: {\n start: f,\n end: f\n }\n };\n}\n\nfunction isWindowsPhoneBrowser() {\n var e = new RegExp(\"windows\", \"i\"),\n t = new RegExp(\"phone\", \"i\"),\n n = navigator.userAgent;\n return e.test(n) && t.test(n);\n}\n\nfunction isFunction(e) {\n return \"function\" == typeof e;\n}\n\nfunction getRequestAnimationFrame() {\n return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame;\n}\n\nfunction getCancelAnimationFrame() {\n return window.cancelAnimationFrame || window.webkitCancelRequestAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame;\n}\n\nfunction defer(e) {\n return (!!getCancelAnimationFrame() ? getRequestAnimationFrame() : function () {\n return setTimeout(e, 1e3 / 60);\n })(e);\n}\n\nfunction cancelDefer(e) {\n (getCancelAnimationFrame() || clearTimeout)(e);\n}\n\nvar InputElement = function (c) {\n function e(e) {\n var f = c.call(this, e) || this;\n f.focused = !1, f.mounted = !1, f.previousSelection = null, f.selectionDeferId = null, f.saveSelectionLoopDeferId = null, f.saveSelectionLoop = function () {\n f.previousSelection = f.getSelection(), f.saveSelectionLoopDeferId = defer(f.saveSelectionLoop);\n }, f.runSaveSelectionLoop = function () {\n null === f.saveSelectionLoopDeferId && f.saveSelectionLoop();\n }, f.stopSaveSelectionLoop = function () {\n null !== f.saveSelectionLoopDeferId && (cancelDefer(f.saveSelectionLoopDeferId), f.saveSelectionLoopDeferId = null, f.previousSelection = null);\n }, f.getInputDOMNode = function () {\n if (!f.mounted) return null;\n var e = reactDom.findDOMNode(_assertThisInitialized(_assertThisInitialized(f))),\n t = \"undefined\" != typeof window && e instanceof window.Element;\n if (e && !t) return null;\n if (\"INPUT\" !== e.nodeName && (e = e.querySelector(\"input\")), !e) throw new Error(\"react-input-mask: inputComponent doesn't contain input node\");\n return e;\n }, f.getInputValue = function () {\n var e = f.getInputDOMNode();\n return e ? e.value : null;\n }, f.setInputValue = function (e) {\n var t = f.getInputDOMNode();\n t && (f.value = e, t.value = e);\n }, f.setCursorToEnd = function () {\n var e = getFilledLength(f.maskOptions, f.value),\n t = getRightEditablePosition(f.maskOptions, e);\n null !== t && f.setCursorPosition(t);\n }, f.setSelection = function (e, t, n) {\n void 0 === n && (n = {});\n var a = f.getInputDOMNode(),\n i = f.isFocused();\n a && i && (n.deferred || setInputSelection(a, e, t), null !== f.selectionDeferId && cancelDefer(f.selectionDeferId), f.selectionDeferId = defer(function () {\n f.selectionDeferId = null, setInputSelection(a, e, t);\n }), f.previousSelection = {\n start: e,\n end: t,\n length: Math.abs(t - e)\n });\n }, f.getSelection = function () {\n return getInputSelection(f.getInputDOMNode());\n }, f.getCursorPosition = function () {\n return f.getSelection().start;\n }, f.setCursorPosition = function (e) {\n f.setSelection(e, e);\n }, f.isFocused = function () {\n return f.focused;\n }, f.getBeforeMaskedValueChangeConfig = function () {\n var e = f.maskOptions,\n t = e.mask,\n n = e.maskChar,\n a = e.permanents,\n i = e.formatChars;\n return {\n mask: t,\n maskChar: n,\n permanents: a,\n alwaysShowMask: !!f.props.alwaysShowMask,\n formatChars: i\n };\n }, f.isInputAutofilled = function (e, t, n, a) {\n var i = f.getInputDOMNode();\n\n try {\n if (i.matches(\":-webkit-autofill\")) return !0;\n } catch (r) {}\n\n return !f.focused || a.end < n.length && t.end === e.length;\n }, f.onChange = function (e) {\n var t = _assertThisInitialized(_assertThisInitialized(f)).beforePasteState,\n n = _assertThisInitialized(_assertThisInitialized(f)).previousSelection,\n a = f.props.beforeMaskedValueChange,\n i = f.getInputValue(),\n r = f.value,\n o = f.getSelection();\n\n f.isInputAutofilled(i, o, r, n) && (r = formatValue(f.maskOptions, \"\"), n = {\n start: 0,\n end: 0,\n length: 0\n }), t && (n = t.selection, r = t.value, o = {\n start: n.start + i.length,\n end: n.start + i.length,\n length: 0\n }, i = r.slice(0, n.start) + i + r.slice(n.end), f.beforePasteState = null);\n var s = processChange(f.maskOptions, i, o, r, n),\n l = s.enteredString,\n u = s.selection,\n c = s.value;\n\n if (isFunction(a)) {\n var h = a({\n value: c,\n selection: u\n }, {\n value: r,\n selection: n\n }, l, f.getBeforeMaskedValueChangeConfig());\n c = h.value, u = h.selection;\n }\n\n f.setInputValue(c), isFunction(f.props.onChange) && f.props.onChange(e), f.isWindowsPhoneBrowser ? f.setSelection(u.start, u.end, {\n deferred: !0\n }) : f.setSelection(u.start, u.end);\n }, f.onFocus = function (e) {\n var t = f.props.beforeMaskedValueChange,\n n = f.maskOptions,\n a = n.mask,\n i = n.prefix;\n\n if (f.focused = !0, f.mounted = !0, a) {\n if (f.value) getFilledLength(f.maskOptions, f.value) < f.maskOptions.mask.length && f.setCursorToEnd();else {\n var r = formatValue(f.maskOptions, i),\n o = formatValue(f.maskOptions, r),\n s = getFilledLength(f.maskOptions, o),\n l = getRightEditablePosition(f.maskOptions, s),\n u = {\n start: l,\n end: l\n };\n\n if (isFunction(t)) {\n var c = t({\n value: o,\n selection: u\n }, {\n value: f.value,\n selection: null\n }, null, f.getBeforeMaskedValueChangeConfig());\n o = c.value, u = c.selection;\n }\n\n var h = o !== f.getInputValue();\n h && f.setInputValue(o), h && isFunction(f.props.onChange) && f.props.onChange(e), f.setSelection(u.start, u.end);\n }\n f.runSaveSelectionLoop();\n }\n\n isFunction(f.props.onFocus) && f.props.onFocus(e);\n }, f.onBlur = function (e) {\n var t = f.props.beforeMaskedValueChange,\n n = f.maskOptions.mask;\n\n if (f.stopSaveSelectionLoop(), f.focused = !1, n && !f.props.alwaysShowMask && isEmpty(f.maskOptions, f.value)) {\n var a = \"\";\n if (isFunction(t)) a = t({\n value: a,\n selection: null\n }, {\n value: f.value,\n selection: f.previousSelection\n }, null, f.getBeforeMaskedValueChangeConfig()).value;\n var i = a !== f.getInputValue();\n i && f.setInputValue(a), i && isFunction(f.props.onChange) && f.props.onChange(e);\n }\n\n isFunction(f.props.onBlur) && f.props.onBlur(e);\n }, f.onMouseDown = function (e) {\n if (!f.focused && document.addEventListener) {\n f.mouseDownX = e.clientX, f.mouseDownY = e.clientY, f.mouseDownTime = new Date().getTime();\n\n var r = function r(e) {\n if (document.removeEventListener(\"mouseup\", r), f.focused) {\n var t = Math.abs(e.clientX - f.mouseDownX),\n n = Math.abs(e.clientY - f.mouseDownY),\n a = Math.max(t, n),\n i = new Date().getTime() - f.mouseDownTime;\n (a <= 10 && i <= 200 || a <= 5 && i <= 300) && f.setCursorToEnd();\n }\n };\n\n document.addEventListener(\"mouseup\", r);\n }\n\n isFunction(f.props.onMouseDown) && f.props.onMouseDown(e);\n }, f.onPaste = function (e) {\n isFunction(f.props.onPaste) && f.props.onPaste(e), e.defaultPrevented || (f.beforePasteState = {\n value: f.getInputValue(),\n selection: f.getSelection()\n }, f.setInputValue(\"\"));\n }, f.handleRef = function (e) {\n null == f.props.children && isFunction(f.props.inputRef) && f.props.inputRef(e);\n };\n var t = e.mask,\n n = e.maskChar,\n a = e.formatChars,\n i = e.alwaysShowMask,\n r = e.beforeMaskedValueChange,\n o = e.defaultValue,\n s = e.value;\n f.maskOptions = parseMask(t, n, a), null == o && (o = \"\"), null == s && (s = o);\n var l = getStringValue(s);\n\n if (f.maskOptions.mask && (i || l) && (l = formatValue(f.maskOptions, l), isFunction(r))) {\n var u = e.value;\n null == e.value && (u = o), l = r({\n value: l,\n selection: null\n }, {\n value: u = getStringValue(u),\n selection: null\n }, null, f.getBeforeMaskedValueChangeConfig()).value;\n }\n\n return f.value = l, f;\n }\n\n _inheritsLoose(e, c);\n\n var t = e.prototype;\n return t.componentDidMount = function () {\n this.mounted = !0, this.getInputDOMNode() && (this.isWindowsPhoneBrowser = isWindowsPhoneBrowser(), this.maskOptions.mask && this.getInputValue() !== this.value && this.setInputValue(this.value));\n }, t.componentDidUpdate = function () {\n var e = this.previousSelection,\n t = this.props,\n n = t.beforeMaskedValueChange,\n a = t.alwaysShowMask,\n i = t.mask,\n r = t.maskChar,\n o = t.formatChars,\n s = this.maskOptions,\n l = a || this.isFocused(),\n u = null != this.props.value,\n c = u ? getStringValue(this.props.value) : this.value,\n h = e ? e.start : null;\n\n if (this.maskOptions = parseMask(i, r, o), this.maskOptions.mask) {\n !s.mask && this.isFocused() && this.runSaveSelectionLoop();\n var f = this.maskOptions.mask && this.maskOptions.mask !== s.mask;\n\n if (s.mask || u || (c = this.getInputValue()), (f || this.maskOptions.mask && (c || l)) && (c = formatValue(this.maskOptions, c)), f) {\n var p = getFilledLength(this.maskOptions, c);\n (null === h || p < h) && (h = isFilled(this.maskOptions, c) ? p : getRightEditablePosition(this.maskOptions, p));\n }\n\n !this.maskOptions.mask || !isEmpty(this.maskOptions, c) || l || u && this.props.value || (c = \"\");\n var d = {\n start: h,\n end: h\n };\n\n if (isFunction(n)) {\n var m = n({\n value: c,\n selection: d\n }, {\n value: this.value,\n selection: this.previousSelection\n }, null, this.getBeforeMaskedValueChangeConfig());\n c = m.value, d = m.selection;\n }\n\n this.value = c;\n var g = this.getInputValue() !== this.value;\n g ? (this.setInputValue(this.value), this.forceUpdate()) : f && this.forceUpdate();\n var v = !1;\n null != d.start && null != d.end && (v = !e || e.start !== d.start || e.end !== d.end), (v || g) && this.setSelection(d.start, d.end);\n } else s.mask && (this.stopSaveSelectionLoop(), this.forceUpdate());\n }, t.componentWillUnmount = function () {\n this.mounted = !1, null !== this.selectionDeferId && cancelDefer(this.selectionDeferId), this.stopSaveSelectionLoop();\n }, t.render = function () {\n var t,\n e = this.props,\n n = (e.mask, e.alwaysShowMask, e.maskChar, e.formatChars, e.inputRef, e.beforeMaskedValueChange, e.children),\n a = _objectWithoutPropertiesLoose(e, [\"mask\", \"alwaysShowMask\", \"maskChar\", \"formatChars\", \"inputRef\", \"beforeMaskedValueChange\", \"children\"]);\n\n if (n) {\n isFunction(n) || invariant_1(!1);\n\n var i = [\"onChange\", \"onPaste\", \"onMouseDown\", \"onFocus\", \"onBlur\", \"value\", \"disabled\", \"readOnly\"],\n r = _extends({}, a);\n\n i.forEach(function (e) {\n return delete r[e];\n }), t = n(r), i.filter(function (e) {\n return null != t.props[e] && t.props[e] !== a[e];\n }).length && invariant_1(!1);\n } else t = React.createElement(\"input\", _extends({\n ref: this.handleRef\n }, a));\n\n var o = {\n onFocus: this.onFocus,\n onBlur: this.onBlur\n };\n return this.maskOptions.mask && (a.disabled || a.readOnly || (o.onChange = this.onChange, o.onPaste = this.onPaste, o.onMouseDown = this.onMouseDown), null != a.value && (o.value = this.value)), t = React.cloneElement(t, o);\n }, e;\n}(React.Component);\n\nmodule.exports = InputElement;"],"sourceRoot":""}
|