'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-a0b63bee.js');

const DgaTableUsage = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
    }
    render() {
        return (index.h("div", { key: 'cd2286690f3fda93c40d998e5814bf28e91fa020' }, index.h("h1", { key: 'd110ad7a270245b135a702788ee4c3f5634be124' }, "Table Example"), index.h("div", { key: 'e8b40a3a981540cbe8e07df7d30db7371291d146', style: { padding: "50px", display: "flex", gap: "20px" } }, index.h("div", { key: 'c040fbc983c62b9daee162566f7f66d88b17fa1b', style: { display: "flex", flexDirection: "column", gap: "20px" } }, index.h("dga-data-table-updated", { key: '0cefb01370e75663e69b009d12ad165593b99c2e', columns: [
                {
                    label: "Header"
                }
            ], cells: [
                {
                    title: "city",
                    sort: "up",
                    isSort: true,
                    isFilter: true,
                    type: "propertyName",
                    propertyName: "city",
                    colSpan: 1, // Set colSpan to 1 (default is 1)
                },
                {
                    title: "price",
                    sort: "down",
                    isSort: true,
                    isFilter: true,
                    type: "propertyName",
                    propertyName: "price",
                    colSpan: 1,
                },
                {
                    title: "state",
                    isSort: true,
                    isFilter: true,
                    type: "propertyName",
                    propertyName: "state",
                    colSpan: 1,
                },
            ], data: [
                {
                    h_id: "3",
                    city: "Dallas",
                    state: "TX",
                    zip: "75201",
                    price: "162500",
                    selected: false, // Add selected property for checkbox functionality
                },
                {
                    h_id: "4",
                    city: "Bevery Hills",
                    state: "CA",
                    zip: "90210",
                    price: "319250",
                    selected: false,
                },
                {
                    h_id: "5",
                    city: "New York",
                    state: "NY",
                    zip: "00010",
                    price: "962500",
                    selected: false,
                },
            ] })), index.h("div", { key: '31334ab440f76ed7ae7efcc4b56e9441b5e0e1de', style: { display: "flex", flexDirection: "column", gap: "20px" } }))));
    }
};

exports.dga_table_usage = DgaTableUsage;

//# sourceMappingURL=dga-table-usage.cjs.entry.js.map