@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollectionOntologyGraphView.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/CollectionOntologyGraphView.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CollectionOntologyGraphView.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/CollectionOntologyGraphView.vue"],"names":[],"mappings":"AA4YA,QAAA,MAAM,YAAY;;;;iFAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/de.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/de.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBA6JjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/dist/vue/lang/en.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/en.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/en.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4Jf,CAAC;AAEF,eAAe,UAAU,CAAC;AAE1B,MAAM,MAAM,kBAAkB,GAAG,OAAO,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/es.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/es.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBA6JjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/fr.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/fr.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBA8JjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/dist/vue/lang/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/index.ts"],"names":[],"mappings":"AAuBA,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/index.ts"],"names":[],"mappings":"AAuBA,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAcR,CAAC;AAsBH;;;gEAGgE;AAChE,wBAAgB,iBAAiB,IAAI;IAAE,CAAC,EAAE,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;IAAC,MAAM,EAAE,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAA;CAAE,CAG5G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/ja.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/ja.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBA4JjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ko.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/ko.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"ko.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/ko.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBA4JjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ptBR.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/ptBR.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"ptBR.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/ptBR.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,YAAY,EAAE,kBA6JnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/zh.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"zh.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/zh.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBA2JjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/dist/vue.cjs
CHANGED
|
@@ -105,6 +105,7 @@ var i18n = (0, vue_i18n.createI18n)({
|
|
|
105
105
|
mapTab: "Map",
|
|
106
106
|
mapEmpty: "Nothing to map yet — the map draws itself as collections and the links between them appear.",
|
|
107
107
|
mapRecordCount: "{count} records",
|
|
108
|
+
mapRecordCountUnknown: "record count unavailable",
|
|
108
109
|
mapMissingHint: "No collection with this slug — a relation points at it.",
|
|
109
110
|
notFound: "Collection not found",
|
|
110
111
|
loadFailed: "Failed to load",
|
|
@@ -257,6 +258,7 @@ var i18n = (0, vue_i18n.createI18n)({
|
|
|
257
258
|
mapTab: "マップ",
|
|
258
259
|
mapEmpty: "まだ表示するものがありません。コレクションとその間のリンクが増えると、マップが自動的に描かれます。",
|
|
259
260
|
mapRecordCount: "{count} 件のレコード",
|
|
261
|
+
mapRecordCountUnknown: "レコード数を取得できません",
|
|
260
262
|
mapMissingHint: "このスラッグのコレクションは存在しません。リレーションが参照しています。",
|
|
261
263
|
notFound: "コレクションが見つかりません",
|
|
262
264
|
loadFailed: "読み込みに失敗しました",
|
|
@@ -409,6 +411,7 @@ var i18n = (0, vue_i18n.createI18n)({
|
|
|
409
411
|
mapTab: "地图",
|
|
410
412
|
mapEmpty: "暂无可显示的内容。随着集合及其之间的链接增多,地图会自动绘制。",
|
|
411
413
|
mapRecordCount: "{count} 条记录",
|
|
414
|
+
mapRecordCountUnknown: "无法获取记录数",
|
|
412
415
|
mapMissingHint: "不存在此 slug 的集合,但有关系指向它。",
|
|
413
416
|
notFound: "未找到集合",
|
|
414
417
|
loadFailed: "加载失败",
|
|
@@ -561,6 +564,7 @@ var i18n = (0, vue_i18n.createI18n)({
|
|
|
561
564
|
mapTab: "맵",
|
|
562
565
|
mapEmpty: "아직 표시할 내용이 없습니다. 컬렉션과 그 사이의 링크가 생기면 맵이 자동으로 그려집니다.",
|
|
563
566
|
mapRecordCount: "레코드 {count}개",
|
|
567
|
+
mapRecordCountUnknown: "레코드 수를 가져올 수 없음",
|
|
564
568
|
mapMissingHint: "이 슬러그의 컬렉션이 없습니다. 관계가 이를 참조하고 있습니다.",
|
|
565
569
|
notFound: "컬렉션을 찾을 수 없습니다",
|
|
566
570
|
loadFailed: "불러오기에 실패했습니다",
|
|
@@ -713,6 +717,7 @@ var i18n = (0, vue_i18n.createI18n)({
|
|
|
713
717
|
mapTab: "Mapa",
|
|
714
718
|
mapEmpty: "Nada que mostrar todavía: el mapa se dibuja solo a medida que aparecen colecciones y los enlaces entre ellas.",
|
|
715
719
|
mapRecordCount: "{count} registros",
|
|
720
|
+
mapRecordCountUnknown: "recuento de registros no disponible",
|
|
716
721
|
mapMissingHint: "No existe una colección con este slug; una relación apunta a ella.",
|
|
717
722
|
notFound: "Colección no encontrada",
|
|
718
723
|
loadFailed: "Error al cargar",
|
|
@@ -865,6 +870,7 @@ var i18n = (0, vue_i18n.createI18n)({
|
|
|
865
870
|
mapTab: "Mapa",
|
|
866
871
|
mapEmpty: "Nada para mostrar ainda — o mapa se desenha sozinho conforme coleções e os vínculos entre elas aparecem.",
|
|
867
872
|
mapRecordCount: "{count} registros",
|
|
873
|
+
mapRecordCountUnknown: "contagem de registros indisponível",
|
|
868
874
|
mapMissingHint: "Nenhuma coleção com este slug — uma relação aponta para ela.",
|
|
869
875
|
notFound: "Coleção não encontrada",
|
|
870
876
|
loadFailed: "Falha ao carregar",
|
|
@@ -1017,6 +1023,7 @@ var i18n = (0, vue_i18n.createI18n)({
|
|
|
1017
1023
|
mapTab: "Carte",
|
|
1018
1024
|
mapEmpty: "Rien à afficher pour l'instant — la carte se dessine d'elle-même à mesure que les collections et leurs liens apparaissent.",
|
|
1019
1025
|
mapRecordCount: "{count} enregistrements",
|
|
1026
|
+
mapRecordCountUnknown: "nombre d'enregistrements indisponible",
|
|
1020
1027
|
mapMissingHint: "Aucune collection avec ce slug — une relation pointe vers elle.",
|
|
1021
1028
|
notFound: "Collection introuvable",
|
|
1022
1029
|
loadFailed: "Échec du chargement",
|
|
@@ -1169,6 +1176,7 @@ var i18n = (0, vue_i18n.createI18n)({
|
|
|
1169
1176
|
mapTab: "Karte",
|
|
1170
1177
|
mapEmpty: "Noch nichts zu zeigen — die Karte entsteht von selbst, sobald Sammlungen und ihre Verknüpfungen entstehen.",
|
|
1171
1178
|
mapRecordCount: "{count} Einträge",
|
|
1179
|
+
mapRecordCountUnknown: "Anzahl der Datensätze nicht verfügbar",
|
|
1172
1180
|
mapMissingHint: "Keine Sammlung mit diesem Slug — eine Relation verweist darauf.",
|
|
1173
1181
|
notFound: "Sammlung nicht gefunden",
|
|
1174
1182
|
loadFailed: "Laden fehlgeschlagen",
|
|
@@ -6570,7 +6578,7 @@ var CollectionOntologyGraphView_default = /* @__PURE__ */ (0, vue.defineComponen
|
|
|
6570
6578
|
edges: []
|
|
6571
6579
|
});
|
|
6572
6580
|
let instance = null;
|
|
6573
|
-
const nodeSize = (node) => node.missing ? 14 : Math.min(40, 20 + Math.round(Math.log2(node.recordCount + 1) * 4));
|
|
6581
|
+
const nodeSize = (node) => node.missing ? 14 : Math.min(40, 20 + Math.round(Math.log2((node.recordCount ?? 0) + 1) * 4));
|
|
6574
6582
|
const nodeItem = (node) => ({
|
|
6575
6583
|
id: node.slug,
|
|
6576
6584
|
name: node.title,
|
|
@@ -6601,7 +6609,8 @@ var CollectionOntologyGraphView_default = /* @__PURE__ */ (0, vue.defineComponen
|
|
|
6601
6609
|
});
|
|
6602
6610
|
const nodeTooltip = (data) => {
|
|
6603
6611
|
if (data.missing) return `<b>${(0, _mulmoclaude_core_wiki.escapeHtml)(data.id)}</b><br>${(0, _mulmoclaude_core_wiki.escapeHtml)(t("collectionsView.mapMissingHint"))}`;
|
|
6604
|
-
|
|
6612
|
+
const count = data.recordCount === null ? t("collectionsView.mapRecordCountUnknown") : t("collectionsView.mapRecordCount", { count: data.recordCount });
|
|
6613
|
+
return `<b>${(0, _mulmoclaude_core_wiki.escapeHtml)(data.name)}</b><br>${(0, _mulmoclaude_core_wiki.escapeHtml)(data.id)} · ${(0, _mulmoclaude_core_wiki.escapeHtml)(count)}`;
|
|
6605
6614
|
};
|
|
6606
6615
|
const edgeTooltip = (data) => {
|
|
6607
6616
|
const reverse = data.reverseFields?.length ? ` ⇄ ${data.reverseFields.join(", ")}` : "";
|