@mulmoclaude/collection-plugin 0.14.0 → 0.14.1
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/dist/vue/components/CollectionOntologyGraphView.vue.d.ts.map +1 -1
- package/dist/vue/lang/de.d.ts.map +1 -1
- package/dist/vue/lang/en.d.ts +1 -0
- package/dist/vue/lang/en.d.ts.map +1 -1
- package/dist/vue/lang/es.d.ts.map +1 -1
- package/dist/vue/lang/fr.d.ts.map +1 -1
- package/dist/vue/lang/index.d.ts +1 -0
- package/dist/vue/lang/index.d.ts.map +1 -1
- package/dist/vue/lang/ja.d.ts.map +1 -1
- package/dist/vue/lang/ko.d.ts.map +1 -1
- package/dist/vue/lang/ptBR.d.ts.map +1 -1
- package/dist/vue/lang/zh.d.ts.map +1 -1
- package/dist/vue.cjs +11 -2
- package/dist/vue.cjs.map +1 -1
- package/dist/vue.js +11 -2
- package/dist/vue.js.map +1 -1
- package/package.json +3 -3
package/dist/vue.js
CHANGED
|
@@ -80,6 +80,7 @@ var i18n = createI18n({
|
|
|
80
80
|
mapTab: "Map",
|
|
81
81
|
mapEmpty: "Nothing to map yet — the map draws itself as collections and the links between them appear.",
|
|
82
82
|
mapRecordCount: "{count} records",
|
|
83
|
+
mapRecordCountUnknown: "record count unavailable",
|
|
83
84
|
mapMissingHint: "No collection with this slug — a relation points at it.",
|
|
84
85
|
notFound: "Collection not found",
|
|
85
86
|
loadFailed: "Failed to load",
|
|
@@ -232,6 +233,7 @@ var i18n = createI18n({
|
|
|
232
233
|
mapTab: "マップ",
|
|
233
234
|
mapEmpty: "まだ表示するものがありません。コレクションとその間のリンクが増えると、マップが自動的に描かれます。",
|
|
234
235
|
mapRecordCount: "{count} 件のレコード",
|
|
236
|
+
mapRecordCountUnknown: "レコード数を取得できません",
|
|
235
237
|
mapMissingHint: "このスラッグのコレクションは存在しません。リレーションが参照しています。",
|
|
236
238
|
notFound: "コレクションが見つかりません",
|
|
237
239
|
loadFailed: "読み込みに失敗しました",
|
|
@@ -384,6 +386,7 @@ var i18n = createI18n({
|
|
|
384
386
|
mapTab: "地图",
|
|
385
387
|
mapEmpty: "暂无可显示的内容。随着集合及其之间的链接增多,地图会自动绘制。",
|
|
386
388
|
mapRecordCount: "{count} 条记录",
|
|
389
|
+
mapRecordCountUnknown: "无法获取记录数",
|
|
387
390
|
mapMissingHint: "不存在此 slug 的集合,但有关系指向它。",
|
|
388
391
|
notFound: "未找到集合",
|
|
389
392
|
loadFailed: "加载失败",
|
|
@@ -536,6 +539,7 @@ var i18n = createI18n({
|
|
|
536
539
|
mapTab: "맵",
|
|
537
540
|
mapEmpty: "아직 표시할 내용이 없습니다. 컬렉션과 그 사이의 링크가 생기면 맵이 자동으로 그려집니다.",
|
|
538
541
|
mapRecordCount: "레코드 {count}개",
|
|
542
|
+
mapRecordCountUnknown: "레코드 수를 가져올 수 없음",
|
|
539
543
|
mapMissingHint: "이 슬러그의 컬렉션이 없습니다. 관계가 이를 참조하고 있습니다.",
|
|
540
544
|
notFound: "컬렉션을 찾을 수 없습니다",
|
|
541
545
|
loadFailed: "불러오기에 실패했습니다",
|
|
@@ -688,6 +692,7 @@ var i18n = createI18n({
|
|
|
688
692
|
mapTab: "Mapa",
|
|
689
693
|
mapEmpty: "Nada que mostrar todavía: el mapa se dibuja solo a medida que aparecen colecciones y los enlaces entre ellas.",
|
|
690
694
|
mapRecordCount: "{count} registros",
|
|
695
|
+
mapRecordCountUnknown: "recuento de registros no disponible",
|
|
691
696
|
mapMissingHint: "No existe una colección con este slug; una relación apunta a ella.",
|
|
692
697
|
notFound: "Colección no encontrada",
|
|
693
698
|
loadFailed: "Error al cargar",
|
|
@@ -840,6 +845,7 @@ var i18n = createI18n({
|
|
|
840
845
|
mapTab: "Mapa",
|
|
841
846
|
mapEmpty: "Nada para mostrar ainda — o mapa se desenha sozinho conforme coleções e os vínculos entre elas aparecem.",
|
|
842
847
|
mapRecordCount: "{count} registros",
|
|
848
|
+
mapRecordCountUnknown: "contagem de registros indisponível",
|
|
843
849
|
mapMissingHint: "Nenhuma coleção com este slug — uma relação aponta para ela.",
|
|
844
850
|
notFound: "Coleção não encontrada",
|
|
845
851
|
loadFailed: "Falha ao carregar",
|
|
@@ -992,6 +998,7 @@ var i18n = createI18n({
|
|
|
992
998
|
mapTab: "Carte",
|
|
993
999
|
mapEmpty: "Rien à afficher pour l'instant — la carte se dessine d'elle-même à mesure que les collections et leurs liens apparaissent.",
|
|
994
1000
|
mapRecordCount: "{count} enregistrements",
|
|
1001
|
+
mapRecordCountUnknown: "nombre d'enregistrements indisponible",
|
|
995
1002
|
mapMissingHint: "Aucune collection avec ce slug — une relation pointe vers elle.",
|
|
996
1003
|
notFound: "Collection introuvable",
|
|
997
1004
|
loadFailed: "Échec du chargement",
|
|
@@ -1144,6 +1151,7 @@ var i18n = createI18n({
|
|
|
1144
1151
|
mapTab: "Karte",
|
|
1145
1152
|
mapEmpty: "Noch nichts zu zeigen — die Karte entsteht von selbst, sobald Sammlungen und ihre Verknüpfungen entstehen.",
|
|
1146
1153
|
mapRecordCount: "{count} Einträge",
|
|
1154
|
+
mapRecordCountUnknown: "Anzahl der Datensätze nicht verfügbar",
|
|
1147
1155
|
mapMissingHint: "Keine Sammlung mit diesem Slug — eine Relation verweist darauf.",
|
|
1148
1156
|
notFound: "Sammlung nicht gefunden",
|
|
1149
1157
|
loadFailed: "Laden fehlgeschlagen",
|
|
@@ -6545,7 +6553,7 @@ var CollectionOntologyGraphView_default = /* @__PURE__ */ defineComponent({
|
|
|
6545
6553
|
edges: []
|
|
6546
6554
|
});
|
|
6547
6555
|
let instance = null;
|
|
6548
|
-
const nodeSize = (node) => node.missing ? 14 : Math.min(40, 20 + Math.round(Math.log2(node.recordCount + 1) * 4));
|
|
6556
|
+
const nodeSize = (node) => node.missing ? 14 : Math.min(40, 20 + Math.round(Math.log2((node.recordCount ?? 0) + 1) * 4));
|
|
6549
6557
|
const nodeItem = (node) => ({
|
|
6550
6558
|
id: node.slug,
|
|
6551
6559
|
name: node.title,
|
|
@@ -6576,7 +6584,8 @@ var CollectionOntologyGraphView_default = /* @__PURE__ */ defineComponent({
|
|
|
6576
6584
|
});
|
|
6577
6585
|
const nodeTooltip = (data) => {
|
|
6578
6586
|
if (data.missing) return `<b>${escapeHtml(data.id)}</b><br>${escapeHtml(t("collectionsView.mapMissingHint"))}`;
|
|
6579
|
-
|
|
6587
|
+
const count = data.recordCount === null ? t("collectionsView.mapRecordCountUnknown") : t("collectionsView.mapRecordCount", { count: data.recordCount });
|
|
6588
|
+
return `<b>${escapeHtml(data.name)}</b><br>${escapeHtml(data.id)} · ${escapeHtml(count)}`;
|
|
6580
6589
|
};
|
|
6581
6590
|
const edgeTooltip = (data) => {
|
|
6582
6591
|
const reverse = data.reverseFields?.length ? ` ⇄ ${data.reverseFields.join(", ")}` : "";
|