@tekkare/romulus 0.1.180 → 0.1.182

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/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.16.0"
6
6
  },
7
- "version": "0.1.179",
7
+ "version": "0.1.181",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
@@ -159,7 +159,12 @@ function resetDraft() {
159
159
  draft.value = new Set(selected.value)
160
160
  // Les branches qui portent la selection s'ouvrent : arriver sur un arbre
161
161
  // replie alors qu'il est filtre ne dit pas sur quoi.
162
- const open = new Set<string>()
162
+ //
163
+ // Elles s'AJOUTENT a ce qui est deja deplie, jamais a la place. En `inline`
164
+ // chaque clic ecrit le modele, donc ce reglage repassait ici a chaque case
165
+ // cochee : repartir d'un ensemble vide refermait tout l'arbre sous les
166
+ // doigts, y compris la branche qu'on etait en train de parcourir.
167
+ const open = new Set(expanded.value)
163
168
  selected.value.forEach((value) => {
164
169
  let parent = index.value.get(value)?.parent ?? null
165
170
  while (parent) {
@@ -592,8 +592,7 @@ export function useRmExport() {
592
592
  const snapshots = (payload.nodes ?? []).filter((node) => {
593
593
  if (node.kind === "chart") return false;
594
594
  if (node.kind === "kpi") return config.sections.includes("kpi");
595
- if (node.kind === "table") return config.sections.includes("table") || config.sections.includes("cards");
596
- return config.sections.includes("cards");
595
+ return config.sections.includes("table") || config.sections.includes("cards");
597
596
  });
598
597
  const shots = [];
599
598
  for (const node of snapshots) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/romulus",
3
- "version": "0.1.180",
3
+ "version": "0.1.182",
4
4
  "description": "Romulus Design System - Nuxt module by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",