@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":"command-listener-const.d.ts","sourceRoot":"","sources":["../../../../src/basics/const/command-listener-const.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,gCAAgC,UAgB5C,CAAC;AAEF,eAAO,MAAM,6BAA6B,UAAoD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-spreadsheet-plugin-data.d.ts","sourceRoot":"","sources":["../../../../src/basics/const/default-spreadsheet-plugin-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,eAAO,MAAM,+BAA+B,EAAE,mBAE7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/basics/const/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=get-apply-data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-apply-data.d.ts","sourceRoot":"","sources":["../../../src/basics/get-apply-data.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/basics/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-ruler-manager.d.ts","sourceRoot":"","sources":["../../../../src/basics/interfaces/i-ruler-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,aAAa,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/basics/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { Dimension, ICellData, IColumnData, IRange, IRowData, IWorksheetData, ObjectArray, ObjectMatrixPrimitiveType } from '@univerjs/core';
|
|
2
|
+
/** Params of `RemoveSheetMutation` */
|
|
3
|
+
export interface IRemoveSheetMutationParams {
|
|
4
|
+
worksheetId: string;
|
|
5
|
+
workbookId: string;
|
|
6
|
+
}
|
|
7
|
+
/** Params of `InsertSheetMutation` */
|
|
8
|
+
export interface IInsertSheetMutationParams {
|
|
9
|
+
index: number;
|
|
10
|
+
sheet: IWorksheetData;
|
|
11
|
+
workbookId: string;
|
|
12
|
+
}
|
|
13
|
+
/** Params of InsertRowMutation */
|
|
14
|
+
export interface IInsertRowMutationParams {
|
|
15
|
+
workbookId: string;
|
|
16
|
+
worksheetId: string;
|
|
17
|
+
ranges: IRange[];
|
|
18
|
+
rowInfo?: ObjectArray<IRowData>;
|
|
19
|
+
}
|
|
20
|
+
/** Params of InsertColMutation */
|
|
21
|
+
export interface IInsertColMutationParams {
|
|
22
|
+
workbookId: string;
|
|
23
|
+
worksheetId: string;
|
|
24
|
+
ranges: IRange[];
|
|
25
|
+
colInfo?: ObjectArray<IColumnData>;
|
|
26
|
+
}
|
|
27
|
+
/** Params of InsertRowMutation */
|
|
28
|
+
export interface IRemoveRowsMutationParams {
|
|
29
|
+
workbookId: string;
|
|
30
|
+
worksheetId: string;
|
|
31
|
+
ranges: IRange[];
|
|
32
|
+
}
|
|
33
|
+
/** Params of InsertColMutation */
|
|
34
|
+
export interface IRemoveColMutationParams {
|
|
35
|
+
workbookId: string;
|
|
36
|
+
worksheetId: string;
|
|
37
|
+
ranges: IRange[];
|
|
38
|
+
}
|
|
39
|
+
/** Params of DeleteRange */
|
|
40
|
+
export interface IDeleteRangeMutationParams {
|
|
41
|
+
workbookId: string;
|
|
42
|
+
worksheetId: string;
|
|
43
|
+
ranges: IRange[];
|
|
44
|
+
shiftDimension: Dimension;
|
|
45
|
+
}
|
|
46
|
+
/** Params of InsertRange */
|
|
47
|
+
export interface IInsertRangeMutationParams {
|
|
48
|
+
workbookId: string;
|
|
49
|
+
worksheetId: string;
|
|
50
|
+
ranges: IRange[];
|
|
51
|
+
shiftDimension: Dimension;
|
|
52
|
+
cellValue: ObjectMatrixPrimitiveType<ICellData>;
|
|
53
|
+
}
|
|
54
|
+
/** Params of RemoveWorksheetMergeMutation */
|
|
55
|
+
export interface IRemoveWorksheetMergeMutationParams {
|
|
56
|
+
workbookId: string;
|
|
57
|
+
worksheetId: string;
|
|
58
|
+
ranges: IRange[];
|
|
59
|
+
}
|
|
60
|
+
/** Params of AddWorksheetMergeMutation */
|
|
61
|
+
export interface IAddWorksheetMergeMutationParams {
|
|
62
|
+
workbookId: string;
|
|
63
|
+
worksheetId: string;
|
|
64
|
+
ranges: IRange[];
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=mutation-interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mutation-interface.d.ts","sourceRoot":"","sources":["../../../../src/basics/interfaces/mutation-interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,SAAS,EACT,SAAS,EACT,WAAW,EACX,MAAM,EACN,QAAQ,EACR,cAAc,EACd,WAAW,EACX,yBAAyB,EAC5B,MAAM,gBAAgB,CAAC;AAExB,sCAAsC;AACtC,MAAM,WAAW,0BAA0B;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,sCAAsC;AACtC,MAAM,WAAW,0BAA0B;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,cAAc,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,kCAAkC;AAClC,MAAM,WAAW,wBAAwB;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;CACnC;AAED,kCAAkC;AAClC,MAAM,WAAW,wBAAwB;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;CACtC;AAED,kCAAkC;AAClC,MAAM,WAAW,yBAAyB;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,kCAAkC;AAClC,MAAM,WAAW,wBAAwB;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,4BAA4B;AAC5B,MAAM,WAAW,0BAA0B;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,cAAc,EAAE,SAAS,CAAC;CAC7B;AAED,4BAA4B;AAC5B,MAAM,WAAW,0BAA0B;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,cAAc,EAAE,SAAS,CAAC;IAC1B,SAAS,EAAE,yBAAyB,CAAC,SAAS,CAAC,CAAC;CACnD;AAED,6CAA6C;AAC7C,MAAM,WAAW,mCAAmC;IAChD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,0CAA0C;AAC1C,MAAM,WAAW,gCAAgC;IAC7C,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IRange, IRangeCellData } from '@univerjs/core';
|
|
2
|
+
export interface ISelectionConfig {
|
|
3
|
+
selection: IRange;
|
|
4
|
+
cell?: IRangeCellData;
|
|
5
|
+
}
|
|
6
|
+
export interface ISelectionsConfig {
|
|
7
|
+
[worksheetId: string]: ISelectionConfig[];
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=selection-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection-config.d.ts","sourceRoot":"","sources":["../../../../src/basics/interfaces/selection-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAE7D,MAAM,WAAW,gBAAgB;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAC9B,CAAC,WAAW,EAAE,MAAM,GAAG,gBAAgB,EAAE,CAAC;CAC7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spreadsheet-config.d.ts","sourceRoot":"","sources":["../../../../src/basics/interfaces/spreadsheet-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,MAAM,WAAW,mBAAmB;IAChC,UAAU,EAAE,iBAAiB,CAAC;CACjC"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import type { IRange, ISelection, ISelectionCellWithCoord, ISelectionWithCoord, Nullable, ThemeService } from '@univerjs/core';
|
|
2
|
+
export declare const SELECTION_CONTROL_BORDER_BUFFER_WIDTH = 1;
|
|
3
|
+
export declare const SELECTION_CONTROL_BORDER_BUFFER_COLOR = "rgba(255,255,255, 0.01)";
|
|
4
|
+
/**
|
|
5
|
+
* Whether to display the controller that modifies the selection, distributed in 8 locations
|
|
6
|
+
* tl top_left_corner
|
|
7
|
+
* tc top_center_corner
|
|
8
|
+
* tr top_right_corner
|
|
9
|
+
* ml middle_left_corner
|
|
10
|
+
* mr middle_right_corner
|
|
11
|
+
* bl bottom_left_corner
|
|
12
|
+
* bc bottom_center_corner
|
|
13
|
+
* br bottom_right_corner
|
|
14
|
+
*/
|
|
15
|
+
export interface ISelectionWidgetConfig {
|
|
16
|
+
tl?: boolean;
|
|
17
|
+
tc?: boolean;
|
|
18
|
+
tr?: boolean;
|
|
19
|
+
ml?: boolean;
|
|
20
|
+
mr?: boolean;
|
|
21
|
+
bl?: boolean;
|
|
22
|
+
bc?: boolean;
|
|
23
|
+
br?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* https://support.microsoft.com/en-us/office/select-cell-contents-in-excel-23f64223-2b6b-453a-8688-248355f10fa9
|
|
27
|
+
*/
|
|
28
|
+
export interface ISelectionStyle {
|
|
29
|
+
/**
|
|
30
|
+
* Assign an ID to a selection area.
|
|
31
|
+
* The current scenario is to identify the formula string corresponding to the selection area
|
|
32
|
+
*/
|
|
33
|
+
id?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The volume of the selection border determines the thickness of the selection border
|
|
36
|
+
*/
|
|
37
|
+
strokeWidth: number;
|
|
38
|
+
/**
|
|
39
|
+
* The color of the selection border.
|
|
40
|
+
*/
|
|
41
|
+
stroke: string;
|
|
42
|
+
/**
|
|
43
|
+
* The dashed line of the selection border. Here, the dashed line is a numerical value, different from the canvas dashed line setting. It is implemented internally as [0, strokeDash]. Setting it to 8 will look more aesthetically pleasing.
|
|
44
|
+
*/
|
|
45
|
+
strokeDash?: number;
|
|
46
|
+
/**
|
|
47
|
+
* The fill color inside the selection. It needs to have a level of transparency, otherwise content in the covered area of the selection will be obscured.
|
|
48
|
+
*/
|
|
49
|
+
fill: string;
|
|
50
|
+
/**
|
|
51
|
+
* The eight touch points of the selection. You can refer to Excel's formula and chart selections,
|
|
52
|
+
* which allow you to manually adjust the size of the selection.
|
|
53
|
+
* Univer has four more touch points (up, down, left, and right) than Excel.
|
|
54
|
+
* https://support.microsoft.com/en-us/office/select-data-for-a-chart-5fca57b7-8c52-4e09-979a-631085113862
|
|
55
|
+
*/
|
|
56
|
+
widgets: ISelectionWidgetConfig;
|
|
57
|
+
/**
|
|
58
|
+
* The volume of the touch points.
|
|
59
|
+
*/
|
|
60
|
+
widgetSize?: number;
|
|
61
|
+
/**
|
|
62
|
+
* The thickness of the border of the touch points
|
|
63
|
+
*/
|
|
64
|
+
widgetStrokeWidth?: number;
|
|
65
|
+
/**
|
|
66
|
+
* The color of the touch points.
|
|
67
|
+
*/
|
|
68
|
+
widgetStroke?: string;
|
|
69
|
+
/**
|
|
70
|
+
* https://support.microsoft.com/en-us/office/copy-a-formula-by-dragging-the-fill-handle-in-excel-for-mac-dd928259-622b-473f-9a33-83aa1a63e218
|
|
71
|
+
* Whether to show the drop-down fill button at the bottom right corner of the selection.
|
|
72
|
+
*/
|
|
73
|
+
hasAutoFill: boolean;
|
|
74
|
+
AutofillSize?: number;
|
|
75
|
+
AutofillStrokeWidth?: number;
|
|
76
|
+
AutofillStroke?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Whether to synchronize the display of row title highlights, the highlighting range is consistent with the horizontal range of the selection.
|
|
79
|
+
*/
|
|
80
|
+
hasRowHeader?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* The color of the row title highlight.
|
|
83
|
+
* A level of transparency should be set to avoid covering the row title content.
|
|
84
|
+
*/
|
|
85
|
+
rowHeaderFill?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The color of the bottom border of the row title.
|
|
88
|
+
*/
|
|
89
|
+
rowHeaderStroke?: string;
|
|
90
|
+
/**
|
|
91
|
+
* The color of the bottom border of the row title.
|
|
92
|
+
*/
|
|
93
|
+
rowHeaderStrokeWidth?: number;
|
|
94
|
+
/**
|
|
95
|
+
* The setting of column title highlight is similar to that of row title.
|
|
96
|
+
*/
|
|
97
|
+
hasColumnHeader?: boolean;
|
|
98
|
+
columnHeaderFill?: string;
|
|
99
|
+
columnHeaderStroke?: string;
|
|
100
|
+
columnHeaderStrokeWidth?: number;
|
|
101
|
+
}
|
|
102
|
+
export interface ISelectionWithCoordAndStyle extends ISelectionWithCoord {
|
|
103
|
+
style: Nullable<ISelectionStyle>;
|
|
104
|
+
}
|
|
105
|
+
export interface ISelectionWithStyle extends ISelection {
|
|
106
|
+
style: Nullable<ISelectionStyle>;
|
|
107
|
+
}
|
|
108
|
+
export declare function getNormalSelectionStyle(themeService: ThemeService): ISelectionStyle;
|
|
109
|
+
/**
|
|
110
|
+
* Process a selection with coordinates and style,
|
|
111
|
+
* and extract the coordinate information, because the render needs coordinates when drawing.
|
|
112
|
+
* Since the selection.manager.service is unrelated to the coordinates,
|
|
113
|
+
* it only accepts data of type ISelectionWithStyle, so a conversion is necessary.
|
|
114
|
+
* @param selectionWithCoordAndStyle Selection with coordinates and style
|
|
115
|
+
* @returns
|
|
116
|
+
*/
|
|
117
|
+
export declare function convertSelectionDataToRange(selectionWithCoordAndStyle: ISelectionWithCoordAndStyle): ISelectionWithStyle;
|
|
118
|
+
export declare function convertPrimaryWithCoordToPrimary(primaryWithCoord: ISelectionCellWithCoord): {
|
|
119
|
+
actualRow: number;
|
|
120
|
+
actualColumn: number;
|
|
121
|
+
isMerged: boolean;
|
|
122
|
+
isMergedMainCell: boolean;
|
|
123
|
+
startRow: number;
|
|
124
|
+
startColumn: number;
|
|
125
|
+
endRow: number;
|
|
126
|
+
endColumn: number;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Convert the coordinates of a single cell into a selection data.
|
|
130
|
+
* @param row Specified Row Coordinate
|
|
131
|
+
* @param column Specified Column Coordinate
|
|
132
|
+
* @param mergeData Obtain the data of merged cells through the worksheet object.
|
|
133
|
+
* @returns ISelectionWithStyle
|
|
134
|
+
*/
|
|
135
|
+
export declare function transformCellDataToSelectionData(row: number, column: number, mergeData: IRange[]): Nullable<ISelectionWithStyle>;
|
|
136
|
+
//# sourceMappingURL=selection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../../src/basics/selection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACR,MAAM,EACN,UAAU,EACV,uBAAuB,EACvB,mBAAmB,EACnB,QAAQ,EACR,YAAY,EACf,MAAM,gBAAgB,CAAC;AAIxB,eAAO,MAAM,qCAAqC,IAAI,CAAC;AAEvD,eAAO,MAAM,qCAAqC,4BAA4B,CAAC;AAE/E;;;;;;;;;;GAUG;AACH,MAAM,WAAW,sBAAsB;IACnC,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,OAAO,EAAE,sBAAsB,CAAC;IAChC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,uBAAuB,CAAC,EAAE,MAAM,CAAC;CACpC;AAED,MAAM,WAAW,2BAA4B,SAAQ,mBAAmB;IACpE,KAAK,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,mBAAoB,SAAQ,UAAU;IACnD,KAAK,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;CACpC;AAGD,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,YAAY,GAAG,eAAe,CA6BnF;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CACvC,0BAA0B,EAAE,2BAA2B,GACxD,mBAAmB,CAiBrB;AAED,wBAAgB,gCAAgC,CAAC,gBAAgB,EAAE,uBAAuB;;;;;;;;;EAazF;AAED;;;;;;GAMG;AACH,wBAAgB,gCAAgC,CAC5C,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EAAE,GACpB,QAAQ,CAAC,mBAAmB,CAAC,CAc/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-header.d.ts","sourceRoot":"","sources":["../../../src/basics/sheet-header.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,SAAS,UAIrD;AAED,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,SAAS,UAIvD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-worksheet-merge.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/add-worksheet-merge.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clear-selection.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/clear-selection.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy-worksheet.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/copy-worksheet.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IWorkbookData, Workbook } from '@univerjs/core';
|
|
2
|
+
import { Univer } from '@univerjs/core';
|
|
3
|
+
import type { Dependency } from '@wendellhu/redi';
|
|
4
|
+
import { Injector } from '@wendellhu/redi';
|
|
5
|
+
export interface ITestBed {
|
|
6
|
+
univer: Univer;
|
|
7
|
+
get: Injector['get'];
|
|
8
|
+
sheet: Workbook;
|
|
9
|
+
}
|
|
10
|
+
export declare function createCommandTestBed(workbookConfig?: IWorkbookData, dependencies?: Dependency[]): ITestBed;
|
|
11
|
+
//# sourceMappingURL=create-command-test-bed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-command-test-bed.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/create-command-test-bed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAuE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7G,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAU,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AA8BnD,MAAM,WAAW,QAAQ;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IACrB,KAAK,EAAE,QAAQ,CAAC;CACnB;AAED,wBAAgB,oBAAoB,CAAC,cAAc,CAAC,EAAE,aAAa,EAAE,YAAY,CAAC,EAAE,UAAU,EAAE,GAAG,QAAQ,CAuC1G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-range.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/delete-range.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insert-range.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/insert-range.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insert-remove-rows-cols.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/insert-remove-rows-cols.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"move-range-commands.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/move-range-commands.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"move-rows-cols.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/move-rows-cols.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-sheet.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/remove-sheet.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-border.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/set-border.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-col-width.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/set-col-width.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-frozen.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/set-frozen.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-range-values.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/set-range-values.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-row-col-visible.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/set-row-col-visible.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-row-height.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/set-row-height.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-style.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/set-style.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-tab-color.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/set-tab-color.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-worksheet-hide.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/set-worksheet-hide.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-worksheet-name.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/set-worksheet-name.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-worksheet-order.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/set-worksheet-order.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-worksheet-show.command.spec.d.ts","sourceRoot":"","sources":["../../../../../src/commands/commands/__tests__/set-worksheet-show.command.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ICommand, IRange } from '@univerjs/core';
|
|
2
|
+
import { Dimension } from '@univerjs/core';
|
|
3
|
+
export interface IAddMergeCommandParams {
|
|
4
|
+
value?: Dimension.ROWS | Dimension.COLUMNS;
|
|
5
|
+
selections: IRange[];
|
|
6
|
+
workbookId: string;
|
|
7
|
+
worksheetId: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const AddWorksheetMergeCommand: ICommand;
|
|
10
|
+
export declare const AddWorksheetMergeAllCommand: ICommand;
|
|
11
|
+
export declare const AddWorksheetMergeVerticalCommand: ICommand;
|
|
12
|
+
export declare const AddWorksheetMergeHorizontalCommand: ICommand;
|
|
13
|
+
/**
|
|
14
|
+
* calculates the selection based on the merged cell type
|
|
15
|
+
* @param {IRange[]} selection
|
|
16
|
+
* @param {Dimension} [type]
|
|
17
|
+
* @return {*}
|
|
18
|
+
*/
|
|
19
|
+
export declare const getAddMergeMutationRangeByType: (selection: IRange[], type?: Dimension) => IRange[];
|
|
20
|
+
//# sourceMappingURL=add-worksheet-merge.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-worksheet-merge.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/add-worksheet-merge.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAe,SAAS,EAA6D,MAAM,gBAAgB,CAAC;AAcnH,MAAM,WAAW,sBAAsB;IACnC,KAAK,CAAC,EAAE,SAAS,CAAC,IAAI,GAAG,SAAS,CAAC,OAAO,CAAC;IAC3C,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,wBAAwB,EAAE,QAsDtC,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,QA2BzC,CAAC;AACF,eAAO,MAAM,gCAAgC,EAAE,QA4B9C,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,QA2BhD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,cAAe,MAAM,EAAE,SAAS,SAAS,aA+BnF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clear-selection-all.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/clear-selection-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,QAAQ,EAAoD,MAAM,gBAAgB,CAAC;AAgB5G;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,QA8DtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clear-selection-content.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/clear-selection-content.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,QAAQ,EAAqC,MAAM,gBAAgB,CAAC;AAgB7F;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,QAgD1C,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ICellData, ICommand, IRange, ObjectMatrixPrimitiveType } from '@univerjs/core';
|
|
2
|
+
/**
|
|
3
|
+
* The command to clear content in current selected ranges.
|
|
4
|
+
*/
|
|
5
|
+
export declare const ClearSelectionFormatCommand: ICommand;
|
|
6
|
+
export declare function generateNullCellValue(ranges: IRange[]): ObjectMatrixPrimitiveType<ICellData>;
|
|
7
|
+
//# sourceMappingURL=clear-selection-format.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clear-selection-format.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/clear-selection-format.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAiB,MAAM,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAgB5G;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,QAgEzC,CAAC;AAGF,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,yBAAyB,CAAC,SAAS,CAAC,CAgB5F"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface ICopySheetToCommandParams {
|
|
3
|
+
workbookId?: string;
|
|
4
|
+
worksheetId?: string;
|
|
5
|
+
copyToWorkbookId?: string;
|
|
6
|
+
copyToSheetId?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const CopySheetToCommand: ICommand;
|
|
9
|
+
//# sourceMappingURL=copy-to-worksheet.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy-to-worksheet.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/copy-to-worksheet.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAU/C,MAAM,WAAW,yBAAyB;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,kBAAkB,EAAE,QAoDhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy-worksheet.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/commands/copy-worksheet.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAgB/C,MAAM,WAAW,uBAAuB;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,gBAAgB,EAAE,QAmE9B,CAAC"}
|