-
Notifications
You must be signed in to change notification settings - Fork 11
/
chunk-MP5RW6JH.js
1 lines (1 loc) · 24.9 KB
/
chunk-MP5RW6JH.js
1
import{a as y,b as ie,c as v}from"./chunk-OOFPMH5E.js";import{d as te,e as ne}from"./chunk-NNW2YUQT.js";import"./chunk-BD6NKUJJ.js";import"./chunk-CU5AYJGV.js";import{a as q,b as K,d as ee}from"./chunk-B4IH7RR4.js";import{a as J}from"./chunk-7HQXT7RK.js";import{a as C,g as O,h as L,j as P}from"./chunk-2RTS5GAO.js";import"./chunk-V2SRXRXL.js";import{Ea as h,Ga as G,Ic as _,Kc as x,Lc as E,Mc as g,Wb as M}from"./chunk-BYER7FCH.js";import{Ca as s,Da as u,Dd as F,Ec as f,Fb as T,Fc as V,Gc as w,Hb as i,Ib as j,Jc as B,Vb as e,Wb as t,Xb as d,cc as b,lc as A,mb as o,mc as H,nc as R,oc as N,pc as n,ra as z,yc as S,zc as W}from"./chunk-U274QCT3.js";import"./chunk-RKLIRILV.js";var U=(()=>{let a=class a{};a.\u0275fac=function(m){return new(m||a)},a.\u0275cmp=z({type:a,selectors:[["nz-demo-statistic-basic"]],standalone:!0,features:[S],decls:12,vars:17,consts:[[3,"nzGutter"],[3,"nzSpan"],["nzTitle","Active Users",3,"nzValue"],["nzTitle","Account Balance (CNY)",3,"nzValue"],["nz-button","","nzType","primary"],["nzTitle","Active Users","nzLoading","",3,"nzValue"]],template:function(m,c){m&1&&(e(0,"nz-row",0)(1,"nz-col",1),d(2,"nz-statistic",2),f(3,"number"),t(),e(4,"nz-col",1),d(5,"nz-statistic",3),f(6,"number"),e(7,"button",4),n(8,"Recharge"),t()(),e(9,"nz-col",1),d(10,"nz-statistic",5),f(11,"number"),t()()),m&2&&(i("nzGutter",16),o(),i("nzSpan",12),o(),i("nzValue",V(3,9,1949101)),o(2),i("nzSpan",12),o(),i("nzValue",w(6,11,2019.111,"1.0-2")),o(2),j("margin-top",16,"px"),o(2),i("nzSpan",12),o(),i("nzValue",w(11,14,112893,"1.0-2")))},dependencies:[F,ee,K,q,J,g,E,x,v,y],encapsulation:2});let l=a;return l})();var me=()=>({color:"#3F8600"}),de=()=>({color:"#CF1322"});function le(l,a){l&1&&d(0,"span",7)}function re(l,a){l&1&&d(0,"span",8)}var Z=(()=>{let a=class a{};a.\u0275fac=function(m){return new(m||a)},a.\u0275cmp=z({type:a,selectors:[["nz-demo-statistic-card"]],standalone:!0,features:[S],decls:14,vars:17,consts:[["prefixTplOne",""],["prefixTplTwo",""],[2,"background","#ECECEC","padding","30px"],[3,"nzGutter"],[3,"nzSpan"],["nzTitle","Active","nzSuffix","%",3,"nzValue","nzPrefix","nzValueStyle"],["nzTitle","Idle","nzSuffix","%",3,"nzValue","nzPrefix","nzValueStyle"],["nz-icon","","nzType","arrow-up"],["nz-icon","","nzType","arrow-down"]],template:function(m,c){if(m&1&&(e(0,"div",2)(1,"nz-row",3)(2,"nz-col",4)(3,"nz-card"),d(4,"nz-statistic",5),f(5,"number"),T(6,le,1,0,"ng-template",null,0,B),t()(),e(8,"nz-col",4)(9,"nz-card"),d(10,"nz-statistic",6),f(11,"number"),T(12,re,1,0,"ng-template",null,1,B),t()()()()),m&2){let p=N(7),D=N(13);o(),i("nzGutter",16),o(),i("nzSpan",12),o(2),i("nzValue",w(5,9,11.28,"1.0-2"))("nzPrefix",p)("nzValueStyle",W(15,me)),o(4),i("nzSpan",12),o(2),i("nzValue",w(11,12,9.3,"1.0-2"))("nzPrefix",D)("nzValueStyle",W(16,de))}},dependencies:[F,ne,te,g,E,x,G,h,v,y],encapsulation:2});let l=a;return l})();var Q=(()=>{let a=class a{constructor(){this.deadline=Date.now()+1e3*60*60*24*2+1e3*30}};a.\u0275fac=function(m){return new(m||a)},a.\u0275cmp=z({type:a,selectors:[["nz-demo-statistic-countdown"]],standalone:!0,features:[S],decls:7,vars:7,consts:[[3,"nzGutter"],[3,"nzSpan"],["nzTitle","Countdown",3,"nzValue"],["nzTitle","Million Seconds","nzFormat","HH:mm:ss:SSS",3,"nzValue"],[2,"margin-top","32px",3,"nzSpan"],["nzTitle","Day Level","nzFormat","D \u5929 H \u65F6 m \u5206 s \u79D2",3,"nzValue"]],template:function(m,c){m&1&&(e(0,"nz-row",0)(1,"nz-col",1),d(2,"nz-countdown",2),t(),e(3,"nz-col",1),d(4,"nz-countdown",3),t(),e(5,"nz-col",4),d(6,"nz-countdown",5),t()()),m&2&&(i("nzGutter",16),o(),i("nzSpan",12),o(),i("nzValue",c.deadline),o(),i("nzSpan",12),o(),i("nzValue",c.deadline),o(),i("nzSpan",24),o(),i("nzValue",c.deadline))},dependencies:[g,E,x,v,ie],encapsulation:2});let l=a;return l})();function ce(l,a){l&1&&d(0,"span",5)}var X=(()=>{let a=class a{};a.\u0275fac=function(m){return new(m||a)},a.\u0275cmp=z({type:a,selectors:[["nz-demo-statistic-unit"]],standalone:!0,features:[S],decls:8,vars:8,consts:[["prefixTpl",""],[3,"nzGutter"],[3,"nzSpan"],["nzTitle","Feedback",3,"nzValue","nzPrefix"],["nzTitle","Unmerged","nzSuffix","/ 100",3,"nzValue"],["nz-icon","","nzType","like"]],template:function(m,c){if(m&1&&(e(0,"nz-row",1)(1,"nz-col",2),d(2,"nz-statistic",3),f(3,"number"),T(4,ce,1,0,"ng-template",null,0,B),t(),e(6,"nz-col",2),d(7,"nz-statistic",4),t()()),m&2){let p=N(5);i("nzGutter",16),o(),i("nzSpan",12),o(),i("nzValue",V(3,6,1128))("nzPrefix",p),o(4),i("nzSpan",12),o(),i("nzValue",93)}},dependencies:[F,g,E,x,G,h,v,y],encapsulation:2});let l=a;return l})();var oe=(()=>{let a=class a{constructor(){this.expanded=!1}goLink(r){window&&(window.location.hash=r)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(r=>r.expandCode(this.expanded))}};a.\u0275fac=function(m){return new(m||a)},a.\u0275cmp=z({type:a,selectors:[["nz-demo-statistic"]],viewQuery:function(m,c){if(m&1&&A(C,5),m&2){let p;H(p=R())&&(c.codeBoxes=p)}},standalone:!0,features:[S],decls:333,vars:23,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-statistic-demo-basic","nzTitle","\u57FA\u672C\u7528\u6CD5"],["nzHref","#components-statistic-demo-unit","nzTitle","\u5355\u4F4D"],["nzHref","#components-statistic-demo-card","nzTitle","\u5728\u5361\u7247\u4E2D\u4F7F\u7528"],["nzHref","#components-statistic-demo-countdown","nzTitle","\u5012\u8BA1\u65F6"],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/statistic/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nz-icon","","nzType","edit"],["id","\u4F55\u65F6\u4F7F\u7528"],["onclick","window.location.hash = '\u4F55\u65F6\u4F7F\u7528'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["nz-icon","","nzType","appstore","nz-tooltip","","nzTooltipTitle","\u5C55\u5F00\u5168\u90E8\u4EE3\u7801",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzXl","nzSpan"],["nzTitle","\u57FA\u672C\u7528\u6CD5","nzSelector","nz-demo-statistic-basic","nzGenerateCommand","ng g ng-zorro-antd:statistic-basic <name>","nzComponentName","NzDemoStatisticBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u5728\u5361\u7247\u4E2D\u4F7F\u7528","nzSelector","nz-demo-statistic-card","nzGenerateCommand","ng g ng-zorro-antd:statistic-card <name>","nzComponentName","NzDemoStatisticCardComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5355\u4F4D","nzSelector","nz-demo-statistic-unit","nzGenerateCommand","ng g ng-zorro-antd:statistic-unit <name>","nzComponentName","NzDemoStatisticUnitComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5012\u8BA1\u65F6","nzSelector","nz-demo-statistic-countdown","nzGenerateCommand","ng g ng-zorro-antd:statistic-countdown <name>","nzComponentName","NzDemoStatisticCountdownComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-statistic:standalone"],[1,"api-type-label","component"],[1,"api-type-label","standalone"],["onclick","window.location.hash = 'nz-statistic:standalone'",1,"anchor"],["id","nz-countdown:standalone"],["onclick","window.location.hash = 'nz-countdown:standalone'",1,"anchor"],["id","nzformat"],["onclick","window.location.hash = 'nzformat'",1,"anchor"]],template:function(m,c){m&1&&(e(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),b("nzClick",function(D){return c.goLink(D)}),d(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6),t()(),e(8,"section",7)(9,"h1"),n(10,"Statistic"),e(11,"span",8),n(12,"\u7EDF\u8BA1"),t(),d(13,"span",9),e(14,"a",10),d(15,"span",11),t()(),e(16,"section",7),u(),e(17,"p"),n(18,"\u5C55\u793A\u7EDF\u8BA1\u6570\u5B57\u3002"),t(),e(19,"h2",12)(20,"span"),n(21,"\u4F55\u65F6\u4F7F\u7528"),t(),e(22,"a",13),n(23,"#"),t()(),e(24,"ul")(25,"li"),n(26,"\u5F53\u9700\u8981\u7A81\u51FA\u67D0\u4E2A\u6216\u67D0\u7EC4\u6570\u5B57\u65F6\u3002"),t(),e(27,"li"),n(28,"\u5F53\u9700\u8981\u5C55\u793A\u5E26\u63CF\u8FF0\u7684\u7EDF\u8BA1\u7C7B\u6570\u636E\u65F6\u4F7F\u7528\u3002"),t()(),e(29,"pre",14)(30,"code")(31,"span",15),n(32,"import"),t(),n(33," "),e(34,"span",16),n(35,"{"),t(),n(36," NzStatisticModule "),e(37,"span",16),n(38,"}"),t(),n(39," "),e(40,"span",15),n(41,"from"),t(),n(42," "),e(43,"span",17),n(44,"'ng-zorro-antd/statistic'"),t(),e(45,"span",16),n(46,";"),t()()(),s(),t(),e(47,"h2")(48,"span"),n(49,"\u4EE3\u7801\u6F14\u793A"),t(),e(50,"span",18),b("click",function(){return c.expandAllCode()}),t()()(),e(51,"div",19)(52,"div",20)(53,"nz-code-box",21),d(54,"nz-demo-statistic-basic",22),e(55,"div",23),u(),e(56,"p"),n(57,"\u7B80\u5355\u7684\u5C55\u793A\u3002"),t(),s(),t()(),e(58,"nz-code-box",24),d(59,"nz-demo-statistic-card",22),e(60,"div",23),u(),e(61,"p"),n(62,"\u5728\u5361\u7247\u4E2D\u5C55\u793A\u7EDF\u8BA1\u6570\u503C\u3002"),t(),s(),t()()(),e(63,"div",20)(64,"nz-code-box",25),d(65,"nz-demo-statistic-unit",22),e(66,"div",23),u(),e(67,"p"),n(68,"\u901A\u8FC7\u524D\u7F00\u548C\u540E\u7F00\u6DFB\u52A0\u5355\u4F4D\u3002"),t(),s(),t()(),e(69,"nz-code-box",26),d(70,"nz-demo-statistic-countdown",22),e(71,"div",23),u(),e(72,"p"),n(73,"\u5012\u8BA1\u65F6\u7EC4\u4EF6\u3002"),t(),s(),t()()()(),e(74,"section",27),u(),e(75,"h2",28)(76,"span"),n(77,"API"),t(),e(78,"a",29),n(79,"#"),t()(),e(80,"h3",30)(81,"span"),n(82,"nz-statistic"),t(),e(83,"label",31),n(84,"component"),t(),e(85,"label",32),n(86,"standalone"),t(),e(87,"a",33),n(88,"#"),t()(),e(89,"table")(90,"thead")(91,"tr")(92,"th"),n(93,"\u53C2\u6570"),t(),e(94,"th"),n(95,"\u8BF4\u660E"),t(),e(96,"th"),n(97,"\u7C7B\u578B"),t(),e(98,"th"),n(99,"\u9ED8\u8BA4\u503C"),t()()(),e(100,"tbody")(101,"tr")(102,"td")(103,"code"),n(104,"[nzPrefix]"),t()(),e(105,"td"),n(106,"\u8BBE\u7F6E\u6570\u503C\u7684\u524D\u7F00"),t(),e(107,"td")(108,"code"),n(109,"string | TemplateRef<void>"),t()(),e(110,"td"),n(111,"-"),t()(),e(112,"tr")(113,"td")(114,"code"),n(115,"[nzSuffix]"),t()(),e(116,"td"),n(117,"\u8BBE\u7F6E\u6570\u503C\u7684\u540E\u7F00"),t(),e(118,"td")(119,"code"),n(120,"string | TemplateRef<void>"),t()(),e(121,"td"),n(122,"-"),t()(),e(123,"tr")(124,"td")(125,"code"),n(126,"[nzTitle]"),t()(),e(127,"td"),n(128,"\u6570\u503C\u7684\u6807\u9898"),t(),e(129,"td")(130,"code"),n(131,"string | TemplateRef<void>"),t()(),e(132,"td"),n(133,"-"),t()(),e(134,"tr")(135,"td")(136,"code"),n(137,"[nzValue]"),t()(),e(138,"td"),n(139,"\u6570\u503C\u5185\u5BB9"),t(),e(140,"td")(141,"code"),n(142,"string | number"),t()(),e(143,"td"),n(144,"-"),t()(),e(145,"tr")(146,"td")(147,"code"),n(148,"[nzValueStyle]"),t()(),e(149,"td"),n(150,"\u8BBE\u7F6E\u6570\u503C\u7684\u6837\u5F0F"),t(),e(151,"td")(152,"code"),n(153,"Object"),t()(),e(154,"td"),n(155,"-"),t()(),e(156,"tr")(157,"td")(158,"code"),n(159,"[nzValueTemplate]"),t()(),e(160,"td"),n(161,"\u81EA\u5B9A\u4E49\u6570\u503C\u5C55\u793A"),t(),e(162,"td")(163,"code"),n(164,"TemplateRef<{ $implicit: string | number }>"),t()(),e(165,"td"),n(166,"-"),t()(),e(167,"tr")(168,"td")(169,"code"),n(170,"[nzLoading]"),t()(),e(171,"td"),n(172,"\u6570\u503C\u662F\u5426\u52A0\u8F7D\u4E2D"),t(),e(173,"td")(174,"code"),n(175,"boolean"),t()(),e(176,"td")(177,"code"),n(178,"false"),t()()()()(),e(179,"h3",34)(180,"span"),n(181,"nz-countdown"),t(),e(182,"label",31),n(183,"component"),t(),e(184,"label",32),n(185,"standalone"),t(),e(186,"a",35),n(187,"#"),t()(),e(188,"table")(189,"thead")(190,"tr")(191,"th"),n(192,"\u53C2\u6570"),t(),e(193,"th"),n(194,"\u8BF4\u660E"),t(),e(195,"th"),n(196,"\u7C7B\u578B"),t(),e(197,"th"),n(198,"\u9ED8\u8BA4\u503C"),t()()(),e(199,"tbody")(200,"tr")(201,"td")(202,"code"),n(203,"[nzFormat]"),t()(),e(204,"td"),n(205,"\u683C\u5F0F\u5316\u5012\u8BA1\u65F6\u5C55\u793A"),t(),e(206,"td")(207,"code"),n(208,"string"),t()(),e(209,"td")(210,"code"),n(211,'"HH:mm:ss"'),t()()(),e(212,"tr")(213,"td")(214,"code"),n(215,"[nzPrefix]"),t()(),e(216,"td"),n(217,"\u8BBE\u7F6E\u6570\u503C\u7684\u524D\u7F00"),t(),e(218,"td")(219,"code"),n(220,"string | TemplateRef<void>"),t()(),e(221,"td"),n(222,"-"),t()(),e(223,"tr")(224,"td")(225,"code"),n(226,"[nzSuffix]"),t()(),e(227,"td"),n(228,"\u8BBE\u7F6E\u6570\u503C\u7684\u540E\u7F00"),t(),e(229,"td")(230,"code"),n(231,"string | TemplateRef<void>"),t()(),e(232,"td"),n(233,"-"),t()(),e(234,"tr")(235,"td")(236,"code"),n(237,"[nzTitle]"),t()(),e(238,"td"),n(239,"\u6570\u503C\u7684\u6807\u9898"),t(),e(240,"td")(241,"code"),n(242,"string | TemplateRef<void>"),t()(),e(243,"td"),n(244,"-"),t()(),e(245,"tr")(246,"td")(247,"code"),n(248,"[nzValue]"),t()(),e(249,"td"),n(250,"\u65F6\u95F4\u6233\u683C\u5F0F\u7684\u76EE\u6807\u65F6\u95F4"),t(),e(251,"td")(252,"code"),n(253,"string | number"),t()(),e(254,"td"),n(255,"-"),t()(),e(256,"tr")(257,"td")(258,"code"),n(259,"[nzValueTemplate]"),t()(),e(260,"td"),n(261,"\u81EA\u5B9A\u4E49\u65F6\u95F4\u5C55\u793A"),t(),e(262,"td")(263,"code"),n(264,"TemplateRef<{ $implicit: number }>"),t()(),e(265,"td"),n(266,"-"),t()(),e(267,"tr")(268,"td")(269,"code"),n(270,"(nzCountdownFinish)"),t()(),e(271,"td"),n(272,"\u5F53\u5012\u8BA1\u65F6\u5B8C\u6210\u65F6\u53D1\u51FA\u4E8B\u4EF6"),t(),e(273,"td")(274,"code"),n(275,"void"),t()(),e(276,"td"),n(277,"-"),t()()()(),e(278,"h3",36)(279,"span"),n(280,"nzFormat"),t(),e(281,"a",37),n(282,"#"),t()(),e(283,"table")(284,"thead")(285,"tr")(286,"th"),n(287,"\u5360\u4F4D\u7B26"),t(),e(288,"th"),n(289,"\u63CF\u8FF0"),t()()(),e(290,"tbody")(291,"tr")(292,"td")(293,"code"),n(294,"Y"),t()(),e(295,"td"),n(296,"\u5E74"),t()(),e(297,"tr")(298,"td")(299,"code"),n(300,"M"),t()(),e(301,"td"),n(302,"\u6708"),t()(),e(303,"tr")(304,"td")(305,"code"),n(306,"D"),t()(),e(307,"td"),n(308,"\u65E5"),t()(),e(309,"tr")(310,"td")(311,"code"),n(312,"H"),t()(),e(313,"td"),n(314,"\u65F6"),t()(),e(315,"tr")(316,"td")(317,"code"),n(318,"m"),t()(),e(319,"td"),n(320,"\u5206"),t()(),e(321,"tr")(322,"td")(323,"code"),n(324,"s"),t()(),e(325,"td"),n(326,"\u79D2"),t()(),e(327,"tr")(328,"td")(329,"code"),n(330,"S"),t()(),e(331,"td"),n(332,"\u6BEB\u79D2"),t()()()(),s(),t()()),m&2&&(o(),i("nzOffsetTop",16),o(),i("nzAffix",!1),o(49),i("nzGutter",16),o(),i("nzXl",12)("nzSpan",24),o(),i("nzId","components-statistic-demo-basic")("nzLink","components-statistic-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/statistic/demo/basic.md"),o(5),i("nzId","components-statistic-demo-card")("nzLink","components-statistic-demo-card")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/statistic/demo/card.md"),o(5),i("nzXl",12)("nzSpan",24),o(),i("nzId","components-statistic-demo-unit")("nzLink","components-statistic-demo-unit")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/statistic/demo/unit.md"),o(5),i("nzId","components-statistic-demo-countdown")("nzLink","components-statistic-demo-countdown")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/statistic/demo/countdown.md"))},dependencies:[P,C,O,L,_,E,x,M,h,U,Z,Q,X],encapsulation:2});let l=a;return l})();var ae=(()=>{let a=class a{constructor(){this.expanded=!1}goLink(r){window&&(window.location.hash=r)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(r=>r.expandCode(this.expanded))}};a.\u0275fac=function(m){return new(m||a)},a.\u0275cmp=z({type:a,selectors:[["nz-demo-statistic"]],viewQuery:function(m,c){if(m&1&&A(C,5),m&2){let p;H(p=R())&&(c.codeBoxes=p)}},standalone:!0,features:[S],decls:338,vars:23,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-statistic-demo-basic","nzTitle","Basic Usage"],["nzHref","#components-statistic-demo-unit","nzTitle","Unit"],["nzHref","#components-statistic-demo-card","nzTitle","In Card"],["nzHref","#components-statistic-demo-countdown","nzTitle","Countdown"],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/statistic/doc/index.en-US.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nz-icon","","nzType","edit"],["id","when-to-use"],["onclick","window.location.hash = 'when-to-use'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["nz-icon","","nzType","appstore","nz-tooltip","","nzTooltipTitle","Expand All Code",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzXl","nzSpan"],["nzTitle","Basic Usage","nzSelector","nz-demo-statistic-basic","nzGenerateCommand","ng g ng-zorro-antd:statistic-basic <name>","nzComponentName","NzDemoStatisticBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","In Card","nzSelector","nz-demo-statistic-card","nzGenerateCommand","ng g ng-zorro-antd:statistic-card <name>","nzComponentName","NzDemoStatisticCardComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Unit","nzSelector","nz-demo-statistic-unit","nzGenerateCommand","ng g ng-zorro-antd:statistic-unit <name>","nzComponentName","NzDemoStatisticUnitComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Countdown","nzSelector","nz-demo-statistic-countdown","nzGenerateCommand","ng g ng-zorro-antd:statistic-countdown <name>","nzComponentName","NzDemoStatisticCountdownComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-statistic:standalone"],[1,"api-type-label","component"],[1,"api-type-label","standalone"],["onclick","window.location.hash = 'nz-statistic:standalone'",1,"anchor"],["id","nz-countdown:standalone"],["onclick","window.location.hash = 'nz-countdown:standalone'",1,"anchor"],["id","nzformat"],["onclick","window.location.hash = 'nzformat'",1,"anchor"]],template:function(m,c){m&1&&(e(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),b("nzClick",function(D){return c.goLink(D)}),d(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6),t()(),e(8,"section",7)(9,"h1"),n(10,"Statistic"),d(11,"span",8)(12,"span",9),e(13,"a",10),d(14,"span",11),t()(),e(15,"section",7),u(),e(16,"p"),n(17,"Display statistic number."),t(),e(18,"h2",12)(19,"span"),n(20,"When To Use"),t(),e(21,"a",13),n(22,"#"),t()(),e(23,"ul")(24,"li"),n(25,"When want to highlight some data."),t(),e(26,"li"),n(27,"When want to display statistic data with description."),t()(),e(28,"pre",14)(29,"code")(30,"span",15),n(31,"import"),t(),n(32," "),e(33,"span",16),n(34,"{"),t(),n(35," NzStatisticModule "),e(36,"span",16),n(37,"}"),t(),n(38," "),e(39,"span",15),n(40,"from"),t(),n(41," "),e(42,"span",17),n(43,"'ng-zorro-antd/statistic'"),t(),e(44,"span",16),n(45,";"),t()()(),s(),t(),e(46,"h2")(47,"span"),n(48,"Examples"),t(),e(49,"span",18),b("click",function(){return c.expandAllCode()}),t()()(),e(50,"div",19)(51,"div",20)(52,"nz-code-box",21),d(53,"nz-demo-statistic-basic",22),e(54,"div",23),u(),e(55,"p"),n(56,"Simplest Usage."),t(),s(),t()(),e(57,"nz-code-box",24),d(58,"nz-demo-statistic-card",22),e(59,"div",23),u(),e(60,"p"),n(61,"Display statistic data in Card."),t(),s(),t()()(),e(62,"div",20)(63,"nz-code-box",25),d(64,"nz-demo-statistic-unit",22),e(65,"div",23),u(),e(66,"p"),n(67,"Add unit through "),e(68,"code"),n(69,"nzPrefix"),t(),n(70," and "),e(71,"code"),n(72,"nzSuffix"),t(),n(73,"."),t(),s(),t()(),e(74,"nz-code-box",26),d(75,"nz-demo-statistic-countdown",22),e(76,"div",23),u(),e(77,"p"),n(78,"Countdown component."),t(),s(),t()()()(),e(79,"section",27),u(),e(80,"h2",28)(81,"span"),n(82,"API"),t(),e(83,"a",29),n(84,"#"),t()(),e(85,"h3",30)(86,"span"),n(87,"nz-statistic"),t(),e(88,"label",31),n(89,"component"),t(),e(90,"label",32),n(91,"standalone"),t(),e(92,"a",33),n(93,"#"),t()(),e(94,"table")(95,"thead")(96,"tr")(97,"th"),n(98,"Property"),t(),e(99,"th"),n(100,"Description"),t(),e(101,"th"),n(102,"Type"),t(),e(103,"th"),n(104,"Default"),t()()(),e(105,"tbody")(106,"tr")(107,"td")(108,"code"),n(109,"[nzPrefix]"),t()(),e(110,"td"),n(111,"Prefix of Value"),t(),e(112,"td")(113,"code"),n(114,"string | TemplateRef<void>"),t()(),e(115,"td"),n(116,"-"),t()(),e(117,"tr")(118,"td")(119,"code"),n(120,"[nzSuffix]"),t()(),e(121,"td"),n(122,"Suffix of Value"),t(),e(123,"td")(124,"code"),n(125,"string | TemplateRef<void>"),t()(),e(126,"td"),n(127,"-"),t()(),e(128,"tr")(129,"td")(130,"code"),n(131,"[nzTitle]"),t()(),e(132,"td"),n(133,"Title"),t(),e(134,"td")(135,"code"),n(136,"string | TemplateRef<void>"),t()(),e(137,"td"),n(138,"-"),t()(),e(139,"tr")(140,"td")(141,"code"),n(142,"[nzValue]"),t()(),e(143,"td"),n(144,"Value"),t(),e(145,"td")(146,"code"),n(147,"string | number"),t()(),e(148,"td"),n(149,"-"),t()(),e(150,"tr")(151,"td")(152,"code"),n(153,"[nzValueStyle]"),t()(),e(154,"td"),n(155,"Value CSS style"),t(),e(156,"td")(157,"code"),n(158,"Object"),t()(),e(159,"td"),n(160,"-"),t()(),e(161,"tr")(162,"td")(163,"code"),n(164,"[nzValueTemplate]"),t()(),e(165,"td"),n(166,"Custom template to render a number"),t(),e(167,"td")(168,"code"),n(169,"TemplateRef<{ $implicit: string | number }>"),t()(),e(170,"td"),n(171,"-"),t()(),e(172,"tr")(173,"td")(174,"code"),n(175,"[nzLoading]"),t()(),e(176,"td"),n(177,"Loading status of Statistic"),t(),e(178,"td")(179,"code"),n(180,"boolean"),t()(),e(181,"td")(182,"code"),n(183,"false"),t()()()()(),e(184,"h3",34)(185,"span"),n(186,"nz-countdown"),t(),e(187,"label",31),n(188,"component"),t(),e(189,"label",32),n(190,"standalone"),t(),e(191,"a",35),n(192,"#"),t()(),e(193,"table")(194,"thead")(195,"tr")(196,"th"),n(197,"Property"),t(),e(198,"th"),n(199,"Description"),t(),e(200,"th"),n(201,"Type"),t(),e(202,"th"),n(203,"Default"),t()()(),e(204,"tbody")(205,"tr")(206,"td")(207,"code"),n(208,"[nzFormat]"),t()(),e(209,"td"),n(210,"Format string"),t(),e(211,"td")(212,"code"),n(213,"string"),t()(),e(214,"td")(215,"code"),n(216,'"HH:mm:ss"'),t()()(),e(217,"tr")(218,"td")(219,"code"),n(220,"[nzPrefix]"),t()(),e(221,"td"),n(222,"Prefix of Value"),t(),e(223,"td")(224,"code"),n(225,"string | TemplateRef<void>"),t()(),e(226,"td"),n(227,"-"),t()(),e(228,"tr")(229,"td")(230,"code"),n(231,"[nzSuffix]"),t()(),e(232,"td"),n(233,"Suffix of Value"),t(),e(234,"td")(235,"code"),n(236,"string | TemplateRef<void>"),t()(),e(237,"td"),n(238,"-"),t()(),e(239,"tr")(240,"td")(241,"code"),n(242,"[nzTitle]"),t()(),e(243,"td"),n(244,"Title"),t(),e(245,"td")(246,"code"),n(247,"string | TemplateRef<void>"),t()(),e(248,"td"),n(249,"-"),t()(),e(250,"tr")(251,"td")(252,"code"),n(253,"[nzValue]"),t()(),e(254,"td"),n(255,"Target time in timestamp form"),t(),e(256,"td")(257,"code"),n(258,"string | number"),t()(),e(259,"td"),n(260,"-"),t()(),e(261,"tr")(262,"td")(263,"code"),n(264,"[nzValueTemplate]"),t()(),e(265,"td"),n(266,"Custom template to render a time"),t(),e(267,"td")(268,"code"),n(269,"TemplateRef<{ $implicit: number }>"),t()(),e(270,"td"),n(271,"-"),t()(),e(272,"tr")(273,"td")(274,"code"),n(275,"(nzCountdownFinish)"),t()(),e(276,"td"),n(277,"Emit when countdown finishes"),t(),e(278,"td")(279,"code"),n(280,"void"),t()(),e(281,"td"),n(282,"-"),t()()()(),e(283,"h3",36)(284,"span"),n(285,"nzFormat"),t(),e(286,"a",37),n(287,"#"),t()(),e(288,"table")(289,"thead")(290,"tr")(291,"th"),n(292,"Token"),t(),e(293,"th"),n(294,"Description"),t()()(),e(295,"tbody")(296,"tr")(297,"td")(298,"code"),n(299,"Y"),t()(),e(300,"td"),n(301,"Year"),t()(),e(302,"tr")(303,"td")(304,"code"),n(305,"M"),t()(),e(306,"td"),n(307,"Month"),t()(),e(308,"tr")(309,"td")(310,"code"),n(311,"D"),t()(),e(312,"td"),n(313,"Date"),t()(),e(314,"tr")(315,"td")(316,"code"),n(317,"H"),t()(),e(318,"td"),n(319,"Hour"),t()(),e(320,"tr")(321,"td")(322,"code"),n(323,"m"),t()(),e(324,"td"),n(325,"Minute"),t()(),e(326,"tr")(327,"td")(328,"code"),n(329,"s"),t()(),e(330,"td"),n(331,"Second"),t()(),e(332,"tr")(333,"td")(334,"code"),n(335,"S"),t()(),e(336,"td"),n(337,"Millisecond"),t()()()(),s(),t()()),m&2&&(o(),i("nzOffsetTop",16),o(),i("nzAffix",!1),o(48),i("nzGutter",16),o(),i("nzXl",12)("nzSpan",24),o(),i("nzId","components-statistic-demo-basic")("nzLink","components-statistic-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/statistic/demo/basic.md"),o(5),i("nzId","components-statistic-demo-card")("nzLink","components-statistic-demo-card")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/statistic/demo/card.md"),o(5),i("nzXl",12)("nzSpan",24),o(),i("nzId","components-statistic-demo-unit")("nzLink","components-statistic-demo-unit")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/statistic/demo/unit.md"),o(11),i("nzId","components-statistic-demo-countdown")("nzLink","components-statistic-demo-countdown")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/statistic/demo/countdown.md"))},dependencies:[P,C,O,L,_,E,x,M,h,U,Z,Q,X],encapsulation:2});let l=a;return l})();var Se=[{path:"en",component:ae},{path:"zh",component:oe}],tt=Se;export{tt as default};