@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.
Files changed (37) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +908 -451
  3. package/lib/locale/en-US.json +595 -351
  4. package/lib/locale/ru-RU.json +595 -351
  5. package/lib/locale/vi-VN.json +666 -322
  6. package/lib/locale/zh-CN.json +604 -360
  7. package/lib/locale/zh-TW.json +603 -359
  8. package/lib/types/controllers/formula-editor-show.controller.d.ts +7 -3
  9. package/lib/types/controllers/prompt.controller.d.ts +6 -1
  10. package/lib/types/locale/en-US.d.ts +464 -220
  11. package/lib/types/locale/function-list/compatibility/en-US.d.ts +6 -2
  12. package/lib/types/locale/function-list/compatibility/ja-JP.d.ts +6 -2
  13. package/lib/types/locale/function-list/compatibility/vi-VN.d.ts +6 -2
  14. package/lib/types/locale/function-list/compatibility/zh-CN.d.ts +6 -2
  15. package/lib/types/locale/function-list/compatibility/zh-TW.d.ts +6 -2
  16. package/lib/types/locale/function-list/engineering/en-US.d.ts +32 -112
  17. package/lib/types/locale/function-list/engineering/ja-JP.d.ts +32 -112
  18. package/lib/types/locale/function-list/engineering/vi-VN.d.ts +32 -112
  19. package/lib/types/locale/function-list/engineering/zh-CN.d.ts +32 -112
  20. package/lib/types/locale/function-list/engineering/zh-TW.d.ts +32 -112
  21. package/lib/types/locale/function-list/financial/en-US.d.ts +364 -52
  22. package/lib/types/locale/function-list/financial/ja-JP.d.ts +364 -52
  23. package/lib/types/locale/function-list/financial/vi-VN.d.ts +412 -46
  24. package/lib/types/locale/function-list/financial/zh-CN.d.ts +364 -52
  25. package/lib/types/locale/function-list/financial/zh-TW.d.ts +364 -52
  26. package/lib/types/locale/function-list/statistical/en-US.d.ts +12 -4
  27. package/lib/types/locale/function-list/statistical/ja-JP.d.ts +12 -4
  28. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +44 -0
  29. package/lib/types/locale/function-list/statistical/zh-CN.d.ts +12 -4
  30. package/lib/types/locale/function-list/statistical/zh-TW.d.ts +12 -4
  31. package/lib/types/locale/ru-RU.d.ts +464 -220
  32. package/lib/types/locale/vi-VN.d.ts +494 -160
  33. package/lib/types/locale/zh-CN.d.ts +464 -220
  34. package/lib/types/locale/zh-TW.d.ts +464 -220
  35. package/lib/types/services/render-services/ref-selections.render-service.d.ts +8 -3
  36. package/lib/umd/index.js +4 -4
  37. package/package.json +24 -24
@@ -1,5 +1,5 @@
1
1
  import { IDisposable, Workbook, Injector, ThemeService } from '@univerjs/core';
2
- import { IRenderContext, IRenderModule, IRenderManagerService } from '@univerjs/engine-render';
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, renderManagerService: IRenderManagerService, _refSelectionsService: SheetsSelectionsService, _sheetSkeletonManagerService: SheetSkeletonManagerService);
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;