A search component to search the database of Athena OHDSI
  • Svelte 63.8%
  • TypeScript 21%
  • SCSS 9.3%
  • JavaScript 3.8%
  • HTML 0.9%
  • Other 1.2%
Find a file
2025-06-02 09:00:11 +02:00
.github/workflows update branch for workflow 2023-10-02 12:03:40 +02:00
.vscode change filters & refactor small things & format all files 2023-12-18 12:30:46 +01:00
libs update datatable 2025-06-02 09:00:11 +02:00
src fix issue of athena url assembling 2025-01-07 12:24:30 +01:00
.gitignore Export elements & types + add license to files 2023-10-02 13:42:55 +02:00
.gitmodules update version of datatable & add datatable as submodule instead of package 2024-09-13 10:49:55 +02:00
.npmrc update version of svelte-datatable 2024-02-14 15:06:54 +01:00
.prettierignore initial commit 2023-09-29 11:49:45 +02:00
.prettierrc upgrade to svelte 5 & implement new structure 2024-05-12 10:16:06 +02:00
build.sh implement new datatable version & fix bug for implementing styling from package & small refactoring 2024-01-04 11:04:09 +01:00
eslint.config.js Small refactoring, update packages & implement new DataTable 2024-12-24 09:57:01 +01:00
LICENSE Added license file 2023-10-02 13:24:53 +02:00
package.json update packages 2025-06-02 08:55:40 +02:00
pnpm-lock.yaml update packages 2025-06-02 08:55:40 +02:00
README.md change filters & refactor small things & format all files 2023-12-18 12:30:46 +01:00
svelte.config.js update version of datatable & add datatable as submodule instead of package 2024-09-13 10:49:55 +02:00
tsconfig.json remove extends from tsconfig.json for error as submodule 2024-12-24 13:59:08 +01:00
vite.config.ts update version of datatable & add datatable as submodule instead of package 2024-09-13 10:49:55 +02:00

@radar-azdelta/svelte-Athena-search

We have created a component where we can search the Athena database for concepts. The reason for this component is so we can use this in other projects where we need to search the Athena database. The layout is based on the design of the webtool from Athena so that the users will have a familiar experience. It uses the @radar-azdelta/svelte-datatable package, which is an easy to use and fast table component.

Features

  • Filter on domain, vocabulary, ...
  • Sorting
  • Filtering
  • Bind custom actions to rows
  • Can be used without configuration

Usage

Install the package

npm install @radar-azdelta/svelte-athena-search

Add the component to a Svelte page

<script lang="ts">
  import Search from '@radar-azdelta/svelte-Athena-search'
</script>

<Search />

Example

See the demo site

Manual

Properties

The Search component has the following optional properties

Value Description Required Default
views Create up to 2 extra screens to use in the Search component no []
globalFilter A filter to set on a specific column no { column: 'all', filter: undefined }
tableOptions Extra options to give to the table (id, defaultColumnWidth, ...) no undefined
height Set a certain height for the component no 100%
width Set a certain width for the component no 100%
fontSize Set a certain font size for all the text in the component no 10px