@univerjs/sheets-formula 0.17.0 → 0.18.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 (118) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -1
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -170
  16. package/lib/es/index.js +1 -16600
  17. package/lib/es/locale/ca-ES.js +1 -14
  18. package/lib/es/locale/en-US.js +1 -14
  19. package/lib/es/locale/es-ES.js +1 -14
  20. package/lib/es/locale/fa-IR.js +1 -14
  21. package/lib/es/locale/fr-FR.js +1 -14
  22. package/lib/es/locale/ja-JP.js +1 -14
  23. package/lib/es/locale/ko-KR.js +1 -14
  24. package/lib/es/locale/ru-RU.js +1 -14
  25. package/lib/es/locale/sk-SK.js +1 -14
  26. package/lib/es/locale/vi-VN.js +1 -14
  27. package/lib/es/locale/zh-CN.js +1 -14
  28. package/lib/es/locale/zh-TW.js +1 -14
  29. package/lib/facade.js +1 -170
  30. package/lib/index.js +1 -16600
  31. package/lib/locale/ca-ES.js +1 -14
  32. package/lib/locale/en-US.js +1 -14
  33. package/lib/locale/es-ES.js +1 -14
  34. package/lib/locale/fa-IR.js +1 -14
  35. package/lib/locale/fr-FR.js +1 -14
  36. package/lib/locale/ja-JP.js +1 -14
  37. package/lib/locale/ko-KR.js +1 -14
  38. package/lib/locale/ru-RU.js +1 -14
  39. package/lib/locale/sk-SK.js +1 -14
  40. package/lib/locale/vi-VN.js +1 -14
  41. package/lib/locale/zh-CN.js +1 -14
  42. package/lib/locale/zh-TW.js +1 -14
  43. package/lib/types/commands/commands/insert-function.command.d.ts +16 -1
  44. package/lib/types/commands/commands/quick-sum.command.d.ts +16 -1
  45. package/lib/types/config/config.d.ts +17 -2
  46. package/lib/types/controllers/active-dirty.controller.d.ts +15 -0
  47. package/lib/types/controllers/array-formula-cell-interceptor.controller.d.ts +15 -0
  48. package/lib/types/controllers/defined-name.controller.d.ts +15 -0
  49. package/lib/types/controllers/formula-auto-fill.controller.d.ts +16 -1
  50. package/lib/types/controllers/formula.controller.d.ts +15 -0
  51. package/lib/types/controllers/image-formula-cell-interceptor.controller.d.ts +15 -0
  52. package/lib/types/controllers/super-table.controller.d.ts +15 -0
  53. package/lib/types/controllers/trigger-calculation.controller.d.ts +16 -1
  54. package/lib/types/controllers/update-defined-name.controller.d.ts +15 -0
  55. package/lib/types/controllers/update-formula.controller.d.ts +15 -0
  56. package/lib/types/controllers/utils/offset-formula-data.d.ts +17 -2
  57. package/lib/types/controllers/utils/ref-range-formula.d.ts +17 -2
  58. package/lib/types/controllers/utils/ref-range-move.d.ts +17 -2
  59. package/lib/types/controllers/utils/ref-range-param.d.ts +17 -2
  60. package/lib/types/facade/f-enum.d.ts +15 -0
  61. package/lib/types/facade/f-formula.d.ts +18 -3
  62. package/lib/types/facade/f-range.d.ts +16 -1
  63. package/lib/types/facade/f-univer.d.ts +17 -2
  64. package/lib/types/facade/f-workbook.d.ts +16 -1
  65. package/lib/types/locale/ca-ES.d.ts +16 -1
  66. package/lib/types/locale/es-ES.d.ts +16 -1
  67. package/lib/types/locale/fa-IR.d.ts +16 -1
  68. package/lib/types/locale/fr-FR.d.ts +16 -1
  69. package/lib/types/locale/ja-JP.d.ts +16 -1
  70. package/lib/types/locale/ko-KR.d.ts +16 -1
  71. package/lib/types/locale/ru-RU.d.ts +16 -1
  72. package/lib/types/locale/sk-SK.d.ts +16 -1
  73. package/lib/types/locale/vi-VN.d.ts +16 -1
  74. package/lib/types/locale/zh-CN.d.ts +16 -1
  75. package/lib/types/locale/zh-TW.d.ts +16 -1
  76. package/lib/types/plugin.d.ts +16 -1
  77. package/lib/types/services/description.service.d.ts +20 -3
  78. package/lib/types/services/formula-ref-range.service.d.ts +19 -2
  79. package/lib/types/services/function-list/array.d.ts +16 -1
  80. package/lib/types/services/function-list/compatibility.d.ts +16 -1
  81. package/lib/types/services/function-list/cube.d.ts +16 -1
  82. package/lib/types/services/function-list/database.d.ts +16 -1
  83. package/lib/types/services/function-list/date.d.ts +16 -1
  84. package/lib/types/services/function-list/engineering.d.ts +16 -1
  85. package/lib/types/services/function-list/financial.d.ts +16 -1
  86. package/lib/types/services/function-list/function-list.d.ts +16 -1
  87. package/lib/types/services/function-list/information.d.ts +16 -1
  88. package/lib/types/services/function-list/logical.d.ts +16 -1
  89. package/lib/types/services/function-list/lookup.d.ts +16 -1
  90. package/lib/types/services/function-list/math.d.ts +16 -1
  91. package/lib/types/services/function-list/statistical.d.ts +16 -1
  92. package/lib/types/services/function-list/text.d.ts +16 -1
  93. package/lib/types/services/function-list/univer.d.ts +16 -1
  94. package/lib/types/services/function-list/web.d.ts +16 -1
  95. package/lib/types/services/register-function.service.d.ts +20 -3
  96. package/lib/types/services/remote/remote-register-function.service.d.ts +16 -1
  97. package/lib/types/services/utils.d.ts +17 -2
  98. package/lib/types/util/calculate.d.ts +17 -2
  99. package/lib/umd/facade.js +1 -1
  100. package/lib/umd/index.js +1 -1
  101. package/lib/umd/locale/ca-ES.js +1 -1
  102. package/lib/umd/locale/en-US.js +1 -1
  103. package/lib/umd/locale/es-ES.js +1 -1
  104. package/lib/umd/locale/fa-IR.js +1 -1
  105. package/lib/umd/locale/fr-FR.js +1 -1
  106. package/lib/umd/locale/ja-JP.js +1 -1
  107. package/lib/umd/locale/ko-KR.js +1 -1
  108. package/lib/umd/locale/ru-RU.js +1 -1
  109. package/lib/umd/locale/sk-SK.js +1 -1
  110. package/lib/umd/locale/vi-VN.js +1 -1
  111. package/lib/umd/locale/zh-CN.js +1 -1
  112. package/lib/umd/locale/zh-TW.js +1 -1
  113. package/package.json +12 -11
  114. package/lib/types/services/__test__/description.service.spec.d.ts +0 -16
  115. package/lib/types/services/__test__/formula-ref.spec.d.ts +0 -16
  116. package/lib/types/services/__test__/register-function.service.spec.d.ts +0 -16
  117. package/lib/types/services/__test__/util.d.ts +0 -7
  118. package/lib/types/services/__test__/utils.spec.d.ts +0 -16
