diff --git a/addon/web/client/build/asset-manifest.json b/addon/web/client/build/asset-manifest.json index bd472aa..bcde24c 100644 --- a/addon/web/client/build/asset-manifest.json +++ b/addon/web/client/build/asset-manifest.json @@ -1,25 +1,25 @@ { "files": { - "main.css": "/static/css/main.69086f57.chunk.css", - "main.js": "/static/js/main.ae5743ae.chunk.js", - "main.js.map": "/static/js/main.ae5743ae.chunk.js.map", - "runtime-main.js": "/static/js/runtime-main.2c16e99a.js", - "runtime-main.js.map": "/static/js/runtime-main.2c16e99a.js.map", + "main.css": "/static/css/main.9aa5bcb2.chunk.css", + "main.js": "/static/js/main.dab9e469.chunk.js", + "main.js.map": "/static/js/main.dab9e469.chunk.js.map", + "runtime-main.js": "/static/js/runtime-main.476c72c1.js", + "runtime-main.js.map": "/static/js/runtime-main.476c72c1.js.map", "static/css/2.4659568d.chunk.css": "/static/css/2.4659568d.chunk.css", - "static/js/2.7f8aa84a.chunk.js": "/static/js/2.7f8aa84a.chunk.js", - "static/js/2.7f8aa84a.chunk.js.map": "/static/js/2.7f8aa84a.chunk.js.map", - "static/js/3.289b8867.chunk.js": "/static/js/3.289b8867.chunk.js", - "static/js/3.289b8867.chunk.js.map": "/static/js/3.289b8867.chunk.js.map", + "static/js/2.90d996cd.chunk.js": "/static/js/2.90d996cd.chunk.js", + "static/js/2.90d996cd.chunk.js.map": "/static/js/2.90d996cd.chunk.js.map", + "static/js/3.fdc4294f.chunk.js": "/static/js/3.fdc4294f.chunk.js", + "static/js/3.fdc4294f.chunk.js.map": "/static/js/3.fdc4294f.chunk.js.map", "index.html": "/index.html", "static/css/2.4659568d.chunk.css.map": "/static/css/2.4659568d.chunk.css.map", - "static/css/main.69086f57.chunk.css.map": "/static/css/main.69086f57.chunk.css.map", - "static/js/2.7f8aa84a.chunk.js.LICENSE.txt": "/static/js/2.7f8aa84a.chunk.js.LICENSE.txt" + "static/css/main.9aa5bcb2.chunk.css.map": "/static/css/main.9aa5bcb2.chunk.css.map", + "static/js/2.90d996cd.chunk.js.LICENSE.txt": "/static/js/2.90d996cd.chunk.js.LICENSE.txt" }, "entrypoints": [ - "static/js/runtime-main.2c16e99a.js", + "static/js/runtime-main.476c72c1.js", "static/css/2.4659568d.chunk.css", - "static/js/2.7f8aa84a.chunk.js", - "static/css/main.69086f57.chunk.css", - "static/js/main.ae5743ae.chunk.js" + "static/js/2.90d996cd.chunk.js", + "static/css/main.9aa5bcb2.chunk.css", + "static/js/main.dab9e469.chunk.js" ] } \ No newline at end of file diff --git a/addon/web/client/build/index.html b/addon/web/client/build/index.html index 8d943d1..d7c59d5 100644 --- a/addon/web/client/build/index.html +++ b/addon/web/client/build/index.html @@ -1 +1 @@ -
"+(e=x,(e?e.replace(/<|>|&|"|'/g,(function(e){return s[e]})):e)+"")}}))}return u.createElement("div",a({},O,{dangerouslySetInnerHTML:{__html:'
"+this._pretty(d,x,i,+l,E)+""}}))},t.prototype._pretty=function(e,t,n,r,a){var o=JSON.stringify(t,"function"===typeof n?n:null,isNaN(r)?2:r);return o?o.replace(/&/g,"&").replace(/\\"([^,])/g,"\\"$1").replace(//g,">").replace(/^( *)("[^"]+": )?("[^"]*"|[\w.+-]*)?([,[{]|\[\s*\],?|\{\s*\},?)?$/gm,this._replace.bind(null,e,a)):o},t.prototype._replace=function(e,t,n,r,a,o,i){var l="",u='",s='",f='",d='",p=r||"";return a&&(p=p+'"'+u+a.replace(/^"|":\s$/g,"")+'": '),o&&(p="true"===o||"false"===o?p+d+o+l:p+('"'===o[0]?f:s)+o+l),p+(i||"")},t.propTypes={data:l.any,json:l.any,replacer:l.func,silent:l.bool,space:l.oneOfType([l.number,l.string]),theme:l.object,themeClassName:l.string,onJSONPrettyError:l.func},t.defaultProps={data:"",json:"",silent:!0,space:2,themeClassName:"__json-pretty__"},t}(u.Component);e.exports=f},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(28);function a(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=Object(r.a)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var a=0,o=function(){};return{s:o,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return l=e.done,e},e:function(e){u=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(u)throw i}}}}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";var r=n(1).isInBrowser,a=new(n(2))(r?document.body:null);a.setStateFromDOM(null),a.listenToDOM(),r&&(window.scrollMonitor=a),e.exports=a},function(e,t){"use strict";t.VISIBILITYCHANGE="visibilityChange",t.ENTERVIEWPORT="enterViewport",t.FULLYENTERVIEWPORT="fullyEnterViewport",t.EXITVIEWPORT="exitViewport",t.PARTIALLYEXITVIEWPORT="partiallyExitViewport",t.LOCATIONCHANGE="locationChange",t.STATECHANGE="stateChange",t.eventTypes=[t.VISIBILITYCHANGE,t.ENTERVIEWPORT,t.FULLYENTERVIEWPORT,t.EXITVIEWPORT,t.PARTIALLYEXITVIEWPORT,t.LOCATIONCHANGE,t.STATECHANGE],t.isOnServer="undefined"==typeof window,t.isInBrowser=!t.isOnServer,t.defaultOffsets={top:0,bottom:0}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e){return u?0:e===document.body?window.innerHeight||document.documentElement.clientHeight:e.clientHeight}function o(e){return u?0:e===document.body?Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.documentElement.clientHeight):e.scrollHeight}function i(e){return u?0:e===document.body?window.pageYOffset||document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop}var l=n(1),u=l.isOnServer,c=l.isInBrowser,s=l.eventTypes,f=n(3),d=!1;if(c)try{var p=Object.defineProperty({},"passive",{get:function(){d=!0}});window.addEventListener("test",null,p)}catch(e){}var h=!!d&&{capture:!1,passive:!0},m=function(){function e(t,n){function l(){if(p.viewportTop=i(t),p.viewportBottom=p.viewportTop+p.viewportHeight,p.documentHeight=o(t),p.documentHeight!==c){for(f=p.watchers.length;f--;)p.watchers[f].recalculateLocation();c=p.documentHeight}}function u(){for(d=p.watchers.length;d--;)p.watchers[d].update();for(d=p.watchers.length;d--;)p.watchers[d].triggerCallbacks()}r(this,e);var c,f,d,p=this;this.item=t,this.watchers=[],this.viewportTop=null,this.viewportBottom=null,this.documentHeight=o(t),this.viewportHeight=a(t),this.DOMListener=function(){e.prototype.DOMListener.apply(p,arguments)},this.eventTypes=s,n&&(this.containerWatcher=n.create(t)),this.update=function(){l(),u()},this.recalculateLocations=function(){this.documentHeight=0,this.update()}}return e.prototype.listenToDOM=function(){c&&(window.addEventListener?(this.item===document.body?window.addEventListener("scroll",this.DOMListener,h):this.item.addEventListener("scroll",this.DOMListener,h),window.addEventListener("resize",this.DOMListener)):(this.item===document.body?window.attachEvent("onscroll",this.DOMListener):this.item.attachEvent("onscroll",this.DOMListener),window.attachEvent("onresize",this.DOMListener)),this.destroy=function(){window.addEventListener?(this.item===document.body?(window.removeEventListener("scroll",this.DOMListener,h),this.containerWatcher.destroy()):this.item.removeEventListener("scroll",this.DOMListener,h),window.removeEventListener("resize",this.DOMListener)):(this.item===document.body?(window.detachEvent("onscroll",this.DOMListener),this.containerWatcher.destroy()):this.item.detachEvent("onscroll",this.DOMListener),window.detachEvent("onresize",this.DOMListener))})},e.prototype.destroy=function(){},e.prototype.DOMListener=function(e){this.setStateFromDOM(e)},e.prototype.setStateFromDOM=function(e){var t=i(this.item),n=a(this.item),r=o(this.item);this.setState(t,n,r,e)},e.prototype.setState=function(e,t,n,r){var a=t!==this.viewportHeight||n!==this.contentHeight;if(this.latestEvent=r,this.viewportTop=e,this.viewportHeight=t,this.viewportBottom=e+t,this.contentHeight=n,a)for(var o=this.watchers.length;o--;)this.watchers[o].recalculateLocation();this.updateAndTriggerWatchers(r)},e.prototype.updateAndTriggerWatchers=function(e){for(var t=this.watchers.length;t--;)this.watchers[t].update();for(t=this.watchers.length;t--;)this.watchers[t].triggerCallbacks(e)},e.prototype.createCustomContainer=function(){return new e},e.prototype.createContainer=function(t){"string"==typeof t?t=document.querySelector(t):t&&t.length>0&&(t=t[0]);var n=new e(t,this);return n.setStateFromDOM(),n.listenToDOM(),n},e.prototype.create=function(e,t){"string"==typeof e?e=document.querySelector(e):e&&e.length>0&&(e=e[0]);var n=new f(this,e,t);return this.watchers.push(n),n},e.prototype.beget=function(e,t){return this.create(e,t)},e}();e.exports=m},function(e,t,n){"use strict";function r(e,t,n){function r(e,t){if(0!==e.length)for(b=e.length;b--;)(y=e[b]).callback.call(g,t,g),y.isOne&&e.splice(b,1)}var a,h,m,v,b,y,g=this;this.watchItem=t,this.container=e,this.offsets=n?n===+n?{top:n,bottom:n}:{top:n.top||p.top,bottom:n.bottom||p.bottom}:p,this.callbacks={};for(var w=0,k=d.length;w
"+(e=x,(e?e.replace(/<|>|&|"|'/g,(function(e){return s[e]})):e)+"")}}))}return u.createElement("div",a({},O,{dangerouslySetInnerHTML:{__html:'
"+this._pretty(d,x,l,+i,E)+""}}))},t.prototype._pretty=function(e,t,n,r,a){var o=JSON.stringify(t,"function"===typeof n?n:null,isNaN(r)?2:r);return o?o.replace(/&/g,"&").replace(/\\"([^,])/g,"\\"$1").replace(//g,">").replace(/^( *)("[^"]+": )?("[^"]*"|[\w.+-]*)?([,[{]|\[\s*\],?|\{\s*\},?)?$/gm,this._replace.bind(null,e,a)):o},t.prototype._replace=function(e,t,n,r,a,o,l){var i="
\" + xss(obj) + \"\"\n } })));\n }\n }\n return (React.createElement(\"div\", __assign({}, rest, { dangerouslySetInnerHTML: { __html: \"
\" + this._pretty(theme, obj, replacer, +space, styles) + \"\"\n } })));\n };\n // JSON =》 HTML转换器\n JSONPretty.prototype._pretty = function (theme, obj, replacer, space, styles) {\n // 逐行匹配,列举:“key”: \"value\" | \"key\": value | \"key\": [ | \"key\": { | \"key\": [],| \"Key\": {},\n var regLine = /^( *)(\"[^\"]+\": )?(\"[^\"]*\"|[\\w.+-]*)?([,[{]|\\[\\s*\\],?|\\{\\s*\\},?)?$/mg;\n var text = JSON.stringify(obj, typeof replacer === 'function' ? replacer : null, isNaN(space) ? 2 : space);\n /* istanbul ignore next */\n if (!text) {\n return text;\n }\n return text.replace(/&/g, '&').replace(/\\\\\"([^,])/g, '\\\\"$1')\n .replace(//g, '>')\n .replace(regLine, this._replace.bind(null, theme, styles));\n };\n // 格式化函数\n JSONPretty.prototype._replace = function (theme, styles, match, ind, key, val, tra) {\n var spanEnd = '
{pv.data}
{flow.hexviewResponseBody()}\n }\n\n render() {\n if (!this.props.flow) return null\n\n const flow = this.props.flow\n const flowTab = this.state.flowTab\n\n const request = flow.request\n const response: IResponse = (flow.response || {}) as any\n\n // Query String Parameters\n const searchItems: Array<{ key: string; value: string }> = []\n if (flow.url && flow.url.search) {\n flow.url.searchParams.forEach((value, key) => {\n searchItems.push({ key, value })\n })\n }\n\n return (\n
General
\nRequest URL: {request.url}
\nRequest Method: {request.method}
\nStatus Code: {`${response.statusCode || '(pending)'}`}
\nResponse Headers
\n{key}: {response.header[key].join(' ')}
\n )\n })\n }\nRequest Headers
\n{key}: {request.header[key].join(' ')}
\n )\n })\n }\nQuery String Parameters
\n{key}: {value}
\n )\n })\n }\nRequest Body
\nNo | \nMethod | \nHost | \nPath | \nType | \nStatus | \nSize | \nTime | \n
---|
{pv.data}
{flow.hexviewResponseBody()}\n }\n\n render() {\n if (!this.props.flow) return null\n\n const flow = this.props.flow\n const flowTab = this.state.flowTab\n\n const request = flow.request\n const response: IResponse = (flow.response || {}) as any\n\n // Query String Parameters\n const searchItems: Array<{ key: string; value: string }> = []\n if (flow.url && flow.url.search) {\n flow.url.searchParams.forEach((value, key) => {\n searchItems.push({ key, value })\n })\n }\n\n return (\n
General
\nRequest URL: {request.url}
\nRequest Method: {request.method}
\nStatus Code: {`${response.statusCode || '(pending)'}`}
\nResponse Headers
\n{key}: {response.header[key].join(' ')}
\n )\n })\n }\nRequest Headers
\n{key}: {request.header[key].join(' ')}
\n )\n })\n }\nQuery String Parameters
\n{key}: {value}
\n )\n })\n }\nRequest Body
\nNo | \nMethod | \nHost | \nPath | \nType | \nStatus | \nSize | \nTime | \n
---|