@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,10 @@
|
|
|
1
|
+
import type { ICommand, IRange } from '@univerjs/core';
|
|
2
|
+
export interface IDeleteRangeMoveLeftCommandParams {
|
|
3
|
+
ranges: IRange[];
|
|
4
|
+
}
|
|
5
|
+
export declare const DeleteRangeMoveLeftCommandId = "sheet.command.delete-range-move-left";
|
|
6
|
+
/**
|
|
7
|
+
* The command to delete range.
|
|
8
|
+
*/
|
|
9
|
+
export declare const DeleteRangeMoveLeftCommand: ICommand;
|
|
10
|
+
//# sourceMappingURL=delete-range-move-left.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-range-move-left.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/delete-range-move-left.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAiB,MAAM,EAAY,MAAM,gBAAgB,CAAC;AAoBhF,MAAM,WAAW,iCAAiC;IAC9C,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,eAAO,MAAM,4BAA4B,yCAAyC,CAAC;AACnF;;GAEG;AACH,eAAO,MAAM,0BAA0B,EAAE,QAkExC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ICommand, IRange } from '@univerjs/core';
|
|
2
|
+
export interface IDeleteRangeMoveUpCommandParams {
|
|
3
|
+
ranges: IRange[];
|
|
4
|
+
}
|
|
5
|
+
export declare const DeleteRangeMoveUpCommandId = "sheet.command.delete-range-move-up";
|
|
6
|
+
/**
|
|
7
|
+
* The command to delete range.
|
|
8
|
+
*/
|
|
9
|
+
export declare const DeleteRangeMoveUpCommand: ICommand;
|
|
10
|
+
//# sourceMappingURL=delete-range-move-up.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-range-move-up.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/delete-range-move-up.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAiB,MAAM,EAAY,MAAM,gBAAgB,CAAC;AAoBhF,MAAM,WAAW,+BAA+B;IAC5C,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB;AACD,eAAO,MAAM,0BAA0B,uCAAuC,CAAC;AAC/E;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,QAiEtC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ICommand, IRange } from '@univerjs/core';
|
|
2
|
+
export interface InsertRangeMoveDownCommandParams {
|
|
3
|
+
ranges: IRange[];
|
|
4
|
+
}
|
|
5
|
+
export declare const InsertRangeMoveDownCommandId = "sheet.command.insert-range-move-down";
|
|
6
|
+
/**
|
|
7
|
+
* The command to insert range.
|
|
8
|
+
*/
|
|
9
|
+
export declare const InsertRangeMoveDownCommand: ICommand;
|
|
10
|
+
//# sourceMappingURL=insert-range-move-down.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insert-range-move-down.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/insert-range-move-down.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,QAAQ,EAAiB,MAAM,EAAY,MAAM,gBAAgB,CAAC;AA8B3F,MAAM,WAAW,gCAAgC;IAC7C,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,eAAO,MAAM,4BAA4B,yCAAyC,CAAC;AACnF;;GAEG;AACH,eAAO,MAAM,0BAA0B,EAAE,QAgJxC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ICommand, IRange } from '@univerjs/core';
|
|
2
|
+
export interface InsertRangeMoveRightCommandParams {
|
|
3
|
+
ranges: IRange[];
|
|
4
|
+
}
|
|
5
|
+
export declare const InsertRangeMoveRightCommandId = "sheet.command.insert-range-move-right";
|
|
6
|
+
/**
|
|
7
|
+
* The command to insert range.
|
|
8
|
+
*/
|
|
9
|
+
export declare const InsertRangeMoveRightCommand: ICommand;
|
|
10
|
+
//# sourceMappingURL=insert-range-move-right.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insert-range-move-right.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/insert-range-move-right.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA0B,QAAQ,EAAiB,MAAM,EAAE,MAAM,gBAAgB,CAAC;AA8B9F,MAAM,WAAW,iCAAiC;IAC9C,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB;AACD,eAAO,MAAM,6BAA6B,0CAA0C,CAAC;AACrF;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,QA2IzC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { ICommand, IRange } from '@univerjs/core';
|
|
2
|
+
import { Direction } from '@univerjs/core';
|
|
3
|
+
export interface IInsertRowCommandParams {
|
|
4
|
+
workbookId: string;
|
|
5
|
+
worksheetId: string;
|
|
6
|
+
/**
|
|
7
|
+
* whether it is inserting row after (DOWN) or inserting before (UP)
|
|
8
|
+
*
|
|
9
|
+
* this determines styles of the cells in the inserted rows
|
|
10
|
+
*/
|
|
11
|
+
direction: Direction.UP | Direction.DOWN;
|
|
12
|
+
/**
|
|
13
|
+
* The range will the row be inserted.
|
|
14
|
+
*/
|
|
15
|
+
range: IRange;
|
|
16
|
+
}
|
|
17
|
+
export declare const InsertRowCommandId = "sheet.command.insert-row";
|
|
18
|
+
/**
|
|
19
|
+
* @internal use `InsertRowBeforeCommand` or `InsertRowAfterCommand` as an external user
|
|
20
|
+
*
|
|
21
|
+
* this command and its interface should not be exported from index.ts
|
|
22
|
+
*/
|
|
23
|
+
export declare const InsertRowCommand: ICommand;
|
|
24
|
+
export declare const InsertRowBeforeCommand: ICommand;
|
|
25
|
+
export declare const InsertRowAfterCommand: ICommand;
|
|
26
|
+
export interface IInsertColCommandParams {
|
|
27
|
+
workbookId: string;
|
|
28
|
+
worksheetId: string;
|
|
29
|
+
range: IRange;
|
|
30
|
+
direction: Direction.LEFT | Direction.RIGHT;
|
|
31
|
+
}
|
|
32
|
+
export declare const InsertColCommandId = "sheet.command.insert-col";
|
|
33
|
+
export declare const InsertColCommand: ICommand<IInsertColCommandParams>;
|
|
34
|
+
export declare const InsertColBeforeCommand: ICommand;
|
|
35
|
+
export declare const InsertColAfterCommand: ICommand;
|
|
36
|
+
//# sourceMappingURL=insert-row-col.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insert-row-col.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/insert-row-col.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA0B,QAAQ,EAAE,MAAM,EAAkC,MAAM,gBAAgB,CAAC;AAC/G,OAAO,EAIH,SAAS,EAOZ,MAAM,gBAAgB,CAAC;AAuBxB,MAAM,WAAW,uBAAuB;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,SAAS,EAAE,SAAS,CAAC,EAAE,GAAG,SAAS,CAAC,IAAI,CAAC;IACzC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AACD,eAAO,MAAM,kBAAkB,6BAA6B,CAAC;AAC7D;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,QA0F9B,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,QA6CpC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,QA6CnC,CAAC;AAEF,MAAM,WAAW,uBAAuB;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,SAAS,CAAC,IAAI,GAAG,SAAS,CAAC,KAAK,CAAC;CAC/C;AACD,eAAO,MAAM,kBAAkB,6BAA6B,CAAC;AAC7D,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,uBAAuB,CA8F9D,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,QA2CpC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,QA2CnC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ICommand, IWorksheetData } from '@univerjs/core';
|
|
2
|
+
export interface InsertSheetCommandParams {
|
|
3
|
+
workbookId?: string;
|
|
4
|
+
index?: number;
|
|
5
|
+
sheet?: IWorksheetData;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The command to insert new worksheet
|
|
9
|
+
*/
|
|
10
|
+
export declare const InsertSheetCommand: ICommand;
|
|
11
|
+
//# sourceMappingURL=insert-sheet.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insert-sheet.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/insert-sheet.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAuB/D,MAAM,WAAW,wBAAwB;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,cAAc,CAAC;CAC1B;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,QA4EhC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ICommand, IRange } from '@univerjs/core';
|
|
2
|
+
export interface IMoveRangeCommandParams {
|
|
3
|
+
toRange: IRange;
|
|
4
|
+
fromRange: IRange;
|
|
5
|
+
}
|
|
6
|
+
export declare const MoveRangeCommandId = "sheet.command.move-range";
|
|
7
|
+
export declare const MoveRangeCommand: ICommand;
|
|
8
|
+
//# sourceMappingURL=move-range.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"move-range.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/move-range.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,QAAQ,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAiBlE,MAAM,WAAW,uBAAuB;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACrB;AACD,eAAO,MAAM,kBAAkB,6BAA6B,CAAC;AAC7D,eAAO,MAAM,gBAAgB,EAAE,QA+F9B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface IMoveRowsCommandParams {
|
|
3
|
+
fromRow: number;
|
|
4
|
+
toRow: number;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Command to move the selected rows (must currently selected) to the specified row.
|
|
8
|
+
*/
|
|
9
|
+
export declare const MoveRowsCommand: ICommand<IMoveRowsCommandParams>;
|
|
10
|
+
export interface IMoveColsCommandParams {
|
|
11
|
+
fromCol: number;
|
|
12
|
+
toCol: number;
|
|
13
|
+
}
|
|
14
|
+
export declare const MoveColsCommand: ICommand<IMoveColsCommandParams>;
|
|
15
|
+
//# sourceMappingURL=move-rows-cols.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"move-rows-cols.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/move-rows-cols.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAU,MAAM,gBAAgB,CAAC;AAqCvD,MAAM,WAAW,sBAAsB;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,sBAAsB,CA6J5D,CAAC;AAEF,MAAM,WAAW,sBAAsB;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,sBAAsB,CA+J5D,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ICommand, IRange } from '@univerjs/core';
|
|
2
|
+
export interface IRemoveRowColCommandParams {
|
|
3
|
+
ranges: IRange[];
|
|
4
|
+
}
|
|
5
|
+
export declare const RemoveRowCommandId = "sheet.command.remove-row";
|
|
6
|
+
/**
|
|
7
|
+
* This command would remove the selected rows. These selected rows can be non-continuous.
|
|
8
|
+
*/
|
|
9
|
+
export declare const RemoveRowCommand: ICommand;
|
|
10
|
+
export declare const RemoveColCommandId = "sheet.command.remove-col";
|
|
11
|
+
/**
|
|
12
|
+
* This command would remove the selected columns. These selected rows can be non-continuous.
|
|
13
|
+
*/
|
|
14
|
+
export declare const RemoveColCommand: ICommand;
|
|
15
|
+
//# sourceMappingURL=remove-row-col.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-row-col.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/remove-row-col.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAY,MAAM,gBAAgB,CAAC;AAgCjE,MAAM,WAAW,0BAA0B;IACvC,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB;AACD,eAAO,MAAM,kBAAkB,6BAA6B,CAAC;AAC7D;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,QAuF9B,CAAC;AACF,eAAO,MAAM,kBAAkB,6BAA6B,CAAC;AAC7D;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,QAqF9B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface IRemoveSheetCommandParams {
|
|
3
|
+
workbookId?: string;
|
|
4
|
+
worksheetId?: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* The command to insert new worksheet
|
|
8
|
+
*/
|
|
9
|
+
export declare const RemoveSheetCommand: ICommand;
|
|
10
|
+
//# sourceMappingURL=remove-sheet.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-sheet.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/remove-sheet.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAuB/C,MAAM,WAAW,yBAAyB;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,QAgFhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-worksheet-merge.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/remove-worksheet-merge.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAe/C,eAAO,MAAM,2BAA2B,EAAE,QAyDzC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { BorderStyleTypes, ICommand } from '@univerjs/core';
|
|
2
|
+
import { BorderType } from '@univerjs/core';
|
|
3
|
+
import { type IBorderInfo } from '../../services/border-style-manager.service';
|
|
4
|
+
export interface ISetBorderBasicCommand {
|
|
5
|
+
value: IBorderInfo;
|
|
6
|
+
}
|
|
7
|
+
export declare const SetBorderBasicCommand: ICommand<ISetBorderBasicCommand>;
|
|
8
|
+
export interface ISetBorderPositionCommandParams {
|
|
9
|
+
value: BorderType;
|
|
10
|
+
}
|
|
11
|
+
export declare const SetBorderPositionCommand: ICommand<ISetBorderPositionCommandParams>;
|
|
12
|
+
export interface ISetBorderStyleCommandParams {
|
|
13
|
+
value: BorderStyleTypes;
|
|
14
|
+
}
|
|
15
|
+
export declare const SetBorderStyleCommand: ICommand;
|
|
16
|
+
export interface ISetBorderColorCommandParams {
|
|
17
|
+
value: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const SetBorderColorCommand: ICommand<ISetBorderColorCommandParams>;
|
|
20
|
+
/**
|
|
21
|
+
* The command to clear content in current selected ranges.
|
|
22
|
+
*/
|
|
23
|
+
export declare const SetBorderCommand: ICommand;
|
|
24
|
+
//# sourceMappingURL=set-border-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-border-command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-border-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,gBAAgB,EAIhB,QAAQ,EAGX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,UAAU,EAQb,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAA6B,KAAK,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAc1G,MAAM,WAAW,sBAAsB;IACnC,KAAK,EAAE,WAAW,CAAC;CACtB;AACD,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,sBAAsB,CAelE,CAAC;AAEF,MAAM,WAAW,+BAA+B;IAC5C,KAAK,EAAE,UAAU,CAAC;CACrB;AAED,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,+BAA+B,CAU9E,CAAC;AAEF,MAAM,WAAW,4BAA4B;IACzC,KAAK,EAAE,gBAAgB,CAAC;CAC3B;AAED,eAAO,MAAM,qBAAqB,EAAE,QASnC,CAAC;AAEF,MAAM,WAAW,4BAA4B;IACzC,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,4BAA4B,CASxE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,QA8U9B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ICommand, IRange } from '@univerjs/core';
|
|
2
|
+
export interface ISetSpecificColsVisibleCommandParams {
|
|
3
|
+
workbookId: string;
|
|
4
|
+
worksheetId: string;
|
|
5
|
+
ranges: IRange[];
|
|
6
|
+
}
|
|
7
|
+
export declare const SetSpecificColsVisibleCommand: ICommand<ISetSpecificColsVisibleCommandParams>;
|
|
8
|
+
export declare const SetSelectedColsVisibleCommand: ICommand;
|
|
9
|
+
export declare const SetColHiddenCommand: ICommand;
|
|
10
|
+
//# sourceMappingURL=set-col-visible.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-col-visible.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-col-visible.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAY,MAAM,gBAAgB,CAAC;AAuBjE,MAAM,WAAW,oCAAoC;IACjD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,eAAO,MAAM,6BAA6B,EAAE,QAAQ,CAAC,oCAAoC,CA6DxF,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,QAgC3C,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,QA0EjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-frozen-cancel.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-frozen-cancel.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAO/C,eAAO,MAAM,sBAAsB,EAAE,QA0CpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-frozen.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-frozen.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAc/C,eAAO,MAAM,gBAAgB,EAAE,QAiD9B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
import { BooleanNumber } from '@univerjs/core';
|
|
3
|
+
export interface ISetHideGridlinesCommandParams {
|
|
4
|
+
hideGridlines?: BooleanNumber;
|
|
5
|
+
workbookId?: string;
|
|
6
|
+
worksheetId?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const SetHideGridlinesCommand: ICommand;
|
|
9
|
+
//# sourceMappingURL=set-hide-gridlines.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-hide-gridlines.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-hide-gridlines.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAA0E,MAAM,gBAAgB,CAAC;AASvH,MAAM,WAAW,8BAA8B;IAC3C,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,uBAAuB,EAAE,QAgDrC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ICellData, ICommand, IRange, ObjectMatrixPrimitiveType } from '@univerjs/core';
|
|
2
|
+
export interface ISetRangeValuesCommandParams {
|
|
3
|
+
worksheetId?: string;
|
|
4
|
+
workbookId?: string;
|
|
5
|
+
range?: IRange;
|
|
6
|
+
/**
|
|
7
|
+
* 1. ICellData: Normal cell data
|
|
8
|
+
* 2. ICellData[][]: The two-dimensional array indicates the data of multiple cells
|
|
9
|
+
* 3. ObjectMatrixPrimitiveType<ICellData>: Bring the row/column information MATRIX, indicating the data of multiple cells
|
|
10
|
+
*/
|
|
11
|
+
value: ICellData | ICellData[][] | ObjectMatrixPrimitiveType<ICellData>;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The command to set values for ranges.
|
|
15
|
+
*/
|
|
16
|
+
export declare const SetRangeValuesCommand: ICommand;
|
|
17
|
+
//# sourceMappingURL=set-range-values.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-range-values.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-range-values.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAmB7F,MAAM,WAAW,4BAA4B;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,KAAK,EAAE,SAAS,GAAG,SAAS,EAAE,EAAE,GAAG,yBAAyB,CAAC,SAAS,CAAC,CAAC;CAC3E;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,QAuFnC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ICommand, IRange } from '@univerjs/core';
|
|
2
|
+
export interface ISetSpecificRowsVisibleCommandParams {
|
|
3
|
+
workbookId: string;
|
|
4
|
+
worksheetId: string;
|
|
5
|
+
ranges: IRange[];
|
|
6
|
+
}
|
|
7
|
+
export declare const SetSpecificRowsVisibleCommand: ICommand<ISetSpecificRowsVisibleCommandParams>;
|
|
8
|
+
export declare const SetSelectedRowsVisibleCommand: ICommand;
|
|
9
|
+
export declare const SetRowHiddenCommand: ICommand;
|
|
10
|
+
//# sourceMappingURL=set-row-visible.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-row-visible.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-row-visible.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAwBvD,MAAM,WAAW,oCAAoC;IACjD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,eAAO,MAAM,6BAA6B,EAAE,QAAQ,CAAC,oCAAoC,CAiExF,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,QA+B3C,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,QA0EjC,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { HorizontalAlign, ICommand, IRange, IStyleData, VerticalAlign, WrapStrategy } from '@univerjs/core';
|
|
2
|
+
export interface IStyleTypeValue<T> {
|
|
3
|
+
type: keyof IStyleData;
|
|
4
|
+
value: T | T[][];
|
|
5
|
+
}
|
|
6
|
+
export interface ISetStyleCommandParams<T> {
|
|
7
|
+
worksheetId?: string;
|
|
8
|
+
workbookId?: string;
|
|
9
|
+
range?: IRange;
|
|
10
|
+
style: IStyleTypeValue<T>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The command to set cell style.
|
|
14
|
+
* Set style to a bunch of ranges.
|
|
15
|
+
*/
|
|
16
|
+
export declare const SetStyleCommand: ICommand<ISetStyleCommandParams<unknown>>;
|
|
17
|
+
/**
|
|
18
|
+
* Set bold font style to currently selected ranges.
|
|
19
|
+
* If the cell is already bold then it will cancel the bold style.
|
|
20
|
+
*/
|
|
21
|
+
export declare const SetBoldCommand: ICommand;
|
|
22
|
+
/**
|
|
23
|
+
* Set italic font style to currently selected ranges.
|
|
24
|
+
* If the cell is already italic then it will cancel the italic style.
|
|
25
|
+
*/
|
|
26
|
+
export declare const SetItalicCommand: ICommand;
|
|
27
|
+
/**
|
|
28
|
+
* Set underline font style to currently selected ranges. If the cell is already underline then it will cancel the underline style.
|
|
29
|
+
*/
|
|
30
|
+
export declare const SetUnderlineCommand: ICommand;
|
|
31
|
+
/**
|
|
32
|
+
* Set strike through font style to currently selected ranges. If the cell is already stroke then it will cancel the stroke style.
|
|
33
|
+
*/
|
|
34
|
+
export declare const SetStrikeThroughCommand: ICommand;
|
|
35
|
+
/**
|
|
36
|
+
* Set overline font style to currently selected ranges. If the cell is already overline then it will cancel the overline style.
|
|
37
|
+
*/
|
|
38
|
+
export declare const SetOverlineCommand: ICommand;
|
|
39
|
+
export interface ISetFontFamilyCommandParams {
|
|
40
|
+
value: string;
|
|
41
|
+
}
|
|
42
|
+
export declare const SetFontFamilyCommand: ICommand<ISetFontFamilyCommandParams>;
|
|
43
|
+
export interface ISetFontSizeCommandParams {
|
|
44
|
+
value: number;
|
|
45
|
+
}
|
|
46
|
+
export declare const SetFontSizeCommand: ICommand<ISetFontSizeCommandParams>;
|
|
47
|
+
export interface ISetColorCommandParams {
|
|
48
|
+
value: string;
|
|
49
|
+
}
|
|
50
|
+
export declare const SetTextColorCommand: ICommand<ISetColorCommandParams>;
|
|
51
|
+
export declare const ResetTextColorCommand: ICommand;
|
|
52
|
+
export declare const SetBackgroundColorCommand: ICommand<ISetColorCommandParams>;
|
|
53
|
+
export declare const ResetBackgroundColorCommand: ICommand;
|
|
54
|
+
export interface ISetVerticalTextAlignCommandParams {
|
|
55
|
+
value: VerticalAlign;
|
|
56
|
+
}
|
|
57
|
+
export declare const SetVerticalTextAlignCommand: ICommand<ISetVerticalTextAlignCommandParams>;
|
|
58
|
+
export interface ISetHorizontalTextAlignCommandParams {
|
|
59
|
+
value: HorizontalAlign;
|
|
60
|
+
}
|
|
61
|
+
export declare const SetHorizontalTextAlignCommand: ICommand<ISetHorizontalTextAlignCommandParams>;
|
|
62
|
+
export interface ISetTextWrapCommandParams {
|
|
63
|
+
value: WrapStrategy;
|
|
64
|
+
}
|
|
65
|
+
export declare const SetTextWrapCommand: ICommand<ISetTextWrapCommandParams>;
|
|
66
|
+
export interface ISetTextRotationCommandParams {
|
|
67
|
+
value: number | string;
|
|
68
|
+
}
|
|
69
|
+
export declare const SetTextRotationCommand: ICommand<ISetTextRotationCommandParams>;
|
|
70
|
+
//# sourceMappingURL=set-style.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-style.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-style.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,eAAe,EAGf,QAAQ,EACR,MAAM,EACN,UAAU,EAEV,aAAa,EACb,YAAY,EACf,MAAM,gBAAgB,CAAC;AAoBxB,MAAM,WAAW,eAAe,CAAC,CAAC;IAC9B,IAAI,EAAE,MAAM,UAAU,CAAC;IACvB,KAAK,EAAE,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB,CAAC,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;CAC7B;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAiGrE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,QAuB5B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,QA4B9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,QAgCjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,QA8BrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,QAgChC,CAAC;AAEF,MAAM,WAAW,2BAA2B;IACxC,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,2BAA2B,CAkBtE,CAAC;AAEF,MAAM,WAAW,yBAAyB;IACtC,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,yBAAyB,CAkBlE,CAAC;AAEF,MAAM,WAAW,sBAAsB;IACnC,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,sBAAsB,CAoBhE,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,QAgBnC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,sBAAsB,CAoBtE,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,QAgBzC,CAAC;AAEF,MAAM,WAAW,kCAAkC;IAC/C,KAAK,EAAE,aAAa,CAAC;CACxB;AAED,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,kCAAkC,CAkBpF,CAAC;AAEF,MAAM,WAAW,oCAAoC;IACjD,KAAK,EAAE,eAAe,CAAC;CAC1B;AAED,eAAO,MAAM,6BAA6B,EAAE,QAAQ,CAAC,oCAAoC,CAkBxF,CAAC;AAEF,MAAM,WAAW,yBAAyB;IACtC,KAAK,EAAE,YAAY,CAAC;CACvB;AAED,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,yBAAyB,CAkBlE,CAAC;AAEF,MAAM,WAAW,6BAA6B;IAC1C,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,6BAA6B,CAoB1E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-tab-color.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-tab-color.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAO/C,MAAM,WAAW,yBAAyB;IACtC,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,kBAAkB,EAAE,QAyChC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface ISetWorksheetActivateCommandParams {
|
|
3
|
+
workbookId?: string;
|
|
4
|
+
worksheetId?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const SetWorksheetActivateCommand: ICommand;
|
|
7
|
+
//# sourceMappingURL=set-worksheet-activate.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-worksheet-activate.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-worksheet-activate.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAO/C,MAAM,WAAW,kCAAkC;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,2BAA2B,EAAE,QA4BzC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface IDeltaColumnWidthCommandParams {
|
|
3
|
+
anchorCol: number;
|
|
4
|
+
deltaX: number;
|
|
5
|
+
}
|
|
6
|
+
export declare const DeltaColumnWidthCommand: ICommand<IDeltaColumnWidthCommandParams>;
|
|
7
|
+
export interface ISetColWidthCommandParams {
|
|
8
|
+
value: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const SetColWidthCommand: ICommand;
|
|
11
|
+
//# sourceMappingURL=set-worksheet-col-width.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-worksheet-col-width.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-worksheet-col-width.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAoB/C,MAAM,WAAW,8BAA8B;IAC3C,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,8BAA8B,CAqF5E,CAAC;AAEF,MAAM,WAAW,yBAAyB;IACtC,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,kBAAkB,EAAE,QAmDhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-worksheet-hide.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-worksheet-hide.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAY/C,MAAM,WAAW,gCAAgC;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,uBAAuB,EAAE,QAkErC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface SetWorksheetNameCommandParams {
|
|
3
|
+
name: string;
|
|
4
|
+
worksheetId?: string;
|
|
5
|
+
workbookId?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The command to set the sheet name.
|
|
9
|
+
*/
|
|
10
|
+
export declare const SetWorksheetNameCommand: ICommand;
|
|
11
|
+
//# sourceMappingURL=set-worksheet-name.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-worksheet-name.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-worksheet-name.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAO/C,MAAM,WAAW,6BAA6B;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,QAoCrC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface ISetWorksheetOrderCommandParams {
|
|
3
|
+
order: number;
|
|
4
|
+
workbookId?: string;
|
|
5
|
+
worksheetId?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const SetWorksheetOrderCommand: ICommand;
|
|
8
|
+
//# sourceMappingURL=set-worksheet-order.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-worksheet-order.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-worksheet-order.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAU/C,MAAM,WAAW,+BAA+B;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,wBAAwB,EAAE,QAsCtC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
import { BooleanNumber } from '@univerjs/core';
|
|
3
|
+
export interface ISetWorksheetRightToLeftCommandParams {
|
|
4
|
+
rightToLeft?: BooleanNumber;
|
|
5
|
+
workbookId?: string;
|
|
6
|
+
worksheetId?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const SetWorksheetRightToLeftCommand: ICommand;
|
|
9
|
+
//# sourceMappingURL=set-worksheet-right-to-left.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-worksheet-right-to-left.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-worksheet-right-to-left.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAA0E,MAAM,gBAAgB,CAAC;AASvH,MAAM,WAAW,qCAAqC;IAClD,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,8BAA8B,EAAE,QAwD5C,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface IDeltaRowHeightCommand {
|
|
3
|
+
anchorRow: number;
|
|
4
|
+
deltaY: number;
|
|
5
|
+
}
|
|
6
|
+
export declare const DeltaRowHeightCommand: ICommand;
|
|
7
|
+
export interface ISetRowHeightCommandParams {
|
|
8
|
+
value: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const SetRowHeightCommand: ICommand;
|
|
11
|
+
export interface ISetRowAutoHeightCommandParams {
|
|
12
|
+
}
|
|
13
|
+
export declare const SetWorksheetRowIsAutoHeightCommand: ICommand;
|
|
14
|
+
//# sourceMappingURL=set-worksheet-row-height.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-worksheet-row-height.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-worksheet-row-height.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAyB/C,MAAM,WAAW,sBAAsB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,qBAAqB,EAAE,QAkHnC,CAAC;AAEF,MAAM,WAAW,0BAA0B;IACvC,KAAK,EAAE,MAAM,CAAC;CACjB;AACD,eAAO,MAAM,mBAAmB,EAAE,QAmFjC,CAAC;AAEF,MAAM,WAAW,8BAA8B;CAAG;AAElD,eAAO,MAAM,kCAAkC,EAAE,QAkDhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-worksheet-show.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/set-worksheet-show.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAY/C,MAAM,WAAW,8BAA8B;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,uBAAuB,EAAE,QAiErC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Worksheet } from '@univerjs/core';
|
|
2
|
+
/**
|
|
3
|
+
* @param row after this row
|
|
4
|
+
*/
|
|
5
|
+
export declare function rowAcrossMergedCell(row: number, worksheet: Worksheet): boolean;
|
|
6
|
+
export declare function columnAcrossMergedCell(col: number, worksheet: Worksheet): boolean;
|
|
7
|
+
//# sourceMappingURL=merged-cell-util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"merged-cell-util.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/utils/merged-cell-util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,GAAG,OAAO,CAE9E;AAED,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,GAAG,OAAO,CAEjF"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { IRange, ISelection, ISelectionCell, Nullable, Worksheet } from '@univerjs/core';
|
|
2
|
+
import { Direction } from '@univerjs/core';
|
|
3
|
+
export interface IExpandParams {
|
|
4
|
+
left?: boolean;
|
|
5
|
+
right?: boolean;
|
|
6
|
+
up?: boolean;
|
|
7
|
+
down?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function getCellAtRowCol(row: number, col: number, worksheet: Worksheet): ISelectionCell;
|
|
10
|
+
export declare function findNextRange(startRange: IRange, direction: Direction, worksheet: Worksheet, boundary?: IRange, isFindNext?: boolean, nextStep?: number, isGoBack?: boolean): IRange;
|
|
11
|
+
export declare function findNextGapRange(startRange: IRange, direction: Direction, worksheet: Worksheet): IRange;
|
|
12
|
+
export declare function findNextRangeExpand(startRange: IRange, direction: Direction, worksheet: Worksheet): IRange;
|
|
13
|
+
export declare function expandToNextGapRange(startRange: IRange, direction: Direction, worksheet: Worksheet): IRange;
|
|
14
|
+
/**
|
|
15
|
+
* Adjust the range to align merged cell's borders.
|
|
16
|
+
*/
|
|
17
|
+
export declare function alignToMergedCellsBorders(startRange: IRange, worksheet: Worksheet, shouldRecursive?: boolean): IRange;
|
|
18
|
+
export declare function expandToNextCell(startRange: IRange, direction: Direction, worksheet: Worksheet): IRange;
|
|
19
|
+
/**
|
|
20
|
+
* This function is considered as a reversed operation of `expandToNextGapCell` but there are slightly differences.
|
|
21
|
+
* @param startRange
|
|
22
|
+
* @param direction
|
|
23
|
+
* @param worksheet
|
|
24
|
+
*/
|
|
25
|
+
export declare function shrinkToNextGapRange(startRange: IRange, anchorRange: IRange, direction: Direction, worksheet: Worksheet): IRange;
|
|
26
|
+
/**
|
|
27
|
+
* This function is considered as a reversed operation of `expandToNextCell` but there are some slightly differences.
|
|
28
|
+
* @param startRange
|
|
29
|
+
* @param direction
|
|
30
|
+
* @param worksheet
|
|
31
|
+
*/
|
|
32
|
+
export declare function shrinkToNextCell(startRange: IRange, direction: Direction, worksheet: Worksheet): IRange;
|
|
33
|
+
export declare function expandToContinuousRange(startRange: IRange, directions: IExpandParams, worksheet: Worksheet): IRange;
|
|
34
|
+
export declare function expandToWholeSheet(worksheet: Worksheet): IRange;
|
|
35
|
+
export declare function getStartRange(range: IRange, primary: Nullable<ISelectionCell>, direction: Direction): IRange;
|
|
36
|
+
export declare function checkIfShrink(selection: ISelection, direction: Direction, worksheet: Worksheet): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Get the default primary cell (the most top-left cell) of a range.
|
|
39
|
+
* @param range
|
|
40
|
+
* @param worksheet
|
|
41
|
+
*/
|
|
42
|
+
export declare function getPrimaryForRange(range: IRange, worksheet: Worksheet): ISelectionCell;
|
|
43
|
+
export interface IInterval {
|
|
44
|
+
[index: string]: [start: number, end: number];
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Calculate the real length of the intervals
|
|
48
|
+
* @param intervalsObject
|
|
49
|
+
* @returns
|
|
50
|
+
*/
|
|
51
|
+
export declare function calculateTotalLength(intervalsObject: IInterval): number;
|
|
52
|
+
//# sourceMappingURL=selection-util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection-util.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/utils/selection-util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAgB,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACvH,OAAO,EAAE,SAAS,EAAgE,MAAM,gBAAgB,CAAC;AAEzG,MAAM,WAAW,aAAa;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,IAAI,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,GAAG,cAAc,CAmC9F;AAED,wBAAgB,aAAa,CACzB,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAS,EACpB,QAAQ,CAAC,EAAE,MAAM,EACjB,UAAU,GAAE,OAAc,EAC1B,QAAQ,GAAE,MAAU,EACpB,QAAQ,GAAE,OAAc,GACzB,MAAM,CA2FR;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,GAAG,MAAM,CA6LvG;AAED,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,GAAG,MAAM,CAE1G;AAED,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,GAAG,MAAM,CAG3G;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,eAAe,UAAO,UA4BzG;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,GAAG,MAAM,CAUvG;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAChC,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAS,GACrB,MAAM,CAmCR;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,GAAG,MAAM,CAOvG;AAED,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS,GAAG,MAAM,CAmGnH;AAED,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAQ/D;AA0ED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,EAAE,SAAS,EAAE,SAAS,GAAG,MAAM,CAmB5G;AAED,wBAAgB,aAAa,CAAC,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,GAAG,OAAO,CA4BxG;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,GAAG,cAAc,CAwBtF;AAED,MAAM,WAAW,SAAS;IACtB,CAAC,KAAK,EAAE,MAAM,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC;CACjD;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,eAAe,EAAE,SAAS,GAAG,MAAM,CAsBvE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { IMutation } from '@univerjs/core';
|
|
2
|
+
import type { IAccessor } from '@wendellhu/redi';
|
|
3
|
+
import type { IAddWorksheetMergeMutationParams, IRemoveWorksheetMergeMutationParams } from '../../basics/interfaces/mutation-interface';
|
|
4
|
+
export declare const AddMergeUndoMutationFactory: (accessor: IAccessor, params: IAddWorksheetMergeMutationParams) => IRemoveWorksheetMergeMutationParams;
|
|
5
|
+
export declare const AddWorksheetMergeMutation: IMutation<IAddWorksheetMergeMutationParams>;
|
|
6
|
+
//# sourceMappingURL=add-worksheet-merge.mutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-worksheet-merge.mutation.d.ts","sourceRoot":"","sources":["../../../../src/commands/mutations/add-worksheet-merge.mutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,KAAK,EACR,gCAAgC,EAChC,mCAAmC,EACtC,MAAM,4CAA4C,CAAC;AAEpD,eAAO,MAAM,2BAA2B,aAC1B,SAAS,UACX,gCAAgC,KACzC,mCAaF,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,SAAS,CAAC,gCAAgC,CAqBjF,CAAC"}
|