const e={docLink:"https://docs.mia-platform.eu/docs/microfrontend-composer/back-kit/components/tabs",type:"layout",description:"Provides a fixed set of filters rendered as tabs, possibly on top of a table",label:"Tabs",properties:{tabs:{default:[],type:"array",__mia_configuration:{attribute:!1,label:"Tabs",description:"Array with tabs configuration. For configuration ease, Tabs will be provided as an array by the user and remapped on startup to better fit the react component",priority:"high",arrayVisualization:{type:"table",configuration:{columns:["title"]}}},items:{type:"object",properties:{title:{__mia_configuration:{"schema-hint":"localized-text",label:"Title",description:"Tab label"}},filters:{__mia_configuration:{label:"Filters",description:"Filters joined in AND to bind to the current tab",arrayVisualization:{type:"table",configuration:{columns:["property","operator","value"]}}},type:"array",items:{type:"object",properties:{property:{type:"string",__mia_configuration:{label:"Property",description:"Field to be filtered"}},operator:{__mia_configuration:{label:"Operator",description:"Filter operation",enumLabels:{equal:"Equal",exists:"Exists",notEqual:"Not equal",greater:"Greater than",greaterEqual:"Greater than or equal",less:"Less",lessEqual:"Less equal",regex:"Regex",includeSome:"Include some",includeAll:"Include all",includeExactly:"Include exactly",notIncludeAny:"Not include any",between:"Between",notBetween:"Not between",hasLengthEqual:"Has length equal",hasLengthGreaterEqual:"Has length greater than or equal",hasLengthLessEqual:"Has length less than or equal"}},type:"string",enum:["equal","exists","notEqual","greater","greaterEqual","less","lessEqual","regex","includeSome","includeAll","includeExactly","notIncludeAny","between","notBetween","hasLengthEqual","hasLengthGreaterEqual","hasLengthLessEqual"]},value:{__mia_configuration:{label:"Value"},oneOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"array"},{type:"object",properties:{value:{oneOf:[{type:"string"},{type:"number"},{type:"array"}]}},required:["value"]},{type:"object",properties:{value:{type:"string"},offset:{type:"number"},operation:{type:"string",enum:["add","subtract"],unit:{type:"srting",enum:["w","d","D","M","y","h","m","s","ms","millisecond","second","minute","hour","day","week","month","year","milliseconds","seconds","minutes","hours","days","weeks","months","years"]}}},required:["value"]}]}}}},event:{__mia_configuration:{"schema-hint":"event",label:"Event",description:"Event to pipe instead of the default one when tab is clicked"},type:"object",properties:{label:{type:"string",__mia_configuration:{label:"Event"}},payload:{type:"object",default:{},__mia_configuration:{label:"Payload"}},meta:{type:"object",__mia_configuration:{label:"Meta"}}}},order:{type:"number",__mia_configuration:{label:"Order",description:"Positive integer to order tabs"}},key:{type:"string",__mia_configuration:{label:"Key",description:"String to scope the tab filter within the url"}}},required:["title","key"]}}}};var t=e;export{t as default};
