-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchunk-VW7FXCAI.js
1 lines (1 loc) · 8.28 KB
/
chunk-VW7FXCAI.js
1
import{a as b,b as V,o as G,q as B,t as A}from"./chunk-LJRBPGSW.js";import"./chunk-JYBRZQRP.js";import{Da as n,Ea as i,Fa as p,Ga as N,Ha as y,I as c,La as D,Ma as f,Na as M,Pa as E,Q as C,Qb as H,R as v,Ra as T,Sa as w,Ta as j,Ua as m,Va as _,ca as l,fb as L,la as a,ma as d,ra as h,va as u,wa as S,zb as F}from"./chunk-UJIEDWPF.js";var W=["*"];function X(e,I){if(e&1&&(N(0),m(1),y()),e&2){let o=D();l(),_(o.title)}}var z=(()=>{class e{constructor(){this.level=0}changeLevel(o){this.level=o+1,this.subMenus?.forEach(t=>{t.changeLevel(this.level)})}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=a({type:e,selectors:[["nel-sub-menu"]],contentQueries:function(t,r,g){if(t&1&&E(g,e,4),t&2){let x;T(x=w())&&(r.subMenus=x)}},inputs:{title:"title"},standalone:!1,ngContentSelectors:W,decls:8,vars:3,consts:[["role","menuitem","ariahaspopup","true","aria-expanded","false",1,"el-sub-menu"],[1,"el-sub-menu__title"],[4,"stringTemplate"],[1,"el-icon","el-sub-menu__icon-arrow",2,"transform","none"],["viewBox","0 0 1024 1024","xmlns","http://www.w3.org/2000/svg"],["fill","currentColor","d","M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"],["role","menu",1,"el-menu","el-menu--inline"]],template:function(t,r){t&1&&(f(),n(0,"li",0)(1,"div",1),h(2,X,2,1,"ng-container",2),n(3,"i",3),C(),n(4,"svg",4),p(5,"path",5),i()()(),v(),n(6,"ul",6),M(7),i()()),t&2&&(l(2),u("stringTemplate",r.title),l(4),S("--el-menu-level",r.level))},dependencies:[b],encapsulation:2})}}return e})();var Z=["*"],Q=(()=>{class e{constructor(){this.level=0}ngAfterContentInit(){this.subMenus?.forEach(o=>{o.changeLevel(this.level)})}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=a({type:e,selectors:[["nel-menu"]],contentQueries:function(t,r,g){if(t&1&&E(g,z,4),t&2){let x;T(x=w())&&(r.subMenus=x)}},standalone:!1,ngContentSelectors:Z,decls:2,vars:2,consts:[["role","menubar",1,"el-menu","el-menu--vertical","el-menu-vertical-demo"]],template:function(t,r){t&1&&(f(),n(0,"ul",0),M(1),i()),t&2&&S("--el-menu-level",r.level)},encapsulation:2})}}return e})();var ee=["*"];function te(e,I){if(e&1&&(N(0),m(1),y()),e&2){let o=D();l(),_(o.title)}}var R=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=a({type:e,selectors:[["nel-menu-item-group"]],inputs:{title:"title"},standalone:!1,ngContentSelectors:ee,decls:5,vars:1,consts:[[1,"el-menu-item-group"],[1,"el-menu-item-group__title"],[4,"stringTemplate"]],template:function(t,r){t&1&&(f(),n(0,"li",0)(1,"div",1),h(2,te,2,1,"ng-container",2),i(),n(3,"ul"),M(4),i()()),t&2&&(l(2),u("stringTemplate",r.title))},dependencies:[b],encapsulation:2})}}return e})();var ie=["*"],O=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=a({type:e,selectors:[["nel-menu-item"]],standalone:!1,ngContentSelectors:ie,decls:2,vars:0,consts:[["role","menuitem","tabindex","-1",1,"el-menu-item"]],template:function(t,r){t&1&&(f(),n(0,"li",0),M(1),i())},encapsulation:2})}}return e})();var q=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=d({type:e})}static{this.\u0275inj=c({imports:[F,V]})}}return e})();function me(e,I){e&1&&(n(0,"i",2),C(),n(1,"svg",3),p(2,"path",7)(3,"path",8),i()(),v(),n(4,"span"),m(5,"Navigator One"),i())}var P=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=a({type:e,selectors:[["nel-demo-menu-basic"]],standalone:!1,decls:33,vars:4,consts:[["titleTpl",""],[3,"title"],[1,"el-icon"],["viewBox","0 0 1024 1024","xmlns","http://www.w3.org/2000/svg"],["fill","currentColor","d","M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32H160zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32H608zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32H160zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32H608z"],["fill","currentColor","d","M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm160 448h384v64H320v-64zm0-192h160v64H320v-64zm0 384h384v64H320v-64z"],["fill","currentColor","d","M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357.12 357.12 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a351.616 351.616 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357.12 357.12 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294.113 294.113 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293.12 293.12 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294.113 294.113 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288.282 288.282 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293.12 293.12 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a287.616 287.616 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384zm0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256z"],["fill","currentColor","d","M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416zM512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544z"],["fill","currentColor","d","M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192zm0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320z"]],template:function(t,r){if(t&1&&(n(0,"nel-menu")(1,"nel-sub-menu",1),h(2,me,6,0,"ng-template",null,0,L),n(4,"nel-menu-item-group",1)(5,"nel-menu-item"),m(6,"item one"),i(),n(7,"nel-menu-item"),m(8,"item two"),i()(),n(9,"nel-menu-item-group",1)(10,"nel-menu-item"),m(11,"item three"),i()(),n(12,"nel-sub-menu",1)(13,"nel-menu-item"),m(14,"item one"),i()()(),n(15,"nel-menu-item")(16,"i",2),C(),n(17,"svg",3),p(18,"path",4),i()(),v(),n(19,"span"),m(20,"Navigator Two"),i()(),n(21,"nel-menu-item")(22,"i",2),C(),n(23,"svg",3),p(24,"path",5),i()(),v(),n(25,"span"),m(26,"Navigator Three"),i()(),n(27,"nel-menu-item")(28,"i",2),C(),n(29,"svg",3),p(30,"path",6),i()(),v(),n(31,"span"),m(32,"Navigator Four"),i()()()),t&2){let g=j(3);l(),u("title",g),l(3),u("title","Group One"),l(5),u("title","Group Two"),l(3),u("title","item four")}},dependencies:[Q,O,R,z],encapsulation:2})}}return e})();var U=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=d({type:e})}static{this.\u0275inj=c({imports:[F,q]})}}return e})();var k=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=a({type:e,selectors:[["app-menu"]],standalone:!1,decls:11,vars:1,consts:[["code","import { NelMenuModule } from 'ng-element-ui/menu';"],[3,"codeUrl"],["demo",""]],template:function(t,r){t&1&&(n(0,"h2"),m(1,"Menu \u83DC\u5355"),i(),n(2,"p"),m(3,"\u4E3A\u7F51\u7AD9\u63D0\u4F9B\u5BFC\u822A\u529F\u80FD\u7684\u83DC\u5355\u3002"),i(),p(4,"app-code",0),n(5,"h3"),m(6,"\u9876\u680F"),i(),n(7,"p"),m(8,"\u9876\u90E8\u680F\u83DC\u5355\u53EF\u4EE5\u5728\u5404\u79CD\u573A\u666F\u4E2D\u4F7F\u7528\u3002"),i(),n(9,"app-demo",1),p(10,"nel-demo-menu-basic",2),i()),t&2&&(l(9),u("codeUrl","components-menu-demo-basic.component"))},dependencies:[P,G,B],encapsulation:2})}}return e})();var re=[{path:"",component:k}],J=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=d({type:e})}static{this.\u0275inj=c({imports:[H.forChild(re),H]})}}return e})();var Pe=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=d({type:e})}static{this.\u0275inj=c({imports:[U,A,J]})}}return e})();export{Pe as MenuModule};