@univerjs/sheets 0.1.0-beta.5 → 0.1.2
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/README.md +33 -2
- package/lib/cjs/index.js +2 -1
- package/lib/es/index.js +942 -919
- package/lib/types/commands/mutations/set-range-values.mutation.d.ts +5 -0
- package/lib/types/index.d.ts +1 -1
- package/lib/types/locale/en-US.d.ts +3 -7
- package/lib/types/locale/zh-CN.d.ts +2 -2
- package/lib/umd/index.js +2 -1
- package/package.json +8 -8
|
@@ -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
|
package/lib/types/index.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ export type { ISetRangeValuesMutationParams } from './commands/mutations/set-ran
|
|
|
83
83
|
export { SetRangeValuesMutation } from './commands/mutations/set-range-values.mutation';
|
|
84
84
|
export { SetRangeValuesUndoMutationFactory } from './commands/mutations/set-range-values.mutation';
|
|
85
85
|
export { type ISetRangeValuesRangeMutationParams } from './commands/mutations/set-range-values.mutation';
|
|
86
|
-
export { SetRowHiddenMutation, SetRowVisibleMutation } from './commands/mutations/set-row-visible.mutation';
|
|
86
|
+
export { type ISetRowHiddenMutationParams, type ISetRowVisibleMutationParams, SetRowHiddenMutation, SetRowVisibleMutation } from './commands/mutations/set-row-visible.mutation';
|
|
87
87
|
export { SetTabColorMutation } from './commands/mutations/set-tab-color.mutation';
|
|
88
88
|
export { type ISetTabColorMutationParams } from './commands/mutations/set-tab-color.mutation';
|
|
89
89
|
export { type ISetWorksheetColWidthMutationParams, SetWorksheetColWidthMutation, SetWorksheetColWidthMutationFactory, } from './commands/mutations/set-worksheet-col-width.mutation';
|
|
@@ -13,10 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
sheet: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
16
|
+
import type zhCN from './zh-CN';
|
|
17
|
+
declare const locale: typeof zhCN;
|
|
18
|
+
export default locale;
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
declare const
|
|
16
|
+
declare const locale: {
|
|
17
17
|
sheets: {
|
|
18
18
|
sheetCopy: string;
|
|
19
19
|
sheet: string;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
export default
|
|
22
|
+
export default locale;
|