// 通用的属性
const floatPaneProps = {
  visible: Boolean,
  displayDirective: {
    type: String,
    default: 'show'
  },
  draggable: {
    type: Boolean,
    default: true
  },
  title: String,
  width: {
    type: [String, Number],
    default: 520
  },
  zIndex: {
    type: Number,
    default: 3000
  },
  defaultPosition: {
    type: Object,
    default() {
      return {
        bottom: '50px',
        right: '50px'
      };
    }
  },
  cachePosition: {
    type: String,
    default: 'local'
  },
  cachePositionKey: {
    type: String,
    default: 'float-pane'
  },
  getContainer: {
    type: Function
  },
  // 内容外层类名
  contentClass: String
};

export { floatPaneProps };
