@univerjs/sheets-formula 0.1.10 → 0.1.12
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 +2 -2
- package/lib/cjs/index.js +8 -8
- package/lib/es/index.js +2429 -1321
- package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +1 -1
- package/lib/types/commands/operations/editor-formula.operation.d.ts +3 -3
- package/lib/types/common/selection.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 +1 -1
- package/lib/types/controllers/array-formula-display.controller.d.ts +2 -2
- package/lib/types/controllers/defined-name.controller.d.ts +2 -2
- package/lib/types/controllers/formula-alert.controller.d.ts +1 -1
- package/lib/types/controllers/formula-auto-fill.controller.d.ts +2 -2
- package/lib/types/controllers/formula-clipboard.controller.d.ts +3 -3
- package/lib/types/controllers/formula-editor-show.controller.d.ts +7 -6
- package/lib/types/controllers/formula-render.controller.d.ts +2 -2
- package/lib/types/controllers/formula-ui.controller.d.ts +15 -4
- package/lib/types/controllers/menu.d.ts +2 -2
- package/lib/types/controllers/prompt.controller.d.ts +8 -8
- package/lib/types/controllers/trigger-calculation.controller.d.ts +3 -3
- package/lib/types/controllers/update-formula.controller.d.ts +4 -3
- package/lib/types/controllers/utils/offset-formula-data.d.ts +4 -2
- package/lib/types/controllers/utils/ref-range-formula.d.ts +1 -1
- package/lib/types/controllers/utils/utils.d.ts +1 -1
- package/lib/types/formula-ui-plugin.d.ts +5 -10
- package/lib/types/index.d.ts +1 -1
- package/lib/types/locale/function-list/array/ru-RU.d.ts +3 -0
- package/lib/types/locale/function-list/compatibility/ru-RU.d.ts +3 -0
- package/lib/types/locale/function-list/cube/ru-RU.d.ts +144 -0
- package/lib/types/locale/function-list/database/ru-RU.d.ts +234 -0
- package/lib/types/locale/function-list/date/ru-RU.d.ts +3 -0
- package/lib/types/locale/function-list/engineering/ru-RU.d.ts +3 -0
- package/lib/types/locale/function-list/financial/ru-RU.d.ts +3 -0
- package/lib/types/locale/function-list/information/ru-RU.d.ts +3 -0
- package/lib/types/locale/function-list/logical/ru-RU.d.ts +3 -0
- package/lib/types/locale/function-list/lookup/ru-RU.d.ts +3 -0
- package/lib/types/locale/function-list/math/ru-RU.d.ts +3 -0
- package/lib/types/locale/function-list/statistical/ru-RU.d.ts +3 -0
- package/lib/types/locale/function-list/text/ru-RU.d.ts +852 -0
- package/lib/types/locale/function-list/univer/ru-RU.d.ts +17 -0
- package/lib/types/locale/function-list/web/ru-RU.d.ts +72 -0
- package/lib/types/locale/index.d.ts +1 -0
- package/lib/types/locale/ru-RU.d.ts +9276 -0
- package/lib/types/services/description.service.d.ts +2 -2
- package/lib/types/services/formula-custom-function.service.d.ts +2 -2
- package/lib/types/services/formula-ref-range.service.d.ts +3 -3
- package/lib/types/services/prompt.service.d.ts +4 -4
- package/lib/types/services/register-function.service.d.ts +4 -4
- package/lib/types/services/register-other-formula.service.d.ts +2 -2
- package/lib/types/services/utils.d.ts +2 -1
- package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts +15 -1
- package/lib/types/views/more-functions/input-params/InputParams.d.ts +1 -1
- package/lib/types/views/more-functions/select-function/SelectFunction.d.ts +1 -1
- package/lib/umd/index.js +7 -7
- package/package.json +24 -24
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Dependency } from '@wendellhu/redi';
|
|
2
1
|
import { IWorkbookData, Univer } from '@univerjs/core';
|
|
2
|
+
import { Dependency } from '@wendellhu/redi';
|
|
3
3
|
|
|
4
4
|
export declare function createCommandTestBed(workbookData?: IWorkbookData, dependencies?: Dependency[]): {
|
|
5
5
|
univer: Univer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { META_KEY_CTRL_AND_SHIFT } from '../../common/prompt';
|
|
2
|
-
import { KeyCode, MetaKeys } from '@univerjs/ui';
|
|
3
|
-
import { DeviceInputEventType } from '@univerjs/engine-render';
|
|
4
1
|
import { IOperation } from '@univerjs/core';
|
|
2
|
+
import { DeviceInputEventType } from '@univerjs/engine-render';
|
|
3
|
+
import { KeyCode, MetaKeys } from '@univerjs/ui';
|
|
4
|
+
import { META_KEY_CTRL_AND_SHIFT } from '../../common/prompt';
|
|
5
5
|
|
|
6
6
|
export interface ISelectEditorFormulaOperationParam {
|
|
7
7
|
eventType: DeviceInputEventType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ISelectionStyle } from '@univerjs/sheets';
|
|
2
1
|
import { ThemeService } from '@univerjs/core';
|
|
2
|
+
import { ISelectionStyle } from '@univerjs/sheets';
|
|
3
3
|
|
|
4
4
|
export declare const FORMULA_REF_SELECTION_PLUGIN_NAME = "formula_reference_selection_plugin_name";
|
|
5
5
|
export declare function getFormulaRefSelectionStyle(themeService: ThemeService, refColor: string, id: string): ISelectionStyle;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FormulaDataModel, IActiveDirtyManagerService, IDefinedNamesService } from '@univerjs/engine-formula';
|
|
2
1
|
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { FormulaDataModel, IActiveDirtyManagerService, IDefinedNamesService } from '@univerjs/engine-formula';
|
|
3
3
|
|
|
4
4
|
export declare class ActiveDirtyController extends Disposable {
|
|
5
5
|
private readonly _activeDirtyManagerService;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
2
|
-
import { FormulaDataModel } from '@univerjs/engine-formula';
|
|
3
1
|
import { Disposable, ICommandService, ThemeService } from '@univerjs/core';
|
|
2
|
+
import { FormulaDataModel } from '@univerjs/engine-formula';
|
|
3
|
+
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
4
4
|
|
|
5
5
|
export declare class ArrayFormulaDisplayController extends Disposable {
|
|
6
6
|
private readonly _commandService;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IDescriptionService } from '../services/description.service';
|
|
2
|
-
import { IDefinedNamesService } from '@univerjs/engine-formula';
|
|
3
1
|
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { IDefinedNamesService } from '@univerjs/engine-formula';
|
|
3
|
+
import { IDescriptionService } from '../services/description.service';
|
|
4
4
|
|
|
5
5
|
export declare const SCOPE_WORKBOOK_VALUE = "AllDefaultWorkbook";
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CellAlertManagerService, HoverManagerService } from '@univerjs/sheets-ui';
|
|
2
1
|
import { Disposable, IUniverInstanceService, LocaleService } from '@univerjs/core';
|
|
2
|
+
import { CellAlertManagerService, HoverManagerService } from '@univerjs/sheets-ui';
|
|
3
3
|
|
|
4
4
|
export declare class FormulaAlertController extends Disposable {
|
|
5
5
|
private readonly _hoverManagerService;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AutoFillService } from '@univerjs/sheets-ui';
|
|
2
|
-
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
3
1
|
import { Disposable } from '@univerjs/core';
|
|
2
|
+
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
3
|
+
import { AutoFillService } from '@univerjs/sheets-ui';
|
|
4
4
|
|
|
5
5
|
export declare class FormulaAutoFillController extends Disposable {
|
|
6
6
|
private readonly _autoFillService;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IAccessor, Injector } from '@wendellhu/redi';
|
|
2
|
-
import { COPY_TYPE, ISheetClipboardService, ICellDataWithSpanInfo, IDiscreteRange } from '@univerjs/sheets-ui';
|
|
3
|
-
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
4
1
|
import { IMutationInfo, Disposable, IUniverInstanceService, ObjectMatrix } from '@univerjs/core';
|
|
2
|
+
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
3
|
+
import { COPY_TYPE, ISheetClipboardService, ICellDataWithSpanInfo, IDiscreteRange } from '@univerjs/sheets-ui';
|
|
4
|
+
import { IAccessor, Injector } from '@wendellhu/redi';
|
|
5
5
|
|
|
6
6
|
export declare const DEFAULT_PASTE_FORMULA = "default-paste-formula";
|
|
7
7
|
export declare class FormulaClipboardController extends Disposable {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
3
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
1
|
+
import { Workbook, Disposable, ICommandService, ThemeService } from '@univerjs/core';
|
|
4
2
|
import { FormulaDataModel, LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
5
|
-
import {
|
|
3
|
+
import { IRenderContext, IRenderController, IRenderManagerService } from '@univerjs/engine-render';
|
|
4
|
+
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
5
|
+
import { IEditorBridgeService, ISelectionRenderService, SheetSkeletonManagerService } from '@univerjs/sheets-ui';
|
|
6
6
|
|
|
7
|
-
export declare class FormulaEditorShowController extends Disposable {
|
|
7
|
+
export declare class FormulaEditorShowController extends Disposable implements IRenderController {
|
|
8
|
+
private readonly _context;
|
|
8
9
|
private _editorBridgeService;
|
|
9
10
|
private readonly _formulaDataModel;
|
|
10
11
|
private readonly _lexerTreeBuilder;
|
|
@@ -15,7 +16,7 @@ export declare class FormulaEditorShowController extends Disposable {
|
|
|
15
16
|
private readonly _commandService;
|
|
16
17
|
private _sheetInterceptorService;
|
|
17
18
|
private _previousShape;
|
|
18
|
-
constructor(_editorBridgeService: IEditorBridgeService, _formulaDataModel: FormulaDataModel, _lexerTreeBuilder: LexerTreeBuilder, _themeService: ThemeService, _renderManagerService: IRenderManagerService, _selectionRenderService: ISelectionRenderService, _sheetSkeletonManagerService: SheetSkeletonManagerService, _commandService: ICommandService, _sheetInterceptorService: SheetInterceptorService);
|
|
19
|
+
constructor(_context: IRenderContext<Workbook>, _editorBridgeService: IEditorBridgeService, _formulaDataModel: FormulaDataModel, _lexerTreeBuilder: LexerTreeBuilder, _themeService: ThemeService, _renderManagerService: IRenderManagerService, _selectionRenderService: ISelectionRenderService, _sheetSkeletonManagerService: SheetSkeletonManagerService, _commandService: ICommandService, _sheetInterceptorService: SheetInterceptorService);
|
|
19
20
|
private _initInterceptorEditorStart;
|
|
20
21
|
private _initInterceptorCell;
|
|
21
22
|
private _commandExecutedListener;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
2
|
-
import { SheetSkeletonManagerService } from '@univerjs/sheets-ui';
|
|
3
1
|
import { RxDisposable } from '@univerjs/core';
|
|
2
|
+
import { SheetSkeletonManagerService } from '@univerjs/sheets-ui';
|
|
3
|
+
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
4
4
|
|
|
5
5
|
export declare class FormulaRenderController extends RxDisposable {
|
|
6
6
|
private readonly _sheetSkeletonManagerService;
|
|
@@ -1,18 +1,29 @@
|
|
|
1
|
-
import { Injector } from '@wendellhu/redi';
|
|
2
|
-
import { IDesktopUIController, ComponentManager, IMenuService, IShortcutService } from '@univerjs/ui';
|
|
3
1
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
2
|
+
import { MenuConfig, ComponentManager, IMenuService, IShortcutService, IUIPartsService } from '@univerjs/ui';
|
|
3
|
+
import { Ctor, Injector } from '@wendellhu/redi';
|
|
4
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
5
|
+
import { BaseFunction, IFunctionInfo, IFunctionNames } from '@univerjs/engine-formula';
|
|
4
6
|
|
|
7
|
+
export interface IUniverSheetsFormulaConfig {
|
|
8
|
+
menu: MenuConfig;
|
|
9
|
+
description: IFunctionInfo[];
|
|
10
|
+
function: Array<[Ctor<BaseFunction>, IFunctionNames]>;
|
|
11
|
+
}
|
|
12
|
+
export declare const DefaultSheetFormulaConfig: {};
|
|
5
13
|
export declare class FormulaUIController extends Disposable {
|
|
14
|
+
private readonly _config;
|
|
6
15
|
private readonly _injector;
|
|
7
16
|
private readonly _menuService;
|
|
8
17
|
private readonly _commandService;
|
|
9
18
|
private readonly _shortcutService;
|
|
10
|
-
private readonly
|
|
19
|
+
private readonly _uiPartsService;
|
|
20
|
+
private readonly _renderManagerService;
|
|
11
21
|
private readonly _componentManager;
|
|
12
|
-
constructor(_injector: Injector, _menuService: IMenuService, _commandService: ICommandService, _shortcutService: IShortcutService,
|
|
22
|
+
constructor(_config: Partial<IUniverSheetsFormulaConfig>, _injector: Injector, _menuService: IMenuService, _commandService: ICommandService, _shortcutService: IShortcutService, _uiPartsService: IUIPartsService, _renderManagerService: IRenderManagerService, _componentManager: ComponentManager);
|
|
13
23
|
private _initialize;
|
|
14
24
|
private _registerMenus;
|
|
15
25
|
private _registerCommands;
|
|
16
26
|
private _registerShortcuts;
|
|
17
27
|
private _registerComponents;
|
|
28
|
+
private _registerRenderControllers;
|
|
18
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IAccessor } from '@wendellhu/redi';
|
|
2
1
|
import { IMenuItem } from '@univerjs/ui';
|
|
2
|
+
import { IAccessor } from '@wendellhu/redi';
|
|
3
3
|
|
|
4
4
|
export declare function InsertFunctionMenuItemFactory(accessor: IAccessor): IMenuItem;
|
|
5
|
-
export declare function MoreFunctionsMenuItemFactory(): IMenuItem;
|
|
5
|
+
export declare function MoreFunctionsMenuItemFactory(accessor: IAccessor): IMenuItem;
|
|
6
6
|
export declare function PasteFormulaMenuItemFactory(accessor: IAccessor): IMenuItem;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { IFormulaPromptService } from '../services/prompt.service';
|
|
2
|
-
import { IDescriptionService } from '../services/description.service';
|
|
3
|
-
import { IContextMenuService, IEditorService } from '@univerjs/ui';
|
|
4
|
-
import { EditorBridgeService, ISelectionRenderService, SheetSkeletonManagerService } from '@univerjs/sheets-ui';
|
|
5
|
-
import { SelectionManagerService } from '@univerjs/sheets';
|
|
6
|
-
import { IRenderManagerService, ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
7
|
-
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
8
|
-
import { DocViewModelManagerService, TextSelectionManagerService } from '@univerjs/docs';
|
|
9
1
|
import { Disposable, ICommandService, IContextService, IUniverInstanceService, ThemeService } from '@univerjs/core';
|
|
2
|
+
import { DocViewModelManagerService, TextSelectionManagerService } from '@univerjs/docs';
|
|
3
|
+
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
4
|
+
import { IRenderManagerService, ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
5
|
+
import { SelectionManagerService } from '@univerjs/sheets';
|
|
6
|
+
import { EditorBridgeService, ISelectionRenderService, SheetSkeletonManagerService } from '@univerjs/sheets-ui';
|
|
7
|
+
import { IContextMenuService, IEditorService } from '@univerjs/ui';
|
|
8
|
+
import { IDescriptionService } from '../services/description.service';
|
|
9
|
+
import { IFormulaPromptService } from '../services/prompt.service';
|
|
10
10
|
|
|
11
11
|
export declare class PromptController extends Disposable {
|
|
12
12
|
private readonly _commandService;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IProgressService } from '@univerjs/ui';
|
|
2
|
-
import { INumfmtService } from '@univerjs/sheets';
|
|
3
|
-
import { FormulaDataModel, IActiveDirtyManagerService } from '@univerjs/engine-formula';
|
|
4
1
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
2
|
+
import { FormulaDataModel, IActiveDirtyManagerService } from '@univerjs/engine-formula';
|
|
3
|
+
import { INumfmtService } from '@univerjs/sheets';
|
|
4
|
+
import { IProgressService } from '@univerjs/ui';
|
|
5
5
|
|
|
6
6
|
export declare class TriggerCalculationController extends Disposable {
|
|
7
7
|
private readonly _commandService;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Injector } from '@wendellhu/redi';
|
|
2
|
-
import { SelectionManagerService, SheetInterceptorService } from '@univerjs/sheets';
|
|
3
|
-
import { FormulaDataModel, LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
4
1
|
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { FormulaDataModel, LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
3
|
+
import { SelectionManagerService, SheetInterceptorService } from '@univerjs/sheets';
|
|
4
|
+
import { Injector } from '@wendellhu/redi';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Update formula process
|
|
@@ -28,6 +28,7 @@ export declare class UpdateFormulaController extends Disposable {
|
|
|
28
28
|
private _handleSetRangeValuesMutation;
|
|
29
29
|
private _handleRemoveSheetMutation;
|
|
30
30
|
private _handleInsertSheetMutation;
|
|
31
|
+
private _handleUnitAdded;
|
|
31
32
|
private _getUpdateFormula;
|
|
32
33
|
private _handleMoveRange;
|
|
33
34
|
private _handleMoveRows;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IArrayFormulaRangeType, IArrayFormulaUnitCellType, IFormulaData } from '@univerjs/engine-formula';
|
|
2
1
|
import { IRange } from '@univerjs/core';
|
|
2
|
+
import { IArrayFormulaRangeType, IArrayFormulaUnitCellType, IFormulaData } from '@univerjs/engine-formula';
|
|
3
3
|
|
|
4
4
|
export interface IRefRangeWithPosition {
|
|
5
5
|
row: number;
|
|
@@ -7,8 +7,10 @@ export interface IRefRangeWithPosition {
|
|
|
7
7
|
range: IRange;
|
|
8
8
|
}
|
|
9
9
|
export declare function checkFormulaDataNull(formulaData: IFormulaData, unitId: string, sheetId: string): boolean;
|
|
10
|
-
export declare function removeFormulaData(formulaData: IFormulaData | IArrayFormulaRangeType | IArrayFormulaUnitCellType, unitId: string, sheetId
|
|
10
|
+
export declare function removeFormulaData(formulaData: IFormulaData | IArrayFormulaRangeType | IArrayFormulaUnitCellType, unitId: string, sheetId?: string): {
|
|
11
11
|
[x: string]: {
|
|
12
12
|
[x: string]: null;
|
|
13
13
|
};
|
|
14
|
+
} | {
|
|
15
|
+
[x: string]: null;
|
|
14
16
|
} | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IFormulaData, IFormulaDataItem } from '@univerjs/engine-formula';
|
|
2
1
|
import { ICellData, IMutationInfo, IObjectMatrixPrimitiveType, IRange, Nullable } from '@univerjs/core';
|
|
2
|
+
import { IFormulaData, IFormulaDataItem } from '@univerjs/engine-formula';
|
|
3
3
|
|
|
4
4
|
export declare enum FormulaReferenceMoveType {
|
|
5
5
|
MoveRange = 0,// range
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ErrorType } from '@univerjs/engine-formula';
|
|
2
1
|
import { ICellData, IContextService, Nullable } from '@univerjs/core';
|
|
2
|
+
import { ErrorType } from '@univerjs/engine-formula';
|
|
3
3
|
|
|
4
4
|
export declare function whenEditorStandalone(contextService: IContextService): boolean;
|
|
5
5
|
/**
|
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
import { Ctor, Injector } from '@wendellhu/redi';
|
|
2
|
-
import { BaseFunction, IFunctionInfo, IFunctionNames } from '@univerjs/engine-formula';
|
|
3
1
|
import { LocaleService, Plugin, UniverInstanceType } from '@univerjs/core';
|
|
2
|
+
import { Injector } from '@wendellhu/redi';
|
|
3
|
+
import { IUniverSheetsFormulaConfig } from './controllers/formula-ui.controller';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The configuration of the formula UI plugin.
|
|
7
7
|
*/
|
|
8
|
-
interface IFormulaUIConfig {
|
|
9
|
-
description: IFunctionInfo[];
|
|
10
|
-
function: Array<[Ctor<BaseFunction>, IFunctionNames]>;
|
|
11
|
-
}
|
|
12
8
|
export declare class UniverSheetsFormulaPlugin extends Plugin {
|
|
13
|
-
private _config;
|
|
9
|
+
private readonly _config;
|
|
14
10
|
readonly _injector: Injector;
|
|
15
11
|
private readonly _localeService;
|
|
16
12
|
static pluginName: string;
|
|
17
13
|
static type: UniverInstanceType;
|
|
18
|
-
constructor(_config: Partial<
|
|
19
|
-
initialize(): void;
|
|
14
|
+
constructor(_config: Partial<IUniverSheetsFormulaConfig>, _injector: Injector, _localeService: LocaleService);
|
|
20
15
|
onStarting(): void;
|
|
16
|
+
_init(): void;
|
|
21
17
|
}
|
|
22
|
-
export {};
|
package/lib/types/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
export { UniverSheetsFormulaPlugin } from './formula-ui-plugin';
|
|
17
|
-
export { enUS, zhCN } from './locale';
|
|
17
|
+
export { enUS, zhCN, ruRU } from './locale';
|
|
18
18
|
export { IDescriptionService } from './services/description.service';
|
|
19
19
|
export { DescriptionService } from './services/description.service';
|
|
20
20
|
export { FormulaCustomFunctionService, IFormulaCustomFunctionService, } from './services/formula-custom-function.service';
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
declare const _default: {
|
|
17
|
+
CUBEKPIMEMBER: {
|
|
18
|
+
description: string;
|
|
19
|
+
abstract: string;
|
|
20
|
+
links: {
|
|
21
|
+
title: string;
|
|
22
|
+
url: string;
|
|
23
|
+
}[];
|
|
24
|
+
functionParameter: {
|
|
25
|
+
number1: {
|
|
26
|
+
name: string;
|
|
27
|
+
detail: string;
|
|
28
|
+
};
|
|
29
|
+
number2: {
|
|
30
|
+
name: string;
|
|
31
|
+
detail: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
CUBEMEMBER: {
|
|
36
|
+
description: string;
|
|
37
|
+
abstract: string;
|
|
38
|
+
links: {
|
|
39
|
+
title: string;
|
|
40
|
+
url: string;
|
|
41
|
+
}[];
|
|
42
|
+
functionParameter: {
|
|
43
|
+
number1: {
|
|
44
|
+
name: string;
|
|
45
|
+
detail: string;
|
|
46
|
+
};
|
|
47
|
+
number2: {
|
|
48
|
+
name: string;
|
|
49
|
+
detail: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
CUBEMEMBERPROPERTY: {
|
|
54
|
+
description: string;
|
|
55
|
+
abstract: string;
|
|
56
|
+
links: {
|
|
57
|
+
title: string;
|
|
58
|
+
url: string;
|
|
59
|
+
}[];
|
|
60
|
+
functionParameter: {
|
|
61
|
+
number1: {
|
|
62
|
+
name: string;
|
|
63
|
+
detail: string;
|
|
64
|
+
};
|
|
65
|
+
number2: {
|
|
66
|
+
name: string;
|
|
67
|
+
detail: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
CUBERANKEDMEMBER: {
|
|
72
|
+
description: string;
|
|
73
|
+
abstract: string;
|
|
74
|
+
links: {
|
|
75
|
+
title: string;
|
|
76
|
+
url: string;
|
|
77
|
+
}[];
|
|
78
|
+
functionParameter: {
|
|
79
|
+
number1: {
|
|
80
|
+
name: string;
|
|
81
|
+
detail: string;
|
|
82
|
+
};
|
|
83
|
+
number2: {
|
|
84
|
+
name: string;
|
|
85
|
+
detail: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
CUBESET: {
|
|
90
|
+
description: string;
|
|
91
|
+
abstract: string;
|
|
92
|
+
links: {
|
|
93
|
+
title: string;
|
|
94
|
+
url: string;
|
|
95
|
+
}[];
|
|
96
|
+
functionParameter: {
|
|
97
|
+
number1: {
|
|
98
|
+
name: string;
|
|
99
|
+
detail: string;
|
|
100
|
+
};
|
|
101
|
+
number2: {
|
|
102
|
+
name: string;
|
|
103
|
+
detail: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
CUBESETCOUNT: {
|
|
108
|
+
description: string;
|
|
109
|
+
abstract: string;
|
|
110
|
+
links: {
|
|
111
|
+
title: string;
|
|
112
|
+
url: string;
|
|
113
|
+
}[];
|
|
114
|
+
functionParameter: {
|
|
115
|
+
number1: {
|
|
116
|
+
name: string;
|
|
117
|
+
detail: string;
|
|
118
|
+
};
|
|
119
|
+
number2: {
|
|
120
|
+
name: string;
|
|
121
|
+
detail: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
CUBEVALUE: {
|
|
126
|
+
description: string;
|
|
127
|
+
abstract: string;
|
|
128
|
+
links: {
|
|
129
|
+
title: string;
|
|
130
|
+
url: string;
|
|
131
|
+
}[];
|
|
132
|
+
functionParameter: {
|
|
133
|
+
number1: {
|
|
134
|
+
name: string;
|
|
135
|
+
detail: string;
|
|
136
|
+
};
|
|
137
|
+
number2: {
|
|
138
|
+
name: string;
|
|
139
|
+
detail: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
export default _default;
|