Compare commits

..

No commits in common. "master" and "v0.7.3" have entirely different histories.

146 changed files with 112 additions and 803 deletions

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -257,7 +257,7 @@ exports.default = {
mixins: [_mixin2.default],
data: function data() {
return {
checked: this.value || false
checked: this.value
};
},
@ -402,10 +402,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
"for": _vm.id || _vm.name
},
on: {
"click": function($event) {
$event.preventDefault();
_vm.toggleCheck($event)
}
"click": _vm.toggleCheck
}
}, [_vm._t("default")], 2) : _vm._e()])
},staticRenderFns: []}

View file

@ -1,6 +1,6 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/
!(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueMaterial=t():e.VueMaterial=t()})(this,(function(){return (function(e){function t(n){if(o[n])return o[n].exports;var c=o[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}var o={};return t.m=e,t.c=o,t.i=function(e){return e},t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=452)})({0:function(e,t){e.exports=function(e,t,o,n,c){var r,d=e=e||{},i=typeof e.default;"object"!==i&&"function"!==i||(r=e,d=e.default);var a="function"==typeof d?d.options:d;t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n);var s;if(c?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(c)},a._ssrRegister=s):o&&(s=o),s){var u=a.functional,l=u?a.render:a.beforeCreate;u?a.render=function(e,t){return s.call(t),l(e,t)}:a.beforeCreate=l?[].concat(l,s):[s]}return{esModule:r,exports:d,options:a}}},1:function(e,t,o){"use strict";function n(e){if(!e)return null;var t=e.mdTheme;return t||"md-theme"!==e.$options._componentTag||(t=e.mdName),t||n(e.$parent)}Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{mdTheme:String},computed:{mdEffectiveTheme:function(){return n(this)||this.$material.currentTheme},themeClass:function(){return this.$material.prefix+this.mdEffectiveTheme}},watch:{mdTheme:function(e){this.$material.useTheme(e)}},beforeMount:function(){var e=this.mdTheme;this.$material.useTheme(e?e:"default")}},e.exports=t.default},142:function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var c=o(1),r=n(c);t.default={name:"md-checkbox",props:{name:String,value:[String,Boolean],id:String,disabled:Boolean},mixins:[r.default],data:function(){return{checked:this.value||!1}},computed:{classes:function(){return{"md-checked":this.checked,"md-disabled":this.disabled}}},watch:{value:function(){this.checked=!!this.value}},methods:{toggleCheck:function(e){this.disabled||(this.checked=!this.checked,this.$emit("change",this.checked,e),this.$emit("input",this.checked,e))}}},e.exports=t.default},257:function(e,t){},270:function(e,t){e.exports=".THEME_NAME.md-checkbox.md-checked .md-checkbox-container{background-color:ACCENT-COLOR;border-color:ACCENT-COLOR}.THEME_NAME.md-checkbox.md-checked .md-checkbox-container:after{border-color:ACCENT-CONTRAST}.THEME_NAME.md-checkbox .md-ink-ripple{color:ACCENT-COLOR}.THEME_NAME.md-checkbox .md-ripple{opacity:.26}.THEME_NAME.md-checkbox.md-primary.md-checked .md-checkbox-container{background-color:PRIMARY-COLOR;border-color:PRIMARY-COLOR}.THEME_NAME.md-checkbox.md-primary.md-checked .md-checkbox-container:after{border-color:PRIMARY-CONTRAST}.THEME_NAME.md-checkbox.md-primary .md-ink-ripple{color:PRIMARY-COLOR}.THEME_NAME.md-checkbox.md-warn.md-checked .md-checkbox-container{background-color:WARN-COLOR;border-color:WARN-COLOR}.THEME_NAME.md-checkbox.md-warn.md-checked .md-checkbox-container:after{border-color:WARN-CONTRAST}.THEME_NAME.md-checkbox.md-warn .md-ink-ripple{color:WARN-COLOR}.THEME_NAME.md-checkbox.md-disabled.md-checked .md-checkbox-container{background-color:rgba(0,0,0,0.26);border-color:transparent}.THEME_NAME.md-checkbox.md-disabled:not(.md-checked) .md-checkbox-container{border-color:rgba(0,0,0,0.26)}\n"},311:function(e,t,o){function n(e){o(257)}var c=o(0)(o(142),o(435),n,null,null);e.exports=c.exports},435:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"md-checkbox",class:[e.themeClass,e.classes]},[o("div",{staticClass:"md-checkbox-container",attrs:{tabindex:"0"},on:{click:function(t){t.stopPropagation(),e.toggleCheck(t)}}},[o("input",{attrs:{type:"checkbox",name:e.name,id:e.id,disabled:e.disabled,tabindex:"-1"},domProps:{value:e.value,checked:e.checked}}),e._v(" "),o("md-ink-ripple",{attrs:{"md-disabled":e.disabled}})],1),e._v(" "),e.$slots.default?o("label",{staticClass:"md-checkbox-label",attrs:{for:e.id||e.name},on:{click:function(t){t.preventDefault(),e.toggleCheck(t)}}},[e._t("default")],2):e._e()])},staticRenderFns:[]}},452:function(e,t,o){e.exports=o(86)},86:function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function c(e){e.component("md-checkbox",d.default),e.material.styles.push(a.default)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=o(311),d=n(r),i=o(270),a=n(i);e.exports=t.default}})}));
!(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueMaterial=t():e.VueMaterial=t()})(this,(function(){return (function(e){function t(c){if(o[c])return o[c].exports;var n=o[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var o={};return t.m=e,t.c=o,t.i=function(e){return e},t.d=function(e,o,c){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:c})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=452)})({0:function(e,t){e.exports=function(e,t,o,c,n){var r,d=e=e||{},i=typeof e.default;"object"!==i&&"function"!==i||(r=e,d=e.default);var a="function"==typeof d?d.options:d;t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),c&&(a._scopeId=c);var s;if(n?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(n)},a._ssrRegister=s):o&&(s=o),s){var u=a.functional,l=u?a.render:a.beforeCreate;u?a.render=function(e,t){return s.call(t),l(e,t)}:a.beforeCreate=l?[].concat(l,s):[s]}return{esModule:r,exports:d,options:a}}},1:function(e,t,o){"use strict";function c(e){if(!e)return null;var t=e.mdTheme;return t||"md-theme"!==e.$options._componentTag||(t=e.mdName),t||c(e.$parent)}Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{mdTheme:String},computed:{mdEffectiveTheme:function(){return c(this)||this.$material.currentTheme},themeClass:function(){return this.$material.prefix+this.mdEffectiveTheme}},watch:{mdTheme:function(e){this.$material.useTheme(e)}},beforeMount:function(){var e=this.mdTheme;this.$material.useTheme(e?e:"default")}},e.exports=t.default},142:function(e,t,o){"use strict";function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),r=c(n);t.default={name:"md-checkbox",props:{name:String,value:[String,Boolean],id:String,disabled:Boolean},mixins:[r.default],data:function(){return{checked:this.value}},computed:{classes:function(){return{"md-checked":this.checked,"md-disabled":this.disabled}}},watch:{value:function(){this.checked=!!this.value}},methods:{toggleCheck:function(e){this.disabled||(this.checked=!this.checked,this.$emit("change",this.checked,e),this.$emit("input",this.checked,e))}}},e.exports=t.default},257:function(e,t){},270:function(e,t){e.exports=".THEME_NAME.md-checkbox.md-checked .md-checkbox-container{background-color:ACCENT-COLOR;border-color:ACCENT-COLOR}.THEME_NAME.md-checkbox.md-checked .md-checkbox-container:after{border-color:ACCENT-CONTRAST}.THEME_NAME.md-checkbox .md-ink-ripple{color:ACCENT-COLOR}.THEME_NAME.md-checkbox .md-ripple{opacity:.26}.THEME_NAME.md-checkbox.md-primary.md-checked .md-checkbox-container{background-color:PRIMARY-COLOR;border-color:PRIMARY-COLOR}.THEME_NAME.md-checkbox.md-primary.md-checked .md-checkbox-container:after{border-color:PRIMARY-CONTRAST}.THEME_NAME.md-checkbox.md-primary .md-ink-ripple{color:PRIMARY-COLOR}.THEME_NAME.md-checkbox.md-warn.md-checked .md-checkbox-container{background-color:WARN-COLOR;border-color:WARN-COLOR}.THEME_NAME.md-checkbox.md-warn.md-checked .md-checkbox-container:after{border-color:WARN-CONTRAST}.THEME_NAME.md-checkbox.md-warn .md-ink-ripple{color:WARN-COLOR}.THEME_NAME.md-checkbox.md-disabled.md-checked .md-checkbox-container{background-color:rgba(0,0,0,0.26);border-color:transparent}.THEME_NAME.md-checkbox.md-disabled:not(.md-checked) .md-checkbox-container{border-color:rgba(0,0,0,0.26)}\n"},311:function(e,t,o){function c(e){o(257)}var n=o(0)(o(142),o(435),c,null,null);e.exports=n.exports},435:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"md-checkbox",class:[e.themeClass,e.classes]},[o("div",{staticClass:"md-checkbox-container",attrs:{tabindex:"0"},on:{click:function(t){t.stopPropagation(),e.toggleCheck(t)}}},[o("input",{attrs:{type:"checkbox",name:e.name,id:e.id,disabled:e.disabled,tabindex:"-1"},domProps:{value:e.value,checked:e.checked}}),e._v(" "),o("md-ink-ripple",{attrs:{"md-disabled":e.disabled}})],1),e._v(" "),e.$slots.default?o("label",{staticClass:"md-checkbox-label",attrs:{for:e.id||e.name},on:{click:e.toggleCheck}},[e._t("default")],2):e._e()])},staticRenderFns:[]}},452:function(e,t,o){e.exports=o(86)},86:function(e,t,o){"use strict";function c(e){return e&&e.__esModule?e:{default:e}}function n(e){e.component("md-checkbox",d.default),e.material.styles.push(a.default)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r=o(311),d=c(r),i=o(270),a=c(i);e.exports=t.default}})}));

