@univerjs/sheets-formula 0.2.7 → 0.2.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/lib/cjs/index.js +2 -2
- package/lib/es/index.js +880 -366
- package/lib/locale/en-US.json +616 -332
- package/lib/locale/ru-RU.json +616 -332
- package/lib/locale/vi-VN.json +624 -340
- package/lib/locale/zh-CN.json +624 -340
- package/lib/locale/zh-TW.json +624 -340
- package/lib/types/commands/commands/formula-clipboard.command.d.ts +0 -1
- package/lib/types/commands/commands/insert-function.command.d.ts +0 -1
- package/lib/types/commands/mutations/formula.mutation.d.ts +0 -1
- package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +0 -1
- package/lib/types/commands/operations/editor-formula.operation.d.ts +0 -1
- package/lib/types/commands/operations/help-function.operation.d.ts +0 -1
- package/lib/types/commands/operations/insert-function.operation.d.ts +0 -1
- package/lib/types/commands/operations/more-functions.operation.d.ts +0 -1
- package/lib/types/commands/operations/reference-absolute.operation.d.ts +0 -1
- package/lib/types/commands/operations/search-function.operation.d.ts +0 -1
- package/lib/types/common/selection.d.ts +0 -1
- package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +0 -1
- package/lib/types/controllers/active-dirty.controller.d.ts +0 -1
- package/lib/types/controllers/array-formula-display.controller.d.ts +0 -1
- package/lib/types/controllers/defined-name.controller.d.ts +0 -1
- package/lib/types/controllers/formula-alert-render.controller.d.ts +0 -1
- package/lib/types/controllers/formula-auto-fill.controller.d.ts +0 -1
- package/lib/types/controllers/formula-clipboard.controller.d.ts +0 -1
- package/lib/types/controllers/formula-editor-show.controller.d.ts +0 -1
- package/lib/types/controllers/formula-render.controller.d.ts +0 -1
- package/lib/types/controllers/formula-ui.controller.d.ts +0 -1
- package/lib/types/controllers/menu.d.ts +0 -1
- package/lib/types/controllers/prompt.controller.d.ts +4 -1
- package/lib/types/controllers/shortcuts/prompt.shortcut.d.ts +0 -1
- package/lib/types/controllers/trigger-calculation.controller.d.ts +0 -1
- package/lib/types/controllers/update-formula.controller.d.ts +0 -1
- package/lib/types/controllers/utils/offset-formula-data.d.ts +0 -1
- package/lib/types/controllers/utils/ref-range-formula.d.ts +0 -1
- package/lib/types/controllers/utils/utils.d.ts +0 -1
- package/lib/types/formula-ui-plugin.d.ts +0 -1
- package/lib/types/locale/en-US.d.ts +408 -124
- package/lib/types/locale/function-list/array/ru-RU.d.ts +0 -1
- package/lib/types/locale/function-list/compatibility/ru-RU.d.ts +0 -1
- package/lib/types/locale/function-list/date/ru-RU.d.ts +0 -1
- package/lib/types/locale/function-list/engineering/en-US.d.ts +50 -66
- package/lib/types/locale/function-list/engineering/ja-JP.d.ts +50 -66
- package/lib/types/locale/function-list/engineering/ru-RU.d.ts +0 -1
- package/lib/types/locale/function-list/engineering/vi-VN.d.ts +50 -66
- package/lib/types/locale/function-list/engineering/zh-CN.d.ts +50 -66
- package/lib/types/locale/function-list/engineering/zh-TW.d.ts +50 -66
- package/lib/types/locale/function-list/financial/en-US.d.ts +344 -56
- package/lib/types/locale/function-list/financial/ja-JP.d.ts +344 -56
- package/lib/types/locale/function-list/financial/ru-RU.d.ts +0 -1
- package/lib/types/locale/function-list/financial/vi-VN.d.ts +344 -56
- package/lib/types/locale/function-list/financial/zh-CN.d.ts +344 -56
- package/lib/types/locale/function-list/financial/zh-TW.d.ts +344 -56
- package/lib/types/locale/function-list/information/ru-RU.d.ts +0 -1
- package/lib/types/locale/function-list/logical/en-US.d.ts +14 -2
- package/lib/types/locale/function-list/logical/ja-JP.d.ts +14 -2
- package/lib/types/locale/function-list/logical/ru-RU.d.ts +0 -1
- package/lib/types/locale/function-list/logical/vi-VN.d.ts +14 -2
- package/lib/types/locale/function-list/logical/zh-CN.d.ts +14 -2
- package/lib/types/locale/function-list/logical/zh-TW.d.ts +14 -2
- package/lib/types/locale/function-list/lookup/ru-RU.d.ts +0 -1
- package/lib/types/locale/function-list/math/ru-RU.d.ts +0 -1
- package/lib/types/locale/function-list/statistical/ru-RU.d.ts +0 -1
- package/lib/types/locale/function-list/web/vi-VN.d.ts +0 -1
- package/lib/types/locale/ru-RU.d.ts +408 -124
- package/lib/types/locale/vi-VN.d.ts +408 -124
- package/lib/types/locale/zh-CN.d.ts +408 -124
- package/lib/types/locale/zh-TW.d.ts +408 -124
- package/lib/types/services/description.service.d.ts +0 -1
- package/lib/types/services/formula-common.d.ts +0 -1
- package/lib/types/services/formula-ref-range.service.d.ts +0 -1
- package/lib/types/services/function-list/array.d.ts +0 -1
- package/lib/types/services/function-list/compatibility.d.ts +0 -1
- package/lib/types/services/function-list/cube.d.ts +0 -1
- package/lib/types/services/function-list/database.d.ts +0 -1
- package/lib/types/services/function-list/date.d.ts +0 -1
- package/lib/types/services/function-list/engineering.d.ts +0 -1
- package/lib/types/services/function-list/financial.d.ts +0 -1
- package/lib/types/services/function-list/function-list.d.ts +0 -1
- package/lib/types/services/function-list/information.d.ts +0 -1
- package/lib/types/services/function-list/logical.d.ts +0 -1
- package/lib/types/services/function-list/lookup.d.ts +0 -1
- package/lib/types/services/function-list/math.d.ts +0 -1
- package/lib/types/services/function-list/statistical.d.ts +0 -1
- package/lib/types/services/function-list/text.d.ts +0 -1
- package/lib/types/services/function-list/univer.d.ts +0 -1
- package/lib/types/services/function-list/web.d.ts +0 -1
- package/lib/types/services/prompt.service.d.ts +0 -1
- package/lib/types/services/register-function.service.d.ts +0 -1
- package/lib/types/services/register-other-formula.service.d.ts +0 -1
- package/lib/types/services/remote/remote-register-function.service.d.ts +0 -1
- package/lib/types/services/render-services/ref-selections.render-service.d.ts +0 -1
- package/lib/types/services/utils.d.ts +0 -1
- package/lib/types/views/FormulaPromptContainer.d.ts +0 -1
- package/lib/types/views/more-functions/MoreFunctions.d.ts +0 -1
- package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts +0 -1
- package/lib/types/views/more-functions/function-params/FunctionParams.d.ts +0 -1
- package/lib/types/views/more-functions/input-params/InputParams.d.ts +0 -1
- package/lib/types/views/more-functions/select-function/SelectFunction.d.ts +0 -1
- package/lib/types/views/prompt/help-function/HelpFunction.d.ts +0 -1
- package/lib/types/views/prompt/search-function/SearchFunction.d.ts +0 -1
- package/lib/umd/index.js +2 -2
- package/package.json +23 -23
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IDisposable, IMutationInfo, Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
2
2
|
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
3
3
|
import { RefRangeService } from '@univerjs/sheets';
|
|
4
|
-
|
|
5
4
|
export type FormulaChangeMap = Record<string, Record<string, Record<string, string>>>;
|
|
6
5
|
export type FormulaChangeCallback = (formulaString: string) => {
|
|
7
6
|
redos: IMutationInfo[];
|
|
@@ -2,7 +2,6 @@ import { Direction, IDisposable, IContextService } from '@univerjs/core';
|
|
|
2
2
|
import { IFunctionInfo, ISequenceNode } from '@univerjs/engine-formula';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { ISearchItem } from './description.service';
|
|
5
|
-
|
|
6
5
|
/** If the formula prompt is visible. */
|
|
7
6
|
export declare const FORMULA_PROMPT_ACTIVATED = "FORMULA_PROMPT_ACTIVATED";
|
|
8
7
|
export interface ISearchFunctionOperationParams {
|
|
@@ -2,7 +2,6 @@ import { IDisposable, ILocales, Disposable, LocaleService } from '@univerjs/core
|
|
|
2
2
|
import { IFunctionInfo, PrimitiveValueType, IFunctionService } from '@univerjs/engine-formula';
|
|
3
3
|
import { IDescriptionService } from './description.service';
|
|
4
4
|
import { IRemoteRegisterFunctionService } from './remote/remote-register-function.service';
|
|
5
|
-
|
|
6
5
|
export type IRegisterFunction = (...arg: Array<PrimitiveValueType | PrimitiveValueType[][]>) => PrimitiveValueType | PrimitiveValueType[][];
|
|
7
6
|
export type IRegisterFunctionList = [[IRegisterFunction, string, string?]];
|
|
8
7
|
export interface IFormulaCustomFunctionService {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Nullable, Disposable, ICommandService } from '@univerjs/core';
|
|
2
2
|
import { IActiveDirtyManagerService } from '@univerjs/engine-formula';
|
|
3
3
|
import { IOtherFormulaResult } from './formula-common';
|
|
4
|
-
|
|
5
4
|
export declare class RegisterOtherFormulaService extends Disposable {
|
|
6
5
|
private readonly _commandService;
|
|
7
6
|
private _activeDirtyManagerService;
|
|
@@ -3,7 +3,6 @@ import { IRenderContext, IRenderModule, IRenderManagerService } from '@univerjs/
|
|
|
3
3
|
import { ISelectionWithStyle, SheetsSelectionsService } from '@univerjs/sheets';
|
|
4
4
|
import { BaseSelectionRenderService, SheetSkeletonManagerService } from '@univerjs/sheets-ui';
|
|
5
5
|
import { IShortcutService } from '@univerjs/ui';
|
|
6
|
-
|
|
7
6
|
/**
|
|
8
7
|
* This service extends the existing `SelectionRenderService` to provide the rendering of prompt selections
|
|
9
8
|
* when user is editing ref ranges in formulas.
|