@univerjs/sheets 0.1.1 → 0.1.3
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.
|
@@ -14,9 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { ICellData, ICommand, IObjectMatrixPrimitiveType, IRange } from '@univerjs/core';
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
unitId?: string;
|
|
17
|
+
import type { ISheetCommandSharedParams } from '../utils/interface';
|
|
18
|
+
export interface ISetRangeValuesCommandParams extends Partial<ISheetCommandSharedParams> {
|
|
20
19
|
range?: IRange;
|
|
21
20
|
/**
|
|
22
21
|
* 1. ICellData: Normal cell data
|
|
@@ -39,6 +39,11 @@ export interface ISetRangeValuesRangeMutationParams extends ISetRangeValuesMutat
|
|
|
39
39
|
* @returns {ISetRangeValuesMutationParams} undo mutation params
|
|
40
40
|
*/
|
|
41
41
|
export declare const SetRangeValuesUndoMutationFactory: (accessor: IAccessor, params: ISetRangeValuesMutationParams) => ISetRangeValuesMutationParams;
|
|
42
|
+
/**
|
|
43
|
+
* TODO@Dushusir: Excel can display numbers with up to about 15 digits of precision. When the user inputs more than 15 digits, interception is required, but there are unknown performance risks.
|
|
44
|
+
|
|
45
|
+
Intercept 15-digit number reference function truncateNumber
|
|
46
|
+
*/
|
|
42
47
|
export declare const SetRangeValuesMutation: IMutation<ISetRangeValuesMutationParams, boolean>;
|
|
43
48
|
/**
|
|
44
49
|
* Convert old style data for storage
|