@univerjs/sheets-formula 0.2.10 → 0.2.12
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 +3 -3
- package/lib/es/index.js +250 -202
- package/lib/locale/en-US.json +7 -24
- package/lib/locale/ru-RU.json +7 -24
- package/lib/locale/vi-VN.json +43 -0
- package/lib/locale/zh-CN.json +7 -24
- package/lib/locale/zh-TW.json +9 -26
- package/lib/types/controllers/config.schema.d.ts +32 -0
- package/lib/types/controllers/formula-ui.controller.d.ts +4 -13
- package/lib/types/controllers/menu.schema.d.ts +2 -0
- package/lib/types/formula-ui-plugin.d.ts +8 -5
- package/lib/types/locale/en-US.d.ts +3 -20
- package/lib/types/locale/function-list/information/en-US.d.ts +3 -20
- package/lib/types/locale/function-list/information/ja-JP.d.ts +3 -20
- package/lib/types/locale/function-list/information/vi-VN.d.ts +37 -0
- package/lib/types/locale/function-list/information/zh-CN.d.ts +3 -20
- package/lib/types/locale/function-list/information/zh-TW.d.ts +3 -20
- package/lib/types/locale/ru-RU.d.ts +3 -20
- package/lib/types/locale/vi-VN.d.ts +37 -0
- package/lib/types/locale/zh-CN.d.ts +3 -20
- package/lib/types/locale/zh-TW.d.ts +3 -20
- package/lib/types/services/description.service.d.ts +3 -3
- package/lib/umd/index.js +3 -3
- package/package.json +22 -22
|
@@ -1883,11 +1883,7 @@ declare const _default: {
|
|
|
1883
1883
|
url: string;
|
|
1884
1884
|
}[];
|
|
1885
1885
|
functionParameter: {
|
|
1886
|
-
|
|
1887
|
-
name: string;
|
|
1888
|
-
detail: string;
|
|
1889
|
-
};
|
|
1890
|
-
number2: {
|
|
1886
|
+
reference: {
|
|
1891
1887
|
name: string;
|
|
1892
1888
|
detail: string;
|
|
1893
1889
|
};
|
|
@@ -2017,11 +2013,7 @@ declare const _default: {
|
|
|
2017
2013
|
url: string;
|
|
2018
2014
|
}[];
|
|
2019
2015
|
functionParameter: {
|
|
2020
|
-
|
|
2021
|
-
name: string;
|
|
2022
|
-
detail: string;
|
|
2023
|
-
};
|
|
2024
|
-
number2: {
|
|
2016
|
+
value: {
|
|
2025
2017
|
name: string;
|
|
2026
2018
|
detail: string;
|
|
2027
2019
|
};
|
|
@@ -2034,16 +2026,7 @@ declare const _default: {
|
|
|
2034
2026
|
title: string;
|
|
2035
2027
|
url: string;
|
|
2036
2028
|
}[];
|
|
2037
|
-
functionParameter: {
|
|
2038
|
-
number1: {
|
|
2039
|
-
name: string;
|
|
2040
|
-
detail: string;
|
|
2041
|
-
};
|
|
2042
|
-
number2: {
|
|
2043
|
-
name: string;
|
|
2044
|
-
detail: string;
|
|
2045
|
-
};
|
|
2046
|
-
};
|
|
2029
|
+
functionParameter: {};
|
|
2047
2030
|
};
|
|
2048
2031
|
SHEET: {
|
|
2049
2032
|
description: string;
|
|
@@ -1857,6 +1857,20 @@ declare const _default: {
|
|
|
1857
1857
|
};
|
|
1858
1858
|
};
|
|
1859
1859
|
};
|
|
1860
|
+
ISFORMULA: {
|
|
1861
|
+
description: string;
|
|
1862
|
+
abstract: string;
|
|
1863
|
+
links: {
|
|
1864
|
+
title: string;
|
|
1865
|
+
url: string;
|
|
1866
|
+
}[];
|
|
1867
|
+
functionParameter: {
|
|
1868
|
+
reference: {
|
|
1869
|
+
name: string;
|
|
1870
|
+
detail: string;
|
|
1871
|
+
};
|
|
1872
|
+
};
|
|
1873
|
+
};
|
|
1860
1874
|
ISLOGICAL: {
|
|
1861
1875
|
description: string;
|
|
1862
1876
|
abstract: string;
|
|
@@ -1955,6 +1969,29 @@ declare const _default: {
|
|
|
1955
1969
|
};
|
|
1956
1970
|
};
|
|
1957
1971
|
};
|
|
1972
|
+
N: {
|
|
1973
|
+
description: string;
|
|
1974
|
+
abstract: string;
|
|
1975
|
+
links: {
|
|
1976
|
+
title: string;
|
|
1977
|
+
url: string;
|
|
1978
|
+
}[];
|
|
1979
|
+
functionParameter: {
|
|
1980
|
+
value: {
|
|
1981
|
+
name: string;
|
|
1982
|
+
detail: string;
|
|
1983
|
+
};
|
|
1984
|
+
};
|
|
1985
|
+
};
|
|
1986
|
+
NA: {
|
|
1987
|
+
description: string;
|
|
1988
|
+
abstract: string;
|
|
1989
|
+
links: {
|
|
1990
|
+
title: string;
|
|
1991
|
+
url: string;
|
|
1992
|
+
}[];
|
|
1993
|
+
functionParameter: {};
|
|
1994
|
+
};
|
|
1958
1995
|
TYPE: {
|
|
1959
1996
|
description: string;
|
|
1960
1997
|
abstract: string;
|
|
@@ -1883,11 +1883,7 @@ declare const _default: {
|
|
|
1883
1883
|
url: string;
|
|
1884
1884
|
}[];
|
|
1885
1885
|
functionParameter: {
|
|
1886
|
-
|
|
1887
|
-
name: string;
|
|
1888
|
-
detail: string;
|
|
1889
|
-
};
|
|
1890
|
-
number2: {
|
|
1886
|
+
reference: {
|
|
1891
1887
|
name: string;
|
|
1892
1888
|
detail: string;
|
|
1893
1889
|
};
|
|
@@ -2017,11 +2013,7 @@ declare const _default: {
|
|
|
2017
2013
|
url: string;
|
|
2018
2014
|
}[];
|
|
2019
2015
|
functionParameter: {
|
|
2020
|
-
|
|
2021
|
-
name: string;
|
|
2022
|
-
detail: string;
|
|
2023
|
-
};
|
|
2024
|
-
number2: {
|
|
2016
|
+
value: {
|
|
2025
2017
|
name: string;
|
|
2026
2018
|
detail: string;
|
|
2027
2019
|
};
|
|
@@ -2034,16 +2026,7 @@ declare const _default: {
|
|
|
2034
2026
|
title: string;
|
|
2035
2027
|
url: string;
|
|
2036
2028
|
}[];
|
|
2037
|
-
functionParameter: {
|
|
2038
|
-
number1: {
|
|
2039
|
-
name: string;
|
|
2040
|
-
detail: string;
|
|
2041
|
-
};
|
|
2042
|
-
number2: {
|
|
2043
|
-
name: string;
|
|
2044
|
-
detail: string;
|
|
2045
|
-
};
|
|
2046
|
-
};
|
|
2029
|
+
functionParameter: {};
|
|
2047
2030
|
};
|
|
2048
2031
|
SHEET: {
|
|
2049
2032
|
description: string;
|
|
@@ -1883,11 +1883,7 @@ declare const _default: {
|
|
|
1883
1883
|
url: string;
|
|
1884
1884
|
}[];
|
|
1885
1885
|
functionParameter: {
|
|
1886
|
-
|
|
1887
|
-
name: string;
|
|
1888
|
-
detail: string;
|
|
1889
|
-
};
|
|
1890
|
-
number2: {
|
|
1886
|
+
reference: {
|
|
1891
1887
|
name: string;
|
|
1892
1888
|
detail: string;
|
|
1893
1889
|
};
|
|
@@ -2017,11 +2013,7 @@ declare const _default: {
|
|
|
2017
2013
|
url: string;
|
|
2018
2014
|
}[];
|
|
2019
2015
|
functionParameter: {
|
|
2020
|
-
|
|
2021
|
-
name: string;
|
|
2022
|
-
detail: string;
|
|
2023
|
-
};
|
|
2024
|
-
number2: {
|
|
2016
|
+
value: {
|
|
2025
2017
|
name: string;
|
|
2026
2018
|
detail: string;
|
|
2027
2019
|
};
|
|
@@ -2034,16 +2026,7 @@ declare const _default: {
|
|
|
2034
2026
|
title: string;
|
|
2035
2027
|
url: string;
|
|
2036
2028
|
}[];
|
|
2037
|
-
functionParameter: {
|
|
2038
|
-
number1: {
|
|
2039
|
-
name: string;
|
|
2040
|
-
detail: string;
|
|
2041
|
-
};
|
|
2042
|
-
number2: {
|
|
2043
|
-
name: string;
|
|
2044
|
-
detail: string;
|
|
2045
|
-
};
|
|
2046
|
-
};
|
|
2029
|
+
functionParameter: {};
|
|
2047
2030
|
};
|
|
2048
2031
|
SHEET: {
|
|
2049
2032
|
description: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LocaleService, IDisposable } from '@univerjs/core';
|
|
1
|
+
import { IConfigService, LocaleService, IDisposable } from '@univerjs/core';
|
|
2
2
|
import { IFunctionInfo, IFunctionNames, IFunctionService } from '@univerjs/engine-formula';
|
|
3
3
|
export interface ISearchItem {
|
|
4
4
|
name: string;
|
|
@@ -61,11 +61,11 @@ export interface IDescriptionService {
|
|
|
61
61
|
}
|
|
62
62
|
export declare const IDescriptionService: import('@univerjs/core').IdentifierDecorator<IDescriptionService>;
|
|
63
63
|
export declare class DescriptionService implements IDescriptionService, IDisposable {
|
|
64
|
-
private _description;
|
|
65
64
|
private readonly _functionService;
|
|
66
65
|
private readonly _localeService;
|
|
66
|
+
private readonly _configService;
|
|
67
67
|
private _descriptions;
|
|
68
|
-
constructor(
|
|
68
|
+
constructor(_functionService: IFunctionService, _localeService: LocaleService, _configService: IConfigService);
|
|
69
69
|
dispose(): void;
|
|
70
70
|
getDescriptions(): Map<IFunctionNames, IFunctionInfo>;
|
|
71
71
|
hasFunction(searchText: string): boolean;
|