@univerjs-pro/collaboration 0.1.10

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.
Files changed (274) hide show
  1. package/README.md +17 -0
  2. package/lib/cjs/index.js +1 -0
  3. package/lib/es/index.js +1 -0
  4. package/lib/types/controllers/doc-transform/algorithms/doc-algo.d.ts +4 -0
  5. package/lib/types/controllers/doc-transform/doc-transform.controller.d.ts +10 -0
  6. package/lib/types/controllers/doc-transform/text-x-pro/__tests__/transform-position.spec.d.ts +1 -0
  7. package/lib/types/controllers/doc-transform/text-x-pro/__tests__/transform.spec.d.ts +1 -0
  8. package/lib/types/controllers/doc-transform/text-x-pro/text-x-pro.d.ts +34 -0
  9. package/lib/types/controllers/doc-transform/text-x-pro/utils.d.ts +3 -0
  10. package/lib/types/controllers/sheet-transform/algorithms/__tests__/transform-test-bed.d.ts +19 -0
  11. package/lib/types/controllers/sheet-transform/algorithms/add-conditional-rule/__test__/add-conditional-rule.algo.spec.d.ts +1 -0
  12. package/lib/types/controllers/sheet-transform/algorithms/add-conditional-rule/add-conditional-formatting-rule.algo.d.ts +4 -0
  13. package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/__test__/add-data-validation.algo.spec.d.ts +1 -0
  14. package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/__test__/update-data-validation.algo.spec.d.ts +1 -0
  15. package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/__test__/util.d.ts +14 -0
  16. package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/add-data-validation.algo.d.ts +16 -0
  17. package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/update-data-validation.algo.d.ts +4 -0
  18. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/add-worksheet-merge.algo.spec.d.ts +1 -0
  19. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/insert-col.algo.spec.d.ts +1 -0
  20. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/insert-row.algo.spec.d.ts +1 -0
  21. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/move-col.algo.spec.d.ts +1 -0
  22. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/move-row.algo.spec.d.ts +1 -0
  23. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/remove-col.algo.spec.d.ts +1 -0
  24. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/remove-row.algo.spec.d.ts +1 -0
  25. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/remove-worksheet-merge.algo.spec.d.ts +1 -0
  26. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/__test__/set-range-values.algo.spec.d.ts +1 -0
  27. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/add-worksheet-merge.algo.d.ts +4 -0
  28. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-col.algo.d.ts +6 -0
  29. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-row.algo.d.ts +6 -0
  30. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-col.algo.d.ts +4 -0
  31. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-range.algo.d.ts +4 -0
  32. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-row.algo.d.ts +4 -0
  33. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-col.algo.d.ts +4 -0
  34. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-row.algo.d.ts +4 -0
  35. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-worksheet-merge.algo.d.ts +4 -0
  36. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-range-values.algo.d.ts +4 -0
  37. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-selection.algo.d.ts +4 -0
  38. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/utils/merge-tools.d.ts +3 -0
  39. package/lib/types/controllers/sheet-transform/algorithms/delete-conditional-formatting-rule/delete-conditional-formatting-rule.algo.d.ts +4 -0
  40. package/lib/types/controllers/sheet-transform/algorithms/insert-col/__test__/add-worksheet-merge.algo.spec.d.ts +1 -0
  41. package/lib/types/controllers/sheet-transform/algorithms/insert-col/__test__/insert-col.algo.spec.d.ts +1 -0
  42. package/lib/types/controllers/sheet-transform/algorithms/insert-col/__test__/move-col.algo.spec.d.ts +1 -0
  43. package/lib/types/controllers/sheet-transform/algorithms/insert-col/__test__/move-range.algo.spec.d.ts +1 -0
  44. package/lib/types/controllers/sheet-transform/algorithms/insert-col/__test__/remove-col.algo.spec.d.ts +1 -0
  45. package/lib/types/controllers/sheet-transform/algorithms/insert-col/__test__/remove-numfmt.algo.spec.d.ts +1 -0
  46. package/lib/types/controllers/sheet-transform/algorithms/insert-col/__test__/remove-worksheet-merge.algo.spec.d.ts +1 -0
  47. package/lib/types/controllers/sheet-transform/algorithms/insert-col/__test__/set-col-hidden.algo.spec.d.ts +1 -0
  48. package/lib/types/controllers/sheet-transform/algorithms/insert-col/__test__/set-col-visible.algo.spec.d.ts +1 -0
  49. package/lib/types/controllers/sheet-transform/algorithms/insert-col/__test__/set-numfmt.algo.spec.d.ts +1 -0
  50. package/lib/types/controllers/sheet-transform/algorithms/insert-col/__test__/set-range-values.algo.spec.d.ts +1 -0
  51. package/lib/types/controllers/sheet-transform/algorithms/insert-col/__test__/set-sheets-filter-criteria.algo.spec.d.ts +1 -0
  52. package/lib/types/controllers/sheet-transform/algorithms/insert-col/__test__/set-sheets-filter-range.algo.spec.d.ts +1 -0
  53. package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-data-validation.algo.d.ts +5 -0
  54. package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-worksheet-merge.algo.d.ts +4 -0
  55. package/lib/types/controllers/sheet-transform/algorithms/insert-col/insert-col.algo.d.ts +4 -0
  56. package/lib/types/controllers/sheet-transform/algorithms/insert-col/move-col.algo.d.ts +4 -0
  57. package/lib/types/controllers/sheet-transform/algorithms/insert-col/move-range.algo.d.ts +4 -0
  58. package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-col.algo.d.ts +4 -0
  59. package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-numfmt.algo.d.ts +4 -0
  60. package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-worksheet-merge.algo.d.ts +4 -0
  61. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-hidden.algo.d.ts +4 -0
  62. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-visible.algo.d.ts +4 -0
  63. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-numfmt.algo.d.ts +4 -0
  64. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-range-values.algo.d.ts +4 -0
  65. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-selection.algo.d.ts +8 -0
  66. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-sheets-filter-criteria.algo.d.ts +5 -0
  67. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-sheets-filter-range.algo.d.ts +5 -0
  68. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-worksheet-col-width.algo.d.ts +4 -0
  69. package/lib/types/controllers/sheet-transform/algorithms/insert-col/update-data-validation.algo.d.ts +5 -0
  70. package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/add-worksheet-merge.algo.spec.d.ts +1 -0
  71. package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/insert-row.algo.spec.d.ts +1 -0
  72. package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/move-range.algo.spec.d.ts +1 -0
  73. package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/move-row.algo.spec.d.ts +1 -0
  74. package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/remove-numfmt.algo.spec.d.ts +1 -0
  75. package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/remove-row.algo.spec.d.ts +1 -0
  76. package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/remove-worksheet-merge.algo.spec.d.ts +1 -0
  77. package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-numfmt.algo.spec.d.ts +1 -0
  78. package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-range-values.algo.spec.d.ts +1 -0
  79. package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-row-hidden.algo.spec.d.ts +1 -0
  80. package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-row-visible.algo.spec.d.ts +1 -0
  81. package/lib/types/controllers/sheet-transform/algorithms/insert-row/__test__/set-sheets-filter-range.algo.spec.d.ts +1 -0
  82. package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-data-validation.algo.d.ts +5 -0
  83. package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-worksheet-merge.algo.d.ts +4 -0
  84. package/lib/types/controllers/sheet-transform/algorithms/insert-row/insert-row.algo.d.ts +4 -0
  85. package/lib/types/controllers/sheet-transform/algorithms/insert-row/move-range.algo.d.ts +4 -0
  86. package/lib/types/controllers/sheet-transform/algorithms/insert-row/move-row.algo.d.ts +4 -0
  87. package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-numfmt.algo.d.ts +4 -0
  88. package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-row.algo.d.ts +4 -0
  89. package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-worksheet-merge.algo.d.ts +4 -0
  90. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-numfmt.algo.d.ts +4 -0
  91. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-range-values.algo.d.ts +4 -0
  92. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-hidden.algo.d.ts +4 -0
  93. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-visible.algo.d.ts +4 -0
  94. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-selection.algo.d.ts +8 -0
  95. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-sheets-filter-range.algo.d.ts +5 -0
  96. package/lib/types/controllers/sheet-transform/algorithms/insert-row/update-data-validation.algo.d.ts +5 -0
  97. package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/add-worksheet-merge.algo.spec.d.ts +1 -0
  98. package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/move-col.algo.spec.d.ts +1 -0
  99. package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/move-range.algo.spec.d.ts +1 -0
  100. package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/remove-numfmt.algo.spec.d.ts +1 -0
  101. package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/remove-worksheet-merge.algo.spec.d.ts +1 -0
  102. package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-col-hidden.algo.spec.d.ts +1 -0
  103. package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-col-visible.algo.spec.d.ts +1 -0
  104. package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-numfmt.algo.spec.d.ts +1 -0
  105. package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-range-values.algo.spec.d.ts +1 -0
  106. package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-sheets-filter-criteria.algo.spec.d.ts +1 -0
  107. package/lib/types/controllers/sheet-transform/algorithms/move-col/__test__/set-sheets-filter-range.algo.spec.d.ts +1 -0
  108. package/lib/types/controllers/sheet-transform/algorithms/move-col/add-data-validation.algo.d.ts +7 -0
  109. package/lib/types/controllers/sheet-transform/algorithms/move-col/add-worksheet-merge.algo.d.ts +4 -0
  110. package/lib/types/controllers/sheet-transform/algorithms/move-col/move-col.algo.d.ts +4 -0
  111. package/lib/types/controllers/sheet-transform/algorithms/move-col/move-range.algo.d.ts +4 -0
  112. package/lib/types/controllers/sheet-transform/algorithms/move-col/remove-numfmt.algo.d.ts +4 -0
  113. package/lib/types/controllers/sheet-transform/algorithms/move-col/remove-worksheet-merge.algo.d.ts +4 -0
  114. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-hidden.algo.d.ts +4 -0
  115. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-visible.algo.d.ts +4 -0
  116. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-numfmt.algo.d.ts +4 -0
  117. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-range-values.algo.d.ts +4 -0
  118. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-selection.algo.d.ts +8 -0
  119. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-sheets-filter-criteria.algo.d.ts +5 -0
  120. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-sheets-filter-range.algo.d.ts +5 -0
  121. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-worksheet-col-width.algo.d.ts +4 -0
  122. package/lib/types/controllers/sheet-transform/algorithms/move-col/update-data-validation.algo.d.ts +10 -0
  123. package/lib/types/controllers/sheet-transform/algorithms/move-conditional-formatting-rule/__test__/move-conditional-formatting-rule.algo.algo.spec.d.ts +1 -0
  124. package/lib/types/controllers/sheet-transform/algorithms/move-conditional-formatting-rule/move-conditional-formatting-rule.algo.d.ts +4 -0
  125. package/lib/types/controllers/sheet-transform/algorithms/move-range/add-data-validation.algo.d.ts +5 -0
  126. package/lib/types/controllers/sheet-transform/algorithms/move-range/add-worksheet-merge.algo.d.ts +4 -0
  127. package/lib/types/controllers/sheet-transform/algorithms/move-range/move-range.algo.d.ts +4 -0
  128. package/lib/types/controllers/sheet-transform/algorithms/move-range/remove-numfmt.algo.d.ts +4 -0
  129. package/lib/types/controllers/sheet-transform/algorithms/move-range/set-numfmt.algo.d.ts +4 -0
  130. package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/add-worksheet-merge.algo.spec.d.ts +1 -0
  131. package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/move-range.algo.spec.d.ts +1 -0
  132. package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/move-row.algo.spec.d.ts +1 -0
  133. package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/remove-numfmt.algo.spec.d.ts +1 -0
  134. package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/remove-worksheet-merge.algo.spec.d.ts +1 -0
  135. package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-numfmt.algo.spec.d.ts +1 -0
  136. package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-range-values.algo.spec.d.ts +1 -0
  137. package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-row-hidden.algo.spec.d.ts +1 -0
  138. package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-row-visible.algo.spec.d.ts +1 -0
  139. package/lib/types/controllers/sheet-transform/algorithms/move-row/__test__/set-sheets-filter-range.algo.spec.d.ts +1 -0
  140. package/lib/types/controllers/sheet-transform/algorithms/move-row/add-data-validation.algo.d.ts +5 -0
  141. package/lib/types/controllers/sheet-transform/algorithms/move-row/add-worksheet-merge.algo.d.ts +4 -0
  142. package/lib/types/controllers/sheet-transform/algorithms/move-row/move-range.algo.d.ts +4 -0
  143. package/lib/types/controllers/sheet-transform/algorithms/move-row/move-row.algo.d.ts +4 -0
  144. package/lib/types/controllers/sheet-transform/algorithms/move-row/remove-numfmt.algo.d.ts +4 -0
  145. package/lib/types/controllers/sheet-transform/algorithms/move-row/remove-worksheet-merge.algo.d.ts +4 -0
  146. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-numfmt.algo.d.ts +4 -0
  147. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-range-values.algo.d.ts +4 -0
  148. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-hidden.algo.d.ts +4 -0
  149. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-visible.algo.d.ts +4 -0
  150. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-selection.algo.d.ts +8 -0
  151. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-sheets-filter-range.algo.d.ts +5 -0
  152. package/lib/types/controllers/sheet-transform/algorithms/move-row/update-data-validation.algo.d.ts +5 -0
  153. package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/move-col.algo.spec.d.ts +1 -0
  154. package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/move-range.algo.spec.d.ts +1 -0
  155. package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/remove-col.algo.spec.d.ts +1 -0
  156. package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/remove-numfmt.algo.spec.d.ts +1 -0
  157. package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/remove-worksheet-merge.algo.spec.d.ts +1 -0
  158. package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/set-col-hidden.algo.spec.d.ts +1 -0
  159. package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/set-col-visible.algo.spec.d.ts +1 -0
  160. package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/set-numfmt.algo.spec.d.ts +1 -0
  161. package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/set-range-values.algo.spec.d.ts +1 -0
  162. package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/set-sheets-filter-criteria.algo.spec.d.ts +1 -0
  163. package/lib/types/controllers/sheet-transform/algorithms/remove-col/__tests__/set-sheets-filter-range.algo.spec.d.ts +1 -0
  164. package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-data-validation.algo.d.ts +5 -0
  165. package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-worksheet-merge.algo.d.ts +4 -0
  166. package/lib/types/controllers/sheet-transform/algorithms/remove-col/move-col.algo.d.ts +4 -0
  167. package/lib/types/controllers/sheet-transform/algorithms/remove-col/move-range.algo.d.ts +4 -0
  168. package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-col.algo.d.ts +4 -0
  169. package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-numfmt.algo.d.ts +4 -0
  170. package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-worksheet-merge.algo.d.ts +4 -0
  171. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-hidden.algo.d.ts +4 -0
  172. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-visible.algo.d.ts +4 -0
  173. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-numfmt.algo.d.ts +4 -0
  174. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-range-values.algo.d.ts +4 -0
  175. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-selection.algo.d.ts +8 -0
  176. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-sheets-filter-criteria.algo.d.ts +5 -0
  177. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-sheets-filter-range.algo.d.ts +5 -0
  178. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-worksheet-col-width.algo.d.ts +4 -0
  179. package/lib/types/controllers/sheet-transform/algorithms/remove-col/update-data-validation.algo.d.ts +5 -0
  180. package/lib/types/controllers/sheet-transform/algorithms/remove-data-validation/__test__/remove-data-validation.algo.spec.d.ts +1 -0
  181. package/lib/types/controllers/sheet-transform/algorithms/remove-data-validation/remove-data-validation.algo.d.ts +4 -0
  182. package/lib/types/controllers/sheet-transform/algorithms/remove-numfmt/remove-numfmt.algo.d.ts +4 -0
  183. package/lib/types/controllers/sheet-transform/algorithms/remove-numfmt/set-numfmt.algo.d.ts +4 -0
  184. package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/move-range.algo.spec.d.ts +1 -0
  185. package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/move-row.algo.spec.d.ts +1 -0
  186. package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/remove-numfmt.algo.spec.d.ts +1 -0
  187. package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/remove-row.algo.spec.d.ts +1 -0
  188. package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/remove-worksheet-merge.algo.spec.d.ts +1 -0
  189. package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/set-numfmt.algo.spec.d.ts +1 -0
  190. package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/set-range-value.algo.spec.d.ts +1 -0
  191. package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/set-row-hidden.algo.spec.d.ts +1 -0
  192. package/lib/types/controllers/sheet-transform/algorithms/remove-row/__tests__/set-row-visible.algo.spec.d.ts +1 -0
  193. package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-data-validation.algo.d.ts +5 -0
  194. package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-worksheet-merge.algo.d.ts +4 -0
  195. package/lib/types/controllers/sheet-transform/algorithms/remove-row/move-range.algo.d.ts +4 -0
  196. package/lib/types/controllers/sheet-transform/algorithms/remove-row/move-row.algo.d.ts +4 -0
  197. package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-numfmt.algo.d.ts +4 -0
  198. package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-row.algo.d.ts +4 -0
  199. package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-worksheet-merge.algo.d.ts +4 -0
  200. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-numfmt.algo.d.ts +4 -0
  201. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-range-values.algo.d.ts +4 -0
  202. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-hidden.algo.d.ts +4 -0
  203. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-visible.algo.d.ts +4 -0
  204. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-selection.algo.d.ts +8 -0
  205. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-sheets-filter-range.algo.d.ts +5 -0
  206. package/lib/types/controllers/sheet-transform/algorithms/remove-row/update-data-validation.algo.d.ts +5 -0
  207. package/lib/types/controllers/sheet-transform/algorithms/remove-sheets-filter/remove-sheets-filter.algo.d.ts +4 -0
  208. package/lib/types/controllers/sheet-transform/algorithms/remove-sheets-filter/set-sheets-filter-range.algo.d.ts +4 -0
  209. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/__tests__/add-worksheet-merge.algo.spec.d.ts +1 -0
  210. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/__tests__/insert-col.algo.spec.d.ts +1 -0
  211. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/__tests__/insert-row.algo.spec.d.ts +1 -0
  212. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/add-worksheet-merge.algo.d.ts +4 -0
  213. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/insert-col.algo.d.ts +4 -0
  214. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/insert-row.algo.d.ts +4 -0
  215. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/move-col.algo.d.ts +4 -0
  216. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/move-row.algo.d.ts +4 -0
  217. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/remove-col.algo.d.ts +4 -0
  218. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/remove-row.algo.d.ts +4 -0
  219. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/set-selection.algo.d.ts +4 -0
  220. package/lib/types/controllers/sheet-transform/algorithms/set-conditional-formatting-rule/__test__/set-conditional-formatting-rule.algo.spec.d.ts +1 -0
  221. package/lib/types/controllers/sheet-transform/algorithms/set-conditional-formatting-rule/set-conditional-formatting-rule.algo.d.ts +4 -0
  222. package/lib/types/controllers/sheet-transform/algorithms/set-frozen/__test__/set-frozen.algo.spec.d.ts +1 -0
  223. package/lib/types/controllers/sheet-transform/algorithms/set-frozen/set-frozen.algo.d.ts +4 -0
  224. package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/__test__/set-numfmt.algo.spec.d.ts +1 -0
  225. package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/remove-numfmt.algo.d.ts +4 -0
  226. package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/set-numfmt.algo.d.ts +4 -0
  227. package/lib/types/controllers/sheet-transform/algorithms/set-range-values/__test__/set-range-valuea.algo.spec.d.ts +1 -0
  228. package/lib/types/controllers/sheet-transform/algorithms/set-range-values/add-worksheet-merge.algo.d.ts +4 -0
  229. package/lib/types/controllers/sheet-transform/algorithms/set-range-values/move-range.algo.d.ts +4 -0
  230. package/lib/types/controllers/sheet-transform/algorithms/set-range-values/set-range-values.algo.d.ts +4 -0
  231. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/move-range.algo.d.ts +5 -0
  232. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/remove-sheets-filter.algo.d.ts +4 -0
  233. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/set-range-values.algo.d.ts +5 -0
  234. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/set-sheets-filter-criteria.algo.d.ts +4 -0
  235. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-range/remove-sheets-filter.algo.d.ts +4 -0
  236. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-range/set-sheets-filter-range.algo.d.ts +4 -0
  237. package/lib/types/controllers/sheet-transform/algorithms/set-tab-color/__test__/set-tab-color.algo.spec.d.ts +1 -0
  238. package/lib/types/controllers/sheet-transform/algorithms/set-tab-color/set-tab-color.algo.d.ts +4 -0
  239. package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-col-width/set-worksheet-col-width.algo.d.ts +4 -0
  240. package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-name/set-worksheet-name.algo.d.ts +4 -0
  241. package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/__test__/add-data-validation.algo.spec.d.ts +1 -0
  242. package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/__test__/remove-data-validation.algo.spec.d.ts +1 -0
  243. package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/__test__/update-data-validation.algo.spec.d.ts +1 -0
  244. package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/add-data-validation.algo.d.ts +4 -0
  245. package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/remove-data-validation.algo.d.ts +4 -0
  246. package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/update-data-validation.algo.d.ts +4 -0
  247. package/lib/types/controllers/sheet-transform/algorithms/utils.d.ts +29 -0
  248. package/lib/types/controllers/sheet-transform/algorithms/worksheet/__tests__/add-worksheet-merge.algo.spec.d.ts +1 -0
  249. package/lib/types/controllers/sheet-transform/algorithms/worksheet/__tests__/remove-worksheet-merge.algo.spec.d.ts +1 -0
  250. package/lib/types/controllers/sheet-transform/algorithms/worksheet/__tests__/worksheet.algo.spec.d.ts +1 -0
  251. package/lib/types/controllers/sheet-transform/algorithms/worksheet/add-worksheet-merge.algo.d.ts +3 -0
  252. package/lib/types/controllers/sheet-transform/algorithms/worksheet/remove-worksheet-merge.algo.d.ts +3 -0
  253. package/lib/types/controllers/sheet-transform/algorithms/worksheet/worksheet.algo.d.ts +9 -0
  254. package/lib/types/controllers/sheet-transform/sheet-transform.controller.d.ts +10 -0
  255. package/lib/types/index.d.ts +12 -0
  256. package/lib/types/models/changeset.d.ts +16 -0
  257. package/lib/types/models/collaboration-events.d.ts +211 -0
  258. package/lib/types/models/socket-events.d.ts +54 -0
  259. package/lib/types/plugin.d.ts +12 -0
  260. package/lib/types/services/compose-changesets/compose-changesets.service.d.ts +6 -0
  261. package/lib/types/services/compress-mutation/compress-mutation-service.d.ts +20 -0
  262. package/lib/types/services/compress-mutation/compress-mutations/__test__/set-range-values.spec.d.ts +16 -0
  263. package/lib/types/services/compress-mutation/compress-mutations/set-range-values.d.ts +14 -0
  264. package/lib/types/services/rev/__tests__/rev.service.spec.d.ts +20 -0
  265. package/lib/types/services/rev/rev.service.d.ts +23 -0
  266. package/lib/types/services/snapshot/__tests__/snapshot.service.spec.d.ts +12 -0
  267. package/lib/types/services/snapshot/snapshot.service.d.ts +22 -0
  268. package/lib/types/services/transform/__tests__/doc.transform.service.spec.d.ts +1 -0
  269. package/lib/types/services/transform/__tests__/transform.service.spec.d.ts +1 -0
  270. package/lib/types/services/transform/transform.service.d.ts +115 -0
  271. package/lib/types/services/transform/types.d.ts +48 -0
  272. package/lib/types/utils.d.ts +4 -0
  273. package/lib/umd/index.js +1 -0
  274. package/package.json +79 -0
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../services/transform/transform.service';
2
+
3
+ export declare const RichTextEditingMutationWithSelf: IMutationTransformAlgorithm;
4
+ export declare const DocAlgorithms: Array<IMutationTransformAlgorithm<any, any>>;
@@ -0,0 +1,10 @@
1
+ import { ITransformService } from '../../services/transform/transform.service';
2
+ import { Disposable } from '@univerjs/core';
3
+
4
+ /**
5
+ * This controller register sheet transform algorithms to the transform service.
6
+ */
7
+ export declare class DocTransformController extends Disposable {
8
+ private readonly _transformService;
9
+ constructor(_transformService: ITransformService);
10
+ }
@@ -0,0 +1,34 @@
1
+ import { TextXAction, TextX } from '@univerjs/core';
2
+
3
+ export declare class TextXPro extends TextX {
4
+ /**
5
+ * |(this↓ \| other→) | **insert** | **retain** | **delete** |
6
+ * | ---------------- | ---------- | ---------- | ---------- |
7
+ * | **insert** | Case 1 | Case 2 | Case 2 |
8
+ * | **retain** | Case 1 | Case 5 | Case 4 |
9
+ * | **delete** | Case 1 | Case 3 | Case 3 |
10
+ *
11
+ * Case 1: When the other action type is an insert operation,
12
+ * the insert operation is retained regardless of the type of action this action
13
+ * Case 2: When this action type is an insert operation and the other action type is a
14
+ * non-insert operation, you need to retain the length of this action insert
15
+ * Case 3: When this action is a delete operation, there are two scenarios:
16
+ * 1) When other is a delete operation, since it is a delete operation, this has
17
+ * already been deleted, so the target does not need to be in delete, and it can
18
+ * be continued directly
19
+ * 2) When other is the retain operation, although this action delete occurs first,
20
+ * the delete priority is higher, so the delete operation is retained, and the origin
21
+ * delete has been applied, so it is directly continued
22
+ * Case 4: other is the delete operation, this is the retain operation, and the target delete operation
23
+ * is kept
24
+ * Case 5: When both other and this are retain operations
25
+ * 1) If the other body attribute does not exist, directly retain length
26
+ * 2) If the other body property exists, then execute the TransformBody logic to override it
27
+ */
28
+ static transform(thisActions: TextXAction[], otherActions: TextXAction[], priority?: boolean): TextXAction[];
29
+ /**
30
+ * Used to transform selection. Why not named transformSelection?
31
+ * Because Univer Doc supports multiple Selections in one document, user need to encapsulate transformSelections at the application layer.
32
+ */
33
+ static transformPosition(thisActions: TextXAction[], index: number, priority?: boolean): number;
34
+ }
@@ -0,0 +1,3 @@
1
+ import { IDocumentBody, IRetainAction } from '@univerjs/core';
2
+
3
+ export declare function transformBody(thisAction: IRetainAction, otherAction: IRetainAction, priority?: boolean): IDocumentBody;
@@ -0,0 +1,19 @@
1
+ import { IMutationTransformAlgorithm, TransformService } from '../../../../services/transform/transform.service';
2
+ import { Dependency } from '@wendellhu/redi';
3
+ import { ICommand, ICommandInfo, IMutationInfo, IWorkbookData, Univer } from '@univerjs/core';
4
+
5
+ export declare const TEST_WORKBOOK_DATA_DEMO: () => IWorkbookData;
6
+ export declare function createTransformTestBed(algorithms: IMutationTransformAlgorithm[]): TransformService;
7
+ export declare function createTransformTestUniver(algorithms: IMutationTransformAlgorithm[], dependencies?: Dependency[], workbookData?: IWorkbookData): {
8
+ univer: Univer;
9
+ get: {
10
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp | undefined): T;
11
+ <T_1>(id: import('@wendellhu/redi').DependencyIdentifier<T_1>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_1[];
12
+ <T_2>(id: import('@wendellhu/redi').DependencyIdentifier<T_2>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_2 | null;
13
+ <T_3>(id: import('@wendellhu/redi').DependencyIdentifier<T_3>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_3;
14
+ <T_4>(id: import('@wendellhu/redi').DependencyIdentifier<T_4>, quantity?: import('@wendellhu/redi').Quantity | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_4 | T_4[] | null;
15
+ <T_5>(id: import('@wendellhu/redi').DependencyIdentifier<T_5>, quantityOrLookup?: import('@wendellhu/redi').Quantity | import('@wendellhu/redi').LookUp | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_5 | T_5[] | null;
16
+ };
17
+ transformService: TransformService;
18
+ };
19
+ export declare const getMutations: (commands: ICommand[], commandInfo: ICommandInfo, dependencies?: Dependency[], workbookData?: IWorkbookData) => Promise<IMutationInfo<object>[]>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IAddConditionalRuleMutationParams } from '@univerjs/sheets-conditional-formatting';
3
+
4
+ export declare const addConditionalFormattingRuleMutationWithSelf: IMutationTransformAlgorithm<IAddConditionalRuleMutationParams, IAddConditionalRuleMutationParams>;
@@ -0,0 +1,14 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../../services/transform/transform.service';
2
+
3
+ export declare function createDataValidationTestBed(transform: IMutationTransformAlgorithm): {
4
+ univer: import('@univerjs/core').Univer;
5
+ get: {
6
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp | undefined): T;
7
+ <T_1>(id: import('@wendellhu/redi').DependencyIdentifier<T_1>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_1[];
8
+ <T_2>(id: import('@wendellhu/redi').DependencyIdentifier<T_2>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_2 | null;
9
+ <T_3>(id: import('@wendellhu/redi').DependencyIdentifier<T_3>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_3;
10
+ <T_4>(id: import('@wendellhu/redi').DependencyIdentifier<T_4>, quantity?: import('@wendellhu/redi').Quantity | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_4 | T_4[] | null;
11
+ <T_5>(id: import('@wendellhu/redi').DependencyIdentifier<T_5>, quantityOrLookup?: import('@wendellhu/redi').Quantity | import('@wendellhu/redi').LookUp | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_5 | T_5[] | null;
12
+ };
13
+ transformService: import('../../../../../services/transform/transform.service').TransformService;
14
+ };
@@ -0,0 +1,16 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IDataValidationRule, IMutationInfo } from '@univerjs/core';
3
+ import { IAddDataValidationMutationParams, IRemoveDataValidationMutationParams, IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
4
+
5
+ export declare function applyAddMutationTransform(unitId: string, subUnitId: string, origin: IDataValidationRule[], patch: IDataValidationRule[]): IMutationInfo<IRemoveDataValidationMutationParams | IUpdateDataValidationMutationParams>[];
6
+ export declare function mergeAddMutation(m1: IMutationInfo<IAddDataValidationMutationParams>, mutations: (IMutationInfo<IRemoveDataValidationMutationParams> | IMutationInfo<IUpdateDataValidationMutationParams>)[]): {
7
+ params: {
8
+ rule: IDataValidationRule[];
9
+ index?: number | undefined;
10
+ unitId: string;
11
+ subUnitId: string;
12
+ };
13
+ id: string;
14
+ type?: import("@univerjs/core").CommandType.MUTATION | undefined;
15
+ }[];
16
+ export declare const addDataValidationMutationWithSelf: IMutationTransformAlgorithm<IAddDataValidationMutationParams, IAddDataValidationMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IAddDataValidationMutationParams, IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
3
+
4
+ export declare const addDataValidationMutationWithUpdate: IMutationTransformAlgorithm<IAddDataValidationMutationParams, IUpdateDataValidationMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IAddWorksheetMergeMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const addWorksheetMergeMutationWithSelf: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IAddWorksheetMergeMutationParams>;
@@ -0,0 +1,6 @@
1
+ import { IMutationTransformAlgorithm } from '../../../..';
2
+ import { IMutationInfo } from '@univerjs/core';
3
+ import { IAddWorksheetMergeMutationParams, IInsertColMutationParams, IInsertRowMutationParams, IMoveRangeMutationParams, IRemoveColMutationParams, IRemoveRowsMutationParams, IRemoveWorksheetMergeMutationParams } from '@univerjs/sheets';
4
+
5
+ export type IMutationInfoArrWithMergeAndRowCol = Array<IMutationInfo<IInsertRowMutationParams> | IMutationInfo<IInsertColMutationParams> | IMutationInfo<IRemoveRowsMutationParams> | IMutationInfo<IRemoveColMutationParams> | IMutationInfo<IAddWorksheetMergeMutationParams> | IMutationInfo<IRemoveWorksheetMergeMutationParams> | IMutationInfo<IMoveRangeMutationParams>>;
6
+ export declare const addWorksheetMergeMutationWithInsertColMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IInsertColMutationParams>;
@@ -0,0 +1,6 @@
1
+ import { IMutationTransformAlgorithm } from '../../../..';
2
+ import { IMutationInfo } from '@univerjs/core';
3
+ import { IAddWorksheetMergeMutationParams, IInsertColMutationParams, IInsertRowMutationParams, IRemoveColMutationParams, IRemoveRowsMutationParams, IRemoveWorksheetMergeMutationParams } from '@univerjs/sheets';
4
+
5
+ export type IMutationInfoArrWithMergeAndRowCol = Array<IMutationInfo<IInsertRowMutationParams> | IMutationInfo<IInsertColMutationParams> | IMutationInfo<IRemoveRowsMutationParams> | IMutationInfo<IRemoveColMutationParams> | IMutationInfo<IAddWorksheetMergeMutationParams> | IMutationInfo<IRemoveWorksheetMergeMutationParams>>;
6
+ export declare const addWorksheetMergeMutationWithInsertRowMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IInsertRowMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../..';
2
+ import { IAddWorksheetMergeMutationParams, IMoveColumnsMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const addWorksheetMergeMutationWithMoveColMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IMoveColumnsMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../..';
2
+ import { IAddWorksheetMergeMutationParams, IMoveRangeMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const addWorksheetMergeMutationWithMoveRangeMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IMoveRangeMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../..';
2
+ import { IAddWorksheetMergeMutationParams, IMoveRowsMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const addWorksheetMergeMutationWithMoveRowMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IMoveRowsMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../..';
2
+ import { IAddWorksheetMergeMutationParams, IRemoveColMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const addWorksheetMergeMutationWithRemoveColMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IRemoveColMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../..';
2
+ import { IAddWorksheetMergeMutationParams, IRemoveRowsMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const addWorksheetMergeMutationWithRemoveRowMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IRemoveRowsMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../..';
2
+ import { IAddWorksheetMergeMutationParams, IRemoveWorksheetMergeMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const addWorksheetMergeMutationWithRemoveWorksheetMergeMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IRemoveWorksheetMergeMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../..';
2
+ import { IAddWorksheetMergeMutationParams, ISetRangeValuesMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const addWorksheetMergeMutationWithSetRangeValues: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, ISetRangeValuesMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IAddWorksheetMergeMutationParams, ISetSelectionsOperationParams } from '@univerjs/sheets';
3
+
4
+ export declare const addWorksheetMergeMutationWithSetSelection: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, ISetSelectionsOperationParams>;
@@ -0,0 +1,3 @@
1
+ import { IRange } from '@univerjs/core';
2
+
3
+ export declare function isMergeCell(range: IRange): boolean;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IDeleteConditionalRuleMutationParams } from '@univerjs/sheets-conditional-formatting';
3
+
4
+ export declare const deleteConditionalFormattingRuleMutationWithSelf: IMutationTransformAlgorithm<IDeleteConditionalRuleMutationParams, IDeleteConditionalRuleMutationParams>;
@@ -0,0 +1,5 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertColMutationParams } from '@univerjs/sheets';
3
+ import { IAddDataValidationMutationParams } from '@univerjs/data-validation';
4
+
5
+ export declare const insertColMutationWithAddDataValidation: IMutationTransformAlgorithm<IInsertColMutationParams, IAddDataValidationMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IAddWorksheetMergeMutationParams, IInsertColMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertColMutationWithAddMerge: IMutationTransformAlgorithm<IInsertColMutationParams, IAddWorksheetMergeMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertColMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertColMutationWithSelf: IMutationTransformAlgorithm<IInsertColMutationParams, IInsertColMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertColMutationParams, IMoveColumnsMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertColMutationWithMoveCol: IMutationTransformAlgorithm<IInsertColMutationParams, IMoveColumnsMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertColMutationParams, IMoveRangeMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertColMutationWithMoveRange: IMutationTransformAlgorithm<IInsertColMutationParams, IMoveRangeMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertColMutationParams, IRemoveColMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertColMutationWithRemoveCol: IMutationTransformAlgorithm<IInsertColMutationParams, IRemoveColMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertColMutationParams, IRemoveNumfmtMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertColMutationWithRemoveNumfmt: IMutationTransformAlgorithm<IInsertColMutationParams, IRemoveNumfmtMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertColMutationParams, IRemoveWorksheetMergeMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertColMutationWithRemoveWorksheetMergeMutation: IMutationTransformAlgorithm<IInsertColMutationParams, IRemoveWorksheetMergeMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertColMutationParams, ISetColHiddenMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertColMutationWithSetColHidden: IMutationTransformAlgorithm<IInsertColMutationParams, ISetColHiddenMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertColMutationParams, ISetColVisibleMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertColMutationWithSetColVisible: IMutationTransformAlgorithm<IInsertColMutationParams, ISetColVisibleMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertColMutationParams, ISetNumfmtMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertColMutationWithSetNumfmt: IMutationTransformAlgorithm<IInsertColMutationParams, ISetNumfmtMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertColMutationParams, ISetRangeValuesMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertColMutationWithSetRangeValues: IMutationTransformAlgorithm<IInsertColMutationParams, ISetRangeValuesMutationParams>;
@@ -0,0 +1,8 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertColMutationParams, ISetSelectionsOperationParams } from '@univerjs/sheets';
3
+
4
+ /**
5
+ * The selection transform is a special case of mutation transform which only used at local.
6
+ * In this case, we only need m2Prime to change current selections.
7
+ */
8
+ export declare const insertColMutationWithSetSelection: IMutationTransformAlgorithm<IInsertColMutationParams, ISetSelectionsOperationParams>;
@@ -0,0 +1,5 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { ISetSheetsFilterCriteriaMutationParams } from '@univerjs/sheets-filter';
3
+ import { IInsertColMutationParams } from '@univerjs/sheets';
4
+
5
+ export declare const insertColMutationWithSetSheetsFilterCriteria: IMutationTransformAlgorithm<IInsertColMutationParams, ISetSheetsFilterCriteriaMutationParams>;
@@ -0,0 +1,5 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { ISetSheetsFilterRangeMutationParams } from '@univerjs/sheets-filter';
3
+ import { IInsertColMutationParams } from '@univerjs/sheets';
4
+
5
+ export declare const insertColMutationWithSetSheetsFilterRange: IMutationTransformAlgorithm<IInsertColMutationParams, ISetSheetsFilterRangeMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertColMutationParams, ISetWorksheetColWidthMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertColMutationWithSetWorksheetColWidth: IMutationTransformAlgorithm<IInsertColMutationParams, ISetWorksheetColWidthMutationParams>;
@@ -0,0 +1,5 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertColMutationParams } from '@univerjs/sheets';
3
+ import { IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
4
+
5
+ export declare const insertColMutationWithUpdateDataValidation: IMutationTransformAlgorithm<IInsertColMutationParams, IUpdateDataValidationMutationParams>;
@@ -0,0 +1,5 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertRowMutationParams } from '@univerjs/sheets';
3
+ import { IAddDataValidationMutationParams } from '@univerjs/data-validation';
4
+
5
+ export declare const insertRowMutationWithAddDataValidation: IMutationTransformAlgorithm<IInsertRowMutationParams, IAddDataValidationMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IAddWorksheetMergeMutationParams, IInsertRowMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertRowMutationWithAddMerge: IMutationTransformAlgorithm<IInsertRowMutationParams, IAddWorksheetMergeMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertRowMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertRowMutationWithSelf: IMutationTransformAlgorithm<IInsertRowMutationParams, IInsertRowMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertRowMutationParams, IMoveRangeMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertRowMutationWithMoveRange: IMutationTransformAlgorithm<IInsertRowMutationParams, IMoveRangeMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertRowMutationParams, IMoveRowsMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertRowMutationWithMoveRow: IMutationTransformAlgorithm<IInsertRowMutationParams, IMoveRowsMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertRowMutationParams, IRemoveNumfmtMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertRowMutationWithRemoveNumfmt: IMutationTransformAlgorithm<IInsertRowMutationParams, IRemoveNumfmtMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertRowMutationParams, IRemoveRowsMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertRowMutationWithRemoveRow: IMutationTransformAlgorithm<IInsertRowMutationParams, IRemoveRowsMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertRowMutationParams, IRemoveWorksheetMergeMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertRowMutationWithRemoveWorksheetMergeMutation: IMutationTransformAlgorithm<IInsertRowMutationParams, IRemoveWorksheetMergeMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertRowMutationParams, ISetNumfmtMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertRowMutationWithSetNumfmt: IMutationTransformAlgorithm<IInsertRowMutationParams, ISetNumfmtMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertRowMutationParams, ISetRangeValuesMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertRowMutationWithSetRangeValues: IMutationTransformAlgorithm<IInsertRowMutationParams, ISetRangeValuesMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertRowMutationParams, ISetRowHiddenMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertRowMutationWithSetRowHidden: IMutationTransformAlgorithm<IInsertRowMutationParams, ISetRowHiddenMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertRowMutationParams, ISetRowVisibleMutationParams } from '@univerjs/sheets';
3
+
4
+ export declare const insertRowMutationWithSetRowVisible: IMutationTransformAlgorithm<IInsertRowMutationParams, ISetRowVisibleMutationParams>;
@@ -0,0 +1,8 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertRowMutationParams, ISetSelectionsOperationParams } from '@univerjs/sheets';
3
+
4
+ /**
5
+ * The selection transform is a special case of mutation transform which only used at local.
6
+ * In this case, we only need m2Prime to change current selections.
7
+ */
8
+ export declare const insertRowMutationWithSetSelection: IMutationTransformAlgorithm<IInsertRowMutationParams, ISetSelectionsOperationParams>;
@@ -0,0 +1,5 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { ISetSheetsFilterRangeMutationParams } from '@univerjs/sheets-filter';
3
+ import { IInsertRowMutationParams } from '@univerjs/sheets';
4
+
5
+ export declare const insertRowMutationWithSetSheetsFilterRange: IMutationTransformAlgorithm<IInsertRowMutationParams, ISetSheetsFilterRangeMutationParams>;
@@ -0,0 +1,5 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
+ import { IInsertRowMutationParams } from '@univerjs/sheets';
3
+ import { IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
4
+
5
+ export declare const insertRowMutationWithUpdateDataValidation: IMutationTransformAlgorithm<IInsertRowMutationParams, IUpdateDataValidationMutationParams>;