2017-06-19 16:25:45 +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 ] = {
/******/ i : moduleId ,
/******/ l : false ,
/******/ exports : { }
/******/ } ;
/******/ // Execute the module function
/******/ modules [ moduleId ] . call ( module . exports , module , module . exports , _ _webpack _require _ _ ) ;
/******/ // Flag the module as loaded
/******/ module . l = 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 ;
/******/ // identity function for calling harmony imports with the correct context
/******/ _ _webpack _require _ _ . i = function ( value ) { return value ; } ;
/******/ // define getter function for harmony exports
/******/ _ _webpack _require _ _ . d = function ( exports , name , getter ) {
/******/ if ( ! _ _webpack _require _ _ . o ( exports , name ) ) {
/******/ Object . defineProperty ( exports , name , {
/******/ configurable : false ,
/******/ enumerable : true ,
/******/ get : getter
/******/ } ) ;
/******/ }
/******/ } ;
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ _ _webpack _require _ _ . n = function ( module ) {
/******/ var getter = module && module . _ _esModule ?
/******/ function getDefault ( ) { return module [ 'default' ] ; } :
/******/ function getModuleExports ( ) { return module ; } ;
/******/ _ _webpack _require _ _ . d ( getter , 'a' , getter ) ;
/******/ return getter ;
/******/ } ;
/******/ // Object.prototype.hasOwnProperty.call
/******/ _ _webpack _require _ _ . o = function ( object , property ) { return Object . prototype . hasOwnProperty . call ( object , property ) ; } ;
/******/ // __webpack_public_path__
/******/ _ _webpack _require _ _ . p = "/" ;
/******/ // Load entry module and return exports
2017-06-19 16:27:45 +00:00
/******/ return _ _webpack _require _ _ ( _ _webpack _require _ _ . s = 455 ) ;
2017-06-19 16:25:45 +00:00
/******/ } )
/************************************************************************/
/******/ ( {
/***/ 0 :
/***/ ( function ( module , exports ) {
2017-06-19 16:27:45 +00:00
/* globals __VUE_SSR_CONTEXT__ */
// this module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle
2017-06-19 16:25:45 +00:00
module . exports = function normalizeComponent (
rawScriptExports ,
compiledTemplate ,
2017-06-19 16:27:45 +00:00
injectStyles ,
2017-06-19 16:25:45 +00:00
scopeId ,
2017-06-19 16:27:45 +00:00
moduleIdentifier /* server only */
2017-06-19 16:25:45 +00:00
) {
var esModule
var scriptExports = rawScriptExports = rawScriptExports || { }
// ES6 modules interop
var type = typeof rawScriptExports . default
if ( type === 'object' || type === 'function' ) {
esModule = rawScriptExports
scriptExports = rawScriptExports . default
}
// Vue.extend constructor export interop
var options = typeof scriptExports === 'function'
? scriptExports . options
: scriptExports
// render functions
if ( compiledTemplate ) {
options . render = compiledTemplate . render
options . staticRenderFns = compiledTemplate . staticRenderFns
}
// scopedId
if ( scopeId ) {
options . _scopeId = scopeId
}
2017-06-19 16:27:45 +00:00
var hook
if ( moduleIdentifier ) { // server build
hook = function ( context ) {
// 2.3 injection
context =
context || // cached call
( this . $vnode && this . $vnode . ssrContext ) || // stateful
( this . parent && this . parent . $vnode && this . parent . $vnode . ssrContext ) // functional
// 2.2 with runInNewContext: true
if ( ! context && typeof _ _VUE _SSR _CONTEXT _ _ !== 'undefined' ) {
context = _ _VUE _SSR _CONTEXT _ _
}
// inject component styles
if ( injectStyles ) {
injectStyles . call ( this , context )
}
// register component module identifier for async chunk inferrence
if ( context && context . _registeredComponents ) {
context . _registeredComponents . add ( moduleIdentifier )
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options . _ssrRegister = hook
} else if ( injectStyles ) {
hook = injectStyles
}
if ( hook ) {
var functional = options . functional
var existing = functional
? options . render
: options . beforeCreate
if ( ! functional ) {
// inject component registration as beforeCreate hook
options . beforeCreate = existing
? [ ] . concat ( existing , hook )
: [ hook ]
} else {
// register for functioal component in vue file
options . render = function renderWithStyleInjection ( h , context ) {
hook . call ( context )
return existing ( h , context )
}
}
2017-06-19 16:25:45 +00:00
}
return {
esModule : esModule ,
exports : scriptExports ,
options : options
}
}
/***/ } ) ,
/***/ 1 :
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
"use strict" ;
Object . defineProperty ( exports , "__esModule" , {
value : true
} ) ;
2017-06-19 16:27:45 +00:00
// Theme mixin
// Grab the closest ancestor component's `md-theme` attribute OR grab the
// `md-name` attribute from an `<md-theme>` component.
function getAncestorThemeName ( component ) {
if ( ! component ) {
return null ;
}
var name = component . mdTheme ;
if ( ! name && component . $options . _componentTag === 'md-theme' ) {
name = component . mdName ;
}
return name || getAncestorThemeName ( component . $parent ) ;
}
2017-06-19 16:25:45 +00:00
exports . default = {
props : {
mdTheme : String
} ,
computed : {
2017-06-19 16:27:45 +00:00
mdEffectiveTheme : function mdEffectiveTheme ( ) {
return getAncestorThemeName ( this ) || this . $material . currentTheme ;
} ,
2017-06-19 16:25:45 +00:00
themeClass : function themeClass ( ) {
2017-06-19 16:27:45 +00:00
return this . $material . prefix + this . mdEffectiveTheme ;
2017-06-19 16:25:45 +00:00
}
} ,
2017-06-19 16:27:45 +00:00
watch : {
mdTheme : function mdTheme ( value ) {
this . $material . useTheme ( value ) ;
2017-06-19 16:25:45 +00:00
}
2017-06-19 16:27:45 +00:00
} ,
beforeMount : function beforeMount ( ) {
var localTheme = this . mdTheme ;
this . $material . useTheme ( localTheme ? localTheme : 'default' ) ;
2017-06-19 16:25:45 +00:00
}
} ;
module . exports = exports [ 'default' ] ;
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 145 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
"use strict" ;
Object . defineProperty ( exports , "__esModule" , {
value : true
} ) ;
var _mixin = _ _webpack _require _ _ ( 1 ) ;
var _mixin2 = _interopRequireDefault ( _mixin ) ;
2017-06-19 16:27:45 +00:00
var _transitionEndEventName = _ _webpack _require _ _ ( 41 ) ;
2017-06-19 16:25:45 +00:00
var _transitionEndEventName2 = _interopRequireDefault ( _transitionEndEventName ) ;
function _interopRequireDefault ( obj ) { return obj && obj . _ _esModule ? obj : { default : obj } ; }
//
//
//
//
//
//
//
//
//
//
//
//
exports . default = {
2017-06-19 16:27:45 +00:00
name : 'md-dialog' ,
2017-06-19 16:25:45 +00:00
props : {
mdClickOutsideToClose : {
type : Boolean ,
default : true
} ,
mdEscToClose : {
type : Boolean ,
default : true
} ,
mdBackdrop : {
type : Boolean ,
default : true
} ,
mdOpenFrom : String ,
mdCloseTo : String ,
mdFullscreen : {
type : Boolean ,
default : false
}
} ,
mixins : [ _mixin2 . default ] ,
data : function data ( ) {
return {
active : false ,
transitionOff : false ,
dialogTransform : ''
} ;
} ,
computed : {
classes : function classes ( ) {
return {
'md-active' : this . active
} ;
} ,
dialogClasses : function dialogClasses ( ) {
return {
'md-fullscreen' : this . mdFullscreen ,
'md-transition-off' : this . transitionOff ,
'md-reference' : this . mdOpenFrom || this . mdCloseTo
} ;
} ,
styles : function styles ( ) {
return {
transform : this . dialogTransform
} ;
}
} ,
methods : {
removeDialog : function removeDialog ( ) {
if ( document . body . contains ( this . dialogElement ) ) {
this . $el . parentNode . removeChild ( this . $el ) ;
}
} ,
calculateDialogPos : function calculateDialogPos ( ref ) {
var reference = document . querySelector ( ref ) ;
if ( reference ) {
var openFromRect = reference . getBoundingClientRect ( ) ;
var dialogRect = this . dialogInnerElement . getBoundingClientRect ( ) ;
var widthInScale = openFromRect . width / dialogRect . width ;
var heightInScale = openFromRect . height / dialogRect . height ;
var distance = {
top : - ( dialogRect . top - openFromRect . top ) ,
left : - ( dialogRect . left - openFromRect . left + openFromRect . width )
} ;
if ( openFromRect . top > dialogRect . top + dialogRect . height ) {
distance . top = openFromRect . top - dialogRect . top ;
}
if ( openFromRect . left > dialogRect . left + dialogRect . width ) {
distance . left = openFromRect . left - dialogRect . left - openFromRect . width ;
}
this . dialogTransform = 'translate3D(' + distance . left + 'px, ' + distance . top + 'px, 0) scale(' + widthInScale + ', ' + heightInScale + ')' ;
}
} ,
open : function open ( ) {
var _this = this ;
document . body . appendChild ( this . dialogElement ) ;
this . transitionOff = true ;
this . calculateDialogPos ( this . mdOpenFrom ) ;
window . setTimeout ( ( function ( ) {
_this . dialogElement . focus ( ) ;
_this . transitionOff = false ;
_this . active = true ;
} ) ) ;
this . $emit ( 'open' ) ;
} ,
closeOnEsc : function closeOnEsc ( ) {
if ( this . mdEscToClose ) {
this . close ( ) ;
}
} ,
close : function close ( ) {
var _this2 = this ;
if ( document . body . contains ( this . dialogElement ) ) {
this . $nextTick ( ( function ( ) {
var cleanElement = function cleanElement ( ) {
var activeRipple = _this2 . dialogElement . querySelector ( '.md-ripple.md-active' ) ;
if ( activeRipple ) {
activeRipple . classList . remove ( 'md-active' ) ;
}
_this2 . dialogInnerElement . removeEventListener ( _transitionEndEventName2 . default , cleanElement ) ;
document . body . removeChild ( _this2 . dialogElement ) ;
_this2 . dialogTransform = '' ;
} ;
_this2 . transitionOff = true ;
_this2 . dialogTransform = '' ;
_this2 . calculateDialogPos ( _this2 . mdCloseTo ) ;
window . setTimeout ( ( function ( ) {
_this2 . transitionOff = false ;
_this2 . active = false ;
_this2 . dialogInnerElement . addEventListener ( _transitionEndEventName2 . default , cleanElement ) ;
} ) ) ;
_this2 . $emit ( 'close' ) ;
} ) ) ;
}
}
} ,
mounted : function mounted ( ) {
var _this3 = this ;
this . $nextTick ( ( function ( ) {
_this3 . dialogElement = _this3 . $el ;
_this3 . dialogInnerElement = _this3 . $refs . dialog ;
_this3 . removeDialog ( ) ;
} ) ) ;
} ,
beforeDestroy : function beforeDestroy ( ) {
this . removeDialog ( ) ;
}
} ;
module . exports = exports [ 'default' ] ;
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 146 :
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
"use strict" ;
Object . defineProperty ( exports , "__esModule" , {
value : true
} ) ;
//
//
//
//
//
//
exports . default = {
name : 'md-dialog-actions'
} ;
module . exports = exports [ 'default' ] ;
/***/ } ) ,
2017-06-19 16:25:45 +00:00
/***/ 147 :
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
"use strict" ;
2017-06-19 16:27:45 +00:00
Object . defineProperty ( exports , "__esModule" , {
value : true
} ) ;
//
//
//
//
//
//
exports . default = {
name : 'md-dialog-content'
} ;
module . exports = exports [ 'default' ] ;
/***/ } ) ,
/***/ 148 :
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
"use strict" ;
Object . defineProperty ( exports , "__esModule" , {
value : true
} ) ;
//
//
//
//
//
//
exports . default = {
name : 'md-dialog-title'
} ;
module . exports = exports [ 'default' ] ;
/***/ } ) ,
/***/ 149 :
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
"use strict" ;
2017-06-19 16:25:45 +00:00
Object . defineProperty ( exports , "__esModule" , {
value : true
} ) ;
//
//
//
//
//
//
//
//
//
//
//
//
//
exports . default = {
2017-06-19 16:27:45 +00:00
name : 'md-dialog-alert' ,
2017-06-19 16:25:45 +00:00
props : {
mdTitle : String ,
mdContent : String ,
mdContentHtml : String ,
mdOkText : {
type : String ,
default : 'Ok'
}
} ,
data : function data ( ) {
return {
debounce : false
} ;
} ,
methods : {
fireCloseEvent : function fireCloseEvent ( ) {
if ( ! this . debounce ) {
this . $emit ( 'close' ) ;
}
} ,
open : function open ( ) {
this . $emit ( 'open' ) ;
this . debounce = false ;
this . $refs . dialog . open ( ) ;
} ,
close : function close ( ) {
this . fireCloseEvent ( ) ;
this . debounce = true ;
this . $refs . dialog . close ( ) ;
}
} ,
mounted : function mounted ( ) {
if ( ! this . mdContent && ! this . mdContentHtml ) {
throw new Error ( 'Missing md-content or md-content-html attributes' ) ;
}
}
} ;
module . exports = exports [ 'default' ] ;
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 150 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
"use strict" ;
Object . defineProperty ( exports , "__esModule" , {
value : true
} ) ;
//
//
//
//
//
//
//
//
//
//
//
//
//
//
exports . default = {
2017-06-19 16:27:45 +00:00
name : 'md-dialog-confirm' ,
2017-06-19 16:25:45 +00:00
props : {
mdTitle : String ,
mdContent : String ,
mdContentHtml : String ,
mdOkText : {
type : String ,
default : 'Ok'
} ,
mdCancelText : {
type : String ,
default : 'Cancel'
}
} ,
data : function data ( ) {
return {
debounce : false
} ;
} ,
methods : {
fireCloseEvent : function fireCloseEvent ( type ) {
if ( ! this . debounce ) {
this . $emit ( 'close' , type ) ;
}
} ,
open : function open ( ) {
this . $emit ( 'open' ) ;
this . debounce = false ;
this . $refs . dialog . open ( ) ;
} ,
close : function close ( type ) {
this . fireCloseEvent ( type ) ;
this . debounce = true ;
this . $refs . dialog . close ( ) ;
}
} ,
mounted : function mounted ( ) {
if ( ! this . mdContent && ! this . mdContentHtml ) {
throw new Error ( 'Missing md-content or md-content-html attributes' ) ;
}
}
} ;
module . exports = exports [ 'default' ] ;
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 151 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
"use strict" ;
Object . defineProperty ( exports , "__esModule" , {
value : true
} ) ;
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
exports . default = {
2017-06-19 16:27:45 +00:00
name : 'md-dialog-prompt' ,
2017-06-19 16:25:45 +00:00
props : {
value : {
type : [ String , Number ] ,
required : true
} ,
mdTitle : String ,
mdContent : String ,
mdContentHtml : String ,
mdOkText : {
type : String ,
default : 'Ok'
} ,
mdCancelText : {
type : String ,
default : 'Cancel'
} ,
mdInputId : String ,
mdInputName : String ,
mdInputMaxlength : [ String , Number ] ,
mdInputPlaceholder : String
} ,
data : function data ( ) {
return {
debounce : false
} ;
} ,
methods : {
fireCloseEvent : function fireCloseEvent ( type ) {
if ( ! this . debounce ) {
this . $emit ( 'close' , type ) ;
}
} ,
open : function open ( ) {
var _this = this ;
this . $emit ( 'open' ) ;
this . debounce = false ;
this . $refs . dialog . open ( ) ;
window . setTimeout ( ( function ( ) {
_this . $refs . input . $el . focus ( ) ;
} ) ) ;
} ,
close : function close ( type ) {
this . fireCloseEvent ( type ) ;
this . debounce = true ;
this . $refs . dialog . close ( ) ;
} ,
confirmValue : function confirmValue ( ) {
this . $emit ( 'input' , this . $refs . input . $el . value ) ;
this . close ( 'ok' ) ;
}
}
} ;
module . exports = exports [ 'default' ] ;
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 239 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports ) {
// removed by extract-text-webpack-plugin
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 273 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports ) {
module . exports = ".THEME_NAME.md-dialog-container .md-dialog {\n background-color: BACKGROUND-COLOR;\n color: BACKGROUND-CONTRAST; }\n"
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 315 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
2017-06-19 16:27:45 +00:00
var disposed = false
function injectStyle ( ssrContext ) {
if ( disposed ) return
_ _webpack _require _ _ ( 239 )
}
2017-06-19 16:25:45 +00:00
var Component = _ _webpack _require _ _ ( 0 ) (
/* script */
2017-06-19 16:27:45 +00:00
_ _webpack _require _ _ ( 145 ) ,
2017-06-19 16:25:45 +00:00
/* template */
2017-06-19 16:27:45 +00:00
_ _webpack _require _ _ ( 399 ) ,
/* styles */
injectStyle ,
2017-06-19 16:25:45 +00:00
/* scopeId */
null ,
2017-06-19 16:27:45 +00:00
/* moduleIdentifier (server only) */
2017-06-19 16:25:45 +00:00
null
)
2017-06-19 16:27:45 +00:00
Component . options . _ _file = "/Users/pablohpsilva/Code/vue-material/src/components/mdDialog/mdDialog.vue"
if ( Component . esModule && Object . keys ( Component . esModule ) . some ( ( function ( key ) { return key !== "default" && key . substr ( 0 , 2 ) !== "__" } ) ) ) { console . error ( "named exports are not supported in *.vue files." ) }
2017-06-19 16:25:45 +00:00
if ( Component . options . functional ) { console . error ( "[vue-loader] mdDialog.vue: functional components are not supported with templates, they should use render functions." ) }
/* 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 ) {
hotAPI . createRecord ( "data-v-341e9664" , Component . options )
} else {
hotAPI . reload ( "data-v-341e9664" , Component . options )
}
2017-06-19 16:27:45 +00:00
module . hot . dispose ( ( function ( data ) {
disposed = true
} ) )
2017-06-19 16:25:45 +00:00
} ) ( ) }
module . exports = Component . exports
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 316 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
2017-06-19 16:27:45 +00:00
var disposed = false
2017-06-19 16:25:45 +00:00
var Component = _ _webpack _require _ _ ( 0 ) (
/* script */
2017-06-19 16:27:45 +00:00
_ _webpack _require _ _ ( 146 ) ,
2017-06-19 16:25:45 +00:00
/* template */
2017-06-19 16:27:45 +00:00
_ _webpack _require _ _ ( 434 ) ,
/* styles */
null ,
2017-06-19 16:25:45 +00:00
/* scopeId */
null ,
2017-06-19 16:27:45 +00:00
/* moduleIdentifier (server only) */
2017-06-19 16:25:45 +00:00
null
)
2017-06-19 16:27:45 +00:00
Component . options . _ _file = "/Users/pablohpsilva/Code/vue-material/src/components/mdDialog/mdDialogActions.vue"
if ( Component . esModule && Object . keys ( Component . esModule ) . some ( ( function ( key ) { return key !== "default" && key . substr ( 0 , 2 ) !== "__" } ) ) ) { console . error ( "named exports are not supported in *.vue files." ) }
2017-06-19 16:25:45 +00:00
if ( Component . options . functional ) { console . error ( "[vue-loader] mdDialogActions.vue: functional components are not supported with templates, they should use render functions." ) }
/* 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 ) {
hotAPI . createRecord ( "data-v-89c748ae" , Component . options )
} else {
hotAPI . reload ( "data-v-89c748ae" , Component . options )
}
2017-06-19 16:27:45 +00:00
module . hot . dispose ( ( function ( data ) {
disposed = true
} ) )
2017-06-19 16:25:45 +00:00
} ) ( ) }
module . exports = Component . exports
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 317 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
2017-06-19 16:27:45 +00:00
var disposed = false
2017-06-19 16:25:45 +00:00
var Component = _ _webpack _require _ _ ( 0 ) (
/* script */
2017-06-19 16:27:45 +00:00
_ _webpack _require _ _ ( 147 ) ,
2017-06-19 16:25:45 +00:00
/* template */
2017-06-19 16:27:45 +00:00
_ _webpack _require _ _ ( 404 ) ,
/* styles */
null ,
2017-06-19 16:25:45 +00:00
/* scopeId */
null ,
2017-06-19 16:27:45 +00:00
/* moduleIdentifier (server only) */
2017-06-19 16:25:45 +00:00
null
)
2017-06-19 16:27:45 +00:00
Component . options . _ _file = "/Users/pablohpsilva/Code/vue-material/src/components/mdDialog/mdDialogContent.vue"
if ( Component . esModule && Object . keys ( Component . esModule ) . some ( ( function ( key ) { return key !== "default" && key . substr ( 0 , 2 ) !== "__" } ) ) ) { console . error ( "named exports are not supported in *.vue files." ) }
2017-06-19 16:25:45 +00:00
if ( Component . options . functional ) { console . error ( "[vue-loader] mdDialogContent.vue: functional components are not supported with templates, they should use render functions." ) }
/* 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 ) {
hotAPI . createRecord ( "data-v-44792925" , Component . options )
} else {
hotAPI . reload ( "data-v-44792925" , Component . options )
}
2017-06-19 16:27:45 +00:00
module . hot . dispose ( ( function ( data ) {
disposed = true
} ) )
2017-06-19 16:25:45 +00:00
} ) ( ) }
module . exports = Component . exports
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 318 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
2017-06-19 16:27:45 +00:00
var disposed = false
2017-06-19 16:25:45 +00:00
var Component = _ _webpack _require _ _ ( 0 ) (
/* script */
2017-06-19 16:27:45 +00:00
_ _webpack _require _ _ ( 148 ) ,
2017-06-19 16:25:45 +00:00
/* template */
2017-06-19 16:27:45 +00:00
_ _webpack _require _ _ ( 397 ) ,
/* styles */
null ,
2017-06-19 16:25:45 +00:00
/* scopeId */
null ,
2017-06-19 16:27:45 +00:00
/* moduleIdentifier (server only) */
2017-06-19 16:25:45 +00:00
null
)
2017-06-19 16:27:45 +00:00
Component . options . _ _file = "/Users/pablohpsilva/Code/vue-material/src/components/mdDialog/mdDialogTitle.vue"
if ( Component . esModule && Object . keys ( Component . esModule ) . some ( ( function ( key ) { return key !== "default" && key . substr ( 0 , 2 ) !== "__" } ) ) ) { console . error ( "named exports are not supported in *.vue files." ) }
2017-06-19 16:25:45 +00:00
if ( Component . options . functional ) { console . error ( "[vue-loader] mdDialogTitle.vue: functional components are not supported with templates, they should use render functions." ) }
/* 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 ) {
hotAPI . createRecord ( "data-v-2ec2b6f8" , Component . options )
} else {
hotAPI . reload ( "data-v-2ec2b6f8" , Component . options )
}
2017-06-19 16:27:45 +00:00
module . hot . dispose ( ( function ( data ) {
disposed = true
} ) )
2017-06-19 16:25:45 +00:00
} ) ( ) }
module . exports = Component . exports
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 319 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
2017-06-19 16:27:45 +00:00
var disposed = false
2017-06-19 16:25:45 +00:00
var Component = _ _webpack _require _ _ ( 0 ) (
/* script */
2017-06-19 16:27:45 +00:00
_ _webpack _require _ _ ( 149 ) ,
2017-06-19 16:25:45 +00:00
/* template */
2017-06-19 16:27:45 +00:00
_ _webpack _require _ _ ( 419 ) ,
/* styles */
null ,
2017-06-19 16:25:45 +00:00
/* scopeId */
null ,
2017-06-19 16:27:45 +00:00
/* moduleIdentifier (server only) */
2017-06-19 16:25:45 +00:00
null
)
2017-06-19 16:27:45 +00:00
Component . options . _ _file = "/Users/pablohpsilva/Code/vue-material/src/components/mdDialog/presets/mdDialogAlert.vue"
if ( Component . esModule && Object . keys ( Component . esModule ) . some ( ( function ( key ) { return key !== "default" && key . substr ( 0 , 2 ) !== "__" } ) ) ) { console . error ( "named exports are not supported in *.vue files." ) }
2017-06-19 16:25:45 +00:00
if ( Component . options . functional ) { console . error ( "[vue-loader] mdDialogAlert.vue: functional components are not supported with templates, they should use render functions." ) }
/* 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 ) {
hotAPI . createRecord ( "data-v-5d32a2a6" , Component . options )
} else {
hotAPI . reload ( "data-v-5d32a2a6" , Component . options )
}
2017-06-19 16:27:45 +00:00
module . hot . dispose ( ( function ( data ) {
disposed = true
} ) )
2017-06-19 16:25:45 +00:00
} ) ( ) }
module . exports = Component . exports
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 320 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
2017-06-19 16:27:45 +00:00
var disposed = false
2017-06-19 16:25:45 +00:00
var Component = _ _webpack _require _ _ ( 0 ) (
/* script */
2017-06-19 16:27:45 +00:00
_ _webpack _require _ _ ( 150 ) ,
2017-06-19 16:25:45 +00:00
/* template */
2017-06-19 16:27:45 +00:00
_ _webpack _require _ _ ( 442 ) ,
/* styles */
null ,
2017-06-19 16:25:45 +00:00
/* scopeId */
null ,
2017-06-19 16:27:45 +00:00
/* moduleIdentifier (server only) */
2017-06-19 16:25:45 +00:00
null
)
2017-06-19 16:27:45 +00:00
Component . options . _ _file = "/Users/pablohpsilva/Code/vue-material/src/components/mdDialog/presets/mdDialogConfirm.vue"
if ( Component . esModule && Object . keys ( Component . esModule ) . some ( ( function ( key ) { return key !== "default" && key . substr ( 0 , 2 ) !== "__" } ) ) ) { console . error ( "named exports are not supported in *.vue files." ) }
2017-06-19 16:25:45 +00:00
if ( Component . options . functional ) { console . error ( "[vue-loader] mdDialogConfirm.vue: functional components are not supported with templates, they should use render functions." ) }
/* 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 ) {
hotAPI . createRecord ( "data-v-c309205e" , Component . options )
} else {
hotAPI . reload ( "data-v-c309205e" , Component . options )
}
2017-06-19 16:27:45 +00:00
module . hot . dispose ( ( function ( data ) {
disposed = true
} ) )
2017-06-19 16:25:45 +00:00
} ) ( ) }
module . exports = Component . exports
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 321 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
2017-06-19 16:27:45 +00:00
var disposed = false
2017-06-19 16:25:45 +00:00
var Component = _ _webpack _require _ _ ( 0 ) (
/* script */
2017-06-19 16:27:45 +00:00
_ _webpack _require _ _ ( 151 ) ,
2017-06-19 16:25:45 +00:00
/* template */
2017-06-19 16:27:45 +00:00
_ _webpack _require _ _ ( 395 ) ,
/* styles */
null ,
2017-06-19 16:25:45 +00:00
/* scopeId */
null ,
2017-06-19 16:27:45 +00:00
/* moduleIdentifier (server only) */
2017-06-19 16:25:45 +00:00
null
)
2017-06-19 16:27:45 +00:00
Component . options . _ _file = "/Users/pablohpsilva/Code/vue-material/src/components/mdDialog/presets/mdDialogPrompt.vue"
if ( Component . esModule && Object . keys ( Component . esModule ) . some ( ( function ( key ) { return key !== "default" && key . substr ( 0 , 2 ) !== "__" } ) ) ) { console . error ( "named exports are not supported in *.vue files." ) }
2017-06-19 16:25:45 +00:00
if ( Component . options . functional ) { console . error ( "[vue-loader] mdDialogPrompt.vue: functional components are not supported with templates, they should use render functions." ) }
/* 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 ) {
hotAPI . createRecord ( "data-v-288a5063" , Component . options )
} else {
hotAPI . reload ( "data-v-288a5063" , Component . options )
}
2017-06-19 16:27:45 +00:00
module . hot . dispose ( ( function ( data ) {
disposed = true
} ) )
2017-06-19 16:25:45 +00:00
} ) ( ) }
module . exports = Component . exports
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 395 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
module . exports = { render : function ( ) { var _vm = this ; var _h = _vm . $createElement ; var _c = _vm . _self . _c || _h ;
return _c ( 'md-dialog' , {
ref : "dialog" ,
staticClass : "md-dialog-prompt" ,
on : {
"close" : function ( $event ) {
_vm . fireCloseEvent ( 'cancel' )
}
}
} , [ ( _vm . mdTitle ) ? _c ( 'md-dialog-title' , [ _vm . _v ( _vm . _s ( _vm . mdTitle ) ) ] ) : _vm . _e ( ) , _vm . _v ( " " ) , ( _vm . mdContentHtml ) ? _c ( 'md-dialog-content' , {
domProps : {
"innerHTML" : _vm . _s ( _vm . mdContentHtml )
}
} ) : _vm . _e ( ) , _vm . _v ( " " ) , ( _vm . mdContent ) ? _c ( 'md-dialog-content' , [ _vm . _v ( _vm . _s ( _vm . mdContent ) ) ] ) : _vm . _e ( ) , _vm . _v ( " " ) , _c ( 'md-dialog-content' , [ _c ( 'md-input-container' , [ _c ( 'md-input' , {
ref : "input" ,
attrs : {
"id" : _vm . mdInputId ,
"name" : _vm . mdInputName ,
"maxlength" : _vm . mdInputMaxlength ,
"placeholder" : _vm . mdInputPlaceholder ,
"value" : _vm . value
} ,
nativeOn : {
"keydown" : function ( $event ) {
2017-06-19 16:27:45 +00:00
if ( ! ( 'button' in $event ) && _vm . _k ( $event . keyCode , "enter" , 13 ) ) { return null ; }
2017-06-19 16:25:45 +00:00
_vm . confirmValue ( $event )
}
}
} ) ] , 1 ) ] , 1 ) , _vm . _v ( " " ) , _c ( 'md-dialog-actions' , [ _c ( 'md-button' , {
staticClass : "md-primary" ,
2017-06-22 10:58:45 +00:00
on : {
2017-06-19 16:25:45 +00:00
"click" : function ( $event ) {
_vm . close ( 'cancel' )
}
}
} , [ _vm . _v ( _vm . _s ( _vm . mdCancelText ) ) ] ) , _vm . _v ( " " ) , _c ( 'md-button' , {
staticClass : "md-primary" ,
2017-06-22 10:58:45 +00:00
on : {
"click" : _vm . confirmValue
2017-06-19 16:25:45 +00:00
}
} , [ _vm . _v ( _vm . _s ( _vm . mdOkText ) ) ] ) ] , 1 ) ] , 1 )
} , staticRenderFns : [ ] }
module . exports . render . _withStripped = true
if ( false ) {
module . hot . accept ( )
if ( module . hot . data ) {
require ( "vue-hot-reload-api" ) . rerender ( "data-v-288a5063" , module . exports )
}
}
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 397 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
module . exports = { render : function ( ) { var _vm = this ; var _h = _vm . $createElement ; var _c = _vm . _self . _c || _h ;
return _c ( 'div' , {
staticClass : "md-dialog-title md-title"
} , [ _vm . _t ( "default" ) ] , 2 )
} , staticRenderFns : [ ] }
module . exports . render . _withStripped = true
if ( false ) {
module . hot . accept ( )
if ( module . hot . data ) {
require ( "vue-hot-reload-api" ) . rerender ( "data-v-2ec2b6f8" , module . exports )
}
}
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 399 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
module . exports = { render : function ( ) { var _vm = this ; var _h = _vm . $createElement ; var _c = _vm . _self . _c || _h ;
return _c ( 'div' , {
staticClass : "md-dialog-container" ,
class : [ _vm . themeClass , _vm . classes ] ,
attrs : {
"tabindex" : "0"
} ,
on : {
"keyup" : function ( $event ) {
2017-06-19 16:27:45 +00:00
if ( ! ( 'button' in $event ) && _vm . _k ( $event . keyCode , "esc" , 27 ) ) { return null ; }
2017-06-19 16:25:45 +00:00
$event . stopPropagation ( ) ;
_vm . closeOnEsc ( $event )
}
}
} , [ _c ( 'div' , {
ref : "dialog" ,
staticClass : "md-dialog" ,
class : _vm . dialogClasses ,
style : ( _vm . styles )
} , [ _vm . _t ( "default" ) ] , 2 ) , _vm . _v ( " " ) , ( _vm . mdBackdrop ) ? _c ( 'md-backdrop' , {
ref : "backdrop" ,
staticClass : "md-dialog-backdrop" ,
class : _vm . classes ,
on : {
"close" : function ( $event ) {
_vm . mdClickOutsideToClose && _vm . close ( )
}
}
} ) : _vm . _e ( ) ] , 1 )
} , staticRenderFns : [ ] }
module . exports . render . _withStripped = true
if ( false ) {
module . hot . accept ( )
if ( module . hot . data ) {
require ( "vue-hot-reload-api" ) . rerender ( "data-v-341e9664" , module . exports )
}
}
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 404 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
module . exports = { render : function ( ) { var _vm = this ; var _h = _vm . $createElement ; var _c = _vm . _self . _c || _h ;
return _c ( 'div' , {
staticClass : "md-dialog-content"
} , [ _vm . _t ( "default" ) ] , 2 )
} , staticRenderFns : [ ] }
module . exports . render . _withStripped = true
if ( false ) {
module . hot . accept ( )
if ( module . hot . data ) {
require ( "vue-hot-reload-api" ) . rerender ( "data-v-44792925" , module . exports )
}
}
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 41 :
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
"use strict" ;
Object . defineProperty ( exports , "__esModule" , {
value : true
} ) ;
function transitionEndEventName ( ) {
var el = document . createElement ( 'span' ) ;
var transitions = {
transition : 'transitionend' ,
OTransition : 'oTransitionEnd' ,
MozTransition : 'transitionend' ,
WebkitTransition : 'webkitTransitionEnd'
} ;
for ( var transition in transitions ) {
if ( el . style [ transition ] !== undefined ) {
return transitions [ transition ] ;
}
}
}
exports . default = transitionEndEventName ( ) ;
module . exports = exports [ 'default' ] ;
/***/ } ) ,
/***/ 419 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
module . exports = { render : function ( ) { var _vm = this ; var _h = _vm . $createElement ; var _c = _vm . _self . _c || _h ;
return _c ( 'md-dialog' , {
ref : "dialog" ,
staticClass : "md-dialog-alert" ,
on : {
"close" : function ( $event ) {
_vm . fireCloseEvent ( )
}
}
} , [ ( _vm . mdTitle ) ? _c ( 'md-dialog-title' , [ _vm . _v ( _vm . _s ( _vm . mdTitle ) ) ] ) : _vm . _e ( ) , _vm . _v ( " " ) , ( _vm . mdContentHtml ) ? _c ( 'md-dialog-content' , {
domProps : {
"innerHTML" : _vm . _s ( _vm . mdContentHtml )
}
} ) : _c ( 'md-dialog-content' , [ _vm . _v ( _vm . _s ( _vm . mdContent ) ) ] ) , _vm . _v ( " " ) , _c ( 'md-dialog-actions' , [ _c ( 'md-button' , {
staticClass : "md-primary" ,
2017-06-22 10:58:45 +00:00
on : {
2017-06-19 16:25:45 +00:00
"click" : function ( $event ) {
_vm . close ( )
}
}
} , [ _vm . _v ( _vm . _s ( _vm . mdOkText ) ) ] ) ] , 1 ) ] , 1 )
} , staticRenderFns : [ ] }
module . exports . render . _withStripped = true
if ( false ) {
module . hot . accept ( )
if ( module . hot . data ) {
require ( "vue-hot-reload-api" ) . rerender ( "data-v-5d32a2a6" , module . exports )
}
}
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 434 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
module . exports = { render : function ( ) { var _vm = this ; var _h = _vm . $createElement ; var _c = _vm . _self . _c || _h ;
return _c ( 'div' , {
staticClass : "md-dialog-actions"
} , [ _vm . _t ( "default" ) ] , 2 )
} , staticRenderFns : [ ] }
module . exports . render . _withStripped = true
if ( false ) {
module . hot . accept ( )
if ( module . hot . data ) {
require ( "vue-hot-reload-api" ) . rerender ( "data-v-89c748ae" , module . exports )
}
}
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 442 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
module . exports = { render : function ( ) { var _vm = this ; var _h = _vm . $createElement ; var _c = _vm . _self . _c || _h ;
return _c ( 'md-dialog' , {
ref : "dialog" ,
staticClass : "md-dialog-confirm" ,
on : {
"close" : function ( $event ) {
_vm . fireCloseEvent ( 'cancel' )
}
}
} , [ ( _vm . mdTitle ) ? _c ( 'md-dialog-title' , [ _vm . _v ( _vm . _s ( _vm . mdTitle ) ) ] ) : _vm . _e ( ) , _vm . _v ( " " ) , ( _vm . mdContentHtml ) ? _c ( 'md-dialog-content' , {
domProps : {
"innerHTML" : _vm . _s ( _vm . mdContentHtml )
}
} ) : _c ( 'md-dialog-content' , [ _vm . _v ( _vm . _s ( _vm . mdContent ) ) ] ) , _vm . _v ( " " ) , _c ( 'md-dialog-actions' , [ _c ( 'md-button' , {
staticClass : "md-primary" ,
2017-06-22 10:58:45 +00:00
on : {
2017-06-19 16:25:45 +00:00
"click" : function ( $event ) {
_vm . close ( 'cancel' )
}
}
} , [ _vm . _v ( _vm . _s ( _vm . mdCancelText ) ) ] ) , _vm . _v ( " " ) , _c ( 'md-button' , {
staticClass : "md-primary" ,
2017-06-22 10:58:45 +00:00
on : {
2017-06-19 16:25:45 +00:00
"click" : function ( $event ) {
_vm . close ( 'ok' )
}
}
} , [ _vm . _v ( _vm . _s ( _vm . mdOkText ) ) ] ) ] , 1 ) ] , 1 )
} , staticRenderFns : [ ] }
module . exports . render . _withStripped = true
if ( false ) {
module . hot . accept ( )
if ( module . hot . data ) {
require ( "vue-hot-reload-api" ) . rerender ( "data-v-c309205e" , module . exports )
}
}
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 455 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
2017-06-19 16:27:45 +00:00
module . exports = _ _webpack _require _ _ ( 88 ) ;
2017-06-19 16:25:45 +00:00
/***/ } ) ,
2017-06-19 16:27:45 +00:00
/***/ 88 :
2017-06-19 16:25:45 +00:00
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
"use strict" ;
Object . defineProperty ( exports , "__esModule" , {
value : true
} ) ;
exports . default = install ;
2017-06-19 16:27:45 +00:00
var _mdDialog = _ _webpack _require _ _ ( 315 ) ;
2017-06-19 16:25:45 +00:00
var _mdDialog2 = _interopRequireDefault ( _mdDialog ) ;
2017-06-19 16:27:45 +00:00
var _mdDialogTitle = _ _webpack _require _ _ ( 318 ) ;
2017-06-19 16:25:45 +00:00
var _mdDialogTitle2 = _interopRequireDefault ( _mdDialogTitle ) ;
2017-06-19 16:27:45 +00:00
var _mdDialogContent = _ _webpack _require _ _ ( 317 ) ;
2017-06-19 16:25:45 +00:00
var _mdDialogContent2 = _interopRequireDefault ( _mdDialogContent ) ;
2017-06-19 16:27:45 +00:00
var _mdDialogActions = _ _webpack _require _ _ ( 316 ) ;
2017-06-19 16:25:45 +00:00
var _mdDialogActions2 = _interopRequireDefault ( _mdDialogActions ) ;
2017-06-19 16:27:45 +00:00
var _mdDialogAlert = _ _webpack _require _ _ ( 319 ) ;
2017-06-19 16:25:45 +00:00
var _mdDialogAlert2 = _interopRequireDefault ( _mdDialogAlert ) ;
2017-06-19 16:27:45 +00:00
var _mdDialogConfirm = _ _webpack _require _ _ ( 320 ) ;
2017-06-19 16:25:45 +00:00
var _mdDialogConfirm2 = _interopRequireDefault ( _mdDialogConfirm ) ;
2017-06-19 16:27:45 +00:00
var _mdDialogPrompt = _ _webpack _require _ _ ( 321 ) ;
2017-06-19 16:25:45 +00:00
var _mdDialogPrompt2 = _interopRequireDefault ( _mdDialogPrompt ) ;
2017-06-19 16:27:45 +00:00
var _mdDialog3 = _ _webpack _require _ _ ( 273 ) ;
2017-06-19 16:25:45 +00:00
var _mdDialog4 = _interopRequireDefault ( _mdDialog3 ) ;
function _interopRequireDefault ( obj ) { return obj && obj . _ _esModule ? obj : { default : obj } ; }
function install ( Vue ) {
Vue . component ( 'md-dialog' , _mdDialog2 . default ) ;
Vue . component ( 'md-dialog-title' , _mdDialogTitle2 . default ) ;
Vue . component ( 'md-dialog-content' , _mdDialogContent2 . default ) ;
Vue . component ( 'md-dialog-actions' , _mdDialogActions2 . default ) ;
/* Presets */
Vue . component ( 'md-dialog-alert' , _mdDialogAlert2 . default ) ;
Vue . component ( 'md-dialog-confirm' , _mdDialogConfirm2 . default ) ;
Vue . component ( 'md-dialog-prompt' , _mdDialogPrompt2 . default ) ;
Vue . material . styles . push ( _mdDialog4 . default ) ;
}
module . exports = exports [ 'default' ] ;
/***/ } )
/******/ } ) ;
} ) ) ;