vue-material/dist/docs/docs.8e3cb0db.js

28 lines
453 KiB
JavaScript
Raw Normal View History

2016-11-16 04:47:08 +00:00
webpackJsonp([1,0,2],[function(t,e,n){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}var i=n(5),o=a(i),r=n(330),d=a(r),s=n(4),m=a(s),c=n(144),l=a(c),u=n(145),h=a(u),p=n(143),f=a(p);n(7);var b=n(8),v=a(b),_=n(166),g=a(_),y=n(172),x=a(y),C=n(170),E=a(C),w=n(171),M=a(w),k=n(169),A=a(k),T=n(168),N=a(T),R=n(167),O=a(R);m.default.registerLanguage("scss",l.default),m.default.registerLanguage("xml",h.default),m.default.registerLanguage("javascript",f.default),o.default.component("single-page",x.default),o.default.component("single-page-banner",E.default),o.default.component("single-page-section",M.default),o.default.component("demo-page",A.default),o.default.component("demo-example",N.default),o.default.component("code-block",O.default),o.default.use(d.default);var S=new d.default({base:"/vue-material/",routes:v.default}),P=o.default.component("app",g.default),I=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="blue-grey":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:S}),I(S.currentRoute),S.afterEach(function(t){var e=document.querySelector(".main-content");e&&(e.scrollTop=0),P.closeSidenav(),I(t)})},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function t(e,n){return!!e.$el&&(e.$el.classList.contains(n)?e:0!==e._uid&&t(e.$parent,n))};e.default=n},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{value:[String,Number],disabled:Boolean,required:Boolean,maxlength:[Number,String],placeholder:String},watch:{value:function(){this.setParentValue()},disabled:function(){this.setParentDisabled()},required:function(){this.setParentRequired()},placeholder:function(){this.setParentPlaceholder()},maxlength:function(){this.handleMaxLength()}},methods:{handleMaxLength:function(){this.parentContainer.enableCounter=this.maxlength>0,this.parentContainer.counterLength=this.maxlength},setParentValue:function(){this.parentContainer.setValue(this.$el.value)},setParentDisabled:function(){this.parentContainer.isDisabled=this.disabled},setParentRequired:function(){this.parentContainer.isRequired=this.required},setParentPlaceholder:function(){this.parentContainer.hasPlaceholder=!!this.placeholder},onFocus:function(){this.parentContainer.isFocused=!0},onBlur:function(){this.parentContainer.isFocused=!1,this.setParentValue()},onInput:function(){this.setParentValue(),this.parentContainer.inputLength=this.$el.value.length,this.$emit("change",this.$el.value),this.$emit("input",this.$el.value)}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.constructor===Array};e.default=n},function(t,e,n){!function(t){"object"==typeof window&&window||"object"==typeof self&&self;t(e)}(function(t){function e(t){return t.replace(/[&<>]/gm,function(t){return R[t]})}function n(t){return t.nodeName.toLowerCase()}function a(t,e){var n=t&&t.exec(e);return n&&0===n.index}function i(t){return M.test(t)}function o(t){var e,n,a,o,r=t.className+" ";if(r+=t.parentNode?t.parentNode.className:"",n=k.exec(r))return y(n[1])?n[1]:"no-highlight";for(r=r.split(/\s+/),e=0,a=r.length;e<a;e++)if(o=r[e],i(o)||y(o))return o}function r(t,e){var n,a={};for(n in t)a[n]=t[n];if(e)for(n in e)a[n]=e[n];return a}function d(t){var e=[];return function t(a,i){for(var o=a.firstChild;o;o=o.nextSibling)3===o.nodeType?i+=o.nodeValue.length:1===o.nodeType&&(e.push({event:"start",offset:i,node:o}),i=t(o,i),n(o).match(/br|hr|img|input/)||e.push({event:"stop",offset:i,node:o}));return i}(t,0),e}function s(t,a,i){function o(){return t.length&&a.length?t[0].offset!==a[0].offset?t[0].offset<a[0].offset?t:a:"start"===a[0].event?t:a:t.length?t:a}function r(t){function a(t){return" "+t.nodeName+'="'+e(t.value)+'"'}c+="<"+n(t)+x.map.call(t.attributes,a).join("")+">"}function d(t){c+="</"+n(t)+">"}function s(t){("start"===t.event?r:d)(t.n
* Vue.js v2.0.5
* (c) 2014-2016 Evan You
* Released under the MIT License.
*/
"use strict";function a(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function i(t){var e=parseFloat(t,10);return e||0===e?e:t}function o(t,e){for(var n=Object.create(null),a=t.split(","),i=0;i<a.length;i++)n[a[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function r(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function d(t,e){return sn.call(t,e)}function s(t){return"string"==typeof t||"number"==typeof t}function m(t){var e=Object.create(null);return function(n){var a=e[n];return a||(e[n]=t(n))}}function c(t,e){function n(n){var a=arguments.length;return a?a>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function l(t,e){e=e||0;for(var n=t.length-e,a=new Array(n);n--;)a[n]=t[n+e];return a}function u(t,e){for(var n in e)t[n]=e[n];return t}function h(t){return null!==t&&"object"==typeof t}function p(t){return pn.call(t)===fn}function f(t){for(var e={},n=0;n<t.length;n++)t[n]&&u(e,t[n]);return e}function b(){}function v(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}function _(t,e){return t==e||!(!h(t)||!h(e))&&JSON.stringify(t)===JSON.stringify(e)}function g(t,e){for(var n=0;n<t.length;n++)if(_(t[n],e))return n;return-1}function y(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function x(t,e,n,a){Object.defineProperty(t,e,{value:n,enumerable:!!a,writable:!0,configurable:!0})}function C(t){if(!_n.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}function E(t){return/native code/.test(t.toString())}function w(t){In.target&&Ln.push(In.target),In.target=t}function M(){In.target=Ln.pop()}function k(){Hn.length=0,Dn={},jn={},Fn=$n=!1}function A(){for($n=!0,Hn.sort(function(t,e){return t.id-e.id}),Bn=0;Bn<Hn.length;Bn++){var t=Hn[Bn],e=t.id;if(Dn[e]=null,t.run(),null!=Dn[e]&&(jn[e]=(jn[e]||0)+1,jn[e]>vn._maxUpdateCount)){ia("You may have an infinite update loop "+(t.user?'in watcher with expression "'+t.expression+'"':"in a component render function."),t.vm);break}}An&&vn.devtools&&An.emit("flush"),k()}function T(t){var e=t.id;if(null==Dn[e]){if(Dn[e]=!0,$n){for(var n=Hn.length-1;n>=0&&Hn[n].id>t.id;)n--;Hn.splice(Math.max(n,Bn)+1,0,t)}else Hn.push(t);Fn||(Fn=!0,Tn(A))}}function N(t){Vn.clear(),R(t,Vn)}function R(t,e){var n,a,i=Array.isArray(t);if((i||h(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i)for(n=t.length;n--;)R(t[n],e);else for(a=Object.keys(t),n=a.length;n--;)R(t[a[n]],e)}}function O(t,e){t.__proto__=e}function S(t,e,n){for(var a=0,i=n.length;a<i;a++){var o=n[a];x(t,o,e[o])}}function P(t){if(h(t)){var e;return d(t,"__ob__")&&t.__ob__ instanceof Yn?e=t.__ob__:Kn.shouldConvert&&!vn._isServer&&(Array.isArray(t)||p(t))&&Object.isExtensible(t)&&!t._isVue&&(e=new Yn(t)),e}}function I(t,e,n,a){var i=new In,o=Object.getOwnPropertyDescriptor(t,e);if(!o||o.configurable!==!1){var r=o&&o.get,d=o&&o.set,s=P(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=r?r.call(t):n;return In.target&&(i.depend(),s&&s.dep.depend(),Array.isArray(e)&&D(e)),e},set:function(e){var o=r?r.call(t):n;e!==o&&(a&&a(),d?d.call(t,e):n=e,s=P(e),i.notify())}})}}function L(t,e,n){if(Array.isArray(t))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(d(t,e))return void(t[e]=n);var a=t.__ob__;return t._isVue||a&&a.vmCount?void ia("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."):a?(I(a.value,e,n),a.dep.notify(),n):void(t[e]=n)}function H(t,e){var n=t.__ob__;return t._isVue||n&&n.vmCount?void ia("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):void(d(t,e)&&(delete t[e],n&&n.dep.notify()))}function D(t){for(var e=void 0,n=0,a=t.length;n<a;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&D(e)}function j(t){t._watchers=[],F(t),$(t),B(t),z(t),V(t)}function F(t){var e=t.$options.props;if(e){var n=t.$options.propsData||{},a=t.$options._propKeys=Object
var n,a,i=e.elm,o=t.data.style||{},r=e.data.style||{};if("string"==typeof r)return void(i.style.cssText=r);var d=r.__ob__;Array.isArray(r)&&(r=e.data.style=f(r)),d&&(r=e.data.style=u({},r));for(a in o)null==r[a]&&Da(i,a,"");for(a in r)n=r[a],n!==o[a]&&Da(i,a,null==n?"":n)}}function Se(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+t.getAttribute("class")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Pe(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+t.getAttribute("class")+" ",a=" "+e+" ";n.indexOf(a)>=0;)n=n.replace(a," ");t.setAttribute("class",n.trim())}}function Ie(t){Ka(function(){Ka(t)})}function Le(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),Se(t,e)}function He(t,e){t._transitionClasses&&r(t._transitionClasses,e),Pe(t,e)}function De(t,e,n){var a=je(t,e),i=a.type,o=a.timeout,r=a.propCount;if(!i)return n();var d=i===qa?Ua:Ga,s=0,m=function(){t.removeEventListener(d,c),n()},c=function(e){e.target===t&&++s>=r&&m()};setTimeout(function(){s<r&&m()},o+1),t.addEventListener(d,c)}function je(t,e){var n,a=window.getComputedStyle(t),i=a[Va+"Delay"].split(", "),o=a[Va+"Duration"].split(", "),r=Fe(i,o),d=a[Wa+"Delay"].split(", "),s=a[Wa+"Duration"].split(", "),m=Fe(d,s),c=0,l=0;e===qa?r>0&&(n=qa,c=r,l=o.length):e===za?m>0&&(n=za,c=m,l=s.length):(c=Math.max(r,m),n=c>0?r>m?qa:za:null,l=n?n===qa?o.length:s.length:0);var u=n===qa&&Ya.test(a[Va+"Property"]);return{type:n,timeout:c,propCount:l,hasTransform:u}}function Fe(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return $e(e)+$e(t[n])}))}function $e(t){return 1e3*Number(t.slice(0,-1))}function Be(t){var e=t.elm;e._leaveCb&&(e._leaveCb.cancelled=!0,e._leaveCb());var n=ze(t.data.transition);if(n&&!e._enterCb&&1===e.nodeType){var a=n.css,i=n.type,o=n.enterClass,r=n.enterActiveClass,d=n.appearClass,s=n.appearActiveClass,m=n.beforeEnter,c=n.enter,l=n.afterEnter,u=n.enterCancelled,h=n.beforeAppear,p=n.appear,f=n.afterAppear,b=n.appearCancelled,v=Zn.$vnode,_=v&&v.parent?v.parent.context:Zn,g=!_._isMounted||!t.isRootInsert;if(!g||p||""===p){var y=g?d:o,x=g?s:r,C=g?h||m:m,E=g&&"function"==typeof p?p:c,w=g?f||l:l,M=g?b||u:u,k=a!==!1&&!En,A=E&&(E._length||E.length)>1,T=e._enterCb=Ve(function(){k&&He(e,x),T.cancelled?(k&&He(e,y),M&&M(e)):w&&w(e),e._enterCb=null});t.data.show||J(t.data.hook||(t.data.hook={}),"insert",function(){var n=e.parentNode,a=n&&n._pending&&n._pending[t.key];a&&a.tag===t.tag&&a.elm._leaveCb&&a.elm._leaveCb(),E&&E(e,T)},"transition-insert"),C&&C(e),k&&(Le(e,y),Le(e,x),Ie(function(){He(e,y),T.cancelled||A||De(e,i,T)})),t.data.show&&E&&E(e,T),k||A||T()}}}function qe(t,e){function n(){b.cancelled||(t.data.show||((a.parentNode._pending||(a.parentNode._pending={}))[t.key]=t),m&&m(a),p&&(Le(a,d),Le(a,s),Ie(function(){He(a,d),b.cancelled||f||De(a,r,b)})),c&&c(a,b),p||f||b())}var a=t.elm;a._enterCb&&(a._enterCb.cancelled=!0,a._enterCb());var i=ze(t.data.transition);if(!i)return e();if(!a._leaveCb&&1===a.nodeType){var o=i.css,r=i.type,d=i.leaveClass,s=i.leaveActiveClass,m=i.beforeLeave,c=i.leave,l=i.afterLeave,u=i.leaveCancelled,h=i.delayLeave,p=o!==!1&&!En,f=c&&(c._length||c.length)>1,b=a._leaveCb=Ve(function(){a.parentNode&&a.parentNode._pending&&(a.parentNode._pending[t.key]=null),p&&He(a,s),b.cancelled?(p&&He(a,d),u&&u(a)):(e(),l&&l(a)),a._leaveCb=null});h?h(n):n()}}function ze(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&u(e,Ja(t.name||"v")),u(e,t),e}return"string"==typeof t?Ja(t):void 0}}function Ve(t){var e=!1;return function(){e||(e=!0,t())}}function Ue(t,e,n){var a=e.value,i=t.multiple;if(i&&!Array.isArray(a))return void ia('<select multiple v-model="'+e.expression+'"> expects an Array value for its binding, but got '+Object.prototype.toString.call(a).slice(8,-1),n);for(var o,r,d=0,s=t.options.length;d<s;d++)if(r=t.options[d],i)o=g(a,Ge(r))>-1,r.selected
Autosize 3.0.18
license: MIT
http://www.jacklmoore.com/autosize
*/
!function(n,r){i=[e,t],a=r,o="function"==typeof a?a.apply(e,i):a,!(void 0!==o&&(t.exports=o))}(this,function(t,e){"use strict";function n(t){function e(){var e=window.getComputedStyle(t,null);"vertical"===e.resize?t.style.resize="none":"both"===e.resize&&(t.style.resize="horizontal"),s="content-box"===e.boxSizing?-(parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)):parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth),isNaN(s)&&(s=0),d()}function n(e){var n=t.style.width;t.style.width="0px",t.offsetWidth,t.style.width=n,t.style.overflowY=e,i()}function a(t){for(var e=[];t&&t.parentNode&&t.parentNode instanceof Element;)t.parentNode.scrollTop&&e.push({node:t.parentNode,scrollTop:t.parentNode.scrollTop}),t=t.parentNode;return e}function i(){var e=t.style.height,n=a(t),i=document.documentElement&&document.documentElement.scrollTop;t.style.height="auto";var o=t.scrollHeight+s;return 0===t.scrollHeight?void(t.style.height=e):(t.style.height=o+"px",m=t.clientWidth,n.forEach(function(t){t.node.scrollTop=t.scrollTop}),void(i&&(document.documentElement.scrollTop=i)))}function d(){i();var e=window.getComputedStyle(t,null),a=Math.round(parseFloat(e.height)),o=Math.round(parseFloat(t.style.height));if(a!==o?"visible"!==e.overflowY&&n("visible"):"hidden"!==e.overflowY&&n("hidden"),c!==a){c=a;var d=r("autosize:resized");try{t.dispatchEvent(d)}catch(t){}}}if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!o.has(t)){var s=null,m=t.clientWidth,c=null,l=function(){t.clientWidth!==m&&d()},u=function(e){window.removeEventListener("resize",l,!1),t.removeEventListener("input",d,!1),t.removeEventListener("keyup",d,!1),t.removeEventListener("autosize:destroy",u,!1),t.removeEventListener("autosize:update",d,!1),Object.keys(e).forEach(function(n){t.style[n]=e[n]}),o.delete(t)}.bind(t,{height:t.style.height,resize:t.style.resize,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",u,!1),"onpropertychange"in t&&"oninput"in t&&t.addEventListener("keyup",d,!1),window.addEventListener("resize",l,!1),t.addEventListener("input",d,!1),t.addEventListener("autosize:update",d,!1),t.style.overflowX="hidden",t.style.wordWrap="break-word",o.set(t,{destroy:u,update:d}),e()}}function a(t){var e=o.get(t);e&&e.destroy()}function i(t){var e=o.get(t);e&&e.update()}var o="function"==typeof Map?new Map:function(){var t=[],e=[];return{has:function(e){return t.indexOf(e)>-1},get:function(n){return e[t.indexOf(n)]},set:function(n,a){t.indexOf(n)===-1&&(t.push(n),e.push(a))},delete:function(n){var a=t.indexOf(n);a>-1&&(t.splice(a,1),e.splice(a,1))}}}(),r=function(t){return new Event(t)};try{new Event("test")}catch(t){r=function(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!1),e}}var d=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(d=function(t){return t},d.destroy=function(t){return t},d.update=function(t){return t}):(d=function(t,e){return t&&Array.prototype.forEach.call(t.length?t:[t],function(t){return n(t,e)}),t},d.destroy=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],a),t},d.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],i),t}),e.exports=d})},function(t,e,n){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}var i=n(5),o=a(i),r=n(36),d=a(r);o.default.use(d.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:"pink"},"light-blue":{primary:"light-blue",accent:{color:"cyan",hue:"A200"}},teal:{primary:"teal",accent:"orange"},"blue-grey":{primary:"blue-grey",accent:"blue"},cyan:{primary:"cyan",accent:"pink"},white:{primary:"white",accent:"indigo"},grey:{primary:{color:"grey",hue:300},accent:"indigo"}})},function(t,e,n){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(177
var a=e.$el,i="md-toggle";n=function(){"radio"===t.type?(t.$children.forEach(function(t){t.$el.classList.remove(i)}),a.classList.add(i)):a.classList.toggle(i)},a&&a.classList.contains("md-button")&&a.addEventListener("click",n)})},beforeDestroy:function(){this.$children.forEach(function(t){var e=t.$el;e&&e.classList.contains("md-button")&&e.removeEventListener("click",n)})}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mdWithHover:Boolean},computed:{classes:function(){return{"md-with-hover":this.mdWithHover}}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mdInset:Boolean},computed:{classes:function(){return{"md-inset":this.mdInset}}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={methods:{setContentMargin:function(){this.content.style.marginTop=-this.content.offsetHeight+"px"},toggle:function(){this.$refs.expand.classList.toggle("md-active")},onWindowResize:function(){window.requestAnimationFrame(this.setContentMargin)}},mounted:function(){this.trigger=this.$el.querySelector("[md-expand-trigger]"),this.content=this.$el.querySelector(".md-card-content"),this.content&&(this.setContentMargin(),this.trigger.addEventListener("click",this.toggle),window.addEventListener("resize",this.onWindowResize))},destroyed:function(){this.content&&(this.trigger.removeEventListener("click",this.toggle),window.removeEventListener("resize",this.onWindowResize))}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={mounted:function(){this.parentClasses=this.$parent.$el.classList,this.parentClasses.contains("md-card-header")&&(this.insideParent=!0,this.parentClasses.add("md-card-header-flex"))},destroyed:function(){this.parentClasses.remove("md-card-header-flex")}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mdRatio:String,mdMedium:Boolean,mdBig:Boolean},computed:{classes:function t(){var t={"md-16-9":"16:9"===this.mdRatio||"16/9"===this.mdRatio,"md-4-3":"4:3"===this.mdRatio||"4/3"===this.mdRatio,"md-1-1":"1:1"===this.mdRatio||"1/1"===this.mdRatio};return(this.mdMedium||this.mdBig)&&(t={"md-medium":this.mdMedium,"md-big":this.mdBig}),t}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t,e){var n=document.createElement("canvas");t.onload=function(){var t=0,a=void 0,i=void 0,o=void 0,r=void 0,d=void 0,s=void 0,m=void 0;n.width=this.width,n.height=this.height,a=n.getContext("2d"),a.drawImage(this,0,0),i=a.getImageData(0,0,n.width,n.height),o=i.data;for(var c=0,l=o.length;c<l;c+=4)r=o[c],d=o[c+1],s=o[c+2],m=Math.floor((r+d+s)/3),t+=m;e(Math.floor(t/(this.width*this.height)))}};e.default={props:{mdTextScrim:Boolean,mdSolid:Boolean},data:function(){return{backdropBg:{}}},computed:{classes:function(){return{"md-text-scrim":this.mdTextScrim,"md-solid":this.mdSolid}},styles:function(){return{background:this.backdropBg}}},methods:{applyScrimColor:function(t){this.$refs.backdrop&&(this.backdropBg="linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, "+t/2+") 66%, rgba(0, 0, 0, "+t+") 100%)")},applySolidColor:function(t){var e=this.$el.querySelector(".md-card-area");e&&(e.style.background="rgba(0, 0, 0, "+t+")")}},mounted:function(){var t=this,e=this.$el.querySelector("img");e&&(this.mdTextScrim||this.mdSolid)&&n(e,function(e){var n=256,a=(100*Math.abs(n-e)/n+15)/100;a>=.7&&(a=.7),t.mdTextScrim?t.applyScrimColor(a):t.mdSolid&&t.applySolidColor(a)})}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{name:String,value:[String,Boolean],id:String,disabled:Boolean},data:function(){return{checked:this.value}},computed:{classes:function(){return{"md-checked":Boolean(this.checked),"md-disabled":this.disabled}}},watch:{value:function(){this.checked=this.value}},methods:{toggleCheck:function(t){this.disabled||(this.checked=!this.checked,this.$emit("change",this.checked,t),this.$emit("input",this.checked,t))}}}},function(t,e,n){"use strict";
"md-tooltip-top":"top"===this.mdDirection,"md-tooltip-right":"right"===this.mdDirection,"md-tooltip-bottom":"bottom"===this.mdDirection,"md-tooltip-left":"left"===this.mdDirection}},style:function(){return{"transition-delay":this.mdDelay+"ms"}}},watch:{mdDirection:function(){o(this)}},mounted:function(){var t=this,e=this.$el,i=e.parentNode;this.targetElement=i,n=function(){document.body.appendChild(e),o(t),t.active=!0},a=function(){var n=function t(){e.removeEventListener("transitionend",t),e.parentNode&&!e.classList.contains("md-active")&&document.body.removeChild(e)};t.active=!1,e.removeEventListener("transitionend",n),e.addEventListener("transitionend",n)},this.$el.parentNode.removeChild(this.$el),i.addEventListener("mouseenter",n),i.addEventListener("focus",n),i.addEventListener("mouseleave",a),i.addEventListener("blur",a)},beforeDestroy:function(){this.active=!1,this.$el.parentNode&&document.body.removeChild(this.$el),i&&(i.removeEventListener("mouseenter",n),i.removeEventListener("focus",n),i.removeEventListener("mouseleave",a),i.removeEventListener("blur",a))}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mdElevation:[String,Number]},data:function(){return{elevation:0===this.mdElevation?0:this.mdElevation||1}},watch:{mdElevation:function(){this.elevation=this.mdElevation}},computed:{classes:function(){var t=parseInt(this.elevation,10),e="md-whiteframe-";return isNaN(t)||"number"!=typeof t?this.elevation.indexOf("dp")>-1&&(e+=this.elevation):(e+=t,e+="dp"),e}}}},function(t,e,n){e=t.exports=n(92)(),e.push([t.id,'html{height:100%;box-sizing:border-box}html *,html :after,html :before{box-sizing:inherit}body{min-height:100%;margin:0;position:relative;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:rgba(0,0,0,.87);font-family:Roboto,Lato,sans-serif}audio,canvas,embed,iframe,img,object,svg,video{max-width:100%;height:auto;font-style:italic;vertical-align:middle}[tabindex="-1"]:focus{outline:none!important}.md-scrollbar::-webkit-scrollbar,.md-scrollbar ::-webkit-scrollbar{width:10px;height:10px;box-shadow:inset 1px 1px 0 rgba(0,0,0,.12);transition:all .5s cubic-bezier(.35,0,.25,1);background-color:rgba(0,0,0,.05)}.md-scrollbar::-webkit-scrollbar:hover,.md-scrollbar ::-webkit-scrollbar:hover{box-shadow:inset 1px 1px 0 rgba(0,0,0,.054),inset 0 -1px 0 rgba(0,0,0,.038);background-color:rgba(0,0,0,.087)}.md-scrollbar::-webkit-scrollbar-button,.md-scrollbar ::-webkit-scrollbar-button{display:none}.md-scrollbar::-webkit-scrollbar-corner,.md-scrollbar ::-webkit-scrollbar-corner{background-color:transparent}.md-scrollbar::-webkit-scrollbar-thumb,.md-scrollbar ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.26);box-shadow:inset 1px 1px 0 rgba(0,0,0,.054),inset 0 -1px 0 rgba(0,0,0,.087);transition:all .5s cubic-bezier(.35,0,.25,1)}.md-caption{font-size:12px;font-weight:400;letter-spacing:.02em;line-height:17px}.md-body-1,body{font-weight:400;line-height:20px}.md-body-1,.md-body-2,body{font-size:14px;letter-spacing:.01em}.md-body-2{font-weight:500;line-height:24px}.md-subheading{font-size:16px;font-weight:400;letter-spacing:.01em;line-height:24px}.md-title{font-size:20px;font-weight:500;letter-spacing:.005em;line-height:26px}.md-headline{font-size:24px;line-height:32px}.md-display-1,.md-headline{font-weight:400;letter-spacing:0}.md-display-1{font-size:34px;line-height:40px}.md-display-2{font-size:45px;font-weight:400;letter-spacing:0;line-height:48px}.md-display-3{font-size:56px;font-weight:400;letter-spacing:-.005em;line-height:58px}.md-display-4{font-size:112px;font-weight:300;letter-spacing:-.01em;line-height:112px}a:not(.md-button){text-decoration:none}a:not(.md-button):hover{text-decoration:underline}button:focus{outline:none}',""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")
},function(t,e){t.exports=""},function(t,e){t.exports=".THEME_NAME .md-radio .md-radio-container:after,.THEME_NAME.md-radio .md-radio-container:after{background-color:ACCENT-COLOR}.THEME_NAME .md-radio.md-checked .md-radio-container,.THEME_NAME.md-radio.md-checked .md-radio-container{border-color:ACCENT-COLOR}.THEME_NAME .md-radio.md-checked .md-ink-ripple,.THEME_NAME.md-radio.md-checked .md-ink-ripple{color:ACCENT-COLOR}.THEME_NAME .md-radio.md-checked .md-ripple,.THEME_NAME.md-radio.md-checked .md-ripple{opacity:.38}.THEME_NAME .md-radio.md-primary .md-radio-container:after,.THEME_NAME.md-radio.md-primary .md-radio-container:after{background-color:PRIMARY-COLOR}.THEME_NAME .md-radio.md-primary.md-checked .md-radio-container,.THEME_NAME.md-radio.md-primary.md-checked .md-radio-container{border-color:PRIMARY-COLOR}.THEME_NAME .md-radio.md-primary.md-checked .md-ink-ripple,.THEME_NAME.md-radio.md-primary.md-checked .md-ink-ripple{color:PRIMARY-COLOR}.THEME_NAME .md-radio.md-warn .md-radio-container:after,.THEME_NAME.md-radio.md-warn .md-radio-container:after{background-color:WARN-COLOR}.THEME_NAME .md-radio.md-warn.md-checked .md-radio-container,.THEME_NAME.md-radio.md-warn.md-checked .md-radio-container{border-color:WARN-COLOR}.THEME_NAME .md-radio.md-warn.md-checked .md-ink-ripple,.THEME_NAME.md-radio.md-warn.md-checked .md-ink-ripple{color:WARN-COLOR}.THEME_NAME .md-radio.md-disabled .md-radio-container,.THEME_NAME.md-radio.md-disabled .md-radio-container{border-color:rgba(0,0,0,0.26)}.THEME_NAME .md-radio.md-disabled .md-radio-container:after,.THEME_NAME.md-radio.md-disabled .md-radio-container:after{background-color:rgba(0,0,0,0.26)}.THEME_NAME .md-radio.md-disabled.md-checked .md-radio-container,.THEME_NAME.md-radio.md-disabled.md-checked .md-radio-container{border-color:rgba(0,0,0,0.26)}\n"},function(t,e){t.exports=".THEME_NAME .md-select-content .md-menu-item.md-selected,.THEME_NAME .md-select-content .md-menu-item.md-checked,.THEME_NAME.md-select-content .md-menu-item.md-selected,.THEME_NAME.md-select-content .md-menu-item.md-checked{color:PRIMARY-COLOR}\n"},function(t,e){t.exports=".THEME_NAME .md-sidenav .md-sidenav-content,.THEME_NAME.md-sidenav .md-sidenav-content{background-color:BACKGROUND-COLOR-A100;color:BACKGROUND-CONTRAST}\n"},function(t,e){t.exports=".THEME_NAME .md-subheader.md-primary,.THEME_NAME.md-subheader.md-primary{color:PRIMARY-COLOR}.THEME_NAME .md-subheader.md-accent,.THEME_NAME.md-subheader.md-accent{color:ACCENT-COLOR}.THEME_NAME .md-subheader.md-warn,.THEME_NAME.md-subheader.md-warn{color:WARN-COLOR}\n"},function(t,e){t.exports=".THEME_NAME .md-switch.md-checked .md-switch-container,.THEME_NAME.md-switch.md-checked .md-switch-container{background-color:ACCENT-COLOR-500-0.5}.THEME_NAME .md-switch.md-checked .md-switch-thumb,.THEME_NAME.md-switch.md-checked .md-switch-thumb{background-color:ACCENT-COLOR}.THEME_NAME .md-switch.md-checked .md-ink-ripple,.THEME_NAME.md-switch.md-checked .md-ink-ripple{color:ACCENT-COLOR}.THEME_NAME .md-switch.md-checked .md-ripple,.THEME_NAME.md-switch.md-checked .md-ripple{opacity:.38}.THEME_NAME .md-switch.md-checked.md-primary .md-switch-container,.THEME_NAME.md-switch.md-checked.md-primary .md-switch-container{background-color:PRIMARY-COLOR-500-0.5}.THEME_NAME .md-switch.md-checked.md-primary .md-switch-thumb,.THEME_NAME.md-switch.md-checked.md-primary .md-switch-thumb{background-color:PRIMARY-COLOR}.THEME_NAME .md-switch.md-checked.md-primary .md-ink-ripple,.THEME_NAME.md-switch.md-checked.md-primary .md-ink-ripple{color:PRIMARY-COLOR}.THEME_NAME .md-switch.md-checked.md-warn .md-switch-container,.THEME_NAME.md-switch.md-checked.md-warn .md-switch-container{background-color:WARN-COLOR-500-0.5}.THEME_NAME .md-switch.md-checked.md-warn .md-switch-thumb,.THEME_NAME.md-switch.md-checked.md-warn .md-switch-thumb{background-color:WARN-COLOR}.THEME_NAME .md-switch.md-checked.md-warn .md-ink-ripple,.THEME_NAME.md-switch.md-checked.md-warn .md-ink-ripple{color:WARN-COLOR}.THEME_NAME .md-switch.md-disabled .md-switch-container,.THEME_NAME .md-switch.md-disabled.md-
staticClass:"md-title"},[t._h("span",{staticClass:"page-title"},[t._s(t.label)])])])," ",t._h("div",{staticClass:"page-content"},[t._h("md-tabs",{staticClass:"page-tabs",attrs:{"md-elevation":"2"}},[t._h("md-tab",{attrs:{"md-label":"Examples"}},[t._t("examples")])," ",t._h("md-tab",{attrs:{"md-label":"Code"}},[t._t("code")])," "])," ",t._t("default")])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this;return t._h("single-page",{attrs:{label:"Introduction"}},[t._h("div",{staticClass:"button-actions"},[t._m(0)," ",t._m(1)," ",t._h("md-button",{staticClass:"md-primary md-raised",attrs:{href:"#/getting-started"}},["Getting Started"])," ",t._h("md-button",{staticClass:"md-primary md-raised",attrs:{href:"https://github.com/marcosmoura/vue-material",target:"_blank",rel:"noopener"}},["Github"])])," ",t._m(2)])},staticRenderFns:[function(){var t=this;return t._h("div",{staticClass:"example"},[t._h("img",{attrs:{src:"assets/vue-material-example.png",alt:"Material Design"}})])},function(){var t=this;return t._h("div",{staticClass:"introduction"},["Build well-crafted apps with Material Design and Vue 2.0"])},function(){var t=this;return t._h("div",{staticClass:"row"},[t._h("div",{staticClass:"column"},[t._h("h2",{staticClass:"md-headline"},["Material Design"])," ",t._h("p",["Vue Material is lightweight framework built exactly according to the ",t._h("a",{attrs:{href:"http://material.google.com",target:"_blank",rel:"noopener"}},["Material Design"])," specs. Build powerful and well-designed web apps that can can fit on every screen."])])," ",t._h("div",{staticClass:"column"},[t._h("h2",{staticClass:"md-headline"},["Full-featured"])," ",t._h("p",["You can generate and use themes dynamically, use components on demand, take advantage of UI Elements and Components with an ease-to-use API and more..."])])," ",t._h("div",{staticClass:"column"},[t._h("h2",{staticClass:"md-headline"},["Compatible"])," ",t._h("p",["It aims to deliver a collection of reusable components and a series of UI Elements to build applications with support to ",t._h("a",{attrs:{href:"https://saucelabs.com/u/vuejs",target:"_blank",rel:"noopener"}},["modern Web Browsers"])," through Vue 2.0."])])])}]}},function(t,e){t.exports={render:function(){var t=this;return t._h("single-page",{staticClass:"single-page-home",attrs:{label:"About"}},[t._h("single-page-banner",{attrs:{label:"About"}})," ",t._h("section",[t._m(0)," ",t._h("div",{staticClass:"author-card"},[t._h("md-avatar",{staticClass:"md-large"},[t._m(1)])," ",t._m(2)])])," ",t._m(3)," ",t._m(4)," ",t._m(5)])},staticRenderFns:[function(){var t=this;return t._h("h2",{staticClass:"md-headline"},["Author"])},function(){var t=this;return t._h("img",{attrs:{src:"assets/marcosmoura.jpg",alt:"Marcos Moura"}})},function(){var t=this;return t._h("div",{staticClass:"author-card-info"},[t._h("span",["Marcos Moura"])," ",t._h("div",{staticClass:"author-card-links"},[t._h("a",{attrs:{href:"https://linkedin.com/in/marcosvmmoura",target:"_blank",rel:"noopener"}},["Linkedin"])," ",t._h("a",{attrs:{href:"https://github.com/marcosmoura",target:"_blank",rel:"noopener"}},["GitHub"])])])},function(){var t=this;return t._h("section",[t._h("h2",{staticClass:"md-headline"},["Credits and Thanks"])," ",t._h("ul",[t._h("li",["This library aims to delivery components using almost the same API of ",t._h("a",{attrs:{href:"https://material.angularjs.org/latest/",target:"_blank"}},["Angular Material"])])," ",t._h("li",["Thanks a lot to ",t._h("a",{attrs:{href:"https://github.com/elviskang",target:"_blank"}},["elviskang"])," for donating the npm package name!"])," ",t._h("li",["Thanks to ",t._h("a",{attrs:{href:"https://github.com/yyx990803",target:"_blank"}},["Evan You"])," for allowing me to use Vue.js Logo."])])])},function(){var t=this;return t._h("section",[t._h("h2",{staticClass:"md-headline"},["Internal Dependencies"]),"\n You don't need to include any other library to work with vue-material. The focus of this project is to have a standalone build with no external dependence, but aiming to deliver the best experi
2016-11-16 04:58:08 +00:00
slot:"api"})])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this;return t._h("single-page",{staticClass:"single-page-home",attrs:{label:"Changelog"}},[t._h("single-page-banner",{attrs:{label:"Changelog"}})," ",t._m(0)," ",t._m(1)," ",t._m(2)," ",t._m(3)," ",t._m(4)," ",t._m(5)])},staticRenderFns:[function(){var t=this;return t._h("section",[t._h("h2",{staticClass:"md-headline"},["v0.3.1 - Bugfixes"])," ",t._h("h3",{staticClass:"md-title"},["Fixes:"])," ",t._h("ul",[t._h("li",["md-select not being reactive ",t._h("strong",[t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/issues/74",target:"_blank",rel:"noopener"}},["#74"])])])," ",t._h("li",["Fix components not being updated inside v-once ",t._h("strong",[t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/issues/69",target:"_blank",rel:"noopener"}},["#69"]),t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/issues/70",target:"_blank",rel:"noopener"}},["#70"])])])," ",t._h("li",["Fix input number not accepting numbers ",t._h("strong",[t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/issues/67",target:"_blank",rel:"noopener"}},["#67"])," ",t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/issues/70",target:"_blank",rel:"noopener"}},["#70"])])])," ",t._h("li",["Fix md-input-container crashing when the select value is null ",t._h("strong",[t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/issues/64",target:"_blank",rel:"noopener"}},["#64"])])])])])},function(){var t=this;return t._h("section",[t._h("h2",{staticClass:"md-headline"},["v0.3.0 - Huge Release"])," ",t._h("h3",{staticClass:"md-title"},["New Components:"])," ",t._h("ul",[t._h("li",["Data Table"])," ",t._h("li",["Menu"])," ",t._h("li",["Select with multiple selection"])])," ",t._h("h3",{staticClass:"md-title"},["Fixes:"])," ",t._h("ul",[t._h("li",["md-input not reactive when initial value empty ",t._h("strong",[t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/issues/40",target:"_blank",rel:"noopener"}},["#40"])])])," ",t._h("li",["md-textarea with maxlength not writable ",t._h("strong",[t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/issues/43",target:"_blank",rel:"noopener"}}),"#43"])])," ",t._h("li",["Do not style scrollbars by default ",t._h("strong",[t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/issues/46",target:"_blank",rel:"noopener"}},["#46"])])])," ",t._h("li",["SELECT component: display issue in IE11 ",t._h("strong",[t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/issues/34",target:"_blank",rel:"noopener"}},["#34"])])])," ",t._h("li",["Select component popup shows behind other components ",t._h("strong",[t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/issues/26",target:"_blank",rel:"noopener"}},["#26"])])])," ",t._h("li",["md-select text vs value ",t._h("strong",[t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/issues/24",target:"_blank",rel:"noopener"}}),"#24"])])," ",t._h("li",["md-button ignores type prop ",t._h("strong",[t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/issues/41",target:"_blank",rel:"noopener"}},["#41"])," (Thanks to ",t._h("a",{attrs:{href:"https://github.com/pauloramires",target:"_blank",rel:"noopener"}},["@pauloramires"]),")"])])," ",t._h("li",["md-select displaying selected text (rather than value) ",t._h("strong",[t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/issues/36",target:"_blank",rel:"noopener"}},["#36"])])])," ",t._h("li",["Added 'type' props to switch button ",t._h("strong",[t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/pull/27",target:"_blank",rel:"noopener"}},["#27"])," (Thanks to ",t._h("a",{attrs:{href:"https://github.com/guillaumerxl",target:"_blank",rel:"noopener"}},["@guillaumerxl"]),")"])])," ",t._h("li",["Add babel-cli as dev dependency ",t._h("strong",[t._h("a",{attrs:{href:"https://github.com/marcosmoura/vue-material/pull/28",target:"_blank",rel:"noopener"}},["#28"]
attrs:{"md-label":"Music","md-icon":"music_note"}},[t._m(11)," ",t._m(12)])," ",t._h("md-tab",{attrs:{"md-label":"Books","md-icon":"books"}},[t._m(13)])," ",t._h("md-tab",{attrs:{"md-label":"Pictures","md-icon":"photo"}},[t._m(14)])])])," ",t._h("demo-example",{attrs:{label:"Centered with only icon - Transparent Color",size:"3"}},[t._h("md-tabs",{staticClass:"md-transparent",attrs:{"md-centered":""}},[t._h("md-tab",{attrs:{"md-icon":"phone"}},[t._m(15)])," ",t._h("md-tab",{attrs:{"md-icon":"favorite"}},[t._m(16)," ",t._m(17)])," ",t._h("md-tab",{attrs:{"md-icon":"near_me"}},[t._m(18)])])])," ",t._h("demo-example",{attrs:{label:"Fixed with only icon - Default Theme",size:"3"}},[t._h("md-tabs",{attrs:{"md-fixed":""}},[t._h("md-tab",{attrs:{"md-icon":"phone"}},[t._m(19)])," ",t._h("md-tab",{attrs:{"md-icon":"favorite"}},[t._m(20)," ",t._m(21)])," ",t._h("md-tab",{attrs:{"md-icon":"near_me"}},[t._m(22)])])])," ",t._h("demo-example",{attrs:{label:"Playground",size:"3"}},[t._h("div",{staticClass:"playground"},[t._h("md-subheader",["Tabs Attributes"])," ",t._h("md-checkbox",{directives:[{name:"model",rawName:"v-model",value:t.playground.fixed,expression:"playground.fixed"}],attrs:{id:"fixed"},domProps:{value:t.playground.fixed},on:{input:function(e){t.playground.fixed=e}}},["Fixed"])," ",t._h("md-checkbox",{directives:[{name:"model",rawName:"v-model",value:t.playground.centered,expression:"playground.centered"}],attrs:{id:"centered"},domProps:{value:t.playground.centered},on:{input:function(e){t.playground.centered=e}}},["Centered"])," ",t._h("md-input-container",[t._m(23)," ",t._h("md-input",{directives:[{name:"model",rawName:"v-model",value:t.playground.shadow,expression:"playground.shadow"}],attrs:{type:"number",id:"shadow",min:"0",max:"24"},domProps:{value:t.playground.shadow},on:{input:function(e){t.playground.shadow=t._n(e)}}})])," ",t._h("md-subheader",["Theme"])," ",t._h("md-radio",{directives:[{name:"model",rawName:"v-model",value:t.playground.theme,expression:"playground.theme"}],attrs:{id:"theme1",name:"theme","md-value":"default"},domProps:{value:t.playground.theme},on:{input:function(e){t.playground.theme=e}}},["Default"])," ",t._h("md-radio",{directives:[{name:"model",rawName:"v-model",value:t.playground.theme,expression:"playground.theme"}],attrs:{id:"theme2",name:"theme","md-value":"green"},domProps:{value:t.playground.theme},on:{input:function(e){t.playground.theme=e}}},["Green"])," ",t._h("md-radio",{directives:[{name:"model",rawName:"v-model",value:t.playground.theme,expression:"playground.theme"}],attrs:{id:"theme3",name:"theme","md-value":"cyan"},domProps:{value:t.playground.theme},on:{input:function(e){t.playground.theme=e}}},["Cyan"])," ",t._h("md-radio",{directives:[{name:"model",rawName:"v-model",value:t.playground.theme,expression:"playground.theme"}],attrs:{id:"theme4",name:"theme","md-value":"brown"},domProps:{value:t.playground.theme},on:{input:function(e){t.playground.theme=e}}},["Brown"])," ",t._h("md-subheader",["Colors"])," ",t._h("md-radio",{directives:[{name:"model",rawName:"v-model",value:t.playground.color,expression:"playground.color"}],attrs:{id:"color1",name:"color","md-value":"0"},domProps:{value:t.playground.color},on:{input:function(e){t.playground.color=e}}},["Default"])," ",t._h("md-radio",{directives:[{name:"model",rawName:"v-model",value:t.playground.color,expression:"playground.color"}],attrs:{id:"color2",name:"color","md-value":"1"},domProps:{value:t.playground.color},on:{input:function(e){t.playground.color=e}}},["Accent"])," ",t._h("md-radio",{directives:[{name:"model",rawName:"v-model",value:t.playground.color,expression:"playground.color"}],attrs:{id:"color3",name:"color","md-value":"2"},domProps:{value:t.playground.color},on:{input:function(e){t.playground.color=e}}},["Warn"])," ",t._h("md-radio",{directives:[{name:"model",rawName:"v-model",value:t.playground.color,expression:"playground.color"}],attrs:{id:"color4",name:"color","md-value":"3"},domProps:{value:t.playground.color},on:{input:function(e){t.playground.color=e}}},["Transparent"])," ",t._h("md-subheader",["Second
attrs:{"md-size":"2"}},[t._h("md-button",{attrs:{"md-menu-trigger":""}},["Size 2"])," ",t._h("md-menu-content",[t._h("md-menu-item",["My Item 1"])," ",t._h("md-menu-item",["My Item 2"])," ",t._h("md-menu-item",["My Item 3"])])])," ",t._h("md-menu",{attrs:{"md-size":"4"}},[t._h("md-button",{attrs:{"md-menu-trigger":""}},["Size 4"])," ",t._h("md-menu-content",[t._h("md-menu-item",["My Item 1"])," ",t._h("md-menu-item",["My Item 2"])," ",t._h("md-menu-item",["My Item 3"])])])," ",t._h("md-menu",{attrs:{"md-size":"5"}},[t._h("md-button",{attrs:{"md-menu-trigger":""}},["Size 5"])," ",t._h("md-menu-content",[t._h("md-menu-item",["My Item 1"])," ",t._h("md-menu-item",["My Item 2"])," ",t._h("md-menu-item",["My Item 3"])])])," ",t._h("md-menu",{attrs:{"md-size":"7"}},[t._h("md-button",{attrs:{"md-menu-trigger":""}},["Size 7"])," ",t._h("md-menu-content",[t._h("md-menu-item",["My Item 1"])," ",t._h("md-menu-item",["My Item 2"])," ",t._h("md-menu-item",["My Item 3"])])])])," ",t._h("demo-example",{attrs:{label:"List Icons"}},[t._h("md-menu",[t._h("md-button",{staticClass:"md-icon-button",attrs:{"md-menu-trigger":""}},[t._h("md-icon",["more_vert"])])," ",t._h("md-menu-content",[t._h("md-menu-item",["My Item 1"])," ",t._h("md-menu-item",["My Item 2"])," ",t._h("md-menu-item",["My Item 3"])])])," ",t._h("md-menu",{attrs:{"md-size":"4"}},[t._h("md-button",{staticClass:"md-icon-button",attrs:{"md-menu-trigger":""}},[t._h("md-icon",["phone"])])," ",t._h("md-menu-content",[t._h("md-menu-item",[t._h("md-icon",["phone"])," ",t._m(0)])," ",t._h("md-menu-item",[t._h("md-icon",["phone"])," ",t._m(1)])," ",t._h("md-menu-item",[t._h("md-icon",["phone"])," ",t._m(2)])])])," ",t._h("md-menu",{attrs:{"md-direction":"bottom left","md-size":"4"}},[t._h("md-button",{staticClass:"md-icon-button",attrs:{"md-menu-trigger":""}},[t._h("md-icon",["near_me"])])," ",t._h("md-menu-content",[t._h("md-menu-item",[t._m(3)," ",t._h("md-icon",["near_me"])])," ",t._h("md-menu-item",[t._m(4)," ",t._h("md-icon",["phone"])])])])])])," ",t._h("div",{slot:"code"},[t._h("demo-example",{attrs:{label:"Directions"}},[t._h("code-block",{attrs:{lang:"xml"}},['\n<md-menu>\n <md-button md-menu-trigger>Bottom Right</md-button>\n\n <md-menu-content>\n <md-menu-item>My Item 1</md-menu-item>\n <md-menu-item>My Item 2</md-menu-item>\n <md-menu-item>My Item 3</md-menu-item>\n </md-menu-content>\n</md-menu>\n\n<md-menu md-direction="bottom left">\n <md-button md-menu-trigger>Bottom Left</md-button>\n\n <md-menu-content>\n <md-menu-item>My Item 1</md-menu-item>\n <md-menu-item>My Item 2</md-menu-item>\n <md-menu-item disabled>My Item 3</md-menu-item>\n <md-menu-item>My Item 4</md-menu-item>\n </md-menu-content>\n</md-menu>\n\n<md-menu md-direction="top left">\n <md-button md-menu-trigger>Top Left</md-button>\n\n <md-menu-content>\n <md-menu-item>My Item 1</md-menu-item>\n <md-menu-item>My Item 2</md-menu-item>\n <md-menu-item>My Item 3</md-menu-item>\n </md-menu-content>\n</md-menu>\n\n<md-menu md-direction="top right">\n <md-button md-menu-trigger>Top Right</md-button>\n\n <md-menu-content>\n <md-menu-item>My Item 1</md-menu-item>\n <md-menu-item>My Item 2</md-menu-item>\n <md-menu-item>My Item 3</md-menu-item>\n </md-menu-content>\n</md-menu>\n'])])," ",t._h("demo-example",{attrs:{label:"Sizes"}},[t._h("code-block",{attrs:{lang:"xml"}},['\n<md-menu>\n <md-button md-menu-trigger>Default</md-button>\n\n <md-menu-content>\n <md-menu-item>My Item 1</md-menu-item>\n <md-menu-item>My Item 2</md-menu-item>\n <md-menu-item>My Item 3</md-menu-item>\n </md-menu-content>\n</md-menu>\n\n<md-menu md-size="1">\n <md-button md-menu-trigger>Size 1</md-button>\n\n <md-menu-content>\n <md-menu-item>My Item 1</md-menu-item>\n <md-menu-item>My Item 2</md-menu-item>\n <md-menu-item>My Item 3</md-menu-item>\n </md-menu-content>\n</md-menu>\n\n<md-menu md-size="2">\n <md-button md-menu-trigger>Size 2</md-button>\n\n <md-menu-content>\n <md-menu-item>My Item 1</md-menu-item>\n <md-menu-item>My Item 2</md-menu-item>\n <md-
}]},[t._m(14)])," ",t._h("md-card-actions",[t._h("md-button",{staticClass:"md-icon-button"},[t._h("md-icon",["favorite"])])," ",t._h("md-button",{staticClass:"md-icon-button"},[t._h("md-icon",["bookmark"])])," ",t._h("md-button",{staticClass:"md-icon-button"},[t._h("md-icon",["share"])])])])," ",t._h("md-card",{attrs:{"md-with-hover":""}},[t._h("md-card-header",[t._h("md-avatar",[t._m(15)])," ",t._m(16)," ",t._m(17)])," ",t._h("md-card-media",[t._m(18)])," ",t._h("md-card-content",["\n Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio itaque ea nostrum.\n "])," ",t._h("md-card-actions",[t._h("md-button",["Action"])," ",t._h("md-button",["Action"])])])])," ",t._h("demo-example",{attrs:{label:"Image cover with predefined aspect ratio"}},[t._h("md-card",[t._h("md-card-media-cover",{attrs:{"md-text-scrim":""}},[t._h("md-card-media",{attrs:{"md-ratio":"16:9"}},[t._m(19)])," ",t._h("md-card-area",[t._h("md-card-header",[t._m(20)," ",t._m(21)])," ",t._h("md-card-actions",[t._h("md-button",["Action"])," ",t._h("md-button",["Action"])])])])])," ",t._h("md-card",[t._h("md-card-media-cover",{attrs:{"md-solid":""}},[t._h("md-card-media",{attrs:{"md-ratio":"1:1"}},[t._m(22)])," ",t._h("md-card-area",[t._h("md-card-header",[t._m(23)," ",t._m(24)])," ",t._h("md-card-actions",[t._h("md-button",["Action"])," ",t._h("md-button",["Action"])])])])])])," ",t._h("demo-example",{attrs:{label:"Media"}},[t._h("md-card",[t._h("md-card-header",[t._h("md-card-header-text",[t._m(25)," ",t._m(26)])," ",t._h("md-card-media",[t._m(27)])])," ",t._h("md-card-actions",[t._h("md-button",["Action"])," ",t._h("md-button",["Action"])])])," ",t._h("md-card",[t._h("md-card-header",[t._h("md-card-header-text",[t._m(28)," ",t._m(29)])," ",t._h("md-card-media",{attrs:{"md-medium":""}},[t._m(30)])])," ",t._h("md-card-actions",[t._h("md-button",["Action"])," ",t._h("md-button",["Action"])])])," ",t._h("md-card",[t._h("md-card-header",[t._h("md-card-header-text",[t._m(31)," ",t._m(32)])," ",t._h("md-card-media",{attrs:{"md-big":""}},[t._m(33)])])," ",t._h("md-card-actions",[t._h("md-button",["Action"])," ",t._h("md-button",["Action"])])])," ",t._h("md-card",[t._h("md-card-media-actions",[t._h("md-card-media",[t._m(34)])," ",t._h("md-card-actions",[t._h("md-button",{staticClass:"md-icon-button"},[t._h("md-icon",["favorite"])])," ",t._h("md-button",{staticClass:"md-icon-button"},[t._h("md-icon",["bookmark"])])," ",t._h("md-button",{staticClass:"md-icon-button"},[t._h("md-icon",["share"])])])])])])," ",t._h("demo-example",{attrs:{label:"Full control"}},[t._h("md-card",[t._h("md-card-area",[t._h("md-card-media",[t._m(35)])," ",t._h("md-card-header",[t._m(36)," ",t._m(37)])," ",t._h("md-card-content",["\n Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio itaque ea, nostrum odio. Dolores, sed accusantium quasi non, voluptas eius illo quas, saepe voluptate pariatur in deleniti minus sint. Excepturi.\n "])])," ",t._h("md-card-actions",[t._h("md-button",["Action"])," ",t._h("md-button",["Action"])])])," ",t._h("md-card",[t._h("md-card-media",[t._m(38)])," ",t._h("md-card-header",[t._m(39)," ",t._m(40)])," ",t._h("md-card-expand",[t._h("md-card-actions",[t._h("md-button",["Action"])," ",t._h("md-button",["Action"])," ",t._m(41)," ",t._h("md-button",{staticClass:"md-icon-button",attrs:{"md-expand-trigger":""}},[t._h("md-icon",["keyboard_arrow_down"])])])," ",t._h("md-card-content",["\n Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio itaque ea, nostrum odio. Dolores, sed accusantium quasi non, voluptas eius illo quas, saepe voluptate pariatur in deleniti minus sint. Excepturi.\n "])])])," ",t._h("md-card",{directives:[{name:"md-theme",rawName:"v-md-theme",value:"blue",expression:"'blue'"}],staticClass:"card-example"},[t._h("md-card-area",{attrs:{"md-inset":""}},[t._h("md-card-media",{attrs:{"md-ratio":"16:9"}},[t._m(42)])," ",t._h("md-card-header",[t._m(43)," ",t._h("div",{staticClass:"md-subhead"},[t._h("md-icon",["location_on"])," ",t._m(44)])])," ",t._h("md-card-co
attrs:{label:"Accent, Warn and Transparent Colors"}},[t._h("code-block",{attrs:{lang:"xml"}},['\n<md-toolbar class="md-accent">\n <md-button class="md-icon-button">\n <md-icon>menu</md-icon>\n </md-button>\n\n <h2 class="md-title" style="flex: 1">Vue Material</h2>\n\n <md-button class="md-icon-button">\n <md-icon>favorite</md-icon>\n </md-button>\n</md-toolbar>\n '])," ",t._h("code-block",{attrs:{lang:"xml"}},['\n<md-toolbar class="md-warn">\n <md-button class="md-icon-button">\n <md-icon>menu</md-icon>\n </md-button>\n\n <h2 class="md-title" style="flex: 1">Vue Material</h2>\n\n <md-button>Add</md-button>\n <md-button>Remove</md-button>\n</md-toolbar>\n '])," ",t._h("code-block",{attrs:{lang:"xml"}},['\n<md-toolbar class="md-transparent">\n <md-button class="md-icon-button">\n <md-icon>menu</md-icon>\n </md-button>\n\n <h2 class="md-title" style="flex: 1">Vue Material</h2>\n\n <md-button class="md-raised">Add</md-button>\n <md-button class="md-raised md-warn">Remove</md-button>\n</md-toolbar>\n '])])," ",t._h("demo-example",{attrs:{label:"Themed"}},[t._h("code-block",{attrs:{lang:"xml"}},['\n<md-toolbar v-md-theme="\'green\'">\n <md-button class="md-icon-button">\n <md-icon>menu</md-icon>\n </md-button>\n\n <h2 class="md-title" style="flex: 1">Vue Material</h2>\n\n <md-button class="md-icon-button">\n <md-icon>favorite</md-icon>\n </md-button>\n</md-toolbar>\n '])," ",t._h("code-block",{attrs:{lang:"xml"}},['\n<md-toolbar class="md-large" v-md-theme="\'brown\'">\n <div class="md-toolbar-container">\n <md-button class="md-icon-button">\n <md-icon>menu</md-icon>\n </md-button>\n\n <span style="flex: 1;"></span>\n\n <md-button class="md-icon-button">\n <md-icon>search</md-icon>\n </md-button>\n\n <md-button class="md-icon-button">\n <md-icon>filter_list</md-icon>\n </md-button>\n </div>\n\n <div class="md-toolbar-container">\n <h2 class="md-title">Vue Material</h2>\n </div>\n</md-toolbar>\n '])," ",t._h("code-block",{attrs:{lang:"xml"}},['\n<md-toolbar v-md-theme="\'orange\'">\n <md-button class="md-icon-button">\n <md-icon>menu</md-icon>\n </md-button>\n\n <h2 class="md-title" style="flex: 1">Vue Material</h2>\n\n <md-button>Add</md-button>\n <md-button>Remove</md-button>\n</md-toolbar>\n '])," ",t._h("code-block",{attrs:{lang:"xml"}},['\n<md-toolbar v-md-theme="\'blue\'">\n <md-button class="md-icon-button">\n <md-icon>menu</md-icon>\n </md-button>\n\n <h2 class="md-title" style="flex: 1">Vue Material</h2>\n\n <md-button class="md-raised">Add</md-button>\n <md-button class="md-raised md-warn">Remove</md-button>\n</md-toolbar>\n '])])," ",t._h("demo-example",{staticClass:"example",attrs:{label:"Complete Example"}},[t._h("code-block",{attrs:{lang:"xml"}},['\n<div class="example">\n <md-toolbar class="md-large" v-md-theme="\'green\'">\n <div class="md-toolbar-container">\n <md-button class="md-icon-button">\n <md-icon>menu</md-icon>\n </md-button>\n\n <span style="flex: 1;"></span>\n\n <md-button class="md-icon-button">\n <md-icon>search</md-icon>\n </md-button>\n\n <md-button class="md-icon-button">\n <md-icon>filter_list</md-icon>\n </md-button>\n </div>\n\n <div class="md-toolbar-container">\n <h2 class="md-title">Vue Material</h2>\n\n <md-button class="md-fab md-fab-bottom-right">\n <md-icon>add</md-icon>\n </md-button>\n </div>\n </md-toolbar>\n</div>\n '])," ",t._h("code-block",{attrs:{lang:"scss"}},["\n.example {\n .md-button.md-fab {\n margin: 0;\n right: 56px;\n bottom: -26px;\n }\n\n .md-toolbar {\n margin-bottom: 50px;\n }\n}\n "])])])," ",t._h("div",{slot:"api"})])},staticRenderFns:[function(){var t=this;return t._h("h2",{staticClass:"md-title",attrs:{style:"flex: 1"}},["Vue Material"])},function(){var t=this;return t._h("h2",{staticClass:"md-title",attrs:{style:"flex: 1"}},["Vue Material"])},function(){var t=this;return t._h("h2",{staticClass:"md-
attrs:{label:"Double Line"}},[t._h("code-block",{attrs:{lang:"xml"}},['\n<md-list class="md-double-line">\n <md-list-item>\n <md-icon class="md-primary">phone</md-icon>\n\n <div class="md-list-text-container">\n <span>(650) 555-1234</span>\n <span>Mobile</span>\n </div>\n\n <md-button class="md-icon-button md-list-action">\n <md-icon>sms</md-icon>\n </md-button>\n </md-list-item>\n\n <md-list-item class="md-inset">\n <div class="md-list-text-container">\n <span>(650) 555-1234</span>\n <span>Mobile</span>\n </div>\n\n <md-divider class="md-inset"></md-divider>\n </md-list-item>\n\n <md-list-item>\n <md-icon class="md-primary">email</md-icon>\n\n <div class="md-list-text-container">\n <span>aliconnors@example.com</span>\n <span>Personal</span>\n </div>\n\n <md-button class="md-icon-button md-list-action">\n <md-icon>sms</md-icon>\n </md-button>\n </md-list-item>\n\n <md-list-item class="md-inset">\n <div class="md-list-text-container">\n <span>ali_connors@example.com</span>\n <span>Work</span>\n </div>\n </md-list-item>\n</md-list>\n '])," ",t._h("code-block",{attrs:{lang:"xml"}},['\n<md-list class="md-double-line md-dense">\n <md-list-item>\n <md-icon class="md-primary">phone</md-icon>\n\n <div class="md-list-text-container">\n <span>(650) 555-1234</span>\n <span>Mobile</span>\n </div>\n\n <md-button class="md-icon-button md-list-action">\n <md-icon>sms</md-icon>\n </md-button>\n </md-list-item>\n\n <md-list-item class="md-inset">\n <div class="md-list-text-container">\n <span>(650) 555-1234</span>\n <span>Mobile</span>\n </div>\n\n <md-divider class="md-inset"></md-divider>\n </md-list-item>\n\n <md-list-item>\n <md-icon class="md-primary">email</md-icon>\n\n <div class="md-list-text-container">\n <span>aliconnors@example.com</span>\n <span>Personal</span>\n </div>\n\n <md-button class="md-icon-button md-list-action">\n <md-icon>sms</md-icon>\n </md-button>\n </md-list-item>\n\n <md-list-item class="md-inset">\n <div class="md-list-text-container">\n <span>ali_connors@example.com</span>\n <span>Work</span>\n </div>\n </md-list-item>\n</md-list>\n '])])," ",t._h("demo-example",{attrs:{label:"Triple Line"}},[t._h("code-block",{attrs:{lang:"xml"}},['\n<md-list class="custom-list md-triple-line">\n <md-list-item>\n <md-avatar>\n <img src="https://placeimg.com/40/40/people/1" alt="People">\n </md-avatar>\n\n <div class="md-list-text-container">\n <span>Ali Connors</span>\n <span>Brunch this weekend?</span>\n <p>I\'ll be in your neighborhood doing errands...</p>\n </div>\n\n <md-button class="md-icon-button md-list-action">\n <md-icon class="md-primary">star</md-icon>\n </md-button>\n\n <md-divider class="md-inset"></md-divider>\n </md-list-item>\n\n <md-list-item>\n <md-avatar>\n <img src="https://placeimg.com/40/40/people/6" alt="People">\n </md-avatar>\n\n <div class="md-list-text-container">\n <span>me, Scott, Jennifer</span>\n <span>Summer BBQ</span>\n <p>Wish I could come, but I\'m out of town ...</p>\n </div>\n\n <md-button class="md-icon-button md-list-action">\n <md-icon>star_border</md-icon>\n </md-button>\n\n <md-divider class="md-inset"></md-divider>\n </md-list-item>\n\n <md-list-item>\n <md-avatar>\n <img src="https://placeimg.com/40/40/people/5" alt="People">\n </md-avatar>\n\n <div class="md-list-text-container">\n <span>Sandra Adams</span>\n <span>Oui oui</span>\n <p>Do you have Paris recommendations ...</p>\n </div>\n\n <md-button class="md-icon-button md-list-action">\n <md-icon>star_border</md-icon>\n </md-button>\n\n <md-divider class="md-inset"></md-divider>\n </md-list-item>\n\n <md-list-item>\n <md-avatar>\n <img src="https://placeimg.com/40/40/people/8" alt="People">\n </md-avatar>\n\n <div class="md-list-text-container">\n
attrs:{label:"Links"}},[t._h("code-block",{attrs:{lang:"xml"}},['\n<md-button href="#/components/button" class="md-raised">Default</md-button>\n<md-button href="#/components/button" class="md-raised md-primary">Primary</md-button>\n<md-button href="#/components/button" class="md-raised md-accent">Accent</md-button>\n<md-button href="#/components/button" class="md-raised md-warn">Warn</md-button>\n<md-button href="#/components/button" class="md-raised md-primary" disabled>Disabled</md-button>\n<md-button href="#/components/button" class="md-raised md-dense">Dense</md-button>\n '])])," ",t._h("demo-example",{attrs:{label:"Icons - Flat"}},[t._h("code-block",{attrs:{lang:"xml"}},['\n<md-button class="md-icon-button">\n <md-icon>add</md-icon>\n</md-button>\n\n<md-button class="md-icon-button md-primary">\n <md-icon>add</md-icon>\n</md-button>\n\n<md-button class="md-icon-button md-accent">\n <md-icon>add</md-icon>\n</md-button>\n\n<md-button class="md-icon-button md-warn">\n <md-icon>add</md-icon>\n</md-button>\n\n<md-button class="md-icon-button" disabled>\n <md-icon>add</md-icon>\n</md-button>\n\n<md-button class="md-icon-button md-dense">\n <md-icon>add</md-icon>\n</md-button>\n '])])," ",t._h("demo-example",{attrs:{label:"Icons - Raised"}},[t._h("code-block",{attrs:{lang:"xml"}},['\n<md-button class="md-icon-button md-raised">\n <md-icon>add</md-icon>\n</md-button>\n\n<md-button class="md-icon-button md-raised md-primary">\n <md-icon>add</md-icon>\n</md-button>\n\n<md-button class="md-icon-button md-raised md-accent">\n <md-icon>add</md-icon>\n</md-button>\n\n<md-button class="md-icon-button md-raised md-warn">\n <md-icon>add</md-icon>\n</md-button>\n\n<md-button class="md-icon-button md-raised" disabled>\n <md-icon>add</md-icon>\n</md-button>\n\n<md-button class="md-icon-button md-raised md-dense">\n <md-icon>add</md-icon>\n</md-button>\n '])])," ",t._h("demo-example",{attrs:{label:"Floating Action Button"}},[t._h("code-block",{attrs:{lang:"xml"}},['\n<md-button class="md-fab md-fab-bottom-right">\n <md-icon>add</md-icon>\n</md-button>\n\n<md-button class="md-fab md-fab-bottom-left md-mini">\n <md-icon>add</md-icon>\n</md-button>\n\n<md-button class="md-fab">\n <md-icon>edit</md-icon>\n</md-button>\n\n<md-button class="md-fab md-mini">\n <md-icon>edit</md-icon>\n</md-button>\n\n<md-button class="md-fab md-primary">\n <md-icon>email</md-icon>\n</md-button>\n\n<md-button class="md-fab md-primary md-mini">\n <md-icon>email</md-icon>\n</md-button>\n\n<md-button class="md-fab md-warn">\n <md-icon>save</md-icon>\n</md-button>\n\n<md-button class="md-fab md-warn md-mini">\n <md-icon>save</md-icon>\n</md-button>\n\n<md-button class="md-fab md-clean">\n <md-icon>chat</md-icon>\n</md-button>\n\n<md-button class="md-fab md-clean md-mini">\n <md-icon>chat</md-icon>\n</md-button>\n\n<md-button class="md-fab" disabled>\n <md-icon>message</md-icon>\n</md-button>\n\n<md-button class="md-fab md-mini" disabled>\n <md-icon>message</md-icon>\n</md-button>\n '])])])," ",t._h("div",{slot:"api"})])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this;return t._h("md-menu-item",{staticClass:"md-option",class:t.classes,attrs:{tabindex:"-1"},on:{click:t.selectOption}},[t.parentSelect.multiple?t._h("md-checkbox",{directives:[{name:"model",rawName:"v-model",value:t.check,expression:"check"}],staticClass:"md-primary",domProps:{value:t.check},on:{input:function(e){t.check=e}}},[t._h("span",{ref:"item"},[t._t("default")])]):t._h("span",{ref:"item"},[t._t("default")])," "])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this;return t._h("demo-page",{attrs:{label:"Components - Subheader"}},[t._h("div",{slot:"examples"},[t._h("demo-example",{attrs:{label:"With Lists"}},[t._h("div",{staticClass:"phone-viewport"},[t._h("md-list",[t._h("md-subheader",["Navigation"])," ",t._h("md-list-item",[t._h("md-icon",["move_to_inbox"])," ",t._m(0)])," ",t._h("md-list-item",[t._h("md-icon",["send"])," ",t._m(1)])," ",t._h("md-list-item",[t._h("md-icon",["delete"])," ",t._
2016-11-16 04:47:08 +00:00
* vue-router v2.0.2
* (c) 2016 Evan You
* @license MIT
*/
!function(e,n){t.exports=n()}(this,function(){"use strict";function t(t,e,n){if("/"===t.charAt(0))return t;if("?"===t.charAt(0)||"#"===t.charAt(0))return e+t;var a=e.split("/");n&&a[a.length-1]||a.pop();for(var i=t.replace(/^\//,"").split("/"),o=0;o<i.length;o++){var r=i[o];"."!==r&&(".."===r?a.pop():a.push(r))}return""!==a[0]&&a.unshift(""),a.join("/")}function e(t){var e="",n="",a=t.indexOf("#");a>=0&&(e=t.slice(a),t=t.slice(0,a));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}function n(t){return t.replace(/\/\//g,"/")}function a(t,e){if(!t)throw new Error("[vue-router] "+e)}function i(t,e){t||"undefined"!=typeof console&&console.warn("[vue-router] "+e)}function o(t,e){if(void 0===e&&(e={}),t){var n;try{n=r(t)}catch(t){i(!1,t.message),n={}}for(var a in e)n[a]=e[a];return n}return e}function r(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),a=pt(n.shift()),i=n.length>0?pt(n.join("=")):null;void 0===e[a]?e[a]=i:Array.isArray(e[a])?e[a].push(i):e[a]=[e[a],i]}),e):e}function d(t){var e=t?Object.keys(t).sort().map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return ht(e);if(Array.isArray(n)){var a=[];return n.slice().forEach(function(t){void 0!==t&&(null===t?a.push(ht(e)):a.push(ht(e)+"="+ht(t)))}),a.join("&")}return ht(e)+"="+ht(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function s(t,e,n){var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:e.query||{},params:e.params||{},fullPath:c(e),matched:t?m(t):[]};return n&&(a.redirectedFrom=c(n)),Object.freeze(a)}function m(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function c(t){var e=t.path,n=t.query;void 0===n&&(n={});var a=t.hash;return void 0===a&&(a=""),(e||"/")+d(n)+a}function l(t,e){return e===ft?t===e:!!e&&(t.path&&e.path?t.path.replace(bt,"")===e.path.replace(bt,"")&&t.hash===e.hash&&u(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&u(t.query,e.query)&&u(t.params,e.params)))}function u(t,e){void 0===t&&(t={}),void 0===e&&(e={});var n=Object.keys(t),a=Object.keys(e);return n.length===a.length&&n.every(function(n){return String(t[n])===String(e[n])})}function h(t,e){return 0===t.path.indexOf(e.path.replace(/\/$/,""))&&(!e.hash||t.hash===e.hash)&&p(t.query,e.query)}function p(t,e){for(var n in e)if(!(n in t))return!1;return!0}function f(n,a,i){var r="string"==typeof n?{path:n}:n;if(r.name||r._normalized)return r;var d=e(r.path||""),s=a&&a.path||"/",m=d.path?t(d.path,s,i):a&&a.path||"/",c=o(d.query,r.query),l=r.hash||d.hash;return l&&"#"!==l.charAt(0)&&(l="#"+l),{_normalized:!0,path:m,query:c,hash:l}}function b(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=b(e.children)))return e}}function v(t,e,a){var i="hash"===a?"/#"+e:e;return t?n(t+i):i}function _(t){if(!_.installed){_.installed=!0,lt=t,Object.defineProperty(t.prototype,"$router",{get:function(){return this.$root._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this.$root._route}}),t.mixin({beforeCreate:function(){this.$options.router&&(this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current))}}),t.component("router-view",ut),t.component("router-link",_t);var e=t.config.optionMergeStrategies;e.beforeRouteEnter=e.beforeRouteLeave=e.created}}function g(t,e){for(var n,a=[],i=0,o=0,r="",d=e&&e.delimiter||"/";null!=(n=kt.exec(t));){var s=n[0],m=n[1],c=n.index;if(r+=t.slice(o,c),o=c+s.length,m)r+=m[1];else{var l=t[o],u=n[2],h=n[3],p=n[4],f=n[5],b=n[6],v=n[7];r&&(a.push(r),r="");var _=null!=u&&null!=l&&l!==u,g="+"===b||"*"===b,y="?"===b||"*"===b,x=n[2]||d,C=p||f;a.push({name:h||i++,prefix:u||"",delimiter:x,optional:y,repeat:g,partial:_,asterisk:!!v,pattern:C?M(C):v?".*":"[^"+w(x)+"]+?"})}}return o<t.length&&(r+=t.substr(o)),r&&a.push(r),a}function y(t,e){return E(g(t,e))}function x(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0)