@univerjs-pro/collaboration 0.17.0 → 0.18.0
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/index.js +1 -1
- package/lib/types/command/create-unit.mutation.d.ts +1 -1
- package/lib/types/command/revert-revision.mutation.d.ts +1 -1
- package/lib/types/controllers/doc-transform/algorithms/doc-algo.d.ts +2 -2
- package/lib/types/controllers/empty.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/__tests__/transform-test-bed.d.ts +20 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-comment/__test__/util.d.ts +10 -10
- package/lib/types/controllers/sheet-transform/algorithms/add-comment/add-comment.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-conditional-rule/add-conditional-formatting-rule.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/__test__/util.d.ts +10 -10
- package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/add-data-validation.algo.d.ts +4 -4
- package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/update-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-hyper-link/add-hyper-link.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/add-comment.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/add-conditional-rule.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/add-range-protection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/add-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/add-worksheet-protection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/delete-conditional-formatting-rule.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/insert-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/insert-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/move-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/move-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/move-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-data-validation-rule.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-sheet-filter.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-conditional-formatting-rule.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-frozen.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-range-protection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-range-value.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-worksheet-col-width.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/update-comment.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/update-data-validation-rule.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/add-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-col.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-row.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-range-values.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-selection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/utils/merge-tools.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/add-comment.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/add-conditional-rule.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/add-range-protection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/add-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/add-worksheet-protection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/change-sheet-order.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/delete-conditional-formatting-rule.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/insert-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/insert-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/move-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/move-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/move-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-data-validation-rule.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-sheet-filter.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-worksheet.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-conditional-formatting-rule.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-frozen.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-range-protection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-range-value.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-worksheet-col-width.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-worksheet-name.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/update-comment.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/update-data-validation-rule.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/delete-comment/add-comment.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/delete-comment/delete-comment.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/delete-conditional-formatting-rule/delete-conditional-formatting-rule.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/gridlines/gridlines.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-comment.algo.d.ts +4 -4
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-data-validation.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/insert-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/move-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/move-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/reorder-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-data.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-hidden.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-visible.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-range-values.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-selection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-sheets-filter-criteria.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-sheets-filter-range.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-worksheet-col-width.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/update-comment-ref.algo.d.ts +5 -5
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/update-data-validation.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-comment.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-data-validation.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/insert-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/move-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/move-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/reorder-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-range-values.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-data.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-hidden.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-visible.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-selection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-sheets-filter-range.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-worksheet-row-auto-height.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-worksheet-row-height.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-worksheet-row-is-auto-height.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/update-comment-ref.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/update-data-validation.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/move-col/add-comment.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/move-col/add-data-validation.algo.d.ts +4 -4
- package/lib/types/controllers/sheet-transform/algorithms/move-col/add-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/move-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/move-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/remove-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/remove-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/reorder-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-data.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-hidden.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-visible.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-range-values.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-selection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-sheets-filter-criteria.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-sheets-filter-range.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-worksheet-col-width.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/update-comment-ref.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/move-col/update-data-validation.algo.d.ts +4 -4
- package/lib/types/controllers/sheet-transform/algorithms/move-conditional-formatting-rule/move-conditional-formatting-rule.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-range/add-comment.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/move-range/add-data-validation.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/move-range/add-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-range/move-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-range/remove-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-range/reorder-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-range/set-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-range/update-comment-ref.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/move-row/add-comment.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/move-row/add-data-validation.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/move-row/add-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/move-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/move-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/remove-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/remove-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/reorder-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-range-values.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-data.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-hidden.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-visible.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-selection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-sheets-filter-range.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-worksheet-row-auto-height.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-worksheet-row-height.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-worksheet-row-is-auto-height.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/update-comment-ref.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/move-row/update-data-validation.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-comment.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-data-validation.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/move-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/move-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/reorder-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-data.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-hidden.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-visible.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-range-values.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-selection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-sheets-filter-criteria.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-sheets-filter-range.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-worksheet-col-width.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/update-comment-ref.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/update-data-validation.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/remove-data-validation/remove-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-hyper-link/remove-hyper-link.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-numfmt/remove-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-numfmt/set-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-comment.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-data-validation.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/move-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/move-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/reorder-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-range-values.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-data.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-hidden.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-visible.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-selection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-sheets-filter-range.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-worksheet-row-auto-height.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-worksheet-row-height.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-worksheet-row-is-auto-height.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/update-comment-ref.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/update-data-validation.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/remove-sheets-filter/remove-sheets-filter.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-sheets-filter/set-sheets-filter-range.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/add-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/insert-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/insert-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/move-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/move-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/remove-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/remove-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/set-selection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/reorder-range/reorder-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/revert-revision/revert-revision.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-col-data/set-col-data.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-conditional-formatting-rule/set-conditional-formatting-rule.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-drawing/set-drawing-apply.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-frozen/set-frozen.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/remove-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/set-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/add-comment.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/add-conditional-rule.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/add-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/add-worksheet-protection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/delete-conditional-formatting-rule.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/insert-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/insert-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/move-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/move-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/move-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-data-validation-rule.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-sheet-filter.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-conditional-formatting-rule.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-frozen.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-numfmt.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-range-protection.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-range-value.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-worksheet-col-width.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/update-comment.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/update-data-validation-rule.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/set-range-values/add-worksheet-merge.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-values/move-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-values/reorder-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-range-values/set-range-values.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-row-data/set-row-data.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/move-range.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/remove-sheets-filter.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/set-range-values.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/set-sheets-filter-criteria.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-range/remove-sheets-filter.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-range/set-sheets-filter-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-tab-color/set-tab-color.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-col-width/set-worksheet-col-width.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-name/insert-worksheet.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-name/set-worksheet-name.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-row-auto-height/set-worksheet-row-auto-height.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-row-height/set-worksheet-row-height.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-row-is-auto-height/set-worksheet-row-is-auto-height.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/update-comment/update-comment.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/update-comment-ref/update-comment-ref.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/add-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/remove-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/update-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/update-hyper-link/update-hyper-link.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/update-hyper-link-ref/update-hyper-link-ref.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/utils.d.ts +4 -3
- package/lib/types/controllers/sheet-transform/algorithms/worksheet/add-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/worksheet/remove-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/worksheet/worksheet.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/sheet-transform.controller.d.ts +1 -1
- package/lib/types/models/changeset.d.ts +2 -2
- package/lib/types/models/collaboration-events.d.ts +3 -3
- package/lib/types/models/socket-events.d.ts +2 -2
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/compose-changesets/compose-changesets.service.d.ts +2 -2
- package/lib/types/services/compress-mutation/compress-mutation-service.d.ts +4 -3
- package/lib/types/services/compress-mutation/compress-mutations/number-map.d.ts +1 -1
- package/lib/types/services/compress-mutation/compress-mutations/set-range-values.d.ts +2 -2
- package/lib/types/services/snapshot/snapshot-save.service.d.ts +4 -3
- package/lib/types/services/snapshot/snapshot-transform.d.ts +4 -4
- package/lib/types/services/snapshot/snapshot-utils.d.ts +2 -2
- package/lib/types/services/snapshot/snapshot.service.d.ts +5 -4
- package/lib/types/services/transform/transform.service.d.ts +5 -4
- package/lib/types/services/transform/types.d.ts +2 -2
- package/lib/types/utils.d.ts +2 -1
- package/lib/umd/index.js +1 -1
- package/package.json +20 -19
- package/lib/types/controllers/sheet-transform/algorithms/add-comment/__test__/add-comment.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-conditional-rule/__test__/add-conditional-rule.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/__test__/add-data-validation.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/__test__/update-data-validation.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/add-worksheet-merge.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/insert-col.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/insert-row.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/move-col.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/move-row.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/remove-col.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/remove-row.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/remove-worksheet-merge.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/set-range-values.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/add-worksheet-merge.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/insert-row.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/move-range.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/move-row.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/remove-numfmt.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/remove-row.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/remove-worksheet-merge.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/reorder-range.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-numfmt.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-range-values.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-row-data.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-row-hidden.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-row-visible.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-sheets-filter-range.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-worksheet-row-auto-height.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-worksheet-row-height.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-worksheet-row-is-auto-height.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/add-worksheet-merge.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/move-col.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/move-range.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/remove-numfmt.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/remove-worksheet-merge.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-col-custom.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-col-hidden.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-col-visible.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-numfmt.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-range-values.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-sheets-filter-criteria.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-sheets-filter-range.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-worksheet-col-width.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-conditional-formatting-rule/__test__/move-conditional-formatting-rule.algo.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/add-worksheet-merge.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/move-range.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/move-row.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/remove-numfmt.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/remove-worksheet-merge.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/reorder-range.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-numfmt.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-range-values.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-row-data.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-row-hidden.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-row-visible.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-sheets-filter-range.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-worksheet-row-auto-height.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-worksheet-row-height.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-worksheet-row-is-auto-height.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-data-validation/__test__/remove-data-validation.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-conditional-formatting-rule/__test__/set-conditional-formatting-rule.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-frozen/__test__/set-frozen.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/__test__/set-numfmt.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-range-values/__test__/reorder-range.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-range-values/__test__/set-range-valuea.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-tab-color/__test__/set-tab-color.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/__test__/add-data-validation.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/__test__/remove-data-validation.algo.spec.d.ts +0 -1
- package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/__test__/update-data-validation.algo.spec.d.ts +0 -1
- package/lib/types/services/compress-mutation/compress-mutations/__test__/set-range-values.spec.d.ts +0 -1
package/lib/types/controllers/sheet-transform/algorithms/set-range-values/reorder-range.algo.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IReorderRangeMutationParams, ISetRangeValuesMutationParams } from '@univerjs/sheets';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { IReorderRangeMutationParams, ISetRangeValuesMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const setRangeValuesMutationWithReorderRange: IMutationTransformAlgorithm<ISetRangeValuesMutationParams, IReorderRangeMutationParams>;
|
package/lib/types/controllers/sheet-transform/algorithms/set-range-values/set-range-values.algo.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ISetRangeValuesMutationParams } from '@univerjs/sheets';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { ISetRangeValuesMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const setRangeValuesMutationWithSelf: IMutationTransformAlgorithm<ISetRangeValuesMutationParams, ISetRangeValuesMutationParams>;
|
package/lib/types/controllers/sheet-transform/algorithms/set-row-data/set-row-data.algo.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ISetRowDataMutationParams } from '@univerjs/sheets';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { ISetRowDataMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const setRowDataMutationWithSelf: IMutationTransformAlgorithm<ISetRowDataMutationParams, ISetRowDataMutationParams>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IMoveRangeMutationParams } from '@univerjs/sheets';
|
|
2
|
-
import { ISetSheetsFilterCriteriaMutationParams } from '@univerjs/sheets-filter';
|
|
3
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { IMoveRangeMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import type { ISetSheetsFilterCriteriaMutationParams } from '@univerjs/sheets-filter';
|
|
3
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
4
4
|
export declare const setSheetsFilterCriteriaWithMoveRange: IMutationTransformAlgorithm<ISetSheetsFilterCriteriaMutationParams, IMoveRangeMutationParams>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISheetCommandSharedParams } from '@univerjs/sheets';
|
|
2
|
-
import { ISetSheetsFilterCriteriaMutationParams } from '@univerjs/sheets-filter';
|
|
3
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { ISheetCommandSharedParams } from '@univerjs/sheets';
|
|
2
|
+
import type { ISetSheetsFilterCriteriaMutationParams } from '@univerjs/sheets-filter';
|
|
3
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
4
4
|
export declare const setSheetsFilterCriteriaWithRemoveSheetsFilter: IMutationTransformAlgorithm<ISetSheetsFilterCriteriaMutationParams, ISheetCommandSharedParams>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISetRangeValuesMutationParams } from '@univerjs/sheets';
|
|
2
|
-
import { ISetSheetsFilterCriteriaMutationParams } from '@univerjs/sheets-filter';
|
|
3
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { ISetRangeValuesMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import type { ISetSheetsFilterCriteriaMutationParams } from '@univerjs/sheets-filter';
|
|
3
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
4
4
|
export declare const setSheetsFilterCriteriaWithSetRangeValues: IMutationTransformAlgorithm<ISetSheetsFilterCriteriaMutationParams, ISetRangeValuesMutationParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ISetSheetsFilterCriteriaMutationParams } from '@univerjs/sheets-filter';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { ISetSheetsFilterCriteriaMutationParams } from '@univerjs/sheets-filter';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const setSheetsFilterCriteriaWithSelf: IMutationTransformAlgorithm<ISetSheetsFilterCriteriaMutationParams, ISetSheetsFilterCriteriaMutationParams>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISheetCommandSharedParams } from '@univerjs/sheets';
|
|
2
|
-
import { ISetSheetsFilterRangeMutationParams } from '@univerjs/sheets-filter';
|
|
3
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { ISheetCommandSharedParams } from '@univerjs/sheets';
|
|
2
|
+
import type { ISetSheetsFilterRangeMutationParams } from '@univerjs/sheets-filter';
|
|
3
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
4
4
|
export declare const setSheetsFilterRangeWithRemoveSheetsFilter: IMutationTransformAlgorithm<ISetSheetsFilterRangeMutationParams, ISheetCommandSharedParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ISetSheetsFilterRangeMutationParams } from '@univerjs/sheets-filter';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { ISetSheetsFilterRangeMutationParams } from '@univerjs/sheets-filter';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const setSheetsFilterRangeWithSelf: IMutationTransformAlgorithm<ISetSheetsFilterRangeMutationParams, ISetSheetsFilterRangeMutationParams>;
|
package/lib/types/controllers/sheet-transform/algorithms/set-tab-color/set-tab-color.algo.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ISetTabColorMutationParams } from '@univerjs/sheets';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { ISetTabColorMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const setTabColorMutationWithSelf: IMutationTransformAlgorithm<ISetTabColorMutationParams, ISetTabColorMutationParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ISetWorksheetColWidthMutationParams } from '@univerjs/sheets';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { ISetWorksheetColWidthMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const setWorksheetColWidthMutationWithSelf: IMutationTransformAlgorithm<ISetWorksheetColWidthMutationParams, ISetWorksheetColWidthMutationParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IInsertSheetMutationParams, ISetWorksheetNameMutationParams } from '@univerjs/sheets';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { IInsertSheetMutationParams, ISetWorksheetNameMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const setWorksheetNameWithInsertSheet: IMutationTransformAlgorithm<ISetWorksheetNameMutationParams, IInsertSheetMutationParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ISetWorksheetNameMutationParams } from '@univerjs/sheets';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { ISetWorksheetNameMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const setWorksheetNameMutationWithSelf: IMutationTransformAlgorithm<ISetWorksheetNameMutationParams, ISetWorksheetNameMutationParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ISetWorksheetRowAutoHeightMutationParams } from '@univerjs/sheets';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { ISetWorksheetRowAutoHeightMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const setWorksheetRowAutoHeightMutationWithSelf: IMutationTransformAlgorithm<ISetWorksheetRowAutoHeightMutationParams, ISetWorksheetRowAutoHeightMutationParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ISetWorksheetRowHeightMutationParams } from '@univerjs/sheets';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { ISetWorksheetRowHeightMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const setWorksheetRowHeightMutationWithSelf: IMutationTransformAlgorithm<ISetWorksheetRowHeightMutationParams, ISetWorksheetRowHeightMutationParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ISetWorksheetRowIsAutoHeightMutationParams } from '@univerjs/sheets';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { ISetWorksheetRowIsAutoHeightMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const setWorksheetRowIsAutoHeightMutationWithSelf: IMutationTransformAlgorithm<ISetWorksheetRowIsAutoHeightMutationParams, ISetWorksheetRowIsAutoHeightMutationParams>;
|
package/lib/types/controllers/sheet-transform/algorithms/update-comment/update-comment.algo.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IUpdateCommentMutationParams } from '@univerjs/thread-comment';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { IUpdateCommentMutationParams } from '@univerjs/thread-comment';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const updateCommentWithSelf: IMutationTransformAlgorithm<IUpdateCommentMutationParams, IUpdateCommentMutationParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IUpdateCommentRefMutationParams } from '@univerjs/thread-comment';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { IUpdateCommentRefMutationParams } from '@univerjs/thread-comment';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const updateCommentRefWithSelf: IMutationTransformAlgorithm<IUpdateCommentRefMutationParams, IUpdateCommentRefMutationParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IAddDataValidationMutationParams, IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { IAddDataValidationMutationParams, IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const updateDataValidationMutationWithAdd: IMutationTransformAlgorithm<IUpdateDataValidationMutationParams, IAddDataValidationMutationParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IRemoveDataValidationMutationParams, IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { IRemoveDataValidationMutationParams, IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const updateDataValidationMutationWithRemoveSelf: IMutationTransformAlgorithm<IUpdateDataValidationMutationParams, IRemoveDataValidationMutationParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const updateDataValidationMutationWithSelf: IMutationTransformAlgorithm<IUpdateDataValidationMutationParams, IUpdateDataValidationMutationParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IUpdateHyperLinkMutationParams } from '@univerjs/sheets-hyper-link';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { IUpdateHyperLinkMutationParams } from '@univerjs/sheets-hyper-link';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const updateHyperLinkWithSelf: IMutationTransformAlgorithm<IUpdateHyperLinkMutationParams, IUpdateHyperLinkMutationParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IUpdateHyperLinkRefMutationParams } from '@univerjs/sheets-hyper-link';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { IUpdateHyperLinkRefMutationParams } from '@univerjs/sheets-hyper-link';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const updateHyperLinkRefWithSelf: IMutationTransformAlgorithm<IUpdateHyperLinkRefMutationParams, IUpdateHyperLinkRefMutationParams>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ICellData, IObjectMatrixPrimitiveType, IRange, Nullable
|
|
1
|
+
import type { ICellData, IObjectMatrixPrimitiveType, IRange, Nullable } from '@univerjs/core';
|
|
2
|
+
import { RANGE_TYPE } from '@univerjs/core';
|
|
2
3
|
export declare function toColumn(range: IRange): {
|
|
3
4
|
rangeType: RANGE_TYPE;
|
|
4
|
-
startAbsoluteRefType?: import(
|
|
5
|
-
endAbsoluteRefType?: import(
|
|
5
|
+
startAbsoluteRefType?: import("@univerjs/core").AbsoluteRefType;
|
|
6
|
+
endAbsoluteRefType?: import("@univerjs/core").AbsoluteRefType;
|
|
6
7
|
startRow: number;
|
|
7
8
|
endRow: number;
|
|
8
9
|
unitId?: string;
|
package/lib/types/controllers/sheet-transform/algorithms/worksheet/add-worksheet-merge.algo.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
2
2
|
export declare const removeSheetMutationWithAddWorksheetMerge: IMutationTransformAlgorithm;
|
package/lib/types/controllers/sheet-transform/algorithms/worksheet/remove-worksheet-merge.algo.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
2
2
|
export declare const removeSheetMutationWithRemoveWorksheetMerge: IMutationTransformAlgorithm;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ISetWorksheetOrderMutationParams } from '@univerjs/sheets';
|
|
2
|
-
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
1
|
+
import type { ISetWorksheetOrderMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import type { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
3
|
export declare const InsertSheetMutationWithSelf: IMutationTransformAlgorithm;
|
|
4
4
|
export declare const RemoveSheetMutationWithOthers: IMutationTransformAlgorithm;
|
|
5
5
|
export declare const SetWorksheetOrderMutationWithSelf: IMutationTransformAlgorithm<ISetWorksheetOrderMutationParams, ISetWorksheetOrderMutationParams>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Disposable } from '@univerjs/core';
|
|
2
2
|
import { ITransformService } from '../../services/transform/transform.service';
|
|
3
|
-
export declare const SHEET_ALL_ALGORITHMS: import(
|
|
3
|
+
export declare const SHEET_ALL_ALGORITHMS: import("../..").IMutationTransformAlgorithm<any, any>[];
|
|
4
4
|
/**
|
|
5
5
|
* This controller register sheet transform algorithms to the transform service.
|
|
6
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICommandInfo, IMutationInfo } from '@univerjs/core';
|
|
2
|
-
import { IChangeset as IProtocolChangeset, ICommand as IProtocolCommand, IMutation as IProtocolMutation, UniverType } from '@univerjs/protocol';
|
|
1
|
+
import type { ICommandInfo, IMutationInfo } from '@univerjs/core';
|
|
2
|
+
import type { IChangeset as IProtocolChangeset, ICommand as IProtocolCommand, IMutation as IProtocolMutation, UniverType } from '@univerjs/protocol';
|
|
3
3
|
export interface IFetchMissingCSResult {
|
|
4
4
|
changesets: IChangeset[];
|
|
5
5
|
lastRevision?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ICollaMsgErrorEvent, ICollaMsgJoin, ICollaMsgLeave, ICommentUpdate, ILiveShareNewHost, ILiveShareOperation, ILiveShareRequestHost, ILiveShareTerminate, IChangeset as IProtocolChangeset, IShouldCloseConn, IUpdateCursor, IUpdatePermissionObj, UniverType } from '@univerjs/protocol';
|
|
2
|
-
import { UniscriptRun as IUniscriptRun } from '@univerjs/protocol/ts/univer/colla_msg.ts';
|
|
3
|
-
import { IChangeset } from './changeset';
|
|
1
|
+
import type { ICollaMsgErrorEvent, ICollaMsgJoin, ICollaMsgLeave, ICommentUpdate, ILiveShareNewHost, ILiveShareOperation, ILiveShareRequestHost, ILiveShareTerminate, IChangeset as IProtocolChangeset, IShouldCloseConn, IUpdateCursor, IUpdatePermissionObj, UniverType } from '@univerjs/protocol';
|
|
2
|
+
import type { UniscriptRun as IUniscriptRun } from '@univerjs/protocol/ts/univer/colla_msg.ts';
|
|
3
|
+
import type { IChangeset } from './changeset';
|
|
4
4
|
/**
|
|
5
5
|
* Types of all possible collaboration events.
|
|
6
6
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CmdRspCode, CombCmd, ICombJoinRequest, ICombJoinResponse, ICombLeaveRequest } from '@univerjs/protocol';
|
|
2
|
-
import { ICollaborationEvent } from './collaboration-events';
|
|
1
|
+
import type { CmdRspCode, CombCmd, ICombJoinRequest, ICombJoinResponse, ICombLeaveRequest } from '@univerjs/protocol';
|
|
2
|
+
import type { ICollaborationEvent } from './collaboration-events';
|
|
3
3
|
interface ICombCmdRequest {
|
|
4
4
|
cmd: CombCmd;
|
|
5
5
|
routeKey: string;
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IUniverCollaborationConfig } from './controllers/config.schema';
|
|
1
|
+
import type { IUniverCollaborationConfig } from './controllers/config.schema';
|
|
2
2
|
import { IConfigService, Injector, Plugin } from '@univerjs/core';
|
|
3
3
|
export declare class UniverCollaborationPlugin extends Plugin {
|
|
4
4
|
private readonly _config;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IChangeset as IProtocolChangeset } from '@univerjs/protocol';
|
|
2
|
-
import { IChangeset } from '../../models/changeset';
|
|
1
|
+
import type { IChangeset as IProtocolChangeset } from '@univerjs/protocol';
|
|
2
|
+
import type { IChangeset } from '../../models/changeset';
|
|
3
3
|
export declare class ComposeChangesetsService {
|
|
4
4
|
composeDocChangesets(changesets: IProtocolChangeset[]): IChangeset;
|
|
5
5
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { IMutationInfo, IUniverInstanceService
|
|
1
|
+
import type { IMutationInfo, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { InterceptorManager } from '@univerjs/core';
|
|
2
3
|
/**
|
|
3
4
|
* During transmission, compression is performed for a specific operation,referencing during transport.
|
|
4
5
|
* Before send -> compress -> transmission -> ... -> node apply -> decompression -> apply.
|
|
@@ -10,8 +11,8 @@ import { IMutationInfo, IUniverInstanceService, InterceptorManager } from '@univ
|
|
|
10
11
|
*/
|
|
11
12
|
export declare class CompressMutationService {
|
|
12
13
|
interceptor: InterceptorManager<{
|
|
13
|
-
COMPRESS_MUTATION_APPLY: import(
|
|
14
|
-
COMPRESS_MUTATION_SEND: import(
|
|
14
|
+
COMPRESS_MUTATION_APPLY: import("@univerjs/core").IInterceptor<IMutationInfo<object>[], null>;
|
|
15
|
+
COMPRESS_MUTATION_SEND: import("@univerjs/core").IInterceptor<IMutationInfo<object>[], IUniverInstanceService>;
|
|
15
16
|
}>;
|
|
16
17
|
constructor();
|
|
17
18
|
private _init;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IObjectArrayPrimitiveType, Nullable } from '@univerjs/core';
|
|
1
|
+
import type { IObjectArrayPrimitiveType, Nullable } from '@univerjs/core';
|
|
2
2
|
export type IntervalValue = number | [number, number];
|
|
3
3
|
export type PackedNumberMap = Record<string, IntervalValue[] | number>;
|
|
4
4
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ICellData, IObjectMatrixPrimitiveType, Nullable } from '@univerjs/core';
|
|
1
|
+
import type { ICellData, IObjectMatrixPrimitiveType, Nullable } from '@univerjs/core';
|
|
2
2
|
export declare const transformRefStyleFromCells: (matrix?: IObjectMatrixPrimitiveType<Nullable<ICellData>>) => {
|
|
3
3
|
cellValue: undefined;
|
|
4
4
|
styleRefMap: undefined;
|
|
5
5
|
} | {
|
|
6
6
|
cellValue: IObjectMatrixPrimitiveType<Nullable<ICellData>>;
|
|
7
7
|
styleRefMap: {
|
|
8
|
-
[id: string]: Nullable<string | import(
|
|
8
|
+
[id: string]: Nullable<string | import("@univerjs/core").IStyleData>;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
export declare const transformCellsFromRefStyle: (matrix?: IObjectMatrixPrimitiveType<Nullable<ICellData>>, styleRefMap?: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { DocumentDataModel, IDocumentData, IWorkbookData, Workbook
|
|
2
|
-
import { ISheetBlockMeta, ISnapshot } from '@univerjs/protocol';
|
|
3
|
-
import { ILogContext } from '../../utils';
|
|
1
|
+
import type { DocumentDataModel, IDocumentData, IWorkbookData, Workbook } from '@univerjs/core';
|
|
2
|
+
import type { ISheetBlockMeta, ISnapshot } from '@univerjs/protocol';
|
|
3
|
+
import type { ILogContext } from '../../utils';
|
|
4
|
+
import { ILogService } from '@univerjs/core';
|
|
4
5
|
import { ISnapshotServerService, SnapshotService } from './snapshot.service';
|
|
5
6
|
/**
|
|
6
7
|
* This service provides methods to save snapshots into the database.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IDocumentData, ILogService, IWorkbookData } from '@univerjs/core';
|
|
2
|
-
import { IDeserializedSheetBlock, ISheetBlock, ISheetBlockMeta, ISnapshot } from '@univerjs/protocol';
|
|
3
|
-
import { ILogContext } from '../../utils';
|
|
4
|
-
import { ISnapshotServerService } from './snapshot.service';
|
|
1
|
+
import type { IDocumentData, ILogService, IWorkbookData } from '@univerjs/core';
|
|
2
|
+
import type { IDeserializedSheetBlock, ISheetBlock, ISheetBlockMeta, ISnapshot } from '@univerjs/protocol';
|
|
3
|
+
import type { ILogContext } from '../../utils';
|
|
4
|
+
import type { ISnapshotServerService } from './snapshot.service';
|
|
5
5
|
export declare function generateTempDocumentSnapshot(_context: ILogContext, document: IDocumentData, unitID: string, rev: number): Promise<{
|
|
6
6
|
snapshot: ISnapshot;
|
|
7
7
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICellData, IDocumentData, IObjectMatrixPrimitiveType, IWorkbookData, IWorksheetData } from '@univerjs/core';
|
|
2
|
-
import { ISheetBlock } from '@univerjs/protocol';
|
|
1
|
+
import type { ICellData, IDocumentData, IObjectMatrixPrimitiveType, IWorkbookData, IWorksheetData } from '@univerjs/core';
|
|
2
|
+
import type { ISheetBlock } from '@univerjs/protocol';
|
|
3
3
|
export declare const textEncoder: TextEncoder;
|
|
4
4
|
export declare const textDecoder: TextDecoder;
|
|
5
5
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { DocumentDataModel, IDocumentData, IWorkbookData, Workbook
|
|
2
|
-
import { ICopyFileMetaRequest, ICopyFileMetaResponse, IFetchMissingChangesetsRequest, IFetchMissingChangesetsResponse, IGetDeserializedSheetBlockResponse, IGetLatestCsReqIdBySidRequest, IGetLatestCsReqIdBySidResponse, IGetResourcesRequest, IGetResourcesResponse, IGetSheetBlockRequest, IGetSheetBlockResponse, IGetUnitOnRevRequest, IGetUnitOnRevResponse, IReportUnitRoutingStatsRequest, IReportUnitRoutingStatsResponse, ISaveChangesetRequest, ISaveChangesetResponse, ISaveSheetBlockRequest, ISaveSheetBlockResponse, ISaveSnapshotRequest, ISaveSnapshotResponse } from '@univerjs/protocol';
|
|
3
|
-
import { ILogContext } from '../../utils';
|
|
1
|
+
import type { DocumentDataModel, IDocumentData, IWorkbookData, Workbook } from '@univerjs/core';
|
|
2
|
+
import type { ICopyFileMetaRequest, ICopyFileMetaResponse, IFetchMissingChangesetsRequest, IFetchMissingChangesetsResponse, IGetDeserializedSheetBlockResponse, IGetLatestCsReqIdBySidRequest, IGetLatestCsReqIdBySidResponse, IGetResourcesRequest, IGetResourcesResponse, IGetSheetBlockRequest, IGetSheetBlockResponse, IGetUnitOnRevRequest, IGetUnitOnRevResponse, IReportUnitRoutingStatsRequest, IReportUnitRoutingStatsResponse, ISaveChangesetRequest, ISaveChangesetResponse, ISaveSheetBlockRequest, ISaveSheetBlockResponse, ISaveSnapshotRequest, ISaveSnapshotResponse } from '@univerjs/protocol';
|
|
3
|
+
import type { ILogContext } from '../../utils';
|
|
4
|
+
import { ICommandService, ILogService, IResourceManagerService, IUniverInstanceService } from '@univerjs/core';
|
|
4
5
|
import { CompressMutationService } from '../compress-mutation/compress-mutation-service';
|
|
5
6
|
import { RevisionService } from '../rev/rev.service';
|
|
6
7
|
/**
|
|
@@ -8,7 +9,7 @@ import { RevisionService } from '../rev/rev.service';
|
|
|
8
9
|
* or load snapshots. This service should be implemented by the host environment.
|
|
9
10
|
* And it shouldn't contain any business logic.
|
|
10
11
|
*/
|
|
11
|
-
export declare const ISnapshotServerService: import(
|
|
12
|
+
export declare const ISnapshotServerService: import("@wendellhu/redi").IdentifierDecorator<ISnapshotServerService>;
|
|
12
13
|
export interface ISnapshotServerService {
|
|
13
14
|
/** Load snapshot from a database. */
|
|
14
15
|
getUnitOnRev: (context: ILogContext, params: IGetUnitOnRevRequest) => Promise<IGetUnitOnRevResponse>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { IMutationInfo
|
|
2
|
-
import { IChangeset } from '../../models/changeset';
|
|
3
|
-
import { IFailureTransformChangesetsResult, IFailureTransformMutationResult, IFailureTransformMutationsResult, ISuccessTransformChangesetsResult, ISuccessTransformMutationResult, ISuccessTransformMutationsResult, ITransformChangesetsResult, ITransformMutationResult, ITransformMutationsResult, ITransformMutationsWithChangesetResult } from './types';
|
|
1
|
+
import type { IMutationInfo } from '@univerjs/core';
|
|
2
|
+
import type { IChangeset } from '../../models/changeset';
|
|
3
|
+
import type { IFailureTransformChangesetsResult, IFailureTransformMutationResult, IFailureTransformMutationsResult, ISuccessTransformChangesetsResult, ISuccessTransformMutationResult, ISuccessTransformMutationsResult, ITransformChangesetsResult, ITransformMutationResult, ITransformMutationsResult, ITransformMutationsWithChangesetResult } from './types';
|
|
4
|
+
import { Disposable, ILogService } from '@univerjs/core';
|
|
4
5
|
/**
|
|
5
6
|
* A single transform algorithm. Algorithms are registered to the transform service in the form of `{m1}-{m2}`.
|
|
6
7
|
* When the transform service is transforming two mutations, it would find the algorithm by the form of `{m1}-{m2}`.
|
|
@@ -33,7 +34,7 @@ export interface ITransformService {
|
|
|
33
34
|
transformMutations(m1: IMutationInfo[], m2: IMutationInfo[], onlyLater: boolean): ITransformMutationsResult;
|
|
34
35
|
transformChangesets(c1: IChangeset[], c2: IChangeset[], onlyLater: false): ITransformChangesetsResult;
|
|
35
36
|
}
|
|
36
|
-
export declare const ITransformService: import(
|
|
37
|
+
export declare const ITransformService: import("@wendellhu/redi").IdentifierDecorator<ITransformService>;
|
|
37
38
|
export declare class TransformService extends Disposable implements ITransformService {
|
|
38
39
|
private readonly _logService;
|
|
39
40
|
private readonly _transformMap;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMutationInfo } from '@univerjs/core';
|
|
2
|
-
import { IChangeset } from '../../models/changeset';
|
|
1
|
+
import type { IMutationInfo } from '@univerjs/core';
|
|
2
|
+
import type { IChangeset } from '../../models/changeset';
|
|
3
3
|
export interface ISuccessTransformMutationResult {
|
|
4
4
|
m1Prime: IMutationInfo | IMutationInfo[];
|
|
5
5
|
m2Prime: IMutationInfo | IMutationInfo[];
|
package/lib/types/utils.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ILogService
|
|
1
|
+
import type { ILogService } from '@univerjs/core';
|
|
2
|
+
import { UniverInstanceType } from '@univerjs/core';
|
|
2
3
|
import { UniverType } from '@univerjs/protocol';
|
|
3
4
|
export declare function mapDocumentTypeToUniverType(documentType: UniverInstanceType): UniverType;
|
|
4
5
|
/**
|