Compare commits
2
Commits
9dbb6f7b2e
...
3f3b9d0b9e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3f3b9d0b9e | ||
|
|
eb6dfea3db |
No files matched your search
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "utfdump"]
|
||||||
|
path = utfdump
|
||||||
|
url = https://github.com/pantonshire/utfdump.git
|
||||||
+1
-1
@@ -11,7 +11,7 @@ const nextConfig = {
|
|||||||
loadedWasm = true;
|
loadedWasm = true;
|
||||||
nextConfig.plugins.push(
|
nextConfig.plugins.push(
|
||||||
new WasmPackPlugin({
|
new WasmPackPlugin({
|
||||||
crateDirectory: path.resolve(__dirname, '..', 'utfdump', 'wasm'),
|
crateDirectory: path.resolve(__dirname, 'utfdump', 'wasm'),
|
||||||
outDir: path.resolve(__dirname, 'wasm', 'utfdump'),
|
outDir: path.resolve(__dirname, 'wasm', 'utfdump'),
|
||||||
forceMode: 'production',
|
forceMode: 'production',
|
||||||
extraArgs: '--target web',
|
extraArgs: '--target web',
|
||||||
|
|||||||
@@ -67,32 +67,42 @@ export function OutputTable(props: { currentString: string }) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let table;
|
||||||
|
|
||||||
|
if (rows.length > 0) {
|
||||||
|
table = (
|
||||||
|
<table id={styles.output_table}>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th></th>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Code</th>
|
||||||
|
<th>UTF-8</th>
|
||||||
|
<th>UTF-16LE</th>
|
||||||
|
<th>Category</th>
|
||||||
|
<th>Combining</th>
|
||||||
|
<th>Bidirectional</th>
|
||||||
|
<th>Mirrored</th>
|
||||||
|
<th>Decomp</th>
|
||||||
|
<th>Upper</th>
|
||||||
|
<th>Lower</th>
|
||||||
|
<th>Title</th>
|
||||||
|
<th>Numeric</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{rows}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
table = (<></>);
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className={styles.table_container}>
|
<section className={styles.table_container}>
|
||||||
<div className={styles.overflow_scroll}>
|
<div className={styles.overflow_scroll}>
|
||||||
<table id={styles.output_table}>
|
{table}
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th></th>
|
|
||||||
<th>Name</th>
|
|
||||||
<th>Code</th>
|
|
||||||
<th>UTF-8</th>
|
|
||||||
<th>UTF-16LE</th>
|
|
||||||
<th>Category</th>
|
|
||||||
<th>Combining</th>
|
|
||||||
<th>Bidirectional</th>
|
|
||||||
<th>Mirrored</th>
|
|
||||||
<th>Decomp</th>
|
|
||||||
<th>Upper</th>
|
|
||||||
<th>Lower</th>
|
|
||||||
<th>Title</th>
|
|
||||||
<th>Numeric</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{rows}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
|
|||||||
Submodule
+1
Submodule utfdump added at 0d1872b902.
Reference in new issue
Block a user