import{l as t}from"./locale-wDcg0qDg.js";const i={docLink:"https://docs.mia-platform.eu/docs/microfrontend-composer/back-kit/components/notifications",type:"layout",description:"Displays toast notifications about events happening on the EventBus according to the maps provided as props",label:"Notifications",definitions:{notification:{type:"object",additionalProperties:{type:"object",properties:{content:{title:"Content",description:"message of the notification",__mia_configuration:{"schema-hint":"localized-text"}},title:{title:"Title",description:"title of the notification",__mia_configuration:{"schema-hint":"localized-text"}},type:{title:"Type",type:"string",enum:["success","info","error","warning"],__mia_configuration:{enumLabels:{success:"Success",info:"Info",error:"Error",warning:"Warning"}}}}}}},properties:{customEventMap:{__mia_configuration:{attribute:!1,label:"Custom Events",description:"map containing the labels of any event that should be notified and the related `notificationProps`"},$ref:"#/definitions/notification"},successEventMap:{__mia_configuration:{priority:"high",attribute:!1,label:"Success Events",description:"map containing the labels of any event that triggered a `success` that should be notified with the related `notificationproperties`"},$ref:"#/definitions/notification"},errorEventMap:{__mia_configuration:{priority:"high",attribute:!1,label:"Error Events",description:"map containing the labels of any event that triggered a `error` that should be notified with the related `notificationproperties`"},$ref:"#/definitions/notification"},rootElementSelectors:{type:"string",__mia_configuration:{attribute:"root-element-selectors",label:"Container selector",description:"Selector to specify where the notification should be appended"}},duration:{type:"number",__mia_configuration:{attribute:!0,priority:"high",label:"Duration",description:"Lingering time for the notification in seconds"}},location:{__mia_configuration:{priority:"high",description:"Corner location where the notification should be displayed",label:"Location",enumLabels:{topRight:"Top Right",topLeft:"Top Left",bottomRight:"Bottom Right",bottomLeft:"Bottom Left"}},type:"string",default:"topRight",enum:["topRight","topLeft","bottomRight","bottomLeft"]},customLocale:{__mia_configuration:{attribute:!1,label:"Custom Locale",description:"Custom localized texts shown as component labels",priority:"low"},type:"object",properties:{infoTitle:t("Title Info Notification"),successTitle:t("Title Success Notification"),warningTitle:t("Title Warning Notification"),errorTitle:t("Title Error Notification")}}}};var o=i;export{o as default};
