const t={docLink:"https://docs.mia-platform.eu/docs/microfrontend-composer/back-kit/components/state_adapter",label:"State Adapter",description:"Allows to inject `window.history` state into the payload of arbitrary events. When landing onto a page, if `window.history.state` contains the key picked by the property `Initial key` then the content is reflected as events into the eventBus using the `Configuration map` as mapping",type:"adapter",properties:{debounce:{type:"number",default:500,__mia_configuration:{attribute:!0,label:"Debounce",description:"Delay for initial event emission",priority:"high"}},initKey:{type:"string",default:"__BK_INIT",__mia_configuration:{attribute:!0,label:"Initial key",description:"Key for events to emit once upon connection",priority:"high"}},configMap:{type:"object",additionalProperties:{type:"string"},__mia_configuration:{attribute:!1,label:"Configuration map",description:"Map to configure the adapter casting object properties to events labels",priority:"high"}}}};var e=t;export{e as default};
