text: var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
  
  require('../../../src/stylus/components/_bottom-sheets.styl');
  
  import VDialog from '../VDialog/VDialog';
  
  export default {
    name: 'v-bottom-sheet',
  
    props: {
      disabled: Boolean,
      fullWidth: Boolean,
      inset: Boolean,
      lazy: Boolean,
      maxWidth: {
        type: [String, Number],
        default: 'auto'
      },
      persistent: Boolean,
      value: null
    },
  
    render: function render(h) {
      var activator = h('template', {
        slot: 'activator'
      }, this.$slots.activator);
  
      var contentClass = ['bottom-sheet', this.inset ? 'bottom-sheet--inset' : ''].join(' ');
  
      return h(VDialog, {
        attrs: _extends({}, this.$props),
        on: _extends({}, this.$listeners),
        props: {
          contentClass: contentClass,
          transition: 'bottom-sheet-transition',
          value: this.value
        }
      }, [activator, this.$slots.default]);
    }
  };