import{__decorate as e}from"tslib";import{html as t}from"lit";import{customElement as s}from"lit/decorators.js";import{s as r}from"./nile-table-row.css.esm.js";import{N as i}from"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let l=class extends i{static get styles(){return[r]}handleSortingAlter(e){const t=[...this.querySelectorAll("nile-table-header-item")];for(let s=0;s<t.length;s++){const r=t[s];r.textContent==e.detail.value.curr_sort_string||(r.sorting_ct=0)}}render(){return t`
      <slot
        part="nile-row"
        @nile-click-sort="${this.handleSortingAlter}"
      ></slot>
    `}};l=e([s("nile-table-row")],l);export{l as N};
