-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchunk-Y7GDBIVG.js
More file actions
1 lines (1 loc) · 21.1 KB
/
chunk-Y7GDBIVG.js
File metadata and controls
1 lines (1 loc) · 21.1 KB
1
import{a as V,b as U}from"./chunk-HS777ZLD.js";import{a as c,b as u}from"./chunk-MB346CEL.js";import{b as v,c as B,d as T,e as I,h as H,i as M,m as W,n as R}from"./chunk-2VB5JCDE.js";import"./chunk-TNXZVDJM.js";import"./chunk-EJLLX3NW.js";import{Ba as z,Qa as g,mc as A}from"./chunk-GU7FRFWB.js";import{Ab as l,Gb as P,Ub as a,Vb as e,Wb as t,Xb as r,gc as d,ib as x,nc as b,oc as F,pc as _,qa as w,ra as N,yc as n}from"./chunk-GUHHCQYK.js";import"./chunk-OW75ZOQB.js";var E=class i{items=[{key:"1",icon:"bulb",label:"Ignite Your Creativity",description:"Got any sparks for a new project?"},{key:"2",icon:"info-circle",label:"Uncover Background Info",description:"Help me understand the background of this topic."},{key:"3",icon:"rocket",label:"Efficiency Boost Battle",description:"How can I work faster and better?"},{key:"4",icon:"smile",label:"Tell me a Joke",description:"Why do not ants get sick? Because they have tiny ant-bodies!"},{key:"5",icon:"warning",label:"Common Issue Solutions",description:"How to solve common issues? Share some tips!"}];handleItemClick(m){console.log(m.label)}static \u0275fac=function(o){return new(o||i)};static \u0275cmp=l({type:i,selectors:[["nx-demo-prompts-basic"]],decls:1,vars:1,consts:[["title","\u2728 Inspirational Sparks and Marvelous Tips",3,"itemClick","items"]],template:function(o,p){o&1&&(e(0,"nx-prompts",0),d("itemClick",function(f){return p.handleItemClick(f)}),t()),o&2&&a("items",p.items)},dependencies:[u,c],encapsulation:2})};var S=class i{items=[{key:"1",icon:"check-circle",label:"Task Completion Secrets",description:"What are some tricks for getting tasks done?",disabled:!0},{key:"2",icon:"coffee",label:"Time for a Coffee Break",description:"How to rest effectively after long hours of work?"}];static \u0275fac=function(o){return new(o||i)};static \u0275cmp=l({type:i,selectors:[["nx-demo-prompts-disabled"]],decls:1,vars:1,consts:[["title","\u2615\uFE0F It's time to relax!",3,"items"]],template:function(o,p){o&1&&r(0,"nx-prompts",0),o&2&&a("items",p.items)},dependencies:[u,c],encapsulation:2})};var D=class i{items=[{key:"1",icon:"fire",label:"Hot Topics",description:"What are you interested in?",children:[{key:"1-1",description:"What's new in X?"},{key:"1-2",description:"What's AGI?"},{key:"1-3",description:"Where is the doc?"}]},{key:"2",icon:"read",label:"Design Guide",description:"How to design a good product?",children:[{key:"2-1",icon:"heart",description:"Know the well"},{key:"2-2",icon:"smile",description:"Set the AI role"},{key:"2-3",icon:"comment",description:"Express the feeling"}]},{key:"3",icon:"rocket",label:"Start Creating",description:"How to start a new project?",children:[{key:"3-1",label:"Fast Start",description:"Install Ant Design X"},{key:"3-2",label:"Online Playground",description:"Play on the web without installing"}]}];handleItemClick(m){console.log(m.label||m.description)}static \u0275fac=function(o){return new(o||i)};static \u0275cmp=l({type:i,selectors:[["nx-demo-prompts-nest"]],decls:2,vars:1,consts:[["title","Do you want?",3,"itemClick","items"]],template:function(o,p){o&1&&(e(0,"nz-card")(1,"nx-prompts",0),d("itemClick",function(f){return p.handleItemClick(f)}),t()()),o&2&&(x(),a("items",p.items))},dependencies:[U,V,u,c],styles:["[_nghost-%COMP%] nx-prompts:not(.ant-prompts-nested)>.ant-prompts-list>.ant-prompts-item{flex:none;width:calc(30% - 6px);border:0}"]})};var k=class i{items=[{key:"1",icon:"coffee",description:"How to rest effectively after long hours of work?"},{key:"2",icon:"smile",description:"What are the secrets to maintaining a positive mindset?"},{key:"3",icon:"fire",description:"How to stay calm under immense pressure?",disabled:!1}];static \u0275fac=function(o){return new(o||i)};static \u0275cmp=l({type:i,selectors:[["nx-demo-prompts-vertical"]],decls:1,vars:1,consts:[["title","\u{1F914} You might also want to ask:","vertical","",3,"items"]],template:function(o,p){o&1&&r(0,"nx-prompts",0),o&2&&a("items",p.items)},dependencies:[u,c],encapsulation:2})};var y=class i{items=[{key:"1",icon:"bulb",description:"Got any sparks for a new project?"},{key:"2",icon:"info-circle",description:"Help me understand the background of this topic."},{key:"3",icon:"warning",description:"How to solve common issues? Share some tips!"},{key:"4",icon:"rocket",description:"How can I work faster and better?"},{key:"5",icon:"check-circle",description:"What are some tricks for getting tasks done?"},{key:"6",icon:"coffee",description:"How to rest effectively after long hours of work?"},{key:"7",icon:"smile",description:"What are the secrets to maintaining a positive mindset?"},{key:"8",icon:"fire",description:"How to stay calm under immense pressure?"}];static \u0275fac=function(o){return new(o||i)};static \u0275cmp=l({type:i,selectors:[["nx-demo-prompts-wrap"]],decls:1,vars:1,consts:[["title","\u{1F914} You might also want to ask:","wrap","",3,"items"]],template:function(o,p){o&1&&r(0,"nx-prompts",0),o&2&&a("items",p.items)},dependencies:[u,c],encapsulation:2})};function J(i,m){i&1&&r(0,"nx-demo-prompts-basic",33)}function K(i,m){i&1&&r(0,"nx-demo-prompts-disabled",34)}function $(i,m){i&1&&r(0,"nx-demo-prompts-vertical",35)}function ee(i,m){i&1&&r(0,"nx-demo-prompts-wrap",36)}function te(i,m){i&1&&r(0,"nx-demo-prompts-nest",37)}var Z=class i{expanded=!1;codeBoxes;goLink(m){window&&(window.location.hash=m)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(m=>m.expandCode(this.expanded))}static \u0275fac=function(o){return new(o||i)};static \u0275cmp=l({type:i,selectors:[["nz-demo-prompts"]],viewQuery:function(o,p){if(o&1&&b(v,5),o&2){let s;F(s=_())&&(p.codeBoxes=s)}},decls:206,vars:2,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#\u4F55\u65F6\u4F7F\u7528","nzTitle","\u4F55\u65F6\u4F7F\u7528",1,"toc-indent-1"],["nzHref","#\u4EE3\u7801\u6F14\u793A","nzTitle","\u4EE3\u7801\u6F14\u793A",1,"toc-indent-1"],["nzHref","#components-prompts-demo-basic","nzTitle","\u57FA\u672C",1,"toc-indent-2"],["nzHref","#components-prompts-demo-disabled","nzTitle","\u4E0D\u53EF\u7528\u72B6\u6001",1,"toc-indent-2"],["nzHref","#components-prompts-demo-vertical","nzTitle","\u7EB5\u5411\u5C55\u793A",1,"toc-indent-2"],["nzHref","#components-prompts-demo-wrap","nzTitle","\u53EF\u6362\u884C",1,"toc-indent-2"],["nzHref","#components-prompts-demo-nest","nzTitle","\u5D4C\u5957\u7EC4\u5408",1,"toc-indent-2"],["nzHref","#api","nzTitle","API",1,"toc-indent-1"],[1,"markdown"],[1,"subtitle"],["name","prompts","description","\u7528\u4E8E\u663E\u793A\u4E00\u7EC4\u4E0E\u5F53\u524D\u4E0A\u4E0B\u6587\u76F8\u5173\u7684\u9884\u5B9A\u4E49\u7684\u95EE\u9898\u6216\u5EFA\u8BAE\u3002","language","zh"],["id","\u4F55\u65F6\u4F7F\u7528"],["onclick","window.location.hash = '\u4F55\u65F6\u4F7F\u7528'",1,"anchor"],["id","\u4EE3\u7801\u6F14\u793A"],["nzType","appstore","nz-tooltip","","nzTooltipTitle","\u5C55\u5F00\u5168\u90E8\u4EE3\u7801",1,"code-box-expand-trigger",3,"click"],["onclick","window.location.hash = '\u4EE3\u7801\u6F14\u793A'",1,"anchor"],["cols","1"],["showcase","","component","prompts","key","basic","doc","<p>\u57FA\u7840\u7528\u6CD5\u3002</p>","title","\u57FA\u672C",4,"templateRef"],["showcase","","component","prompts","key","disabled","doc","<p>\u8981\u5C06 prompt \u6807\u8BB0\u4E3A\u7981\u7528\uFF0C\u8BF7\u5411 prompt \u6DFB\u52A0 <code>disabled</code> \u5C5E\u6027\u3002</p>","title","\u4E0D\u53EF\u7528\u72B6\u6001",4,"templateRef"],["showcase","","component","prompts","key","vertical","doc","<p>\u4F7F\u7528 <code>vertical</code> \u5C5E\u6027\uFF0C\u63A7\u5236 Prompts \u5C55\u793A\u65B9\u5411\u3002</p>","title","\u7EB5\u5411\u5C55\u793A",4,"templateRef"],["showcase","","component","prompts","key","wrap","doc","<p>\u4F7F\u7528 <code>wrap</code> \u5C5E\u6027\uFF0C\u63A7\u5236 Prompts \u8D85\u51FA\u533A\u57DF\u957F\u5EA6\u65F6\u662F\u5426\u53EF\u4EE5\u6362\u884C\u3002</p>","title","\u53EF\u6362\u884C",4,"templateRef"],["showcase","","component","prompts","key","nest","doc","<p>\u5D4C\u5957\u7EC4\u5408\u3002</p>","title","\u5D4C\u5957\u7EC4\u5408",4,"templateRef"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nx-prompts"],["onclick","window.location.hash = 'nx-prompts'",1,"anchor"],["id","interfaces"],["onclick","window.location.hash = 'interfaces'",1,"anchor"],["id","nxprompt"],["onclick","window.location.hash = 'nxprompt'",1,"anchor"],["showcase","","component","prompts","key","basic","doc","<p>\u57FA\u7840\u7528\u6CD5\u3002</p>","title","\u57FA\u672C"],["showcase","","component","prompts","key","disabled","doc","<p>\u8981\u5C06 prompt \u6807\u8BB0\u4E3A\u7981\u7528\uFF0C\u8BF7\u5411 prompt \u6DFB\u52A0 <code>disabled</code> \u5C5E\u6027\u3002</p>","title","\u4E0D\u53EF\u7528\u72B6\u6001"],["showcase","","component","prompts","key","vertical","doc","<p>\u4F7F\u7528 <code>vertical</code> \u5C5E\u6027\uFF0C\u63A7\u5236 Prompts \u5C55\u793A\u65B9\u5411\u3002</p>","title","\u7EB5\u5411\u5C55\u793A"],["showcase","","component","prompts","key","wrap","doc","<p>\u4F7F\u7528 <code>wrap</code> \u5C5E\u6027\uFF0C\u63A7\u5236 Prompts \u8D85\u51FA\u533A\u57DF\u957F\u5EA6\u65F6\u662F\u5426\u53EF\u4EE5\u6362\u884C\u3002</p>","title","\u53EF\u6362\u884C"],["showcase","","component","prompts","key","nest","doc","<p>\u5D4C\u5957\u7EC4\u5408\u3002</p>","title","\u5D4C\u5957\u7EC4\u5408"]],template:function(o,p){o&1&&(e(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),d("nzClick",function(f){return p.goLink(f)}),r(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),t()(),e(11,"section",10)(12,"h1"),n(13," Prompts "),e(14,"span",11),n(15,"\u63D0\u793A\u96C6"),t()(),r(16,"component-meta",12),e(17,"section",10)(18,"h2",13)(19,"span"),n(20,"\u4F55\u65F6\u4F7F\u7528"),t(),e(21,"a",14),n(22,"#"),t()(),e(23,"p"),n(24,"Prompts \u7EC4\u4EF6\u7528\u4E8E\u663E\u793A\u4E00\u7EC4\u4E0E\u5F53\u524D\u4E0A\u4E0B\u6587\u76F8\u5173\u7684\u9884\u5B9A\u4E49\u7684\u95EE\u9898\u6216\u5EFA\u8BAE\u3002"),t()(),e(25,"h2",15)(26,"span"),n(27,"\u4EE3\u7801\u6F14\u793A"),t(),e(28,"nz-icon",16),d("click",function(){return p.expandAllCode()}),t(),e(29,"a",17),n(30,"#"),t()()(),e(31,"demo-wrapper",18),P(32,J,1,0,"nx-demo-prompts-basic",19)(33,K,1,0,"nx-demo-prompts-disabled",20)(34,$,1,0,"nx-demo-prompts-vertical",21)(35,ee,1,0,"nx-demo-prompts-wrap",22)(36,te,1,0,"nx-demo-prompts-nest",23),t(),e(37,"section",24),N(),e(38,"h2",25)(39,"span"),n(40,"API"),t(),e(41,"a",26),n(42,"#"),t()(),e(43,"h3",27)(44,"span"),n(45,"nx-prompts"),t(),e(46,"a",28),n(47,"#"),t()(),e(48,"table")(49,"thead")(50,"tr")(51,"th"),n(52,"Property"),t(),e(53,"th"),n(54,"Description"),t(),e(55,"th"),n(56,"Type"),t(),e(57,"th"),n(58,"Default"),t()()(),e(59,"tbody")(60,"tr")(61,"td")(62,"code"),n(63,"[items]"),t()(),e(64,"td"),n(65,"\u5305\u542B\u591A\u4E2A\u63D0\u793A\u9879\u7684\u5217\u8868"),t(),e(66,"td")(67,"code"),n(68,"NxPrompt[]"),t()(),e(69,"td"),n(70,"-"),t()(),e(71,"tr")(72,"td")(73,"code"),n(74,"[title]"),t()(),e(75,"td"),n(76,"\u663E\u793A\u5728\u63D0\u793A\u5217\u8868\u9876\u90E8\u7684\u6807\u9898"),t(),e(77,"td")(78,"code"),n(79,"string"),t()(),e(80,"td"),n(81,"-"),t()(),e(82,"tr")(83,"td")(84,"code"),n(85,"[vertical]"),t()(),e(86,"td"),n(87,"\u8BBE\u7F6E\u4E3A true \u65F6, \u63D0\u793A\u5217\u8868\u5C06\u5782\u76F4\u6392\u5217"),t(),e(88,"td")(89,"code"),n(90,"boolean"),t()(),e(91,"td")(92,"code"),n(93,"false"),t()()(),e(94,"tr")(95,"td")(96,"code"),n(97,"[wrap]"),t()(),e(98,"td"),n(99,"\u8BBE\u7F6E\u4E3A true \u65F6, \u63D0\u793A\u5217\u8868\u5C06\u81EA\u52A8\u6362\u884C"),t(),e(100,"td")(101,"code"),n(102,"boolean"),t()(),e(103,"td")(104,"code"),n(105,"false"),t()()(),e(106,"tr")(107,"td")(108,"code"),n(109,"(itemClick)"),t()(),e(110,"td"),n(111,"\u63D0\u793A\u9879\u88AB\u70B9\u51FB\u65F6\u7684\u56DE\u8C03\u51FD\u6570"),t(),e(112,"td")(113,"code"),n(114,"EventEmitter<{ data: NxPrompts }>"),t()(),e(115,"td"),n(116,"-"),t()()()(),e(117,"h3",29)(118,"span"),n(119,"interfaces"),t(),e(120,"a",30),n(121,"#"),t()(),e(122,"h4",31)(123,"span"),n(124,"NxPrompt"),t(),e(125,"a",32),n(126,"#"),t()(),e(127,"table")(128,"thead")(129,"tr")(130,"th"),n(131,"Property"),t(),e(132,"th"),n(133,"Description"),t(),e(134,"th"),n(135,"Type"),t(),e(136,"th"),n(137,"Default"),t()()(),e(138,"tbody")(139,"tr")(140,"td")(141,"code"),n(142,"key"),t()(),e(143,"td"),n(144,"\u552F\u4E00\u6807\u8BC6\u7528\u4E8E\u533A\u5206\u6BCF\u4E2A\u63D0\u793A\u9879"),t(),e(145,"td")(146,"code"),n(147,"string"),t()(),e(148,"td"),n(149,"-"),t()(),e(150,"tr")(151,"td")(152,"code"),n(153,"disabled"),t()(),e(154,"td"),n(155,"\u8BBE\u7F6E\u4E3A true \u65F6\u7981\u7528\u70B9\u51FB\u4E8B\u4EF6"),t(),e(156,"td")(157,"code"),n(158,"boolean"),t()(),e(159,"td")(160,"code"),n(161,"false"),t()()(),e(162,"tr")(163,"td")(164,"code"),n(165,"icon"),t()(),e(166,"td"),n(167,"\u63D0\u793A\u56FE\u6807\u663E\u793A\u5728\u63D0\u793A\u9879\u7684\u5DE6\u4FA7"),t(),e(168,"td")(169,"code"),n(170,"string"),t()(),e(171,"td"),n(172,"-"),t()(),e(173,"tr")(174,"td")(175,"code"),n(176,"label"),t()(),e(177,"td"),n(178,"\u63D0\u793A\u6807\u7B7E\u663E\u793A\u63D0\u793A\u7684\u4E3B\u8981\u5185\u5BB9"),t(),e(179,"td")(180,"code"),n(181,"string"),t()(),e(182,"td"),n(183,"-"),t()(),e(184,"tr")(185,"td")(186,"code"),n(187,"description"),t()(),e(188,"td"),n(189,"\u63D0\u793A\u63CF\u8FF0\u63D0\u4F9B\u989D\u5916\u7684\u4FE1\u606F"),t(),e(190,"td")(191,"code"),n(192,"string"),t()(),e(193,"td"),n(194,"-"),t()(),e(195,"tr")(196,"td")(197,"code"),n(198,"children"),t()(),e(199,"td"),n(200,"\u5D4C\u5957\u7684\u5B50\u63D0\u793A\u9879"),t(),e(201,"td")(202,"code"),n(203,"NxPrompts[]"),t()(),e(204,"td"),n(205,"-"),t()()()(),w(),t()()),o&2&&(x(),a("nzOffsetTop",16),x(),a("nzAffix",!1))},dependencies:[R,W,T,B,I,H,M,z,A,g,E,S,D,k,y],encapsulation:2})};function ne(i,m){i&1&&r(0,"nx-demo-prompts-basic",33)}function ie(i,m){i&1&&r(0,"nx-demo-prompts-disabled",34)}function oe(i,m){i&1&&r(0,"nx-demo-prompts-vertical",35)}function me(i,m){i&1&&r(0,"nx-demo-prompts-wrap",36)}function re(i,m){i&1&&r(0,"nx-demo-prompts-nest",37)}var L=class i{expanded=!1;codeBoxes;goLink(m){window&&(window.location.hash=m)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(m=>m.expandCode(this.expanded))}static \u0275fac=function(o){return new(o||i)};static \u0275cmp=l({type:i,selectors:[["nz-demo-prompts"]],viewQuery:function(o,p){if(o&1&&b(v,5),o&2){let s;F(s=_())&&(p.codeBoxes=s)}},decls:205,vars:2,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-prompts-demo-basic","nzTitle","Basic",1,"toc-indent-2"],["nzHref","#components-prompts-demo-disabled","nzTitle","Disabled",1,"toc-indent-2"],["nzHref","#components-prompts-demo-vertical","nzTitle","Vertical",1,"toc-indent-2"],["nzHref","#components-prompts-demo-wrap","nzTitle","Wrap",1,"toc-indent-2"],["nzHref","#components-prompts-demo-nest","nzTitle","Nest usage",1,"toc-indent-2"],["nzHref","#api","nzTitle","API",1,"toc-indent-1"],[1,"markdown"],[1,"subtitle"],["name","prompts","description","Display a predefined set of questions or suggestion.","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"],["cols","1"],["showcase","","component","prompts","key","basic","doc","<p>Basic usage.</p>","title","Basic",4,"templateRef"],["showcase","","component","prompts","key","disabled","doc","<p>To mark a prompt as disabled, add the <code>disabled</code> property to the prompt item.</p>","title","Disabled",4,"templateRef"],["showcase","","component","prompts","key","vertical","doc","<p>Use the <code>vertical</code> property to control the Prompts' display direction.</p>","title","Vertical",4,"templateRef"],["showcase","","component","prompts","key","wrap","doc","<p>Use the <code>wrap</code> attribute to control the layout of the Prompts.</p>","title","Wrap",4,"templateRef"],["showcase","","component","prompts","key","nest","doc","<p>Nest usage.</p>","title","Nest usage",4,"templateRef"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nx-prompts"],["onclick","window.location.hash = 'nx-prompts'",1,"anchor"],["id","interfaces"],["onclick","window.location.hash = 'interfaces'",1,"anchor"],["id","nxprompt"],["onclick","window.location.hash = 'nxprompt'",1,"anchor"],["showcase","","component","prompts","key","basic","doc","<p>Basic usage.</p>","title","Basic"],["showcase","","component","prompts","key","disabled","doc","<p>To mark a prompt as disabled, add the <code>disabled</code> property to the prompt item.</p>","title","Disabled"],["showcase","","component","prompts","key","vertical","doc","<p>Use the <code>vertical</code> property to control the Prompts' display direction.</p>","title","Vertical"],["showcase","","component","prompts","key","wrap","doc","<p>Use the <code>wrap</code> attribute to control the layout of the Prompts.</p>","title","Wrap"],["showcase","","component","prompts","key","nest","doc","<p>Nest usage.</p>","title","Nest usage"]],template:function(o,p){o&1&&(e(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),d("nzClick",function(f){return p.goLink(f)}),r(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),t()(),e(11,"section",10)(12,"h1"),n(13," Prompts "),r(14,"span",11),t(),r(15,"component-meta",12),e(16,"section",10)(17,"h2",13)(18,"span"),n(19,"When To Use"),t(),e(20,"a",14),n(21,"#"),t()(),e(22,"p"),n(23,"The Prompts component is used to display a predefined set of questions or suggestion that are relevant to the current context."),t()(),e(24,"h2",15)(25,"span"),n(26,"Examples"),t(),e(27,"nz-icon",16),d("click",function(){return p.expandAllCode()}),t(),e(28,"a",17),n(29,"#"),t()()(),e(30,"demo-wrapper",18),P(31,ne,1,0,"nx-demo-prompts-basic",19)(32,ie,1,0,"nx-demo-prompts-disabled",20)(33,oe,1,0,"nx-demo-prompts-vertical",21)(34,me,1,0,"nx-demo-prompts-wrap",22)(35,re,1,0,"nx-demo-prompts-nest",23),t(),e(36,"section",24),N(),e(37,"h2",25)(38,"span"),n(39,"API"),t(),e(40,"a",26),n(41,"#"),t()(),e(42,"h3",27)(43,"span"),n(44,"nx-prompts"),t(),e(45,"a",28),n(46,"#"),t()(),e(47,"table")(48,"thead")(49,"tr")(50,"th"),n(51,"Property"),t(),e(52,"th"),n(53,"Description"),t(),e(54,"th"),n(55,"Type"),t(),e(56,"th"),n(57,"Default"),t()()(),e(58,"tbody")(59,"tr")(60,"td")(61,"code"),n(62,"[items]"),t()(),e(63,"td"),n(64,"List containing multiple prompt items."),t(),e(65,"td")(66,"code"),n(67,"NxPrompt[]"),t()(),e(68,"td"),n(69,"-"),t()(),e(70,"tr")(71,"td")(72,"code"),n(73,"[title]"),t()(),e(74,"td"),n(75,"Title displayed at the top of the prompt list."),t(),e(76,"td")(77,"code"),n(78,"string"),t()(),e(79,"td"),n(80,"-"),t()(),e(81,"tr")(82,"td")(83,"code"),n(84,"[vertical]"),t()(),e(85,"td"),n(86,"When set to true, the Prompts will be arranged vertically."),t(),e(87,"td")(88,"code"),n(89,"boolean"),t()(),e(90,"td")(91,"code"),n(92,"false"),t()()(),e(93,"tr")(94,"td")(95,"code"),n(96,"[wrap]"),t()(),e(97,"td"),n(98,"When set to true, the Prompts will automatically wrap."),t(),e(99,"td")(100,"code"),n(101,"boolean"),t()(),e(102,"td")(103,"code"),n(104,"false"),t()()(),e(105,"tr")(106,"td")(107,"code"),n(108,"(itemClick)"),t()(),e(109,"td"),n(110,"Callback function when a prompt item is clicked."),t(),e(111,"td")(112,"code"),n(113,"EventEmitter<{ data: NxPrompts }>"),t()(),e(114,"td"),n(115,"-"),t()()()(),e(116,"h3",29)(117,"span"),n(118,"interfaces"),t(),e(119,"a",30),n(120,"#"),t()(),e(121,"h4",31)(122,"span"),n(123,"NxPrompt"),t(),e(124,"a",32),n(125,"#"),t()(),e(126,"table")(127,"thead")(128,"tr")(129,"th"),n(130,"Property"),t(),e(131,"th"),n(132,"Description"),t(),e(133,"th"),n(134,"Type"),t(),e(135,"th"),n(136,"Default"),t()()(),e(137,"tbody")(138,"tr")(139,"td")(140,"code"),n(141,"key"),t()(),e(142,"td"),n(143,"Unique identifier used to distinguish each prompt item."),t(),e(144,"td")(145,"code"),n(146,"string"),t()(),e(147,"td"),n(148,"-"),t()(),e(149,"tr")(150,"td")(151,"code"),n(152,"disabled"),t()(),e(153,"td"),n(154,"When set to true, click events are disabled."),t(),e(155,"td")(156,"code"),n(157,"boolean"),t()(),e(158,"td")(159,"code"),n(160,"false"),t()()(),e(161,"tr")(162,"td")(163,"code"),n(164,"icon"),t()(),e(165,"td"),n(166,"Prompt icon displayed on the left side of the prompt item."),t(),e(167,"td")(168,"code"),n(169,"string"),t()(),e(170,"td"),n(171,"-"),t()(),e(172,"tr")(173,"td")(174,"code"),n(175,"label"),t()(),e(176,"td"),n(177,"Prompt label displaying the main content of the prompt."),t(),e(178,"td")(179,"code"),n(180,"string"),t()(),e(181,"td"),n(182,"-"),t()(),e(183,"tr")(184,"td")(185,"code"),n(186,"description"),t()(),e(187,"td"),n(188,"Prompt description providing additional information."),t(),e(189,"td")(190,"code"),n(191,"string"),t()(),e(192,"td"),n(193,"-"),t()(),e(194,"tr")(195,"td")(196,"code"),n(197,"children"),t()(),e(198,"td"),n(199,"Nested child prompt items."),t(),e(200,"td")(201,"code"),n(202,"NxPrompts[]"),t()(),e(203,"td"),n(204,"-"),t()()()(),w(),t()()),o&2&&(x(),a("nzOffsetTop",16),x(),a("nzAffix",!1))},dependencies:[R,W,T,B,I,H,M,z,A,g,E,S,D,k,y],encapsulation:2})};var pe=[{path:"en",component:L},{path:"zh",component:Z}],Ve=pe;export{Ve as default};