diff --git a/public/asset-manifest.json b/public/asset-manifest.json
index ed35ec9..5b51105 100644
--- a/public/asset-manifest.json
+++ b/public/asset-manifest.json
@@ -7,7 +7,7 @@
"static/js/4.e31ce94a.chunk.js": "/web/static/js/4.e31ce94a.chunk.js",
"main.css": "/web/static/css/main.c42e041b.chunk.css",
"main.js": "/web/static/js/main.f50e7271.chunk.js",
- "runtime-main.js": "/web/static/js/runtime-main.a3196da4.js",
+ "runtime-main.js": "/web/static/js/runtime-main.a133c472.js",
"static/css/7.b9d59b33.chunk.css": "/web/static/css/7.b9d59b33.chunk.css",
"static/js/7.062bc73c.chunk.js": "/web/static/js/7.062bc73c.chunk.js",
"static/js/8.0c73dfa2.chunk.js": "/web/static/js/8.0c73dfa2.chunk.js",
@@ -21,7 +21,7 @@
"static/css/14.d211b268.chunk.css": "/web/static/css/14.d211b268.chunk.css",
"static/js/14.aa25c99d.chunk.js": "/web/static/js/14.aa25c99d.chunk.js",
"static/css/15.dca2368b.chunk.css": "/web/static/css/15.dca2368b.chunk.css",
- "static/js/15.8d93bd75.chunk.js": "/web/static/js/15.8d93bd75.chunk.js",
+ "static/js/15.ec6515ee.chunk.js": "/web/static/js/15.ec6515ee.chunk.js",
"static/css/16.bed844be.chunk.css": "/web/static/css/16.bed844be.chunk.css",
"static/js/16.4b1ecff6.chunk.js": "/web/static/js/16.4b1ecff6.chunk.js",
"static/js/17.e7b1a82e.chunk.js": "/web/static/js/17.e7b1a82e.chunk.js",
@@ -36,7 +36,7 @@
"static/js/9.e871c06f.chunk.js.LICENSE.txt": "/web/static/js/9.e871c06f.chunk.js.LICENSE.txt"
},
"entrypoints": [
- "static/js/runtime-main.a3196da4.js",
+ "static/js/runtime-main.a133c472.js",
"static/js/8.0c73dfa2.chunk.js",
"static/css/main.c42e041b.chunk.css",
"static/js/main.f50e7271.chunk.js"
diff --git a/public/index.html b/public/index.html
index 42cedc9..66367e0 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1 +1 @@
-
我的账本
\ No newline at end of file
+我的账本
\ No newline at end of file
diff --git a/public/static/js/15.8d93bd75.chunk.js b/public/static/js/15.ec6515ee.chunk.js
similarity index 85%
rename from public/static/js/15.8d93bd75.chunk.js
rename to public/static/js/15.ec6515ee.chunk.js
index 1e7dadd..48b9794 100644
--- a/public/static/js/15.8d93bd75.chunk.js
+++ b/public/static/js/15.ec6515ee.chunk.js
@@ -1 +1 @@
-(this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[]).push([[15],{147:function(e,t,n){"use strict";var r=n(1),a=n(14),o=n(15),c=n(19),l=n(20),i=n(0),s=n(5);t.a=function(e){return function(t){Object(c.a)(i,t);var n=Object(l.a)(i);function i(){var e;Object(a.a)(this,i);for(var t=arguments.length,r=new Array(t),o=0;o3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"===typeof e?e:"".concat(n,"-").concat(r),error:e,errorStatus:t}}function h(e){var t=e.help,n=e.helpStatus,l=e.errors,m=void 0===l?b:l,h=e.warnings,O=void 0===h?b:h,g=e.className,j=e.fieldId,y=e.onVisibleChanged,C=u.useContext(r.c).prefixCls,w=u.useContext(d.b).getPrefixCls,x="".concat(C,"-item-explain"),E=w(),N=p(m),k=p(O),S=u.useMemo((function(){return void 0!==t&&null!==t?[v(t,n,"help")]:[].concat(Object(c.a)(N.map((function(e,t){return v(e,"error","error",t)}))),Object(c.a)(k.map((function(e,t){return v(e,"warning","warning",t)}))))}),[t,n,N,k]),M={};return j&&(M.id="".concat(j,"_help")),u.createElement(s.b,{motionDeadline:f.a.motionDeadline,motionName:"".concat(E,"-show-help"),visible:!!S.length,onVisibleChanged:y},(function(e){var t=e.className,n=e.style;return u.createElement("div",Object(o.a)({},M,{className:i()(x,t,g),style:n,role:"alert"}),u.createElement(s.a,Object(o.a)({keys:S},f.a,{motionName:"".concat(E,"-show-help-item"),component:!1}),(function(e){var t=e.key,n=e.error,r=e.errorStatus,o=e.className,c=e.style;return u.createElement("div",{key:t,className:i()(o,Object(a.a)({},"".concat(x,"-").concat(r),r)),style:c},n)})))}))}var O=n(9),g=n(92),j=n(66),y=n(54),C=n(97);function w(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function x(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function E(e,t){if(e.clientHeightt||o>e&&c=t&&l>=n?o-e-r:c>t&&ln?c-t+a:0}var k=function(e,t){var n=window,r=t.scrollMode,a=t.block,o=t.inline,c=t.boundary,l=t.skipOverflowHiddenElements,i="function"==typeof c?c:function(e){return e!==c};if(!w(e))throw new TypeError("Invalid target");for(var s,u,d=document.scrollingElement||document.documentElement,f=[],m=e;w(m)&&i(m);){if((m=null==(u=(s=m).parentElement)?s.getRootNode().host||null:u)===d){f.push(m);break}null!=m&&m===document.body&&E(m)&&!E(document.documentElement)||null!=m&&E(m,l)&&f.push(m)}for(var p=n.visualViewport?n.visualViewport.width:innerWidth,b=n.visualViewport?n.visualViewport.height:innerHeight,v=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,O=e.getBoundingClientRect(),g=O.height,j=O.width,y=O.top,C=O.right,x=O.bottom,k=O.left,S="start"===a||"nearest"===a?y:"end"===a?x:y+g/2,M="center"===o?k+j/2:"end"===o?C:k,I=[],P=0;P=0&&k>=0&&x<=b&&C<=p&&y>=q&&x<=L&&k>=V&&C<=_)return I;var D=getComputedStyle(R),W=parseInt(D.borderLeftWidth,10),z=parseInt(D.borderTopWidth,10),K=parseInt(D.borderRightWidth,10),H=parseInt(D.borderBottomWidth,10),Y=0,B=0,U="offsetWidth"in R?R.offsetWidth-R.clientWidth-W-K:0,X="offsetHeight"in R?R.offsetHeight-R.clientHeight-z-H:0,J="offsetWidth"in R?0===R.offsetWidth?0:A/R.offsetWidth:0,$="offsetHeight"in R?0===R.offsetHeight?0:T/R.offsetHeight:0;if(d===R)Y="start"===a?S:"end"===a?S-b:"nearest"===a?N(h,h+b,b,z,H,h+S,h+S+g,g):S-b/2,B="start"===o?M:"center"===o?M-p/2:"end"===o?M-p:N(v,v+p,p,W,K,v+M,v+M+j,j),Y=Math.max(0,Y+h),B=Math.max(0,B+v);else{Y="start"===a?S-q-z:"end"===a?S-L+H+X:"nearest"===a?N(q,L,T,z,H+X,S,S+g,g):S-(q+T/2)+X/2,B="start"===o?M-V-W:"center"===o?M-(V+A/2)+U/2:"end"===o?M-_+K+U:N(V,_,A,W,K+U,M,M+j,j);var Q=R.scrollLeft,G=R.scrollTop;S+=G-(Y=Math.max(0,Math.min(G+Y/$,R.scrollHeight-T/$+X))),M+=Q-(B=Math.max(0,Math.min(Q+B/J,R.scrollWidth-A/J+U)))}I.push({el:R,top:Y,left:B})}return I};function S(e){return e===Object(e)&&0!==Object.keys(e).length}var M=function(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(S(t)&&"function"===typeof t.behavior)return t.behavior(n?k(e,t):[]);if(n){var r=function(e){return!1===e?{block:"end",inline:"nearest"}:S(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,a=e.top,o=e.left;r.scroll&&n?r.scroll({top:a,left:o,behavior:t}):(r.scrollTop=a,r.scrollLeft=o)}))}(k(e,r),r.behavior)}},I=["parentNode"],P="form_item";function R(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function F(e,t){if(e.length){var n=e.join("_");return t?"".concat(t,"_").concat(n):I.includes(n)?"".concat(P,"_").concat(n):n}}function T(e){return R(e).join("_")}function A(e){var t=Object(g.g)(),n=Object(m.a)(t,1)[0],r=u.useRef({}),a=u.useMemo((function(){return null!==e&&void 0!==e?e:Object(o.a)(Object(o.a)({},n),{__INTERNAL__:{itemRef:function(e){return function(t){var n=T(e);t?r.current[n]=t:delete r.current[n]}}},scrollToField:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=F(R(e),a.__INTERNAL__.name),r=n?document.getElementById(n):null;r&&M(r,Object(o.a)({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:function(e){var t=T(e);return r.current[t]}})}),[e,n]);return[a]}var q=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);a0||Q.length>0||e.extra){var y=[];(e.help||$.length>0)&&y.push("".concat(m,"_help")),e.extra&&y.push("".concat(m,"_extra")),g["aria-describedby"]=y.join(" ")}$.length>0&&(g["aria-invalid"]="true"),b&&(g["aria-required"]="true"),Object(D.c)(f)&&(g.ref=G(d,f)),new Set([].concat(Object(c.a)(R(j)),Object(c.a)(R(S)))).forEach((function(e){g[e]=function(){for(var t,n,r,a,o,c=arguments.length,l=new Array(c),i=0;it.date}))})}))},e.getAllEvents=function(){e.setState({loading:!0}),Object(_.c)("/api/auth/event/all").then((function(t){e.setState({events:t},(function(){e.formatEventTypeList(t)}))})).catch(console.error).finally((function(){e.setState({loading:!1})}))},e}return Object(o.a)(n,[{key:"componentDidMount",value:function(){this.getAllEvents()}},{key:"render",value:function(){return this.context.theme!==this.theme&&(this.theme=this.context.theme),Object(L.jsxs)("div",{className:"event-page",children:[Object(L.jsx)(D,{open:this.state.drawerOpen,types:this.eventTypes,onClose:this.handleCloseAddDrawer}),Object(L.jsx)("div",{className:"top-wrapper",children:Object(L.jsx)("div",{children:Object(L.jsx)(v.a,{size:"small",icon:Object(L.jsx)(m,{}),onClick:this.handleOpenAddrawer,children:"\u8bb0\u5f55\u4e8b\u4ef6"})})}),Object(L.jsx)("div",{children:this.state.loading?Object(L.jsx)(W.a,{}):Object(L.jsx)(h.a,{defaultActiveKey:"1",items:this.eventTypeList.map((function(e){var t=e.type,n=e.events;return{label:t,key:t,children:Object(L.jsx)(M,{children:n.map((function(e){var t=e.date,n=e.description;return Object(L.jsxs)(M.Item,{children:[n,Object(L.jsx)("span",{style:{fontSize:"12px",marginLeft:"10px",color:"gray"},children:t})]})}))})}}))})})]})}}]),n}(i.Component);z.contextType=b.a;t.default=Object(p.a)(z)}}]);
\ No newline at end of file
+(this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[]).push([[15],{147:function(e,t,n){"use strict";var r=n(1),a=n(14),o=n(15),c=n(19),l=n(20),i=n(0),s=n(5);t.a=function(e){return function(t){Object(c.a)(i,t);var n=Object(l.a)(i);function i(){var e;Object(a.a)(this,i);for(var t=arguments.length,r=new Array(t),o=0;o3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"===typeof e?e:"".concat(n,"-").concat(r),error:e,errorStatus:t}}function h(e){var t=e.help,n=e.helpStatus,l=e.errors,m=void 0===l?b:l,h=e.warnings,O=void 0===h?b:h,j=e.className,g=e.fieldId,y=e.onVisibleChanged,C=u.useContext(r.c).prefixCls,w=u.useContext(d.b).getPrefixCls,x="".concat(C,"-item-explain"),E=w(),N=p(m),k=p(O),S=u.useMemo((function(){return void 0!==t&&null!==t?[v(t,n,"help")]:[].concat(Object(c.a)(N.map((function(e,t){return v(e,"error","error",t)}))),Object(c.a)(k.map((function(e,t){return v(e,"warning","warning",t)}))))}),[t,n,N,k]),M={};return g&&(M.id="".concat(g,"_help")),u.createElement(s.b,{motionDeadline:f.a.motionDeadline,motionName:"".concat(E,"-show-help"),visible:!!S.length,onVisibleChanged:y},(function(e){var t=e.className,n=e.style;return u.createElement("div",Object(o.a)({},M,{className:i()(x,t,j),style:n,role:"alert"}),u.createElement(s.a,Object(o.a)({keys:S},f.a,{motionName:"".concat(E,"-show-help-item"),component:!1}),(function(e){var t=e.key,n=e.error,r=e.errorStatus,o=e.className,c=e.style;return u.createElement("div",{key:t,className:i()(o,Object(a.a)({},"".concat(x,"-").concat(r),r)),style:c},n)})))}))}var O=n(9),j=n(92),g=n(66),y=n(54),C=n(97);function w(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function x(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function E(e,t){if(e.clientHeightt||o>e&&c=t&&l>=n?o-e-r:c>t&&ln?c-t+a:0}var k=function(e,t){var n=window,r=t.scrollMode,a=t.block,o=t.inline,c=t.boundary,l=t.skipOverflowHiddenElements,i="function"==typeof c?c:function(e){return e!==c};if(!w(e))throw new TypeError("Invalid target");for(var s,u,d=document.scrollingElement||document.documentElement,f=[],m=e;w(m)&&i(m);){if((m=null==(u=(s=m).parentElement)?s.getRootNode().host||null:u)===d){f.push(m);break}null!=m&&m===document.body&&E(m)&&!E(document.documentElement)||null!=m&&E(m,l)&&f.push(m)}for(var p=n.visualViewport?n.visualViewport.width:innerWidth,b=n.visualViewport?n.visualViewport.height:innerHeight,v=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,O=e.getBoundingClientRect(),j=O.height,g=O.width,y=O.top,C=O.right,x=O.bottom,k=O.left,S="start"===a||"nearest"===a?y:"end"===a?x:y+j/2,M="center"===o?k+g/2:"end"===o?C:k,I=[],P=0;P=0&&k>=0&&x<=b&&C<=p&&y>=q&&x<=L&&k>=V&&C<=_)return I;var D=getComputedStyle(R),W=parseInt(D.borderLeftWidth,10),z=parseInt(D.borderTopWidth,10),K=parseInt(D.borderRightWidth,10),H=parseInt(D.borderBottomWidth,10),Y=0,B=0,U="offsetWidth"in R?R.offsetWidth-R.clientWidth-W-K:0,X="offsetHeight"in R?R.offsetHeight-R.clientHeight-z-H:0,J="offsetWidth"in R?0===R.offsetWidth?0:A/R.offsetWidth:0,$="offsetHeight"in R?0===R.offsetHeight?0:T/R.offsetHeight:0;if(d===R)Y="start"===a?S:"end"===a?S-b:"nearest"===a?N(h,h+b,b,z,H,h+S,h+S+j,j):S-b/2,B="start"===o?M:"center"===o?M-p/2:"end"===o?M-p:N(v,v+p,p,W,K,v+M,v+M+g,g),Y=Math.max(0,Y+h),B=Math.max(0,B+v);else{Y="start"===a?S-q-z:"end"===a?S-L+H+X:"nearest"===a?N(q,L,T,z,H+X,S,S+j,j):S-(q+T/2)+X/2,B="start"===o?M-V-W:"center"===o?M-(V+A/2)+U/2:"end"===o?M-_+K+U:N(V,_,A,W,K+U,M,M+g,g);var Q=R.scrollLeft,G=R.scrollTop;S+=G-(Y=Math.max(0,Math.min(G+Y/$,R.scrollHeight-T/$+X))),M+=Q-(B=Math.max(0,Math.min(Q+B/J,R.scrollWidth-A/J+U)))}I.push({el:R,top:Y,left:B})}return I};function S(e){return e===Object(e)&&0!==Object.keys(e).length}var M=function(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(S(t)&&"function"===typeof t.behavior)return t.behavior(n?k(e,t):[]);if(n){var r=function(e){return!1===e?{block:"end",inline:"nearest"}:S(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,a=e.top,o=e.left;r.scroll&&n?r.scroll({top:a,left:o,behavior:t}):(r.scrollTop=a,r.scrollLeft=o)}))}(k(e,r),r.behavior)}},I=["parentNode"],P="form_item";function R(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function F(e,t){if(e.length){var n=e.join("_");return t?"".concat(t,"_").concat(n):I.includes(n)?"".concat(P,"_").concat(n):n}}function T(e){return R(e).join("_")}function A(e){var t=Object(j.g)(),n=Object(m.a)(t,1)[0],r=u.useRef({}),a=u.useMemo((function(){return null!==e&&void 0!==e?e:Object(o.a)(Object(o.a)({},n),{__INTERNAL__:{itemRef:function(e){return function(t){var n=T(e);t?r.current[n]=t:delete r.current[n]}}},scrollToField:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=F(R(e),a.__INTERNAL__.name),r=n?document.getElementById(n):null;r&&M(r,Object(o.a)({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:function(e){var t=T(e);return r.current[t]}})}),[e,n]);return[a]}var q=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);a0||Q.length>0||e.extra){var y=[];(e.help||$.length>0)&&y.push("".concat(m,"_help")),e.extra&&y.push("".concat(m,"_extra")),j["aria-describedby"]=y.join(" ")}$.length>0&&(j["aria-invalid"]="true"),b&&(j["aria-required"]="true"),Object(D.c)(f)&&(j.ref=G(d,f)),new Set([].concat(Object(c.a)(R(g)),Object(c.a)(R(S)))).forEach((function(e){j[e]=function(){for(var t,n,r,a,o,c=arguments.length,l=new Array(c),i=0;i