;(function(){
(function (global, factory) {
  if (typeof define === "function" && define.amd) {
    define(['exports', '../_style/global.css', './style/mixed-key-board.css'], factory);
  } else if (typeof exports !== "undefined") {
    factory(exports, require('../_style/global.css'), require('./style/mixed-key-board.css'));
  } else {
    var mod = {
      exports: {}
    };
    factory(mod.exports, global.global, global.mixedKeyBoard);
    global.mixedKeyBoard = mod.exports;
  }
})(this, function (exports) {
  'use strict';

  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = {
    name: 'md-mixed-key-board',

    components: {},

    props: {
      mixedKeyboard: {
        type: Array,
        default: function _default() {
          return [];
        }
      }
    },

    data: function data() {
      return {};
    },


    methods: {
      $_onEnter: function $_onEnter(value) {
        this.$emit('enter', value);
      },
      $_onDelete: function $_onDelete() {
        this.$emit('delete');
      },
      $_onConfirm: function $_onConfirm() {
        this.$emit('confirm');
      }
    }
  };
});
})()
if (module.exports.__esModule) module.exports = module.exports.default
var __vue__options__ = (typeof module.exports === "function"? module.exports.options: module.exports)
__vue__options__.render = function render () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"md-mixed-key-board"},_vm._l((_vm.mixedKeyboard),function(item,index){return _c('div',{key:index,staticClass:"md-mixed-key-board-item",class:{disabled: item.disabled}},[(item.type)?[_c('div',{directives:[{name:"tap",rawName:"v-tap",value:({
          methods:
            item.type === 'delete' ? _vm.$_onDelete : _vm.$_onConfirm,
          disabled: item.disabled
        }),expression:"{\n          methods:\n            item.type === 'delete' ? $_onDelete : $_onConfirm,\n          disabled: item.disabled\n        }"}],class:item.type},[(item.type === 'confirm' && item.text)?_c('div',[_vm._v(_vm._s(item.text))]):_vm._e()])]:[_c('div',{directives:[{name:"tap",rawName:"v-tap",value:({
          methods: _vm.$_onEnter,
          disabled: item.disabled
        }),expression:"{\n          methods: $_onEnter,\n          disabled: item.disabled\n        }"}]},[_vm._v(_vm._s(item.value))])]],2)}),0)}
__vue__options__.staticRenderFns = []
