-
Notifications
You must be signed in to change notification settings - Fork 11
/
chunk-AAI25W26.js
1 lines (1 loc) · 35.2 KB
/
chunk-AAI25W26.js
1
import{a as H,g as oe,h as ae,j as re}from"./chunk-PNYJKZIQ.js";import"./chunk-UJZP7RYT.js";import{Ca as y,Ea as $,Fa as Ve,Fc as v,Hc as te,Ic as ne,Lc as ie,Sb as ee,ec as W,gc as Le,hc as Ge,ia as xe,oc as x,sc as S,ua as Oe,va as Se}from"./chunk-YWVGY2C2.js";import{Aa as E,Ac as L,Ba as w,Bc as G,Ca as R,Cc as Z,Gc as F,Hc as n,Hd as Me,Ib as f,Ic as Te,Jb as De,Jc as He,La as k,Ma as Ne,Mc as X,Nc as U,Ob as Ce,Oc as q,Pb as _,Pc as ke,Rc as ge,Wb as m,Yb as we,_b as Ee,_c as B,ba as K,dc as J,ed as Ae,fc as Re,gc as Fe,ha as ve,hc as Be,ic as t,id as P,ja as be,jc as e,jd as Ie,kc as a,l as he,m as j,oc as Y,rb as s,rc as N,sb as A,tc as V,xb as ye,ya as _e,za as C}from"./chunk-GBKJFEQZ.js";import"./chunk-EQDQRRRY.js";var Ke=["nz-rate-item",""],Ze=i=>({$implicit:i});function Xe(i,h){}function Ue(i,h){}function qe(i,h){i&1&&a(0,"nz-icon",4)}var Je=["ulElement"];function Ye(i,h){if(i&1){let r=Y();t(0,"li",3)(1,"div",4),N("itemHover",function(d){let u=w(r).$index,p=V();return R(p.onItemHover(u,d))})("itemClick",function(d){let u=w(r).$index,p=V();return R(p.onItemClick(u,d))}),e()()}if(i&2){let r=h.$index,o=V();Ee(o.starStyleArray[r]||""),m("nzTooltipTitle",o.nzTooltips[r]),s(),m("allowHalf",o.nzAllowHalf)("character",o.nzCharacter)("index",r)}}var We=(()=>{class i{constructor(){this.index=0,this.allowHalf=!1,this.itemHover=new k,this.itemClick=new k}hoverRate(r){this.itemHover.next(r&&this.allowHalf)}clickRate(r){this.itemClick.next(r&&this.allowHalf)}static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=f({type:i,selectors:[["","nz-rate-item",""]],inputs:{character:"character",index:"index",allowHalf:[2,"allowHalf","allowHalf",P]},outputs:{itemHover:"itemHover",itemClick:"itemClick"},exportAs:["nzRateItem"],features:[Ce],attrs:Ke,decls:6,vars:8,consts:[["defaultCharacter",""],[1,"ant-rate-star-second",3,"mouseover","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-rate-star-first",3,"mouseover","click"],["nzType","star","nzTheme","fill"]],template:function(o,d){if(o&1){let u=Y();t(0,"div",1),N("mouseover",function(l){return w(u),d.hoverRate(!1),R(l.stopPropagation())})("click",function(){return w(u),R(d.clickRate(!1))}),_(1,Xe,0,0,"ng-template",2),e(),t(2,"div",3),N("mouseover",function(l){return w(u),d.hoverRate(!0),R(l.stopPropagation())})("click",function(){return w(u),R(d.clickRate(!0))}),_(3,Ue,0,0,"ng-template",2),e(),_(4,qe,1,0,"ng-template",null,0,B)}if(o&2){let u=F(5);s(),m("ngTemplateOutlet",d.character||u)("ngTemplateOutletContext",ge(4,Ze,d.index)),s(2),m("ngTemplateOutlet",d.character||u)("ngTemplateOutletContext",ge(6,Ze,d.index))}},dependencies:[Me,$,y],encapsulation:2,changeDetection:0})}}return i})(),Pe="rate",g=(()=>{let i,h=[],r=[],o,d=[],u=[];return class le{static{let l=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;i=[Se()],o=[Se()],he(null,null,i,{kind:"field",name:"nzAllowClear",static:!1,private:!1,access:{has:c=>"nzAllowClear"in c,get:c=>c.nzAllowClear,set:(c,z)=>{c.nzAllowClear=z}},metadata:l},h,r),he(null,null,o,{kind:"field",name:"nzAllowHalf",static:!1,private:!1,access:{has:c=>"nzAllowHalf"in c,get:c=>c.nzAllowHalf,set:(c,z)=>{c.nzAllowHalf=z}},metadata:l},d,u),l&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:l})}get nzValue(){return this._value}set nzValue(l){this._value!==l&&(this._value=l,this.hasHalf=!Number.isInteger(l)&&this.nzAllowHalf,this.hoverValue=Math.ceil(l))}constructor(l,c,z,D,M,O){this.nzConfigService=l,this.ngZone=c,this.renderer=z,this.cdr=D,this.directionality=M,this.destroy$=O,this._nzModuleName=Pe,this.nzAllowClear=j(this,h,!0),this.nzAllowHalf=(j(this,r),j(this,d,!1)),this.nzDisabled=(j(this,u),!1),this.nzAutoFocus=!1,this.nzCount=5,this.nzTooltips=[],this.nzOnBlur=new k,this.nzOnFocus=new k,this.nzOnHoverChange=new k,this.nzOnKeyDown=new k,this.classMap={},this.starArray=[],this.starStyleArray=[],this.dir="ltr",this.hasHalf=!1,this.hoverValue=0,this.isFocused=!1,this._value=0,this.isNzDisableFirstChange=!0,this.onChange=()=>null,this.onTouched=()=>null}ngOnChanges(l){let{nzAutoFocus:c,nzCount:z,nzValue:D}=l;if(c&&!c.isFirstChange()){let M=this.ulElement.nativeElement;this.nzAutoFocus&&!this.nzDisabled?this.renderer.setAttribute(M,"autofocus","autofocus"):this.renderer.removeAttribute(M,"autofocus")}z&&this.updateStarArray(),D&&this.updateStarStyle()}ngOnInit(){this.nzConfigService.getConfigChangeEventForComponent(Pe).pipe(K(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.directionality.change.pipe(K(this.destroy$)).subscribe(l=>{this.dir=l,this.cdr.detectChanges()}),this.dir=this.directionality.value,xe(this.ulElement.nativeElement,"focus").pipe(K(this.destroy$)).subscribe(l=>{this.isFocused=!0,this.nzOnFocus.observers.length&&this.ngZone.run(()=>this.nzOnFocus.emit(l))}),xe(this.ulElement.nativeElement,"blur").pipe(K(this.destroy$)).subscribe(l=>{this.isFocused=!1,this.nzOnBlur.observers.length&&this.ngZone.run(()=>this.nzOnBlur.emit(l))})}onItemClick(l,c){if(this.nzDisabled)return;this.hoverValue=l+1;let z=c?l+.5:l+1;this.nzValue===z?this.nzAllowClear&&(this.nzValue=0,this.onChange(this.nzValue)):(this.nzValue=z,this.onChange(this.nzValue)),this.updateStarStyle()}onItemHover(l,c){this.nzDisabled||((this.hoverValue!==l+1||c!==this.hasHalf)&&(this.hoverValue=l+1,this.hasHalf=c,this.updateStarStyle()),this.nzOnHoverChange.emit(this.hoverValue))}onRateLeave(){this.hasHalf=!Number.isInteger(this.nzValue),this.hoverValue=Math.ceil(this.nzValue),this.nzOnHoverChange.emit(this.hoverValue),this.updateStarStyle()}focus(){this.ulElement.nativeElement.focus()}blur(){this.ulElement.nativeElement.blur()}onKeyDown(l){let c=this.nzValue;l.keyCode===39&&this.nzValue<this.nzCount?this.nzValue+=this.nzAllowHalf?.5:1:l.keyCode===37&&this.nzValue>0&&(this.nzValue-=this.nzAllowHalf?.5:1),c!==this.nzValue&&(this.onChange(this.nzValue),this.nzOnKeyDown.emit(l),this.updateStarStyle(),this.cdr.markForCheck())}updateStarArray(){this.starArray=Array(this.nzCount).fill(0).map((l,c)=>c),this.updateStarStyle()}updateStarStyle(){this.starStyleArray=this.starArray.map(l=>{let c="ant-rate-star",z=l+1;return{[`${c}-full`]:z<this.hoverValue||!this.hasHalf&&z===this.hoverValue,[`${c}-half`]:this.hasHalf&&z===this.hoverValue,[`${c}-active`]:this.hasHalf&&z===this.hoverValue,[`${c}-zero`]:z>this.hoverValue,[`${c}-focused`]:this.hasHalf&&z===this.hoverValue&&this.isFocused}})}writeValue(l){this.nzValue=l||0,this.updateStarArray(),this.cdr.markForCheck()}setDisabledState(l){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||l,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}registerOnChange(l){this.onChange=l}registerOnTouched(l){this.onTouched=l}static{this.\u0275fac=function(c){return new(c||le)(A(Oe),A(Ne),A(ye),A(Ae),A(Ve),A(ee))}}static{this.\u0275cmp=f({type:le,selectors:[["nz-rate"]],viewQuery:function(c,z){if(c&1&&L(Je,7),c&2){let D;G(D=Z())&&(z.ulElement=D.first)}},inputs:{nzAllowClear:[2,"nzAllowClear","nzAllowClear",P],nzAllowHalf:[2,"nzAllowHalf","nzAllowHalf",P],nzDisabled:[2,"nzDisabled","nzDisabled",P],nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",P],nzCharacter:"nzCharacter",nzCount:[2,"nzCount","nzCount",Ie],nzTooltips:"nzTooltips"},outputs:{nzOnBlur:"nzOnBlur",nzOnFocus:"nzOnFocus",nzOnHoverChange:"nzOnHoverChange",nzOnKeyDown:"nzOnKeyDown"},exportAs:["nzRate"],features:[ke([ee,{provide:Ge,useExisting:ve(()=>le),multi:!0}]),Ce,_e],decls:4,vars:7,consts:[["ulElement",""],[1,"ant-rate",3,"keydown","mouseleave","tabindex"],["nz-tooltip","",1,"ant-rate-star",3,"class","nzTooltipTitle"],["nz-tooltip","",1,"ant-rate-star",3,"nzTooltipTitle"],["nz-rate-item","",3,"itemHover","itemClick","allowHalf","character","index"]],template:function(c,z){if(c&1){let D=Y();t(0,"ul",1,0),N("keydown",function(O){return w(D),z.onKeyDown(O),R(O.preventDefault())})("mouseleave",function(O){return w(D),z.onRateLeave(),R(O.stopPropagation())}),Fe(2,Ye,2,6,"li",2,Re),e()}c&2&&(Ee(z.classMap),we("ant-rate-disabled",z.nzDisabled)("ant-rate-rtl",z.dir==="rtl"),m("tabindex",z.nzDisabled?-1:1),s(2),Be(z.starArray))},dependencies:[Le,W,We],encapsulation:2,changeDetection:0})}}})(),b=(()=>{class i{static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275mod=De({type:i})}static{this.\u0275inj=be({imports:[g,We]})}}return i})();var de=(()=>{class i{static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=f({type:i,selectors:[["nz-demo-rate-basic"]],decls:1,vars:1,consts:[[3,"ngModel"]],template:function(o,d){o&1&&a(0,"nz-rate",0),o&2&&m("ngModel",0)},dependencies:[v,x,S,b,g],encapsulation:2})}}return i})();function et(i,h){i&1&&a(0,"nz-icon",5)}function tt(i,h){i&1&&n(0,"\u597D")}function nt(i,h){i&1&&n(0,"A")}var se=(()=>{class i{static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=f({type:i,selectors:[["nz-demo-rate-character"]],decls:11,vars:6,consts:[["characterIcon",""],["characterZhLetter",""],["characterEnLetter",""],["nzAllowHalf","",3,"ngModel","nzCharacter"],["nzAllowHalf","",1,"large",3,"ngModel","nzCharacter"],["nzType","heart"]],template:function(o,d){if(o&1&&(a(0,"nz-rate",3)(1,"br")(2,"nz-rate",4)(3,"br")(4,"nz-rate",3),_(5,et,1,0,"ng-template",null,0,B)(7,tt,1,0,"ng-template",null,1,B)(9,nt,1,0,"ng-template",null,2,B)),o&2){let u=F(6),p=F(8),l=F(10);m("ngModel",0)("nzCharacter",u),s(2),m("ngModel",0)("nzCharacter",l),s(2),m("ngModel",0)("nzCharacter",p)}},dependencies:[v,x,S,$,y,b,g],styles:[".large[_ngcontent-%COMP%] .ant-rate-star{font-size:36px}"]})}}return i})();var ce=(()=>{class i{constructor(){this.value=0}static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=f({type:i,selectors:[["nz-demo-rate-clear"]],decls:7,vars:3,consts:[["nzAllowHalf","",3,"ngModelChange","ngModel"],[1,"ant-rate-text"],["nzAllowHalf","",3,"ngModelChange","ngModel","nzAllowClear"]],template:function(o,d){o&1&&(t(0,"nz-rate",0),q("ngModelChange",function(p){return U(d.value,p)||(d.value=p),p}),e(),t(1,"span",1),n(2,"allowClear: true"),e(),a(3,"br"),t(4,"nz-rate",2),q("ngModelChange",function(p){return U(d.value,p)||(d.value=p),p}),e(),t(5,"span",1),n(6,"allowClear: false"),e()),o&2&&(X("ngModel",d.value),s(4),X("ngModel",d.value),m("nzAllowClear",!1))},dependencies:[v,x,S,b,g],encapsulation:2})}}return i})();function it(i,h){if(i&1&&n(0),i&2){let r=h.$implicit;He(" ",r+1," ")}}function ot(i,h){i&1&&a(0,"nz-icon",3)}function at(i,h){i&1&&a(0,"nz-icon",3)}function rt(i,h){i&1&&a(0,"nz-icon",4)}function lt(i,h){i&1&&a(0,"nz-icon",5)}function mt(i,h){i&1&&a(0,"nz-icon",5)}function dt(i,h){if(i&1&&_(0,ot,1,0,"nz-icon",3)(1,at,1,0,"nz-icon",3)(2,rt,1,0,"nz-icon",4)(3,lt,1,0,"nz-icon",5)(4,mt,1,0,"nz-icon",5),i&2){let r,o=h.$implicit;J((r=o)===0?0:r===1?1:r===2?2:r===3?3:r===4?4:-1)}}var ue=(()=>{class i{static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=f({type:i,selectors:[["nz-demo-rate-customize"]],decls:8,vars:4,consts:[["characterNumber",""],["characterIcon",""],[3,"ngModel","nzCharacter"],["nzType","frown"],["nzType","meh"],["nzType","smile"]],template:function(o,d){if(o&1&&(a(0,"nz-rate",2)(1,"br")(2,"nz-rate",2)(3,"br"),_(4,it,1,1,"ng-template",null,0,B)(6,dt,5,1,"ng-template",null,1,B)),o&2){let u=F(5),p=F(7);m("ngModel",2)("nzCharacter",u),s(2),m("ngModel",3)("nzCharacter",p)}},dependencies:[v,x,S,$,y,b,g],styles:[".large[_ngcontent-%COMP%] .ant-rate-star{font-size:36px}"]})}}return i})();var pe=(()=>{class i{static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=f({type:i,selectors:[["nz-demo-rate-disabled"]],decls:1,vars:1,consts:[["nzDisabled","",3,"ngModel"]],template:function(o,d){o&1&&a(0,"nz-rate",0),o&2&&m("ngModel",2)},dependencies:[v,x,S,b,g],encapsulation:2})}}return i})();var ze=(()=>{class i{static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=f({type:i,selectors:[["nz-demo-rate-half"]],decls:1,vars:1,consts:[["nzAllowHalf","",3,"ngModel"]],template:function(o,d){o&1&&a(0,"nz-rate",0),o&2&&m("ngModel",2.5)},dependencies:[v,x,S,b,g],encapsulation:2})}}return i})();function st(i,h){if(i&1&&(t(0,"span",1),n(1),e()),i&2){let r=V();s(),Te(r.value?r.tooltips[r.value-1]:"")}}var fe=(()=>{class i{constructor(){this.tooltips=["terrible","bad","normal","good","wonderful"],this.value=3}static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=f({type:i,selectors:[["nz-demo-rate-text"]],decls:2,vars:3,consts:[[3,"ngModelChange","ngModel","nzTooltips"],[1,"ant-rate-text"]],template:function(o,d){o&1&&(t(0,"nz-rate",0),q("ngModelChange",function(p){return U(d.value,p)||(d.value=p),p}),e(),_(1,st,2,1,"span",1)),o&2&&(X("ngModel",d.value),m("nzTooltips",d.tooltips),s(),J(d.value?1:-1))},dependencies:[v,x,S,b,g],encapsulation:2})}}return i})();var Qe=(()=>{class i{constructor(){this.expanded=!1}goLink(r){window&&(window.location.hash=r)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(r=>r.expandCode(this.expanded))}static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=f({type:i,selectors:[["nz-demo-rate"]],viewQuery:function(o,d){if(o&1&&L(H,5),o&2){let u;G(u=Z())&&(d.codeBoxes=u)}},decls:308,vars:35,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-rate-demo-basic","nzTitle","\u57FA\u672C"],["nzHref","#components-rate-demo-half","nzTitle","\u534A\u661F"],["nzHref","#components-rate-demo-text","nzTitle","\u6587\u6848\u5C55\u73B0"],["nzHref","#components-rate-demo-disabled","nzTitle","\u53EA\u8BFB"],["nzHref","#components-rate-demo-clear","nzTitle","\u6E05\u9664"],["nzHref","#components-rate-demo-character","nzTitle","\u5176\u4ED6\u5B57\u7B26"],["nzHref","#components-rate-demo-customize","nzTitle","\u81EA\u5B9A\u4E49\u5B57\u7B26"],["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/rate/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"],[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-rate-basic","nzGenerateCommand","ng g ng-zorro-antd:rate-basic <name>","nzComponentName","NzDemoRateBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u6587\u6848\u5C55\u73B0","nzSelector","nz-demo-rate-text","nzGenerateCommand","ng g ng-zorro-antd:rate-text <name>","nzComponentName","NzDemoRateTextComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u6E05\u9664","nzSelector","nz-demo-rate-clear","nzGenerateCommand","ng g ng-zorro-antd:rate-clear <name>","nzComponentName","NzDemoRateClearComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u5B9A\u4E49\u5B57\u7B26","nzSelector","nz-demo-rate-customize","nzGenerateCommand","ng g ng-zorro-antd:rate-customize <name>","nzComponentName","NzDemoRateCustomizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u534A\u661F","nzSelector","nz-demo-rate-half","nzGenerateCommand","ng g ng-zorro-antd:rate-half <name>","nzComponentName","NzDemoRateHalfComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u53EA\u8BFB","nzSelector","nz-demo-rate-disabled","nzGenerateCommand","ng g ng-zorro-antd:rate-disabled <name>","nzComponentName","NzDemoRateDisabledComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5176\u4ED6\u5B57\u7B26","nzSelector","nz-demo-rate-character","nzGenerateCommand","ng g ng-zorro-antd:rate-character <name>","nzComponentName","NzDemoRateCharacterComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-rate"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-rate'",1,"anchor"],["id","\u65B9\u6CD5"],["onclick","window.location.hash = '\u65B9\u6CD5'",1,"anchor"]],template:function(o,d){o&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),N("nzClick",function(p){return d.goLink(p)}),a(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),e()(),t(11,"section",10)(12,"h1"),n(13,"Rate"),t(14,"span",11),n(15,"\u8BC4\u5206"),e(),a(16,"span",12),t(17,"a",13),a(18,"nz-icon",14),e()(),t(19,"section",10),E(),t(20,"p"),n(21,"\u8BC4\u5206\u7EC4\u4EF6\u3002"),e(),t(22,"h2",15)(23,"span"),n(24,"\u4F55\u65F6\u4F7F\u7528"),e(),t(25,"a",16),n(26,"#"),e()(),t(27,"ul")(28,"li"),n(29,"\u5BF9\u8BC4\u4EF7\u8FDB\u884C\u5C55\u793A\u3002"),e(),t(30,"li"),n(31,"\u5BF9\u4E8B\u7269\u8FDB\u884C\u5FEB\u901F\u7684\u8BC4\u7EA7\u64CD\u4F5C\u3002"),e()(),t(32,"pre",17)(33,"code")(34,"span",18),n(35,"import"),e(),n(36," "),t(37,"span",19),n(38,"{"),e(),n(39," NzRateModule "),t(40,"span",19),n(41,"}"),e(),n(42," "),t(43,"span",18),n(44,"from"),e(),n(45," "),t(46,"span",20),n(47,"'ng-zorro-antd/rate'"),e(),t(48,"span",19),n(49,";"),e()()(),C(),e(),t(50,"h2")(51,"span"),n(52,"\u4EE3\u7801\u6F14\u793A"),e(),t(53,"span",21),N("click",function(){return d.expandAllCode()}),e()()(),t(54,"div",22)(55,"div",23)(56,"nz-code-box",24),a(57,"nz-demo-rate-basic",25),t(58,"div",26),E(),t(59,"p"),n(60,"\u6700\u7B80\u5355\u7684\u7528\u6CD5\u3002"),e(),C(),e()(),t(61,"nz-code-box",27),a(62,"nz-demo-rate-text",25),t(63,"div",26),E(),t(64,"p"),n(65,"\u7ED9\u8BC4\u5206\u7EC4\u4EF6\u52A0\u4E0A\u6587\u6848\u5C55\u793A\u3002"),e(),C(),e()(),t(66,"nz-code-box",28),a(67,"nz-demo-rate-clear",25),t(68,"div",26),E(),t(69,"p"),n(70,"\u652F\u6301\u5141\u8BB8\u6216\u8005\u7981\u7528\u6E05\u9664\u3002"),e(),C(),e()(),t(71,"nz-code-box",29),a(72,"nz-demo-rate-customize",25),t(73,"div",26),E(),t(74,"p"),n(75,"\u53EF\u4EE5\u901A\u8FC7\u7D22\u5F15\u81EA\u5B9A\u4E49\u6BCF\u4E00\u4E2A\u5B57\u7B26\u3002"),e(),C(),e()()(),t(76,"div",23)(77,"nz-code-box",30),a(78,"nz-demo-rate-half",25),t(79,"div",26),E(),t(80,"p"),n(81,"\u652F\u6301\u9009\u4E2D\u534A\u661F\u3002"),e(),C(),e()(),t(82,"nz-code-box",31),a(83,"nz-demo-rate-disabled",25),t(84,"div",26),E(),t(85,"p"),n(86,"\u53EA\u8BFB\uFF0C\u65E0\u6CD5\u8FDB\u884C\u9F20\u6807\u4EA4\u4E92\u3002"),e(),C(),e()(),t(87,"nz-code-box",32),a(88,"nz-demo-rate-character",25),t(89,"div",26),E(),t(90,"p"),n(91,"\u53EF\u4EE5\u5C06\u661F\u661F\u66FF\u6362\u4E3A\u5176\u4ED6\u5B57\u7B26\uFF0C\u6BD4\u5982\u5B57\u6BCD\uFF0C\u6570\u5B57\uFF0C\u5B57\u4F53\u56FE\u6807\u751A\u81F3\u4E2D\u6587\u3002"),e(),C(),e()()()(),t(92,"section",33),E(),t(93,"h2",34)(94,"span"),n(95,"API"),e(),t(96,"a",35),n(97,"#"),e()(),t(98,"h3",36)(99,"span"),n(100,"nz-rate"),e(),t(101,"label",37),n(102,"component"),e(),t(103,"a",38),n(104,"#"),e()(),t(105,"table")(106,"thead")(107,"tr")(108,"th"),n(109,"\u5C5E\u6027"),e(),t(110,"th"),n(111,"\u8BF4\u660E"),e(),t(112,"th"),n(113,"\u7C7B\u578B"),e(),t(114,"th"),n(115,"\u9ED8\u8BA4\u503C"),e(),t(116,"th"),n(117,"\u652F\u6301\u5168\u5C40\u914D\u7F6E"),e()()(),t(118,"tbody")(119,"tr")(120,"td")(121,"code"),n(122,"[nzAllowClear]"),e()(),t(123,"td"),n(124,"\u662F\u5426\u5141\u8BB8\u518D\u6B21\u70B9\u51FB\u540E\u6E05\u9664"),e(),t(125,"td")(126,"code"),n(127,"boolean"),e()(),t(128,"td")(129,"code"),n(130,"true"),e()(),t(131,"td"),n(132,"\u2705"),e()(),t(133,"tr")(134,"td")(135,"code"),n(136,"[nzAllowHalf]"),e()(),t(137,"td"),n(138,"\u662F\u5426\u5141\u8BB8\u534A\u9009"),e(),t(139,"td")(140,"code"),n(141,"boolean"),e()(),t(142,"td")(143,"code"),n(144,"false"),e()(),t(145,"td"),n(146,"\u2705"),e()(),t(147,"tr")(148,"td")(149,"code"),n(150,"[nzAutoFocus]"),e()(),t(151,"td"),n(152,"\u81EA\u52A8\u83B7\u53D6\u7126\u70B9"),e(),t(153,"td")(154,"code"),n(155,"boolean"),e()(),t(156,"td")(157,"code"),n(158,"false"),e()(),a(159,"td"),e(),t(160,"tr")(161,"td")(162,"code"),n(163,"[nzCharacter]"),e()(),t(164,"td"),n(165,"\u81EA\u5B9A\u4E49\u5B57\u7B26"),e(),t(166,"td")(167,"code"),n(168,"TemplateRef<void>"),e()(),t(169,"td")(170,"code"),n(171,'<span nz-icon nzType="star"></span>'),e()(),a(172,"td"),e(),t(173,"tr")(174,"td")(175,"code"),n(176,"[nzCount]"),e()(),t(177,"td"),n(178,"star \u603B\u6570"),e(),t(179,"td")(180,"code"),n(181,"number"),e()(),t(182,"td")(183,"code"),n(184,"5"),e()(),a(185,"td"),e(),t(186,"tr")(187,"td")(188,"code"),n(189,"[nzDisabled]"),e()(),t(190,"td"),n(191,"\u53EA\u8BFB\uFF0C\u65E0\u6CD5\u8FDB\u884C\u4EA4\u4E92"),e(),t(192,"td")(193,"code"),n(194,"boolean"),e()(),t(195,"td")(196,"code"),n(197,"false"),e()(),a(198,"td"),e(),t(199,"tr")(200,"td")(201,"code"),n(202,"[nzTooltips]"),e()(),t(203,"td"),n(204,"\u81EA\u5B9A\u4E49\u6BCF\u9879\u7684\u63D0\u793A\u4FE1\u606F"),e(),t(205,"td")(206,"code"),n(207,"string[]"),e()(),t(208,"td")(209,"code"),n(210,"[]"),e()(),a(211,"td"),e(),t(212,"tr")(213,"td")(214,"code"),n(215,"[ngModel]"),e()(),t(216,"td"),n(217,"\u5F53\u524D\u6570\uFF0C\u53EF\u4EE5\u53CC\u5411\u7ED1\u5B9A"),e(),t(218,"td")(219,"code"),n(220,"number"),e()(),t(221,"td")(222,"code"),n(223,"0"),e()(),a(224,"td"),e(),t(225,"tr")(226,"td")(227,"code"),n(228,"(ngModelChange)"),e()(),t(229,"td"),n(230,"\u5F53\u524D\u6570\u6539\u53D8\u65F6\u7684\u56DE\u8C03"),e(),t(231,"td")(232,"code"),n(233,"EventEmitter<number>"),e()(),t(234,"td"),n(235,"-"),e(),a(236,"td"),e(),t(237,"tr")(238,"td")(239,"code"),n(240,"(nzOnBlur)"),e()(),t(241,"td"),n(242,"\u5931\u53BB\u7126\u70B9\u65F6\u7684\u56DE\u8C03"),e(),t(243,"td")(244,"code"),n(245,"EventEmitter<FocusEvent>"),e()(),t(246,"td"),n(247,"-"),e(),a(248,"td"),e(),t(249,"tr")(250,"td")(251,"code"),n(252,"(nzOnFocus)"),e()(),t(253,"td"),n(254,"\u83B7\u53D6\u7126\u70B9\u65F6\u7684\u56DE\u8C03"),e(),t(255,"td")(256,"code"),n(257,"EventEmitter<FocusEvent>"),e()(),t(258,"td"),n(259,"-"),e(),a(260,"td"),e(),t(261,"tr")(262,"td")(263,"code"),n(264,"(nzOnHoverChange)"),e()(),t(265,"td"),n(266,"\u9F20\u6807\u7ECF\u8FC7\u65F6\u6570\u503C\u53D8\u5316\u7684\u56DE\u8C03"),e(),t(267,"td")(268,"code"),n(269,"EventEmitter<number>"),e()(),t(270,"td"),n(271,"-"),e(),a(272,"td"),e(),t(273,"tr")(274,"td")(275,"code"),n(276,"(nzOnKeyDown)"),e()(),t(277,"td"),n(278,"\u6309\u952E\u56DE\u8C03"),e(),t(279,"td")(280,"code"),n(281,"EventEmitter<KeyboardEvent>"),e()(),t(282,"td"),n(283,"-"),e(),a(284,"td"),e()()(),t(285,"h4",39)(286,"span"),n(287,"\u65B9\u6CD5"),e(),t(288,"a",40),n(289,"#"),e()(),t(290,"table")(291,"thead")(292,"tr")(293,"th"),n(294,"\u540D\u79F0"),e(),t(295,"th"),n(296,"\u63CF\u8FF0"),e()()(),t(297,"tbody")(298,"tr")(299,"td"),n(300,"blur()"),e(),t(301,"td"),n(302,"\u79FB\u9664\u7126\u70B9"),e()(),t(303,"tr")(304,"td"),n(305,"focus()"),e(),t(306,"td"),n(307,"\u83B7\u53D6\u7126\u70B9"),e()()()(),C(),e()()),o&2&&(s(),m("nzOffsetTop",16),s(),m("nzAffix",!1),s(52),m("nzGutter",16),s(),m("nzXl",12)("nzSpan",24),s(),m("nzId","components-rate-demo-basic")("nzLink","components-rate-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/rate/demo/basic.md"),s(5),m("nzId","components-rate-demo-text")("nzLink","components-rate-demo-text")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/rate/demo/text.md"),s(5),m("nzId","components-rate-demo-clear")("nzLink","components-rate-demo-clear")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/rate/demo/clear.md"),s(5),m("nzId","components-rate-demo-customize")("nzLink","components-rate-demo-customize")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/rate/demo/customize.md"),s(5),m("nzXl",12)("nzSpan",24),s(),m("nzId","components-rate-demo-half")("nzLink","components-rate-demo-half")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/rate/demo/half.md"),s(5),m("nzId","components-rate-demo-disabled")("nzLink","components-rate-demo-disabled")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/rate/demo/disabled.md"),s(5),m("nzId","components-rate-demo-character")("nzLink","components-rate-demo-character")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/rate/demo/character.md"))},dependencies:[re,H,oe,ae,ie,ne,te,W,y,de,se,ce,ue,pe,ze,fe],encapsulation:2})}}return i})();var je=(()=>{class i{constructor(){this.expanded=!1}goLink(r){window&&(window.location.hash=r)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(r=>r.expandCode(this.expanded))}static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=f({type:i,selectors:[["nz-demo-rate"]],viewQuery:function(o,d){if(o&1&&L(H,5),o&2){let u;G(u=Z())&&(d.codeBoxes=u)}},decls:306,vars:35,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-rate-demo-basic","nzTitle","Basic"],["nzHref","#components-rate-demo-half","nzTitle","Half star"],["nzHref","#components-rate-demo-text","nzTitle","Show copywriting"],["nzHref","#components-rate-demo-disabled","nzTitle","Read only"],["nzHref","#components-rate-demo-clear","nzTitle","Clear star"],["nzHref","#components-rate-demo-character","nzTitle","Other Character"],["nzHref","#components-rate-demo-customize","nzTitle","Customize Character"],["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/rate/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"],[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-rate-basic","nzGenerateCommand","ng g ng-zorro-antd:rate-basic <name>","nzComponentName","NzDemoRateBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Show copywriting","nzSelector","nz-demo-rate-text","nzGenerateCommand","ng g ng-zorro-antd:rate-text <name>","nzComponentName","NzDemoRateTextComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Clear star","nzSelector","nz-demo-rate-clear","nzGenerateCommand","ng g ng-zorro-antd:rate-clear <name>","nzComponentName","NzDemoRateClearComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Customize Character","nzSelector","nz-demo-rate-customize","nzGenerateCommand","ng g ng-zorro-antd:rate-customize <name>","nzComponentName","NzDemoRateCustomizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Half star","nzSelector","nz-demo-rate-half","nzGenerateCommand","ng g ng-zorro-antd:rate-half <name>","nzComponentName","NzDemoRateHalfComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Read only","nzSelector","nz-demo-rate-disabled","nzGenerateCommand","ng g ng-zorro-antd:rate-disabled <name>","nzComponentName","NzDemoRateDisabledComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Other Character","nzSelector","nz-demo-rate-character","nzGenerateCommand","ng g ng-zorro-antd:rate-character <name>","nzComponentName","NzDemoRateCharacterComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-rate"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-rate'",1,"anchor"],["id","methods"],["onclick","window.location.hash = 'methods'",1,"anchor"]],template:function(o,d){o&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),N("nzClick",function(p){return d.goLink(p)}),a(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),e()(),t(11,"section",10)(12,"h1"),n(13,"Rate"),a(14,"span",11)(15,"span",12),t(16,"a",13),a(17,"nz-icon",14),e()(),t(18,"section",10),E(),t(19,"p"),n(20,"Rate component."),e(),t(21,"h2",15)(22,"span"),n(23,"When To Use"),e(),t(24,"a",16),n(25,"#"),e()(),t(26,"ul")(27,"li"),n(28,"Show evaluation."),e(),t(29,"li"),n(30,"A quick rating operation on something."),e()(),t(31,"pre",17)(32,"code")(33,"span",18),n(34,"import"),e(),n(35," "),t(36,"span",19),n(37,"{"),e(),n(38," NzRateModule "),t(39,"span",19),n(40,"}"),e(),n(41," "),t(42,"span",18),n(43,"from"),e(),n(44," "),t(45,"span",20),n(46,"'ng-zorro-antd/rate'"),e(),t(47,"span",19),n(48,";"),e()()(),C(),e(),t(49,"h2")(50,"span"),n(51,"Examples"),e(),t(52,"span",21),N("click",function(){return d.expandAllCode()}),e()()(),t(53,"div",22)(54,"div",23)(55,"nz-code-box",24),a(56,"nz-demo-rate-basic",25),t(57,"div",26),E(),t(58,"p"),n(59,"The simplest usage."),e(),C(),e()(),t(60,"nz-code-box",27),a(61,"nz-demo-rate-text",25),t(62,"div",26),E(),t(63,"p"),n(64,"Add copywriting in rate components."),e(),C(),e()(),t(65,"nz-code-box",28),a(66,"nz-demo-rate-clear",25),t(67,"div",26),E(),t(68,"p"),n(69,"Support set allow to clear star when click again."),e(),C(),e()(),t(70,"nz-code-box",29),a(71,"nz-demo-rate-customize",25),t(72,"div",26),E(),t(73,"p"),n(74,"Each character can be customized by index."),e(),C(),e()()(),t(75,"div",23)(76,"nz-code-box",30),a(77,"nz-demo-rate-half",25),t(78,"div",26),E(),t(79,"p"),n(80,"Support select half star."),e(),C(),e()(),t(81,"nz-code-box",31),a(82,"nz-demo-rate-disabled",25),t(83,"div",26),E(),t(84,"p"),n(85,"Read only, can't use mouse to interact."),e(),C(),e()(),t(86,"nz-code-box",32),a(87,"nz-demo-rate-character",25),t(88,"div",26),E(),t(89,"p"),n(90,"Replace the default star to other character like alphabet, digit, iconfont or even Chinese word."),e(),C(),e()()()(),t(91,"section",33),E(),t(92,"h2",34)(93,"span"),n(94,"API"),e(),t(95,"a",35),n(96,"#"),e()(),t(97,"h3",36)(98,"span"),n(99,"nz-rate"),e(),t(100,"label",37),n(101,"component"),e(),t(102,"a",38),n(103,"#"),e()(),t(104,"table")(105,"thead")(106,"tr")(107,"th"),n(108,"Property"),e(),t(109,"th"),n(110,"Description"),e(),t(111,"th"),n(112,"type"),e(),t(113,"th"),n(114,"Default"),e(),t(115,"th"),n(116,"Global Config"),e()()(),t(117,"tbody")(118,"tr")(119,"td")(120,"code"),n(121,"[nzAllowClear]"),e()(),t(122,"td"),n(123,"whether to allow clear when click again"),e(),t(124,"td")(125,"code"),n(126,"boolean"),e()(),t(127,"td")(128,"code"),n(129,"true"),e()(),t(130,"td"),n(131,"\u2705"),e()(),t(132,"tr")(133,"td")(134,"code"),n(135,"[nzAllowHalf]"),e()(),t(136,"td"),n(137,"whether to allow semi selection"),e(),t(138,"td")(139,"code"),n(140,"boolean"),e()(),t(141,"td")(142,"code"),n(143,"false"),e()(),t(144,"td"),n(145,"\u2705"),e()(),t(146,"tr")(147,"td")(148,"code"),n(149,"[nzAutoFocus]"),e()(),t(150,"td"),n(151,"get focus when component mounted"),e(),t(152,"td")(153,"code"),n(154,"boolean"),e()(),t(155,"td")(156,"code"),n(157,"false"),e()(),a(158,"td"),e(),t(159,"tr")(160,"td")(161,"code"),n(162,"[nzCharacter]"),e()(),t(163,"td"),n(164,"custom character of rate"),e(),t(165,"td")(166,"code"),n(167,"TemplateRef<void>"),e()(),t(168,"td")(169,"code"),n(170,'<span nz-icon nzType="star"></span>'),e()(),a(171,"td"),e(),t(172,"tr")(173,"td")(174,"code"),n(175,"[nzCount]"),e()(),t(176,"td"),n(177,"star count"),e(),t(178,"td")(179,"code"),n(180,"number"),e()(),t(181,"td")(182,"code"),n(183,"5"),e()(),a(184,"td"),e(),t(185,"tr")(186,"td")(187,"code"),n(188,"[nzDisabled]"),e()(),t(189,"td"),n(190,"read only, unable to interact"),e(),t(191,"td")(192,"code"),n(193,"boolean"),e()(),t(194,"td")(195,"code"),n(196,"false"),e()(),a(197,"td"),e(),t(198,"tr")(199,"td")(200,"code"),n(201,"[nzTooltips]"),e()(),t(202,"td"),n(203,"Customize tooltip by each character"),e(),t(204,"td")(205,"code"),n(206,"string[]"),e()(),t(207,"td")(208,"code"),n(209,"[]"),e()(),a(210,"td"),e(),t(211,"tr")(212,"td")(213,"code"),n(214,"[ngModel]"),e()(),t(215,"td"),n(216,"current value , double binding"),e(),t(217,"td")(218,"code"),n(219,"number"),e()(),t(220,"td"),n(221,"-"),e(),a(222,"td"),e(),t(223,"tr")(224,"td")(225,"code"),n(226,"(ngModelChange)"),e()(),t(227,"td"),n(228,"callback when select value"),e(),t(229,"td")(230,"code"),n(231,"EventEmitter<number>"),e()(),t(232,"td"),n(233,"-"),e(),a(234,"td"),e(),t(235,"tr")(236,"td")(237,"code"),n(238,"(nzOnBlur)"),e()(),t(239,"td"),n(240,"callback when component lose focus"),e(),t(241,"td")(242,"code"),n(243,"EventEmitter<FocusEvent>"),e()(),t(244,"td"),n(245,"-"),e(),a(246,"td"),e(),t(247,"tr")(248,"td")(249,"code"),n(250,"(nzOnFocus)"),e()(),t(251,"td"),n(252,"callback when component get focus"),e(),t(253,"td")(254,"code"),n(255,"EventEmitter<FocusEvent>"),e()(),t(256,"td"),n(257,"-"),e(),a(258,"td"),e(),t(259,"tr")(260,"td")(261,"code"),n(262,"(nzOnHoverChange)"),e()(),t(263,"td"),n(264,"callback when hover / leave item"),e(),t(265,"td")(266,"code"),n(267,"EventEmitter<number>"),e()(),t(268,"td"),n(269,"-"),e(),a(270,"td"),e(),t(271,"tr")(272,"td")(273,"code"),n(274,"(nzOnKeyDown)"),e()(),t(275,"td"),n(276,"callback when keydown on component"),e(),t(277,"td")(278,"code"),n(279,"EventEmitter<KeyboardEvent>"),e()(),t(280,"td"),n(281,"-"),e(),a(282,"td"),e()()(),t(283,"h4",39)(284,"span"),n(285,"Methods"),e(),t(286,"a",40),n(287,"#"),e()(),t(288,"table")(289,"thead")(290,"tr")(291,"th"),n(292,"Name"),e(),t(293,"th"),n(294,"Description"),e()()(),t(295,"tbody")(296,"tr")(297,"td"),n(298,"blur()"),e(),t(299,"td"),n(300,"remove focus"),e()(),t(301,"tr")(302,"td"),n(303,"focus()"),e(),t(304,"td"),n(305,"get focus"),e()()()(),C(),e()()),o&2&&(s(),m("nzOffsetTop",16),s(),m("nzAffix",!1),s(51),m("nzGutter",16),s(),m("nzXl",12)("nzSpan",24),s(),m("nzId","components-rate-demo-basic")("nzLink","components-rate-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/rate/demo/basic.md"),s(5),m("nzId","components-rate-demo-text")("nzLink","components-rate-demo-text")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/rate/demo/text.md"),s(5),m("nzId","components-rate-demo-clear")("nzLink","components-rate-demo-clear")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/rate/demo/clear.md"),s(5),m("nzId","components-rate-demo-customize")("nzLink","components-rate-demo-customize")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/rate/demo/customize.md"),s(5),m("nzXl",12)("nzSpan",24),s(),m("nzId","components-rate-demo-half")("nzLink","components-rate-demo-half")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/rate/demo/half.md"),s(5),m("nzId","components-rate-demo-disabled")("nzLink","components-rate-demo-disabled")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/rate/demo/disabled.md"),s(5),m("nzId","components-rate-demo-character")("nzLink","components-rate-demo-character")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/rate/demo/character.md"))},dependencies:[re,H,oe,ae,ie,ne,te,W,y,de,se,ce,ue,pe,ze,fe],encapsulation:2})}}return i})();var ft=[{path:"en",component:je},{path:"zh",component:Qe}],Fn=ft;export{Fn as default};