-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchunk-SCZHNVNM.js
More file actions
1 lines (1 loc) · 6.51 KB
/
Copy pathchunk-SCZHNVNM.js
File metadata and controls
1 lines (1 loc) · 6.51 KB
1
import{o as y,q as S,t as v}from"./chunk-LJRBPGSW.js";import"./chunk-JYBRZQRP.js";import{Da as o,Ea as i,Fa as F,I as d,Ma as s,Na as u,Pa as x,Qb as M,Ra as g,Sa as E,Ua as n,ca as N,la as l,ma as p,va as D,xa as m}from"./chunk-UJIEDWPF.js";var T=["*"],C=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=l({type:e,selectors:[["nel-header"]],hostVars:2,hostBindings:function(t,a){t&2&&m("el-header",!0)},standalone:!1,ngContentSelectors:T,decls:1,vars:0,template:function(t,a){t&1&&(s(),u(0))},encapsulation:2})}}return e})();var R=["*"],h=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=l({type:e,selectors:[["nel-footer"]],hostVars:2,hostBindings:function(t,a){t&2&&m("el-footer",!0)},standalone:!1,ngContentSelectors:R,decls:1,vars:0,template:function(t,a){t&1&&(s(),u(0))},encapsulation:2})}}return e})();var I=["*"],A=(()=>{class e{constructor(){this.vertical=!1}ngAfterContentInit(){(this.headerList.length>0||this.footerList.length>0)&&(this.vertical=!0)}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=l({type:e,selectors:[["nel-container"]],contentQueries:function(t,a,B){if(t&1&&(x(B,C,4),x(B,h,4)),t&2){let f;g(f=E())&&(a.headerList=f),g(f=E())&&(a.footerList=f)}},hostVars:4,hostBindings:function(t,a){t&2&&m("el-container",!0)("is-vertical",a.vertical)},standalone:!1,ngContentSelectors:I,decls:1,vars:0,template:function(t,a){t&1&&(s(),u(0))},encapsulation:2})}}return e})();var k=["*"],_=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=l({type:e,selectors:[["nel-aside"]],hostVars:2,hostBindings:function(t,a){t&2&&m("el-aside",!0)},standalone:!1,ngContentSelectors:k,decls:1,vars:0,template:function(t,a){t&1&&(s(),u(0))},encapsulation:2})}}return e})();var U=["*"],j=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=l({type:e,selectors:[["nel-main"]],hostVars:2,hostBindings:function(t,a){t&2&&m("el-main",!0)},standalone:!1,ngContentSelectors:U,decls:1,vars:0,template:function(t,a){t&1&&(s(),u(0))},encapsulation:2})}}return e})();var H=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=p({type:e})}static{this.\u0275inj=d({})}}return e})();var P=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=l({type:e,selectors:[["nel-demo-container-basic"]],standalone:!1,decls:55,vars:0,consts:[[1,"common-layout"]],template:function(t,a){t&1&&(o(0,"div",0)(1,"nel-container")(2,"nel-header"),n(3,"Header"),i(),o(4,"nel-main"),n(5,"Main"),i()(),o(6,"nel-container")(7,"nel-header"),n(8,"Header"),i(),o(9,"nel-main"),n(10,"Main"),i(),o(11,"nel-footer"),n(12,"Footer"),i()(),o(13,"nel-container")(14,"nel-aside"),n(15,"Aside"),i(),o(16,"nel-main"),n(17,"Main"),i()(),o(18,"nel-container")(19,"nel-header"),n(20,"Header"),i(),o(21,"nel-container")(22,"nel-aside"),n(23,"Aside"),i(),o(24,"nel-main"),n(25,"Main"),i()()(),o(26,"nel-container")(27,"nel-header"),n(28,"Header"),i(),o(29,"nel-container")(30,"nel-aside"),n(31,"Aside"),i(),o(32,"nel-container")(33,"nel-main"),n(34,"Main"),i(),o(35,"nel-footer"),n(36,"Footer"),i()()()(),o(37,"nel-container")(38,"nel-aside"),n(39,"Aside"),i(),o(40,"nel-container")(41,"nel-header"),n(42,"Header"),i(),o(43,"nel-main"),n(44,"Main"),i()()(),o(45,"nel-container")(46,"nel-aside"),n(47,"Aside"),i(),o(48,"nel-container")(49,"nel-header"),n(50,"Header"),i(),o(51,"nel-main"),n(52,"Main"),i(),o(53,"nel-footer"),n(54,"Footer"),i()()()())},dependencies:[A,C,_,j,h],styles:["nel-header[_ngcontent-%COMP%], nel-footer[_ngcontent-%COMP%]{background-color:#b3c0d1;color:#333;text-align:center;line-height:60px}nel-aside[_ngcontent-%COMP%]{width:200px;background-color:#d3dce6;color:#333;text-align:center;line-height:200px}nel-main[_ngcontent-%COMP%]{background-color:#e9eef3;color:#333;text-align:center;line-height:160px}nel-container[_ngcontent-%COMP%]{margin-bottom:40px}nel-container[_ngcontent-%COMP%]:last-child{margin-bottom:0}nel-container[_ngcontent-%COMP%]:nth-child(5) nel-aside[_ngcontent-%COMP%], nel-container[_ngcontent-%COMP%]:nth-child(6) nel-aside[_ngcontent-%COMP%]{line-height:260px}nel-container[_ngcontent-%COMP%]:nth-child(7) nel-aside[_ngcontent-%COMP%]{line-height:320px}"]})}}return e})();var w=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=p({type:e})}static{this.\u0275inj=d({imports:[H]})}}return e})();var O=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=l({type:e,selectors:[["app-container"]],hostAttrs:[1,"article"],standalone:!1,decls:26,vars:1,consts:[["code","import { NelContainerModule } from 'ng-element-ui/container';"],[1,"tip"],[3,"codeUrl"],["demo",""]],template:function(t,a){t&1&&(o(0,"h2"),n(1,"Container \u5E03\u5C40\u5BB9\u5668"),i(),o(2,"p"),n(3,"\u7528\u4E8E\u5E03\u5C40\u7684\u5BB9\u5668\u7EC4\u4EF6\uFF0C\u65B9\u4FBF\u5FEB\u901F\u642D\u5EFA\u9875\u9762\u7684\u57FA\u672C\u7ED3\u6784\uFF1A"),i(),F(4,"app-code",0),o(5,"p"),n(6,"nel-container\uFF1A\u5916\u5C42\u5BB9\u5668\u3002\u5F53\u5B50\u5143\u7D20\u4E2D\u5305\u542B nel-header \u6216 nel-footer \u65F6\uFF0C\u5168\u90E8\u5B50\u5143\u7D20\u4F1A\u5782\u76F4\u4E0A\u4E0B\u6392\u5217\uFF0C\u5426\u5219\u4F1A\u6C34\u5E73\u5DE6\u53F3\u6392\u5217\u3002"),i(),o(7,"p"),n(8,"nel-header\uFF1A\u9876\u680F\u5BB9\u5668\u3002"),i(),o(9,"p"),n(10,"nel-aside\uFF1A\u4FA7\u8FB9\u680F\u5BB9\u5668\u3002"),i(),o(11,"p"),n(12,"nel-main\uFF1A\u4E3B\u8981\u533A\u57DF\u5BB9\u5668\u3002"),i(),o(13,"p"),n(14,"nel-footer\uFF1A\u5E95\u680F\u5BB9\u5668\u3002"),i(),o(15,"div",1)(16,"p"),n(17,"\u4EE5\u4E0A\u7EC4\u4EF6\u91C7\u7528\u4E86 flex \u5E03\u5C40\uFF0C\u4F7F\u7528\u524D\u8BF7\u786E\u5B9A\u76EE\u6807\u6D4F\u89C8\u5668\u662F\u5426\u517C\u5BB9\u3002\u6B64\u5916\uFF0C"),o(18,"code"),n(19,"<nel-container>"),i(),n(20," \u7684\u5B50\u5143\u7D20\u53EA\u80FD\u662F\u540E\u56DB\u8005\uFF0C\u540E\u56DB\u8005\u7684\u7236\u5143\u7D20\u4E5F\u53EA\u80FD\u662F "),o(21,"code"),n(22,"<nel-container>"),i(),n(23,"\u3002"),i()(),o(24,"app-demo",2),F(25,"nel-demo-container-basic",3),i()),t&2&&(N(24),D("codeUrl","components-container-demo-basic.component"))},dependencies:[P,y,S],encapsulation:2})}}return e})();var J=[{path:"",component:O}],b=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=p({type:e})}static{this.\u0275inj=d({imports:[M.forChild(J),M]})}}return e})();var He=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=p({type:e})}static{this.\u0275inj=d({imports:[w,v,b]})}}return e})();export{He as ContainerModule};