@univerjs/sheets-ui 0.1.4 → 0.1.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.
Files changed (161) hide show
  1. package/lib/cjs/index.js +10 -10
  2. package/lib/es/index.js +6396 -5578
  3. package/lib/index.css +1 -1
  4. package/lib/types/basics/editor/get-editor-object.d.ts +3 -17
  5. package/lib/types/commands/commands/__tests__/create-command-test-bed.d.ts +3 -19
  6. package/lib/types/commands/commands/__tests__/create-selection-command-test-bed.d.ts +18 -32
  7. package/lib/types/commands/commands/add-worksheet-merge.command.d.ts +2 -17
  8. package/lib/types/commands/commands/auto-fill.command.d.ts +2 -16
  9. package/lib/types/commands/commands/clipboard.command.d.ts +2 -16
  10. package/lib/types/commands/commands/delete-range-move-left-confirm.command .d.ts +2 -16
  11. package/lib/types/commands/commands/delete-range-move-up-confirm.command.d.ts +2 -16
  12. package/lib/types/commands/commands/hide-row-col-confirm.command.d.ts +2 -16
  13. package/lib/types/commands/commands/inline-format.command.d.ts +2 -16
  14. package/lib/types/commands/commands/insert-range-move-down-confirm.command.d.ts +2 -16
  15. package/lib/types/commands/commands/insert-range-move-right-confirm.command.d.ts +2 -16
  16. package/lib/types/commands/commands/refill.command.d.ts +2 -16
  17. package/lib/types/commands/commands/remove-row-col-confirm.command.d.ts +2 -16
  18. package/lib/types/commands/commands/remove-sheet-confirm.command.d.ts +2 -16
  19. package/lib/types/commands/commands/set-format-painter.command.d.ts +2 -16
  20. package/lib/types/commands/commands/set-frozen.command.d.ts +2 -16
  21. package/lib/types/commands/commands/set-scroll.command.d.ts +2 -16
  22. package/lib/types/commands/commands/set-selection.command.d.ts +2 -16
  23. package/lib/types/commands/commands/set-zoom-ratio.command.d.ts +2 -16
  24. package/lib/types/commands/commands/unhide.command.d.ts +2 -16
  25. package/lib/types/commands/commands/utils/selection-utils.d.ts +2 -17
  26. package/lib/types/commands/operations/activate-cell-edit.operation.d.ts +3 -17
  27. package/lib/types/commands/operations/cell-edit.operation.d.ts +3 -17
  28. package/lib/types/commands/operations/rename-sheet.operation.d.ts +2 -16
  29. package/lib/types/commands/operations/scroll.operation.d.ts +3 -17
  30. package/lib/types/commands/operations/set-format-painter.operation.d.ts +3 -17
  31. package/lib/types/commands/operations/set-zoom-ratio.operation.d.ts +3 -17
  32. package/lib/types/commands/operations/sidebar-defined-name.operation.d.ts +6 -0
  33. package/lib/types/common/utils.d.ts +12 -20
  34. package/lib/types/components/border-panel/BorderPanel.d.ts +3 -17
  35. package/lib/types/components/border-panel/border-line/BorderLine.d.ts +2 -16
  36. package/lib/types/components/border-panel/border-line/icons/BorderDashDot.d.ts +2 -16
  37. package/lib/types/components/border-panel/border-line/icons/BorderDashDotDot.d.ts +2 -16
  38. package/lib/types/components/border-panel/border-line/icons/BorderDashed.d.ts +2 -16
  39. package/lib/types/components/border-panel/border-line/icons/BorderDotted.d.ts +2 -16
  40. package/lib/types/components/border-panel/border-line/icons/BorderHair.d.ts +2 -16
  41. package/lib/types/components/border-panel/border-line/icons/BorderMedium.d.ts +2 -16
  42. package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDot.d.ts +2 -16
  43. package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDotDot.d.ts +2 -16
  44. package/lib/types/components/border-panel/border-line/icons/BorderMediumDashed.d.ts +2 -16
  45. package/lib/types/components/border-panel/border-line/icons/BorderThick.d.ts +2 -16
  46. package/lib/types/components/border-panel/border-line/icons/BorderThin.d.ts +2 -16
  47. package/lib/types/components/border-panel/interface.d.ts +3 -17
  48. package/lib/types/components/menu-item-input/MenuItemInput.d.ts +3 -17
  49. package/lib/types/components/menu-item-input/interface.d.ts +2 -16
  50. package/lib/types/controllers/active-worksheet/active-worksheet.controller.d.ts +1 -15
  51. package/lib/types/controllers/auto-fill.controller.d.ts +6 -20
  52. package/lib/types/controllers/auto-height.controller.d.ts +4 -18
  53. package/lib/types/controllers/cell-alert.controller.d.ts +8 -0
  54. package/lib/types/controllers/cell-custom-render.controller.d.ts +12 -0
  55. package/lib/types/controllers/clipboard/clipboard.controller.d.ts +6 -20
  56. package/lib/types/controllers/clipboard/utils.d.ts +4 -19
  57. package/lib/types/controllers/contextmenu/contextmenu.controller.d.ts +5 -19
  58. package/lib/types/controllers/editor/__tests__/create-test-bed.d.ts +3 -19
  59. package/lib/types/controllers/editor/editing.controller.d.ts +2 -16
  60. package/lib/types/controllers/editor/end-edit.controller.d.ts +7 -23
  61. package/lib/types/controllers/editor/formula-editor.controller.d.ts +5 -19
  62. package/lib/types/controllers/editor/start-edit.controller.d.ts +6 -20
  63. package/lib/types/controllers/editor-bridge.controller.d.ts +7 -21
  64. package/lib/types/controllers/format-painter/format-painter.controller.d.ts +4 -18
  65. package/lib/types/controllers/freeze.controller.d.ts +7 -21
  66. package/lib/types/controllers/header-menu.controller.d.ts +5 -19
  67. package/lib/types/controllers/header-move.controller.d.ts +5 -19
  68. package/lib/types/controllers/header-resize.controller.d.ts +4 -18
  69. package/lib/types/controllers/header-unhide.controller.d.ts +3 -17
  70. package/lib/types/controllers/hover.controller.d.ts +12 -0
  71. package/lib/types/controllers/mark-selection.controller.d.ts +3 -17
  72. package/lib/types/controllers/menu/__tests__/create-menu-test-bed.d.ts +2 -16
  73. package/lib/types/controllers/menu/border.menu.d.ts +4 -18
  74. package/lib/types/controllers/menu/clear.menu.d.ts +2 -16
  75. package/lib/types/controllers/menu/delete.menu.d.ts +2 -16
  76. package/lib/types/controllers/menu/insert.menu.d.ts +3 -17
  77. package/lib/types/controllers/menu/menu.d.ts +3 -17
  78. package/lib/types/controllers/menu/merge.menu.d.ts +3 -17
  79. package/lib/types/controllers/menu/sheet.menu.d.ts +3 -17
  80. package/lib/types/controllers/move-range.controller.d.ts +3 -17
  81. package/lib/types/controllers/scroll.controller.d.ts +8 -20
  82. package/lib/types/controllers/selection.controller.d.ts +10 -22
  83. package/lib/types/controllers/sheet-render.controller.d.ts +3 -17
  84. package/lib/types/controllers/sheet-ui.controller.d.ts +3 -18
  85. package/lib/types/controllers/shortcuts/editor.shortcut.d.ts +2 -17
  86. package/lib/types/controllers/shortcuts/operation.shortcut.d.ts +2 -16
  87. package/lib/types/controllers/shortcuts/selection.shortcut.d.ts +3 -17
  88. package/lib/types/controllers/shortcuts/style.shortcut.d.ts +2 -16
  89. package/lib/types/controllers/shortcuts/utils.d.ts +2 -16
  90. package/lib/types/controllers/shortcuts/value.shortcut.d.ts +2 -16
  91. package/lib/types/controllers/shortcuts/view.shortcut.d.ts +2 -16
  92. package/lib/types/controllers/status-bar.controller.d.ts +4 -18
  93. package/lib/types/controllers/utils/component-tools.d.ts +3 -17
  94. package/lib/types/controllers/utils/selections-tools.d.ts +3 -0
  95. package/lib/types/controllers/zoom.controller.d.ts +6 -20
  96. package/lib/types/index.d.ts +7 -2
  97. package/lib/types/locale/en-US.d.ts +2 -16
  98. package/lib/types/locale/zh-CN.d.ts +27 -1
  99. package/lib/types/services/auto-fill/auto-fill.service.d.ts +6 -22
  100. package/lib/types/services/auto-fill/rules.d.ts +2 -16
  101. package/lib/types/services/auto-fill/tools.d.ts +7 -22
  102. package/lib/types/services/auto-fill/type.d.ts +2 -16
  103. package/lib/types/services/canvas-pop-manager.service.d.ts +8 -22
  104. package/lib/types/services/cell-alert-manager.service.d.ts +30 -0
  105. package/lib/types/services/clipboard/__tests__/clipboard-test-bed.d.ts +10 -25
  106. package/lib/types/services/clipboard/clipboard.service.d.ts +10 -25
  107. package/lib/types/services/clipboard/copy-content-cache.d.ts +3 -17
  108. package/lib/types/services/clipboard/html-to-usm/converter.d.ts +6 -26
  109. package/lib/types/services/clipboard/html-to-usm/parse-node-style.d.ts +2 -16
  110. package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-lark.d.ts +2 -16
  111. package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-word.d.ts +2 -16
  112. package/lib/types/services/clipboard/html-to-usm/paste-plugins/type.d.ts +2 -16
  113. package/lib/types/services/clipboard/html-to-usm/utils.d.ts +2 -16
  114. package/lib/types/services/clipboard/type.d.ts +2 -16
  115. package/lib/types/services/clipboard/usm-to-html/convertor.d.ts +3 -17
  116. package/lib/types/services/clipboard/utils.d.ts +3 -17
  117. package/lib/types/services/editor/cell-editor-manager.service.d.ts +5 -19
  118. package/lib/types/services/editor/formula-editor-manager.service.d.ts +5 -19
  119. package/lib/types/services/editor-bridge.service.d.ts +16 -30
  120. package/lib/types/services/format-painter/format-painter.service.d.ts +5 -20
  121. package/lib/types/services/hover-manager.service.d.ts +26 -0
  122. package/lib/types/services/mark-selection/mark-selection.service.d.ts +7 -22
  123. package/lib/types/services/scroll-manager.service.d.ts +3 -17
  124. package/lib/types/services/selection/__test__/create-service-test-bed.d.ts +3 -19
  125. package/lib/types/services/selection/selection-render-model.d.ts +2 -17
  126. package/lib/types/services/selection/selection-render.service.d.ts +9 -25
  127. package/lib/types/services/selection/selection-shape-extension.d.ts +5 -19
  128. package/lib/types/services/selection/selection-shape.d.ts +25 -41
  129. package/lib/types/services/sheet-bar/sheet-bar.service.d.ts +5 -19
  130. package/lib/types/services/sheet-skeleton-manager.service.d.ts +5 -21
  131. package/lib/types/services/shortcut-experience.service.d.ts +4 -19
  132. package/lib/types/services/status-bar.service.d.ts +6 -20
  133. package/lib/types/sheets-ui-plugin.d.ts +2 -16
  134. package/lib/types/views/cell-alert/CellAlertPopup.d.ts +3 -0
  135. package/lib/types/views/cell-alert/index.d.ts +18 -0
  136. package/lib/types/views/count-bar/CountBar.d.ts +2 -16
  137. package/lib/types/views/count-bar/ZoomSlider.d.ts +2 -16
  138. package/lib/types/views/defined-name/DefinedName.d.ts +3 -0
  139. package/lib/types/views/defined-name/DefinedNameContainer.d.ts +3 -0
  140. package/lib/types/views/defined-name/DefinedNameInput.d.ts +12 -0
  141. package/lib/types/views/defined-name/DefinedNameOverlay.d.ts +5 -0
  142. package/lib/types/views/defined-name/component-name.d.ts +17 -0
  143. package/lib/types/views/editor-container/EditorContainer.d.ts +2 -16
  144. package/lib/types/views/formula-bar/FormulaBar.d.ts +2 -16
  145. package/lib/types/views/header-menu-shape.d.ts +2 -17
  146. package/lib/types/views/header-resize-shape.d.ts +2 -17
  147. package/lib/types/views/header-unhide-shape.d.ts +2 -17
  148. package/lib/types/views/operate-container/AutoFillPopupMenu.d.ts +2 -16
  149. package/lib/types/views/operate-container/OperateContainer.d.ts +2 -16
  150. package/lib/types/views/sheet-bar/SheetBar.d.ts +2 -16
  151. package/lib/types/views/sheet-bar/sheet-bar-button/SheetBarButton.d.ts +2 -16
  152. package/lib/types/views/sheet-bar/sheet-bar-menu/SheetBarMenu.d.ts +2 -16
  153. package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarItem.d.ts +3 -17
  154. package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarTabs.d.ts +2 -16
  155. package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/slide-tab-bar.d.ts +1 -16
  156. package/lib/types/views/sheet-canvas-view.d.ts +5 -19
  157. package/lib/types/views/sheet-container/SheetContainer.d.ts +2 -16
  158. package/lib/types/views/status-bar/CopyableStatisticItem.d.ts +3 -17
  159. package/lib/types/views/status-bar/StatusBar.d.ts +2 -16
  160. package/lib/umd/index.js +11 -11
  161. package/package.json +23 -22
