PageSourceSearch

https://preview-8478-ng-zorro-antd.surge.sh/chunk-ARHWFVAC.js

js preview-8478-ng-zorro-antd.surge.sh collected 2026-10-03 14:59:01 UTC 6,732 bytes, 1 lines download raw bytes

1import{p as at}from"./chunk-6UXGUGBT.js";import{f as ot,g as rt}from"./chunk-VQQABQOG.js";import{$b as V,Bb as k,Cb as f,Db as g,E as w,Ia as r,Ja as m,Lb as S,Nb as B,Oa as $,Od as tt,Ra as L,Rb as Z,Rc as I,Sa as R,Ta as p,Tb as U,Va as s,Wb as q,Xa as A,Y as E,Zb as G,bb as _,bc as J,ca as x,ga as M,gb as u,ha as C,hb as d,ia as y,ib as T,ic as K,jb as z,ka as j,kb as h,kc as Q,l as F,lb as H,lf as nt,mf as it,oa as v,pc as W,rb as l,re as et,tc as X,uc as Y,ya as P}from"./chunk-BPHN4FUK.js";var st=(()=>{let e=class e{transform(a,n="HH:mm:ss"){let o=Number(a||0);return at.reduce((c,[D,O])=>{if(c.indexOf(D)!==-1){let b=Math.floor(o/O);return o-=b*O,c.replace(new RegExp(`${D}+`,"g"),ct=>et(b.toString(),ct.length,"0"))}return c},n)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=j({name:"nzTimeRange",type:e,pure:!0,standalone:!0});let t=e;return t})(),lt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=y({type:e}),e.\u0275inj=x({});let t=e;return t})();var ut=t=>({$implicit:t});function dt(t,e){if(t&1&&H(0,3),t&2){let i=l();s("ngTemplateOutlet",i.nzValueTemplate)("ngTemplateOutletContext",B(2,ut,i.nzValue))}}function ft(t,e){if(t&1&&(u(0,"span",6),f(1),d()),t&2){let i=l(2);r(),g(i.displayInt)}}function gt(t,e){if(t&1&&(u(0,"span",7),f(1),d()),t&2){let i=l(2);r(),g(i.displayDecimal)}}function zt(t,e){if(t&1&&(z(0),p(1,ft,2,1,"span",4)(2,gt,2,1,"span",5),h()),t&2){let i=l();r(),s("ngIf",i.displayInt),r(),s("ngIf",i.displayDecimal)}}function ht(t,e){if(t&1&&(z(0),f(1),h()),t&2){let i=l();r(),g(i.nzTitle)}}function xt(t,e){t&1&&T(0,"nz-skeleton",2),t&2&&s("nzParagraph",!1)}function Ct(t,e){if(t&1&&(z(0),f(1),h()),t&2){let i=l(3);r(),g(i.nzPrefix)}}function yt(t,e){if(t&1&&(u(0,"span",4),p(1,Ct,2,1,"ng-container",1),d()),t&2){let i=l(2);r(),s("nzStringTemplateOutlet",i.nzPrefix)}}function _t(t,e){if(t&1&&(z(0),f(1),h()),t&2){let i=l(3);r(),g(i.nzSuffix)}}function Tt(t,e){if(t&1&&(u(0,"span",6),p(1,_t,2,1,"ng-container",1),d()),t&2){let i=l(2);r(),s("nzStringTemplateOutlet",i.nzSuffix)}}function St(t,e){if(t&1&&(u(0,"div",3),p(1,yt,2,1,"span",4),T(2,"nz-statistic-number",5),p(3,Tt,2,1,"span",6),d()),t&2){let i=l();s("ngStyle",i.nzValueStyle),r(),_(1,i.nzPrefix?1:-1),r(),s("nzValue",i.nzValue)("nzValueTemplate",i.nzValueTemplate),r(),_(3,i.nzSuffix?3:-1)}}function vt(t,e){if(t&1&&(f(0),Z(1,"nzTimeRange")),t&2){let i=l();g(U(1,1,i.diff,i.nzFormat))}}var Vt=(()=>{let e=class e{constructor(a){this.locale_id=a,this.displayInt="",this.displayDecimal=""}ngOnChanges(){this.formatNumber()}formatNumber(){let a=typeof this.nzValue=="number"?".":Q(this.locale_id,K.Decimal),n=String(this.nzValue),[o,c]=n.split(a);this.displayInt=o,this.displayDecimal=c?`${a}${c}`:""}};e.\u0275fac=function(n){return new(n||e)(m(G))},e.\u0275cmp=C({type:e,selectors:[["nz-statistic-number"]],inputs:{nzValue:"nzValue",nzValueTemplate:"nzValueTemplate"},exportAs:["nzStatisticNumber"],standalone:!0,features:[v,S],decls:3,vars:2,consts:[[1,"ant-statistic-content-value"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","ant-statistic-content-value-int",4,"ngIf"],["class","ant-statistic-content-value-decimal",4,"ngIf"],[1,"ant-statistic-content-value-int"],[1,"ant-statistic-content-value-decimal"]],template:function(n,o){n&1&&(u(0,"span",0),p(1,dt,1,4,"ng-container",1)(2,zt,3,2,"ng-container",2),d()),n&2&&(r(),s("ngIf",o.nzValueTemplate),r(),s("ngIf",!o.nzValueTemplate))},dependencies:[W,Y],encapsulation:2,changeDetection:0});let t=e;return t})(),N=(()=>{let e=class e{constructor(a,n){this.cdr=a,this.directionality=n,this.nzValueStyle={},this.nzLoading=!1,this.dir="ltr",this.destroy$=new F}ngOnInit(){this.directionality.change?.pipe(E(this.destroy$)).subscribe(a=>{this.dir=a,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}};e.\u0275fac=function(n){return new(n||e)(m(V),m(I,8))},e.\u0275cmp=C({type:e,selectors:[["nz-statistic"]],hostAttrs:[1,"ant-statistic"],hostVars:2,hostBindings:function(n,o){n&2&&A("ant-statistic-rtl",o.dir==="rtl")},inputs:{nzPrefix:"nzPrefix",nzSuffix:"nzSuffix",nzTitle:"nzTitle",nzValue:"nzValue",nzValueStyle:"nzValueStyle",nzValueTemplate:"nzValueTemplate",nzLoading:[M.HasDecoratorInputTransform,"nzLoading","nzLoading",J]},exportAs:["nzStatistic"],standalone:!0,features:[R,S],decls:4,vars:2,consts:[[1,"ant-statistic-title"],[4,"nzStringTemplateOutlet"],[1,"ant-statistic-skeleton",3,"nzParagraph"],[1,"ant-statistic-content",3,"ngStyle"],[1,"ant-statistic-content-prefix"],[3,"nzValue","nzValueTemplate"],[1,"ant-statistic-content-suffix"]],template:function(n,o){n&1&&(u(0,"div",0),p(1,ht,2,1,"ng-container",1),d(),p(2,xt,1,1,"nz-skeleton",2)(3,St,4,5)),n&2&&(r(),s("nzStringTemplateOutlet",o.nzTitle),r(),_(2,o.nzLoading?2:3))},dependencies:[rt,ot,Vt,it,nt,X],encapsulation:2,changeDetection:0});let t=e;return t})(),It=1e3/30,Nt=(()=>{let e=class e extends N{constructor(a,n,o,c){super(a,c),this.ngZone=n,this.platform=o,this.nzFormat="HH:mm:ss",this.nzCountdownFinish=new P,this.target=0}ngOnChanges(a){a.nzValue&&(this.target=Number(a.nzValue.currentValue),a.nzValue.isFirstChange()||this.syncTimer())}ngOnInit(){super.ngOnInit(),this.syncTimer()}ngOnDestroy(){this.stopTimer()}syncTimer(){this.target>=Date.now()?this.startTimer():this.stopTimer()}startTimer(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.stopTimer(),this.updater_=w(It).subscribe(()=>
1{this.updateValue(),this.cdr.detectChanges()})})}stopTimer(){this.updater_&&(this.updater_.unsubscribe(),this.updater_=null)}updateValue(){this.diff=Math.max(this.target-Date.now(),0),this.diff===0&&(this.stopTimer(),this.nzCountdownFinish.observers.length&&this.ngZone.run(()=>this.nzCountdownFinish.emit()))}};e.\u0275fac=function(n){return new(n||e)(m(V),m($),m(tt),m(I,8))},e.\u0275cmp=C({type:e,selectors:[["nz-countdown"]],inputs:{nzFormat:"nzFormat"},outputs:{nzCountdownFinish:"nzCountdownFinish"},exportAs:["nzCountdown"],standalone:!0,features:[L,v,S],decls:3,vars:6,consts:[["countDownTpl",""],[3,"nzValue","nzValueStyle","nzValueTemplate","nzTitle","nzPrefix","nzSuffix"]],template:function(n,o){if(n&1&&(T(0,"nz-statistic",1),p(1,vt,2,4,"ng-template",null,0,q)),n&2){let c=k(2);s("nzValue",o.diff)("nzValueStyle",o.nzValueStyle)("nzValueTemplate",o.nzValueTemplate||c)("nzTitle",o.nzTitle)("nzPrefix",o.nzPrefix)("nzSuffix",o.nzSuffix)}},dependencies:[N,lt,st],encapsulation:2,changeDetection:0});let t=e;return t})(),Kt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=y({type:e}),e.\u0275inj=x({imports:[N,Nt]});let t=e;return t})();export{N as a,Nt as b,Kt as c};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.