dfish-widget 0.1.362 → 0.1.363

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/lib/index.esm.js CHANGED
@@ -6849,9 +6849,11 @@ var script$x = {
6849
6849
  mixins: [script$y],
6850
6850
  props: ['all'],
6851
6851
  watch: {
6852
- checked: function checked(e) {
6852
+ checked: function checked(a) {
6853
+ this.check(a);
6854
+
6853
6855
  if (this.provideBoxParent) {
6854
- !this.provideBoxParent.isFolder() && this.provideBoxParent.clickBoxProxy();
6856
+ this.provideBoxParent.clickBoxProxy();
6855
6857
  }
6856
6858
  }
6857
6859
  },
@@ -6921,7 +6923,7 @@ var script$w = {
6921
6923
  provide: function provide() {
6922
6924
  return {
6923
6925
  provideParentLeaf: this,
6924
- provideLeafLevel: this.provideLeafLevel + 1,
6926
+ provideLeafLevel: this.provideLeafLevel + (this.isEntity ? 1 : 0),
6925
6927
  provideBoxParent: this
6926
6928
  };
6927
6929
  },
@@ -7061,7 +7063,7 @@ var script$w = {
7061
7063
  'z-folder': this.isFolder(),
7062
7064
  'z-on': this.isCurrent
7063
7065
  },
7064
- style: 'padding-left:' + $$1.unitSize(this.provideLeafLevel * 16)
7066
+ style: 'padding-left:' + $$1.unitSize((this.provideLeafLevel + 1) * 16)
7065
7067
  };
7066
7068
 
7067
7069
  if (this.inTree()) {