import{formContainerManifest as e}from"./bk-form-container.manifest-GFnwi9A2.js";import"./manifest-J9piKNZo.js";import"./dataSchema-VwIQYPJL.js";import"./locale-wDcg0qDg.js";import"./httpComponent-AiGk8DOD.js";import"./utils-TB-VQl6t.js";import"./index-Bn3NRnWw.js";import"./manifest--hA2W8VB.js";const i=`The Dynamic Form Drawer is used to display a drawer containing a form to edit or create items described by the dataSchema. Custom behavior can also specified, allowing extra actions to be included in the drawer footer via buttons.

The Dynamic Form Drawer listens to the add-new and selected-data events to become visible and initialize its form.
`,t=`Il Dynamic Form Drawer viene utilizzato per visualizzare un drawer contenente un form per modificare o creare gli elementi descritti dal dataSchema. È possibile specificare anche un comportamento personalizzato, che consente di includere azioni aggiuntive nel cassetto a piè di pagina tramite pulsanti.

Il Dynamic Form Drawer ascolta gli eventi add-new e selected-data per diventare visibile e inizializzare il form.
`,r={...e,docLink:"https://docs.mia-platform.eu/docs/microfrontend-composer/back-kit/components/dynamic_form_drawer#bk-dynamic-form-drawer",type:"layout",label:"Dynamic Form Drawer",description:"Drawer containing a Form to edit or create items described by the `dataSchema`",descriptionLong:{en:i,it:t},example:JSON.stringify({tag:"bk-dynamic-form-drawer",properties:{dataSchema:{type:"object",properties:{_id:{type:"string"}}},onSuccess:{type:"file-download",config:{url:"/latest-report"}},onFail:{insert:{type:"push",config:{url:"/insert-error-faq"}},select:{type:"push",config:{url:"/edit-error-faq"}}}}}),properties:{...e.properties,width:{type:"string",default:"500px",__mia_configuration:{priority:"high",label:"Width",attribute:!0}}}};var l=r;export{l as default};
