Introduction
What is jskos-vue?
jskos-vue is a library for Vue 3 containing components and utilities related to the JSKOS data format and the coli-conc project. It was developed to make it easier to use JSKOS data and the coli-conc infrastructure in front-end projects.
Note that it was specifically developed with the needs of our Cocoda Mapping Tool and BARTOC in mind. So if certain decisions seem odd to you, it is probably because it was needed in one of those projects. Nevertheless feel free to contact us with your questions, suggestions, and use-cases!
Overview
This library provides the following Vue components (plus some helper components and utility functions):
- ItemName - label or identifier of a JSKOS item
- ItemList - list of JSKOS items
- ConceptTree - hierarchical browsing of JSKOS concepts
- ItemSuggest - input field to search and select an item
- ItemDetails - full but condense details of a JSKOS item
- ItemSelected - editable list of JSKOS items
- ItemSelect - form to select multiple JSKOS items
Related works
The TS4NFDI Terminology Service Suite (TSS) provides similar components based on React instead of Vue and TSS includes API calls where jskos-vue leaves this to [cocoda-sdk] or other methods. A very rough correspondence of components and widgets, ignoring conceptual differences:
| jskos-vue | TSS |
|---|---|
| ItemName | TitleWidget |
| ItemList | planned EntityListWidget |
| ConceptTree | HierarchyWidget |
| / | GraphViewWidget |
| ItemSuggest | AutocompleteWidget |
| ItemDetails | EntityInfoWidget |
| / | EntityRelationsWidget |
In addition [jskos-vue-tabs] is similar to TSS TabWidget. A mapping Widget is planned in both jskos-vue and in in TSS.