@univerjs-pro/collaboration 0.5.0-alpha.0 → 0.5.0-beta.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/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/types/command/create-unit.mutation.d.ts +8 -0
- package/lib/types/command/revert-revision.mutation.d.ts +6 -0
- package/lib/types/controllers/config.schema.d.ts +5 -0
- package/lib/types/controllers/doc-transform/algorithms/doc-algo.d.ts +4 -0
- package/lib/types/controllers/doc-transform/doc-transform.controller.d.ts +9 -0
- package/lib/types/controllers/rev/rev.controller.d.ts +8 -0
- package/lib/types/controllers/sheet-transform/algorithms/__tests__/transform-test-bed.d.ts +17 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-comment/__test__/add-comment.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-comment/__test__/util.d.ts +13 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-comment/add-comment.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-conditional-rule/__test__/add-conditional-rule.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-conditional-rule/add-conditional-formatting-rule.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/__test__/add-data-validation.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/__test__/update-data-validation.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/__test__/util.d.ts +13 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/add-data-validation.algo.d.ts +16 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/update-data-validation.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-hyper-link/add-hyper-link.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/add-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/add-conditional-rule.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/add-range-protection.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/add-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/add-worksheet-protection.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/delete-conditional-formatting-rule.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/insert-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/insert-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/move-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/move-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/move-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-data-validation-rule.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-sheet-filter.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-conditional-formatting-rule.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-frozen.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-range-protection.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-range-value.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-worksheet-col-width.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/update-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/update-data-validation-rule.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/add-worksheet-merge.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/insert-col.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/insert-row.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/move-col.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/move-row.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/remove-col.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/remove-row.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/remove-worksheet-merge.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/set-range-values.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/add-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-col.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-row.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-range-values.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-selection.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/utils/merge-tools.d.ts +2 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/add-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/add-conditional-rule.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/add-range-protection.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/add-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/add-worksheet-protection.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/change-sheet-order.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/delete-conditional-formatting-rule.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/insert-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/insert-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/move-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/move-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/move-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-data-validation-rule.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-sheet-filter.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-worksheet.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-conditional-formatting-rule.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-frozen.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-range-protection.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-range-value.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-worksheet-col-width.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-worksheet-name.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/update-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/update-data-validation-rule.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/delete-comment/add-comment.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/delete-comment/delete-comment.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/delete-conditional-formatting-rule/delete-conditional-formatting-rule.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/gridlines/__tests__/gridlines.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/gridlines/gridlines.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/__tests__/add-worksheet-merge.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/__tests__/insert-col.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/__tests__/move-col.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/__tests__/move-range.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/__tests__/remove-col.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/__tests__/remove-numfmt.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/__tests__/remove-worksheet-merge.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/__tests__/set-col-data.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/__tests__/set-col-hidden.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/__tests__/set-col-visible.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/__tests__/set-numfmt.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/__tests__/set-range-values.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/__tests__/set-sheets-filter-criteria.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/__tests__/set-sheets-filter-range.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/__tests__/set-worksheet-col-width.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-comment.algo.d.ts +18 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-data-validation.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/insert-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/move-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/move-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/reorder-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-data.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-hidden.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-visible.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-range-values.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-selection.algo.d.ts +7 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-sheets-filter-criteria.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-sheets-filter-range.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-worksheet-col-width.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/update-comment-ref.algo.d.ts +19 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/update-data-validation.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/add-worksheet-merge.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/insert-row.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/move-range.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/move-row.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/remove-numfmt.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/remove-row.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/remove-worksheet-merge.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/reorder-range.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-numfmt.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-range-values.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-row-data.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-row-hidden.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-row-visible.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-sheets-filter-range.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-worksheet-row-auto-height.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-worksheet-row-height.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-worksheet-row-is-auto-height.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-data-validation.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/insert-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/move-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/move-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/reorder-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-range-values.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-data.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-hidden.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-visible.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-selection.algo.d.ts +7 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-sheets-filter-range.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-worksheet-row-auto-height.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-worksheet-row-height.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-worksheet-row-is-auto-height.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/update-comment-ref.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/update-data-validation.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/add-worksheet-merge.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/move-col.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/move-range.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/remove-numfmt.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/remove-worksheet-merge.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-col-custom.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-col-hidden.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-col-visible.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-numfmt.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-range-values.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-sheets-filter-criteria.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-sheets-filter-range.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-worksheet-col-width.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/add-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/add-data-validation.algo.d.ts +6 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/add-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/move-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/move-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/remove-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/remove-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/reorder-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-data.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-hidden.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-visible.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-range-values.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-selection.algo.d.ts +7 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-sheets-filter-criteria.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-sheets-filter-range.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-worksheet-col-width.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/update-comment-ref.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/update-data-validation.algo.d.ts +9 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-conditional-formatting-rule/__test__/move-conditional-formatting-rule.algo.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-conditional-formatting-rule/move-conditional-formatting-rule.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-range/add-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-range/add-data-validation.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-range/add-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-range/move-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-range/remove-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-range/reorder-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-range/set-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-range/update-comment-ref.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/add-worksheet-merge.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/move-range.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/move-row.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/remove-numfmt.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/remove-worksheet-merge.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/reorder-range.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-numfmt.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-range-values.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-row-data.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-row-hidden.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-row-visible.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-sheets-filter-range.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-worksheet-row-auto-height.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-worksheet-row-height.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-worksheet-row-is-auto-height.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/add-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/add-data-validation.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/add-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/move-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/move-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/remove-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/remove-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/reorder-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-range-values.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-data.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-hidden.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-visible.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-selection.algo.d.ts +7 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-sheets-filter-range.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-worksheet-row-auto-height.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-worksheet-row-height.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-worksheet-row-is-auto-height.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/update-comment-ref.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/update-data-validation.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/move-col.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/move-range.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/remove-col.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/remove-numfmt.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/remove-worksheet-merge.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/set-col-data.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/set-col-hidden.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/set-col-visible.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/set-numfmt.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/set-range-values.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/set-sheets-filter-criteria.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/set-sheets-filter-range.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/set-worksheet-col-width.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-data-validation.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/move-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/move-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/reorder-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-data.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-hidden.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-visible.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-range-values.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-selection.algo.d.ts +7 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-sheets-filter-criteria.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-sheets-filter-range.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-worksheet-col-width.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/update-comment-ref.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/update-data-validation.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-data-validation/__test__/remove-data-validation.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-data-validation/remove-data-validation.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-hyper-link/remove-hyper-link.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-numfmt/remove-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-numfmt/set-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/move-range.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/move-row.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/remove-numfmt.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/remove-row.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/remove-worksheet-merge.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/reorder-range.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/set-numfmt.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/set-range-value.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/set-row-custom.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/set-row-hidden.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/set-row-visible.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/set-worksheet-row-auto-height.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/set-worksheet-row-height.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/set-worksheet-row-is-auto-height.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-data-validation.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/move-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/move-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/reorder-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-range-values.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-data.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-hidden.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-visible.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-selection.algo.d.ts +7 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-sheets-filter-range.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-worksheet-row-auto-height.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-worksheet-row-height.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-worksheet-row-is-auto-height.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/update-comment-ref.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/update-data-validation.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-sheets-filter/remove-sheets-filter.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-sheets-filter/set-sheets-filter-range.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/__tests__/add-worksheet-merge.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/__tests__/insert-col.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/__tests__/insert-row.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/add-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/insert-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/insert-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/move-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/move-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/remove-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/remove-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/set-selection.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/reorder-range/reorder-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/revert-revision/revert-revision.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-col-data/__tests__/set-col-data.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-col-data/set-col-data.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-conditional-formatting-rule/__test__/set-conditional-formatting-rule.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-conditional-formatting-rule/set-conditional-formatting-rule.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-drawing/__tests__/set-drawing-apply.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-drawing/set-drawing-apply.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-frozen/__test__/set-frozen.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-frozen/set-frozen.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/__test__/set-numfmt.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/remove-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/set-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/add-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/add-conditional-rule.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/add-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/add-worksheet-protection.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/delete-conditional-formatting-rule.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/insert-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/insert-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/move-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/move-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/move-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-col.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-data-validation-rule.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-row.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-sheet-filter.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-conditional-formatting-rule.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-frozen.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-numfmt.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-range-protection.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-range-value.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-worksheet-col-width.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/update-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/update-data-validation-rule.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-values/__test__/reorder-range.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-values/__test__/set-range-valuea.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-values/add-worksheet-merge.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-values/move-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-values/reorder-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-values/set-range-values.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-row-data/__tests__/set-row-data.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-row-data/set-row-data.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/move-range.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/remove-sheets-filter.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/set-range-values.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/set-sheets-filter-criteria.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-range/remove-sheets-filter.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-range/set-sheets-filter-range.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-tab-color/__test__/set-tab-color.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-tab-color/set-tab-color.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-col-width/__tests__/set-worksheet-col-width.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-col-width/set-worksheet-col-width.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-name/set-worksheet-name.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-row-auto-height/__tests__/set-worksheet-row-auto-height.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-row-auto-height/set-worksheet-row-auto-height.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-row-height/__tests__/set-worksheet-row-height.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-row-height/set-worksheet-row-height.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-row-is-auto-height/__tests__/set-worksheet-row-is-auto-height.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-row-is-auto-height/set-worksheet-row-is-auto-height.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/update-comment/update-comment.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/update-comment-ref/update-comment-ref.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/__test__/add-data-validation.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/__test__/remove-data-validation.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/__test__/update-data-validation.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/add-data-validation.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/remove-data-validation.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/update-data-validation.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/update-hyper-link/update-hyper-link.algo.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/update-hyper-link-ref/update-hyper-link-ref.d.ts +3 -0
- package/lib/types/controllers/sheet-transform/algorithms/utils.d.ts +33 -0
- package/lib/types/controllers/sheet-transform/algorithms/worksheet/__tests__/add-worksheet-merge.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/worksheet/__tests__/remove-worksheet-merge.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/worksheet/__tests__/worksheet.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/worksheet/add-worksheet-merge.algo.d.ts +2 -0
- package/lib/types/controllers/sheet-transform/algorithms/worksheet/remove-worksheet-merge.algo.d.ts +2 -0
- package/lib/types/controllers/sheet-transform/algorithms/worksheet/worksheet.algo.d.ts +8 -0
- package/lib/types/controllers/sheet-transform/sheet-transform.controller.d.ts +9 -0
- package/lib/types/index.d.ts +17 -716
- package/lib/types/models/changeset.d.ts +20 -0
- package/lib/types/models/collaboration-events.d.ts +235 -0
- package/lib/types/models/socket-events.d.ts +53 -0
- package/lib/types/plugin.d.ts +10 -0
- package/lib/types/services/compose-changesets/compose-changesets.service.d.ts +5 -0
- package/lib/types/services/compress-mutation/compress-mutation-service.d.ts +19 -0
- package/lib/types/services/compress-mutation/compress-mutations/__test__/set-range-values.spec.d.ts +1 -0
- package/lib/types/services/compress-mutation/compress-mutations/set-range-values.d.ts +13 -0
- package/lib/types/services/history/type.d.ts +6 -0
- package/lib/types/services/rev/__tests__/rev.service.spec.d.ts +18 -0
- package/lib/types/services/rev/rev.service.d.ts +23 -0
- package/lib/types/services/snapshot/__tests__/snapshot-mock.d.ts +27 -0
- package/lib/types/services/snapshot/__tests__/snapshot-transform.spec.d.ts +1 -0
- package/lib/types/services/snapshot/__tests__/snapshot.service.spec.d.ts +23 -0
- package/lib/types/services/snapshot/snapshot-transform.d.ts +30 -0
- package/lib/types/services/snapshot/snapshot-utils.d.ts +15 -0
- package/lib/types/services/snapshot/snapshot.service.d.ts +46 -0
- package/lib/types/services/transform/__tests__/doc.transform.service.spec.d.ts +1 -0
- package/lib/types/services/transform/__tests__/transform.service.spec.d.ts +1 -0
- package/lib/types/services/transform/transform.service.d.ts +114 -0
- package/lib/types/services/transform/types.d.ts +47 -0
- package/lib/types/utils.d.ts +8 -0
- package/lib/umd/index.js +1 -1
- package/package.json +21 -21
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ICommandInfo, IMutationInfo } from '@univerjs/core';
|
|
2
|
+
import { IChangeset as IProtocolChangeset, ICommand as IProtocolCommand, IMutation as IProtocolMutation, UniverType } from '@univerjs/protocol';
|
|
3
|
+
export interface IChangeset {
|
|
4
|
+
unitID: string;
|
|
5
|
+
type: UniverType;
|
|
6
|
+
baseRev: number;
|
|
7
|
+
revision: number;
|
|
8
|
+
userID: string;
|
|
9
|
+
mutations: IMutationInfo[];
|
|
10
|
+
memberID: string;
|
|
11
|
+
/** sid works with reqId, represent the id of a unit edit session */
|
|
12
|
+
sid?: string;
|
|
13
|
+
/** reqId works with sid, should be monotonically increasing and begin with 1 in the same edit session */
|
|
14
|
+
reqId?: number;
|
|
15
|
+
}
|
|
16
|
+
export declare function parseProtocolChangeset(protocolChangeset: IProtocolChangeset): IChangeset;
|
|
17
|
+
export declare function parseProtocolCommand(protocolCommands: IProtocolCommand[]): ICommandInfo[];
|
|
18
|
+
export declare function parseChangesetToProtocol(changeset: IChangeset): IProtocolChangeset;
|
|
19
|
+
export declare function parseProtocolMutation(mutation: IProtocolMutation): IMutationInfo;
|
|
20
|
+
export declare function parseMutationToProtocol(mutation: IMutationInfo): IProtocolMutation;
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
import { ICollaMsgErrorEvent, ICollaMsgJoin, ICollaMsgLeave, ICommentUpdate, ILiveShareNewHost, ILiveShareOperation, ILiveShareRequestHost, ILiveShareTerminate, IChangeset as IProtocolChangeset, IShouldCloseConn, IUpdateCursor, IUpdatePermissionObj, UniverType } from '@univerjs/protocol';
|
|
2
|
+
import { IChangeset } from './changeset';
|
|
3
|
+
/**
|
|
4
|
+
* Types of all possible collaboration events.
|
|
5
|
+
*
|
|
6
|
+
* CollaborationEvents is a subset of `CombEvent.RECV`.
|
|
7
|
+
*/
|
|
8
|
+
export declare enum CollaborationEvent {
|
|
9
|
+
/**
|
|
10
|
+
* When the collaboration session is created, the client may send this event to the server.
|
|
11
|
+
* In the payload, the client will tell the server the its local revision. The server
|
|
12
|
+
* could emit missing changesets to the client using event `NEW_CHANGESETS`.
|
|
13
|
+
*/
|
|
14
|
+
FETCH_MISSING = "fetch_missing",
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
PSEUDO_FETCH_MISSING_RESULT = "pseudo_fetch_missing_result",
|
|
19
|
+
/**
|
|
20
|
+
* The client submit a changeset to the server.
|
|
21
|
+
*/
|
|
22
|
+
SUBMIT_CHANGESET = "submit_changeset",
|
|
23
|
+
/**
|
|
24
|
+
* The submitted changeset is acknowledged by the server.
|
|
25
|
+
*/
|
|
26
|
+
CHANGESET_ACK = "changeset_ack",
|
|
27
|
+
/**
|
|
28
|
+
* The submitted changeset could not be transformed by the server, so
|
|
29
|
+
* the changeset should be rejected.
|
|
30
|
+
*/
|
|
31
|
+
CHANGESET_REJ = "changeset_rej",
|
|
32
|
+
/**
|
|
33
|
+
* The submitted changeset could not be acknowledged by unexpected server error, so
|
|
34
|
+
* the changeset should be resent.
|
|
35
|
+
*/
|
|
36
|
+
CHANGESET_SHOULD_RETRY = "changeset_should_retry",
|
|
37
|
+
/**
|
|
38
|
+
* When a changeset sent by the client is acknowledged by the server,
|
|
39
|
+
* the server should broadcast this changeset to other clients.
|
|
40
|
+
*
|
|
41
|
+
* Note that this event would not be sent via the websocket but http.
|
|
42
|
+
*/
|
|
43
|
+
NEW_CHANGESETS = "new_changesets",
|
|
44
|
+
/**
|
|
45
|
+
* When a client updates its cursor position, it would send this event to
|
|
46
|
+
* the server. The server would also broadcast this event to other peer
|
|
47
|
+
* clients.
|
|
48
|
+
*/
|
|
49
|
+
UPDATE_CURSOR = "update_cursor",
|
|
50
|
+
/**
|
|
51
|
+
* When a client connect the collaboration session, the server should
|
|
52
|
+
* broadcast this event to all other clients.
|
|
53
|
+
*/
|
|
54
|
+
USERS_ENTER = "users_enter",
|
|
55
|
+
/**
|
|
56
|
+
* When a client disconnect the collaboration session, the server should
|
|
57
|
+
* broadcast this event to all other clients.
|
|
58
|
+
*/
|
|
59
|
+
USERS_LEAVE = "users_leave",
|
|
60
|
+
/**
|
|
61
|
+
* The collaboration unit is deleted on the server.
|
|
62
|
+
*/
|
|
63
|
+
UNIT_DELETE = "unit_delete",
|
|
64
|
+
/**
|
|
65
|
+
* This client requests itself to be the live share host. Sent by clients.
|
|
66
|
+
*/
|
|
67
|
+
LIVESHARE_REQUEST_HOST = "liveshare.request_host",
|
|
68
|
+
/**
|
|
69
|
+
* New host is elected. Sent by the server.
|
|
70
|
+
*/
|
|
71
|
+
LIVESHARE_NEW_HOST = "liveshare.new_host",
|
|
72
|
+
/**
|
|
73
|
+
* A operation sent from the live share host. Sent by the host client and
|
|
74
|
+
* broadcasted by the server. For each `operation.id`, the server should
|
|
75
|
+
* cache let latest value for followers who come into the live share room
|
|
76
|
+
* later.
|
|
77
|
+
*/
|
|
78
|
+
LIVESHARE_OPERATION = "liveshare.operation",
|
|
79
|
+
/**
|
|
80
|
+
* Fetch all operations from the live share host. for some scenarios:
|
|
81
|
+
* 1. when a client comes into the live share room, it should fetch all
|
|
82
|
+
* 2. when a client miss some operations, it should fetch all
|
|
83
|
+
*/
|
|
84
|
+
LIVESHARE_FETCH_OPERATIONS = "liveshare.fetch_operations",
|
|
85
|
+
/**
|
|
86
|
+
* Send by the presenter to terminate live share. Should be broadcasted to
|
|
87
|
+
* all followers.
|
|
88
|
+
*/
|
|
89
|
+
LIVESHARE_TERMINATE = "liveshare.terminate",
|
|
90
|
+
/**
|
|
91
|
+
* This type will be returned if an error is reported.
|
|
92
|
+
*/
|
|
93
|
+
MSG_FOR_ERROR = "error_msg",
|
|
94
|
+
PERMISSION_REJ = "permission_rej",
|
|
95
|
+
COMMENT_UPDATE = "comment_update",
|
|
96
|
+
UPDATE_PERMISSION_OBJ = "update_permission_obj",
|
|
97
|
+
SHOULD_CLOSE_CONN = "should_close_conn"
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Awaiting mutations were acknowledged by the server.
|
|
101
|
+
*/
|
|
102
|
+
export interface IAcknowledgedChangeset {
|
|
103
|
+
/** The rev of the document when this changeset is assembled. */
|
|
104
|
+
baseRev: number;
|
|
105
|
+
/** The rev version given by the server. */
|
|
106
|
+
revision: number;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Awaiting mutations were rejected by the server.
|
|
110
|
+
*/
|
|
111
|
+
export interface IRejectedChangeset {
|
|
112
|
+
baseRev: number;
|
|
113
|
+
revision: number;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* When the collaboration session is created, it should send a handshake event to the server.
|
|
117
|
+
*/
|
|
118
|
+
export interface IFetchingMissEvent {
|
|
119
|
+
eventID: CollaborationEvent.FETCH_MISSING;
|
|
120
|
+
data: {
|
|
121
|
+
unitID: string;
|
|
122
|
+
unitType: UniverType;
|
|
123
|
+
from: number;
|
|
124
|
+
to: number;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
export interface IPseudoFetchMissingResultEvent {
|
|
128
|
+
eventID: CollaborationEvent.PSEUDO_FETCH_MISSING_RESULT;
|
|
129
|
+
data: {
|
|
130
|
+
changesets: IProtocolChangeset[];
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
/** Receives a changeset from collaboration server. */
|
|
134
|
+
export interface INewChangesetsEvent {
|
|
135
|
+
eventID: CollaborationEvent.NEW_CHANGESETS;
|
|
136
|
+
data: IProtocolChangeset;
|
|
137
|
+
}
|
|
138
|
+
/** Send a changeset to the collaboration sever. */
|
|
139
|
+
export interface ISubmitChangesetEvent {
|
|
140
|
+
eventID: CollaborationEvent.SUBMIT_CHANGESET;
|
|
141
|
+
data: {
|
|
142
|
+
unitID: string;
|
|
143
|
+
unitType: UniverType;
|
|
144
|
+
memberID: string;
|
|
145
|
+
changeset: IChangeset;
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
export interface IAcknowledgementEvent {
|
|
149
|
+
eventID: CollaborationEvent.CHANGESET_ACK;
|
|
150
|
+
data: IProtocolChangeset;
|
|
151
|
+
}
|
|
152
|
+
export interface IRejectionEvent {
|
|
153
|
+
eventID: CollaborationEvent.CHANGESET_REJ;
|
|
154
|
+
data: {
|
|
155
|
+
unitID: string;
|
|
156
|
+
changeset: IRejectedChangeset;
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
export interface IRetryEvent {
|
|
160
|
+
eventID: CollaborationEvent.CHANGESET_SHOULD_RETRY;
|
|
161
|
+
data: IChangeset;
|
|
162
|
+
}
|
|
163
|
+
export interface ICollaborationUser {
|
|
164
|
+
userID: string;
|
|
165
|
+
memberID: string;
|
|
166
|
+
name: string;
|
|
167
|
+
}
|
|
168
|
+
export interface IUserSelectionEvent {
|
|
169
|
+
eventID: CollaborationEvent.UPDATE_CURSOR;
|
|
170
|
+
data: {
|
|
171
|
+
/** The selection is serialized. */
|
|
172
|
+
selection: string;
|
|
173
|
+
userID: string;
|
|
174
|
+
memberID: string;
|
|
175
|
+
unitID: string;
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
export interface IUpdateCursorEvent {
|
|
179
|
+
eventID: CollaborationEvent.UPDATE_CURSOR;
|
|
180
|
+
data: IUpdateCursor;
|
|
181
|
+
}
|
|
182
|
+
export interface IUserJoinEvent {
|
|
183
|
+
eventID: CollaborationEvent.USERS_ENTER;
|
|
184
|
+
data: ICollaMsgJoin;
|
|
185
|
+
}
|
|
186
|
+
export interface IUserLeaveEvent {
|
|
187
|
+
eventID: CollaborationEvent.USERS_LEAVE;
|
|
188
|
+
data: ICollaMsgLeave;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* The special type for other features to reuse collaboration session.
|
|
192
|
+
*/
|
|
193
|
+
export interface ICustomEvent {
|
|
194
|
+
eventID: string;
|
|
195
|
+
data: any;
|
|
196
|
+
}
|
|
197
|
+
export interface IRequestHostEvent {
|
|
198
|
+
eventID: CollaborationEvent.LIVESHARE_REQUEST_HOST;
|
|
199
|
+
data: ILiveShareRequestHost;
|
|
200
|
+
}
|
|
201
|
+
export interface IFetchOperationsEvent {
|
|
202
|
+
eventID: CollaborationEvent.LIVESHARE_FETCH_OPERATIONS;
|
|
203
|
+
}
|
|
204
|
+
export interface ITerminateEvent {
|
|
205
|
+
eventID: CollaborationEvent.LIVESHARE_TERMINATE;
|
|
206
|
+
data: ILiveShareTerminate;
|
|
207
|
+
}
|
|
208
|
+
export interface INewHostEvent {
|
|
209
|
+
eventID: CollaborationEvent.LIVESHARE_NEW_HOST;
|
|
210
|
+
data: ILiveShareNewHost;
|
|
211
|
+
}
|
|
212
|
+
export interface IOperationEvent {
|
|
213
|
+
eventID: CollaborationEvent.LIVESHARE_OPERATION;
|
|
214
|
+
data: ILiveShareOperation;
|
|
215
|
+
}
|
|
216
|
+
export interface IMsgErrEvent {
|
|
217
|
+
eventID: CollaborationEvent.MSG_FOR_ERROR;
|
|
218
|
+
data: ICollaMsgErrorEvent;
|
|
219
|
+
}
|
|
220
|
+
export interface ICommentUpdateEvent {
|
|
221
|
+
eventID: CollaborationEvent.COMMENT_UPDATE;
|
|
222
|
+
data: ICommentUpdate;
|
|
223
|
+
}
|
|
224
|
+
export interface IPermissionUpdateEvent {
|
|
225
|
+
eventID: CollaborationEvent.UPDATE_PERMISSION_OBJ;
|
|
226
|
+
data: IUpdatePermissionObj;
|
|
227
|
+
}
|
|
228
|
+
export interface IShouldCloseConnEvent {
|
|
229
|
+
eventID: CollaborationEvent.SHOULD_CLOSE_CONN;
|
|
230
|
+
data: IShouldCloseConn;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* A union type of all possible collaboration events.
|
|
234
|
+
*/
|
|
235
|
+
export type ICollaborationEvent = IAcknowledgementEvent | INewChangesetsEvent | IRejectionEvent | ISubmitChangesetEvent | IPseudoFetchMissingResultEvent | IUserSelectionEvent | IFetchingMissEvent | IUpdateCursorEvent | IUserJoinEvent | IUserLeaveEvent | ICustomEvent | IRequestHostEvent | IFetchOperationsEvent | ITerminateEvent | INewHostEvent | IOperationEvent | IMsgErrEvent | ICommentUpdateEvent | IPermissionUpdateEvent | IShouldCloseConnEvent;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { CmdRspCode, CombCmd, ICombJoinRequest, ICombJoinResponse, ICombLeaveRequest } from '@univerjs/protocol';
|
|
2
|
+
import { ICollaborationEvent } from './collaboration-events';
|
|
3
|
+
interface ICombCmdRequest {
|
|
4
|
+
cmd: CombCmd;
|
|
5
|
+
routeKey: string;
|
|
6
|
+
routeType: string;
|
|
7
|
+
data?: unknown;
|
|
8
|
+
}
|
|
9
|
+
export interface IHelloRequestEvent extends ICombCmdRequest {
|
|
10
|
+
cmd: CombCmd.HELLO;
|
|
11
|
+
}
|
|
12
|
+
export interface IJoinRequestEvent extends ICombCmdRequest {
|
|
13
|
+
cmd: CombCmd.JOIN;
|
|
14
|
+
data: ICombJoinRequest;
|
|
15
|
+
}
|
|
16
|
+
export interface ILeaveRequestEvent extends ICombCmdRequest {
|
|
17
|
+
cmd: CombCmd.LEAVE;
|
|
18
|
+
data: ICombLeaveRequest;
|
|
19
|
+
}
|
|
20
|
+
export interface IIngestQuestEvent extends ICombCmdRequest {
|
|
21
|
+
cmd: CombCmd.INGEST;
|
|
22
|
+
data: ICollaborationEvent;
|
|
23
|
+
}
|
|
24
|
+
export interface IHeartbeatRequestEvent extends ICombCmdRequest {
|
|
25
|
+
cmd: CombCmd.HEARTBEAT;
|
|
26
|
+
}
|
|
27
|
+
export type ICombRequestEvent = IHelloRequestEvent | IJoinRequestEvent | ILeaveRequestEvent | IIngestQuestEvent | IHeartbeatRequestEvent;
|
|
28
|
+
interface ICombCmdResponse {
|
|
29
|
+
cmd: CombCmd;
|
|
30
|
+
code: CmdRspCode;
|
|
31
|
+
routeKey: string;
|
|
32
|
+
data?: unknown;
|
|
33
|
+
}
|
|
34
|
+
export interface IHelloResponseEvent extends ICombCmdResponse {
|
|
35
|
+
cmd: CombCmd.HELLO;
|
|
36
|
+
/** The client will not send `data` but the server would respond with `data`. */
|
|
37
|
+
data: {
|
|
38
|
+
memberID: string;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export interface IJoinResponseEvent extends ICombCmdResponse {
|
|
42
|
+
cmd: CombCmd.JOIN;
|
|
43
|
+
data: ICombJoinResponse;
|
|
44
|
+
}
|
|
45
|
+
export interface IRecvResponseEvent extends ICombCmdResponse {
|
|
46
|
+
cmd: CombCmd.RECV;
|
|
47
|
+
data: ICollaborationEvent;
|
|
48
|
+
}
|
|
49
|
+
export interface IHeartbeatResponseEvent extends ICombCmdResponse {
|
|
50
|
+
cmd: CombCmd.HEARTBEAT;
|
|
51
|
+
}
|
|
52
|
+
export type ICombResponseEvent = IHelloResponseEvent | IJoinResponseEvent | IRecvResponseEvent | IHeartbeatResponseEvent;
|
|
53
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IUniverCollaborationConfig } from './controllers/config.schema';
|
|
2
|
+
import { IConfigService, Injector, Plugin } from '@univerjs/core';
|
|
3
|
+
export declare class UniverCollaborationPlugin extends Plugin {
|
|
4
|
+
private readonly _config;
|
|
5
|
+
protected _injector: Injector;
|
|
6
|
+
private readonly _configService;
|
|
7
|
+
static pluginName: string;
|
|
8
|
+
constructor(_config: IUniverCollaborationConfig | undefined, _injector: Injector, _configService: IConfigService);
|
|
9
|
+
onStarting(): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { InterceptorManager } from '@univerjs/core';
|
|
2
|
+
/**
|
|
3
|
+
* During transmission, compression is performed for a specific operation,referencing during transport.
|
|
4
|
+
* Before send -> compress -> transmission -> ... -> node apply -> decompression -> apply.
|
|
5
|
+
* Before send -> compress -> transmission -> ... -> node transform -> decompression -> apply.
|
|
6
|
+
* Before send -> compress -> transmission -> ... -> take from server -> decompression -> apply.
|
|
7
|
+
* Before send -> compress -> save to local -> ... -> take from local -> decompression -> apply.
|
|
8
|
+
* @export
|
|
9
|
+
* @class CompressMutationService
|
|
10
|
+
*/
|
|
11
|
+
export declare class CompressMutationService {
|
|
12
|
+
interceptor: InterceptorManager<{
|
|
13
|
+
COMPRESS_MUTATION_APPLY: import('@univerjs/core').IInterceptor<import('@univerjs/core').IMutationInfo<object>[], null>;
|
|
14
|
+
COMPRESS_MUTATION_SEND: import('@univerjs/core').IInterceptor<import('@univerjs/core').IMutationInfo<object>[], null>;
|
|
15
|
+
}>;
|
|
16
|
+
constructor();
|
|
17
|
+
private _init;
|
|
18
|
+
private _initSetRangeValues;
|
|
19
|
+
}
|
package/lib/types/services/compress-mutation/compress-mutations/__test__/set-range-values.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ICellData, IObjectMatrixPrimitiveType, Nullable } from '@univerjs/core';
|
|
2
|
+
export declare const transformRefStyleFromCells: (matrix?: IObjectMatrixPrimitiveType<Nullable<ICellData>>) => {
|
|
3
|
+
cellValue: undefined;
|
|
4
|
+
styleRefMap: undefined;
|
|
5
|
+
} | {
|
|
6
|
+
cellValue: IObjectMatrixPrimitiveType<Nullable<ICellData>>;
|
|
7
|
+
styleRefMap: {
|
|
8
|
+
[id: string]: Nullable<string | import('@univerjs/core').IStyleData>;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const transformCellsFromRefStyle: (matrix?: IObjectMatrixPrimitiveType<Nullable<ICellData>>, styleRefMap?: {
|
|
12
|
+
[id: string]: ICellData["s"];
|
|
13
|
+
}) => IObjectMatrixPrimitiveType<Nullable<ICellData>> | undefined;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ICreateHistoryRequest, ICreateHistoryResponse } from '@univerjs/protocol';
|
|
2
|
+
import { ILogContext } from '../../utils';
|
|
3
|
+
export interface IHistoryIoService {
|
|
4
|
+
createHistory(config: ICreateHistoryRequest, context?: ILogContext): Promise<ICreateHistoryResponse>;
|
|
5
|
+
}
|
|
6
|
+
export declare const IHistoryIoService: import('@wendellhu/redi').IdentifierDecorator<IHistoryIoService>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Dependency, IWorkbookData, PluginCtor, Workbook, Injector, Plugin, Univer } from '@univerjs/core';
|
|
2
|
+
export interface ITestBed {
|
|
3
|
+
univer: Univer;
|
|
4
|
+
get: Injector['get'];
|
|
5
|
+
sheet: Workbook;
|
|
6
|
+
}
|
|
7
|
+
export declare function createCollaborationTestBed(workbookData?: IWorkbookData, dependencies?: Dependency[], plugins?: Array<PluginCtor<Plugin>>): {
|
|
8
|
+
univer: Univer;
|
|
9
|
+
get: {
|
|
10
|
+
<T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp): T;
|
|
11
|
+
<T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp): T[];
|
|
12
|
+
<T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp): T | null;
|
|
13
|
+
<T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp): T;
|
|
14
|
+
<T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity?: import('@wendellhu/redi').Quantity, lookUp?: import('@wendellhu/redi').LookUp): T[] | T | null;
|
|
15
|
+
<T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantityOrLookup?: import('@wendellhu/redi').Quantity | import('@wendellhu/redi').LookUp, lookUp?: import('@wendellhu/redi').LookUp): T[] | T | null;
|
|
16
|
+
};
|
|
17
|
+
sheet: Workbook;
|
|
18
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
/** Some special mutations. It a changeset contains the following mutations it should create a snapshot immediately. */
|
|
3
|
+
export declare const SINGLE_SNAPSHOT_MUTATIONS: Set<string>;
|
|
4
|
+
export declare const SINGLE_HISTORY_MUTATIONS: Set<string>;
|
|
5
|
+
/**
|
|
6
|
+
* This service provide util functions to get revision number of a document or increment the revision number.
|
|
7
|
+
*/
|
|
8
|
+
export declare class RevisionService {
|
|
9
|
+
private readonly _univerInstanceService;
|
|
10
|
+
constructor(_univerInstanceService: IUniverInstanceService);
|
|
11
|
+
/**
|
|
12
|
+
* Get the current revision of a document.
|
|
13
|
+
* @param unitId
|
|
14
|
+
*/
|
|
15
|
+
getCurrentRevOfUnit(unitId: string): number;
|
|
16
|
+
/**
|
|
17
|
+
* Increment the revision number of a document.
|
|
18
|
+
* @param unitId
|
|
19
|
+
* @returns The revision number after increment.
|
|
20
|
+
*/
|
|
21
|
+
incrementRevOfUnit(unitId: string): number;
|
|
22
|
+
setRevOfUnit(unitId: string, rev: number): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IWorkbookData } from '@univerjs/core';
|
|
2
|
+
import { ICopyFileMetaRequest, ICopyFileMetaResponse, IDeserializedSheetBlock, IFetchMissingChangesetsRequest, IFetchMissingChangesetsResponse, IGetDeserializedSheetBlockResponse, IGetLatestCsReqIdBySidRequest, IGetLatestCsReqIdBySidResponse, IGetResourcesRequest, IGetResourcesResponse, IGetSheetBlockRequest, IGetSheetBlockResponse, IGetUnitOnRevRequest, IGetUnitOnRevResponse, ISaveChangesetRequest, ISaveChangesetResponse, ISaveSheetBlockRequest, ISaveSheetBlockResponse, ISaveSnapshotRequest, ISaveSnapshotResponse, ISheetBlock, ISnapshot } from '@univerjs/protocol';
|
|
3
|
+
import { ILogContext } from '../../../utils';
|
|
4
|
+
import { ISnapshotServerService } from '../snapshot.service';
|
|
5
|
+
export declare const testSnapshot: () => ISnapshot;
|
|
6
|
+
export declare const testDeserializedSheetBlocks: () => IDeserializedSheetBlock[];
|
|
7
|
+
export declare const testSheetBlocks: () => ISheetBlock[];
|
|
8
|
+
export declare const testWorkbookData: () => IWorkbookData;
|
|
9
|
+
export declare class MockSnapshotServerService implements ISnapshotServerService {
|
|
10
|
+
/** Load snapshot from a database. */
|
|
11
|
+
getUnitOnRev(context: ILogContext, params: IGetUnitOnRevRequest): Promise<IGetUnitOnRevResponse>;
|
|
12
|
+
/** Load sheet block from a database. */
|
|
13
|
+
getSheetBlock(context: ILogContext, params: IGetSheetBlockRequest): Promise<IGetSheetBlockResponse>;
|
|
14
|
+
/** Load deserialized sheet block from a database. */
|
|
15
|
+
getDeserializedSheetBlock(context: ILogContext, params: IGetSheetBlockRequest): Promise<IGetDeserializedSheetBlockResponse>;
|
|
16
|
+
/** Fetch missing changeset */
|
|
17
|
+
fetchMissingChangesets(context: ILogContext, params: IFetchMissingChangesetsRequest): Promise<IFetchMissingChangesetsResponse>;
|
|
18
|
+
getResourcesRequest(context: ILogContext, params: IGetResourcesRequest): Promise<IGetResourcesResponse>;
|
|
19
|
+
/** Save snapshot to a database. */
|
|
20
|
+
saveSnapshot(context: ILogContext, params: ISaveSnapshotRequest): Promise<ISaveSnapshotResponse>;
|
|
21
|
+
/** Save sheet block to a database. */
|
|
22
|
+
saveSheetBlock(context: ILogContext, params: ISaveSheetBlockRequest): Promise<ISaveSheetBlockResponse>;
|
|
23
|
+
/** Save changeset to a database. */
|
|
24
|
+
saveChangeset(context: ILogContext, params: ISaveChangesetRequest): Promise<ISaveChangesetResponse>;
|
|
25
|
+
copyFileMeta(context: ILogContext, params: ICopyFileMetaRequest): Promise<ICopyFileMetaResponse>;
|
|
26
|
+
getLatestCsReqIdBySid(context: ILogContext, params: IGetLatestCsReqIdBySidRequest): Promise<IGetLatestCsReqIdBySidResponse>;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IRender, IRenderManagerService } from '@univerjs/engine-render';
|
|
2
|
+
import { ICopyFileMetaRequest, ICopyFileMetaResponse, IFetchMissingChangesetsResponse, IGetDeserializedSheetBlockResponse, IGetLatestCsReqIdBySidResponse, IGetResourcesResponse, IGetSheetBlockRequest, IGetSheetBlockResponse, IGetUnitOnRevRequest, IGetUnitOnRevResponse, ISaveChangesetResponse, ISaveSheetBlockResponse, ISaveSnapshotResponse } from '@univerjs/protocol';
|
|
3
|
+
import { Nullable } from 'vitest';
|
|
4
|
+
import { ILogContext } from '../../../utils';
|
|
5
|
+
import { Injector } from '@univerjs/core';
|
|
6
|
+
import { ISnapshotServerService } from '../snapshot.service';
|
|
7
|
+
export declare class MockRenderManagerService implements Pick<IRenderManagerService, 'getRenderById'> {
|
|
8
|
+
private readonly _injector;
|
|
9
|
+
constructor(_injector: Injector);
|
|
10
|
+
getRenderById(_unitId: string): Nullable<IRender>;
|
|
11
|
+
}
|
|
12
|
+
export declare class MockSnapshotServerService implements ISnapshotServerService {
|
|
13
|
+
getUnitOnRev(_context: ILogContext, params: IGetUnitOnRevRequest): Promise<IGetUnitOnRevResponse>;
|
|
14
|
+
getSheetBlock(_context: ILogContext, params: IGetSheetBlockRequest): Promise<IGetSheetBlockResponse>;
|
|
15
|
+
getDeserializedSheetBlock(_context: ILogContext, params: IGetSheetBlockRequest): Promise<IGetDeserializedSheetBlockResponse>;
|
|
16
|
+
fetchMissingChangesets(): Promise<IFetchMissingChangesetsResponse>;
|
|
17
|
+
getResourcesRequest(): Promise<IGetResourcesResponse>;
|
|
18
|
+
saveSnapshot(): Promise<ISaveSnapshotResponse>;
|
|
19
|
+
saveSheetBlock(): Promise<ISaveSheetBlockResponse>;
|
|
20
|
+
saveChangeset(): Promise<ISaveChangesetResponse>;
|
|
21
|
+
copyFileMeta(context: ILogContext, params: ICopyFileMetaRequest): Promise<ICopyFileMetaResponse>;
|
|
22
|
+
getLatestCsReqIdBySid(): Promise<IGetLatestCsReqIdBySidResponse>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IDocumentData, IWorkbookData } from '@univerjs/core';
|
|
2
|
+
import { IDeserializedSheetBlock, ISheetBlock, ISnapshot } from '@univerjs/protocol';
|
|
3
|
+
import { ILogContext } from '../../utils';
|
|
4
|
+
import { ISnapshotServerService } from './snapshot.service';
|
|
5
|
+
export declare function generateTempDocumentSnapshot(_context: ILogContext, document: IDocumentData, unitID: string, rev: number): Promise<{
|
|
6
|
+
snapshot: ISnapshot;
|
|
7
|
+
}>;
|
|
8
|
+
export declare function generateTemporarySnap(context: ILogContext, workbook: IWorkbookData, unitID: string, rev: number, snapshotService: ISnapshotServerService): Promise<{
|
|
9
|
+
snapshot: ISnapshot;
|
|
10
|
+
}>;
|
|
11
|
+
export declare function transformWorkbookDataToSnapshot(context: ILogContext, workbook: IWorkbookData, unitID: string, rev: number, snapshotService: ISnapshotServerService): Promise<{
|
|
12
|
+
snapshot: ISnapshot;
|
|
13
|
+
}>;
|
|
14
|
+
/**
|
|
15
|
+
* Assemble a snapshot to a workbook.
|
|
16
|
+
* @param snapshot
|
|
17
|
+
* @param sheetBlocks
|
|
18
|
+
*/
|
|
19
|
+
export declare function transformSnapshotToWorkbookData(snapshot: ISnapshot, sheetBlocks: (IDeserializedSheetBlock | ISheetBlock)[], _context?: ILogContext): IWorkbookData;
|
|
20
|
+
export declare function transformSnapshotToDocumentData(snapshot: ISnapshot): IDocumentData;
|
|
21
|
+
export declare function transformDocumentDataToSnapshot(context: ILogContext, document: IDocumentData, unitID: string, rev: number, snapshotService: ISnapshotServerService): Promise<{
|
|
22
|
+
snapshot: ISnapshot;
|
|
23
|
+
}>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param snapshot
|
|
27
|
+
* @param snapshotService
|
|
28
|
+
* @returns
|
|
29
|
+
*/
|
|
30
|
+
export declare function getSheetBlocksFromSnapshot(snapshot: ISnapshot, snapshotService: ISnapshotServerService): Promise<ISheetBlock[]>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ICellData, IDocumentData, IObjectMatrixPrimitiveType, IWorkbookData, IWorksheetData } from '@univerjs/core';
|
|
2
|
+
import { ISheetBlock } from '@univerjs/protocol';
|
|
3
|
+
export declare const textEncoder: TextEncoder;
|
|
4
|
+
export declare const textDecoder: TextDecoder;
|
|
5
|
+
/**
|
|
6
|
+
* @param worksheet
|
|
7
|
+
*/
|
|
8
|
+
export declare function encodeWorksheetOtherMetas(worksheet: Partial<IWorksheetData>): Uint8Array;
|
|
9
|
+
export declare function encodeWorkbookOtherMetas(workbook: IWorkbookData): Uint8Array;
|
|
10
|
+
export declare function encodeDocOriginalMeta(document: IDocumentData): Uint8Array;
|
|
11
|
+
export declare function decodeWorksheetOtherMetas(buffer: Uint8Array | string): Partial<IWorksheetData>;
|
|
12
|
+
export declare function decodeWorkbookOtherMetas(buffer: Uint8Array | string): Partial<IWorkbookData>;
|
|
13
|
+
export declare function decodePartOfCellData(buffer: Uint8Array | object): IObjectMatrixPrimitiveType<ICellData>;
|
|
14
|
+
export declare function decodeDocOriginalMeta(buffer: Uint8Array | string): Partial<IDocumentData>;
|
|
15
|
+
export declare function splitCellDataToBlocks(cellData: IObjectMatrixPrimitiveType<ICellData>, maxColumn: number): ISheetBlock[];
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { DocumentDataModel, IDocumentData, IWorkbookData, Workbook, ICommandService, Injector, IResourceManagerService, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { ICopyFileMetaRequest, ICopyFileMetaResponse, IFetchMissingChangesetsRequest, IFetchMissingChangesetsResponse, IGetDeserializedSheetBlockResponse, IGetLatestCsReqIdBySidRequest, IGetLatestCsReqIdBySidResponse, IGetResourcesRequest, IGetResourcesResponse, IGetSheetBlockRequest, IGetSheetBlockResponse, IGetUnitOnRevRequest, IGetUnitOnRevResponse, ISaveChangesetRequest, ISaveChangesetResponse, ISaveSheetBlockRequest, ISaveSheetBlockResponse, ISaveSnapshotRequest, ISaveSnapshotResponse } from '@univerjs/protocol';
|
|
3
|
+
import { ILogContext } from '../../utils';
|
|
4
|
+
import { CompressMutationService } from '../compress-mutation/compress-mutation-service';
|
|
5
|
+
import { RevisionService } from '../rev/rev.service';
|
|
6
|
+
/**
|
|
7
|
+
* It provides implementations for server side controllers to load or save
|
|
8
|
+
* or load snapshots. This service should be implemented by the host environment.
|
|
9
|
+
* And it shouldn't contain any business logic.
|
|
10
|
+
*/
|
|
11
|
+
export declare const ISnapshotServerService: import('@wendellhu/redi').IdentifierDecorator<ISnapshotServerService>;
|
|
12
|
+
export interface ISnapshotServerService {
|
|
13
|
+
/** Load snapshot from a database. */
|
|
14
|
+
getUnitOnRev: (context: ILogContext, params: IGetUnitOnRevRequest) => Promise<IGetUnitOnRevResponse>;
|
|
15
|
+
/** Load sheet block from a database. */
|
|
16
|
+
getSheetBlock: (context: ILogContext, params: IGetSheetBlockRequest) => Promise<IGetSheetBlockResponse>;
|
|
17
|
+
getDeserializedSheetBlock: (context: ILogContext, params: IGetSheetBlockRequest) => Promise<IGetDeserializedSheetBlockResponse>;
|
|
18
|
+
/** Fetch missing changeset */
|
|
19
|
+
fetchMissingChangesets: (context: ILogContext, params: IFetchMissingChangesetsRequest) => Promise<IFetchMissingChangesetsResponse>;
|
|
20
|
+
getResourcesRequest: (context: ILogContext, params: IGetResourcesRequest) => Promise<IGetResourcesResponse>;
|
|
21
|
+
/** Save snapshot to a database. */
|
|
22
|
+
saveSnapshot: (context: ILogContext, params: ISaveSnapshotRequest) => Promise<ISaveSnapshotResponse>;
|
|
23
|
+
/** Save sheet block to a database. */
|
|
24
|
+
saveSheetBlock: (context: ILogContext, params: ISaveSheetBlockRequest) => Promise<ISaveSheetBlockResponse>;
|
|
25
|
+
/** Save changeset to a database. */
|
|
26
|
+
saveChangeset: (context: ILogContext, params: ISaveChangesetRequest) => Promise<ISaveChangesetResponse>;
|
|
27
|
+
copyFileMeta: (context: ILogContext, params: ICopyFileMetaRequest) => Promise<ICopyFileMetaResponse>;
|
|
28
|
+
getLatestCsReqIdBySid: (context: ILogContext, params: IGetLatestCsReqIdBySidRequest) => Promise<IGetLatestCsReqIdBySidResponse>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The service provides methods to load snapshots from the snapshot server.
|
|
32
|
+
*/
|
|
33
|
+
export declare class SnapshotService {
|
|
34
|
+
private readonly _revisionService;
|
|
35
|
+
private readonly _univerInstanceService;
|
|
36
|
+
private readonly _snapshotServerService;
|
|
37
|
+
private readonly _commandService;
|
|
38
|
+
private _injector;
|
|
39
|
+
private _compressMutationService;
|
|
40
|
+
private _resourceManagerService;
|
|
41
|
+
constructor(_revisionService: RevisionService, _univerInstanceService: IUniverInstanceService, _snapshotServerService: ISnapshotServerService, _commandService: ICommandService, _injector: Injector, _compressMutationService: CompressMutationService, _resourceManagerService: IResourceManagerService);
|
|
42
|
+
loadSheet(unitID: string, rev: number, context?: ILogContext): Promise<Workbook>;
|
|
43
|
+
loadDoc(unitID: string, rev: number, context?: ILogContext): Promise<DocumentDataModel>;
|
|
44
|
+
save(_context: ILogContext, workbook: Workbook): IWorkbookData;
|
|
45
|
+
saveDoc(_context: ILogContext, document: DocumentDataModel): IDocumentData;
|
|
46
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|