@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.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/types/controllers/doc-transform/doc-transform.controller.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/__tests__/transform-test-bed.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-comment/__test__/add-comment.algo.spec.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-comment/__test__/util.d.ts +14 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-comment/add-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-conditional-rule/add-conditional-formatting-rule.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/add-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/update-data-validation.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/add-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-col.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-row.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-col.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-range.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-row.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-col.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-row.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-range-values.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-selection.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/delete-comment/add-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/delete-comment/delete-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/delete-conditional-formatting-rule/delete-conditional-formatting-rule.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-comment.algo.d.ts +18 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/insert-col.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/move-col.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/move-range.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-col.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-hidden.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-visible.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-range-values.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-selection.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-sheets-filter-criteria.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-sheets-filter-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-worksheet-col-width.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/update-comment-ref.algo.d.ts +19 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/update-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-comment.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/insert-row.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/move-range.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/move-row.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-row.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-range-values.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-hidden.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-visible.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-selection.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-sheets-filter-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/update-comment-ref.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-row/update-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/add-comment.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/add-data-validation.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/move-col/add-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/move-col.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/move-range.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/remove-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/remove-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-hidden.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-visible.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-range-values.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-selection.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-sheets-filter-criteria.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-sheets-filter-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-col/set-worksheet-col-width.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-col/update-comment-ref.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-col/update-data-validation.algo.d.ts +3 -3
- package/lib/types/controllers/sheet-transform/algorithms/move-conditional-formatting-rule/move-conditional-formatting-rule.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-range/add-comment.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-range/add-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-range/add-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-range/move-range.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-range/remove-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-range/set-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-range/update-comment-ref.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/add-comment.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/add-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/add-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/move-range.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/move-row.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/remove-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/remove-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-range-values.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-hidden.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-visible.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-selection.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/move-row/set-sheets-filter-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/move-row/update-comment-ref.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/move-row/update-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-comment.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/move-col.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/move-range.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-col.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-hidden.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-visible.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-range-values.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-selection.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-sheets-filter-criteria.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-sheets-filter-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-worksheet-col-width.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/update-comment-ref.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-col/update-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-data-validation/remove-data-validation.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-numfmt/remove-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-numfmt/set-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-comment.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/move-range.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/move-row.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-row.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-range-values.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-hidden.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-visible.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-selection.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-sheets-filter-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/update-comment-ref.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-row/update-data-validation.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/remove-sheets-filter/remove-sheets-filter.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-sheets-filter/set-sheets-filter-range.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/add-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/insert-col.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/insert-row.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/move-col.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/move-row.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/remove-col.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/remove-row.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/set-selection.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-conditional-formatting-rule/set-conditional-formatting-rule.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-frozen/set-frozen.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/remove-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/set-numfmt.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-range-values/add-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-range-values/move-range.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-range-values/set-range-values.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/move-range.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/remove-sheets-filter.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/set-range-values.algo.d.ts +2 -2
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/set-sheets-filter-criteria.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-range/remove-sheets-filter.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-range/set-sheets-filter-range.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-tab-color/set-tab-color.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-col-width/set-worksheet-col-width.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-name/set-worksheet-name.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/update-comment/update-comment.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/update-comment-ref/update-comment-ref.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/add-data-validation.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/remove-data-validation.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/update-data-validation.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/worksheet/worksheet.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/sheet-transform.controller.d.ts +1 -1
- package/lib/types/models/changeset.d.ts +1 -1
- package/lib/types/models/collaboration-events.d.ts +1 -1
- package/lib/types/models/socket-events.d.ts +1 -1
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/compose-changesets/compose-changesets.service.d.ts +1 -1
- package/lib/types/services/rev/__tests__/rev.service.spec.d.ts +1 -1
- package/lib/types/services/snapshot/__tests__/snapshot.service.spec.d.ts +1 -1
- package/lib/types/services/snapshot/snapshot.service.d.ts +3 -3
- package/lib/types/services/transform/transform.service.d.ts +2 -2
- package/lib/types/services/transform/types.d.ts +1 -1
- package/lib/types/utils.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- 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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-col.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-row.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-col.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-range.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-row.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-col.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-row.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-selection.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/delete-comment/delete-comment.algo.d.ts
ADDED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-data-validation.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-worksheet-merge.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-worksheet-merge.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-hidden.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-visible.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-range-values.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-col/update-comment-ref.algo.d.ts
ADDED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-col/update-data-validation.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-data-validation.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-worksheet-merge.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-worksheet-merge.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-range-values.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-hidden.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-visible.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-row/update-comment-ref.algo.d.ts
ADDED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/insert-row/update-data-validation.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/move-col/add-data-validation.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/move-col/add-worksheet-merge.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/move-col/remove-worksheet-merge.algo.d.ts
CHANGED
|
@@ -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>;
|
package/lib/types/controllers/sheet-transform/algorithms/move-col/set-range-values.algo.d.ts
CHANGED
|
@@ -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>;
|