@univerjs/sheets-formula 0.2.8 → 0.2.9
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 +94 -43
- package/lib/locale/en-US.json +30 -18
- package/lib/locale/ru-RU.json +30 -18
- package/lib/locale/vi-VN.json +58 -6
- package/lib/locale/zh-CN.json +30 -18
- package/lib/locale/zh-TW.json +30 -18
- 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 +18 -6
- 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/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 +18 -6
- package/lib/types/locale/vi-VN.d.ts +50 -2
- package/lib/types/locale/zh-CN.d.ts +18 -6
- package/lib/types/locale/zh-TW.d.ts +18 -6
- package/lib/types/services/render-services/ref-selections.render-service.d.ts +8 -3
- package/lib/umd/index.js +4 -4
- package/package.json +22 -22
|
@@ -591,11 +591,15 @@ declare const _default: {
|
|
|
591
591
|
url: string;
|
|
592
592
|
}[];
|
|
593
593
|
functionParameter: {
|
|
594
|
-
|
|
594
|
+
number: {
|
|
595
595
|
name: string;
|
|
596
596
|
detail: string;
|
|
597
597
|
};
|
|
598
|
-
|
|
598
|
+
ref: {
|
|
599
|
+
name: string;
|
|
600
|
+
detail: string;
|
|
601
|
+
};
|
|
602
|
+
order: {
|
|
599
603
|
name: string;
|
|
600
604
|
detail: string;
|
|
601
605
|
};
|
|
@@ -5955,11 +5959,15 @@ declare const _default: {
|
|
|
5955
5959
|
url: string;
|
|
5956
5960
|
}[];
|
|
5957
5961
|
functionParameter: {
|
|
5958
|
-
|
|
5962
|
+
number: {
|
|
5959
5963
|
name: string;
|
|
5960
5964
|
detail: string;
|
|
5961
5965
|
};
|
|
5962
|
-
|
|
5966
|
+
ref: {
|
|
5967
|
+
name: string;
|
|
5968
|
+
detail: string;
|
|
5969
|
+
};
|
|
5970
|
+
order: {
|
|
5963
5971
|
name: string;
|
|
5964
5972
|
detail: string;
|
|
5965
5973
|
};
|
|
@@ -5973,11 +5981,15 @@ declare const _default: {
|
|
|
5973
5981
|
url: string;
|
|
5974
5982
|
}[];
|
|
5975
5983
|
functionParameter: {
|
|
5976
|
-
|
|
5984
|
+
number: {
|
|
5977
5985
|
name: string;
|
|
5978
5986
|
detail: string;
|
|
5979
5987
|
};
|
|
5980
|
-
|
|
5988
|
+
ref: {
|
|
5989
|
+
name: string;
|
|
5990
|
+
detail: string;
|
|
5991
|
+
};
|
|
5992
|
+
order: {
|
|
5981
5993
|
name: string;
|
|
5982
5994
|
detail: string;
|
|
5983
5995
|
};
|
|
@@ -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;
|