@univerjs/sheets-formula 0.1.0-alpha.1 → 0.1.0-alpha.3

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.
Files changed (210) hide show
  1. package/LICENSE.txt +178 -0
  2. package/README.md +1 -1
  3. package/lib/cjs/index.js +13 -4215
  4. package/lib/es/index.js +18707 -0
  5. package/lib/index.css +1 -214
  6. package/lib/types/commands/commands/formula-clipboard.command.d.ts +18 -0
  7. package/lib/types/commands/commands/insert-function.command.d.ts +15 -1
  8. package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +15 -1
  9. package/lib/types/commands/operations/__tests__/insert-function.operation.spec.d.ts +15 -1
  10. package/lib/types/commands/operations/editor-formula.operation.d.ts +15 -1
  11. package/lib/types/commands/operations/help-function.operation.d.ts +15 -1
  12. package/lib/types/commands/operations/insert-function.operation.d.ts +15 -1
  13. package/lib/types/commands/operations/more-functions.operation.d.ts +15 -1
  14. package/lib/types/commands/operations/reference-absolute.operation.d.ts +15 -1
  15. package/lib/types/commands/operations/search-function.operation.d.ts +15 -1
  16. package/lib/types/common/plugin-name.d.ts +15 -1
  17. package/lib/types/common/prompt.d.ts +15 -1
  18. package/lib/types/common/selection.d.ts +16 -2
  19. package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +15 -1
  20. package/lib/types/controllers/__tests__/formula-auto-fill.controller.spec.d.ts +15 -1
  21. package/lib/types/controllers/__tests__/formula-clipboard.controller.spec.d.ts +16 -0
  22. package/lib/types/controllers/__tests__/update-formula.controller.spec.d.ts +16 -0
  23. package/lib/types/controllers/__tests__/utils.spec.d.ts +16 -0
  24. package/lib/types/controllers/active-dirty.controller.d.ts +40 -0
  25. package/lib/types/controllers/array-formula-display.controller.d.ts +27 -0
  26. package/lib/types/controllers/formula-auto-fill.controller.d.ts +18 -4
  27. package/lib/types/controllers/formula-clipboard.controller.d.ts +41 -0
  28. package/lib/types/controllers/formula-editor-show.controller.d.ts +38 -0
  29. package/lib/types/controllers/formula-input.controller.d.ts +20 -4
  30. package/lib/types/controllers/formula-ui.controller.d.ts +15 -1
  31. package/lib/types/controllers/menu.d.ts +16 -1
  32. package/lib/types/controllers/prompt.controller.d.ts +19 -6
  33. package/lib/types/controllers/shortcuts/prompt.shortcut.d.ts +15 -1
  34. package/lib/types/controllers/trigger-calculation.controller.d.ts +33 -0
  35. package/lib/types/controllers/update-formula.controller.d.ts +75 -0
  36. package/lib/types/controllers/utils.d.ts +26 -0
  37. package/lib/types/formula-ui-plugin.d.ts +16 -2
  38. package/lib/types/index.d.ts +17 -2
  39. package/lib/types/locale/en-US.d.ts +9124 -11
  40. package/lib/types/locale/function-list/array/en-US.d.ts +15 -1
  41. package/lib/types/locale/function-list/array/ja-JP.d.ts +17 -0
  42. package/lib/types/locale/function-list/array/zh-CN.d.ts +15 -1
  43. package/lib/types/locale/function-list/compatibility/en-US.d.ts +755 -2
  44. package/lib/types/locale/function-list/compatibility/ja-JP.d.ts +756 -0
  45. package/lib/types/locale/function-list/compatibility/zh-CN.d.ts +755 -2
  46. package/lib/types/locale/function-list/cube/en-US.d.ts +143 -2
  47. package/lib/types/locale/function-list/cube/ja-JP.d.ts +144 -0
  48. package/lib/types/locale/function-list/cube/zh-CN.d.ts +143 -2
  49. package/lib/types/locale/function-list/database/en-US.d.ts +233 -2
  50. package/lib/types/locale/function-list/database/ja-JP.d.ts +234 -0
  51. package/lib/types/locale/function-list/database/zh-CN.d.ts +233 -2
  52. package/lib/types/locale/function-list/date/en-US.d.ts +467 -2
  53. package/lib/types/locale/function-list/date/ja-JP.d.ts +468 -0
  54. package/lib/types/locale/function-list/date/zh-CN.d.ts +467 -2
  55. package/lib/types/locale/function-list/engineering/en-US.d.ts +989 -2
  56. package/lib/types/locale/function-list/engineering/ja-JP.d.ts +990 -0
  57. package/lib/types/locale/function-list/engineering/zh-CN.d.ts +989 -2
  58. package/lib/types/locale/function-list/financial/en-US.d.ts +1007 -2
  59. package/lib/types/locale/function-list/financial/ja-JP.d.ts +1008 -0
  60. package/lib/types/locale/function-list/financial/zh-CN.d.ts +1007 -2
  61. package/lib/types/locale/function-list/information/en-US.d.ts +395 -2
  62. package/lib/types/locale/function-list/information/ja-JP.d.ts +396 -0
  63. package/lib/types/locale/function-list/information/zh-CN.d.ts +395 -2
  64. package/lib/types/locale/function-list/logical/en-US.d.ts +359 -2
  65. package/lib/types/locale/function-list/logical/ja-JP.d.ts +360 -0
  66. package/lib/types/locale/function-list/logical/zh-CN.d.ts +359 -2
  67. package/lib/types/locale/function-list/lookup/en-US.d.ts +683 -2
  68. package/lib/types/locale/function-list/lookup/ja-JP.d.ts +684 -0
  69. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +683 -2
  70. package/lib/types/locale/function-list/math/en-US.d.ts +1463 -1
  71. package/lib/types/locale/function-list/math/ja-JP.d.ts +1494 -0
  72. package/lib/types/locale/function-list/math/zh-CN.d.ts +1463 -1
  73. package/lib/types/locale/function-list/statistical/en-US.d.ts +1959 -3
  74. package/lib/types/locale/function-list/statistical/ja-JP.d.ts +2016 -0
  75. package/lib/types/locale/function-list/statistical/zh-CN.d.ts +1959 -3
  76. package/lib/types/locale/function-list/text/en-US.d.ts +863 -2
  77. package/lib/types/locale/function-list/text/ja-JP.d.ts +865 -0
  78. package/lib/types/locale/function-list/text/zh-CN.d.ts +863 -2
  79. package/lib/types/locale/function-list/univer/en-US.d.ts +15 -1
  80. package/lib/types/locale/function-list/univer/ja-JP.d.ts +17 -0
  81. package/lib/types/locale/function-list/univer/zh-CN.d.ts +15 -1
  82. package/lib/types/locale/function-list/web/en-US.d.ts +71 -2
  83. package/lib/types/locale/function-list/web/ja-JP.d.ts +72 -0
  84. package/lib/types/locale/function-list/web/zh-CN.d.ts +71 -2
  85. package/lib/types/locale/index.d.ts +15 -1
  86. package/lib/types/locale/zh-CN.d.ts +9124 -11
  87. package/lib/types/services/active-dirty-manager.service.d.ts +48 -0
  88. package/lib/types/services/description.service.d.ts +21 -7
  89. package/lib/types/services/formula-input.service.d.ts +15 -4
  90. package/lib/types/services/function-list/array.d.ts +15 -1
  91. package/lib/types/services/function-list/compatibility.d.ts +15 -1
  92. package/lib/types/services/function-list/cube.d.ts +15 -1
  93. package/lib/types/services/function-list/database.d.ts +15 -1
  94. package/lib/types/services/function-list/date.d.ts +15 -1
  95. package/lib/types/services/function-list/engineering.d.ts +15 -1
  96. package/lib/types/services/function-list/financial.d.ts +15 -1
  97. package/lib/types/services/function-list/function-list.d.ts +15 -1
  98. package/lib/types/services/function-list/information.d.ts +15 -1
  99. package/lib/types/services/function-list/logical.d.ts +15 -1
  100. package/lib/types/services/function-list/lookup.d.ts +15 -1
  101. package/lib/types/services/function-list/math.d.ts +15 -1
  102. package/lib/types/services/function-list/statistical.d.ts +15 -1
  103. package/lib/types/services/function-list/text.d.ts +15 -1
  104. package/lib/types/services/function-list/univer.d.ts +15 -1
  105. package/lib/types/services/function-list/web.d.ts +15 -1
  106. package/lib/types/services/prompt.service.d.ts +15 -1
  107. package/lib/types/services/utils.d.ts +15 -1
  108. package/lib/types/views/FormulaPromptContainer.d.ts +15 -1
  109. package/lib/types/views/more-functions/MoreFunctions.d.ts +15 -1
  110. package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts +15 -1
  111. package/lib/types/views/more-functions/function-params/FunctionParams.d.ts +15 -1
  112. package/lib/types/views/more-functions/input-params/InputParams.d.ts +15 -1
  113. package/lib/types/views/more-functions/interface.d.ts +15 -1
  114. package/lib/types/views/more-functions/select-function/SelectFunction.d.ts +15 -1
  115. package/lib/types/views/prompt/error-function/error-function.d.ts +15 -1
  116. package/lib/types/views/prompt/help-function/HelpFunction.d.ts +15 -1
  117. package/lib/types/views/prompt/search-function/SearchFunction.d.ts +15 -1
  118. package/lib/umd/index.js +13 -0
  119. package/package.json +40 -31
  120. package/LICENSE +0 -21
  121. package/lib/cjs/locale/en-US.js +0 -223
  122. package/lib/cjs/locale/zh-CN.js +0 -223
  123. package/lib/esm/index.js +0 -4205
  124. package/lib/esm/locale/en-US.js +0 -200
  125. package/lib/esm/locale/zh-CN.js +0 -200
  126. package/lib/types/commands/commands/insert-function.command.d.ts.map +0 -1
  127. package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts.map +0 -1
  128. package/lib/types/commands/operations/__tests__/insert-function.operation.spec.d.ts.map +0 -1
  129. package/lib/types/commands/operations/editor-formula.operation.d.ts.map +0 -1
  130. package/lib/types/commands/operations/help-function.operation.d.ts.map +0 -1
  131. package/lib/types/commands/operations/insert-function.operation.d.ts.map +0 -1
  132. package/lib/types/commands/operations/more-functions.operation.d.ts.map +0 -1
  133. package/lib/types/commands/operations/reference-absolute.operation.d.ts.map +0 -1
  134. package/lib/types/commands/operations/search-function.operation.d.ts.map +0 -1
  135. package/lib/types/common/plugin-name.d.ts.map +0 -1
  136. package/lib/types/common/prompt.d.ts.map +0 -1
  137. package/lib/types/common/selection.d.ts.map +0 -1
  138. package/lib/types/controllers/__tests__/create-command-test-bed.d.ts.map +0 -1
  139. package/lib/types/controllers/__tests__/formula-auto-fill.controller.spec.d.ts.map +0 -1
  140. package/lib/types/controllers/formula-auto-fill.controller.d.ts.map +0 -1
  141. package/lib/types/controllers/formula-input.controller.d.ts.map +0 -1
  142. package/lib/types/controllers/formula-ui.controller.d.ts.map +0 -1
  143. package/lib/types/controllers/menu.d.ts.map +0 -1
  144. package/lib/types/controllers/prompt.controller.d.ts.map +0 -1
  145. package/lib/types/controllers/shortcuts/prompt.shortcut.d.ts.map +0 -1
  146. package/lib/types/formula-ui-plugin.d.ts.map +0 -1
  147. package/lib/types/index.d.ts.map +0 -1
  148. package/lib/types/locale/en-US.d.ts.map +0 -1
  149. package/lib/types/locale/function-list/array/en-US.d.ts.map +0 -1
  150. package/lib/types/locale/function-list/array/zh-CN.d.ts.map +0 -1
  151. package/lib/types/locale/function-list/compatibility/en-US.d.ts.map +0 -1
  152. package/lib/types/locale/function-list/compatibility/zh-CN.d.ts.map +0 -1
  153. package/lib/types/locale/function-list/cube/en-US.d.ts.map +0 -1
  154. package/lib/types/locale/function-list/cube/zh-CN.d.ts.map +0 -1
  155. package/lib/types/locale/function-list/database/en-US.d.ts.map +0 -1
  156. package/lib/types/locale/function-list/database/zh-CN.d.ts.map +0 -1
  157. package/lib/types/locale/function-list/date/en-US.d.ts.map +0 -1
  158. package/lib/types/locale/function-list/date/zh-CN.d.ts.map +0 -1
  159. package/lib/types/locale/function-list/engineering/en-US.d.ts.map +0 -1
  160. package/lib/types/locale/function-list/engineering/zh-CN.d.ts.map +0 -1
  161. package/lib/types/locale/function-list/financial/en-US.d.ts.map +0 -1
  162. package/lib/types/locale/function-list/financial/zh-CN.d.ts.map +0 -1
  163. package/lib/types/locale/function-list/information/en-US.d.ts.map +0 -1
  164. package/lib/types/locale/function-list/information/zh-CN.d.ts.map +0 -1
  165. package/lib/types/locale/function-list/logical/en-US.d.ts.map +0 -1
  166. package/lib/types/locale/function-list/logical/zh-CN.d.ts.map +0 -1
  167. package/lib/types/locale/function-list/lookup/en-US.d.ts.map +0 -1
  168. package/lib/types/locale/function-list/lookup/zh-CN.d.ts.map +0 -1
  169. package/lib/types/locale/function-list/math/en-US.d.ts.map +0 -1
  170. package/lib/types/locale/function-list/math/zh-CN.d.ts.map +0 -1
  171. package/lib/types/locale/function-list/statistical/en-US.d.ts.map +0 -1
  172. package/lib/types/locale/function-list/statistical/zh-CN.d.ts.map +0 -1
  173. package/lib/types/locale/function-list/text/en-US.d.ts.map +0 -1
  174. package/lib/types/locale/function-list/text/zh-CN.d.ts.map +0 -1
  175. package/lib/types/locale/function-list/univer/en-US.d.ts.map +0 -1
  176. package/lib/types/locale/function-list/univer/zh-CN.d.ts.map +0 -1
  177. package/lib/types/locale/function-list/web/en-US.d.ts.map +0 -1
  178. package/lib/types/locale/function-list/web/zh-CN.d.ts.map +0 -1
  179. package/lib/types/locale/index.d.ts.map +0 -1
  180. package/lib/types/locale/zh-CN.d.ts.map +0 -1
  181. package/lib/types/services/description.service.d.ts.map +0 -1
  182. package/lib/types/services/formula-input.service.d.ts.map +0 -1
  183. package/lib/types/services/function-list/array.d.ts.map +0 -1
  184. package/lib/types/services/function-list/compatibility.d.ts.map +0 -1
  185. package/lib/types/services/function-list/cube.d.ts.map +0 -1
  186. package/lib/types/services/function-list/database.d.ts.map +0 -1
  187. package/lib/types/services/function-list/date.d.ts.map +0 -1
  188. package/lib/types/services/function-list/engineering.d.ts.map +0 -1
  189. package/lib/types/services/function-list/financial.d.ts.map +0 -1
  190. package/lib/types/services/function-list/function-list.d.ts.map +0 -1
  191. package/lib/types/services/function-list/information.d.ts.map +0 -1
  192. package/lib/types/services/function-list/logical.d.ts.map +0 -1
  193. package/lib/types/services/function-list/lookup.d.ts.map +0 -1
  194. package/lib/types/services/function-list/math.d.ts.map +0 -1
  195. package/lib/types/services/function-list/statistical.d.ts.map +0 -1
  196. package/lib/types/services/function-list/text.d.ts.map +0 -1
  197. package/lib/types/services/function-list/univer.d.ts.map +0 -1
  198. package/lib/types/services/function-list/web.d.ts.map +0 -1
  199. package/lib/types/services/prompt.service.d.ts.map +0 -1
  200. package/lib/types/services/utils.d.ts.map +0 -1
  201. package/lib/types/views/FormulaPromptContainer.d.ts.map +0 -1
  202. package/lib/types/views/more-functions/MoreFunctions.d.ts.map +0 -1
  203. package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts.map +0 -1
  204. package/lib/types/views/more-functions/function-params/FunctionParams.d.ts.map +0 -1
  205. package/lib/types/views/more-functions/input-params/InputParams.d.ts.map +0 -1
  206. package/lib/types/views/more-functions/interface.d.ts.map +0 -1
  207. package/lib/types/views/more-functions/select-function/SelectFunction.d.ts.map +0 -1
  208. package/lib/types/views/prompt/error-function/error-function.d.ts.map +0 -1
  209. package/lib/types/views/prompt/help-function/HelpFunction.d.ts.map +0 -1
  210. package/lib/types/views/prompt/search-function/SearchFunction.d.ts.map +0 -1
