@univerjs/sheets 0.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +13 -0
- package/lib/cjs/index.js +11383 -0
- package/lib/cjs/locale/en-US.js +26 -0
- package/lib/cjs/locale/zh-CN.js +26 -0
- package/lib/esm/index.js +10934 -0
- package/lib/esm/locale/en-US.js +5 -0
- package/lib/esm/locale/zh-CN.js +5 -0
- package/lib/types/basics/const/command-listener-const.d.ts +3 -0
- package/lib/types/basics/const/command-listener-const.d.ts.map +1 -0
- package/lib/types/basics/const/default-spreadsheet-plugin-data.d.ts +3 -0
- package/lib/types/basics/const/default-spreadsheet-plugin-data.d.ts.map +1 -0
- package/lib/types/basics/const/index.d.ts +3 -0
- package/lib/types/basics/const/index.d.ts.map +1 -0
- package/lib/types/basics/get-apply-data.d.ts +1 -0
- package/lib/types/basics/get-apply-data.d.ts.map +1 -0
- package/lib/types/basics/index.d.ts +4 -0
- package/lib/types/basics/index.d.ts.map +1 -0
- package/lib/types/basics/interfaces/i-ruler-manager.d.ts +8 -0
- package/lib/types/basics/interfaces/i-ruler-manager.d.ts.map +1 -0
- package/lib/types/basics/interfaces/index.d.ts +4 -0
- package/lib/types/basics/interfaces/index.d.ts.map +1 -0
- package/lib/types/basics/interfaces/mutation-interface.d.ts +66 -0
- package/lib/types/basics/interfaces/mutation-interface.d.ts.map +1 -0
- package/lib/types/basics/interfaces/selection-config.d.ts +9 -0
- package/lib/types/basics/interfaces/selection-config.d.ts.map +1 -0
- package/lib/types/basics/interfaces/spreadsheet-config.d.ts +5 -0
- package/lib/types/basics/interfaces/spreadsheet-config.d.ts.map +1 -0
- package/lib/types/basics/selection.d.ts +136 -0
- package/lib/types/basics/selection.d.ts.map +1 -0
- package/lib/types/basics/sheet-header.d.ts +4 -0
- package/lib/types/basics/sheet-header.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/add-worksheet-merge.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/add-worksheet-merge.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/clear-selection.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/clear-selection.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/copy-worksheet.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/copy-worksheet.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/create-command-test-bed.d.ts +11 -0
- package/lib/types/commands/commands/__tests__/create-command-test-bed.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/delete-range.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/delete-range.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/insert-range.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/insert-range.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/insert-remove-rows-cols.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/insert-remove-rows-cols.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/move-range-commands.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/move-range-commands.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/move-rows-cols.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/move-rows-cols.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/remove-sheet.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/remove-sheet.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/set-border.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/set-border.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/set-col-width.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/set-col-width.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/set-frozen.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/set-frozen.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/set-range-values.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/set-range-values.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/set-row-col-visible.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/set-row-col-visible.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/set-row-height.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/set-row-height.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/set-style.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/set-style.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/set-tab-color.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/set-tab-color.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/set-worksheet-hide.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/set-worksheet-hide.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/set-worksheet-name.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/set-worksheet-name.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/set-worksheet-order.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/set-worksheet-order.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/set-worksheet-show.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/set-worksheet-show.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/add-worksheet-merge.command.d.ts +20 -0
- package/lib/types/commands/commands/add-worksheet-merge.command.d.ts.map +1 -0
- package/lib/types/commands/commands/clear-selection-all.command.d.ts +6 -0
- package/lib/types/commands/commands/clear-selection-all.command.d.ts.map +1 -0
- package/lib/types/commands/commands/clear-selection-content.command.d.ts +6 -0
- package/lib/types/commands/commands/clear-selection-content.command.d.ts.map +1 -0
- package/lib/types/commands/commands/clear-selection-format.command.d.ts +7 -0
- package/lib/types/commands/commands/clear-selection-format.command.d.ts.map +1 -0
- package/lib/types/commands/commands/copy-to-worksheet.command.d.ts +9 -0
- package/lib/types/commands/commands/copy-to-worksheet.command.d.ts.map +1 -0
- package/lib/types/commands/commands/copy-worksheet.command.d.ts +7 -0
- package/lib/types/commands/commands/copy-worksheet.command.d.ts.map +1 -0
- package/lib/types/commands/commands/delete-range-move-left.command.d.ts +10 -0
- package/lib/types/commands/commands/delete-range-move-left.command.d.ts.map +1 -0
- package/lib/types/commands/commands/delete-range-move-up.command.d.ts +10 -0
- package/lib/types/commands/commands/delete-range-move-up.command.d.ts.map +1 -0
- package/lib/types/commands/commands/insert-range-move-down.command.d.ts +10 -0
- package/lib/types/commands/commands/insert-range-move-down.command.d.ts.map +1 -0
- package/lib/types/commands/commands/insert-range-move-right.command.d.ts +10 -0
- package/lib/types/commands/commands/insert-range-move-right.command.d.ts.map +1 -0
- package/lib/types/commands/commands/insert-row-col.command.d.ts +36 -0
- package/lib/types/commands/commands/insert-row-col.command.d.ts.map +1 -0
- package/lib/types/commands/commands/insert-sheet.command.d.ts +11 -0
- package/lib/types/commands/commands/insert-sheet.command.d.ts.map +1 -0
- package/lib/types/commands/commands/move-range.command.d.ts +8 -0
- package/lib/types/commands/commands/move-range.command.d.ts.map +1 -0
- package/lib/types/commands/commands/move-rows-cols.command.d.ts +15 -0
- package/lib/types/commands/commands/move-rows-cols.command.d.ts.map +1 -0
- package/lib/types/commands/commands/remove-row-col.command.d.ts +15 -0
- package/lib/types/commands/commands/remove-row-col.command.d.ts.map +1 -0
- package/lib/types/commands/commands/remove-sheet.command.d.ts +10 -0
- package/lib/types/commands/commands/remove-sheet.command.d.ts.map +1 -0
- package/lib/types/commands/commands/remove-worksheet-merge.command.d.ts +3 -0
- package/lib/types/commands/commands/remove-worksheet-merge.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-border-command.d.ts +24 -0
- package/lib/types/commands/commands/set-border-command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-col-visible.command.d.ts +10 -0
- package/lib/types/commands/commands/set-col-visible.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-frozen-cancel.command.d.ts +3 -0
- package/lib/types/commands/commands/set-frozen-cancel.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-frozen.command.d.ts +3 -0
- package/lib/types/commands/commands/set-frozen.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-hide-gridlines.command.d.ts +9 -0
- package/lib/types/commands/commands/set-hide-gridlines.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-range-values.command.d.ts +17 -0
- package/lib/types/commands/commands/set-range-values.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-row-visible.command.d.ts +10 -0
- package/lib/types/commands/commands/set-row-visible.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-style.command.d.ts +70 -0
- package/lib/types/commands/commands/set-style.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-tab-color.command.d.ts +6 -0
- package/lib/types/commands/commands/set-tab-color.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-worksheet-activate.command.d.ts +7 -0
- package/lib/types/commands/commands/set-worksheet-activate.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-worksheet-col-width.command.d.ts +11 -0
- package/lib/types/commands/commands/set-worksheet-col-width.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-worksheet-hide.command.d.ts +6 -0
- package/lib/types/commands/commands/set-worksheet-hide.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-worksheet-name.command.d.ts +11 -0
- package/lib/types/commands/commands/set-worksheet-name.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-worksheet-order.command.d.ts +8 -0
- package/lib/types/commands/commands/set-worksheet-order.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-worksheet-right-to-left.command.d.ts +9 -0
- package/lib/types/commands/commands/set-worksheet-right-to-left.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-worksheet-row-height.command.d.ts +14 -0
- package/lib/types/commands/commands/set-worksheet-row-height.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-worksheet-show.command.d.ts +6 -0
- package/lib/types/commands/commands/set-worksheet-show.command.d.ts.map +1 -0
- package/lib/types/commands/commands/utils/merged-cell-util.d.ts +7 -0
- package/lib/types/commands/commands/utils/merged-cell-util.d.ts.map +1 -0
- package/lib/types/commands/commands/utils/selection-util.d.ts +52 -0
- package/lib/types/commands/commands/utils/selection-util.d.ts.map +1 -0
- package/lib/types/commands/mutations/add-worksheet-merge.mutation.d.ts +6 -0
- package/lib/types/commands/mutations/add-worksheet-merge.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/delete-range.mutation.d.ts +15 -0
- package/lib/types/commands/mutations/delete-range.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/insert-range.mutation.d.ts +15 -0
- package/lib/types/commands/mutations/insert-range.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/insert-row-col.mutation.d.ts +8 -0
- package/lib/types/commands/mutations/insert-row-col.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/insert-sheet.mutation.d.ts +13 -0
- package/lib/types/commands/mutations/insert-sheet.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/move-range.mutation.d.ts +9 -0
- package/lib/types/commands/mutations/move-range.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/move-rows-cols.mutation.d.ts +36 -0
- package/lib/types/commands/mutations/move-rows-cols.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/remove-row-col.mutation.d.ts +8 -0
- package/lib/types/commands/mutations/remove-row-col.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/remove-sheet.mutation.d.ts +13 -0
- package/lib/types/commands/mutations/remove-sheet.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/remove-worksheet-merge.mutation.d.ts +6 -0
- package/lib/types/commands/mutations/remove-worksheet-merge.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-col-visible.mutation.d.ts +25 -0
- package/lib/types/commands/mutations/set-col-visible.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-frozen.mutation.d.ts +13 -0
- package/lib/types/commands/mutations/set-frozen.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-hide-gridlines.mutatiom.d.ts +10 -0
- package/lib/types/commands/mutations/set-hide-gridlines.mutatiom.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-numfmt-mutation.d.ts +16 -0
- package/lib/types/commands/mutations/set-numfmt-mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-range-formatted-value.mutation.d.ts +18 -0
- package/lib/types/commands/mutations/set-range-formatted-value.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-range-values.mutation.d.ts +63 -0
- package/lib/types/commands/mutations/set-range-values.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-row-visible.mutation.d.ts +25 -0
- package/lib/types/commands/mutations/set-row-visible.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-tab-color.mutation.d.ts +10 -0
- package/lib/types/commands/mutations/set-tab-color.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-worksheet-activate.mutation.d.ts +9 -0
- package/lib/types/commands/mutations/set-worksheet-activate.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-worksheet-col-width.mutation.d.ts +12 -0
- package/lib/types/commands/mutations/set-worksheet-col-width.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-worksheet-config.mutation.d.ts +13 -0
- package/lib/types/commands/mutations/set-worksheet-config.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-worksheet-hide.mutation.d.ts +10 -0
- package/lib/types/commands/mutations/set-worksheet-hide.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-worksheet-name.mutation.d.ts +10 -0
- package/lib/types/commands/mutations/set-worksheet-name.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-worksheet-order.mutation.d.ts +10 -0
- package/lib/types/commands/mutations/set-worksheet-order.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-worksheet-right-to-left.mutation.d.ts +10 -0
- package/lib/types/commands/mutations/set-worksheet-right-to-left.mutation.d.ts.map +1 -0
- package/lib/types/commands/mutations/set-worksheet-row-height.mutation.d.ts +28 -0
- package/lib/types/commands/mutations/set-worksheet-row-height.mutation.d.ts.map +1 -0
- package/lib/types/commands/operations/selection.operation.d.ts +10 -0
- package/lib/types/commands/operations/selection.operation.d.ts.map +1 -0
- package/lib/types/commands/utils/interface.d.ts +5 -0
- package/lib/types/commands/utils/interface.d.ts.map +1 -0
- package/lib/types/controllers/__tests__/util.d.ts +16 -0
- package/lib/types/controllers/__tests__/util.d.ts.map +1 -0
- package/lib/types/controllers/basic-worksheet.controller.d.ts +16 -0
- package/lib/types/controllers/basic-worksheet.controller.d.ts.map +1 -0
- package/lib/types/controllers/config/config.d.ts +3 -0
- package/lib/types/controllers/config/config.d.ts.map +1 -0
- package/lib/types/controllers/merge-cell.controller.d.ts +27 -0
- package/lib/types/controllers/merge-cell.controller.d.ts.map +1 -0
- package/lib/types/index.d.ts +97 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/locale/en-US.d.ts +3 -0
- package/lib/types/locale/en-US.d.ts.map +1 -0
- package/lib/types/locale/index.d.ts +3 -0
- package/lib/types/locale/index.d.ts.map +1 -0
- package/lib/types/locale/zh-CN.d.ts +3 -0
- package/lib/types/locale/zh-CN.d.ts.map +1 -0
- package/lib/types/services/__tests__/ref-range.setvice.spec.d.ts +2 -0
- package/lib/types/services/__tests__/ref-range.setvice.spec.d.ts.map +1 -0
- package/lib/types/services/__tests__/sheet-permission.spec.d.ts +2 -0
- package/lib/types/services/__tests__/sheet-permission.spec.d.ts.map +1 -0
- package/lib/types/services/__tests__/util.d.ts +17 -0
- package/lib/types/services/__tests__/util.d.ts.map +1 -0
- package/lib/types/services/border-style-manager.service.d.ts +24 -0
- package/lib/types/services/border-style-manager.service.d.ts.map +1 -0
- package/lib/types/services/numfmt/numfmt.service.d.ts +37 -0
- package/lib/types/services/numfmt/numfmt.service.d.ts.map +1 -0
- package/lib/types/services/numfmt/type.d.ts +37 -0
- package/lib/types/services/numfmt/type.d.ts.map +1 -0
- package/lib/types/services/permission/index.d.ts +3 -0
- package/lib/types/services/permission/index.d.ts.map +1 -0
- package/lib/types/services/permission/permission-point.d.ts +10 -0
- package/lib/types/services/permission/permission-point.d.ts.map +1 -0
- package/lib/types/services/permission/sheet-permission.service.d.ts +18 -0
- package/lib/types/services/permission/sheet-permission.service.d.ts.map +1 -0
- package/lib/types/services/ref-range/__tests__/util.d.ts +17 -0
- package/lib/types/services/ref-range/__tests__/util.d.ts.map +1 -0
- package/lib/types/services/ref-range/__tests__/util.spec.d.ts +2 -0
- package/lib/types/services/ref-range/__tests__/util.spec.d.ts.map +1 -0
- package/lib/types/services/ref-range/ref-range.service.d.ts +55 -0
- package/lib/types/services/ref-range/ref-range.service.d.ts.map +1 -0
- package/lib/types/services/ref-range/type.d.ts +81 -0
- package/lib/types/services/ref-range/type.d.ts.map +1 -0
- package/lib/types/services/ref-range/util.d.ts +19 -0
- package/lib/types/services/ref-range/util.d.ts.map +1 -0
- package/lib/types/services/selection-manager.service.d.ts +79 -0
- package/lib/types/services/selection-manager.service.d.ts.map +1 -0
- package/lib/types/services/sheet-interceptor/__tests__/create-core-test-bed.d.ts +16 -0
- package/lib/types/services/sheet-interceptor/__tests__/create-core-test-bed.d.ts.map +1 -0
- package/lib/types/services/sheet-interceptor/__tests__/sheet-interceptor.service.spec.d.ts +2 -0
- package/lib/types/services/sheet-interceptor/__tests__/sheet-interceptor.service.spec.d.ts.map +1 -0
- package/lib/types/services/sheet-interceptor/interceptor-const.d.ts +7 -0
- package/lib/types/services/sheet-interceptor/interceptor-const.d.ts.map +1 -0
- package/lib/types/services/sheet-interceptor/sheet-interceptor.service.d.ts +34 -0
- package/lib/types/services/sheet-interceptor/sheet-interceptor.service.d.ts.map +1 -0
- package/lib/types/services/sheet-interceptor/utils/interceptor.d.ts +10 -0
- package/lib/types/services/sheet-interceptor/utils/interceptor.d.ts.map +1 -0
- package/lib/types/sheets-plugin.d.ts +15 -0
- package/lib/types/sheets-plugin.d.ts.map +1 -0
- package/package.json +60 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/controllers/__tests__/util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAuE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7G,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AA2BlD,wBAAgB,cAAc,CAAC,cAAc,CAAC,EAAE,aAAa,EAAE,YAAY,CAAC,EAAE,UAAU,EAAE;;;;;;;;;;;EAgDzF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { IStyleData } from '@univerjs/core';
|
|
2
|
+
import { Disposable, ICommandService, IConfigService } from '@univerjs/core';
|
|
3
|
+
import type { IDisposable } from '@wendellhu/redi';
|
|
4
|
+
export interface IStyleTypeValue<T> {
|
|
5
|
+
type: keyof IStyleData;
|
|
6
|
+
value: T | T[][];
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The controller to provide the most basic sheet CRUD methods to other modules of sheet modules.
|
|
10
|
+
*/
|
|
11
|
+
export declare class BasicWorksheetController extends Disposable implements IDisposable {
|
|
12
|
+
private readonly _commandService;
|
|
13
|
+
private readonly _configService;
|
|
14
|
+
constructor(_commandService: ICommandService, _configService: IConfigService);
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=basic-worksheet.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic-worksheet.controller.d.ts","sourceRoot":"","sources":["../../../src/controllers/basic-worksheet.controller.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,cAAc,EAAgC,MAAM,gBAAgB,CAAC;AAC3G,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAsGnD,MAAM,WAAW,eAAe,CAAC,CAAC;IAC9B,IAAI,EAAE,MAAM,UAAU,CAAC;IACvB,KAAK,EAAE,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;CACpB;AAED;;GAEG;AACH,qBACa,wBAAyB,SAAQ,UAAW,YAAW,WAAW;IAEtD,OAAO,CAAC,QAAQ,CAAC,eAAe;IACjC,OAAO,CAAC,QAAQ,CAAC,cAAc;gBADb,eAAe,EAAE,eAAe,EACjC,cAAc,EAAE,cAAc;CAmGtE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/controllers/config/config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AACzD,eAAO,MAAM,0BAA0B,UAAY,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { Injector } from '@wendellhu/redi';
|
|
3
|
+
import { RefRangeService } from '../services/ref-range/ref-range.service';
|
|
4
|
+
import { SelectionManagerService } from '../services/selection-manager.service';
|
|
5
|
+
import { SheetInterceptorService } from '../services/sheet-interceptor/sheet-interceptor.service';
|
|
6
|
+
export declare class MergeCellController extends Disposable {
|
|
7
|
+
private readonly _commandService;
|
|
8
|
+
private readonly _refRangeService;
|
|
9
|
+
private readonly _univerInstanceService;
|
|
10
|
+
private _injector;
|
|
11
|
+
private _sheetInterceptorService;
|
|
12
|
+
private _selectionManagerService;
|
|
13
|
+
constructor(_commandService: ICommandService, _refRangeService: RefRangeService, _univerInstanceService: IUniverInstanceService, _injector: Injector, _sheetInterceptorService: SheetInterceptorService, _selectionManagerService: SelectionManagerService);
|
|
14
|
+
private _initCommandInterceptor;
|
|
15
|
+
private _onRefRangeChange;
|
|
16
|
+
private _handleMoveRangeCommand;
|
|
17
|
+
private _handleInsertRowCommand;
|
|
18
|
+
private _handleInsertColCommand;
|
|
19
|
+
private _handleRemoveColCommand;
|
|
20
|
+
private _handleRemoveRowCommand;
|
|
21
|
+
private _handleInsertRangeMoveRightCommand;
|
|
22
|
+
private _handleInsertRangeMoveDownCommand;
|
|
23
|
+
private _handleDeleteRangeMoveUpCommand;
|
|
24
|
+
private _handleDeleteRangeMoveLeftCommand;
|
|
25
|
+
private _handleNull;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=merge-cell.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"merge-cell.controller.d.ts","sourceRoot":"","sources":["../../../src/controllers/merge-cell.controller.ts"],"names":[],"mappings":"AACA,OAAO,EACH,UAAU,EAEV,eAAe,EACf,sBAAsB,EAKzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAU,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAkCnD,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAE1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAElG,qBACa,mBAAoB,SAAQ,UAAU;IAElB,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAC1B,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IACrD,OAAO,CAAC,SAAS;IACF,OAAO,CAAC,wBAAwB;IAChC,OAAO,CAAC,wBAAwB;gBALvB,eAAe,EAAE,eAAe,EAChC,gBAAgB,EAAE,eAAe,EAC1B,sBAAsB,EAAE,sBAAsB,EACrE,SAAS,EAAE,QAAQ,EACJ,wBAAwB,EAAE,uBAAuB,EACjD,wBAAwB,EAAE,uBAAuB;IAO9F,OAAO,CAAC,uBAAuB;IA0C/B,OAAO,CAAC,iBAAiB;IA8FzB,OAAO,CAAC,uBAAuB;IAkF/B,OAAO,CAAC,uBAAuB;IAsD/B,OAAO,CAAC,uBAAuB;IAsD/B,OAAO,CAAC,uBAAuB;IAoE/B,OAAO,CAAC,uBAAuB;IAmE/B,OAAO,CAAC,kCAAkC;IA0F1C,OAAO,CAAC,iCAAiC;IAgFzC,OAAO,CAAC,+BAA+B;IA2EvC,OAAO,CAAC,iCAAiC;IA0FzC,OAAO,CAAC,WAAW;CAGtB"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export { SheetsPlugin } from './sheets-plugin';
|
|
2
|
+
export { COMMAND_LISTENER_SKELETON_CHANGE, COMMAND_LISTENER_VALUE_CHANGE } from './basics/const/command-listener-const';
|
|
3
|
+
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';
|
|
4
|
+
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';
|
|
5
|
+
export { checkIfShrink, expandToContinuousRange, expandToNextCell, expandToNextGapRange, expandToWholeSheet, shrinkToNextCell, shrinkToNextGapRange, } from './commands/commands/utils/selection-util';
|
|
6
|
+
export { MAX_CELL_PER_SHEET_KEY } from './controllers/config/config';
|
|
7
|
+
export { BorderStyleManagerService, type IBorderInfo } from './services/border-style-manager.service';
|
|
8
|
+
export { SheetEditablePermission, SheetPermissionService } from './services/permission';
|
|
9
|
+
export { NORMAL_SELECTION_PLUGIN_NAME, SelectionManagerService } from './services/selection-manager.service';
|
|
10
|
+
export { AddWorksheetMergeAllCommand, AddWorksheetMergeCommand, AddWorksheetMergeHorizontalCommand, AddWorksheetMergeVerticalCommand, getAddMergeMutationRangeByType, } from './commands/commands/add-worksheet-merge.command';
|
|
11
|
+
export { ClearSelectionAllCommand } from './commands/commands/clear-selection-all.command';
|
|
12
|
+
export { ClearSelectionContentCommand } from './commands/commands/clear-selection-content.command';
|
|
13
|
+
export { ClearSelectionFormatCommand } from './commands/commands/clear-selection-format.command';
|
|
14
|
+
export { CopySheetCommand } from './commands/commands/copy-worksheet.command';
|
|
15
|
+
export { DeleteRangeMoveLeftCommand } from './commands/commands/delete-range-move-left.command';
|
|
16
|
+
export { type IDeleteRangeMoveLeftCommandParams } from './commands/commands/delete-range-move-left.command';
|
|
17
|
+
export { DeleteRangeMoveUpCommand } from './commands/commands/delete-range-move-up.command';
|
|
18
|
+
export { type IDeleteRangeMoveUpCommandParams } from './commands/commands/delete-range-move-up.command';
|
|
19
|
+
export { InsertRangeMoveDownCommand } from './commands/commands/insert-range-move-down.command';
|
|
20
|
+
export { type InsertRangeMoveDownCommandParams } from './commands/commands/insert-range-move-down.command';
|
|
21
|
+
export { InsertRangeMoveRightCommand } from './commands/commands/insert-range-move-right.command';
|
|
22
|
+
export { type InsertRangeMoveRightCommandParams } from './commands/commands/insert-range-move-right.command';
|
|
23
|
+
export type { IInsertColCommandParams, IInsertRowCommandParams } from './commands/commands/insert-row-col.command';
|
|
24
|
+
export { InsertColAfterCommand, InsertColBeforeCommand, InsertColCommand, InsertRowAfterCommand, InsertRowBeforeCommand, InsertRowCommand, } from './commands/commands/insert-row-col.command';
|
|
25
|
+
export { InsertSheetCommand } from './commands/commands/insert-sheet.command';
|
|
26
|
+
export { type IMoveRangeCommandParams, MoveRangeCommand } from './commands/commands/move-range.command';
|
|
27
|
+
export { type IMoveColsCommandParams, type IMoveRowsCommandParams, MoveColsCommand, MoveRowsCommand, } from './commands/commands/move-rows-cols.command';
|
|
28
|
+
export type { IRemoveRowColCommandParams } from './commands/commands/remove-row-col.command';
|
|
29
|
+
export { RemoveColCommand, RemoveRowCommand } from './commands/commands/remove-row-col.command';
|
|
30
|
+
export type { IRemoveSheetCommandParams } from './commands/commands/remove-sheet.command';
|
|
31
|
+
export { RemoveSheetCommand } from './commands/commands/remove-sheet.command';
|
|
32
|
+
export { RemoveWorksheetMergeCommand } from './commands/commands/remove-worksheet-merge.command';
|
|
33
|
+
export type { ISetBorderColorCommandParams, ISetBorderPositionCommandParams, ISetBorderStyleCommandParams, } from './commands/commands/set-border-command';
|
|
34
|
+
export { SetBorderBasicCommand, SetBorderColorCommand, SetBorderCommand, SetBorderPositionCommand, SetBorderStyleCommand, } from './commands/commands/set-border-command';
|
|
35
|
+
export { type ISetSpecificColsVisibleCommandParams, SetColHiddenCommand, SetSelectedColsVisibleCommand, SetSpecificColsVisibleCommand, } from './commands/commands/set-col-visible.command';
|
|
36
|
+
export { SetFrozenCommand } from './commands/commands/set-frozen.command';
|
|
37
|
+
export { type ISetRangeValuesCommandParams, SetRangeValuesCommand } from './commands/commands/set-range-values.command';
|
|
38
|
+
export { type ISetSpecificRowsVisibleCommandParams, SetRowHiddenCommand, SetSelectedRowsVisibleCommand, SetSpecificRowsVisibleCommand, } from './commands/commands/set-row-visible.command';
|
|
39
|
+
export { type ISetStyleCommandParams, ResetBackgroundColorCommand, ResetTextColorCommand, SetBackgroundColorCommand, SetBoldCommand, SetFontFamilyCommand, SetFontSizeCommand, SetHorizontalTextAlignCommand, SetItalicCommand, SetStrikeThroughCommand, SetStyleCommand, SetTextColorCommand, SetTextRotationCommand, SetTextWrapCommand, SetUnderlineCommand, SetVerticalTextAlignCommand, } from './commands/commands/set-style.command';
|
|
40
|
+
export { SetTabColorCommand } from './commands/commands/set-tab-color.command';
|
|
41
|
+
export { SetWorksheetActivateCommand } from './commands/commands/set-worksheet-activate.command';
|
|
42
|
+
export { DeltaColumnWidthCommand, type IDeltaColumnWidthCommandParams, SetColWidthCommand, } from './commands/commands/set-worksheet-col-width.command';
|
|
43
|
+
export { SetWorksheetHideCommand } from './commands/commands/set-worksheet-hide.command';
|
|
44
|
+
export { SetWorksheetNameCommand } from './commands/commands/set-worksheet-name.command';
|
|
45
|
+
export { SetWorksheetOrderCommand } from './commands/commands/set-worksheet-order.command';
|
|
46
|
+
export { DeltaRowHeightCommand, type IDeltaRowHeightCommand, SetRowHeightCommand, SetWorksheetRowIsAutoHeightCommand, } from './commands/commands/set-worksheet-row-height.command';
|
|
47
|
+
export { SetWorksheetShowCommand } from './commands/commands/set-worksheet-show.command';
|
|
48
|
+
export { getPrimaryForRange } from './commands/commands/utils/selection-util';
|
|
49
|
+
export { findNextGapRange, findNextRange, getCellAtRowCol, getStartRange, } from './commands/commands/utils/selection-util';
|
|
50
|
+
export { AddMergeUndoMutationFactory, AddWorksheetMergeMutation, } from './commands/mutations/add-worksheet-merge.mutation';
|
|
51
|
+
export { DeleteRangeMutation } from './commands/mutations/delete-range.mutation';
|
|
52
|
+
export { handleDeleteRangeMutation } from './commands/mutations/delete-range.mutation';
|
|
53
|
+
export { InsertRangeMutation } from './commands/mutations/insert-range.mutation';
|
|
54
|
+
export { handleInsertRangeMutation } from './commands/mutations/insert-range.mutation';
|
|
55
|
+
export { InsertColMutation, InsertColMutationUndoFactory, InsertRowMutation, InsertRowMutationUndoFactory, } from './commands/mutations/insert-row-col.mutation';
|
|
56
|
+
export { InsertSheetMutation, InsertSheetUndoMutationFactory } from './commands/mutations/insert-sheet.mutation';
|
|
57
|
+
export { MoveRangeMutation } from './commands/mutations/move-range.mutation';
|
|
58
|
+
export { type IMoveRangeMutationParams } from './commands/mutations/move-range.mutation';
|
|
59
|
+
export { type IMoveColumnsMutationParams } from './commands/mutations/move-rows-cols.mutation';
|
|
60
|
+
export { type IMoveRowsMutationParams, MoveRowsMutation } from './commands/mutations/move-rows-cols.mutation';
|
|
61
|
+
export { MoveColsMutation } from './commands/mutations/move-rows-cols.mutation';
|
|
62
|
+
export { RemoveColMutation, RemoveRowMutation } from './commands/mutations/remove-row-col.mutation';
|
|
63
|
+
export { RemoveSheetMutation, RemoveSheetUndoMutationFactory } from './commands/mutations/remove-sheet.mutation';
|
|
64
|
+
export { RemoveWorksheetMergeMutation } from './commands/mutations/remove-worksheet-merge.mutation';
|
|
65
|
+
export { RemoveMergeUndoMutationFactory } from './commands/mutations/remove-worksheet-merge.mutation';
|
|
66
|
+
export { type ISetColHiddenMutationParams, type ISetColVisibleMutationParams, SetColHiddenMutation, SetColVisibleMutation, } from './commands/mutations/set-col-visible.mutation';
|
|
67
|
+
export { type ISetFrozenMutationParams, SetFrozenMutation, SetFrozenMutationFactory, } from './commands/mutations/set-frozen.mutation';
|
|
68
|
+
export type { ISetNumfmtMutationParams } from './commands/mutations/set-numfmt-mutation';
|
|
69
|
+
export { factorySetNumfmtUndoMutation, SetNumfmtMutation } from './commands/mutations/set-numfmt-mutation';
|
|
70
|
+
export type { ISetRangeValuesMutationParams } from './commands/mutations/set-range-values.mutation';
|
|
71
|
+
export { SetRangeValuesMutation } from './commands/mutations/set-range-values.mutation';
|
|
72
|
+
export { SetRangeValuesUndoMutationFactory } from './commands/mutations/set-range-values.mutation';
|
|
73
|
+
export { type ISetRangeValuesRangeMutationParams } from './commands/mutations/set-range-values.mutation';
|
|
74
|
+
export { SetRowHiddenMutation, SetRowVisibleMutation } from './commands/mutations/set-row-visible.mutation';
|
|
75
|
+
export { SetTabColorMutation } from './commands/mutations/set-tab-color.mutation';
|
|
76
|
+
export { type ISetTabColorMutationParams } from './commands/mutations/set-tab-color.mutation';
|
|
77
|
+
export { SetWorksheetActivateMutation } from './commands/mutations/set-worksheet-activate.mutation';
|
|
78
|
+
export { type ISetWorksheetActivateMutationParams } from './commands/mutations/set-worksheet-activate.mutation';
|
|
79
|
+
export { type ISetWorksheetColWidthMutationParams, SetWorksheetColWidthMutation, SetWorksheetColWidthMutationFactory, } from './commands/mutations/set-worksheet-col-width.mutation';
|
|
80
|
+
export { type ISetWorksheetHideMutationParams, SetWorksheetHideMutation, } from './commands/mutations/set-worksheet-hide.mutation';
|
|
81
|
+
export { SetWorksheetNameMutation } from './commands/mutations/set-worksheet-name.mutation';
|
|
82
|
+
export { type ISetWorksheetNameMutationParams } from './commands/mutations/set-worksheet-name.mutation';
|
|
83
|
+
export { SetWorksheetOrderMutation } from './commands/mutations/set-worksheet-order.mutation';
|
|
84
|
+
export { type ISetWorksheetOrderMutationParams } from './commands/mutations/set-worksheet-order.mutation';
|
|
85
|
+
export { type ISetWorksheetRowAutoHeightMutationParams, type ISetWorksheetRowHeightMutationParams, type ISetWorksheetRowIsAutoHeightMutationParams, SetWorksheetRowAutoHeightMutation, SetWorksheetRowAutoHeightMutationFactory, SetWorksheetRowHeightMutation, SetWorksheetRowIsAutoHeightMutation, } from './commands/mutations/set-worksheet-row-height.mutation';
|
|
86
|
+
export { type ISetSelectionsOperationParams, SetSelectionsOperation } from './commands/operations/selection.operation';
|
|
87
|
+
export { type ISheetCommandSharedParams } from './commands/utils/interface';
|
|
88
|
+
export type { FormatType, INumfmtItem, INumfmtItemWithCache } from './services/numfmt/type';
|
|
89
|
+
export { INumfmtService } from './services/numfmt/type';
|
|
90
|
+
export { RefRangeService } from './services/ref-range/ref-range.service';
|
|
91
|
+
export type { EffectRefRangeParams } from './services/ref-range/type';
|
|
92
|
+
export { EffectRefRangId, OperatorType } from './services/ref-range/type';
|
|
93
|
+
export { handleDeleteRangeMoveLeft, handleDeleteRangeMoveUp, handleInsertCol, handleInsertRangeMoveDown, handleInsertRangeMoveRight, handleInsertRow, handleIRemoveCol, handleIRemoveRow, handleMoveRange, runRefRangeMutations, } from './services/ref-range/util';
|
|
94
|
+
export { INTERCEPTOR_POINT } from './services/sheet-interceptor/interceptor-const';
|
|
95
|
+
export { SheetInterceptorService } from './services/sheet-interceptor/sheet-interceptor.service';
|
|
96
|
+
export type { ISheetLocation } from './services/sheet-interceptor/utils/interceptor';
|
|
97
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,OAAO,EAAE,gCAAgC,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACxH,OAAO,EACH,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,GAC3C,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACH,gCAAgC,EAChC,2BAA2B,EAC3B,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,qCAAqC,EACrC,qCAAqC,EACrC,gCAAgC,GACnC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACH,aAAa,EACb,uBAAuB,EACvB,gBAAgB,EAChB,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,GACvB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,KAAK,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACtG,OAAO,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAE,4BAA4B,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAI7G,OAAO,EACH,2BAA2B,EAC3B,wBAAwB,EACxB,kCAAkC,EAClC,gCAAgC,EAChC,8BAA8B,GACjC,MAAM,iDAAiD,CAAC;AACzD,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BAAyB,EAAE,MAAM,mDAAmD,CAAC;AAC9F,OAAO,EAAE,KAAK,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;AAC1G,OAAO,EACH,KAAK,wCAAwC,EAC7C,KAAK,oCAAoC,EACzC,KAAK,0CAA0C,EAC/C,iCAAiC,EACjC,wCAAwC,EACxC,6BAA6B,EAC7B,mCAAmC,GACtC,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,KAAK,6BAA6B,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACvH,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAC5E,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,YAAY,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EACH,yBAAyB,EACzB,uBAAuB,EACvB,eAAe,EACf,yBAAyB,EACzB,0BAA0B,EAC1B,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,oBAAoB,GACvB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AACjG,YAAY,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en-US.d.ts","sourceRoot":"","sources":["../../../src/locale/en-US.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/locale/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zh-CN.d.ts","sourceRoot":"","sources":["../../../src/locale/zh-CN.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ref-range.setvice.spec.d.ts","sourceRoot":"","sources":["../../../../src/services/__tests__/ref-range.setvice.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-permission.spec.d.ts","sourceRoot":"","sources":["../../../../src/services/__tests__/sheet-permission.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IWorkbookData } from '@univerjs/core';
|
|
2
|
+
import { Univer } from '@univerjs/core';
|
|
3
|
+
import type { Dependency } from '@wendellhu/redi';
|
|
4
|
+
export declare const TEST_WORKBOOK_DATA_DEMO: IWorkbookData;
|
|
5
|
+
export declare function createTestBase(workbookConfig?: IWorkbookData, dependencies?: Dependency[]): {
|
|
6
|
+
univer: Univer;
|
|
7
|
+
get: {
|
|
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;
|
|
14
|
+
};
|
|
15
|
+
sheet: import("@univerjs/core").Workbook;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/services/__tests__/util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAuE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7G,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,eAAO,MAAM,uBAAuB,EAAE,aAmCrC,CAAC;AAEF,wBAAgB,cAAc,CAAC,cAAc,CAAC,EAAE,aAAa,EAAE,YAAY,CAAC,EAAE,UAAU,EAAE;;;;;;;;;;;EAgDzF"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BorderStyleTypes, BorderType } from '@univerjs/core';
|
|
2
|
+
import type { IDisposable } from '@wendellhu/redi';
|
|
3
|
+
export interface IBorderInfo {
|
|
4
|
+
type: BorderType;
|
|
5
|
+
color: string;
|
|
6
|
+
style: BorderStyleTypes;
|
|
7
|
+
activeBorderType: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* This service is for managing settings border style status.
|
|
11
|
+
*/
|
|
12
|
+
export declare class BorderStyleManagerService implements IDisposable {
|
|
13
|
+
private readonly _borderInfo;
|
|
14
|
+
private readonly _borderInfo$;
|
|
15
|
+
readonly borderInfo$: import("rxjs").Observable<IBorderInfo>;
|
|
16
|
+
dispose(): void;
|
|
17
|
+
setType(type: BorderType): void;
|
|
18
|
+
setColor(color: string): void;
|
|
19
|
+
setStyle(style: BorderStyleTypes): void;
|
|
20
|
+
setActiveBorderType(status: boolean): void;
|
|
21
|
+
getBorderInfo(): Readonly<IBorderInfo>;
|
|
22
|
+
private refresh;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=border-style-manager.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"border-style-manager.service.d.ts","sourceRoot":"","sources":["../../../src/services/border-style-manager.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGnD,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,gBAAgB,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;CAC7B;AAED;;GAEG;AACH,qBAAa,yBAA0B,YAAW,WAAW;IACzD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAK1B;IAEF,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAsD;IAGnF,QAAQ,CAAC,WAAW,yCAAoC;IAExD,OAAO,IAAI,IAAI;IAIf,OAAO,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI;IAM/B,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAK7B,QAAQ,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI;IAKvC,mBAAmB,CAAC,MAAM,EAAE,OAAO;IAInC,aAAa,IAAI,QAAQ,CAAC,WAAW,CAAC;IAItC,OAAO,CAAC,OAAO;CAGlB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Disposable, ICommandService, ILogService, IResourceManagerService, IUniverInstanceService, ObjectMatrix, RefAlias } from '@univerjs/core';
|
|
2
|
+
import type { FormatType, INumfmtItem, INumfmtService, IRefItem } from './type';
|
|
3
|
+
export declare class NumfmtService extends Disposable implements INumfmtService {
|
|
4
|
+
private _commandService;
|
|
5
|
+
private _resourceManagerService;
|
|
6
|
+
private _univerInstanceService;
|
|
7
|
+
private _logService;
|
|
8
|
+
/**
|
|
9
|
+
* Map<unitID ,<sheetId ,ObjectMatrix>>
|
|
10
|
+
* @type {Map<string, Map<string, ObjectMatrix<INumfmtItemWithCache>>>}
|
|
11
|
+
* @memberof NumfmtService
|
|
12
|
+
*/
|
|
13
|
+
private _numfmtModel;
|
|
14
|
+
private _refAliasModel;
|
|
15
|
+
private _modelReplace$;
|
|
16
|
+
modelReplace$: import("rxjs").Observable<string>;
|
|
17
|
+
constructor(_commandService: ICommandService, _resourceManagerService: IResourceManagerService, _univerInstanceService: IUniverInstanceService, _logService: ILogService);
|
|
18
|
+
private _initModel;
|
|
19
|
+
private _toJson;
|
|
20
|
+
private _parseJson;
|
|
21
|
+
private _setValue;
|
|
22
|
+
private _groupByKey;
|
|
23
|
+
private _getUniqueRefId;
|
|
24
|
+
getValue(workbookId: string, worksheetId: string, row: number, col: number, model?: ObjectMatrix<INumfmtItem>): {
|
|
25
|
+
pattern: string;
|
|
26
|
+
type: FormatType;
|
|
27
|
+
} | null;
|
|
28
|
+
setValues(workbookId: string, worksheetId: string, values: Array<{
|
|
29
|
+
row: number;
|
|
30
|
+
col: number;
|
|
31
|
+
pattern?: string;
|
|
32
|
+
type: FormatType;
|
|
33
|
+
}>): void;
|
|
34
|
+
getModel(workbookId: string, worksheetId: string): ObjectMatrix<INumfmtItem> | undefined;
|
|
35
|
+
getRefModel(workbookId: string): RefAlias<IRefItem, "i" | "pattern"> | undefined;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=numfmt.service.d.ts.map
|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AAI,EAAE,UAAU,CAAA;KAAE,CAAC;IA0EnF,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAMhD,WAAW,CAAC,UAAU,EAAE,MAAM;CAIjC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { ICellData, Nullable, ObjectMatrix, ObjectMatrixPrimitiveType, RefAlias } from '@univerjs/core';
|
|
2
|
+
import type { Observable } from 'rxjs';
|
|
3
|
+
export type INumfmtItem = {
|
|
4
|
+
i: string;
|
|
5
|
+
};
|
|
6
|
+
export type FormatType = 'currency' | 'date' | 'datetime' | 'error' | 'fraction' | 'general' | 'grouped' | 'number' | 'percent' | 'scientific' | 'text' | 'time' | 'unknown';
|
|
7
|
+
export interface INumfmtItemWithCache {
|
|
8
|
+
_cache?: {
|
|
9
|
+
result: ICellData;
|
|
10
|
+
parameters: number;
|
|
11
|
+
};
|
|
12
|
+
pattern: string;
|
|
13
|
+
type: FormatType;
|
|
14
|
+
}
|
|
15
|
+
export type IRefItem = INumfmtItem & {
|
|
16
|
+
count: number;
|
|
17
|
+
type: FormatType;
|
|
18
|
+
pattern: string;
|
|
19
|
+
};
|
|
20
|
+
export interface INumfmtService {
|
|
21
|
+
getValue(workbookId: string, worksheetId: string, row: number, col: number, model?: ObjectMatrix<INumfmtItem>): Nullable<INumfmtItemWithCache>;
|
|
22
|
+
getModel(workbookId: string, worksheetId: string): Nullable<ObjectMatrix<INumfmtItem>>;
|
|
23
|
+
setValues(workbookId: string, worksheetId: string, values: Array<{
|
|
24
|
+
row: number;
|
|
25
|
+
col: number;
|
|
26
|
+
pattern?: string;
|
|
27
|
+
type?: FormatType;
|
|
28
|
+
}>): void;
|
|
29
|
+
getRefModel(workbookId: string): Nullable<RefAlias<IRefItem, 'i' | 'pattern'>>;
|
|
30
|
+
modelReplace$: Observable<string>;
|
|
31
|
+
}
|
|
32
|
+
export interface ISnapshot {
|
|
33
|
+
model: Record<string, ObjectMatrixPrimitiveType<INumfmtItem>>;
|
|
34
|
+
refModel: IRefItem[];
|
|
35
|
+
}
|
|
36
|
+
export declare const INumfmtService: import("@wendellhu/redi").IdentifierDecorator<INumfmtService>;
|
|
37
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../src/services/numfmt/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,yBAAyB,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG7G,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGvC,MAAM,MAAM,WAAW,GAAG;IACtB,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,UAAU,GAChB,UAAU,GACV,MAAM,GACN,UAAU,GACV,OAAO,GACP,UAAU,GACV,SAAS,GACT,SAAS,GACT,QAAQ,GACR,SAAS,GACT,YAAY,GACZ,MAAM,GACN,MAAM,GACN,SAAS,CAAC;AAEhB,MAAM,WAAW,oBAAoB;IAEjC,MAAM,CAAC,EAAE;QACL,MAAM,EAAE,SAAS,CAAC;QAClB,UAAU,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,UAAU,CAAC;CACpB;AACD,MAAM,MAAM,QAAQ,GAAG,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,UAAU,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAE1F,MAAM,WAAW,cAAc;IAC3B,QAAQ,CACJ,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,KAAK,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,GAClC,QAAQ,CAAC,oBAAoB,CAAC,CAAC;IAClC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,QAAQ,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC,CAAC;IACvF,SAAS,CACL,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,KAAK,CAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,UAAU,CAAA;KAAE,CAAC,GACjF,IAAI,CAAC;IACR,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,QAAQ,CAAC,QAAQ,CAAC,QAAQ,EAAE,GAAG,GAAG,SAAS,CAAC,CAAC,CAAC;IAC/E,aAAa,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;CACrC;AAED,MAAM,WAAW,SAAS;IACtB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,WAAW,CAAC,CAAC,CAAC;IAC9D,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,+DAAqD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/services/permission/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PermissionPoint } from '@univerjs/core';
|
|
2
|
+
export declare class SheetEditablePermission extends PermissionPoint<boolean> {
|
|
3
|
+
private _workbookId;
|
|
4
|
+
private _worksheetId;
|
|
5
|
+
id: string;
|
|
6
|
+
value: boolean;
|
|
7
|
+
unitID: string;
|
|
8
|
+
constructor(_workbookId: string, _worksheetId: string);
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=permission-point.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permission-point.d.ts","sourceRoot":"","sources":["../../../../src/services/permission/permission-point.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAIjD,qBAAa,uBAAwB,SAAQ,eAAe,CAAC,OAAO,CAAC;IAM7D,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,YAAY;IANxB,EAAE,SAAgC;IAClC,KAAK,UAAQ;IACb,MAAM,EAAE,MAAM,CAAC;gBAGH,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM;CAMnC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { PermissionService } from '@univerjs/core';
|
|
2
|
+
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
3
|
+
import { SheetInterceptorService } from '../sheet-interceptor/sheet-interceptor.service';
|
|
4
|
+
export declare class SheetPermissionService extends Disposable {
|
|
5
|
+
private _permissionService;
|
|
6
|
+
private _univerInstanceService;
|
|
7
|
+
private _sheetInterceptorService;
|
|
8
|
+
constructor(_permissionService: PermissionService, _univerInstanceService: IUniverInstanceService, _sheetInterceptorService: SheetInterceptorService);
|
|
9
|
+
private _init;
|
|
10
|
+
private _interceptCommandPermission;
|
|
11
|
+
getEditable$(workbookId?: string, sheetId?: string): import("rxjs").Observable<{
|
|
12
|
+
value: any;
|
|
13
|
+
status: import("@univerjs/core").PermissionStatus;
|
|
14
|
+
}>;
|
|
15
|
+
getSheetEditable(workbookId?: string, sheetId?: string): boolean;
|
|
16
|
+
setSheetEditable(v: boolean, workbookId?: string, sheetId?: string): void;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=sheet-permission.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-permission.service.d.ts","sourceRoot":"","sources":["../../../../src/services/permission/sheet-permission.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EACH,UAAU,EAGV,sBAAsB,EAKzB,MAAM,gBAAgB,CAAC;AAMxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AAGzF,qBACa,sBAAuB,SAAQ,UAAU;IAElB,OAAO,CAAC,kBAAkB;IACtB,OAAO,CAAC,sBAAsB;IAC7B,OAAO,CAAC,wBAAwB;gBAF7B,kBAAkB,EAAE,iBAAiB,EACjC,sBAAsB,EAAE,sBAAsB,EAC7C,wBAAwB,EAAE,uBAAuB;IAO9F,OAAO,CAAC,KAAK;IA4Bb,OAAO,CAAC,2BAA2B;IAuBnC,YAAY,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;;;;IAiBlD,gBAAgB,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;IAWtD,gBAAgB,CAAC,CAAC,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;CAQrE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IWorkbookData } from '@univerjs/core';
|
|
2
|
+
import { Univer } from '@univerjs/core';
|
|
3
|
+
import type { Dependency } from '@wendellhu/redi';
|
|
4
|
+
export declare const TEST_WORKBOOK_DATA_DEMO: IWorkbookData;
|
|
5
|
+
export declare function createTestBase(workbookConfig?: IWorkbookData, dependencies?: Dependency[]): {
|
|
6
|
+
univer: Univer;
|
|
7
|
+
get: {
|
|
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;
|
|
14
|
+
};
|
|
15
|
+
sheet: import("@univerjs/core").Workbook;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/services/ref-range/__tests__/util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAuE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7G,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,eAAO,MAAM,uBAAuB,EAAE,aAmCrC,CAAC;AAEF,wBAAgB,cAAc,CAAC,cAAc,CAAC,EAAE,aAAa,EAAE,YAAY,CAAC,EAAE,UAAU,EAAE;;;;;;;;;;;EAgDzF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.spec.d.ts","sourceRoot":"","sources":["../../../../../src/services/ref-range/__tests__/util.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { IInterceptor, IMutationInfo, IRange } from '@univerjs/core';
|
|
2
|
+
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
3
|
+
import type { IDisposable } from '@wendellhu/redi';
|
|
4
|
+
import { SelectionManagerService } from '../selection-manager.service';
|
|
5
|
+
import { SheetInterceptorService } from '../sheet-interceptor/sheet-interceptor.service';
|
|
6
|
+
import type { EffectRefRangeParams } from './type';
|
|
7
|
+
type RefRangCallback = (params: EffectRefRangeParams, preValues: Array<{
|
|
8
|
+
redos: IMutationInfo[];
|
|
9
|
+
undos: IMutationInfo[];
|
|
10
|
+
}>) => {
|
|
11
|
+
redos: IMutationInfo[];
|
|
12
|
+
undos: IMutationInfo[];
|
|
13
|
+
};
|
|
14
|
+
declare const refRangeCommandsMerge: IInterceptor<IMutationInfo<object>[], IMutationInfo<object>[]>;
|
|
15
|
+
/**
|
|
16
|
+
* Collect side effects caused by ref range change
|
|
17
|
+
*/
|
|
18
|
+
export declare class RefRangeService extends Disposable {
|
|
19
|
+
private _sheetInterceptorService;
|
|
20
|
+
private _univerInstanceService;
|
|
21
|
+
private _selectionManagerService;
|
|
22
|
+
private _interceptorsByName;
|
|
23
|
+
constructor(_sheetInterceptorService: SheetInterceptorService, _univerInstanceService: IUniverInstanceService, _selectionManagerService: SelectionManagerService);
|
|
24
|
+
private _refRangeManagerMap;
|
|
25
|
+
private _serializer;
|
|
26
|
+
private _onRefRangeChange;
|
|
27
|
+
private _checkRange;
|
|
28
|
+
/**
|
|
29
|
+
* Listens to an area and triggers a fall back when movement occurs
|
|
30
|
+
* @param {IRange} range the area that needs to be monitored
|
|
31
|
+
* @param {RefRangCallback} callback the callback function that is executed when the range changes
|
|
32
|
+
* @param {string} [_workbookId]
|
|
33
|
+
* @param {string} [_worksheetId]
|
|
34
|
+
* @memberof RefRangeService
|
|
35
|
+
*/
|
|
36
|
+
registerRefRange: (range: IRange, callback: RefRangCallback, _workbookId?: string, _worksheetId?: string) => IDisposable;
|
|
37
|
+
private _fetchThroughInterceptors;
|
|
38
|
+
/**
|
|
39
|
+
* Create a intercept to squash mutations
|
|
40
|
+
* @param {typeof refRangeCommandsMerge} interceptor
|
|
41
|
+
* const disposeIntercept = refRangeService.intercept({
|
|
42
|
+
handler: (mutations, currentMutation, next) => {
|
|
43
|
+
// todo something
|
|
44
|
+
return next(list);
|
|
45
|
+
},
|
|
46
|
+
})
|
|
47
|
+
* mutations mean the operation generated before.
|
|
48
|
+
* currentMutation mean the operation of the current iteration.
|
|
49
|
+
* @return {*}
|
|
50
|
+
* @memberof RefRangeService
|
|
51
|
+
*/
|
|
52
|
+
intercept(interceptor: typeof refRangeCommandsMerge): IDisposable;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
55
|
+
//# sourceMappingURL=ref-range.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ref-range.service.d.ts","sourceRoot":"","sources":["../../../../src/services/ref-range/ref-range.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC1E,OAAO,EAGH,UAAU,EACV,sBAAsB,EAMzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AACzF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAGnD,KAAK,eAAe,GAAG,CACnB,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,KAAK,CAAC;IAAE,KAAK,EAAE,aAAa,EAAE,CAAC;IAAC,KAAK,EAAE,aAAa,EAAE,CAAA;CAAE,CAAC,KACnE;IACD,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,KAAK,EAAE,aAAa,EAAE,CAAC;CAC1B,CAAC;AACF,QAAA,MAAM,qBAAqB,gEAAkF,CAAC;AAC9G;;GAEG;AACH,qBACa,eAAgB,SAAQ,UAAU;IAGN,OAAO,CAAC,wBAAwB;IACjC,OAAO,CAAC,sBAAsB;IAC7B,OAAO,CAAC,wBAAwB;IAJrE,OAAO,CAAC,mBAAmB,CAAiF;gBAE/D,wBAAwB,EAAE,uBAAuB,EAClD,sBAAsB,EAAE,sBAAsB,EAC7C,wBAAwB,EAAE,uBAAuB;IAc9F,OAAO,CAAC,mBAAmB,CAAwD;IAEnF,OAAO,CAAC,WAAW,CAA2B;IAE9C,OAAO,CAAC,iBAAiB,CA8GvB;IAEF,OAAO,CAAC,WAAW,CAsBjB;IAEF;;;;;;;OAOG;IACH,gBAAgB,UACL,MAAM,YACH,eAAe,gBACX,MAAM,iBACL,MAAM,KACtB,WAAW,CA8BZ;IAEF,OAAO,CAAC,yBAAyB;IAMjC;;;;;;;;;;;;;OAaG;IACH,SAAS,CAAC,WAAW,EAAE,OAAO,qBAAqB;CAWtD"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { ICommandInfo, IRange } from '@univerjs/core';
|
|
2
|
+
import type { IDeleteRangeMoveLeftCommandParams } from '../../commands/commands/delete-range-move-left.command';
|
|
3
|
+
import { DeleteRangeMoveLeftCommandId } from '../../commands/commands/delete-range-move-left.command';
|
|
4
|
+
import type { IDeleteRangeMoveUpCommandParams } from '../../commands/commands/delete-range-move-up.command';
|
|
5
|
+
import { DeleteRangeMoveUpCommandId } from '../../commands/commands/delete-range-move-up.command';
|
|
6
|
+
import type { InsertRangeMoveDownCommandParams } from '../../commands/commands/insert-range-move-down.command';
|
|
7
|
+
import { InsertRangeMoveDownCommandId } from '../../commands/commands/insert-range-move-down.command';
|
|
8
|
+
import type { InsertRangeMoveRightCommandParams } from '../../commands/commands/insert-range-move-right.command';
|
|
9
|
+
import { InsertRangeMoveRightCommandId } from '../../commands/commands/insert-range-move-right.command';
|
|
10
|
+
import type { IInsertColCommandParams, IInsertRowCommandParams } from '../../commands/commands/insert-row-col.command';
|
|
11
|
+
import { InsertColCommandId, InsertRowCommandId } from '../../commands/commands/insert-row-col.command';
|
|
12
|
+
import type { IMoveRangeCommandParams } from '../../commands/commands/move-range.command';
|
|
13
|
+
import { MoveRangeCommandId } from '../../commands/commands/move-range.command';
|
|
14
|
+
import type { IRemoveRowColCommandParams } from '../../commands/commands/remove-row-col.command';
|
|
15
|
+
import { RemoveColCommandId, RemoveRowCommandId } from '../../commands/commands/remove-row-col.command';
|
|
16
|
+
export type IMoveRangeCommand = ICommandInfo<IMoveRangeCommandParams> & {
|
|
17
|
+
id: typeof MoveRangeCommandId;
|
|
18
|
+
};
|
|
19
|
+
export type IInsertRowCommand = ICommandInfo<IInsertRowCommandParams> & {
|
|
20
|
+
id: typeof InsertRowCommandId;
|
|
21
|
+
};
|
|
22
|
+
export type IInsertColCommand = ICommandInfo<IInsertColCommandParams> & {
|
|
23
|
+
id: typeof InsertColCommandId;
|
|
24
|
+
};
|
|
25
|
+
export type IRemoveRowColCommand = ICommandInfo<IRemoveRowColCommandParams> & {
|
|
26
|
+
id: typeof RemoveColCommandId | typeof RemoveRowCommandId;
|
|
27
|
+
};
|
|
28
|
+
export type IDeleteRangeMoveLeftCommand = ICommandInfo<IDeleteRangeMoveLeftCommandParams> & {
|
|
29
|
+
id: typeof DeleteRangeMoveLeftCommandId;
|
|
30
|
+
};
|
|
31
|
+
export type IDeleteRangeMoveUpCommand = ICommandInfo<IDeleteRangeMoveUpCommandParams> & {
|
|
32
|
+
id: typeof DeleteRangeMoveUpCommandId;
|
|
33
|
+
};
|
|
34
|
+
export type IInsertRangeMoveDownCommand = ICommandInfo<InsertRangeMoveDownCommandParams> & {
|
|
35
|
+
id: typeof InsertRangeMoveDownCommandId;
|
|
36
|
+
};
|
|
37
|
+
export type IInsertRangeMoveRightCommand = ICommandInfo<InsertRangeMoveRightCommandParams> & {
|
|
38
|
+
id: typeof InsertRangeMoveRightCommandId;
|
|
39
|
+
};
|
|
40
|
+
export type EffectRefRangeParams = IMoveRangeCommand | IInsertRowCommand | IInsertColCommand | IRemoveRowColCommand | IDeleteRangeMoveLeftCommand | IDeleteRangeMoveUpCommand | IInsertRangeMoveDownCommand | IInsertRangeMoveRightCommand;
|
|
41
|
+
export declare const EffectRefRangId: {
|
|
42
|
+
readonly MoveRangeCommandId: "sheet.command.move-range";
|
|
43
|
+
readonly InsertRowCommandId: "sheet.command.insert-row";
|
|
44
|
+
readonly InsertColCommandId: "sheet.command.insert-col";
|
|
45
|
+
readonly RemoveColCommandId: "sheet.command.remove-col";
|
|
46
|
+
readonly RemoveRowCommandId: "sheet.command.remove-row";
|
|
47
|
+
readonly DeleteRangeMoveLeftCommandId: "sheet.command.delete-range-move-left";
|
|
48
|
+
readonly DeleteRangeMoveUpCommandId: "sheet.command.delete-range-move-up";
|
|
49
|
+
readonly InsertRangeMoveDownCommandId: "sheet.command.insert-range-move-down";
|
|
50
|
+
readonly InsertRangeMoveRightCommandId: "sheet.command.insert-range-move-right";
|
|
51
|
+
};
|
|
52
|
+
export declare enum OperatorType {
|
|
53
|
+
Set = 0,
|
|
54
|
+
Delete = 1,
|
|
55
|
+
HorizontalMove = 2,
|
|
56
|
+
VerticalMove = 3,
|
|
57
|
+
Unknown = 4
|
|
58
|
+
}
|
|
59
|
+
export interface IDeleteOperator {
|
|
60
|
+
type: OperatorType.Delete;
|
|
61
|
+
}
|
|
62
|
+
export interface ISetOperator {
|
|
63
|
+
type: OperatorType.Set;
|
|
64
|
+
range: IRange;
|
|
65
|
+
}
|
|
66
|
+
export interface IHorizontalMoveOperator {
|
|
67
|
+
type: OperatorType.HorizontalMove;
|
|
68
|
+
step: number;
|
|
69
|
+
length?: number;
|
|
70
|
+
}
|
|
71
|
+
export interface IVerticalMoveOperator {
|
|
72
|
+
type: OperatorType.VerticalMove;
|
|
73
|
+
step: number;
|
|
74
|
+
length?: number;
|
|
75
|
+
}
|
|
76
|
+
export interface IUnknownOperator {
|
|
77
|
+
type: OperatorType.Unknown;
|
|
78
|
+
commandInfo: EffectRefRangeParams;
|
|
79
|
+
}
|
|
80
|
+
export type IOperator = IDeleteOperator | IVerticalMoveOperator | IHorizontalMoveOperator | IUnknownOperator | ISetOperator;
|
|
81
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../src/services/ref-range/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,wDAAwD,CAAC;AAChH,OAAO,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AACtG,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AAC5G,OAAO,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AAClG,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wDAAwD,CAAC;AAC/G,OAAO,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AACtG,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,yDAAyD,CAAC;AACjH,OAAO,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;AACxG,OAAO,KAAK,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AACvH,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACxG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAExG,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,uBAAuB,CAAC,GAAG;IAA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