@univerjs/engine-formula 1.0.0-beta.1 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -5000,12 +5000,14 @@ let FormulaDataModel = class FormulaDataModel extends Disposable {
5000
5000
  super();
5001
5001
  this._univerInstanceService = _univerInstanceService;
5002
5002
  this._lexerTreeBuilder = _lexerTreeBuilder;
5003
+ _defineProperty(this, "_formulaIdMapData", {});
5003
5004
  _defineProperty(this, "_arrayFormulaRange", {});
5004
5005
  _defineProperty(this, "_arrayFormulaCellData", {});
5005
5006
  _defineProperty(this, "_unitImageFormulaData", {});
5006
5007
  }
5007
5008
  dispose() {
5008
5009
  super.dispose();
5010
+ this._formulaIdMapData = {};
5009
5011
  this._arrayFormulaRange = {};
5010
5012
  this._arrayFormulaCellData = {};
5011
5013
  this._unitImageFormulaData = {};
@@ -5077,7 +5079,7 @@ let FormulaDataModel = class FormulaDataModel extends Disposable {
5077
5079
  const cellMatrix = worksheet.getCellMatrix();
5078
5080
  const sheetId = worksheet.getSheetId();
5079
5081
  this._initSheetArrayFormulaData(unitId, sheetId, cellMatrix);
5080
- initSheetFormulaData(formulaData, unitId, sheetId, cellMatrix);
5082
+ this.initSheetFormulaData(formulaData, unitId, sheetId, cellMatrix);
5081
5083
  }
5082
5084
  }
5083
5085
  const allBases = this._univerInstanceService.getAllUnitsForType(UniverInstanceType.UNIVER_BASE);
@@ -5124,6 +5126,22 @@ let FormulaDataModel = class FormulaDataModel extends Disposable {
5124
5126
  }
5125
5127
  return formulaData;
5126
5128
  }
5129
+ initSheetFormulaData(formulaData, unitId, sheetId, cellMatrix) {
5130
+ const result = buildSheetFormulaData(formulaData, unitId, sheetId, cellMatrix);
5131
+ if (!this._formulaIdMapData[unitId]) this._formulaIdMapData[unitId] = {};
5132
+ this._formulaIdMapData[unitId][sheetId] = result.formulaIdMap;
5133
+ return result.formulaData;
5134
+ }
5135
+ clearFormulaIdMap(unitId, sheetId) {
5136
+ if (sheetId == null) {
5137
+ delete this._formulaIdMapData[unitId];
5138
+ return;
5139
+ }
5140
+ const unitFormulaIdMap = this._formulaIdMapData[unitId];
5141
+ if (!unitFormulaIdMap) return;
5142
+ delete unitFormulaIdMap[sheetId];
5143
+ if (Object.keys(unitFormulaIdMap).length === 0) delete this._formulaIdMapData[unitId];
5144
+ }
5127
5145
  getSheetFormulaData(unitId, sheetId) {
5128
5146
  const formulaData = {};
5129
5147
  const workbook = this._univerInstanceService.getUnit(unitId);
@@ -5133,7 +5151,7 @@ let FormulaDataModel = class FormulaDataModel extends Disposable {
5133
5151
  if (worksheet == null) return {};
5134
5152
  const cellMatrix = worksheet.getCellMatrix();
5135
5153
  this._initSheetArrayFormulaData(unitId, sheetId, cellMatrix);
5136
- initSheetFormulaData(formulaData, unitId, sheetId, cellMatrix);
5154
+ this.initSheetFormulaData(formulaData, unitId, sheetId, cellMatrix);
5137
5155
  return formulaData[unitId][sheetId];
5138
5156
  }
5139
5157
  getArrayFormulaRange() {
@@ -5322,8 +5340,7 @@ let FormulaDataModel = class FormulaDataModel extends Disposable {
5322
5340
  c
5323
5341
  };
5324
5342
  });
5325
- const formulaData = {};
5326
- initSheetFormulaData(formulaData, unitId, sheetId, sharedFormulaCellMatrix);
5343
+ const formulaData = buildSheetFormulaData({}, unitId, sheetId, sharedFormulaCellMatrix).formulaData;
5327
5344
  const deleteFormulaIdMap = /* @__PURE__ */ new Map();
5328
5345
  const sheetFormulaDataMatrix = new ObjectMatrix(((_formulaData$unitId = formulaData[unitId]) === null || _formulaData$unitId === void 0 ? void 0 : _formulaData$unitId[sheetId]) ?? {});
