@univerjs/sheets 0.1.3 → 0.1.5

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 (103) hide show
  1. package/README.md +1 -0
  2. package/lib/cjs/index.js +2 -2
  3. package/lib/es/index.js +1674 -1582
  4. package/lib/types/basics/const/default-spreadsheet-plugin-data.d.ts +2 -16
  5. package/lib/types/basics/interfaces/i-ruler-manager.d.ts +2 -16
  6. package/lib/types/basics/interfaces/mutation-interface.d.ts +2 -16
  7. package/lib/types/basics/interfaces/selection-config.d.ts +2 -16
  8. package/lib/types/basics/interfaces/spreadsheet-config.d.ts +2 -16
  9. package/lib/types/basics/rangeMerge.d.ts +11 -16
  10. package/lib/types/basics/selection.d.ts +2 -16
  11. package/lib/types/basics/sheet-header.d.ts +2 -16
  12. package/lib/types/commands/commands/__tests__/create-command-test-bed.d.ts +3 -19
  13. package/lib/types/commands/commands/add-worksheet-merge.command.d.ts +2 -17
  14. package/lib/types/commands/commands/clear-selection-all.command.d.ts +2 -16
  15. package/lib/types/commands/commands/clear-selection-content.command.d.ts +2 -16
  16. package/lib/types/commands/commands/clear-selection-format.command.d.ts +2 -16
  17. package/lib/types/commands/commands/copy-to-worksheet.command.d.ts +2 -16
  18. package/lib/types/commands/commands/copy-worksheet.command.d.ts +2 -16
  19. package/lib/types/commands/commands/delete-range-move-left.command.d.ts +2 -16
  20. package/lib/types/commands/commands/delete-range-move-up.command.d.ts +2 -16
  21. package/lib/types/commands/commands/insert-range-move-down.command.d.ts +2 -16
  22. package/lib/types/commands/commands/insert-range-move-right.command.d.ts +2 -16
  23. package/lib/types/commands/commands/insert-row-col.command.d.ts +2 -17
  24. package/lib/types/commands/commands/insert-sheet.command.d.ts +2 -16
  25. package/lib/types/commands/commands/move-range.command.d.ts +3 -17
  26. package/lib/types/commands/commands/move-rows-cols.command.d.ts +2 -16
  27. package/lib/types/commands/commands/remove-row-col.command.d.ts +2 -16
  28. package/lib/types/commands/commands/remove-sheet.command.d.ts +2 -16
  29. package/lib/types/commands/commands/remove-worksheet-merge.command.d.ts +2 -16
  30. package/lib/types/commands/commands/set-border-command.d.ts +3 -18
  31. package/lib/types/commands/commands/set-col-visible.command.d.ts +2 -16
  32. package/lib/types/commands/commands/set-frozen-cancel.command.d.ts +2 -16
  33. package/lib/types/commands/commands/set-frozen.command.d.ts +2 -16
  34. package/lib/types/commands/commands/set-hide-gridlines.command.d.ts +2 -17
  35. package/lib/types/commands/commands/set-range-values.command.d.ts +3 -17
  36. package/lib/types/commands/commands/set-row-visible.command.d.ts +2 -16
  37. package/lib/types/commands/commands/set-style.command.d.ts +2 -16
  38. package/lib/types/commands/commands/set-tab-color.command.d.ts +2 -16
  39. package/lib/types/commands/commands/set-worksheet-activate.command.d.ts +2 -16
  40. package/lib/types/commands/commands/set-worksheet-col-width.command.d.ts +2 -16
  41. package/lib/types/commands/commands/set-worksheet-hide.command.d.ts +2 -16
  42. package/lib/types/commands/commands/set-worksheet-name.command.d.ts +2 -16
  43. package/lib/types/commands/commands/set-worksheet-order.command.d.ts +2 -16
  44. package/lib/types/commands/commands/set-worksheet-right-to-left.command.d.ts +2 -17
  45. package/lib/types/commands/commands/set-worksheet-row-height.command.d.ts +2 -16
  46. package/lib/types/commands/commands/set-worksheet-show.command.d.ts +2 -16
  47. package/lib/types/commands/commands/utils/merged-cell-util.d.ts +2 -16
  48. package/lib/types/commands/commands/utils/selection-utils.d.ts +4 -17
  49. package/lib/types/commands/mutations/__tests__/create-command-test-bed.d.ts +3 -19
  50. package/lib/types/commands/mutations/add-worksheet-merge.mutation.d.ts +4 -18
  51. package/lib/types/commands/mutations/empty.mutation.d.ts +2 -16
  52. package/lib/types/commands/mutations/insert-row-col.mutation.d.ts +4 -18
  53. package/lib/types/commands/mutations/insert-sheet.mutation.d.ts +4 -18
  54. package/lib/types/commands/mutations/move-range.mutation.d.ts +2 -16
  55. package/lib/types/commands/mutations/move-rows-cols.mutation.d.ts +3 -17
  56. package/lib/types/commands/mutations/numfmt-mutation.d.ts +4 -18
  57. package/lib/types/commands/mutations/remove-row-col.mutation.d.ts +4 -18
  58. package/lib/types/commands/mutations/remove-sheet.mutation.d.ts +4 -18
  59. package/lib/types/commands/mutations/remove-worksheet-merge.mutation.d.ts +4 -18
  60. package/lib/types/commands/mutations/set-col-visible.mutation.d.ts +3 -17
  61. package/lib/types/commands/mutations/set-frozen.mutation.d.ts +3 -17
  62. package/lib/types/commands/mutations/set-hide-gridlines.mutatiom.d.ts +3 -17
  63. package/lib/types/commands/mutations/set-range-values.mutation.d.ts +3 -17
  64. package/lib/types/commands/mutations/set-row-visible.mutation.d.ts +3 -17
  65. package/lib/types/commands/mutations/set-tab-color.mutation.d.ts +3 -17
  66. package/lib/types/commands/mutations/set-worksheet-col-width.mutation.d.ts +3 -17
  67. package/lib/types/commands/mutations/set-worksheet-config.mutation.d.ts +3 -17
  68. package/lib/types/commands/mutations/set-worksheet-hide.mutation.d.ts +3 -17
  69. package/lib/types/commands/mutations/set-worksheet-name.mutation.d.ts +3 -17
  70. package/lib/types/commands/mutations/set-worksheet-order.mutation.d.ts +5 -18
  71. package/lib/types/commands/mutations/set-worksheet-right-to-left.mutation.d.ts +3 -17
  72. package/lib/types/commands/mutations/set-worksheet-row-height.mutation.d.ts +4 -18
  73. package/lib/types/commands/operations/selection.operation.d.ts +4 -18
  74. package/lib/types/commands/operations/set-worksheet-active.operation.d.ts +2 -16
  75. package/lib/types/commands/utils/get-target.d.ts +2 -16
  76. package/lib/types/commands/utils/handle-merge-operation.d.ts +13 -0
  77. package/lib/types/commands/utils/handle-range-mutation.d.ts +4 -19
  78. package/lib/types/controllers/__tests__/util.d.ts +10 -25
  79. package/lib/types/controllers/basic-worksheet.controller.d.ts +3 -18
  80. package/lib/types/controllers/calculate-result-apply.controller.d.ts +1 -15
  81. package/lib/types/controllers/feature-calculation.controller.d.ts +2 -16
  82. package/lib/types/controllers/merge-cell.controller.d.ts +5 -20
  83. package/lib/types/index.d.ts +3 -2
  84. package/lib/types/locale/en-US.d.ts +2 -16
  85. package/lib/types/services/__tests__/util.d.ts +10 -25
  86. package/lib/types/services/border-style-manager.service.d.ts +3 -17
  87. package/lib/types/services/numfmt/numfmt.service.d.ts +5 -19
  88. package/lib/types/services/numfmt/type.d.ts +5 -18
  89. package/lib/types/services/permission/permission-point.d.ts +1 -15
  90. package/lib/types/services/permission/sheet-permission.service.d.ts +3 -18
  91. package/lib/types/services/permission/tool.d.ts +2 -16
  92. package/lib/types/services/ref-range/__tests__/util.d.ts +10 -25
  93. package/lib/types/services/ref-range/ref-range.service.d.ts +7 -22
  94. package/lib/types/services/ref-range/type.d.ts +10 -32
  95. package/lib/types/services/ref-range/util.d.ts +7 -22
  96. package/lib/types/services/selection-manager.service.d.ts +7 -21
  97. package/lib/types/services/sheet-interceptor/__tests__/create-core-test-bed.d.ts +10 -25
  98. package/lib/types/services/sheet-interceptor/interceptor-const.d.ts +5 -19
  99. package/lib/types/services/sheet-interceptor/sheet-interceptor.service.d.ts +4 -19
  100. package/lib/types/services/sheet-interceptor/utils/interceptor.d.ts +2 -16
  101. package/lib/types/sheets-plugin.d.ts +2 -16
  102. package/lib/umd/index.js +2 -2
  103. package/package.json +14 -13
