@univerjs/sheets-formula 0.2.8 → 0.2.10
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 +908 -451
- package/lib/locale/en-US.json +595 -351
- package/lib/locale/ru-RU.json +595 -351
- package/lib/locale/vi-VN.json +666 -322
- package/lib/locale/zh-CN.json +604 -360
- package/lib/locale/zh-TW.json +603 -359
- package/lib/types/controllers/formula-editor-show.controller.d.ts +7 -3
- package/lib/types/controllers/prompt.controller.d.ts +6 -1
- package/lib/types/locale/en-US.d.ts +464 -220
- package/lib/types/locale/function-list/compatibility/en-US.d.ts +6 -2
- package/lib/types/locale/function-list/compatibility/ja-JP.d.ts +6 -2
- package/lib/types/locale/function-list/compatibility/vi-VN.d.ts +6 -2
- package/lib/types/locale/function-list/compatibility/zh-CN.d.ts +6 -2
- package/lib/types/locale/function-list/compatibility/zh-TW.d.ts +6 -2
- package/lib/types/locale/function-list/engineering/en-US.d.ts +32 -112
- package/lib/types/locale/function-list/engineering/ja-JP.d.ts +32 -112
- package/lib/types/locale/function-list/engineering/vi-VN.d.ts +32 -112
- package/lib/types/locale/function-list/engineering/zh-CN.d.ts +32 -112
- package/lib/types/locale/function-list/engineering/zh-TW.d.ts +32 -112
- package/lib/types/locale/function-list/financial/en-US.d.ts +364 -52
- package/lib/types/locale/function-list/financial/ja-JP.d.ts +364 -52
- package/lib/types/locale/function-list/financial/vi-VN.d.ts +412 -46
- package/lib/types/locale/function-list/financial/zh-CN.d.ts +364 -52
- package/lib/types/locale/function-list/financial/zh-TW.d.ts +364 -52
- package/lib/types/locale/function-list/statistical/en-US.d.ts +12 -4
- package/lib/types/locale/function-list/statistical/ja-JP.d.ts +12 -4
- package/lib/types/locale/function-list/statistical/vi-VN.d.ts +44 -0
- package/lib/types/locale/function-list/statistical/zh-CN.d.ts +12 -4
- package/lib/types/locale/function-list/statistical/zh-TW.d.ts +12 -4
- package/lib/types/locale/ru-RU.d.ts +464 -220
- package/lib/types/locale/vi-VN.d.ts +494 -160
- package/lib/types/locale/zh-CN.d.ts +464 -220
- package/lib/types/locale/zh-TW.d.ts +464 -220
- package/lib/types/services/render-services/ref-selections.render-service.d.ts +8 -3
- package/lib/umd/index.js +4 -4
- package/package.json +24 -24
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IDisposable, Workbook, Injector, ThemeService } from '@univerjs/core';
|
|
2
|
-
import { IRenderContext, IRenderModule
|
|
2
|
+
import { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
3
3
|
import { ISelectionWithStyle, SheetsSelectionsService } from '@univerjs/sheets';
|
|
4
4
|
import { BaseSelectionRenderService, SheetSkeletonManagerService } from '@univerjs/sheets-ui';
|
|
5
5
|
import { IShortcutService } from '@univerjs/ui';
|
|
@@ -9,14 +9,16 @@ import { IShortcutService } from '@univerjs/ui';
|
|
|
9
9
|
*
|
|
10
10
|
* Not that this service works with Uni-mode, which means it should be able to deal with multi render unit
|
|
11
11
|
* and handle selections on them, though each at a time.
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
*
|
|
12
15
|
*/
|
|
13
16
|
export declare class RefSelectionsRenderService extends BaseSelectionRenderService implements IRenderModule {
|
|
14
17
|
private readonly _context;
|
|
15
18
|
private readonly _refSelectionsService;
|
|
16
|
-
private readonly _sheetSkeletonManagerService;
|
|
17
19
|
private readonly _workbookSelections;
|
|
18
20
|
private _eventDisposables;
|
|
19
|
-
constructor(_context: IRenderContext<Workbook>, injector: Injector, themeService: ThemeService, shortcutService: IShortcutService,
|
|
21
|
+
constructor(_context: IRenderContext<Workbook>, injector: Injector, themeService: ThemeService, shortcutService: IShortcutService, sheetSkeletonManagerService: SheetSkeletonManagerService, _refSelectionsService: SheetsSelectionsService);
|
|
20
22
|
getLocation(): [string, string];
|
|
21
23
|
setRemainLastEnabled(enabled: boolean): void;
|
|
22
24
|
setSkipLastEnabled(enabled: boolean): void;
|
|
@@ -27,6 +29,9 @@ export declare class RefSelectionsRenderService extends BaseSelectionRenderServi
|
|
|
27
29
|
enableSelectionChanging(): IDisposable;
|
|
28
30
|
private _disableSelectionChanging;
|
|
29
31
|
private _initCanvasEventListeners;
|
|
32
|
+
/**
|
|
33
|
+
* Update selectionModel in this._workbookSelections by user action in spreadsheet area.
|
|
34
|
+
*/
|
|
30
35
|
private _initUserActionSyncListener;
|
|
31
36
|
private _updateSelections;
|
|
32
37
|
private _initSelectionChangeListener;
|