You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
1.0 KiB
1 line
1.0 KiB
{"version":3,"file":"h-helper.mjs","sources":["../../../../../../packages/components/table/src/h-helper.ts"],"sourcesContent":["import { h } from 'vue'\n\nimport type { TableColumnCtx } from './table-column/defaults'\n\nexport function hGutter() {\n return h('col', {\n name: 'gutter',\n })\n}\n\nexport function hColgroup<T>(columns: TableColumnCtx<T>[], hasGutter = false) {\n return h('colgroup', {}, [\n ...columns.map((column) =>\n h('col', {\n name: column.id,\n key: column.id,\n })\n ),\n hasGutter && hGutter(),\n ])\n}\n"],"names":[],"mappings":";;AACO,SAAS,OAAO,GAAG;AAC1B,EAAE,OAAO,CAAC,CAAC,KAAK,EAAE;AAClB,IAAI,IAAI,EAAE,QAAQ;AAClB,GAAG,CAAC,CAAC;AACL,CAAC;AACM,SAAS,SAAS,CAAC,OAAO,EAAE,SAAS,GAAG,KAAK,EAAE;AACtD,EAAE,OAAO,CAAC,CAAC,UAAU,EAAE,EAAE,EAAE;AAC3B,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,KAAK,EAAE;AACxC,MAAM,IAAI,EAAE,MAAM,CAAC,EAAE;AACrB,MAAM,GAAG,EAAE,MAAM,CAAC,EAAE;AACpB,KAAK,CAAC,CAAC;AACP,IAAI,SAAS,IAAI,OAAO,EAAE;AAC1B,GAAG,CAAC,CAAC;AACL;;;;"} |