@@ -1,24 +1,9 @@
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 } from '@univerjs/core';
17
- import { Dimension, Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
18
- import { Injector } from '@wendellhu/redi';
19
- import { RefRangeService } from '../services/ref-range/ref-range.service';
20
- import { SelectionManagerService } from '../services/selection-manager.service';
21
1
  import { SheetInterceptorService } from '../services/sheet-interceptor/sheet-interceptor.service';
2
+ import { SelectionManagerService } from '../services/selection-manager.service';
3
+ import { RefRangeService } from '../services/ref-range/ref-range.service';
4
+ import { Injector } from '@wendellhu/redi';
5
+ import { IRange, Dimension, Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
6
+
22
7
  /**
23
8
  * calculates the selection based on the merged cell type
24
9
  * @param {IRange[]} selection
@@ -17,12 +17,12 @@ export { type IUniverSheetsConfig, UniverSheetsPlugin } from './sheets-plugin';
17
17
  export { COMMAND_LISTENER_SKELETON_CHANGE, COMMAND_LISTENER_VALUE_CHANGE } from './basics/const/command-listener-const';
18
18
  export { type IAddWorksheetMergeMutationParams, type IDeleteRangeMutationParams, type IInsertColMutationParams, type IInsertRangeMutationParams, type IInsertRowMutationParams, type IInsertSheetMutationParams, type IRemoveColMutationParams, type IRemoveRowsMutationParams, type IRemoveSheetMutationParams, type IRemoveWorksheetMergeMutationParams, } from './basics/interfaces/mutation-interface';
19
19
  export { convertPrimaryWithCoordToPrimary, convertSelectionDataToRange, getNormalSelectionStyle, type ISelectionStyle, type ISelectionWidgetConfig, type ISelectionWithCoordAndStyle, type ISelectionWithStyle, SELECTION_CONTROL_BORDER_BUFFER_COLOR, SELECTION_CONTROL_BORDER_BUFFER_WIDTH, transformCellDataToSelectionData, } from './basics/selection';
20
- export { alignToMergedCellsBorders, getCellAtRowCol } from './commands/commands/utils/selection-utils';
20
+ export { alignToMergedCellsBorders, getCellAtRowCol, setEndForRange } from './commands/commands/utils/selection-utils';
21
21
  export { MAX_CELL_PER_SHEET_KEY } from './controllers/config/config';
22
22
  export { BorderStyleManagerService, type IBorderInfo } from './services/border-style-manager.service';
23
23
  export { getCurrentSheetDisabled$, SheetEditablePermission, SheetPermissionService } from './services/permission';
24
24
  export { NORMAL_SELECTION_PLUGIN_NAME, SelectionManagerService, SelectionMoveType, } from './services/selection-manager.service';
25
- export { rangeMerge } from './basics/rangeMerge';
25
+ export { rangeMerge, createTopMatrixFromRanges, createTopMatrixFromMatrix, findAllRectangle, RangeMergeUtil } from './basics/rangeMerge';
26
26
  export { ClearSelectionAllCommand } from './commands/commands/clear-selection-all.command';
27
27
  export { ClearSelectionContentCommand } from './commands/commands/clear-selection-content.command';
28
28
  export { ClearSelectionFormatCommand } from './commands/commands/clear-selection-format.command';
@@ -113,3 +113,4 @@ export { INTERCEPTOR_POINT } from './services/sheet-interceptor/interceptor-cons
113
113
  export { SheetInterceptorService } from './services/sheet-interceptor/sheet-interceptor.service';
114
114
  export type { ISheetLocation } from './services/sheet-interceptor/utils/interceptor';
115
115
  export { MergeCellController } from './controllers/merge-cell.controller';
116
+ export { AddMergeRedoSelectionsOperationFactory, AddMergeUndoSelectionsOperationFactory } from './commands/utils/handle-merge-operation';
@@ -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 zhCN from './zh-CN';
1
+ import { default as zhCN } from './zh-CN';
2
+
17
3
  declare const locale: typeof zhCN;
18
4
  export default locale;
@@ -1,31 +1,16 @@
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 } from '@wendellhu/redi';
1
+ import { Dependency } from '@wendellhu/redi';
2
+ import { IWorkbookData, Univer } from '@univerjs/core';
3
+
19
4
  export declare const TEST_WORKBOOK_DATA_DEMO: IWorkbookData;
20
5
  export declare function createTestBase(workbookConfig?: IWorkbookData, dependencies?: Dependency[]): {
21
6
  univer: Univer;
22
7
  get: {
23
- <T>(id: import("@wendellhu/redi").DependencyIdentifier<T>, lookUp?: import("@wendellhu/redi").LookUp | undefined): T;
24
- <T_1>(id: import("@wendellhu/redi").DependencyIdentifier<T_1>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import("@wendellhu/redi").LookUp | undefined): T_1[];
25
- <T_2>(id: import("@wendellhu/redi").DependencyIdentifier<T_2>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import("@wendellhu/redi").LookUp | undefined): T_2 | null;
26
- <T_3>(id: import("@wendellhu/redi").DependencyIdentifier<T_3>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import("@wendellhu/redi").LookUp | undefined): T_3;
27
- <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;
28
- <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;
8
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp | undefined): T;
9
+ <T_1>(id: import('@wendellhu/redi').DependencyIdentifier<T_1>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_1[];
10
+ <T_2>(id: import('@wendellhu/redi').DependencyIdentifier<T_2>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_2 | null;
11
+ <T_3>(id: import('@wendellhu/redi').DependencyIdentifier<T_3>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_3;
12
+ <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;
13
+ <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;
29
14
  };
30
- sheet: import("@univerjs/core").Workbook;
15
+ sheet: import('@univerjs/core').Workbook;
31
16
  };
@@ -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
- */
1
+ import { IDisposable } from '@wendellhu/redi';
16
2
  import { BorderStyleTypes, BorderType } from '@univerjs/core';
17
- import type { IDisposable } from '@wendellhu/redi';
3
+
18
4
  export interface IBorderInfo {
19
5
  type: BorderType;
20
6
  color: string;
@@ -27,7 +13,7 @@ export interface IBorderInfo {
27
13
  export declare class BorderStyleManagerService implements IDisposable {
28
14
  private readonly _borderInfo;
29
15
  private readonly _borderInfo$;
30
- readonly borderInfo$: import("rxjs").Observable<IBorderInfo>;
16
+ readonly borderInfo$: import('rxjs').Observable<IBorderInfo>;
31
17
  dispose(): void;
32
18
  setType(type: BorderType): void;
33
19
  setColor(color: string): void;
@@ -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 { IRange } from '@univerjs/core';
17
- import { Disposable, ICommandService, ILogService, IResourceManagerService, IUniverInstanceService, ObjectMatrix, RefAlias } from '@univerjs/core';
18
- import type { FormatType, INumfmtItem, INumfmtService, IRefItem } from './type';
1
+ import { FormatType, INumfmtItem, INumfmtService, IRefItem } from './type';
2
+ import { IRange, Disposable, ICommandService, ILogService, IResourceManagerService, IUniverInstanceService, ObjectMatrix, RefAlias } from '@univerjs/core';
3
+
19
4
  export declare class NumfmtService extends Disposable implements INumfmtService {
20
5
  private _commandService;
21
6
  private _resourceManagerService;
@@ -29,7 +14,7 @@ export declare class NumfmtService extends Disposable implements INumfmtService
29
14
  private _numfmtModel;
30
15
  private _refAliasModel;
31
16
  private _modelReplace$;
32
- modelReplace$: import("rxjs").Observable<string>;
17
+ modelReplace$: import('rxjs').Observable<string>;
33
18
  constructor(_commandService: ICommandService, _resourceManagerService: IResourceManagerService, _univerInstanceService: IUniverInstanceService, _logService: ILogService);
34
19
  private _initModel;
35
20
  private _toJson;
@@ -48,4 +33,5 @@ export declare class NumfmtService extends Disposable implements INumfmtService
48
33
  }>): void;
49
34
  getModel(unitId: string, subUnitId: string): ObjectMatrix<INumfmtItem> | undefined;
50
35
  getRefModel(unitId: string): RefAlias<IRefItem, "i" | "pattern"> | undefined;
36
+ serialTimeToTimestamp(serialValue: number, is1900?: boolean): number;
51
37
  }
@@ -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, IObjectMatrixPrimitiveType, IRange, Nullable, ObjectMatrix, RefAlias } from '@univerjs/core';
17
- import type { Observable } from 'rxjs';
1
+ import { Observable } from 'rxjs';
2
+ import { ICellData, IObjectMatrixPrimitiveType, IRange, Nullable, ObjectMatrix, RefAlias } from '@univerjs/core';
3
+
18
4
  export type INumfmtItem = {
19
5
  i: string;
20
6
  };
@@ -43,9 +29,10 @@ export interface INumfmtService {
43
29
  deleteValues(unitId: string, subUnitId: string, values: IRange[]): void;
44
30
  getRefModel(unitId: string): Nullable<RefAlias<IRefItem, 'i' | 'pattern'>>;
45
31
  modelReplace$: Observable<string>;
32
+ serialTimeToTimestamp: (v: number, is1900?: boolean) => number;
46
33
  }
47
34
  export interface ISnapshot {
48
35
  model: Record<string, IObjectMatrixPrimitiveType<INumfmtItem>>;
49
36
  refModel: IRefItem[];
50
37
  }
51
- export declare const INumfmtService: import("@wendellhu/redi").IdentifierDecorator<INumfmtService>;
38
+ export declare const INumfmtService: import('@wendellhu/redi').IdentifierDecorator<INumfmtService>;
@@ -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
1
  import { PermissionPoint } from '@univerjs/core';
2
+
17
3
  export declare class SheetEditablePermission extends PermissionPoint<boolean> {
18
4
  private _unitId;
19
5
  private _subUnitId;
@@ -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 { PermissionService } from '@univerjs/core';
17
- import { Disposable, IUniverInstanceService } from '@univerjs/core';
18
1
  import { SheetInterceptorService } from '../sheet-interceptor/sheet-interceptor.service';
2
+ import { PermissionService, Disposable, IUniverInstanceService } from '@univerjs/core';
3
+
19
4
  export declare class SheetPermissionService extends Disposable {
20
5
  private _permissionService;
21
6
  private _univerInstanceService;
@@ -23,7 +8,7 @@ export declare class SheetPermissionService extends Disposable {
23
8
  constructor(_permissionService: PermissionService, _univerInstanceService: IUniverInstanceService, _sheetInterceptorService: SheetInterceptorService);
24
9
  private _init;
25
10
  private _interceptCommandPermission;
26
- getEditable$(unitId?: string, sheetId?: string): import("rxjs").Observable<{
11
+ getEditable$(unitId?: string, sheetId?: string): import('rxjs').Observable<{
27
12
  value: any;
28
13
  status: import("@univerjs/core").PermissionStatus;
29
14
  }>;
@@ -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 { IAccessor } from '@wendellhu/redi';
17
1
  import { Observable } from 'rxjs';
2
+ import { IAccessor } from '@wendellhu/redi';
3
+
18
4
  export declare function getCurrentSheetDisabled$(accessor: IAccessor): Observable<boolean>;
@@ -1,31 +1,16 @@
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 } from '@wendellhu/redi';
1
+ import { Dependency } from '@wendellhu/redi';
2
+ import { IWorkbookData, Univer } from '@univerjs/core';
3
+
19
4
  export declare const TEST_WORKBOOK_DATA_DEMO: IWorkbookData;
20
5
  export declare function createTestBase(workbookConfig?: IWorkbookData, dependencies?: Dependency[]): {
21
6
  univer: Univer;
22
7
  get: {
23
- <T>(id: import("@wendellhu/redi").DependencyIdentifier<T>, lookUp?: import("@wendellhu/redi").LookUp | undefined): T;
24
- <T_1>(id: import("@wendellhu/redi").DependencyIdentifier<T_1>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import("@wendellhu/redi").LookUp | undefined): T_1[];
25
- <T_2>(id: import("@wendellhu/redi").DependencyIdentifier<T_2>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import("@wendellhu/redi").LookUp | undefined): T_2 | null;
26
- <T_3>(id: import("@wendellhu/redi").DependencyIdentifier<T_3>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import("@wendellhu/redi").LookUp | undefined): T_3;
27
- <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;
28
- <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;
8
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp | undefined): T;
9
+ <T_1>(id: import('@wendellhu/redi').DependencyIdentifier<T_1>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_1[];
10
+ <T_2>(id: import('@wendellhu/redi').DependencyIdentifier<T_2>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_2 | null;
11
+ <T_3>(id: import('@wendellhu/redi').DependencyIdentifier<T_3>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_3;
12
+ <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;
13
+ <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;
29
14
  };
30
- sheet: import("@univerjs/core").Workbook;
15
+ sheet: import('@univerjs/core').Workbook;
31
16
  };
@@ -1,24 +1,9 @@
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 { IMutationInfo, IRange } from '@univerjs/core';
17
- import { Disposable, InterceptorManager, IUniverInstanceService } from '@univerjs/core';
18
- import type { IDisposable } from '@wendellhu/redi';
19
- import { SelectionManagerService } from '../selection-manager.service';
1
+ import { EffectRefRangeParams } from './type';
20
2
  import { SheetInterceptorService } from '../sheet-interceptor/sheet-interceptor.service';
21
- import type { EffectRefRangeParams } from './type';
3
+ import { SelectionManagerService } from '../selection-manager.service';
4
+ import { IDisposable } from '@wendellhu/redi';
5
+ import { IMutationInfo, IRange, Disposable, InterceptorManager, IUniverInstanceService } from '@univerjs/core';
6
+
22
7
  type RefRangCallback = (params: EffectRefRangeParams) => {
23
8
  redos: IMutationInfo[];
24
9
  undos: IMutationInfo[];
@@ -31,8 +16,8 @@ export declare class RefRangeService extends Disposable {
31
16
  private _univerInstanceService;
32
17
  private _selectionManagerService;
33
18
  interceptor: InterceptorManager<{
34
- MERGE_REDO: import("@univerjs/core").IInterceptor<IMutationInfo<object>[], null>;
35
- MERGE_UNDO: import("@univerjs/core").IInterceptor<IMutationInfo<object>[], null>;
19
+ MERGE_REDO: import('@univerjs/core').IInterceptor<IMutationInfo<object>[], null>;
20
+ MERGE_UNDO: import('@univerjs/core').IInterceptor<IMutationInfo<object>[], null>;
36
21
  }>;
37
22
  constructor(_sheetInterceptorService: SheetInterceptorService, _univerInstanceService: IUniverInstanceService, _selectionManagerService: SelectionManagerService);
38
23
  private _refRangeManagerMap;
@@ -1,35 +1,13 @@
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 { ICommandInfo, IRange } from '@univerjs/core';
17
- import type { IDeleteRangeMoveLeftCommandParams } from '../../commands/commands/delete-range-move-left.command';
18
- import { DeleteRangeMoveLeftCommandId } from '../../commands/commands/delete-range-move-left.command';
19
- import type { IDeleteRangeMoveUpCommandParams } from '../../commands/commands/delete-range-move-up.command';
20
- import { DeleteRangeMoveUpCommandId } from '../../commands/commands/delete-range-move-up.command';
21
- import type { InsertRangeMoveDownCommandParams } from '../../commands/commands/insert-range-move-down.command';
22
- import { InsertRangeMoveDownCommandId } from '../../commands/commands/insert-range-move-down.command';
23
- import type { InsertRangeMoveRightCommandParams } from '../../commands/commands/insert-range-move-right.command';
24
- import { InsertRangeMoveRightCommandId } from '../../commands/commands/insert-range-move-right.command';
25
- import type { IInsertColCommandParams, IInsertRowCommandParams } from '../../commands/commands/insert-row-col.command';
26
- import { InsertColCommandId, InsertRowCommandId } from '../../commands/commands/insert-row-col.command';
27
- import type { IMoveRangeCommandParams } from '../../commands/commands/move-range.command';
28
- import { MoveRangeCommandId } from '../../commands/commands/move-range.command';
29
- import type { IMoveColsCommandParams, IMoveRowsCommandParams } from '../../commands/commands/move-rows-cols.command';
30
- import { MoveColsCommandId, MoveRowsCommandId } from '../../commands/commands/move-rows-cols.command';
31
- import type { IRemoveRowColCommandParams } from '../../commands/commands/remove-row-col.command';
32
- import { RemoveColCommandId, RemoveRowCommandId } from '../../commands/commands/remove-row-col.command';
1
+ import { IRemoveRowColCommandParams, RemoveColCommandId, RemoveRowCommandId } from '../../commands/commands/remove-row-col.command';
2
+ import { IMoveColsCommandParams, IMoveRowsCommandParams, MoveColsCommandId, MoveRowsCommandId } from '../../commands/commands/move-rows-cols.command';
3
+ import { IMoveRangeCommandParams, MoveRangeCommandId } from '../../commands/commands/move-range.command';
4
+ import { IInsertColCommandParams, IInsertRowCommandParams, InsertColCommandId, InsertRowCommandId } from '../../commands/commands/insert-row-col.command';
5
+ import { InsertRangeMoveRightCommandParams, InsertRangeMoveRightCommandId } from '../../commands/commands/insert-range-move-right.command';
6
+ import { InsertRangeMoveDownCommandParams, InsertRangeMoveDownCommandId } from '../../commands/commands/insert-range-move-down.command';
7
+ import { IDeleteRangeMoveUpCommandParams, DeleteRangeMoveUpCommandId } from '../../commands/commands/delete-range-move-up.command';
8
+ import { IDeleteRangeMoveLeftCommandParams, DeleteRangeMoveLeftCommandId } from '../../commands/commands/delete-range-move-left.command';
9
+ import { ICommandInfo, IRange } from '@univerjs/core';
10
+
33
11
  export type IMoveRowsCommand = ICommandInfo<IMoveRowsCommandParams> & {
34
12
  id: typeof MoveRowsCommandId;
35
13
  };
@@ -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 type { ICommandInfo, IRange } from '@univerjs/core';
17
- import { RANGE_TYPE } from '@univerjs/core';
18
- import type { IDeleteRangeMoveLeftCommand, IDeleteRangeMoveUpCommand, IInsertColCommand, IInsertRangeMoveDownCommand, IInsertRangeMoveRightCommand, IInsertRowCommand, IMoveColsCommand, IMoveRangeCommand, IMoveRowsCommand, IOperator, IRemoveRowColCommand } from './type';
1
+ import { IDeleteRangeMoveLeftCommand, IDeleteRangeMoveUpCommand, IInsertColCommand, IInsertRangeMoveDownCommand, IInsertRangeMoveRightCommand, IInsertRowCommand, IMoveColsCommand, IMoveRangeCommand, IMoveRowsCommand, IOperator, IRemoveRowColCommand } from './type';
2
+ import { ICommandInfo, IRange, RANGE_TYPE } from '@univerjs/core';
3
+
19
4
  export declare const handleRangeTypeInput: (range: IRange) => {
20
5
  startColumn: number;
21
6
  endColumn: number;
22
7
  rangeType?: RANGE_TYPE | undefined;
23
- startAbsoluteRefType?: import("@univerjs/core").AbsoluteRefType | undefined;
24
- endAbsoluteRefType?: import("@univerjs/core").AbsoluteRefType | undefined;
8
+ startAbsoluteRefType?: import('@univerjs/core').AbsoluteRefType | undefined;
9
+ endAbsoluteRefType?: import('@univerjs/core').AbsoluteRefType | undefined;
25
10
  startRow: number;
26
11
  endRow: number;
27
12
  };
@@ -29,8 +14,8 @@ export declare const handleRangeTypeOutput: (range: IRange, maxRow: number, maxC
29
14
  startColumn: number;
30
15
  endColumn: number;
31
16
  rangeType?: RANGE_TYPE | undefined;
32
- startAbsoluteRefType?: import("@univerjs/core").AbsoluteRefType | undefined;
33
- endAbsoluteRefType?: import("@univerjs/core").AbsoluteRefType | undefined;
17
+ startAbsoluteRefType?: import('@univerjs/core').AbsoluteRefType | undefined;
18
+ endAbsoluteRefType?: import('@univerjs/core').AbsoluteRefType | undefined;
34
19
  startRow: number;
35
20
  endRow: number;
36
21
  };
@@ -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 IRange, type ISelectionCell, type Nullable, ThemeService } from '@univerjs/core';
17
- import { type IDisposable } from '@wendellhu/redi';
18
- import type { ISelectionStyle, ISelectionWithStyle } from '../basics/selection';
1
+ import { ISelectionStyle, ISelectionWithStyle } from '../basics/selection';
2
+ import { IDisposable } from '@wendellhu/redi';
3
+ import { IRange, ISelectionCell, Nullable, ThemeService } from '@univerjs/core';
4
+
19
5
  export declare const NORMAL_SELECTION_PLUGIN_NAME = "normalSelectionPluginName";
20
6
  export interface ISelectionManagerSearchParam {
21
7
  pluginName: string;
@@ -53,11 +39,11 @@ export declare class SelectionManagerService implements IDisposable {
53
39
  private readonly _selectionInfo;
54
40
  private _currentSelection;
55
41
  private readonly _selectionMoveStart$;
56
- readonly selectionMoveStart$: import("rxjs").Observable<Nullable<ISelectionWithStyle[]>>;
42
+ readonly selectionMoveStart$: import('rxjs').Observable<Nullable<ISelectionWithStyle[]>>;
57
43
  private readonly _selectionMoving$;
58
- readonly selectionMoving$: import("rxjs").Observable<Nullable<ISelectionWithStyle[]>>;
44
+ readonly selectionMoving$: import('rxjs').Observable<Nullable<ISelectionWithStyle[]>>;
59
45
  private readonly _selectionMoveEnd$;
60
- readonly selectionMoveEnd$: import("rxjs").Observable<Nullable<ISelectionWithStyle[]>>;
46
+ readonly selectionMoveEnd$: import('rxjs').Observable<Nullable<ISelectionWithStyle[]>>;
61
47
  private _dirty;
62
48
  constructor(_themeService: ThemeService);
63
49
  getCurrent(): Nullable<ISelectionManagerSearchParam>;
@@ -1,30 +1,15 @@
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 } from '@wendellhu/redi';
1
+ import { Dependency } from '@wendellhu/redi';
2
+ import { IWorkbookData, Univer } from '@univerjs/core';
3
+
19
4
  export declare function createCoreTestBed(workbookConfig?: IWorkbookData, dependencies?: Dependency[]): {
20
5
  univer: Univer;
21
6
  get: {
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;
7
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp | undefined): T;
8
+ <T_1>(id: import('@wendellhu/redi').DependencyIdentifier<T_1>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_1[];
9
+ <T_2>(id: import('@wendellhu/redi').DependencyIdentifier<T_2>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_2 | null;
10
+ <T_3>(id: import('@wendellhu/redi').DependencyIdentifier<T_3>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_3;
11
+ <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;
12
+ <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;
28
13
  };
29
- sheet: import("@univerjs/core").Workbook;
14
+ sheet: import('@univerjs/core').Workbook;
30
15
  };
@@ -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 { ICellDataForSheetInterceptor, ICommandInfo } from '@univerjs/core';
17
- import type { ISheetLocation } from './utils/interceptor';
1
+ import { ISheetLocation } from './utils/interceptor';
2
+ import { ICellDataForSheetInterceptor, ICommandInfo } from '@univerjs/core';
3
+
18
4
  export declare const INTERCEPTOR_POINT: {
19
- CELL_CONTENT: import("@univerjs/core").IInterceptor<ICellDataForSheetInterceptor, ISheetLocation>;
20
- PERMISSION: import("@univerjs/core").IInterceptor<boolean, ICommandInfo<object>>;
5
+ CELL_CONTENT: import('@univerjs/core').IInterceptor<ICellDataForSheetInterceptor, ISheetLocation>;
6
+ PERMISSION: import('@univerjs/core').IInterceptor<boolean, ICommandInfo<object>>;
21
7
  };