@univerjs/sheets-formula 0.1.6 → 0.1.8
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/README.md +25 -18
- package/lib/cjs/index.js +8 -8
- package/lib/es/index.js +2867 -2890
- package/lib/types/commands/mutations/formula.mutation.d.ts +10 -0
- package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +1 -1
- package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +1 -1
- package/lib/types/controllers/active-dirty.controller.d.ts +6 -2
- package/lib/types/controllers/formula-clipboard.controller.d.ts +5 -4
- package/lib/types/controllers/prompt.controller.d.ts +7 -2
- package/lib/types/controllers/trigger-calculation.controller.d.ts +9 -1
- package/lib/types/controllers/update-formula.controller.d.ts +3 -5
- package/lib/types/controllers/utils/offset-formula-data.d.ts +8 -31
- package/lib/types/controllers/utils/ref-range-formula.d.ts +33 -5
- package/lib/types/formula-ui-plugin.d.ts +5 -5
- package/lib/types/index.d.ts +2 -0
- package/lib/types/locale/en-US.d.ts +17 -17
- package/lib/types/locale/function-list/information/en-US.d.ts +2 -10
- package/lib/types/locale/function-list/information/ja-JP.d.ts +2 -10
- package/lib/types/locale/function-list/information/zh-CN.d.ts +2 -10
- package/lib/types/locale/function-list/statistical/en-US.d.ts +14 -2
- package/lib/types/locale/function-list/statistical/ja-JP.d.ts +14 -2
- package/lib/types/locale/function-list/statistical/zh-CN.d.ts +14 -2
- package/lib/types/locale/function-list/text/en-US.d.ts +1 -5
- package/lib/types/locale/function-list/text/ja-JP.d.ts +1 -5
- package/lib/types/locale/function-list/text/zh-CN.d.ts +1 -5
- package/lib/types/locale/zh-CN.d.ts +17 -17
- package/lib/types/services/formula-common.d.ts +19 -0
- package/lib/types/services/register-other-formula.service.d.ts +27 -0
- package/lib/umd/index.js +8 -8
- package/package.json +27 -28
- package/lib/types/controllers/numfmt-formula-display.controller.d.ts +0 -14
- package/lib/types/controllers/utils/redo-undo-formula-data.d.ts +0 -5
- /package/lib/types/controllers/utils/__tests__/{redo-undo-formula-data.spec.d.ts → ref-range-formula.spec.d.ts} +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IMutation } from '@univerjs/core';
|
|
2
|
+
|
|
3
|
+
export interface IOtherFormulaMarkDirtyParams {
|
|
4
|
+
[unitId: string]: {
|
|
5
|
+
[sunUnitId: string]: {
|
|
6
|
+
[formulaId: string]: boolean;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare const OtherFormulaMarkDirty: IMutation<IOtherFormulaMarkDirtyParams>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dependency } from '@wendellhu/redi';
|
|
2
2
|
import { IWorkbookData, Univer } from '@univerjs/core';
|
|
3
3
|
|
|
4
|
-
export declare function createCommandTestBed(
|
|
4
|
+
export declare function createCommandTestBed(workbookData?: IWorkbookData, dependencies?: Dependency[]): {
|
|
5
5
|
univer: Univer;
|
|
6
6
|
get: {
|
|
7
7
|
<T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp | undefined): T;
|
|
@@ -6,4 +6,4 @@ export interface ITestBed {
|
|
|
6
6
|
get: Injector['get'];
|
|
7
7
|
sheet: Workbook;
|
|
8
8
|
}
|
|
9
|
-
export declare function createCommandTestBed(
|
|
9
|
+
export declare function createCommandTestBed(workbookData?: IWorkbookData, dependencies?: Dependency[]): ITestBed;
|
|
@@ -3,12 +3,16 @@ import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
|
3
3
|
|
|
4
4
|
export declare class ActiveDirtyController extends Disposable {
|
|
5
5
|
private readonly _activeDirtyManagerService;
|
|
6
|
-
private readonly
|
|
6
|
+
private readonly _univerInstanceService;
|
|
7
7
|
private readonly _formulaDataModel;
|
|
8
8
|
private readonly _definedNamesService;
|
|
9
|
-
constructor(_activeDirtyManagerService: IActiveDirtyManagerService,
|
|
9
|
+
constructor(_activeDirtyManagerService: IActiveDirtyManagerService, _univerInstanceService: IUniverInstanceService, _formulaDataModel: FormulaDataModel, _definedNamesService: IDefinedNamesService);
|
|
10
10
|
private _initialize;
|
|
11
11
|
private _initialConversion;
|
|
12
|
+
private _initialMove;
|
|
13
|
+
private _initialRowAndColumn;
|
|
14
|
+
private _initialSheet;
|
|
15
|
+
private _initialDefinedName;
|
|
12
16
|
private _getDefinedNameMutation;
|
|
13
17
|
private _getSetRangeValuesMutationDirtyRange;
|
|
14
18
|
private _getMoveRangeMutationDirtyRange;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IAccessor, Injector } from '@wendellhu/redi';
|
|
2
|
-
import {
|
|
2
|
+
import { COPY_TYPE, ISheetClipboardService, ICellDataWithSpanInfo, IDiscreteRange } from '@univerjs/sheets-ui';
|
|
3
3
|
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
4
|
-
import { IMutationInfo,
|
|
4
|
+
import { IMutationInfo, Disposable, IUniverInstanceService, ObjectMatrix } from '@univerjs/core';
|
|
5
5
|
|
|
6
6
|
export declare const DEFAULT_PASTE_FORMULA = "default-paste-formula";
|
|
7
7
|
export declare class FormulaClipboardController extends Disposable {
|
|
@@ -16,9 +16,10 @@ export declare class FormulaClipboardController extends Disposable {
|
|
|
16
16
|
private _pasteWithFormulaHook;
|
|
17
17
|
private _onPasteCells;
|
|
18
18
|
}
|
|
19
|
-
export declare function getSetCellFormulaMutations(unitId: string, subUnitId: string, range:
|
|
19
|
+
export declare function getSetCellFormulaMutations(unitId: string, subUnitId: string, range: IDiscreteRange, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor, copyInfo: {
|
|
20
20
|
copyType: COPY_TYPE;
|
|
21
|
-
copyRange?:
|
|
21
|
+
copyRange?: IDiscreteRange;
|
|
22
|
+
pasteType: string;
|
|
22
23
|
}, lexerTreeBuilder: LexerTreeBuilder, isSpecialPaste?: boolean): {
|
|
23
24
|
undos: IMutationInfo<object>[];
|
|
24
25
|
redos: IMutationInfo<object>[];
|
|
@@ -19,7 +19,7 @@ export declare class PromptController extends Disposable {
|
|
|
19
19
|
private readonly _themeService;
|
|
20
20
|
private readonly _selectionManagerService;
|
|
21
21
|
private readonly _sheetSkeletonManagerService;
|
|
22
|
-
private readonly
|
|
22
|
+
private readonly _univerInstanceService;
|
|
23
23
|
private readonly _selectionRenderService;
|
|
24
24
|
private readonly _descriptionService;
|
|
25
25
|
private readonly _textSelectionManagerService;
|
|
@@ -40,7 +40,7 @@ export declare class PromptController extends Disposable {
|
|
|
40
40
|
private _userCursorMove;
|
|
41
41
|
private _previousEditorUnitId;
|
|
42
42
|
private _existsSequenceNode;
|
|
43
|
-
constructor(_commandService: ICommandService, _contextService: IContextService, _textSelectionRenderManager: ITextSelectionRenderManager, _editorBridgeService: EditorBridgeService, _formulaPromptService: IFormulaPromptService, _lexerTreeBuilder: LexerTreeBuilder, _renderManagerService: IRenderManagerService, _themeService: ThemeService, _selectionManagerService: SelectionManagerService, _sheetSkeletonManagerService: SheetSkeletonManagerService,
|
|
43
|
+
constructor(_commandService: ICommandService, _contextService: IContextService, _textSelectionRenderManager: ITextSelectionRenderManager, _editorBridgeService: EditorBridgeService, _formulaPromptService: IFormulaPromptService, _lexerTreeBuilder: LexerTreeBuilder, _renderManagerService: IRenderManagerService, _themeService: ThemeService, _selectionManagerService: SelectionManagerService, _sheetSkeletonManagerService: SheetSkeletonManagerService, _univerInstanceService: IUniverInstanceService, _selectionRenderService: ISelectionRenderService, _descriptionService: IDescriptionService, _textSelectionManagerService: TextSelectionManagerService, _docViewModelManagerService: DocViewModelManagerService, _contextMenuService: IContextMenuService, _editorService: IEditorService);
|
|
44
44
|
dispose(): void;
|
|
45
45
|
private _resetTemp;
|
|
46
46
|
private _initialize;
|
|
@@ -104,6 +104,7 @@ export declare class PromptController extends Disposable {
|
|
|
104
104
|
* @param refSelections
|
|
105
105
|
*/
|
|
106
106
|
private _refreshSelectionForReference;
|
|
107
|
+
private _getPrimary;
|
|
107
108
|
private _getSheetIdByName;
|
|
108
109
|
private _getSheetNameById;
|
|
109
110
|
private _getCurrentUnitIdAndSheetId;
|
|
@@ -143,6 +144,10 @@ export declare class PromptController extends Disposable {
|
|
|
143
144
|
private _refreshFormulaAndCellEditor;
|
|
144
145
|
private _setRemainCapture;
|
|
145
146
|
private _cursorStateListener;
|
|
147
|
+
private _pressEnter;
|
|
148
|
+
private _pressTab;
|
|
149
|
+
private _pressEsc;
|
|
150
|
+
private _pressArrowKey;
|
|
146
151
|
private _commandExecutedListener;
|
|
147
152
|
private _moveInEditor;
|
|
148
153
|
private _userMouseListener;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IProgressService } from '@univerjs/ui';
|
|
1
2
|
import { INumfmtService } from '@univerjs/sheets';
|
|
2
3
|
import { FormulaDataModel, IActiveDirtyManagerService } from '@univerjs/engine-formula';
|
|
3
4
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
@@ -7,11 +8,13 @@ export declare class TriggerCalculationController extends Disposable {
|
|
|
7
8
|
private readonly _activeDirtyManagerService;
|
|
8
9
|
private readonly _numfmtService;
|
|
9
10
|
private readonly _formulaDataModel;
|
|
11
|
+
private readonly _progressService;
|
|
10
12
|
private _waitingCommandQueue;
|
|
11
13
|
private _executingCommandQueue;
|
|
12
14
|
private _setTimeoutKey;
|
|
13
15
|
private _startExecutionTime;
|
|
14
|
-
|
|
16
|
+
private _formulaCalculationDoneCount;
|
|
17
|
+
constructor(_commandService: ICommandService, _activeDirtyManagerService: IActiveDirtyManagerService, _numfmtService: INumfmtService, _formulaDataModel: FormulaDataModel, _progressService: IProgressService);
|
|
15
18
|
private _initialize;
|
|
16
19
|
private _commandExecutedListener;
|
|
17
20
|
private _generateDirty;
|
|
@@ -19,4 +22,9 @@ export declare class TriggerCalculationController extends Disposable {
|
|
|
19
22
|
private _mergeDirtyUnitFeatureOrOtherFormulaMap;
|
|
20
23
|
private _initialExecuteFormulaProcessListener;
|
|
21
24
|
private _initialExecuteFormula;
|
|
25
|
+
/**
|
|
26
|
+
* Update progress by completed count
|
|
27
|
+
* @param completedCount
|
|
28
|
+
*/
|
|
29
|
+
private _pushTask;
|
|
22
30
|
}
|
|
@@ -10,22 +10,21 @@ import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/c
|
|
|
10
10
|
*
|
|
11
11
|
2. Use refRange to offset the formula position and return undo/redo data to setRangeValues mutation
|
|
12
12
|
- Redo data: Delete the old value at the old position on the match, and add the new value at the new position (the new value first checks whether the old position has offset content, if so, use the new offset content, if not, take the old value)
|
|
13
|
-
- Undo data: the old position on the match saves the old value, and the new position
|
|
13
|
+
- Undo data: the old position on the match saves the old value, and the new position delete value. Using undos when undoing will operate the data after the offset position.
|
|
14
14
|
|
|
15
15
|
3. onCommandExecuted, before formula calculation, use the setRangeValues information to delete the old formulaData, ArrayFormula and ArrayFormulaCellData, and send the worker (complementary setRangeValues after collaborative conflicts, normal operation triggers formula update, undo/redo are captured and processed here)
|
|
16
16
|
*/
|
|
17
17
|
export declare class UpdateFormulaController extends Disposable {
|
|
18
|
-
private readonly
|
|
18
|
+
private readonly _univerInstanceService;
|
|
19
19
|
private readonly _commandService;
|
|
20
20
|
private readonly _lexerTreeBuilder;
|
|
21
21
|
private readonly _formulaDataModel;
|
|
22
22
|
private _sheetInterceptorService;
|
|
23
23
|
private _selectionManagerService;
|
|
24
24
|
readonly _injector: Injector;
|
|
25
|
-
constructor(
|
|
25
|
+
constructor(_univerInstanceService: IUniverInstanceService, _commandService: ICommandService, _lexerTreeBuilder: LexerTreeBuilder, _formulaDataModel: FormulaDataModel, _sheetInterceptorService: SheetInterceptorService, _selectionManagerService: SelectionManagerService, _injector: Injector);
|
|
26
26
|
private _initialize;
|
|
27
27
|
private _commandExecutedListener;
|
|
28
|
-
private _handleRedoUndo;
|
|
29
28
|
private _handleSetRangeValuesMutation;
|
|
30
29
|
private _handleRemoveSheetMutation;
|
|
31
30
|
private _handleInsertSheetMutation;
|
|
@@ -43,7 +42,6 @@ export declare class UpdateFormulaController extends Disposable {
|
|
|
43
42
|
private _handleDeleteRangeMoveLeft;
|
|
44
43
|
private _handleSetWorksheetName;
|
|
45
44
|
private _handleRemoveWorksheet;
|
|
46
|
-
private _getUpdateFormulaMutations;
|
|
47
45
|
private _getFormulaReferenceMoveInfo;
|
|
48
46
|
private _getNewRangeByMoveParam;
|
|
49
47
|
private _checkIsSameUnitAndSheet;
|
|
@@ -1,37 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { ICommandInfo, IObjectMatrixPrimitiveType, IRange, Nullable, ObjectMatrix } from '@univerjs/core';
|
|
1
|
+
import { IArrayFormulaRangeType, IArrayFormulaUnitCellType, IFormulaData } from '@univerjs/engine-formula';
|
|
2
|
+
import { IRange } from '@univerjs/core';
|
|
4
3
|
|
|
5
|
-
interface IFormulaDataGenerics<T> {
|
|
6
|
-
[unitId: string]: Nullable<{
|
|
7
|
-
[sheetId: string]: IObjectMatrixPrimitiveType<T>;
|
|
8
|
-
}>;
|
|
9
|
-
}
|
|
10
4
|
export interface IRefRangeWithPosition {
|
|
11
5
|
row: number;
|
|
12
6
|
column: number;
|
|
13
7
|
range: IRange;
|
|
14
8
|
}
|
|
15
|
-
export declare function
|
|
16
|
-
export declare function
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export declare function moveRangeUpdateFormulaData<T>(fromRange: IRange, toRange: IRange, fromArrayFormulaCellDataMatrix: ObjectMatrix<T>, toArrayFormulaCellDataMatrix: ObjectMatrix<T>, arrayFormulaRangeMatrix?: ObjectMatrix<IRange>): void;
|
|
22
|
-
/**
|
|
23
|
-
* Handle arrayFormulaRange and arrayFormulaCellData. If removing rows affects the array formula, the array formula cell data needs to be cleared and will be regenerated during recalculation.
|
|
24
|
-
* @param range
|
|
25
|
-
* @param formulaMatrix
|
|
26
|
-
* @param formulaRangeMatrix
|
|
27
|
-
* @param refRanges
|
|
28
|
-
*/
|
|
29
|
-
export declare function removeFormulaArrayRow<T>(range: IRange, formulaMatrix: ObjectMatrix<T>, formulaRangeMatrix: ObjectMatrix<IRange>, refRanges?: IRefRangeWithPosition[]): void;
|
|
30
|
-
/**
|
|
31
|
-
* Handle arrayFormulaRange and arrayFormulaCellData. If removing columns affects the array formula, the array formula cell data needs to be cleared and will be regenerated during recalculation.
|
|
32
|
-
* @param range
|
|
33
|
-
* @param formulaRangeMatrix
|
|
34
|
-
* @param refRanges
|
|
35
|
-
*/
|
|
36
|
-
export declare function removeFormulaArrayColumn<T>(range: IRange, formulaMatrix: ObjectMatrix<T>, formulaRangeMatrix: ObjectMatrix<IRange>, refRanges?: IRefRangeWithPosition[]): void;
|
|
37
|
-
export {};
|
|
9
|
+
export declare function checkFormulaDataNull(formulaData: IFormulaData, unitId: string, sheetId: string): boolean;
|
|
10
|
+
export declare function removeFormulaData(formulaData: IFormulaData | IArrayFormulaRangeType | IArrayFormulaUnitCellType, unitId: string, sheetId: string): {
|
|
11
|
+
[x: string]: {
|
|
12
|
+
[x: string]: null;
|
|
13
|
+
};
|
|
14
|
+
} | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IFormulaData } from '@univerjs/engine-formula';
|
|
2
|
-
import { IMutationInfo, IRange } from '@univerjs/core';
|
|
1
|
+
import { IFormulaData, IFormulaDataItem } from '@univerjs/engine-formula';
|
|
2
|
+
import { ICellData, IMutationInfo, IObjectMatrixPrimitiveType, IRange, Nullable } from '@univerjs/core';
|
|
3
3
|
|
|
4
4
|
export declare enum FormulaReferenceMoveType {
|
|
5
5
|
MoveRange = 0,// range
|
|
@@ -25,6 +25,18 @@ export interface IFormulaReferenceMoveParam {
|
|
|
25
25
|
to?: IRange;
|
|
26
26
|
sheetName?: string;
|
|
27
27
|
}
|
|
28
|
+
export declare function getFormulaReferenceMoveUndoRedo(oldFormulaData: IFormulaData, newFormulaData: IFormulaData, formulaReferenceMoveParam: IFormulaReferenceMoveParam): {
|
|
29
|
+
undos: IMutationInfo<object>[];
|
|
30
|
+
redos: IMutationInfo<object>[];
|
|
31
|
+
};
|
|
32
|
+
export declare function getFormulaReferenceSheet(oldFormulaData: IFormulaData, newFormulaData: IFormulaData): {
|
|
33
|
+
undos: IMutationInfo<object>[];
|
|
34
|
+
redos: IMutationInfo<object>[];
|
|
35
|
+
};
|
|
36
|
+
export declare function getFormulaReferenceRange(oldFormulaData: IFormulaData, newFormulaData: IFormulaData, formulaReferenceMoveParam: IFormulaReferenceMoveParam): {
|
|
37
|
+
undos: IMutationInfo<object>[];
|
|
38
|
+
redos: IMutationInfo<object>[];
|
|
39
|
+
};
|
|
28
40
|
/**
|
|
29
41
|
* For different Command operations, it may be necessary to perform traversal in reverse or in forward order, so first determine the type of Command and then perform traversal.
|
|
30
42
|
* @param oldFormulaData
|
|
@@ -33,6 +45,22 @@ export interface IFormulaReferenceMoveParam {
|
|
|
33
45
|
* @returns
|
|
34
46
|
*/
|
|
35
47
|
export declare function refRangeFormula(oldFormulaData: IFormulaData, newFormulaData: IFormulaData, formulaReferenceMoveParam: IFormulaReferenceMoveParam): {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
48
|
+
redoFormulaData: IObjectMatrixPrimitiveType<Nullable<ICellData>>;
|
|
49
|
+
undoFormulaData: IObjectMatrixPrimitiveType<Nullable<ICellData>>;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Transfer the formulaDataItem to the cellData
|
|
53
|
+
* ┌────────────────────────────────┬─────────────────┐
|
|
54
|
+
* │ IFormulaDataItem │ ICellData │
|
|
55
|
+
* ├──────────────────┬─────┬───┬───┼───────────┬─────┤
|
|
56
|
+
* │ f │ si │ x │ y │ f │ si │
|
|
57
|
+
* ├──────────────────┼─────┼───┼───┼───────────┼─────┤
|
|
58
|
+
* │ =SUM(1) │ │ │ │ =SUM(1) │ │
|
|
59
|
+
* │ │ id1 │ │ │ │ id1 │
|
|
60
|
+
* │ =SUM(1) │ id1 │ │ │ =SUM(1) │ id1 │
|
|
61
|
+
* │ =SUM(1) │ id1 │ 0 │ 0 │ =SUM(1) │ id1 │
|
|
62
|
+
* │ =SUM(1) │ id1 │ 0 │ 1 │ │ id1 │
|
|
63
|
+
* └──────────────────┴─────┴───┴───┴───────────┴─────┘
|
|
64
|
+
*/
|
|
65
|
+
export declare function formulaDataItemToCellData(formulaDataItem: Nullable<IFormulaDataItem>): Nullable<ICellData>;
|
|
66
|
+
export declare function isFormulaDataItem(cell: IFormulaDataItem): boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ctor, Injector } from '@wendellhu/redi';
|
|
2
2
|
import { BaseFunction, IFunctionInfo, IFunctionNames } from '@univerjs/engine-formula';
|
|
3
|
-
import {
|
|
3
|
+
import { LocaleService, Plugin, UniverInstanceType } from '@univerjs/core';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The configuration of the formula UI plugin.
|
|
@@ -13,10 +13,10 @@ export declare class UniverSheetsFormulaPlugin extends Plugin {
|
|
|
13
13
|
private _config;
|
|
14
14
|
readonly _injector: Injector;
|
|
15
15
|
private readonly _localeService;
|
|
16
|
-
|
|
17
|
-
static type:
|
|
18
|
-
constructor(_config: Partial<IFormulaUIConfig>, _injector: Injector, _localeService: LocaleService
|
|
16
|
+
static pluginName: string;
|
|
17
|
+
static type: UniverInstanceType;
|
|
18
|
+
constructor(_config: Partial<IFormulaUIConfig>, _injector: Injector, _localeService: LocaleService);
|
|
19
19
|
initialize(): void;
|
|
20
|
-
|
|
20
|
+
onStarting(): void;
|
|
21
21
|
}
|
|
22
22
|
export {};
|
package/lib/types/index.d.ts
CHANGED
|
@@ -23,3 +23,5 @@ export { RegisterFunctionService } from './services/register-function.service';
|
|
|
23
23
|
export { IRegisterFunctionService } from './services/register-function.service';
|
|
24
24
|
export { FormulaRefRangeService } from './services/formula-ref-range.service';
|
|
25
25
|
export { SPECIAL_PASTE_FORMULA } from './commands/commands/formula-clipboard.command';
|
|
26
|
+
export { RegisterOtherFormulaService } from './services/register-other-formula.service';
|
|
27
|
+
export type { IFormulaInfo, IOtherFormulaResult } from './services/formula-common';
|
|
@@ -1965,11 +1965,7 @@ declare const _default: {
|
|
|
1965
1965
|
url: string;
|
|
1966
1966
|
}[];
|
|
1967
1967
|
functionParameter: {
|
|
1968
|
-
|
|
1969
|
-
name: string;
|
|
1970
|
-
detail: string;
|
|
1971
|
-
};
|
|
1972
|
-
number2: {
|
|
1968
|
+
value: {
|
|
1973
1969
|
name: string;
|
|
1974
1970
|
detail: string;
|
|
1975
1971
|
};
|
|
@@ -2057,11 +2053,7 @@ declare const _default: {
|
|
|
2057
2053
|
url: string;
|
|
2058
2054
|
}[];
|
|
2059
2055
|
functionParameter: {
|
|
2060
|
-
|
|
2061
|
-
name: string;
|
|
2062
|
-
detail: string;
|
|
2063
|
-
};
|
|
2064
|
-
number2: {
|
|
2056
|
+
value: {
|
|
2065
2057
|
name: string;
|
|
2066
2058
|
detail: string;
|
|
2067
2059
|
};
|
|
@@ -2877,11 +2869,7 @@ declare const _default: {
|
|
|
2877
2869
|
url: string;
|
|
2878
2870
|
}[];
|
|
2879
2871
|
functionParameter: {
|
|
2880
|
-
|
|
2881
|
-
name: string;
|
|
2882
|
-
detail: string;
|
|
2883
|
-
};
|
|
2884
|
-
number2: {
|
|
2872
|
+
text: {
|
|
2885
2873
|
name: string;
|
|
2886
2874
|
detail: string;
|
|
2887
2875
|
};
|
|
@@ -5425,11 +5413,23 @@ declare const _default: {
|
|
|
5425
5413
|
url: string;
|
|
5426
5414
|
}[];
|
|
5427
5415
|
functionParameter: {
|
|
5428
|
-
|
|
5416
|
+
maxRange: {
|
|
5429
5417
|
name: string;
|
|
5430
5418
|
detail: string;
|
|
5431
5419
|
};
|
|
5432
|
-
|
|
5420
|
+
criteriaRange1: {
|
|
5421
|
+
name: string;
|
|
5422
|
+
detail: string;
|
|
5423
|
+
};
|
|
5424
|
+
criteria1: {
|
|
5425
|
+
name: string;
|
|
5426
|
+
detail: string;
|
|
5427
|
+
};
|
|
5428
|
+
criteriaRange2: {
|
|
5429
|
+
name: string;
|
|
5430
|
+
detail: string;
|
|
5431
|
+
};
|
|
5432
|
+
criteria2: {
|
|
5433
5433
|
name: string;
|
|
5434
5434
|
detail: string;
|
|
5435
5435
|
};
|
|
@@ -118,11 +118,7 @@ declare const _default: {
|
|
|
118
118
|
url: string;
|
|
119
119
|
}[];
|
|
120
120
|
functionParameter: {
|
|
121
|
-
|
|
122
|
-
name: string;
|
|
123
|
-
detail: string;
|
|
124
|
-
};
|
|
125
|
-
number2: {
|
|
121
|
+
value: {
|
|
126
122
|
name: string;
|
|
127
123
|
detail: string;
|
|
128
124
|
};
|
|
@@ -210,11 +206,7 @@ declare const _default: {
|
|
|
210
206
|
url: string;
|
|
211
207
|
}[];
|
|
212
208
|
functionParameter: {
|
|
213
|
-
|
|
214
|
-
name: string;
|
|
215
|
-
detail: string;
|
|
216
|
-
};
|
|
217
|
-
number2: {
|
|
209
|
+
value: {
|
|
218
210
|
name: string;
|
|
219
211
|
detail: string;
|
|
220
212
|
};
|
|
@@ -126,11 +126,7 @@ declare const _default: {
|
|
|
126
126
|
url: string;
|
|
127
127
|
}[];
|
|
128
128
|
functionParameter: {
|
|
129
|
-
|
|
130
|
-
name: string;
|
|
131
|
-
detail: string;
|
|
132
|
-
};
|
|
133
|
-
number2: {
|
|
129
|
+
value: {
|
|
134
130
|
name: string;
|
|
135
131
|
detail: string;
|
|
136
132
|
};
|
|
@@ -234,11 +230,7 @@ declare const _default: {
|
|
|
234
230
|
url: string;
|
|
235
231
|
}[];
|
|
236
232
|
functionParameter: {
|
|
237
|
-
|
|
238
|
-
name: string;
|
|
239
|
-
detail: string;
|
|
240
|
-
};
|
|
241
|
-
number2: {
|
|
233
|
+
value: {
|
|
242
234
|
name: string;
|
|
243
235
|
detail: string;
|
|
244
236
|
};
|
|
@@ -118,11 +118,7 @@ declare const _default: {
|
|
|
118
118
|
url: string;
|
|
119
119
|
}[];
|
|
120
120
|
functionParameter: {
|
|
121
|
-
|
|
122
|
-
name: string;
|
|
123
|
-
detail: string;
|
|
124
|
-
};
|
|
125
|
-
number2: {
|
|
121
|
+
value: {
|
|
126
122
|
name: string;
|
|
127
123
|
detail: string;
|
|
128
124
|
};
|
|
@@ -210,11 +206,7 @@ declare const _default: {
|
|
|
210
206
|
url: string;
|
|
211
207
|
}[];
|
|
212
208
|
functionParameter: {
|
|
213
|
-
|
|
214
|
-
name: string;
|
|
215
|
-
detail: string;
|
|
216
|
-
};
|
|
217
|
-
number2: {
|
|
209
|
+
value: {
|
|
218
210
|
name: string;
|
|
219
211
|
detail: string;
|
|
220
212
|
};
|
|
@@ -1102,11 +1102,23 @@ declare const _default: {
|
|
|
1102
1102
|
url: string;
|
|
1103
1103
|
}[];
|
|
1104
1104
|
functionParameter: {
|
|
1105
|
-
|
|
1105
|
+
maxRange: {
|
|
1106
1106
|
name: string;
|
|
1107
1107
|
detail: string;
|
|
1108
1108
|
};
|
|
1109
|
-
|
|
1109
|
+
criteriaRange1: {
|
|
1110
|
+
name: string;
|
|
1111
|
+
detail: string;
|
|
1112
|
+
};
|
|
1113
|
+
criteria1: {
|
|
1114
|
+
name: string;
|
|
1115
|
+
detail: string;
|
|
1116
|
+
};
|
|
1117
|
+
criteriaRange2: {
|
|
1118
|
+
name: string;
|
|
1119
|
+
detail: string;
|
|
1120
|
+
};
|
|
1121
|
+
criteria2: {
|
|
1110
1122
|
name: string;
|
|
1111
1123
|
detail: string;
|
|
1112
1124
|
};
|
|
@@ -1102,11 +1102,23 @@ declare const _default: {
|
|
|
1102
1102
|
url: string;
|
|
1103
1103
|
}[];
|
|
1104
1104
|
functionParameter: {
|
|
1105
|
-
|
|
1105
|
+
maxRange: {
|
|
1106
1106
|
name: string;
|
|
1107
1107
|
detail: string;
|
|
1108
1108
|
};
|
|
1109
|
-
|
|
1109
|
+
criteriaRange1: {
|
|
1110
|
+
name: string;
|
|
1111
|
+
detail: string;
|
|
1112
|
+
};
|
|
1113
|
+
criteria1: {
|
|
1114
|
+
name: string;
|
|
1115
|
+
detail: string;
|
|
1116
|
+
};
|
|
1117
|
+
criteriaRange2: {
|
|
1118
|
+
name: string;
|
|
1119
|
+
detail: string;
|
|
1120
|
+
};
|
|
1121
|
+
criteria2: {
|
|
1110
1122
|
name: string;
|
|
1111
1123
|
detail: string;
|
|
1112
1124
|
};
|
|
@@ -1102,11 +1102,23 @@ declare const _default: {
|
|
|
1102
1102
|
url: string;
|
|
1103
1103
|
}[];
|
|
1104
1104
|
functionParameter: {
|
|
1105
|
-
|
|
1105
|
+
maxRange: {
|
|
1106
1106
|
name: string;
|
|
1107
1107
|
detail: string;
|
|
1108
1108
|
};
|
|
1109
|
-
|
|
1109
|
+
criteriaRange1: {
|
|
1110
|
+
name: string;
|
|
1111
|
+
detail: string;
|
|
1112
|
+
};
|
|
1113
|
+
criteria1: {
|
|
1114
|
+
name: string;
|
|
1115
|
+
detail: string;
|
|
1116
|
+
};
|
|
1117
|
+
criteriaRange2: {
|
|
1118
|
+
name: string;
|
|
1119
|
+
detail: string;
|
|
1120
|
+
};
|
|
1121
|
+
criteria2: {
|
|
1110
1122
|
name: string;
|
|
1111
1123
|
detail: string;
|
|
1112
1124
|
};
|
|
@@ -1965,11 +1965,7 @@ declare const _default: {
|
|
|
1965
1965
|
url: string;
|
|
1966
1966
|
}[];
|
|
1967
1967
|
functionParameter: {
|
|
1968
|
-
|
|
1969
|
-
name: string;
|
|
1970
|
-
detail: string;
|
|
1971
|
-
};
|
|
1972
|
-
number2: {
|
|
1968
|
+
value: {
|
|
1973
1969
|
name: string;
|
|
1974
1970
|
detail: string;
|
|
1975
1971
|
};
|
|
@@ -2057,11 +2053,7 @@ declare const _default: {
|
|
|
2057
2053
|
url: string;
|
|
2058
2054
|
}[];
|
|
2059
2055
|
functionParameter: {
|
|
2060
|
-
|
|
2061
|
-
name: string;
|
|
2062
|
-
detail: string;
|
|
2063
|
-
};
|
|
2064
|
-
number2: {
|
|
2056
|
+
value: {
|
|
2065
2057
|
name: string;
|
|
2066
2058
|
detail: string;
|
|
2067
2059
|
};
|
|
@@ -2877,11 +2869,7 @@ declare const _default: {
|
|
|
2877
2869
|
url: string;
|
|
2878
2870
|
}[];
|
|
2879
2871
|
functionParameter: {
|
|
2880
|
-
|
|
2881
|
-
name: string;
|
|
2882
|
-
detail: string;
|
|
2883
|
-
};
|
|
2884
|
-
number2: {
|
|
2872
|
+
text: {
|
|
2885
2873
|
name: string;
|
|
2886
2874
|
detail: string;
|
|
2887
2875
|
};
|
|
@@ -5425,11 +5413,23 @@ declare const _default: {
|
|
|
5425
5413
|
url: string;
|
|
5426
5414
|
}[];
|
|
5427
5415
|
functionParameter: {
|
|
5428
|
-
|
|
5416
|
+
maxRange: {
|
|
5429
5417
|
name: string;
|
|
5430
5418
|
detail: string;
|
|
5431
5419
|
};
|
|
5432
|
-
|
|
5420
|
+
criteriaRange1: {
|
|
5421
|
+
name: string;
|
|
5422
|
+
detail: string;
|
|
5423
|
+
};
|
|
5424
|
+
criteria1: {
|
|
5425
|
+
name: string;
|
|
5426
|
+
detail: string;
|
|
5427
|
+
};
|
|
5428
|
+
criteriaRange2: {
|
|
5429
|
+
name: string;
|
|
5430
|
+
detail: string;
|
|
5431
|
+
};
|
|
5432
|
+
criteria2: {
|
|
5433
5433
|
name: string;
|
|
5434
5434
|
detail: string;
|
|
5435
5435
|
};
|