-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchunk-F4PGA2AR.js
More file actions
1 lines (1 loc) · 4.11 KB
/
Copy pathchunk-F4PGA2AR.js
File metadata and controls
1 lines (1 loc) · 4.11 KB
1
import{b as B}from"./chunk-XRBZUWDJ.js";import{a as I,b as F,o as T,q as k,r as S,t as w}from"./chunk-LJRBPGSW.js";import"./chunk-JYBRZQRP.js";import{Aa as y,Da as o,Ea as i,Fa as l,Ga as v,Ha as N,I as p,Ka as g,La as C,Qb as H,U as x,Ua as s,Va as _,ca as r,la as c,ma as d,ra as f,sb as E,va as a,za as M,zb as D}from"./chunk-UJIEDWPF.js";function z(e,P){if(e&1&&(v(0),s(1),N()),e&2){let n=C();r(),_(n.nelTitle)}}function G(e,P){if(e&1&&(v(0),s(1),N()),e&2){let n=C(2);r(),_(n.nelContent)}}function J(e,P){if(e&1&&(o(0,"div",6),f(1,G,2,1,"ng-container",4),i()),e&2){let n=C();r(),a("stringTemplate",n.nelContent)}}var h=(()=>{class e{constructor(){this.nelIcon="back",this.nelTitle="\u8FD4\u56DE",this.nelOnBack=new x}goBack(){this.nelOnBack.emit()}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=c({type:e,selectors:[["nel-page-header"]],inputs:{nelIcon:"nelIcon",nelTitle:"nelTitle",nelContent:"nelContent"},outputs:{nelOnBack:"nelOnBack"},standalone:!1,decls:7,vars:5,consts:[[1,"el-page-header"],[1,"el-page-header__left",3,"click"],[1,"el-page-header__icon"],[1,"el-page-header__title"],[4,"stringTemplate"],["class","el-page-header__content",4,"ngIf"],[1,"el-page-header__content"]],template:function(t,m){t&1&&(o(0,"div",0)(1,"div",1),g("click",function(){return m.goBack()}),o(2,"div",2),l(3,"i"),i(),o(4,"div",3),f(5,z,2,1,"ng-container",4),i()(),f(6,J,2,1,"div",5),i()),t&2&&(r(3),y("el-icon-",m.nelIcon,""),r(2),a("stringTemplate",m.nelTitle),r(),a("ngIf",m.nelContent))},dependencies:[E,I],encapsulation:2})}}return e})();var j=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=d({type:e})}static{this.\u0275inj=p({imports:[D,F,B]})}}return e})();var b=(()=>{class e{goBack(){console.log("go back")}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=c({type:e,selectors:[["nel-demo-page-header-basic"]],standalone:!1,decls:1,vars:1,consts:[[3,"nelOnBack","nelContent"]],template:function(t,m){t&1&&(o(0,"nel-page-header",0),g("nelOnBack",function(){return m.goBack()}),i()),t&2&&a("nelContent","\u8BE6\u60C5\u9875\u9762")},dependencies:[h],encapsulation:2})}}return e})();var U=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=c({type:e,selectors:[["nel-demo-page-header-icon"]],standalone:!1,decls:1,vars:2,consts:[[3,"nelIcon","nelContent"]],template:function(t,m){t&1&&l(0,"nel-page-header",0),t&2&&a("nelIcon","arrow-left")("nelContent","\u8BE6\u60C5\u9875\u9762")},dependencies:[h],encapsulation:2})}}return e})();var A=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=d({type:e})}static{this.\u0275inj=p({imports:[j]})}}return e})();var R=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=c({type:e,selectors:[["app-page-header"]],hostVars:2,hostBindings:function(t,m){t&2&&M("article")},standalone:!1,decls:14,vars:3,consts:[["code","import { NelPageHeaderModule } from 'ng-element-ui/page-header';"],[3,"codeUrl"],["demo",""],[3,"docUrl"]],template:function(t,m){t&1&&(o(0,"h2"),s(1,"PageHeader \u9875\u5934"),i(),o(2,"p"),s(3,"\u5982\u679C\u9875\u9762\u7684\u8DEF\u5F84\u6BD4\u8F83\u7B80\u5355\uFF0C\u63A8\u8350\u4F7F\u7528\u9875\u5934\u7EC4\u4EF6\u800C\u975E\u9762\u5305\u5C51\u7EC4\u4EF6\u3002"),i(),l(4,"app-code",0),o(5,"h3"),s(6,"\u57FA\u7840\u7528\u6CD5"),i(),o(7,"app-demo",1),l(8,"nel-demo-page-header-basic",2),i(),o(9,"h3"),s(10,"\u81EA\u5B9A\u4E49\u56FE\u6807"),i(),o(11,"app-demo",1),l(12,"nel-demo-page-header-icon",2),i(),l(13,"app-doc",3)),t&2&&(r(7),a("codeUrl","components-page-header-demo-basic.component"),r(4),a("codeUrl","components-page-header-demo-icon.component"),r(2),a("docUrl","components-page-header"))},dependencies:[b,U,T,k,S],encapsulation:2})}}return e})();var Q=[{path:"",component:R}],V=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=d({type:e})}static{this.\u0275inj=p({imports:[H.forChild(Q),H]})}}return e})();var Fe=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=d({type:e})}static{this.\u0275inj=p({imports:[A,w,V]})}}return e})();export{Fe as PageHeaderModule};