@univerjs/core 0.15.5 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +8 -8
- package/lib/es/index.js +3105 -3144
- package/lib/index.js +3105 -3144
- package/lib/types/services/command/command.service.d.ts +1 -1
- package/lib/types/shared/generate.d.ts +3 -16
- package/lib/types/shared/index.d.ts +0 -1
- package/lib/umd/index.js +8 -8
- package/package.json +4 -4
- package/lib/types/shared/clipboard.d.ts +0 -4
|
@@ -156,7 +156,7 @@ export interface IExecutionOptions {
|
|
|
156
156
|
onlyLocal?: boolean;
|
|
157
157
|
/** This command is from collaboration peers. */
|
|
158
158
|
fromCollab?: boolean;
|
|
159
|
-
/**
|
|
159
|
+
/** This command is from snapshot load. */
|
|
160
160
|
fromChangeset?: boolean;
|
|
161
161
|
/**
|
|
162
162
|
* This mutation should be synced to changeset but not executed locally.
|
|
@@ -1,21 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
1
|
+
import { CellValue } from '../sheets/typedef';
|
|
2
|
+
import { Nullable } from './types';
|
|
16
3
|
/**
|
|
17
4
|
* Determine whether it is a pure number, "12" and "12e+3" are both true
|
|
18
5
|
* @param val The number or string to be judged
|
|
19
6
|
* @returns Result
|
|
20
7
|
*/
|
|
21
|
-
export declare function isRealNum(val:
|
|
8
|
+
export declare function isRealNum(val: Nullable<CellValue>): boolean;
|
|
@@ -17,7 +17,6 @@ export { afterInitApply } from './after-init-apply';
|
|
|
17
17
|
export * from './array-search';
|
|
18
18
|
export * from './blob';
|
|
19
19
|
export { checkIfMove, MOVE_BUFFER_VALUE, ROTATE_BUFFER_VALUE } from './check-if-move';
|
|
20
|
-
export * from './clipboard';
|
|
21
20
|
export * from './color/color';
|
|
22
21
|
export { ColorKit, COLORS, type IRgbColor, RGB_PAREN, RGBA_PAREN } from './color/color-kit';
|
|
23
22
|
export * from './command-enum';
|