@univerjs/sheets-formula 1.0.0-rc.0 → 1.0.1

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.
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/ar-SA.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "جارٍ تحليل الصيغ...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/ca-ES.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "Analitzant fórmules...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/de-DE.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "Formeln werden analysiert...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/en-US.ts
3
2
  /**
4
3
  * Copyright 2023-present DreamNum Co., Ltd.
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/es-ES.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "Analizando fórmulas...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/fa-IR.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "در حال تحلیل فرمول‌ها...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/fr-FR.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "Analyse des formules...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/id-ID.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "Menganalisis rumus...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/it-IT.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "Analisi delle formule...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/ja-JP.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "数式を分析中...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/ko-KR.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "수식 분석 중...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/pl-PL.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "Analizowanie formuł...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/pt-BR.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "Analisando fórmulas...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/ru-RU.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "Анализ формул...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/sk-SK.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "Analyzujú sa vzorce...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/vi-VN.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "Đang phân tích công thức...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/zh-CN.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "正在分析公式...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/zh-HK.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "正在分析公式...",
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/locale/zh-TW.ts
3
2
  const locale = { "sheets-formula": { progress: {
4
3
  analyzing: "正在分析公式...",
package/lib/es/facade.js CHANGED
@@ -100,7 +100,8 @@ var FWorkbookEngineFormulaMixin = class extends FWorkbook {
100
100
  cellMatrix.forValue((row, column, cell) => {
101
101
  var _arrayFormulaSheet$ro;
102
102
  if (!cell) return;
103
- const errorType = extractFormulaError(cell, !!(arrayFormulaSheet === null || arrayFormulaSheet === void 0 || (_arrayFormulaSheet$ro = arrayFormulaSheet[row]) === null || _arrayFormulaSheet$ro === void 0 ? void 0 : _arrayFormulaSheet$ro[column]));
103
+ const arrayFormulaCellData = arrayFormulaSheet === null || arrayFormulaSheet === void 0 || (_arrayFormulaSheet$ro = arrayFormulaSheet[row]) === null || _arrayFormulaSheet$ro === void 0 ? void 0 : _arrayFormulaSheet$ro[column];
104
+ const errorType = extractFormulaError(cell, !!arrayFormulaCellData);
104
105
  if (errorType) errors.push({
105
106
  sheetName,
106
107
  row,
@@ -137,7 +138,8 @@ var FRangeEngineFormulaMixin = class extends FRange {
137
138
  var _arrayFormulaSheet$ro;
138
139
  const cell = cellMatrix.getValue(row, column);
139
140
  if (!cell) continue;
140
- const errorType = extractFormulaError(cell, !!(arrayFormulaSheet === null || arrayFormulaSheet === void 0 || (_arrayFormulaSheet$ro = arrayFormulaSheet[row]) === null || _arrayFormulaSheet$ro === void 0 ? void 0 : _arrayFormulaSheet$ro[column]));
141
+ const arrayFormulaCellData = arrayFormulaSheet === null || arrayFormulaSheet === void 0 || (_arrayFormulaSheet$ro = arrayFormulaSheet[row]) === null || _arrayFormulaSheet$ro === void 0 ? void 0 : _arrayFormulaSheet$ro[column];
142
+ const errorType = extractFormulaError(cell, !!arrayFormulaCellData);
141
143
  if (errorType) errors.push({
142
144
  sheetName,
143
145
  row,