From 554a4c02bcd5059d88951ab9d9393ca308af9c30 Mon Sep 17 00:00:00 2001 From: lqqyt2423 <974923609@qq.com> Date: Sun, 26 Jun 2022 12:12:17 +0800 Subject: [PATCH] web addon: build --- web/client/build/asset-manifest.json | 14 +++++++------- web/client/build/index.html | 2 +- .../{2.90d996cd.chunk.js => 2.948b8343.chunk.js} | 4 ++-- ...LICENSE.txt => 2.948b8343.chunk.js.LICENSE.txt} | 0 ...d996cd.chunk.js.map => 2.948b8343.chunk.js.map} | 2 +- web/client/build/static/js/3.fdc4294f.chunk.js.map | 2 +- web/client/build/static/js/main.2abbef8f.chunk.js | 2 ++ .../build/static/js/main.2abbef8f.chunk.js.map | 1 + web/client/build/static/js/main.dab9e469.chunk.js | 2 -- .../build/static/js/main.dab9e469.chunk.js.map | 1 - 10 files changed, 15 insertions(+), 15 deletions(-) rename web/client/build/static/js/{2.90d996cd.chunk.js => 2.948b8343.chunk.js} (99%) rename web/client/build/static/js/{2.90d996cd.chunk.js.LICENSE.txt => 2.948b8343.chunk.js.LICENSE.txt} (100%) rename web/client/build/static/js/{2.90d996cd.chunk.js.map => 2.948b8343.chunk.js.map} (99%) create mode 100644 web/client/build/static/js/main.2abbef8f.chunk.js create mode 100644 web/client/build/static/js/main.2abbef8f.chunk.js.map delete mode 100644 web/client/build/static/js/main.dab9e469.chunk.js delete mode 100644 web/client/build/static/js/main.dab9e469.chunk.js.map diff --git a/web/client/build/asset-manifest.json b/web/client/build/asset-manifest.json index bcde24c..7108242 100644 --- a/web/client/build/asset-manifest.json +++ b/web/client/build/asset-manifest.json @@ -1,25 +1,25 @@ { "files": { "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", + "main.js": "/static/js/main.2abbef8f.chunk.js", + "main.js.map": "/static/js/main.2abbef8f.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.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/2.948b8343.chunk.js": "/static/js/2.948b8343.chunk.js", + "static/js/2.948b8343.chunk.js.map": "/static/js/2.948b8343.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.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" + "static/js/2.948b8343.chunk.js.LICENSE.txt": "/static/js/2.948b8343.chunk.js.LICENSE.txt" }, "entrypoints": [ "static/js/runtime-main.476c72c1.js", "static/css/2.4659568d.chunk.css", - "static/js/2.90d996cd.chunk.js", + "static/js/2.948b8343.chunk.js", "static/css/main.9aa5bcb2.chunk.css", - "static/js/main.dab9e469.chunk.js" + "static/js/main.2abbef8f.chunk.js" ] } \ No newline at end of file diff --git a/web/client/build/index.html b/web/client/build/index.html index d7c59d5..b81f3a1 100644 --- a/web/client/build/index.html +++ b/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,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="",u='",s='",f='",d='",p=r||"";return a&&(p=p+'"'+u+a.replace(/^"|":\s$/g,"")+'": '),o&&(p="true"===o||"false"===o?p+d+o+i:p+('"'===o[0]?f:s)+o+i),p+(l||"")},t.propTypes={data:i.any,json:i.any,replacer:i.func,silent:i.bool,space:i.oneOfType([i.number,i.string]),theme:i.object,themeClassName:i.string,onJSONPrettyError:i.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 l,i=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,l=e},f:function(){try{i||null==n.return||n.return()}finally{if(u)throw l}}}}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){var t=e.method;return t&&{GET:" -X GET",POST:" -X POST",PUT:" -X PUT",PATCH:" -X PATCH",DELETE:" -X DELETE",HEAD:" -X HEAD",OPTIONS:" -X OPTIONS"}[t.toUpperCase()]||""},a=function(e){return"function"==typeof Headers&&e instanceof Headers},o=function(e,t){return' -H "'.concat(e,": ").concat(t.replace(/(\\|")/g,"\\$1"),'"')},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.headers,n=!1,r="";return a(t)?t.forEach((function(e,t){"content-length"!==t.toLocaleLowerCase()&&(r+=o(t,e)),"accept-encoding"===t.toLocaleLowerCase()&&(n=!0)})):t&&Object.keys(t).map((function(e){"content-length"!==e.toLocaleLowerCase()&&(r+=o(e,t[e])),"accept-encoding"===e.toLocaleLowerCase()&&(n=!0)})),{params:r,isEncode:n}};function i(e){return e?" --data-binary '".concat("object"==typeof e?JSON.stringify(e):e,"'"):""}function u(e){return e?" --compressed":""}var c=function(e,t){var n,a;"string"==typeof e?(n=e,a=t||{}):(n=(e||{}).url,a=e||{});var o=a.body,c=l(a);return"curl '".concat(n,"'").concat(r(a)).concat(c.params||"").concat(i(o)).concat(u(c.isEncode))};t.default=c,t.fetchToCurl=c,t.generateBody=i,t.generateCompress=u,t.generateHeader=l,t.generateMethod=r,t.isInstanceOfHeaders=a},function(e,t,n){"use strict";var r=n(63),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,l,i,u,c,s=!1;t||(t={}),n=t.debug||!1;try{if(l=r(),i=document.createRange(),u=document.getSelection(),(c=document.createElement("span")).textContent=e,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=a[t.format]||a.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),i.selectNodeContents(c),u.addRange(i),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");s=!0}catch(f){n&&console.error("unable to copy using execCommand: ",f),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),s=!0}catch(f){n&&console.error("unable to copy using clipboardData: ",f),n&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(i):u.removeAllRanges()),c&&document.body.removeChild(c),l()}return s}},function(e,t,n){"use strict";(function(e){var r=n(1),a="undefined"!==typeof e&&e.navigator&&"ReactNative"===e.navigator.product,o="undefined"!==typeof document;t.a=o||a?r.useLayoutEffect:r.useEffect}).call(this,n(64))},function(e,t,n){"use strict";var r=n(2),a=n(3),o=n(4),l=n.n(o),i=n(1),u=n(5),c=n(0),s=i.forwardRef((function(e,t){var n=e.bsPrefix,o=e.className,i=e.striped,s=e.bordered,f=e.borderless,d=e.hover,p=e.size,h=e.variant,m=e.responsive,v=Object(a.a)(e,["bsPrefix","className","striped","bordered","borderless","hover","size","variant","responsive"]),b=Object(u.a)(n,"table"),y=l()(o,b,h&&"".concat(b,"-").concat(h),p&&"".concat(b,"-").concat(p),i&&"".concat(b,"-striped"),s&&"".concat(b,"-bordered"),f&&"".concat(b,"-borderless"),d&&"".concat(b,"-hover")),g=Object(c.jsx)("table",Object(r.a)(Object(r.a)({},v),{},{className:y,ref:t}));if(m){var w="".concat(b,"-responsive");return"string"===typeof m&&(w="".concat(w,"-").concat(m)),Object(c.jsx)("div",{className:w,children:g})}return g}));t.a=s},function(e,t,n){"use strict";var r=n(2),a=n(3),o=n(4),l=n.n(o),i=n(1);function u(){return(u=Object.assign||function(e){for(var t=1;t
\" + 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 detail() {\n const { flow } = this.props\n if (!flow) return null\n\n const conn = flow.getConn()\n if (!conn) return null\n\n return (\n
Server Connection
\nAddress: {conn.serverConn.address}
\nResolved Address: {conn.serverConn.peername}
\nClient Connection
\nAddress: {conn.clientConn.address}
\nGeneral
\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
---|