assets.7277.4a900635a3226c0c3f0e.js Maven / Gradle / Ivy
(self.webpackChunkopen_metadata=self.webpackChunkopen_metadata||[]).push([[7277],{7277:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(87462),a=n(67294),c=n(57838),o=n(96159),u=n(4942),l=n(36228),i=n.n(l),s=n(53124),f=n(19586),v=n(11726),m=n.n(v),p=function(e){var t,n=e.value,r=e.formatter,c=e.precision,o=e.decimalSeparator,u=e.groupSeparator,l=void 0===u?"":u,i=e.prefixCls;if("function"==typeof r)t=r(n);else{var s=String(n),f=s.match(/^(-?)(\d*)(\.(\d+))?$/);if(f&&"-"!==s){var v=f[1],p=f[2]||"0",d=f[4]||"";p=p.replace(/\B(?=(\d{3})+(?!\d))/g,l),"number"==typeof c&&(d=m()(d,c,"0").slice(0,c>0?c:0)),d&&(d="".concat(o).concat(d)),t=[a.createElement("span",{key:"int",className:"".concat(i,"-content-value-int")},v,p),d&&a.createElement("span",{key:"decimal",className:"".concat(i,"-content-value-decimal")},d)]}else t=s}return a.createElement("span",{className:"".concat(i,"-content-value")},t)},d=(0,s.PG)({prefixCls:"statistic"})((function(e){var t=e.prefixCls,n=e.className,c=e.style,o=e.valueStyle,l=e.value,s=void 0===l?0:l,v=e.title,m=e.valueRender,d=e.prefix,g=e.suffix,h=e.loading,E=void 0!==h&&h,x=e.direction,w=e.onMouseEnter,N=e.onMouseLeave,S=e.decimalSeparator,M=void 0===S?".":S,Z=e.groupSeparator,y=void 0===Z?",":Z,k=a.createElement(p,(0,r.Z)({decimalSeparator:M,groupSeparator:y},e,{value:s})),C=i()(t,(0,u.Z)({},"".concat(t,"-rtl"),"rtl"===x),n);return a.createElement("div",{className:C,style:c,onMouseEnter:w,onMouseLeave:N},v&&a.createElement("div",{className:"".concat(t,"-title")},v),a.createElement(f.Z,{paragraph:!1,loading:E,className:"".concat(t,"-skeleton")},a.createElement("div",{style:o,className:"".concat(t,"-content")},d&&a.createElement("span",{className:"".concat(t,"-content-prefix")},d),m?m(k):k,g&&a.createElement("span",{className:"".concat(t,"-content-suffix")},g))))})),g=n(29439),h=n(1391),E=n.n(h),x=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];var w=function(e){var t=e.value,n=e.format,u=void 0===n?"HH:mm:ss":n,l=e.onChange,i=e.onFinish,s=(0,c.Z)(),f=a.useRef(null);return a.useEffect((function(){return e=function(e){return new Date(e).getTime()}(t),e>=Date.now()&&(f.current=setInterval((function(){s(),null==l||l(e-Date.now()),e9007199254740991)return r;do{n%2&&(r+=e),(n=t(n/2))&&(e+=e)}while(n);return r}},78302:function(e,t,n){var r=n(18190),a=n(80531),c=n(40180),o=n(62689),u=n(88016),l=n(83140),i=Math.ceil;e.exports=function(e,t){var n=(t=void 0===t?" ":a(t)).length;if(n<2)return n?r(t,e):t;var s=r(t,i(e/u(t)));return o(t)?c(l(s),0,e).join(""):s.slice(0,e)}},11726:function(e,t,n){var r=n(78302),a=n(88016),c=n(40554),o=n(79833);e.exports=function(e,t,n){e=o(e);var u=(t=c(t))?a(e):0;return t&&u
© 2015 - 2025 Weber Informatics LLC | Privacy Policy