5329
5346
  cellMatrix.forValue((r, c, cell) => {
@@ -5444,16 +5461,18 @@ let FormulaDataModel = class FormulaDataModel extends Disposable {
5444
5461
  const { f, si } = cell;
5445
5462
  if (isFormulaString(f)) return f;
5446
5463
  if (isFormulaId(si)) {
5447
- let formulaString = null;
5448
- cellMatrix.forValue((r, c, cell) => {
5449
- if (cell == null) return true;
5450
- const { f, si: currentId } = cell;
5451
- if (isFormulaString(f) && si === currentId) {
5452
- formulaString = this._lexerTreeBuilder.moveFormulaRefOffset(f, column - c, row - r);
5453
- return false;
5454
- }
5455
- });
5456
- return formulaString;
5464
+ var _this$_formulaIdMapDa;
5465
+ let formulaIdMap = (_this$_formulaIdMapDa = this._formulaIdMapData[unitId]) === null || _this$_formulaIdMapDa === void 0 ? void 0 : _this$_formulaIdMapDa[sheetId];
5466
+ let formulaInfo = formulaIdMap === null || formulaIdMap === void 0 ? void 0 : formulaIdMap[String(si)];
5467
+ const masterCell = formulaInfo == null ? null : cellMatrix.getValue(formulaInfo.r, formulaInfo.c);
5468
+ if (formulaInfo == null || (masterCell === null || masterCell === void 0 ? void 0 : masterCell.si) !== si || (masterCell === null || masterCell === void 0 ? void 0 : masterCell.f) !== formulaInfo.f) {
5469
+ var _this$_formulaIdMapDa2;
5470
+ this.initSheetFormulaData({}, unitId, sheetId, cellMatrix);
5471
+ formulaIdMap = (_this$_formulaIdMapDa2 = this._formulaIdMapData[unitId]) === null || _this$_formulaIdMapDa2 === void 0 ? void 0 : _this$_formulaIdMapDa2[sheetId];
5472
+ formulaInfo = formulaIdMap === null || formulaIdMap === void 0 ? void 0 : formulaIdMap[String(si)];
5473
+ }
5474
+ if (!formulaInfo) return null;
5475
+ return this._lexerTreeBuilder.moveFormulaRefOffset(formulaInfo.f, column - formulaInfo.c, row - formulaInfo.r);
5457
5476
  }
5458
5477
  return null;
5459
5478
  }
@@ -5548,10 +5567,10 @@ let FormulaDataModel = class FormulaDataModel extends Disposable {
5548
5567
  }
5549
5568
  };
5550
5569
  FormulaDataModel = __decorate([__decorateParam(0, IUniverInstanceService), __decorateParam(1, Inject(LexerTreeBuilder))], FormulaDataModel);
5551
- function initSheetFormulaData(formulaData, unitId, sheetId, cellMatrix) {
5570
+ function buildSheetFormulaData(formulaData, unitId, sheetId, cellMatrix) {
5552
5571
  if (!formulaData[unitId]) formulaData[unitId] = {};
5553
5572
  if (!formulaData[unitId][sheetId]) formulaData[unitId][sheetId] = {};
5554
- const formulaIdMap = /* @__PURE__ */ new Map();
5573
+ const formulaIdMap = {};
5555
5574
  const sheetFormulaDataMatrix = new ObjectMatrix(formulaData[unitId][sheetId]);
5556
5575
  cellMatrix.forValue((r, c, cell) => {
5557
5576
  const formulaString = (cell === null || cell === void 0 ? void 0 : cell.f) || "";
@@ -5563,11 +5582,11 @@ function initSheetFormulaData(formulaData, unitId, sheetId, cellMatrix) {
5563
5582
  f: formulaString,
5564
5583
  si: formulaId
5565
5584
  });
5566
- formulaIdMap.set(formulaId, {
5585
+ formulaIdMap[formulaId] = {
5567
5586
  f: formulaString,
5568
5587
  r,
5569
5588
  c
5570
- });
5589
+ };
5571
5590
  } else if (checkFormulaString && !checkFormulaId) sheetFormulaDataMatrix.setValue(r, c, { f: formulaString });
5572
5591
  else if (!checkFormulaString && checkFormulaId) sheetFormulaDataMatrix.setValue(r, c, {
5573
5592
  f: "",
@@ -5578,7 +5597,7 @@ function initSheetFormulaData(formulaData, unitId, sheetId, cellMatrix) {
5578
5597
  const formulaString = (cell === null || cell === void 0 ? void 0 : cell.f) || "";
5579
5598
  const formulaId = (cell === null || cell === void 0 ? void 0 : cell.si) || "";
5580
5599
  if (isFormulaId(formulaId) && !isFormulaString(formulaString)) {
5581
- const formulaInfo = formulaIdMap.get(formulaId);
5600
+ const formulaInfo = formulaIdMap[formulaId];
5582
5601
  if (formulaInfo) {
5583
5602
  const x = c - formulaInfo.c;
5584
5603
  const y = r - formulaInfo.r;
@@ -5593,7 +5612,10 @@ function initSheetFormulaData(formulaData, unitId, sheetId, cellMatrix) {
5593
5612
  }
5594
5613
  });
5595
5614
  const newSheetFormulaData = sheetFormulaDataMatrix.getMatrix();
5596
- return { [unitId]: { [sheetId]: newSheetFormulaData } };
5615
+ return {
5616
+ formulaData: { [unitId]: { [sheetId]: newSheetFormulaData } },
5617
+ formulaIdMap
5618
+ };
5597
5619
  }
5598
5620
  const BASE_LEGACY_FIELD_REF_PATTERN = /\{([^}]+)\}/g;
5599
5621
  const BASE_TABLE_SCOPED_FIELD_REF_PATTERN = /\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]/gi;
@@ -43077,7 +43099,7 @@ function getObjectValue(result, isUseStrip = false) {
43077
43099
  //#endregion
43078
43100
  //#region package.json
43079
43101
  var name = "@univerjs/engine-formula";
43080
- var version = "1.0.0-beta.1";
43102
+ var version = "1.0.0-beta.2";
43081
43103
 
43082
43104
  //#endregion
43083
43105
  //#region src/services/global-computing-status.service.ts
@@ -56785,4 +56807,4 @@ _defineProperty(UniverFormulaEnginePlugin, "version", version);
56785
56807
  UniverFormulaEnginePlugin = __decorate([__decorateParam(1, Inject(Injector)), __decorateParam(2, IConfigService)], UniverFormulaEnginePlugin);
56786
56808
 
56787
56809
  //#endregion
56788
- export { ALL_IMPLEMENTED_FUNCTIONS, ALL_IMPLEMENTED_FUNCTIONS_SET, ActiveDirtyManagerService, ArrayValueObject, AstRootNodeFactory, AstTreeBuilder, AsyncArrayObject, AsyncCustomFunction, AsyncObject, BaseFunction, BaseReferenceObject, BaseValueObject, BooleanValue, BooleanValueObject, CELL_INVERTED_INDEX_CACHE, CalculateController, CalculateFormulaService, CustomFunction, DEFAULT_CYCLE_REFERENCE_COUNT, DEFAULT_INTERVAL_COUNT, DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME, DEFAULT_TOKEN_LET_FUNCTION_NAME, DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER, DEFAULT_TOKEN_TYPE_PARAMETER, DEFAULT_TOKEN_TYPE_ROOT, DefinedNamesService, DependencyManagerBaseService, DependencyManagerService, DescriptionService, ENGINE_FORMULA_CYCLE_REFERENCE_COUNT, ENGINE_FORMULA_PLUGIN_CONFIG_KEY, ENGINE_FORMULA_RETURN_DEPENDENCY_TREE, ERROR_TYPE_SET, ErrorType, ErrorValueObject, FORMULA_REF_TO_ARRAY_CACHE, FUNCTION_LIST, FUNCTION_LIST_ARRAY, FUNCTION_LIST_COMPATIBILITY, FUNCTION_LIST_CUBE, FUNCTION_LIST_DATABASE, FUNCTION_LIST_DATE, FUNCTION_LIST_ENGINEERING, FUNCTION_LIST_FINANCIAL, FUNCTION_LIST_INFORMATION, FUNCTION_LIST_LOGICAL, FUNCTION_LIST_LOOKUP, FUNCTION_LIST_MATH, FUNCTION_LIST_STATISTICAL, FUNCTION_LIST_TEXT, FUNCTION_LIST_UNIVER, FUNCTION_LIST_WEB, FUNCTION_NAMES_ARRAY, FUNCTION_NAMES_COMPATIBILITY, FUNCTION_NAMES_CUBE, FUNCTION_NAMES_DATABASE, FUNCTION_NAMES_DATE, FUNCTION_NAMES_ENGINEERING, FUNCTION_NAMES_FINANCIAL, FUNCTION_NAMES_INFORMATION, FUNCTION_NAMES_LOGICAL, FUNCTION_NAMES_LOOKUP, FUNCTION_NAMES_MATH, FUNCTION_NAMES_STATISTICAL, FUNCTION_NAMES_TEXT, FUNCTION_NAMES_UNIVER, FUNCTION_NAMES_WEB, FeatureCalculationManagerService, FormulaCalculationSessionController, FormulaCalculationSessionService, FormulaCalculationTriggerService, FormulaCurrentConfigService, FormulaDataModel, FormulaDependencyGenerator, FormulaDependencyTree, FormulaDependencyTreeModel, FormulaDependencyTreeType, FormulaDependencyTreeVirtual, FormulaExecuteStageType, FormulaExecutedStateType, FormulaResultApplicationType, FormulaResultStatus, FormulaRuntimeService, FormulaUnitReferenceResolver, FunctionNodeFactory, FunctionService, FunctionType, GlobalComputingStatusService, HyperlinkEngineFormulaService, IActiveDirtyManagerService, ICalculateFormulaService, IDefinedNamesService, IDependencyManagerService, IDescriptionService, IFeatureCalculationManagerService, IFormulaCurrentConfigService, IFormulaDependencyGenerator, IFormulaExternalReferenceDataLoader, IFormulaRuntimeService, IFormulaUnitReferenceResolver, IFunctionService, IHyperlinkEngineFormulaService, IOtherFormulaManagerService, IRegisterFunctionService, ISheetRowFilteredService, ISuperTableService, Interpreter, LambdaNodeFactory, LambdaParameterNodeFactory, LambdaValueObjectObject, Lexer, LexerNode, LexerTreeBuilder, NEW_EXCEL_FUNCTIONS, NoopFormulaExternalReferenceDataLoader, NullValueObject, NumberValueObject, OPERATOR_TOKEN_SET, OperatorNodeFactory, OtherFormulaBizType, OtherFormulaManagerService, OtherFormulaMarkDirty, PrefixNodeFactory, RangeReferenceObject, ReferenceNodeFactory, RegisterFunctionMutation, RegisterFunctionService, RegisterOtherFormulaService, RemoveDefinedNameMutation, RemoveFeatureCalculationMutation, RemoveOtherFormulaMutation, RemoveSuperTableMutation, SUFFIX_TOKEN_SET, SetArrayFormulaDataMutation, SetCellFormulaDependencyCalculationMutation, SetCellFormulaDependencyCalculationResultMutation, SetDefinedNameMutation, SetDefinedNameMutationFactory, SetFeatureCalculationMutation, SetFormulaCalculationNotificationMutation, SetFormulaCalculationResultMutation, SetFormulaCalculationStartMutation, SetFormulaCalculationStopMutation, SetFormulaDataMutation, SetFormulaDependencyCalculationMutation, SetFormulaDependencyCalculationResultMutation, SetFormulaStringBatchCalculationMutation, SetFormulaStringBatchCalculationResultMutation, SetImageFormulaDataMutation, SetOtherFormulaMutation, SetQueryFormulaDependencyAllMutation, SetQueryFormulaDependencyAllResultMutation, SetQueryFormulaDependencyMutation, SetQueryFormulaDependencyResultMutation, SetSuperTableMutation, SetSuperTableOptionMutation, SetTriggerFormulaCalculationStartMutation, SheetRowFilteredService, StringValueObject, SuffixNodeFactory, SuperTableActiveDirtyController, SuperTableService, UnionNodeFactory, UniverFormulaEnginePlugin, ValueNodeFactory, ValueObjectFactory, buildFormulaTextRuns, compareToken, convertUnitDataToRuntime, deserializeRangeForR1C1, deserializeRangeWithSheet, deserializeRangeWithSheetWithCache, excelDateSerial, extractFormulaError, findFormulaStructuredReferences, functionArray, functionCompatibility, functionCube, functionDatabase, functionDate, functionEngineering, functionFinancial, functionInformation, functionLogical, functionLookup, functionMath, functionMeta, functionStatistical, functionText, functionUniver, functionWeb, generateAstNode, generateExecuteAstNodeData, generateParam, generateRandomDependencyTreeId, generateStringWithSequence, getAbsoluteRefTypeWitString, getAbsoluteRefTypeWithSingleString, getFormulaHighlightDataStream, getFormulaReferenceIndex, getFormulaReplaceResult, getFormulaSequenceCharacterAtOffset, getFormulaSequenceNodeIndex, getFunctionName, getObjectValue, getRangeWithRefsString, handleNumfmtInCell, handleRefStringInfo, includeFormulaLexerToken, initSheetFormulaData, isFormulaLexerToken, isFormulaReferenceAddingContext, isFormulaReferenceAddingTextContext, isInDirtyRange, isReferenceString, isReferenceStringWithEffectiveColumn, isReferenceStrings, matchRefDrawToken, matchToken, needsQuoting, normalizeFormulaUnitName, normalizeSheetName, operatorToken, prefixToken, quoteSheetName, refactorFormulaUnitQualifier, resolveFormulaReferenceEditingContext, searchFormulaFunctions, sequenceNodeType, serializeRange, serializeRangeToRefString, serializeRangeWithSheet, serializeRangeWithSpreadsheet, singleReferenceToGrid, splitTableStructuredRef, strip, stripErrorMargin, unquoteSheetName };
56810
+ export { ALL_IMPLEMENTED_FUNCTIONS, ALL_IMPLEMENTED_FUNCTIONS_SET, ActiveDirtyManagerService, ArrayValueObject, AstRootNodeFactory, AstTreeBuilder, AsyncArrayObject, AsyncCustomFunction, AsyncObject, BaseFunction, BaseReferenceObject, BaseValueObject, BooleanValue, BooleanValueObject, CELL_INVERTED_INDEX_CACHE, CalculateController, CalculateFormulaService, CustomFunction, DEFAULT_CYCLE_REFERENCE_COUNT, DEFAULT_INTERVAL_COUNT, DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME, DEFAULT_TOKEN_LET_FUNCTION_NAME, DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER, DEFAULT_TOKEN_TYPE_PARAMETER, DEFAULT_TOKEN_TYPE_ROOT, DefinedNamesService, DependencyManagerBaseService, DependencyManagerService, DescriptionService, ENGINE_FORMULA_CYCLE_REFERENCE_COUNT, ENGINE_FORMULA_PLUGIN_CONFIG_KEY, ENGINE_FORMULA_RETURN_DEPENDENCY_TREE, ERROR_TYPE_SET, ErrorType, ErrorValueObject, FORMULA_REF_TO_ARRAY_CACHE, FUNCTION_LIST, FUNCTION_LIST_ARRAY, FUNCTION_LIST_COMPATIBILITY, FUNCTION_LIST_CUBE, FUNCTION_LIST_DATABASE, FUNCTION_LIST_DATE, FUNCTION_LIST_ENGINEERING, FUNCTION_LIST_FINANCIAL, FUNCTION_LIST_INFORMATION, FUNCTION_LIST_LOGICAL, FUNCTION_LIST_LOOKUP, FUNCTION_LIST_MATH, FUNCTION_LIST_STATISTICAL, FUNCTION_LIST_TEXT, FUNCTION_LIST_UNIVER, FUNCTION_LIST_WEB, FUNCTION_NAMES_ARRAY, FUNCTION_NAMES_COMPATIBILITY, FUNCTION_NAMES_CUBE, FUNCTION_NAMES_DATABASE, FUNCTION_NAMES_DATE, FUNCTION_NAMES_ENGINEERING, FUNCTION_NAMES_FINANCIAL, FUNCTION_NAMES_INFORMATION, FUNCTION_NAMES_LOGICAL, FUNCTION_NAMES_LOOKUP, FUNCTION_NAMES_MATH, FUNCTION_NAMES_STATISTICAL, FUNCTION_NAMES_TEXT, FUNCTION_NAMES_UNIVER, FUNCTION_NAMES_WEB, FeatureCalculationManagerService, FormulaCalculationSessionController, FormulaCalculationSessionService, FormulaCalculationTriggerService, FormulaCurrentConfigService, FormulaDataModel, FormulaDependencyGenerator, FormulaDependencyTree, FormulaDependencyTreeModel, FormulaDependencyTreeType, FormulaDependencyTreeVirtual, FormulaExecuteStageType, FormulaExecutedStateType, FormulaResultApplicationType, FormulaResultStatus, FormulaRuntimeService, FormulaUnitReferenceResolver, FunctionNodeFactory, FunctionService, FunctionType, GlobalComputingStatusService, HyperlinkEngineFormulaService, IActiveDirtyManagerService, ICalculateFormulaService, IDefinedNamesService, IDependencyManagerService, IDescriptionService, IFeatureCalculationManagerService, IFormulaCurrentConfigService, IFormulaDependencyGenerator, IFormulaExternalReferenceDataLoader, IFormulaRuntimeService, IFormulaUnitReferenceResolver, IFunctionService, IHyperlinkEngineFormulaService, IOtherFormulaManagerService, IRegisterFunctionService, ISheetRowFilteredService, ISuperTableService, Interpreter, LambdaNodeFactory, LambdaParameterNodeFactory, LambdaValueObjectObject, Lexer, LexerNode, LexerTreeBuilder, NEW_EXCEL_FUNCTIONS, NoopFormulaExternalReferenceDataLoader, NullValueObject, NumberValueObject, OPERATOR_TOKEN_SET, OperatorNodeFactory, OtherFormulaBizType, OtherFormulaManagerService, OtherFormulaMarkDirty, PrefixNodeFactory, RangeReferenceObject, ReferenceNodeFactory, RegisterFunctionMutation, RegisterFunctionService, RegisterOtherFormulaService, RemoveDefinedNameMutation, RemoveFeatureCalculationMutation, RemoveOtherFormulaMutation, RemoveSuperTableMutation, SUFFIX_TOKEN_SET, SetArrayFormulaDataMutation, SetCellFormulaDependencyCalculationMutation, SetCellFormulaDependencyCalculationResultMutation, SetDefinedNameMutation, SetDefinedNameMutationFactory, SetFeatureCalculationMutation, SetFormulaCalculationNotificationMutation, SetFormulaCalculationResultMutation, SetFormulaCalculationStartMutation, SetFormulaCalculationStopMutation, SetFormulaDataMutation, SetFormulaDependencyCalculationMutation, SetFormulaDependencyCalculationResultMutation, SetFormulaStringBatchCalculationMutation, SetFormulaStringBatchCalculationResultMutation, SetImageFormulaDataMutation, SetOtherFormulaMutation, SetQueryFormulaDependencyAllMutation, SetQueryFormulaDependencyAllResultMutation, SetQueryFormulaDependencyMutation, SetQueryFormulaDependencyResultMutation, SetSuperTableMutation, SetSuperTableOptionMutation, SetTriggerFormulaCalculationStartMutation, SheetRowFilteredService, StringValueObject, SuffixNodeFactory, SuperTableActiveDirtyController, SuperTableService, UnionNodeFactory, UniverFormulaEnginePlugin, ValueNodeFactory, ValueObjectFactory, buildFormulaTextRuns, compareToken, convertUnitDataToRuntime, deserializeRangeForR1C1, deserializeRangeWithSheet, deserializeRangeWithSheetWithCache, excelDateSerial, extractFormulaError, findFormulaStructuredReferences, functionArray, functionCompatibility, functionCube, functionDatabase, functionDate, functionEngineering, functionFinancial, functionInformation, functionLogical, functionLookup, functionMath, functionMeta, functionStatistical, functionText, functionUniver, functionWeb, generateAstNode, generateExecuteAstNodeData, generateParam, generateRandomDependencyTreeId, generateStringWithSequence, getAbsoluteRefTypeWitString, getAbsoluteRefTypeWithSingleString, getFormulaHighlightDataStream, getFormulaReferenceIndex, getFormulaReplaceResult, getFormulaSequenceCharacterAtOffset, getFormulaSequenceNodeIndex, getFunctionName, getObjectValue, getRangeWithRefsString, handleNumfmtInCell, handleRefStringInfo, includeFormulaLexerToken, isFormulaLexerToken, isFormulaReferenceAddingContext, isFormulaReferenceAddingTextContext, isInDirtyRange, isReferenceString, isReferenceStringWithEffectiveColumn, isReferenceStrings, matchRefDrawToken, matchToken, needsQuoting, normalizeFormulaUnitName, normalizeSheetName, operatorToken, prefixToken, quoteSheetName, refactorFormulaUnitQualifier, resolveFormulaReferenceEditingContext, searchFormulaFunctions, sequenceNodeType, serializeRange, serializeRangeToRefString, serializeRangeWithSheet, serializeRangeWithSpreadsheet, singleReferenceToGrid, splitTableStructuredRef, strip, stripErrorMargin, unquoteSheetName };
@@ -3145,20 +3145,20 @@ const locale$9 = {
3145
3145
  }
3146
3146
  },
3147
3147
  EFFECT: {
3148
- description: "Returns the effective annual interest rate",
3149
- abstract: "Returns the effective annual interest rate",
3148
+ description: "Devuelve la tasa de interés anual efectiva",
3149
+ abstract: "Devuelve la tasa de interés anual efectiva",
3150
3150
  links: [{
3151
- title: "Instruction",
3151
+ title: "Instrucciones",
3152
3152
  url: "https://support.microsoft.com/ca-es/excel/functions/effect-function"
3153
3153
  }],
3154
3154
  functionParameter: {
3155
3155
  nominalRate: {
3156
- name: "nominal_rate",
3157
- detail: "The nominal interest rate."
3156
+ name: "tasa_nominal",
3157
+ detail: "La tasa de interés nominal."
3158
3158
  },
3159
3159
  npery: {
3160
- name: "npery",
3161
- detail: "The number of compounding periods per year."
3160
+ name: "núm_per_año",
3161
+ detail: "El número de periodos de composición por año."
3162
3162
  }
3163
3163
  }
3164
3164
  },
@@ -3211,66 +3211,66 @@ const locale$9 = {
3211
3211
  }
3212
3212
  },
3213
3213
  INTRATE: {
3214
- description: "Returns the interest rate for a fully invested security",
3215
- abstract: "Returns the interest rate for a fully invested security",
3214
+ description: "Devuelve la tasa de interés para la inversión total en un valor bursátil.",
3215
+ abstract: "Devuelve la tasa de interés para la inversión total en un valor bursátil.",
3216
3216
  links: [{
3217
- title: "Instruction",
3217
+ title: "Instrucciones",
3218
3218
  url: "https://support.microsoft.com/ca-es/excel/functions/intrate-function"
3219
3219
  }],
3220
3220
  functionParameter: {
3221
3221
  settlement: {
3222
- name: "settlement",
3223
- detail: "The security's settlement date."
3222
+ name: "liquidación",
3223
+ detail: "Obligatorio. La fecha de liquidación del valor bursátil. La fecha de liquidación del valor bursátil es la fecha posterior a la fecha de emisión en la que el comprador adquiere el valor bursátil."
3224
3224
  },
3225
3225
  maturity: {
3226
- name: "maturity",
3227
- detail: "The security's maturity date."
3226
+ name: "vencimiento",
3227
+ detail: "Obligatorio. La fecha de vencimiento del valor bursátil. La fecha de vencimiento es aquella en la que expira el valor bursátil."
3228
3228
  },
3229
3229
  investment: {
3230
- name: "investment",
3231
- detail: "The amount invested in the security."
3230
+ name: "inversión",
3231
+ detail: "Obligatorio. Es la cantidad de dinero invertido en el valor bursátil."
3232
3232
  },
3233
3233
  redemption: {
3234
- name: "redemption",
3235
- detail: "The amount to be received at maturity."
3234
+ name: "rescate",
3235
+ detail: "Obligatorio. Es el valor que se recibirá en la fecha de vencimiento."
3236
3236
  },
3237
3237
  basis: {
3238
- name: "basis",
3239
- detail: "The type of day count basis to use."
3238
+ name: "base",
3239
+ detail: "Opcional. Determina en qué tipo de base deben contarse los días."
3240
3240
  }
3241
3241
  }
3242
3242
  },
3243
3243
  IPMT: {
3244
- description: "Returns the interest payment for an investment for a given period",
3245
- abstract: "Returns the interest payment for an investment for a given period",
3244
+ description: "Devuelve el pago de intereses de una inversión durante un periodo determinado",
3245
+ abstract: "Devuelve el pago de intereses de una inversión durante un periodo determinado",
3246
3246
  links: [{
3247
- title: "Instruction",
3247
+ title: "Instrucciones",
3248
3248
  url: "https://support.microsoft.com/ca-es/excel/functions/ipmt-function"
3249
3249
  }],
3250
3250
  functionParameter: {
3251
3251
  rate: {
3252
- name: "rate",
3253
- detail: "The interest rate per period."
3252
+ name: "tasa",
3253
+ detail: "La tasa de interés por periodo."
3254
3254
  },
3255
3255
  per: {
3256
- name: "per",
3257
- detail: "The period for which you want to find the interest and must be in the range 1 to nper."
3256
+ name: "periodo",
3257
+ detail: "El periodo para el cual desea buscar el interés y debe estar en el rango de 1 a núm_pagos."
3258
3258
  },
3259
3259
  nper: {
3260
- name: "nper",
3261
- detail: "The total number of payment periods in an annuity."
3260
+ name: "núm_pagos",
3261
+ detail: "El número total de periodos de pago en una anualidad."
3262
3262
  },
3263
3263
  pv: {
3264
- name: "pv",
3265
- detail: "The present value, or the lump-sum amount that a series of future payments is worth right now."
3264
+ name: "va",
3265
+ detail: "El valor actual, o la cantidad total que vale ahora una serie de pagos futuros."
3266
3266
  },
3267
3267
  fv: {
3268
- name: "fv",
3269
- detail: "The future value, or a cash balance you want to attain after the last payment is made."
3268
+ name: "vf",
3269
+ detail: "El valor futuro, o un saldo en efectivo que desea lograr después de realizar el último pago."
3270
3270
  },
3271
3271
  type: {
3272
- name: "type",
3273
- detail: "The number 0 or 1 and indicates when payments are due."
3272
+ name: "tipo",
3273
+ detail: "El número 0 o 1 e indica cuándo vencen los pagos."
3274
3274
  }
3275
3275
  }
3276
3276
  },
@@ -3145,20 +3145,20 @@ const locale$9 = {
3145
3145
  }
3146
3146
  },
3147
3147
  EFFECT: {
3148
- description: "Returns the effective annual interest rate",
3149
- abstract: "Returns the effective annual interest rate",
3148
+ description: "Cette fonction renvoie le taux d’intérêt annuel effectif.",
3149
+ abstract: "Taux d’intérêt annuel effectif.",
3150
3150
  links: [{
3151
3151
  title: "Instruction",
3152
3152
  url: "https://support.microsoft.com/fr-fr/excel/functions/effect-function"
3153
3153
  }],
3154
3154
  functionParameter: {
3155
3155
  nominalRate: {
3156
- name: "nominal_rate",
3157
- detail: "The nominal interest rate."
3156
+ name: "taux_nominal",
3157
+ detail: "Représente le taux d’intérêt nominal."
3158
3158
  },
3159
3159
  npery: {
3160
- name: "npery",
3161
- detail: "The number of compounding periods per year."
3160
+ name: "nb_périodes",
3161
+ detail: "Nombre de périodes annuelles pour le calcul des intérêts composés."
3162
3162
  }
3163
3163
  }
3164
3164
  },
@@ -5148,20 +5148,20 @@ const locale$6 = {
5148
5148
  }],
