@univerjs/sheets-formula 1.3.1 → 1.5.0

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 (79) hide show
  1. package/README.md +19 -7
  2. package/lib/cjs/facade.js +4 -9
  3. package/lib/cjs/index.js +436 -490
  4. package/lib/cjs/locale/ar-SA.js +1 -2
  5. package/lib/cjs/locale/ca-ES.js +1 -2
  6. package/lib/cjs/locale/de-DE.js +1 -2
  7. package/lib/cjs/locale/en-US.js +1 -2
  8. package/lib/cjs/locale/es-ES.js +1 -2
  9. package/lib/cjs/locale/fa-IR.js +1 -2
  10. package/lib/cjs/locale/fr-FR.js +1 -2
  11. package/lib/cjs/locale/id-ID.js +1 -2
  12. package/lib/cjs/locale/it-IT.js +1 -2
  13. package/lib/cjs/locale/ja-JP.js +1 -2
  14. package/lib/cjs/locale/ko-KR.js +1 -2
  15. package/lib/cjs/locale/pl-PL.js +1 -2
  16. package/lib/cjs/locale/pt-BR.js +1 -2
  17. package/lib/cjs/locale/ru-RU.js +1 -2
  18. package/lib/cjs/locale/sk-SK.js +1 -2
  19. package/lib/cjs/locale/vi-VN.js +1 -2
  20. package/lib/cjs/locale/zh-CN.js +1 -2
  21. package/lib/cjs/locale/zh-HK.js +1 -2
  22. package/lib/cjs/locale/zh-TW.js +1 -2
  23. package/lib/cjs/remote-register-function.service-D0P1G4Uh.js +212 -0
  24. package/lib/cjs/worker.js +52 -0
  25. package/lib/es/facade.js +4 -8
  26. package/lib/es/index.js +353 -401
  27. package/lib/es/locale/ar-SA.js +1 -2
  28. package/lib/es/locale/ca-ES.js +1 -2
  29. package/lib/es/locale/de-DE.js +1 -2
  30. package/lib/es/locale/en-US.js +1 -2
  31. package/lib/es/locale/es-ES.js +1 -2
  32. package/lib/es/locale/fa-IR.js +1 -2
  33. package/lib/es/locale/fr-FR.js +1 -2
  34. package/lib/es/locale/id-ID.js +1 -2
  35. package/lib/es/locale/it-IT.js +1 -2
  36. package/lib/es/locale/ja-JP.js +1 -2
  37. package/lib/es/locale/ko-KR.js +1 -2
  38. package/lib/es/locale/pl-PL.js +1 -2
  39. package/lib/es/locale/pt-BR.js +1 -2
  40. package/lib/es/locale/ru-RU.js +1 -2
  41. package/lib/es/locale/sk-SK.js +1 -2
  42. package/lib/es/locale/vi-VN.js +1 -2
  43. package/lib/es/locale/zh-CN.js +1 -2
  44. package/lib/es/locale/zh-HK.js +1 -2
  45. package/lib/es/locale/zh-TW.js +1 -2
  46. package/lib/es/remote-register-function.service-CaKs4mpz.js +135 -0
  47. package/lib/es/worker.js +46 -0
  48. package/lib/facade.js +4 -8
  49. package/lib/index.js +353 -401
  50. package/lib/locale/ar-SA.js +1 -2
  51. package/lib/locale/ca-ES.js +1 -2
  52. package/lib/locale/de-DE.js +1 -2
  53. package/lib/locale/en-US.js +1 -2
  54. package/lib/locale/es-ES.js +1 -2
  55. package/lib/locale/fa-IR.js +1 -2
  56. package/lib/locale/fr-FR.js +1 -2
  57. package/lib/locale/id-ID.js +1 -2
  58. package/lib/locale/it-IT.js +1 -2
  59. package/lib/locale/ja-JP.js +1 -2
  60. package/lib/locale/ko-KR.js +1 -2
  61. package/lib/locale/pl-PL.js +1 -2
  62. package/lib/locale/pt-BR.js +1 -2
  63. package/lib/locale/ru-RU.js +1 -2
  64. package/lib/locale/sk-SK.js +1 -2
  65. package/lib/locale/vi-VN.js +1 -2
  66. package/lib/locale/zh-CN.js +1 -2
  67. package/lib/locale/zh-HK.js +1 -2
  68. package/lib/locale/zh-TW.js +1 -2
  69. package/lib/remote-register-function.service-CaKs4mpz.js +135 -0
  70. package/lib/types/controllers/trigger-calculation.controller.d.ts +2 -0
  71. package/lib/types/controllers/update-formula.controller.d.ts +4 -0
  72. package/lib/types/index.d.ts +1 -1
  73. package/lib/types/plugin.d.ts +1 -12
  74. package/lib/types/services/formula-ref-range.service.d.ts +8 -0
  75. package/lib/types/services/remote/remote-register-function.service.d.ts +1 -1
  76. package/lib/types/worker.d.ts +28 -0
  77. package/lib/umd/index.js +1 -1
  78. package/lib/worker.js +46 -0
  79. package/package.json +17 -12
