@glossarist/concept-browser 0.7.23 → 0.7.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glossarist/concept-browser",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.24",
|
|
4
4
|
"description": "Vue SPA for browsing Glossarist terminology datasets with cross-reference resolution, graph visualization, and multi-language support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -796,24 +796,6 @@ const nonVerbalReps = computed(() => {
|
|
|
796
796
|
</div>
|
|
797
797
|
</div>
|
|
798
798
|
|
|
799
|
-
<!-- Cross-references (concept-level related) -->
|
|
800
|
-
<div v-if="conceptRelated.length" class="card p-5">
|
|
801
|
-
<div class="section-label">{{ t('concept.relations') }}</div>
|
|
802
|
-
<div class="mt-3 space-y-1">
|
|
803
|
-
<button
|
|
804
|
-
v-for="(cr, cri) in conceptRelated"
|
|
805
|
-
:key="'cr'+cri"
|
|
806
|
-
@click="navigateRelated(cr.ref!)"
|
|
807
|
-
class="text-sm concept-link block truncate w-full text-left flex items-center gap-1.5"
|
|
808
|
-
>
|
|
809
|
-
<span class="badge text-[9px]" :class="edgeBadgeColor(cr.type, cr.type === 'superseded_by' ? 'in' : 'out')">{{ relationshipLabel(cr.type) }}<template v-if="cr.type === 'supersedes'"> →</template><template v-if="cr.type === 'superseded_by'"> ←</template></span>
|
|
810
|
-
<span v-if="getResolvedRef(cr.ref).target" class="text-ink-600">{{ getResolvedRef(cr.ref).target!.conceptId }}</span>
|
|
811
|
-
<span v-else class="text-ink-400">{{ cr.content || (cr.ref ? `${cr.ref.source || ''} ${cr.ref.id || ''}`.trim() : '') }}</span>
|
|
812
|
-
<span v-if="getResolvedRef(cr.ref).target && getResolvedRef(cr.ref).target!.registerId !== manifest.id" class="badge badge-gray text-[9px] flex-shrink-0">{{ getResolvedRef(cr.ref).target!.registerId }}</span>
|
|
813
|
-
</button>
|
|
814
|
-
</div>
|
|
815
|
-
</div>
|
|
816
|
-
|
|
817
799
|
<!-- Domains -->
|
|
818
800
|
<div v-if="conceptDomains.length" class="card p-5">
|
|
819
801
|
<div class="section-label">{{ t('concept.domains') }}</div>
|