@@ -0,0 +1,48 @@
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
+ import type { ICommandInfo, IUnitRange, Nullable } from '@univerjs/core';
17
+ import { Disposable } from '@univerjs/core';
18
+ import type { IDirtyUnitFeatureMap, IDirtyUnitSheetNameMap } from '@univerjs/engine-formula';
19
+ export interface IDirtyConversionManagerParams {
20
+ commandId: string;
21
+ getDirtyData: (command: ICommandInfo) => {
22
+ dirtyRanges?: IUnitRange[];
23
+ dirtyNameMap?: IDirtyUnitSheetNameMap;
24
+ dirtyUnitFeatureMap?: IDirtyUnitFeatureMap;
25
+ };
26
+ }
27
+ export interface IActiveDirtyManagerService {
28
+ dispose(): void;
29
+ remove(commandId: string): void;
30
+ get(commandId: string): Nullable<IDirtyConversionManagerParams>;
31
+ has(featureId: string): boolean;
32
+ register(featureId: string, dirtyConversion: IDirtyConversionManagerParams): void;
33
+ getDirtyConversionMap(): Map<string, IDirtyConversionManagerParams>;
34
+ }
35
+ /**
36
+ * Actively mark as dirty, calculate the dirty area based on the command,
37
+ * and plugins can register the ref range they affect into the formula engine.
38
+ */
39
+ export declare class ActiveDirtyManagerService extends Disposable implements IActiveDirtyManagerService {
40
+ private _dirtyConversionMap;
41
+ dispose(): void;
42
+ remove(commandId: string): void;
43
+ get(commandId: string): IDirtyConversionManagerParams | undefined;
44
+ has(commandId: string): boolean;
45
+ register(commandId: string, dirtyConversion: IDirtyConversionManagerParams): void;
46
+ getDirtyConversionMap(): Map<string, IDirtyConversionManagerParams>;
47
+ }
48
+ export declare const IActiveDirtyManagerService: import("@wendellhu/redi").IdentifierDecorator<ActiveDirtyManagerService>;
@@ -1,6 +1,21 @@
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
+ */
1
16
  import { LocaleService } from '@univerjs/core';
