2016-11-21 03:39:30 +00:00
( function webpackUniversalModuleDefinition ( root , factory ) {
if ( typeof exports === 'object' && typeof module === 'object' )
module . exports = factory ( ) ;
else if ( typeof define === 'function' && define . amd )
define ( [ ] , factory ) ;
else if ( typeof exports === 'object' )
exports [ "VueMaterial" ] = factory ( ) ;
else
root [ "VueMaterial" ] = factory ( ) ;
} ) ( this , function ( ) {
return /******/ ( function ( modules ) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = { } ;
/******/
/******/ // The require function
/******/ function _ _webpack _require _ _ ( moduleId ) {
/******/
/******/ // Check if module is in cache
/******/ if ( installedModules [ moduleId ] )
/******/ return installedModules [ moduleId ] . exports ;
/******/
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules [ moduleId ] = {
/******/ exports : { } ,
/******/ id : moduleId ,
/******/ loaded : false
/******/ } ;
/******/
/******/ // Execute the module function
/******/ modules [ moduleId ] . call ( module . exports , module , module . exports , _ _webpack _require _ _ ) ;
/******/
/******/ // Flag the module as loaded
/******/ module . loaded = true ;
/******/
/******/ // Return the exports of the module
/******/ return module . exports ;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ _ _webpack _require _ _ . m = modules ;
/******/
/******/ // expose the module cache
/******/ _ _webpack _require _ _ . c = installedModules ;
/******/
/******/ // __webpack_public_path__
/******/ _ _webpack _require _ _ . p = "/" ;
/******/
/******/ // Load entry module and return exports
/******/ return _ _webpack _require _ _ ( 0 ) ;
/******/ } )
/************************************************************************/
/******/ ( [
/* 0 */
/***/ function ( module , exports , _ _webpack _require _ _ ) {
2016-12-05 03:53:41 +00:00
module . exports = _ _webpack _require _ _ ( 12 ) ;
2016-11-21 03:39:30 +00:00
/***/ } ,
/* 1 */ ,
/* 2 */ ,
/* 3 */ ,
/* 4 */ ,
/* 5 */ ,
2016-12-05 03:53:41 +00:00
/* 6 */ ,
/* 7 */ ,
/* 8 */ ,
/* 9 */ ,
/* 10 */ ,
/* 11 */ ,
/* 12 */
2016-11-21 03:39:30 +00:00
/***/ function ( module , exports , _ _webpack _require _ _ ) {
'use strict' ;
Object . defineProperty ( exports , "__esModule" , {
value : true
} ) ;
exports . default = install ;
2016-12-05 03:53:41 +00:00
var _mdBottomBar = _ _webpack _require _ _ ( 13 ) ;
2016-11-21 03:39:30 +00:00
var _mdBottomBar2 = _interopRequireDefault ( _mdBottomBar ) ;
2016-12-05 03:53:41 +00:00
var _mdBottomBarItem = _ _webpack _require _ _ ( 17 ) ;
2016-11-21 03:39:30 +00:00
var _mdBottomBarItem2 = _interopRequireDefault ( _mdBottomBarItem ) ;
2016-12-05 03:53:41 +00:00
var _mdBottomBar3 = _ _webpack _require _ _ ( 20 ) ;
2016-11-21 03:39:30 +00:00
var _mdBottomBar4 = _interopRequireDefault ( _mdBottomBar3 ) ;
function _interopRequireDefault ( obj ) { return obj && obj . _ _esModule ? obj : { default : obj } ; }
function install ( Vue ) {
Vue . component ( 'md-bottom-bar' , Vue . extend ( _mdBottomBar2 . default ) ) ;
Vue . component ( 'md-bottom-bar-item' , Vue . extend ( _mdBottomBarItem2 . default ) ) ;
Vue . material . styles . push ( _mdBottomBar4 . default ) ;
}
module . exports = exports [ 'default' ] ;
/***/ } ,
2016-12-05 03:53:41 +00:00
/* 13 */
2016-11-21 03:39:30 +00:00
/***/ function ( module , exports , _ _webpack _require _ _ ) {
var _ _vue _exports _ _ , _ _vue _options _ _
var _ _vue _styles _ _ = { }
/* styles */
2016-12-05 03:53:41 +00:00
_ _webpack _require _ _ ( 14 )
2016-11-21 03:39:30 +00:00
/* script */
2016-12-05 03:53:41 +00:00
_ _vue _exports _ _ = _ _webpack _require _ _ ( 15 )
2016-11-21 03:39:30 +00:00
/* template */
2016-12-05 03:53:41 +00:00
var _ _vue _template _ _ = _ _webpack _require _ _ ( 16 )
2016-11-21 03:39:30 +00:00
_ _vue _options _ _ = _ _vue _exports _ _ = _ _vue _exports _ _ || { }
if (
typeof _ _vue _exports _ _ . default === "object" ||
typeof _ _vue _exports _ _ . default === "function"
) {
if ( Object . keys ( _ _vue _exports _ _ ) . some ( function ( key ) { return key !== "default" && key !== "__esModule" } ) ) { console . error ( "named exports are not supported in *.vue files." ) }
_ _vue _options _ _ = _ _vue _exports _ _ = _ _vue _exports _ _ . default
}
if ( typeof _ _vue _options _ _ === "function" ) {
_ _vue _options _ _ = _ _vue _options _ _ . options
}
2016-12-09 15:59:35 +00:00
_ _vue _options _ _ . _ _file = "/Users/mrufino/Projects/personal/github/vue-material/src/components/mdBottomBar/mdBottomBar.vue"
2016-11-21 03:39:30 +00:00
_ _vue _options _ _ . render = _ _vue _template _ _ . render
_ _vue _options _ _ . staticRenderFns = _ _vue _template _ _ . staticRenderFns
/* hot reload */
if ( false ) { ( function ( ) {
var hotAPI = require ( "vue-hot-reload-api" )
hotAPI . install ( require ( "vue" ) , false )
if ( ! hotAPI . compatible ) return
module . hot . accept ( )
if ( ! module . hot . data ) {
2016-12-09 15:59:35 +00:00
hotAPI . createRecord ( "data-v-7f034f32" , _ _vue _options _ _ )
2016-11-21 03:39:30 +00:00
} else {
2016-12-09 15:59:35 +00:00
hotAPI . reload ( "data-v-7f034f32" , _ _vue _options _ _ )
2016-11-21 03:39:30 +00:00
}
} ) ( ) }
if ( _ _vue _options _ _ . functional ) { console . error ( "[vue-loader] mdBottomBar.vue: functional components are not supported and should be defined in plain js files using render functions." ) }
module . exports = _ _vue _exports _ _
/***/ } ,
2016-12-05 03:53:41 +00:00
/* 14 */
/***/ function ( module , exports ) {
// removed by extract-text-webpack-plugin
/***/ } ,
/* 15 */
2016-11-21 03:39:30 +00:00
/***/ function ( module , exports ) {
'use strict' ;
Object . defineProperty ( exports , "__esModule" , {
value : true
} ) ;
//
//
//
//
//
//
//
//
exports . default = {
props : {
mdShift : Boolean
} ,
computed : {
classes : function classes ( ) {
return this . mdShift ? 'md-shift' : 'md-fixed' ;
}
}
} ;
module . exports = exports [ 'default' ] ;
/***/ } ,
2016-12-05 03:53:41 +00:00
/* 16 */
2016-11-21 03:39:30 +00:00
/***/ function ( module , exports , _ _webpack _require _ _ ) {
2016-12-05 03:53:41 +00:00
module . exports = { render : function ( ) { var _vm = this ; var _h = _vm . $createElement ;
return _h ( 'div' , {
2016-11-21 03:39:30 +00:00
staticClass : "md-bottom-bar" ,
class : _vm . classes
} , [ _vm . _t ( "default" ) ] )
} , staticRenderFns : [ ] }
2016-12-05 03:53:41 +00:00
module . exports . render . _withStripped = true
2016-11-21 03:39:30 +00:00
if ( false ) {
module . hot . accept ( )
if ( module . hot . data ) {
2016-12-09 15:59:35 +00:00
require ( "vue-hot-reload-api" ) . rerender ( "data-v-7f034f32" , module . exports )
2016-11-21 03:39:30 +00:00
}
}
/***/ } ,
2016-12-05 03:53:41 +00:00
/* 17 */
2016-11-21 03:39:30 +00:00
/***/ function ( module , exports , _ _webpack _require _ _ ) {
var _ _vue _exports _ _ , _ _vue _options _ _
var _ _vue _styles _ _ = { }
/* script */
2016-12-05 03:53:41 +00:00
_ _vue _exports _ _ = _ _webpack _require _ _ ( 18 )
2016-11-21 03:39:30 +00:00
/* template */
2016-12-05 03:53:41 +00:00
var _ _vue _template _ _ = _ _webpack _require _ _ ( 19 )
2016-11-21 03:39:30 +00:00
_ _vue _options _ _ = _ _vue _exports _ _ = _ _vue _exports _ _ || { }
if (
typeof _ _vue _exports _ _ . default === "object" ||
typeof _ _vue _exports _ _ . default === "function"
) {
if ( Object . keys ( _ _vue _exports _ _ ) . some ( function ( key ) { return key !== "default" && key !== "__esModule" } ) ) { console . error ( "named exports are not supported in *.vue files." ) }
_ _vue _options _ _ = _ _vue _exports _ _ = _ _vue _exports _ _ . default
}
if ( typeof _ _vue _options _ _ === "function" ) {
_ _vue _options _ _ = _ _vue _options _ _ . options
}
2016-12-09 15:59:35 +00:00
_ _vue _options _ _ . _ _file = "/Users/mrufino/Projects/personal/github/vue-material/src/components/mdBottomBar/mdBottomBarItem.vue"
2016-11-21 03:39:30 +00:00
_ _vue _options _ _ . render = _ _vue _template _ _ . render
_ _vue _options _ _ . staticRenderFns = _ _vue _template _ _ . staticRenderFns
/* hot reload */
if ( false ) { ( function ( ) {
var hotAPI = require ( "vue-hot-reload-api" )
hotAPI . install ( require ( "vue" ) , false )
if ( ! hotAPI . compatible ) return
module . hot . accept ( )
if ( ! module . hot . data ) {
2016-12-09 15:59:35 +00:00
hotAPI . createRecord ( "data-v-c12a12cc" , _ _vue _options _ _ )
2016-11-21 03:39:30 +00:00
} else {
2016-12-09 15:59:35 +00:00
hotAPI . reload ( "data-v-c12a12cc" , _ _vue _options _ _ )
2016-11-21 03:39:30 +00:00
}
} ) ( ) }
if ( _ _vue _options _ _ . functional ) { console . error ( "[vue-loader] mdBottomBarItem.vue: functional components are not supported and should be defined in plain js files using render functions." ) }
module . exports = _ _vue _exports _ _
/***/ } ,
2016-12-05 03:53:41 +00:00
/* 18 */
2016-11-21 03:39:30 +00:00
/***/ function ( module , exports ) {
'use strict' ;
Object . defineProperty ( exports , "__esModule" , {
value : true
} ) ;
//
//
//
//
//
//
//
//
//
//
2016-12-05 03:53:41 +00:00
//
//
//
//
//
//
//
//
2016-11-21 03:39:30 +00:00
exports . default = {
props : {
mdIcon : String ,
2016-12-05 03:53:41 +00:00
mdActive : Boolean ,
href : String
2016-11-21 03:39:30 +00:00
} ,
data : function data ( ) {
return {
active : false
} ;
} ,
computed : {
classes : function classes ( ) {
return {
'md-active' : this . active
} ;
}
} ,
watch : {
mdActive : function mdActive ( active ) {
this . setActive ( active ) ;
}
} ,
methods : {
setActive : function setActive ( active ) {
this . $parent . $children . forEach ( function ( item ) {
item . active = false ;
} ) ;
this . active = ! ! active ;
}
} ,
mounted : function mounted ( ) {
if ( ! this . $parent . $el . classList . contains ( 'md-bottom-bar' ) ) {
this . $destroy ( ) ;
throw new Error ( 'You should wrap the md-bottom-bar-item in a md-bottom-bar' ) ;
}
if ( this . mdActive ) {
this . active = true ;
}
}
} ;
module . exports = exports [ 'default' ] ;
/***/ } ,
2016-12-05 03:53:41 +00:00
/* 19 */
2016-11-21 03:39:30 +00:00
/***/ function ( module , exports , _ _webpack _require _ _ ) {
2016-12-05 03:53:41 +00:00
module . exports = { render : function ( ) { var _vm = this ; var _h = _vm . $createElement ;
return ( _vm . href ) ? _h ( 'a' , {
directives : [ {
name : "md-ink-ripple" ,
rawName : "v-md-ink-ripple"
} ] ,
staticClass : "md-bottom-bar-item" ,
class : _vm . classes ,
attrs : {
"href" : _vm . href
} ,
on : {
"click" : _vm . setActive
}
} , [ _h ( 'md-icon' , [ _vm . _s ( _vm . mdIcon ) ] ) , " " , _h ( 'span' , {
staticClass : "md-text"
} , [ _vm . _t ( "default" ) ] ) ] ) : _h ( 'button' , {
2016-11-21 03:39:30 +00:00
directives : [ {
name : "md-ink-ripple" ,
rawName : "v-md-ink-ripple"
} ] ,
staticClass : "md-bottom-bar-item" ,
class : _vm . classes ,
attrs : {
"type" : "button"
} ,
on : {
"click" : _vm . setActive
}
2016-12-05 03:53:41 +00:00
} , [ _h ( 'md-icon' , [ _vm . _s ( _vm . mdIcon ) ] ) , " " , _h ( 'span' , {
2016-11-21 03:39:30 +00:00
staticClass : "md-text"
} , [ _vm . _t ( "default" ) ] ) ] )
} , staticRenderFns : [ ] }
2016-12-05 03:53:41 +00:00
module . exports . render . _withStripped = true
2016-11-21 03:39:30 +00:00
if ( false ) {
module . hot . accept ( )
if ( module . hot . data ) {
2016-12-09 15:59:35 +00:00
require ( "vue-hot-reload-api" ) . rerender ( "data-v-c12a12cc" , module . exports )
2016-11-21 03:39:30 +00:00
}
}
/***/ } ,
2016-12-05 03:53:41 +00:00
/* 20 */
2016-11-21 03:39:30 +00:00
/***/ function ( module , exports ) {
2016-12-05 03:53:41 +00:00
module . exports = " . THEME _NAME . md - bottom - bar . md - fixed , . THEME _NAME . md - bottom - bar . md - fixed { \ n background - color : BACKGROUND - COLOR ; } \ n . THEME _NAME . md - bottom - bar . md - fixed . md - bottom - bar - item , . THEME _NAME . md - bottom - bar . md - fixed . md - bottom - bar - item { \ n color : BACKGROUND - CONTRAST - 0.54 ; } \ n . THEME _NAME . md - bottom - bar . md - fixed . md - bottom - bar - item : hover : not ( . md - active ) , . THEME _NAME . md - bottom - bar . md - fixed . md - bottom - bar - item : hover : not ( . md - active ) { \ n color : BACKGROUND - CONTRAST - 0.87 ; } \ n . THEME _NAME . md - bottom - bar . md - fixed . md - bottom - bar - item . md - active , . THEME _NAME . md - bottom - bar . md - fixed . md - bottom - bar - item . md - active { \ n color : PRIMARY - COLOR ; } \ n . THEME _NAME . md - bottom - bar . md - fixed . md - accent . md - bottom - bar - item . md - active , . THEME _NAME . md - bottom - bar . md - fixed . md - accent . md - bottom - bar - item . md - active { \ n color : ACCENT - COLOR ; } \ n . THEME _NAME . md - bottom - bar . md - fixed . md - warn . md - bottom - bar - item . md - active , . THEME _NAME . md - bottom - bar . md - fixed . md - warn . md - bottom - bar - item . md - active { \ n color : WARN - COLOR ; } \ n . THEME _NAME . md - bottom - bar . md - fixed . md - transparent . md - bottom - bar - item . md - active , . THEME _NAME . md - bottom - bar . md - fixed . md - transparent . md - bottom - bar - item . md - active { \ n color : BACKGROUND - CONTRAST ; } \ n \ n . THEME _NAME . md - bottom - bar . md - shift , . THEME _NAME . md - bottom - bar . md - shift { \ n background - color : PRIMARY - COLOR ; \ n color : PRIMARY - CONTRAST ; } \ n . THEME _NAME . md - bottom - bar . md - shift . md - bottom - bar - item , . THEME _NAME . md - bottom - bar . md - shift . md - bottom - bar - item { \ n color : PRIMARY - CONTRAST - 0.54 ; } \ n . THEME _NAME . md - bottom - bar . md - shift . md - bottom - bar - item : hover : not ( . md - active ) , . THEME _NAME . md - bottom - bar . md - shift . md - bottom - bar - item : hover : not ( . md - active ) { \ n color : PRIMARY - CONTRAST - 0.87 ; } \ n . THEME _NAME . md - bottom - bar . md - shift . md - bottom - bar - item . md - active , . THEME _NAME . md - bottom - bar . md - shift . md - bottom - bar - item . md - active { \ n color : PRIMARY - CONTRAST ; } \ n . THEME _NAME . md - bottom - bar . md - shift . md - accent , . THEME _NAME . md - bottom - bar . md - shift . md - accent { \ n background - color : ACCENT - COLOR ; } \ n . THEME _NAME . md - bottom - bar . md - shift . md - accent . md - bottom - bar - item , . THEME _NAME . md - bottom - bar . md - shift . md - accent . md - bottom - bar - item { \ n color : ACCENT - CONTRAST - 0.54 ; } \ n . THEME _NAME . md - bottom - bar . md - shift . md - accent . md - bottom - bar - item : hover : not ( . md - active ) , . THEME _NAME . md - bottom - bar . md - shift . md - accent . md - bottom - bar - item : hover : not ( . md - active ) { \ n color : ACCENT - CONTRAST - 0.87 ; } \ n . THEME _NAME . md - bottom - bar . md - shift . md - accent . md - bottom - bar - item . md - active , . THEME _NAME . md - bottom - bar . md - shift . md - accent . md - bottom - bar - item . md - active { \ n color : ACCENT - CONTRAST ; } \ n . THEME _NAME . md - bottom - bar . md - shift . md - warn , . THEME _NAME . md - bottom - bar . md - shift . md - warn { \ n background - color : WARN - COLOR ; } \ n . THEME _NAME . md - bottom - bar . md - shift . md - warn . md - bottom - bar - item , . THEME _NAME . md - bottom - bar . md - shift . md - warn . md - bottom - bar - item { \ n color : WARN - CONTRAST - 0.54 ; } \ n . THEME _NAME . md - bottom - bar . md - shift . md - warn . md - bottom - bar - item : hover : not ( . md - active ) , . THEME _NAME . md - bottom - bar . md - shift . md - warn . md - bottom - bar - item : hover : not ( . md - active ) { \ n color : WARN - CONTRAST - 0.87 ; } \ n . THEME _NAME . md - bottom - bar . md - shift . md - warn . md - bottom - bar - item . md - active , . THEME _NAME . md - bottom - bar . md - shift . md - warn . md - bottom - bar - item . md - active { \ n color : WARN - CONTRAST ; } \ n . THEME _NAME . md - bottom - bar . md - shift . md - transparent , . THEME _NAME . md - bottom - bar . md - shift . md - transparent { \ n background - color : transparent ; } \ n . THEME _NAME . md - bottom - bar . md - shift . md - transparent . md - bottom - bar - item , . THEME _NAME . md - bottom - bar . md - shift . md - transparent . md - bottom - bar - item { \ n color : BACKGROUND - CONTRAST - 0.54 ; } \ n . THEME _NAME . md - bottom - bar . md - shift . md - transparent . md - bottom - bar - item : hover : not ( . md - active ) , . THEME _NAME . md - bottom - bar . md - shift . md - transparent . md - bottom - bar - item : hover : not ( . md - active ) { \ n color : BACKGROUND - CONTRAST - 0.87 ; } \ n . THEME _NAME . md - bottom - bar . md - shift . md - transparent . md - bottom - bar - item . md - active , . THEME _NAME . md - bottom - bar . md - shift . md - transparent . md - bottom - bar - item . md - active { \ n
2016-11-21 03:39:30 +00:00
/***/ }
/******/ ] )
} ) ;
;
//# sourceMappingURL=index.debug.js.map