{"version":3,"file":"PulseWidgets.mjs","sources":["../../src/components/PulseWidgets.tsx"],"sourcesContent":["import {\n  dispatchPulseLocationChangeEvent,\n  PulsePostMessageCallbackProps,\n} from \"@mxenabled/widget-post-message-definitions\"\n\nimport { Type, SsoUrlProps, WidgetConfigurationProps } from \"../sso\"\nimport { useWidgetRenderer, StylingProps } from \"./renderer\"\n\nexport type PulseWidgetProps = SsoUrlProps &\n  StylingProps &\n  WidgetConfigurationProps &\n  PulsePostMessageCallbackProps<string> &\n  JSX.IntrinsicAttributes\n\nexport function PulseWidget(props: PulseWidgetProps) {\n  return useWidgetRenderer(\n    { ...props, widgetType: Type.PulseWidget },\n    dispatchPulseLocationChangeEvent,\n  )\n}\n\nexport function MiniPulseCarouselWidget(props: PulseWidgetProps) {\n  return useWidgetRenderer(\n    { ...props, widgetType: Type.MiniPulseCarouselWidget },\n    dispatchPulseLocationChangeEvent,\n  )\n}\n"],"names":["PulseWidget","props","useWidgetRenderer","Type","dispatchPulseLocationChangeEvent","MiniPulseCarouselWidget"],"mappings":";;;;;AAcO,SAASA,EAAYC,GAAyB;AACnD,SAAOC;AAAA,IACL,EAAE,GAAGD,GAAO,YAAYE,EAAK,YAAA;AAAA,IAC7BC;AAAA,EAAA;AAEJ;AAEO,SAASC,EAAwBJ,GAAyB;AAC/D,SAAOC;AAAA,IACL,EAAE,GAAGD,GAAO,YAAYE,EAAK,wBAAA;AAAA,IAC7BC;AAAA,EAAA;AAEJ;"}