5149
5149
  functionParameter: {
5150
5150
  dataField: {
5151
- name: "dataField",
5152
- detail: ""
5151
+ name: "champ_données",
5152
+ detail: "Nom du champ du tableau croisé dynamique contenant les données à récupérer. Il doit être placé entre guillemets."
5153
5153
  },
5154
5154
  pivotTable: {
5155
- name: "pivotTable",
5156
- detail: ""
5155
+ name: "tableau_croisé_dyn",
5156
+ detail: "Référence à une cellule, une plage ou une plage nommée du tableau croisé dynamique contenant les données."
5157
5157
  },
5158
5158
  field1: {
5159
- name: "field1",
5160
- detail: ""
5159
+ name: "champ1",
5160
+ detail: "Paire facultative de noms de champ et d’élément décrivant les données à récupérer."
5161
5161
  },
5162
5162
  item1: {
5163
- name: "item1",
5164
- detail: ""
5163
+ name: "élément1",
5164
+ detail: "Paire facultative de noms de champ et d’élément décrivant les données à récupérer."
5165
5165
  }
5166
5166
  }
5167
5167
  },
@@ -1862,20 +1862,20 @@ const locale$10 = {
1862
1862
  }
1863
1863
  },
1864
1864
  BITAND: {
1865
- description: "Returns a 'Bitwise And' of two numbers",
1866
- abstract: "Returns a 'Bitwise And' of two numbers",
1865
+ description: " 숫자의 비트 단위 'AND'를 반환합니다.",
1866
+ abstract: " 숫자의 비트 단위 'AND'를 반환합니다.",
1867
1867
  links: [{
1868
1868
  title: "Instruction",
1869
1869
  url: "https://support.microsoft.com/ko-kr/excel/functions/bitand-function"
1870
1870
  }],
1871
1871
  functionParameter: {
1872
1872
  number1: {
1873
- name: "number1",
1874
- detail: "Must be in decimal form and greater than or equal to 0."
1873
+ name: "번호1",
1874
+ detail: "0보다 크거나 같은 10진수 형식이어야 합니다."
1875
1875
  },
1876
1876
  number2: {
1877
- name: "number2",
1878
- detail: "Must be in decimal form and greater than or equal to 0."
1877
+ name: "번호2",
1878
+ detail: "0보다 크거나 같은 10진수 형식이어야 합니다."
1879
1879
  }
1880
1880
  }
1881
1881
  },
