const o=`The Antd Theme Manager is a logical web component (does not render) that can be included in applications layout to inject an Ant Design compatible theme. This component is analogous to mlc-antd-theme-manager component from micro-lc.

The web component calculates the CSS variables needed by Ant Design Dynamic Theme from a set of base colors (namely: primary, info, success, processing, error, and warning colors). These variables are then injected globally through micro-lc API setStyle method.
`,i=`L'Antd Theme Manager è un componente web logico (non renderizzato) che può essere incluso nel layout delle applicazioni per iniettare un tema compatibile con Ant Design. Questo componente è analogo al componente mlc-antd-theme-manager di micro-lc.

Il componente web calcola le variabili CSS necessarie all' Ant Design Dynamic Theme a partire da un insieme di colori di base (in particolare: colori primari, info, successo, elaborazione, errore e avviso). Queste variabili vengono poi iniettate globalmente attraverso il metodo setStyle delle API di micro-lc.
`,e={type:"object",properties:{path:{__mia_configuration:{label:"Path",description:"Path from which to retrieve data from themingUrl response"},type:"string"},default:{__mia_configuration:{label:"Default",description:"Data to use if unable to retrieve from themingUrl response"},type:"string"}}},t={docLink:"https://docs.mia-platform.eu/docs/microfrontend-composer/back-kit/components/antd_theme_manager",label:"Antd Theme Manager",description:"Takes default primary color and instucts micro-lc api apply css variables containing the ant theme variables used by the dynamic styling",descriptionLong:{en:o,it:i},example:JSON.stringify({tag:"bk-antd-theme-manager",properties:{themingUrl:"/theme-info",infoColor:"#F9C939",primaryColor:{path:"colors.primary"},successColor:{path:"colors.success"},processingColor:{path:"colors.processing"},warningColor:"#FAAD14",errorColor:{path:"colors.error",default:"#25B864"},fontFamily:{path:"font.paragraph",default:"Arial"}}}),type:"layout",properties:{themingUrl:{__mia_configuration:{label:"Theming Url",description:"Optional endpoint to call to initialize theming variables",attribute:"theming-url",priority:"medium"},type:"string"},primaryColor:{default:"#1890FF",oneOf:[{type:"string",__mia_configuration:{label:"Primary Color",priority:"high",attribute:"primary-color","schema-hint":"color"}},e]},errorColor:{default:"#FF4D4F",oneOf:[{type:"string",__mia_configuration:{label:"Error/Danger Color",priority:"high",attribute:"error-color","schema-hint":"color"}},e]},fontFamily:{default:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',  Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",oneOf:[{type:"string",__mia_configuration:{label:"Font Family",priority:"high",attribute:"font-family"}},e]},varsPrefix:{__mia_configuration:{oneOfDefault:0,label:"Variables Prefix",description:"Prefix to prepend to css variables, e.g., 'bk-web-components' uses 'back-kit'",attribute:!1},default:"micro-lc",oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]},nodes:{default:{},type:"object",__mia_configuration:{attribute:!1,priority:"low",label:"Additional CSS classes",description:`Plain JSON object which contains extra CSS classes to make available globally. Keys are global class selectors like '.centered' or 'div.centered' and values are CSS rules written as key/values pairs in a JSON object like '{"display": "flex"}'`},additionalProperties:{type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"number"}]}}},infoColor:{default:"#1890FF",oneOf:[{type:"string",__mia_configuration:{label:"Info Color",priority:"medium",attribute:"info-color","schema-hint":"color"}},e]},successColor:{default:"#52C41A",oneOf:[{type:"string",__mia_configuration:{label:"Success Color",priority:"medium",attribute:"success-color","schema-hint":"color"}},e]},processingColor:{default:"#1890FF",oneOf:[{type:"string",__mia_configuration:{label:"Processing Color",priority:"medium",attribute:"processing-color","schema-hint":"color"}},e]},warningColor:{default:"#FAAD14",oneOf:[{type:"string",__mia_configuration:{label:"Warning Color",priority:"medium",attribute:"warning-color","schema-hint":"color"}},e]}}};var a=t;export{a as default};
