import{a as e}from"./manifest-J9piKNZo.js";import{i as t}from"./manifest--hA2W8VB.js";const i={docLink:"https://docs.mia-platform.eu/docs/microfrontend-composer/back-kit/components/dropdown_button",definitions:{action:e},label:"Dropdown Button",properties:{label:{__mia_configuration:{label:"Label",description:"The label of the button","schema-hint":"localized-text",priority:"high"}},iconId:{type:"string",enum:t,__mia_configuration:{label:"Icon",description:"Defines which icon should be rendered into the button, if this property is not defined or doesn't match a provided icon, no icon will be rendered",priority:"medium",attribute:"icon-id"}},iconPlacement:{type:"string",enum:["default","left","right"],default:"default",__mia_configuration:{attribute:!0,label:"Icon placement",description:"Defines where icon should be rendered, either left or right. It defaults on left"}},type:{type:"string",enum:["primary","ghost","dashed","link","text","default"],default:"primary",__mia_configuration:{attribute:!0,label:"Type",description:"Chooses whether to render the button as a primary or secondary color regular button, a link, and so on..."}},shape:{type:"string",enum:["default","circle","round"],default:"round",__mia_configuration:{attribute:!0,label:"Shape",description:"Allows to choose a shaping of the button"}},listenToLoadingData:{type:"boolean",default:!1,__mia_configuration:{label:"Listen to loading data",description:"Configures the button to be loading when trigger by a `loading-data` event",attribute:"listen-to-loading-data"}},menuItems:{type:"array",default:[],__mia_configuration:{label:"Menu Items",description:"Menu items configuration",attribute:!1,arrayVisualization:{type:"table",configuration:{columns:["label"]}}},items:{type:"object",properties:{label:{__mia_configuration:{label:"Label",description:"Item label","schema-hint":"localized-text"}},action:{$ref:"#/definitions/action",__mia_configuration:{oneOfGuard:"type"}}}}}}};var a=i;export{a as default};
