import{d as i,a as t}from"./dataSchema-VwIQYPJL.js";import{l as e}from"./locale-wDcg0qDg.js";const a={docLink:"https://docs.mia-platform.eu/docs/microfrontend-composer/back-kit/components/file_picker_modal/components/data_manipulation#bk-file-picker-modal",label:"File Picker Modal",description:"Modal containing a drag-and-drop area to handle file uploads/downloads",type:"layout",definitions:{...i,dataSchema:t},properties:{rootElementSelector:{type:"string",__mia_configuration:{attribute:!0,label:"Container selector",description:"Selector to specify where the modal should be appended",priority:"high"}},width:{type:"number",default:500,__mia_configuration:{label:"Width",attribute:!0,priority:"high"}},dataSchema:{$ref:"#/definitions/dataSchema",__mia_configuration:{label:"Data Schema","shared-key":"back-kit/data-schema",priority:"high"}},previewUploadedFiles:{oneOf:[{type:"boolean",default:!1,__mia_configuration:{label:"Preview Uploaded Files",description:"Allows to preview and select uploaded files",attribute:!1}},{type:"string",default:"none",enum:["fetch","preview","none"],__mia_configuration:{label:"Preview Uploaded Files",description:"Allows to preview and select uploaded files",attribute:!1}}],__mia_configuration:{label:"Preview uploaded files",priority:"high"}},customLocale:{__mia_configuration:{attribute:!1,label:"Custom Locale",description:"Custom localized texts shown as component labels",priority:"low"},type:"object",properties:{formTitle:e("Form Title"),filePickerTitle:e("File Picker Title"),ctaLabel:e("CTA Title"),filePicker:{type:"object",__mia_configuration:{label:"File Picker"},properties:{dragAndDropCaption:e("Drag And Drop Caption"),removeFile:e("Remove File"),checkboxCaption:e("Checkbox Caption"),metaDataTitle:e("Metadata Title"),preview:{type:"object",__mia_configuration:{label:"Preview"},properties:{openFile:e("Open File"),brokenFile:e("Broken File Hint"),absentFile:e("Absent File Hint"),loadMore:e("Load More")}},previewDrawer:{type:"object",__mia_configuration:{label:"Preview Drawer"},properties:{dateFormat:e("Date Format"),closeTitle:e("Close Title"),metaDataTitle:e("CTA TimetaDataTitle"),brokenFile:e("Broken File Hint"),absentFile:e("Absent File Hint"),downloadCta:e("Download CTA")}}}}}}}};var r=a;export{r as default};
