@univerjs/sheets-ui 0.6.10-nightly.202504221607 → 0.6.10-nightly.202504231607

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/es/index.js CHANGED
@@ -21534,7 +21534,7 @@ let bl = class extends ae {
21534
21534
  w(this, "_rangeProtectionCanNotViewRenderExtension", new vM());
21535
21535
  this._context = e, this._rangeProtectionRuleModel = t, this._sheetSkeletonManagerService = r, this._permissionService = i, this._configService = o;
21536
21536
  const s = this._configService.getConfig(tn);
21537
- (l = s == null ? void 0 : s.customComponents) != null && l.has(hu) || (this._initRender(), this._initSkeleton(), this.disposeWithMe(this._rangeProtectionRuleModel.ruleChange$.subscribe((a) => {
21537
+ this._initSkeleton(), !((l = s == null ? void 0 : s.customComponents) != null && l.has(hu)) && (this._initRender(), this.disposeWithMe(this._rangeProtectionRuleModel.ruleChange$.subscribe((a) => {
21538
21538
  var c, d;
21539
21539
  ((c = a.oldRule) != null && c.id && this._rangeProtectionCanViewRenderExtension.renderCache.has(a.oldRule.id) || this._rangeProtectionCanViewRenderExtension.renderCache.has(a.rule.id)) && this._rangeProtectionCanViewRenderExtension.clearCache(), ((d = a.oldRule) != null && d.id && this._rangeProtectionCanNotViewRenderExtension.renderCache.has(a.oldRule.id) || this._rangeProtectionCanNotViewRenderExtension.renderCache.has(a.rule.id)) && this._rangeProtectionCanNotViewRenderExtension.clearCache();
21540
21540
  })));
@@ -21568,7 +21568,7 @@ let _l = class extends ae {
21568
21568
  w(this, "_worksheetProtectionRenderExtension", new bM());
21569
21569
  this._context = e, this._renderManagerService = t, this._univerInstanceService = r, this._sheetSkeletonManagerService = i, this._worksheetProtectionRuleModel = o, this._configService = s;
21570
21570
  const l = this._configService.getConfig(tn);
21571
- (a = l == null ? void 0 : l.customComponents) != null && a.has(hu) || (this._initRender(), this._initSkeleton());
21571
+ this._initSkeleton(), !((a = l == null ? void 0 : l.customComponents) != null && a.has(hu)) && this._initRender();
21572
21572
  }
21573
21573
  _initRender() {
21574
21574
  const e = this._context.unitId, t = e && this._renderManagerService.getRenderById(e), r = t && t.mainComponent;
package/lib/index.js CHANGED
@@ -21534,7 +21534,7 @@ let bl = class extends ae {
21534
21534
  w(this, "_rangeProtectionCanNotViewRenderExtension", new vM());
21535
21535
  this._context = e, this._rangeProtectionRuleModel = t, this._sheetSkeletonManagerService = r, this._permissionService = i, this._configService = o;
21536
21536
  const s = this._configService.getConfig(tn);
21537
- (l = s == null ? void 0 : s.customComponents) != null && l.has(hu) || (this._initRender(), this._initSkeleton(), this.disposeWithMe(this._rangeProtectionRuleModel.ruleChange$.subscribe((a) => {
21537
+ this._initSkeleton(), !((l = s == null ? void 0 : s.customComponents) != null && l.has(hu)) && (this._initRender(), this.disposeWithMe(this._rangeProtectionRuleModel.ruleChange$.subscribe((a) => {
21538
21538
  var c, d;
21539
21539
  ((c = a.oldRule) != null && c.id && this._rangeProtectionCanViewRenderExtension.renderCache.has(a.oldRule.id) || this._rangeProtectionCanViewRenderExtension.renderCache.has(a.rule.id)) && this._rangeProtectionCanViewRenderExtension.clearCache(), ((d = a.oldRule) != null && d.id && this._rangeProtectionCanNotViewRenderExtension.renderCache.has(a.oldRule.id) || this._rangeProtectionCanNotViewRenderExtension.renderCache.has(a.rule.id)) && this._rangeProtectionCanNotViewRenderExtension.clearCache();
21540
21540
  })));
@@ -21568,7 +21568,7 @@ let _l = class extends ae {
21568
21568
  w(this, "_worksheetProtectionRenderExtension", new bM());
21569
21569
  this._context = e, this._renderManagerService = t, this._univerInstanceService = r, this._sheetSkeletonManagerService = i, this._worksheetProtectionRuleModel = o, this._configService = s;
21570
21570
  const l = this._configService.getConfig(tn);
21571
- (a = l == null ? void 0 : l.customComponents) != null && a.has(hu) || (this._initRender(), this._initSkeleton());
21571
+ this._initSkeleton(), !((a = l == null ? void 0 : l.customComponents) != null && a.has(hu)) && this._initRender();
21572
21572
  }
21573
21573
  _initRender() {
21574
21574
  const e = this._context.unitId, t = e && this._renderManagerService.getRenderById(e), r = t && t.mainComponent;