@univerjs/sheets-formula 0.2.3 → 0.2.4
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 +4 -4
- package/lib/es/index.js +2015 -1942
- package/lib/locale/en-US.json +69 -57
- package/lib/locale/ru-RU.json +69 -57
- package/lib/locale/vi-VN.json +6 -6
- package/lib/locale/zh-CN.json +69 -57
- package/lib/locale/zh-TW.json +15 -27
- package/lib/types/controllers/prompt.controller.d.ts +9 -3
- package/lib/types/locale/en-US.d.ts +39 -27
- package/lib/types/locale/function-list/date/en-US.d.ts +37 -25
- package/lib/types/locale/function-list/date/ja-JP.d.ts +37 -25
- package/lib/types/locale/function-list/date/zh-CN.d.ts +37 -25
- package/lib/types/locale/function-list/date/zh-TW.d.ts +3 -15
- package/lib/types/locale/function-list/math/en-US.d.ts +2 -2
- package/lib/types/locale/function-list/math/ja-JP.d.ts +2 -2
- package/lib/types/locale/function-list/math/zh-CN.d.ts +2 -2
- package/lib/types/locale/function-list/math/zh-TW.d.ts +2 -2
- package/lib/types/locale/ru-RU.d.ts +39 -27
- package/lib/types/locale/vi-VN.d.ts +2 -2
- package/lib/types/locale/zh-CN.d.ts +39 -27
- package/lib/types/locale/zh-TW.d.ts +5 -17
- package/lib/types/services/prompt.service.d.ts +0 -2
- package/lib/types/services/render-services/ref-selections.render-service.d.ts +2 -0
- package/lib/types/views/prompt/resize-scroll-observer.d.ts +18 -0
- package/lib/umd/index.js +4 -4
- package/package.json +26 -26
|
@@ -1310,11 +1310,11 @@ declare const _default: {
|
|
|
1310
1310
|
url: string;
|
|
1311
1311
|
}[];
|
|
1312
1312
|
functionParameter: {
|
|
1313
|
-
|
|
1313
|
+
array1: {
|
|
1314
1314
|
name: string;
|
|
1315
1315
|
detail: string;
|
|
1316
1316
|
};
|
|
1317
|
-
|
|
1317
|
+
array2: {
|
|
1318
1318
|
name: string;
|
|
1319
1319
|
detail: string;
|
|
1320
1320
|
};
|
|
@@ -1310,11 +1310,11 @@ declare const _default: {
|
|
|
1310
1310
|
url: string;
|
|
1311
1311
|
}[];
|
|
1312
1312
|
functionParameter: {
|
|
1313
|
-
|
|
1313
|
+
array1: {
|
|
1314
1314
|
name: string;
|
|
1315
1315
|
detail: string;
|
|
1316
1316
|
};
|
|
1317
|
-
|
|
1317
|
+
array2: {
|
|
1318
1318
|
name: string;
|
|
1319
1319
|
detail: string;
|
|
1320
1320
|
};
|
|
@@ -1310,11 +1310,11 @@ declare const _default: {
|
|
|
1310
1310
|
url: string;
|
|
1311
1311
|
}[];
|
|
1312
1312
|
functionParameter: {
|
|
1313
|
-
|
|
1313
|
+
array1: {
|
|
1314
1314
|
name: string;
|
|
1315
1315
|
detail: string;
|
|
1316
1316
|
};
|
|
1317
|
-
|
|
1317
|
+
array2: {
|
|
1318
1318
|
name: string;
|
|
1319
1319
|
detail: string;
|
|
1320
1320
|
};
|
|
@@ -1358,11 +1358,11 @@ declare const _default: {
|
|
|
1358
1358
|
url: string;
|
|
1359
1359
|
}[];
|
|
1360
1360
|
functionParameter: {
|
|
1361
|
-
|
|
1361
|
+
array1: {
|
|
1362
1362
|
name: string;
|
|
1363
1363
|
detail: string;
|
|
1364
1364
|
};
|
|
1365
|
-
|
|
1365
|
+
array2: {
|
|
1366
1366
|
name: string;
|
|
1367
1367
|
detail: string;
|
|
1368
1368
|
};
|
|
@@ -7649,11 +7649,11 @@ declare const _default: {
|
|
|
7649
7649
|
url: string;
|
|
7650
7650
|
}[];
|
|
7651
7651
|
functionParameter: {
|
|
7652
|
-
|
|
7652
|
+
array1: {
|
|
7653
7653
|
name: string;
|
|
7654
7654
|
detail: string;
|
|
7655
7655
|
};
|
|
7656
|
-
|
|
7656
|
+
array2: {
|
|
7657
7657
|
name: string;
|
|
7658
7658
|
detail: string;
|
|
7659
7659
|
};
|
|
@@ -7925,11 +7925,7 @@ declare const _default: {
|
|
|
7925
7925
|
url: string;
|
|
7926
7926
|
}[];
|
|
7927
7927
|
functionParameter: {
|
|
7928
|
-
|
|
7929
|
-
name: string;
|
|
7930
|
-
detail: string;
|
|
7931
|
-
};
|
|
7932
|
-
number2: {
|
|
7928
|
+
serialNumber: {
|
|
7933
7929
|
name: string;
|
|
7934
7930
|
detail: string;
|
|
7935
7931
|
};
|
|
@@ -7961,11 +7957,7 @@ declare const _default: {
|
|
|
7961
7957
|
url: string;
|
|
7962
7958
|
}[];
|
|
7963
7959
|
functionParameter: {
|
|
7964
|
-
|
|
7965
|
-
name: string;
|
|
7966
|
-
detail: string;
|
|
7967
|
-
};
|
|
7968
|
-
number2: {
|
|
7960
|
+
serialNumber: {
|
|
7969
7961
|
name: string;
|
|
7970
7962
|
detail: string;
|
|
7971
7963
|
};
|
|
@@ -7993,11 +7985,15 @@ declare const _default: {
|
|
|
7993
7985
|
url: string;
|
|
7994
7986
|
}[];
|
|
7995
7987
|
functionParameter: {
|
|
7996
|
-
|
|
7988
|
+
startDate: {
|
|
7997
7989
|
name: string;
|
|
7998
7990
|
detail: string;
|
|
7999
7991
|
};
|
|
8000
|
-
|
|
7992
|
+
endDate: {
|
|
7993
|
+
name: string;
|
|
7994
|
+
detail: string;
|
|
7995
|
+
};
|
|
7996
|
+
holidays: {
|
|
8001
7997
|
name: string;
|
|
8002
7998
|
detail: string;
|
|
8003
7999
|
};
|
|
@@ -8011,11 +8007,19 @@ declare const _default: {
|
|
|
8011
8007
|
url: string;
|
|
8012
8008
|
}[];
|
|
8013
8009
|
functionParameter: {
|
|
8014
|
-
|
|
8010
|
+
startDate: {
|
|
8015
8011
|
name: string;
|
|
8016
8012
|
detail: string;
|
|
8017
8013
|
};
|
|
8018
|
-
|
|
8014
|
+
endDate: {
|
|
8015
|
+
name: string;
|
|
8016
|
+
detail: string;
|
|
8017
|
+
};
|
|
8018
|
+
weekend: {
|
|
8019
|
+
name: string;
|
|
8020
|
+
detail: string;
|
|
8021
|
+
};
|
|
8022
|
+
holidays: {
|
|
8019
8023
|
name: string;
|
|
8020
8024
|
detail: string;
|
|
8021
8025
|
};
|
|
@@ -8038,11 +8042,7 @@ declare const _default: {
|
|
|
8038
8042
|
url: string;
|
|
8039
8043
|
}[];
|
|
8040
8044
|
functionParameter: {
|
|
8041
|
-
|
|
8042
|
-
name: string;
|
|
8043
|
-
detail: string;
|
|
8044
|
-
};
|
|
8045
|
-
number2: {
|
|
8045
|
+
serialNumber: {
|
|
8046
8046
|
name: string;
|
|
8047
8047
|
detail: string;
|
|
8048
8048
|
};
|
|
@@ -8101,11 +8101,11 @@ declare const _default: {
|
|
|
8101
8101
|
url: string;
|
|
8102
8102
|
}[];
|
|
8103
8103
|
functionParameter: {
|
|
8104
|
-
|
|
8104
|
+
serialNumber: {
|
|
8105
8105
|
name: string;
|
|
8106
8106
|
detail: string;
|
|
8107
8107
|
};
|
|
8108
|
-
|
|
8108
|
+
returnType: {
|
|
8109
8109
|
name: string;
|
|
8110
8110
|
detail: string;
|
|
8111
8111
|
};
|
|
@@ -8137,11 +8137,15 @@ declare const _default: {
|
|
|
8137
8137
|
url: string;
|
|
8138
8138
|
}[];
|
|
8139
8139
|
functionParameter: {
|
|
8140
|
-
|
|
8140
|
+
startDate: {
|
|
8141
8141
|
name: string;
|
|
8142
8142
|
detail: string;
|
|
8143
8143
|
};
|
|
8144
|
-
|
|
8144
|
+
days: {
|
|
8145
|
+
name: string;
|
|
8146
|
+
detail: string;
|
|
8147
|
+
};
|
|
8148
|
+
holidays: {
|
|
8145
8149
|
name: string;
|
|
8146
8150
|
detail: string;
|
|
8147
8151
|
};
|
|
@@ -8155,11 +8159,19 @@ declare const _default: {
|
|
|
8155
8159
|
url: string;
|
|
8156
8160
|
}[];
|
|
8157
8161
|
functionParameter: {
|
|
8158
|
-
|
|
8162
|
+
startDate: {
|
|
8159
8163
|
name: string;
|
|
8160
8164
|
detail: string;
|
|
8161
8165
|
};
|
|
8162
|
-
|
|
8166
|
+
days: {
|
|
8167
|
+
name: string;
|
|
8168
|
+
detail: string;
|
|
8169
|
+
};
|
|
8170
|
+
weekend: {
|
|
8171
|
+
name: string;
|
|
8172
|
+
detail: string;
|
|
8173
|
+
};
|
|
8174
|
+
holidays: {
|
|
8163
8175
|
name: string;
|
|
8164
8176
|
detail: string;
|
|
8165
8177
|
};
|
|
@@ -5217,11 +5217,11 @@ declare const _default: {
|
|
|
5217
5217
|
url: string;
|
|
5218
5218
|
}[];
|
|
5219
5219
|
functionParameter: {
|
|
5220
|
-
|
|
5220
|
+
array1: {
|
|
5221
5221
|
name: string;
|
|
5222
5222
|
detail: string;
|
|
5223
5223
|
};
|
|
5224
|
-
|
|
5224
|
+
array2: {
|
|
5225
5225
|
name: string;
|
|
5226
5226
|
detail: string;
|
|
5227
5227
|
};
|
|
@@ -7649,11 +7649,11 @@ declare const _default: {
|
|
|
7649
7649
|
url: string;
|
|
7650
7650
|
}[];
|
|
7651
7651
|
functionParameter: {
|
|
7652
|
-
|
|
7652
|
+
array1: {
|
|
7653
7653
|
name: string;
|
|
7654
7654
|
detail: string;
|
|
7655
7655
|
};
|
|
7656
|
-
|
|
7656
|
+
array2: {
|
|
7657
7657
|
name: string;
|
|
7658
7658
|
detail: string;
|
|
7659
7659
|
};
|
|
@@ -7925,11 +7925,7 @@ declare const _default: {
|
|
|
7925
7925
|
url: string;
|
|
7926
7926
|
}[];
|
|
7927
7927
|
functionParameter: {
|
|
7928
|
-
|
|
7929
|
-
name: string;
|
|
7930
|
-
detail: string;
|
|
7931
|
-
};
|
|
7932
|
-
number2: {
|
|
7928
|
+
serialNumber: {
|
|
7933
7929
|
name: string;
|
|
7934
7930
|
detail: string;
|
|
7935
7931
|
};
|
|
@@ -7961,11 +7957,7 @@ declare const _default: {
|
|
|
7961
7957
|
url: string;
|
|
7962
7958
|
}[];
|
|
7963
7959
|
functionParameter: {
|
|
7964
|
-
|
|
7965
|
-
name: string;
|
|
7966
|
-
detail: string;
|
|
7967
|
-
};
|
|
7968
|
-
number2: {
|
|
7960
|
+
serialNumber: {
|
|
7969
7961
|
name: string;
|
|
7970
7962
|
detail: string;
|
|
7971
7963
|
};
|
|
@@ -7993,11 +7985,15 @@ declare const _default: {
|
|
|
7993
7985
|
url: string;
|
|
7994
7986
|
}[];
|
|
7995
7987
|
functionParameter: {
|
|
7996
|
-
|
|
7988
|
+
startDate: {
|
|
7997
7989
|
name: string;
|
|
7998
7990
|
detail: string;
|
|
7999
7991
|
};
|
|
8000
|
-
|
|
7992
|
+
endDate: {
|
|
7993
|
+
name: string;
|
|
7994
|
+
detail: string;
|
|
7995
|
+
};
|
|
7996
|
+
holidays: {
|
|
8001
7997
|
name: string;
|
|
8002
7998
|
detail: string;
|
|
8003
7999
|
};
|
|
@@ -8011,11 +8007,19 @@ declare const _default: {
|
|
|
8011
8007
|
url: string;
|
|
8012
8008
|
}[];
|
|
8013
8009
|
functionParameter: {
|
|
8014
|
-
|
|
8010
|
+
startDate: {
|
|
8015
8011
|
name: string;
|
|
8016
8012
|
detail: string;
|
|
8017
8013
|
};
|
|
8018
|
-
|
|
8014
|
+
endDate: {
|
|
8015
|
+
name: string;
|
|
8016
|
+
detail: string;
|
|
8017
|
+
};
|
|
8018
|
+
weekend: {
|
|
8019
|
+
name: string;
|
|
8020
|
+
detail: string;
|
|
8021
|
+
};
|
|
8022
|
+
holidays: {
|
|
8019
8023
|
name: string;
|
|
8020
8024
|
detail: string;
|
|
8021
8025
|
};
|
|
@@ -8038,11 +8042,7 @@ declare const _default: {
|
|
|
8038
8042
|
url: string;
|
|
8039
8043
|
}[];
|
|
8040
8044
|
functionParameter: {
|
|
8041
|
-
|
|
8042
|
-
name: string;
|
|
8043
|
-
detail: string;
|
|
8044
|
-
};
|
|
8045
|
-
number2: {
|
|
8045
|
+
serialNumber: {
|
|
8046
8046
|
name: string;
|
|
8047
8047
|
detail: string;
|
|
8048
8048
|
};
|
|
@@ -8101,11 +8101,11 @@ declare const _default: {
|
|
|
8101
8101
|
url: string;
|
|
8102
8102
|
}[];
|
|
8103
8103
|
functionParameter: {
|
|
8104
|
-
|
|
8104
|
+
serialNumber: {
|
|
8105
8105
|
name: string;
|
|
8106
8106
|
detail: string;
|
|
8107
8107
|
};
|
|
8108
|
-
|
|
8108
|
+
returnType: {
|
|
8109
8109
|
name: string;
|
|
8110
8110
|
detail: string;
|
|
8111
8111
|
};
|
|
@@ -8137,11 +8137,15 @@ declare const _default: {
|
|
|
8137
8137
|
url: string;
|
|
8138
8138
|
}[];
|
|
8139
8139
|
functionParameter: {
|
|
8140
|
-
|
|
8140
|
+
startDate: {
|
|
8141
8141
|
name: string;
|
|
8142
8142
|
detail: string;
|
|
8143
8143
|
};
|
|
8144
|
-
|
|
8144
|
+
days: {
|
|
8145
|
+
name: string;
|
|
8146
|
+
detail: string;
|
|
8147
|
+
};
|
|
8148
|
+
holidays: {
|
|
8145
8149
|
name: string;
|
|
8146
8150
|
detail: string;
|
|
8147
8151
|
};
|
|
@@ -8155,11 +8159,19 @@ declare const _default: {
|
|
|
8155
8159
|
url: string;
|
|
8156
8160
|
}[];
|
|
8157
8161
|
functionParameter: {
|
|
8158
|
-
|
|
8162
|
+
startDate: {
|
|
8159
8163
|
name: string;
|
|
8160
8164
|
detail: string;
|
|
8161
8165
|
};
|
|
8162
|
-
|
|
8166
|
+
days: {
|
|
8167
|
+
name: string;
|
|
8168
|
+
detail: string;
|
|
8169
|
+
};
|
|
8170
|
+
weekend: {
|
|
8171
|
+
name: string;
|
|
8172
|
+
detail: string;
|
|
8173
|
+
};
|
|
8174
|
+
holidays: {
|
|
8163
8175
|
name: string;
|
|
8164
8176
|
detail: string;
|
|
8165
8177
|
};
|
|
@@ -7697,11 +7697,11 @@ declare const _default: {
|
|
|
7697
7697
|
url: string;
|
|
7698
7698
|
}[];
|
|
7699
7699
|
functionParameter: {
|
|
7700
|
-
|
|
7700
|
+
array1: {
|
|
7701
7701
|
name: string;
|
|
7702
7702
|
detail: string;
|
|
7703
7703
|
};
|
|
7704
|
-
|
|
7704
|
+
array2: {
|
|
7705
7705
|
name: string;
|
|
7706
7706
|
detail: string;
|
|
7707
7707
|
};
|
|
@@ -7981,11 +7981,7 @@ declare const _default: {
|
|
|
7981
7981
|
url: string;
|
|
7982
7982
|
}[];
|
|
7983
7983
|
functionParameter: {
|
|
7984
|
-
|
|
7985
|
-
name: string;
|
|
7986
|
-
detail: string;
|
|
7987
|
-
};
|
|
7988
|
-
number2: {
|
|
7984
|
+
serialNumber: {
|
|
7989
7985
|
name: string;
|
|
7990
7986
|
detail: string;
|
|
7991
7987
|
};
|
|
@@ -8017,11 +8013,7 @@ declare const _default: {
|
|
|
8017
8013
|
url: string;
|
|
8018
8014
|
}[];
|
|
8019
8015
|
functionParameter: {
|
|
8020
|
-
|
|
8021
|
-
name: string;
|
|
8022
|
-
detail: string;
|
|
8023
|
-
};
|
|
8024
|
-
number2: {
|
|
8016
|
+
serialNumber: {
|
|
8025
8017
|
name: string;
|
|
8026
8018
|
detail: string;
|
|
8027
8019
|
};
|
|
@@ -8094,11 +8086,7 @@ declare const _default: {
|
|
|
8094
8086
|
url: string;
|
|
8095
8087
|
}[];
|
|
8096
8088
|
functionParameter: {
|
|
8097
|
-
|
|
8098
|
-
name: string;
|
|
8099
|
-
detail: string;
|
|
8100
|
-
};
|
|
8101
|
-
number2: {
|
|
8089
|
+
serialNumber: {
|
|
8102
8090
|
name: string;
|
|
8103
8091
|
detail: string;
|
|
8104
8092
|
};
|
|
@@ -109,9 +109,7 @@ export declare class FormulaPromptService implements IFormulaPromptService, IDis
|
|
|
109
109
|
readonly acceptFormulaName$: Observable<string>;
|
|
110
110
|
private _searching;
|
|
111
111
|
private _helping;
|
|
112
|
-
private _isInsertRefString;
|
|
113
112
|
private _sequenceNodes;
|
|
114
|
-
private _isSelectionMoving;
|
|
115
113
|
private _isLockedOnSelectionChangeRefString;
|
|
116
114
|
private _isLockedOnSelectionInsertRefString;
|
|
117
115
|
dispose(): void;
|
|
@@ -18,8 +18,10 @@ export declare class RefSelectionsRenderService extends BaseSelectionRenderServi
|
|
|
18
18
|
private readonly _workbookSelections;
|
|
19
19
|
private _eventDisposables;
|
|
20
20
|
constructor(_context: IRenderContext<Workbook>, injector: Injector, themeService: ThemeService, shortcutService: IShortcutService, renderManagerService: IRenderManagerService, refSelectionsService: SheetsSelectionsService, _sheetSkeletonManagerService: SheetSkeletonManagerService);
|
|
21
|
+
getLocation(): [string, string];
|
|
21
22
|
setRemainLastEnabled(enabled: boolean): void;
|
|
22
23
|
setSkipLastEnabled(enabled: boolean): void;
|
|
24
|
+
clearLastSelection(): void;
|
|
23
25
|
/**
|
|
24
26
|
* Call this method and user will be able to select on the canvas to update selections.
|
|
25
27
|
*/
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
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
|
+
type Callback = () => void;
|
|
17
|
+
export declare const useResizeScrollObserver: (callback: Callback, delay?: number) => void;
|
|
18
|
+
export default useResizeScrollObserver;
|