@@ -1,4 +1,4 @@
1
- //#region src/locale/ar-SA.ts
1
+ // src/locale/ar-SA.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "جارٍ تحليل الصيغ...",
4
4
  calculating: "جارٍ حساب الصيغ...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "تم"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/ca-ES.ts
1
+ // src/locale/ca-ES.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "Analitzant fórmules...",
4
4
  calculating: "Calculant fórmules...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "Fet"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/de-DE.ts
1
+ // src/locale/de-DE.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "Formeln werden analysiert...",
4
4
  calculating: "Formeln werden berechnet...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "Fertig"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/en-US.ts
1
+ // src/locale/en-US.ts
2
2
  /**
3
3
  * Copyright 2023-present DreamNum Co., Ltd.
4
4
  *
@@ -22,5 +22,4 @@ const locale = { "sheets-formula": { progress: {
22
22
  done: "Done"
23
23
  } } };
24
24
 
25
- //#endregion
26
25
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/es-ES.ts
1
+ // src/locale/es-ES.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "Analizando fórmulas...",
4
4
  calculating: "Calculando fórmulas...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "Listo"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/fa-IR.ts
1
+ // src/locale/fa-IR.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "در حال تحلیل فرمول‌ها...",
4
4
  calculating: "در حال محاسبه فرمول‌ها...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "انجام شد"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/fr-FR.ts
1
+ // src/locale/fr-FR.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "Analyse des formules...",
4
4
  calculating: "Calcul des formules...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "Terminé"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/id-ID.ts
1
+ // src/locale/id-ID.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "Menganalisis rumus...",
4
4
  calculating: "Menghitung rumus...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "Selesai"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/it-IT.ts
1
+ // src/locale/it-IT.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "Analisi delle formule...",
4
4
  calculating: "Calcolo delle formule...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "Completato"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/ja-JP.ts
1
+ // src/locale/ja-JP.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "数式を分析中...",
4
4
  calculating: "数式を計算中...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "完了"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/ko-KR.ts
1
+ // src/locale/ko-KR.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "수식 분석 중...",
4
4
  calculating: "수식 계산 중...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "완료"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/pl-PL.ts
1
+ // src/locale/pl-PL.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "Analizowanie formuł...",
4
4
  calculating: "Obliczanie formuł...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "Gotowe"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/pt-BR.ts
1
+ // src/locale/pt-BR.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "Analisando fórmulas...",
4
4
  calculating: "Calculando fórmulas...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "Concluído"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/ru-RU.ts
1
+ // src/locale/ru-RU.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "Анализ формул...",
4
4
  calculating: "Вычисление формул...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "Готово"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/sk-SK.ts
1
+ // src/locale/sk-SK.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "Analyzujú sa vzorce...",
4
4
  calculating: "Počítajú sa vzorce...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "Hotovo"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/vi-VN.ts
1
+ // src/locale/vi-VN.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "Đang phân tích công thức...",
4
4
  calculating: "Đang tính toán công thức...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "Hoàn tất"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/zh-CN.ts
1
+ // src/locale/zh-CN.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "正在分析公式...",
4
4
  calculating: "正在计算公式...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "完成"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/zh-HK.ts
1
+ // src/locale/zh-HK.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "正在分析公式...",
4
4
  calculating: "正在計算公式...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "完成"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/zh-TW.ts
1
+ // src/locale/zh-TW.ts
2
2
  const locale = { "sheets-formula": { progress: {
3
3
  analyzing: "正在分析公式...",
4
4
  calculating: "正在計算公式...",
@@ -7,5 +7,4 @@ const locale = { "sheets-formula": { progress: {
7
7
  done: "完成"
8
8
  } } };
9
9
 
10
- //#endregion
11
10
  export { locale as default };
@@ -0,0 +1,135 @@
1
+ import { createIdentifier } from "@univerjs/core";
2
+ import { IFunctionService } from "@univerjs/engine-formula";
3
+
4
+ // src/config/config.ts
5
+ /**
6
+ * Base configuration for the plugin.
7
+ */
8
+ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config";
9
+ const configSymbolBase = Symbol(PLUGIN_CONFIG_KEY_BASE);
10
+ let CalculationMode = /* @__PURE__ */ function(CalculationMode) {
11
+ /**
12
+ * Force calculation of all formulas
13
+ */
14
+ CalculationMode[CalculationMode["FORCED"] = 0] = "FORCED";
15
+ /**
16
+ * Partial calculation, only cells with formulas but no v values are calculated
17
+ */
18
+ CalculationMode[CalculationMode["WHEN_EMPTY"] = 1] = "WHEN_EMPTY";
19
+ /**
20
+ * All formulas are not calculated
21
+ */
22
+ CalculationMode[CalculationMode["NO_CALCULATION"] = 2] = "NO_CALCULATION";
23
+ return CalculationMode;
24
+ }({});
25
+ const defaultPluginBaseConfig = {};
26
+ /**
27
+ * Remote configuration for the plugin.
28
+ */
29
+ const PLUGIN_CONFIG_KEY_REMOTE = "sheets-formula.remote.config";
30
+ const configSymbolRemote = Symbol(PLUGIN_CONFIG_KEY_REMOTE);
31
+ const defaultPluginRemoteConfig = {};
32
+ /**
33
+ * Mobile configuration for the plugin.
34
+ */
35
+ const PLUGIN_CONFIG_KEY_MOBILE = "sheets-formula.mobile.config";
36
+ const configSymbolMobile = Symbol(PLUGIN_CONFIG_KEY_MOBILE);
37
+
38
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/decorateParam.js
39
+ function __decorateParam(paramIndex, decorator) {
40
+ return function(target, key) {
41
+ decorator(target, key, paramIndex);
42
+ };
43
+ }
44
+
45
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/decorate.js
46
+ function __decorate(decorators, target, key, desc) {
47
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
48
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
49
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
50
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
51
+ }
52
+
53
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/typeof.js
54
+ function _typeof(o) {
55
+ "@babel/helpers - typeof";
56
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
57
+ return typeof o;
58
+ } : function(o) {
59
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
60
+ }, _typeof(o);
61
+ }
62
+
63
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/toPrimitive.js
64
+ function toPrimitive(t, e) {
65
+ if ("object" != _typeof(t) || !t) return t;
66
+ var r;
67
+ if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) {
68
+ var i = r.call(t, e || "default");
69
+ if ("object" != _typeof(i)) return i;
70
+ throw new TypeError("@@toPrimitive must return a primitive value.");
71
+ }
72
+ return ("string" === e ? String : Number)(t);
73
+ }
74
+
75
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/toPropertyKey.js
76
+ function toPropertyKey(t) {
77
+ var i = toPrimitive(t, "string");
78
+ return "symbol" == _typeof(i) ? i : i + "";
79
+ }
80
+
81
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/defineProperty.js
82
+ function _defineProperty(e, r, t) {
83
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
84
+ value: t,
85
+ enumerable: !0,
86
+ configurable: !0,
87
+ writable: !0
88
+ }) : e[r] = t, e;
89
+ }
90
+
91
+ // package.json
92
+ var name = "@univerjs/sheets-formula";
93
+ var version = "1.5.0";
94
+
95
+ // src/services/remote/remote-register-function.service.ts
96
+ /**
97
+ * Copyright 2023-present DreamNum Co., Ltd.
98
+ *
99
+ * Licensed under the Apache License, Version 2.0 (the "License");
100
+ * you may not use this file except in compliance with the License.
101
+ * You may obtain a copy of the License at
102
+ *
103
+ * http://www.apache.org/licenses/LICENSE-2.0
104
+ *
105
+ * Unless required by applicable law or agreed to in writing, software
106
+ * distributed under the License is distributed on an "AS IS" BASIS,
107
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
108
+ * See the License for the specific language governing permissions and
109
+ * limitations under the License.
110
+ */
111
+ const RemoteRegisterFunctionServiceName = "sheets-formula.remote-register-function.service";
112
+ const IRemoteRegisterFunctionService = createIdentifier(RemoteRegisterFunctionServiceName);
113
+ let RemoteRegisterFunctionService = class RemoteRegisterFunctionService {
114
+ constructor(_functionService) {
115
+ this._functionService = _functionService;
116
+ }
117
+ async registerFunctions(serializedFuncs) {
118
+ rejectRemoteCustomFunctionRegistration(serializedFuncs);
119
+ }
120
+ async registerAsyncFunctions(serializedFuncs) {
121
+ rejectRemoteCustomFunctionRegistration(serializedFuncs);
122
+ }
123
+ async unregisterFunctions(names) {
124
+ this._functionService.unregisterExecutors(...names);
125
+ this._functionService.unregisterDescriptions(...names);
126
+ this._functionService.deleteFormulaAstCacheKey(...names);
127
+ }
128
+ };
129
+ RemoteRegisterFunctionService = __decorate([__decorateParam(0, IFunctionService)], RemoteRegisterFunctionService);
130
+ function rejectRemoteCustomFunctionRegistration(serializedFuncs) {
131
+ if (serializedFuncs.length === 0) return;
132
+ throw new Error("Remote custom function registration is disabled because function deserialization over RPC is unsafe.");
133
+ }
134
+
135
+ export { version as a, __decorateParam as c, PLUGIN_CONFIG_KEY_REMOTE as d, defaultPluginBaseConfig as f, name as i, CalculationMode as l, RemoteRegisterFunctionService as n, _defineProperty as o, defaultPluginRemoteConfig as p, RemoteRegisterFunctionServiceName as r, __decorate as s, IRemoteRegisterFunctionService as t, PLUGIN_CONFIG_KEY_BASE as u };
@@ -0,0 +1,46 @@
1
+ import { a as version, c as __decorateParam, d as PLUGIN_CONFIG_KEY_REMOTE, i as name, n as RemoteRegisterFunctionService, o as _defineProperty, p as defaultPluginRemoteConfig, r as RemoteRegisterFunctionServiceName, s as __decorate } from "./remote-register-function.service-CaKs4mpz.js";
2
+ import { DependentOn, IConfigService, Inject, Injector, Plugin, UniverInstanceType, merge } from "@univerjs/core";
3
+ import { IRPCChannelService, fromModule } from "@univerjs/rpc";
4
+ import { UniverFormulaEnginePlugin } from "@univerjs/engine-formula/worker";
5
+
6
+ // src/worker.ts
7
+ /**
8
+ * Copyright 2023-present DreamNum Co., Ltd.
9
+ *
10
+ * Licensed under the Apache License, Version 2.0 (the "License");
11
+ * you may not use this file except in compliance with the License.
12
+ * You may obtain a copy of the License at
13
+ *
14
+ * http://www.apache.org/licenses/LICENSE-2.0
15
+ *
16
+ * Unless required by applicable law or agreed to in writing, software
17
+ * distributed under the License is distributed on an "AS IS" BASIS,
18
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ * See the License for the specific language governing permissions and
20
+ * limitations under the License.
21
+ */
22
+ let UniverRemoteSheetsFormulaPlugin = class UniverRemoteSheetsFormulaPlugin extends Plugin {
23
+ constructor(_config = defaultPluginRemoteConfig, _injector, _configService) {
24
+ super();
25
+ this._config = _config;
26
+ this._injector = _injector;
27
+ this._configService = _configService;
28
+ const { ...rest } = merge({}, defaultPluginRemoteConfig, this._config);
29
+ this._configService.setConfig(PLUGIN_CONFIG_KEY_REMOTE, rest);
30
+ }
31
+ onStarting() {
32
+ this._injector.add([RemoteRegisterFunctionService]);
33
+ this._injector.get(IRPCChannelService).registerChannel(RemoteRegisterFunctionServiceName, fromModule(this._injector.get(RemoteRegisterFunctionService)));
34
+ }
35
+ };
36
+ _defineProperty(UniverRemoteSheetsFormulaPlugin, "pluginName", "SHEET_FORMULA_REMOTE_PLUGIN");
37
+ _defineProperty(UniverRemoteSheetsFormulaPlugin, "packageName", name);
38
+ _defineProperty(UniverRemoteSheetsFormulaPlugin, "version", version);
39
+ _defineProperty(UniverRemoteSheetsFormulaPlugin, "type", UniverInstanceType.UNIVER_SHEET);
40
+ UniverRemoteSheetsFormulaPlugin = __decorate([
41
+ DependentOn(UniverFormulaEnginePlugin),
42
+ __decorateParam(1, Inject(Injector)),
43
+ __decorateParam(2, IConfigService)
44
+ ], UniverRemoteSheetsFormulaPlugin);
45
+
46
+ export { UniverRemoteSheetsFormulaPlugin };
package/lib/facade.js CHANGED
@@ -5,7 +5,7 @@ import { CalculationMode, PLUGIN_CONFIG_KEY_BASE } from "@univerjs/sheets-formul
5
5
  import { FEnum } from "@univerjs/core/facade";
