beancount-gs/public/static/js/17.8d9bad0f.chunk.js

1 line
24 KiB
JavaScript
Raw Normal View History

2024-10-04 13:39:35 +00:00
(this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[]).push([[17],{188:function(e,t,a){"use strict";var n=a(0),c=a(5);t.a=e=>class extends n.Component{constructor(){super(...arguments),this.defaultCommodity={currency:"CNY",symbol:"\uffe5"},this.currentCommodity=window.localStorage.getItem("ledgerCurrency")}render(){return Object(c.jsx)(e,{...this.props,commodity:this.currentCommodity?JSON.parse(this.currentCommodity):this.defaultCommodity})}}},238:function(e,t,a){"use strict";var n=a(1),c=a(3),r=a(7),i=a(10),l=a.n(i),s=a(0),o=a(42),d=a(68),u=function(e){var t=e.prefixCls,a=e.className,r=e.style,i=e.size,o=e.shape,d=l()(Object(n.a)(Object(n.a)({},"".concat(t,"-lg"),"large"===i),"".concat(t,"-sm"),"small"===i)),u=l()(Object(n.a)(Object(n.a)(Object(n.a)({},"".concat(t,"-circle"),"circle"===o),"".concat(t,"-square"),"square"===o),"".concat(t,"-round"),"round"===o)),m=s.useMemo((function(){return"number"===typeof i?{width:i,height:i,lineHeight:"".concat(i,"px")}:{}}),[i]);return s.createElement("span",{className:l()(t,d,u,a),style:Object(c.a)(Object(c.a)({},m),r)})},m=function(e){var t=e.prefixCls,a=e.className,r=e.active,i=e.shape,m=void 0===i?"circle":i,b=e.size,f=void 0===b?"default":b,h=(0,s.useContext(o.b).getPrefixCls)("skeleton",t),v=Object(d.a)(e,["prefixCls","className"]),j=l()(h,"".concat(h,"-element"),Object(n.a)({},"".concat(h,"-active"),r),a);return s.createElement("div",{className:j},s.createElement(u,Object(c.a)({prefixCls:"".concat(h,"-avatar"),shape:m,size:f},v)))},b=function(e){var t=e.prefixCls,a=e.className,r=e.active,i=e.block,m=void 0!==i&&i,b=e.size,f=void 0===b?"default":b,h=(0,s.useContext(o.b).getPrefixCls)("skeleton",t),v=Object(d.a)(e,["prefixCls"]),j=l()(h,"".concat(h,"-element"),Object(n.a)(Object(n.a)({},"".concat(h,"-active"),r),"".concat(h,"-block"),m),a);return s.createElement("div",{className:j},s.createElement(u,Object(c.a)({prefixCls:"".concat(h,"-button"),size:f},v)))},f=a(2),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},v=a(12),j=function(e,t){return s.createElement(v.a,Object(f.a)(Object(f.a)({},e),{},{ref:t,icon:h}))};var p=s.forwardRef(j),O=function(e){var t=e.prefixCls,a=e.className,c=e.style,r=e.active,i=e.children,d=(0,s.useContext(o.b).getPrefixCls)("skeleton",t),u=l()(d,"".concat(d,"-element"),Object(n.a)({},"".concat(d,"-active"),r),a),m=null!==i&&void 0!==i?i:s.createElement(p,null);return s.createElement("div",{className:u},s.createElement("div",{className:l()("".concat(d,"-image"),a),style:c},m))},g=function(e){var t=e.prefixCls,a=e.className,c=e.style,r=e.active,i=(0,s.useContext(o.b).getPrefixCls)("skeleton",t),d=l()(i,"".concat(i,"-element"),Object(n.a)({},"".concat(i,"-active"),r),a);return s.createElement("div",{className:d},s.createElement("div",{className:l()("".concat(i,"-image"),a),style:c},s.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(i,"-image-svg")},s.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.8571