@@ -1,14 +1 @@
1
- const a = {
2
- formula: {
3
- progress: {
4
- analyzing: "Analitzant",
5
- calculating: "Calculant",
6
- "array-analysis": "Anàlisi de matriu",
7
- "array-calculation": "Càlcul de matriu",
8
- done: "Fet"
9
- }
10
- }
11
- };
12
- export {
13
- a as default
14
- };
1
+ const e={formula:{progress:{analyzing:`Analitzant`,calculating:`Calculant`,"array-analysis":`Anàlisi de matriu`,"array-calculation":`Càlcul de matriu`,done:`Fet`}}};export{e as default};
@@ -1,14 +1 @@
1
- const a = {
2
- formula: {
3
- progress: {
4
- analyzing: "Analyzing",
5
- calculating: "Calculating",
6
- "array-analysis": "Array Analysis",
7
- "array-calculation": "Array Calculation",
8
- done: "Done"
9
- }
10
- }
11
- };
12
- export {
13
- a as default
14
- };
1
+ const e={formula:{progress:{analyzing:`Analyzing`,calculating:`Calculating`,"array-analysis":`Array Analysis`,"array-calculation":`Array Calculation`,done:`Done`}}};export{e as default};
@@ -1,14 +1 @@
1
- const a = {
2
- formula: {
3
- progress: {
4
- analyzing: "Analizando",
5
- calculating: "Calculando",
6
- "array-analysis": "Análisis de matriz",
7
- "array-calculation": "Cálculo de matriz",
8
- done: "Hecho"
9
- }
10
- }
11
- };
12
- export {
13
- a as default
14
- };
1
+ const e={formula:{progress:{analyzing:`Analizando`,calculating:`Calculando`,"array-analysis":`Análisis de matriz`,"array-calculation":`Cálculo de matriz`,done:`Hecho`}}};export{e as default};
@@ -1,14 +1 @@
1
- const a = {
2
- formula: {
3
- progress: {
4
- analyzing: "در حال تحلیل",
5
- calculating: "در حال محاسبه",
6
- "array-analysis": "تحلیل آرایه",
7
- "array-calculation": "محاسبه آرایه",
8
- done: "تمام"
9
- }
10
- }
11
- };
12
- export {
13
- a as default
14
- };
1
+ const e={formula:{progress:{analyzing:`در حال تحلیل`,calculating:`در حال محاسبه`,"array-analysis":`تحلیل آرایه`,"array-calculation":`محاسبه آرایه`,done:`تمام`}}};export{e as default};
@@ -1,14 +1 @@
1
- const a = {
2
- formula: {
3
- progress: {
4
- analyzing: "Analyse en cours",
5
- calculating: "Calcul en cours",
6
- "array-analysis": "Analyse de tableau",
7
- "array-calculation": "Calcul de tableau",
8
- done: "Terminé"
9
- }
10
- }
11
- };
12
- export {
13
- a as default
14
- };
1
+ const e={formula:{progress:{analyzing:`Analyse en cours`,calculating:`Calcul en cours`,"array-analysis":`Analyse de tableau`,"array-calculation":`Calcul de tableau`,done:`Terminé`}}};export{e as default};
@@ -1,14 +1 @@
1
- const a = {
2
- formula: {
3
- progress: {
4
- analyzing: "解析中",
5
- calculating: "計算中",
6
- "array-analysis": "配列の解析",
7
- "array-calculation": "配列の計算",
8
- done: "完了"
9
- }
10
- }
11
- };
12
- export {
13
- a as default
14
- };
1
+ const e={formula:{progress:{analyzing:`解析中`,calculating:`計算中`,"array-analysis":`配列の解析`,"array-calculation":`配列の計算`,done:`完了`}}};export{e as default};
@@ -1,14 +1 @@
1
- const a = {
2
- formula: {
3
- progress: {
4
- analyzing: "분석 중",
5
- calculating: "계산 중",
6
- "array-analysis": "배열 분석",
7
- "array-calculation": "배열 계산",
8
- done: "완료"
9
- }
10
- }
11
- };
12
- export {
13
- a as default
14
- };
1
+ const e={formula:{progress:{analyzing:`분석 중`,calculating:`계산 중`,"array-analysis":`배열 분석`,"array-calculation":`배열 계산`,done:`완료`}}};export{e as default};
@@ -1,14 +1 @@
1
- const a = {
2
- formula: {
3
- progress: {
4
- analyzing: "Анализ",
5
- calculating: "Вычисление",
6
- "array-analysis": "Анализ массива",
7
- "array-calculation": "Вычисление массива",
8
- done: "Готово"
9
- }
10
- }
11
- };
12
- export {
13
- a as default
14
- };
1
+ const e={formula:{progress:{analyzing:`Анализ`,calculating:`Вычисление`,"array-analysis":`Анализ массива`,"array-calculation":`Вычисление массива`,done:`Готово`}}};export{e as default};
@@ -1,14 +1 @@
1
- const a = {
2
- formula: {
3
- progress: {
4
- analyzing: "Analyzovanie",
5
- calculating: "Výpočet",
6
- "array-analysis": "Analýza poľa",
7
- "array-calculation": "Výpočet poľa",
8
- done: "Hotovo"
9
- }
10
- }
11
- };
12
- export {
13
- a as default
14
- };
1
+ const e={formula:{progress:{analyzing:`Analyzovanie`,calculating:`Výpočet`,"array-analysis":`Analýza poľa`,"array-calculation":`Výpočet poľa`,done:`Hotovo`}}};export{e as default};
@@ -1,14 +1 @@
1
- const a = {
2
- formula: {
3
- progress: {
4
- analyzing: "Đang phân tích",
5
- calculating: "Đang tính toán",
6
- "array-analysis": "Phân tích mảng",
7
- "array-calculation": "Tính toán mảng",
8
- done: "Hoàn tất"
9
- }
10
- }
11
- };
12
- export {
13
- a as default
14
- };
1
+ const e={formula:{progress:{analyzing:`Đang phân tích`,calculating:`Đang tính toán`,"array-analysis":`Phân tích mảng`,"array-calculation":`Tính toán mảng`,done:`Hoàn tất`}}};export{e as default};
@@ -1,14 +1 @@
1
- const a = {
2
- formula: {
3
- progress: {
4
- analyzing: "分析中",
5
- calculating: "计算中",
6
- "array-analysis": "数组分析",
7
- "array-calculation": "数组计算",
8
- done: "完成"
9
- }
10
- }
11
- };
12
- export {
13
- a as default
14
- };
1
+ const e={formula:{progress:{analyzing:`分析中`,calculating:`计算中`,"array-analysis":`数组分析`,"array-calculation":`数组计算`,done:`完成`}}};export{e as default};
@@ -1,14 +1 @@
1
- const a = {
2
- formula: {
3
- progress: {
4
- analyzing: "分析中",
5
- calculating: "計算中",
6
- "array-analysis": "陣列分析",
7
- "array-calculation": "陣列計算",
8
- done: "完成"
9
- }
10
- }
11
- };
12
- export {
13
- a as default
14
- };
1
+ const e={formula:{progress:{analyzing:`分析中`,calculating:`計算中`,"array-analysis":`陣列分析`,"array-calculation":`陣列計算`,done:`完成`}}};export{e as default};
@@ -1,4 +1,19 @@
1
- import { ICommand, IRange } from '@univerjs/core';
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 { ICommand, IRange } from '@univerjs/core';
2
17
  export interface IInsertFunction {
3
18
  /**
4
19
  * The range into which the function is to be inserted
@@ -1,4 +1,19 @@
1
- import { ICommand } from '@univerjs/core';
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 { ICommand } from '@univerjs/core';
2
17
  /**
3
18
  * Tries to insert =SUM formulas in selection regions.
4
19
  */
@@ -1,5 +1,20 @@
1
- import { Ctor } from '@univerjs/core';
2
- import { BaseFunction, IFunctionInfo, IFunctionNames } from '@univerjs/engine-formula';
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 { Ctor } from '@univerjs/core';
17
+ import type { BaseFunction, IFunctionInfo, IFunctionNames } from '@univerjs/engine-formula';
3
18
  /**
4
19
  * Base configuration for the plugin.
5
20
  */
@@ -1,3 +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
+ */
1
16
  import { Disposable, IUniverInstanceService } from '@univerjs/core';
2
17
  import { FormulaDataModel, IActiveDirtyManagerService } from '@univerjs/engine-formula';
3
18
  export declare class ActiveDirtyController extends Disposable {
@@ -1,3 +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
+ */
1
16
  import { Disposable, ICommandService, IConfigService } from '@univerjs/core';
2
17
  import { FormulaDataModel, IDefinedNamesService, IFunctionService, LexerTreeBuilder } from '@univerjs/engine-formula';
3
18
  import { SheetInterceptorService } from '@univerjs/sheets';
@@ -1,3 +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
+ */
1
16
  import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
2
17
  import { IDefinedNamesService } from '@univerjs/engine-formula';
3
18
  import { IDescriptionService } from '../services/description.service';
@@ -1,4 +1,19 @@
1
- import { AutoFillService } from '@univerjs/sheets';
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 { AutoFillService } from '@univerjs/sheets';
2
17
  import { Disposable } from '@univerjs/core';
3
18
  import { LexerTreeBuilder } from '@univerjs/engine-formula';
4
19
  export declare class FormulaAutoFillController extends Disposable {
@@ -1,3 +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
+ */
1
16
  import { Disposable, ICommandService } from '@univerjs/core';
2
17
  export declare class FormulaController extends Disposable {
3
18
  private readonly _commandService;
@@ -1,3 +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
+ */
1
16
  import { Disposable, ICommandService } from '@univerjs/core';
2
17
  import { FormulaDataModel } from '@univerjs/engine-formula';
3
18
  import { SheetInterceptorService } from '@univerjs/sheets';
@@ -1,3 +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
+ */
1
16
  import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
2
17
  import { ISuperTableService } from '@univerjs/engine-formula';
3
18
  import { IDescriptionService } from '../services/description.service';
@@ -1,3 +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
+ */
1
16
  import { Disposable, ICommandService, IConfigService, ILogService, LocaleService } from '@univerjs/core';
2
17
  import { FormulaDataModel, IActiveDirtyManagerService, RegisterOtherFormulaService } from '@univerjs/engine-formula';
3
18
  /**
@@ -28,7 +43,7 @@ export declare class TriggerCalculationController extends Disposable {
28
43
  private _executionInProgressParams;
29
44
  private _restartCalculation;
30
45
  private readonly _progress$;
31
- readonly progress$: import('rxjs').Observable<ICalculationProgress>;
46
+ readonly progress$: import("rxjs").Observable<ICalculationProgress>;
32
47
  private _emitProgress;
33
48
  private _startProgress;
34
49
  private _calculateProgress;
@@ -1,3 +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
+ */
1
16
  import { Disposable, IUniverInstanceService } from '@univerjs/core';
2
17
  import { IDefinedNamesService, LexerTreeBuilder } from '@univerjs/engine-formula';
3
18
  import { SheetInterceptorService } from '@univerjs/sheets';
@@ -1,3 +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
+ */
1
16
  import { Disposable, ICommandService, IConfigService, Injector, IUniverInstanceService } from '@univerjs/core';
2
17
  import { FormulaDataModel, IDefinedNamesService, LexerTreeBuilder } from '@univerjs/engine-formula';
3
18
  import { SheetInterceptorService } from '@univerjs/sheets';
@@ -1,5 +1,20 @@
1
- import { IRange } from '@univerjs/core';
2
- import { IArrayFormulaRangeType, IArrayFormulaUnitCellType, IFormulaData } from '@univerjs/engine-formula';
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 { IRange } from '@univerjs/core';
17
+ import type { IArrayFormulaRangeType, IArrayFormulaUnitCellType, IFormulaData } from '@univerjs/engine-formula';
3
18
  export interface IRefRangeWithPosition {
4
19
  row: number;
5
20
  column: number;
@@ -1,5 +1,20 @@
1
- import { ICellData, IMutationInfo, IObjectMatrixPrimitiveType, IRange, Nullable } from '@univerjs/core';
2
- import { IFormulaData, IFormulaDataItem, ISequenceNode } from '@univerjs/engine-formula';
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 { ICellData, IMutationInfo, IObjectMatrixPrimitiveType, IRange, Nullable } from '@univerjs/core';
17
+ import type { IFormulaData, IFormulaDataItem, ISequenceNode } from '@univerjs/engine-formula';
3
18
  export declare enum FormulaReferenceMoveType {
4
19
  MoveRange = 0,// range
5
20
  MoveRows = 1,// move rows
@@ -1,5 +1,20 @@
1
- import { IRange, IUnitRange, Nullable } from '@univerjs/core';
2
- import { IFormulaReferenceMoveParam } from './ref-range-formula';
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 { IRange, IUnitRange, Nullable } from '@univerjs/core';
17
+ import type { IFormulaReferenceMoveParam } from './ref-range-formula';
3
18
  export interface IUnitRangeWithOffset extends IUnitRange {
4
19
  refOffsetX: number;
5
20
  refOffsetY: number;
@@ -1,3 +1,18 @@
1
- import { ICommandInfo, Nullable, Workbook } from '@univerjs/core';
2
- import { IFormulaReferenceMoveParam } from './ref-range-formula';
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 { ICommandInfo, Nullable, Workbook } from '@univerjs/core';
17
+ import type { IFormulaReferenceMoveParam } from './ref-range-formula';
3
18
  export declare function getReferenceMoveParams(workbook: Workbook, command: ICommandInfo): Nullable<IFormulaReferenceMoveParam>;
@@ -1,3 +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
+ */
1
16
  import { CalculationMode } from '@univerjs/sheets-formula';
2
17
  /**
3
18
  * @ignore
@@ -1,6 +1,21 @@
1
- import { IDisposable, ILocales } from '@univerjs/core';
2
- import { IFunctionInfo, ISetFormulaCalculationResultMutation } from '@univerjs/engine-formula';
3
- import { CalculationMode, IRegisterAsyncFunction, IRegisterFunction } from '@univerjs/sheets-formula';
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 { IDisposable, ILocales } from '@univerjs/core';
17
+ import type { IFunctionInfo, ISetFormulaCalculationResultMutation } from '@univerjs/engine-formula';
18
+ import type { CalculationMode, IRegisterAsyncFunction, IRegisterFunction } from '@univerjs/sheets-formula';
4
19
  import { FFormula } from '@univerjs/engine-formula/facade';
5
20
  /**
6
21
  * @ignore
@@ -1,4 +1,19 @@
1
- import { ISheetFormulaError } from '@univerjs/engine-formula';
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 { ISheetFormulaError } from '@univerjs/engine-formula';
2
17
  import { FRange } from '@univerjs/sheets/facade';
3
18
  /**
4
19
  * @ignore