-
Notifications
You must be signed in to change notification settings - Fork 11
/
chunk-64FTCY6P.js
1 lines (1 loc) · 47.3 KB
/
chunk-64FTCY6P.js
1
import{a as Wt,b as Ut}from"./chunk-JU572LED.js";import{a as Vt,b as qt,d as Zt}from"./chunk-HVFPNQ3B.js";import{a as Pt}from"./chunk-6AJOFIIP.js";import"./chunk-3LAVY7RV.js";import{a as H,g as Y,h as J,j as K}from"./chunk-Q4ISATUO.js";import"./chunk-JXWNPNAC.js";import{Ca as g,Ea as x,Fa as $,Fc as Qt,Gb as Rt,Hc as W,Ic as U,Lc as X,Nb as Lt,Sb as w,ec as Q,ia as dt,ja as Ht,la as Mt,oc as jt,sc as $t,ua as At,ub as ct,va as Gt}from"./chunk-YWVGY2C2.js";import{Aa as f,Ac as V,Ba as v,Bc as O,Ca as T,Cc as k,Gc as E,Hc as n,Hd as wt,Ib as s,Jb as Ft,Jc as Dt,L as gt,La as q,Ma as Ct,Mc as Nt,Nc as It,Ob as yt,Oc as Ot,Pb as h,Pc as Z,Wb as a,Yb as G,_c as S,a as zt,ba as L,dc as I,ed as j,f as ft,ic as t,ja as Et,jc as e,jd as pt,kc as m,l as ht,lc as Bt,m as mt,mb as xt,mc as _t,oa as St,oc as N,rb as u,rc as y,sb as _,tc as C,td as kt,uc as vt,vc as Tt,ya as bt,za as z,zc as ut}from"./chunk-GBKJFEQZ.js";import"./chunk-EQDQRRRY.js";function ne(o,c){}function oe(o,c){if(o&1&&(t(0,"div",2),h(1,ne,0,0,"ng-template",4),e()),o&2){let i=C(2);u(),a("ngTemplateOutlet",i.nzIcon)}}function ie(o,c){if(o&1&&(Bt(0),n(1),_t()),o&2){let i=C(3);u(),Dt(" ",i.nzDescription," ")}}function re(o,c){if(o&1&&(t(0,"div",3),h(1,ie,2,1,"ng-container",5),e()),o&2){let i=C(2);u(),a("nzStringTemplateOutlet",i.nzDescription)}}function le(o,c){if(o&1&&h(0,oe,2,1,"div",2)(1,re,2,1,"div",3),o&2){let i=C();I(i.nzIcon?0:-1),u(),I(i.nzDescription&&i.nzShape==="square"?1:-1)}}function ae(o,c){o&1&&(t(0,"div",2),m(1,"nz-icon",6),e())}function me(o,c){if(o&1){let i=N();t(0,"a",2),y("click",function(){v(i);let l=C();return T(l.nzOnClick.emit(!0))}),m(1,"nz-float-button-content",3),e()}if(o&2){let i=C();G("ant-float-btn-default",i.nzType==="default"),a("target",i.nzTarget)("href",i.nzHref,xt)("nzType",i.nzType),u(),a("nzIcon",i.nzIcon)("nzDescription",i.nzDescription)("nzShape",i.nzShape)}}function ue(o,c){if(o&1){let i=N();t(0,"button",4),y("click",function(){v(i);let l=C();return T(l.nzOnClick.emit(!0))}),m(1,"nz-float-button-content",3),e()}if(o&2){let i=C();G("ant-float-btn-default",i.nzType==="default"),a("nzType",i.nzType),u(),a("nzIcon",i.nzIcon)("nzDescription",i.nzDescription)("nzShape",i.nzShape)}}var pe=["backTop"];function de(o,c){o&1&&m(0,"nz-icon",3)}var ce=["*"];function se(o,c){if(o&1&&(t(0,"div"),Tt(1),e()),o&2){let i=C();G("ant-float-btn-group-wrap",!!i.nzTrigger),a("@fadeMotion",void 0)}}function ze(o,c){if(o&1){let i=N();t(0,"nz-float-button",4),y("nzOnClick",function(){v(i);let l=C(2);return T(l.clickOpenMenu())})("mouseover",function(){v(i);let l=C(2);return T(l.hoverOpenMenu())}),e()}if(o&2){let i=C(2);a("nzType",i.nzType)("nzIcon",i.nzIcon)("nzShape",i.nzShape)("nzDescription",i.nzDescription)}}function fe(o,c){if(o&1){let i=N();t(0,"nz-float-button",5),y("nzOnClick",function(){v(i);let l=C(2);return T(l.clickCloseMenu())}),e()}if(o&2){let i=C(2),r=E(3);a("nzType",i.nzType)("nzIcon",r)("nzShape",i.nzShape)}}function he(o,c){if(o&1&&h(0,ze,1,4,"nz-float-button",2)(1,fe,1,3,"nz-float-button",3),o&2){let i=C();I(!i.isOpen&&!i.nzOpen?0:1)}}function ge(o,c){o&1&&m(0,"nz-icon",6)}var Xt=(()=>{class o{constructor(){this.nzIcon=null,this.nzDescription=null,this.nzShape="circle"}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-float-button-content"]],inputs:{nzIcon:"nzIcon",nzDescription:"nzDescription",nzShape:"nzShape"},exportAs:["nzFloatButtonContent"],decls:4,vars:1,consts:[[1,"ant-float-btn-body"],[1,"ant-float-btn-content"],[1,"ant-float-btn-icon"],[1,"ant-float-btn-description"],[3,"ngTemplateOutlet"],[4,"nzStringTemplateOutlet"],["nzType","file-text","nzTheme","outline"]],template:function(r,l){r&1&&(t(0,"div",0)(1,"div",1),h(2,le,2,2)(3,ae,2,0,"div",2),e()()),r&2&&(u(2),I(l.nzDescription||l.nzIcon?2:3))},dependencies:[x,g,wt,Rt],encapsulation:2,changeDetection:0})}}return o})(),b=(()=>{class o{constructor(i,r,l){this.destroy$=i,this.directionality=r,this.cdr=l,this.nzHref=null,this.nzTarget=null,this.nzType="default",this.nzShape="circle",this.nzIcon=null,this.nzDescription=null,this.nzOnClick=new q,this.dir="ltr",this.dir=this.directionality.value}ngOnInit(){this.directionality.change?.pipe(L(this.destroy$)).subscribe(i=>{this.dir=i,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(r){return new(r||o)(_(w),_($),_(j))}}static{this.\u0275cmp=s({type:o,selectors:[["nz-float-button"]],hostAttrs:[1,"ant-float-btn"],hostVars:6,hostBindings:function(r,l){r&2&&G("ant-float-btn-circle",l.nzShape==="circle")("ant-float-btn-square",l.nzShape==="square")("ant-float-btn-rtl",l.dir==="rtl")},inputs:{nzHref:"nzHref",nzTarget:"nzTarget",nzType:"nzType",nzShape:"nzShape",nzIcon:"nzIcon",nzDescription:"nzDescription"},outputs:{nzOnClick:"nzOnClick"},exportAs:["nzFloatButton"],features:[Z([w])],decls:2,vars:1,consts:[["nz-button","",1,"ant-float-btn-inner",3,"target","href","nzType","ant-float-btn-default"],["nz-button","",1,"ant-float-btn-inner",3,"nzType","ant-float-btn-default"],["nz-button","",1,"ant-float-btn-inner",3,"click","target","href","nzType"],[3,"nzIcon","nzDescription","nzShape"],["nz-button","",1,"ant-float-btn-inner",3,"click","nzType"]],template:function(r,l){r&1&&h(0,me,2,8,"a",0)(1,ue,2,6,"button",1),r&2&&I(l.nzHref?0:1)},dependencies:[Zt,qt,Vt,Pt,Xt],encapsulation:2,changeDetection:0})}}return o})(),Ee="backTop",Se=Mt({passive:!0}),P=(()=>{let o,c=[],i=[];return class st{static{let l=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;o=[Gt()],ht(null,null,o,{kind:"field",name:"nzVisibilityHeight",static:!1,private:!1,access:{has:p=>"nzVisibilityHeight"in p,get:p=>p.nzVisibilityHeight,set:(p,d)=>{p.nzVisibilityHeight=d}},metadata:l},c,i),l&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:l})}set backTop(l){l&&(this.backTopClickSubscription.unsubscribe(),this.backTopClickSubscription=dt(l.nativeElement,"click").pipe(L(this.destroy$)).subscribe(()=>{this.scrollSrv.scrollTo(this.getTarget(),0,{duration:this.nzDuration}),this.nzOnClick.observers.length&&this.ngZone.run(()=>this.nzOnClick.emit(!0))}))}constructor(l,p,d,B,Kt,te,ee){this.nzConfigService=l,this.scrollSrv=p,this.platform=d,this.ngZone=B,this.cdr=Kt,this.destroy$=te,this.directionality=ee,this._nzModuleName=Ee,this.scrollListenerDestroy$=new ft,this.target=null,this.visible=!1,this.dir="ltr",this.nzHref=null,this.nzType="default",this.nzShape="circle",this.nzIcon=null,this.nzDescription=null,this.nzVisibilityHeight=mt(this,c,400),this.nzTarget=mt(this,i),this.nzDuration=450,this.nzOnClick=new q,this.doc=St(kt),this.backTopClickSubscription=zt.EMPTY,this.dir=this.directionality.value}ngOnInit(){this.registerScrollEvent(),this.directionality.change?.pipe(L(this.destroy$)).subscribe(l=>{this.dir=l,this.cdr.detectChanges()}),this.dir=this.directionality.value}getTarget(){return this.target||window}handleScroll(){this.visible!==this.scrollSrv.getScroll(this.getTarget())>this.nzVisibilityHeight&&(this.visible=!this.visible,this.cdr.detectChanges())}registerScrollEvent(){this.platform.isBrowser&&(this.scrollListenerDestroy$.next(),this.handleScroll(),dt(this.getTarget(),"scroll",Se).pipe(gt(50),L(this.scrollListenerDestroy$)).subscribe(()=>this.handleScroll()))}ngOnDestroy(){this.scrollListenerDestroy$.next(),this.scrollListenerDestroy$.complete()}detectChanges(){this.cdr.detectChanges()}ngOnChanges(l){let{nzTarget:p}=l;p&&(this.target=typeof this.nzTarget=="string"?this.doc.querySelector(this.nzTarget):this.nzTarget,this.registerScrollEvent())}static{this.\u0275fac=function(p){return new(p||st)(_(At),_(Lt),_(Ht),_(Ct),_(j),_(w),_($))}}static{this.\u0275cmp=s({type:st,selectors:[["nz-float-button-top"]],viewQuery:function(p,d){if(p&1&&V(pe,5),p&2){let B;O(B=k())&&(d.backTop=B.first)}},hostAttrs:[1,"ant-float-btn","ant-float-btn-top"],hostVars:8,hostBindings:function(p,d){p&2&&G("ant-float-btn-circle",d.nzShape==="circle")("ant-float-btn-hidden",!d.visible)("ant-float-btn-square",d.nzShape==="square")("ant-float-btn-rtl",d.dir==="rtl")},inputs:{nzHref:"nzHref",nzType:"nzType",nzShape:"nzShape",nzIcon:"nzIcon",nzDescription:"nzDescription",nzTemplate:"nzTemplate",nzVisibilityHeight:[2,"nzVisibilityHeight","nzVisibilityHeight",pt],nzTarget:"nzTarget",nzDuration:[2,"nzDuration","nzDuration",pt]},outputs:{nzOnClick:"nzOnClick"},exportAs:["nzFloatButtonTop"],features:[Z([w]),yt,bt],decls:5,vars:6,consts:[["backTop",""],["top",""],[3,"nzIcon","nzDescription","nzHref","nzType","nzShape"],["nzType","vertical-align-top","nzTheme","outline"]],template:function(p,d){if(p&1&&(t(0,"div",null,0),m(2,"nz-float-button",2),h(3,de,1,0,"ng-template",null,1,S),e()),p&2){let B=E(4);a("@fadeMotion",void 0),u(2),a("nzIcon",d.nzIcon||B)("nzDescription",d.nzDescription)("nzHref",d.nzHref)("nzType",d.nzType)("nzShape",d.nzShape)}},dependencies:[b,x,g],encapsulation:2,data:{animation:[ct]},changeDetection:0})}}})(),R=(()=>{class o{constructor(i,r,l){this.destroy$=i,this.directionality=r,this.cdr=l,this.nzHref=null,this.nzTarget=null,this.nzType="default",this.nzIcon=null,this.nzDescription=null,this.nzShape="circle",this.nzTrigger=null,this.nzOpen=null,this.nzOnOpenChange=new q,this.isOpen=!1,this.dir="ltr",this.dir=this.directionality.value}ngOnInit(){this.directionality.change?.pipe(L(this.destroy$)).subscribe(i=>{this.dir=i,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.nzFloatButtonComponent&&this.nzFloatButtonComponent.forEach(i=>{i.nzShape=this.nzShape}),this.nzFloatButtonTopComponents&&this.nzFloatButtonTopComponents.forEach(i=>{i.nzShape=this.nzShape,i.detectChanges()})}clickOpenMenu(){this.nzTrigger!=="click"||this.nzOpen!==null||(this.isOpen=!0,this.nzOnOpenChange.emit(!0),this.cdr.markForCheck())}hoverOpenMenu(){this.nzTrigger!=="hover"||this.nzOpen!==null||(this.isOpen=!0,this.nzOnOpenChange.emit(!0),this.cdr.markForCheck())}clickCloseMenu(){this.nzTrigger==="click"&&(this.isOpen=!1,this.nzOnOpenChange.emit(!1),this.cdr.markForCheck())}hoverCloseMenu(){this.nzTrigger!=="hover"||typeof this.nzOpen=="boolean"||(this.isOpen=!1,this.nzOnOpenChange.emit(!1),this.cdr.markForCheck())}static{this.\u0275fac=function(r){return new(r||o)(_(w),_($),_(j))}}static{this.\u0275cmp=s({type:o,selectors:[["nz-float-button-group"]],contentQueries:function(r,l,p){if(r&1&&(ut(p,b,4),ut(p,P,4)),r&2){let d;O(d=k())&&(l.nzFloatButtonComponent=d),O(d=k())&&(l.nzFloatButtonTopComponents=d)}},hostAttrs:[1,"ant-float-btn-group"],hostVars:10,hostBindings:function(r,l){r&1&&y("mouseleave",function(){return l.hoverCloseMenu()}),r&2&&G("ant-float-btn-group-circle",l.nzShape==="circle")("ant-float-btn-group-circle-shadow",l.nzShape==="circle")("ant-float-btn-group-square",l.nzShape==="square")("ant-float-btn-group-square-shadow",l.nzShape==="square"&&!l.nzTrigger)("ant-float-btn-group-rtl",l.dir==="rtl")},inputs:{nzHref:"nzHref",nzTarget:"nzTarget",nzType:"nzType",nzIcon:"nzIcon",nzDescription:"nzDescription",nzShape:"nzShape",nzTrigger:"nzTrigger",nzOpen:"nzOpen"},outputs:{nzOnOpenChange:"nzOnOpenChange"},exportAs:["nzFloatButtonGroup"],features:[Z([w])],ngContentSelectors:ce,decls:4,vars:2,consts:[["close",""],[3,"ant-float-btn-group-wrap"],[3,"nzType","nzIcon","nzShape","nzDescription"],[3,"nzType","nzIcon","nzShape"],[3,"nzOnClick","mouseover","nzType","nzIcon","nzShape","nzDescription"],[3,"nzOnClick","nzType","nzIcon","nzShape"],["nzType","close","nzTheme","outline"]],template:function(r,l){r&1&&(vt(),h(0,se,2,3,"div",1)(1,he,2,1)(2,ge,1,0,"ng-template",null,0,S)),r&2&&(I(!l.nzTrigger||l.isOpen||l.nzOpen===!0?0:-1),u(),I(l.nzTrigger?1:-1))},dependencies:[b,x,g],encapsulation:2,data:{animation:[ct]},changeDetection:0})}}return o})(),F=(()=>{class o{static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275mod=Ft({type:o})}static{this.\u0275inj=Et({imports:[b,R,P,Xt]})}}return o})();var tt=(()=>{class o{static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-float-button-basic"]],decls:2,vars:0,consts:[[1,"basic"]],template:function(r,l){r&1&&(t(0,"div",0),m(1,"nz-float-button"),e())},dependencies:[F,b],styles:[".basic[_ngcontent-%COMP%]{height:300px;position:relative}nz-float-button[_ngcontent-%COMP%]{position:absolute}"]})}}return o})();function be(o,c){o&1&&n(0,"HELP")}function Ce(o,c){o&1&&m(0,"nz-icon",5)}var et=(()=>{class o{static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-float-button-description"]],decls:7,vars:3,consts:[["description",""],["icon",""],[1,"description"],["nzShape","square",2,"right","24px",3,"nzIcon","nzDescription"],["nzShape","square",2,"right","94px",3,"nzDescription"],["nzType","file-text","nzTheme","outline"]],template:function(r,l){if(r&1&&(t(0,"div",2),m(1,"nz-float-button",3)(2,"nz-float-button",4),e(),h(3,be,1,0,"ng-template",null,0,S)(5,Ce,1,0,"ng-template",null,1,S)),r&2){let p=E(4),d=E(6);u(),a("nzIcon",d)("nzDescription",p),u(),a("nzDescription",p)}},dependencies:[F,b,x,g],styles:[".description[_ngcontent-%COMP%]{height:300px;position:relative}nz-float-button[_ngcontent-%COMP%]{position:absolute}"]})}}return o})();function xe(o,c){o&1&&m(0,"nz-icon",6)}function Fe(o,c){o&1&&m(0,"nz-icon",7)}var nt=(()=>{class o{openChange(i){console.log(i)}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-float-button-group-menu"]],decls:11,vars:4,consts:[["icon",""],["inner",""],[1,"menu"],["nzType","primary","nzTrigger","click",2,"right","24px",3,"nzOnOpenChange","nzIcon"],[3,"nzIcon"],["nzType","primary","nzTrigger","hover",2,"right","94px",3,"nzOnOpenChange","nzIcon"],["nzType","customer-service","nzTheme","outline"],["nzType","comment","nzTheme","outline"]],template:function(r,l){if(r&1){let p=N();t(0,"div",2)(1,"nz-float-button-group",3),y("nzOnOpenChange",function(B){return v(p),T(l.openChange(B))}),m(2,"nz-float-button")(3,"nz-float-button",4),e(),t(4,"nz-float-button-group",5),y("nzOnOpenChange",function(B){return v(p),T(l.openChange(B))}),m(5,"nz-float-button")(6,"nz-float-button",4),e()(),h(7,xe,1,0,"ng-template",null,0,S)(9,Fe,1,0,"ng-template",null,1,S)}if(r&2){let p=E(8),d=E(10);u(),a("nzIcon",p),u(2),a("nzIcon",d),u(),a("nzIcon",p),u(2),a("nzIcon",d)}},dependencies:[F,b,R,x,g],styles:[".menu[_ngcontent-%COMP%]{height:300px;position:relative}nz-float-button-group[_ngcontent-%COMP%], nz-float-button[_ngcontent-%COMP%]{position:absolute}"]})}}return o})();function ye(o,c){o&1&&m(0,"nz-icon",7)}function Be(o,c){o&1&&m(0,"nz-icon",8)}var ot=(()=>{class o{static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-float-button-group"]],decls:15,vars:6,consts:[["icon",""],["customer",""],[1,"group"],["nzShape","circle",2,"right","24px"],[3,"nzIcon"],[3,"nzVisibilityHeight"],["nzShape","square",2,"right","94px"],["nzType","question-circle","nzTheme","outline"],["nzType","customer-service","nzTheme","outline"]],template:function(r,l){if(r&1&&(t(0,"div",2)(1,"nz-float-button-group",3),m(2,"nz-float-button",4)(3,"nz-float-button")(4,"nz-float-button-top",5)(5,"nz-float-button",4),e(),t(6,"nz-float-button-group",6),m(7,"nz-float-button",4)(8,"nz-float-button")(9,"nz-float-button-top",5)(10,"nz-float-button",4),e()(),h(11,ye,1,0,"ng-template",null,0,S)(13,Be,1,0,"ng-template",null,1,S)),r&2){let p=E(12),d=E(14);u(2),a("nzIcon",p),u(2),a("nzVisibilityHeight",600),u(),a("nzIcon",d),u(2),a("nzIcon",p),u(2),a("nzVisibilityHeight",600),u(),a("nzIcon",d)}},dependencies:[F,b,R,P,x,g],styles:[".group[_ngcontent-%COMP%]{height:300px;position:relative}nz-float-button-group[_ngcontent-%COMP%], nz-float-button[_ngcontent-%COMP%]{position:absolute}"]})}}return o})();function _e(o,c){o&1&&m(0,"nz-icon",6)}function ve(o,c){o&1&&m(0,"nz-icon",7)}var it=(()=>{class o{constructor(){this.isOpen=!0}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-float-button-open"]],decls:9,vars:4,consts:[["icon",""],["inner",""],[1,"open"],["nzType","primary","nzTrigger","hover",2,"right","24px",3,"nzIcon","nzOpen"],[3,"nzIcon"],[3,"ngModelChange","ngModel"],["nzType","customer-service","nzTheme","outline"],["nzType","comment","nzTheme","outline"]],template:function(r,l){if(r&1){let p=N();t(0,"div",2)(1,"nz-float-button-group",3),m(2,"nz-float-button")(3,"nz-float-button",4),e(),t(4,"nz-switch",5),Ot("ngModelChange",function(B){return v(p),It(l.isOpen,B)||(l.isOpen=B),T(B)}),e(),h(5,_e,1,0,"ng-template",null,0,S)(7,ve,1,0,"ng-template",null,1,S),e()}if(r&2){let p=E(6),d=E(8);u(),a("nzIcon",p)("nzOpen",l.isOpen),u(2),a("nzIcon",d),u(),Nt("ngModel",l.isOpen)}},dependencies:[Qt,jt,$t,F,b,R,x,g,Ut,Wt],styles:[".open[_ngcontent-%COMP%]{height:300px;position:relative}nz-float-button-group[_ngcontent-%COMP%], nz-float-button[_ngcontent-%COMP%]{position:absolute}"]})}}return o})();function Te(o,c){o&1&&m(0,"nz-icon",4)}var rt=(()=>{class o{static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-float-button-shape"]],decls:5,vars:2,consts:[["icon",""],[1,"shape"],["nzShape","circle","nzType","primary",2,"right","94px",3,"nzIcon"],["nzShape","square","nzType","primary",2,"right","24px",3,"nzIcon"],["nzType","customer-service","nzTheme","outline"]],template:function(r,l){if(r&1&&(t(0,"div",1),m(1,"nz-float-button",2)(2,"nz-float-button",3),h(3,Te,1,0,"ng-template",null,0,S),e()),r&2){let p=E(4);u(),a("nzIcon",p),u(),a("nzIcon",p)}},dependencies:[F,b,x,g],styles:[".shape[_ngcontent-%COMP%]{height:300px;position:relative}nz-float-button[_ngcontent-%COMP%]{position:absolute}"]})}}return o})();var lt=(()=>{class o{static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-float-button-top"]],decls:2,vars:0,template:function(r,l){r&1&&(m(0,"nz-float-button-top"),n(1," Scroll down to see the back to top button on the bottom right "))},dependencies:[F,P],encapsulation:2})}}return o})();function De(o,c){o&1&&m(0,"nz-icon",4)}var at=(()=>{class o{static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-float-button-type"]],decls:5,vars:2,consts:[["icon",""],[1,"type"],["nzType","primary",2,"right","24px",3,"nzIcon"],["nzType","default",2,"right","94px",3,"nzIcon"],["nzType","question-circle","nzTheme","outline"]],template:function(r,l){if(r&1&&(t(0,"div",1),m(1,"nz-float-button",2)(2,"nz-float-button",3),e(),h(3,De,1,0,"ng-template",null,0,S)),r&2){let p=E(4);u(),a("nzIcon",p),u(),a("nzIcon",p)}},dependencies:[F,b,x,g],styles:[".type[_ngcontent-%COMP%]{height:300px;position:relative}nz-float-button[_ngcontent-%COMP%]{position:absolute}"]})}}return o})();var Yt=(()=>{class o{constructor(){this.expanded=!1}goLink(i){window&&(window.location.hash=i)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(i=>i.expandCode(this.expanded))}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-float-button"]],viewQuery:function(r,l){if(r&1&&V(H,5),r&2){let p;O(p=k())&&(l.codeBoxes=p)}},decls:383,vars:39,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-float-button-demo-basic","nzTitle","\u57FA\u672C"],["nzHref","#components-float-button-demo-type","nzTitle","\u7C7B\u578B"],["nzHref","#components-float-button-demo-shape","nzTitle","\u5F62\u72B6"],["nzHref","#components-float-button-demo-description","nzTitle","\u63CF\u8FF0"],["nzHref","#components-float-button-demo-group","nzTitle","\u6D6E\u52A8\u6309\u94AE\u7EC4"],["nzHref","#components-float-button-demo-group-menu","nzTitle","\u83DC\u5355\u6A21\u5F0F"],["nzHref","#components-float-button-demo-open","nzTitle","\u53D7\u63A7\u6A21\u5F0F"],["nzHref","#components-float-button-demo-top","nzTitle","\u8FD4\u56DE\u9876\u90E8"],["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/float-button/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["id","\u4F55\u65F6\u4F7F\u7528"],["onclick","window.location.hash = '\u4F55\u65F6\u4F7F\u7528'",1,"anchor"],["id","\u5F15\u5165\u6A21\u5757"],["onclick","window.location.hash = '\u5F15\u5165\u6A21\u5757'",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","nzSelector","nz-demo-float-button-basic","nzGenerateCommand","ng g ng-zorro-antd:float-button-basic <name>","nzComponentName","NzDemoFloatButtonBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u5F62\u72B6","nzSelector","nz-demo-float-button-shape","nzGenerateCommand","ng g ng-zorro-antd:float-button-shape <name>","nzComponentName","NzDemoFloatButtonShapeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u6D6E\u52A8\u6309\u94AE\u7EC4","nzSelector","nz-demo-float-button-group","nzGenerateCommand","ng g ng-zorro-antd:float-button-group <name>","nzComponentName","NzDemoFloatButtonGroupComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u53D7\u63A7\u6A21\u5F0F","nzSelector","nz-demo-float-button-open","nzGenerateCommand","ng g ng-zorro-antd:float-button-open <name>","nzComponentName","NzDemoFloatButtonOpenComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u7C7B\u578B","nzSelector","nz-demo-float-button-type","nzGenerateCommand","ng g ng-zorro-antd:float-button-type <name>","nzComponentName","NzDemoFloatButtonTypeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u63CF\u8FF0","nzSelector","nz-demo-float-button-description","nzGenerateCommand","ng g ng-zorro-antd:float-button-description <name>","nzComponentName","NzDemoFloatButtonDescriptionComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u83DC\u5355\u6A21\u5F0F","nzSelector","nz-demo-float-button-group-menu","nzGenerateCommand","ng g ng-zorro-antd:float-button-group-menu <name>","nzComponentName","NzDemoFloatButtonGroupMenuComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u8FD4\u56DE\u9876\u90E8","nzSelector","nz-demo-float-button-top","nzGenerateCommand","ng g ng-zorro-antd:float-button-top <name>","nzComponentName","NzDemoFloatButtonTopComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","\u5171\u540C\u7684-api"],["onclick","window.location.hash = '\u5171\u540C\u7684-api'",1,"anchor"],["id","nz-float-button-group"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-float-button-group'",1,"anchor"],["id","nz-float-button-top"],["onclick","window.location.hash = 'nz-float-button-top'",1,"anchor"]],template:function(r,l){r&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),y("nzClick",function(d){return l.goLink(d)}),m(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10),e()(),t(12,"section",11)(13,"h1"),n(14,"FloatButton"),t(15,"span",12),n(16,"\u60AC\u6D6E\u6309\u94AE"),e(),m(17,"span",13),t(18,"a",14),m(19,"nz-icon",15),e()(),t(20,"section",11),f(),t(21,"h2",16)(22,"span"),n(23,"\u4F55\u65F6\u4F7F\u7528"),e(),t(24,"a",17),n(25,"#"),e()(),t(26,"ul")(27,"li")(28,"p"),n(29,"\u7528\u4E8E\u7F51\u7AD9\u4E0A\u7684\u5168\u5C40\u529F\u80FD\uFF1B"),e()(),t(30,"li")(31,"p"),n(32,"\u65E0\u8BBA\u6D4F\u89C8\u5230\u4F55\u5904\u90FD\u53EF\u4EE5\u770B\u89C1\u7684\u6309\u94AE\u3002"),e()()(),t(33,"h3",18)(34,"span"),n(35,"\u5F15\u5165\u6A21\u5757"),e(),t(36,"a",19),n(37,"#"),e()(),t(38,"pre",20)(39,"code")(40,"span",21),n(41,"import"),e(),n(42," "),t(43,"span",22),n(44,"{"),e(),n(45," NzFloatButtonModule "),t(46,"span",22),n(47,"}"),e(),n(48," "),t(49,"span",21),n(50,"from"),e(),n(51," "),t(52,"span",23),n(53,"'ng-zorro-antd/float-button'"),e(),t(54,"span",22),n(55,";"),e()()(),z(),e(),t(56,"h2")(57,"span"),n(58,"\u4EE3\u7801\u6F14\u793A"),e(),t(59,"span",24),y("click",function(){return l.expandAllCode()}),e()()(),t(60,"div",25)(61,"div",26)(62,"nz-code-box",27),m(63,"nz-demo-float-button-basic",28),t(64,"div",29),f(),t(65,"p"),n(66,"\u6700\u7B80\u5355\u7684\u7528\u6CD5\u3002"),e(),z(),e()(),t(67,"nz-code-box",30),m(68,"nz-demo-float-button-shape",28),t(69,"div",29),f(),t(70,"p"),n(71,"\u901A\u8FC7 "),t(72,"code"),n(73,"nsShape"),e(),n(74," \u8BBE\u7F6E\u4E0D\u540C\u7684\u5F62\u72B6\u3002"),e(),z(),e()(),t(75,"nz-code-box",31),m(76,"nz-demo-float-button-group",28),t(77,"div",29),f(),t(78,"p"),n(79,"\u6309\u94AE\u7EC4\u5408\u4F7F\u7528\u65F6\uFF0C\u63A8\u8350\u4F7F\u7528 "),t(80,"code"),n(81,"nz-float-button-group"),e(),n(82,"\uFF0C\u5E76\u901A\u8FC7\u8BBE\u7F6E "),t(83,"code"),n(84,"nzShape"),e(),n(85," \u5C5E\u6027\u6539\u53D8\u60AC\u6D6E\u6309\u94AE\u7EC4\u7684\u5F62\u72B6\u3002"),e(),z(),e()(),t(86,"nz-code-box",32),m(87,"nz-demo-float-button-open",28),t(88,"div",29),f(),t(89,"p"),n(90,"\u8BBE\u7F6E "),t(91,"code"),n(92,"nzOpen"),e(),n(93," \u5C5E\u6027\u63A7\u5236 "),t(94,"code"),n(95,"nz-float-button-group"),e(),n(96," \u662F\u5426\u5C55\u5F00"),e(),z(),e()()(),t(97,"div",26)(98,"nz-code-box",33),m(99,"nz-demo-float-button-type",28),t(100,"div",29),f(),t(101,"p"),n(102,"\u901A\u8FC7 "),t(103,"code"),n(104,"nzType"),e(),n(105," \u6539\u53D8\u60AC\u6D6E\u6309\u94AE\u7684\u7C7B\u578B\u3002"),e(),z(),e()(),t(106,"nz-code-box",34),m(107,"nz-demo-float-button-description",28),t(108,"div",29),f(),t(109,"p"),n(110,"\u53EF\u4EE5\u901A\u8FC7 "),t(111,"code"),n(112,"nzDescription"),e(),n(113," \u8BBE\u7F6E\u6587\u5B57\u5185\u5BB9\u3002"),e(),t(114,"blockquote")(115,"p"),n(116,"\u4EC5\u5F53 "),t(117,"code"),n(118,"shape"),e(),n(119," \u5C5E\u6027\u4E3A "),t(120,"code"),n(121,"square"),e(),n(122," \u65F6\u652F\u6301\u3002\u7531\u4E8E\u7A7A\u95F4\u8F83\u5C0F\uFF0C\u63A8\u8350\u4F7F\u7528\u6BD4\u8F83\u7CBE\u7B80\u7684\u53CC\u6570\u6587\u5B57\u3002"),e()(),z(),e()(),t(123,"nz-code-box",35),m(124,"nz-demo-float-button-group-menu",28),t(125,"div",29),f(),t(126,"p"),n(127,"\u8BBE\u7F6E "),t(128,"code"),n(129,"nzTrigger"),e(),n(130," \u5C5E\u6027\u5373\u53EF\u5F00\u542F\u83DC\u5355\u6A21\u5F0F\u3002\u63D0\u4F9B "),t(131,"code"),n(132,"hover"),e(),n(133," \u548C "),t(134,"code"),n(135,"click"),e(),n(136," \u4E24\u79CD\u89E6\u53D1\u65B9\u5F0F\u3002"),e(),z(),e()(),t(137,"nz-code-box",36),m(138,"nz-demo-float-button-top",28),t(139,"div",29),f(),t(140,"p"),n(141,"\u8FD4\u56DE\u9875\u9762\u9876\u90E8\u7684\u64CD\u4F5C\u6309\u94AE\u3002"),e(),z(),e()()()(),t(142,"section",37),f(),t(143,"h2",38)(144,"span"),n(145,"API"),e(),t(146,"a",39),n(147,"#"),e()(),t(148,"h3",40)(149,"span"),n(150,"\u5171\u540C\u7684 API"),e(),t(151,"a",41),n(152,"#"),e()(),t(153,"table")(154,"thead")(155,"tr")(156,"th"),n(157,"\u53C2\u6570"),e(),t(158,"th"),n(159,"\u8BF4\u660E"),e(),t(160,"th"),n(161,"\u7C7B\u578B"),e(),t(162,"th"),n(163,"\u9ED8\u8BA4\u503C"),e()()(),t(164,"tbody")(165,"tr")(166,"td")(167,"code"),n(168,"[nzIcon]"),e()(),t(169,"td"),n(170,"\u81EA\u5B9A\u4E49\u56FE\u6807"),e(),t(171,"td")(172,"code"),n(173,"TemplateRef<void>"),e()(),t(174,"td"),n(175,"-"),e()(),t(176,"tr")(177,"td")(178,"code"),n(179,"[nzDescription]"),e()(),t(180,"td"),n(181,"\u6587\u5B57\u53CA\u5176\u5B83\u5185\u5BB9"),e(),t(182,"td")(183,"code"),n(184,"TemplateRef<void> | string"),e()(),t(185,"td"),n(186,"-"),e()(),t(187,"tr")(188,"td")(189,"code"),n(190,"[nzType]"),e()(),t(191,"td"),n(192,"\u8BBE\u7F6E\u6309\u94AE\u7C7B\u578B"),e(),t(193,"td")(194,"code"),n(195,"default | primary"),e()(),t(196,"td")(197,"code"),n(198,"default"),e()()(),t(199,"tr")(200,"td")(201,"code"),n(202,"[nzShape]"),e()(),t(203,"td"),n(204,"\u8BBE\u7F6E\u6309\u94AE\u5F62\u72B6"),e(),t(205,"td")(206,"code"),n(207,"circle | square"),e()(),t(208,"td")(209,"code"),n(210,"circle"),e()()(),t(211,"tr")(212,"td")(213,"code"),n(214,"[nzHref]"),e()(),t(215,"td"),n(216,"\u70B9\u51FB\u8DF3\u8F6C\u7684\u5730\u5740\uFF0C\u6307\u5B9A\u6B64\u5C5E\u6027 button \u7684\u884C\u4E3A\u548C a \u94FE\u63A5\u4E00\u81F4"),e(),t(217,"td")(218,"code"),n(219,"string"),e()(),t(220,"td"),n(221,"-"),e()(),t(222,"tr")(223,"td")(224,"code"),n(225,"[nzTarget]"),e()(),t(226,"td"),n(227,"\u76F8\u5F53\u4E8E a \u6807\u7B7E\u7684 target \u5C5E\u6027\uFF0Chref \u5B58\u5728\u65F6\u751F\u6548"),e(),t(228,"td")(229,"code"),n(230,"string"),e()(),t(231,"td"),n(232,"-"),e()(),t(233,"tr")(234,"td")(235,"code"),n(236,"(nzOnClick)"),e()(),t(237,"td"),n(238,"\u70B9\u51FB\u6309\u94AE\u65F6\u7684\u56DE\u8C03"),e(),t(239,"td")(240,"code"),n(241,"EventEmitter<boolean>"),e()(),t(242,"td"),n(243,"-"),e()()()(),t(244,"h3",42)(245,"span"),n(246,"nz-float-button-group"),e(),t(247,"label",43),n(248,"component"),e(),t(249,"a",44),n(250,"#"),e()(),t(251,"table")(252,"thead")(253,"tr")(254,"th"),n(255,"\u53C2\u6570"),e(),t(256,"th"),n(257,"\u8BF4\u660E"),e(),t(258,"th"),n(259,"\u7C7B\u578B"),e(),t(260,"th"),n(261,"\u9ED8\u8BA4\u503C"),e()()(),t(262,"tbody")(263,"tr")(264,"td")(265,"code"),n(266,"[nzShape]"),e()(),t(267,"td"),n(268,"\u8BBE\u7F6E\u6309\u94AE\u7EC4\u5F62\u72B6"),e(),t(269,"td")(270,"code"),n(271,"circle | square"),e()(),t(272,"td")(273,"code"),n(274,"circle"),e()()(),t(275,"tr")(276,"td")(277,"code"),n(278,"[nzTrigger]"),e()(),t(279,"td"),n(280,"\u89E6\u53D1\u65B9\u5F0F\uFF08\u6709\u89E6\u53D1\u65B9\u5F0F\u4E3A\u83DC\u5355\u6A21\u5F0F\uFF09"),e(),t(281,"td")(282,"code"),n(283,"click | hover"),e()(),t(284,"td"),n(285,"-"),e()(),t(286,"tr")(287,"td")(288,"code"),n(289,"[nzOpen]"),e()(),t(290,"td"),n(291,"\u53D7\u63A7\u5C55\u5F00"),e(),t(292,"td")(293,"code"),n(294,"boolean"),e()(),t(295,"td"),n(296,"-"),e()(),t(297,"tr")(298,"td")(299,"code"),n(300,"(nzOnOpenChange)"),e()(),t(301,"td"),n(302,"\u5C55\u5F00\u6536\u8D77\u65F6\u7684\u56DE\u8C03"),e(),t(303,"td")(304,"code"),n(305,"EventEmitter<boolean>"),e()(),t(306,"td"),n(307,"-"),e()()()(),t(308,"h3",45)(309,"span"),n(310,"nz-float-button-top"),e(),t(311,"label",43),n(312,"component"),e(),t(313,"a",46),n(314,"#"),e()(),t(315,"table")(316,"thead")(317,"tr")(318,"th"),n(319,"\u6210\u5458"),e(),t(320,"th"),n(321,"\u8BF4\u660E"),e(),t(322,"th"),n(323,"\u7C7B\u578B"),e(),t(324,"th"),n(325,"\u9ED8\u8BA4\u503C"),e(),t(326,"th"),n(327,"\u5168\u5C40\u914D\u7F6E"),e()()(),t(328,"tbody")(329,"tr")(330,"td")(331,"code"),n(332,"[nzVisibilityHeight]"),e()(),t(333,"td"),n(334,"\u6EDA\u52A8\u9AD8\u5EA6\u8FBE\u5230\u6B64\u53C2\u6570\u503C\u624D\u51FA\u73B0 "),t(335,"code"),n(336,"nz-float-button-top"),e()(),t(337,"td")(338,"code"),n(339,"number"),e()(),t(340,"td")(341,"code"),n(342,"400"),e()(),t(343,"td"),n(344,"\u2705"),e()(),t(345,"tr")(346,"td")(347,"code"),n(348,"[nzTarget]"),e()(),t(349,"td"),n(350,"\u8BBE\u7F6E\u9700\u8981\u76D1\u542C\u5176\u6EDA\u52A8\u4E8B\u4EF6\u7684\u5143\u7D20\uFF0C\u503C\u4E3A\u4E00\u4E2A\u8FD4\u56DE\u5BF9\u5E94 DOM \u5143\u7D20\u7684\u51FD\u6570"),e(),t(351,"td")(352,"code"),n(353,"string | Element"),e()(),t(354,"td")(355,"code"),n(356,"window"),e()(),m(357,"td"),e(),t(358,"tr")(359,"td")(360,"code"),n(361,"[nzDuration]"),e()(),t(362,"td"),n(363,"\u56DE\u5230\u9876\u90E8\u6240\u9700\u65F6\u95F4\uFF08ms\uFF09"),e(),t(364,"td")(365,"code"),n(366,"number"),e()(),t(367,"td")(368,"code"),n(369,"450"),e()(),m(370,"td"),e(),t(371,"tr")(372,"td")(373,"code"),n(374,"(nzOnClick)"),e()(),t(375,"td"),n(376,"\u70B9\u51FB\u6309\u94AE\u7684\u56DE\u8C03\u51FD\u6570"),e(),t(377,"td")(378,"code"),n(379,"EventEmitter<boolean>"),e()(),t(380,"td"),n(381,"-"),e(),m(382,"td"),e()()(),z(),e()()),r&2&&(u(),a("nzOffsetTop",16),u(),a("nzAffix",!1),u(58),a("nzGutter",16),u(),a("nzXl",12)("nzSpan",24),u(),a("nzId","components-float-button-demo-basic")("nzLink","components-float-button-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/basic.md"),u(5),a("nzId","components-float-button-demo-shape")("nzLink","components-float-button-demo-shape")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/shape.md"),u(8),a("nzId","components-float-button-demo-group")("nzLink","components-float-button-demo-group")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/group.md"),u(11),a("nzId","components-float-button-demo-open")("nzLink","components-float-button-demo-open")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/open.md"),u(11),a("nzXl",12)("nzSpan",24),u(),a("nzId","components-float-button-demo-type")("nzLink","components-float-button-demo-type")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/type.md"),u(8),a("nzId","components-float-button-demo-description")("nzLink","components-float-button-demo-description")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/description.md"),u(17),a("nzId","components-float-button-demo-group-menu")("nzLink","components-float-button-demo-group-menu")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/group-menu.md"),u(14),a("nzId","components-float-button-demo-top")("nzLink","components-float-button-demo-top")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/top.md"))},dependencies:[K,H,Y,J,X,U,W,Q,g,tt,et,nt,ot,it,rt,lt,at],encapsulation:2})}}return o})();var Jt=(()=>{class o{constructor(){this.expanded=!1}goLink(i){window&&(window.location.hash=i)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(i=>i.expandCode(this.expanded))}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-float-button"]],viewQuery:function(r,l){if(r&1&&V(H,5),r&2){let p;O(p=k())&&(l.codeBoxes=p)}},decls:392,vars:39,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-float-button-demo-basic","nzTitle","Basic"],["nzHref","#components-float-button-demo-type","nzTitle","Type"],["nzHref","#components-float-button-demo-shape","nzTitle","Shape"],["nzHref","#components-float-button-demo-description","nzTitle","Description"],["nzHref","#components-float-button-demo-group","nzTitle","FloatButton Group"],["nzHref","#components-float-button-demo-group-menu","nzTitle","Menu mode"],["nzHref","#components-float-button-demo-open","nzTitle","Controlled mode"],["nzHref","#components-float-button-demo-top","nzTitle","Back Top"],["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/float-button/doc/index.en-US.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["id","when-to-use"],["onclick","window.location.hash = 'when-to-use'",1,"anchor"],["id","import-module"],["onclick","window.location.hash = 'import-module'",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","nzSelector","nz-demo-float-button-basic","nzGenerateCommand","ng g ng-zorro-antd:float-button-basic <name>","nzComponentName","NzDemoFloatButtonBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Shape","nzSelector","nz-demo-float-button-shape","nzGenerateCommand","ng g ng-zorro-antd:float-button-shape <name>","nzComponentName","NzDemoFloatButtonShapeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","FloatButton Group","nzSelector","nz-demo-float-button-group","nzGenerateCommand","ng g ng-zorro-antd:float-button-group <name>","nzComponentName","NzDemoFloatButtonGroupComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Controlled mode","nzSelector","nz-demo-float-button-open","nzGenerateCommand","ng g ng-zorro-antd:float-button-open <name>","nzComponentName","NzDemoFloatButtonOpenComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Type","nzSelector","nz-demo-float-button-type","nzGenerateCommand","ng g ng-zorro-antd:float-button-type <name>","nzComponentName","NzDemoFloatButtonTypeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Description","nzSelector","nz-demo-float-button-description","nzGenerateCommand","ng g ng-zorro-antd:float-button-description <name>","nzComponentName","NzDemoFloatButtonDescriptionComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Menu mode","nzSelector","nz-demo-float-button-group-menu","nzGenerateCommand","ng g ng-zorro-antd:float-button-group-menu <name>","nzComponentName","NzDemoFloatButtonGroupMenuComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Back Top","nzSelector","nz-demo-float-button-top","nzGenerateCommand","ng g ng-zorro-antd:float-button-top <name>","nzComponentName","NzDemoFloatButtonTopComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","common-api"],["onclick","window.location.hash = 'common-api'",1,"anchor"],["id","nz-float-button-group"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-float-button-group'",1,"anchor"],["id","nz-float-button-top"],["onclick","window.location.hash = 'nz-float-button-top'",1,"anchor"]],template:function(r,l){r&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),y("nzClick",function(d){return l.goLink(d)}),m(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10),e()(),t(12,"section",11)(13,"h1"),n(14,"FloatButton"),m(15,"span",12)(16,"span",13),t(17,"a",14),m(18,"nz-icon",15),e()(),t(19,"section",11),f(),t(20,"h2",16)(21,"span"),n(22,"When To Use"),e(),t(23,"a",17),n(24,"#"),e()(),t(25,"ul")(26,"li")(27,"p"),n(28,"For global functionality on the site."),e()(),t(29,"li")(30,"p"),n(31,"Buttons that can be seen wherever you browse."),e()()(),t(32,"h3",18)(33,"span"),n(34,"Import Module"),e(),t(35,"a",19),n(36,"#"),e()(),t(37,"pre",20)(38,"code")(39,"span",21),n(40,"import"),e(),n(41," "),t(42,"span",22),n(43,"{"),e(),n(44," NzFloatButtonModule "),t(45,"span",22),n(46,"}"),e(),n(47," "),t(48,"span",21),n(49,"from"),e(),n(50," "),t(51,"span",23),n(52,"'ng-zorro-antd/float-button'"),e(),t(53,"span",22),n(54,";"),e()()(),z(),e(),t(55,"h2")(56,"span"),n(57,"Examples"),e(),t(58,"span",24),y("click",function(){return l.expandAllCode()}),e()()(),t(59,"div",25)(60,"div",26)(61,"nz-code-box",27),m(62,"nz-demo-float-button-basic",28),t(63,"div",29),f(),t(64,"p"),n(65,"The most basic usage."),e(),z(),e()(),t(66,"nz-code-box",30),m(67,"nz-demo-float-button-shape",28),t(68,"div",29),f(),t(69,"p"),n(70,"Change the shape of the FloatButton with "),t(71,"code"),n(72,"nsShape"),e(),n(73,"."),e(),z(),e()(),t(74,"nz-code-box",31),m(75,"nz-demo-float-button-group",28),t(76,"div",29),f(),t(77,"p"),n(78,"When multiple buttons are used together, "),t(79,"code"),n(80,"nz-float-button-group"),e(),n(81," is recommended. By setting "),t(82,"code"),n(83,"nzShape"),e(),n(84," of FloatButtonGroup, you can change the shape of group."),e(),z(),e()(),t(85,"nz-code-box",32),m(86,"nz-demo-float-button-open",28),t(87,"div",29),f(),t(88,"p"),n(89,"Set the "),t(90,"code"),n(91,"nzOpen"),e(),n(92," property to control whether "),t(93,"code"),n(94,"nz-float-button-group"),e(),n(95," is expanded."),e(),z(),e()()(),t(96,"div",26)(97,"nz-code-box",33),m(98,"nz-demo-float-button-type",28),t(99,"div",29),f(),t(100,"p"),n(101,"Change the type of the FloatButton with "),t(102,"code"),n(103,"nzType"),e(),n(104,"."),e(),z(),e()(),t(105,"nz-code-box",34),m(106,"nz-demo-float-button-description",28),t(107,"div",29),f(),t(108,"p"),n(109,"Setting "),t(110,"code"),n(111,"nzDescription"),e(),n(112," prop to show FloatButton with description."),e(),t(113,"blockquote")(114,"p"),n(115,"supported only when "),t(116,"code"),n(117,"shape"),e(),n(118," is "),t(119,"code"),n(120,"square"),e(),n(121,". Due to narrow space for text, short sentence is recommended."),e()(),z(),e()(),t(122,"nz-code-box",35),m(123,"nz-demo-float-button-group-menu",28),t(124,"div",29),f(),t(125,"p"),n(126,"Open menu mode with "),t(127,"code"),n(128,"nzTrigger"),e(),n(129,", which could be "),t(130,"code"),n(131,"hover"),e(),n(132," or "),t(133,"code"),n(134,"click"),e(),n(135,"."),e(),z(),e()(),t(136,"nz-code-box",36),m(137,"nz-demo-float-button-top",28),t(138,"div",29),f(),t(139,"p"),n(140,"Set the "),t(141,"code"),n(142,"nzOpen"),e(),n(143," property to control whether "),t(144,"code"),n(145,"nz-float-button-group"),e(),n(146," is expanded."),e(),z(),e()()()(),t(147,"section",37),f(),t(148,"h2",38)(149,"span"),n(150,"API"),e(),t(151,"a",39),n(152,"#"),e()(),t(153,"h3",40)(154,"span"),n(155,"common API"),e(),t(156,"a",41),n(157,"#"),e()(),t(158,"table")(159,"thead")(160,"tr")(161,"th"),n(162,"Property"),e(),t(163,"th"),n(164,"Description"),e(),t(165,"th"),n(166,"Type"),e(),t(167,"th"),n(168,"Default"),e()()(),t(169,"tbody")(170,"tr")(171,"td")(172,"code"),n(173,"[nzIcon]"),e()(),t(174,"td"),n(175,"Set the icon component of button"),e(),t(176,"td")(177,"code"),n(178,"TemplateRef<void>"),e()(),t(179,"td"),n(180,"-"),e()(),t(181,"tr")(182,"td")(183,"code"),n(184,"[nzDescription]"),e()(),t(185,"td"),n(186,"Text and other"),e(),t(187,"td")(188,"code"),n(189,"TemplateRef<void> | string"),e()(),t(190,"td"),n(191,"-"),e()(),t(192,"tr")(193,"td")(194,"code"),n(195,"[nzType]"),e()(),t(196,"td"),n(197,"Setting button type"),e(),t(198,"td")(199,"code"),n(200,"default | primary"),e()(),t(201,"td")(202,"code"),n(203,"default"),e()()(),t(204,"tr")(205,"td")(206,"code"),n(207,"[nzShape]"),e()(),t(208,"td"),n(209,"Setting button shape"),e(),t(210,"td")(211,"code"),n(212,"circle | square"),e()(),t(213,"td")(214,"code"),n(215,"circle"),e()()(),t(216,"tr")(217,"td")(218,"code"),n(219,"[nzHref]"),e()(),t(220,"td"),n(221,"The target of hyperlink"),e(),t(222,"td")(223,"code"),n(224,"string"),e()(),t(225,"td"),n(226,"-"),e()(),t(227,"tr")(228,"td")(229,"code"),n(230,"[nzTarget]"),e()(),t(231,"td"),n(232,"Specifies where to display the linked URL"),e(),t(233,"td")(234,"code"),n(235,"string"),e()(),t(236,"td"),n(237,"-"),e()(),t(238,"tr")(239,"td")(240,"code"),n(241,"(nzOnClick)"),e()(),t(242,"td"),n(243,"Set the handler to handle "),t(244,"code"),n(245,"click"),e(),n(246," event"),e(),t(247,"td")(248,"code"),n(249,"EventEmitter<boolean>"),e()(),t(250,"td"),n(251,"-"),e()()()(),t(252,"h3",42)(253,"span"),n(254,"nz-float-button-group"),e(),t(255,"label",43),n(256,"component"),e(),t(257,"a",44),n(258,"#"),e()(),t(259,"table")(260,"thead")(261,"tr")(262,"th"),n(263,"Property"),e(),t(264,"th"),n(265,"Description"),e(),t(266,"th"),n(267,"Type"),e(),t(268,"th"),n(269,"Default"),e()()(),t(270,"tbody")(271,"tr")(272,"td")(273,"code"),n(274,"[nzShape]"),e()(),t(275,"td"),n(276,"Set button group shape"),e(),t(277,"td")(278,"code"),n(279,"circle | square"),e()(),t(280,"td")(281,"code"),n(282,"circle"),e()()(),t(283,"tr")(284,"td")(285,"code"),n(286,"[nzTrigger]"),e()(),t(287,"td"),n(288,"Which action can trigger menu open/close"),e(),t(289,"td")(290,"code"),n(291,"click | hover"),e()(),t(292,"td"),n(293,"-"),e()(),t(294,"tr")(295,"td")(296,"code"),n(297,"[nzOpen]"),e()(),t(298,"td"),n(299,"Whether the menu is visible or not"),e(),t(300,"td")(301,"code"),n(302,"boolean"),e()(),t(303,"td"),n(304,"-"),e()(),t(305,"tr")(306,"td")(307,"code"),n(308,"(nzOnOpenChange)"),e()(),t(309,"td"),n(310,"Callback executed when active menu is changed"),e(),t(311,"td")(312,"code"),n(313,"EventEmitter<boolean>"),e()(),t(314,"td"),n(315,"-"),e()()()(),t(316,"h3",45)(317,"span"),n(318,"nz-float-button-top"),e(),t(319,"label",43),n(320,"component"),e(),t(321,"a",46),n(322,"#"),e()(),t(323,"table")(324,"thead")(325,"tr")(326,"th"),n(327,"Property"),e(),t(328,"th"),n(329,"Description"),e(),t(330,"th"),n(331,"Type"),e(),t(332,"th"),n(333,"Default"),e(),t(334,"th"),n(335,"Global Config"),e()()(),t(336,"tbody")(337,"tr")(338,"td")(339,"code"),n(340,"[nzVisibilityHeight]"),e()(),t(341,"td"),n(342,"the "),t(343,"code"),n(344,"nz-float-button-top"),e(),n(345," button will not show until the scroll height reaches this value"),e(),t(346,"td")(347,"code"),n(348,"number"),e()(),t(349,"td")(350,"code"),n(351,"400"),e()(),t(352,"td"),n(353,"\u2705"),e()(),t(354,"tr")(355,"td")(356,"code"),n(357,"[nzTarget]"),e()(),t(358,"td"),n(359,"specifies the scrollable area dom node"),e(),t(360,"td")(361,"code"),n(362,"string | Element"),e()(),t(363,"td")(364,"code"),n(365,"window"),e()(),m(366,"td"),e(),t(367,"tr")(368,"td")(369,"code"),n(370,"[nzDuration]"),e()(),t(371,"td"),n(372,"Time to return to top (ms)"),e(),t(373,"td")(374,"code"),n(375,"number"),e()(),t(376,"td")(377,"code"),n(378,"450"),e()(),m(379,"td"),e(),t(380,"tr")(381,"td")(382,"code"),n(383,"(nzOnClick)"),e()(),t(384,"td"),n(385,"a callback function, which can be executed when you click the button"),e(),t(386,"td")(387,"code"),n(388,"EventEmitter<boolean>"),e()(),t(389,"td"),n(390,"-"),e(),m(391,"td"),e()()(),z(),e()()),r&2&&(u(),a("nzOffsetTop",16),u(),a("nzAffix",!1),u(57),a("nzGutter",16),u(),a("nzXl",12)("nzSpan",24),u(),a("nzId","components-float-button-demo-basic")("nzLink","components-float-button-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/basic.md"),u(5),a("nzId","components-float-button-demo-shape")("nzLink","components-float-button-demo-shape")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/shape.md"),u(8),a("nzId","components-float-button-demo-group")("nzLink","components-float-button-demo-group")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/group.md"),u(11),a("nzId","components-float-button-demo-open")("nzLink","components-float-button-demo-open")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/open.md"),u(11),a("nzXl",12)("nzSpan",24),u(),a("nzId","components-float-button-demo-type")("nzLink","components-float-button-demo-type")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/type.md"),u(8),a("nzId","components-float-button-demo-description")("nzLink","components-float-button-demo-description")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/description.md"),u(17),a("nzId","components-float-button-demo-group-menu")("nzLink","components-float-button-demo-group-menu")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/group-menu.md"),u(14),a("nzId","components-float-button-demo-top")("nzLink","components-float-button-demo-top")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/float-button/demo/top.md"))},dependencies:[K,H,Y,J,X,U,W,Q,g,tt,et,nt,ot,it,rt,lt,at],encapsulation:2})}}return o})();var He=[{path:"en",component:Jt},{path:"zh",component:Yt}],ao=He;export{ao as default};