Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.mockserver.dashboard.static.js.main.3a73a63b.chunk.js.map Maven / Gradle / Ivy
{"version":3,"sources":["store/configureStore.js","actions/index.js","components/RequestFilter.js","components/JsonItem.js","components/LogMessage.js","components/ListHeader.js","containers/LogList.js","containers/JsonList.js","containers/Grid.js","containers/App.js","index.js","reducers/entities.js","reducers/index.js","middleware/socket.js","middleware/exposeState.js","store/configureStore.prod.js"],"names":["module","exports","require","__webpack_require__","d","__webpack_exports__","CONNECT_SOCKET","SEND_MESSAGE","sendMessage","MESSAGE_RECEIVED","webSocketMessageReceived","DISCONNECT_SOCKET","disconnectSocket","message","host","port","secure","dispatch","type","sendWebSocketMessage","entities","filterNullsMultiValue","rawItems","items","undefined","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","Symbol","iterator","next","done","rawItem","value","valueSet","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_step2","_iterator2","values","err","return","name","push","loadData","_ref","_ref$host","_ref$port","_ref$secure","_ref$requestMatcher","requestMatcher","requestFilter","method","path","keepAlive","headers","queryStringParameters","cookies","enabled","_iteratorNormalCompletion3","_didIteratorError3","_iteratorError3","_step3","_iterator3","filterNullsSingleValue","RequestFilter","renderValues","_ref2","fields","disabled","react_default","a","createElement","style","width","padding","paddingRight","display","verticalAlign","map","field","index","key","Field","fullWidth","component","TextField","hintText","onChange","e","console","log","floatingLabelText","index_es","minWidth","onClick","remove","remove_default","add_default","renderKeysToMultiValues","_ref3","title","color","paddingTop","textAlign","fontFamily","concat","AutoComplete","openOnFocus","filter","MUIAutoComplete","fuzzyFilter","dataSource","FieldArray","_this","mini","renderKeysToValues","_ref4","this","props","nextProps","expanded","margin","actAsExpander","showExpandableButton","backgroundColor","expandable","Toggle","label","labelPosition","marginBottom","paddingLeft","SelectField","primaryText","overflow","Component","selector","formValueSelector","reduxForm","form","initialValues","destroyOnUnmount","mapDispatchToProps","connect","state","requestFilterExpanded","pure","JsonItem","_this$props","_this$props$index","_this$props$displayIn","displayIndex","_this$props$collapsed","collapsed","_this$props$jsonItem","jsonItem","_this$props$display","_this$props$enableCli","enableClipboard","_this$props$textStyle","textStyle","Array","isArray","main_default","src","whiteSpace","theme","iconStyle","indentWidth","shouldCollapse","displayObjectSize","displayDataTypes","onEdit","onAdd","onDelete","maxWidth","textOverflow","calculateIndex","length","fontSize","lineHeight","position","top","left","counter","httpObject","httpRequest","statusCode","reasonPhrase","LogMessage","cellStyle","paddingBottom","borderRadius","_this$props$logMessag","logMessage","_this$props$logMessag2","logMessageMaxWidth","formattedMessage","messageFormatter","messageFormat","arguments","noBorderTop","children","timestamp","replace","Date","toISOString","split","trim","selectStyle","Object","assign","div","messageArguments","paddingWidth","messageParts","messageDiv","messagePartIndex","indexOf","reason","JSON","parse","JsonItem_JsonItem","paddingIndex","borderTopStyle","borderTopWidth","borderTopColor","ListHeader","_this$props$text","text","font","LogList","_this$props$header","header","_this$props$items","ListHeader_ListHeader","overflowY","maxHeight","minHeight","borderCollapse","item","LogMessage_LogMessage","JsonList","_this$props$reverseIn","reverseIndex","Grid","_this$props$entities","_this$props$entities$","activeExpectations","_this$props$entities$2","recordedExpectations","_this$props$entities$3","recordedRequests","_this$props$entities$4","logMessages","_this$props$entities$5","className","borderStyle","borderWidth","LogList_LogList","JsonList_JsonList","float","borderRightStyle","borderRightWidth","transform","result","expectation","httpResponse","_state$entities","_state$entities$activ","_state$entities$recor","_state$entities$recor2","_state$entities$logMe","_state$entities$logMe2","_state$requestFilter","App","components_RequestFilter","containers_Grid","window","location","search","hostname","protocol","store","configureStore","render","es","App_App","document","getElementById","action","rootReducer","combineReducers","middleware_socket","socket","connected","close","connectSocket","WebSocket","onmessage","event","data","onclose","onopen","readyState","send","stringify","exposeState","objectSpread","getState","preloadedState","createStore","applyMiddleware","thunk"],"mappings":"6EACIA,EAAOC,QAAUC,EAAQ,4ECD7B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b,YCFAiB,EAAA,SAAAxB,GAAK,OAAI,SAAA9P,GAAI,OAAI,SAAAqQ,GAC5BrQ,EAAKqL,OAAAkG,EAAA,EAAAlG,CAAA,GAAKgF,EAAN,CAAcmB,SAAU1B,EAAM0B,eCavBzB,UARQ,SAAA0B,GACnB,OAAOC,YACHpB,EACAmB,EACAE,YAAgBC,IAAOnB,EAAQa","file":"static/js/main.3a73a63b.chunk.js","sourcesContent":["if (process.env.NODE_ENV === 'production') {\n module.exports = require('./configureStore.prod')\n} else {\n module.exports = require('./configureStore.dev')\n}\n","export const CONNECT_SOCKET = 'CONNECT_SOCKET';\n\nconst connectWebSocket = (host, port, secure, contextPath) => ({\n type: CONNECT_SOCKET,\n host: host,\n port: port,\n secure: secure,\n contextPath: contextPath\n});\n\nexport const connectSocket = (host, port, secure, contextPath) => (dispatch) => {\n return dispatch(connectWebSocket(host, port, secure, contextPath));\n};\n\nexport const SEND_MESSAGE = 'SEND_MESSAGE';\n\nconst sendWebSocketMessage = (message, host, port, secure) => ({\n type: SEND_MESSAGE,\n message: message,\n host: host,\n port: port,\n secure: secure\n});\n\nexport const sendMessage = (message, host, port, secure) => (dispatch) => {\n return dispatch(sendWebSocketMessage(message, host, port, secure));\n};\n\nexport const MESSAGE_RECEIVED = 'MESSAGE_RECEIVED';\n\nexport const webSocketMessageReceived = (message) => ({\n type: MESSAGE_RECEIVED,\n entities: message\n});\n\nexport const DISCONNECT_SOCKET = 'DISCONNECT_SOCKET';\n\nconst disconnectWebSocket = () => ({\n type: DISCONNECT_SOCKET\n});\n\nexport const disconnectSocket = () => (dispatch) => {\n return dispatch(disconnectWebSocket());\n};\n","import React, {Component} from 'react';\nimport {connect} from 'react-redux';\nimport {Field, FieldArray, formValueSelector, reduxForm} from 'redux-form';\nimport {\n AutoComplete as MUIAutoComplete,\n Card,\n CardHeader,\n CardText,\n FloatingActionButton,\n MenuItem,\n IconButton\n} from 'material-ui';\nimport ContentAdd from 'material-ui/svg-icons/content/add';\nimport ContentRemove from 'material-ui/svg-icons/content/remove';\nimport PropTypes from \"prop-types\";\nimport {AutoComplete, SelectField, TextField, Toggle,} from 'redux-form-material-ui';\nimport {disconnectSocket, sendMessage} from \"../actions\";\n\nlet filterNullsMultiValue = function (rawItems) {\n let items = undefined;\n for (let rawItem of rawItems) {\n let valueSet = false;\n for (let value of rawItem.values) {\n if (value) {\n valueSet = true;\n }\n }\n if (rawItem.name && valueSet) {\n if (!items) {\n items = [];\n }\n items.push(rawItem);\n }\n }\n return items;\n};\nlet filterNullsSingleValue = function (rawItems) {\n let items = undefined;\n for (let rawItem of rawItems) {\n if (rawItem.name && rawItem.value) {\n if (!items) {\n items = [];\n }\n items.push(rawItem);\n }\n }\n return items;\n};\nconst loadData = ({host = \"127.0.0.1\", port = \"1080\", secure = true, requestMatcher = {}, sendMessage}) => {\n let requestFilter = {\n method: undefined,\n path: undefined,\n keepAlive: undefined,\n secure: undefined,\n headers: undefined,\n queryStringParameters: undefined,\n cookies: undefined,\n };\n if (requestMatcher.enabled) {\n requestFilter = {\n method: requestMatcher.method,\n path: requestMatcher.path,\n keepAlive: requestMatcher.keepAlive ? true : undefined,\n secure: requestMatcher.secure ? true : undefined,\n headers: undefined,\n queryStringParameters: undefined,\n cookies: undefined,\n };\n requestFilter.cookies = filterNullsSingleValue(requestMatcher.cookies);\n requestFilter.headers = filterNullsMultiValue(requestMatcher.headers);\n requestFilter.queryStringParameters = filterNullsMultiValue(requestMatcher.queryStringParameters);\n }\n sendMessage(requestFilter, host, port, secure);\n};\n\nclass RequestFilter extends Component {\n static propTypes = {\n host: PropTypes.string.isRequired,\n port: PropTypes.string.isRequired,\n secure: PropTypes.bool.isRequired\n };\n\n componentWillUnmount() {\n this.props.disconnectSocket()\n }\n\n componentWillReceiveProps(nextProps) {\n if (nextProps.requestMatcher !== this.props.requestMatcher || nextProps.expanded !== this.props.expanded) {\n loadData(nextProps)\n }\n }\n\n renderValues = ({fields, disabled}) => {\n return (\n \n {fields.map((field, index) =>
\n\n {\n console.log(e)\n }}\n floatingLabelText=\"Value\"\n />\n {index > 0 ?\n fields.remove(index)}>\n \n \n : \"\"}\n\n
)}\n
fields.push(\"\")}>\n \n \n
)\n };\n renderKeysToMultiValues = ({fields, disabled, title}) => {\n return (\n
{title}\n
\n
\n {fields.map((field, index) =>
\n
\n \n
\n
\n {index > 0 ? fields.remove(index)}>\n \n : \"\"}\n )}\n
fields.push({\n values: [\"\"]\n })}>\n \n \n
\n
)\n };\n renderKeysToValues = ({fields, disabled, title}) => {\n return (\n
{title}\n
\n
\n {fields.map((field, index) =>
\n
\n \n
\n
\n \n
\n {index > 0 ?
fields.remove(index)}>\n \n : \"\"}\n
)}\n
fields.push({})}>\n \n \n
\n
)\n };\n\n render() {\n const disabled = !this.props.requestMatcher.enabled;\n return (\n \n
\n \n \n \n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n
\n \n
\n
\n
\n
\n
\n
\n
\n \n \n
\n );\n }\n}\n\nconst formName = 'requestFilter';\nconst selector = formValueSelector(formName);\n\nRequestFilter = reduxForm({\n form: formName,\n initialValues: {\n headers: [{\n values: [\"\"]\n }],\n queryStringParameters: [{\n values: [\"\"]\n }],\n cookies: [{}],\n },\n destroyOnUnmount: false\n})(RequestFilter);\n\nconst mapStateToProps = (state, props) => {\n return {\n requestMatcher: selector(state, 'enabled', 'method', 'path', 'keepAlive', 'secure', 'headers', 'queryStringParameters', 'cookies'),\n expanded: state.requestFilterExpanded,\n }\n};\n\nconst mapDispatchToProps = {\n sendMessage,\n disconnectSocket\n};\n\nRequestFilter = connect(\n mapStateToProps,\n mapDispatchToProps,\n undefined,\n {pure: true}\n)(RequestFilter);\n\nexport default RequestFilter;","import React, {Component} from 'react';\nimport ReactJson from 'react-json-view';\n\nexport default class JsonItem extends Component {\n static calculateIndex(counter, jsonItem) {\n let httpObject = jsonItem;\n let index = null;\n if (httpObject) {\n if (httpObject.httpRequest) {\n httpObject = httpObject.httpRequest;\n }\n if (httpObject.method) {\n index = httpObject.method;\n }\n if (httpObject.path) {\n const value = httpObject.path;\n if (index) {\n index = index + \" \" + value;\n } else {\n index = value;\n }\n }\n if (httpObject.statusCode) {\n const value = httpObject.statusCode;\n if (index) {\n index = index + \" \" + value;\n } else {\n index = value;\n }\n }\n if (httpObject.reasonPhrase) {\n const value = httpObject.reasonPhrase;\n if (index) {\n index = index + \" \" + value;\n } else {\n index = value;\n }\n }\n }\n return index;\n }\n\n render() {\n const {\n index = 0,\n displayIndex = true,\n collapsed = 0,\n jsonItem = null,\n display = \"block\",\n enableClipboard = true,\n textStyle = {}\n } = this.props;\n\n if (Array.isArray(jsonItem)) {\n return ( {\n return false\n }}\n enableClipboard={enableClipboard}\n displayObjectSize={false}\n displayDataTypes={false}\n onEdit={false}\n onAdd={false}\n onDelete={false}\n />);\n } else if (typeof jsonItem === \"object\") {\n return ({JsonItem.calculateIndex(index != null ? \"\" + index : index, jsonItem)}