@univerjs-pro/collaboration 0.1.10 → 0.1.12

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 (183) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/es/index.js +1 -1
  3. package/lib/types/controllers/doc-transform/doc-transform.controller.d.ts +1 -1
  4. package/lib/types/controllers/sheet-transform/algorithms/__tests__/transform-test-bed.d.ts +2 -2
  5. package/lib/types/controllers/sheet-transform/algorithms/add-comment/__test__/add-comment.algo.spec.d.ts +1 -0
  6. package/lib/types/controllers/sheet-transform/algorithms/add-comment/__test__/util.d.ts +14 -0
  7. package/lib/types/controllers/sheet-transform/algorithms/add-comment/add-comment.algo.d.ts +4 -0
  8. package/lib/types/controllers/sheet-transform/algorithms/add-conditional-rule/add-conditional-formatting-rule.algo.d.ts +1 -1
  9. package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/add-data-validation.algo.d.ts +2 -2
  10. package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/update-data-validation.algo.d.ts +1 -1
  11. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/add-worksheet-merge.algo.d.ts +1 -1
  12. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-col.algo.d.ts +2 -2
  13. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-row.algo.d.ts +2 -2
  14. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-col.algo.d.ts +1 -1
  15. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-range.algo.d.ts +1 -1
  16. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-row.algo.d.ts +1 -1
  17. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-col.algo.d.ts +1 -1
  18. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-row.algo.d.ts +1 -1
  19. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-worksheet-merge.algo.d.ts +1 -1
  20. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-range-values.algo.d.ts +1 -1
  21. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-selection.algo.d.ts +1 -1
  22. package/lib/types/controllers/sheet-transform/algorithms/delete-comment/add-comment.algo.d.ts +4 -0
  23. package/lib/types/controllers/sheet-transform/algorithms/delete-comment/delete-comment.algo.d.ts +4 -0
  24. package/lib/types/controllers/sheet-transform/algorithms/delete-conditional-formatting-rule/delete-conditional-formatting-rule.algo.d.ts +1 -1
  25. package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-comment.algo.d.ts +18 -0
  26. package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-data-validation.algo.d.ts +2 -2
  27. package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-worksheet-merge.algo.d.ts +1 -1
  28. package/lib/types/controllers/sheet-transform/algorithms/insert-col/insert-col.algo.d.ts +1 -1
  29. package/lib/types/controllers/sheet-transform/algorithms/insert-col/move-col.algo.d.ts +1 -1
  30. package/lib/types/controllers/sheet-transform/algorithms/insert-col/move-range.algo.d.ts +1 -1
  31. package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-col.algo.d.ts +1 -1
  32. package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-numfmt.algo.d.ts +1 -1
  33. package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-worksheet-merge.algo.d.ts +1 -1
  34. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-hidden.algo.d.ts +1 -1
  35. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-visible.algo.d.ts +1 -1
  36. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-numfmt.algo.d.ts +1 -1
  37. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-range-values.algo.d.ts +1 -1
  38. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-selection.algo.d.ts +1 -1
  39. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-sheets-filter-criteria.algo.d.ts +2 -2
  40. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-sheets-filter-range.algo.d.ts +2 -2
  41. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-worksheet-col-width.algo.d.ts +1 -1
  42. package/lib/types/controllers/sheet-transform/algorithms/insert-col/update-comment-ref.algo.d.ts +19 -0
  43. package/lib/types/controllers/sheet-transform/algorithms/insert-col/update-data-validation.algo.d.ts +2 -2
  44. package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-comment.algo.d.ts +5 -0
  45. package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-data-validation.algo.d.ts +2 -2
  46. package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-worksheet-merge.algo.d.ts +1 -1
  47. package/lib/types/controllers/sheet-transform/algorithms/insert-row/insert-row.algo.d.ts +1 -1
  48. package/lib/types/controllers/sheet-transform/algorithms/insert-row/move-range.algo.d.ts +1 -1
  49. package/lib/types/controllers/sheet-transform/algorithms/insert-row/move-row.algo.d.ts +1 -1
  50. package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-numfmt.algo.d.ts +1 -1
  51. package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-row.algo.d.ts +1 -1
  52. package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-worksheet-merge.algo.d.ts +1 -1
  53. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-numfmt.algo.d.ts +1 -1
  54. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-range-values.algo.d.ts +1 -1
  55. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-hidden.algo.d.ts +1 -1
  56. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-visible.algo.d.ts +1 -1
  57. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-selection.algo.d.ts +1 -1
  58. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-sheets-filter-range.algo.d.ts +2 -2
  59. package/lib/types/controllers/sheet-transform/algorithms/insert-row/update-comment-ref.algo.d.ts +5 -0
  60. package/lib/types/controllers/sheet-transform/algorithms/insert-row/update-data-validation.algo.d.ts +2 -2
  61. package/lib/types/controllers/sheet-transform/algorithms/move-col/add-comment.algo.d.ts +5 -0
  62. package/lib/types/controllers/sheet-transform/algorithms/move-col/add-data-validation.algo.d.ts +3 -3
  63. package/lib/types/controllers/sheet-transform/algorithms/move-col/add-worksheet-merge.algo.d.ts +1 -1
  64. package/lib/types/controllers/sheet-transform/algorithms/move-col/move-col.algo.d.ts +1 -1
  65. package/lib/types/controllers/sheet-transform/algorithms/move-col/move-range.algo.d.ts +1 -1
  66. package/lib/types/controllers/sheet-transform/algorithms/move-col/remove-numfmt.algo.d.ts +1 -1
  67. package/lib/types/controllers/sheet-transform/algorithms/move-col/remove-worksheet-merge.algo.d.ts +1 -1
  68. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-hidden.algo.d.ts +1 -1
  69. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-visible.algo.d.ts +1 -1
  70. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-numfmt.algo.d.ts +1 -1
  71. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-range-values.algo.d.ts +1 -1
  72. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-selection.algo.d.ts +1 -1
  73. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-sheets-filter-criteria.algo.d.ts +2 -2
  74. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-sheets-filter-range.algo.d.ts +2 -2
  75. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-worksheet-col-width.algo.d.ts +1 -1
  76. package/lib/types/controllers/sheet-transform/algorithms/move-col/update-comment-ref.algo.d.ts +5 -0
  77. package/lib/types/controllers/sheet-transform/algorithms/move-col/update-data-validation.algo.d.ts +3 -3
  78. package/lib/types/controllers/sheet-transform/algorithms/move-conditional-formatting-rule/move-conditional-formatting-rule.algo.d.ts +1 -1
  79. package/lib/types/controllers/sheet-transform/algorithms/move-range/add-comment.algo.d.ts +5 -0
  80. package/lib/types/controllers/sheet-transform/algorithms/move-range/add-data-validation.algo.d.ts +2 -2
  81. package/lib/types/controllers/sheet-transform/algorithms/move-range/add-worksheet-merge.algo.d.ts +1 -1
  82. package/lib/types/controllers/sheet-transform/algorithms/move-range/move-range.algo.d.ts +1 -1
  83. package/lib/types/controllers/sheet-transform/algorithms/move-range/remove-numfmt.algo.d.ts +1 -1
  84. package/lib/types/controllers/sheet-transform/algorithms/move-range/set-numfmt.algo.d.ts +1 -1
  85. package/lib/types/controllers/sheet-transform/algorithms/move-range/update-comment-ref.algo.d.ts +5 -0
  86. package/lib/types/controllers/sheet-transform/algorithms/move-row/add-comment.algo.d.ts +5 -0
  87. package/lib/types/controllers/sheet-transform/algorithms/move-row/add-data-validation.algo.d.ts +2 -2
  88. package/lib/types/controllers/sheet-transform/algorithms/move-row/add-worksheet-merge.algo.d.ts +1 -1
  89. package/lib/types/controllers/sheet-transform/algorithms/move-row/move-range.algo.d.ts +1 -1
  90. package/lib/types/controllers/sheet-transform/algorithms/move-row/move-row.algo.d.ts +1 -1
  91. package/lib/types/controllers/sheet-transform/algorithms/move-row/remove-numfmt.algo.d.ts +1 -1
  92. package/lib/types/controllers/sheet-transform/algorithms/move-row/remove-worksheet-merge.algo.d.ts +1 -1
  93. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-numfmt.algo.d.ts +1 -1
  94. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-range-values.algo.d.ts +1 -1
  95. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-hidden.algo.d.ts +1 -1
  96. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-visible.algo.d.ts +1 -1
  97. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-selection.algo.d.ts +1 -1
  98. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-sheets-filter-range.algo.d.ts +2 -2
  99. package/lib/types/controllers/sheet-transform/algorithms/move-row/update-comment-ref.algo.d.ts +5 -0
  100. package/lib/types/controllers/sheet-transform/algorithms/move-row/update-data-validation.algo.d.ts +2 -2
  101. package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-comment.algo.d.ts +5 -0
  102. package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-data-validation.algo.d.ts +2 -2
  103. package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-worksheet-merge.algo.d.ts +1 -1
  104. package/lib/types/controllers/sheet-transform/algorithms/remove-col/move-col.algo.d.ts +1 -1
  105. package/lib/types/controllers/sheet-transform/algorithms/remove-col/move-range.algo.d.ts +1 -1
  106. package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-col.algo.d.ts +1 -1
  107. package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-numfmt.algo.d.ts +1 -1
  108. package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-worksheet-merge.algo.d.ts +1 -1
  109. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-hidden.algo.d.ts +1 -1
  110. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-visible.algo.d.ts +1 -1
  111. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-numfmt.algo.d.ts +1 -1
  112. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-range-values.algo.d.ts +1 -1
  113. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-selection.algo.d.ts +1 -1
  114. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-sheets-filter-criteria.algo.d.ts +2 -2
  115. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-sheets-filter-range.algo.d.ts +2 -2
  116. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-worksheet-col-width.algo.d.ts +1 -1
  117. package/lib/types/controllers/sheet-transform/algorithms/remove-col/update-comment-ref.algo.d.ts +5 -0
  118. package/lib/types/controllers/sheet-transform/algorithms/remove-col/update-data-validation.algo.d.ts +2 -2
  119. package/lib/types/controllers/sheet-transform/algorithms/remove-data-validation/remove-data-validation.algo.d.ts +1 -1
  120. package/lib/types/controllers/sheet-transform/algorithms/remove-numfmt/remove-numfmt.algo.d.ts +1 -1
  121. package/lib/types/controllers/sheet-transform/algorithms/remove-numfmt/set-numfmt.algo.d.ts +1 -1
  122. package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-comment.algo.d.ts +5 -0
  123. package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-data-validation.algo.d.ts +2 -2
  124. package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-worksheet-merge.algo.d.ts +1 -1
  125. package/lib/types/controllers/sheet-transform/algorithms/remove-row/move-range.algo.d.ts +1 -1
  126. package/lib/types/controllers/sheet-transform/algorithms/remove-row/move-row.algo.d.ts +1 -1
  127. package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-numfmt.algo.d.ts +1 -1
  128. package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-row.algo.d.ts +1 -1
  129. package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-worksheet-merge.algo.d.ts +1 -1
  130. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-numfmt.algo.d.ts +1 -1
  131. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-range-values.algo.d.ts +1 -1
  132. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-hidden.algo.d.ts +1 -1
  133. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-visible.algo.d.ts +1 -1
  134. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-selection.algo.d.ts +1 -1
  135. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-sheets-filter-range.algo.d.ts +2 -2
  136. package/lib/types/controllers/sheet-transform/algorithms/remove-row/update-comment-ref.algo.d.ts +5 -0
  137. package/lib/types/controllers/sheet-transform/algorithms/remove-row/update-data-validation.algo.d.ts +2 -2
  138. package/lib/types/controllers/sheet-transform/algorithms/remove-sheets-filter/remove-sheets-filter.algo.d.ts +1 -1
  139. package/lib/types/controllers/sheet-transform/algorithms/remove-sheets-filter/set-sheets-filter-range.algo.d.ts +1 -1
  140. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/add-worksheet-merge.algo.d.ts +1 -1
  141. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/insert-col.algo.d.ts +1 -1
  142. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/insert-row.algo.d.ts +1 -1
  143. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/move-col.algo.d.ts +1 -1
  144. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/move-row.algo.d.ts +1 -1
  145. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/remove-col.algo.d.ts +1 -1
  146. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/remove-row.algo.d.ts +1 -1
  147. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/set-selection.algo.d.ts +1 -1
  148. package/lib/types/controllers/sheet-transform/algorithms/set-conditional-formatting-rule/set-conditional-formatting-rule.algo.d.ts +1 -1
  149. package/lib/types/controllers/sheet-transform/algorithms/set-frozen/set-frozen.algo.d.ts +1 -1
  150. package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/remove-numfmt.algo.d.ts +1 -1
  151. package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/set-numfmt.algo.d.ts +1 -1
  152. package/lib/types/controllers/sheet-transform/algorithms/set-range-values/add-worksheet-merge.algo.d.ts +1 -1
  153. package/lib/types/controllers/sheet-transform/algorithms/set-range-values/move-range.algo.d.ts +1 -1
  154. package/lib/types/controllers/sheet-transform/algorithms/set-range-values/set-range-values.algo.d.ts +1 -1
  155. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/move-range.algo.d.ts +2 -2
  156. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/remove-sheets-filter.algo.d.ts +1 -1
  157. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/set-range-values.algo.d.ts +2 -2
  158. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/set-sheets-filter-criteria.algo.d.ts +1 -1
  159. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-range/remove-sheets-filter.algo.d.ts +1 -1
  160. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-range/set-sheets-filter-range.algo.d.ts +1 -1
  161. package/lib/types/controllers/sheet-transform/algorithms/set-tab-color/set-tab-color.algo.d.ts +1 -1
  162. package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-col-width/set-worksheet-col-width.algo.d.ts +1 -1
  163. package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-name/set-worksheet-name.algo.d.ts +1 -1
  164. package/lib/types/controllers/sheet-transform/algorithms/update-comment/update-comment.algo.d.ts +4 -0
  165. package/lib/types/controllers/sheet-transform/algorithms/update-comment-ref/update-comment-ref.algo.d.ts +4 -0
  166. package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/add-data-validation.algo.d.ts +1 -1
  167. package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/remove-data-validation.algo.d.ts +1 -1
  168. package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/update-data-validation.algo.d.ts +1 -1
  169. package/lib/types/controllers/sheet-transform/algorithms/worksheet/worksheet.algo.d.ts +1 -1
  170. package/lib/types/controllers/sheet-transform/sheet-transform.controller.d.ts +1 -1
  171. package/lib/types/models/changeset.d.ts +1 -1
  172. package/lib/types/models/collaboration-events.d.ts +1 -1
  173. package/lib/types/models/socket-events.d.ts +1 -1
  174. package/lib/types/plugin.d.ts +1 -1
  175. package/lib/types/services/compose-changesets/compose-changesets.service.d.ts +1 -1
  176. package/lib/types/services/rev/__tests__/rev.service.spec.d.ts +1 -1
  177. package/lib/types/services/snapshot/__tests__/snapshot.service.spec.d.ts +1 -1
  178. package/lib/types/services/snapshot/snapshot.service.d.ts +3 -3
  179. package/lib/types/services/transform/transform.service.d.ts +2 -2
  180. package/lib/types/services/transform/types.d.ts +1 -1
  181. package/lib/types/utils.d.ts +1 -1
  182. package/lib/umd/index.js +1 -1
  183. package/package.json +22 -20
