@univerjs/engine-formula 0.15.0 → 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/cjs/index.js +1 -1
- package/lib/es/facade.js +2 -15
- package/lib/es/index.js +4832 -4821
- package/lib/facade.js +2 -15
- package/lib/index.js +4832 -4821
- package/lib/types/engine/dependency/formula-dependency.d.ts +6 -3
- package/lib/types/engine/reference-object/base-reference-object.d.ts +2 -12
- package/lib/types/engine/reference-object/multi-area-reference-object.d.ts +2 -12
- package/lib/types/facade/f-formula.d.ts +2 -15
- package/lib/types/index.d.ts +1 -0
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
- package/LICENSE +0 -176
package/lib/es/facade.js
CHANGED
|
@@ -123,20 +123,7 @@ let m = class extends C {
|
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
|
-
*
|
|
127
|
-
* but also other computing tasks, e.g. pivot table calculation.
|
|
128
|
-
* @param {number} [timeout] The maximum time to wait for the computing to complete, in milliseconds. The default
|
|
129
|
-
* value is 30,000 milliseconds.
|
|
130
|
-
* @returns {Promise<boolean>} This method returns `true` if the computing is complete. If the timeout is reached, this
|
|
131
|
-
* method returns `false`.
|
|
132
|
-
*
|
|
133
|
-
* @example
|
|
134
|
-
* ```ts
|
|
135
|
-
* const formulaEngine = univerAPI.getFormula();
|
|
136
|
-
* formulaEngine.whenComputingCompleteAsync(3000).then((isComplete) => {
|
|
137
|
-
* console.log('Computing complete:', isComplete);
|
|
138
|
-
* });
|
|
139
|
-
* ```
|
|
126
|
+
* @deprecated Use `onCalculationEnd` instead.
|
|
140
127
|
*/
|
|
141
128
|
whenComputingCompleteAsync(e) {
|
|
142
129
|
const t = this._injector.get(b);
|
|
@@ -146,7 +133,7 @@ let m = class extends C {
|
|
|
146
133
|
));
|
|
147
134
|
}
|
|
148
135
|
/**
|
|
149
|
-
*
|
|
136
|
+
* Waits for the formula calculation to complete.
|
|
150
137
|
* @returns {Promise<void>} This method returns a promise that resolves when the calculation is complete.
|
|
151
138
|
*/
|
|
152
139
|
onCalculationEnd() {
|