-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchunk-HDJUI4E3.js
More file actions
1 lines (1 loc) · 12.2 KB
/
chunk-HDJUI4E3.js
File metadata and controls
1 lines (1 loc) · 12.2 KB
1
import{a as m,b as u,c as M}from"./chunk-F4F6MG7Z.js";import{o as E,q as S,r as F,t as b}from"./chunk-LJRBPGSW.js";import"./chunk-JYBRZQRP.js";import{Da as t,Ea as n,Fa as o,I as v,Qb as C,Ua as d,ca as i,la as p,ma as f,va as e}from"./chunk-UJIEDWPF.js";var x=(()=>{class l{static{this.\u0275fac=function(r){return new(r||l)}}static{this.\u0275cmp=p({type:l,selectors:[["nel-demo-layout-basic"]],standalone:!1,decls:37,vars:16,consts:[["nel-row",""],["nel-col","",3,"nelSpan"],[1,"grid-content","bg-purple-dark"],[1,"grid-content","bg-purple"],[1,"grid-content","bg-purple-light"]],template:function(r,s){r&1&&(t(0,"div",0)(1,"div",1),o(2,"div",2),n()(),t(3,"div",0)(4,"div",1),o(5,"div",3),n(),t(6,"div",1),o(7,"div",4),n()(),t(8,"div",0)(9,"div",1),o(10,"div",3),n(),t(11,"div",1),o(12,"div",4),n(),t(13,"div",1),o(14,"div",3),n()(),t(15,"div",0)(16,"div",1),o(17,"div",3),n(),t(18,"div",1),o(19,"div",4),n(),t(20,"div",1),o(21,"div",3),n(),t(22,"div",1),o(23,"div",4),n()(),t(24,"div",0)(25,"div",1),o(26,"div",3),n(),t(27,"div",1),o(28,"div",4),n(),t(29,"div",1),o(30,"div",3),n(),t(31,"div",1),o(32,"div",4),n(),t(33,"div",1),o(34,"div",3),n(),t(35,"div",1),o(36,"div",4),n()()),r&2&&(i(),e("nelSpan",24),i(3),e("nelSpan",12),i(2),e("nelSpan",12),i(3),e("nelSpan",8),i(2),e("nelSpan",8),i(2),e("nelSpan",8),i(3),e("nelSpan",6),i(2),e("nelSpan",6),i(2),e("nelSpan",6),i(2),e("nelSpan",6),i(3),e("nelSpan",4),i(2),e("nelSpan",4),i(2),e("nelSpan",4),i(2),e("nelSpan",4),i(2),e("nelSpan",4),i(2),e("nelSpan",4))},dependencies:[u,m],styles:[".el-row[_ngcontent-%COMP%]{margin-bottom:20px}.el-row[_ngcontent-%COMP%]:last-child{margin-bottom:0}.el-col[_ngcontent-%COMP%]{border-radius:4px}.bg-purple-dark[_ngcontent-%COMP%]{background:#99a9bf}.bg-purple[_ngcontent-%COMP%]{background:#d3dce6}.bg-purple-light[_ngcontent-%COMP%]{background:#e5e9f2}.grid-content[_ngcontent-%COMP%]{border-radius:4px;min-height:36px}.row-bg[_ngcontent-%COMP%]{padding:10px 0;background-color:#f9fafc}"]})}}return l})();var D=(()=>{class l{static{this.\u0275fac=function(r){return new(r||l)}}static{this.\u0275cmp=p({type:l,selectors:[["nel-demo-layout-gutter"]],standalone:!1,decls:9,vars:5,consts:[["nel-row","",3,"nelGutter"],["nel-col","",3,"nelSpan"],[1,"grid-content","bg-purple"]],template:function(r,s){r&1&&(t(0,"div",0)(1,"div",1),o(2,"div",2),n(),t(3,"div",1),o(4,"div",2),n(),t(5,"div",1),o(6,"div",2),n(),t(7,"div",1),o(8,"div",2),n()()),r&2&&(e("nelGutter",20),i(),e("nelSpan",6),i(2),e("nelSpan",6),i(2),e("nelSpan",6),i(2),e("nelSpan",6))},dependencies:[u,m],styles:[".el-row[_ngcontent-%COMP%]{margin-bottom:20px}.el-row[_ngcontent-%COMP%]:last-child{margin-bottom:0}.el-col[_ngcontent-%COMP%]{border-radius:4px}.bg-purple-dark[_ngcontent-%COMP%]{background:#99a9bf}.bg-purple[_ngcontent-%COMP%]{background:#d3dce6}.bg-purple-light[_ngcontent-%COMP%]{background:#e5e9f2}.grid-content[_ngcontent-%COMP%]{border-radius:4px;min-height:36px}.row-bg[_ngcontent-%COMP%]{padding:10px 0;background-color:#f9fafc}"]})}}return l})();var h=(()=>{class l{static{this.\u0275fac=function(r){return new(r||l)}}static{this.\u0275cmp=p({type:l,selectors:[["nel-demo-layout-blend"]],standalone:!1,decls:21,vars:12,consts:[["nel-row","",3,"nelGutter"],["nel-col","",3,"nelSpan"],[1,"grid-content","bg-purple"]],template:function(r,s){r&1&&(t(0,"div",0)(1,"div",1),o(2,"div",2),n(),t(3,"div",1),o(4,"div",2),n()(),t(5,"div",0)(6,"div",1),o(7,"div",2),n(),t(8,"div",1),o(9,"div",2),n(),t(10,"div",1),o(11,"div",2),n(),t(12,"div",1),o(13,"div",2),n()(),t(14,"div",0)(15,"div",1),o(16,"div",2),n(),t(17,"div",1),o(18,"div",2),n(),t(19,"div",1),o(20,"div",2),n()()),r&2&&(e("nelGutter",20),i(),e("nelSpan",16),i(2),e("nelSpan",8),i(2),e("nelGutter",20),i(),e("nelSpan",8),i(2),e("nelSpan",8),i(2),e("nelSpan",4),i(2),e("nelSpan",4),i(2),e("nelGutter",20),i(),e("nelSpan",4),i(2),e("nelSpan",16),i(2),e("nelSpan",4))},dependencies:[u,m],styles:[".el-row[_ngcontent-%COMP%]{margin-bottom:20px}.el-row[_ngcontent-%COMP%]:last-child{margin-bottom:0}.el-col[_ngcontent-%COMP%]{border-radius:4px}.bg-purple-dark[_ngcontent-%COMP%]{background:#99a9bf}.bg-purple[_ngcontent-%COMP%]{background:#d3dce6}.bg-purple-light[_ngcontent-%COMP%]{background:#e5e9f2}.grid-content[_ngcontent-%COMP%]{border-radius:4px;min-height:36px}.row-bg[_ngcontent-%COMP%]{padding:10px 0;background-color:#f9fafc}"]})}}return l})();var O=(()=>{class l{static{this.\u0275fac=function(r){return new(r||l)}}static{this.\u0275cmp=p({type:l,selectors:[["nel-demo-layout-offset"]],standalone:!1,decls:13,vars:12,consts:[["nel-row","",3,"nelGutter"],["nel-col","",3,"nelSpan"],[1,"grid-content","bg-purple"],["nel-col","",3,"nelSpan","nelOffset"]],template:function(r,s){r&1&&(t(0,"div",0)(1,"div",1),o(2,"div",2),n(),t(3,"div",3),o(4,"div",2),n()(),t(5,"div",0)(6,"div",3),o(7,"div",2),n(),t(8,"div",3),o(9,"div",2),n()(),t(10,"div",0)(11,"div",3),o(12,"div",2),n()()),r&2&&(e("nelGutter",20),i(),e("nelSpan",6),i(2),e("nelSpan",6)("nelOffset",6),i(2),e("nelGutter",20),i(),e("nelSpan",6)("nelOffset",6),i(2),e("nelSpan",6)("nelOffset",6),i(2),e("nelGutter",20),i(),e("nelSpan",12)("nelOffset",6))},dependencies:[u,m],styles:[".el-row[_ngcontent-%COMP%]{margin-bottom:20px}.el-row[_ngcontent-%COMP%]:last-child{margin-bottom:0}.el-col[_ngcontent-%COMP%]{border-radius:4px}.bg-purple-dark[_ngcontent-%COMP%]{background:#99a9bf}.bg-purple[_ngcontent-%COMP%]{background:#d3dce6}.bg-purple-light[_ngcontent-%COMP%]{background:#e5e9f2}.grid-content[_ngcontent-%COMP%]{border-radius:4px;min-height:36px}.row-bg[_ngcontent-%COMP%]{padding:10px 0;background-color:#f9fafc}"]})}}return l})();var N=(()=>{class l{static{this.\u0275fac=function(r){return new(r||l)}}static{this.\u0275cmp=p({type:l,selectors:[["nel-demo-layout-type"]],standalone:!1,decls:35,vars:24,consts:[["nel-row","",1,"row-bg",3,"nelType"],["nel-col","",3,"nelSpan"],[1,"grid-content","bg-purple"],[1,"grid-content","bg-purple-light"],["nel-row","",1,"row-bg",3,"nelType","nelJustify"]],template:function(r,s){r&1&&(t(0,"div",0)(1,"div",1),o(2,"div",2),n(),t(3,"div",1),o(4,"div",3),n(),t(5,"div",1),o(6,"div",2),n()(),t(7,"div",4)(8,"div",1),o(9,"div",2),n(),t(10,"div",1),o(11,"div",3),n(),t(12,"div",1),o(13,"div",2),n()(),t(14,"div",4)(15,"div",1),o(16,"div",2),n(),t(17,"div",1),o(18,"div",3),n(),t(19,"div",1),o(20,"div",2),n()(),t(21,"div",4)(22,"div",1),o(23,"div",2),n(),t(24,"div",1),o(25,"div",3),n(),t(26,"div",1),o(27,"div",2),n()(),t(28,"div",4)(29,"div",1),o(30,"div",2),n(),t(31,"div",1),o(32,"div",3),n(),t(33,"div",1),o(34,"div",2),n()()),r&2&&(e("nelType","flex"),i(),e("nelSpan",6),i(2),e("nelSpan",6),i(2),e("nelSpan",6),i(2),e("nelType","flex")("nelJustify","center"),i(),e("nelSpan",6),i(2),e("nelSpan",6),i(2),e("nelSpan",6),i(2),e("nelType","flex")("nelJustify","end"),i(),e("nelSpan",6),i(2),e("nelSpan",6),i(2),e("nelSpan",6),i(2),e("nelType","flex")("nelJustify","space-between"),i(),e("nelSpan",6),i(2),e("nelSpan",6),i(2),e("nelSpan",6),i(2),e("nelType","flex")("nelJustify","space-around"),i(),e("nelSpan",6),i(2),e("nelSpan",6),i(2),e("nelSpan",6))},dependencies:[u,m],styles:[".el-row[_ngcontent-%COMP%]{margin-bottom:20px}.el-row[_ngcontent-%COMP%]:last-child{margin-bottom:0}.el-col[_ngcontent-%COMP%]{border-radius:4px}.bg-purple-dark[_ngcontent-%COMP%]{background:#99a9bf}.bg-purple[_ngcontent-%COMP%]{background:#d3dce6}.bg-purple-light[_ngcontent-%COMP%]{background:#e5e9f2}.grid-content[_ngcontent-%COMP%]{border-radius:4px;min-height:36px}.row-bg[_ngcontent-%COMP%]{padding:10px 0;background-color:#f9fafc}"]})}}return l})();var P=(()=>{class l{static{this.\u0275fac=function(r){return new(r||l)}}static{this.\u0275cmp=p({type:l,selectors:[["nel-demo-layout-reactive"]],standalone:!1,decls:9,vars:21,consts:[["nel-row","",3,"nelGutter"],["nel-col","",3,"nelXs","nelSm","nelMd","nelLg","nelXl"],[1,"grid-content","bg-purple"],[1,"grid-content","bg-purple-light"]],template:function(r,s){r&1&&(t(0,"div",0)(1,"div",1),o(2,"div",2),n(),t(3,"div",1),o(4,"div",3),n(),t(5,"div",1),o(6,"div",2),n(),t(7,"div",1),o(8,"div",3),n()()),r&2&&(e("nelGutter",10),i(),e("nelXs",8)("nelSm",6)("nelMd",4)("nelLg",3)("nelXl",1),i(2),e("nelXs",4)("nelSm",6)("nelMd",8)("nelLg",9)("nelXl",11),i(2),e("nelXs",4)("nelSm",6)("nelMd",8)("nelLg",9)("nelXl",11),i(2),e("nelXs",8)("nelSm",6)("nelMd",4)("nelLg",3)("nelXl",1))},dependencies:[u,m],styles:[".el-col[_ngcontent-%COMP%]{border-radius:4px}.bg-purple-dark[_ngcontent-%COMP%]{background:#99a9bf}.bg-purple[_ngcontent-%COMP%]{background:#d3dce6}.bg-purple-light[_ngcontent-%COMP%]{background:#e5e9f2}.grid-content[_ngcontent-%COMP%]{border-radius:4px;min-height:36px}"]})}}return l})();var w=(()=>{class l{static{this.\u0275fac=function(r){return new(r||l)}}static{this.\u0275mod=f({type:l})}static{this.\u0275inj=v({imports:[M]})}}return l})();var B=(()=>{class l{static{this.\u0275fac=function(r){return new(r||l)}}static{this.\u0275cmp=p({type:l,selectors:[["app-layout"]],hostAttrs:[1,"article"],standalone:!1,decls:42,vars:7,consts:[["code","import { NelLayoutModule } from 'ng-element-ui/layout';"],["notes","\u901A\u8FC7 nel-row \u548C nel-col \u6307\u4EE4\uFF0C\u5E76\u901A\u8FC7 nel-col \u6307\u4EE4\u7684 nelSpan \u5C5E\u6027\u6211\u4EEC\u5C31\u53EF\u4EE5\u81EA\u7531\u5730\u7EC4\u5408\u5E03\u5C40\u3002",3,"codeUrl"],["demo",""],["notes","nel-row \u7EC4\u4EF6 \u63D0\u4F9B nelGutter \u5C5E\u6027\u6765\u6307\u5B9A\u6BCF\u4E00\u680F\u4E4B\u95F4\u7684\u95F4\u9694\uFF0C\u9ED8\u8BA4\u95F4\u9694\u4E3A 0\u3002",3,"codeUrl"],[3,"codeUrl"],["notes","\u901A\u8FC7\u5236\u5B9A nel-col \u7EC4\u4EF6\u7684 nelOffset \u5C5E\u6027\u53EF\u4EE5\u6307\u5B9A\u5206\u680F\u504F\u79FB\u7684\u680F\u6570\u3002",3,"codeUrl"],["notes","\u5C06 nelType \u5C5E\u6027\u8D4B\u503C\u4E3A 'flex'\uFF0C\u53EF\u4EE5\u542F\u7528 flex \u5E03\u5C40\uFF0C\u5E76\u53EF\u901A\u8FC7 nelJustify \u5C5E\u6027\u6765\u6307\u5B9A start, center, end, space-between, space-around \u5176\u4E2D\u7684\u503C\u6765\u5B9A\u4E49\u5B50\u5143\u7D20\u7684\u6392\u7248\u65B9\u5F0F\u3002",3,"codeUrl"],[3,"docUrl"]],template:function(r,s){r&1&&(t(0,"h2"),d(1,"Layout \u5E03\u5C40"),n(),t(2,"p"),d(3,"\u901A\u8FC7\u57FA\u7840\u7684 24 \u5206\u680F\uFF0C\u8FC5\u901F\u7B80\u4FBF\u5730\u521B\u5EFA\u5E03\u5C40\u3002"),n(),o(4,"app-code",0),t(5,"h3"),d(6,"\u57FA\u7840\u5E03\u5C40"),n(),t(7,"p"),d(8,"\u4F7F\u7528\u5355\u4E00\u5206\u680F\u521B\u5EFA\u57FA\u7840\u7684\u6805\u683C\u5E03\u5C40\u3002"),n(),t(9,"app-demo",1),o(10,"nel-demo-layout-basic",2),n(),t(11,"h3"),d(12,"\u5206\u680F\u95F4\u9694"),n(),t(13,"p"),d(14,"\u5206\u680F\u4E4B\u95F4\u5B58\u5728\u95F4\u9694\u3002"),n(),t(15,"app-demo",3),o(16,"nel-demo-layout-gutter",2),n(),t(17,"h3"),d(18,"\u6DF7\u5408\u5E03\u5C40"),n(),t(19,"p"),d(20,"\u901A\u8FC7\u57FA\u7840\u7684 1/24 \u5206\u680F\u4EFB\u610F\u6269\u5C55\u7EC4\u5408\u5F62\u6210\u8F83\u4E3A\u590D\u6742\u7684\u6DF7\u5408\u5E03\u5C40\u3002"),n(),t(21,"app-demo",4),o(22,"nel-demo-layout-blend",2),n(),t(23,"h3"),d(24,"\u5206\u680F\u504F\u79FB"),n(),t(25,"p"),d(26,"\u652F\u6301\u504F\u79FB\u6307\u5B9A\u7684\u680F\u6570\u3002"),n(),t(27,"app-demo",5),o(28,"nel-demo-layout-offset",2),n(),t(29,"h3"),d(30,"\u5BF9\u9F50\u65B9\u5F0F"),n(),t(31,"p"),d(32,"\u901A\u8FC7 flex \u5E03\u5C40\u6765\u5BF9\u5206\u680F\u8FDB\u884C\u7075\u6D3B\u7684\u5BF9\u9F50\u3002"),n(),t(33,"app-demo",6),o(34,"nel-demo-layout-type",2),n(),t(35,"h3"),d(36,"\u54CD\u5E94\u5F0F\u5E03\u5C40"),n(),t(37,"p"),d(38,"\u53C2\u7167\u4E86 Bootstrap \u7684 \u54CD\u5E94\u5F0F\u8BBE\u8BA1\uFF0C\u9884\u8BBE\u4E86\u4E94\u4E2A\u54CD\u5E94\u5C3A\u5BF8\uFF1Axs\u3001sm\u3001md\u3001lg \u548C xl\u3002"),n(),t(39,"app-demo",6),o(40,"nel-demo-layout-reactive",2),n(),o(41,"app-doc",7)),r&2&&(i(9),e("codeUrl","components-layout-demo-basic.component"),i(6),e("codeUrl","components-layout-demo-gutter.component"),i(6),e("codeUrl","components-layout-demo-blend.component"),i(6),e("codeUrl","components-layout-demo-offset.component"),i(6),e("codeUrl","components-layout-demo-type.component"),i(6),e("codeUrl","components-layout-demo-reactive.component"),i(2),e("docUrl","components-layout"))},dependencies:[x,D,h,O,N,P,E,S,F],encapsulation:2})}}return l})();var U=[{path:"",component:B}],_=(()=>{class l{static{this.\u0275fac=function(r){return new(r||l)}}static{this.\u0275mod=f({type:l})}static{this.\u0275inj=v({imports:[C.forChild(U),C]})}}return l})();var ce=(()=>{class l{static{this.\u0275fac=function(r){return new(r||l)}}static{this.\u0275mod=f({type:l})}static{this.\u0275inj=v({imports:[w,b,_]})}}return l})();export{ce as LayoutModule};