diff --git a/packages/ui-components/src/lib/components/ButtonsPagination.svelte b/packages/ui-components/src/lib/components/ButtonsPagination.svelte deleted file mode 100644 index 19e213016..000000000 --- a/packages/ui-components/src/lib/components/ButtonsPagination.svelte +++ /dev/null @@ -1,39 +0,0 @@ - - -
- {#if loading} - - {/if} - -
- {index} -
- -
diff --git a/packages/ui-components/src/lib/index.ts b/packages/ui-components/src/lib/index.ts index 7c92dc972..7278e5b90 100644 --- a/packages/ui-components/src/lib/index.ts +++ b/packages/ui-components/src/lib/index.ts @@ -34,7 +34,6 @@ export { default as Heading } from './components/Heading.svelte'; export { default as Text } from './components/Text.svelte'; export { default as DropdownProperty } from './components/DropdownProperty.svelte'; export { default as IconError } from './components/IconError.svelte'; -export { default as ButtonsPagination } from './components/ButtonsPagination.svelte'; //Types export type { AppStoresInterface } from './types/appStores.ts'; diff --git a/tauri-app/src/lib/components/AppTable.svelte b/tauri-app/src/lib/components/AppTable.svelte deleted file mode 100644 index 744cfd805..000000000 --- a/tauri-app/src/lib/components/AppTable.svelte +++ /dev/null @@ -1,66 +0,0 @@ - - -{#if $listStore.isFetchingFirst} -
- -
-{:else if $listStore.currentPage.length === 0} -
{emptyMessage}
-{:else} - - - - - - {#each $listStore.currentPage as item} - { - dispatch('clickRow', { item }); - }} - > - - - {/each} - -
- - {#if enableCsvExport} -
- listStore.exportCsv()} - loading={$listStore.isExporting} - > - - Export to CSV - - -
- {/if} -{/if} diff --git a/tauri-app/src/lib/components/TradesTable.svelte b/tauri-app/src/lib/components/TradesTable.svelte deleted file mode 100644 index bbb52ffa6..000000000 --- a/tauri-app/src/lib/components/TradesTable.svelte +++ /dev/null @@ -1,67 +0,0 @@ - - - - - Date - Sender - Transaction Hash - Input - Output - IO Ratio - - - - - {formatTimestampSecondsAsLocal(BigInt(item.timestamp))} - - - - - - - - - {formatUnits( - BigInt(item.inputVaultBalanceChange.amount), - Number(item.inputVaultBalanceChange.vault.token.decimals ?? 0), - )} - {item.inputVaultBalanceChange.vault.token.symbol} - - - {formatUnits( - BigInt(item.outputVaultBalanceChange.amount), - Number(item.outputVaultBalanceChange.vault.token.decimals ?? 0), - )} - {item.outputVaultBalanceChange.vault.token.symbol} - - - {Math.abs( - Number( - formatUnits( - BigInt(item.inputVaultBalanceChange.amount), - Number(item.inputVaultBalanceChange.vault.token.decimals ?? 0), - ), - ) / - Number( - formatUnits( - BigInt(item.outputVaultBalanceChange.amount), - Number(item.outputVaultBalanceChange.vault.token.decimals ?? 0), - ), - ), - )} - {item.inputVaultBalanceChange.vault.token.symbol}/{item.outputVaultBalanceChange.vault.token - .symbol} - - -