import{d as t,a as r}from"./dataSchema-VwIQYPJL.js";import{l as e,d as a}from"./locale-wDcg0qDg.js";import{h as i}from"./httpComponent-AiGk8DOD.js";const o=`The Filter Drawer allows to compile a filter and signal the need for it to be applied on top of the already applied filters. In particular, submitting the Filter Drawer injects the compiled filter into the payload of an add-filter event, which is listened by components such as the Filters Manger.

The Filter Drawer becomes visible whenever the request to provide support for applying filters is signaled. That is, whenever events filter or change-filter are received. The change-filter event allows to carry an object representation of a filter in its payload that is used by the Filter Drawer to initialize its fields.
`,l=`Il Filter Drawer consente di creare un filtro e segnala la necessità di applicarlo insieme ai filtri esistenti. Quando il Filter Drawer viene inviato, il filtro compilato viene aggiunto al payload di un evento add-filter, che viene rilevato da componenti come il Filters Manager.

Il Filter Drawer diventa visibile ogni volta che viene richiesta l'applicazione di filtri, ovvero quando vengono ricevuti gli eventi filter o change-filter. L'evento change-filter trasporta nel suo payload una rappresentazione a oggetti di un filtro, che il Filter Drawer utilizza per inizializzare i propri campi.
`,n={docLink:"https://docs.mia-platform.eu/docs/microfrontend-composer/back-kit/components/filter_drawer",type:"layout",label:"Filter Drawer",descriptionLong:{en:o,it:l},example:JSON.stringify({tag:"bk-filter-drawer",properties:{dataSchema:{type:"object",properties:{name:{type:"string"},price:{type:"number"}}}}}),definitions:{...t,dataSchema:r},properties:{dataSchema:{$ref:"#/definitions/dataSchema",__mia_configuration:{label:"Data Schema",priority:"high","shared-key":"back-kit/data-schema"}},width:{type:"string",__mia_configuration:{priority:"high",attribute:!0,label:"Width",description:"Width occupied by the component"}},liveSearchTimeout:{type:"number",default:5e3,__mia_configuration:{attribute:!1,label:"Live search timeout"}},liveSearchItemsLimit:{type:"number",default:10,__mia_configuration:{attribute:!1,label:"Live search items limit"}},rootElementSelector:{type:"string",__mia_configuration:{attribute:!0,label:"Container selector",description:"Selector to specify where the modal should be appended"}},editorHeight:{oneOf:[{type:"string"},{type:"number"}],__mia_configuration:{priority:"high",attribute:"editor-height",label:"Editor height",description:"height of object/array editor"}},customLocale:{__mia_configuration:{attribute:!1,label:"Custom Locale",description:"Custom localized texts shown as component labels",priority:"low"},type:"object",properties:{title:e("Title"),description:e("Description"),ctaLabel:e("CTA Label"),propertyPlaceholder:e("Property Placeholder"),operatorPlaceholder:e("Operator Placeholder"),valueInputPlaceholder:e("Value Input Placeholder"),valueSelectPlaceholder:e("Value Select Placeholder"),namePlaceholder:e("Name Placeholder"),propertyRequired:e("Required Property"),operatorRequired:e("Required Operator"),valueRequired:e("Required Value"),valueLabelMap:{type:"object",__mia_configuration:{label:"Value Label Map"},properties:{between:{__mia_configuration:{label:"Between"},type:"object",properties:{start:e("Start"),stop:e("Stop")}},notBetween:{type:"object",__mia_configuration:{label:"Not Between"},properties:{start:e("Start"),stop:e("Stop")}}}},validationMessages:{type:"object",__mia_configuration:{label:"Validation Messages"},properties:{array:e("Array"),file:e("File"),object:e("Object")}},operators:{type:"object",__mia_configuration:{label:"Operators"},properties:{equals:e("Operators"),exists:e("Exists Operator"),doesNotEqual:e("Does Not Equal Operator"),contains:e("Contains Operator"),startsWith:e("Starts With Operator"),endsWith:e("Ends With Operator"),before:e("Before Operator"),beforeOrEqual:e("Before Or Equal Operator"),on:e("On Operator"),notOn:e("Not On Operator"),after:e("After Operator"),afterOrEqual:e("After Or Equal Operator"),is:e("Is Operator"),isNot:e("Is Not Operator"),greater:e("Greater Operator"),greaterOrEqual:e("Greater Or Equal Operator"),less:e("Less Operator"),lessOrEqual:e("Less Or Equal Operator"),includesSome:e("Includes Some Operator"),includesAll:e("Includes All Operator"),includesExactly:e("Includes Exactly Operator"),doesNotInclude:e("Does Not Include Operator"),between:e("Between Operator"),notBetween:e("Not Between Operator"),hasLengthEqual:e("Has Length Equal Operator"),hasLengthGreaterEqual:e("Has Length Greater Equal Operator"),hasLengthLessEqual:e("Has Length Less Equal Operator")}},datePicker:a,dateFormat:{type:"object",__mia_configuration:{label:"Date Format"},properties:{date:e("Date"),"date-time":e("Date Time"),time:e("Time")}},true:e("True"),false:e("False")}},...i}};var d=n;export{d as default};
