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.145.43.92
{"version":3,"file":"static/js/96.65491216.chunk.js","mappings":"sLAIA,MAUA,EAVgBA,KAEZC,EAAAA,EAAAA,KAACC,EAAAA,EAAI,CACHC,WACEF,EAAAA,EAAAA,KAACG,EAAAA,EAAe,CAACC,MAAO,CAAEC,SAAU,GAAIC,MAAO,SAAWC,MAAI,MCgBtE,EArBeC,IAAmC,IAAlC,KAAEC,EAAI,QAAEC,EAAO,UAAEC,GAAWH,EAC1C,OACER,EAAAA,EAAAA,KAAA,OAAAY,SACGD,GACCX,EAAAA,EAAAA,KAAA,OAAKa,UAAU,SAAST,MAAO,CAAEU,WAAY,IAAKF,UAChDZ,EAAAA,EAAAA,KAACD,EAAO,OAGVC,EAAAA,EAAAA,KAAA,OAAAY,UACEZ,EAAAA,EAAAA,KAAA,SACEe,KAAK,SACLF,UAAU,SACVG,MAAOP,EACPC,QAASA,OAIX,C,4HCbV,MAqBA,GAAeO,EAAAA,EAAAA,KANUC,IAChB,CACLC,KAAMD,EAAME,YAAYC,YAI5B,EArBcC,IACZ,MAAMC,GAAWC,EAAAA,EAAAA,MAMjB,OACExB,EAAAA,EAAAA,KAAA,OAAKa,UAAU,kBAAiBD,UAC9BZ,EAAAA,EAAAA,KAACyB,EAAAA,EAAM,CAAChB,KAAK,OAAOC,QAASA,IAPfgB,MAChB,MAAMC,EAAMC,EAAAA,EAAAA,sBAAwCN,EAAMH,KAAKU,WAC/DC,EAAAA,EAAAA,GAAQH,EAAKJ,EAAS,EAKeG,MAE/B,G","sources":["Components/Spinner.js","Components/Button.js","Pages/Home/Home.js"],"sourcesContent":["import React from \"react\";\nimport { LoadingOutlined } from \"@ant-design/icons\";\nimport { Spin } from \"antd\";\n\nconst Spinner = () => {\n return (\n <Spin\n indicator={\n <LoadingOutlined style={{ fontSize: 30, color: \"white\" }} spin />\n }\n />\n );\n};\n\nexport default Spinner;\n","import React from \"react\";\nimport Spinner from \"./Spinner\";\n\nconst Button = ({ text, onClick, isLoading }) => {\n return (\n <div>\n {isLoading ? (\n <div className=\"button\" style={{ paddingTop: 10 }}>\n <Spinner />\n </div>\n ) : (\n <div>\n <input\n type=\"submit\"\n className=\"button\"\n value={text}\n onClick={onClick}\n />\n </div>\n )}\n </div>\n );\n};\n\nexport default Button;\n","import React from \"react\";\nimport Button from \"../../Components/Button\";\nimport { Confirm } from \"../../Components/Alert\";\nimport { base_url } from \"../../Components/consts/api\";\nimport { connect, useDispatch } from \"react-redux\";\nimport Loader from \"../../Components/Loader\";\n\nconst Home = (props) => {\n const dispatch = useDispatch();\n const openAlert = () => {\n const api = base_url + \"getCmenus\" + \"&usertype=\" + props.user.fusertype;\n Confirm(api, dispatch);\n };\n\n return (\n <div className=\"container-fluid\">\n <Button text=\"Open\" onClick={() => openAlert()} />\n {/* <Loader /> */}\n </div>\n );\n};\n\nconst mapStateToProps = (state) => {\n return {\n user: state.AuthReducer.userData,\n };\n};\n\nexport default connect(mapStateToProps)(Home);\n"],"names":["Spinner","_jsx","Spin","indicator","LoadingOutlined","style","fontSize","color","spin","_ref","text","onClick","isLoading","children","className","paddingTop","type","value","connect","state","user","AuthReducer","userData","props","dispatch","useDispatch","Button","openAlert","api","base_url","fusertype","Confirm"],"sourceRoot":""}
|