-
Notifications
You must be signed in to change notification settings - Fork 5
/
263.5a2e2db924e90c95.js
1 lines (1 loc) · 6.28 KB
/
263.5a2e2db924e90c95.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[263],{263:(g,m,r)=>{r.r(m),r.d(m,{ToolbarBasicExample:()=>u,ToolbarExamplesModule:()=>_,ToolbarHarnessExample:()=>d,ToolbarMultirowExample:()=>p,ToolbarOverviewExample:()=>c});var o=r(4650),i=r(4859),s=r(7392),l=r(3683);let u=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["toolbar-basic-example"]],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,n){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:[i.RK,s.Hw,l.Ye],styles:[".example-spacer[_ngcontent-%COMP%] {\n flex: 1 1 auto;\n}"]}),e})(),p=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["toolbar-multirow-example"]],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,n){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:[s.Hw,l.Ye,l.rD],styles:[".example-icon[_ngcontent-%COMP%] {\n padding: 0 14px;\n}\n\n.example-spacer[_ngcontent-%COMP%] {\n flex: 1 1 auto;\n}"]}),e})(),c=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["toolbar-overview-example"]],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,n){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:[i.RK,s.Hw,l.Ye,l.rD],styles:[".example-spacer[_ngcontent-%COMP%] {\n flex: 1 1 auto;\n}"]}),e})(),d=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["toolbar-harness-example"]],decls:14,vars:0,consts:[["mat-button",""]],template:function(t,n){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:[i.lW,l.Ye,l.rD],encapsulation:2}),e})(),_=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[i.ot,s.Ps,l.g0]}),e})()},3683:(g,m,r)=>{r.d(m,{Ye:()=>d,g0:()=>_,rD:()=>c});var o=r(4650),i=r(3238),s=r(3353),l=r(6895);const b=["*",[["mat-toolbar-row"]]],u=["*","mat-toolbar-row"],p=(0,i.pj)(class{constructor(e){this._elementRef=e}});let c=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e})(),d=(()=>{class e extends p{constructor(t,n,f){super(t),this._platform=n,this._document=f}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.SBq),o.Y36(s.t4),o.Y36(l.K0))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-toolbar"]],contentQueries:function(t,n,f){if(1&t&&o.Suo(f,c,5),2&t){let T;o.iGM(T=o.CRH())&&(n._toolbarRows=T)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,n){2&t&&o.ekj("mat-toolbar-multiple-rows",n._toolbarRows.length>0)("mat-toolbar-single-row",0===n._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[o.qOj],ngContentSelectors:u,decls:2,vars:0,template:function(t,n){1&t&&(o.F$t(b),o.Hsn(0),o.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.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}),e})(),_=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[i.BQ,i.BQ]}),e})()}}]);