@@ -1982,16 +1982,16 @@ const locale$10 = {
1982
1982
  }],
1983
1983
  functionParameter: {
1984
1984
  number: {
1985
- name: "number",
1986
- detail: "is the value in from_units to convert."
1985
+ name: "숫자",
1986
+ detail: "변환할 from_unit 단위의 값입니다."
1987
1987
  },
1988
1988
  fromUnit: {
1989
1989
  name: "from_unit",
1990
- detail: "is the units for number."
1990
+ detail: "숫자의 단위입니다."
1991
1991
  },
1992
1992
  toUnit: {
1993
1993
  name: "to_unit",
1994
- detail: "is the units for the result."
1994
+ detail: "결과의 단위입니다."
1995
1995
  }
1996
1996
  }
1997
1997
  },
@@ -2308,8 +2308,8 @@ const locale$10 = {
2308
2308
  } }
2309
2309
  },
2310
2310
  IMDIV: {
2311
- description: "Returns the quotient of two complex numbers",
2312
- abstract: "Returns the quotient of two complex numbers",
2311
+ description: "x + yi 또는 x + yj 텍스트 형식인 두 복소수의 나눗셈 몫을 반환합니다.",
2312
+ abstract: " 복소수의 나눗셈 몫을 반환합니다.",
2313
2313
  links: [{
2314
2314
  title: "Instruction",
2315
2315
  url: "https://support.microsoft.com/ko-kr/excel/functions/imdiv-function"
@@ -2317,11 +2317,11 @@ const locale$10 = {
2317
2317
  functionParameter: {
2318
2318
  inumber1: {
2319
2319
  name: "inumber1",
2320
- detail: "The complex numerator or dividend."
2320
+ detail: "분자 또는 피제수인 복소수입니다."
2321
2321
  },
2322
2322
  inumber2: {
2323
2323
  name: "inumber2",
2324
- detail: "The complex denominator or divisor."
2324
+ detail: "분모 또는 제수인 복소수입니다."
2325
2325
  }
2326
2326
  }
2327
2327
  },
@@ -4763,7 +4763,7 @@ const locale$7 = {
4763
4763
  },
4764
4764
  value3: {
4765
4765
  name: "lambda",
4766
- detail: " A LAMBDA that is called to create the array. The LAMBDA takes two parameters: row (The row index of the array), col (The column index of the array)."
4766
+ detail: "배열을 만들기 위해 호출되는 LAMBDA입니다. LAMBDA 인덱스와 인덱스 매개 변수를 사용합니다."
4767
4767
  }
4768
4768
  }
4769
4769
  },
@@ -8314,8 +8314,8 @@ const locale$4 = {
8314
8314
  detail: "MARGINOFERROR(A1:C3, 0.99)"
8315
8315
  },
8316
8316
  confidence: {
8317
- name: "confidence",
8318
- detail: "The desired confidence level between (0, 1)."
8317
+ name: "신뢰도",
8318
+ detail: "(0, 1) 범위에서 원하는 신뢰 수준입니다."
8319
8319
  }
8320
8320
  }