6
6
  import { FRange, FWorkbook } from "@univerjs/sheets/facade";
7
7
 
8
- //#region src/facade/f-formula.ts
8
+ // src/facade/f-formula.ts
9
9
  var FFormulaSheetsMixin = class extends FFormula {
10
10
  /**
11
11
  * Initialize the FUniver instance.
@@ -58,8 +58,7 @@ var FFormulaSheetsMixin = class extends FFormula {
58
58
  };
59
59
  FFormula.extend(FFormulaSheetsMixin);
60
60
 
61
- //#endregion
62
- //#region src/facade/f-enum.ts
61
+ // src/facade/f-enum.ts
63
62
  /**
64
63
  * Copyright 2023-present DreamNum Co., Ltd.
65
64
  *
@@ -82,8 +81,7 @@ var FSheetsFormulaEnumMixin = class extends FEnum {
82
81
  };
83
82
  FEnum.extend(FSheetsFormulaEnumMixin);
84
83
 
85
- //#endregion
86
- //#region src/facade/f-workbook.ts
84
+ // src/facade/f-workbook.ts
87
85
  var FWorkbookEngineFormulaMixin = class extends FWorkbook {
88
86
  getAllFormulaError() {
89
87
  const errors = [];
@@ -119,8 +117,7 @@ var FWorkbookEngineFormulaMixin = class extends FWorkbook {
119
117
  };
120
118
  FWorkbook.extend(FWorkbookEngineFormulaMixin);
121
119
 
122
- //#endregion
123
- //#region src/facade/f-range.ts
120
+ // src/facade/f-range.ts
124
121
  /**
125
122
  * @ignore
126
123
  */
@@ -156,5 +153,4 @@ var FRangeEngineFormulaMixin = class extends FRange {
156
153
  };
157
154
  FRange.extend(FRangeEngineFormulaMixin);
158
155
 
159
- //#endregion
160
156
  export { };