@@ -1,5 +1,5 @@
1
- import { ITransformService } from '../../services/transform/transform.service';
2
1
  import { Disposable } from '@univerjs/core';
2
+ import { ITransformService } from '../../services/transform/transform.service';
3
3
 
4
4
  /**
5
5
  * This controller register sheet transform algorithms to the transform service.
@@ -1,6 +1,6 @@
1
- import { IMutationTransformAlgorithm, TransformService } from '../../../../services/transform/transform.service';
2
- import { Dependency } from '@wendellhu/redi';
3
1
  import { ICommand, ICommandInfo, IMutationInfo, IWorkbookData, Univer } from '@univerjs/core';
2
+ import { Dependency } from '@wendellhu/redi';
3
+ import { IMutationTransformAlgorithm, TransformService } from '../../../../services/transform/transform.service';
4
4
 
5
5
  export declare const TEST_WORKBOOK_DATA_DEMO: () => IWorkbookData;
6
6
  export declare function createTransformTestBed(algorithms: IMutationTransformAlgorithm[]): TransformService;
@@ -0,0 +1,14 @@
1
+ import { IMutationTransformAlgorithm } from '../../../../../services/transform/transform.service';
2
+
3
+ export declare function createCommentTestBed(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,4 @@
1
+ import { IAddCommentMutationParams } from '@univerjs/thread-comment';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
+
4
+ export declare const addCommentMutationWithSelf: IMutationTransformAlgorithm<IAddCommentMutationParams, IAddCommentMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IAddConditionalRuleMutationParams } from '@univerjs/sheets-conditional-formatting';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const addConditionalFormattingRuleMutationWithSelf: IMutationTransformAlgorithm<IAddConditionalRuleMutationParams, IAddConditionalRuleMutationParams>;
@@ -1,6 +1,6 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
- import { IDataValidationRule, IMutationInfo } from '@univerjs/core';
3
1
  import { IAddDataValidationMutationParams, IRemoveDataValidationMutationParams, IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
2
+ import { IDataValidationRule, IMutationInfo } from '@univerjs/core';
3
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
4
4
 
5
5
  export declare function applyAddMutationTransform(unitId: string, subUnitId: string, origin: IDataValidationRule[], patch: IDataValidationRule[]): IMutationInfo<IRemoveDataValidationMutationParams | IUpdateDataValidationMutationParams>[];
6
6
  export declare function mergeAddMutation(m1: IMutationInfo<IAddDataValidationMutationParams>, mutations: (IMutationInfo<IRemoveDataValidationMutationParams> | IMutationInfo<IUpdateDataValidationMutationParams>)[]): {
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IAddDataValidationMutationParams, IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const addDataValidationMutationWithUpdate: IMutationTransformAlgorithm<IAddDataValidationMutationParams, IUpdateDataValidationMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IAddWorksheetMergeMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const addWorksheetMergeMutationWithSelf: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IAddWorksheetMergeMutationParams>;
@@ -1,6 +1,6 @@
1
- import { IMutationTransformAlgorithm } from '../../../..';
2
- import { IMutationInfo } from '@univerjs/core';
3
1
  import { IAddWorksheetMergeMutationParams, IInsertColMutationParams, IInsertRowMutationParams, IMoveRangeMutationParams, IRemoveColMutationParams, IRemoveRowsMutationParams, IRemoveWorksheetMergeMutationParams } from '@univerjs/sheets';
2
+ import { IMutationInfo } from '@univerjs/core';
3
+ import { IMutationTransformAlgorithm } from '../../../..';
4
4
 
5
5
  export type IMutationInfoArrWithMergeAndRowCol = Array<IMutationInfo<IInsertRowMutationParams> | IMutationInfo<IInsertColMutationParams> | IMutationInfo<IRemoveRowsMutationParams> | IMutationInfo<IRemoveColMutationParams> | IMutationInfo<IAddWorksheetMergeMutationParams> | IMutationInfo<IRemoveWorksheetMergeMutationParams> | IMutationInfo<IMoveRangeMutationParams>>;
6
6
  export declare const addWorksheetMergeMutationWithInsertColMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IInsertColMutationParams>;
@@ -1,6 +1,6 @@
1
- import { IMutationTransformAlgorithm } from '../../../..';
2
- import { IMutationInfo } from '@univerjs/core';
3
1
  import { IAddWorksheetMergeMutationParams, IInsertColMutationParams, IInsertRowMutationParams, IRemoveColMutationParams, IRemoveRowsMutationParams, IRemoveWorksheetMergeMutationParams } from '@univerjs/sheets';
2
+ import { IMutationInfo } from '@univerjs/core';
3
+ import { IMutationTransformAlgorithm } from '../../../..';
4
4
 
5
5
  export type IMutationInfoArrWithMergeAndRowCol = Array<IMutationInfo<IInsertRowMutationParams> | IMutationInfo<IInsertColMutationParams> | IMutationInfo<IRemoveRowsMutationParams> | IMutationInfo<IRemoveColMutationParams> | IMutationInfo<IAddWorksheetMergeMutationParams> | IMutationInfo<IRemoveWorksheetMergeMutationParams>>;
6
6
  export declare const addWorksheetMergeMutationWithInsertRowMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IInsertRowMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../..';
2
1
  import { IAddWorksheetMergeMutationParams, IMoveColumnsMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../..';
3
3
 
4
4
  export declare const addWorksheetMergeMutationWithMoveColMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IMoveColumnsMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../..';
2
1
  import { IAddWorksheetMergeMutationParams, IMoveRangeMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../..';
3
3
 
4
4
  export declare const addWorksheetMergeMutationWithMoveRangeMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IMoveRangeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../..';
2
1
  import { IAddWorksheetMergeMutationParams, IMoveRowsMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../..';
3
3
 
4
4
  export declare const addWorksheetMergeMutationWithMoveRowMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IMoveRowsMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../..';
2
1
  import { IAddWorksheetMergeMutationParams, IRemoveColMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../..';
3
3
 
4
4
  export declare const addWorksheetMergeMutationWithRemoveColMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IRemoveColMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../..';
2
1
  import { IAddWorksheetMergeMutationParams, IRemoveRowsMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../..';
3
3
 
4
4
  export declare const addWorksheetMergeMutationWithRemoveRowMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IRemoveRowsMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../..';
2
1
  import { IAddWorksheetMergeMutationParams, IRemoveWorksheetMergeMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../..';
3
3
 
4
4
  export declare const addWorksheetMergeMutationWithRemoveWorksheetMergeMutation: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, IRemoveWorksheetMergeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../..';
2
1
  import { IAddWorksheetMergeMutationParams, ISetRangeValuesMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../..';
3
3
 
4
4
  export declare const addWorksheetMergeMutationWithSetRangeValues: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, ISetRangeValuesMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IAddWorksheetMergeMutationParams, ISetSelectionsOperationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const addWorksheetMergeMutationWithSetSelection: IMutationTransformAlgorithm<IAddWorksheetMergeMutationParams, ISetSelectionsOperationParams>;
@@ -0,0 +1,4 @@
1
+ import { IAddCommentMutationParams, IDeleteCommentMutationParams } from '@univerjs/thread-comment';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
+
4
+ export declare const deleteCommentMutationWithAdd: IMutationTransformAlgorithm<IDeleteCommentMutationParams, IAddCommentMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IDeleteCommentMutationParams } from '@univerjs/thread-comment';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
+
4
+ export declare const deleteCommentMutationWithSelf: IMutationTransformAlgorithm<IDeleteCommentMutationParams, IDeleteCommentMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IDeleteConditionalRuleMutationParams } from '@univerjs/sheets-conditional-formatting';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const deleteConditionalFormattingRuleMutationWithSelf: IMutationTransformAlgorithm<IDeleteConditionalRuleMutationParams, IDeleteConditionalRuleMutationParams>;
@@ -0,0 +1,18 @@
1
+ import { IInsertColMutationParams } from '@univerjs/sheets';
2
+ import { IAddCommentMutationParams, IUpdateCommentRefMutationParams } from '@univerjs/thread-comment';
3
+ import { ICommandInfo, IMutationInfo } from '@univerjs/core';
4
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
5
+
6
+ export declare const transformAddCommentWithRefRange: (m2: IMutationInfo<IAddCommentMutationParams>, command: ICommandInfo) => {
7
+ id: string;
8
+ params: {
9
+ comment: undefined;
10
+ commentId: string;
11
+ unitId: string;
12
+ subUnitId: string;
13
+ };
14
+ }[] | {
15
+ id: string;
16
+ params: IUpdateCommentRefMutationParams;
17
+ }[];
18
+ export declare const insertColWithAddComment: IMutationTransformAlgorithm<IInsertColMutationParams, IAddCommentMutationParams>;
@@ -1,5 +1,5 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
- import { IInsertColMutationParams } from '@univerjs/sheets';
3
1
  import { IAddDataValidationMutationParams } from '@univerjs/data-validation';
2
+ import { IInsertColMutationParams } from '@univerjs/sheets';
3
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
4
4
 
5
5
  export declare const insertColMutationWithAddDataValidation: IMutationTransformAlgorithm<IInsertColMutationParams, IAddDataValidationMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IAddWorksheetMergeMutationParams, IInsertColMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertColMutationWithAddMerge: IMutationTransformAlgorithm<IInsertColMutationParams, IAddWorksheetMergeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertColMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertColMutationWithSelf: IMutationTransformAlgorithm<IInsertColMutationParams, IInsertColMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertColMutationParams, IMoveColumnsMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertColMutationWithMoveCol: IMutationTransformAlgorithm<IInsertColMutationParams, IMoveColumnsMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertColMutationParams, IMoveRangeMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertColMutationWithMoveRange: IMutationTransformAlgorithm<IInsertColMutationParams, IMoveRangeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertColMutationParams, IRemoveColMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertColMutationWithRemoveCol: IMutationTransformAlgorithm<IInsertColMutationParams, IRemoveColMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertColMutationParams, IRemoveNumfmtMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertColMutationWithRemoveNumfmt: IMutationTransformAlgorithm<IInsertColMutationParams, IRemoveNumfmtMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertColMutationParams, IRemoveWorksheetMergeMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertColMutationWithRemoveWorksheetMergeMutation: IMutationTransformAlgorithm<IInsertColMutationParams, IRemoveWorksheetMergeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertColMutationParams, ISetColHiddenMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertColMutationWithSetColHidden: IMutationTransformAlgorithm<IInsertColMutationParams, ISetColHiddenMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertColMutationParams, ISetColVisibleMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertColMutationWithSetColVisible: IMutationTransformAlgorithm<IInsertColMutationParams, ISetColVisibleMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertColMutationParams, ISetNumfmtMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertColMutationWithSetNumfmt: IMutationTransformAlgorithm<IInsertColMutationParams, ISetNumfmtMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertColMutationParams, ISetRangeValuesMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertColMutationWithSetRangeValues: IMutationTransformAlgorithm<IInsertColMutationParams, ISetRangeValuesMutationParams>;
@@ -1,5 +1,5 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertColMutationParams, ISetSelectionsOperationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  /**
5
5
  * The selection transform is a special case of mutation transform which only used at local.
@@ -1,5 +1,5 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
- import { ISetSheetsFilterCriteriaMutationParams } from '@univerjs/sheets-filter';
3
1
  import { IInsertColMutationParams } from '@univerjs/sheets';
2
+ import { ISetSheetsFilterCriteriaMutationParams } from '@univerjs/sheets-filter';
3
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
4
4
 
5
5
  export declare const insertColMutationWithSetSheetsFilterCriteria: IMutationTransformAlgorithm<IInsertColMutationParams, ISetSheetsFilterCriteriaMutationParams>;
@@ -1,5 +1,5 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
- import { ISetSheetsFilterRangeMutationParams } from '@univerjs/sheets-filter';
3
1
  import { IInsertColMutationParams } from '@univerjs/sheets';
2
+ import { ISetSheetsFilterRangeMutationParams } from '@univerjs/sheets-filter';
3
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
4
4
 
5
5
  export declare const insertColMutationWithSetSheetsFilterRange: IMutationTransformAlgorithm<IInsertColMutationParams, ISetSheetsFilterRangeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertColMutationParams, ISetWorksheetColWidthMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertColMutationWithSetWorksheetColWidth: IMutationTransformAlgorithm<IInsertColMutationParams, ISetWorksheetColWidthMutationParams>;
@@ -0,0 +1,19 @@
1
+ import { IInsertColMutationParams } from '@univerjs/sheets';
2
+ import { IUpdateCommentRefMutationParams } from '@univerjs/thread-comment';
3
+ import { ICommandInfo, IMutationInfo } from '@univerjs/core';
4
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
5
+
6
+ export declare const transformUpdateCommentRefWithRefRange: (m2: IMutationInfo<IUpdateCommentRefMutationParams>, command: ICommandInfo) => {
7
+ id: string;
8
+ params: {
9
+ comment: undefined;
10
+ commentId: string;
11
+ unitId: string;
12
+ subUnitId: string;
13
+ payload: import('@univerjs/thread-comment/commands/mutations/comment.mutation.js').IUpdateCommentRefPayload;
14
+ };
15
+ }[] | {
16
+ id: string;
17
+ params: IUpdateCommentRefMutationParams;
18
+ }[];
19
+ export declare const insertColWithUpdateCommentRef: IMutationTransformAlgorithm<IInsertColMutationParams, IUpdateCommentRefMutationParams>;
@@ -1,5 +1,5 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
- import { IInsertColMutationParams } from '@univerjs/sheets';
3
1
  import { IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
2
+ import { IInsertColMutationParams } from '@univerjs/sheets';
3
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
4
4
 
5
5
  export declare const insertColMutationWithUpdateDataValidation: IMutationTransformAlgorithm<IInsertColMutationParams, IUpdateDataValidationMutationParams>;
@@ -0,0 +1,5 @@
1
+ import { IInsertRowMutationParams } from '@univerjs/sheets';
2
+ import { IAddCommentMutationParams } from '@univerjs/thread-comment';
3
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
4
+
5
+ export declare const insertRowWithAddComment: IMutationTransformAlgorithm<IInsertRowMutationParams, IAddCommentMutationParams>;
@@ -1,5 +1,5 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
- import { IInsertRowMutationParams } from '@univerjs/sheets';
3
1
  import { IAddDataValidationMutationParams } from '@univerjs/data-validation';
2
+ import { IInsertRowMutationParams } from '@univerjs/sheets';
3
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
4
4
 
5
5
  export declare const insertRowMutationWithAddDataValidation: IMutationTransformAlgorithm<IInsertRowMutationParams, IAddDataValidationMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IAddWorksheetMergeMutationParams, IInsertRowMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertRowMutationWithAddMerge: IMutationTransformAlgorithm<IInsertRowMutationParams, IAddWorksheetMergeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertRowMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertRowMutationWithSelf: IMutationTransformAlgorithm<IInsertRowMutationParams, IInsertRowMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertRowMutationParams, IMoveRangeMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertRowMutationWithMoveRange: IMutationTransformAlgorithm<IInsertRowMutationParams, IMoveRangeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertRowMutationParams, IMoveRowsMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertRowMutationWithMoveRow: IMutationTransformAlgorithm<IInsertRowMutationParams, IMoveRowsMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertRowMutationParams, IRemoveNumfmtMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertRowMutationWithRemoveNumfmt: IMutationTransformAlgorithm<IInsertRowMutationParams, IRemoveNumfmtMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertRowMutationParams, IRemoveRowsMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertRowMutationWithRemoveRow: IMutationTransformAlgorithm<IInsertRowMutationParams, IRemoveRowsMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertRowMutationParams, IRemoveWorksheetMergeMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertRowMutationWithRemoveWorksheetMergeMutation: IMutationTransformAlgorithm<IInsertRowMutationParams, IRemoveWorksheetMergeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertRowMutationParams, ISetNumfmtMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertRowMutationWithSetNumfmt: IMutationTransformAlgorithm<IInsertRowMutationParams, ISetNumfmtMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertRowMutationParams, ISetRangeValuesMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertRowMutationWithSetRangeValues: IMutationTransformAlgorithm<IInsertRowMutationParams, ISetRangeValuesMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertRowMutationParams, ISetRowHiddenMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertRowMutationWithSetRowHidden: IMutationTransformAlgorithm<IInsertRowMutationParams, ISetRowHiddenMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertRowMutationParams, ISetRowVisibleMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const insertRowMutationWithSetRowVisible: IMutationTransformAlgorithm<IInsertRowMutationParams, ISetRowVisibleMutationParams>;
@@ -1,5 +1,5 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IInsertRowMutationParams, ISetSelectionsOperationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  /**
5
5
  * The selection transform is a special case of mutation transform which only used at local.
@@ -1,5 +1,5 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
- import { ISetSheetsFilterRangeMutationParams } from '@univerjs/sheets-filter';
3
1
  import { IInsertRowMutationParams } from '@univerjs/sheets';
2
+ import { ISetSheetsFilterRangeMutationParams } from '@univerjs/sheets-filter';
3
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
4
4
 
5
5
  export declare const insertRowMutationWithSetSheetsFilterRange: IMutationTransformAlgorithm<IInsertRowMutationParams, ISetSheetsFilterRangeMutationParams>;
@@ -0,0 +1,5 @@
1
+ import { IInsertRowMutationParams } from '@univerjs/sheets';
2
+ import { IUpdateCommentRefMutationParams } from '@univerjs/thread-comment';
3
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
4
+
5
+ export declare const insertRowWithUpdateCommentRef: IMutationTransformAlgorithm<IInsertRowMutationParams, IUpdateCommentRefMutationParams>;
@@ -1,5 +1,5 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
- import { IInsertRowMutationParams } from '@univerjs/sheets';
3
1
  import { IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
2
+ import { IInsertRowMutationParams } from '@univerjs/sheets';
3
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
4
4
 
5
5
  export declare const insertRowMutationWithUpdateDataValidation: IMutationTransformAlgorithm<IInsertRowMutationParams, IUpdateDataValidationMutationParams>;
@@ -0,0 +1,5 @@
1
+ import { IMoveColumnsMutationParams } from '@univerjs/sheets';
2
+ import { IAddCommentMutationParams } from '@univerjs/thread-comment';
3
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
4
+
5
+ export declare const moveColWithAddComment: IMutationTransformAlgorithm<IMoveColumnsMutationParams, IAddCommentMutationParams>;
@@ -1,7 +1,7 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
- import { ICommandInfo, IMutationInfo } from '@univerjs/core';
3
- import { IAddDataValidationMutationParams } from '@univerjs/data-validation';
4
1
  import { IMoveColumnsMutationParams } from '@univerjs/sheets';
2
+ import { IAddDataValidationMutationParams } from '@univerjs/data-validation';
3
+ import { ICommandInfo, IMutationInfo } from '@univerjs/core';
4
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
5
5
 
6
6
  export declare function transformAddDataValidationWithRefRange(m: IMutationInfo<IAddDataValidationMutationParams>, command: ICommandInfo): IMutationInfo<object>[];
7
7
  export declare const moveColMutationWithAddDataValidation: IMutationTransformAlgorithm<IMoveColumnsMutationParams, IAddDataValidationMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IAddWorksheetMergeMutationParams, IMoveColumnsMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const moveColMutationWithAddMerge: IMutationTransformAlgorithm<IMoveColumnsMutationParams, IAddWorksheetMergeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IMoveColumnsMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const moveColMutationWithSelf: IMutationTransformAlgorithm<IMoveColumnsMutationParams, IMoveColumnsMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IMoveColumnsMutationParams, IMoveRangeMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const moveColMutationWithMoveRange: IMutationTransformAlgorithm<IMoveColumnsMutationParams, IMoveRangeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IMoveColumnsMutationParams, IRemoveNumfmtMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const moveColMutationWithRemoveNumfmt: IMutationTransformAlgorithm<IMoveColumnsMutationParams, IRemoveNumfmtMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IMoveColumnsMutationParams, IRemoveWorksheetMergeMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const moveColMutationWithRemoveWorksheetMerge: IMutationTransformAlgorithm<IMoveColumnsMutationParams, IRemoveWorksheetMergeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IMoveColumnsMutationParams, ISetColHiddenMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const moveColMutationWithSetColHidden: IMutationTransformAlgorithm<IMoveColumnsMutationParams, ISetColHiddenMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IMoveColumnsMutationParams, ISetColVisibleMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const moveColMutationWithSetColVisible: IMutationTransformAlgorithm<IMoveColumnsMutationParams, ISetColVisibleMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IMoveColumnsMutationParams, ISetNumfmtMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const moveColMutationWithSetNumfmt: IMutationTransformAlgorithm<IMoveColumnsMutationParams, ISetNumfmtMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IMoveColumnsMutationParams, ISetRangeValuesMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const moveColMutationWithSetRangeValues: IMutationTransformAlgorithm<IMoveColumnsMutationParams, ISetRangeValuesMutationParams>;