@univerjs/engine-formula 0.15.0-insiders.20260108-7b9120d → 0.15.0-insiders.20260110-48b77c8
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/cjs/index.js +1 -1
- package/lib/es/facade.js +2 -1
- package/lib/es/index.js +4 -3
- package/lib/facade.js +2 -1
- package/lib/index.js +4 -3
- package/lib/types/facade/f-formula.d.ts +2 -1
- package/lib/umd/index.js +1 -1
- package/package.json +3 -3
package/lib/es/facade.js
CHANGED
|
@@ -123,6 +123,7 @@ let m = class extends C {
|
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
|
+
* @deprecated Use `onCalculationEnd` instead.
|
|
126
127
|
* Wait for computing in the Univer instance to complete. Please note that this does not only include formula calculation,
|
|
127
128
|
* but also other computing tasks, e.g. pivot table calculation.
|
|
128
129
|
* @param {number} [timeout] The maximum time to wait for the computing to complete, in milliseconds. The default
|
|
@@ -146,7 +147,7 @@ let m = class extends C {
|
|
|
146
147
|
));
|
|
147
148
|
}
|
|
148
149
|
/**
|
|
149
|
-
*
|
|
150
|
+
* Waits for the formula calculation to complete.
|
|
150
151
|
* @returns {Promise<void>} This method returns a promise that resolves when the calculation is complete.
|
|
151
152
|
*/
|
|
152
153
|
onCalculationEnd() {
|
package/lib/es/index.js
CHANGED
|
@@ -9412,9 +9412,10 @@ class Gh extends qe {
|
|
|
9412
9412
|
return oe.VALUE;
|
|
9413
9413
|
}
|
|
9414
9414
|
execute() {
|
|
9415
|
-
var
|
|
9416
|
-
const a =
|
|
9417
|
-
|
|
9415
|
+
var t, r;
|
|
9416
|
+
const a = this.getParent();
|
|
9417
|
+
let e = !0;
|
|
9418
|
+
(a == null ? void 0 : a.nodeType) === oe.FUNCTION && (e = (r = (t = a.isFunctionExecutorArgumentsIgnoreNumberPattern) == null ? void 0 : t.call(a)) != null ? r : !0), this.setValue(jt.create(this.getToken(), e));
|
|
9418
9419
|
}
|
|
9419
9420
|
}
|
|
9420
9421
|
class Ru extends Mt {
|
package/lib/facade.js
CHANGED
|
@@ -123,6 +123,7 @@ let m = class extends C {
|
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
|
+
* @deprecated Use `onCalculationEnd` instead.
|
|
126
127
|
* Wait for computing in the Univer instance to complete. Please note that this does not only include formula calculation,
|
|
127
128
|
* but also other computing tasks, e.g. pivot table calculation.
|
|
128
129
|
* @param {number} [timeout] The maximum time to wait for the computing to complete, in milliseconds. The default
|
|
@@ -146,7 +147,7 @@ let m = class extends C {
|
|
|
146
147
|
));
|
|
147
148
|
}
|
|
148
149
|
/**
|
|
149
|
-
*
|
|
150
|
+
* Waits for the formula calculation to complete.
|
|
150
151
|
* @returns {Promise<void>} This method returns a promise that resolves when the calculation is complete.
|
|
151
152
|
*/
|
|
152
153
|
onCalculationEnd() {
|
package/lib/index.js
CHANGED
|
@@ -9412,9 +9412,10 @@ class Gh extends qe {
|
|
|
9412
9412
|
return oe.VALUE;
|
|
9413
9413
|
}
|
|
9414
9414
|
execute() {
|
|
9415
|
-
var
|
|
9416
|
-
const a =
|
|
9417
|
-
|
|
9415
|
+
var t, r;
|
|
9416
|
+
const a = this.getParent();
|
|
9417
|
+
let e = !0;
|
|
9418
|
+
(a == null ? void 0 : a.nodeType) === oe.FUNCTION && (e = (r = (t = a.isFunctionExecutorArgumentsIgnoreNumberPattern) == null ? void 0 : t.call(a)) != null ? r : !0), this.setValue(jt.create(this.getToken(), e));
|
|
9418
9419
|
}
|
|
9419
9420
|
}
|
|
9420
9421
|
class Ru extends Mt {
|
|
@@ -101,6 +101,7 @@ export declare class FFormula extends FBase {
|
|
|
101
101
|
*/
|
|
102
102
|
calculationEnd(callback: (functionsExecutedState: FormulaExecutedStateType) => void): IDisposable;
|
|
103
103
|
/**
|
|
104
|
+
* @deprecated Use `onCalculationEnd` instead.
|
|
104
105
|
* Wait for computing in the Univer instance to complete. Please note that this does not only include formula calculation,
|
|
105
106
|
* but also other computing tasks, e.g. pivot table calculation.
|
|
106
107
|
* @param {number} [timeout] The maximum time to wait for the computing to complete, in milliseconds. The default
|
|
@@ -118,7 +119,7 @@ export declare class FFormula extends FBase {
|
|
|
118
119
|
*/
|
|
119
120
|
whenComputingCompleteAsync(timeout?: number): Promise<boolean>;
|
|
120
121
|
/**
|
|
121
|
-
*
|
|
122
|
+
* Waits for the formula calculation to complete.
|
|
122
123
|
* @returns {Promise<void>} This method returns a promise that resolves when the calculation is complete.
|
|
123
124
|
*/
|
|
124
125
|
onCalculationEnd(): Promise<void>;
|