@univerjs/sheets-formula 0.25.1 → 1.0.0-alpha.1
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/en-US-B2EwEnJA.js +26 -0
- package/lib/cjs/en-US-Daqu9lkO.js +10582 -0
- package/lib/cjs/index.js +133 -90
- package/lib/cjs/locale/ar-SA.js +28 -10533
- package/lib/cjs/locale/ca-ES.js +26 -17
- package/lib/cjs/locale/de-DE.js +28 -10533
- package/lib/cjs/locale/en-US.js +27 -10532
- package/lib/cjs/locale/es-ES.js +26 -17
- package/lib/cjs/locale/fa-IR.js +58 -10563
- package/lib/cjs/locale/fr-FR.js +57 -10544
- package/lib/cjs/locale/id-ID.js +28 -10533
- package/lib/cjs/locale/it-IT.js +28 -10533
- package/lib/cjs/locale/ja-JP.js +26 -17
- package/lib/cjs/locale/ko-KR.js +26 -17
- package/lib/cjs/locale/pl-PL.js +28 -10533
- package/lib/cjs/locale/pt-BR.js +28 -10533
- package/lib/cjs/locale/ru-RU.js +41 -50
- package/lib/cjs/locale/sk-SK.js +26 -17
- package/lib/cjs/locale/vi-VN.js +26 -17
- package/lib/cjs/locale/zh-CN.js +26 -17
- package/lib/cjs/locale/zh-HK.js +28 -10533
- package/lib/cjs/locale/zh-TW.js +26 -17
- package/lib/en-US-CjsBUOZB.js +10498 -0
- package/lib/en-US-Kon3m8fM.js +20 -0
- package/lib/es/en-US-CjsBUOZB.js +10498 -0
- package/lib/es/en-US-Kon3m8fM.js +20 -0
- package/lib/es/index.js +133 -90
- package/lib/es/locale/ar-SA.js +28 -10532
- package/lib/es/locale/ca-ES.js +26 -17
- package/lib/es/locale/de-DE.js +28 -10532
- package/lib/es/locale/en-US.js +27 -10531
- package/lib/es/locale/es-ES.js +26 -17
- package/lib/es/locale/fa-IR.js +59 -10563
- package/lib/es/locale/fr-FR.js +58 -10544
- package/lib/es/locale/id-ID.js +28 -10532
- package/lib/es/locale/it-IT.js +28 -10532
- package/lib/es/locale/ja-JP.js +26 -17
- package/lib/es/locale/ko-KR.js +26 -17
- package/lib/es/locale/pl-PL.js +28 -10532
- package/lib/es/locale/pt-BR.js +28 -10532
- package/lib/es/locale/ru-RU.js +42 -50
- package/lib/es/locale/sk-SK.js +26 -17
- package/lib/es/locale/vi-VN.js +26 -17
- package/lib/es/locale/zh-CN.js +26 -17
- package/lib/es/locale/zh-HK.js +28 -10532
- package/lib/es/locale/zh-TW.js +26 -17
- package/lib/index.js +133 -90
- package/lib/locale/ar-SA.js +28 -10532
- package/lib/locale/ca-ES.js +26 -17
- package/lib/locale/de-DE.js +28 -10532
- package/lib/locale/en-US.js +27 -10531
- package/lib/locale/es-ES.js +26 -17
- package/lib/locale/fa-IR.js +59 -10563
- package/lib/locale/fr-FR.js +58 -10544
- package/lib/locale/id-ID.js +28 -10532
- package/lib/locale/it-IT.js +28 -10532
- package/lib/locale/ja-JP.js +26 -17
- package/lib/locale/ko-KR.js +26 -17
- package/lib/locale/pl-PL.js +28 -10532
- package/lib/locale/pt-BR.js +28 -10532
- package/lib/locale/ru-RU.js +42 -50
- package/lib/locale/sk-SK.js +26 -17
- package/lib/locale/vi-VN.js +26 -17
- package/lib/locale/zh-CN.js +26 -17
- package/lib/locale/zh-HK.js +28 -10532
- package/lib/locale/zh-TW.js +26 -17
- package/lib/types/controllers/array-formula-cell-interceptor.controller.d.ts +4 -2
- package/lib/types/index.d.ts +4 -3
- package/lib/types/locale/en-US.d.ts +7 -0
- package/lib/types/locale/types.d.ts +18 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/locale/zh-TW.js
CHANGED
|
@@ -10290,23 +10290,32 @@ const locale$1 = {
|
|
|
10290
10290
|
|
|
10291
10291
|
//#endregion
|
|
10292
10292
|
//#region src/locale/zh-TW.ts
|
|
10293
|
-
const locale = { "sheets-formula": {
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
|
|
10299
|
-
|
|
10300
|
-
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
|
|
10309
|
-
|
|
10293
|
+
const locale = { "sheets-formula": {
|
|
10294
|
+
progress: {
|
|
10295
|
+
analyzing: "正在分析公式...",
|
|
10296
|
+
calculating: "正在計算公式...",
|
|
10297
|
+
"array-analysis": "正在分析陣列公式...",
|
|
10298
|
+
"array-calculation": "正在計算陣列公式...",
|
|
10299
|
+
done: "完成"
|
|
10300
|
+
},
|
|
10301
|
+
functionList: {
|
|
10302
|
+
...locale$15,
|
|
10303
|
+
...locale$14,
|
|
10304
|
+
...locale$13,
|
|
10305
|
+
...locale$12,
|
|
10306
|
+
...locale$11,
|
|
10307
|
+
...locale$10,
|
|
10308
|
+
...locale$9,
|
|
10309
|
+
...locale$8,
|
|
10310
|
+
...locale$7,
|
|
10311
|
+
...locale$6,
|
|
10312
|
+
...locale$5,
|
|
10313
|
+
...locale$4,
|
|
10314
|
+
...locale$3,
|
|
10315
|
+
...locale$2,
|
|
10316
|
+
...locale$1
|
|
10317
|
+
}
|
|
10318
|
+
} };
|
|
10310
10319
|
|
|
10311
10320
|
//#endregion
|
|
10312
10321
|
export { locale as default };
|
|
@@ -13,22 +13,24 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { Disposable, ICommandService, IConfigService } from '@univerjs/core';
|
|
16
|
+
import { Disposable, ICommandService, IConfigService, IUniverInstanceService } from '@univerjs/core';
|
|
17
17
|
import { FormulaDataModel, IDefinedNamesService, IFunctionService, LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
18
18
|
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
19
19
|
export declare class ArrayFormulaCellInterceptorController extends Disposable {
|
|
20
20
|
private readonly _commandService;
|
|
21
21
|
private readonly _configService;
|
|
22
|
+
private readonly _univerInstanceService;
|
|
22
23
|
private _sheetInterceptorService;
|
|
23
24
|
private readonly _formulaDataModel;
|
|
24
25
|
private readonly _lexerTreeBuilder;
|
|
25
26
|
private readonly _functionService;
|
|
26
27
|
private readonly _definedNamesService;
|
|
27
|
-
constructor(_commandService: ICommandService, _configService: IConfigService, _sheetInterceptorService: SheetInterceptorService, _formulaDataModel: FormulaDataModel, _lexerTreeBuilder: LexerTreeBuilder, _functionService: IFunctionService, _definedNamesService: IDefinedNamesService);
|
|
28
|
+
constructor(_commandService: ICommandService, _configService: IConfigService, _univerInstanceService: IUniverInstanceService, _sheetInterceptorService: SheetInterceptorService, _formulaDataModel: FormulaDataModel, _lexerTreeBuilder: LexerTreeBuilder, _functionService: IFunctionService, _definedNamesService: IDefinedNamesService);
|
|
28
29
|
private _initialize;
|
|
29
30
|
private _commandExecutedListener;
|
|
30
31
|
private _addPrefixToDefinedNamesFunctionSnapshot;
|
|
31
32
|
private _addPrefixToFunctionSnapshot;
|
|
33
|
+
private _forEachSheetSnapshotData;
|
|
32
34
|
private _writeArrayFormulaToSnapshot;
|
|
33
35
|
private _initInterceptorCellContent;
|
|
34
36
|
}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
export {
|
|
16
|
+
export { InsertFunctionCommand } from './commands/commands/insert-function.command';
|
|
17
|
+
export type { IInsertFunction, IInsertFunctionCommandParams } from './commands/commands/insert-function.command';
|
|
17
18
|
export { QuickSumCommand } from './commands/commands/quick-sum.command';
|
|
18
19
|
export { CalculationMode, PLUGIN_CONFIG_KEY_BASE } from './config/config';
|
|
19
20
|
export type { IUniverSheetsFormulaBaseConfig, IUniverSheetsFormulaRemoteConfig } from './config/config';
|
|
@@ -29,9 +30,9 @@ export type { ISearchItem, ISearchItemWithType } from './services/description.se
|
|
|
29
30
|
export { FormulaCalculationSessionService } from './services/formula-calculation-session.service';
|
|
30
31
|
export type { IFormulaCalculationSessionState } from './services/formula-calculation-session.service';
|
|
31
32
|
export { FormulaRefRangeService } from './services/formula-ref-range.service';
|
|
32
|
-
export type { IRegisterAsyncFunction, IRegisterFunction, ISingleFunctionRegisterParams } from './services/register-function.service';
|
|
33
|
+
export type { IRegisterAsyncFunction, IRegisterFunction, ISingleFunctionRegisterParams, } from './services/register-function.service';
|
|
33
34
|
export type { IRegisterFunctionParams, IUnregisterFunctionParams } from './services/register-function.service';
|
|
34
35
|
export { RegisterFunctionService } from './services/register-function.service';
|
|
35
36
|
export { IRegisterFunctionService } from './services/register-function.service';
|
|
36
|
-
export { IRemoteRegisterFunctionService, RemoteRegisterFunctionService } from './services/remote/remote-register-function.service';
|
|
37
|
+
export { IRemoteRegisterFunctionService, RemoteRegisterFunctionService, } from './services/remote/remote-register-function.service';
|
|
37
38
|
export { calculateFormula } from './util/calculate';
|
|
@@ -15,6 +15,13 @@
|
|
|
15
15
|
*/
|
|
16
16
|
declare const locale: {
|
|
17
17
|
'sheets-formula': {
|
|
18
|
+
progress: {
|
|
19
|
+
analyzing: string;
|
|
20
|
+
calculating: string;
|
|
21
|
+
'array-analysis': string;
|
|
22
|
+
'array-calculation': string;
|
|
23
|
+
done: string;
|
|
24
|
+
};
|
|
18
25
|
functionList: {
|
|
19
26
|
ENCODEURL: {
|
|
20
27
|
description: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
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
|
+
*/
|
|
16
|
+
import type { LocaleLeafKeys } from '@univerjs/core';
|
|
17
|
+
import type enUS from './en-US';
|
|
18
|
+
export type LocaleKey = LocaleLeafKeys<typeof enUS>;
|