@univerjs/ui 0.15.0-insiders.20260110-48b77c8 → 0.15.1-insiders.20260117-8ce4a01
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
|
@@ -8443,13 +8443,12 @@ class cr extends d1 {
|
|
|
8443
8443
|
constructor(n, r, i, o, s) {
|
|
8444
8444
|
super();
|
|
8445
8445
|
B(this, "_steadyTimeout");
|
|
8446
|
-
B(this, "_renderedTimeout");
|
|
8447
8446
|
B(this, "_renderTimeout");
|
|
8448
8447
|
B(this, "_currentRenderId", null);
|
|
8449
8448
|
this._injector = n, this._instanceService = r, this._layoutService = i, this._lifecycleService = o, this._renderManagerService = s;
|
|
8450
8449
|
}
|
|
8451
8450
|
dispose() {
|
|
8452
|
-
super.dispose(), clearTimeout(this._steadyTimeout), clearTimeout(this.
|
|
8451
|
+
super.dispose(), clearTimeout(this._steadyTimeout), clearTimeout(this._renderTimeout), delete this._instanceService, delete this._layoutService, delete this._lifecycleService, delete this._renderManagerService;
|
|
8453
8452
|
}
|
|
8454
8453
|
_bootstrapWorkbench() {
|
|
8455
8454
|
this.disposeWithMe(this.bootstrap(async (n, r) => {
|
|
@@ -8466,14 +8465,12 @@ class cr extends d1 {
|
|
|
8466
8465
|
o.unitId === ((s = this._instanceService.getFocusedUnit()) == null ? void 0 : s.getUnitId()) && this._changeRenderUnit(o.unitId, n);
|
|
8467
8466
|
})), this.disposeWithMe(this._renderManagerService.disposed$.subscribe((o) => {
|
|
8468
8467
|
this._currentRenderId === o && (this._currentRenderId = null);
|
|
8469
|
-
})), this.
|
|
8470
|
-
this._lifecycleService.stage = p3.
|
|
8471
|
-
|
|
8472
|
-
}, Ei);
|
|
8473
|
-
}, 0);
|
|
8468
|
+
})), this._lifecycleService.stage = p3.Rendered, this._steadyTimeout = window.setTimeout(() => {
|
|
8469
|
+
this._lifecycleService.stage = p3.Steady;
|
|
8470
|
+
}, Ei);
|
|
8474
8471
|
}, 300);
|
|
8475
8472
|
} catch (i) {
|
|
8476
|
-
if (clearTimeout(this._steadyTimeout), clearTimeout(this.
|
|
8473
|
+
if (clearTimeout(this._steadyTimeout), clearTimeout(this._renderTimeout), i instanceof I2)
|
|
8477
8474
|
return;
|
|
8478
8475
|
throw i;
|
|
8479
8476
|
}
|
package/lib/index.js
CHANGED
|
@@ -8443,13 +8443,12 @@ class cr extends d1 {
|
|
|
8443
8443
|
constructor(n, r, i, o, s) {
|
|
8444
8444
|
super();
|
|
8445
8445
|
B(this, "_steadyTimeout");
|
|
8446
|
-
B(this, "_renderedTimeout");
|
|
8447
8446
|
B(this, "_renderTimeout");
|
|
8448
8447
|
B(this, "_currentRenderId", null);
|
|
8449
8448
|
this._injector = n, this._instanceService = r, this._layoutService = i, this._lifecycleService = o, this._renderManagerService = s;
|
|
8450
8449
|
}
|
|
8451
8450
|
dispose() {
|
|
8452
|
-
super.dispose(), clearTimeout(this._steadyTimeout), clearTimeout(this.
|
|
8451
|
+
super.dispose(), clearTimeout(this._steadyTimeout), clearTimeout(this._renderTimeout), delete this._instanceService, delete this._layoutService, delete this._lifecycleService, delete this._renderManagerService;
|
|
8453
8452
|
}
|
|
8454
8453
|
_bootstrapWorkbench() {
|
|
8455
8454
|
this.disposeWithMe(this.bootstrap(async (n, r) => {
|
|
@@ -8466,14 +8465,12 @@ class cr extends d1 {
|
|
|
8466
8465
|
o.unitId === ((s = this._instanceService.getFocusedUnit()) == null ? void 0 : s.getUnitId()) && this._changeRenderUnit(o.unitId, n);
|
|
8467
8466
|
})), this.disposeWithMe(this._renderManagerService.disposed$.subscribe((o) => {
|
|
8468
8467
|
this._currentRenderId === o && (this._currentRenderId = null);
|
|
8469
|
-
})), this.
|
|
8470
|
-
this._lifecycleService.stage = p3.
|
|
8471
|
-
|
|
8472
|
-
}, Ei);
|
|
8473
|
-
}, 0);
|
|
8468
|
+
})), this._lifecycleService.stage = p3.Rendered, this._steadyTimeout = window.setTimeout(() => {
|
|
8469
|
+
this._lifecycleService.stage = p3.Steady;
|
|
8470
|
+
}, Ei);
|
|
8474
8471
|
}, 300);
|
|
8475
8472
|
} catch (i) {
|
|
8476
|
-
if (clearTimeout(this._steadyTimeout), clearTimeout(this.
|
|
8473
|
+
if (clearTimeout(this._steadyTimeout), clearTimeout(this._renderTimeout), i instanceof I2)
|
|
8477
8474
|
return;
|
|
8478
8475
|
throw i;
|
|
8479
8476
|
}
|
|
@@ -11,7 +11,6 @@ export declare abstract class SingleUnitUIController extends Disposable {
|
|
|
11
11
|
protected readonly _lifecycleService: LifecycleService;
|
|
12
12
|
protected readonly _renderManagerService: IRenderManagerService;
|
|
13
13
|
protected _steadyTimeout: number;
|
|
14
|
-
protected _renderedTimeout: number;
|
|
15
14
|
protected _renderTimeout: number;
|
|
16
15
|
constructor(_injector: Injector, _instanceService: IUniverInstanceService, _layoutService: ILayoutService, _lifecycleService: LifecycleService, _renderManagerService: IRenderManagerService);
|
|
17
16
|
dispose(): void;
|