@univerjs/sheets-formula 0.2.4 → 0.2.6
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 +4 -4
- package/lib/es/index.js +4882 -4712
- package/lib/index.css +1 -1
- package/lib/locale/en-US.json +387 -349
- package/lib/locale/ru-RU.json +315 -325
- package/lib/locale/vi-VN.json +177 -227
- package/lib/locale/zh-CN.json +391 -353
- package/lib/locale/zh-TW.json +403 -365
- package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +7 -8
- package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +1 -2
- package/lib/types/controllers/formula-clipboard.controller.d.ts +1 -2
- package/lib/types/controllers/formula-ui.controller.d.ts +1 -2
- package/lib/types/controllers/menu.d.ts +1 -1
- package/lib/types/controllers/prompt.controller.d.ts +3 -0
- package/lib/types/controllers/update-formula.controller.d.ts +1 -2
- package/lib/types/formula-ui-plugin.d.ts +2 -3
- package/lib/types/locale/en-US.d.ts +207 -169
- package/lib/types/locale/function-list/date/en-US.d.ts +25 -17
- package/lib/types/locale/function-list/date/ja-JP.d.ts +25 -17
- package/lib/types/locale/function-list/date/zh-CN.d.ts +25 -17
- package/lib/types/locale/function-list/date/zh-TW.d.ts +27 -19
- package/lib/types/locale/function-list/information/en-US.d.ts +4 -12
- package/lib/types/locale/function-list/information/ja-JP.d.ts +4 -12
- package/lib/types/locale/function-list/information/zh-CN.d.ts +4 -12
- package/lib/types/locale/function-list/information/zh-TW.d.ts +4 -12
- package/lib/types/locale/function-list/lookup/en-US.d.ts +53 -21
- package/lib/types/locale/function-list/lookup/ja-JP.d.ts +53 -21
- package/lib/types/locale/function-list/lookup/zh-CN.d.ts +53 -21
- package/lib/types/locale/function-list/lookup/zh-TW.d.ts +53 -21
- package/lib/types/locale/function-list/math/en-US.d.ts +69 -111
- package/lib/types/locale/function-list/math/ja-JP.d.ts +69 -111
- package/lib/types/locale/function-list/math/zh-CN.d.ts +69 -111
- package/lib/types/locale/function-list/math/zh-TW.d.ts +71 -113
- package/lib/types/locale/function-list/text/en-US.d.ts +56 -8
- package/lib/types/locale/function-list/text/ja-JP.d.ts +56 -8
- package/lib/types/locale/function-list/text/zh-CN.d.ts +56 -8
- package/lib/types/locale/function-list/text/zh-TW.d.ts +56 -8
- package/lib/types/locale/ru-RU.d.ts +151 -161
- package/lib/types/locale/vi-VN.d.ts +73 -123
- package/lib/types/locale/zh-CN.d.ts +207 -169
- package/lib/types/locale/zh-TW.d.ts +211 -173
- package/lib/types/services/description.service.d.ts +2 -3
- package/lib/types/services/formula-ref-range.service.d.ts +1 -2
- package/lib/types/services/prompt.service.d.ts +2 -3
- package/lib/types/services/register-function.service.d.ts +2 -3
- package/lib/types/services/remote/remote-register-function.service.d.ts +1 -1
- package/lib/types/services/render-services/ref-selections.render-service.d.ts +5 -4
- package/lib/umd/index.js +4 -4
- package/package.json +25 -27
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { IWorkbookData, Univer } from '@univerjs/core';
|
|
2
|
-
import { Dependency } from '@wendellhu/redi';
|
|
1
|
+
import { Dependency, IWorkbookData, Univer } from '@univerjs/core';
|
|
3
2
|
|
|
4
3
|
export declare function createCommandTestBed(workbookData?: IWorkbookData, dependencies?: Dependency[]): {
|
|
5
4
|
univer: Univer;
|
|
6
5
|
get: {
|
|
7
|
-
<T>(id: import('@
|
|
8
|
-
<T>(id: import('@
|
|
9
|
-
<T>(id: import('@
|
|
10
|
-
<T>(id: import('@
|
|
11
|
-
<T>(id: import('@
|
|
12
|
-
<T>(id: import('@
|
|
6
|
+
<T>(id: import('@univerjs/core').DependencyIdentifier<T>, lookUp?: import('@univerjs/core').LookUp): T;
|
|
7
|
+
<T>(id: import('@univerjs/core').DependencyIdentifier<T>, quantity: import("@univerjs/core").Quantity.MANY, lookUp?: import('@univerjs/core').LookUp): T[];
|
|
8
|
+
<T>(id: import('@univerjs/core').DependencyIdentifier<T>, quantity: import("@univerjs/core").Quantity.OPTIONAL, lookUp?: import('@univerjs/core').LookUp): T | null;
|
|
9
|
+
<T>(id: import('@univerjs/core').DependencyIdentifier<T>, quantity: import("@univerjs/core").Quantity.REQUIRED, lookUp?: import('@univerjs/core').LookUp): T;
|
|
10
|
+
<T>(id: import('@univerjs/core').DependencyIdentifier<T>, quantity?: import('@univerjs/core').Quantity, lookUp?: import('@univerjs/core').LookUp): T[] | T | null;
|
|
11
|
+
<T>(id: import('@univerjs/core').DependencyIdentifier<T>, quantityOrLookup?: import('@univerjs/core').Quantity | import('@univerjs/core').LookUp, lookUp?: import('@univerjs/core').LookUp): T[] | T | null;
|
|
13
12
|
};
|
|
14
13
|
sheet: import('@univerjs/core').UnitModel<object, number>;
|
|
15
14
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { IMutationInfo, Disposable, IUniverInstanceService, ObjectMatrix } from '@univerjs/core';
|
|
1
|
+
import { IAccessor, IMutationInfo, Disposable, Injector, IUniverInstanceService, ObjectMatrix } from '@univerjs/core';
|
|
2
2
|
import { FormulaDataModel, LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
3
3
|
import { COPY_TYPE, ISheetClipboardService, ICellDataWithSpanInfo, IDiscreteRange, ISheetDiscreteRangeLocation } from '@univerjs/sheets-ui';
|
|
4
|
-
import { IAccessor, Injector } from '@wendellhu/redi';
|
|
5
4
|
|
|
6
5
|
export declare const DEFAULT_PASTE_FORMULA = "default-paste-formula";
|
|
7
6
|
export declare class FormulaClipboardController extends Disposable {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Disposable, ICommandService } from '@univerjs/core';
|
|
1
|
+
import { Disposable, ICommandService, Injector, Ctor } from '@univerjs/core';
|
|
2
2
|
import { MenuConfig, ComponentManager, IMenuService, IShortcutService, IUIPartsService } from '@univerjs/ui';
|
|
3
|
-
import { Ctor, Injector } from '@wendellhu/redi';
|
|
4
3
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
5
4
|
import { BaseFunction, IFunctionInfo, IFunctionNames } from '@univerjs/engine-formula';
|
|
6
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { IAccessor } from '@univerjs/core';
|
|
1
2
|
import { IMenuItem } from '@univerjs/ui';
|
|
2
|
-
import { IAccessor } from '@wendellhu/redi';
|
|
3
3
|
|
|
4
4
|
export declare function InsertFunctionMenuItemFactory(accessor: IAccessor): IMenuItem;
|
|
5
5
|
export declare function MoreFunctionsMenuItemFactory(accessor: IAccessor): IMenuItem;
|
|
@@ -152,6 +152,9 @@ export declare class PromptController extends Disposable {
|
|
|
152
152
|
private _moveInEditor;
|
|
153
153
|
private _userMouseListener;
|
|
154
154
|
private _inputFormulaListener;
|
|
155
|
+
/**
|
|
156
|
+
* Absolute range, triggered by F4
|
|
157
|
+
*/
|
|
155
158
|
private _changeRefString;
|
|
156
159
|
private _changeRangeRef;
|
|
157
160
|
private _changeSingleRef;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
1
|
+
import { Disposable, ICommandService, Injector, IUniverInstanceService } from '@univerjs/core';
|
|
2
2
|
import { FormulaDataModel, LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
3
3
|
import { SheetInterceptorService, SheetsSelectionsService } from '@univerjs/sheets';
|
|
4
|
-
import { Injector } from '@wendellhu/redi';
|
|
5
4
|
import { IEditorService } from '@univerjs/ui';
|
|
6
5
|
|
|
7
6
|
/**
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Plugin, UniverInstanceType } from '@univerjs/core';
|
|
2
|
-
import { Injector } from '@wendellhu/redi';
|
|
1
|
+
import { Injector, Plugin, UniverInstanceType } from '@univerjs/core';
|
|
3
2
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
3
|
import { IUniverSheetsFormulaConfig } from './controllers/formula-ui.controller';
|
|
5
4
|
|
|
@@ -9,7 +8,7 @@ export declare class UniverRemoteSheetsFormulaPlugin extends Plugin {
|
|
|
9
8
|
static pluginName: string;
|
|
10
9
|
static type: UniverInstanceType;
|
|
11
10
|
constructor(_config: {}, _injector: Injector);
|
|
12
|
-
onStarting(
|
|
11
|
+
onStarting(): void;
|
|
13
12
|
}
|
|
14
13
|
/**
|
|
15
14
|
* The configuration of the formula UI plugin.
|