2
- import type { IFunctionInfo } from '@univerjs/engine-formula';
3
- import { FormulaEngineService } from '@univerjs/engine-formula';
17
+ import type { IFunctionInfo, IFunctionNames } from '@univerjs/engine-formula';
18
+ import { IFunctionService } from '@univerjs/engine-formula';
4
19
  import type { IDisposable } from '@wendellhu/redi';
5
20
  export interface ISearchItem {
6
21
  name: string;
@@ -10,7 +25,7 @@ export interface IDescriptionService {
10
25
  /**
11
26
  * get all descriptions
12
27
  */
13
- getDescriptions(): Map<string, IFunctionInfo>;
28
+ getDescriptions(): Map<IFunctionNames, IFunctionInfo>;
14
29
  hasFunction(searchText: string): boolean;
15
30
  /**
16
31
  * get function info by name
@@ -33,11 +48,11 @@ export interface IDescriptionService {
33
48
  export declare const IDescriptionService: import("@wendellhu/redi").IdentifierDecorator<IDescriptionService>;
34
49
  export declare class DescriptionService implements IDescriptionService, IDisposable {
35
50
  private _description;
36
- private readonly _formulaEngineService;
51
+ private readonly _functionService;
37
52
  private readonly _localeService;
38
- constructor(_description: IFunctionInfo[], _formulaEngineService: FormulaEngineService, _localeService: LocaleService);
53
+ constructor(_description: IFunctionInfo[], _functionService: IFunctionService, _localeService: LocaleService);
39
54
  dispose(): void;
40
- getDescriptions(): Map<string, IFunctionInfo>;
55
+ getDescriptions(): Map<IFunctionNames, IFunctionInfo>;
41
56
  hasFunction(searchText: string): boolean;
42
57
  getFunctionInfo(searchText: string): IFunctionInfo | undefined;
43
58
  getSearchListByName(searchText: string): ISearchItem[];
@@ -45,4 +60,3 @@ export declare class DescriptionService implements IDescriptionService, IDisposa
45
60
  private _initialize;
46
61
  private _registerDescription;
47
62
  }
48
- //# sourceMappingURL=description.service.d.ts.map
@@ -1,5 +1,19 @@
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
+ */
1
16
  import type { ISequenceNode } from '@univerjs/engine-formula';
2
- import { FormulaEngineService } from '@univerjs/engine-formula';
3
17
  import type { IDisposable } from '@wendellhu/redi';
4
18
  import type { Observable } from 'rxjs';
5
19
  export interface ISyncToEditorParam {
@@ -33,7 +47,6 @@ export interface IFormulaInputService {
33
47
  inputFormula(formulaString: string): void;
34
48
  }
35
49
  export declare class FormulaInputService implements IFormulaInputService, IDisposable {
36
- private readonly _formulaEngineService;
37
50
  private _sequenceNodes;
38
51
  private _isSelectionMoving;
39
52
  private _isLockedOnSelectionChangeRefString;
@@ -44,7 +57,6 @@ export declare class FormulaInputService implements IFormulaInputService, IDispo
44
57
  readonly changeRef$: Observable<boolean>;
45
58
  private readonly _inputFormula$;
46
59
  readonly inputFormula$: Observable<string>;
47
- constructor(_formulaEngineService: FormulaEngineService);
48
60
  dispose(): void;
49
61
  inputFormula(formulaString: string): void;
50
62
  syncToEditor(textSelectionOffset: number): void;
@@ -92,4 +104,3 @@ export declare class FormulaInputService implements IFormulaInputService, IDispo
92
104
  isLockedSelectionInsert(): boolean;
93
105
  }
94
106
  export declare const IFormulaInputService: import("@wendellhu/redi").IdentifierDecorator<FormulaInputService>;
95
- //# sourceMappingURL=formula-input.service.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_ARRAY: IFunctionInfo[];
3
- //# sourceMappingURL=array.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_COMPATIBILITY: IFunctionInfo[];
3
- //# sourceMappingURL=compatibility.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_CUBE: IFunctionInfo[];
3
- //# sourceMappingURL=cube.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_DATABASE: IFunctionInfo[];
3
- //# sourceMappingURL=database.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_DATE: IFunctionInfo[];
3
- //# sourceMappingURL=date.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_ENGINEERING: IFunctionInfo[];
3
- //# sourceMappingURL=engineering.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_FINANCIAL: IFunctionInfo[];
3
- //# sourceMappingURL=financial.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST: IFunctionInfo[];
3
- //# sourceMappingURL=function-list.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_INFORMATION: IFunctionInfo[];
3
- //# sourceMappingURL=information.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_LOGICAL: IFunctionInfo[];
3
- //# sourceMappingURL=logical.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_LOOKUP: IFunctionInfo[];
3
- //# sourceMappingURL=lookup.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_MATH: IFunctionInfo[];
3
- //# sourceMappingURL=math.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_STATISTICAL: IFunctionInfo[];
3
- //# sourceMappingURL=statistical.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_TEXT: IFunctionInfo[];
3
- //# sourceMappingURL=text.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_UNIVER: IFunctionInfo[];
3
- //# sourceMappingURL=univer.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_WEB: IFunctionInfo[];
3
- //# sourceMappingURL=web.d.ts.map
@@ -1,3 +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
+ */
1
16
  import type { Direction } from '@univerjs/core';
2
17
  import type { IFunctionInfo } from '@univerjs/engine-formula';
3
18
  import type { IDisposable } from '@wendellhu/redi';
@@ -103,4 +118,3 @@ export declare class FormulaPromptService implements IFormulaPromptService, IDis
103
118
  accept(param: boolean): void;
104
119
  acceptFormulaName(param: string): void;
105
120
  }
106
- //# sourceMappingURL=prompt.service.d.ts.map
@@ -1,3 +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
+ */
1
16
  import type { LocaleService } from '@univerjs/core';
2
17
  import type { IFunctionInfo } from '@univerjs/engine-formula';
3
18
  export declare function getFunctionTypeValues(enumObj: any, localeService: LocaleService): Array<{
@@ -5,4 +20,3 @@ export declare function getFunctionTypeValues(enumObj: any, localeService: Local
5
20
  value: string;
6
21
  }>;
7
22
  export declare function getFunctionName(item: IFunctionInfo, localeService: LocaleService): string;
8
- //# sourceMappingURL=utils.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import React from 'react';
2
17
  export declare function RenderFormulaPromptContent(): React.JSX.Element;
3
- //# sourceMappingURL=FormulaPromptContainer.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import React from 'react';
2
17
  export declare function MoreFunctions(): React.JSX.Element;
3
- //# sourceMappingURL=MoreFunctions.d.ts.map
@@ -1,3 +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
+ */
1
16
  import type { IFunctionParam } from '@univerjs/engine-formula';
2
17
  import React from 'react';
3
18
  interface IFunctionHelpProps {
@@ -6,4 +21,3 @@ interface IFunctionHelpProps {
6
21
  }
7
22
  export declare function FunctionHelp(props: IFunctionHelpProps): React.JSX.Element;
8
23
  export {};
9
- //# sourceMappingURL=FunctionHelp.d.ts.map
@@ -1,3 +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
+ */
1
16
  import React from 'react';
2
17
  interface IParamsProps {
3
18
  className?: string;
@@ -6,4 +21,3 @@ interface IParamsProps {
6
21
  }
7
22
  export declare function FunctionParams(props: IParamsProps): React.JSX.Element;
8
23
  export {};
9
- //# sourceMappingURL=FunctionParams.d.ts.map
@@ -1,3 +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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  import React from 'react';
3
18
  export interface IInputParamsProps {
@@ -5,4 +20,3 @@ export interface IInputParamsProps {
5
20
  onChange: (params: string[]) => void;
6
21
  }
7
22
  export declare function InputParams(props: IInputParamsProps): React.JSX.Element | null;
8
- //# sourceMappingURL=InputParams.d.ts.map
@@ -1,2 +1,16 @@
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
+ */
1
16
  export declare const MORE_FUNCTIONS_COMPONENT = "formula-ui_MORE_FUNCTIONS_COMPONENT";
2
- //# sourceMappingURL=interface.d.ts.map