import{r as i,h as a}from"./p-52e3bb32.js";import{r as t}from"./p-ffe5c0e8.js";import{a as e,T as d}from"./p-0f3fbb1e.js";const l=class{constructor(a){i(this,a),this.afVariation=e.PRIMARY,this.afSize=d.MEDIUM,this.afId=t("digi-navigation-breadcrumbs")}get cssModifiers(){return{"digi-table--primary":this.afVariation===e.PRIMARY,"digi-table--secondary":this.afVariation===e.SECONDARY,"digi-table--tertiary":this.afVariation===e.TERTIARY,"digi-table--small":this.afSize===d.SMALL}}render(){return a("div",{key:"dcd3efdeca446511236c2292c9aad492fae9f282",class:Object.assign({"digi-table":!0},this.cssModifiers)},a("div",{key:"e1e00b00ff361dc61be31b23005049a48b2763dc",class:"digi-table__scroll-container"},a("slot",{key:"c046d3062db86b03388ec42dd68edf1593c1bab1"})))}};l.style="digi-table{--digi--table--font-family:var(--digi--global--typography--font-family--default);--digi--table--font-size:var(--digi--typography--body--font-size--desktop);--digi--table--color:var(--digi--color--text--primary);--digi--table--font-weight:var(--digi--typography--body--font-weight--desktop);--digi--table--cell--margin:var(--digi--gutter--small);--digi--table--cell--padding--y:var(--digi--gutter--larger);--digi--table--cell--padding--x:var(--digi--gutter--larger);--digi--table--cell--padding--y--s:var(--digi--gutter--small);--digi--table--cell--padding--x--s:var(--digi--gutter--small);--digi--table--th--border-color:var(--digi--color--marking--indication--tertiary);--digi--table--td--border-color:var(--digi--color--divider--primary);--digi--table--th--font-weight:var(--digi--typography--label--font-weight--desktop);--digi--table--background:var(--digi--color--background--secondary);--digi--table--background--even:var(--digi--color--background--secondary-accent);--digi--table--color--active:var(--digi--color--text--secondary);--digi--table--background--active:var(--digi--color--marking--indication--secondary)}digi-table .digi-table{position:relative}digi-table .digi-table__scroll-container{max-width:100%;overflow-x:auto;position:relative}digi-table .digi-table--primary table,digi-table .digi-table--secondary table{border-collapse:collapse}digi-table .digi-table--primary th,digi-table .digi-table--secondary th{font-weight:var(--digi--table--th--font-weight);border-bottom:solid 1px var(--digi--table--th--border-color)}digi-table .digi-table--primary th[scope=row],digi-table .digi-table--primary td,digi-table .digi-table--secondary th[scope=row],digi-table .digi-table--secondary td{border-bottom:solid 1px var(--digi--table--td--border-color)}digi-table .digi-table--secondary tbody tr:nth-child(even){background:var(--digi--table--background)}digi-table .digi-table--tertiary table{border-spacing:var(--digi--table--cell--margin);border-collapse:separate}digi-table .digi-table--tertiary tbody tr:nth-child(odd){background:var(--digi--table--background)}digi-table .digi-table--tertiary tbody tr:nth-child(even){background:var(--digi--table--background--even)}digi-table .digi-table--small table th,digi-table .digi-table--small table td{padding:var(--digi--table--cell--padding--y--s) var(--digi--table--cell--padding--x--s)}digi-table table{font-family:var(--digi--table--font-family);font-size:var(--digi--table--font-size);color:var(--digi--table--color);font-weight:var(--digi--table--font-weight);text-align:left;width:100%}digi-table table th,digi-table table td{padding:var(--digi--table--cell--padding--y) var(--digi--table--cell--padding--x)}digi-table table tr[data-af-table-row~=active],digi-table table th[data-af-table-cell~=active],digi-table table td[data-af-table-cell~=active]{color:var(--digi--table--color--active);background-color:var(--digi--table--background--active)}digi-table table th[data-af-table-cell~=center],digi-table table td[data-af-table-cell~=center]{text-align:center}digi-table table th[data-af-table-cell~=right],digi-table table td[data-af-table-cell~=right]{text-align:right}";export{l as digi_table}