import '@fortawesome/fontawesome-free/css/all.css'; import '../css/layout.css'; import '@picocss/pico/css/pico.min.css'; import { listRef, ref } from './rendering/framework'; import { CSV_Data } from './types'; import { RenderTemplate } from './rendering/rendering'; const dataList = listRef( document.getElementById( 'data-table' )!, [], 'table-body', { 'type': 'tr', 'cssClasses': [], 'children': [] } ); const headerList = listRef( document.getElementById( 'data-header' )!, [], 'table-header', { 'type': 'td', 'cssClasses': [], 'children': [] } ); const tableRowElement: RenderTemplate = { 'type': 'td', 'cssClasses': [], 'children': [], }; const filename = ref( [ document.getElementById( 'data-filename' )! ], '' ); const filetype = ref( [ document.getElementById( 'data-filetype' )! ], '' ); const filesize = ref( [ document.getElementById( 'data-filesize' )! ], '' ); const rowCount = ref( [ document.getElementById( 'data-rowcount' )! ], '' ); const filter = ref( [ document.getElementById( 'filter' )! ], '' ); const columnName = ref( [ document.getElementById( 'column-selected' )! ], '' ); const columnDatatype = ref( [ document.getElementById( 'column-datatype' )! ], '' ); const columnEntries = ref( [ document.getElementById( 'column-entries' )! ], '' ); const columnMax = ref( [ document.getElementById( 'column-max' )! ], '' ); const columnMin = ref( [ document.getElementById( 'column-min' )! ], '' );