-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchunk-PZ64ZVNG.js
More file actions
1 lines (1 loc) · 14.1 KB
/
chunk-PZ64ZVNG.js
File metadata and controls
1 lines (1 loc) · 14.1 KB
1
import{b as k,c as B,d as M,e as I,h as R,i as V,m as Q,n as H}from"./chunk-2VB5JCDE.js";import{b as pe,c as se}from"./chunk-TNXZVDJM.js";import{b as ce,c as de}from"./chunk-EJLLX3NW.js";import{Ba as b,Na as ee,Qa as z,Sa as te,Wa as ne,Xa as ie,Ya as oe,Za as me,_a as ae,ab as le,bb as re,mc as W}from"./chunk-GU7FRFWB.js";import{$b as f,Ab as s,Bb as q,Gb as p,Nb as X,Ob as N,Pb as y,Ub as d,Uc as Y,Vb as e,Wb as t,Xb as l,Yc as j,ac as E,bd as _,eb as $,gc as C,ha as U,ib as r,jc as u,nc as F,oc as A,pc as T,qa as v,ra as D,tc as J,xc as K,yc as n,zc as h}from"./chunk-GUHHCQYK.js";import"./chunk-OW75ZOQB.js";function fe(i,m){if(i&1&&l(0,"img",6),i&2){let o=u();d("src",o,$)}}function Ee(i,m){if(i&1&&(f(0),n(1),E()),i&2){let o=u(2);r(),h(o)}}function Ce(i,m){if(i&1&&p(0,Ee,2,1,"ng-container",5),i&2){let o=u();d("nzStringTemplateOutlet",o)}}function he(i,m){if(i&1&&N(0,fe,1,1,"img",6)(1,Ce,1,1,"ng-container"),i&2){let o=u();y(o.isImage()?0:1)}}function _e(i,m){if(i&1&&(f(0),n(1),E()),i&2){let o=m.$implicit;r(),h(o)}}function ze(i,m){if(i&1&&(f(0),n(1),E()),i&2){let o=m.$implicit;r(),h(o)}}function Se(i,m){if(i&1&&(e(0,"div",2)(1,"h4",3),p(2,_e,2,1,"ng-container",5),t(),e(3,"div",7),p(4,ze,2,1,"ng-container",5),t()()),i&2){let o=u();r(2),d("nzStringTemplateOutlet",o.title()),r(2),d("nzStringTemplateOutlet",o.extra())}}function we(i,m){if(i&1&&(f(0),n(1),E()),i&2){let o=m.$implicit;r(),h(o)}}function ge(i,m){if(i&1&&(e(0,"h4",3),p(1,we,2,1,"ng-container",5),t()),i&2){let o=u();r(),d("nzStringTemplateOutlet",o.title())}}function ve(i,m){if(i&1&&(f(0),n(1),E()),i&2){let o=m.$implicit;r(),h(o)}}var g=(()=>{class i{icon=_(null);title=_(null);description=_(null);extra=_(null);variant=_("filled");isImage=j(()=>{let o=this.icon();return typeof o=="string"&&o.startsWith("http")});class=j(()=>{let o=this.variant();return{"ant-welcome":!0,"ant-welcome-fill":o==="filled","ant-welcome-borderless":o==="borderless"}});static \u0275fac=function(a){return new(a||i)};static \u0275cmp=s({type:i,selectors:[["nx-welcome"]],hostVars:3,hostBindings:function(a,c){a&2&&(X("title",null),K(c.class()))},inputs:{icon:[1,"icon"],title:[1,"title"],description:[1,"description"],extra:[1,"extra"],variant:[1,"variant"]},exportAs:["nxWelcome"],decls:7,vars:3,consts:[[1,"ant-welcome-icon"],["nz-flex","","nzVertical","","nzGap","small",1,"ant-welcome-content-wrapper"],["nz-flex","","nzJustify","space-between",1,"ant-welcome-title-wrapper"],["nz-typography","",1,"ant-welcome-title"],["nz-typography","",1,"ant-welcome-description"],[4,"nzStringTemplateOutlet"],["alt","icon",3,"src"],[1,"ant-welcome-extra"]],template:function(a,c){if(a&1&&(e(0,"div",0),N(1,he,2,1),t(),e(2,"div",1),N(3,Se,5,2,"div",2)(4,ge,2,1,"h4",3),e(5,"span",4),p(6,ve,2,1,"ng-container",5),t()()),a&2){let x;r(),y((x=c.icon())?1:-1,x),r(2),y(c.extra()?3:4),r(3),d("nzStringTemplateOutlet",c.description())}},dependencies:[de,ce,se,pe,ee],encapsulation:2,changeDetection:0})}return i})(),P=(()=>{class i{static \u0275fac=function(a){return new(a||i)};static \u0275mod=q({type:i});static \u0275inj=U({imports:[g]})}return i})();var S=class i{static \u0275fac=function(o){return new(o||i)};static \u0275cmp=s({type:i,selectors:[["nx-demo-welcome-basic"]],decls:1,vars:0,consts:[["icon","https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*s5sNRo5LjfQAAAAAAAAAAAAADgCCAQ/fmt.webp","title","Hello, I'm Nx AntX","description","Base on Ant Design, AGI product interface solution, create a better intelligent vision~"]],template:function(o,a){o&1&&l(0,"nx-welcome",0)},dependencies:[P,g],encapsulation:2})};function De(i,m){i&1&&(e(0,"button",3),l(1,"nz-icon",4),t())}function Ne(i,m){i&1&&(e(0,"button",3),l(1,"nz-icon",5),t())}function ye(i,m){i&1&&(e(0,"nz-space"),p(1,De,2,0,"button",2)(2,Ne,2,0,"button",2),t())}var w=class i{static \u0275fac=function(o){return new(o||i)};static \u0275cmp=s({type:i,selectors:[["nx-demo-welcome-variant"]],decls:3,vars:1,consts:[["extra",""],["icon","https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*s5sNRo5LjfQAAAAAAAAAAAAADgCCAQ/fmt.webp","title","Hello, I'm Nx AntX","variant","borderless","description","Base on Ant Design, AGI product interface solution, create a better intelligent vision~",3,"extra"],["nz-button","","nzSize","small",4,"nzSpaceItem"],["nz-button","","nzSize","small"],["nzType","share-alt","nzTheme","outline"],["nzType","ellipsis","nzTheme","outline"]],template:function(o,a){if(o&1&&(l(0,"nx-welcome",1),p(1,ye,3,0,"ng-template",null,0,Y)),o&2){let c=J(2);d("extra",c)}},dependencies:[P,g,oe,ie,ne,re,le,me,ae,te,z],encapsulation:2})};function ke(i,m){i&1&&l(0,"nx-demo-welcome-basic",23)}function Be(i,m){i&1&&l(0,"nx-demo-welcome-variant",24)}var O=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=s({type:i,selectors:[["nz-demo-welcome"]],viewQuery:function(o,a){if(o&1&&F(k,5),o&2){let c;A(c=T())&&(a.codeBoxes=c)}},decls:122,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-welcome-demo-basic","nzTitle","\u57FA\u672C",1,"toc-indent-2"],["nzHref","#components-welcome-demo-variant","nzTitle","\u53D8\u4F53",1,"toc-indent-2"],["nzHref","#api","nzTitle","API",1,"toc-indent-1"],[1,"markdown"],[1,"subtitle"],["name","welcome","description","\u6E05\u6670\u4F20\u8FBE\u7ED9\u7528\u6237\u53EF\u5B9E\u73B0\u7684\u610F\u56FE\u8303\u56F4\u548C\u9884\u671F\u529F\u80FD\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","welcome","key","basic","doc","<p>\u57FA\u7840\u7528\u6CD5\u3002</p>","title","\u57FA\u672C",4,"templateRef"],["showcase","","component","welcome","key","variant","doc","<p>\u901A\u8FC7 <code>variant</code> \u5C5E\u6027\u8BBE\u7F6E\u6837\u5F0F\u53D8\u4F53\u3002</p>","title","\u53D8\u4F53",4,"templateRef"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nx-welcome"],["onclick","window.location.hash = 'nx-welcome'",1,"anchor"],["showcase","","component","welcome","key","basic","doc","<p>\u57FA\u7840\u7528\u6CD5\u3002</p>","title","\u57FA\u672C"],["showcase","","component","welcome","key","variant","doc","<p>\u901A\u8FC7 <code>variant</code> \u5C5E\u6027\u8BBE\u7F6E\u6837\u5F0F\u53D8\u4F53\u3002</p>","title","\u53D8\u4F53"]],template:function(o,a){o&1&&(e(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),C("nzClick",function(x){return a.goLink(x)}),l(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6),t()(),e(8,"section",7)(9,"h1"),n(10," Welcome "),e(11,"span",8),n(12,"\u6B22\u8FCE"),t()(),l(13,"component-meta",9),e(14,"section",7)(15,"h2",10)(16,"span"),n(17,"\u4F55\u65F6\u4F7F\u7528"),t(),e(18,"a",11),n(19,"#"),t()(),e(20,"p"),n(21,"\u4F7F\u7528\u5408\u9002\u7684\u6B22\u8FCE\u63A8\u8350\u7EC4\u4EF6\uFF0C\u53EF\u4EE5\u6709\u6548\u964D\u4F4E\u7528\u6237\u5B66\u4E60\u6210\u672C\uFF0C\u8BA9\u7528\u6237\u5FEB\u901F\u4E86\u89E3\u5E76\u987A\u5229\u5F00\u59CB\u3002"),t()(),e(22,"h2",12)(23,"span"),n(24,"\u4EE3\u7801\u6F14\u793A"),t(),e(25,"nz-icon",13),C("click",function(){return a.expandAllCode()}),t(),e(26,"a",14),n(27,"#"),t()()(),e(28,"demo-wrapper",15),p(29,ke,1,0,"nx-demo-welcome-basic",16)(30,Be,1,0,"nx-demo-welcome-variant",17),t(),e(31,"section",18),D(),e(32,"h2",19)(33,"span"),n(34,"API"),t(),e(35,"a",20),n(36,"#"),t()(),e(37,"h3",21)(38,"span"),n(39,"nx-welcome"),t(),e(40,"a",22),n(41,"#"),t()(),e(42,"table")(43,"thead")(44,"tr")(45,"th"),n(46,"\u53C2\u6570"),t(),e(47,"th"),n(48,"\u8BF4\u660E"),t(),e(49,"th"),n(50,"\u7C7B\u578B"),t(),e(51,"th"),n(52,"\u9ED8\u8BA4\u503C"),t(),e(53,"th"),n(54,"\u5168\u5C40\u914D\u7F6E"),t()()(),e(55,"tbody")(56,"tr")(57,"td")(58,"code"),n(59,"[icon]"),t()(),e(60,"td"),n(61,"\u663E\u793A\u5728\u63D0\u793A\u5217\u8868\u524D\u4FA7\u7684\u56FE\u6807"),t(),e(62,"td")(63,"code"),n(64,"string"),t()(),e(65,"td"),n(66,"-"),t(),e(67,"td"),n(68,"-"),t()(),e(69,"tr")(70,"td")(71,"code"),n(72,"[title]"),t()(),e(73,"td"),n(74,"\u663E\u793A\u5728\u63D0\u793A\u5217\u8868\u9876\u90E8\u7684\u6807\u9898"),t(),e(75,"td")(76,"code"),n(77,"TemplateRef<void> | string"),t()(),e(78,"td"),n(79,"-"),t(),e(80,"td"),n(81,"-"),t()(),e(82,"tr")(83,"td")(84,"code"),n(85,"[description]"),t()(),e(86,"td"),n(87,"\u663E\u793A\u5728\u63D0\u793A\u5217\u8868\u4E2D\u7684\u63CF\u8FF0"),t(),e(88,"td")(89,"code"),n(90,"TemplateRef<void> | string"),t()(),e(91,"td"),n(92,"-"),t(),e(93,"td"),n(94,"-"),t()(),e(95,"tr")(96,"td")(97,"code"),n(98,"[extra]"),t()(),e(99,"td"),n(100,"\u663E\u793A\u5728\u63D0\u793A\u5217\u8868\u672B\u5C3E\u7684\u989D\u5916\u64CD\u4F5C"),t(),e(101,"td")(102,"code"),n(103,"TemplateRef<void> | string"),t()(),e(104,"td"),n(105,"-"),t(),e(106,"td"),n(107,"-"),t()(),e(108,"tr")(109,"td")(110,"code"),n(111,"[variant]"),t()(),e(112,"td"),n(113,"\u53D8\u4F53\u7C7B\u578B"),t(),e(114,"td")(115,"code"),n(116,"filled | borderless"),t()(),e(117,"td")(118,"code"),n(119,"filled"),t()(),e(120,"td"),n(121,"-"),t()()()(),v(),t()()),o&2&&(r(),d("nzOffsetTop",16),r(),d("nzAffix",!1))},dependencies:[H,Q,M,B,I,R,V,b,W,z,S,w],encapsulation:2})};function Me(i,m){i&1&&l(0,"nx-demo-welcome-basic",23)}function Ie(i,m){i&1&&l(0,"nx-demo-welcome-variant",24)}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=s({type:i,selectors:[["nz-demo-welcome"]],viewQuery:function(o,a){if(o&1&&F(k,5),o&2){let c;A(c=T())&&(a.codeBoxes=c)}},decls:121,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-welcome-demo-basic","nzTitle","Basic",1,"toc-indent-2"],["nzHref","#components-welcome-demo-variant","nzTitle","Variant",1,"toc-indent-2"],["nzHref","#api","nzTitle","API",1,"toc-indent-1"],[1,"markdown"],[1,"subtitle"],["name","welcome","description","Clearly convey the scope of intent and expected functionality to the user.","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","welcome","key","basic","doc","<p>Basic usage.</p>","title","Basic",4,"templateRef"],["showcase","","component","welcome","key","variant","doc","<p>Set the style variant through the <code>variant</code> property.</p>","title","Variant",4,"templateRef"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nx-welcome"],["onclick","window.location.hash = 'nx-welcome'",1,"anchor"],["showcase","","component","welcome","key","basic","doc","<p>Basic usage.</p>","title","Basic"],["showcase","","component","welcome","key","variant","doc","<p>Set the style variant through the <code>variant</code> property.</p>","title","Variant"]],template:function(o,a){o&1&&(e(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),C("nzClick",function(x){return a.goLink(x)}),l(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6),t()(),e(8,"section",7)(9,"h1"),n(10," Welcome "),l(11,"span",8),t(),l(12,"component-meta",9),e(13,"section",7)(14,"h2",10)(15,"span"),n(16,"When To Use"),t(),e(17,"a",11),n(18,"#"),t()(),e(19,"p"),n(20,"Use the appropriate welcome recommendation component to effectively reduce the user's learning cost and allow the user to quickly understand and start smoothly."),t()(),e(21,"h2",12)(22,"span"),n(23,"Examples"),t(),e(24,"nz-icon",13),C("click",function(){return a.expandAllCode()}),t(),e(25,"a",14),n(26,"#"),t()()(),e(27,"demo-wrapper",15),p(28,Me,1,0,"nx-demo-welcome-basic",16)(29,Ie,1,0,"nx-demo-welcome-variant",17),t(),e(30,"section",18),D(),e(31,"h2",19)(32,"span"),n(33,"API"),t(),e(34,"a",20),n(35,"#"),t()(),e(36,"h3",21)(37,"span"),n(38,"nx-welcome"),t(),e(39,"a",22),n(40,"#"),t()(),e(41,"table")(42,"thead")(43,"tr")(44,"th"),n(45,"Property"),t(),e(46,"th"),n(47,"Description"),t(),e(48,"th"),n(49,"Type"),t(),e(50,"th"),n(51,"Default"),t(),e(52,"th"),n(53,"Global Config"),t()()(),e(54,"tbody")(55,"tr")(56,"td")(57,"code"),n(58,"[icon]"),t()(),e(59,"td"),n(60,"The icon displayed on the front side of the prompt list"),t(),e(61,"td")(62,"code"),n(63,"string"),t()(),e(64,"td"),n(65,"-"),t(),e(66,"td"),n(67,"-"),t()(),e(68,"tr")(69,"td")(70,"code"),n(71,"[title]"),t()(),e(72,"td"),n(73,"The title displayed at the top of the prompt list"),t(),e(74,"td")(75,"code"),n(76,"TemplateRef<void> | string"),t()(),e(77,"td"),n(78,"-"),t(),e(79,"td"),n(80,"-"),t()(),e(81,"tr")(82,"td")(83,"code"),n(84,"[description]"),t()(),e(85,"td"),n(86,"The description displayed in the prompt list"),t(),e(87,"td")(88,"code"),n(89,"TemplateRef<void> | string"),t()(),e(90,"td"),n(91,"-"),t(),e(92,"td"),n(93,"-"),t()(),e(94,"tr")(95,"td")(96,"code"),n(97,"[extra]"),t()(),e(98,"td"),n(99,"The extra operation displayed at the end of the prompt list"),t(),e(100,"td")(101,"code"),n(102,"TemplateRef<void> | string"),t()(),e(103,"td"),n(104,"-"),t(),e(105,"td"),n(106,"-"),t()(),e(107,"tr")(108,"td")(109,"code"),n(110,"[variant]"),t()(),e(111,"td"),n(112,"Variant type"),t(),e(113,"td")(114,"code"),n(115,"filled | borderless"),t()(),e(116,"td")(117,"code"),n(118,"filled"),t()(),e(119,"td"),n(120,"-"),t()()()(),v(),t()()),o&2&&(r(),d("nzOffsetTop",16),r(),d("nzAffix",!1))},dependencies:[H,Q,M,B,I,R,V,b,W,z,S,w],encapsulation:2})};var Re=[{path:"en",component:Z},{path:"zh",component:O}],Ct=Re;export{Ct as default};