<template>
  <div>
    <el-form-item label-width="0">
      <el-divider class="custom-divider-margin-top">文件信息设置</el-divider>
    </el-form-item>
    <el-form-item :label="i18nt('隐藏所有文件信息')">
      <el-switch v-model="optionModel.hideFileInfo"></el-switch>
    </el-form-item>
    <el-form-item :label="i18nt('隐藏文件名')">
      <el-switch v-model="optionModel.hideFileName"></el-switch>
    </el-form-item>
    <el-form-item :label="i18nt('显示文件大小')">
      <el-switch v-model="optionModel.showFileSize"></el-switch>
    </el-form-item>
<!--    <el-form-item :label="i18nt('显示创建人')">
      <el-switch v-model="optionModel.showFileCreateBy"></el-switch>
    </el-form-item>-->
    <el-form-item :label="i18nt('显示创建时间')">
      <el-switch v-model="optionModel.showFileCreateDate"></el-switch>
    </el-form-item>
    <el-form-item :label="i18nt('缩略图大小')">
      <el-select v-model="optionModel.fileShowImageSize">
        <el-option :value="1" label="1"></el-option>
        <el-option :value="2" label="2"></el-option>
        <el-option :value="3" label="3"></el-option>
        <el-option :value="4" label="4"></el-option>
        <el-option :value="5" label="5"></el-option>
      </el-select>
    </el-form-item>
    <el-form-item :label="i18nt('隐藏删除按钮')">
      <el-switch v-model="optionModel.hideRemoveButton"></el-switch>
    </el-form-item>

  </div>
</template>

<script>
  import i18n from "../../../../../../components/xform/utils/i18n";

  export default {
    name: "field-vabUpload-editor",
    mixins: [i18n],
    props: {
      designer: Object,
      selectedWidget: Object,
      optionModel: Object,
    },
  }
</script>

<style scoped>

</style>
