vue-material/dist/docs/docs.10hg96jp.js

32 lines
568 KiB
JavaScript
Raw Normal View History

0.4.0 * Improve sidenav performance and expansion list performance * Init dialog * Add initial transition * Add backdrop to md-menu * Create dialog opening from and closing to * Add example os basic and opening from and to * Add todo * Create alias for root element * Fix dialog position * Improve transitions * Fix rules * Fix dialog position on open * Improve docs transitions * Create styles for actions and content * Create confirm dialog preset * Create alert dialog preset * Create prompt dialog preset * Add example with HTML * Improve close transition * Create new documentation template for components * Improve template for mobile * Improve toolbar behaviour * Format code-block and apply clipboard.js * Move clipboard to devDependencies * Show toast after copy * Add function to toggle sidenav and add page title * create avatar documentation with the new template * Improve themes and codes * Remove hover * fix copied toast position * add classes tab * create bottom-bar documentation with the new template * improve bottom bar docs * create button documentation with the new template * create button toggle documentation with the new template * Fix backdrop styles * Fix image color names * create card documentation with the new template * Update debug-lib.js (#106) Fixes webpack missing module error when loading scss * create checkboxes documentation with the new template * Add more alignment options (#109) * Create offset options - md-offset-y and md-offset-x * Add option to align the menu to the trigger * Create better examples * fix bottom-right position * create dialog documentation with the new template * create icon documentation with the new template * fix typo * create input documentation with the new template * create tooltip documentation with the new template * create whiteframe documentation with the new template * Fix unregisterMouseEvent not accepting the element as parameter (#118) * create radio documentation with the new template * create ripple documentation with the new template * create switch documentation with the new template * create subheader documentation with the new template * fix text * improvements over menu * create menu documentation with the new template * create sidenav documentation with the new template * create toolbar documentation with the new template * improve visibility of some code-blocks * create select documentation with the new template * create typography documentation with the new template * create changelog page with the new template * create about page with the new template * create error page with the new template * create introduction page with the new template * create getting started page with the new template * create getting started page with the new template * add codepen examples * create list documentation with the new template * improve docs * add old releases in a folder * optimize build time * remove unused code and rename components * generate old versions * redirect to old documentation versions * [build] 0.4.0 * [build] 0.4.0 * restore dist * get current version from url * [build] 0.4.0 * restore old docs * add correct branch to release script * create table documentation with the new template * add a better explanation of list classes * improve docs * create table documentation with the new template * add code example for tabs * remove directive example of ripple * fix code example of typograph items * general fixes and code cleanup * create themes documentation * start the creation of button "edit on codepen" * group theme text and fix height of codepen example * start creation of tabs * recreate tabs * fix shadow transition inside menus (#141 #129) * add href support for mdBottomBar (#142 #121) * fix table row not watching item #116 #113 (#143) * Improvement/md tooltip (#144) * fix stucked tooltips #103 * remove example * update website url * update libs * fix vue version reference * [build] 0.4.0
2016-12-05 03:57:58 +00:00
webpackJsonp([1,0,2],[function(t,e,n){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}var o=n(5),i=a(o),d=n(375),r=a(d);n(7);var s=n(8),l=a(s),m=n(195),c=a(m),u=n(200),p=a(u),b=n(198),f=a(b),h=n(199),v=a(h),g=n(196),y=a(g),x=n(197),E=a(x);i.default.component("page-content",p.default),i.default.component("docs-component",f.default),i.default.component("example-box",v.default),i.default.component("api-table",y.default),i.default.component("code-block",E.default),i.default.use(r.default);var C=new r.default({routes:l.default}),w=i.default.component("app",c.default),_=function(t){"getting-started"===t.name?w.theme="indigo":t.name.indexOf("themes")>=0?w.theme="cyan":t.name.indexOf("ui-elements")>=0?w.theme="blue-grey":"changelog"===t.name?w.theme="orange":"about"===t.name?w.theme="green":"error"===t.name?w.theme="red":w.theme="default"};w=new w({el:"#app",router:C}),_(C.currentRoute),C.afterEach(function(t){i.default.nextTick(function(){var e=document.querySelector(".main-content");e&&(e.scrollTop=0),w.closeSidenav(),_(t)})})},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function t(e,n){return!(!e||!e.$el)&&(0!==e._uid&&(e.$el.classList.contains(n)?e:t(e.$parent,n)))};e.default=n,t.exports=e.default},function(t,e){"use strict";function n(){var t=document.createElement("span"),e={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var n in e)if(void 0!==t.style[n])return e[n]}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n(),t.exports=e.default},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(t){this.setParentValue(t)},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(t){this.parentContainer.setValue(t||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(){var t=this.$el.value;this.setParentValue(),this.parentContainer.inputLength=t?t.length:0,this.$emit("change",t),this.$emit("input",t)}}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.constructor===Array};e.default=n,t.exports=e.default},function(t,e,n){(function(e){/*!
* Vue.js v2.1.4
* (c) 2014-2016 Evan You
* Released under the MIT License.
*/
"use strict";function n(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function a(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(","),o=0;o<a.length;o++)n[a[o]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function i(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function d(t,e){return pn.call(t,e)}function r(t){return"string"==typeof t||"number"==typeof t}function s(t){var e=Object.create(null);return function(n){var a=e[n];return a||(e[n]=t(n))}}function l(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 m(t,e){e=e||0;for(var n=t.length-e,a=new Array(n);n--;)a[n]=t[n+e];return a}function c(t,e){for(var n in e)t[n]=e[n];return t}function u(t){return null!==t&&"object"==typeof t}function p(t){return yn.call(t)===xn}function b(t){for(var e={},n=0;n<t.length;n++)t[n]&&c(e,t[n]);return e}function f(){}function h(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}function v(t,e){return t==e||!(!u(t)||!u(e))&&JSON.stringify(t)===JSON.stringify(e)}function g(t,e){for(var n=0;n<t.length;n++)if(v(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 E(t){if(!wn.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 C(t){return/native code/.test(t.toString())}function w(t){Fn.target&&Bn.push(Fn.target),Fn.target=t}function _(){Fn.target=Bn.pop()}function k(t,e){t.__proto__=e}function M(t,e,n){for(var a=0,o=n.length;a<o;a++){var i=n[a];x(t,i,e[i])}}function A(t){if(u(t)){var e;return d(t,"__ob__")&&t.__ob__ instanceof Wn?e=t.__ob__:Un.shouldConvert&&!Sn()&&(Array.isArray(t)||p(t))&&Object.isExtensible(t)&&!t._isVue&&(e=new Wn(t)),e}}function T(t,e,n,a){var o=new Fn,i=Object.getOwnPropertyDescriptor(t,e);if(!i||i.configurable!==!1){var d=i&&i.get,r=i&&i.set,s=A(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=d?d.call(t):n;return Fn.target&&(o.depend(),s&&s.dep.depend(),Array.isArray(e)&&O(e)),e},set:function(e){var i=d?d.call(t):n;e===i||e!==e&&i!==i||(a&&a(),r?r.call(t,e):n=e,s=A(e),o.notify())}})}}function N(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 Hn("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."):a?(T(a.value,e,n),a.dep.notify(),n):void(t[e]=n)}function R(t,e){var n=t.__ob__;return t._isVue||n&&n.vmCount?void Hn("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 O(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)&&O(e)}function S(t,e){if(!e)return t;for(var n,a,o,i=Object.keys(e),r=0;r<i.length;r++)n=i[r],a=t[n],o=e[n],d(t,n)?p(a)&&p(o)&&S(a,o):N(t,n,o);return t}function P(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function D(t,e){var n=Object.create(t||null);return e?c(n,e):n}function I(t){for(var e in t.components){var n=e.toLowerCase();(un(n)||Cn.isReservedTag(n))&&Hn("Do not use built-in or reserved HTML elements as component id: "+e)}}function H(t){var e=t.props;if(e){var n,a,o,i={};if(Array.isArray(e))for(n=e.length;n--;)a=e[n],"string"==typeof a?(o=fn(a),i[o]={type:null}):Hn("props must be strings when using array syntax.");else if(p(e))for(var d in e)a=e[d],o=fn(d),i[o]=p(a)?a:{type:a};t.props=i}}function $(t){var e=t.directives;if(e)for(var n in e){var a=e[n];"function"==typeof a&&(e[n]={bind:a,update:a})}}function L(t,e,n){function a(a){var o=Gn[a]||Kn;m[a]=o(t[a],e[a],n,a)}I(e),H(e),$(e);var o=e.extends;if(o&&(t="function"==typeof o?L(t,o.options,n):L(t,o,n)),e.mixins)for(var i=0,r=e.mixins
for(n in d)null==r[n]&&(Ta(n)?i.removeAttributeNS(Aa,Na(n)):ka(n)||i.removeAttribute(n))}}function Ae(t,e,n){Ma(e)?Ra(n)?t.removeAttribute(e):t.setAttribute(e,e):ka(e)?t.setAttribute(e,Ra(n)||"false"===n?"false":"true"):Ta(e)?Ra(n)?t.removeAttributeNS(Aa,Na(e)):t.setAttributeNS(Aa,e,n):Ra(n)?t.removeAttribute(e):t.setAttribute(e,n)}function Te(t,e){var n=e.elm,a=e.data,o=t.data;if(a.staticClass||a.class||o&&(o.staticClass||o.class)){var i=Kt(e),d=n._transitionClasses;d&&(i=Qt(i,Zt(d))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}function Ne(t,e){if(t.data.on||e.data.on){var n=e.data.on||{},a=t.data.on||{},o=e.elm._v_add||(e.elm._v_add=function(t,n,a,o){if(a){var d=n;n=function(e){i(t,n,o),1===arguments.length?d(e):d.apply(null,arguments)}}e.elm.addEventListener(t,n,o)}),i=e.elm._v_remove||(e.elm._v_remove=function(t,n,a){e.elm.removeEventListener(t,n,a)});mt(n,a,o,i,e.context)}}function Re(t,e){if(t.data.domProps||e.data.domProps){var n,a,o=e.elm,i=t.data.domProps||{},d=e.data.domProps||{};d.__ob__&&(d=e.data.domProps=c({},d));for(n in i)null==d[n]&&(o[n]="");for(n in d)if(a=d[n],"textContent"!==n&&"innerHTML"!==n||(e.children&&(e.children.length=0),a!==i[n]))if("value"===n){o._value=a;var r=null==a?"":String(a);o.value===r||o.composing||(o.value=r)}else o[n]=a}}function Oe(t){var e=Se(t.style);return t.staticStyle?c(t.staticStyle,e):e}function Se(t){return Array.isArray(t)?b(t):"string"==typeof t?Ga(t):t}function Pe(t,e){var n,a={};if(e)for(var o=t;o.child;)o=o.child._vnode,o.data&&(n=Oe(o.data))&&c(a,n);(n=Oe(t.data))&&c(a,n);for(var i=t;i=i.parent;)i.data&&(n=Oe(i.data))&&c(a,n);return a}function De(t,e){var n=e.data,a=t.data;if(n.staticStyle||n.style||a.staticStyle||a.style){var o,i,d=e.elm,r=t.data.staticStyle,s=t.data.style||{},l=r||s,m=Se(e.data.style)||{};e.data.style=m.__ob__?c({},m):m;var u=Pe(e,!0);for(i in l)null==u[i]&&Ja(d,i,"");for(i in u)o=u[i],o!==l[i]&&Ja(d,i,null==o?"":o)}}function Ie(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 He(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 $e(t){so(function(){so(t)})}function Le(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),Ie(t,e)}function je(t,e){t._transitionClasses&&i(t._transitionClasses,e),He(t,e)}function Fe(t,e,n){var a=Be(t,e),o=a.type,i=a.timeout,d=a.propCount;if(!o)return n();var r=o===eo?oo:ro,s=0,l=function(){t.removeEventListener(r,m),n()},m=function(e){e.target===t&&++s>=d&&l()};setTimeout(function(){s<d&&l()},i+1),t.addEventListener(r,m)}function Be(t,e){var n,a=window.getComputedStyle(t),o=a[ao+"Delay"].split(", "),i=a[ao+"Duration"].split(", "),d=qe(o,i),r=a[io+"Delay"].split(", "),s=a[io+"Duration"].split(", "),l=qe(r,s),m=0,c=0;e===eo?d>0&&(n=eo,m=d,c=i.length):e===no?l>0&&(n=no,m=l,c=s.length):(m=Math.max(d,l),n=m>0?d>l?eo:no:null,c=n?n===eo?i.length:s.length:0);var u=n===eo&&lo.test(a[ao+"Property"]);return{type:n,timeout:m,propCount:c,hasTransform:u}}function qe(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return ze(e)+ze(t[n])}))}function ze(t){return 1e3*Number(t.slice(0,-1))}function Ve(t){var e=t.elm;e._leaveCb&&(e._leaveCb.cancelled=!0,e._leaveCb());var n=We(t.data.transition);if(n&&!e._enterCb&&1===e.nodeType){for(var a=n.css,o=n.type,i=n.enterClass,d=n.enterActiveClass,r=n.appearClass,s=n.appearActiveClass,l=n.beforeEnter,m=n.enter,c=n.afterEnter,u=n.enterCancelled,p=n.beforeAppear,b=n.appear,f=n.afterAppear,h=n.appearCancelled,v=ha,g=ha.$vnode;g&&g.parent;)g=g.parent,v=g.context;var y=!v._isMounted||!t.isRootInsert;if(!y||b||""===b){var x=y?r:i,E=y?s:d,C=y?p||l:l,w=y&&"function"==typeof b?b:m,_=y?f||c:c,k=y?h||u:u,M=a!==!1&&!T
Autosize 3.0.20
license: MIT
http://www.jacklmoore.com/autosize
*/
!function(n,d){o=[e,t],a=d,i="function"==typeof a?a.apply(e,o):a,!(void 0!==i&&(t.exports=i))}(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),r()}function n(e){var n=t.style.width;t.style.width="0px",t.offsetWidth,t.style.width=n,t.style.overflowY=e}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 o(){var e=t.style.height,n=a(t),o=document.documentElement&&document.documentElement.scrollTop;t.style.height="auto";var i=t.scrollHeight+s;return 0===t.scrollHeight?void(t.style.height=e):(t.style.height=i+"px",l=t.clientWidth,n.forEach(function(t){t.node.scrollTop=t.scrollTop}),void(o&&(document.documentElement.scrollTop=o)))}function r(){o();var e=Math.round(parseFloat(t.style.height)),a=window.getComputedStyle(t,null),i=Math.round(parseFloat(a.height));if(i!==e?"visible"!==a.overflowY&&(n("visible"),o(),i=Math.round(parseFloat(window.getComputedStyle(t,null).height))):"hidden"!==a.overflowY&&(n("hidden"),o(),i=Math.round(parseFloat(window.getComputedStyle(t,null).height))),m!==i){m=i;var r=d("autosize:resized");try{t.dispatchEvent(r)}catch(t){}}}if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!i.has(t)){var s=null,l=t.clientWidth,m=null,c=function(){t.clientWidth!==l&&r()},u=function(e){window.removeEventListener("resize",c,!1),t.removeEventListener("input",r,!1),t.removeEventListener("keyup",r,!1),t.removeEventListener("autosize:destroy",u,!1),t.removeEventListener("autosize:update",r,!1),Object.keys(e).forEach(function(n){t.style[n]=e[n]}),i.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",r,!1),window.addEventListener("resize",c,!1),t.addEventListener("input",r,!1),t.addEventListener("autosize:update",r,!1),t.style.overflowX="hidden",t.style.wordWrap="break-word",i.set(t,{destroy:u,update:r}),e()}}function a(t){var e=i.get(t);e&&e.destroy()}function o(t){var e=i.get(t);e&&e.update()}var i="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))}}}(),d=function(t){return new Event(t,{bubbles:!0})};try{new Event("test")}catch(t){d=function(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!1),e}}var r=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(r=function(t){return t},r.destroy=function(t){return t},r.update=function(t){return t}):(r=function(t,e){return t&&Array.prototype.forEach.call(t.length?t:[t],function(t){return n(t,e)}),t},r.destroy=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],a),t},r.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],o),t}),e.exports=r})},function(t,e,n){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}var o=n(5),i=a(o),d=n(39),r=a(d);i.default.use(r.default),i.default.material.theme.registerAll({default:{primary:"blue",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"},red:{primary:"red",accent:"pink"},white:{primary:"white",accent:"blue"},grey:{primary:
document.title=this.pageTitle+" - Vue Material"}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{playground:{theme:"brown"}}},methods:{setTheme:function(t){this.playground.theme=t}}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{buttonDisabled:!0}},methods:{disablePrimaryButton:function(){this.buttonDisabled=!this.buttonDisabled}}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{checkbox:!0,checkbox2:!1}}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{alert:{content:"Your post has been deleted!",ok:"Cool!"},alert2:{title:"Post created!",contentHtml:"Your post <strong>Material Design is awesome</strong> has been created."},confirm:{title:"Use Google's location service?",contentHtml:"Let Google help apps determine location. <br> This means sending <strong>anonymous</strong> location data to Google, even when no apps are running.",ok:"Agree",cancel:"Disagree"},prompt:{title:"What's your name?",ok:"Done",cancel:"Cancel",id:"name",name:"name",placeholder:"Type your name...",maxlength:30,value:""}}},methods:{openDialog:function(t){this.$refs[t].open()},closeDialog:function(t){this.$refs[t].close()},onOpen:function(){console.log("Opened")},onClose:function(t){console.log("Closed",t)}}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{initialValue:"My initial value"}}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{radio1:2,radio2:1,radio3:1,radio4:1,radio5:2,radio6:3,radio7:1,radio8:2}}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{movie:"godfather",country:"",font:"",food:"",users:["jim_halpert","michael_scott"]}},methods:{setPulpFiction:function(){this.movie="pulp_fiction"}}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={methods:{toggleLeftSidenav:function(){this.$refs.leftSidenav.toggle()},toggleRightSidenav:function(){this.$refs.rightSidenav.toggle()},closeRightSidenav:function(){this.$refs.rightSidenav.close()},open:function(t){console.log("Opened: "+t)},close:function(t){console.log("Closed: "+t)}}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{checked0:!0,checked1:!0,checked2:!0,checked3:!0,checked4:!0,checked5:!0,checked6:!0,checked7:!0,checked8:!0,checked9:!0,checked10:!0}},methods:{submit:function(){alert("This switch submits the form")}}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{nutrition:[{dessert:"Frozen yogurt",type:"ice_cream",calories:"159",fat:"6.0",comment:"Icy"},{dessert:"Ice cream sandwich",type:"ice_cream",calories:"237",fat:"9.0",comment:"Super Tasty"},{dessert:"Eclair",type:"pastry",calories:"262",fat:"16.0",comment:""},{dessert:"Cupcake",type:"pastry",calories:"305",fat:"3.7",comment:""},{dessert:"Gingerbread",type:"other",calories:"356",fat:"16.0",comment:""}],selectedData:[],sort:{},page:{}}},methods:{onSelect:function(t){this.selectedData=t,this.$forceUpdate()},onSort:function(t){this.sort=t},onPagination:function(t){this.page=t}}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={methods:{close:function(){this.$emit("close")}}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mdShift:Boolean},computed:{classes:function(){return this.mdShift?"md-shift":"md-fixed"}}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defau
}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{value:[String,Number],mdLarge:Boolean,mdId:String,mdName:String,mdPlaceholder:String,mdMaxlength:[Number,String]},data:function(){return{active:!1}},computed:{triggerClasses:function(){return{"md-edited":this.value}},dialogClasses:function(){return{"md-active":this.active,"md-large":this.mdLarge}},realValue:function(){console.log(this.value)}},methods:{openDialog:function(){this.active=!0,this.$refs.input.$el.focus(),document.addEventListener("click",this.closeDialogOnOffClick)},closeDialog:function(){this.active&&(this.active=!1,this.$refs.input.$el.blur(),document.removeEventListener("click",this.closeDialogOnOffClick))},closeDialogOnOffClick:function(t){this.$refs.dialog.contains(t.target)||this.closeDialog()},confirmDialog:function(){var t=this.$refs.input.$el.value;this.closeDialog(),this.$emit("input",t),this.$emit("edited",t)}}},t.exports=e.default},function(t,e,n){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),i=a(o);e.default={props:{mdNumeric:Boolean,mdSortBy:String,mdTooltip:String},data:function(){return{sortType:null,sorted:!1,parentTable:{}}},computed:{classes:function(){var t=this.hasMatchSort();return t||(this.sorted=!1),{"md-numeric":this.mdNumeric,"md-sortable":this.mdSortBy,"md-sorted":t&&this.sorted,"md-sorted-descending":t&&"desc"===this.sortType}}},methods:{hasMatchSort:function(){return this.parentTable.sortBy===this.mdSortBy},changeSort:function(){this.mdSortBy&&("asc"===this.sortType&&this.sorted?this.sortType="desc":this.sortType="asc",this.sorted=!0,this.parentTable.sortType=this.sortType,this.parentTable.emitSort(this.mdSortBy))}},mounted:function(){this.parentTable=(0,i.default)(this.$parent,"md-table"),this.hasMatchSort()&&(this.sorted=!0,this.sortType=this.parentTable.sortType)}},t.exports=e.default},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mdSize:{type:[Number,String],default:10},mdPageOptions:[Array,Boolean],mdPage:{type:[Number,String],default:1},mdTotal:{type:[Number,String],default:"Many"},mdLabel:{type:String,default:"Rows per page"},mdSeparator:{type:String,default:"of"}},data:function(){return{currentSize:parseInt(this.mdSize,10),currentPage:parseInt(this.mdPage,10),totalItems:!isNaN(this.mdTotal)&&Number.MAX_SAFE_INTEGER}},computed:{lastPage:function(){return!1}},methods:{emitPaginationEvent:function(){this.canFireEvents&&this.$emit("pagination",{size:this.currentSize,page:this.currentPage})},changeSize:function(){this.canFireEvents&&(this.$emit("size",this.currentSize),this.emitPaginationEvent())},changePage:function(){this.canFireEvents&&(this.$emit("page",this.currentPage),this.emitPaginationEvent())}},mounted:function(){var t=this;this.$nextTick(function(){t.mdPageOptions=t.mdPageOptions||[10,25,50,100],t.currentSize=t.mdPageOptions[0],t.canFireEvents=!0})}},t.exports=e.default},function(t,e,n){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),i=a(o),d="md-transition-off";e.default={props:{mdAutoSelect:Boolean,mdSelection:Boolean,mdItem:Object},data:function(){return{parentTable:{},headRow:!1,checkbox:!1,index:0}},computed:{isDisabled:function(){return!this.mdSelection&&!this.headRow},hasSelection:function(){return this.mdSelection||this.headRow&&this.parentTable.hasRowSelection},classes:function(){return{"md-selected":this.checkbox}}},watch:{mdItem:function(t,e){this.parentTable.data[this.index]=this.mdItem,this.handleMultipleSelection(t===e)}},methods:{setSelectedRow:function(t,e){t?(this.parentTable.selectedRows[e]=this.parentTable.data[e],++this.parentTable.numberOfSelected):(delete this.parentTable.selectedRows[e],--this.parentTable.numberOfSelected)},handleSingleSelection:function(t){this.setSelectedRow(t,this.index-1),this.parentTable.$children[0].checkbox=this.parentTable.numberOfSelected===this.parentTable.numberOfRows},handleMultipleSelection:function
t.result={language:a.language,re:a.relevance},a.second_best&&(t.second_best={language:a.second_best.language,re:a.second_best.relevance}))}function f(t){N=d(N,t)}function h(){if(!h.called){h.called=!0;var t=document.querySelectorAll("pre code");E.forEach.call(t,b)}}function v(){addEventListener("DOMContentLoaded",h,!1),addEventListener("load",h,!1)}function g(e,n){var a=w[e]=n(t);a.aliases&&a.aliases.forEach(function(t){_[t]=e})}function y(){return C(w)}function x(t){return t=(t||"").toLowerCase(),w[t]||w[_[t]]}var E=[],C=Object.keys,w={},_={},k=/^(no-?highlight|plain|text)$/i,M=/\blang(?:uage)?-([\w-]+)\b/i,A=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,T="</span>",N={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},R={"&":"&amp;","<":"&lt;",">":"&gt;"};return t.highlight=m,t.highlightAuto=c,t.fixMarkup=u,t.highlightBlock=b,t.configure=f,t.initHighlighting=h,t.initHighlightingOnLoad=v,t.registerLanguage=g,t.listLanguages=y,t.getLanguage=x,t.inherit=d,t.IDENT_RE="[a-zA-Z]\\w*",t.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",t.NUMBER_RE="\\b\\d+(\\.\\d+)?",t.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",t.BINARY_NUMBER_RE="\\b(0b[01]+)",t.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",t.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},t.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},t.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},t.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|like)\b/},t.COMMENT=function(e,n,a){var o=t.inherit({className:"comment",begin:e,end:n,contains:[]},a||{});return o.contains.push(t.PHRASAL_WORDS_MODE),o.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),o},t.C_LINE_COMMENT_MODE=t.COMMENT("//","$"),t.C_BLOCK_COMMENT_MODE=t.COMMENT("/\\*","\\*/"),t.HASH_COMMENT_MODE=t.COMMENT("#","$"),t.NUMBER_MODE={className:"number",begin:t.NUMBER_RE,relevance:0},t.C_NUMBER_MODE={className:"number",begin:t.C_NUMBER_RE,relevance:0},t.BINARY_NUMBER_MODE={className:"number",begin:t.BINARY_NUMBER_RE,relevance:0},t.CSS_NUMBER_MODE={className:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},t.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[t.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[t.BACKSLASH_ESCAPE]}]},t.TITLE_MODE={className:"title",begin:t.IDENT_RE,relevance:0},t.UNDERSCORE_TITLE_MODE={className:"title",begin:t.UNDERSCORE_IDENT_RE,relevance:0},t.METHOD_GUARD={begin:"\\.\\s*"+t.UNDERSCORE_IDENT_RE,relevance:0},t})},function(t,e){t.exports=function(t){var e={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)}/}]},n={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,e,{className:"variable",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]}]},a={className:"string",begin:/'/,end:/'/};return{aliases:["sh","zsh"],lexemes:/-?[a-z\._]+/,keywords:{keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse z
},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-
"function"==typeof o&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=a},function(t,e,n){var a,o;n(137);var i=n(339);o=a=a||{},"object"!=typeof a.default&&"function"!=typeof a.default||(o=a=a.default),"function"==typeof o&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=a},function(t,e,n){var a,o;n(121),a=n(94);var i=n(314);o=a=a||{},"object"!=typeof a.default&&"function"!=typeof a.default||(o=a=a.default),"function"==typeof o&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=a},function(t,e,n){var a,o;n(104),a=n(95);var i=n(290);o=a=a||{},"object"!=typeof a.default&&"function"!=typeof a.default||(o=a=a.default),"function"==typeof o&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=a},function(t,e,n){var a,o;n(125),o=a=a||{},"object"!=typeof a.default&&"function"!=typeof a.default||(o=a=a.default),"function"==typeof o&&(o=o.options),t.exports=a},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return e("div",{staticClass:"md-menu"},[t._t("default")," ",e("md-backdrop",{ref:"backdrop",staticClass:"md-menu-backdrop md-transparent md-active",on:{close:t.close}})])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return e("div",{staticClass:"md-dialog-title md-title"},[t._t("default")])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return e("div",{staticClass:"md-card-content"},[t._t("default")])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return e("div",{staticClass:"md-whiteframe",class:t.classes},[t._t("default")])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return e("div",{staticClass:"md-bottom-bar",class:t.classes},[t._t("default")])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return e("page-content",{attrs:{"page-title":"Introduction"}},[e("div",{staticClass:"main-content"},[e("div",{staticClass:"button-actions"},[e("div",{staticClass:"example"},[e("img",{attrs:{src:"assets/vue-material-example.png",alt:"Material Design"}})])," ",e("div",{staticClass:"introduction"},["Build well-crafted apps with Material Design and Vue 2"])," ",e("md-button",{staticClass:"md-primary md-raised",attrs:{href:"#/getting-started"}},["Getting Started"])," ",e("md-button",{staticClass:"md-primary md-raised",attrs:{href:"https://github.com/marcosmoura/vue-material",target:"_blank",rel:"noopener"}},["Github"])])," ",e("div",{staticClass:"row"},[e("div",{staticClass:"column"},[e("h2",{staticClass:"md-headline"},["Material Design"])," ",e("p",["Vue Material is lightweight framework built exactly according to the ",e("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."])])," ",e("div",{staticClass:"column"},[e("h2",{staticClass:"md-headline"},["Full-featured"])," ",e("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..."])])," ",e("div",{staticClass:"column"},[e("h2",{staticClass:"md-headline"},["Compatible"])," ",e("p",["It aims to deliver a collection of reusable components and a series of UI Elements to build applications with support to all modern Web Browsers through Vue 2.0."])])])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return e("md-dialog",{ref:"dialog",staticClass:"md-dialog-prompt",on:{close:function(e){t.fireCloseEvent("cancel")}}},[t.mdTitle?e("md-dialog-title",[t._s(t.mdTitle)]):t._e()," ",t.mdContentHtml?e("md-dialog-content",{domProps:{innerHTML:t._s(t.mdContentHtml)}}):t._e()," ",t.mdContent?e("md-dialog-content",[t._s(t.mdContent)]):t._e()," ",e("md-dialog-content",[e("md-input-container",[e("md-input",{ref:"input",attrs:{id:t.mdInputId,name:t.mdInputName
2016-12-05 04:21:02 +00:00
},[e("md-icon",["format_underline"])])," ",e("md-button",{staticClass:"md-icon-button"},[e("md-icon",["title"])])])," ",e("md-button-toggle",{staticClass:"md-button-group md-accent"},[e("md-button",{staticClass:"md-icon-button md-toggle"},[e("md-icon",["format_bold"])])," ",e("md-button",{staticClass:"md-icon-button md-toggle"},[e("md-icon",["format_italic"])])," ",e("md-button",{staticClass:"md-icon-button"},[e("md-icon",["format_underline"])])," ",e("md-button",{staticClass:"md-icon-button"},[e("md-icon",["title"])])])," ",e("md-button-toggle",{staticClass:"md-button-group md-warn"},[e("md-button",{staticClass:"md-icon-button md-toggle"},[e("md-icon",["format_bold"])])," ",e("md-button",{staticClass:"md-icon-button md-toggle"},[e("md-icon",["format_italic"])])," ",e("md-button",{staticClass:"md-icon-button"},[e("md-icon",["strikethrough_s"])])," ",e("md-button",{staticClass:"md-icon-button"},[e("md-icon",["title"])])])," ",e("md-button-toggle",{staticClass:"md-button-group md-primary"},[e("md-button",{staticClass:"md-icon-button"},[e("md-icon",["format_bold"])])," ",e("md-button",{staticClass:"md-icon-button",attrs:{disabled:""}},[e("md-icon",["format_italic"])])," ",e("md-button",{staticClass:"md-icon-button",attrs:{disabled:""}},[e("md-icon",["strikethrough_s"])])," ",e("md-button",{staticClass:"md-icon-button"},[e("md-icon",["title"])])])," ",e("md-button-toggle",[e("md-button",{staticClass:"md-toggle"},["Works"])," ",e("md-button",{staticClass:"md-toggle"},["With"])," ",e("md-button",["Text"])," ",e("md-button",["Too"])])])," ",e("div",{slot:"code"},[e("code-block",{attrs:{lang:"xml"}},['\n <md-button-toggle>\n <md-button class="md-icon-button md-toggle">\n <md-icon>format_bold</md-icon>\n </md-button>\n\n <md-button class="md-icon-button">\n <md-icon>format_italic</md-icon>\n </md-button>\n\n <md-button class="md-icon-button">\n <md-icon>strikethrough_s</md-icon>\n </md-button>\n\n <md-button class="md-icon-button md-toggle">\n <md-icon>title</md-icon>\n </md-button>\n </md-button-toggle>\n\n <md-button-toggle class="md-button-group md-primary">\n <md-button class="md-icon-button md-toggle">\n <md-icon>format_bold</md-icon>\n </md-button>\n\n <md-button class="md-icon-button md-toggle">\n <md-icon>format_italic</md-icon>\n </md-button>\n\n <md-button class="md-icon-button">\n <md-icon>format_underline</md-icon>\n </md-button>\n\n <md-button class="md-icon-button">\n <md-icon>title</md-icon>\n </md-button>\n </md-button-toggle>\n\n <md-button-toggle class="md-button-group md-accent">\n <md-button class="md-icon-button md-toggle">\n <md-icon>format_bold</md-icon>\n </md-button>\n\n <md-button class="md-icon-button md-toggle">\n <md-icon>format_italic</md-icon>\n </md-button>\n\n <md-button class="md-icon-button">\n <md-icon>format_underline</md-icon>\n </md-button>\n\n <md-button class="md-icon-button">\n <md-icon>title</md-icon>\n </md-button>\n </md-button-toggle>\n\n <md-button-toggle class="md-button-group md-warn">\n <md-button class="md-icon-button md-toggle">\n <md-icon>format_bold</md-icon>\n </md-button>\n\n <md-button class="md-icon-button md-toggle">\n <md-icon>format_italic</md-icon>\n </md-button>\n\n <md-button class="md-icon-button">\n <md-icon>strikethrough_s</md-icon>\n </md-button>\n\n <md-button class="md-icon-button">\n <md-icon>title</md-icon>\n </md-button>\n </md
}},[e("div",{slot:"demo"},[e("div",{staticClass:"phone-viewport"},[e("md-bottom-bar",[e("md-bottom-bar-item",{attrs:{"md-icon":"history"}},["Recents"])," ",e("md-bottom-bar-item",{attrs:{"md-icon":"favorite","md-active":""}},["Favorites"])," ",e("md-bottom-bar-item",{attrs:{"md-icon":"near_me"}},["Nearby"])])])," ",e("div",{staticClass:"phone-viewport"},[e("md-bottom-bar",{staticClass:"md-accent"},[e("md-bottom-bar-item",{attrs:{href:"#/components/bottom-bar","md-icon":"history"}},["Recents"])," ",e("md-bottom-bar-item",{attrs:{href:"#/components/bottom-bar","md-icon":"favorite","md-active":""}},["Favorites"])," ",e("md-bottom-bar-item",{attrs:{href:"#/components/bottom-bar","md-icon":"near_me"}},["Nearby"])])])," ",e("div",{staticClass:"phone-viewport"},[e("md-bottom-bar",{staticClass:"md-warn"},[e("md-bottom-bar-item",{attrs:{"md-icon":"history"}},["Recents"])," ",e("md-bottom-bar-item",{attrs:{"md-icon":"favorite","md-active":""}},["Favorites"])," ",e("md-bottom-bar-item",{attrs:{"md-icon":"near_me"}},["Nearby"])])])," ",e("div",{staticClass:"phone-viewport"},[e("md-bottom-bar",{staticClass:"md-transparent"},[e("md-bottom-bar-item",{attrs:{"md-icon":"history"}},["Recents"])," ",e("md-bottom-bar-item",{attrs:{"md-icon":"favorite","md-active":""}},["Favorites"])," ",e("md-bottom-bar-item",{attrs:{"md-icon":"near_me"}},["Nearby"])])])])," ",e("div",{slot:"code"},[e("code-block",{attrs:{lang:"xml"}},['\n <md-bottom-bar>\n <md-bottom-bar-item md-icon="history">Recents</md-bottom-bar-item>\n <md-bottom-bar-item md-icon="favorite" md-active>Favorites</md-bottom-bar-item>\n <md-bottom-bar-item md-icon="near_me">Nearby</md-bottom-bar-item>\n </md-bottom-bar>\n\n <md-bottom-bar class="md-accent">\n <md-bottom-bar-item md-icon="history">Recents</md-bottom-bar-item>\n <md-bottom-bar-item md-icon="favorite" md-active>Favorites</md-bottom-bar-item>\n <md-bottom-bar-item md-icon="near_me">Nearby</md-bottom-bar-item>\n </md-bottom-bar>\n\n <md-bottom-bar class="md-warn">\n <md-bottom-bar-item md-icon="history">Recents</md-bottom-bar-item>\n <md-bottom-bar-item md-icon="favorite" md-active>Favorites</md-bottom-bar-item>\n <md-bottom-bar-item md-icon="near_me">Nearby</md-bottom-bar-item>\n </md-bottom-bar>\n\n <md-bottom-bar class="md-transparent">\n <md-bottom-bar-item md-icon="history">Recents</md-bottom-bar-item>\n <md-bottom-bar-item md-icon="favorite" md-active>Favorites</md-bottom-bar-item>\n <md-bottom-bar-item md-icon="near_me">Nearby</md-bottom-bar-item>\n </md-bottom-bar>\n '])])])," ",e("example-box",{attrs:{"card-title":"Shifting"}},[e("div",{slot:"demo"},[e("div",{staticClass:"phone-viewport"},[e("md-bottom-bar",{attrs:{"md-shift":""}},[e("md-bottom-bar-item",{attrs:{"md-icon":"ondemand_video"}},["Movies"])," ",e("md-bottom-bar-item",{attrs:{"md-icon":"music_note"}},["Music"])," ",e("md-bottom-bar-item",{attrs:{"md-icon":"books","md-active":""}},["Books"])," ",e("md-bottom-bar-item",{attrs:{"md-icon":"photo"}},["Pictures"])])])," ",e("div",{staticClass:"phone-viewport"},[e("md-bottom-bar",{staticClass:"md-accent",attrs:{"md-shift":""}},[e("md-bottom-bar-item",{attrs:{"md-icon":"ondemand_video"}},["Movies"])," ",e("md-bottom-bar-item",{attrs:{"md-icon":"music_note"}},["Music"])," ",e("md-bottom-bar-item",{attrs:{"md-icon":"books","md-active":""}},["Books"])," ",e("md-bottom-bar-item",{attrs:{"md-icon":"photo"}},["Pictures"])])])," ",e("div",{staticClass:"phone-viewport"},[e("md-bottom-bar",{staticClass:"md-warn",attrs:{"md-shift":""}},[e("md-bottom-bar-item",{attrs:{"md-icon":"ondemand_video"}},["Movies"])," ",e("md-bottom-bar-item",{attrs:{"md-icon":"music_note"}},["Music"])," ",e("md-bottom-bar-item",{attrs:{"md-icon":"books","md-active":""}},["Books"])," ",e("md-bottom-bar-item",{attrs:{"md-icon":"photo"}},["Pictures"])])])," ",e("div",{staticClass:"phone-viewport"},[e("m
}},[e("p",["Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas amet cum vitae, omnis! Illum quas voluptatem, expedita iste, dicta ipsum ea veniam dolore in, quod saepe reiciendis nihil."])])," ",e("md-tab",{attrs:{id:"music","md-label":"Music"}},[e("p",["Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas amet cum vitae, omnis! Illum quas voluptatem, expedita iste, dicta ipsum ea veniam dolore in, quod saepe reiciendis nihil."])," ",e("p",["Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas amet cum vitae, omnis! Illum quas voluptatem, expedita iste, dicta ipsum ea veniam dolore in, quod saepe reiciendis nihil."])])," ",e("md-tab",{attrs:{id:"books","md-label":"Books"}},[e("p",["Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas."])])," ",e("md-tab",{attrs:{id:"pictures","md-label":"Pictures"}},[e("p",["Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas."])])])])," ",e("div",{slot:"code"},[e("code-block",{attrs:{lang:"xml"}},['\n <md-tabs md-fixed>\n <md-tab id="movies" md-label="Movies">\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas amet cum vitae, omnis! Illum quas voluptatem, expedita iste, dicta ipsum ea veniam dolore in, quod saepe reiciendis nihil.</p>\n </md-tab>\n\n <md-tab id="music" md-label="Music">\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas amet cum vitae, omnis! Illum quas voluptatem, expedita iste, dicta ipsum ea veniam dolore in, quod saepe reiciendis nihil.</p>\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas amet cum vitae, omnis! Illum quas voluptatem, expedita iste, dicta ipsum ea veniam dolore in, quod saepe reiciendis nihil.</p>\n </md-tab>\n\n <md-tab id="books" md-label="Books">\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas.</p>\n </md-tab>\n\n <md-tab id="pictures" md-label="Pictures">\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas.</p>\n </md-tab>\n </md-tabs>\n '])])])," ",e("example-box",{attrs:{"card-title":"Centered with Text and Icon"}},[e("div",{slot:"demo"},[e("md-tabs",{attrs:{"md-dynamic-height":!1,"md-centered":""}},[e("md-tab",{attrs:{"md-label":"Movies","md-icon":"ondemand_video"}},[e("p",["Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas amet cum vitae, omnis! Illum quas voluptatem, expedita iste, dicta ipsum ea veniam dolore in, quod saepe reiciendis nihil."])])," ",e("md-tab",{attrs:{"md-label":"Music","md-icon":"music_note"}},[e("p",["Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas amet cum vitae, omnis! Illum quas voluptatem, expedita iste, dicta ipsum ea veniam dolore in, quod saepe reiciendis nihil."])," ",e("p",["Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas amet cum vitae, omnis! Illum quas voluptatem, expedita iste, dicta ipsum ea veniam dolore in, quod saepe reiciendis nihil."])])," ",e("md-tab",{attrs:{"md-label":"Books","md-icon":"books"}},[e("p",["Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas."])])," ",e("md-tab",{attrs:{"md-label":"Pictures","md-icon":"photo"}},[e("p",["Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas."])])])])," ",e("div",{slot:"code"},[e("code-block",{attrs:{lang:"xml"}},['\n <md-tabs md-centered>\n <md-tab md-label="Movies" md-icon="ondemand_video">\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt dolorum quas amet cum vitae, omnis! Illum quas voluptatem, expedita iste, dicta ipsum ea veniam dolore in, quod saepe reiciendis nihil.</p>\n </md-tab>\n\n <md-tab md-label
attrs:{"card-title":"Sizes"}},[e("div",{slot:"demo"},[e("md-menu",{attrs:{"md-size":"1"}},[e("md-button",{attrs:{"md-menu-trigger":""}},["Size 1"])," ",e("md-menu-content",[e("md-menu-item",["Item 1"])," ",e("md-menu-item",["Item 2"])," ",e("md-menu-item",["Item 3"])])])," ",e("md-menu",{attrs:{"md-size":"2"}},[e("md-button",{attrs:{"md-menu-trigger":""}},["Size 2"])," ",e("md-menu-content",[e("md-menu-item",["My Item 1"])," ",e("md-menu-item",["My Item 2"])," ",e("md-menu-item",["My Item 3"])])])," ",e("md-menu",{attrs:{"md-size":"3"}},[e("md-button",{attrs:{"md-menu-trigger":""}},["Size 3"])," ",e("md-menu-content",[e("md-menu-item",["My Item 1"])," ",e("md-menu-item",["My Item 2"])," ",e("md-menu-item",["My Item 3"])])])," ",e("md-menu",{attrs:{"md-size":"4"}},[e("md-button",{attrs:{"md-menu-trigger":""}},["Size 4"])," ",e("md-menu-content",[e("md-menu-item",["My Item 1"])," ",e("md-menu-item",["My Item 2"])," ",e("md-menu-item",["My Item 3"])])])," ",e("md-menu",{attrs:{"md-size":"5"}},[e("md-button",{attrs:{"md-menu-trigger":""}},["Size 5"])," ",e("md-menu-content",[e("md-menu-item",["My Item 1"])," ",e("md-menu-item",["My Item 2"])," ",e("md-menu-item",["My Item 3"])])])," ",e("md-menu",{attrs:{"md-size":"6"}},[e("md-button",{attrs:{"md-menu-trigger":""}},["Size 6"])," ",e("md-menu-content",[e("md-menu-item",["My Item 1"])," ",e("md-menu-item",["My Item 2"])," ",e("md-menu-item",["My Item 3"])])])," ",e("md-menu",{attrs:{"md-size":"7"}},[e("md-button",{attrs:{"md-menu-trigger":""}},["Size 7"])," ",e("md-menu-content",[e("md-menu-item",["My Item 1"])," ",e("md-menu-item",["My Item 2"])," ",e("md-menu-item",["My Item 3"])])])])," ",e("div",{slot:"code"},[e("code-block",{attrs:{lang:"xml"}},['\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>Item 1</md-menu-item>\n <md-menu-item>Item 2</md-menu-item>\n <md-menu-item>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-menu-item>My Item 3</md-menu-item>\n </md-menu-content>\n </md-menu>\n\n <md-menu md-size="3">\n <md-button md-menu-trigger>Size 3</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="4">\n <md-button md-menu-trigger>Size 4</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="5">\n <md-button md-menu-trigger>Size 5</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="6">\n <md-button md-menu-trigger>Size 6</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="7">\n <md-button md-menu-trigger>Size 7</md-button>\n\n <md-menu-content>\n <md-menu-item>My Item 1</md-menu-item>\n <md-menu-item>My Ite
slot:"events"},[e("md-table-header",[e("md-table-row",[e("md-table-head",["Name"])," ",e("md-table-head",["Value"])," ",e("md-table-head",["Description"])])])," ",e("md-table-body",[e("md-table-row",[e("md-table-cell",["change"])," ",e("md-table-cell",["Receive the state of the switch"])," ",e("md-table-cell",["Triggered when the switch changes his value."])])])])])])," ",e("div",{slot:"example"},[e("example-box",{attrs:{"card-title":"Default"}},[e("div",{slot:"demo"},[e("div",[e("md-switch",{directives:[{name:"model",rawName:"v-model",value:t.checked0,expression:"checked0"}],attrs:{id:"my-test0",name:"my-test0"},domProps:{value:t.checked0},on:{input:function(e){t.checked0=e}}})])," ",e("div",[e("md-switch",{directives:[{name:"model",rawName:"v-model",value:t.checked1,expression:"checked1"}],staticClass:"md-primary",attrs:{id:"my-test1",name:"my-test1"},domProps:{value:t.checked1},on:{input:function(e){t.checked1=e}}},["Primary Color"])])," ",e("div",[e("md-switch",{directives:[{name:"model",rawName:"v-model",value:t.checked2,expression:"checked2"}],staticClass:"md-warn",attrs:{id:"my-test2",name:"my-test2"},domProps:{value:t.checked2},on:{input:function(e){t.checked2=e}}},["Warn Color"])])," ",e("div",[e("md-switch",{directives:[{name:"model",rawName:"v-model",value:t.checked3,expression:"checked3"}],attrs:{id:"my-test3",name:"my-test3",disabled:""},domProps:{value:t.checked3},on:{input:function(e){t.checked3=e}}},["Disabled"])])])," ",e("div",{slot:"code"},[e("code-block",{attrs:{lang:"xml"}})])])," ",e("example-box",{attrs:{"card-title":"With type"}},[e("div",{slot:"demo"},[e("md-switch",{directives:[{name:"model",rawName:"v-model",value:t.checked8,expression:"checked8"}],attrs:{id:"my-test8",name:"my-test8"},domProps:{value:t.checked8},on:{input:function(e){t.checked8=e}}},["Default"])," ",e("form",{on:{click:function(e){e.stopPropagation(),e.preventDefault(),t.submit(e)}}},[e("md-switch",{directives:[{name:"model",rawName:"v-model",value:t.checked9,expression:"checked9"}],staticClass:"md-primary",attrs:{type:"submit",id:"my-test9",name:"my-test9"},domProps:{value:t.checked9},on:{input:function(e){t.checked9=e}}},["Submit"])])])," ",e("div",{slot:"code"},[e("code-block",{attrs:{lang:"xml"}})])])," ",e("example-box",{attrs:{"card-title":"Themes"}},[e("div",{slot:"demo"},[e("div",{directives:[{name:"md-theme",rawName:"v-md-theme",value:"orange",expression:"'orange'"}]},[e("md-switch",{directives:[{name:"model",rawName:"v-model",value:t.checked4,expression:"checked4"}],staticClass:"md-primary",attrs:{id:"my-test4",name:"my-test4"},domProps:{value:t.checked4},on:{input:function(e){t.checked4=e}}})])," ",e("div",{directives:[{name:"md-theme",rawName:"v-md-theme",value:"green",expression:"'green'"}]},[e("md-switch",{directives:[{name:"model",rawName:"v-model",value:t.checked5,expression:"checked5"}],staticClass:"md-primary",attrs:{id:"my-test5",name:"my-test5"},domProps:{value:t.checked5},on:{input:function(e){t.checked5=e}}},["Green Primary Color"])])," ",e("div",{directives:[{name:"md-theme",rawName:"v-md-theme",value:"brown",expression:"'brown'"}]},[e("md-switch",{directives:[{name:"model",rawName:"v-model",value:t.checked6,expression:"checked6"}],staticClass:"md-primary",attrs:{id:"my-test6",name:"my-test6"},domProps:{value:t.checked6},on:{input:function(e){t.checked6=e}}},["Brown Primary Color"])])," ",e("div",{directives:[{name:"md-theme",rawName:"v-md-theme",value:"light-blue",expression:"'light-blue'"}]},[e("md-switch",{directives:[{name:"model",rawName:"v-model",value:t.checked7,expression:"checked7"}],staticClass:"md-primary",attrs:{id:"my-test7",name:"my-test7",disabled:""},domProps:{value:t.checked7},on:{input:function(e){t.checked7=e}}},["Light Blue Primary Color Disabled"])])])," ",e("div",{slot:"code"},[e("code-block",{attrs:{lang:"xml"}})])])])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return e("div",{staticClass:"md-dialog-actions"},[t._t("default")])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;retu
attrs:{lang:"scss"}},["\n .card-example {\n .md-subhead {\n .md-icon {\n $size: 16px;\n\n width: $size;\n min-width: $size;\n height: $size;\n min-height: $size;\n font-size: $size;\n line-height: $size;\n }\n\n span {\n vertical-align: middle;\n }\n }\n\n .card-reservation {\n margin-top: 8px;\n display: flex;\n align-items: center;\n justify-content: space-around;\n\n .md-icon {\n margin: 8px;\n color: rgba(#000, .54) !important;\n }\n\n .md-button {\n border-radius: 2px !important;\n }\n }\n }\n "])])])])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return e("md-dialog",{ref:"dialog",staticClass:"md-dialog-confirm",on:{close:function(e){t.fireCloseEvent("cancel")}}},[t.mdTitle?e("md-dialog-title",[t._s(t.mdTitle)]):t._e()," ",t.mdContentHtml?e("md-dialog-content",{domProps:{innerHTML:t._s(t.mdContentHtml)}}):e("md-dialog-content",[t._s(t.mdContent)])," "," ",e("md-dialog-actions",[e("md-button",{staticClass:"md-primary",on:{click:function(e){t.close("cancel")}}},[t._s(t.mdCancelText)])," ",e("md-button",{staticClass:"md-primary",on:{click:function(e){t.close("ok")}}},[t._s(t.mdOkText)])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return e("page-content",{attrs:{"page-title":"Components - Sidenav"}},[e("docs-component",[e("div",{slot:"description"},[e("p",["The sidenav spans the height of the screen, with everything behind it visible but darkened by a backdrop."])])," ",e("div",{slot:"api"},[e("api-table",{attrs:{name:"md-sidenav"}},[e("md-table",{slot:"classes"},[e("md-table-header",[e("md-table-row",[e("md-table-head",["Name"])," ",e("md-table-head",["Description"])])])," ",e("md-table-body",[e("md-table-row",[e("md-table-cell",["md-left"])," ",e("md-table-cell",["Display the sidenav on the left of parent"])])," ",e("md-table-row",[e("md-table-cell",["md-right"])," ",e("md-table-cell",["Display the sidenav on the right of parent"])])," ",e("md-table-row",[e("md-table-cell",["md-fixed"])," ",e("md-table-cell",["Apply position fixed"])])])])," ",e("md-table",{slot:"events"},[e("md-table-header",[e("md-table-row",[e("md-table-head",["Name"])," ",e("md-table-head",["Value"])," ",e("md-table-head",["Description"])])])," ",e("md-table-body",[e("md-table-row",[e("md-table-cell",["open"])," ",e("md-table-cell",["None"])," ",e("md-table-cell",["Triggered when the sidenav starts to open."])])," ",e("md-table-row",[e("md-table-cell",["close"])," ",e("md-table-cell",["None"])," ",e("md-table-cell",["Triggered when the sidenav starts to close."])])])])," ",e("md-table",{slot:"methods"},[e("md-table-header",[e("md-table-row",[e("md-table-head",["Name"])," ",e("md-table-head",["Description"])])])," ",e("md-table-body",[e("md-table-row",[e("md-table-cell",["open"])," ",e("md-table-cell",["Open the sidenav."])])," ",e("md-table-row",[e("md-table-cell",["close"])," ",e("md-table-cell",["Close the sidenav."])])," ",e("md-table-row",[e("md-table-cell",["toggle"])," ",e("md-table-cell",["Toggle the sidenav."])])])])])])," ",e("div",{slot:"example"},[e("example-box",{attrs:{"card-title":"Default"}},[e("div",{slot:"demo"},[e("div",{staticClass:"phone-viewport"},[e("md-toolbar",[e("md-button",{staticClass:"md-icon-button",on:{click:t.toggleLeftSidenav}},[e("md-icon",["menu"])])," ",e("h2",{staticClass:"md-title"},["My App"])])," ",e("div",[e("md-button",{staticClass:"md-raised md-accent",on:{click:t.toggleRightSidenav}},["Toggle right"])," ",e("p",["Open console to see the events"])])," ",e("md-sidenav",{ref:"leftSidenav",staticClass:"md-left",on:{open:function(e){t.open("Left")},close:funct
staticClass:"md-icon-button md-list-action"},[e("md-icon",["info"])])])," ",e("md-list-item",[e("md-avatar",{directives:[{name:"md-theme",rawName:"v-md-theme",value:"orange",expression:"'orange'"}],staticClass:"md-avatar-icon md-primary"},[e("md-icon",["collections"])])," ",e("div",{staticClass:"md-list-text-container"},[e("span",["Weekend Pictures"])," ",e("p",["Jan 10, 2014"])])," ",e("md-button",{staticClass:"md-icon-button md-list-action"},[e("md-icon",["info"])])])])," ",e("md-sidenav",{ref:"sidenav",staticClass:"md-left"},[e("md-toolbar",{directives:[{name:"md-theme",rawName:"v-md-theme",value:"blue",expression:"'blue'"}],staticClass:"md-account-header"},[e("md-list",{staticClass:"md-transparent"},[e("md-list-item",{staticClass:"md-avatar-list"},[e("md-avatar",{staticClass:"md-large"},[e("img",{attrs:{src:"https://placeimg.com/64/64/people/8",alt:"People"}})])," ",e("span",{staticStyle:{flex:"1"}})," ",e("md-avatar",[e("img",{attrs:{src:"https://placeimg.com/40/40/people/3",alt:"People"}})])," ",e("md-avatar",[e("img",{attrs:{src:"https://placeimg.com/40/40/people/4",alt:"People"}})])])," ",e("md-list-item",[e("div",{staticClass:"md-list-text-container"},[e("span",["John Doe"])," ",e("span",["johndoe@email.com"])])," ",e("md-button",{staticClass:"md-icon-button md-list-action"},[e("md-icon",["arrow_drop_down"])])])])])," ",e("md-list",{directives:[{name:"md-theme",rawName:"v-md-theme",value:"blue",expression:"'blue'"}]},[e("md-list-item",{staticClass:"md-primary",on:{click:function(e){t.$refs.sidenav.toggle()}}},[e("md-icon",["insert_drive_file"])," ",e("span",["My files"])])," ",e("md-list-item",{on:{click:function(e){t.$refs.sidenav.toggle()}}},[e("md-icon",["people"])," ",e("span",["Shared with me"])])," ",e("md-list-item",{on:{click:function(e){t.$refs.sidenav.toggle()}}},[e("md-icon",["access_time"])," ",e("span",["Recent"])])," ",e("md-list-item",{on:{click:function(e){t.$refs.sidenav.toggle()}}},[e("md-icon",["start"])," ",e("span",["Starred"])])," ",e("md-list-item",{on:{click:function(e){t.$refs.sidenav.toggle()}}},[e("md-icon",["delete"])," ",e("span",["Trash"])])])])])])," ",e("div",{slot:"code"},[e("code-block",{attrs:{lang:"xml"}},['\n <div class="phone-viewport complete-example">\n <md-whiteframe md-elevation="2">\n <md-toolbar class="md-large" v-md-theme="\'light-blue\'">\n <div class="md-toolbar-container">\n <md-button class="md-icon-button" @click="$refs.sidenav.toggle()">\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>view_module</md-icon>\n </md-button>\n </div>\n\n <div class="md-toolbar-container">\n <h2 class="md-title">My Files</h2>\n\n <md-button class="md-fab md-mini">\n <md-icon>add</md-icon>\n </md-button>\n </div>\n </md-toolbar>\n </md-whiteframe>\n\n <md-list class="md-double-line">\n <md-subheader class="md-inset">Folders</md-subheader>\n\n <md-list-item>\n <md-avatar class="md-avatar-icon">\n <md-icon>folder</md-icon>\n </md-avatar>\n\n <div class="md-list-text-container">\n <span>Photos</span>\n <p>Jan 9, 2014</p>\n </div>\n\n <md-button class="md-icon-button md-list-action">\n <md-icon>info</md-icon>\n </md-button>\n </md-list-item>\n\n <md-list-item>\n <md-avatar class="md-avatar-icon">\n <md-icon>folder</md-icon>\n </md-a
staticClass:"md-inset"})])," ",e("md-list-item",[e("md-avatar",[e("img",{attrs:{src:"https://placeimg.com/40/40/people/5",alt:"People"}})])," ",e("span",["Abbey Christansen"])," ",e("md-button",{staticClass:"md-icon-button md-list-action"},[e("md-icon",{staticClass:"md-primary"},["chat_bubble"])])])," ",e("md-list-item",[e("md-avatar",[e("img",{attrs:{src:"https://placeimg.com/40/40/people/1",alt:"People"}})])," ",e("span",["Alex Nelson"])," ",e("md-button",{staticClass:"md-icon-button md-list-action"},[e("md-icon",{staticClass:"md-primary"},["chat_bubble"])])])," ",e("md-list-item",[e("md-avatar",[e("img",{attrs:{src:"https://placeimg.com/40/40/people/6",alt:"People"}})])," ",e("span",["Mary Johnson"])," ",e("md-button",{staticClass:"md-icon-button md-list-action"},[e("md-icon",["chat_bubble"])])])])])])," ",e("div",{slot:"code"},[e("code-block",{attrs:{lang:"xml"}},['\n <div class="phone-viewport">\n <md-list>\n <md-list-item>\n <md-icon>move_to_inbox</md-icon> <span>Inbox</span>\n </md-list-item>\n\n <md-list-item>\n <md-icon>send</md-icon> <span>Sent Mail</span>\n </md-list-item>\n\n <md-list-item>\n <md-icon>delete</md-icon> <span>Trash</span>\n </md-list-item>\n\n <md-list-item>\n <md-icon>error</md-icon> <span>Spam</span>\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 <span>Abbey Christansen</span>\n\n <md-button class="md-icon-button md-list-action">\n <md-icon class="md-primary">chat_bubble</md-icon>\n </md-button>\n </md-list-item>\n\n <md-list-item>\n <md-avatar>\n <img src="https://placeimg.com/40/40/people/1" alt="People">\n </md-avatar>\n\n <span>Alex Nelson</span>\n\n <md-button class="md-icon-button md-list-action">\n <md-icon class="md-primary">chat_bubble</md-icon>\n </md-button>\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 <span>Mary Johnson</span>\n\n <md-button class="md-icon-button md-list-action">\n <md-icon>chat_bubble</md-icon>\n </md-button>\n </md-list-item>\n </md-list>\n </div>\n\n <div class="phone-viewport">\n <md-list class="md-dense">\n <md-list-item>\n <md-icon>move_to_inbox</md-icon> <span>Inbox</span>\n </md-list-item>\n\n <md-list-item>\n <md-icon>send</md-icon> <span>Sent Mail</span>\n </md-list-item>\n\n <md-list-item>\n <md-icon>delete</md-icon> <span>Trash</span>\n </md-list-item>\n\n <md-list-item>\n <md-icon>error</md-icon> <span>Spam</span>\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 <span>Abbey Christansen</span>\n\n <md-button class="md-icon-button md-list-action">\n <md-icon class="md-primary">chat_bubble</md-icon>\n </md-button>\n </md-list-item>\n\n <md-list-item>\n <md-avatar>\n <img src="https://p
attrs:{"card-title":"Raised"}},[e("div",{slot:"demo"},[e("md-button",{staticClass:"md-raised"},["Default"])," ",e("md-button",{staticClass:"md-raised md-primary"},["Primary"])," ",e("md-button",{staticClass:"md-raised md-accent"},["Accent"])," ",e("md-button",{staticClass:"md-raised md-warn"},["Warn"])," ",e("md-button",{staticClass:"md-raised md-primary",attrs:{disabled:""}},["Disabled"])," ",e("md-button",{staticClass:"md-raised md-dense"},["Dense"])])," ",e("div",{slot:"code"},[e("code-block",{attrs:{lang:"xml"}},['\n <md-button class="md-raised">Default</md-button>\n <md-button class="md-raised md-primary">Primary</md-button>\n <md-button class="md-raised md-accent">Accent</md-button>\n <md-button class="md-raised md-warn">Warn</md-button>\n <md-button class="md-raised md-primary" disabled>Disabled</md-button>\n <md-button class="md-raised md-dense">Dense</md-button>\n '])])])," ",e("example-box",{attrs:{"card-title":"Button vs Link vs Router Link"}},[e("div",{slot:"demo"},[e("md-button",{staticClass:"md-raised md-primary"},["Button"])," ",e("md-button",{staticClass:"md-raised md-primary",attrs:{href:"#/components/button"}},["Link"])," ",e("router-link",{staticClass:"md-raised md-primary",attrs:{tag:"md-button",to:"/components/button"}},["Router Link"])])," ",e("div",{slot:"code"},[e("code-block",{attrs:{lang:"xml"}},['\n <md-button class="md-raised md-primary">Button</md-button>\n <md-button href="#/components/button" class="md-raised md-primary">Link</md-button>\n <router-link tag="md-button" to="/components/button" class="md-raised md-primary">Router Link</router-link>\n '])])])," ",e("example-box",{attrs:{"card-title":"Icons - Flat"}},[e("div",{slot:"demo"},[e("md-button",{staticClass:"md-icon-button"},[e("md-icon",["more_vert"])])," ",e("md-button",{staticClass:"md-icon-button md-primary"},[e("md-icon",["more_vert"])])," ",e("md-button",{staticClass:"md-icon-button md-accent"},[e("md-icon",["more_vert"])])," ",e("md-button",{staticClass:"md-icon-button md-warn"},[e("md-icon",["more_vert"])])," ",e("md-button",{staticClass:"md-icon-button",attrs:{disabled:""}},[e("md-icon",["more_vert"])])," ",e("md-button",{staticClass:"md-icon-button md-dense"},[e("md-icon",["more_vert"])])])," ",e("div",{slot:"code"},[e("code-block",{attrs:{lang:"xml"}},['\n <md-button class="md-icon-button">\n <md-icon>more_vert</md-icon>\n </md-button>\n\n <md-button class="md-icon-button md-primary">\n <md-icon>more_vert</md-icon>\n </md-button>\n\n <md-button class="md-icon-button md-accent">\n <md-icon>more_vert</md-icon>\n </md-button>\n\n <md-button class="md-icon-button md-warn">\n <md-icon>more_vert</md-icon>\n </md-button>\n\n <md-button class="md-icon-button" disabled>\n <md-icon>more_vert</md-icon>\n </md-button>\n\n <md-button class="md-icon-button md-dense">\n <md-icon>more_vert</md-icon>\n </md-button>\n '])])])," ",e("example-box",{attrs:{"card-title":"Icons - Raised"}},[e("div",{slot:"demo"},[e("md-button",{staticClass:"md-icon-button md-raised"},[e("md-icon",["add"])])," ",e("md-button",{staticClass:"md-icon-button md-raised md-primary"},[e("md-icon",["add"])])," ",e("md-button",{staticClass:"md-icon-button md-raised md-accent"},[e("md-icon",["add"])])," ",e("md-button",{staticClass:"md-icon-button md-raised md-warn"},[e("md-icon",["add"])])," ",e("md-button",{staticClass:"md-icon-button md-raised",attrs:{disabled:""}},[e("md-icon",["add"])])," ",e("md-button",{staticClass:"md-icon-button md-raised md-dense"},[e("md-icon",["add"])])])," ",e("div",{slot:"code"},[e("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
attrs:{name:"md-dialog-confirm"}},[e("div",{slot:"properties"},[e("md-table",[e("md-table-header",[e("md-table-row",[e("md-table-head",["Name"])," ",e("md-table-head",["Type"])," ",e("md-table-head",["Description"])])])," ",e("md-table-body",[e("md-table-row",[e("md-table-cell",["md-title"])," ",e("md-table-cell",[e("code",["String"])])," ",e("md-table-cell",["Sets the confirm title. Optional."])])," ",e("md-table-row",[e("md-table-cell",["md-content"])," ",e("md-table-cell",[e("code",["String"])])," ",e("md-table-cell",["Sets the confirm content."])])," ",e("md-table-row",[e("md-table-cell",["md-content-html"])," ",e("md-table-cell",[e("code",["String"])])," ",e("md-table-cell",["Sets the confirm content with a custom html."])])," ",e("md-table-row",[e("md-table-cell",["md-ok-text"])," ",e("md-table-cell",[e("code",["String"])])," ",e("md-table-cell",['Sets the confirm "Okay" button text.'])])," ",e("md-table-row",[e("md-table-cell",["md-cancel-text"])," ",e("md-table-cell",[e("code",["String"])])," ",e("md-table-cell",['Sets the confirm "Cancel" button text.'])])])])])])," ",e("api-table",{attrs:{name:"md-dialog-prompt"}},[e("div",{slot:"properties"},[e("md-table",[e("md-table-header",[e("md-table-row",[e("md-table-head",["Name"])," ",e("md-table-head",["Type"])," ",e("md-table-head",["Description"])])])," ",e("md-table-body",[e("md-table-row",[e("md-table-cell",["md-title"])," ",e("md-table-cell",[e("code",["String"])])," ",e("md-table-cell",["Sets the prompt title. Optional."])])," ",e("md-table-row",[e("md-table-cell",["md-content"])," ",e("md-table-cell",[e("code",["String"])])," ",e("md-table-cell",["Sets the prompt content."])])," ",e("md-table-row",[e("md-table-cell",["md-content-html"])," ",e("md-table-cell",[e("code",["String"])])," ",e("md-table-cell",["Sets the prompt content with a custom html."])])," ",e("md-table-row",[e("md-table-cell",["md-ok-text"])," ",e("md-table-cell",[e("code",["String"])])," ",e("md-table-cell",['Sets the prompt "Okay" button text.'])])," ",e("md-table-row",[e("md-table-cell",["md-cancel-text"])," ",e("md-table-cell",[e("code",["String"])])," ",e("md-table-cell",['Sets the prompt "Cancel" button text.'])])," ",e("md-table-row",[e("md-table-cell",["v-model"])," ",e("md-table-cell",[e("code",["String"])])," ",e("md-table-cell",["A required model object to be bind when the value is confirmed."])])," ",e("md-table-row",[e("md-table-cell",["md-input-id"])," ",e("md-table-cell",[e("code",["String"])])," ",e("md-table-cell",["Set the ID of the field inside the prompt dialog."])])," ",e("md-table-row",[e("md-table-cell",["md-input-name"])," ",e("md-table-cell",[e("code",["String"])])," ",e("md-table-cell",["Set the name of the field inside the prompt dialog."])])," ",e("md-table-row",[e("md-table-cell",["md-input-maxlength"])," ",e("md-table-cell",[e("code",["String"])])," ",e("md-table-cell",["Set the optional maxlength of the field inside the prompt dialog with the text count."])])," ",e("md-table-row",[e("md-table-cell",["md-input-placeholder"])," ",e("md-table-cell",[e("code",["String"])])," ",e("md-table-cell",["Set the optional placeholder of the field inside the prompt dialog."])])])])])])])," ",e("div",{slot:"example"},[e("example-box",{attrs:{"card-title":"Custom"}},[e("div",{staticClass:"dialog-fab",slot:"demo"},[e("md-dialog",{ref:"dialog1",attrs:{"md-open-from":"#custom","md-close-to":"#custom"}},[e("md-dialog-title",["Lorem ipsum dolor sit amet"])," ",e("md-dialog-content",["Nemo, nobis necessitatibus ut illo, ducimus ex."])," ",e("md-dialog-actions",[e("md-button",{staticClass:"md-primary",on:{click:function(e){t.closeDialog("dialog1")}}},["Cancel"])," ",e("md-button",{staticClass:"md-primary",on:{click:function(e){t.closeDialog("dialog1")}}},["Ok"])])])," ",e("md-dialog",{ref:"dialog2",attrs:{"md-open-from":"#fab","md-close-to":"#fab"}},[e("md-dialog-title",["Create new note"])," ",e("md-dialog-content",[e("form",[e("md-input-container",[e("label",["Note"])," ",e("md-textarea")])])])," ",e("md-dialog-actions",[e("md-button",{staticClass:"md-primary",on:{click:function(e){t
0.4.0 * Improve sidenav performance and expansion list performance * Init dialog * Add initial transition * Add backdrop to md-menu * Create dialog opening from and closing to * Add example os basic and opening from and to * Add todo * Create alias for root element * Fix dialog position * Improve transitions * Fix rules * Fix dialog position on open * Improve docs transitions * Create styles for actions and content * Create confirm dialog preset * Create alert dialog preset * Create prompt dialog preset * Add example with HTML * Improve close transition * Create new documentation template for components * Improve template for mobile * Improve toolbar behaviour * Format code-block and apply clipboard.js * Move clipboard to devDependencies * Show toast after copy * Add function to toggle sidenav and add page title * create avatar documentation with the new template * Improve themes and codes * Remove hover * fix copied toast position * add classes tab * create bottom-bar documentation with the new template * improve bottom bar docs * create button documentation with the new template * create button toggle documentation with the new template * Fix backdrop styles * Fix image color names * create card documentation with the new template * Update debug-lib.js (#106) Fixes webpack missing module error when loading scss * create checkboxes documentation with the new template * Add more alignment options (#109) * Create offset options - md-offset-y and md-offset-x * Add option to align the menu to the trigger * Create better examples * fix bottom-right position * create dialog documentation with the new template * create icon documentation with the new template * fix typo * create input documentation with the new template * create tooltip documentation with the new template * create whiteframe documentation with the new template * Fix unregisterMouseEvent not accepting the element as parameter (#118) * create radio documentation with the new template * create ripple documentation with the new template * create switch documentation with the new template * create subheader documentation with the new template * fix text * improvements over menu * create menu documentation with the new template * create sidenav documentation with the new template * create toolbar documentation with the new template * improve visibility of some code-blocks * create select documentation with the new template * create typography documentation with the new template * create changelog page with the new template * create about page with the new template * create error page with the new template * create introduction page with the new template * create getting started page with the new template * create getting started page with the new template * add codepen examples * create list documentation with the new template * improve docs * add old releases in a folder * optimize build time * remove unused code and rename components * generate old versions * redirect to old documentation versions * [build] 0.4.0 * [build] 0.4.0 * restore dist * get current version from url * [build] 0.4.0 * restore old docs * add correct branch to release script * create table documentation with the new template * add a better explanation of list classes * improve docs * create table documentation with the new template * add code example for tabs * remove directive example of ripple * fix code example of typograph items * general fixes and code cleanup * create themes documentation * start the creation of button "edit on codepen" * group theme text and fix height of codepen example * start creation of tabs * recreate tabs * fix shadow transition inside menus (#141 #129) * add href support for mdBottomBar (#142 #121) * fix table row not watching item #116 #113 (#143) * Improvement/md tooltip (#144) * fix stucked tooltips #103 * remove example * update website url * update libs * fix vue version reference * [build] 0.4.0
2016-12-05 03:57:58 +00:00
* vue-router v2.1.1
* (c) 2016 Evan You
* @license MIT
*/
"use strict";function a(t,e){if(!t)throw new Error("[vue-router] "+e)}function o(t,e){t||"undefined"!=typeof console&&console.warn("[vue-router] "+e)}function i(t,e){if(void 0===e&&(e={}),t){var n;try{n=d(t)}catch(t){o(!1,t.message),n={}}for(var a in e)n[a]=e[a];return n}return e}function d(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),a=xt(n.shift()),o=n.length>0?xt(n.join("=")):null;void 0===e[a]?e[a]=o:Array.isArray(e[a])?e[a].push(o):e[a]=[e[a],o]}),e):e}function r(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return yt(e);if(Array.isArray(n)){var a=[];return n.slice().forEach(function(t){void 0!==t&&(null===t?a.push(yt(e)):a.push(yt(e)+"="+yt(t)))}),a.join("&")}return yt(e)+"="+yt(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:m(e),matched:t?l(t):[]};return n&&(a.redirectedFrom=m(n)),Object.freeze(a)}function l(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function m(t){var e=t.path,n=t.query;void 0===n&&(n={});var a=t.hash;return void 0===a&&(a=""),(e||"/")+r(n)+a}function c(t,e){return e===Et?t===e:!!e&&(t.path&&e.path?t.path.replace(Ct,"")===e.path.replace(Ct,"")&&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 p(t,e){return 0===t.path.indexOf(e.path.replace(/\/$/,""))&&(!e.hash||t.hash===e.hash)&&b(t.query,e.query)}function b(t,e){for(var n in e)if(!(n in t))return!1;return!0}function f(t){if(!(t.metaKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||0!==t.button)){var e=t.target.getAttribute("target");if(!/\b_blank\b/i.test(e))return t.preventDefault(),!0}}function h(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=h(e.children)))return e}}function v(t){if(!v.installed){v.installed=!0,vt=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",gt),t.component("router-link",_t);var e=t.config.optionMergeStrategies;e.beforeRouteEnter=e.beforeRouteLeave=e.created}}function g(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 o=t.replace(/^\//,"").split("/"),i=0;i<o.length;i++){var d=o[i];"."!==d&&(".."===d?a.pop():a.push(d))}return""!==a[0]&&a.unshift(""),a.join("/")}function y(t){var e="",n="",a=t.indexOf("#");a>=0&&(e=t.slice(a),t=t.slice(0,a));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function x(t){return t.replace(/\/\//g,"/")}function E(t){var e=Object.create(null),n=Object.create(null);return t.forEach(function(t){C(e,n,t)}),{pathMap:e,nameMap:n}}function C(t,e,n,i,d){var r=n.path,s=n.name;a(null!=r,'"path" is required in a route configuration.'),a("string"!=typeof n.component,'route config "component" for path: '+String(r||s)+" cannot be a string id. Use an actual component instead.");var l={path:w(r,i),components:n.components||{default:n.component},instances:{},name:s,parent:i,matchAs:d,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{}};n.children&&(n.name&&n.children.some(function(t){return/^\/?$/.test(t.path)})&&o(!1,"Named Route '"+n.name+"' has a default child route.\n When navigating to this named route (:to=\"{name: '"+n.name+"'\"), the default child route will not be rendered.\n Remove the name from this ro