@@ -1,20 +1,5 @@
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
- import type { ICellData, IObjectMatrixPrimitiveType, IRange, Nullable } from '@univerjs/core';
17
- import { Direction } from '@univerjs/core';
1
+ import { ICellData, IObjectMatrixPrimitiveType, IRange, Nullable, CellValueType, Direction } from '@univerjs/core';
2
+
18
3
  export declare const chnNumChar: {
19
4
  零: number;
20
5
  一: number;
@@ -84,15 +69,15 @@ export declare function getLenS(indexArr: any[], rsd: number): number;
84
69
  export declare function isEqualDiff(arr: number[]): boolean;
85
70
  export declare function getDataIndex(csLen: number, asLen: number, indexArr: number[]): ICopyDataInTypeIndexInfo;
86
71
  export declare function fillCopy(data: Array<Nullable<ICellData>>, len: number): {
87
- p: import("@univerjs/core").IDocumentData | null;
88
- s: string | import("@univerjs/core").IStyleData | null;
89
- v: import("@univerjs/core").CellValue | null;
90
- t: import("@univerjs/core").CellValueType | null;
72
+ p: import('@univerjs/core').IDocumentData | null;
73
+ s: string | import('@univerjs/core').IStyleData | null;
74
+ v: import('@univerjs/core').CellValue | null;
75
+ t: CellValueType | null;
91
76
  f: string | null;
92
77
  si: string | null;
93
78
  }[];
94
79
  export declare function fillCopyStyles(data: Array<Nullable<ICellData>>, len: number): {
95
- s: Nullable<string | import("@univerjs/core").IStyleData>;
80
+ s: Nullable<string | import('@univerjs/core').IStyleData>;
96
81
  }[];
97
82
  export declare function isEqualRatio(arr: number[]): boolean;
98
83
  export declare function getXArr(len: number): number[];
@@ -1,19 +1,5 @@
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
- import type { Direction, ICellData, IMutationInfo, IRange, Nullable } from '@univerjs/core';
1
+ import { Direction, ICellData, IMutationInfo, IRange, Nullable } from '@univerjs/core';
2
+
17
3
  export declare enum AutoFillHookType {
18
4
  Append = "APPEND",
19
5
  Default = "DEFAULT",
@@ -1,38 +1,24 @@
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
- import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
17
- import { IRenderManagerService } from '@univerjs/engine-render';
18
- import type { BaseObject, Viewport } from '@univerjs/engine-render';
19
- import { IGlobalPopupManagerService } from '@univerjs/ui';
20
- import type { IDisposable } from '@wendellhu/redi';
21
1
  import { SheetSkeletonManagerService } from './sheet-skeleton-manager.service';
2
+ import { IDisposable } from '@wendellhu/redi';
3
+ import { ICanvasPopupService } from '@univerjs/ui';
4
+ import { IRenderManagerService, BaseObject, Viewport } from '@univerjs/engine-render';
5
+ import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
6
+
22
7
  interface ICanvasPopup {
23
8
  componentKey: string;
24
9
  mask?: boolean;
25
10
  onClickOutside?: (e: MouseEvent) => void;
26
11
  direction?: 'vertical' | 'horizontal';
27
12
  offset?: [number, number];
13
+ excludeOutside?: HTMLElement[];
28
14
  }
29
- export declare class CanvasPopManagerService extends Disposable {
15
+ export declare class SheetCanvasPopManagerService extends Disposable {
30
16
  private readonly _globalPopupManagerService;
31
17
  private readonly _renderManagerService;
32
18
  private readonly _univerInstanceService;
33
19
  private readonly _sheetSkeletonManagerService;
34
20
  private readonly _commandService;
35
- constructor(_globalPopupManagerService: IGlobalPopupManagerService, _renderManagerService: IRenderManagerService, _univerInstanceService: IUniverInstanceService, _sheetSkeletonManagerService: SheetSkeletonManagerService, _commandService: ICommandService);
21
+ constructor(_globalPopupManagerService: ICanvasPopupService, _renderManagerService: IRenderManagerService, _univerInstanceService: IUniverInstanceService, _sheetSkeletonManagerService: SheetSkeletonManagerService, _commandService: ICommandService);
36
22
  private _calcCellPosition;
37
23
  private _createCellPositionObserver;
38
24
  private _createObjectPositionObserver;
@@ -0,0 +1,30 @@
1
+ import { SheetCanvasPopManagerService } from './canvas-pop-manager.service';
2
+ import { IRenderManagerService } from '@univerjs/engine-render';
3
+ import { ISheetLocation } from '@univerjs/sheets';
4
+ import { Nullable } from '@univerjs/core';
5
+
6
+ export declare enum CellAlertType {
7
+ INFO = 0,
8
+ WARNING = 1,
9
+ ERROR = 2
10
+ }
11
+ export interface ICellAlert {
12
+ type: CellAlertType;
13
+ title: React.ReactNode;
14
+ message: React.ReactNode;
15
+ location: ISheetLocation;
16
+ width: number;
17
+ height: number;
18
+ }
19
+ export declare class CellAlertManagerService {
20
+ private readonly _renderManagerService;
21
+ private readonly _canvasPopManagerService;
22
+ private _currentAlert$;
23
+ private _currentPopup;
24
+ private _currentAlert;
25
+ get currentAlert(): Nullable<ICellAlert>;
26
+ currentAlert$: import('rxjs').Observable<Nullable<ICellAlert>>;
27
+ constructor(_renderManagerService: IRenderManagerService, _canvasPopManagerService: SheetCanvasPopManagerService);
28
+ showAlert(alert: ICellAlert): void;
29
+ clearAlert(): void;
30
+ }
@@ -1,21 +1,6 @@
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
- import type { IWorkbookData } from '@univerjs/core';
17
- import { Univer } from '@univerjs/core';
18
- import type { Dependency, IDisposable } from '@wendellhu/redi';
1
+ import { Dependency, IDisposable } from '@wendellhu/redi';
2
+ import { IWorkbookData, Univer } from '@univerjs/core';
3
+
19
4
  export declare class testMarkSelectionService {
20
5
  addShape(): string | null;
21
6
  removeShape(id: string): void;
@@ -34,12 +19,12 @@ export declare class testPlatformService {
34
19
  export declare function clipboardTestBed(workbookConfig?: IWorkbookData, dependencies?: Dependency[]): {
35
20
  univer: Univer;
36
21
  get: {
37
- <T>(id: import("@wendellhu/redi").DependencyIdentifier<T>, lookUp?: import("@wendellhu/redi").LookUp | undefined): T;
38
- <T_1>(id: import("@wendellhu/redi").DependencyIdentifier<T_1>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import("@wendellhu/redi").LookUp | undefined): T_1[];
39
- <T_2>(id: import("@wendellhu/redi").DependencyIdentifier<T_2>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import("@wendellhu/redi").LookUp | undefined): T_2 | null;
40
- <T_3>(id: import("@wendellhu/redi").DependencyIdentifier<T_3>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import("@wendellhu/redi").LookUp | undefined): T_3;
41
- <T_4>(id: import("@wendellhu/redi").DependencyIdentifier<T_4>, quantity?: import("@wendellhu/redi").Quantity | undefined, lookUp?: import("@wendellhu/redi").LookUp | undefined): T_4 | T_4[] | null;
42
- <T_5>(id: import("@wendellhu/redi").DependencyIdentifier<T_5>, quantityOrLookup?: import("@wendellhu/redi").Quantity | import("@wendellhu/redi").LookUp | undefined, lookUp?: import("@wendellhu/redi").LookUp | undefined): T_5 | T_5[] | null;
22
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp | undefined): T;
23
+ <T_1>(id: import('@wendellhu/redi').DependencyIdentifier<T_1>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_1[];
24
+ <T_2>(id: import('@wendellhu/redi').DependencyIdentifier<T_2>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_2 | null;
25
+ <T_3>(id: import('@wendellhu/redi').DependencyIdentifier<T_3>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_3;
26
+ <T_4>(id: import('@wendellhu/redi').DependencyIdentifier<T_4>, quantity?: import('@wendellhu/redi').Quantity | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_4 | T_4[] | null;
27
+ <T_5>(id: import('@wendellhu/redi').DependencyIdentifier<T_5>, quantityOrLookup?: import('@wendellhu/redi').Quantity | import('@wendellhu/redi').LookUp | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_5 | T_5[] | null;
43
28
  };
44
- sheet: import("@univerjs/core").Workbook;
29
+ sheet: import('@univerjs/core').Workbook;
45
30
  };
@@ -1,27 +1,12 @@
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
- import { Disposable, ICommandService, ILogService, IUndoRedoService, IUniverInstanceService, LocaleService } from '@univerjs/core';
17
- import { SelectionManagerService } from '@univerjs/sheets';
18
- import { IClipboardInterfaceService, INotificationService, IPlatformService } from '@univerjs/ui';
19
- import type { IDisposable } from '@wendellhu/redi';
20
- import { IMarkSelectionService } from '../mark-selection/mark-selection.service';
21
- import { SheetSkeletonManagerService } from '../sheet-skeleton-manager.service';
1
+ import { ISheetClipboardHook, COPY_TYPE } from './type';
22
2
  import { CopyContentCache } from './copy-content-cache';
23
- import type { ISheetClipboardHook } from './type';
24
- import { COPY_TYPE } from './type';
3
+ import { SheetSkeletonManagerService } from '../sheet-skeleton-manager.service';
4
+ import { IMarkSelectionService } from '../mark-selection/mark-selection.service';
5
+ import { IDisposable } from '@wendellhu/redi';
6
+ import { IClipboardInterfaceService, INotificationService, IPlatformService } from '@univerjs/ui';
7
+ import { SelectionManagerService } from '@univerjs/sheets';
8
+ import { Disposable, ICommandService, ILogService, IUndoRedoService, IUniverInstanceService, LocaleService } from '@univerjs/core';
9
+
25
10
  export declare const PREDEFINED_HOOK_NAME: {
26
11
  DEFAULT_COPY: string;
27
12
  DEFAULT_PASTE: string;
@@ -39,7 +24,7 @@ export interface ISheetClipboardService {
39
24
  addClipboardHook(hook: ISheetClipboardHook): IDisposable;
40
25
  getClipboardHooks(): ISheetClipboardHook[];
41
26
  }
42
- export declare const ISheetClipboardService: import("@wendellhu/redi").IdentifierDecorator<ISheetClipboardService>;
27
+ export declare const ISheetClipboardService: import('@wendellhu/redi').IdentifierDecorator<ISheetClipboardService>;
43
28
  export declare class SheetClipboardService extends Disposable implements ISheetClipboardService {
44
29
  private readonly _logService;
45
30
  private readonly _currentUniverService;
@@ -54,7 +39,7 @@ export declare class SheetClipboardService extends Disposable implements ISheetC
54
39
  private readonly _localeService;
55
40
  private _clipboardHooks;
56
41
  private readonly _clipboardHooks$;
57
- readonly clipboardHooks$: import("rxjs").Observable<ISheetClipboardHook[]>;
42
+ readonly clipboardHooks$: import('rxjs').Observable<ISheetClipboardHook[]>;
58
43
  private _htmlToUSM;
59
44
  private _usmToHtml;
60
45
  private _copyContentCache;
@@ -1,20 +1,6 @@
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
- import type { IRange, Nullable, ObjectMatrix } from '@univerjs/core';
17
- import type { COPY_TYPE, ICellDataWithSpanInfo } from './type';
1
+ import { COPY_TYPE, ICellDataWithSpanInfo } from './type';
2
+ import { IRange, Nullable, ObjectMatrix } from '@univerjs/core';
3
+
18
4
  export interface ICopyContentCacheData {
19
5
  subUnitId: string;
20
6
  unitId: string;
@@ -1,22 +1,8 @@
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
- import type { ITextStyle, Nullable } from '@univerjs/core';
17
- import type { ISheetSkeletonManagerParam } from '../../sheet-skeleton-manager.service';
18
- import type { IUniverSheetCopyDataModel } from '../type';
19
- import type { IAfterProcessRule } from './paste-plugins/type';
1
+ import { IUniverSheetCopyDataModel } from '../type';
2
+ import { ISheetSkeletonManagerParam } from '../../sheet-skeleton-manager.service';
3
+ import { IPastePlugin } from '@univerjs/docs-ui';
4
+ import { ITextStyle, Nullable } from '@univerjs/core';
5
+
20
6
  export interface IStyleRule {
21
7
  filter: string | string[] | ((node: HTMLElement) => boolean);
22
8
  getStyle(node: HTMLElement): ITextStyle;
@@ -24,18 +10,12 @@ export interface IStyleRule {
24
10
  export interface IParsedTablesInfo {
25
11
  index: number;
26
12
  }
27
- export interface IPasteExtension {
28
- name: string;
29
- checkPasteType(html: string): boolean;
30
- stylesRules: IStyleRule[];
31
- afterProcessRules: IAfterProcessRule[];
32
- }
33
13
  interface IHtmlToUSMServiceProps {
34
14
  getCurrentSkeleton: () => Nullable<ISheetSkeletonManagerParam>;
35
15
  }
36
16
  export declare class HtmlToUSMService {
37
17
  private static pluginList;
38
- static use(plugin: IPasteExtension): void;
18
+ static use(plugin: IPastePlugin): void;
39
19
  private styleCache;
40
20
  private styleRules;
41
21
  private afterProcessRules;
@@ -1,17 +1,3 @@
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
- import type { ITextStyle } from '@univerjs/core';
1
+ import { ITextStyle } from '@univerjs/core';
2
+
17
3
  export declare function extractNodeStyle(node: HTMLElement): ITextStyle;
@@ -1,18 +1,4 @@
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
- import type { IPastePlugin } from './type';
1
+ import { IPastePlugin } from './type';
2
+
17
3
  declare const wordPastePlugin: IPastePlugin;
18
4
  export default wordPastePlugin;
@@ -1,18 +1,4 @@
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
- import type { IPastePlugin } from './type';
1
+ import { IPastePlugin } from './type';
2
+
17
3
  declare const wordPastePlugin: IPastePlugin;
18
4
  export default wordPastePlugin;
@@ -1,19 +1,5 @@
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
- import type { IDocumentBody, ITextStyle } from '@univerjs/core';
1
+ import { IDocumentBody, ITextStyle } from '@univerjs/core';
2
+
17
3
  export interface IStyleRule {
18
4
  filter: string | string[] | ((node: HTMLElement) => boolean);
19
5
  getStyle(node: HTMLElement): ITextStyle;
@@ -1,19 +1,5 @@
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
- import type { IParagraph, IParagraphStyle, Nullable } from '@univerjs/core';
1
+ import { IParagraph, IParagraphStyle, Nullable } from '@univerjs/core';
2
+
17
3
  export default function parseToDom(rawHtml: string): Element | null;
18
4
  export declare function getParagraphStyle(el: HTMLElement): Nullable<IParagraphStyle>;
19
5
  export declare function generateParagraphs(dataStream: string, prevParagraph?: IParagraph): IParagraph[];
@@ -1,19 +1,5 @@
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
- import type { ICellData, IMutationInfo, IRange, ObjectMatrix } from '@univerjs/core';
1
+ import { ICellData, IMutationInfo, IRange, ObjectMatrix } from '@univerjs/core';
2
+
17
3
  export declare enum COPY_TYPE {
18
4
  COPY = "COPY",
19
5
  CUT = "CUT"
@@ -1,20 +1,6 @@
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
- import type { ICellData, IRange, ObjectMatrix } from '@univerjs/core';
17
- import type { ISheetClipboardHook } from '../type';
1
+ import { ISheetClipboardHook } from '../type';
2
+ import { ICellData, IRange, ObjectMatrix } from '@univerjs/core';
3
+
18
4
  export declare class USMToHtmlService {
19
5
  convert(matrix: ObjectMatrix<ICellData & {
20
6
  rowSpan?: number | undefined;
@@ -1,20 +1,6 @@
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
- import type { ICellData, IMutationInfo, IObjectMatrixPrimitiveType, IRange, Nullable } from '@univerjs/core';
17
- import type { ISetRangeValuesMutationParams } from '@univerjs/sheets';
1
+ import { ISetRangeValuesMutationParams } from '@univerjs/sheets';
2
+ import { ICellData, IMutationInfo, IObjectMatrixPrimitiveType, IRange, Nullable } from '@univerjs/core';
3
+
18
4
  /**
19
5
  *
20
6
  *
@@ -1,21 +1,7 @@
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
- import type { IPosition, Nullable } from '@univerjs/core';
17
- import type { IDisposable } from '@wendellhu/redi';
18
- import type { Observable } from 'rxjs';
1
+ import { Observable } from 'rxjs';
2
+ import { IDisposable } from '@wendellhu/redi';
3
+ import { IPosition, Nullable } from '@univerjs/core';
4
+
19
5
  export interface ICellEditorManagerParam extends Partial<IPosition> {
20
6
  show: boolean;
21
7
  }
@@ -54,4 +40,4 @@ export declare class CellEditorManagerService implements ICellEditorManagerServi
54
40
  setFocus(param?: boolean): void;
55
41
  private _refresh;
56
42
  }
57
- export declare const ICellEditorManagerService: import("@wendellhu/redi").IdentifierDecorator<CellEditorManagerService>;
43
+ export declare const ICellEditorManagerService: import('@wendellhu/redi').IdentifierDecorator<CellEditorManagerService>;
@@ -1,21 +1,7 @@
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
- import type { Nullable } from '@univerjs/core';
17
- import type { IDisposable } from '@wendellhu/redi';
18
- import type { Observable } from 'rxjs';
1
+ import { Observable } from 'rxjs';
2
+ import { IDisposable } from '@wendellhu/redi';
3
+ import { Nullable } from '@univerjs/core';
4
+
19
5
  export interface IFormulaEditorManagerService {
20
6
  position$: Observable<Nullable<DOMRect>>;
21
7
  focus$: Observable<boolean>;
@@ -45,4 +31,4 @@ export declare class FormulaEditorManagerService implements IDisposable {
45
31
  handleFoldBtnClick(params: boolean): void;
46
32
  private _refresh;
47
33
  }
48
- export declare const IFormulaEditorManagerService: import("@wendellhu/redi").IdentifierDecorator<FormulaEditorManagerService>;
34
+ export declare const IFormulaEditorManagerService: import('@wendellhu/redi').IdentifierDecorator<FormulaEditorManagerService>;
@@ -1,29 +1,12 @@
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
- import type { ICellDataForSheetInterceptor, IPosition, ISelectionCell, Nullable } from '@univerjs/core';
17
- import { Disposable, InterceptorManager, IUniverInstanceService, ThemeService } from '@univerjs/core';
18
- import type { Engine, IDocumentLayoutObject, Scene } from '@univerjs/engine-render';
19
- import { DeviceInputEventType } from '@univerjs/engine-render';
20
- import type { ISheetLocation } from '@univerjs/sheets';
21
- import { IEditorService } from '@univerjs/ui';
22
- import type { KeyCode } from '@univerjs/ui';
23
- import type { IDisposable } from '@wendellhu/redi';
24
- import type { Observable } from 'rxjs';
25
- import { ISelectionRenderService } from './selection/selection-render.service';
26
1
  import { SheetSkeletonManagerService } from './sheet-skeleton-manager.service';
2
+ import { ISelectionRenderService } from './selection/selection-render.service';
3
+ import { Observable } from 'rxjs';
4
+ import { IDisposable } from '@wendellhu/redi';
5
+ import { IEditorService, KeyCode } from '@univerjs/ui';
6
+ import { ISheetLocation } from '@univerjs/sheets';
7
+ import { Engine, IDocumentLayoutObject, Scene, DeviceInputEventType } from '@univerjs/engine-render';
8
+ import { ICellDataForSheetInterceptor, IPosition, ISelectionCell, Nullable, Disposable, InterceptorManager, IUniverInstanceService, ThemeService } from '@univerjs/core';
9
+
27
10
  export interface IEditorBridgeServiceVisibleParam {
28
11
  visible: boolean;
29
12
  eventType: DeviceInputEventType;
@@ -52,14 +35,16 @@ export interface IEditorBridgeServiceParam {
52
35
  editorUnitId: string;
53
36
  isInArrayFormulaRange?: Nullable<boolean>;
54
37
  }
55
- declare const BEFORE_CELL_EDIT: import("@univerjs/core").IInterceptor<ICellDataForSheetInterceptor, ISheetLocation>;
56
- declare const AFTER_CELL_EDIT: import("@univerjs/core").IInterceptor<ICellDataForSheetInterceptor, ISheetLocation>;
38
+ declare const BEFORE_CELL_EDIT: import('@univerjs/core').IInterceptor<ICellDataForSheetInterceptor, ISheetLocation>;
39
+ declare const AFTER_CELL_EDIT: import('@univerjs/core').IInterceptor<ICellDataForSheetInterceptor, ISheetLocation>;
40
+ declare const AFTER_CELL_EDIT_ASYNC: import('@univerjs/core').IInterceptor<Promise<Nullable<ICellDataForSheetInterceptor>>, ISheetLocation>;
57
41
  export interface IEditorBridgeService {
58
42
  currentEditCellState$: Observable<Nullable<IEditorBridgeServiceParam>>;
59
43
  visible$: Observable<IEditorBridgeServiceVisibleParam>;
60
44
  interceptor: InterceptorManager<{
61
45
  BEFORE_CELL_EDIT: typeof BEFORE_CELL_EDIT;
62
46
  AFTER_CELL_EDIT: typeof AFTER_CELL_EDIT;
47
+ AFTER_CELL_EDIT_ASYNC: typeof AFTER_CELL_EDIT_ASYNC;
63
48
  }>;
64
49
  dispose(): void;
65
50
  refreshEditCellState(): void;
@@ -94,8 +79,9 @@ export declare class EditorBridgeService extends Disposable implements IEditorBr
94
79
  private readonly _afterVisible$;
95
80
  readonly afterVisible$: Observable<IEditorBridgeServiceVisibleParam>;
96
81
  interceptor: InterceptorManager<{
97
- BEFORE_CELL_EDIT: import("@univerjs/core").IInterceptor<ICellDataForSheetInterceptor, ISheetLocation>;
98
- AFTER_CELL_EDIT: import("@univerjs/core").IInterceptor<ICellDataForSheetInterceptor, ISheetLocation>;
82
+ BEFORE_CELL_EDIT: import('@univerjs/core').IInterceptor<ICellDataForSheetInterceptor, ISheetLocation>;
83
+ AFTER_CELL_EDIT: import('@univerjs/core').IInterceptor<ICellDataForSheetInterceptor, ISheetLocation>;
84
+ AFTER_CELL_EDIT_ASYNC: import('@univerjs/core').IInterceptor<Promise<Nullable<ICellDataForSheetInterceptor>>, ISheetLocation>;
99
85
  }>;
100
86
  constructor(_sheetSkeletonManagerService: SheetSkeletonManagerService, _selectionRenderService: ISelectionRenderService, _themeService: ThemeService, _currentUniverService: IUniverInstanceService, _editorService: IEditorService);
101
87
  refreshEditCellState(): void;
@@ -131,5 +117,5 @@ export declare class EditorBridgeService extends Disposable implements IEditorBr
131
117
  changeEditorDirty(dirtyStatus: boolean): void;
132
118
  getEditorDirty(): boolean;
133
119
  }
134
- export declare const IEditorBridgeService: import("@wendellhu/redi").IdentifierDecorator<EditorBridgeService>;
120
+ export declare const IEditorBridgeService: import('@wendellhu/redi').IdentifierDecorator<EditorBridgeService>;
135
121
  export {};