text: import { TABLE_SORT_DIRECTION } from './misc';
  
  export const columns = [
    {
      id: 'name',
      title: 'Name',
      sortCycle: 'bi-states-from-ascending',
    },
    {
      id: 'protocol',
      title: 'Protocol',
    },
    {
      id: 'port',
      title: 'Port',
      sortCycle: 'tri-states-from-ascending',
    },
    {
      id: 'rule',
      title: 'Rule',
    },
    {
      id: 'attachedGroups',
      title: 'Attached groups',
    },
    {
      id: 'status',
      title: 'Status',
    },
  ];
  
  export const rows = [
    {
      id: 1,
      name: 'Load Balancer 1',
      protocol: 'HTTP',
      port: 80,
      rule: 'Round Robin',
      attachedGroups: "Maureen's VM Groups",
      status: 'Active',
    },
    {
      id: 2,
      name: 'Load Balancer 2',
      protocol: 'HTTPS',
      port: 443,
      rule: 'Round Robin',
      attachedGroups: "Maureen's VM Groups",
      status: 'Active',
    },
    {
      id: 3,
      selected: true,
      name: 'Load Balancer 3',
      protocol: 'HTTP',
      port: 80,
      rule: 'Round Robin',
      attachedGroups: "Maureen's VM Groups",
      status: 'Active',
    },
  ];
  
  export const rowsMany = Array.from(new Array(50))
    .map((_item, i) =>
      rows.map((row, j) => ({
        ...row,
        id: i * 3 + j,
        name: `Load Balancer ${String(i * 3 + j + 1).padStart(3, '0')}`,
      }))
    )
    .flat();
  
  export const sortInfo = {
    columnId: 'name',
    direction: TABLE_SORT_DIRECTION.ASCENDING,
  };
  