-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchunk-XJYWYG3V.js
1 lines (1 loc) · 11.4 KB
/
chunk-XJYWYG3V.js
1
import{a,b as A}from"./chunk-QZ7N5CDX.js";import"./chunk-FFGJMO62.js";import"./chunk-XRBZUWDJ.js";import{o as B,q as y,r as T,t as g}from"./chunk-LJRBPGSW.js";import"./chunk-JYBRZQRP.js";import{Da as o,Ea as l,Fa as i,I as d,Ka as D,Qb as C,Ua as p,ca as n,la as m,ma as E,va as u,za as F}from"./chunk-UJIEDWPF.js";var v=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=m({type:e,selectors:[["nel-demo-alert-basic"]],standalone:!1,decls:4,vars:8,consts:[[3,"nelTitle","nelType"]],template:function(t,s){t&1&&i(0,"nel-alert",0)(1,"nel-alert",0)(2,"nel-alert",0)(3,"nel-alert",0),t&2&&(u("nelTitle","\u6210\u529F\u63D0\u793A\u7684\u6587\u6848")("nelType","success"),n(),u("nelTitle","\u6D88\u606F\u63D0\u793A\u7684\u6587\u6848")("nelType","info"),n(),u("nelTitle","\u8B66\u544A\u63D0\u793A\u7684\u6587\u6848")("nelType","warning"),n(),u("nelTitle","\u9519\u8BEF\u63D0\u793A\u7684\u6587\u6848")("nelType","error"))},dependencies:[a],styles:["nel-alert[_ngcontent-%COMP%]:first-child{margin:0}nel-alert[_ngcontent-%COMP%]{margin:20px 0 0}"]})}}return e})();var h=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=m({type:e,selectors:[["nel-demo-alert-effect"]],standalone:!1,decls:4,vars:12,consts:[[3,"nelTitle","nelType","nelEffect"]],template:function(t,s){t&1&&i(0,"nel-alert",0)(1,"nel-alert",0)(2,"nel-alert",0)(3,"nel-alert",0),t&2&&(u("nelTitle","\u6210\u529F\u63D0\u793A\u7684\u6587\u6848")("nelType","success")("nelEffect","dark"),n(),u("nelTitle","\u6D88\u606F\u63D0\u793A\u7684\u6587\u6848")("nelType","info")("nelEffect","dark"),n(),u("nelTitle","\u8B66\u544A\u63D0\u793A\u7684\u6587\u6848")("nelType","warning")("nelEffect","dark"),n(),u("nelTitle","\u9519\u8BEF\u63D0\u793A\u7684\u6587\u6848")("nelType","error")("nelEffect","dark"))},dependencies:[a],styles:["nel-alert[_ngcontent-%COMP%]:first-child{margin:0}nel-alert[_ngcontent-%COMP%]{margin:20px 0 0}"]})}}return e})();var x=(()=>{class e{hello(){alert("Hello World!")}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=m({type:e,selectors:[["nel-demo-alert-close"]],standalone:!1,decls:3,vars:8,consts:[[3,"nelTitle","nelType","nelClosable"],[3,"nelTitle","nelType","nelCloseText"],[3,"nelOnClose","nelTitle","nelType"]],template:function(t,s){t&1&&(i(0,"nel-alert",0)(1,"nel-alert",1),o(2,"nel-alert",2),D("nelOnClose",function(){return s.hello()}),l()),t&2&&(u("nelTitle","\u4E0D\u53EF\u5173\u95ED\u7684 alert")("nelType","success")("nelClosable",!1),n(),u("nelTitle","\u81EA\u5B9A\u4E49 close-text")("nelType","info")("nelCloseText","\u77E5\u9053\u4E86"),n(),u("nelTitle","\u8BBE\u7F6E\u4E86\u56DE\u8C03\u7684 alert")("nelType","warning"))},dependencies:[a],styles:["nel-alert[_ngcontent-%COMP%]:first-child{margin:0}nel-alert[_ngcontent-%COMP%]{margin:20px 0 0}"]})}}return e})();var M=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=m({type:e,selectors:[["nel-demo-alert-icon"]],standalone:!1,decls:4,vars:8,consts:[["nelShowIcon","",3,"nelTitle","nelType"]],template:function(t,s){t&1&&i(0,"nel-alert",0)(1,"nel-alert",0)(2,"nel-alert",0)(3,"nel-alert",0),t&2&&(u("nelTitle","\u6210\u529F\u63D0\u793A\u7684\u6587\u6848")("nelType","success"),n(),u("nelTitle","\u6D88\u606F\u63D0\u793A\u7684\u6587\u6848")("nelType","info"),n(),u("nelTitle","\u8B66\u544A\u63D0\u793A\u7684\u6587\u6848")("nelType","warning"),n(),u("nelTitle","\u9519\u8BEF\u63D0\u793A\u7684\u6587\u6848")("nelType","error"))},dependencies:[a],styles:["nel-alert[_ngcontent-%COMP%]:first-child{margin:0}nel-alert[_ngcontent-%COMP%]{margin:20px 0 0}"]})}}return e})();var N=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=m({type:e,selectors:[["nel-demo-alert-center"]],standalone:!1,decls:4,vars:8,consts:[["nelShowIcon","","nelCenter","",3,"nelTitle","nelType"]],template:function(t,s){t&1&&i(0,"nel-alert",0)(1,"nel-alert",0)(2,"nel-alert",0)(3,"nel-alert",0),t&2&&(u("nelTitle","\u6210\u529F\u63D0\u793A\u7684\u6587\u6848")("nelType","success"),n(),u("nelTitle","\u6D88\u606F\u63D0\u793A\u7684\u6587\u6848")("nelType","info"),n(),u("nelTitle","\u8B66\u544A\u63D0\u793A\u7684\u6587\u6848")("nelType","warning"),n(),u("nelTitle","\u9519\u8BEF\u63D0\u793A\u7684\u6587\u6848")("nelType","error"))},dependencies:[a],styles:["nel-alert[_ngcontent-%COMP%]:first-child{margin:0}nel-alert[_ngcontent-%COMP%]{margin:20px 0 0}"]})}}return e})();var S=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=m({type:e,selectors:[["nel-demo-alert-description"]],standalone:!1,decls:1,vars:3,consts:[[3,"nelTitle","nelType","nelDescription"]],template:function(t,s){t&1&&i(0,"nel-alert",0),t&2&&u("nelTitle","\u5E26\u8F85\u52A9\u6027\u6587\u5B57\u4ECB\u7ECD")("nelType","success")("nelDescription","\u8FD9\u662F\u4E00\u53E5\u7ED5\u53E3\u4EE4\uFF1A\u9ED1\u7070\u5316\u80A5\u4F1A\u6325\u53D1\u53D1\u7070\u9ED1\u5316\u80A5\u6325\u53D1\uFF1B\u7070\u9ED1\u5316\u80A5\u4F1A\u6325\u53D1\u53D1\u9ED1\u7070\u5316\u80A5\u53D1\u6325\u3002 \u9ED1\u7070\u5316\u80A5\u4F1A\u6325\u53D1\u53D1\u7070\u9ED1\u5316\u80A5\u9ED1\u7070\u6325\u53D1\u5316\u4E3A\u7070\u2026\u2026")},dependencies:[a],styles:["nel-alert[_ngcontent-%COMP%]:first-child{margin:0}nel-alert[_ngcontent-%COMP%]{margin:20px 0 0}"]})}}return e})();var w=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=m({type:e,selectors:[["nel-demo-alert-icon-description"]],standalone:!1,decls:4,vars:12,consts:[["nelShowIcon","",3,"nelTitle","nelType","nelDescription"]],template:function(t,s){t&1&&i(0,"nel-alert",0)(1,"nel-alert",0)(2,"nel-alert",0)(3,"nel-alert",0),t&2&&(u("nelTitle","\u6210\u529F\u63D0\u793A\u7684\u6587\u6848")("nelType","success")("nelDescription","\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E"),n(),u("nelTitle","\u6D88\u606F\u63D0\u793A\u7684\u6587\u6848")("nelType","info")("nelDescription","\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E"),n(),u("nelTitle","\u8B66\u544A\u63D0\u793A\u7684\u6587\u6848")("nelType","warning")("nelDescription","\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E"),n(),u("nelTitle","\u9519\u8BEF\u63D0\u793A\u7684\u6587\u6848")("nelType","error")("nelDescription","\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E\u6587\u5B57\u8BF4\u660E"))},dependencies:[a],styles:["nel-alert[_ngcontent-%COMP%]:first-child{margin:0}nel-alert[_ngcontent-%COMP%]{margin:20px 0 0}"]})}}return e})();var O=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=E({type:e})}static{this.\u0275inj=d({imports:[A]})}}return e})();var _=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=m({type:e,selectors:[["app-alert"]],hostVars:2,hostBindings:function(t,s){t&2&&F("article")},standalone:!1,decls:46,vars:8,consts:[["code","import { NelAlertModule } from 'ng-element-ui/alert';"],["notes","Alert \u7EC4\u4EF6\u63D0\u4F9B\u56DB\u79CD\u4E3B\u9898\uFF0C\u7531nelType\u5C5E\u6027\u6307\u5B9A\uFF0C\u9ED8\u8BA4\u503C\u4E3Ainfo\u3002",3,"codeUrl"],["demo",""],["notes","\u901A\u8FC7\u8BBE\u7F6EnelEffect\u5C5E\u6027\u6765\u6539\u53D8\u4E3B\u9898\uFF0C\u9ED8\u8BA4\u4E3Alight\u3002",3,"codeUrl"],["notes","\u5728 Alert \u7EC4\u4EF6\u4E2D\uFF0C\u4F60\u53EF\u4EE5\u8BBE\u7F6E\u662F\u5426\u53EF\u5173\u95ED\uFF0C\u5173\u95ED\u6309\u94AE\u7684\u6587\u672C\u4EE5\u53CA\u5173\u95ED\u65F6\u7684\u56DE\u8C03\u51FD\u6570\u3002nelClosable\u5C5E\u6027\u51B3\u5B9A\u662F\u5426\u53EF\u5173\u95ED\uFF0C\u63A5\u53D7boolean\uFF0C\u9ED8\u8BA4\u4E3Atrue\u3002\u4F60\u53EF\u4EE5\u8BBE\u7F6EnelCloseText\u5C5E\u6027\u6765\u4EE3\u66FF\u53F3\u4FA7\u7684\u5173\u95ED\u56FE\u6807\uFF0C\u6CE8\u610F\uFF1AnelCloseText\u5FC5\u987B\u4E3A\u6587\u672C\u3002\u8BBE\u7F6EnelOnClose\u4E8B\u4EF6\u6765\u8BBE\u7F6E\u5173\u95ED\u65F6\u7684\u56DE\u8C03\u3002",3,"codeUrl"],["notes","\u901A\u8FC7\u8BBE\u7F6EnelShowIcon\u5C5E\u6027\u6765\u663E\u793A Alert \u7684 icon\uFF0C\u8FD9\u80FD\u66F4\u6709\u6548\u5730\u5411\u7528\u6237\u5C55\u793A\u4F60\u7684\u663E\u793A\u610F\u56FE\u3002",3,"codeUrl"],[3,"codeUrl"],["notes","\u9664\u4E86\u5FC5\u586B\u7684nelTitle\u5C5E\u6027\u5916\uFF0C\u4F60\u53EF\u4EE5\u8BBE\u7F6EnelDescription\u5C5E\u6027\u6765\u5E2E\u52A9\u4F60\u66F4\u597D\u5730\u4ECB\u7ECD\uFF0C\u6211\u4EEC\u79F0\u4E4B\u4E3A\u8F85\u52A9\u6027\u6587\u5B57\u3002\u8F85\u52A9\u6027\u6587\u5B57\u53EA\u80FD\u5B58\u653E\u5355\u884C\u6587\u672C\uFF0C\u4F1A\u81EA\u52A8\u6362\u884C\u663E\u793A\u3002",3,"codeUrl"],["notes","\u6700\u540E\uFF0C\u8FD9\u662F\u4E00\u4E2A\u540C\u65F6\u5177\u6709 icon \u548C\u8F85\u52A9\u6027\u6587\u5B57\u7684\u6837\u4F8B\u3002",3,"codeUrl"],[3,"docUrl"]],template:function(t,s){t&1&&(o(0,"h2"),p(1,"Alert \u8B66\u544A"),l(),o(2,"p"),p(3,"\u7528\u4E8E\u9875\u9762\u4E2D\u5C55\u793A\u91CD\u8981\u7684\u63D0\u793A\u4FE1\u606F\u3002"),l(),i(4,"app-code",0),o(5,"h3"),p(6,"\u57FA\u672C\u7528\u6CD5"),l(),o(7,"p"),p(8,"\u9875\u9762\u4E2D\u7684\u975E\u6D6E\u5C42\u5143\u7D20\uFF0C\u4E0D\u4F1A\u81EA\u52A8\u6D88\u5931\u3002"),l(),o(9,"app-demo",1),i(10,"nel-demo-alert-basic",2),l(),o(11,"h3"),p(12,"\u4E3B\u9898"),l(),o(13,"p"),p(14,"Alert \u7EC4\u4EF6\u63D0\u4F9B\u4E86\u4E24\u4E2A\u4E0D\u540C\u7684\u4E3B\u9898\uFF1Alight\u548Cdark\u3002"),l(),o(15,"app-demo",3),i(16,"nel-demo-alert-effect",2),l(),o(17,"h3"),p(18,"\u81EA\u5B9A\u4E49\u5173\u95ED\u6309\u94AE"),l(),o(19,"p"),p(20,"\u81EA\u5B9A\u4E49\u5173\u95ED\u6309\u94AE\u4E3A\u6587\u5B57\u6216\u5176\u4ED6\u7B26\u53F7\u3002"),l(),o(21,"app-demo",4),i(22,"nel-demo-alert-close",2),l(),o(23,"h3"),p(24,"\u5E26\u6709 icon"),l(),o(25,"p"),p(26,"\u8868\u793A\u67D0\u79CD\u72B6\u6001\u65F6\u63D0\u5347\u53EF\u8BFB\u6027\u3002"),l(),o(27,"app-demo",5),i(28,"nel-demo-alert-icon",2),l(),o(29,"h3"),p(30,"\u6587\u5B57\u5C45\u4E2D"),l(),o(31,"p"),p(32,"\u4F7F\u7528 nelCenter \u5C5E\u6027\u8BA9\u6587\u5B57\u6C34\u5E73\u5C45\u4E2D\u3002"),l(),o(33,"app-demo",6),i(34,"nel-demo-alert-center",2),l(),o(35,"h3"),p(36,"\u5E26\u6709\u8F85\u52A9\u6027\u6587\u5B57\u4ECB\u7ECD"),l(),o(37,"p"),p(38,"\u5305\u542B\u6807\u9898\u548C\u5185\u5BB9\uFF0C\u89E3\u91CA\u66F4\u8BE6\u7EC6\u7684\u8B66\u544A\u3002"),l(),o(39,"app-demo",7),i(40,"nel-demo-alert-description",2),l(),o(41,"h3"),p(42,"\u5E26\u6709 icon \u548C\u8F85\u52A9\u6027\u6587\u5B57\u4ECB\u7ECD"),l(),o(43,"app-demo",8),i(44,"nel-demo-alert-icon-description",2),l(),i(45,"app-doc",9)),t&2&&(n(9),u("codeUrl","components-alert-demo-basic.component"),n(6),u("codeUrl","components-alert-demo-effect.component"),n(6),u("codeUrl","components-alert-demo-close.component"),n(6),u("codeUrl","components-alert-demo-icon.component"),n(6),u("codeUrl","components-alert-demo-center.component"),n(6),u("codeUrl","components-alert-demo-description.component"),n(4),u("codeUrl","components-alert-demo-icon-description.component"),n(2),u("docUrl","components-alert"))},dependencies:[v,h,x,M,N,S,w,B,y,T],styles:["nel-alert[_ngcontent-%COMP%]{margin:20px 0 0}"]})}}return e})();var V=[{path:"",component:_}],U=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=E({type:e})}static{this.\u0275inj=d({imports:[C.forChild(V),C]})}}return e})();var Fe=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=E({type:e})}static{this.\u0275inj=d({imports:[O,g,U]})}}return e})();export{Fe as AlertModule};