All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mockserver.dashboard.static.js.main.defc53a6.chunk.js.map Maven / Gradle / Ivy

There is a newer version: 5.15.0
Show newest version
{"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","_step","items","undefined","_iterator","_createForOfIteratorHelper","s","n","done","_step2","rawItem","value","valueSet","_iterator2","values","err","e","f","name","push","loadData","_ref","_ref$host","_ref$port","_ref$secure","_ref$requestMatcher","requestMatcher","requestFilter","method","path","keepAlive","headers","queryStringParameters","cookies","enabled","_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","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$collapsed","collapsed","_this$props$jsonItem","jsonItem","_this$props$descripti","description","_this$props$display","_this$props$enableCli","enableClipboard","_this$props$textStyle","textStyle","Array","isArray","jsonDiv","json","maxWidth","first","object","second","textOverflow","addDescription","main_default","src","whiteSpace","top","theme","iconStyle","indentWidth","shouldCollapse","displayObjectSize","displayDataTypes","onEdit","onAdd","onDelete","LogMessage","addLinks","urlMatch","match","matchedUrl","substr","indexOf","textDecoration","href","target","rel","length","_this$props$logMessag","logMessage","_this$props$group","group","_this$props$indent","indent","className","borderStyle","borderColor","marginLeft","marginTop","marginRight","paddingBottom","item","cellStyle","Object","assign","fontSize","position","messageParts","messagePart","argument","multiline","because","line","reason","lineHeight","viewBox","fill","height","JsonItem_JsonItem","letterSpacing","renderItem","ListHeader","_this$props$text","text","font","LogList","_this$props$header","header","_this$props$items","ListHeader_ListHeader","overflowY","maxHeight","minHeight","borderRadius","borderCollapse","LogMessage_LogMessage","JsonList","_this$props$reverseIn","reverseIndex","Grid","_this$props$entities","_this$props$entities$","activeExpectations","_this$props$entities$2","proxiedRequests","_this$props$entities$3","recordedRequests","_this$props$entities$4","logMessages","borderWidth","LogList_LogList","JsonList_JsonList","float","borderRightStyle","borderRightWidth","_state$entities","_state$entities$activ","_state$entities$proxi","_state$entities$recor","_state$entities$logMe","_state$requestFilter","App","components_RequestFilter","containers_Grid","window","location","search","parse","hostname","protocol","store","configureStore","render","es","App_App","document","getElementById","arguments","action","rootReducer","combineReducers","middleware_socket","socket","connected","close","connectSocket","next","WebSocket","onmessage","event","JSON","data","onclose","onopen","readyState","send","stringify","exposeState","objectSpread","getState","preloadedState","createStore","applyMiddleware","thunk"],"mappings":"6EACIA,EAAOC,QAAUC,EAAQ,4ECD7BC,EAAAC,EAAAC,EAAA,sBAAAC,IAAAH,EAAAC,EAAAC,EAAA,sBAAAE,IAAAJ,EAAAC,EAAAC,EAAA,sBAAAG,IAAAL,EAAAC,EAAAC,EAAA,sBAAAI,IAAAN,EAAAC,EAAAC,EAAA,sBAAAK,IAAAP,EAAAC,EAAAC,EAAA,sBAAAM,IAAAR,EAAAC,EAAAC,EAAA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,EAAQe","file":"static/js/main.defc53a6.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
\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';\nimport PropTypes from \"prop-types\";\nimport './jsonItem.css';\n\nexport default class JsonItem extends Component {\n static propTypes = {\n description: PropTypes.oneOfType([PropTypes.object.isRequired, PropTypes.string.isRequired]),\n jsonItem: PropTypes.oneOfType([PropTypes.string.isRequired, PropTypes.object.isRequired, PropTypes.array.isRequired]).isRequired,\n };\n\n render() {\n const {\n collapsed = 0,\n jsonItem = null,\n description = null,\n display = \"inline-block\",\n enableClipboard = true,\n textStyle = {}\n } = this.props;\n\n function addDescription(description, jsonDiv) {\n if (description.json) {\n return
\n \n \n \n {jsonDiv}\n
;\n } else {\n return (
\n \n {jsonDiv}\n
);\n }\n }\n\n if (typeof jsonItem === \"object\" || Array.isArray(jsonItem)) {\n if (description) {\n return addDescription(description, {\n return false\n }}\n enableClipboard={enableClipboard}\n displayObjectSize={false}\n displayDataTypes={false}\n onEdit={false}\n onAdd={false}\n onDelete={false}/>);\n } else {\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 === \"string\") {\n return (
{jsonItem}
);\n } else {\n return (
);\n }\n }\n};\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport JsonItem from \"./JsonItem\";\nimport './log.css';\n\nexport default class LogMessage extends Component {\n static propTypes = {\n logMessage: PropTypes.oneOfType([PropTypes.object.isRequired, PropTypes.array.isRequired]).isRequired,\n group: PropTypes.object\n };\n\n render() {\n\n function addLinks(value) {\n var urlMatch = value.match(\"(http){1}s?://[^\\\\s]*\");\n if (urlMatch) {\n let matchedUrl = urlMatch[0];\n return ({value.substr(0, value.indexOf(matchedUrl))}{matchedUrl}{value.substr(value.indexOf(matchedUrl) + matchedUrl.length)});\n } else {\n return value;\n }\n }\n\n const {\n logMessage = {},\n group = false,\n indent = false,\n } = this.props;\n\n function renderItem(logMessage) {\n let cellStyle = {\n display: \"table-cell\",\n fontFamily: \"monospace, Roboto, sans-serif\"\n };\n return
\n
{logMessage.description}
\n {logMessage.messageParts ? logMessage.messageParts.map((messagePart) => {\n if (messagePart.value) {\n if (!messagePart.argument) {\n return
{addLinks(messagePart.value)}
;\n } else {\n if (messagePart.multiline || messagePart.because) {\n let line = messagePart.value.map(\n (reason, index) => {\n let color = \"rgb(255, 255, 255)\";\n if (messagePart.because) {\n if (reason.indexOf(\"matched\") !== -1) {\n color = \"rgb(107, 199, 118)\";\n } else if (reason.indexOf(\"didn't match\") !== -1) {\n color = \"rgb(216, 88, 118)\";\n } else {\n color = \"rgb(255, 255, 255)\";\n }\n }\n return {addLinks(reason)}\n }\n );\n return
\n
\n \n \n \n \n \n \n \n ...\n \n \n {line}\n
\n
;\n } else if (messagePart.json) {\n return ;\n } else {\n return
{addLinks(messagePart.value)}
;\n }\n }\n } else {\n return ;\n }\n }) :
\n \n \n \n \n \n \n ...
}\n
;\n }\n\n if (group) {\n return (
\n \n
{logMessage.map((item, index) => )}
\n
);\n } else {\n return renderItem(logMessage);\n }\n }\n};\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\n\nexport default class ListHeader extends Component {\n static propTypes = {\n text: PropTypes.string.isRequired\n };\n\n render() {\n const {\n text = \"\"\n } = this.props;\n return (\n
{text}
\n )\n }\n};\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport LogMessage from \"../components/LogMessage\";\nimport ListHeader from \"../components/ListHeader\";\n\nexport default class LogList extends Component {\n static propTypes = {\n header: PropTypes.string.isRequired,\n items: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.shape({\n key: PropTypes.string.isRequired,\n value: PropTypes.object.isRequired\n })).isRequired, PropTypes.array.isRequired]).isRequired,\n };\n\n render() {\n const {\n header = \"\",\n items = [],\n } = this.props;\n return (\n
\n \n
\n
{items.map((item, index) => )}
\n
\n
\n );\n }\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport ListHeader from \"../components/ListHeader\";\nimport JsonItem from \"../components/JsonItem\";\n\nexport default class JsonList extends Component {\n static propTypes = {\n header: PropTypes.string.isRequired,\n items: PropTypes.arrayOf(PropTypes.shape({\n key: PropTypes.string.isRequired,\n description: PropTypes.oneOfType([PropTypes.object.isRequired, PropTypes.string.isRequired]).isRequired,\n value: PropTypes.object.isRequired\n })).isRequired,\n };\n\n render() {\n const {\n header = \"\",\n items = [],\n reverseIndex = true\n } = this.props;\n return (\n
\n \n
\n {items.map((item, index) => {\n return ;\n })}\n
\n
\n );\n }\n};\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {connect} from 'react-redux';\nimport LogList from \"../containers/LogList\";\nimport JsonList from \"../containers/JsonList\";\nimport './grid.css';\n\nclass Grid extends Component {\n static propTypes = {\n entities: PropTypes.shape({\n activeExpectations: PropTypes.array.isRequired,\n proxiedRequests: PropTypes.array.isRequired,\n recordedRequests: PropTypes.array.isRequired,\n logMessages: PropTypes.array.isRequired,\n }).isRequired,\n requestFilter: PropTypes.object.isRequired,\n };\n\n render() {\n const {\n entities: {\n activeExpectations = [],\n proxiedRequests = [],\n recordedRequests = [],\n logMessages = [],\n },\n } = this.props;\n return (\n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n
\n );\n }\n}\n\nconst mapStateToProps = (state) => {\n const {\n activeExpectations = [],\n proxiedRequests = [],\n recordedRequests = [],\n logMessages = [],\n } = state.entities;\n\n const {\n requestFilter = {}\n } = state;\n\n return {\n entities: {\n activeExpectations,\n proxiedRequests,\n recordedRequests,\n logMessages,\n },\n requestFilter\n }\n};\n\nconst mapDispatchToProps = {};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Grid)\n","import React, {Component} from 'react';\nimport RequestFilter from \"../components/RequestFilter\";\nimport Grid from './Grid';\nimport {parse} from 'query-string';\n\nexport default class App extends Component {\n static host() {\n if (window.location.search && parse(window.location.search).host) {\n return parse(window.location.search).host;\n } else if (window.location.hostname) {\n return window.location.hostname;\n }\n return window.location.hostname;\n }\n\n static port() {\n if (window.location.search && parse(window.location.search).port) {\n return parse(window.location.search).port;\n } else if (window.location.port) {\n return window.location.port;\n } else if (window.location.protocol === \"https:\") {\n return 443;\n } else {\n return 80;\n }\n }\n\n static secure() {\n if (window.location.protocol) {\n return window.location.protocol === \"https:\";\n } else {\n return false;\n }\n }\n\n render() {\n return (
\n \n \n
)\n }\n}\n","import React from 'react'\nimport {render} from 'react-dom'\nimport {Provider} from 'react-redux'\nimport App from './containers/App'\nimport configureStore from './store/configureStore'\nimport {MuiThemeProvider} from \"material-ui\";\n\nconst store = configureStore();\n\nrender(\n \n \n \n \n ,\n document.getElementById('app')\n);\n","import {MESSAGE_RECEIVED} from '../actions'\n\nconst entities = (state = {\n activeExpectations: [],\n proxiedRequests: [],\n recordedRequests: [],\n logMessages: []\n}, action) => {\n if (action.type === MESSAGE_RECEIVED && action.entities) {\n return {\n activeExpectations: action.entities.activeExpectations ? action.entities.activeExpectations : [],\n proxiedRequests: action.entities.proxiedRequests ? action.entities.proxiedRequests : [],\n recordedRequests: action.entities.recordedRequests ? action.entities.recordedRequests : [],\n logMessages: action.entities.logMessages\n };\n }\n return state;\n};\n\nexport default entities","import {combineReducers} from 'redux'\nimport {reducer as form} from 'redux-form'\nimport entities from './entities'\n\nconst rootReducer = combineReducers({\n entities,\n form,\n});\n\nexport default rootReducer","import {CONNECT_SOCKET, DISCONNECT_SOCKET, SEND_MESSAGE, webSocketMessageReceived} from '../actions'\n\nexport default (function () {\n let socket = null;\n let connected = false;\n\n let disconnectSocket = function () {\n connected = false;\n if (socket != null) {\n socket.close()\n }\n socket = null\n };\n let connectSocket = function (action, next) {\n if (socket != null) {\n socket.close()\n }\n socket = new WebSocket((action.secure ? \"wss\" : \"ws\") + \"://\" + action.host + \":\" + action.port + \"/_mockserver_ui_websocket\");\n socket.onmessage = (event) => {\n next(webSocketMessageReceived(\n JSON.parse(event.data)\n ))\n };\n socket.onclose = () => {\n disconnectSocket();\n };\n socket.onopen = () => {\n connected = true;\n if (socket && action.message && socket.readyState === 1) {\n socket.send(JSON.stringify(action.message))\n }\n }\n };\n return store => next => action => {\n switch (action.type) {\n case CONNECT_SOCKET:\n connectSocket(action, next);\n break;\n case DISCONNECT_SOCKET:\n disconnectSocket();\n break;\n case SEND_MESSAGE:\n if (connected) {\n socket.send(JSON.stringify(action.message))\n } else {\n connectSocket(action, next)\n }\n break;\n default:\n // listen for changes here\n return next(action)\n }\n }\n})()","export default store => next => action => {\n next({ ...action, getState: store.getState });\n}","import {applyMiddleware, createStore} from 'redux'\nimport thunk from 'redux-thunk'\nimport rootReducer from '../reducers'\nimport socket from '../middleware/socket'\nimport exposeState from \"../middleware/exposeState\";\n\nconst configureStore = preloadedState => {\n return createStore(\n rootReducer,\n preloadedState,\n applyMiddleware(thunk, socket, exposeState)\n )\n};\n\nexport default configureStore\n"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy