'use strict';

var index = require('./index-DOPS1LtU.js');
var index$1 = require('./index-Cws2ei2C.js');
var dataTestIds_enum = require('./dataTestIds.enum-8bmOw0Uf.js');
require('./_commonjsHelpers-MBWFX2dn.js');

const transactionsTableCss = "/*! tailwindcss v4.1.3 | MIT License | https://tailwindcss.com */@layer theme{:host,:root{--mvx-font-sans:ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--mvx-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--mvx-default-font-family:var(--mvx-font-sans);--mvx-default-mono-font-family:var(--mvx-font-mono)}}@layer base{*,::backdrop,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{-webkit-text-size-adjust:100%;font-family:var(--mvx-default-font-family,ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\");font-feature-settings:var(--mvx-default-font-feature-settings,normal);font-variation-settings:var(--mvx-default-font-variation-settings,normal);line-height:1.5;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--mvx-default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace);font-feature-settings:var(--mvx-default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--mvx-default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentColor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex;padding-block:0}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components,utilities; /*! tailwindcss v4.1.3 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities; /*! tailwindcss v4.1.3 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities;.transactions-table{border-bottom-width:1px;border-color:#e5e7eb;border-top-width:1px;overflow:auto;table-layout:auto;width:100%}.transactions-table-header{background-color:#f9fafb}.transactions-table-header-cell{color:#6b7280;font-size:.75rem;font-weight:500;letter-spacing:.05em;line-height:1rem;padding:.75rem 1rem;text-align:left;text-transform:uppercase;width:16.6667%}.transactions-table-body{background-color:#fff;border-bottom-width:1px;border-color:#e5e7eb;border-top-width:1px}.transactions-table-body-row{color:#6b7280}.transactions-table-body-cell{padding:.5rem;width:max-content}.transactions-table-body-cell>*{width:max-content}";

const COLUMNS = ['TxHash', 'Age', 'Shard', 'From', 'To', 'Method', 'Value'];
const TransactionsTable = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
    }
    render() {
        return (index.h("table", { key: '9f7f1bd74aa83851e75447b300cba42b96c0d92b', class: index$1.classNames(this.class, 'transactions-table') }, index.h("thead", { key: 'e2d4e14850e8c11ec46c6ccda2a886ea2764c5b9', class: "transactions-table-header" }, index.h("tr", { key: '79aff925fcc42ecf87d419b6db79c6da0be0688b' }, COLUMNS.map(column => (index.h("th", { key: column, scope: "col", class: "transactions-table-header-cell" }, column))))), index.h("tbody", { key: 'bec3b05fd8c548891729ae6c09782ba8e964004d', class: "transactions-table-body" }, this.transactions.map(transaction => (index.h("tr", { class: "transactions-table-body-row" }, index.h("td", { class: "transactions-table-body-cell" }, index.h("mvx-transaction-hash", { transaction: transaction })), index.h("td", { class: "transactions-table-body-cell" }, index.h("mvx-transaction-age", { age: transaction.age.timeAgo, tooltip: transaction.age.tooltip })), index.h("td", { class: "transactions-table-body-cell" }, index.h("mvx-transaction-shards", { transaction: transaction })), index.h("td", { class: "transactions-table-body-cell" }, index.h("mvx-transaction-account", { account: transaction.sender, dataTestId: dataTestIds_enum.DataTestIdsEnum.transactionSender, scope: "sender", showLockedAccounts: true })), index.h("td", { class: "transactions-table-body-cell" }, index.h("mvx-transaction-account", { account: transaction.receiver, dataTestId: dataTestIds_enum.DataTestIdsEnum.transactionReceiver, scope: "receiver", showLockedAccounts: true })), index.h("td", { class: "transactions-table-body-cell" }, index.h("mvx-transaction-method", { method: transaction.method.name, actionDescription: transaction.method.actionDescription })), index.h("td", { class: "transactions-table-body-cell" }, index.h("mvx-transaction-value", { value: transaction.value }))))))));
    }
};
TransactionsTable.style = transactionsTableCss;

exports.mvx_transactions_table = TransactionsTable;
//# sourceMappingURL=mvx-transactions-table.entry.cjs.js.map

//# sourceMappingURL=mvx-transactions-table.cjs.entry.js.map