{"version":3,"file":"column.cjs","names":["createLitComponent","ColumnApi","mapJustify","mapAlign","renderChildList"],"sources":["../../../../src/web-components/catalog/basic/column.ts"],"sourcesContent":["import { html } from \"lit\";\nimport { styleMap } from \"lit/directives/style-map.js\";\nimport { ColumnApi } from \"@a2ui/web_core/v0_9/basic_catalog\";\nimport { createLitComponent } from \"../../adapter\";\nimport { renderChildList } from \"../children\";\nimport { mapAlign, mapJustify } from \"./utils\";\n\nexport const Column = createLitComponent(\n  ColumnApi,\n  ({ props, buildChild }) => html`\n    <div\n      style=${styleMap({\n        display: \"flex\",\n        flexDirection: \"column\",\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,SAASA,mCACpBC,8CACC,EAAE,OAAO,iBAAiB,QAAI;;wDAEV;CACf,SAAS;CACT,eAAe;CACf,gBAAgBC,yBAAW,MAAM,QAAQ;CACzC,YAAYC,uBAAS,MAAM,MAAM;CACjC,OAAO;CACP,QAAQ;CACR,SAAS;CACV,CAAC,CAAC;;QAEDC,iCAAgB,MAAM,UAAU,WAAW,CAAC;;IAGnD"}