mobx-view-model-devtools 0.0.11 → 0.0.12

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/index.global.js CHANGED
@@ -36251,7 +36251,7 @@ const ExtrasItemRender = withViewModel(
36251
36251
  order,
36252
36252
  value: extras[property2],
36253
36253
  isFitted: model.devtools.checkIsExtrasPropertyFitted(property2),
36254
- level: depth,
36254
+ level: depth + 1,
36255
36255
  path: property2
36256
36256
  },
36257
36257
  property2,
@@ -36981,7 +36981,8 @@ class ViewModelDevtools {
36981
36981
  return this.expandedVmItemsPaths.has(`${vmItem.key}%%%${path}`);
36982
36982
  }
36983
36983
  checkIsExtraPathExpanded(path) {
36984
- return this.expandedVmItemsPaths.has(path);
36984
+ const expandedKey = `__EXTRA__%%%${path}`;
36985
+ return this.expandedVmItemsPaths.has(expandedKey);
36985
36986
  }
36986
36987
  handleExpandVmPropertyClick(vmItem, path) {
36987
36988
  const expandedKey = `${vmItem.key}%%%${path}`;
package/index.js CHANGED
@@ -36251,7 +36251,7 @@ const ExtrasItemRender = withViewModel(
36251
36251
  order,
36252
36252
  value: extras[property2],
36253
36253
  isFitted: model.devtools.checkIsExtrasPropertyFitted(property2),
36254
- level: depth,
36254
+ level: depth + 1,
36255
36255
  path: property2
36256
36256
  },
36257
36257
  property2,
@@ -36981,7 +36981,8 @@ class ViewModelDevtools {
36981
36981
  return this.expandedVmItemsPaths.has(`${vmItem.key}%%%${path}`);
36982
36982
  }
36983
36983
  checkIsExtraPathExpanded(path) {
36984
- return this.expandedVmItemsPaths.has(path);
36984
+ const expandedKey = `__EXTRA__%%%${path}`;
36985
+ return this.expandedVmItemsPaths.has(expandedKey);
36985
36986
  }
36986
36987
  handleExpandVmPropertyClick(vmItem, path) {
36987
36988
  const expandedKey = `${vmItem.key}%%%${path}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobx-view-model-devtools",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "js2me",