8321
8321
  },
@@ -5148,20 +5148,20 @@ const locale$6 = {
5148
5148
  }],
5149
5149
  functionParameter: {
5150
5150
  dataField: {
5151
- name: "dataField",
5152
- detail: ""
5151
+ name: "údajové_pole",
5152
+ detail: "Názov poľa kontingenčnej tabuľky obsahujúce údaje, ktoré chcete načítať. Musí byť v úvodzovkách."
5153
5153
  },
5154
5154
  pivotTable: {
5155
- name: "pivotTable",
5156
- detail: ""
5155
+ name: "kontingenčná_tabuľka",
5156
+ detail: "Odkaz na bunku, rozsah buniek alebo pomenovaný rozsah v kontingenčnej tabuľke obsahujúcej požadované údaje."
5157
5157
  },
5158
5158
  field1: {
5159
- name: "field1",
5160
- detail: ""
5159
+ name: "pole1",
5160
+ detail: "Voliteľná dvojica názvu poľa a položky opisujúca údaje, ktoré chcete načítať."
5161
5161
  },
5162
5162
  item1: {
5163
- name: "item1",
5164
- detail: ""
5163
+ name: "položka1",
5164
+ detail: "Voliteľná dvojica názvu poľa a položky opisujúca údaje, ktoré chcete načítať."
5165
5165
  }
5166
5166
  }
5167
5167
  },
@@ -5821,8 +5821,8 @@ const locale$5 = {
5821
5821
  }
5822
5822
  },
5823
5823
  ARABIC: {
5824
- description: "Converts a Roman number to Arabic, as a number",
5825
- abstract: "Converts a Roman number to Arabic, as a number",
5824
+ description: "Chuyển đổi một chữ số La sang một chữ số Ả-rập.",
5825
+ abstract: "Chuyển đổi một chữ số La sang một chữ số Ả-rập.",
5826
5826
  links: [{
5827
5827
  title: "Hướng dẫn",
5828
5828
  url: "https://support.microsoft.com/vi-vn/excel/functions/arabic-function"