View file

@ -339,17 +339,12 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
//
//
//
//
exports.default = {
name: 'md-chips',
props: {
value: Array,
disabled: Boolean,
debounce: {
type: Number,
default: 1E2
},
mdInputId: String,
mdInputName: String,
mdInputPlaceholder: String,
@ -649,8 +644,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
"id": _vm.inputId,
"name": _vm.mdInputName,
"disabled": _vm.disabled,
"tabindex": "0",
"debounce": 0
"tabindex": "0"
},
nativeOn: {
"keydown": [function($event) {

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1917,20 +1917,11 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
staticClass: "md-count"
}, [_vm._v(_vm._s(_vm.inputLength) + " / " + _vm._s(_vm.counterLength))]) : _vm._e(), _vm._v(" "), (_vm.mdHasPassword) ? _c('md-button', {
staticClass: "md-icon-button md-toggle-password",
attrs: {
"tabindex": "-1"
},
on: {
"click": function($event) {
$event.preventDefault();
_vm.togglePasswordType($event)
}
"click": _vm.togglePasswordType
}
}, [_c('md-icon', [_vm._v(_vm._s(_vm.showPassword ? 'visibility_off' : 'visibility'))])], 1) : _vm._e(), _vm._v(" "), (_vm.mdClearable && _vm.hasValue) ? _c('md-button', {
staticClass: "md-icon-button md-clear-input",
attrs: {
"tabindex": "-1"
},
on: {
"click": _vm.clearInput
}
@ -2043,7 +2034,7 @@ exports.default = {
value: [String, Number],
debounce: {
type: Number,
default: 1E2
default: 3E2
},
disabled: Boolean,
required: Boolean,

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -326,7 +326,7 @@ exports.default = {
props = _ref.props;
var getItemComponent = function getItemComponent() {
var on = data.on;
var nativeOn = data.nativeOn;
var interactionEvents = ['contextmenu', 'dblclick', 'dragend', 'mousedown', 'touchstart', 'click'];
var childrenCount = children.length;
@ -334,6 +334,16 @@ exports.default = {
return _mdListItemLink2.default;
}
if (nativeOn) {
var counter = interactionEvents.length;
while (counter--) {
if (nativeOn[interactionEvents[counter]]) {
return _mdListItemButton2.default;
}
}
}
while (childrenCount--) {
var options = children[childrenCount].componentOptions;
@ -364,16 +374,6 @@ exports.default = {
}
}
if (on) {
var counter = interactionEvents.length;
while (counter--) {
if (on[interactionEvents[counter]]) {
return _mdListItemButton2.default;
}
}
}
return _mdListItemDefault2.default;
};

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1000,12 +1000,7 @@ exports.default = {
type: [Number, String],
default: 10
},
mdPageOptions: {
type: [Array, Boolean],
default: function _default() {
return [10, 25, 50, 100];
}
},
mdPageOptions: [Array, Boolean],
mdPage: {
type: [Number, String],
default: 1
@ -1092,11 +1087,8 @@ exports.default = {
var _this = this;
this.$nextTick((function () {
if (_this.mdPageOptions) {
_this.currentSize = _this.mdPageOptions.includes(_this.currentSize) ? _this.currentSize : _this.mdPageOptions[0];
} else {
_this.currentSize = 0;
}
_this.mdPageOptions = _this.mdPageOptions || [10, 25, 50, 100];
_this.currentSize = _this.mdPageOptions.includes(_this.currentSize) ? _this.currentSize : _this.mdPageOptions[0];
_this.canFireEvents = true;
}));
}
@ -1911,7 +1903,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
staticClass: "md-table-pagination"
}, [_c('span', {
staticClass: "md-table-pagination-label"
}, [_vm._v(_vm._s(_vm.mdLabel) + ":")]), _vm._v(" "), (_vm.mdPageOptions !== false) ? _c('md-select', {
}, [_vm._v(_vm._s(_vm.mdLabel) + ":")]), _vm._v(" "), (_vm.mdPageOptions) ? _c('md-select', {
attrs: {
"md-menu-class": "md-pagination-select"
},

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

View file

@ -1,5 +1,5 @@
/*!
* Vue Material v0.7.4
* Vue Material v0.7.3
* Made with love by Marcos Moura
* Released under the MIT License.
*/

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
<!DOCTYPE html><html lang=en-us><meta charset=utf-8><meta http-equiv=cleartype content=on><meta name=viewport content="width=device-width,initial-scale=1,minimal-ui"><meta name=mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><meta name=apple-mobile-web-app-title content="Vue Material"><meta name=application-name content="Vue Material"><meta name=description content="Material Design for Vue"><meta name=msapplication-config content=/assets/favicon/browserconfig.xml><meta name=theme-color content=#2196f3><link rel=apple-touch-icon sizes=180x180 href=/assets/favicon/apple-touch-icon.png><link rel=icon type=image/png href=/assets/favicon/favicon-32x32.png sizes=32x32><link rel=icon type=image/png href=/assets/favicon/favicon-194x194.png sizes=194x194><link rel=icon type=image/png href=/assets/favicon/android-chrome-192x192.png sizes=192x192><link rel=icon type=image/png href=/assets/favicon/favicon-16x16.png sizes=16x16><link rel=manifest href=/assets/favicon/manifest.json><link rel=mask-icon href=/assets/favicon/safari-pinned-tab.svg color=#2196f3><link rel="shortcut icon" href=/assets/favicon/favicon.ico><title>Vue Material</title><link rel=stylesheet href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic"><link rel=stylesheet href="https://fonts.googleapis.com/icon?family=Material+Icons"><link href=docs.e68ca303.css rel=stylesheet><div id=app v-cloak><docs></docs></div><script>!function(e,t,a,n,c,o,s){e.GoogleAnalyticsObject=c,e[c]=e[c]||function(){(e[c].q=e[c].q||[]).push(arguments)},e[c].l=1*new Date,o=t.createElement(a),s=t.getElementsByTagName(a)[0],o.async=1,o.src=n,s.parentNode.insertBefore(o,s)}(window,document,"script","https://www.google-analytics.com/analytics.js","ga"),ga("create","UA-85823257-1","auto"),ga("send","pageview")</script><script src=manifest.fd8ed0f3.js></script><script src=vendor.5d5d08d7.js></script><script src=docs.3d95a65f.js></script>
<!DOCTYPE html><html lang=en-us><meta charset=utf-8><meta http-equiv=cleartype content=on><meta name=viewport content="width=device-width,initial-scale=1,minimal-ui"><meta name=mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><meta name=apple-mobile-web-app-title content="Vue Material"><meta name=application-name content="Vue Material"><meta name=description content="Material Design for Vue"><meta name=msapplication-config content=/assets/favicon/browserconfig.xml><meta name=theme-color content=#2196f3><link rel=apple-touch-icon sizes=180x180 href=/assets/favicon/apple-touch-icon.png><link rel=icon type=image/png href=/assets/favicon/favicon-32x32.png sizes=32x32><link rel=icon type=image/png href=/assets/favicon/favicon-194x194.png sizes=194x194><link rel=icon type=image/png href=/assets/favicon/android-chrome-192x192.png sizes=192x192><link rel=icon type=image/png href=/assets/favicon/favicon-16x16.png sizes=16x16><link rel=manifest href=/assets/favicon/manifest.json><link rel=mask-icon href=/assets/favicon/safari-pinned-tab.svg color=#2196f3><link rel="shortcut icon" href=/assets/favicon/favicon.ico><title>Vue Material</title><link rel=stylesheet href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic"><link rel=stylesheet href="https://fonts.googleapis.com/icon?family=Material+Icons"><link href=docs.e68ca303.css rel=stylesheet><div id=app v-cloak><docs></docs></div><script>!function(e,t,a,n,c,o,s){e.GoogleAnalyticsObject=c,e[c]=e[c]||function(){(e[c].q=e[c].q||[]).push(arguments)},e[c].l=1*new Date,o=t.createElement(a),s=t.getElementsByTagName(a)[0],o.async=1,o.src=n,s.parentNode.insertBefore(o,s)}(window,document,"script","https://www.google-analytics.com/analytics.js","ga"),ga("create","UA-85823257-1","auto"),ga("send","pageview")</script><script src=manifest.967be4b0.js></script><script src=vendor.5d5d08d7.js></script><script src=docs.329247d4.js></script>

View file

@ -1 +0,0 @@
!(function(e){function r(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var t=window.webpackJsonp;window.webpackJsonp=function(n,a,c){for(var i,d,f,s=0,u=[];s<n.length;s++)d=n[s],o[d]&&u.push(o[d][0]),o[d]=0;for(i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i]);for(t&&t(n,a,c);u.length;)u.shift()();if(c)for(s=0;s<c.length;s++)f=r(r.s=c[s]);return f};var n={},o={37:0};r.e=function(e){function t(){a.onerror=a.onload=null,clearTimeout(c);var r=o[e];0!==r&&(r&&r[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}if(0===o[e])return Promise.resolve();if(o[e])return o[e][2];var n=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,r.nc&&a.setAttribute("nonce",r.nc),a.src=r.p+""+({0:"base",1:"ui-elements",2:"themes",3:"table",4:"spinner",5:"snackbar",6:"sidenav",7:"select",8:"rating-bar",9:"progress",10:"list",11:"input",12:"dialog",13:"buttons",14:"bottom-bar",15:"avatar",16:"ink-ripple",17:"tabs",18:"icon",19:"menu",20:"speed-dial",21:"button-toggle",22:"toolbar",23:"card",24:"tooltip",25:"whiteframe",26:"switch",27:"radio",28:"image-loader",29:"file",30:"chips",31:"checkbox",32:"subheader",33:"stepper",34:"onboarding",35:"vendor",36:"docs"}[e]||e)+"."+{0:"ea6ee733",1:"20c543fc",2:"f9841382",3:"6b79f756",4:"08144d76",5:"f511c8f0",6:"3adc0bbd",7:"670bad46",8:"1729e0fe",9:"485d8e45",10:"817a09c7",11:"571b4df1",12:"1c2640f3",13:"95b76f5c",14:"7e4fdd8e",15:"a2d3cdea",16:"b302866c",17:"729d05c0",18:"7fe4c2a3",19:"8e59135c",20:"aa8bb347",21:"81586977",22:"dc60773a",23:"13717365",24:"0cdbc31b",25:"801fb328",26:"bb2ae27f",27:"8680ff27",28:"f5d41dcc",29:"91422ded",30:"496f68bc",31:"e7456405",32:"4b2086e0",33:"604ae3bd",34:"485334a2",35:"5d5d08d7",36:"3d95a65f"}[e]+".js";var c=setTimeout(t,12e4);a.onerror=a.onload=t;var i=new Promise(function(r,t){o[e]=[r,t]});return o[e][2]=i,n.appendChild(a),i},r.m=e,r.c=n,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="",r.oe=function(e){throw console.error(e),e}})([]);

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,017 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="assets/favicon/mstile-150x150.png"/>
<TileColor>#2196f3</TileColor>
</tile>
</msapplication>
</browserconfig>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 376 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 835 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View file

@ -1,54 +0,0 @@
{
"name": "Vue Material",
"icons": [
{
"src": "assets\/favicon\/android-chrome-36x36.png",
"sizes": "36x36",
"type": "image\/png"
},
{
"src": "assets\/favicon\/android-chrome-48x48.png",
"sizes": "48x48",
"type": "image\/png"
},
{
"src": "assets\/favicon\/android-chrome-72x72.png",
"sizes": "72x72",
"type": "image\/png"
},
{
"src": "assets\/favicon\/android-chrome-96x96.png",
"sizes": "96x96",
"type": "image\/png"
},
{
"src": "assets\/favicon\/android-chrome-144x144.png",
"sizes": "144x144",
"type": "image\/png"
},
{
"src": "assets\/favicon\/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image\/png"
},
{
"src": "assets\/favicon\/android-chrome-256x256.png",
"sizes": "256x256",
"type": "image\/png"
},
{
"src": "assets\/favicon\/android-chrome-384x384.png",
"sizes": "384x384",
"type": "image\/png"
},
{
"src": "assets\/favicon\/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image\/png"
}
],
"theme_color": "#2196f3",
"start_url": "https:\/\/vuematerial.github.io",
"display": "standalone",
"orientation": "portrait"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -1,19 +0,0 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="599.000000pt" height="599.000000pt" viewBox="0 0 599.000000 599.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,599.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M1957 4663 c-130 -216 -1941 -3349 -1944 -3364 -5 -18 18 -19 763
-19 l769 0 225 390 c124 214 227 390 230 390 3 0 106 -176 230 -390 l225 -390
540 0 540 0 225 390 c124 214 227 390 230 390 3 0 106 -176 230 -390 l225
-390 773 0 c424 0 772 2 772 4 0 16 -1990 3431 -2000 3431 -7 0 -234 -381
-504 -847 l-491 -847 -27 47 c-15 26 -236 407 -491 846 -255 440 -468 801
-474 803 -6 2 -27 -22 -46 -54z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 920 B

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="#ffffff" d="M512 0C229.25 0 0 229.25 0 512c0 226.25 146.69 418.13 350.16 485.81 25.59 4.69 34.94-11.12 34.94-24.62 0-12.19-0.47-52.56-0.72-95.31C242 908.81 211.91 817.5 211.91 817.5c-23.31-59.12-56.84-74.87-56.84-74.87-46.53-31.75 3.53-31.12 3.53-31.12 51.41 3.56 78.47 52.75 78.47 52.75 45.69 78.25 119.88 55.63 149 42.5 4.65-33 17.9-55.62 32.5-68.37C304.91 725.44 185.34 681.5 185.34 485.31c0-55.94 19.97-101.56 52.66-137.41-5.22-13-22.84-65.09 5.06-135.56 0 0 42.94-13.75 140.81 52.5 40.81-11.41 84.59-17.03 128.13-17.22 43.5 0.19 87.31 5.88 128.19 17.28 97.69-66.31 140.69-52.5 140.69-52.5 28 70.53 10.38 122.56 5.13 135.5 32.81 35.84 52.63 81.47 52.63 137.41 0 196.69-119.75 240-233.81 252.69 18.44 15.88 34.75 47 34.75 94.75 0 68.44-0.69 123.63-0.69 140.5 0 13.63 9.31 29.56 35.25 24.56C877.44 930 1024 738.13 1024 512 1024 229.25 794.75 0 512 0z"></path></svg>

Before

Width:  |  Height:  |  Size: 944 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 840 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 842 B

View file

@ -1,4 +0,0 @@
<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
<path d="M0 0h24v24H0z" fill="none"/>
</svg>

Before

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 KiB

View file

@ -1 +0,0 @@
webpackJsonp([15,37],{802:function(a,t,d){function n(a){d(920)}var r=d(1)(null,d(961),n,"data-v-fa87ed6a",null);a.exports=r.exports},888:function(a,t,d){t=a.exports=d(795)(),t.push([a.i,".md-avatar+.md-avatar[data-v-fa87ed6a]{margin-left:8px}",""])},920:function(a,t,d){var n=d(888);"string"==typeof n&&(n=[[a.i,n,""]]),n.locals&&(a.exports=n.locals);d(796)("7a3d7c2f",n,!0)},961:function(a,t){a.exports={render:function(){var a=this,t=a.$createElement,d=a._self._c||t;return d("page-content",{attrs:{"page-title":"Components - Avatar"}},[d("docs-component",[d("div",{slot:"description"},[d("p",[a._v("Avatars can be used to represent people. When used with a specific logo, avatars can also be used to represent brand.")]),a._v(" "),d("p",[a._v("The following classes can be applied to change the color palette:")]),a._v(" "),d("ul",{staticClass:"md-body-2"},[d("li",[d("code",[a._v("md-primary")])]),a._v(" "),d("li",[d("code",[a._v("md-accent")])]),a._v(" "),d("li",[d("code",[a._v("md-warn")])])])]),a._v(" "),d("div",{slot:"api"},[d("api-table",{attrs:{name:"md-avatar"}},[d("md-table",{slot:"classes"},[d("md-table-header",[d("md-table-row",[d("md-table-head",[a._v("Name")]),a._v(" "),d("md-table-head",[a._v("Description")])],1)],1),a._v(" "),d("md-table-body",[d("md-table-row",[d("md-table-cell",[a._v("md-avatar-icon")]),a._v(" "),d("md-table-cell",[a._v("Display an icon using md-icon component")])],1),a._v(" "),d("md-table-row",[d("md-table-cell",[a._v("md-large")]),a._v(" "),d("md-table-cell",[a._v("Display large avatar")])],1)],1)],1)],1)],1),a._v(" "),d("div",{slot:"example"},[d("example-box",{attrs:{"card-title":"Default"}},[d("div",{staticClass:"avatar-holder",slot:"demo"},[d("md-avatar",[d("img",{attrs:{src:"assets/avatar.png",alt:"Avatar"}})]),a._v(" "),d("md-avatar",{staticClass:"md-avatar-icon"},[d("md-icon",[a._v("home")])],1),a._v(" "),d("md-avatar",{staticClass:"md-avatar-icon md-primary"},[d("md-icon",[a._v("folder")])],1),a._v(" "),d("md-avatar",{staticClass:"md-avatar-icon md-accent"},[d("md-icon",[a._v("favorite")])],1),a._v(" "),d("md-avatar",{staticClass:"md-avatar-icon md-warn"},[d("md-icon",[a._v("notes")])],1)],1),a._v(" "),d("div",{slot:"code"},[d("code-block",{attrs:{lang:"xml"}},[a._v('\n <md-avatar>\n <img src="assets/avatar.png" alt="Avatar">\n </md-avatar>\n\n <md-avatar class="md-avatar-icon">\n <md-icon>home</md-icon>\n </md-avatar>\n\n <md-avatar class="md-avatar-icon md-primary">\n <md-icon>folder</md-icon>\n </md-avatar>\n\n <md-avatar class="md-avatar-icon md-accent">\n <md-icon>favorite</md-icon>\n </md-avatar>\n\n <md-avatar class="md-avatar-icon md-warn">\n <md-icon>notes</md-icon>\n </md-avatar>\n ')])],1)]),a._v(" "),d("example-box",{attrs:{"card-title":"Large"}},[d("div",{staticClass:"avatar-holder",slot:"demo"},[d("md-avatar",{staticClass:"md-large"},[d("img",{attrs:{src:"assets/avatar-2.jpg",alt:"People"}})]),a._v(" "),d("md-avatar",{staticClass:"md-avatar-icon md-large"},[d("md-icon",[a._v("home")])],1),a._v(" "),d("md-avatar",{staticClass:"md-avatar-icon md-large md-primary"},[d("md-icon",[a._v("folder")])],1),a._v(" "),d("md-avatar",{staticClass:"md-avatar-icon md-large md-accent"},[d("md-icon",[a._v("favorite")])],1),a._v(" "),d("md-avatar",{staticClass:"md-avatar-icon md-large md-warn"},[d("md-icon",[a._v("notes")])],1)],1),a._v(" "),d("div",{slot:"code"},[d("code-block",{attrs:{lang:"xml"}},[a._v('\n <md-avatar class="md-large">\n <img src="assets/avatar-2.jpg" alt="People">\n </md-avatar>\n\n <md-avatar class="md-avatar-icon md-large">\n <md-icon>home</md-icon>\n </md-avatar>\n\n <md-avatar class="md-avatar-icon md-large md-primary">\n <md-icon>folder</md-icon>\n </md-avatar>\n\n <md-avatar class="md-avatar-icon md-large md-accent">\n <md-icon>favorite</md-icon>\n </md-avatar>\n\n <md-avatar class="md-avatar-icon md-large md-warn">\n <md-icon>notes</md-icon>\n </md-avatar>\n ')])],1)])],1)])],1)},staticRenderFns:[]}}});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show more