update webview
This commit is contained in:
parent
6ba4ba47a8
commit
c9722e3595
|
|
@ -1,44 +1,44 @@
|
|||
{
|
||||
"files": {
|
||||
"static/js/0.fda6111a.chunk.js": "/web/static/js/0.fda6111a.chunk.js",
|
||||
"static/js/1.28aa3c2b.chunk.js": "/web/static/js/1.28aa3c2b.chunk.js",
|
||||
"static/js/2.46f29b7c.chunk.js": "/web/static/js/2.46f29b7c.chunk.js",
|
||||
"static/js/3.5a45422b.chunk.js": "/web/static/js/3.5a45422b.chunk.js",
|
||||
"static/js/4.fc47f398.chunk.js": "/web/static/js/4.fc47f398.chunk.js",
|
||||
"main.css": "/web/static/css/main.9d0b2e60.chunk.css",
|
||||
"main.js": "/web/static/js/main.6636e710.chunk.js",
|
||||
"runtime-main.js": "/web/static/js/runtime-main.c6d62716.js",
|
||||
"static/css/7.b9d59b33.chunk.css": "/web/static/css/7.b9d59b33.chunk.css",
|
||||
"static/js/7.68ba3194.chunk.js": "/web/static/js/7.68ba3194.chunk.js",
|
||||
"static/js/8.8414c35b.chunk.js": "/web/static/js/8.8414c35b.chunk.js",
|
||||
"static/css/9.331ccb74.chunk.css": "/web/static/css/9.331ccb74.chunk.css",
|
||||
"static/js/9.ac2714b2.chunk.js": "/web/static/js/9.ac2714b2.chunk.js",
|
||||
"static/css/10.f0a90ddf.chunk.css": "/web/static/css/10.f0a90ddf.chunk.css",
|
||||
"static/js/10.8115c97d.chunk.js": "/web/static/js/10.8115c97d.chunk.js",
|
||||
"static/js/11.e31f1256.chunk.js": "/web/static/js/11.e31f1256.chunk.js",
|
||||
"static/js/12.85e6a374.chunk.js": "/web/static/js/12.85e6a374.chunk.js",
|
||||
"static/js/13.758405d2.chunk.js": "/web/static/js/13.758405d2.chunk.js",
|
||||
"static/css/14.d211b268.chunk.css": "/web/static/css/14.d211b268.chunk.css",
|
||||
"static/js/14.f98bfe64.chunk.js": "/web/static/js/14.f98bfe64.chunk.js",
|
||||
"static/css/15.dca2368b.chunk.css": "/web/static/css/15.dca2368b.chunk.css",
|
||||
"static/js/15.de1f0d97.chunk.js": "/web/static/js/15.de1f0d97.chunk.js",
|
||||
"static/css/16.bed844be.chunk.css": "/web/static/css/16.bed844be.chunk.css",
|
||||
"static/js/16.9d05293d.chunk.js": "/web/static/js/16.9d05293d.chunk.js",
|
||||
"static/js/17.8d9bad0f.chunk.js": "/web/static/js/17.8d9bad0f.chunk.js",
|
||||
"static/css/18.0e433876.chunk.css": "/web/static/css/18.0e433876.chunk.css",
|
||||
"static/js/18.536295a1.chunk.js": "/web/static/js/18.536295a1.chunk.js",
|
||||
"static/js/19.60ebf699.chunk.js": "/web/static/js/19.60ebf699.chunk.js",
|
||||
"static/js/20.7acd0b2d.chunk.js": "/web/static/js/20.7acd0b2d.chunk.js",
|
||||
"index.html": "/web/index.html",
|
||||
"static/js/10.8115c97d.chunk.js.LICENSE.txt": "/web/static/js/10.8115c97d.chunk.js.LICENSE.txt",
|
||||
"static/js/11.e31f1256.chunk.js.LICENSE.txt": "/web/static/js/11.e31f1256.chunk.js.LICENSE.txt",
|
||||
"static/js/8.8414c35b.chunk.js.LICENSE.txt": "/web/static/js/8.8414c35b.chunk.js.LICENSE.txt",
|
||||
"static/js/9.ac2714b2.chunk.js.LICENSE.txt": "/web/static/js/9.ac2714b2.chunk.js.LICENSE.txt"
|
||||
"main.css": "/web/static/css/main.c87495cb.css",
|
||||
"main.js": "/web/static/js/main.4048a838.js",
|
||||
"static/js/999.1397823d.chunk.js": "/web/static/js/999.1397823d.chunk.js",
|
||||
"static/css/832.a9c07082.chunk.css": "/web/static/css/832.a9c07082.chunk.css",
|
||||
"static/js/832.9e3b38ee.chunk.js": "/web/static/js/832.9e3b38ee.chunk.js",
|
||||
"static/css/967.892220ee.chunk.css": "/web/static/css/967.892220ee.chunk.css",
|
||||
"static/js/967.25b81fb0.chunk.js": "/web/static/js/967.25b81fb0.chunk.js",
|
||||
"static/css/751.31d6cfe0.chunk.css": "/web/static/css/751.31d6cfe0.chunk.css",
|
||||
"static/js/751.470004cf.chunk.js": "/web/static/js/751.470004cf.chunk.js",
|
||||
"static/css/107.e31e2bec.chunk.css": "/web/static/css/107.e31e2bec.chunk.css",
|
||||
"static/js/107.022f790d.chunk.js": "/web/static/js/107.022f790d.chunk.js",
|
||||
"static/js/185.7c0dab03.chunk.js": "/web/static/js/185.7c0dab03.chunk.js",
|
||||
"static/js/756.c03ffef3.chunk.js": "/web/static/js/756.c03ffef3.chunk.js",
|
||||
"static/css/48.b1fca4ab.chunk.css": "/web/static/css/48.b1fca4ab.chunk.css",
|
||||
"static/js/48.d4b23ad9.chunk.js": "/web/static/js/48.d4b23ad9.chunk.js",
|
||||
"static/js/332.e55ab720.chunk.js": "/web/static/js/332.e55ab720.chunk.js",
|
||||
"static/css/550.e2ad996c.chunk.css": "/web/static/css/550.e2ad996c.chunk.css",
|
||||
"static/js/550.19e37c86.chunk.js": "/web/static/js/550.19e37c86.chunk.js",
|
||||
"static/js/475.25294e0d.chunk.js": "/web/static/js/475.25294e0d.chunk.js",
|
||||
"static/js/636.ccc0986a.chunk.js": "/web/static/js/636.ccc0986a.chunk.js",
|
||||
"static/js/100.762fab30.chunk.js": "/web/static/js/100.762fab30.chunk.js",
|
||||
"static/js/691.3c4589f4.chunk.js": "/web/static/js/691.3c4589f4.chunk.js",
|
||||
"static/js/668.c1806339.chunk.js": "/web/static/js/668.c1806339.chunk.js",
|
||||
"static/js/811.8d4e3c76.chunk.js": "/web/static/js/811.8d4e3c76.chunk.js",
|
||||
"static/js/8.7bdc2409.chunk.js": "/web/static/js/8.7bdc2409.chunk.js",
|
||||
"static/js/619.63e56027.chunk.js": "/web/static/js/619.63e56027.chunk.js",
|
||||
"static/js/806.c1039356.chunk.js": "/web/static/js/806.c1039356.chunk.js",
|
||||
"static/js/113.1a6f29cb.chunk.js": "/web/static/js/113.1a6f29cb.chunk.js",
|
||||
"static/js/316.cc4bdd3d.chunk.js": "/web/static/js/316.cc4bdd3d.chunk.js",
|
||||
"static/js/828.e991df23.chunk.js": "/web/static/js/828.e991df23.chunk.js",
|
||||
"static/js/510.abd28793.chunk.js": "/web/static/js/510.abd28793.chunk.js",
|
||||
"static/js/965.8a9e5189.chunk.js": "/web/static/js/965.8a9e5189.chunk.js",
|
||||
"static/js/719.2845bca8.chunk.js": "/web/static/js/719.2845bca8.chunk.js",
|
||||
"static/js/508.99bcae1b.chunk.js": "/web/static/js/508.99bcae1b.chunk.js",
|
||||
"static/js/682.43b1b035.chunk.js": "/web/static/js/682.43b1b035.chunk.js",
|
||||
"index.html": "/web/index.html"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/js/runtime-main.c6d62716.js",
|
||||
"static/js/8.8414c35b.chunk.js",
|
||||
"static/css/main.9d0b2e60.chunk.css",
|
||||
"static/js/main.6636e710.chunk.js"
|
||||
"static/css/main.c87495cb.css",
|
||||
"static/js/main.4048a838.js"
|
||||
]
|
||||
}
|
||||
|
|
@ -1 +1 @@
|
|||
<!doctype html><html lang="zh"><head><meta charset="utf-8"/><link rel="icon" href="/web/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"><meta name="theme-color" content="#000000"/><meta name="description" content="beancount-gs,基于beancount的个人记账财务管理软件"/><link rel="apple-touch-icon" href="/web/logo192.png"/><link rel="manifest" href="/web/manifest.json"/><title>你的个人财务管理软件 | beancount-gs</title><link href="/web/static/css/main.9d0b2e60.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,u=t[0],f=t[1],i=t[2],d=0,s=[];d<u.length;d++)o=u[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(l&&l(t);s.length;)s.shift()();return c.push.apply(c,i||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,o=1;o<r.length;o++){var f=r[o];0!==a[f]&&(n=!1)}n&&(c.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={6:0},a={6:0},c=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{7:1,9:1,10:1,14:1,15:1,16:1,18:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"31d6cfe0",3:"31d6cfe0",4:"31d6cfe0",7:"b9d59b33",9:"331ccb74",10:"f0a90ddf",11:"31d6cfe0",12:"31d6cfe0",13:"31d6cfe0",14:"d211b268",15:"dca2368b",16:"bed844be",17:"31d6cfe0",18:"0e433876",19:"31d6cfe0",20:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var i=(l=c[f]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(i===n||i===a))return t()}var d=document.getElementsByTagName("style");for(f=0;f<d.length;f++){var l;if((i=(l=d[f]).getAttribute("data-href"))===n||i===a)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=n,delete o[e],s.parentNode.removeChild(s),r(c)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,u.nc&&f.setAttribute("nonce",u.nc),f.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"fda6111a",1:"28aa3c2b",2:"46f29b7c",3:"5a45422b",4:"fc47f398",7:"68ba3194",9:"ac2714b2",10:"8115c97d",11:"e31f1256",12:"85e6a374",13:"758405d2",14:"f98bfe64",15:"de1f0d97",16:"9d05293d",17:"8d9bad0f",18:"536295a1",19:"60ebf699",20:"7acd0b2d"}[e]+".chunk.js"}(e);var i=new Error;c=function(t){f.onerror=f.onload=null,clearTimeout(d);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",i.name="ChunkLoadError",i.type=n,i.request=o,r[1](i)}a[e]=void 0}};var d=setTimeout((function(){c({type:"timeout",target:f})}),12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="/web/",u.oe=function(e){throw console.error(e),e};var f=this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[],i=f.push.bind(f);f.push=t,f=f.slice();for(var d=0;d<f.length;d++)t(f[d]);var l=i;r()}([])</script><script src="/web/static/js/8.8414c35b.chunk.js"></script><script src="/web/static/js/main.6636e710.chunk.js"></script></body></html>
|
||||
<!doctype html><html lang="zh"><head><meta charset="utf-8"/><link rel="icon" href="/web/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"><meta name="theme-color" content="#000000"/><meta name="description" content="beancount-gs,基于beancount的个人记账财务管理软件"/><link rel="apple-touch-icon" href="/web/logo192.png"/><link rel="manifest" href="/web/manifest.json"/><title>你的个人财务管理软件 | beancount-gs</title><script defer="defer" src="/web/static/js/main.4048a838.js"></script><link href="/web/static/css/main.c87495cb.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
||||
|
|
@ -1 +0,0 @@
|
|||
.event-page .top-wrapper{margin-bottom:2rem;display:flex;justify-content:space-between}
|
||||
|
|
@ -0,0 +1 @@
|
|||
.event-page .top-wrapper{display:flex;justify-content:space-between;margin-bottom:2rem}
|
||||
|
|
@ -1 +0,0 @@
|
|||
.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:hsla(0,0%,100%,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;width:100%;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1,lower-alpha) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2,lower-roman) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4,lower-alpha) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}
|
||||
|
|
@ -1 +1 @@
|
|||
.calendar-drawer .date-cell{height:80px}.calendar-drawer .calendar{max-width:800px}.calendar-drawer .date-cell{font-size:12px}.calendar-drawer .date-cell .date{font-size:20px;font-weight:bolder}.calendar-drawer .date-cell .expenses{color:#1da57a}.calendar-drawer .date-cell .income{color:#ff4d4f}.index-page .top-wrapper{margin-bottom:2rem;display:flex;justify-content:space-between}
|
||||
.calendar-drawer .date-cell{height:80px}.calendar-drawer .calendar{max-width:800px}.calendar-drawer .date-cell{font-size:12px}.calendar-drawer .date-cell .date{font-size:20px;font-weight:bolder}.calendar-drawer .date-cell .expenses{color:#1da57a}.calendar-drawer .date-cell .income{color:#ff4d4f}.index-page .top-wrapper{display:flex;justify-content:space-between;margin-bottom:2rem}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
(this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[]).push([[18],{188:function(t,e,s){"use strict";var o=s(0),n=s(5);e.a=t=>class extends o.Component{constructor(){super(...arguments),this.defaultCommodity={currency:"CNY",symbol:"\uffe5"},this.currentCommodity=window.localStorage.getItem("ledgerCurrency")}render(){return Object(n.jsx)(t,{...this.props,commodity:this.currentCommodity?JSON.parse(this.currentCommodity):this.defaultCommodity})}}},336:function(t,e,s){},455:function(t,e,s){"use strict";s.r(e);var o=s(0),n=s(188),r=s(73),c=(s(336),s(5));class i extends o.Component{constructor(){super(...arguments),this.theme=this.context.theme}render(){return this.context.theme!==this.theme&&(this.theme=this.context.theme),Object(c.jsx)("div",{className:"about-page",children:"\u5173\u4e8e"})}}i.contextType=r.a,e.default=Object(n.a)(i)}}]);
|
||||
|
|
@ -0,0 +1 @@
|
|||
"use strict";(self.webpackChunkbeancount_web=self.webpackChunkbeancount_web||[]).push([[185],{1772:(t,e,n)=>{n.d(e,{A:()=>a});var s=n(9284),o=n(8828),i=n(712);const a=t=>{const e=(0,s.useRef)(null);return(0,i.jsx)(o.KE,{height:t.height||"75vh",defaultLanguage:"bean"===t.lang?"beancount":t.lang,theme:"light",onMount:(n,s)=>{e.current=n,n.onDidChangeModelContent((()=>{s.languages.register({id:"beancount"}),s.languages.setMonarchTokensProvider("beancount",{tokenizer:{root:[[/\*|\!/,"keyword"],[/\d{4}-\d{2}-\d{2}/,"number"],[/\b(Assets|Liabilities|Equity|Income|Expenses)(:[\w\-]+)+\b/,"type.identifier"],[/-?\d+(\.\d+)?\s*(USD|CNY|EUR)?/,"number"],[/;.*/,"comment"],[/^\s*(include|option|plugin)\b/,"keyword"],[/\".*\"/,"string"]]}}),s.languages.setLanguageConfiguration("beancount",{comments:{lineComment:";"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:'"',close:'"'},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"}]});const e=n.getValue();t.onContentChange&&"function"===typeof t.onContentChange&&t.onContentChange(e)}))},options:{selectOnLineNumbers:!0,automaticLayout:!0,scrollBeyondLastLine:!1,wordWrap:"on",fontFamily:"'Consolas', monospace",fontSize:14,lineHeight:20,fontWeight:"500"},...t})}},1185:(t,e,n)=>{n.r(e),n.d(e,{default:()=>y});var s=n(9379),o=n(9284);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"};var a=n(3768),h=function(t,e){return o.createElement(a.A,(0,s.A)((0,s.A)({},t),{},{ref:e,icon:i}))};const l=o.forwardRef(h);var c=n(4412),r=n(9636),d=n(1896),u=n(4760),g=n(2475),m=n(2069),p=n(1772),C=n(712);class f extends o.Component{constructor(){super(...arguments),this.theme=this.context.theme,this.state={loading:!1,lang:"beancount",path:null,files:[],rawContent:"",content:""},this.fetchFileDir=()=>{this.setState({loading:!0}),(0,u.hd)("/api/auth/file/dir").then((t=>{this.setState({files:t})})).finally((()=>{this.setState({loading:!1})}))},this.handldEditContent=t=>{this.setState({content:t})},this.handleChangeFile=t=>{let e=this.state.lang;const n=t.split(".");e=n[n.length-1],this.setState({path:t,lang:e},(()=>{this.fetchFileContent(t)}))},this.fetchFileContent=()=>{this.setState({loading:!0}),(0,u.hd)(`/api/auth/file/content?path=${this.state.path}`).then((t=>{this.setState({rawContent:t,content:t})})).finally((()=>{this.setState({loading:!1})}))},this.saveFileContent=()=>{const{path:t,content:e}=this.state;this.setState({loading:!0}),(0,u.hd)("/api/auth/file",{method:"POST",body:{path:t,content:e}}).then((()=>{this.setState({rawContent:e}),c.Ay.success("\u4fdd\u5b58\u6210\u529f")})).finally((()=>{this.setState({loading:!1})}))}}componentDidMount(){this.fetchFileDir()}render(){return this.context.theme!==this.theme&&(this.theme=this.context.theme),(0,C.jsxs)("div",{className:"edit-page",children:[(0,C.jsxs)("div",{children:[(0,C.jsx)(r.A,{showSearch:!0,placeholder:"\u8bf7\u9009\u62e9\u6e90\u6587\u4ef6",style:{width:"200px"},onChange:this.handleChangeFile,children:this.state.files.map((t=>(0,C.jsx)(r.A.Option,{value:t,children:t},t)))}),"\xa0\xa0",(0,C.jsx)(d.A,{type:"primary",icon:(0,C.jsx)(l,{}),disabled:this.state.rawContent===this.state.content||!this.state.path,loading:this.state.loading,onClick:this.saveFileContent,children:"\u4fdd\u5b58"})]}),(0,C.jsx)("div",{style:{marginTop:"1rem"},children:(0,C.jsx)(p.A,{lang:this.state.lang,value:this.state.content,onContentChange:this.handldEditContent})})]})}}f.contextType=g.A;const y=(0,m.A)(f)},2069:(t,e,n)=>{n.d(e,{A:()=>i});var s=n(9284),o=n(712);const i=t=>class extends s.Component{constructor(){super(...arguments),this.defaultCommodity={currency:"CNY",symbol:"\uffe5"},this.currentCommodity=window.localStorage.getItem("ledgerCurrency")}render(){return(0,o.jsx)(t,{...this.props,commodity:this.currentCommodity?JSON.parse(this.currentCommodity):this.defaultCommodity})}}}}]);
|
||||
|
|
@ -1 +0,0 @@
|
|||
(this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[]).push([[19],{188:function(e,t,n){"use strict";var r=n(0),a=n(5);t.a=e=>class extends r.Component{constructor(){super(...arguments),this.defaultCommodity={currency:"CNY",symbol:"\uffe5"},this.currentCommodity=window.localStorage.getItem("ledgerCurrency")}render(){return Object(a.jsx)(e,{...this.props,commodity:this.currentCommodity?JSON.parse(this.currentCommodity):this.defaultCommodity})}}},215:function(e,t,n){"use strict";var r=n(4),a=n(0),i=n(113);t.a=function(){var e=a.useState(!1),t=Object(r.a)(e,2),n=t[0],o=t[1];return a.useEffect((function(){o(Object(i.b)())}),[]),n}},326:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n(3),a=n(1),i=n(4),o=n(10),c=n.n(o),l=n(69),s=n(0),d=n(42),u=n(215);function p(e){var t=e.className,n=e.direction,i=e.index,o=e.marginDirection,c=e.children,l=e.split,d=e.wrap,u=s.useContext(b),p=u.horizontalSize,m=u.verticalSize,h=u.latestIndex,g={};return u.supportFlexGap||("vertical"===n?i<h&&(g={marginBottom:p/(l?2:1)}):g=Object(r.a)(Object(r.a)({},i<h&&Object(a.a)({},o,p/(l?2:1))),d&&{paddingBottom:m})),null===c||void 0===c?null:s.createElement(s.Fragment,null,s.createElement("div",{className:t,style:g},c),i<h&&l&&s.createElement("span",{className:"".concat(t,"-split"),style:g},l))}var m=n(74),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},b=s.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),g={small:8,middle:16,large:24};var f=function(e){var t=s.useContext(d.b),n=t.getPrefixCls,o=t.space,m=t.direction,f=e.size,y=void 0===f?(null===o||void 0===o?void 0:o.size)||"small":f,O=e.align,v=e.className,x=e.children,j=e.direction,C=void 0===j?"horizontal":j,w=e.prefixCls,z=e.split,S=e.style,E=e.wrap,k=void 0!==E&&E,N=h(e,["size","align","className","children","direction","prefixCls","split","style","wrap"]),T=Object(u.a)(),D=s.useMemo((function(){return(Array.isArray(y)?y:[y,y]).map((function(e){return function(e){return"string"===typeof e?g[e]:e||0}(e)}))}),[y]),I=Object(i.a)(D,2),P=I[0],G=I[1],B=Object(l.a)(x,{keepEmpty:!0}),F=void 0===O&&"horizontal"===C?"center":O,M=n("space",w),J=c()(M,"".concat(M,"-").concat(C),Object(a.a)(Object(a.a)({},"".concat(M,"-rtl"),"rtl"===m),"".concat(M,"-align-").concat(F),F),v),A="".concat(M,"-item"),L="rtl"===m?"marginLeft":"marginRight",$=0,R=B.map((function(e,t){null!==e&&void 0!==e&&($=t);var n=e&&e.key||"".concat(A,"-").concat(t);return s.createElement(p,{className:A,key:n,direction:C,index:t,marginDirection:L,split:z,wrap:k},e)})),W=s.useMemo((function(){return{horizontalSize:P,verticalSize:G,latestIndex:$,supportFlexGap:T}}),[P,G,$,T]);if(0===B.length)return null;var Y={};return k&&(Y.flexWrap="wrap",T||(Y.marginBottom=-G)),T&&(Y.columnGap=P,Y.rowGap=G),s.createElement("div",Object(r.a)({className:J,style:Object(r.a)(Object(r.a)({},Y),S)},N),s.createElement(b.Provider,{value:W},R))};f.Compact=m.b;t.b=f},458:function(e,t,n){"use strict";n.r(t);var r=n(63),a=n(183),i=n(32),o=n(326),c=n(61),l=n(0),s=n(91),d=n(73),u=n(188),p=n(5);class m extends l.Component{constructor(){super(...arguments),this.ledgerTitle=localStorage.getItem("ledgerTitle")||"\u8d26\u672c",this.state={loading:!1},this.handleOpenDeleteModal=()=>{a.a.confirm({title:`\u786e\u8ba4\u5220\u9664${this.ledgerTitle}\uff1f`,icon:Object(p.jsx)(r.a,{}),content:"\u5220\u9664\u540e\u5c06\u4e0d\u80fd\u6062\u590d",okText:"\u5220\u9664",onOk:this.handleDelete,okButtonProps:{danger:!0},cancelText:"\u53d6\u6d88"})},this.handleDelete=()=>{this.setState({loading:!0}),Object(s.d)("/api/auth/ledger",{method:"DELETE"}).then((()=>{localStorage.clear(),i.b.success(`${this.ledgerTitle}\u5df2\u5220\u9664`),this.props.history.replace("/ledger")})).finally((()=>{this.setState({loading:!1})}))}}render(){return this.context.theme!==this.theme&&(this.theme=this.context.theme),Object(p.jsx)("div",{className:"setting-page",children:Object(p.jsx)(o.b,{direction:"vertical",size:"middle",style:{display:"flex"},children:Object(p.jsx)(c.a,{block:!0,danger:!0,loading:this.state.loading,onClick:this.handleOpenDeleteModal,children:"\u5220\u9664\u8d26\u672c"})})})}}m.contextType=d.a,t.default=Object(u.a)(m)}}]);
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
(this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[]).push([[20],{188:function(t,e,i){"use strict";var n=i(0),s=i(5);e.a=t=>class extends n.Component{constructor(){super(...arguments),this.defaultCommodity={currency:"CNY",symbol:"\uffe5"},this.currentCommodity=window.localStorage.getItem("ledgerCurrency")}render(){return Object(s.jsx)(t,{...this.props,commodity:this.currentCommodity?JSON.parse(this.currentCommodity):this.defaultCommodity})}}},456:function(t,e,i){"use strict";i.r(e);var n=i(470),s=i(32),a=i(225),h=i(61),o=i(341),c=(i(437),i(0)),r=i(91),d=i(73),l=i(188),p=i(5);class m extends c.Component{constructor(){super(...arguments),this.theme=this.context.theme,this.state={loading:!1,path:null,files:[],rawContent:"",content:"",editorState:o.EditorState.createEmpty()},this.fetchFileDir=()=>{this.setState({loading:!0}),Object(r.d)("/api/auth/file/dir").then((t=>{this.setState({files:t})})).finally((()=>{this.setState({loading:!1})}))},this.handldEditContent=t=>{this.setState({editorState:t,content:t.getCurrentContent().getPlainText()})},this.handleChangeFile=t=>{this.setState({path:t},(()=>{this.fetchFileContent(t)}))},this.fetchFileContent=()=>{this.setState({loading:!0}),Object(r.d)(`/api/auth/file/content?path=${this.state.path}`).then((t=>{this.setState({rawContent:t,content:t,editorState:o.EditorState.createWithContent(o.ContentState.createFromText(t))})})).finally((()=>{this.setState({loading:!1})}))},this.saveFileContent=()=>{const{path:t,content:e}=this.state;this.setState({loading:!0}),Object(r.d)("/api/auth/file",{method:"POST",body:{path:t,content:e}}).then((()=>{this.setState({rawContent:e}),s.b.success("\u4fdd\u5b58\u6210\u529f")})).finally((()=>{this.setState({loading:!1})}))}}componentDidMount(){this.fetchFileDir()}render(){return this.context.theme!==this.theme&&(this.theme=this.context.theme),Object(p.jsxs)("div",{className:"edit-page",children:[Object(p.jsxs)("div",{children:[Object(p.jsx)(a.a,{showSearch:!0,placeholder:"\u8bf7\u9009\u62e9\u6e90\u6587\u4ef6",style:{width:"200px"},onChange:this.handleChangeFile,children:this.state.files.map((t=>Object(p.jsx)(a.a.Option,{value:t,children:t},t)))}),"\xa0\xa0",Object(p.jsx)(h.a,{type:"primary",icon:Object(p.jsx)(n.a,{}),disabled:this.state.rawContent===this.state.content||!this.state.path,loading:this.state.loading,onClick:this.saveFileContent,children:"\u4fdd\u5b58"})]}),Object(p.jsx)("div",{style:{marginTop:"1rem"},children:Object(p.jsx)(o.Editor,{placeholder:this.state.path?"\u8be5\u6587\u4ef6\u5185\u5bb9\u4e3a\u7a7a":"\u672a\u9009\u62e9\u6e90\u6587\u4ef6",editorState:this.state.editorState,onChange:this.handldEditContent})})]})}}m.contextType=d.a,e.default=Object(l.a)(m)}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
"use strict";(self.webpackChunkbeancount_web=self.webpackChunkbeancount_web||[]).push([[332],{9332:(e,t,n)=>{n.r(t),n.d(t,{default:()=>h});var r=n(8380),i=n(5231),a=n(4412),l=n(9663),o=n(1896),s=n(9284),c=n(4760),d=n(2475),p=n(2069),u=n(712);class m extends s.Component{constructor(){super(...arguments),this.ledgerTitle=localStorage.getItem("ledgerTitle")||"\u8d26\u672c",this.state={loading:!1},this.handleOpenDeleteModal=()=>{i.A.confirm({title:`\u786e\u8ba4\u5220\u9664${this.ledgerTitle}\uff1f`,icon:(0,u.jsx)(r.A,{}),content:"\u5220\u9664\u540e\u5c06\u4e0d\u80fd\u6062\u590d",okText:"\u5220\u9664",onOk:this.handleDelete,okButtonProps:{danger:!0},cancelText:"\u53d6\u6d88"})},this.handleDelete=()=>{this.setState({loading:!0}),(0,c.hd)("/api/auth/ledger",{method:"DELETE"}).then((()=>{localStorage.clear(),a.Ay.success(`${this.ledgerTitle}\u5df2\u5220\u9664`),this.props.history.replace("/ledger")})).finally((()=>{this.setState({loading:!1})}))}}render(){return this.context.theme!==this.theme&&(this.theme=this.context.theme),(0,u.jsx)("div",{className:"setting-page",children:(0,u.jsx)(l.A,{direction:"vertical",size:"middle",style:{display:"flex"},children:(0,u.jsx)(o.A,{block:!0,danger:!0,loading:this.state.loading,onClick:this.handleOpenDeleteModal,children:"\u5220\u9664\u8d26\u672c"})})})}}m.contextType=d.A;const h=(0,p.A)(m)},2069:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(9284),i=n(712);const a=e=>class extends r.Component{constructor(){super(...arguments),this.defaultCommodity={currency:"CNY",symbol:"\uffe5"},this.currentCommodity=window.localStorage.getItem("ledgerCurrency")}render(){return(0,i.jsx)(e,{...this.props,commodity:this.currentCommodity?JSON.parse(this.currentCommodity):this.defaultCommodity})}}},9309:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(5544),i=n(9284),a=n(209);const l=function(){var e=i.useState(!1),t=(0,r.A)(e,2),n=t[0],l=t[1];return i.useEffect((function(){l((0,a.Pu)())}),[]),n}},9663:(e,t,n)=>{n.d(t,{e:()=>g,A:()=>v});var r=n(8168),i=n(4467),a=n(5544),l=n(4480),o=n.n(l),s=n(4650),c=n(9284),d=n(3135),p=n(9309);function u(e){var t=e.className,n=e.direction,a=e.index,l=e.marginDirection,o=e.children,s=e.split,d=e.wrap,p=c.useContext(g),u=p.horizontalSize,m=p.verticalSize,h=p.latestIndex,y={};return p.supportFlexGap||("vertical"===n?a<h&&(y={marginBottom:u/(s?2:1)}):y=(0,r.A)((0,r.A)({},a<h&&(0,i.A)({},l,u/(s?2:1))),d&&{paddingBottom:m})),null===o||void 0===o?null:c.createElement(c.Fragment,null,c.createElement("div",{className:t,style:y},o),a<h&&s&&c.createElement("span",{className:"".concat(t,"-split"),style:y},s))}var m=n(4575),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},g=c.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),y={small:8,middle:16,large:24};var f=function(e){var t=c.useContext(d.QO),n=t.getPrefixCls,l=t.space,m=t.direction,f=e.size,v=void 0===f?(null===l||void 0===l?void 0:l.size)||"small":f,x=e.align,A=e.className,C=e.children,b=e.direction,w=void 0===b?"horizontal":b,z=e.prefixCls,S=e.split,O=e.style,k=e.wrap,E=void 0!==k&&k,N=h(e,["size","align","className","children","direction","prefixCls","split","style","wrap"]),j=(0,p.A)(),T=c.useMemo((function(){return(Array.isArray(v)?v:[v,v]).map((function(e){return function(e){return"string"===typeof e?y[e]:e||0}(e)}))}),[v]),D=(0,a.A)(T,2),P=D[0],I=D[1],G=(0,s.A)(C,{keepEmpty:!0}),B=void 0===x&&"horizontal"===w?"center":x,F=n("space",z),M=o()(F,"".concat(F,"-").concat(w),(0,i.A)((0,i.A)({},"".concat(F,"-rtl"),"rtl"===m),"".concat(F,"-align-").concat(B),B),A),L="".concat(F,"-item"),$="rtl"===m?"marginLeft":"marginRight",_=0,J=G.map((function(e,t){null!==e&&void 0!==e&&(_=t);var n=e&&e.key||"".concat(L,"-").concat(t);return c.createElement(u,{className:L,key:n,direction:w,index:t,marginDirection:$,split:S,wrap:E},e)})),Q=c.useMemo((function(){return{horizontalSize:P,verticalSize:I,latestIndex:_,supportFlexGap:j}}),[P,I,_,j]);if(0===G.length)return null;var R={};return E&&(R.flexWrap="wrap",j||(R.marginBottom=-I)),j&&(R.columnGap=P,R.rowGap=I),c.createElement("div",(0,r.A)({className:M,style:(0,r.A)((0,r.A)({},R),O)},N),c.createElement(g.Provider,{value:Q},J))};f.Compact=m.Ay;const v=f}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,9 +1,3 @@
|
|||
/*
|
||||
object-assign
|
||||
(c) Sindre Sorhus
|
||||
@license MIT
|
||||
*/
|
||||
|
||||
/*!
|
||||
* EventEmitter v5.2.9 - git.io/ee
|
||||
* Unlicense - http://unlicense.org/
|
||||
|
|
@ -11,14 +5,6 @@
|
|||
* @preserve
|
||||
*/
|
||||
|
||||
/*!
|
||||
* decimal.js v10.4.3
|
||||
* An arbitrary-precision Decimal type for JavaScript.
|
||||
* https://github.com/MikeMcl/decimal.js
|
||||
* Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
|
||||
* MIT Licence
|
||||
*/
|
||||
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
|
|
@ -32,21 +18,6 @@
|
|||
PERFORMANCE OF THIS SOFTWARE.
|
||||
***************************************************************************** */
|
||||
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
***************************************************************************** */
|
||||
|
||||
/*! ../../data-set */
|
||||
|
||||
/*! ../../util/bandwidth */
|
||||
|
|
@ -1037,8 +1008,6 @@
|
|||
|
||||
/*! point-at-length */
|
||||
|
||||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||||
|
||||
/*! regression */
|
||||
|
||||
/*! simple-statistics */
|
||||
|
|
@ -3000,21 +2969,3 @@
|
|||
/*!***********************************************************************************************************!*\
|
||||
!*** ./node_modules/_d3-composite-projections@1.4.0@d3-composite-projections/d3-composite-projections.js ***!
|
||||
\***********************************************************************************************************/
|
||||
|
||||
/** @license React v0.19.1
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v0.25.1
|
||||
* react-reconciler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
|
@ -0,0 +1 @@
|
|||
"use strict";(self.webpackChunkbeancount_web=self.webpackChunkbeancount_web||[]).push([[751],{9751:(t,e,s)=>{s.r(e),s.d(e,{default:()=>h});var o=s(9284),r=s(2069),n=s(2475),c=s(712);class m extends o.Component{constructor(){super(...arguments),this.theme=this.context.theme}render(){return this.context.theme!==this.theme&&(this.theme=this.context.theme),(0,c.jsx)("div",{className:"about-page",children:"\u5173\u4e8e"})}}m.contextType=n.A;const h=(0,r.A)(m)},2069:(t,e,s)=>{s.d(e,{A:()=>n});var o=s(9284),r=s(712);const n=t=>class extends o.Component{constructor(){super(...arguments),this.defaultCommodity={currency:"CNY",symbol:"\uffe5"},this.currentCommodity=window.localStorage.getItem("ledgerCurrency")}render(){return(0,r.jsx)(t,{...this.props,commodity:this.currentCommodity?JSON.parse(this.currentCommodity):this.defaultCommodity})}}}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -4,14 +4,6 @@
|
|||
@license MIT
|
||||
*/
|
||||
|
||||
/*!
|
||||
* decimal.js v10.4.3
|
||||
* An arbitrary-precision Decimal type for JavaScript.
|
||||
* https://github.com/MikeMcl/decimal.js
|
||||
* Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
|
||||
* MIT Licence
|
||||
*/
|
||||
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,7 @@
|
|||
/*!
|
||||
* decimal.js v10.4.3
|
||||
* An arbitrary-precision Decimal type for JavaScript.
|
||||
* https://github.com/MikeMcl/decimal.js
|
||||
* Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
|
||||
* MIT Licence
|
||||
*/
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +0,0 @@
|
|||
/*!
|
||||
* decimal.js v10.4.3
|
||||
* An arbitrary-precision Decimal type for JavaScript.
|
||||
* https://github.com/MikeMcl/decimal.js
|
||||
* Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
|
||||
* MIT Licence
|
||||
*/
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
!function(e){function t(t){for(var n,o,u=t[0],f=t[1],i=t[2],d=0,s=[];d<u.length;d++)o=u[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(l&&l(t);s.length;)s.shift()();return c.push.apply(c,i||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,o=1;o<r.length;o++){var f=r[o];0!==a[f]&&(n=!1)}n&&(c.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={6:0},a={6:0},c=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{7:1,9:1,10:1,14:1,15:1,16:1,18:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"31d6cfe0",3:"31d6cfe0",4:"31d6cfe0",7:"b9d59b33",9:"331ccb74",10:"f0a90ddf",11:"31d6cfe0",12:"31d6cfe0",13:"31d6cfe0",14:"d211b268",15:"dca2368b",16:"bed844be",17:"31d6cfe0",18:"0e433876",19:"31d6cfe0",20:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var i=(l=c[f]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(i===n||i===a))return t()}var d=document.getElementsByTagName("style");for(f=0;f<d.length;f++){var l;if((i=(l=d[f]).getAttribute("data-href"))===n||i===a)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=n,delete o[e],s.parentNode.removeChild(s),r(c)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,u.nc&&f.setAttribute("nonce",u.nc),f.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"fda6111a",1:"28aa3c2b",2:"46f29b7c",3:"5a45422b",4:"fc47f398",7:"68ba3194",9:"ac2714b2",10:"8115c97d",11:"e31f1256",12:"85e6a374",13:"758405d2",14:"f98bfe64",15:"de1f0d97",16:"9d05293d",17:"8d9bad0f",18:"536295a1",19:"60ebf699",20:"7acd0b2d"}[e]+".chunk.js"}(e);var i=new Error;c=function(t){f.onerror=f.onload=null,clearTimeout(d);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",i.name="ChunkLoadError",i.type=n,i.request=o,r[1](i)}a[e]=void 0}};var d=setTimeout((function(){c({type:"timeout",target:f})}),12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="/web/",u.oe=function(e){throw console.error(e),e};var f=this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[],i=f.push.bind(f);f.push=t,f=f.slice();for(var d=0;d<f.length;d++)t(f[d]);var l=i;r()}([]);
|
||||
Loading…
Reference in New Issue