{"version":3,"file":"row.cjs","names":["createLitComponent","RowApi","mapJustify","mapAlign","renderChildList"],"sources":["../../../../src/web-components/catalog/basic/row.ts"],"sourcesContent":["import { html } from \"lit\";\nimport { styleMap } from \"lit/directives/style-map.js\";\nimport { RowApi } from \"@a2ui/web_core/v0_9/basic_catalog\";\nimport { createLitComponent } from \"../../adapter\";\nimport { renderChildList } from \"../children\";\nimport { mapAlign, mapJustify } from \"./utils\";\n\nexport const Row = createLitComponent(\n  RowApi,\n  ({ props, buildChild }) => html`\n  <div\n    style=${styleMap({\n      display: \"flex\",\n      flexDirection: \"row\",\n      justifyContent: mapJustify(props.justify),\n      alignItems: mapAlign(props.align),\n      width: \"100%\",\n      margin: \"0\",\n      padding: \"0\",\n    })}\n  >\n    ${renderChildList(props.children, buildChild)}\n  </div>\n`,\n);\n"],"mappings":";;;;;;;;AAOA,MAAa,MAAMA,mCACjBC,2CACC,EAAE,OAAO,iBAAiB,QAAI;;sDAEZ;CACf,SAAS;CACT,eAAe;CACf,gBAAgBC,yBAAW,MAAM,QAAQ;CACzC,YAAYC,uBAAS,MAAM,MAAM;CACjC,OAAO;CACP,QAAQ;CACR,SAAS;CACV,CAAC,CAAC;;MAEDC,iCAAgB,MAAM,UAAU,WAAW,CAAC;;EAGjD"}