-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchunk-5OI6JCU6.js
More file actions
1 lines (1 loc) · 6.71 KB
/
Copy pathchunk-5OI6JCU6.js
File metadata and controls
1 lines (1 loc) · 6.71 KB
1
import{a as u,b as I}from"./chunk-I3LV2BEY.js";import{a as F,b as y,c as P}from"./chunk-F4F6MG7Z.js";import{a as E,c as T}from"./chunk-Y54HNU3H.js";import"./chunk-FFGJMO62.js";import"./chunk-XRBZUWDJ.js";import{o as _,q as b,r as O,t as A}from"./chunk-LJRBPGSW.js";import"./chunk-JYBRZQRP.js";import{Da as t,Ea as o,Fa as l,I as f,Qb as x,Ta as N,Ua as r,Wa as h,ab as M,ca as m,fb as B,la as d,ma as C,ra as g,rb as v,va as i,za as D,zb as w}from"./chunk-UJIEDWPF.js";function Z(e,s){e&1&&(t(0,"div",3)(1,"span"),r(2,"\u5361\u7247\u540D\u79F0"),o(),t(3,"button",4),r(4,"\u64CD\u4F5C\u6309\u94AE"),o()()),e&2&&(m(3),i("nelType","text"))}function q(e,s){if(e&1&&(t(0,"div",5),r(1),o()),e&2){let a=s.$implicit;m(),h(" ","\u5217\u8868\u5185\u5BB9 "+a," ")}}var j=(()=>{class e{constructor(){this.list=[0,1,2,1]}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=d({type:e,selectors:[["nel-demo-card-basic"]],standalone:!1,decls:4,vars:2,consts:[["headerTpl",""],[3,"nelHeader"],["class","text item",4,"ngFor","ngForOf"],[1,"card-header"],["nel-button","",1,"button",3,"nelType"],[1,"text","item"]],template:function(n,p){if(n&1&&(t(0,"nel-card",1),g(1,Z,5,1,"ng-template",null,0,B)(3,q,2,1,"div",2),o()),n&2){let k=N(2);i("nelHeader",k),m(3),i("ngForOf",p.list)}},dependencies:[v,u,E],styles:[".card-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.text[_ngcontent-%COMP%]{font-size:14px}.item[_ngcontent-%COMP%]{margin-bottom:18px}.box-card[_ngcontent-%COMP%]{width:480px}"]})}}return e})();function K(e,s){if(e&1&&(t(0,"div",1),r(1),o()),e&2){let a=s.$implicit;m(),h(" ","\u5217\u8868\u5185\u5BB9 "+a," ")}}var R=(()=>{class e{constructor(){this.list=[0,1,2,1]}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=d({type:e,selectors:[["nel-demo-card-simple"]],standalone:!1,decls:2,vars:1,consts:[["class","text item",4,"ngFor","ngForOf"],[1,"text","item"]],template:function(n,p){n&1&&(t(0,"nel-card"),g(1,K,2,1,"div",0),o()),n&2&&(m(),i("ngForOf",p.list))},dependencies:[v,u],styles:[".text[_ngcontent-%COMP%]{font-size:14px}.item[_ngcontent-%COMP%]{margin-bottom:18px}.box-card[_ngcontent-%COMP%]{width:480px}"]})}}return e})();var Y=()=>({padding:"0px"});function ee(e,s){if(e&1&&(t(0,"div",2)(1,"nel-card",3),l(2,"img",4),t(3,"div",5)(4,"span"),r(5,"\u597D\u5403\u7684\u6C49\u5821"),o(),t(6,"div",6)(7,"time",7),r(8,'"2021-05-07T06:41:24.246Z"'),o(),t(9,"button",8),r(10,"\u64CD\u4F5C\u6309\u94AE"),o()()()()()),e&2){let a=s.index;i("nelSpan",8)("nelOffset",a>0?2:0),m(),i("nelBodyStyle",M(4,Y)),m(8),i("nelType","text")}}var H=(()=>{class e{constructor(){this.cardList=[0,1]}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=d({type:e,selectors:[["nel-demo-card-image"]],standalone:!1,decls:2,vars:1,consts:[["nel-row",""],["nel-col","",3,"nelSpan","nelOffset",4,"ngFor","ngForOf"],["nel-col","",3,"nelSpan","nelOffset"],[3,"nelBodyStyle"],["src","https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png",1,"image"],[2,"padding","14px"],[1,"bottom"],[1,"time"],["nel-button","",1,"button",3,"nelType"]],template:function(n,p){n&1&&(t(0,"div",0),g(1,ee,11,5,"div",1),o()),n&2&&(m(),i("ngForOf",p.cardList))},dependencies:[v,u,E,y,F],styles:[".time[_ngcontent-%COMP%]{font-size:13px;color:#999}.bottom[_ngcontent-%COMP%]{margin-top:13px;line-height:12px;display:flex;justify-content:space-between;align-items:center}.button[_ngcontent-%COMP%]{padding:0;min-height:auto}.image[_ngcontent-%COMP%]{width:100%;display:block}"]})}}return e})();var z=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=d({type:e,selectors:[["nel-demo-card-shadow"]],standalone:!1,decls:10,vars:7,consts:[["nel-row","",3,"nelGutter"],["nel-col","",3,"nelSpan"],[3,"nelShadow"]],template:function(n,p){n&1&&(t(0,"div",0)(1,"div",1)(2,"nel-card",2),r(3," \u603B\u662F\u663E\u793A "),o()(),t(4,"div",1)(5,"nel-card",2),r(6," \u9F20\u6807\u60AC\u6D6E\u65F6\u663E\u793A "),o()(),t(7,"div",1)(8,"nel-card",2),r(9," \u4ECE\u4E0D\u663E\u793A "),o()()()),n&2&&(i("nelGutter",12),m(),i("nelSpan",8),m(),i("nelShadow","always"),m(2),i("nelSpan",8),m(),i("nelShadow","hover"),m(2),i("nelSpan",8),m(),i("nelShadow","never"))},dependencies:[u,y,F],encapsulation:2})}}return e})();var L=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275mod=C({type:e})}static{this.\u0275inj=f({imports:[w,I,T,P]})}}return e})();var G=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=d({type:e,selectors:[["app-card"]],hostVars:2,hostBindings:function(n,p){n&2&&D("article")},standalone:!1,decls:30,vars:5,consts:[["code","import { NelCardModule } from 'ng-element-ui/card';"],["notes","Card \u7EC4\u4EF6\u5305\u62ECheader\u548Cbody\u90E8\u5206\uFF0Cheader\u90E8\u5206\u901A\u8FC7nelHeader\uFF0C\u540C\u65F6\u4E5F\u662F\u53EF\u9009\u7684\u3002",3,"codeUrl"],["demo",""],[3,"codeUrl"],["notes","\u901A\u8FC7nelShadow\u5C5E\u6027\u8BBE\u7F6E\u5361\u7247\u9634\u5F71\u51FA\u73B0\u7684\u65F6\u673A\uFF1Aalways\u3001hover\u6216never\u3002",3,"codeUrl"],[3,"docUrl"]],template:function(n,p){n&1&&(t(0,"h2"),r(1,"Card \u5361\u7247"),o(),t(2,"p"),r(3,"\u5C06\u4FE1\u606F\u805A\u5408\u5728\u5361\u7247\u5BB9\u5668\u4E2D\u5C55\u793A\u3002"),o(),l(4,"app-code",0),t(5,"h3"),r(6,"\u57FA\u7840\u7528\u6CD5"),o(),t(7,"p"),r(8,"\u5305\u542B\u6807\u9898\uFF0C\u5185\u5BB9\u548C\u64CD\u4F5C\u3002"),o(),t(9,"app-demo",1),l(10,"nel-demo-card-basic",2),o(),t(11,"h3"),r(12,"\u7B80\u5355\u5361\u7247"),o(),t(13,"p"),r(14,"\u5361\u7247\u53EF\u4EE5\u53EA\u6709\u5185\u5BB9\u533A\u57DF\u3002"),o(),t(15,"app-demo",3),l(16,"nel-demo-card-simple",2),o(),t(17,"h3"),r(18,"\u5E26\u56FE\u7247"),o(),t(19,"p"),r(20,"\u53EF\u914D\u7F6E\u5B9A\u4E49\u66F4\u4E30\u5BCC\u7684\u5185\u5BB9\u5C55\u793A\u3002"),o(),t(21,"app-demo",3),l(22,"nel-demo-card-image",2),o(),t(23,"h3"),r(24,"\u5361\u7247\u9634\u5F71"),o(),t(25,"p"),r(26,"\u53EF\u5BF9\u9634\u5F71\u7684\u663E\u793A\u8FDB\u884C\u914D\u7F6E\u3002"),o(),t(27,"app-demo",4),l(28,"nel-demo-card-shadow",2),o(),l(29,"app-doc",5)),n&2&&(m(9),i("codeUrl","components-card-demo-basic.component"),m(6),i("codeUrl","components-card-demo-simple.component"),m(6),i("codeUrl","components-card-demo-image.component"),m(6),i("codeUrl","components-card-demo-shadow.component"),m(2),i("docUrl","components-card"))},dependencies:[j,R,H,z,_,b,O],encapsulation:2})}}return e})();var oe=[{path:"",component:G}],$=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275mod=C({type:e})}static{this.\u0275inj=f({imports:[x.forChild(oe),x]})}}return e})();var _e=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275mod=C({type:e})}static{this.\u0275inj=f({imports:[L,A,$]})}}return e})();export{_e as CardModule};