-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathchunk-2GDB3JDM.js
More file actions
3 lines (3 loc) · 23.8 KB
/
chunk-2GDB3JDM.js
File metadata and controls
3 lines (3 loc) · 23.8 KB
1
2
3
import{a as H,b as B,c as R,d as V,e as L,f as P,g as G,h as O,i as M,j as A}from"./chunk-DFDYLUFX.js";import"./chunk-HK2Z2F3D.js";import"./chunk-GXU7JCBJ.js";import"./chunk-2OGLP7HT.js";import"./chunk-NYVJB6DT.js";import"./chunk-JM7D3ET2.js";import"./chunk-MZKAVT6H.js";import"./chunk-SL5TNLXK.js";import"./chunk-UFRZRMO7.js";import"./chunk-GCOWXR2U.js";import{h as z,n as v,o as I,t as D,u as _}from"./chunk-M7SC4PA4.js";import"./chunk-WSU5OMEA.js";import"./chunk-WOBCLQ2Y.js";import{$ as o,Ae as b,Db as n,Ga as E,Ma as f,Re as N,Ye as T,Ze as C,_ as m,ab as d,bb as t,cb as e,db as i,ef as y,ff as k,mb as x,rh as w,sb as h,tb as u,ub as g,ya as l}from"./chunk-BKDXVBLI.js";import"./chunk-DAQOROHW.js";function Q(c,r){c&1&&(t(0,"span"),n(1,"TreeSelect"),e())}function W(c,r){c&1&&i(0,"span")}var p=class c{expanded=!1;codeBoxes;goLink(r){window&&(window.location.hash=r)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(r=>r.expandCode(this.expanded))}static \u0275fac=function(a){return new(a||c)};static \u0275cmp=E({type:c,selectors:[["nz-demo-tree-select"]],viewQuery:function(a,s){if(a&1&&h(z,5),a&2){let S;u(S=g())&&(s.codeBoxes=S)}},decls:774,vars:27,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#when_to_use","nzTitle","When To Use",1,"toc-indent-1"],["nzHref","#examples","nzTitle","Examples",1,"toc-indent-1"],["nzHref","#components-tree-select-demo-basic","nzTitle","Basic",1,"toc-indent-2"],["nzHref","#components-tree-select-demo-multiple","nzTitle","Multiple Selection",1,"toc-indent-2"],["nzHref","#components-tree-select-demo-async","nzTitle","Load data asynchronously",1,"toc-indent-2"],["nzHref","#components-tree-select-demo-checkable","nzTitle","Checkable",1,"toc-indent-2"],["nzHref","#components-tree-select-demo-virtual-scroll","nzTitle","Virtual Scroll",1,"toc-indent-2"],["nzHref","#components-tree-select-demo-no-data","nzTitle","Custom empty state",1,"toc-indent-2"],["nzHref","#components-tree-select-demo-placement","nzTitle","Placement",1,"toc-indent-2"],["nzHref","#components-tree-select-demo-status","nzTitle","Status",1,"toc-indent-2"],["nzHref","#components-tree-select-demo-variant","nzTitle","Variants",1,"toc-indent-2"],["nzHref","#components-tree-select-demo-prefix-and-suffix","nzTitle","Prefix and Suffix",1,"toc-indent-2"],["nzHref","#api","nzTitle","API",1,"toc-indent-1"],[1,"markdown"],[4,"nzSpaceItem"],["name","tree-select","description","Tree selection control.","language","en"],["id","when_to_use"],["onclick","window.location.hash = 'when_to_use'",1,"anchor"],["id","examples"],["nzType","appstore","nz-tooltip","","nzTooltipTitle","Expand All Code",1,"code-box-expand-trigger",3,"click"],["onclick","window.location.hash = 'examples'",1,"anchor"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzXl","nzSpan"],["nzTitle","Basic","nzVersion","","nzId","components-tree-select-demo-basic","nzSelector","nz-demo-tree-select-basic","nzLink","components-tree-select-demo-basic","nzGenerateCommand","ng g ng-zorro-antd:tree-select-basic <name>","nzComponentName","NzDemoTreeSelectBasicComponent","nzIframeSource","","nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tree-select/demo/basic.md",3,"nzIframe","nzIframeHeight"],["demo",""],["intro",""],["nzTitle","Load data asynchronously","nzVersion","","nzId","components-tree-select-demo-async","nzSelector","nz-demo-tree-select-async","nzLink","components-tree-select-demo-async","nzGenerateCommand","ng g ng-zorro-antd:tree-select-async <name>","nzComponentName","NzDemoTreeSelectAsyncComponent","nzIframeSource","","nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tree-select/demo/async.md",3,"nzIframe","nzIframeHeight"],["nzTitle","Virtual Scroll","nzVersion","","nzId","components-tree-select-demo-virtual-scroll","nzSelector","nz-demo-tree-select-virtual-scroll","nzLink","components-tree-select-demo-virtual-scroll","nzGenerateCommand","ng g ng-zorro-antd:tree-select-virtual-scroll <name>","nzComponentName","NzDemoTreeSelectVirtualScrollComponent","nzIframeSource","","nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tree-select/demo/virtual-scroll.md",3,"nzIframe","nzIframeHeight"],["nzTitle","Placement","nzVersion","","nzId","components-tree-select-demo-placement","nzSelector","nz-demo-tree-select-placement","nzLink","components-tree-select-demo-placement","nzGenerateCommand","ng g ng-zorro-antd:tree-select-placement <name>","nzComponentName","NzDemoTreeSelectPlacementComponent","nzIframeSource","","nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tree-select/demo/placement.md",3,"nzIframe","nzIframeHeight"],["nzTitle","Variants","nzVersion","20.0.0","nzId","components-tree-select-demo-variant","nzSelector","nz-demo-tree-select-variant","nzLink","components-tree-select-demo-variant","nzGenerateCommand","ng g ng-zorro-antd:tree-select-variant <name>","nzComponentName","NzDemoTreeSelectVariantComponent","nzIframeSource","","nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tree-select/demo/variant.md",3,"nzIframe","nzIframeHeight"],["nzTitle","Multiple Selection","nzVersion","","nzId","components-tree-select-demo-multiple","nzSelector","nz-demo-tree-select-multiple","nzLink","components-tree-select-demo-multiple","nzGenerateCommand","ng g ng-zorro-antd:tree-select-multiple <name>","nzComponentName","NzDemoTreeSelectMultipleComponent","nzIframeSource","","nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tree-select/demo/multiple.md",3,"nzIframe","nzIframeHeight"],["nzTitle","Checkable","nzVersion","","nzId","components-tree-select-demo-checkable","nzSelector","nz-demo-tree-select-checkable","nzLink","components-tree-select-demo-checkable","nzGenerateCommand","ng g ng-zorro-antd:tree-select-checkable <name>","nzComponentName","NzDemoTreeSelectCheckableComponent","nzIframeSource","","nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tree-select/demo/checkable.md",3,"nzIframe","nzIframeHeight"],["nzTitle","Custom empty state","nzVersion","","nzId","components-tree-select-demo-no-data","nzSelector","nz-demo-tree-select-no-data","nzLink","components-tree-select-demo-no-data","nzGenerateCommand","ng g ng-zorro-antd:tree-select-no-data <name>","nzComponentName","NzDemoTreeSelectNoDataComponent","nzIframeSource","","nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tree-select/demo/no-data.md",3,"nzIframe","nzIframeHeight"],["nzTitle","Status","nzVersion","","nzId","components-tree-select-demo-status","nzSelector","nz-demo-tree-select-status","nzLink","components-tree-select-demo-status","nzGenerateCommand","ng g ng-zorro-antd:tree-select-status <name>","nzComponentName","NzDemoTreeSelectStatusComponent","nzIframeSource","","nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tree-select/demo/status.md",3,"nzIframe","nzIframeHeight"],["nzTitle","Prefix and Suffix","nzVersion","","nzId","components-tree-select-demo-prefix-and-suffix","nzSelector","nz-demo-tree-select-prefix-and-suffix","nzLink","components-tree-select-demo-prefix-and-suffix","nzGenerateCommand","ng g ng-zorro-antd:tree-select-prefix-and-suffix <name>","nzComponentName","NzDemoTreeSelectPrefixAndSuffixComponent","nzIframeSource","","nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tree-select/demo/prefix-and-suffix.md",3,"nzIframe","nzIframeHeight"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-tree-select"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-tree-select'",1,"anchor"],["href","https://material.angular.io/cdk/scrolling/api","target","_blank","rel","noopener"],["id","methods"],["onclick","window.location.hash = 'methods'",1,"anchor"],["id","faq"],["onclick","window.location.hash = 'faq'",1,"anchor"],["id","q_the_overlay_layer_element_does_not_follow_the_scroll_position_when_scrolling"],["onclick","window.location.hash = 'q_the_overlay_layer_element_does_not_follow_the_scroll_position_when_scrolling'",1,"anchor"],["href","https://material.angular.dev/cdk/scrolling/api#CdkScrollable","target","_blank","rel","noopener"]],template:function(a,s){a&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),x("nzClick",function(Z){return s.goLink(Z)}),i(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),e()(),t(16,"section",15)(17,"h1")(18,"nz-space"),f(19,Q,2,0,"span",16)(20,W,1,0,"span",16),e()(),i(21,"component-meta",17),t(22,"section",15),o(),t(23,"h2",18)(24,"span"),n(25,"When To Use"),e(),t(26,"a",19),n(27,"#"),e()(),t(28,"p")(29,"code"),n(30,"TreeSelect"),e(),n(31," is similar to "),t(32,"code"),n(33,"Select"),e(),n(34,`, but the values are provided in a tree like structure.
Any data whose entries are defined in a hierarchical manner is fit to use this control. Examples of such case may include a corporate hierarchy, a directory structure, and so on.`),e(),m(),e(),t(35,"h2",20)(36,"span"),n(37,"Examples"),e(),t(38,"nz-icon",21),x("click",function(){return s.expandAllCode()}),e(),t(39,"a",22),n(40,"#"),e()()(),t(41,"div",23)(42,"div",24)(43,"nz-code-box",25),i(44,"nz-demo-tree-select-basic",26),t(45,"div",27),o(),t(46,"p"),n(47,"The most basic usage."),e(),m(),e()(),t(48,"nz-code-box",28),i(49,"nz-demo-tree-select-async",26),t(50,"div",27),o(),t(51,"p"),n(52,"To load data asynchronously when click to expand a treeNode, loading state keeps until excute addChildren()."),e(),m(),e()(),t(53,"nz-code-box",29),i(54,"nz-demo-tree-select-virtual-scroll",26),t(55,"div",27),o(),t(56,"p"),n(57,"Set "),t(58,"code"),n(59,"nzVirtualHeight"),e(),n(60," to enable virtual scroll."),e(),m(),e()(),t(61,"nz-code-box",30),i(62,"nz-demo-tree-select-placement",26),t(63,"div",27),o(),t(64,"p"),n(65,"You can manually specify the position of the popup via "),t(66,"code"),n(67,"nzPlacement"),e(),n(68,"."),e(),m(),e()(),t(69,"nz-code-box",31),i(70,"nz-demo-tree-select-variant",26),t(71,"div",27),o(),t(72,"p"),n(73,"Variants of TreeSelect, there are four variants: "),t(74,"code"),n(75,"outlined"),e(),n(76,", "),t(77,"code"),n(78,"filled"),e(),n(79,", "),t(80,"code"),n(81,"borderless"),e(),n(82," and "),t(83,"code"),n(84,"underlined"),e(),n(85,"."),e(),m(),e()()(),t(86,"div",24)(87,"nz-code-box",32),i(88,"nz-demo-tree-select-multiple",26),t(89,"div",27),o(),t(90,"p"),n(91,"Multiple selection usage, max 3 option will display at the same time by "),t(92,"code"),n(93,"nzMaxTagCount"),e(),n(94,"."),e(),m(),e()(),t(95,"nz-code-box",33),i(96,"nz-demo-tree-select-checkable",26),t(97,"div",27),o(),t(98,"p"),n(99,"Multiple and checkable."),e(),m(),e()(),t(100,"nz-code-box",34),i(101,"nz-demo-tree-select-no-data",26),t(102,"div",27),o(),t(103,"p"),n(104,"Use "),t(105,"code"),n(106,"nzNotFoundContent"),e(),n(107," to customize empty data style"),e(),m(),e()(),t(108,"nz-code-box",35),i(109,"nz-demo-tree-select-status",26),t(110,"div",27),o(),t(111,"p"),n(112,"Add status to TreeSelect with "),t(113,"code"),n(114,"nzStatus"),e(),n(115,", which could be "),t(116,"code"),n(117,"error"),e(),n(118," or "),t(119,"code"),n(120,"warning"),e(),n(121,"."),e(),m(),e()(),t(122,"nz-code-box",36),i(123,"nz-demo-tree-select-prefix-and-suffix",26),t(124,"div",27),o(),t(125,"p"),n(126,"Custom "),t(127,"code"),n(128,"nzPrefix"),e(),n(129," and "),t(130,"code"),n(131,"nzSuffixIcon"),e(),n(132,"."),e(),m(),e()()()(),t(133,"section",37),o(),t(134,"h2",38)(135,"span"),n(136,"API"),e(),t(137,"a",39),n(138,"#"),e()(),t(139,"h3",40)(140,"span"),n(141,"nz-tree-select"),e(),t(142,"label",41),n(143,"component"),e(),t(144,"a",42),n(145,"#"),e()(),t(146,"table")(147,"thead")(148,"tr")(149,"th"),n(150,"Property"),e(),t(151,"th"),n(152,"Description"),e(),t(153,"th"),n(154,"Type"),e(),t(155,"th"),n(156,"Default"),e(),t(157,"th"),n(158,"Global Config"),e(),t(159,"th"),n(160,"Version"),e()()(),t(161,"tbody")(162,"tr")(163,"td")(164,"code"),n(165,"[nzId]"),e()(),t(166,"td"),n(167,"input id attribute inside the component"),e(),t(168,"td")(169,"code"),n(170,"string"),e()(),t(171,"td"),n(172,"-"),e(),i(173,"td")(174,"td"),e(),t(175,"tr")(176,"td")(177,"code"),n(178,"[nzAllowClear]"),e()(),t(179,"td"),n(180,"Whether allow clear"),e(),t(181,"td")(182,"code"),n(183,"boolean"),e()(),t(184,"td")(185,"code"),n(186,"false"),e()(),i(187,"td")(188,"td"),e(),t(189,"tr")(190,"td")(191,"code"),n(192,"[nzPlaceHolder]"),e()(),t(193,"td"),n(194,"Placeholder of the select input"),e(),t(195,"td")(196,"code"),n(197,"string"),e()(),t(198,"td"),n(199,"-"),e(),i(200,"td")(201,"td"),e(),t(202,"tr")(203,"td")(204,"code"),n(205,"[nzPlacement]"),e()(),t(206,"td"),n(207,"The position where the selection box pops up"),e(),t(208,"td")(209,"code"),n(210,"'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight'"),e()(),t(211,"td")(212,"code"),n(213,"'bottomLeft'"),e()(),i(214,"td")(215,"td"),e(),t(216,"tr")(217,"td")(218,"code"),n(219,"[nzDisabled]"),e()(),t(220,"td"),n(221,"Disabled or not"),e(),t(222,"td")(223,"code"),n(224,"boolean"),e()(),t(225,"td")(226,"code"),n(227,"false"),e()(),i(228,"td")(229,"td"),e(),t(230,"tr")(231,"td")(232,"code"),n(233,"[nzShowIcon]"),e()(),t(234,"td"),n(235,"Shows the icon before a TreeNode's title. There is no default style"),e(),t(236,"td")(237,"code"),n(238,"boolean"),e()(),t(239,"td")(240,"code"),n(241,"false"),e()(),i(242,"td")(243,"td"),e(),t(244,"tr")(245,"td")(246,"code"),n(247,"[nzShowSearch]"),e()(),t(248,"td"),n(249,"Whether to display a search input in the dropdown menu(valid only in the single mode)"),e(),t(250,"td")(251,"code"),n(252,"boolean"),e()(),t(253,"td")(254,"code"),n(255,"false"),e()(),t(256,"td"),n(257,"\u2705"),e(),i(258,"td"),e(),t(259,"tr")(260,"td")(261,"code"),n(262,"[nzNotFoundContent]"),e()(),t(263,"td"),n(264,"Specify content to show when no result matches."),e(),t(265,"td")(266,"code"),n(267,"'string' | 'TemplateRef<void>'"),e()(),t(268,"td"),n(269,"-"),e(),i(270,"td")(271,"td"),e(),t(272,"tr")(273,"td")(274,"code"),n(275,"[nzDropdownMatchSelectWidth]"),e()(),t(276,"td"),n(277,"Determine whether the dropdown menu and the select input are the same width"),e(),t(278,"td")(279,"code"),n(280,"boolean"),e()(),t(281,"td")(282,"code"),n(283,"true"),e()(),t(284,"td"),n(285,"\u2705"),e(),i(286,"td"),e(),t(287,"tr")(288,"td")(289,"code"),n(290,"[nzDropdownStyle]"),e()(),t(291,"td"),n(292,"To set the style of the dropdown menu"),e(),t(293,"td")(294,"code"),n(295,"object"),e()(),t(296,"td"),n(297,"-"),e(),i(298,"td")(299,"td"),e(),t(300,"tr")(301,"td")(302,"code"),n(303,"[nzDropdownClassName]"),e()(),t(304,"td"),n(305,"classname of dropdown menu"),e(),t(306,"td")(307,"code"),n(308,"string"),e()(),t(309,"td"),n(310,"-"),e(),i(311,"td")(312,"td"),e(),t(313,"tr")(314,"td")(315,"code"),n(316,"[nzMultiple]"),e()(),t(317,"td"),n(318,"Support multiple or not, will be "),t(319,"code"),n(320,"true"),e(),n(321," when enable "),t(322,"code"),n(323,"nzCheckable"),e(),n(324,"."),e(),t(325,"td")(326,"code"),n(327,"boolean"),e()(),t(328,"td")(329,"code"),n(330,"false"),e()(),i(331,"td")(332,"td"),e(),t(333,"tr")(334,"td")(335,"code"),n(336,"[nzHideUnMatched]"),e()(),t(337,"td"),n(338,"Hide unmatched nodes while searching"),e(),t(339,"td")(340,"code"),n(341,"boolean"),e()(),t(342,"td")(343,"code"),n(344,"false"),e()(),t(345,"td"),n(346,"\u2705"),e(),i(347,"td"),e(),t(348,"tr")(349,"td")(350,"code"),n(351,"[nzSize]"),e()(),t(352,"td"),n(353,"To set the size of the select input"),e(),t(354,"td")(355,"code"),n(356,"'large' | 'small' | 'default'"),e()(),t(357,"td")(358,"code"),n(359,"'default'"),e()(),t(360,"td"),n(361,"\u2705"),e(),i(362,"td"),e(),t(363,"tr")(364,"td")(365,"code"),n(366,"[nzStatus]"),e()(),t(367,"td"),n(368,"Set validation status"),e(),t(369,"td")(370,"code"),n(371,"'error' | 'warning'"),e()(),t(372,"td"),n(373,"-"),e(),i(374,"td")(375,"td"),e(),t(376,"tr")(377,"td")(378,"code"),n(379,"[nzCheckable]"),e()(),t(380,"td"),n(381,"Whether to show checkbox on the treeNodes"),e(),t(382,"td")(383,"code"),n(384,"boolean"),e()(),t(385,"td")(386,"code"),n(387,"false"),e()(),i(388,"td")(389,"td"),e(),t(390,"tr")(391,"td")(392,"code"),n(393,"[nzCheckStrictly]"),e()(),t(394,"td"),n(395,"Check treeNode precisely; parent treeNode and children treeNodes are not associated"),e(),t(396,"td")(397,"code"),n(398,"boolean"),e()(),t(399,"td")(400,"code"),n(401,"false"),e()(),i(402,"td")(403,"td"),e(),t(404,"tr")(405,"td")(406,"code"),n(407,"[nzShowExpand]"),e()(),t(408,"td"),n(409,"Show a Expand Icon before the treeNodes"),e(),t(410,"td")(411,"code"),n(412,"boolean"),e()(),t(413,"td")(414,"code"),n(415,"true"),e()(),i(416,"td")(417,"td"),e(),t(418,"tr")(419,"td")(420,"code"),n(421,"[nzShowLine]"),e()(),t(422,"td"),n(423,"Shows a connecting line"),e(),t(424,"td")(425,"code"),n(426,"boolean"),e()(),t(427,"td")(428,"code"),n(429,"false"),e()(),i(430,"td")(431,"td"),e(),t(432,"tr")(433,"td")(434,"code"),n(435,"[nzPrefix]"),e()(),t(436,"td"),n(437,"The custom prefix"),e(),t(438,"td")(439,"code"),n(440,"TemplateRef<any> | string"),e()(),t(441,"td"),n(442,"-"),e(),i(443,"td")(444,"td"),e(),t(445,"tr")(446,"td")(447,"code"),n(448,"[nzSuffixIcon]"),e()(),t(449,"td"),n(450,"The custom suffix icon"),e(),t(451,"td")(452,"code"),n(453,"TemplateRef<any> | string"),e()(),t(454,"td"),n(455,"-"),e(),i(456,"td")(457,"td"),e(),t(458,"tr")(459,"td")(460,"code"),n(461,"[nzAsyncData]"),e()(),t(462,"td"),n(463,"Load data asynchronously (should be used with NzTreeNode.addChildren(...))"),e(),t(464,"td")(465,"code"),n(466,"boolean"),e()(),t(467,"td")(468,"code"),n(469,"false"),e()(),i(470,"td")(471,"td"),e(),t(472,"tr")(473,"td")(474,"code"),n(475,"[nzNodes]"),e()(),t(476,"td"),n(477,"Data of the treeNodes"),e(),t(478,"td")(479,"code"),n(480,"NzTreeNodeOptions[]"),e()(),t(481,"td")(482,"code"),n(483,"[]"),e()(),i(484,"td")(485,"td"),e(),t(486,"tr")(487,"td")(488,"code"),n(489,"[nzDefaultExpandAll]"),e()(),t(490,"td"),n(491,"Whether to expand all treeNodes by default"),e(),t(492,"td")(493,"code"),n(494,"boolean"),e()(),t(495,"td")(496,"code"),n(497,"false"),e()(),i(498,"td")(499,"td"),e(),t(500,"tr")(501,"td")(502,"code"),n(503,"[nzExpandedKeys]"),e()(),t(504,"td"),n(505,"Default expanded treeNodes"),e(),t(506,"td")(507,"code"),n(508,"string[]"),e()(),t(509,"td"),n(510,"-"),e(),i(511,"td")(512,"td"),e(),t(513,"tr")(514,"td")(515,"code"),n(516,"[nzDisplayWith]"),e()(),t(517,"td"),n(518,"How to display the selected node value in the trigger"),e(),t(519,"td")(520,"code"),n(521,"(node: NzTreeNode) => string"),e()(),t(522,"td")(523,"code"),n(524,"(node: NzTreeNode) => node.title"),e()(),i(525,"td")(526,"td"),e(),t(527,"tr")(528,"td")(529,"code"),n(530,"[nzMaxTagCount]"),e()(),t(531,"td"),n(532,"Max tag count to show"),e(),t(533,"td"),n(534,"number"),e(),t(535,"td"),n(536,"-"),e(),i(537,"td")(538,"td"),e(),t(539,"tr")(540,"td")(541,"code"),n(542,"[nzMaxTagPlaceholder]"),e()(),t(543,"td"),n(544,"Placeholder for not showing tags"),e(),t(545,"td"),n(546,"TemplateRef<{ $implicit: NzTreeNode[] }>"),e(),t(547,"td"),n(548,"-"),e(),i(549,"td")(550,"td"),e(),t(551,"tr")(552,"td")(553,"code"),n(554,"[nzTreeTemplate]"),e()(),t(555,"td"),n(556,"Custom Nodes"),e(),t(557,"td")(558,"code"),n(559,"TemplateRef<{ $implicit: NzTreeNode }>"),e()(),t(560,"td"),n(561,"-"),e(),i(562,"td")(563,"td"),e(),t(564,"tr")(565,"td")(566,"code"),n(567,"[nzVariant]"),e()(),t(568,"td"),n(569,"Variants of TreeSelect"),e(),t(570,"td")(571,"code"),n(572,"'outlined' | 'borderless' | 'filled' | 'underlined'"),e()(),t(573,"td")(574,"code"),n(575,"'outlined'"),e()(),t(576,"td"),n(577,"\u2705"),e(),t(578,"td"),n(579,"20.0.0"),e()(),t(580,"tr")(581,"td")(582,"code"),n(583,"[nzVirtualHeight]"),e()(),t(584,"td"),n(585,"The height of virtual scroll"),e(),t(586,"td")(587,"code"),n(588,"string"),e()(),t(589,"td")(590,"code"),n(591,"-"),e()(),i(592,"td")(593,"td"),e(),t(594,"tr")(595,"td")(596,"code"),n(597,"[nzVirtualItemSize]"),e()(),t(598,"td"),n(599,"The size of the items in the list, same as "),t(600,"a",43),n(601,"cdk itemSize"),e()(),t(602,"td")(603,"code"),n(604,"number"),e()(),t(605,"td")(606,"code"),n(607,"28"),e()(),i(608,"td")(609,"td"),e(),t(610,"tr")(611,"td")(612,"code"),n(613,"[nzVirtualMaxBufferPx]"),e()(),t(614,"td"),n(615,"The number of pixels worth of buffer to render for when rendering new items, same as "),t(616,"a",43),n(617,"cdk maxBufferPx"),e()(),t(618,"td")(619,"code"),n(620,"number"),e()(),t(621,"td")(622,"code"),n(623,"500"),e()(),i(624,"td")(625,"td"),e(),t(626,"tr")(627,"td")(628,"code"),n(629,"[nzVirtualMinBufferPx]"),e()(),t(630,"td"),n(631,"The minimum amount of buffer rendered beyond the viewport (in pixels),same as "),t(632,"a",43),n(633,"cdk minBufferPx"),e()(),t(634,"td")(635,"code"),n(636,"number"),e()(),t(637,"td")(638,"code"),n(639,"28"),e()(),i(640,"td")(641,"td"),e(),t(642,"tr")(643,"td")(644,"code"),n(645,"[nzBackdrop]"),e()(),t(646,"td"),n(647,"whether or not the overlay should attach a backdrop"),e(),t(648,"td")(649,"code"),n(650,"boolean"),e()(),t(651,"td")(652,"code"),n(653,"false"),e()(),i(654,"td")(655,"td"),e(),t(656,"tr")(657,"td")(658,"code"),n(659,"(nzExpandChange)"),e()(),t(660,"td"),n(661,"Callback function for when a treeNode is expanded or collapsed"),e(),t(662,"td")(663,"code"),n(664,"EventEmitter<NzFormatEmitEvent>"),e()(),t(665,"td"),n(666,"-"),e(),i(667,"td")(668,"td"),e()()(),t(669,"h4",44)(670,"span"),n(671,"Methods"),e(),t(672,"a",45),n(673,"#"),e()(),t(674,"table")(675,"thead")(676,"tr")(677,"th"),n(678,"Property"),e(),t(679,"th"),n(680,"Description"),e(),t(681,"th"),n(682,"Type"),e()()(),t(683,"tbody")(684,"tr")(685,"td")(686,"code"),n(687,"getTreeNodes"),e()(),t(688,"td"),n(689,"get all nodes(NzTreeNode)"),e(),t(690,"td")(691,"code"),n(692,"NzTreeNode[]"),e()()(),t(693,"tr")(694,"td")(695,"code"),n(696,"getTreeNodeByKey"),e()(),t(697,"td"),n(698,"get NzTreeNode with key"),e(),t(699,"td")(700,"code"),n(701,"NzTreeNode"),e()()(),t(702,"tr")(703,"td")(704,"code"),n(705,"getCheckedNodeList"),e()(),t(706,"td"),n(707,"get checked nodes(merged)"),e(),t(708,"td")(709,"code"),n(710,"NzTreeNode[]"),e()()(),t(711,"tr")(712,"td")(713,"code"),n(714,"getSelectedNodeList"),e()(),t(715,"td"),n(716,"get selected nodes"),e(),t(717,"td")(718,"code"),n(719,"NzTreeNode[]"),e()()(),t(720,"tr")(721,"td")(722,"code"),n(723,"getHalfCheckedNodeList"),e()(),t(724,"td"),n(725,"get half checked nodes"),e(),t(726,"td")(727,"code"),n(728,"NzTreeNode[]"),e()()(),t(729,"tr")(730,"td")(731,"code"),n(732,"getExpandedNodeList"),e()(),t(733,"td"),n(734,"get expanded nodes"),e(),t(735,"td")(736,"code"),n(737,"NzTreeNode[]"),e()()(),t(738,"tr")(739,"td")(740,"code"),n(741,"getMatchedNodeList"),e()(),t(742,"td"),n(743,"get matched nodes(if "),t(744,"code"),n(745,"nzSearchValue"),e(),n(746," is not null)"),e(),t(747,"td")(748,"code"),n(749,"NzTreeNode[]"),e()()()()(),t(750,"h2",46)(751,"span"),n(752,"FAQ"),e(),t(753,"a",47),n(754,"#"),e()(),t(755,"h3",48)(756,"span"),n(757,"Q: The overlay layer element does not follow the scroll position when scrolling"),e(),t(758,"a",49),n(759,"#"),e()(),t(760,"p"),n(761,"By default, the overlay layer element uses body as the scroll container. If using another scroll container, add the "),t(762,"a",50),n(763,"CdkScrollable"),e(),n(764,` directive to the custom scroll container element.
Note: You need to import the `),t(765,"code"),n(766,"CdkScrollable"),e(),n(767," directive or "),t(768,"code"),n(769,"ScrollingModule"),e(),n(770," module from "),t(771,"code"),n(772,"@angular/cdk/scrolling"),e(),n(773,"."),e(),m(),e()()),a&2&&(l(),d("nzOffsetTop",16),l(),d("nzAffix",!1),l(39),d("nzGutter",16),l(),d("nzXl",12)("nzSpan",24),l(),d("nzIframe",!1)("nzIframeHeight",null),l(5),d("nzIframe",!1)("nzIframeHeight",null),l(5),d("nzIframe",!1)("nzIframeHeight",null),l(8),d("nzIframe",!1)("nzIframeHeight",null),l(8),d("nzIframe",!1)("nzIframeHeight",null),l(17),d("nzXl",12)("nzSpan",24),l(),d("nzIframe",!1)("nzIframeHeight",null),l(8),d("nzIframe",!1)("nzIframeHeight",null),l(5),d("nzIframe",!1)("nzIframeHeight",null),l(8),d("nzIframe",!1)("nzIframeHeight",null),l(14),d("nzIframe",!1)("nzIframeHeight",null))},dependencies:[_,z,D,v,I,b,k,y,w,N,C,T,H,B,R,V,L,P,G,O,M,A],encapsulation:2})};export{p as default};