@univerjs/engine-formula 0.12.0-nightly.202511220628 → 0.12.0

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.
Files changed (28) hide show
  1. package/LICENSE +176 -0
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/es/index.js +9058 -9346
  4. package/lib/index.js +9058 -9346
  5. package/lib/types/basics/common.d.ts +0 -12
  6. package/lib/types/basics/statistical.d.ts +0 -53
  7. package/lib/types/engine/analysis/lexer-tree-builder.d.ts +0 -6
  8. package/lib/types/engine/value-object/array-value-object.d.ts +0 -5
  9. package/lib/types/engine/value-object/base-value-object.d.ts +0 -1
  10. package/lib/types/engine/value-object/primitive-object.d.ts +2 -23
  11. package/lib/types/functions/math/subtotal/index.d.ts +16 -4
  12. package/lib/types/functions/statistical/large/index.d.ts +1 -0
  13. package/lib/types/functions/statistical/median/index.d.ts +1 -0
  14. package/lib/types/functions/statistical/mode-sngl/index.d.ts +1 -0
  15. package/lib/types/functions/statistical/percentile-exc/index.d.ts +1 -0
  16. package/lib/types/functions/statistical/percentile-inc/index.d.ts +1 -0
  17. package/lib/types/functions/statistical/quartile-exc/index.d.ts +1 -0
  18. package/lib/types/functions/statistical/quartile-inc/index.d.ts +1 -0
  19. package/lib/types/functions/statistical/small/index.d.ts +1 -0
  20. package/lib/types/index.d.ts +2 -3
  21. package/lib/types/models/formula-data.model.d.ts +1 -6
  22. package/lib/types/services/current-data.service.d.ts +1 -3
  23. package/lib/types/services/runtime.service.d.ts +1 -5
  24. package/lib/umd/index.js +1 -1
  25. package/package.json +3 -3
  26. package/lib/types/commands/mutations/set-image-formula-data.mutation.d.ts +0 -9
  27. package/lib/types/functions/lookup/image/index.d.ts +0 -8
  28. package/lib/types/functions/math/aggregate/index.d.ts +0 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/engine-formula",
3
- "version": "0.12.0-nightly.202511220628",
3
+ "version": "0.12.0",
4
4
  "private": false,
5
5
  "description": "UniverSheet normal base-formula-engine",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -60,8 +60,8 @@
60
60
  "dependencies": {
61
61
  "@flatten-js/interval-tree": "^1.1.3",
62
62
  "decimal.js": "^10.6.0",
63
- "@univerjs/core": "0.12.0-nightly.202511220628",
64
- "@univerjs/rpc": "0.12.0-nightly.202511220628"
63
+ "@univerjs/core": "0.12.0",
64
+ "@univerjs/rpc": "0.12.0"
65
65
  },
66
66
  "devDependencies": {
67
67
  "rxjs": "^7.8.2",
@@ -1,9 +0,0 @@
1
- import { IMutation } from '@univerjs/core';
2
- import { IRuntimeImageFormulaDataType } from '../../basics/common';
3
- export interface ISetImageFormulaDataMutationParams {
4
- imageFormulaData: IRuntimeImageFormulaDataType[];
5
- }
6
- /**
7
- * There is no need to process data here, it is used as the main thread to send data to the worker. The main thread has already updated the data in advance, and there is no need to update it again here.
8
- */
9
- export declare const SetImageFormulaDataMutation: IMutation<ISetImageFormulaDataMutationParams>;
@@ -1,8 +0,0 @@
1
- import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
- import { BaseFunction } from '../../base-function';
3
- export declare class ImageFunction extends BaseFunction {
4
- minParams: number;
5
- maxParams: number;
6
- calculate(source: BaseValueObject, altText?: BaseValueObject, sizing?: BaseValueObject, height?: BaseValueObject, width?: BaseValueObject): BaseValueObject;
7
- private _handleSingleObject;
8
- }
@@ -1,14 +0,0 @@
1
- import { FunctionVariantType } from '../../../engine/reference-object/base-reference-object';
2
- import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
- import { BaseFunction } from '../../base-function';
4
- export declare class Aggregate extends BaseFunction {
5
- minParams: number;
6
- maxParams: number;
7
- needsReferenceObject: boolean;
8
- needsFilteredOutRows: boolean;
9
- needsFormulaDataModel: boolean;
10
- calculate(functionNum: FunctionVariantType, options: FunctionVariantType, ...refs: FunctionVariantType[]): BaseValueObject;
11
- private _handleSingleObject;
12
- private _getAggregateOptions;
13
- private _handleLargeSmallPercentileQuartile;
14
- }