-
Notifications
You must be signed in to change notification settings - Fork 5
/
7530.ae73f70a9d7aefe2.js
1 lines (1 loc) · 6.42 KB
/
7530.ae73f70a9d7aefe2.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[7530],{7530:(x,u,l)=>{l.r(u),l.d(u,{ToolbarBasicExample:()=>d,ToolbarHarnessExample:()=>f,ToolbarMultirowExample:()=>_,ToolbarOverviewExample:()=>p});var o=l(5879),s=l(617),m=l(2296),n=l(1274);let d=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["toolbar-basic-example"]],standalone:!0,features:[o.jDz],decls:13,vars:0,consts:[["mat-icon-button","","aria-label","Example icon-button with menu icon",1,"example-icon"],[1,"example-spacer"],["mat-icon-button","","aria-label","Example icon-button with heart icon",1,"example-icon","favorite-icon"],["mat-icon-button","","aria-label","Example icon-button with share icon",1,"example-icon"]],template:function(t,i){1&t&&(o.TgZ(0,"mat-toolbar")(1,"button",0)(2,"mat-icon"),o._uU(3,"menu"),o.qZA()(),o.TgZ(4,"span"),o._uU(5,"My App"),o.qZA(),o._UZ(6,"span",1),o.TgZ(7,"button",2)(8,"mat-icon"),o._uU(9,"favorite"),o.qZA()(),o.TgZ(10,"button",3)(11,"mat-icon"),o._uU(12,"share"),o.qZA()()())},dependencies:[n.g0,n.Ye,m.ot,m.RK,s.Ps,s.Hw],styles:[".example-spacer[_ngcontent-%COMP%] {\n flex: 1 1 auto;\n}"]}),e})(),_=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["toolbar-multirow-example"]],standalone:!0,features:[o.jDz],decls:18,vars:0,consts:[["color","primary"],[1,"example-spacer"],["aria-hidden","false","aria-label","Example user verified icon",1,"example-icon"],["aria-hidden","false","aria-label","Example heart icon",1,"example-icon"],["aria-hidden","false","aria-label","Example delete icon",1,"example-icon"]],template:function(t,i){1&t&&(o.TgZ(0,"mat-toolbar",0)(1,"mat-toolbar-row")(2,"span"),o._uU(3,"Custom Toolbar"),o.qZA()(),o.TgZ(4,"mat-toolbar-row")(5,"span"),o._uU(6,"Second Line"),o.qZA(),o._UZ(7,"span",1),o.TgZ(8,"mat-icon",2),o._uU(9,"verified_user"),o.qZA()(),o.TgZ(10,"mat-toolbar-row")(11,"span"),o._uU(12,"Third Line"),o.qZA(),o._UZ(13,"span",1),o.TgZ(14,"mat-icon",3),o._uU(15,"favorite"),o.qZA(),o.TgZ(16,"mat-icon",4),o._uU(17,"delete"),o.qZA()()())},dependencies:[n.g0,n.Ye,n.rD,s.Ps,s.Hw],styles:[".example-icon[_ngcontent-%COMP%] {\n padding: 0 14px;\n}\n\n\n.example-spacer[_ngcontent-%COMP%] {\n flex: 1 1 auto;\n}\n\n"]}),e})(),p=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["toolbar-overview-example"]],standalone:!0,features:[o.jDz],decls:51,vars:0,consts:[["mat-icon-button","","aria-label","Example icon-button with menu icon",1,"example-icon"],[1,"example-spacer"],["mat-icon-button","","aria-label","Example icon-button with heart icon",1,"example-icon","favorite-icon"],["mat-icon-button","","aria-label","Example icon-button with share icon",1,"example-icon"],["color","primary"]],template:function(t,i){1&t&&(o.TgZ(0,"p")(1,"mat-toolbar")(2,"span"),o._uU(3,"My Application"),o.qZA()()(),o.TgZ(4,"p")(5,"mat-toolbar")(6,"button",0)(7,"mat-icon"),o._uU(8,"menu"),o.qZA()(),o.TgZ(9,"span"),o._uU(10,"My App"),o.qZA(),o._UZ(11,"span",1),o.TgZ(12,"button",2)(13,"mat-icon"),o._uU(14,"favorite"),o.qZA()(),o.TgZ(15,"button",3)(16,"mat-icon"),o._uU(17,"share"),o.qZA()()()(),o.TgZ(18,"p")(19,"mat-toolbar",4)(20,"button",0)(21,"mat-icon"),o._uU(22,"menu"),o.qZA()(),o.TgZ(23,"span"),o._uU(24,"My App"),o.qZA(),o._UZ(25,"span",1),o.TgZ(26,"button",2)(27,"mat-icon"),o._uU(28,"favorite"),o.qZA()(),o.TgZ(29,"button",3)(30,"mat-icon"),o._uU(31,"share"),o.qZA()()()(),o.TgZ(32,"p")(33,"mat-toolbar",4)(34,"mat-toolbar-row")(35,"span"),o._uU(36,"My App"),o.qZA(),o._UZ(37,"span",1),o.TgZ(38,"button",0)(39,"mat-icon"),o._uU(40,"menu"),o.qZA()()(),o.TgZ(41,"mat-toolbar-row")(42,"span"),o._uU(43,"Second Line"),o.qZA(),o._UZ(44,"span",1),o.TgZ(45,"button",2)(46,"mat-icon"),o._uU(47,"favorite"),o.qZA()(),o.TgZ(48,"button",3)(49,"mat-icon"),o._uU(50,"share"),o.qZA()()()()())},dependencies:[n.g0,n.Ye,n.rD,m.ot,m.RK,s.Ps,s.Hw],styles:[".example-spacer[_ngcontent-%COMP%] {\n flex: 1 1 auto;\n}"]}),e})(),f=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["toolbar-harness-example"]],standalone:!0,features:[o.jDz],decls:14,vars:0,consts:[["mat-button",""]],template:function(t,i){1&t&&(o.TgZ(0,"mat-toolbar")(1,"span"),o._uU(2,"My App"),o.qZA()(),o.TgZ(3,"mat-toolbar")(4,"mat-toolbar-row")(5,"span"),o._uU(6,"Row 1"),o.qZA()(),o.TgZ(7,"mat-toolbar-row")(8,"span"),o._uU(9,"Row 2"),o.qZA(),o.TgZ(10,"button",0),o._uU(11," Button 1 "),o.qZA(),o.TgZ(12,"button",0),o._uU(13," Button 2 "),o.qZA()()())},dependencies:[n.g0,n.Ye,n.rD,m.ot,m.lW],encapsulation:2}),e})()},1274:(x,u,l)=>{l.d(u,{Ye:()=>f,g0:()=>r,rD:()=>p});var o=l(5879),s=l(3680),m=l(2831),n=l(6814);const b=["*",[["mat-toolbar-row"]]],d=["*","mat-toolbar-row"],_=(0,s.pj)(class{constructor(t){this._elementRef=t}});let p=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),f=(()=>{class t extends _{constructor(a,c,T){super(a),this._platform=c,this._document=T}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(a){return new(a||t)(o.Y36(o.SBq),o.Y36(m.t4),o.Y36(n.K0))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-toolbar"]],contentQueries:function(a,c,T){if(1&a&&o.Suo(T,p,5),2&a){let g;o.iGM(g=o.CRH())&&(c._toolbarRows=g)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(a,c){2&a&&o.ekj("mat-toolbar-multiple-rows",c._toolbarRows.length>0)("mat-toolbar-single-row",0===c._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[o.qOj],ngContentSelectors:d,decls:2,vars:0,template:function(a,c){1&a&&(o.F$t(b),o.Hsn(0),o.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),t})(),r=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[s.BQ,s.BQ]}),t})()}}]);