-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathchunk-3LFPKHS2.js
9 lines (9 loc) · 102 KB
/
chunk-3LFPKHS2.js
1
2
3
4
5
6
7
8
9
import{a as Ue,b as je}from"./chunk-OSRM2LOJ.js";import{a as _e,b as we,c as Te}from"./chunk-TOQK3HAA.js";import{a as Ge,b as D,g as S,h as f}from"./chunk-YFUEY227.js";import"./chunk-XRZD46X6.js";import"./chunk-VED23IKS.js";import"./chunk-7IR2ER4N.js";import{a as We,b as Ze}from"./chunk-QEKBGSGF.js";import{f as Re,k as Pe}from"./chunk-GDHEBRUM.js";import"./chunk-O5GFCFR7.js";import{i as Ve}from"./chunk-AMB2SXIB.js";import{a as A,g as Fe,h as Me,j as Be}from"./chunk-N7GBLZI4.js";import"./chunk-M3GNLX5T.js";import"./chunk-TSUNBK3M.js";import{Ha as O,Hc as b,Ja as L,Jc as Ne,Kc as ye,Nc as Ie,f as j,gc as De,qc as x,uc as h}from"./chunk-O3IWK6WU.js";import{$ as Le,Aa as P,Ac as he,Bc as be,Fc as v,Gc as n,H as Ee,Ib as z,Ic as G,L as ke,Lc as g,Mc as E,Nc as C,Ob as T,Sc as Ae,Vb as r,ad as H,cc as Ce,ec as I,fc as N,g as He,gc as y,hc as t,ic as e,jc as o,nc as U,o as ge,qc as w,rb as c,s as W,sc as k,xa as s,xb as Z,ya as u,za as R,zc as xe}from"./chunk-NACBYLXS.js";import"./chunk-EQDQRRRY.js";var Je=()=>[","],Xe=(m,l)=>l.value;function qe(m,l){if(m&1&&o(0,"nz-option",1),m&2){let i=l.$implicit;r("nzLabel",i.label)("nzValue",i.value)}}function Ke(){let m=[];for(let l=10;l<36;l++)m.push(l.toString(36)+l);return m}var Q=class m{listOfOption=Ke().map(l=>({label:l,value:l}));listOfTagOptions=[];static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-automatic-tokenization"]],decls:3,vars:3,consts:[["nzMode","tags","nzPlaceHolder","automatic tokenization",3,"ngModelChange","ngModel","nzTokenSeparators"],[3,"nzLabel","nzValue"]],template:function(i,a){i&1&&(t(0,"nz-select",0),C("ngModelChange",function(d){return E(a.listOfTagOptions,d)||(a.listOfTagOptions=d),d}),N(1,qe,1,2,"nz-option",1,Xe),e()),i&2&&(g("ngModel",a.listOfTagOptions),r("nzTokenSeparators",Ae(2,Je)),c(),y(a.listOfOption))},dependencies:[b,x,h,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{width:100%}"]})};var J=class m{static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-basic"]],decls:10,vars:0,consts:[["ngModel","lucy"],["nzValue","jack","nzLabel","Jack"],["nzValue","lucy","nzLabel","Lucy"],["nzValue","disabled","nzLabel","Disabled","nzDisabled",""],["ngModel","lucy","nzDisabled",""],["ngModel","lucy","nzLoading",""],["ngModel","lucy","nzAllowClear","","nzPlaceHolder","Choose"]],template:function(i,a){i&1&&(t(0,"nz-select",0),o(1,"nz-option",1)(2,"nz-option",2)(3,"nz-option",3),e(),t(4,"nz-select",4),o(5,"nz-option",2),e(),t(6,"nz-select",5),o(7,"nz-option",2),e(),t(8,"nz-select",6),o(9,"nz-option",2),e())},dependencies:[b,x,h,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{margin:0 8px 10px 0;width:120px}"]})};function Ye(m){let l=[];for(let i=10;i<m;i++)l.push(i.toString(36)+i);return l}var X=class m{listOfOption=Ye(1e4).map(l=>({label:l,value:l}));listOfSelectedValue=["a10","c12"];static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-big-data"]],decls:1,vars:2,consts:[["nzMode","multiple","nzPlaceHolder","Please select",3,"ngModelChange","nzOptions","ngModel"]],template:function(i,a){i&1&&(t(0,"nz-select",0),C("ngModelChange",function(d){return E(a.listOfSelectedValue,d)||(a.listOfSelectedValue=d),d}),e()),i&2&&(r("nzOptions",a.listOfOption),g("ngModel",a.listOfSelectedValue))},dependencies:[b,x,h,f,S],styles:["nz-select[_ngcontent-%COMP%]{width:100%}"]})};var q=class m{static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-border-less"]],decls:6,vars:0,consts:[["ngModel","lucy","nzBorderless",""],["nzValue","jack","nzLabel","Jack"],["nzValue","lucy","nzLabel","Lucy"],["nzValue","disabled","nzLabel","Disabled","nzDisabled",""],["ngModel","lucy","nzDisabled","","nzBorderless",""]],template:function(i,a){i&1&&(t(0,"nz-select",0),o(1,"nz-option",1)(2,"nz-option",2)(3,"nz-option",3),e(),t(4,"nz-select",4),o(5,"nz-option",2),e())},dependencies:[b,x,h,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{margin:0 8px 10px 0;width:120px}"]})};function $e(m,l){if(m&1&&o(0,"nz-option",1),m&2){let i=l.$implicit;r("nzValue",i)("nzLabel",i)}}function et(m,l){if(m&1&&o(0,"nz-option",1),m&2){let i=l.$implicit;r("nzValue",i)("nzLabel",i)}}var K=class m{selectedProvince="Zhejiang";selectedCity="Hangzhou";provinceData=["Zhejiang","Jiangsu"];cityData={Zhejiang:["Hangzhou","Ningbo","Wenzhou"],Jiangsu:["Nanjing","Suzhou","Zhenjiang"]};provinceChange(l){this.selectedCity=this.cityData[l][0]}static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-coordinate"]],decls:6,vars:2,consts:[[3,"ngModelChange","ngModel"],[3,"nzValue","nzLabel"]],template:function(i,a){i&1&&(t(0,"nz-select",0),C("ngModelChange",function(d){return E(a.selectedProvince,d)||(a.selectedProvince=d),d}),w("ngModelChange",function(d){return a.provinceChange(d)}),N(1,$e,1,2,"nz-option",1,I),e(),t(3,"nz-select",0),C("ngModelChange",function(d){return E(a.selectedCity,d)||(a.selectedCity=d),d}),N(4,et,1,2,"nz-option",1,I),e()),i&2&&(g("ngModel",a.selectedProvince),c(),y(a.provinceData),c(2),g("ngModel",a.selectedCity),c(),y(a.cityData[a.selectedProvince]))},dependencies:[b,x,h,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{margin-right:8px;width:120px}"]})};var Y=class m{selectedValue=null;static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-custom-content"]],decls:10,vars:1,consts:[["nzShowSearch","","nzAllowClear","","nzPlaceHolder","Select OS",3,"ngModelChange","ngModel"],["nzCustomContent","","nzLabel","Windows","nzValue","windows"],["nzType","windows"],["nzCustomContent","","nzLabel","Mac","nzValue","mac"],["nzType","apple"],["nzCustomContent","","nzLabel","Android","nzValue","android"],["nzType","android"]],template:function(i,a){i&1&&(t(0,"nz-select",0),C("ngModelChange",function(d){return E(a.selectedValue,d)||(a.selectedValue=d),d}),t(1,"nz-option",1),o(2,"nz-icon",2),n(3," Windows "),e(),t(4,"nz-option",3),o(5,"nz-icon",4),n(6," Mac "),e(),t(7,"nz-option",5),o(8,"nz-icon",6),n(9," Android "),e()()),i&2&&g("ngModel",a.selectedValue)},dependencies:[b,x,h,L,O,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{width:200px}"]})};function tt(m,l){if(m&1&&o(0,"nz-option",3),m&2){let i=l.$implicit;r("nzLabel",i)("nzValue",i)}}function nt(m,l){if(m&1){let i=U();o(0,"nz-divider"),t(1,"div",4),o(2,"input",5,1),t(4,"a",6),w("click",function(){R(i);let p=v(3),d=k();return P(d.addItem(p))}),o(5,"nz-icon",7),n(6," Add item "),e()()}}var $=class m{listOfItem=["jack","lucy"];index=0;addItem(l){let i=l.value;this.listOfItem.indexOf(i)===-1&&(this.listOfItem=[...this.listOfItem,l.value||`New item ${this.index++}`])}static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-custom-dropdown-menu"]],decls:5,vars:1,consts:[["renderTemplate",""],["inputElement",""],["nzShowSearch","","nzAllowClear","","nzPlaceHolder","custom dropdown render",3,"nzDropdownRender"],[3,"nzLabel","nzValue"],[1,"container"],["type","text","nz-input",""],[1,"add-item",3,"click"],["nzType","plus"]],template:function(i,a){if(i&1&&(t(0,"nz-select",2),N(1,tt,1,2,"nz-option",3,I),e(),T(3,nt,7,0,"ng-template",null,0,H)),i&2){let p=v(4);r("nzDropdownRender",p),c(),y(a.listOfItem)}},dependencies:[Ze,We,L,O,Pe,Re,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{width:240px}nz-divider[_ngcontent-%COMP%]{margin:4px 0}.container[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;padding:8px}.add-item[_ngcontent-%COMP%]{flex:0 0 auto;padding:8px;display:block}"]})};function it(m,l){if(m&1&&(o(0,"nz-icon",7),n(1)),m&2){let i=l.$implicit;r("nzType",i.nzValue),c(),G(" ",i.nzLabel," ")}}function ot(m,l){if(m&1&&(t(0,"div",8),o(1,"nz-icon",7),n(2),e()),m&2){let i=l.$implicit;c(),r("nzType",i.nzValue),c(),G(" ",i.nzLabel," ")}}var ee=class m{static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-custom-template"]],decls:14,vars:2,consts:[["defaultTemplate",""],["multipleTemplate",""],["nzAllowClear","","nzPlaceHolder","Select OS",3,"nzCustomTemplate"],["nzLabel","Windows","nzValue","windows"],["nzLabel","Apple","nzValue","apple"],["nzLabel","Android","nzValue","android"],["nzAllowClear","","nzPlaceHolder","Select OS","nzMode","multiple",3,"nzCustomTemplate"],[3,"nzType"],[1,"ant-select-selection-item-content"]],template:function(i,a){if(i&1&&(t(0,"nz-select",2),o(1,"nz-option",3)(2,"nz-option",4)(3,"nz-option",5),e(),T(4,it,2,2,"ng-template",null,0,H),o(6,"br")(7,"br"),t(8,"nz-select",6),o(9,"nz-option",3)(10,"nz-option",4)(11,"nz-option",5),e(),T(12,ot,3,2,"ng-template",null,1,H)),i&2){let p=v(5),d=v(13);r("nzCustomTemplate",p),c(8),r("nzCustomTemplate",d)}},dependencies:[L,O,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{width:100%}"]})};function lt(m,l){if(m&1&&o(0,"nz-option",1),m&2){let i=l.$implicit;r("nzLabel",i)("nzValue",i)}}function mt(m,l){if(m&1&&o(0,"nz-option",2),m&2){let i=l.$implicit;r("nzLabel",i)("nzValue",i)}}function at(m,l){if(m&1&&o(0,"nz-option",1),m&2){let i=l.$implicit;r("nzLabel",i)("nzValue",i)}}var te=class m{listOfOption=["Option 01","Option 02"];listOfSelectedValue=["Default 01","Default 02"];defaultOption=[...this.listOfSelectedValue];selectedValue="Default";static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-default-value"]],decls:11,vars:2,consts:[["nzMode","multiple","nzPlaceHolder","Inserted are removed",3,"ngModelChange","ngModel"],[3,"nzLabel","nzValue"],["nzHide","",3,"nzLabel","nzValue"],[3,"ngModelChange","ngModel"],["nzLabel","Default Value","nzValue","Default","nzHide",""]],template:function(i,a){i&1&&(t(0,"nz-select",0),C("ngModelChange",function(d){return E(a.listOfSelectedValue,d)||(a.listOfSelectedValue=d),d}),N(1,lt,1,2,"nz-option",1,I),N(3,mt,1,2,"nz-option",2,I),e(),o(5,"br")(6,"br"),t(7,"nz-select",3),C("ngModelChange",function(d){return E(a.selectedValue,d)||(a.selectedValue=d),d}),N(8,at,1,2,"nz-option",1,I),o(10,"nz-option",4),e()),i&2&&(g("ngModel",a.listOfSelectedValue),c(),y(a.listOfOption),c(2),y(a.defaultOption),c(4),g("ngModel",a.selectedValue),c(),y(a.listOfOption))},dependencies:[b,x,h,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{width:100%}"]})};function rt(m,l){if(m&1&&o(0,"nz-option",1),m&2){let i=l.$implicit,a=k();r("nzLabel",i)("nzValue",i)("nzHide",!a.isSelected(i))}}var ne=class m{listOfOption=["Apples","Nails","Bananas","Helicopters"];listOfSelected=[];isSelected(l){return this.listOfSelected.indexOf(l)!==-1}static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-hide-selected"]],decls:3,vars:1,consts:[["nzMode","multiple","nzPlaceHolder","Inserted are removed",3,"ngModelChange","ngModel"],[3,"nzLabel","nzValue","nzHide"]],template:function(i,a){i&1&&(t(0,"nz-select",0),C("ngModelChange",function(d){return E(a.listOfSelected,d)||(a.listOfSelected=d),d}),N(1,rt,1,3,"nz-option",1,I),e()),i&2&&(g("ngModel",a.listOfSelected),c(),y(a.listOfOption))},dependencies:[b,x,h,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{width:100%}"]})};function dt(m,l){if(m&1&&o(0,"nz-option",1),m&2){let i=l.$implicit;r("nzValue",i)("nzLabel",i.label)}}var ie=class m{optionList=[{label:"Lucy",value:"lucy",age:20},{label:"Jack",value:"jack",age:22}];selectedValue={label:"Jack",value:"jack",age:22};compareFn=(l,i)=>l&&i?l.value===i.value:l===i;log(l){console.log(l)}static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-label-in-value"]],decls:6,vars:3,consts:[["nzAllowClear","","nzPlaceHolder","Choose",3,"ngModelChange","ngModel","compareWith"],[3,"nzValue","nzLabel"]],template:function(i,a){i&1&&(t(0,"p"),n(1),e(),o(2,"br"),t(3,"nz-select",0),C("ngModelChange",function(d){return E(a.selectedValue,d)||(a.selectedValue=d),d}),w("ngModelChange",function(d){return a.log(d)}),N(4,dt,1,2,"nz-option",1,I),e()),i&2&&(c(),G("The selected option's age is ",a.selectedValue==null?null:a.selectedValue.age,""),c(2),g("ngModel",a.selectedValue),r("compareWith",a.compareFn),c(),y(a.optionList))},dependencies:[b,x,h,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{width:120px}"]})};function ct(m,l){if(m&1&&o(0,"nz-option",1),m&2){let i=l.$implicit;r("nzLabel",i)("nzValue",i)}}function st(){let m=[];for(let l=10;l<36;l++)m.push(l.toString(36)+l);return m}var oe=class m{listOfOption=st();listOfSelectedValue=["a10","c12"];static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-max-count"]],decls:3,vars:3,consts:[["nzMode","multiple","nzPlaceHolder","Please select","nzAllowClear","",3,"ngModelChange","nzMaxMultipleCount","nzShowArrow","ngModel"],[3,"nzLabel","nzValue"]],template:function(i,a){i&1&&(t(0,"nz-select",0),C("ngModelChange",function(d){return E(a.listOfSelectedValue,d)||(a.listOfSelectedValue=d),d}),N(1,ct,1,2,"nz-option",1,I),e()),i&2&&(r("nzMaxMultipleCount",3)("nzShowArrow",!0),g("ngModel",a.listOfSelectedValue),c(),y(a.listOfOption))},dependencies:[b,x,h,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{width:100%}"]})};function ut(m,l){if(m&1&&o(0,"nz-option",2),m&2){let i=l.$implicit;r("nzLabel",i)("nzValue",i)}}function pt(m,l){if(m&1&&n(0),m&2){let i=l.$implicit;G("and ",i.length," more selected")}}function zt(){let m=[];for(let l=10;l<36;l++)m.push(l.toString(36)+l);return m}var le=class m{listOfOption=zt();listOfSelectedValue=["a10","c12"];static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-multiple"]],decls:5,vars:3,consts:[["tagPlaceHolder",""],["nzMode","multiple","nzPlaceHolder","Please select",3,"ngModelChange","nzMaxTagCount","nzMaxTagPlaceholder","ngModel"],[3,"nzLabel","nzValue"]],template:function(i,a){if(i&1){let p=U();t(0,"nz-select",1),C("ngModelChange",function(V){return R(p),E(a.listOfSelectedValue,V)||(a.listOfSelectedValue=V),P(V)}),N(1,ut,1,2,"nz-option",2,I),e(),T(3,pt,1,1,"ng-template",null,0,H)}if(i&2){let p=v(4);r("nzMaxTagCount",3)("nzMaxTagPlaceholder",p),g("ngModel",a.listOfSelectedValue),c(),y(a.listOfOption)}},dependencies:[b,x,h,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{width:100%}"]})};var me=class m{selectedValue="lucy";static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-optgroup"]],decls:6,vars:1,consts:[["nzAllowClear","","nzPlaceHolder","Choose","nzShowSearch","",3,"ngModelChange","ngModel"],["nzLabel","Manager"],["nzValue","jack","nzLabel","Jack"],["nzValue","lucy","nzLabel","Lucy"],["nzLabel","Engineer"],["nzValue","tom","nzLabel","Tom"]],template:function(i,a){i&1&&(t(0,"nz-select",0),C("ngModelChange",function(d){return E(a.selectedValue,d)||(a.selectedValue=d),d}),t(1,"nz-option-group",1),o(2,"nz-option",2)(3,"nz-option",3),e(),t(4,"nz-option-group",4),o(5,"nz-option",5),e()()),i&2&&g("ngModel",a.selectedValue)},dependencies:[b,x,h,f,D,S,Ge],styles:["nz-select[_ngcontent-%COMP%]{width:120px}"]})};var ae=class m{selectedValue="lucy";listOfOption=[{label:"Jack",value:"jack"},{label:"Lucy",value:"lucy"},{label:"disabled",value:"disabled",disabled:!0}];listOfGroupOption=[{label:"Jack",value:"jack",groupLabel:"Manager"},{label:"Lucy",value:"lucy",groupLabel:"Manager"},{label:"Tom",value:"tom",groupLabel:"Engineer"}];static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-options"]],decls:2,vars:3,consts:[["ngModel","lucy",3,"nzOptions"],["nzAllowClear","","nzPlaceHolder","Choose",3,"ngModelChange","ngModel","nzOptions"]],template:function(i,a){i&1&&(o(0,"nz-select",0),t(1,"nz-select",1),C("ngModelChange",function(d){return E(a.selectedValue,d)||(a.selectedValue=d),d}),e()),i&2&&(r("nzOptions",a.listOfOption),c(),g("ngModel",a.selectedValue),r("nzOptions",a.listOfGroupOption))},dependencies:[b,x,h,f,S],styles:["nz-select[_ngcontent-%COMP%]{margin:0 8px 10px 0;width:120px}"]})};var re=class m{placement="topLeft";selectedValue="HangZhou";static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-placement"]],decls:15,vars:4,consts:[[3,"ngModelChange","ngModel"],["nz-radio-button","","nzValue","topLeft"],["nz-radio-button","","nzValue","topRight"],["nz-radio-button","","nzValue","bottomLeft"],["nz-radio-button","","nzValue","bottomRight"],[3,"ngModelChange","ngModel","nzDropdownMatchSelectWidth","nzPlacement"],["nzValue","HangZhou","nzLabel","HangZhou #310000"],["nzValue","NingBo","nzLabel","NingBo #315000"],["nzValue","WenZhou","nzLabel","WenZhou #325000"]],template:function(i,a){i&1&&(t(0,"nz-radio-group",0),C("ngModelChange",function(d){return E(a.placement,d)||(a.placement=d),d}),t(1,"label",1),n(2,"topLeft"),e(),t(3,"label",2),n(4,"topRight"),e(),t(5,"label",3),n(6,"bottomLeft"),e(),t(7,"label",4),n(8,"bottomRight"),e()(),o(9,"br")(10,"br"),t(11,"nz-select",5),C("ngModelChange",function(d){return E(a.selectedValue,d)||(a.selectedValue=d),d}),o(12,"nz-option",6)(13,"nz-option",7)(14,"nz-option",8),e()),i&2&&(g("ngModel",a.placement),c(11),g("ngModel",a.selectedValue),r("nzDropdownMatchSelectWidth",!1)("nzPlacement",a.placement))},dependencies:[b,x,h,Te,we,_e,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{width:120px}"]})};function ft(m,l){if(m&1&&o(0,"nz-option",2),m&2){let i=l.$implicit;r("nzValue",i)("nzLabel",i)}}function gt(m,l){m&1&&o(0,"nz-spin")}function Et(m,l){if(m&1&&T(0,gt,1,0,"nz-spin"),m&2){let i=k();Ce(i.isLoading?0:-1)}}var de=class m{constructor(l){this.http=l}randomUserUrl="https://api.randomuser.me/?results=10";optionList=[];selectedUser=null;isLoading=!1;ngOnInit(){this.loadMore()}getRandomNameList(){return this.http.get(`${this.randomUserUrl}`).pipe(W(l=>l.results),Ee(()=>ge([]))).pipe(W(l=>l.map(i=>`${i.name.first}`)))}loadMore(){this.isLoading=!0,this.getRandomNameList().subscribe(l=>{this.isLoading=!1,this.optionList=[...this.optionList,...l]})}static \u0275fac=function(i){return new(i||m)(Z(j))};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-scroll-load"]],decls:5,vars:2,consts:[["renderTemplate",""],["nzPlaceHolder","Select users","nzAllowClear","",3,"ngModelChange","nzScrollToBottom","ngModel","nzDropdownRender"],[3,"nzValue","nzLabel"]],template:function(i,a){if(i&1){let p=U();t(0,"nz-select",1),C("ngModelChange",function(V){return R(p),E(a.selectedUser,V)||(a.selectedUser=V),P(V)}),w("nzScrollToBottom",function(){return R(p),P(a.loadMore())}),N(1,ft,1,2,"nz-option",2,I),e(),T(3,Et,1,1,"ng-template",null,0,H)}if(i&2){let p=v(4);g("ngModel",a.selectedUser),r("nzDropdownRender",p),c(),y(a.optionList)}},dependencies:[b,x,h,f,D,S,je,Ue],styles:["nz-select[_ngcontent-%COMP%]{width:100%}"]})};function Ct(m,l){if(m&1&&o(0,"nz-option",1),m&2){let i=l.$implicit;r("nzLabel",i)("nzValue",i)}}var ce=class m{constructor(l){this.http=l}selectedValue=null;listOfOption=[];nzFilterOption=()=>!0;search(l){this.http.jsonp(`https://suggest.taobao.com/sug?code=utf-8&q=${l}`,"callback").subscribe(i=>{this.listOfOption=i.result.map(([a])=>a)})}static \u0275fac=function(i){return new(i||m)(Z(j))};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-search-box"]],decls:3,vars:3,consts:[["nzShowSearch","","nzServerSearch","","nzPlaceHolder","input search text",3,"ngModelChange","nzOnSearch","ngModel","nzShowArrow","nzFilterOption"],[3,"nzLabel","nzValue"]],template:function(i,a){i&1&&(t(0,"nz-select",0),C("ngModelChange",function(d){return E(a.selectedValue,d)||(a.selectedValue=d),d}),w("nzOnSearch",function(d){return a.search(d)}),N(1,Ct,1,2,"nz-option",1,I),e()),i&2&&(g("ngModel",a.selectedValue),r("nzShowArrow",!1)("nzFilterOption",a.nzFilterOption),c(),y(a.listOfOption))},dependencies:[b,x,h,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{width:200px}"]})};var se=class m{selectedValue=null;static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-search"]],decls:4,vars:1,consts:[["nzShowSearch","","nzAllowClear","","nzPlaceHolder","Select a person",3,"ngModelChange","ngModel"],["nzLabel","Jack","nzValue","jack"],["nzLabel","Lucy","nzValue","lucy"],["nzLabel","Tom","nzValue","tom"]],template:function(i,a){i&1&&(t(0,"nz-select",0),C("ngModelChange",function(d){return E(a.selectedValue,d)||(a.selectedValue=d),d}),o(1,"nz-option",1)(2,"nz-option",2)(3,"nz-option",3),e()),i&2&&g("ngModel",a.selectedValue)},dependencies:[b,x,h,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{width:200px}"]})};function xt(m,l){if(m&1&&o(0,"nz-option",2),m&2){let i=l.$implicit;r("nzValue",i)("nzLabel",i)}}function ht(m,l){if(m&1&&N(0,xt,1,2,"nz-option",2,I),m&2){let i=k();y(i.optionList)}}function bt(m,l){m&1&&(t(0,"nz-option",1),o(1,"nz-icon",3),n(2," Loading Data... "),e())}var ue=class m{constructor(l){this.http=l}randomUserUrl="https://api.randomuser.me/?results=5";searchChange$=new He("");optionList=[];selectedUser;loading=!1;onSearch(l){this.loading=!0,this.searchChange$.next(l)}ngOnInit(){this.searchChange$.pipe(ke(500),Le(l=>this.getRandomNameList(l))).subscribe(l=>{this.optionList=l,this.loading=!1})}getRandomNameList(l){return this.http.get(`${this.randomUserUrl}`).pipe(W(i=>i.results),Ee(()=>ge([])),W(i=>i.map(a=>`${a.name.first} ${l}`)))}static \u0275fac=function(i){return new(i||m)(Z(j))};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-select-users"]],decls:3,vars:2,consts:[["nzMode","multiple","nzPlaceHolder","Select users","nzAllowClear","","nzShowSearch","","nzServerSearch","",3,"ngModelChange","nzOnSearch","ngModel"],["nzDisabled","","nzCustomContent",""],[3,"nzValue","nzLabel"],["nzType","loading",1,"loading-icon"]],template:function(i,a){i&1&&(t(0,"nz-select",0),C("ngModelChange",function(d){return E(a.selectedUser,d)||(a.selectedUser=d),d}),w("nzOnSearch",function(d){return a.onSearch(d)}),T(1,ht,2,0)(2,bt,3,0,"nz-option",1),e()),i&2&&(g("ngModel",a.selectedUser),c(),Ce(a.loading?2:1))},dependencies:[b,x,h,L,O,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{width:100%}.loading-icon[_ngcontent-%COMP%]{margin-right:8px}"]})};function Dt(m,l){if(m&1&&o(0,"nz-option",5),m&2){let i=l.$implicit;r("nzLabel",i)("nzValue",i)}}function Nt(m,l){if(m&1&&o(0,"nz-option",5),m&2){let i=l.$implicit;r("nzLabel",i)("nzValue",i)}}function yt(m,l){if(m&1&&o(0,"nz-option",5),m&2){let i=l.$implicit;r("nzLabel",i)("nzValue",i)}}function It(m,l){if(m&1&&o(0,"nz-option",5),m&2){let i=l.$implicit;r("nzLabel",i)("nzValue",i)}}function Ft(){let m=[];for(let l=10;l<36;l++)m.push(l.toString(36)+l);return m}var pe=class m{listOfOption=Ft();size="default";singleValue="a10";multipleValue=["a10","c12"];tagValue=["a10","c12","tag"];static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-size"]],decls:27,vars:9,consts:[[3,"ngModelChange","ngModel"],["nz-radio-button","","nzValue","large"],["nz-radio-button","","nzValue","default"],["nz-radio-button","","nzValue","small"],[3,"ngModelChange","ngModel","nzSize"],[3,"nzLabel","nzValue"],["nzShowSearch","",3,"ngModelChange","ngModel","nzSize"],["nzMode","multiple","nzPlaceHolder","Please select",3,"ngModelChange","ngModel","nzSize"],["nzMode","tags","nzPlaceHolder","Please select",3,"ngModelChange","ngModel","nzSize"]],template:function(i,a){i&1&&(t(0,"nz-radio-group",0),C("ngModelChange",function(d){return E(a.size,d)||(a.size=d),d}),t(1,"label",1),n(2,"Large"),e(),t(3,"label",2),n(4,"Default"),e(),t(5,"label",3),n(6,"Small"),e()(),o(7,"br")(8,"br"),t(9,"nz-select",4),C("ngModelChange",function(d){return E(a.singleValue,d)||(a.singleValue=d),d}),N(10,Dt,1,2,"nz-option",5,I),e(),o(12,"br")(13,"br"),t(14,"nz-select",6),C("ngModelChange",function(d){return E(a.singleValue,d)||(a.singleValue=d),d}),N(15,Nt,1,2,"nz-option",5,I),e(),o(17,"br")(18,"br"),t(19,"nz-select",7),C("ngModelChange",function(d){return E(a.multipleValue,d)||(a.multipleValue=d),d}),N(20,yt,1,2,"nz-option",5,I),e(),o(22,"br")(23,"br"),t(24,"nz-select",8),C("ngModelChange",function(d){return E(a.tagValue,d)||(a.tagValue=d),d}),N(25,It,1,2,"nz-option",5,I),e()),i&2&&(g("ngModel",a.size),c(9),g("ngModel",a.singleValue),r("nzSize",a.size),c(),y(a.listOfOption),c(4),g("ngModel",a.singleValue),r("nzSize",a.size),c(),y(a.listOfOption),c(4),g("ngModel",a.multipleValue),r("nzSize",a.size),c(),y(a.listOfOption),c(4),g("ngModel",a.tagValue),r("nzSize",a.size),c(),y(a.listOfOption))},dependencies:[b,x,h,f,D,S,Te,we,_e],styles:["nz-select[_ngcontent-%COMP%]{width:100%}"]})};var ze=class m{static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-status"]],decls:4,vars:0,consts:[["nzStatus","error"],["nzStatus","warning"]],template:function(i,a){i&1&&o(0,"nz-select",0)(1,"br")(2,"br")(3,"nz-select",1)},dependencies:[f,S,Ve],styles:["nz-select[_ngcontent-%COMP%]{width:100%}"]})};function Mt(m,l){if(m&1&&o(0,"nz-option",1),m&2){let i=l.$implicit;r("nzLabel",i)("nzValue",i)}}function Bt(){let m=[];for(let l=10;l<36;l++)m.push(l.toString(36)+l);return m}var Se=class m{listOfOption=Bt();listOfTagOptions=[];static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select-tags"]],decls:3,vars:1,consts:[["nzMode","tags","nzPlaceHolder","Tag Mode",3,"ngModelChange","ngModel"],[3,"nzLabel","nzValue"]],template:function(i,a){i&1&&(t(0,"nz-select",0),C("ngModelChange",function(d){return E(a.listOfTagOptions,d)||(a.listOfTagOptions=d),d}),N(1,Mt,1,2,"nz-option",1,I),e()),i&2&&(g("ngModel",a.listOfTagOptions),c(),y(a.listOfOption))},dependencies:[b,x,h,f,D,S],styles:["nz-select[_ngcontent-%COMP%]{width:100%}"]})};var Oe=class m{expanded=!1;codeBoxes;goLink(l){window&&(window.location.hash=l)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(l=>l.expandCode(this.expanded))}static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select"]],viewQuery:function(i,a){if(i&1&&xe(A,5),i&2){let p;he(p=be())&&(a.codeBoxes=p)}},decls:1087,vars:122,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-select-demo-basic","nzTitle","\u57FA\u672C\u4F7F\u7528"],["nzHref","#components-select-demo-search","nzTitle","\u5E26\u641C\u7D22\u6846"],["nzHref","#components-select-demo-multiple","nzTitle","\u591A\u9009"],["nzHref","#components-select-demo-size","nzTitle","\u4E09\u79CD\u5927\u5C0F"],["nzHref","#components-select-demo-tags","nzTitle","\u6807\u7B7E"],["nzHref","#components-select-demo-optgroup","nzTitle","\u5206\u7EC4"],["nzHref","#components-select-demo-coordinate","nzTitle","\u8054\u52A8"],["nzHref","#components-select-demo-search-box","nzTitle","\u641C\u7D22\u6846"],["nzHref","#components-select-demo-label-in-value","nzTitle","\u83B7\u5F97\u9009\u9879\u7684\u5BF9\u8C61"],["nzHref","#components-select-demo-automatic-tokenization","nzTitle","\u81EA\u52A8\u5206\u8BCD"],["nzHref","#components-select-demo-select-users","nzTitle","\u641C\u7D22\u7528\u6237"],["nzHref","#components-select-demo-custom-dropdown-menu","nzTitle","\u6269\u5C55\u83DC\u5355"],["nzHref","#components-select-demo-hide-selected","nzTitle","\u9690\u85CF\u5DF2\u9009\u62E9\u9009\u9879"],["nzHref","#components-select-demo-custom-content","nzTitle","\u81EA\u5B9A\u4E49\u4E0B\u62C9\u83DC\u5355\u5185\u5BB9"],["nzHref","#components-select-demo-scroll-load","nzTitle","\u4E0B\u62C9\u52A0\u8F7D"],["nzHref","#components-select-demo-default-value","nzTitle","\u9ED8\u8BA4\u6570\u636E"],["nzHref","#components-select-demo-big-data","nzTitle","\u5927\u91CF\u6570\u636E"],["nzHref","#components-select-demo-border-less","nzTitle","\u65E0\u8FB9\u6846"],["nzHref","#components-select-demo-custom-template","nzTitle","\u81EA\u5B9A\u4E49\u9009\u62E9\u6807\u7B7E"],["nzHref","#components-select-demo-options","nzTitle","\u4F20\u5165 Options"],["nzHref","#components-select-demo-status","nzTitle","\u81EA\u5B9A\u4E49\u72B6\u6001"],["nzHref","#components-select-demo-placement","nzTitle","\u5F39\u51FA\u4F4D\u7F6E"],["nzHref","#components-select-demo-max-count","nzTitle","\u6700\u5927\u9009\u4E2D\u6570\u91CF"],["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/select/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"],["href","/components/radio/zh"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["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\u4F7F\u7528","nzSelector","nz-demo-select-basic","nzGenerateCommand","ng g ng-zorro-antd:select-basic <name>","nzComponentName","NzDemoSelectBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u591A\u9009","nzSelector","nz-demo-select-multiple","nzGenerateCommand","ng g ng-zorro-antd:select-multiple <name>","nzComponentName","NzDemoSelectMultipleComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u6807\u7B7E","nzSelector","nz-demo-select-tags","nzGenerateCommand","ng g ng-zorro-antd:select-tags <name>","nzComponentName","NzDemoSelectTagsComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u8054\u52A8","nzSelector","nz-demo-select-coordinate","nzGenerateCommand","ng g ng-zorro-antd:select-coordinate <name>","nzComponentName","NzDemoSelectCoordinateComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["href","/components/cascader/zh"],["nzTitle","\u83B7\u5F97\u9009\u9879\u7684\u5BF9\u8C61","nzSelector","nz-demo-select-label-in-value","nzGenerateCommand","ng g ng-zorro-antd:select-label-in-value <name>","nzComponentName","NzDemoSelectLabelInValueComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["href","https://angular.cn/api/forms/SelectControlValueAccessor","target","_blank","rel","noopener"],["nzTitle","\u641C\u7D22\u7528\u6237","nzSelector","nz-demo-select-select-users","nzGenerateCommand","ng g ng-zorro-antd:select-select-users <name>","nzComponentName","NzDemoSelectSelectUsersComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u9690\u85CF\u5DF2\u9009\u62E9\u9009\u9879","nzSelector","nz-demo-select-hide-selected","nzGenerateCommand","ng g ng-zorro-antd:select-hide-selected <name>","nzComponentName","NzDemoSelectHideSelectedComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u4E0B\u62C9\u52A0\u8F7D","nzSelector","nz-demo-select-scroll-load","nzGenerateCommand","ng g ng-zorro-antd:select-scroll-load <name>","nzComponentName","NzDemoSelectScrollLoadComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u5927\u91CF\u6570\u636E","nzSelector","nz-demo-select-big-data","nzGenerateCommand","ng g ng-zorro-antd:select-big-data <name>","nzComponentName","NzDemoSelectBigDataComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u5B9A\u4E49\u9009\u62E9\u6807\u7B7E","nzSelector","nz-demo-select-custom-template","nzGenerateCommand","ng g ng-zorro-antd:select-custom-template <name>","nzComponentName","NzDemoSelectCustomTemplateComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u5B9A\u4E49\u72B6\u6001","nzSelector","nz-demo-select-status","nzGenerateCommand","ng g ng-zorro-antd:select-status <name>","nzComponentName","NzDemoSelectStatusComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u6700\u5927\u9009\u4E2D\u6570\u91CF","nzSelector","nz-demo-select-max-count","nzGenerateCommand","ng g ng-zorro-antd:select-max-count <name>","nzComponentName","NzDemoSelectMaxCountComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u5E26\u641C\u7D22\u6846","nzSelector","nz-demo-select-search","nzGenerateCommand","ng g ng-zorro-antd:select-search <name>","nzComponentName","NzDemoSelectSearchComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u4E09\u79CD\u5927\u5C0F","nzSelector","nz-demo-select-size","nzGenerateCommand","ng g ng-zorro-antd:select-size <name>","nzComponentName","NzDemoSelectSizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u5206\u7EC4","nzSelector","nz-demo-select-optgroup","nzGenerateCommand","ng g ng-zorro-antd:select-optgroup <name>","nzComponentName","NzDemoSelectOptgroupComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u641C\u7D22\u6846","nzSelector","nz-demo-select-search-box","nzGenerateCommand","ng g ng-zorro-antd:select-search-box <name>","nzComponentName","NzDemoSelectSearchBoxComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u52A8\u5206\u8BCD","nzSelector","nz-demo-select-automatic-tokenization","nzGenerateCommand","ng g ng-zorro-antd:select-automatic-tokenization <name>","nzComponentName","NzDemoSelectAutomaticTokenizationComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u6269\u5C55\u83DC\u5355","nzSelector","nz-demo-select-custom-dropdown-menu","nzGenerateCommand","ng g ng-zorro-antd:select-custom-dropdown-menu <name>","nzComponentName","NzDemoSelectCustomDropdownMenuComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u5B9A\u4E49\u4E0B\u62C9\u83DC\u5355\u5185\u5BB9","nzSelector","nz-demo-select-custom-content","nzGenerateCommand","ng g ng-zorro-antd:select-custom-content <name>","nzComponentName","NzDemoSelectCustomContentComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u9ED8\u8BA4\u6570\u636E","nzSelector","nz-demo-select-default-value","nzGenerateCommand","ng g ng-zorro-antd:select-default-value <name>","nzComponentName","NzDemoSelectDefaultValueComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u65E0\u8FB9\u6846","nzSelector","nz-demo-select-border-less","nzGenerateCommand","ng g ng-zorro-antd:select-border-less <name>","nzComponentName","NzDemoSelectBorderLessComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u4F20\u5165 Options","nzSelector","nz-demo-select-options","nzGenerateCommand","ng g ng-zorro-antd:select-options <name>","nzComponentName","NzDemoSelectOptionsComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u5F39\u51FA\u4F4D\u7F6E","nzSelector","nz-demo-select-placement","nzGenerateCommand","ng g ng-zorro-antd:select-placement <name>","nzComponentName","NzDemoSelectPlacementComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],[1,"language-html"],[1,"token","tag"],[1,"token","attr-name"],[1,"token","attr-value"],[1,"token","punctuation","attr-equals"],["id","nz-select"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-select'",1,"anchor"],["id","nz-option"],["onclick","window.location.hash = 'nz-option'",1,"anchor"],["id","nz-option-group"],["onclick","window.location.hash = 'nz-option-group'",1,"anchor"],["id","\u65B9\u6CD5"],["onclick","window.location.hash = '\u65B9\u6CD5'",1,"anchor"]],template:function(i,a){i&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),w("nzClick",function(d){return a.goLink(d)}),o(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)(12,"nz-link",11)(13,"nz-link",12)(14,"nz-link",13)(15,"nz-link",14)(16,"nz-link",15)(17,"nz-link",16)(18,"nz-link",17)(19,"nz-link",18)(20,"nz-link",19)(21,"nz-link",20)(22,"nz-link",21)(23,"nz-link",22)(24,"nz-link",23)(25,"nz-link",24)(26,"nz-link",25),e()(),t(27,"section",26)(28,"h1"),n(29,"Select"),t(30,"span",27),n(31,"\u9009\u62E9\u5668"),e(),o(32,"span",28),t(33,"a",29),o(34,"nz-icon",30),e()(),t(35,"section",26),u(),t(36,"p"),n(37,"\u4E0B\u62C9\u9009\u62E9\u5668\u3002"),e(),t(38,"h2",31)(39,"span"),n(40,"\u4F55\u65F6\u4F7F\u7528"),e(),t(41,"a",32),n(42,"#"),e()(),t(43,"ul")(44,"li"),n(45,"\u5F39\u51FA\u4E00\u4E2A\u4E0B\u62C9\u83DC\u5355\u7ED9\u7528\u6237\u9009\u62E9\u64CD\u4F5C\uFF0C\u7528\u4E8E\u4EE3\u66FF\u539F\u751F\u7684\u9009\u62E9\u5668\uFF0C\u6216\u8005\u9700\u8981\u4E00\u4E2A\u66F4\u4F18\u96C5\u7684\u591A\u9009\u5668\u65F6\u3002"),e(),t(46,"li"),n(47,"\u5F53\u9009\u9879\u5C11\u65F6\uFF08\u5C11\u4E8E 5 \u9879\uFF09\uFF0C\u5EFA\u8BAE\u76F4\u63A5\u5C06\u9009\u9879\u5E73\u94FA\uFF0C\u4F7F\u7528 "),t(48,"a",33),n(49,"Radio"),e(),n(50," \u662F\u66F4\u597D\u7684\u9009\u62E9\u3002"),e()(),t(51,"pre")(52,"code",34)(53,"span",35),n(54,"import"),e(),n(55," "),t(56,"span",36),n(57,"{"),e(),n(58," NzSelectModule "),t(59,"span",36),n(60,"}"),e(),n(61," "),t(62,"span",35),n(63,"from"),e(),n(64," "),t(65,"span",37),n(66,"'ng-zorro-antd/select'"),e(),t(67,"span",36),n(68,";"),e(),n(69,`
`),e()(),s(),e(),t(70,"h2")(71,"span"),n(72,"\u4EE3\u7801\u6F14\u793A"),e(),t(73,"nz-icon",38),w("click",function(){return a.expandAllCode()}),e()()(),t(74,"div",39)(75,"div",40)(76,"nz-code-box",41),o(77,"nz-demo-select-basic",42),t(78,"div",43),u(),t(79,"p"),n(80,"\u57FA\u672C\u4F7F\u7528\u3002"),e(),s(),e()(),t(81,"nz-code-box",44),o(82,"nz-demo-select-multiple",42),t(83,"div",43),u(),t(84,"p"),n(85,"\u591A\u9009\uFF0C\u4ECE\u5DF2\u6709\u6761\u76EE\u4E2D\u9009\u62E9\uFF0C\u4F8B\u5B50\u4E2D\u901A\u8FC7 "),t(86,"code"),n(87,"nzMaxTagCount"),e(),n(88," \u9650\u5236\u6700\u591A\u663E\u793A3\u4E2A\u9009\u9879\u3002"),e(),s(),e()(),t(89,"nz-code-box",45),o(90,"nz-demo-select-tags",42),t(91,"div",43),u(),t(92,"p"),n(93,"tags select\uFF0C\u968F\u610F\u8F93\u5165\u7684\u5185\u5BB9\uFF08scroll the menu\uFF09"),e(),s(),e()(),t(94,"nz-code-box",46),o(95,"nz-demo-select-coordinate",42),t(96,"div",43),u(),t(97,"p"),n(98,"\u7701\u5E02\u8054\u52A8\u662F\u5178\u578B\u7684\u4F8B\u5B50\u3002"),e(),t(99,"p"),n(100,"\u63A8\u8350\u4F7F\u7528 "),t(101,"a",47),n(102,"Cascader"),e(),n(103," \u7EC4\u4EF6\u3002"),e(),s(),e()(),t(104,"nz-code-box",48),o(105,"nz-demo-select-label-in-value",42),t(106,"div",43),u(),t(107,"p")(108,"code"),n(109,"ngModel"),e(),n(110," \u53D6\u5230\u7684\u503C\u4E3A\u9009\u4E2D "),t(111,"code"),n(112,"nz-option"),e(),n(113," \u7684 "),t(114,"code"),n(115,"nzValue"),e(),n(116," \u503C\uFF0C\u5F53 "),t(117,"code"),n(118,"nzValue"),e(),n(119," \u4F20\u5165\u4E3A\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C"),t(120,"code"),n(121,"ngModel"),e(),n(122," \u83B7\u53D6\u7684\u503C\u4E5F\u662F\u4E00\u4E2A\u5BF9\u8C61\uFF0C"),t(123,"code"),n(124,"compareWith"),e(),n(125," \u7684\u7528\u6CD5\u53C2\u89C1 "),t(126,"a",49),n(127,"SelectControlValueAccessor"),e(),n(128,"\u3002"),e(),s(),e()(),t(129,"nz-code-box",50),o(130,"nz-demo-select-select-users",42),t(131,"div",43),u(),t(132,"p"),n(133,"\u4E00\u4E2A\u5E26\u6709\u8FDC\u7A0B\u641C\u7D22\uFF0C\u8282\u6D41\u63A7\u5236\uFF0C\u8BF7\u6C42\u65F6\u5E8F\u63A7\u5236\uFF0C\u52A0\u8F7D\u72B6\u6001\u7684\u591A\u9009\u793A\u4F8B\u3002"),e(),s(),e()(),t(134,"nz-code-box",51),o(135,"nz-demo-select-hide-selected",42),t(136,"div",43),u(),t(137,"p"),n(138,"\u901A\u8FC7 "),t(139,"code"),n(140,"nzHide"),e(),n(141," \u9690\u85CF\u4E0B\u62C9\u5217\u8868\u4E2D\u5DF2\u9009\u62E9\u7684\u9009\u9879\u3002"),e(),s(),e()(),t(142,"nz-code-box",52),o(143,"nz-demo-select-scroll-load",42),t(144,"div",43),u(),t(145,"p"),n(146,"\u4E00\u4E2A\u5E26\u6709\u4E0B\u62C9\u52A0\u8F7D\u8FDC\u7A0B\u6570\u636E\u7684\u4F8B\u5B50\u3002"),e(),s(),e()(),t(147,"nz-code-box",53),o(148,"nz-demo-select-big-data",42),t(149,"div",43),u(),t(150,"p"),n(151,"\u7EC4\u4EF6\u4F7F\u7528\u4E86\u865A\u62DF\u6EDA\u52A8\u6280\u672F\uFF0C\u53EF\u4EE5\u540C\u65F6\u5904\u7406\u5927\u91CF\u6570\u636E\u3002"),e(),s(),e()(),t(152,"nz-code-box",54),o(153,"nz-demo-select-custom-template",42),t(154,"div",43),u(),t(155,"p"),n(156,"\u901A\u8FC7 "),t(157,"code"),n(158,"nzCustomTemplate"),e(),n(159," \u81EA\u5B9A\u4E49 nz-select \u663E\u793A\u7684\u5185\u5BB9\u3002"),e(),s(),e()(),t(160,"nz-code-box",55),o(161,"nz-demo-select-status",42),t(162,"div",43),u(),t(163,"p"),n(164,"\u4F7F\u7528 "),t(165,"code"),n(166,"nzStatus"),e(),n(167," \u4E3A Select \u6DFB\u52A0\u72B6\u6001\uFF0C\u53EF\u9009 "),t(168,"code"),n(169,"error"),e(),n(170," \u6216\u8005 "),t(171,"code"),n(172,"warning"),e(),n(173,"\u3002"),e(),s(),e()(),t(174,"nz-code-box",56),o(175,"nz-demo-select-max-count",42),t(176,"div",43),u(),t(177,"p"),n(178,"\u4F60\u53EF\u4EE5\u901A\u8FC7\u8BBE\u7F6E "),t(179,"code"),n(180,"nzMaxMultipleCount"),e(),n(181," \u7EA6\u675F\u6700\u591A\u53EF\u9009\u4E2D\u7684\u6570\u91CF\uFF0C\u5F53\u8D85\u51FA\u9650\u5236\u65F6\u4F1A\u53D8\u6210\u7981\u6B62\u9009\u4E2D\u72B6\u6001\u3002"),e(),s(),e()()(),t(182,"div",40)(183,"nz-code-box",57),o(184,"nz-demo-select-search",42),t(185,"div",43),u(),t(186,"p"),n(187,"\u5C55\u5F00\u540E\u53EF\u5BF9\u9009\u9879\u8FDB\u884C\u641C\u7D22\u3002"),e(),s(),e()(),t(188,"nz-code-box",58),o(189,"nz-demo-select-size",42),t(190,"div",43),u(),t(191,"p"),n(192,"\u4E09\u79CD\u5927\u5C0F\u7684\u9009\u62E9\u6846\uFF0C\u5F53 "),t(193,"code"),n(194,"nzSize"),e(),n(195," \u5206\u522B\u4E3A "),t(196,"code"),n(197,"large"),e(),n(198," \u548C "),t(199,"code"),n(200,"small"),e(),n(201," \u65F6\uFF0C\u8F93\u5165\u6846\u9AD8\u5EA6\u4E3A "),t(202,"code"),n(203,"40px"),e(),n(204," \u548C "),t(205,"code"),n(206,"24px"),e(),n(207," \uFF0C\u9ED8\u8BA4\u9AD8\u5EA6\u4E3A "),t(208,"code"),n(209,"32px"),e(),n(210,"\u3002"),e(),s(),e()(),t(211,"nz-code-box",59),o(212,"nz-demo-select-optgroup",42),t(213,"div",43),u(),t(214,"p"),n(215,"\u7528 "),t(216,"code"),n(217,"nz-option-group"),e(),n(218," \u8FDB\u884C\u9009\u9879\u5206\u7EC4\u3002"),e(),s(),e()(),t(219,"nz-code-box",60),o(220,"nz-demo-select-search-box",42),t(221,"div",43),u(),t(222,"p"),n(223,"\u641C\u7D22\u548C\u8FDC\u7A0B\u6570\u636E\u7ED3\u5408\u3002"),e(),s(),e()(),t(224,"nz-code-box",61),o(225,"nz-demo-select-automatic-tokenization",42),t(226,"div",43),u(),t(227,"p"),n(228,"\u8BD5\u4E0B\u590D\u5236 "),t(229,"code"),n(230,"\u9732\u897F,\u6770\u514B"),e(),n(231," \u5230\u8F93\u5165\u6846\u91CC\u3002\u53EA\u5728 tags \u548C multiple \u6A21\u5F0F\u4E0B\u53EF\u7528\u3002"),e(),s(),e()(),t(232,"nz-code-box",62),o(233,"nz-demo-select-custom-dropdown-menu",42),t(234,"div",43),u(),t(235,"p"),n(236,"\u4F7F\u7528 "),t(237,"code"),n(238,"nzDropdownRender"),e(),n(239," \u5BF9\u4E0B\u62C9\u83DC\u5355\u8FDB\u884C\u81EA\u7531\u6269\u5C55\u3002"),e(),s(),e()(),t(240,"nz-code-box",63),o(241,"nz-demo-select-custom-content",42),t(242,"div",43),u(),t(243,"p"),n(244,"\u901A\u8FC7 "),t(245,"code"),n(246,"nzCustomContent"),e(),n(247," \u81EA\u5B9A\u4E49\u4E0B\u62C9\u83DC\u5355\u9009\u9879\u663E\u793A\u7684\u5185\u5BB9\u3002"),e(),s(),e()(),t(248,"nz-code-box",64),o(249,"nz-demo-select-default-value",42),t(250,"div",43),u(),t(251,"p"),n(252,"\u5F53\u9700\u8981\u663E\u793A\u9ED8\u8BA4\u503C\uFF0C\u540C\u65F6\u9ED8\u8BA4\u503C\u53C8\u4E0D\u5728\u9009\u9879\u5217\u8868\u4E2D\u65F6\uFF0C\u53EF\u4EE5\u4F7F\u7528 "),t(253,"code"),n(254,"nzHide"),e(),n(255," \u5728 "),t(256,"code"),n(257,"nz-option"),e(),n(258," \u4E2D\u5C06\u9ED8\u8BA4\u9009\u9879\u9690\u85CF"),e(),s(),e()(),t(259,"nz-code-box",65),o(260,"nz-demo-select-border-less",42),t(261,"div",43),u(),t(262,"p"),n(263,"\u65E0\u8FB9\u6846\u6837\u5F0F\u3002"),e(),s(),e()(),t(264,"nz-code-box",66),o(265,"nz-demo-select-options",42),t(266,"div",43),u(),t(267,"p"),n(268,"\u901A\u8FC7 "),t(269,"code"),n(270,"nzOptions"),e(),n(271," \u76F4\u63A5\u4F20\u5165\u9009\u9879\u5185\u5BB9"),e(),s(),e()(),t(272,"nz-code-box",67),o(273,"nz-demo-select-placement",42),t(274,"div",43),u(),t(275,"p"),n(276,"\u53EF\u4EE5\u901A\u8FC7 "),t(277,"code"),n(278,"placement"),e(),n(279," \u624B\u52A8\u6307\u5B9A\u5F39\u51FA\u7684\u4F4D\u7F6E\u3002"),e(),s(),e()()()(),t(280,"section",68),u(),t(281,"h2",69)(282,"span"),n(283,"API"),e(),t(284,"a",70),n(285,"#"),e()(),t(286,"pre")(287,"code",71)(288,"span",72)(289,"span",72)(290,"span",36),n(291,"<"),e(),n(292,"nz-select"),e(),t(293,"span",36),n(294,">"),e()(),n(295,`
`),t(296,"span",72)(297,"span",72)(298,"span",36),n(299,"<"),e(),n(300,"nz-option"),e(),n(301," "),t(302,"span",73),n(303,"nzValue"),e(),t(304,"span",74)(305,"span",75),n(306,"="),e(),t(307,"span",36),n(308,'"'),e(),n(309,"lucy"),t(310,"span",36),n(311,'"'),e()(),n(312," "),t(313,"span",73),n(314,"nzLabel"),e(),t(315,"span",74)(316,"span",75),n(317,"="),e(),t(318,"span",36),n(319,'"'),e(),n(320,"Lucy"),t(321,"span",36),n(322,'"'),e()(),t(323,"span",36),n(324,">"),e()(),t(325,"span",72)(326,"span",72)(327,"span",36),n(328,"</"),e(),n(329,"nz-option"),e(),t(330,"span",36),n(331,">"),e()(),n(332,`
`),t(333,"span",72)(334,"span",72)(335,"span",36),n(336,"</"),e(),n(337,"nz-select"),e(),t(338,"span",36),n(339,">"),e()(),n(340,`
`),e()(),t(341,"h3",76)(342,"span"),n(343,"nz-select"),e(),t(344,"label",77),n(345,"component"),e(),t(346,"a",78),n(347,"#"),e()(),t(348,"table")(349,"thead")(350,"tr")(351,"th"),n(352,"\u53C2\u6570"),e(),t(353,"th"),n(354,"\u8BF4\u660E"),e(),t(355,"th"),n(356,"\u7C7B\u578B"),e(),t(357,"th"),n(358,"\u9ED8\u8BA4\u503C"),e(),t(359,"th"),n(360,"\u5168\u5C40\u914D\u7F6E"),e()()(),t(361,"tbody")(362,"tr")(363,"td")(364,"code"),n(365,"[nzId]"),e()(),t(366,"td"),n(367,"\u7EC4\u4EF6\u5185\u90E8 input \u7684 id \u503C"),e(),t(368,"td")(369,"code"),n(370,"string"),e()(),t(371,"td"),n(372,"-"),e(),o(373,"td"),e(),t(374,"tr")(375,"td")(376,"code"),n(377,"[ngModel]"),e()(),t(378,"td"),n(379,"\u5F53\u524D\u9009\u4E2D\u7684 nz-option \u7684 nzValue \u503C\uFF0C\u53EF\u53CC\u5411\u7ED1\u5B9A\uFF0C\u5F53 "),t(380,"code"),n(381,"nzMode"),e(),n(382," \u4E3A "),t(383,"code"),n(384,"multiple"),e(),n(385," \u6216 "),t(386,"code"),n(387,"tags"),e(),n(388," \u65F6\uFF0CngModel \u4E3A\u6570\u7EC4"),e(),t(389,"td")(390,"code"),n(391,"any | any[]"),e()(),t(392,"td"),n(393,"-"),e(),o(394,"td"),e(),t(395,"tr")(396,"td")(397,"code"),n(398,"[compareWith]"),e()(),t(399,"td"),n(400,"\u4E0E "),t(401,"a",49),n(402,"SelectControlValueAccessor"),e(),n(403," \u76F8\u540C"),e(),t(404,"td")(405,"code"),n(406,"(o1: any, o2: any) => boolean"),e()(),t(407,"td")(408,"code"),n(409,"(o1: any, o2: any) => o1===o2"),e()(),o(410,"td"),e(),t(411,"tr")(412,"td")(413,"code"),n(414,"[nzAutoClearSearchValue]"),e()(),t(415,"td"),n(416,"\u662F\u5426\u5728\u9009\u4E2D\u9879\u540E\u6E05\u7A7A\u641C\u7D22\u6846\uFF0C\u53EA\u5728 "),t(417,"code"),n(418,"mode"),e(),n(419," \u4E3A "),t(420,"code"),n(421,"multiple"),e(),n(422," \u6216 "),t(423,"code"),n(424,"tags"),e(),n(425," \u65F6\u6709\u6548\u3002"),e(),t(426,"td")(427,"code"),n(428,"boolean"),e()(),t(429,"td")(430,"code"),n(431,"true"),e()(),o(432,"td"),e(),t(433,"tr")(434,"td")(435,"code"),n(436,"[nzAllowClear]"),e()(),t(437,"td"),n(438,"\u652F\u6301\u6E05\u9664"),e(),t(439,"td")(440,"code"),n(441,"boolean"),e()(),t(442,"td")(443,"code"),n(444,"false"),e()(),o(445,"td"),e(),t(446,"tr")(447,"td")(448,"code"),n(449,"[nzBackdrop]"),e()(),t(450,"td"),n(451,"\u6D6E\u5C42\u662F\u5426\u5E94\u5E26\u6709\u80CC\u666F\u677F"),e(),t(452,"td")(453,"code"),n(454,"boolean"),e()(),t(455,"td")(456,"code"),n(457,"false"),e()(),o(458,"td"),e(),t(459,"tr")(460,"td")(461,"code"),n(462,"[nzBorderless]"),e()(),t(463,"td"),n(464,"\u662F\u5426\u65E0\u8FB9\u6846"),e(),t(465,"td")(466,"code"),n(467,"boolean"),e()(),t(468,"td")(469,"code"),n(470,"false"),e()(),t(471,"td"),n(472,"\u2705"),e()(),t(473,"tr")(474,"td")(475,"code"),n(476,"[nzOpen]"),e()(),t(477,"td"),n(478,"\u4E0B\u62C9\u83DC\u5355\u662F\u5426\u6253\u5F00\uFF0C\u53EF\u53CC\u5411\u7ED1\u5B9A"),e(),t(479,"td")(480,"code"),n(481,"boolean"),e()(),t(482,"td")(483,"code"),n(484,"false"),e()(),o(485,"td"),e(),t(486,"tr")(487,"td")(488,"code"),n(489,"[nzAutoFocus]"),e()(),t(490,"td"),n(491,"\u9ED8\u8BA4\u83B7\u53D6\u7126\u70B9"),e(),t(492,"td")(493,"code"),n(494,"boolean"),e()(),t(495,"td")(496,"code"),n(497,"false"),e()(),o(498,"td"),e(),t(499,"tr")(500,"td")(501,"code"),n(502,"[nzDisabled]"),e()(),t(503,"td"),n(504,"\u662F\u5426\u7981\u7528"),e(),t(505,"td")(506,"code"),n(507,"boolean"),e()(),t(508,"td")(509,"code"),n(510,"false"),e()(),o(511,"td"),e(),t(512,"tr")(513,"td")(514,"code"),n(515,"[nzDropdownClassName]"),e()(),t(516,"td"),n(517,"\u4E0B\u62C9\u83DC\u5355\u7684 className \u5C5E\u6027"),e(),t(518,"td")(519,"code"),n(520,"string | string[]"),e()(),t(521,"td"),n(522,"-"),e(),o(523,"td"),e(),t(524,"tr")(525,"td")(526,"code"),n(527,"[nzDropdownMatchSelectWidth]"),e()(),t(528,"td"),n(529,"\u4E0B\u62C9\u83DC\u5355\u548C\u9009\u62E9\u5668\u540C\u5BBD"),e(),t(530,"td")(531,"code"),n(532,"boolean"),e()(),t(533,"td")(534,"code"),n(535,"true"),e()(),o(536,"td"),e(),t(537,"tr")(538,"td")(539,"code"),n(540,"[nzDropdownStyle]"),e()(),t(541,"td"),n(542,"\u4E0B\u62C9\u83DC\u5355\u7684 style \u5C5E\u6027"),e(),t(543,"td")(544,"code"),n(545,"object"),e()(),t(546,"td"),n(547,"-"),e(),o(548,"td"),e(),t(549,"tr")(550,"td")(551,"code"),n(552,"[nzCustomTemplate]"),e()(),t(553,"td"),n(554,"\u81EA\u5B9A\u4E49\u9009\u62E9\u6846\u7684 Template \u5185\u5BB9"),e(),t(555,"td")(556,"code"),n(557,"TemplateRef<{ $implicit: NzOptionComponent }>"),e()(),t(558,"td"),n(559,"-"),e(),o(560,"td"),e(),t(561,"tr")(562,"td")(563,"code"),n(564,"[nzServerSearch]"),e()(),t(565,"td"),n(566,"\u662F\u5426\u4F7F\u7528\u670D\u52A1\u7AEF\u641C\u7D22\uFF0C\u5F53\u4E3A true \u65F6\uFF0C\u5C06\u4E0D\u518D\u5728\u524D\u7AEF\u5BF9 nz-option \u8FDB\u884C\u8FC7\u6EE4"),e(),t(567,"td")(568,"code"),n(569,"boolean"),e()(),t(570,"td")(571,"code"),n(572,"false"),e()(),o(573,"td"),e(),t(574,"tr")(575,"td")(576,"code"),n(577,"[nzFilterOption]"),e()(),t(578,"td"),n(579,"\u662F\u5426\u6839\u636E\u8F93\u5165\u9879\u8FDB\u884C\u7B5B\u9009\u3002\u5F53\u5176\u4E3A\u4E00\u4E2A\u51FD\u6570\u65F6\uFF0C\u4F1A\u63A5\u6536 "),t(580,"code"),n(581,"inputValue"),e(),t(582,"code"),n(583,"option"),e(),n(584," \u4E24\u4E2A\u53C2\u6570\uFF0C\u5F53 "),t(585,"code"),n(586,"option"),e(),n(587," \u7B26\u5408\u7B5B\u9009\u6761\u4EF6\u65F6\uFF0C\u5E94\u8FD4\u56DE "),t(588,"code"),n(589,"true"),e(),n(590,"\uFF0C\u53CD\u4E4B\u5219\u8FD4\u56DE "),t(591,"code"),n(592,"false"),e(),n(593,"\u3002"),e(),t(594,"td")(595,"code"),n(596,"(input?: string, option?: NzOptionComponent) => boolean;"),e()(),t(597,"td"),n(598,"-"),e(),o(599,"td"),e(),t(600,"tr")(601,"td")(602,"code"),n(603,"[nzMaxMultipleCount]"),e()(),t(604,"td"),n(605,"\u6700\u591A\u9009\u4E2D\u591A\u5C11\u4E2A\u6807\u7B7E"),e(),t(606,"td")(607,"code"),n(608,"number"),e()(),t(609,"td")(610,"code"),n(611,"Infinity"),e()(),o(612,"td"),e(),t(613,"tr")(614,"td")(615,"code"),n(616,"[nzMode]"),e()(),t(617,"td"),n(618,"\u8BBE\u7F6E nz-select \u7684\u6A21\u5F0F"),e(),t(619,"td")(620,"code"),n(621,"'multiple' | 'tags' | 'default'"),e()(),t(622,"td")(623,"code"),n(624,"'default'"),e()(),o(625,"td"),e(),t(626,"tr")(627,"td")(628,"code"),n(629,"[nzNotFoundContent]"),e()(),t(630,"td"),n(631,"\u5F53\u4E0B\u62C9\u5217\u8868\u4E3A\u7A7A\u65F6\u663E\u793A\u7684\u5185\u5BB9"),e(),t(632,"td")(633,"code"),n(634,"string | TemplateRef<void>"),e()(),t(635,"td"),n(636,"-"),e(),o(637,"td"),e(),t(638,"tr")(639,"td")(640,"code"),n(641,"[nzPlaceHolder]"),e()(),t(642,"td"),n(643,"\u9009\u62E9\u6846\u9ED8\u8BA4\u6587\u5B57"),e(),t(644,"td")(645,"code"),n(646,"string"),e()(),t(647,"td"),n(648,"-"),e(),o(649,"td"),e(),t(650,"tr")(651,"td")(652,"code"),n(653,"[nzShowArrow]"),e()(),t(654,"td"),n(655,"\u662F\u5426\u663E\u793A\u4E0B\u62C9\u5C0F\u7BAD\u5934"),e(),t(656,"td")(657,"code"),n(658,"boolean"),e()(),t(659,"td"),n(660,"\u5355\u9009\u4E3A "),t(661,"code"),n(662,"true"),e(),n(663,"\uFF0C\u591A\u9009\u4E3A "),t(664,"code"),n(665,"false"),e()(),o(666,"td"),e(),t(667,"tr")(668,"td")(669,"code"),n(670,"[nzShowSearch]"),e()(),t(671,"td"),n(672,"\u4F7F\u5355\u9009\u6A21\u5F0F\u53EF\u641C\u7D22"),e(),t(673,"td")(674,"code"),n(675,"boolean"),e()(),t(676,"td")(677,"code"),n(678,"false"),e()(),o(679,"td"),e(),t(680,"tr")(681,"td")(682,"code"),n(683,"[nzSize]"),e()(),t(684,"td"),n(685,"\u9009\u62E9\u6846\u5927\u5C0F"),e(),t(686,"td")(687,"code"),n(688,"'large' | 'small' | 'default'"),e()(),t(689,"td")(690,"code"),n(691,"'default'"),e()(),o(692,"td"),e(),t(693,"tr")(694,"td")(695,"code"),n(696,"[nzStatus]"),e()(),t(697,"td"),n(698,"\u8BBE\u7F6E\u6821\u9A8C\u72B6\u6001"),e(),t(699,"td")(700,"code"),n(701,"'error' | 'warning'"),e()(),t(702,"td"),n(703,"-"),e(),o(704,"td"),e(),t(705,"tr")(706,"td")(707,"code"),n(708,"[nzSuffixIcon]"),e()(),t(709,"td"),n(710,"\u81EA\u5B9A\u4E49\u7684\u9009\u62E9\u6846\u540E\u7F00\u56FE\u6807"),e(),t(711,"td")(712,"code"),n(713,"TemplateRef<any> | string"),e()(),t(714,"td"),n(715,"-"),e(),t(716,"td"),n(717,"\u2705"),e()(),t(718,"tr")(719,"td")(720,"code"),n(721,"[nzRemoveIcon]"),e()(),t(722,"td"),n(723,"\u81EA\u5B9A\u4E49\u7684\u591A\u9009\u6846\u6E05\u9664\u56FE\u6807"),e(),t(724,"td")(725,"code"),n(726,"TemplateRef<any>"),e()(),t(727,"td"),n(728,"-"),e(),o(729,"td"),e(),t(730,"tr")(731,"td")(732,"code"),n(733,"[nzClearIcon]"),e()(),t(734,"td"),n(735,"\u81EA\u5B9A\u4E49\u7684\u591A\u9009\u6846\u6E05\u7A7A\u56FE\u6807"),e(),t(736,"td")(737,"code"),n(738,"TemplateRef<any>"),e()(),t(739,"td"),n(740,"-"),e(),o(741,"td"),e(),t(742,"tr")(743,"td")(744,"code"),n(745,"[nzMenuItemSelectedIcon]"),e()(),t(746,"td"),n(747,"\u81EA\u5B9A\u4E49\u5F53\u524D\u9009\u4E2D\u7684\u6761\u76EE\u56FE\u6807"),e(),t(748,"td")(749,"code"),n(750,"TemplateRef<any>"),e()(),t(751,"td"),n(752,"-"),e(),o(753,"td"),e(),t(754,"tr")(755,"td")(756,"code"),n(757,"[nzTokenSeparators]"),e()(),t(758,"td"),n(759,"\u5728 tags \u548C multiple \u6A21\u5F0F\u4E0B\u81EA\u52A8\u5206\u8BCD\u7684\u5206\u9694\u7B26"),e(),t(760,"td")(761,"code"),n(762,"string[]"),e()(),t(763,"td")(764,"code"),n(765,"[]"),e()(),o(766,"td"),e(),t(767,"tr")(768,"td")(769,"code"),n(770,"[nzLoading]"),e()(),t(771,"td"),n(772,"\u52A0\u8F7D\u4E2D\u72B6\u6001"),e(),t(773,"td")(774,"code"),n(775,"boolean"),e()(),t(776,"td")(777,"code"),n(778,"false"),e()(),o(779,"td"),e(),t(780,"tr")(781,"td")(782,"code"),n(783,"[nzMaxTagCount]"),e()(),t(784,"td"),n(785,"\u6700\u591A\u663E\u793A\u591A\u5C11\u4E2A tag"),e(),t(786,"td")(787,"code"),n(788,"number"),e()(),t(789,"td"),n(790,"-"),e(),o(791,"td"),e(),t(792,"tr")(793,"td")(794,"code"),n(795,"[nzMaxTagPlaceholder]"),e()(),t(796,"td"),n(797,"\u9690\u85CF tag \u65F6\u663E\u793A\u7684\u5185\u5BB9"),e(),t(798,"td")(799,"code"),n(800,"TemplateRef<{ $implicit: any[] }>"),e()(),t(801,"td"),n(802,"-"),e(),o(803,"td"),e(),t(804,"tr")(805,"td")(806,"code"),n(807,"[nzOptions]"),e()(),t(808,"td"),n(809,"option \u5217\u8868\uFF0C\u53EF\u4EE5\u53D6\u4EE3 nz-option\uFF0C\u7528\u6CD5\u53C2\u89C1\u4F8B\u5B50"),e(),t(810,"td")(811,"code"),n(812,"Array<{ label: string | number | TemplateRef<any>; value: any; key?: string | number; disabled?: boolean; hide?: boolean; groupLabel?: string | TemplateRef<any>;}>"),e()(),t(813,"td"),n(814,"-"),e(),o(815,"td"),e(),t(816,"tr")(817,"td")(818,"code"),n(819,"[nzOptionHeightPx]"),e()(),t(820,"td"),n(821,"\u4E0B\u62C9\u83DC\u5355\u4E2D\u6BCF\u4E2A Option \u7684\u9AD8\u5EA6"),e(),t(822,"td")(823,"code"),n(824,"number"),e()(),t(825,"td")(826,"code"),n(827,"32"),e()(),t(828,"td"),n(829,"\u2705"),e()(),t(830,"tr")(831,"td")(832,"code"),n(833,"[nzOptionOverflowSize]"),e()(),t(834,"td"),n(835,"\u4E0B\u62C9\u83DC\u5355\u4E2D\u6700\u591A\u5C55\u793A\u7684 Option \u4E2A\u6570\uFF0C\u8D85\u51FA\u90E8\u5206\u6EDA\u52A8"),e(),t(836,"td")(837,"code"),n(838,"number"),e()(),t(839,"td")(840,"code"),n(841,"8"),e()(),o(842,"td"),e(),t(843,"tr")(844,"td")(845,"code"),n(846,"[nzSelectOnTab]"),e()(),t(847,"td"),n(848,"\u5141\u8BB8\u4F7F\u7528 TAB \u952E\u9009\u62E9\u9879\u76EE"),e(),t(849,"td")(850,"code"),n(851,"boolean"),e()(),t(852,"td")(853,"code"),n(854,"false"),e()(),o(855,"td"),e(),t(856,"tr")(857,"td")(858,"code"),n(859,"(ngModelChange)"),e()(),t(860,"td"),n(861,"\u9009\u4E2D\u7684 nz-option \u53D1\u751F\u53D8\u5316\u65F6\uFF0C\u8C03\u7528\u6B64\u51FD\u6570"),e(),t(862,"td")(863,"code"),n(864,"EventEmitter<any[]>"),e()(),t(865,"td"),n(866,"-"),e(),o(867,"td"),e(),t(868,"tr")(869,"td")(870,"code"),n(871,"(nzOpenChange)"),e()(),t(872,"td"),n(873,"\u4E0B\u62C9\u83DC\u5355\u6253\u5F00\u72B6\u6001\u53D8\u5316\u56DE\u8C03"),e(),t(874,"td")(875,"code"),n(876,"EventEmitter<boolean>"),e()(),t(877,"td"),n(878,"-"),e(),o(879,"td"),e(),t(880,"tr")(881,"td")(882,"code"),n(883,"(nzScrollToBottom)"),e()(),t(884,"td"),n(885,"\u4E0B\u62C9\u5217\u8868\u6EDA\u52A8\u5230\u5E95\u90E8\u7684\u56DE\u8C03"),e(),t(886,"td")(887,"code"),n(888,"EventEmitter<any>"),e()(),t(889,"td"),n(890,"-"),e(),o(891,"td"),e(),t(892,"tr")(893,"td")(894,"code"),n(895,"(nzOnSearch)"),e()(),t(896,"td"),n(897,"\u6587\u672C\u6846\u503C\u53D8\u5316\u65F6\u56DE\u8C03"),e(),t(898,"td")(899,"code"),n(900,"EventEmitter<string>"),e()(),t(901,"td"),n(902,"-"),e(),o(903,"td"),e(),t(904,"tr")(905,"td")(906,"code"),n(907,"(nzFocus)"),e()(),t(908,"td"),n(909,"focus \u65F6\u56DE\u8C03"),e(),t(910,"td")(911,"code"),n(912,"EventEmitter<any>"),e()(),t(913,"td"),n(914,"-"),e(),o(915,"td"),e(),t(916,"tr")(917,"td")(918,"code"),n(919,"(nzBlur)"),e()(),t(920,"td"),n(921,"blur \u65F6\u56DE\u8C03"),e(),t(922,"td")(923,"code"),n(924,"EventEmitter<any>"),e()(),t(925,"td"),n(926,"-"),e(),o(927,"td"),e()()(),t(928,"h3",79)(929,"span"),n(930,"nz-option"),e(),t(931,"label",77),n(932,"component"),e(),t(933,"a",80),n(934,"#"),e()(),t(935,"table")(936,"thead")(937,"tr")(938,"th"),n(939,"\u53C2\u6570"),e(),t(940,"th"),n(941,"\u8BF4\u660E"),e(),t(942,"th"),n(943,"\u7C7B\u578B"),e(),t(944,"th"),n(945,"\u9ED8\u8BA4\u503C"),e()()(),t(946,"tbody")(947,"tr")(948,"td")(949,"code"),n(950,"[nzDisabled]"),e()(),t(951,"td"),n(952,"\u662F\u5426\u7981\u7528"),e(),t(953,"td")(954,"code"),n(955,"boolean"),e()(),t(956,"td")(957,"code"),n(958,"false"),e()()(),t(959,"tr")(960,"td")(961,"code"),n(962,"[nzTitle]"),e()(),t(963,"td"),n(964,"\u9009\u9879\u4E0A\u7684\u539F\u751F title \u63D0\u793A"),e(),t(965,"td")(966,"code"),n(967,"string | number"),e()(),t(968,"td"),n(969,"-"),e()(),t(970,"tr")(971,"td")(972,"code"),n(973,"[nzLabel]"),e()(),t(974,"td"),n(975,"\u9009\u4E2D\u8BE5 nz-option \u540E\uFF0Cnz-select \u4E2D\u663E\u793A\u7684\u6587\u5B57"),e(),t(976,"td")(977,"code"),n(978,"string | number"),e()(),t(979,"td"),n(980,"-"),e()(),t(981,"tr")(982,"td")(983,"code"),n(984,"[nzValue]"),e()(),t(985,"td"),n(986,"nz-select \u4E2D ngModel \u7684\u503C"),e(),t(987,"td")(988,"code"),n(989,"any"),e()(),t(990,"td"),n(991,"-"),e()(),t(992,"tr")(993,"td")(994,"code"),n(995,"[nzKey]"),e()(),t(996,"td"),n(997,"nz-select \u4E2D ngModel \u7684\u503C"),e(),t(998,"td")(999,"code"),n(1e3,"string | number"),e()(),t(1001,"td"),n(1002,"-"),e()(),t(1003,"tr")(1004,"td")(1005,"code"),n(1006,"[nzHide]"),e()(),t(1007,"td"),n(1008,"\u662F\u5426\u5728\u9009\u9879\u5217\u8868\u4E2D\u9690\u85CF\u8BE5\u9009\u9879"),e(),t(1009,"td")(1010,"code"),n(1011,"boolean"),e()(),t(1012,"td")(1013,"code"),n(1014,"false"),e()()(),t(1015,"tr")(1016,"td")(1017,"code"),n(1018,"[nzCustomContent]"),e()(),t(1019,"td"),n(1020,"\u662F\u5426\u81EA\u5B9A\u4E49\u5728\u4E0B\u62C9\u83DC\u5355\u4E2D\u7684 Template \u5185\u5BB9\uFF0C\u5F53\u4E3A true \u65F6\uFF0Cnz-option \u5305\u88F9\u7684\u5185\u5BB9\u5C06\u76F4\u63A5\u6E32\u67D3\u5728\u4E0B\u62C9\u83DC\u5355\u4E2D"),e(),t(1021,"td")(1022,"code"),n(1023,"boolean"),e()(),t(1024,"td")(1025,"code"),n(1026,"false"),e()()()()(),t(1027,"h3",81)(1028,"span"),n(1029,"nz-option-group"),e(),t(1030,"label",77),n(1031,"component"),e(),t(1032,"a",82),n(1033,"#"),e()(),t(1034,"table")(1035,"thead")(1036,"tr")(1037,"th"),n(1038,"\u53C2\u6570"),e(),t(1039,"th"),n(1040,"\u8BF4\u660E"),e(),t(1041,"th"),n(1042,"\u7C7B\u578B"),e(),t(1043,"th"),n(1044,"\u9ED8\u8BA4\u503C"),e()()(),t(1045,"tbody")(1046,"tr")(1047,"td")(1048,"code"),n(1049,"[nzLabel]"),e()(),t(1050,"td"),n(1051,"\u7EC4\u540D"),e(),t(1052,"td")(1053,"code"),n(1054,"string | number | TemplateRef<void>"),e()(),t(1055,"td"),n(1056,"-"),e()()()(),t(1057,"h2",83)(1058,"span"),n(1059,"\u65B9\u6CD5"),e(),t(1060,"a",84),n(1061,"#"),e()(),t(1062,"h3",76)(1063,"span"),n(1064,"nz-select"),e(),t(1065,"label",77),n(1066,"component"),e(),t(1067,"a",78),n(1068,"#"),e()(),t(1069,"table")(1070,"thead")(1071,"tr")(1072,"th"),n(1073,"\u540D\u79F0"),e(),t(1074,"th"),n(1075,"\u8BF4\u660E"),e()()(),t(1076,"tbody")(1077,"tr")(1078,"td"),n(1079,"blur()"),e(),t(1080,"td"),n(1081,"\u53D6\u6D88\u7126\u70B9"),e()(),t(1082,"tr")(1083,"td"),n(1084,"focus()"),e(),t(1085,"td"),n(1086,"\u83B7\u53D6\u7126\u70B9"),e()()()(),s(),e()()),i&2&&(c(),r("nzOffsetTop",16),c(),r("nzAffix",!1),c(72),r("nzGutter",16),c(),r("nzXl",12)("nzSpan",24),c(),r("nzId","components-select-demo-basic")("nzLink","components-select-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/basic.md"),c(5),r("nzId","components-select-demo-multiple")("nzLink","components-select-demo-multiple")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/multiple.md"),c(8),r("nzId","components-select-demo-tags")("nzLink","components-select-demo-tags")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/tags.md"),c(5),r("nzId","components-select-demo-coordinate")("nzLink","components-select-demo-coordinate")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/coordinate.md"),c(10),r("nzId","components-select-demo-label-in-value")("nzLink","components-select-demo-label-in-value")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/label-in-value.md"),c(25),r("nzId","components-select-demo-select-users")("nzLink","components-select-demo-select-users")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/select-users.md"),c(5),r("nzId","components-select-demo-hide-selected")("nzLink","components-select-demo-hide-selected")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/hide-selected.md"),c(8),r("nzId","components-select-demo-scroll-load")("nzLink","components-select-demo-scroll-load")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/scroll-load.md"),c(5),r("nzId","components-select-demo-big-data")("nzLink","components-select-demo-big-data")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/big-data.md"),c(5),r("nzId","components-select-demo-custom-template")("nzLink","components-select-demo-custom-template")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/custom-template.md"),c(8),r("nzId","components-select-demo-status")("nzLink","components-select-demo-status")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/status.md"),c(14),r("nzId","components-select-demo-max-count")("nzLink","components-select-demo-max-count")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/max-count.md"),c(8),r("nzXl",12)("nzSpan",24),c(),r("nzId","components-select-demo-search")("nzLink","components-select-demo-search")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/search.md"),c(5),r("nzId","components-select-demo-size")("nzLink","components-select-demo-size")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/size.md"),c(23),r("nzId","components-select-demo-optgroup")("nzLink","components-select-demo-optgroup")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/optgroup.md"),c(8),r("nzId","components-select-demo-search-box")("nzLink","components-select-demo-search-box")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/search-box.md"),c(5),r("nzId","components-select-demo-automatic-tokenization")("nzLink","components-select-demo-automatic-tokenization")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/automatic-tokenization.md"),c(8),r("nzId","components-select-demo-custom-dropdown-menu")("nzLink","components-select-demo-custom-dropdown-menu")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/custom-dropdown-menu.md"),c(8),r("nzId","components-select-demo-custom-content")("nzLink","components-select-demo-custom-content")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/custom-content.md"),c(8),r("nzId","components-select-demo-default-value")("nzLink","components-select-demo-default-value")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/default-value.md"),c(11),r("nzId","components-select-demo-border-less")("nzLink","components-select-demo-border-less")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/border-less.md"),c(5),r("nzId","components-select-demo-options")("nzLink","components-select-demo-options")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/options.md"),c(8),r("nzId","components-select-demo-placement")("nzLink","components-select-demo-placement")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/placement.md"))},dependencies:[Be,A,Fe,Me,Ie,ye,Ne,De,O,Q,J,X,q,K,Y,$,ee,te,ne,ie,oe,le,me,ae,re,de,ce,se,ue,pe,ze,Se],encapsulation:2})};var ve=class m{expanded=!1;codeBoxes;goLink(l){window&&(window.location.hash=l)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(l=>l.expandCode(this.expanded))}static \u0275fac=function(i){return new(i||m)};static \u0275cmp=z({type:m,selectors:[["nz-demo-select"]],viewQuery:function(i,a){if(i&1&&xe(A,5),i&2){let p;he(p=be())&&(a.codeBoxes=p)}},decls:1065,vars:122,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-select-demo-basic","nzTitle","Basic Usage"],["nzHref","#components-select-demo-search","nzTitle","Select with search field"],["nzHref","#components-select-demo-multiple","nzTitle","multiple selection"],["nzHref","#components-select-demo-size","nzTitle","Sizes"],["nzHref","#components-select-demo-tags","nzTitle","Tags"],["nzHref","#components-select-demo-optgroup","nzTitle","Option Group"],["nzHref","#components-select-demo-coordinate","nzTitle","coordinate"],["nzHref","#components-select-demo-search-box","nzTitle","Search Box"],["nzHref","#components-select-demo-label-in-value","nzTitle","Get option object of selected item"],["nzHref","#components-select-demo-automatic-tokenization","nzTitle","Automatic tokenization"],["nzHref","#components-select-demo-select-users","nzTitle","Search and Select Users"],["nzHref","#components-select-demo-custom-dropdown-menu","nzTitle","Custom dropdown"],["nzHref","#components-select-demo-hide-selected","nzTitle","Hide Already Selected"],["nzHref","#components-select-demo-custom-content","nzTitle","Custom Option Template"],["nzHref","#components-select-demo-scroll-load","nzTitle","Load Data on Scroll"],["nzHref","#components-select-demo-default-value","nzTitle","Default Value"],["nzHref","#components-select-demo-big-data","nzTitle","Large amounts of data"],["nzHref","#components-select-demo-border-less","nzTitle","Bordered-less"],["nzHref","#components-select-demo-custom-template","nzTitle","Custom Top Render"],["nzHref","#components-select-demo-options","nzTitle","Input Options"],["nzHref","#components-select-demo-status","nzTitle","Status"],["nzHref","#components-select-demo-placement","nzTitle","Placement"],["nzHref","#components-select-demo-max-count","nzTitle","Max Count"],["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/select/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"],["href","/components/radio/en"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["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-select-basic","nzGenerateCommand","ng g ng-zorro-antd:select-basic <name>","nzComponentName","NzDemoSelectBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","multiple selection","nzSelector","nz-demo-select-multiple","nzGenerateCommand","ng g ng-zorro-antd:select-multiple <name>","nzComponentName","NzDemoSelectMultipleComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Tags","nzSelector","nz-demo-select-tags","nzGenerateCommand","ng g ng-zorro-antd:select-tags <name>","nzComponentName","NzDemoSelectTagsComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","coordinate","nzSelector","nz-demo-select-coordinate","nzGenerateCommand","ng g ng-zorro-antd:select-coordinate <name>","nzComponentName","NzDemoSelectCoordinateComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["href","/components/cascader/en"],["nzTitle","Get option object of selected item","nzSelector","nz-demo-select-label-in-value","nzGenerateCommand","ng g ng-zorro-antd:select-label-in-value <name>","nzComponentName","NzDemoSelectLabelInValueComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["href","https://angular.dev/api/forms/SelectControlValueAccessor","target","_blank","rel","noopener"],["nzTitle","Search and Select Users","nzSelector","nz-demo-select-select-users","nzGenerateCommand","ng g ng-zorro-antd:select-select-users <name>","nzComponentName","NzDemoSelectSelectUsersComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Hide Already Selected","nzSelector","nz-demo-select-hide-selected","nzGenerateCommand","ng g ng-zorro-antd:select-hide-selected <name>","nzComponentName","NzDemoSelectHideSelectedComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Load Data on Scroll","nzSelector","nz-demo-select-scroll-load","nzGenerateCommand","ng g ng-zorro-antd:select-scroll-load <name>","nzComponentName","NzDemoSelectScrollLoadComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Large amounts of data","nzSelector","nz-demo-select-big-data","nzGenerateCommand","ng g ng-zorro-antd:select-big-data <name>","nzComponentName","NzDemoSelectBigDataComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Custom Top Render","nzSelector","nz-demo-select-custom-template","nzGenerateCommand","ng g ng-zorro-antd:select-custom-template <name>","nzComponentName","NzDemoSelectCustomTemplateComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Status","nzSelector","nz-demo-select-status","nzGenerateCommand","ng g ng-zorro-antd:select-status <name>","nzComponentName","NzDemoSelectStatusComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Max Count","nzSelector","nz-demo-select-max-count","nzGenerateCommand","ng g ng-zorro-antd:select-max-count <name>","nzComponentName","NzDemoSelectMaxCountComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Select with search field","nzSelector","nz-demo-select-search","nzGenerateCommand","ng g ng-zorro-antd:select-search <name>","nzComponentName","NzDemoSelectSearchComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Sizes","nzSelector","nz-demo-select-size","nzGenerateCommand","ng g ng-zorro-antd:select-size <name>","nzComponentName","NzDemoSelectSizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Option Group","nzSelector","nz-demo-select-optgroup","nzGenerateCommand","ng g ng-zorro-antd:select-optgroup <name>","nzComponentName","NzDemoSelectOptgroupComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Search Box","nzSelector","nz-demo-select-search-box","nzGenerateCommand","ng g ng-zorro-antd:select-search-box <name>","nzComponentName","NzDemoSelectSearchBoxComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Automatic tokenization","nzSelector","nz-demo-select-automatic-tokenization","nzGenerateCommand","ng g ng-zorro-antd:select-automatic-tokenization <name>","nzComponentName","NzDemoSelectAutomaticTokenizationComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Custom dropdown","nzSelector","nz-demo-select-custom-dropdown-menu","nzGenerateCommand","ng g ng-zorro-antd:select-custom-dropdown-menu <name>","nzComponentName","NzDemoSelectCustomDropdownMenuComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Custom Option Template","nzSelector","nz-demo-select-custom-content","nzGenerateCommand","ng g ng-zorro-antd:select-custom-content <name>","nzComponentName","NzDemoSelectCustomContentComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Default Value","nzSelector","nz-demo-select-default-value","nzGenerateCommand","ng g ng-zorro-antd:select-default-value <name>","nzComponentName","NzDemoSelectDefaultValueComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Bordered-less","nzSelector","nz-demo-select-border-less","nzGenerateCommand","ng g ng-zorro-antd:select-border-less <name>","nzComponentName","NzDemoSelectBorderLessComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Input Options","nzSelector","nz-demo-select-options","nzGenerateCommand","ng g ng-zorro-antd:select-options <name>","nzComponentName","NzDemoSelectOptionsComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Placement","nzSelector","nz-demo-select-placement","nzGenerateCommand","ng g ng-zorro-antd:select-placement <name>","nzComponentName","NzDemoSelectPlacementComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],[1,"language-html"],[1,"token","tag"],[1,"token","attr-name"],[1,"token","attr-value"],[1,"token","punctuation","attr-equals"],["id","nz-select"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-select'",1,"anchor"],["id","nz-option"],["onclick","window.location.hash = 'nz-option'",1,"anchor"],["id","nz-option-group"],["onclick","window.location.hash = 'nz-option-group'",1,"anchor"],["id","methods"],["onclick","window.location.hash = 'methods'",1,"anchor"]],template:function(i,a){i&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),w("nzClick",function(d){return a.goLink(d)}),o(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)(12,"nz-link",11)(13,"nz-link",12)(14,"nz-link",13)(15,"nz-link",14)(16,"nz-link",15)(17,"nz-link",16)(18,"nz-link",17)(19,"nz-link",18)(20,"nz-link",19)(21,"nz-link",20)(22,"nz-link",21)(23,"nz-link",22)(24,"nz-link",23)(25,"nz-link",24)(26,"nz-link",25),e()(),t(27,"section",26)(28,"h1"),n(29,"Select"),o(30,"span",27)(31,"span",28),t(32,"a",29),o(33,"nz-icon",30),e()(),t(34,"section",26),u(),t(35,"p"),n(36,"Select component to select value from options."),e(),t(37,"h2",31)(38,"span"),n(39,"When To Use"),e(),t(40,"a",32),n(41,"#"),e()(),t(42,"ul")(43,"li"),n(44,"A dropdown menu for displaying choices - an elegant alternative to the native "),t(45,"code"),n(46,"<select>"),e(),n(47," element."),e(),t(48,"li"),n(49,"Utilizing "),t(50,"a",33),n(51,"Radio"),e(),n(52," is recommended when there are fewer total options (less than 5)."),e()(),t(53,"pre")(54,"code",34)(55,"span",35),n(56,"import"),e(),n(57," "),t(58,"span",36),n(59,"{"),e(),n(60," NzSelectModule "),t(61,"span",36),n(62,"}"),e(),n(63," "),t(64,"span",35),n(65,"from"),e(),n(66," "),t(67,"span",37),n(68,"'ng-zorro-antd/select'"),e(),t(69,"span",36),n(70,";"),e(),n(71,`
`),e()(),s(),e(),t(72,"h2")(73,"span"),n(74,"Examples"),e(),t(75,"nz-icon",38),w("click",function(){return a.expandAllCode()}),e()()(),t(76,"div",39)(77,"div",40)(78,"nz-code-box",41),o(79,"nz-demo-select-basic",42),t(80,"div",43),u(),t(81,"p"),n(82,"Basic Usage."),e(),s(),e()(),t(83,"nz-code-box",44),o(84,"nz-demo-select-multiple",42),t(85,"div",43),u(),t(86,"p"),n(87,"Multiple selection, selecting from existing items, max 3 option will display at the same time by "),t(88,"code"),n(89,"nzMaxTagCount"),e(),n(90,"."),e(),s(),e()(),t(91,"nz-code-box",45),o(92,"nz-demo-select-tags",42),t(93,"div",43),u(),t(94,"p"),n(95,"Select with tags, transform input to tag (scroll the menu)"),e(),s(),e()(),t(96,"nz-code-box",46),o(97,"nz-demo-select-coordinate",42),t(98,"div",43),u(),t(99,"p"),n(100,"Coordinating the selection of provinces and cities is a common use case and demonstrates how selection can be coordinated."),e(),t(101,"p"),n(102,"Using the "),t(103,"a",47),n(104,"Cascader"),e(),n(105," component is strongly recommended instead as it is more flexible and capable."),e(),s(),e()(),t(106,"nz-code-box",48),o(107,"nz-demo-select-label-in-value",42),t(108,"div",43),u(),t(109,"p"),n(110,"The value of "),t(111,"code"),n(112,"ngModel"),e(),n(113," comes from the "),t(114,"code"),n(115,"nzValue"),e(),n(116," of "),t(117,"code"),n(118,"nz-option"),e(),n(119,", when the "),t(120,"code"),n(121,"nzValue"),e(),n(122," of "),t(123,"code"),n(124,"nz-option"),e(),n(125," is an object, the "),t(126,"code"),n(127,"ngModel"),e(),n(128," will be an object too, the usage of "),t(129,"code"),n(130,"compareWith"),e(),n(131," is the same as "),t(132,"a",49),n(133,"SelectControlValueAccessor"),e(),n(134,"."),e(),s(),e()(),t(135,"nz-code-box",50),o(136,"nz-demo-select-select-users",42),t(137,"div",43),u(),t(138,"p"),n(139,"A complete multiple select sample with remote search, debounce fetch, ajax callback order flow, and loading state."),e(),s(),e()(),t(140,"nz-code-box",51),o(141,"nz-demo-select-hide-selected",42),t(142,"div",43),u(),t(143,"p"),n(144,"Hide already selected options in the dropdown via "),t(145,"code"),n(146,"nzHide"),e(),n(147,"."),e(),s(),e()(),t(148,"nz-code-box",52),o(149,"nz-demo-select-scroll-load",42),t(150,"div",43),u(),t(151,"p"),n(152,"Load data on scroll."),e(),s(),e()(),t(153,"nz-code-box",53),o(154,"nz-demo-select-big-data",42),t(155,"div",43),u(),t(156,"p"),n(157,"With the help of virtual scroll, select component can deal with Large amounts of data."),e(),s(),e()(),t(158,"nz-code-box",54),o(159,"nz-demo-select-custom-template",42),t(160,"div",43),u(),t(161,"p"),n(162,"Custom the content of nz-select via "),t(163,"code"),n(164,"nzCustomTemplate"),e(),n(165,"."),e(),s(),e()(),t(166,"nz-code-box",55),o(167,"nz-demo-select-status",42),t(168,"div",43),u(),t(169,"p"),n(170,"Add status to Select with "),t(171,"code"),n(172,"nzStatus"),e(),n(173,", which could be "),t(174,"code"),n(175,"error"),e(),n(176," or "),t(177,"code"),n(178,"warning"),e(),n(179,"."),e(),s(),e()(),t(180,"nz-code-box",56),o(181,"nz-demo-select-max-count",42),t(182,"div",43),u(),t(183,"p"),n(184,"You can set the "),t(185,"code"),n(186,"nzMaxMultipleCount"),e(),n(187," prop to control the max number of items can be selected. When the limit is exceeded, the options will become disabled."),e(),s(),e()()(),t(188,"div",40)(189,"nz-code-box",57),o(190,"nz-demo-select-search",42),t(191,"div",43),u(),t(192,"p"),n(193,"Search the options while expanded."),e(),s(),e()(),t(194,"nz-code-box",58),o(195,"nz-demo-select-size",42),t(196,"div",43),u(),t(197,"p"),n(198,"The height of the input field for the select defaults to 32px. If "),t(199,"code"),n(200,"nzSize"),e(),n(201," is set to large, the height will be 40px, and if set to small, 24px."),e(),s(),e()(),t(202,"nz-code-box",59),o(203,"nz-demo-select-optgroup",42),t(204,"div",43),u(),t(205,"p"),n(206,"Using "),t(207,"code"),n(208,"nz-option-group"),e(),n(209," to group the options."),e(),s(),e()(),t(210,"nz-code-box",60),o(211,"nz-demo-select-search-box",42),t(212,"div",43),u(),t(213,"p"),n(214,"Search with remote data."),e(),s(),e()(),t(215,"nz-code-box",61),o(216,"nz-demo-select-automatic-tokenization",42),t(217,"div",43),u(),t(218,"p"),n(219,"Try to copy "),t(220,"code"),n(221,"Lucy,Jack"),e(),n(222," to the input. Only available in tags and multiple mode."),e(),s(),e()(),t(223,"nz-code-box",62),o(224,"nz-demo-select-custom-dropdown-menu",42),t(225,"div",43),u(),t(226,"p"),n(227,"Customize the dropdown menu via "),t(228,"code"),n(229,"nzDropdownRender"),e(),n(230,"."),e(),s(),e()(),t(231,"nz-code-box",63),o(232,"nz-demo-select-custom-content",42),t(233,"div",43),u(),t(234,"p"),n(235,"Custom the content of nz-option via "),t(236,"code"),n(237,"nzCustomContent"),e(),n(238,"."),e(),s(),e()(),t(239,"nz-code-box",64),o(240,"nz-demo-select-default-value",42),t(241,"div",43),u(),t(242,"p"),n(243,"Display a default value that not in the option list with "),t(244,"code"),n(245,"nzHide"),e(),n(246," in "),t(247,"code"),n(248,"nz-option"),e()(),s(),e()(),t(249,"nz-code-box",65),o(250,"nz-demo-select-border-less",42),t(251,"div",43),u(),t(252,"p"),n(253,"Bordered-less style component."),e(),s(),e()(),t(254,"nz-code-box",66),o(255,"nz-demo-select-options",42),t(256,"div",43),u(),t(257,"p"),n(258,"Pass all options via "),t(259,"code"),n(260,"nzOptions"),e()(),s(),e()(),t(261,"nz-code-box",67),o(262,"nz-demo-select-placement",42),t(263,"div",43),u(),t(264,"p"),n(265,"You can manually specify the position of the popup via "),t(266,"code"),n(267,"placement"),e(),n(268,"."),e(),s(),e()()()(),t(269,"section",68),u(),t(270,"h2",69)(271,"span"),n(272,"API"),e(),t(273,"a",70),n(274,"#"),e()(),t(275,"pre")(276,"code",71)(277,"span",72)(278,"span",72)(279,"span",36),n(280,"<"),e(),n(281,"nz-select"),e(),t(282,"span",36),n(283,">"),e()(),n(284,`
`),t(285,"span",72)(286,"span",72)(287,"span",36),n(288,"<"),e(),n(289,"nz-option"),e(),n(290," "),t(291,"span",73),n(292,"nzValue"),e(),t(293,"span",74)(294,"span",75),n(295,"="),e(),t(296,"span",36),n(297,'"'),e(),n(298,"lucy"),t(299,"span",36),n(300,'"'),e()(),n(301," "),t(302,"span",73),n(303,"nzLabel"),e(),t(304,"span",74)(305,"span",75),n(306,"="),e(),t(307,"span",36),n(308,'"'),e(),n(309,"Lucy"),t(310,"span",36),n(311,'"'),e()(),t(312,"span",36),n(313,">"),e()(),t(314,"span",72)(315,"span",72)(316,"span",36),n(317,"</"),e(),n(318,"nz-option"),e(),t(319,"span",36),n(320,">"),e()(),n(321,`
`),t(322,"span",72)(323,"span",72)(324,"span",36),n(325,"</"),e(),n(326,"nz-select"),e(),t(327,"span",36),n(328,">"),e()(),n(329,`
`),e()(),t(330,"h3",76)(331,"span"),n(332,"nz-select"),e(),t(333,"label",77),n(334,"component"),e(),t(335,"a",78),n(336,"#"),e()(),t(337,"table")(338,"thead")(339,"tr")(340,"th"),n(341,"Property"),e(),t(342,"th"),n(343,"Description"),e(),t(344,"th"),n(345,"Type"),e(),t(346,"th"),n(347,"Default"),e(),t(348,"th"),n(349,"Global Config"),e()()(),t(350,"tbody")(351,"tr")(352,"td")(353,"code"),n(354,"[nzId]"),e()(),t(355,"td"),n(356,"input id attribute inside the component"),e(),t(357,"td")(358,"code"),n(359,"string"),e()(),t(360,"td"),n(361,"-"),e(),o(362,"td"),e(),t(363,"tr")(364,"td")(365,"code"),n(366,"[ngModel]"),e()(),t(367,"td"),n(368,"Current selected nz-option value, double binding."),e(),t(369,"td")(370,"code"),n(371,"any | any[]"),e()(),t(372,"td"),n(373,"-"),e(),o(374,"td"),e(),t(375,"tr")(376,"td")(377,"code"),n(378,"[compareWith]"),e()(),t(379,"td"),n(380,"Same as "),t(381,"a",49),n(382,"SelectControlValueAccessor"),e()(),t(383,"td")(384,"code"),n(385,"(o1: any, o2: any) => boolean"),e()(),t(386,"td")(387,"code"),n(388,"(o1: any, o2: any) => o1===o2"),e()(),o(389,"td"),e(),t(390,"tr")(391,"td")(392,"code"),n(393,"[nzAutoClearSearchValue]"),e()(),t(394,"td"),n(395,"Whether the current search will be cleared on selecting an item. Only applies when "),t(396,"code"),n(397,"mode"),e(),n(398," is set to "),t(399,"code"),n(400,"multiple"),e(),n(401," or "),t(402,"code"),n(403,"tags"),e(),n(404,"."),e(),t(405,"td")(406,"code"),n(407,"boolean"),e()(),t(408,"td")(409,"code"),n(410,"true"),e()(),o(411,"td"),e(),t(412,"tr")(413,"td")(414,"code"),n(415,"[nzAllowClear]"),e()(),t(416,"td"),n(417,"Show clear button."),e(),t(418,"td")(419,"code"),n(420,"boolean"),e()(),t(421,"td")(422,"code"),n(423,"false"),e()(),o(424,"td"),e(),t(425,"tr")(426,"td")(427,"code"),n(428,"[nzBackdrop]"),e()(),t(429,"td"),n(430,"whether or not the overlay should attach a backdrop"),e(),t(431,"td")(432,"code"),n(433,"boolean"),e()(),t(434,"td")(435,"code"),n(436,"false"),e()(),o(437,"td"),e(),t(438,"tr")(439,"td")(440,"code"),n(441,"[nzBorderless]"),e()(),t(442,"td"),n(443,"whether has borderless style"),e(),t(444,"td")(445,"code"),n(446,"boolean"),e()(),t(447,"td")(448,"code"),n(449,"false"),e()(),t(450,"td"),n(451,"\u2705"),e()(),t(452,"tr")(453,"td")(454,"code"),n(455,"[nzOpen]"),e()(),t(456,"td"),n(457,"dropdown expand state, double binding"),e(),t(458,"td")(459,"code"),n(460,"boolean"),e()(),t(461,"td")(462,"code"),n(463,"false"),e()(),o(464,"td"),e(),t(465,"tr")(466,"td")(467,"code"),n(468,"[nzAutoFocus]"),e()(),t(469,"td"),n(470,"Get focus by default"),e(),t(471,"td")(472,"code"),n(473,"boolean"),e()(),t(474,"td")(475,"code"),n(476,"false"),e()(),o(477,"td"),e(),t(478,"tr")(479,"td")(480,"code"),n(481,"[nzDisabled]"),e()(),t(482,"td"),n(483,"Whether disabled select"),e(),t(484,"td")(485,"code"),n(486,"boolean"),e()(),t(487,"td")(488,"code"),n(489,"false"),e()(),o(490,"td"),e(),t(491,"tr")(492,"td")(493,"code"),n(494,"[nzDropdownClassName]"),e()(),t(495,"td"),n(496,"className of dropdown menu"),e(),t(497,"td")(498,"code"),n(499,"string | string[]"),e()(),t(500,"td"),n(501,"-"),e(),o(502,"td"),e(),t(503,"tr")(504,"td")(505,"code"),n(506,"[nzDropdownMatchSelectWidth]"),e()(),t(507,"td"),n(508,"Whether dropdown's width is same width than select."),e(),t(509,"td")(510,"code"),n(511,"boolean"),e()(),t(512,"td")(513,"code"),n(514,"true"),e()(),o(515,"td"),e(),t(516,"tr")(517,"td")(518,"code"),n(519,"[nzDropdownStyle]"),e()(),t(520,"td"),n(521,"style of dropdown menu"),e(),t(522,"td")(523,"code"),n(524,"object"),e()(),t(525,"td"),n(526,"-"),e(),o(527,"td"),e(),t(528,"tr")(529,"td")(530,"code"),n(531,"[nzCustomTemplate]"),e()(),t(532,"td"),n(533,"The custom template of select"),e(),t(534,"td")(535,"code"),n(536,"TemplateRef<{ $implicit: NzOptionComponent }>"),e()(),t(537,"td"),n(538,"-"),e(),o(539,"td"),e(),t(540,"tr")(541,"td")(542,"code"),n(543,"[nzServerSearch]"),e()(),t(544,"td"),n(545,"nz-option will not be filtered when set to true"),e(),t(546,"td")(547,"code"),n(548,"boolean"),e()(),t(549,"td")(550,"code"),n(551,"false"),e()(),o(552,"td"),e(),t(553,"tr")(554,"td")(555,"code"),n(556,"[nzFilterOption]"),e()(),t(557,"td"),n(558,"Filter options against it. The function will receive two arguments, "),t(559,"code"),n(560,"inputValue"),e(),n(561," and "),t(562,"code"),n(563,"option"),e(),n(564,", if the function returns "),t(565,"code"),n(566,"true"),e(),n(567,", the option will be included in the filtered set; Otherwise, it will be excluded."),e(),t(568,"td")(569,"code"),n(570,"(input?: string, option?: NzOptionComponent) => boolean;"),e()(),t(571,"td"),n(572,"-"),e(),o(573,"td"),e(),t(574,"tr")(575,"td")(576,"code"),n(577,"[nzMaxMultipleCount]"),e()(),t(578,"td"),n(579,"Max selected option can be selected"),e(),t(580,"td")(581,"code"),n(582,"number"),e()(),t(583,"td")(584,"code"),n(585,"Infinity"),e()(),o(586,"td"),e(),t(587,"tr")(588,"td")(589,"code"),n(590,"[nzMode]"),e()(),t(591,"td"),n(592,"Set mode of Select"),e(),t(593,"td")(594,"code"),n(595,"'multiple' | 'tags' | 'default'"),e()(),t(596,"td")(597,"code"),n(598,"'default'"),e()(),o(599,"td"),e(),t(600,"tr")(601,"td")(602,"code"),n(603,"[nzNotFoundContent]"),e()(),t(604,"td"),n(605,"Specify content to show when no result matches.."),e(),t(606,"td")(607,"code"),n(608,"string | TemplateRef<void>"),e()(),t(609,"td")(610,"code"),n(611,"'Not Found'"),e()(),o(612,"td"),e(),t(613,"tr")(614,"td")(615,"code"),n(616,"[nzPlaceHolder]"),e()(),t(617,"td"),n(618,"Placeholder of select"),e(),t(619,"td")(620,"code"),n(621,"string"),e()(),t(622,"td"),n(623,"-"),e(),o(624,"td"),e(),t(625,"tr")(626,"td")(627,"code"),n(628,"[nzShowArrow]"),e()(),t(629,"td"),n(630,"Whether to show the drop-down arrow"),e(),t(631,"td")(632,"code"),n(633,"boolean"),e()(),t(634,"td")(635,"code"),n(636,"true"),e(),n(637,"(for single select), "),t(638,"code"),n(639,"false"),e(),n(640,"(for multiple select)"),e(),o(641,"td"),e(),t(642,"tr")(643,"td")(644,"code"),n(645,"[nzShowSearch]"),e()(),t(646,"td"),n(647,"Whether show search input in single mode."),e(),t(648,"td")(649,"code"),n(650,"boolean"),e()(),t(651,"td")(652,"code"),n(653,"false"),e()(),o(654,"td"),e(),t(655,"tr")(656,"td")(657,"code"),n(658,"[nzSize]"),e()(),t(659,"td"),n(660,"Size of Select input"),e(),t(661,"td")(662,"code"),n(663,"'large' | 'small' | 'default'"),e()(),t(664,"td")(665,"code"),n(666,"'default'"),e()(),o(667,"td"),e(),t(668,"tr")(669,"td")(670,"code"),n(671,"[nzStatus]"),e()(),t(672,"td"),n(673,"Set validation status"),e(),t(674,"td")(675,"code"),n(676,"'error' | 'warning'"),e()(),t(677,"td"),n(678,"-"),e(),o(679,"td"),e(),t(680,"tr")(681,"td")(682,"code"),n(683,"[nzSuffixIcon]"),e()(),t(684,"td"),n(685,"The custom suffix icon"),e(),t(686,"td")(687,"code"),n(688,"TemplateRef<any> | string"),e()(),t(689,"td"),n(690,"-"),e(),t(691,"td"),n(692,"\u2705"),e()(),t(693,"tr")(694,"td")(695,"code"),n(696,"[nzRemoveIcon]"),e()(),t(697,"td"),n(698,"The custom remove icon"),e(),t(699,"td")(700,"code"),n(701,"TemplateRef<any>"),e()(),t(702,"td"),n(703,"-"),e(),o(704,"td"),e(),t(705,"tr")(706,"td")(707,"code"),n(708,"[nzClearIcon]"),e()(),t(709,"td"),n(710,"The custom clear icon"),e(),t(711,"td")(712,"code"),n(713,"TemplateRef<any>"),e()(),t(714,"td"),n(715,"-"),e(),o(716,"td"),e(),t(717,"tr")(718,"td")(719,"code"),n(720,"[nzMenuItemSelectedIcon]"),e()(),t(721,"td"),n(722,"The custom menuItemSelected icon"),e(),t(723,"td")(724,"code"),n(725,"TemplateRef<any>"),e()(),t(726,"td"),n(727,"-"),e(),o(728,"td"),e(),t(729,"tr")(730,"td")(731,"code"),n(732,"[nzTokenSeparators]"),e()(),t(733,"td"),n(734,"Separator used to tokenize on tag/multiple mode"),e(),t(735,"td")(736,"code"),n(737,"string[]"),e()(),t(738,"td")(739,"code"),n(740,"[]"),e()(),o(741,"td"),e(),t(742,"tr")(743,"td")(744,"code"),n(745,"[nzLoading]"),e()(),t(746,"td"),n(747,"indicate loading state"),e(),t(748,"td")(749,"code"),n(750,"boolean"),e()(),t(751,"td"),n(752,"false"),e(),o(753,"td"),e(),t(754,"tr")(755,"td")(756,"code"),n(757,"[nzMaxTagCount]"),e()(),t(758,"td"),n(759,"Max tag count to show"),e(),t(760,"td")(761,"code"),n(762,"number"),e()(),t(763,"td"),n(764,"-"),e(),o(765,"td"),e(),t(766,"tr")(767,"td")(768,"code"),n(769,"[nzOptions]"),e()(),t(770,"td"),n(771,"use nzOptions or "),t(772,"code"),n(773,"nz-option"),e(),n(774," to pass options to the select"),e(),t(775,"td")(776,"code"),n(777,"Array<{ label: string | number | TemplateRef<any>; value: any; key?: string | number; disabled?: boolean; hide?: boolean; groupLabel?: string | TemplateRef<any>;}>"),e()(),t(778,"td"),n(779,"-"),e(),o(780,"td"),e(),t(781,"tr")(782,"td")(783,"code"),n(784,"[nzMaxTagPlaceholder]"),e()(),t(785,"td"),n(786,"Placeholder for not showing tags"),e(),t(787,"td")(788,"code"),n(789,"TemplateRef<{ $implicit: any[] }>"),e()(),t(790,"td"),n(791,"-"),e(),o(792,"td"),e(),t(793,"tr")(794,"td")(795,"code"),n(796,"[nzOptionHeightPx]"),e()(),t(797,"td"),n(798,"Each option height inside the dropdown"),e(),t(799,"td")(800,"code"),n(801,"number"),e()(),t(802,"td")(803,"code"),n(804,"32"),e()(),t(805,"td"),n(806,"\u2705"),e()(),t(807,"tr")(808,"td")(809,"code"),n(810,"[nzOptionOverflowSize]"),e()(),t(811,"td"),n(812,"Max option size inside the dropdown, overflow when exceed the size"),e(),t(813,"td")(814,"code"),n(815,"number"),e()(),t(816,"td")(817,"code"),n(818,"8"),e()(),o(819,"td"),e(),t(820,"tr")(821,"td")(822,"code"),n(823,"[nzSelectOnTab]"),e()(),t(824,"td"),n(825,"Allows to select an item with TAB key"),e(),t(826,"td")(827,"code"),n(828,"boolean"),e()(),t(829,"td")(830,"code"),n(831,"false"),e()(),o(832,"td"),e(),t(833,"tr")(834,"td")(835,"code"),n(836,"(ngModelChange)"),e()(),t(837,"td"),n(838,"Current selected nz-option value change callback."),e(),t(839,"td")(840,"code"),n(841,"EventEmitter<any[]>"),e()(),t(842,"td"),n(843,"-"),e(),o(844,"td"),e(),t(845,"tr")(846,"td")(847,"code"),n(848,"(nzOpenChange)"),e()(),t(849,"td"),n(850,"dropdown expand change callback"),e(),t(851,"td")(852,"code"),n(853,"EventEmitter<boolean>"),e()(),t(854,"td")(855,"code"),n(856,"false"),e()(),o(857,"td"),e(),t(858,"tr")(859,"td")(860,"code"),n(861,"(nzScrollToBottom)"),e()(),t(862,"td"),n(863,"Called when dropdown scrolls to bottom"),e(),t(864,"td")(865,"code"),n(866,"EventEmitter<any>"),e()(),t(867,"td"),n(868,"-"),e(),o(869,"td"),e(),t(870,"tr")(871,"td")(872,"code"),n(873,"(nzOnSearch)"),e()(),t(874,"td"),n(875,"Callback function that is fired when input changed."),e(),t(876,"td")(877,"code"),n(878,"EventEmitter<string>"),e()(),t(879,"td"),n(880,"-"),e(),o(881,"td"),e(),t(882,"tr")(883,"td")(884,"code"),n(885,"(nzFocus)"),e()(),t(886,"td"),n(887,"focus callback"),e(),t(888,"td")(889,"code"),n(890,"EventEmitter<any>"),e()(),t(891,"td"),n(892,"-"),e(),o(893,"td"),e(),t(894,"tr")(895,"td")(896,"code"),n(897,"(nzBlur)"),e()(),t(898,"td"),n(899,"blur callback"),e(),t(900,"td")(901,"code"),n(902,"EventEmitter<any>"),e()(),t(903,"td"),n(904,"-"),e(),o(905,"td"),e()()(),t(906,"h3",79)(907,"span"),n(908,"nz-option"),e(),t(909,"label",77),n(910,"component"),e(),t(911,"a",80),n(912,"#"),e()(),t(913,"table")(914,"thead")(915,"tr")(916,"th"),n(917,"Property"),e(),t(918,"th"),n(919,"Description"),e(),t(920,"th"),n(921,"Type"),e(),t(922,"th"),n(923,"Default"),e()()(),t(924,"tbody")(925,"tr")(926,"td")(927,"code"),n(928,"[nzDisabled]"),e()(),t(929,"td"),n(930,"Disable this option"),e(),t(931,"td")(932,"code"),n(933,"boolean"),e()(),t(934,"td")(935,"code"),n(936,"false"),e()()(),t(937,"tr")(938,"td")(939,"code"),n(940,"[nzTitle]"),e()(),t(941,"td"),n(942,"Native title hint on this option"),e(),t(943,"td")(944,"code"),n(945,"string | number"),e()(),t(946,"td"),n(947,"-"),e()(),t(948,"tr")(949,"td")(950,"code"),n(951,"[nzLabel]"),e()(),t(952,"td"),n(953,"The text show in nz-select and dropdown menu"),e(),t(954,"td")(955,"code"),n(956,"string | number"),e()(),t(957,"td"),n(958,"-"),e()(),t(959,"tr")(960,"td")(961,"code"),n(962,"[nzValue]"),e()(),t(963,"td"),n(964,"The value passed to ngModel of nz-select"),e(),t(965,"td")(966,"code"),n(967,"any "),e()(),t(968,"td"),n(969,"-"),e()(),t(970,"tr")(971,"td")(972,"code"),n(973,"[nzKey]"),e()(),t(974,"td"),n(975,"Should be passed when typeof nzValue - Object. Key will be used for performance optimizations"),e(),t(976,"td")(977,"code"),n(978,"string | number "),e()(),t(979,"td"),n(980,"-"),e()(),t(981,"tr")(982,"td")(983,"code"),n(984,"[nzHide]"),e()(),t(985,"td"),n(986,"Whether hide the option in the option list"),e(),t(987,"td")(988,"code"),n(989,"boolean"),e()(),t(990,"td")(991,"code"),n(992,"false"),e()()(),t(993,"tr")(994,"td")(995,"code"),n(996,"[nzCustomContent]"),e()(),t(997,"td"),n(998,"Whether custom nz-option content in drodown menu, the ng-content in nz-option will replace nzLabel when it was set to true"),e(),t(999,"td")(1e3,"code"),n(1001,"boolean"),e()(),t(1002,"td")(1003,"code"),n(1004,"false"),e()()()()(),t(1005,"h3",81)(1006,"span"),n(1007,"nz-option-group"),e(),t(1008,"label",77),n(1009,"component"),e(),t(1010,"a",82),n(1011,"#"),e()(),t(1012,"table")(1013,"thead")(1014,"tr")(1015,"th"),n(1016,"Property"),e(),t(1017,"th"),n(1018,"Description"),e(),t(1019,"th"),n(1020,"Type"),e(),t(1021,"th"),n(1022,"Default"),e()()(),t(1023,"tbody")(1024,"tr")(1025,"td")(1026,"code"),n(1027,"[nzLabel]"),e()(),t(1028,"td"),n(1029,"Group label"),e(),t(1030,"td")(1031,"code"),n(1032,"string | number | TemplateRef<void>"),e()(),t(1033,"td"),n(1034,"-"),e()()()(),t(1035,"h2",83)(1036,"span"),n(1037,"Methods"),e(),t(1038,"a",84),n(1039,"#"),e()(),t(1040,"h3",76)(1041,"span"),n(1042,"nz-select"),e(),t(1043,"label",77),n(1044,"component"),e(),t(1045,"a",78),n(1046,"#"),e()(),t(1047,"table")(1048,"thead")(1049,"tr")(1050,"th"),n(1051,"Name"),e(),t(1052,"th"),n(1053,"Description"),e()()(),t(1054,"tbody")(1055,"tr")(1056,"td"),n(1057,"blur()"),e(),t(1058,"td"),n(1059,"Remove focus"),e()(),t(1060,"tr")(1061,"td"),n(1062,"focus()"),e(),t(1063,"td"),n(1064,"Get focus"),e()()()(),s(),e()()),i&2&&(c(),r("nzOffsetTop",16),c(),r("nzAffix",!1),c(74),r("nzGutter",16),c(),r("nzXl",12)("nzSpan",24),c(),r("nzId","components-select-demo-basic")("nzLink","components-select-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/basic.md"),c(5),r("nzId","components-select-demo-multiple")("nzLink","components-select-demo-multiple")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/multiple.md"),c(8),r("nzId","components-select-demo-tags")("nzLink","components-select-demo-tags")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/tags.md"),c(5),r("nzId","components-select-demo-coordinate")("nzLink","components-select-demo-coordinate")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/coordinate.md"),c(10),r("nzId","components-select-demo-label-in-value")("nzLink","components-select-demo-label-in-value")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/label-in-value.md"),c(29),r("nzId","components-select-demo-select-users")("nzLink","components-select-demo-select-users")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/select-users.md"),c(5),r("nzId","components-select-demo-hide-selected")("nzLink","components-select-demo-hide-selected")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/hide-selected.md"),c(8),r("nzId","components-select-demo-scroll-load")("nzLink","components-select-demo-scroll-load")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/scroll-load.md"),c(5),r("nzId","components-select-demo-big-data")("nzLink","components-select-demo-big-data")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/big-data.md"),c(5),r("nzId","components-select-demo-custom-template")("nzLink","components-select-demo-custom-template")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/custom-template.md"),c(8),r("nzId","components-select-demo-status")("nzLink","components-select-demo-status")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/status.md"),c(14),r("nzId","components-select-demo-max-count")("nzLink","components-select-demo-max-count")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/max-count.md"),c(8),r("nzXl",12)("nzSpan",24),c(),r("nzId","components-select-demo-search")("nzLink","components-select-demo-search")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/search.md"),c(5),r("nzId","components-select-demo-size")("nzLink","components-select-demo-size")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/size.md"),c(8),r("nzId","components-select-demo-optgroup")("nzLink","components-select-demo-optgroup")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/optgroup.md"),c(8),r("nzId","components-select-demo-search-box")("nzLink","components-select-demo-search-box")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/search-box.md"),c(5),r("nzId","components-select-demo-automatic-tokenization")("nzLink","components-select-demo-automatic-tokenization")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/automatic-tokenization.md"),c(8),r("nzId","components-select-demo-custom-dropdown-menu")("nzLink","components-select-demo-custom-dropdown-menu")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/custom-dropdown-menu.md"),c(8),r("nzId","components-select-demo-custom-content")("nzLink","components-select-demo-custom-content")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/custom-content.md"),c(8),r("nzId","components-select-demo-default-value")("nzLink","components-select-demo-default-value")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/default-value.md"),c(10),r("nzId","components-select-demo-border-less")("nzLink","components-select-demo-border-less")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/border-less.md"),c(5),r("nzId","components-select-demo-options")("nzLink","components-select-demo-options")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/options.md"),c(7),r("nzId","components-select-demo-placement")("nzLink","components-select-demo-placement")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/select/demo/placement.md"))},dependencies:[Be,A,Fe,Me,Ie,ye,Ne,De,O,Q,J,X,q,K,Y,$,ee,te,ne,ie,oe,le,me,ae,re,de,ce,se,ue,pe,ze,Se],encapsulation:2})};var Ht=[{path:"en",component:ve},{path:"zh",component:Oe}],go=Ht;export{go as default};