vue-material/dist/docs/docs.0429a89d.js

7 lines
191 KiB
JavaScript
Raw Normal View History

2016-10-13 07:33:01 +00:00
webpackJsonp([1,0],[function(t,e,a){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}var n=a(2),o=i(n),d=a(248),s=i(d),r=a(1),m=i(r),c=a(111),l=i(c),u=a(112),h=i(u),p=a(110),f=i(p);a(4);var _=a(5),b=i(_),v=a(130),g=i(v),E=a(136),C=i(E),M=a(134),y=i(M),x=a(135),w=i(x),A=a(133),N=i(A),T=a(132),k=i(T),R=a(131),O=i(R);m["default"].registerLanguage("scss",l["default"]),m["default"].registerLanguage("xml",h["default"]),m["default"].registerLanguage("javascript",f["default"]),o["default"].component("single-page",C["default"]),o["default"].component("single-page-banner",y["default"]),o["default"].component("single-page-section",w["default"]),o["default"].component("demo-page",N["default"]),o["default"].component("demo-example",k["default"]),o["default"].component("code-block",O["default"]),o["default"].use(s["default"]);var H=new s["default"]({hashbang:!1,routes:b["default"]}),P=o["default"].component("app",g["default"]),L=function(t){t.name.indexOf("introduction")>=0?P.theme="blue":t.name.indexOf("components")>=0?P.theme="indigo":t.name.indexOf("themes")>=0?P.theme="teal":t.name.indexOf("ui-elements")>=0?P.theme="dark-pink":t.name.indexOf("changelog")>=0?P.theme="orange":t.name.indexOf("about")>=0?P.theme="green":P.theme="default"};P=new P({el:"#app",router:H}),L(H.currentRoute),H.afterEach(function(t){var e=document.querySelector(".main-content");e&&(e.scrollTop=0),P.closeSidenav(),L(t)})},,,,function(t,e,a){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}var n=a(2),o=i(n),d=a(29),s=i(d);o["default"].use(s["default"]),o["default"].material.theme.registerAll({"default":{primary:"cyan",accent:"pink"},indigo:{primary:"indigo",accent:"pink"},brown:{primary:"brown",accent:"green"},purple:{primary:"purple",accent:"blue"},orange:{primary:"orange",accent:"green"},blue:{primary:"blue",accent:"pink"},green:{primary:"green",accent:"purple"},"light-blue":{primary:"light-blue",accent:{color:"cyan",hue:"A200"}},teal:{primary:"teal",accent:"orange"},"dark-pink":{primary:{color:"pink",hue:800},accent:"orange"},cyan:{primary:"cyan",accent:"pink"},white:{primary:"white",accent:"indigo"},grey:{primary:{color:"grey",hue:300},accent:"indigo"}})},function(t,e,a){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var n=a(141),o=i(n),d=a(140),s=i(d),r=a(137),m=i(r),c=a(138),l=i(c),u=a(139),h=i(u),p=a(142),f=i(p),_=a(143),b=i(_),v=a(145),g=i(v),E=a(144),C=i(E),M=a(146),y=i(M),x=a(147),w=i(x),A=a(148),N=i(A),T=a(149),k=i(T),R=a(150),O=i(R),H=a(151),P=i(H),L=a(152),F=i(L),S=a(153),I=i(S),D=a(154),j=i(D),B=a(155),$=i(B),q=a(156),W=i(q),V=a(157),G=i(V),Y=a(158),U=i(Y),z=a(159),K=i(z),J=a(163),Q=i(J),X=a(162),Z=i(X),tt=a(160),et=i(tt),at=a(161),it=i(at),nt=[{path:"/",name:"introduction",component:o["default"]},{path:"/getting-started",name:"getting-started",component:s["default"]},{path:"/about",name:"about",component:m["default"]},{path:"/changelog",name:"changelog",component:l["default"]}],ot=[{path:"/components",name:"components",redirect:"/components/avatar"},{path:"/components/avatar",name:"components:avatar",component:f["default"]},{path:"/components/bottom-bar",name:"components:bottom-bar",component:b["default"]},{path:"/components/button",name:"components:button",component:g["default"]},{path:"/components/button-toggle",name:"components:button-toggle",component:C["default"]},{path:"/components/checkbox",name:"components:checkbox",component:y["default"]},{path:"/components/icon",name:"components:icon",component:w["default"]},{path:"/components/input",name:"components:input",component:N["default"]},{path:"/components/list",name:"components:list",component:k["default"]},{path:"/components/radio",name:"components:radio",component:O["default"]},{path:"/components/ripple",name:"components:ripple",component:P["default"]},{path:"/components/select",name:"components:select",component:F["default"]},{path:"/components/sidenav",name:"components:sidenav",component:I["default"]},{path:"/components/switch",name:"components:switch",component:$["default"]},{path:"/co
staticClass:"md-list-item",on:{click:function(){e.$emit("click")}}},r=function(){return i[0].data.staticClass=a,i[0].data.directives=[{name:"md-ink-ripple"}],t("li",s,i)},m=function(){i.some(function(t,e){if(t.componentOptions&&"md-list-expand"===t.componentOptions.tag)return o=t,d=e,!0})},c=function(){return t("md-icon",{staticClass:"md-list-expand-indicator"},"keyboard_arrow_down")},l=function(t){t.$children.some(function(t){t.$el.classList.contains("md-list-expand")&&t.calculatePadding()})},u=function(t){var e=void 0;t.$parent.$children.some(function(t){var a=t.$el.classList;if(a.contains("md-list-item-expand")&&a.contains("md-active"))return e=t,a.remove("md-active"),l(t),!0}),e&&t.$el===e.$el||t.$el.classList.add("md-active")},h=function(){return i.splice(d,1),i.push(c()),t("div",{staticClass:a,on:{click:function(){u(e),e.$emit("click")}},directives:[{name:"md-ink-ripple"}]},i)},p=function(){return s.staticClass+=" md-list-item-expand",t("li",s,[h(),o])};if(n&&"router-link"===n.tag)return r();if(m(),o)return p();var f=t("md-button",{staticClass:a,attrs:{target:this.target,href:this.href}},i);return this.target&&(f.data.attrs.rel="noopener"),t("li",s,[f])}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={props:{name:String,value:[String,Boolean,Number],mdValue:{type:[String,Boolean,Number],required:!0},id:String,disabled:Boolean},computed:{classes:function(){return{"md-checked":this.value&&this.mdValue.toString()===this.value.toString(),"md-disabled":this.disabled}}},methods:{toggleCheck:function(){this.disabled||(this.$emit("change",this.mdValue),this.$emit("input",this.mdValue))}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={props:["label"]}},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),a(70),e["default"]={props:{value:[String,Boolean,Number]},data:function(){return{index:0}},computed:{classes:function(){return{"md-highlighted":this.hasHighlight()}}},watch:{classes:function(){this.hasHighlight()&&(this.$el.focus(),this.$el.scrollIntoViewIfNeeded(!1))}},methods:{setHighlight:function(){this.$parent.highlightOption(this.index)},hasHighlight:function(){return this.index===this.$parent.highlighted},selectOption:function(){this.hasHighlight()&&(this.$parent.$el.classList.contains("md-select")?this.$parent.selectOption(this.value):this.$parent.$parent.selectOption(this.value))}},mounted:function(){var t=this.$parent.$el.classList;if(!t.contains("md-select"))throw this.$destroy(),new Error("You should wrap the md-option in a md-select");this.$parent.optionsAmount++,this.index=this.$parent.optionsAmount}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={props:{name:String,required:Boolean,value:[String,Number,Boolean],id:String,disabled:Boolean},data:function(){return{active:!1,highlighted:!1,optionsAmount:0}},computed:{classes:function(){return{"md-disabled":this.disabled,"md-active":this.active}}},methods:{open:function(){this.active=!0,document.addEventListener("click",this.closeOnOffClick),this.$refs.menu.focus()},close:function(){this.active&&(this.$refs.menu.blur(),this.active=!1,document.removeEventListener("click",this.closeOnOffClick),this.$refs.value.focus())},closeOnOffClick:function(t){this.$el.contains(t.target)||this.close()},highlightOption:function(t){t>=1&&t<=this.optionsAmount?this.highlighted=t:this.highlighted=1},selectOption:function(t){this.close(),this.$parent.setValue(t),this.$emit("change",t),this.$emit("input",t)}},mounted:function(){if(!this.$parent.$el.classList.contains("md-input-container"))throw this.$destroy(),new Error("You should wrap the md-select in a md-input-container");this.$parent.setValue(this.value),this.$parent.hasSelect=!0},beforeDestroy:function(){this.$parent.setValue(null),this.$parent.hasSelect=!1,document.removeEventListener("click",this.closeOnOffClick)}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={data:function(){return{mdVisible:!1}},computed:{classes:function(){
},function(t,e){t.exports=".THEME_NAME .md-tabs .md-tabs-navigation,.THEME_NAME.md-tabs .md-tabs-navigation{background-color:PRIMARY-COLOR}.THEME_NAME .md-tabs .md-tab-header,.THEME_NAME.md-tabs .md-tab-header{color:PRIMARY-CONTRAST-0.54}.THEME_NAME .md-tabs .md-tab-header.md-active,.THEME_NAME .md-tabs .md-tab-header:focus,.THEME_NAME.md-tabs .md-tab-header.md-active,.THEME_NAME.md-tabs .md-tab-header:focus{color:PRIMARY-CONTRAST-0.99999}.THEME_NAME .md-tabs .md-tab-header.md-disabled,.THEME_NAME.md-tabs .md-tab-header.md-disabled{color:PRIMARY-CONTRAST-0.26}.THEME_NAME .md-tabs .md-tab-indicator,.THEME_NAME.md-tabs .md-tab-indicator{background-color:ACCENT-COLOR}.THEME_NAME .md-tabs.md-accent .md-tabs-navigation,.THEME_NAME.md-tabs.md-accent .md-tabs-navigation{background-color:ACCENT-COLOR}.THEME_NAME .md-tabs.md-accent .md-tab-header,.THEME_NAME.md-tabs.md-accent .md-tab-header{color:ACCENT-CONTRAST-0.54}.THEME_NAME .md-tabs.md-accent .md-tab-header.md-active,.THEME_NAME .md-tabs.md-accent .md-tab-header:focus,.THEME_NAME.md-tabs.md-accent .md-tab-header.md-active,.THEME_NAME.md-tabs.md-accent .md-tab-header:focus{color:ACCENT-CONTRAST-0.99999}.THEME_NAME .md-tabs.md-accent .md-tab-header.md-disabled,.THEME_NAME.md-tabs.md-accent .md-tab-header.md-disabled{color:ACCENT-CONTRAST-0.26}.THEME_NAME .md-tabs.md-accent .md-tab-indicator,.THEME_NAME.md-tabs.md-accent .md-tab-indicator{background-color:BACKGROUND-COLOR}.THEME_NAME .md-tabs.md-warn .md-tabs-navigation,.THEME_NAME.md-tabs.md-warn .md-tabs-navigation{background-color:WARN-COLOR}.THEME_NAME .md-tabs.md-warn .md-tab-header,.THEME_NAME.md-tabs.md-warn .md-tab-header{color:WARN-CONTRAST-0.54}.THEME_NAME .md-tabs.md-warn .md-tab-header.md-active,.THEME_NAME .md-tabs.md-warn .md-tab-header:focus,.THEME_NAME.md-tabs.md-warn .md-tab-header.md-active,.THEME_NAME.md-tabs.md-warn .md-tab-header:focus{color:WARN-CONTRAST-0.99999}.THEME_NAME .md-tabs.md-warn .md-tab-header.md-disabled,.THEME_NAME.md-tabs.md-warn .md-tab-header.md-disabled{color:WARN-CONTRAST-0.26}.THEME_NAME .md-tabs.md-warn .md-tab-indicator,.THEME_NAME.md-tabs.md-warn .md-tab-indicator{background-color:BACKGROUND-COLOR}.THEME_NAME .md-tabs.md-transparent .md-tabs-navigation,.THEME_NAME.md-tabs.md-transparent .md-tabs-navigation{background-color:transparent}.THEME_NAME .md-tabs.md-transparent .md-tab-header,.THEME_NAME.md-tabs.md-transparent .md-tab-header{color:BACKGROUND-CONTRAST-0.54}.THEME_NAME .md-tabs.md-transparent .md-tab-header.md-active,.THEME_NAME .md-tabs.md-transparent .md-tab-header:focus,.THEME_NAME.md-tabs.md-transparent .md-tab-header.md-active,.THEME_NAME.md-tabs.md-transparent .md-tab-header:focus{color:PRIMARY-COLOR}.THEME_NAME .md-tabs.md-transparent .md-tab-header.md-disabled,.THEME_NAME.md-tabs.md-transparent .md-tab-header.md-disabled{color:BACKGROUND-CONTRAST-0.26}.THEME_NAME .md-tabs.md-transparent .md-tab-indicator,.THEME_NAME.md-tabs.md-transparent .md-tab-indicator{background-color:PRIMARY-COLOR}\n"},function(t,e){t.exports=".THEME_NAME .md-toolbar,.THEME_NAME.md-toolbar{background-color:PRIMARY-COLOR;color:PRIMARY-CONTRAST}.THEME_NAME .md-toolbar.md-accent,.THEME_NAME.md-toolbar.md-accent{background-color:ACCENT-COLOR;color:ACCENT-CONTRAST}.THEME_NAME .md-toolbar.md-warn,.THEME_NAME.md-toolbar.md-warn{background-color:WARN-COLOR;color:WARN-CONTRAST}.THEME_NAME .md-toolbar.md-transparent,.THEME_NAME.md-toolbar.md-transparent{background-color:transparent;color:BACKGROUND-CONTRAST}\n"},function(t,e){t.exports=".THEME_NAME :not(input):not(textarea)::selection{background:ACCENT-COLOR;color:ACCENT-CONTRAST}.THEME_NAME a:not(.md-button){color:ACCENT-COLOR}.THEME_NAME a:not(.md-button):hover{color:ACCENT-COLOR-800}body.THEME_NAME{background-color:BACKGROUND-COLOR-50;color:BACKGROUND-CONTRAST-0.87}.THEME_NAME .md-caption,.THEME_NAME .md-display-1,.THEME_NAME .md-display-2,.THEME_NAME .md-display-3,.THEME_NAME .md-display-4{color:BACKGROUND-CONTRAST-0.57}.THEME_NAME code:not(.hljs){background-color:ACCENT-COLOR-A100-0.2;color:ACCENT-COLOR-800}\n"},,function(t,e,a){var i,n;a(90),i=a(30)
keydown:function(t){13===t.keyCode&&(t.preventDefault(),open(t))}}},[_s(value)])," ",_h("div",{ref:"menu",staticClass:"md-select-menu",attrs:{tabindex:"-1"},on:{keydown:[function(t){27===t.keyCode&&(t.preventDefault(),close(t))},function(t){9===t.keyCode&&(t.preventDefault(),close(t))},function(t){38===t.keyCode&&(t.preventDefault(),highlightOption(highlighted-1))},function(t){40===t.keyCode&&(t.preventDefault(),highlightOption(highlighted+1))}]}},[_h("div",{staticClass:"md-select-menu-container"},[_t("default")])])," ",_h("select",{attrs:{name:name,id:id,required:required,tabindex:"-1"}},[_h("option",{domProps:{value:value}},[_s(value)])])])},staticRenderFns:[]}},function(module,exports){module.exports={render:function(){with(this)return _h("demo-page",{attrs:{label:"Components - Bottom Bar"}},[_h("div",{slot:"examples"},[_h("demo-example",{attrs:{label:"Default"}},[_h("div",{staticClass:"phone-viewport"},[_h("md-bottom-bar",[_h("md-bottom-bar-item",{attrs:{"md-icon":"history"}},["Recents"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"favorite","md-active":""}},["Favorites"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"near_me"}},["Nearby"])])])])," ",_h("demo-example",{attrs:{label:"Shifting"}},[_h("div",{staticClass:"phone-viewport"},[_h("md-bottom-bar",{attrs:{"md-shift":""}},[_h("md-bottom-bar-item",{attrs:{"md-icon":"ondemand_video"}},["Movies"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"music_note"}},["Music"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"books","md-active":""}},["Books"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"photo"}},["Pictures"])])])," ",_h("div",{staticClass:"phone-viewport"},[_h("md-bottom-bar",{staticClass:"md-accent",attrs:{"md-shift":""}},[_h("md-bottom-bar-item",{attrs:{"md-icon":"ondemand_video"}},["Movies"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"music_note"}},["Music"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"books","md-active":""}},["Books"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"photo"}},["Pictures"])])])," ",_h("div",{staticClass:"phone-viewport"},[_h("md-bottom-bar",{staticClass:"md-warn",attrs:{"md-shift":""}},[_h("md-bottom-bar-item",{attrs:{"md-icon":"ondemand_video"}},["Movies"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"music_note"}},["Music"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"books","md-active":""}},["Books"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"photo"}},["Pictures"])])])," ",_h("div",{staticClass:"phone-viewport"},[_h("md-bottom-bar",{staticClass:"md-transparent",attrs:{"md-shift":""}},[_h("md-bottom-bar-item",{attrs:{"md-icon":"ondemand_video"}},["Movies"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"music_note"}},["Music"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"books","md-active":""}},["Books"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"photo"}},["Pictures"])])])])," ",_h("demo-example",{attrs:{label:"Themed"}},[_h("div",{directives:[{name:"md-theme",rawName:"v-md-theme",value:"indigo",expression:"'indigo'"}],staticClass:"phone-viewport"},[_h("md-bottom-bar",[_h("md-bottom-bar-item",{attrs:{"md-icon":"history"}},["Recents"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"favorite","md-active":""}},["Favorites"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"near_me"}},["Nearby"])])])," ",_h("div",{directives:[{name:"md-theme",rawName:"v-md-theme",value:"orange",expression:"'orange'"}],staticClass:"phone-viewport"},[_h("md-bottom-bar",[_h("md-bottom-bar-item",{attrs:{"md-icon":"history"}},["Recents"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"favorite","md-active":""}},["Favorites"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"near_me"}},["Nearby"])])])," ",_h("div",{directives:[{name:"md-theme",rawName:"v-md-theme",value:"green",expression:"'green'"}],staticClass:"phone-viewport"},[_h("md-bottom-bar",{attrs:{"md-shift":""}},[_h("md-bottom-bar-item",{attrs:{"md-icon":"ondemand_video"}},["Movies"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"music_note"}},["Music"])," ",_h("md-bottom-bar-item",{attrs:{"md-icon":"books","md-active":""}},["Books"])," ",_h("md-bottom-bar-it
staticClass:"md-inset"},[_h("router-link",{attrs:{exact:"",to:"/components/select"}},["Select"])])," ",_h("md-list-item",{staticClass:"md-inset"},[_h("router-link",{attrs:{exact:"",to:"/components/sidenav"}},["Sidenav"])])," ",_h("md-list-item",{staticClass:"md-inset"},[_h("router-link",{attrs:{exact:"",to:"/components/subheader"}},["Subheader"])])," ",_h("md-list-item",{staticClass:"md-inset"},[_h("router-link",{attrs:{exact:"",to:"/components/switch"}},["Switch"])])," ",_h("md-list-item",{staticClass:"md-inset"},[_h("router-link",{attrs:{exact:"",to:"/components/tabs"}},["Tabs"])])," ",_h("md-list-item",{staticClass:"md-inset"},[_h("router-link",{attrs:{exact:"",to:"/components/toolbar"}},["Toolbar"])])," ",_h("md-list-item",{staticClass:"md-inset"},[_h("router-link",{attrs:{exact:"",to:"/components/tooltip"}},["Tooltip"])])," ",_h("md-list-item",{staticClass:"md-inset"},[_h("router-link",{attrs:{exact:"",to:"/components/whiteframe"}},["Whiteframe"])])])])])," ",_h("md-list-item",[_m(3)," ",_h("md-list-expand",[_h("md-list",[_h("md-list-item",{staticClass:"md-inset"},[_h("router-link",{attrs:{exact:"",to:"/ui-elements/typography"}},["Typography"])])," ",_h("md-list-item",{staticClass:"md-inset"},[_h("router-link",{attrs:{exact:"",to:"/ui-elements/grid-system"}},["Grid System"])])])])])," ",_h("md-list-item",[_m(4)," ",_h("md-list-expand",[_h("md-list",[_h("md-list-item",{staticClass:"md-inset"},[_h("router-link",{attrs:{exact:"",to:"/themes/configuration"}},["Configuration"])])," ",_h("md-list-item",{staticClass:"md-inset"},[_h("router-link",{attrs:{exact:"",to:"/themes/dynamic-themes"}},["Dynamic Theme"])])])])])," ",_h("md-list-item",[_h("router-link",{attrs:{exact:"",to:"/changelog"}},["Changelog"])])," ",_h("md-list-item",[_h("router-link",{attrs:{exact:"",to:"/about"}},["About"])])])])])," ",_h("transition",{attrs:{name:"md-router"}},[_h("router-view")])])},staticRenderFns:[function(){with(this)return _h("img",{attrs:{src:"data:image/png;base64,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
attrs:{value:"Bananas"}},["Bananas"])," ",_h("md-option",{attrs:{value:"Peaches"}},["Peaches"])," ",_h("md-option",{attrs:{value:"Oranges"}},["Oranges"])," ",_h("md-subheader",["Vegetables"])," ",_h("md-option",{attrs:{value:"Carrots"}},["Carrots"])," ",_h("md-option",{attrs:{value:"Cucumbers"}},["Cucumbers"])," ",_h("md-subheader",["Baked Goods"])," ",_h("md-option",{attrs:{value:"Apple Pie"}},["Apple Pie"])," ",_h("md-option",{attrs:{value:"Chocolate Cake"}},["Chocolate Cake"])])])])])])," ",_h("div",{slot:"code"},[_m(4)])," ",_h("div",{slot:"api"})])},staticRenderFns:[function(){with(this)return _h("label",{attrs:{"for":"movie"}},["Movie"])},function(){with(this)return _h("label",{attrs:{"for":"country"}},["Country"])},function(){with(this)return _h("label",{attrs:{"for":"font"}},["Font"])},function(){with(this)return _h("label",{attrs:{"for":"food"}},["Food"])},function(){with(this)return _h("h2",["Code"])}]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"md-switch","class":classes},[_h("div",{staticClass:"md-switch-container",on:{click:toggleSwitch}},[_h("div",{directives:[{name:"md-ink-ripple",rawName:"v-md-ink-ripple",value:disabled,expression:"disabled"}],staticClass:"md-switch-thumb",style:styles},[_h("input",{attrs:{type:"checkbox",name:name,id:id,disabled:disabled},domProps:{value:value}})," ",_m(0)])])," ",$slots["default"]?_h("label",{staticClass:"md-switch-label",attrs:{"for":id||name}},[_t("default")]):_e()])},staticRenderFns:[function(){with(this)return _h("button",{staticClass:"md-switch-holder"})}]}},function(module,exports){module.exports={render:function(){with(this)return _h("demo-page",{attrs:{label:"Components - List"}},[_h("div",{slot:"examples"},[_h("demo-example",{attrs:{label:"Single Line"}},[_h("div",{staticClass:"phone-viewport"},[_h("md-list",[_h("md-list-item",[_h("md-icon",["move_to_inbox"])," ",_m(0)])," ",_h("md-list-item",[_h("md-icon",["send"])," ",_m(1)])," ",_h("md-list-item",[_h("md-icon",["delete"])," ",_m(2)])," ",_h("md-list-item",[_h("md-icon",["error"])," ",_m(3)," ",_h("md-divider",{staticClass:"md-inset"})])," ",_h("md-list-item",[_h("md-avatar",[_m(4)])," ",_m(5)," ",_h("md-button",{staticClass:"md-icon-button md-list-action"},[_h("md-icon",{staticClass:"md-primary"},["chat_bubble"])])])," ",_h("md-list-item",[_h("md-avatar",[_m(6)])," ",_m(7)," ",_h("md-button",{staticClass:"md-icon-button md-list-action"},[_h("md-icon",{staticClass:"md-primary"},["chat_bubble"])])])," ",_h("md-list-item",[_h("md-avatar",[_m(8)])," ",_m(9)," ",_h("md-button",{staticClass:"md-icon-button md-list-action"},[_h("md-icon",["chat_bubble"])])])])])," ",_h("div",{staticClass:"phone-viewport"},[_h("md-list",{staticClass:"md-dense"},[_h("md-list-item",[_h("md-icon",["move_to_inbox"])," ",_m(10)])," ",_h("md-list-item",[_h("md-icon",["send"])," ",_m(11)])," ",_h("md-list-item",[_h("md-icon",["delete"])," ",_m(12)])," ",_h("md-list-item",[_h("md-icon",["error"])," ",_m(13)," ",_h("md-divider",{staticClass:"md-inset"})])," ",_h("md-list-item",[_h("md-avatar",[_m(14)])," ",_m(15)," ",_h("md-button",{staticClass:"md-icon-button md-list-action"},[_h("md-icon",{staticClass:"md-primary"},["chat_bubble"])])])," ",_h("md-list-item",[_h("md-avatar",[_m(16)])," ",_m(17)," ",_h("md-button",{staticClass:"md-icon-button md-list-action"},[_h("md-icon",{staticClass:"md-primary"},["chat_bubble"])])])," ",_h("md-list-item",[_h("md-avatar",[_m(18)])," ",_m(19)," ",_h("md-button",{staticClass:"md-icon-button md-list-action"},[_h("md-icon",["chat_bubble"])])])])])])," ",_h("demo-example",{attrs:{label:"Double Line"}},[_h("div",{staticClass:"phone-viewport"},[_h("md-list",{staticClass:"md-double-line"},[_h("md-list-item",[_h("md-icon",{staticClass:"md-primary"},["phone"])," ",_m(20)," ",_h("md-button",{staticClass:"md-icon-button md-list-action"},[_h("md-icon",["sms"])])])," ",_h("md-list-item",{staticClass:"md-inset"},[_m(21)," ",_h("md-divider",{staticClass:"md-inset"})])," ",_h("md-list-item",[_h("md-icon",{staticClass:"md-primary"},["email"])," ",_m(22)," ",_h("md-b
staticRenderFns:[function(){with(this)return _h("p",["\n - Install Vue Material through npm or bower: ",_h("br")," ",_h("code",["npm install vue-material"])," ",_h("br")," ",_h("code",["bower install vue-material"])])},function(){with(this)return _h("p",["- Import or require Vue and Vue Material in your code:"])},function(){with(this)return _h("small",["* Others package managers like JSPM are not supported yet."])},function(){with(this)return _h("p",["Or ",_h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/archive/master.zip",target:"_blank",rel:"noopener"}},["download"])," from Github and reference the script and the stylesheet in yout HTML:"])},function(){with(this)return _h("p",["Enable Vue Material in your application using enableAll method. If you want to enable only some components you can enable them using ",_h("code",["Vue.use()"]),":"])},function(){with(this)return _h("h3",{staticClass:"md-subheading"},["Caveats"])},function(){with(this)return _h("p",["Right now, to get Vue Material working properly, you'll need to use MdTheme and MdInkRipple. The MdTheme will apply the default colors (or the specified ones) and the MdInkRipple will enable ripple effect to Buttons and some other elements."])}]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"md-radio","class":classes},[_h("div",{directives:[{name:"md-ink-ripple",rawName:"v-md-ink-ripple",value:disabled,expression:"disabled"}],staticClass:"md-radio-container",on:{click:toggleCheck}},[_h("input",{attrs:{type:"radio",name:name,id:id,disabled:disabled},domProps:{value:value}})])," ",$slots["default"]?_h("label",{staticClass:"md-radio-label",attrs:{"for":id||name}},[_t("default")]):_e()])},staticRenderFns:[]}},function(module,exports){module.exports={render:function(){with(this)return _h("i",{staticClass:"md-icon material-icons"},[_t("default")])},staticRenderFns:[]}},,,function(t,e,a){var i=a(68);"string"==typeof i&&(i=[[t.id,i,""]]);a(249)(i,{});i.locals&&(t.exports=i.locals)}]);