@univerjs/sheets-formula 0.2.7 → 0.2.9

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 (113) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +974 -409
  3. package/lib/locale/en-US.json +646 -350
  4. package/lib/locale/ru-RU.json +646 -350
  5. package/lib/locale/vi-VN.json +682 -346
  6. package/lib/locale/zh-CN.json +654 -358
  7. package/lib/locale/zh-TW.json +654 -358
  8. package/lib/types/commands/commands/formula-clipboard.command.d.ts +0 -1
  9. package/lib/types/commands/commands/insert-function.command.d.ts +0 -1
  10. package/lib/types/commands/mutations/formula.mutation.d.ts +0 -1
  11. package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +0 -1
  12. package/lib/types/commands/operations/editor-formula.operation.d.ts +0 -1
  13. package/lib/types/commands/operations/help-function.operation.d.ts +0 -1
  14. package/lib/types/commands/operations/insert-function.operation.d.ts +0 -1
  15. package/lib/types/commands/operations/more-functions.operation.d.ts +0 -1
  16. package/lib/types/commands/operations/reference-absolute.operation.d.ts +0 -1
  17. package/lib/types/commands/operations/search-function.operation.d.ts +0 -1
  18. package/lib/types/common/selection.d.ts +0 -1
  19. package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +0 -1
  20. package/lib/types/controllers/active-dirty.controller.d.ts +0 -1
  21. package/lib/types/controllers/array-formula-display.controller.d.ts +0 -1
  22. package/lib/types/controllers/defined-name.controller.d.ts +0 -1
  23. package/lib/types/controllers/formula-alert-render.controller.d.ts +0 -1
  24. package/lib/types/controllers/formula-auto-fill.controller.d.ts +0 -1
  25. package/lib/types/controllers/formula-clipboard.controller.d.ts +0 -1
  26. package/lib/types/controllers/formula-editor-show.controller.d.ts +7 -4
  27. package/lib/types/controllers/formula-render.controller.d.ts +0 -1
  28. package/lib/types/controllers/formula-ui.controller.d.ts +0 -1
  29. package/lib/types/controllers/menu.d.ts +0 -1
  30. package/lib/types/controllers/prompt.controller.d.ts +10 -2
  31. package/lib/types/controllers/shortcuts/prompt.shortcut.d.ts +0 -1
  32. package/lib/types/controllers/trigger-calculation.controller.d.ts +0 -1
  33. package/lib/types/controllers/update-formula.controller.d.ts +0 -1
  34. package/lib/types/controllers/utils/offset-formula-data.d.ts +0 -1
  35. package/lib/types/controllers/utils/ref-range-formula.d.ts +0 -1
  36. package/lib/types/controllers/utils/utils.d.ts +0 -1
  37. package/lib/types/formula-ui-plugin.d.ts +0 -1
  38. package/lib/types/locale/en-US.d.ts +426 -130
  39. package/lib/types/locale/function-list/array/ru-RU.d.ts +0 -1
  40. package/lib/types/locale/function-list/compatibility/en-US.d.ts +6 -2
  41. package/lib/types/locale/function-list/compatibility/ja-JP.d.ts +6 -2
  42. package/lib/types/locale/function-list/compatibility/ru-RU.d.ts +0 -1
  43. package/lib/types/locale/function-list/compatibility/vi-VN.d.ts +6 -2
  44. package/lib/types/locale/function-list/compatibility/zh-CN.d.ts +6 -2
  45. package/lib/types/locale/function-list/compatibility/zh-TW.d.ts +6 -2
  46. package/lib/types/locale/function-list/date/ru-RU.d.ts +0 -1
  47. package/lib/types/locale/function-list/engineering/en-US.d.ts +50 -66
  48. package/lib/types/locale/function-list/engineering/ja-JP.d.ts +50 -66
  49. package/lib/types/locale/function-list/engineering/ru-RU.d.ts +0 -1
  50. package/lib/types/locale/function-list/engineering/vi-VN.d.ts +50 -66
  51. package/lib/types/locale/function-list/engineering/zh-CN.d.ts +50 -66
  52. package/lib/types/locale/function-list/engineering/zh-TW.d.ts +50 -66
  53. package/lib/types/locale/function-list/financial/en-US.d.ts +344 -56
  54. package/lib/types/locale/function-list/financial/ja-JP.d.ts +344 -56
  55. package/lib/types/locale/function-list/financial/ru-RU.d.ts +0 -1
  56. package/lib/types/locale/function-list/financial/vi-VN.d.ts +344 -56
  57. package/lib/types/locale/function-list/financial/zh-CN.d.ts +344 -56
  58. package/lib/types/locale/function-list/financial/zh-TW.d.ts +344 -56
  59. package/lib/types/locale/function-list/information/ru-RU.d.ts +0 -1
  60. package/lib/types/locale/function-list/logical/en-US.d.ts +14 -2
  61. package/lib/types/locale/function-list/logical/ja-JP.d.ts +14 -2
  62. package/lib/types/locale/function-list/logical/ru-RU.d.ts +0 -1
  63. package/lib/types/locale/function-list/logical/vi-VN.d.ts +14 -2
  64. package/lib/types/locale/function-list/logical/zh-CN.d.ts +14 -2
  65. package/lib/types/locale/function-list/logical/zh-TW.d.ts +14 -2
  66. package/lib/types/locale/function-list/lookup/ru-RU.d.ts +0 -1
  67. package/lib/types/locale/function-list/math/ru-RU.d.ts +0 -1
  68. package/lib/types/locale/function-list/statistical/en-US.d.ts +12 -4
  69. package/lib/types/locale/function-list/statistical/ja-JP.d.ts +12 -4
  70. package/lib/types/locale/function-list/statistical/ru-RU.d.ts +0 -1
  71. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +44 -0
  72. package/lib/types/locale/function-list/statistical/zh-CN.d.ts +12 -4
  73. package/lib/types/locale/function-list/statistical/zh-TW.d.ts +12 -4
  74. package/lib/types/locale/function-list/web/vi-VN.d.ts +0 -1
  75. package/lib/types/locale/ru-RU.d.ts +426 -130
  76. package/lib/types/locale/vi-VN.d.ts +458 -126
  77. package/lib/types/locale/zh-CN.d.ts +426 -130
  78. package/lib/types/locale/zh-TW.d.ts +426 -130
  79. package/lib/types/services/description.service.d.ts +0 -1
  80. package/lib/types/services/formula-common.d.ts +0 -1
  81. package/lib/types/services/formula-ref-range.service.d.ts +0 -1
  82. package/lib/types/services/function-list/array.d.ts +0 -1
  83. package/lib/types/services/function-list/compatibility.d.ts +0 -1
  84. package/lib/types/services/function-list/cube.d.ts +0 -1
  85. package/lib/types/services/function-list/database.d.ts +0 -1
  86. package/lib/types/services/function-list/date.d.ts +0 -1
  87. package/lib/types/services/function-list/engineering.d.ts +0 -1
  88. package/lib/types/services/function-list/financial.d.ts +0 -1
  89. package/lib/types/services/function-list/function-list.d.ts +0 -1
  90. package/lib/types/services/function-list/information.d.ts +0 -1
  91. package/lib/types/services/function-list/logical.d.ts +0 -1
  92. package/lib/types/services/function-list/lookup.d.ts +0 -1
  93. package/lib/types/services/function-list/math.d.ts +0 -1
  94. package/lib/types/services/function-list/statistical.d.ts +0 -1
  95. package/lib/types/services/function-list/text.d.ts +0 -1
  96. package/lib/types/services/function-list/univer.d.ts +0 -1
  97. package/lib/types/services/function-list/web.d.ts +0 -1
  98. package/lib/types/services/prompt.service.d.ts +0 -1
  99. package/lib/types/services/register-function.service.d.ts +0 -1
  100. package/lib/types/services/register-other-formula.service.d.ts +0 -1
  101. package/lib/types/services/remote/remote-register-function.service.d.ts +0 -1
  102. package/lib/types/services/render-services/ref-selections.render-service.d.ts +8 -4
  103. package/lib/types/services/utils.d.ts +0 -1
  104. package/lib/types/views/FormulaPromptContainer.d.ts +0 -1
  105. package/lib/types/views/more-functions/MoreFunctions.d.ts +0 -1
  106. package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts +0 -1
  107. package/lib/types/views/more-functions/function-params/FunctionParams.d.ts +0 -1
  108. package/lib/types/views/more-functions/input-params/InputParams.d.ts +0 -1
  109. package/lib/types/views/more-functions/select-function/SelectFunction.d.ts +0 -1
  110. package/lib/types/views/prompt/help-function/HelpFunction.d.ts +0 -1
  111. package/lib/types/views/prompt/search-function/SearchFunction.d.ts +0 -1
  112. package/lib/umd/index.js +4 -4
  113. package/package.json +23 -23
package/lib/es/index.js CHANGED
@@ -2,11 +2,11 @@ var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value;
3
3
  var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key != "symbol" ? key + "" : key, value);
5
- import { Disposable, ObjectMatrix, Dimension, OnLifecycle, LifecycleStages, Inject, IUniverInstanceService, CellValueType, ThemeService, ICommandService, isFormulaString, isFormulaId, Tools, Direction, UniverInstanceType, Injector, DEFAULT_EMPTY_DOCUMENT_VALUE, toDisposable, ColorKit, Rectangle, CommandType, createIdentifier, IContextService, isRealNum, getCellValueType, useDependency, LocaleService, useInjector, FOCUSING_DOC, FOCUSING_UNIVER_EDITOR, FOCUSING_UNIVER_EDITOR_STANDALONE_SINGLE_MODE, connectInjector, throttle, cellToRange, RANGE_TYPE, DisposableCollection, Optional, isICellData, RxDisposable, FORMULA_EDITOR_ACTIVATED, FOCUSING_EDITOR_INPUT_FORMULA, getCellInfoInMergeData, AbsoluteRefType, DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY, DOCS_NORMAL_EDITOR_UNIT_ID_KEY, Plugin, DependentOn } from "@univerjs/core";
5
+ import { Disposable, ObjectMatrix, Dimension, OnLifecycle, LifecycleStages, Inject, IUniverInstanceService, CellValueType, ThemeService, ICommandService, isFormulaString, isFormulaId, Tools, Direction, UniverInstanceType, Injector, DEFAULT_EMPTY_DOCUMENT_VALUE, toDisposable, ColorKit, Rectangle, ILogService, CommandType, createIdentifier, IContextService, isRealNum, getCellValueType, useDependency, LocaleService, useInjector, FOCUSING_DOC, FOCUSING_UNIVER_EDITOR, FOCUSING_UNIVER_EDITOR_STANDALONE_SINGLE_MODE, connectInjector, throttle, cellToRange, RANGE_TYPE, DisposableCollection, Optional, isICellData, RxDisposable, FORMULA_EDITOR_ACTIVATED, FOCUSING_EDITOR_INPUT_FORMULA, getCellInfoInMergeData, AbsoluteRefType, DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY, DOCS_NORMAL_EDITOR_UNIT_ID_KEY, Plugin, DependentOn } from "@univerjs/core";
6
6
  import { IRPCChannelService, fromModule, toModule } from "@univerjs/rpc";
7
7
  import { SetDefinedNameMutation, RemoveDefinedNameMutation, FormulaDataModel, IActiveDirtyManagerService, IDefinedNamesService, SetArrayFormulaDataMutation, stripErrorMargin, LexerTreeBuilder, SetFormulaCalculationResultMutation, ErrorType, sequenceNodeType, serializeRange, FUNCTION_NAMES_COMPATIBILITY, FunctionType, 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_WEB, isReferenceStrings, functionArray, functionCompatibility, functionCube, functionDatabase, functionDate, functionEngineering, functionFinancial, functionInformation, functionLogical, functionLookup, functionMath, functionMeta, functionStatistical, functionText, functionUniver, functionWeb, IFunctionService, ERROR_TYPE_SET, SetFormulaCalculationStartMutation, SetFormulaCalculationStopMutation, SetFormulaCalculationNotificationMutation, FormulaExecuteStageType, FormulaExecutedStateType, SetFormulaDataMutation, initSheetFormulaData, deserializeRangeWithSheet, serializeRangeToRefString, generateStringWithSequence, CustomFunction, serializeRangeWithSpreadsheet, serializeRangeWithSheet, SetOtherFormulaMutation, RemoveOtherFormulaMutation, matchRefDrawToken, matchToken, compareToken, normalizeSheetName, getAbsoluteRefTypeWitString, UniverFormulaEnginePlugin } from "@univerjs/engine-formula";
8
8
  import { IRenderManagerService, ITextSelectionRenderManager, DeviceInputEventType, ScrollTimerType, SHEET_VIEWPORT_KEY, Vector2 } from "@univerjs/engine-render";
9
- import { SetRangeValuesMutation, SetStyleCommand, MoveRangeMutation, MoveRowsMutation, MoveColsMutation, ReorderRangeMutation, RemoveRowMutation, RemoveColMutation, RemoveSheetMutation, InsertSheetMutation, SetDefinedNameCommand, INTERCEPTOR_POINT, SheetInterceptorService, SetRangeValuesUndoMutationFactory, SetWorksheetRowHeightMutation, SetWorksheetColWidthMutation, SetColHiddenMutation, SetColVisibleMutation, SetRowHiddenMutation, SetRowVisibleMutation, SetWorksheetRowAutoHeightMutation, SetRangeValuesCommand, SheetsSelectionsService, getSheetCommandTarget, getCellAtRowCol, SetSelectionsOperation, WorkbookEditablePermission, WorksheetEditPermission, WorksheetSetCellValuePermission, RangeProtectionPermissionEditPoint, SetBorderCommand, ClearSelectionFormatCommand, INumfmtService, handleMoveRange, EffectRefRangId, runRefRangeMutations, handleMoveRows, handleMoveCols, handleInsertRow, handleInsertCol, handleIRemoveRow, handleIRemoveCol, handleDeleteRangeMoveLeft, handleDeleteRangeMoveUp, handleInsertRangeMoveDown, handleInsertRangeMoveRight, RemoveSheetCommand, SetWorksheetNameCommand, DeleteRangeMoveLeftCommand, DeleteRangeMoveUpCommand, RemoveColCommand, RemoveRowCommand, InsertRangeMoveDownCommand, InsertRangeMoveRightCommand, InsertColCommand, InsertRowCommand, MoveColsCommand, MoveRowsCommand, MoveRangeCommand, SetWorksheetActiveOperation, InsertDefinedNameCommand, RemoveDefinedNameCommand, RefRangeService, handleDefaultRangeChangeWithEffectRefCommands, convertSelectionDataToRange, getNormalSelectionStyle, IRefSelectionsService, DISABLE_NORMAL_SELECTIONS, setEndForRange, getPrimaryForRange, RefSelectionsService } from "@univerjs/sheets";
9
+ import { SetRangeValuesMutation, SetStyleCommand, MoveRangeMutation, MoveRowsMutation, MoveColsMutation, ReorderRangeMutation, RemoveRowMutation, RemoveColMutation, RemoveSheetMutation, InsertSheetMutation, SetDefinedNameCommand, INTERCEPTOR_POINT, SheetInterceptorService, SetRangeValuesUndoMutationFactory, SetWorksheetRowHeightMutation, SetWorksheetColWidthMutation, SetColHiddenMutation, SetColVisibleMutation, SetRowHiddenMutation, SetRowVisibleMutation, SetWorksheetRowAutoHeightMutation, SetRangeValuesCommand, SheetsSelectionsService, getSheetCommandTarget, getCellAtRowCol, SetSelectionsOperation, WorkbookEditablePermission, WorksheetEditPermission, WorksheetSetCellValuePermission, RangeProtectionPermissionEditPoint, SetBorderCommand, ClearSelectionFormatCommand, INumfmtService, handleMoveRange, EffectRefRangId, runRefRangeMutations, handleMoveRows, handleMoveCols, handleInsertRow, handleInsertCol, handleIRemoveRow, handleIRemoveCol, handleDeleteRangeMoveLeft, handleDeleteRangeMoveUp, handleInsertRangeMoveDown, handleInsertRangeMoveRight, RemoveSheetCommand, SetWorksheetNameCommand, DeleteRangeMoveLeftCommand, DeleteRangeMoveUpCommand, RemoveColCommand, RemoveRowCommand, InsertRangeMoveDownCommand, InsertRangeMoveRightCommand, InsertColCommand, InsertRowCommand, MoveColsCommand, MoveRowsCommand, MoveRangeCommand, SetWorksheetActiveOperation, InsertDefinedNameCommand, RemoveDefinedNameCommand, RefRangeService, handleDefaultRangeChangeWithEffectRefCommands, SelectionMoveType, convertSelectionDataToRange, getNormalSelectionStyle, IRefSelectionsService, DISABLE_NORMAL_SELECTIONS, setEndForRange, getPrimaryForRange, RefSelectionsService } from "@univerjs/sheets";
10
10
  import { DATA_TYPE, APPLY_TYPE, IAutoFillService, PREDEFINED_HOOK_NAME, COPY_TYPE, ISheetClipboardService, ISheetSelectionRenderService, SelectionShape, IEditorBridgeService, SheetSkeletonManagerService, SheetPasteCommand, useActiveWorkbook, getCurrentRangeDisable$, PASTE_SPECIAL_MENU_ID, whenFormulaEditorActivated, CellAlertType, HoverManagerService, CellAlertManagerService, BaseSelectionRenderService, getCoordByOffset, checkInHeaderRanges, getAllSelection, attachSelectionWithCoord, getSheetObject, getEditorObject, MoveSelectionCommand, JumpOver, ExpandSelectionCommand } from "@univerjs/sheets-ui";
11
11
  import { IEditorService, ISidebarService, MenuGroup, MenuItemType, MenuPosition, getMenuHiddenObservable, IClipboardInterfaceService, KeyCode, MetaKeys, ComponentManager, BuiltInUIPart, IMenuService, IShortcutService, IUIPartsService, IProgressService, UNI_DISABLE_CHANGING_FOCUS_KEY, SetEditorResizeOperation, IContextMenuService } from "@univerjs/ui";
12
12
  import { Subject, throttleTime, combineLatestWith, map, switchMap, of, Observable, merge, filter, bufferTime, distinctUntilKeyChanged, distinctUntilChanged } from "rxjs";
@@ -544,10 +544,27 @@ const REFRESH_ARRAY_SHAPE_MUTATIONS = [
544
544
  ];
545
545
  var _a5;
546
546
  let FormulaEditorShowController = (_a5 = class extends Disposable {
547
- constructor(_context, _editorBridgeService, _formulaDataModel, _themeService, _renderManagerService, _sheetSkeletonManagerService, _commandService) {
547
+ constructor(_context, _editorBridgeService, _formulaDataModel, _themeService, _renderManagerService, _sheetSkeletonManagerService, _commandService, _logService) {
548
548
  super();
549
549
  __publicField(this, "_previousShape");
550
- this._context = _context, this._editorBridgeService = _editorBridgeService, this._formulaDataModel = _formulaDataModel, this._themeService = _themeService, this._renderManagerService = _renderManagerService, this._sheetSkeletonManagerService = _sheetSkeletonManagerService, this._commandService = _commandService, this._initInterceptorEditorStart(), this._commandExecutedListener();
550
+ __publicField(this, "_skeleton");
551
+ this._context = _context, this._editorBridgeService = _editorBridgeService, this._formulaDataModel = _formulaDataModel, this._themeService = _themeService, this._renderManagerService = _renderManagerService, this._sheetSkeletonManagerService = _sheetSkeletonManagerService, this._commandService = _commandService, this._logService = _logService, this._initSkeletonChangeListener(), this._initInterceptorEditorStart(), this._commandExecutedListener();
552
+ }
553
+ _initSkeletonChangeListener() {
554
+ this.disposeWithMe(
555
+ this._sheetSkeletonManagerService.currentSkeleton$.subscribe((param) => {
556
+ var _a23, _b;
557
+ if (param == null)
558
+ this._logService.debug("[FormulaEditorShowController]: should not receive currentSkeleton$ as null!");
559
+ else {
560
+ const { skeleton } = param, prevSheetId = (_b = (_a23 = this._skeleton) == null ? void 0 : _a23.worksheet) == null ? void 0 : _b.getSheetId();
561
+ this._changeRuntime(skeleton), prevSheetId !== skeleton.worksheet.getSheetId() && this._removeArrayFormulaRangeShape();
562
+ }
563
+ })
564
+ );
565
+ }
566
+ _changeRuntime(skeleton) {
567
+ this._skeleton = skeleton;
551
568
  }
552
569
  _initInterceptorEditorStart() {
553
570
  this.disposeWithMe(
@@ -700,7 +717,8 @@ FormulaEditorShowController = __decorateClass$f([
700
717
  __decorateParam$f(3, Inject(ThemeService)),
701
718
  __decorateParam$f(4, IRenderManagerService),
702
719
  __decorateParam$f(5, Inject(SheetSkeletonManagerService)),
703
- __decorateParam$f(6, ICommandService)
720
+ __decorateParam$f(6, ICommandService),
721
+ __decorateParam$f(7, ILogService)
704
722
  ], FormulaEditorShowController);
705
723
  const SheetOnlyPasteFormulaCommand = {
706
724
  id: "sheet.command.paste-formula",
@@ -2137,18 +2155,25 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
2137
2155
  abstract: "formula.functionList.RANK.abstract",
2138
2156
  functionParameter: [
2139
2157
  {
2140
- name: "formula.functionList.RANK.functionParameter.number1.name",
2141
- detail: "formula.functionList.RANK.functionParameter.number1.detail",
2142
- example: "A1:A20",
2158
+ name: "formula.functionList.RANK.functionParameter.number.name",
2159
+ detail: "formula.functionList.RANK.functionParameter.number.detail",
2160
+ example: "A3",
2143
2161
  require: 1,
2144
2162
  repeat: 0
2145
2163
  },
2146
2164
  {
2147
- name: "formula.functionList.RANK.functionParameter.number2.name",
2148
- detail: "formula.functionList.RANK.functionParameter.number2.detail",
2149
- example: "A1:A20",
2165
+ name: "formula.functionList.RANK.functionParameter.ref.name",
2166
+ detail: "formula.functionList.RANK.functionParameter.ref.detail",
2167
+ example: "A2:A6",
2150
2168
  require: 1,
2151
2169
  repeat: 0
2170
+ },
2171
+ {
2172
+ name: "formula.functionList.RANK.functionParameter.order.name",
2173
+ detail: "formula.functionList.RANK.functionParameter.order.detail",
2174
+ example: "1",
2175
+ require: 0,
2176
+ repeat: 0
2152
2177
  }
2153
2178
  ]
2154
2179
  },
@@ -3313,16 +3338,16 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3313
3338
  abstract: "formula.functionList.BESSELI.abstract",
3314
3339
  functionParameter: [
3315
3340
  {
3316
- name: "formula.functionList.BESSELI.functionParameter.number1.name",
3317
- detail: "formula.functionList.BESSELI.functionParameter.number1.detail",
3318
- example: "A1:A20",
3341
+ name: "formula.functionList.BESSELI.functionParameter.x.name",
3342
+ detail: "formula.functionList.BESSELI.functionParameter.x.detail",
3343
+ example: "1.5",
3319
3344
  require: 1,
3320
3345
  repeat: 0
3321
3346
  },
3322
3347
  {
3323
- name: "formula.functionList.BESSELI.functionParameter.number2.name",
3324
- detail: "formula.functionList.BESSELI.functionParameter.number2.detail",
3325
- example: "A1:A20",
3348
+ name: "formula.functionList.BESSELI.functionParameter.n.name",
3349
+ detail: "formula.functionList.BESSELI.functionParameter.n.detail",
3350
+ example: "1",
3326
3351
  require: 1,
3327
3352
  repeat: 0
3328
3353
  }
@@ -3335,16 +3360,16 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3335
3360
  abstract: "formula.functionList.BESSELJ.abstract",
3336
3361
  functionParameter: [
3337
3362
  {
3338
- name: "formula.functionList.BESSELJ.functionParameter.number1.name",
3339
- detail: "formula.functionList.BESSELJ.functionParameter.number1.detail",
3340
- example: "A1:A20",
3363
+ name: "formula.functionList.BESSELJ.functionParameter.x.name",
3364
+ detail: "formula.functionList.BESSELJ.functionParameter.x.detail",
3365
+ example: "1.5",
3341
3366
  require: 1,
3342
3367
  repeat: 0
3343
3368
  },
3344
3369
  {
3345
- name: "formula.functionList.BESSELJ.functionParameter.number2.name",
3346
- detail: "formula.functionList.BESSELJ.functionParameter.number2.detail",
3347
- example: "A1:A20",
3370
+ name: "formula.functionList.BESSELJ.functionParameter.n.name",
3371
+ detail: "formula.functionList.BESSELJ.functionParameter.n.detail",
3372
+ example: "1",
3348
3373
  require: 1,
3349
3374
  repeat: 0
3350
3375
  }
@@ -3357,16 +3382,16 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3357
3382
  abstract: "formula.functionList.BESSELK.abstract",
3358
3383
  functionParameter: [
3359
3384
  {
3360
- name: "formula.functionList.BESSELK.functionParameter.number1.name",
3361
- detail: "formula.functionList.BESSELK.functionParameter.number1.detail",
3362
- example: "A1:A20",
3385
+ name: "formula.functionList.BESSELK.functionParameter.x.name",
3386
+ detail: "formula.functionList.BESSELK.functionParameter.x.detail",
3387
+ example: "1.5",
3363
3388
  require: 1,
3364
3389
  repeat: 0
3365
3390
  },
3366
3391
  {
3367
- name: "formula.functionList.BESSELK.functionParameter.number2.name",
3368
- detail: "formula.functionList.BESSELK.functionParameter.number2.detail",
3369
- example: "A1:A20",
3392
+ name: "formula.functionList.BESSELK.functionParameter.n.name",
3393
+ detail: "formula.functionList.BESSELK.functionParameter.n.detail",
3394
+ example: "1",
3370
3395
  require: 1,
3371
3396
  repeat: 0
3372
3397
  }
@@ -3379,16 +3404,16 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3379
3404
  abstract: "formula.functionList.BESSELY.abstract",
3380
3405
  functionParameter: [
3381
3406
  {
3382
- name: "formula.functionList.BESSELY.functionParameter.number1.name",
3383
- detail: "formula.functionList.BESSELY.functionParameter.number1.detail",
3384
- example: "A1:A20",
3407
+ name: "formula.functionList.BESSELY.functionParameter.x.name",
3408
+ detail: "formula.functionList.BESSELY.functionParameter.x.detail",
3409
+ example: "1.5",
3385
3410
  require: 1,
3386
3411
  repeat: 0
3387
3412
  },
3388
3413
  {
3389
- name: "formula.functionList.BESSELY.functionParameter.number2.name",
3390
- detail: "formula.functionList.BESSELY.functionParameter.number2.detail",
3391
- example: "A1:A20",
3414
+ name: "formula.functionList.BESSELY.functionParameter.n.name",
3415
+ detail: "formula.functionList.BESSELY.functionParameter.n.detail",
3416
+ example: "1",
3392
3417
  require: 1,
3393
3418
  repeat: 0
3394
3419
  }
@@ -3401,16 +3426,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3401
3426
  abstract: "formula.functionList.BIN2DEC.abstract",
3402
3427
  functionParameter: [
3403
3428
  {
3404
- name: "formula.functionList.BIN2DEC.functionParameter.number1.name",
3405
- detail: "formula.functionList.BIN2DEC.functionParameter.number1.detail",
3406
- example: "A1:A20",
3407
- require: 1,
3408
- repeat: 0
3409
- },
3410
- {
3411
- name: "formula.functionList.BIN2DEC.functionParameter.number2.name",
3412
- detail: "formula.functionList.BIN2DEC.functionParameter.number2.detail",
3413
- example: "A1:A20",
3429
+ name: "formula.functionList.BIN2DEC.functionParameter.number.name",
3430
+ detail: "formula.functionList.BIN2DEC.functionParameter.number.detail",
3431
+ example: "1100100",
3414
3432
  require: 1,
3415
3433
  repeat: 0
3416
3434
  }
@@ -3423,17 +3441,17 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3423
3441
  abstract: "formula.functionList.BIN2HEX.abstract",
3424
3442
  functionParameter: [
3425
3443
  {
3426
- name: "formula.functionList.BIN2HEX.functionParameter.number1.name",
3427
- detail: "formula.functionList.BIN2HEX.functionParameter.number1.detail",
3428
- example: "A1:A20",
3444
+ name: "formula.functionList.BIN2HEX.functionParameter.number.name",
3445
+ detail: "formula.functionList.BIN2HEX.functionParameter.number.detail",
3446
+ example: "11111011",
3429
3447
  require: 1,
3430
3448
  repeat: 0
3431
3449
  },
3432
3450
  {
3433
- name: "formula.functionList.BIN2HEX.functionParameter.number2.name",
3434
- detail: "formula.functionList.BIN2HEX.functionParameter.number2.detail",
3435
- example: "A1:A20",
3436
- require: 1,
3451
+ name: "formula.functionList.BIN2HEX.functionParameter.places.name",
3452
+ detail: "formula.functionList.BIN2HEX.functionParameter.places.detail",
3453
+ example: "4",
3454
+ require: 0,
3437
3455
  repeat: 0
3438
3456
  }
3439
3457
  ]
@@ -3445,17 +3463,17 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3445
3463
  abstract: "formula.functionList.BIN2OCT.abstract",
3446
3464
  functionParameter: [
3447
3465
  {
3448
- name: "formula.functionList.BIN2OCT.functionParameter.number1.name",
3449
- detail: "formula.functionList.BIN2OCT.functionParameter.number1.detail",
3450
- example: "A1:A20",
3466
+ name: "formula.functionList.BIN2OCT.functionParameter.number.name",
3467
+ detail: "formula.functionList.BIN2OCT.functionParameter.number.detail",
3468
+ example: "1001",
3451
3469
  require: 1,
3452
3470
  repeat: 0
3453
3471
  },
3454
3472
  {
3455
- name: "formula.functionList.BIN2OCT.functionParameter.number2.name",
3456
- detail: "formula.functionList.BIN2OCT.functionParameter.number2.detail",
3457
- example: "A1:A20",
3458
- require: 1,
3473
+ name: "formula.functionList.BIN2OCT.functionParameter.places.name",
3474
+ detail: "formula.functionList.BIN2OCT.functionParameter.places.detail",
3475
+ example: "3",
3476
+ require: 0,
3459
3477
  repeat: 0
3460
3478
  }
3461
3479
  ]
@@ -3469,14 +3487,14 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3469
3487
  {
3470
3488
  name: "formula.functionList.BITAND.functionParameter.number1.name",
3471
3489
  detail: "formula.functionList.BITAND.functionParameter.number1.detail",
3472
- example: "A1:A20",
3490
+ example: "13",
3473
3491
  require: 1,
3474
3492
  repeat: 0
3475
3493
  },
3476
3494
  {
3477
3495
  name: "formula.functionList.BITAND.functionParameter.number2.name",
3478
3496
  detail: "formula.functionList.BITAND.functionParameter.number2.detail",
3479
- example: "A1:A20",
3497
+ example: "25",
3480
3498
  require: 1,
3481
3499
  repeat: 0
3482
3500
  }
@@ -3489,16 +3507,16 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3489
3507
  abstract: "formula.functionList.BITLSHIFT.abstract",
3490
3508
  functionParameter: [
3491
3509
  {
3492
- name: "formula.functionList.BITLSHIFT.functionParameter.number1.name",
3493
- detail: "formula.functionList.BITLSHIFT.functionParameter.number1.detail",
3494
- example: "A1:A20",
3510
+ name: "formula.functionList.BITLSHIFT.functionParameter.number.name",
3511
+ detail: "formula.functionList.BITLSHIFT.functionParameter.number.detail",
3512
+ example: "4",
3495
3513
  require: 1,
3496
3514
  repeat: 0
3497
3515
  },
3498
3516
  {
3499
- name: "formula.functionList.BITLSHIFT.functionParameter.number2.name",
3500
- detail: "formula.functionList.BITLSHIFT.functionParameter.number2.detail",
3501
- example: "A1:A20",
3517
+ name: "formula.functionList.BITLSHIFT.functionParameter.shiftAmount.name",
3518
+ detail: "formula.functionList.BITLSHIFT.functionParameter.shiftAmount.detail",
3519
+ example: "2",
3502
3520
  require: 1,
3503
3521
  repeat: 0
3504
3522
  }
@@ -3513,14 +3531,14 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3513
3531
  {
3514
3532
  name: "formula.functionList.BITOR.functionParameter.number1.name",
3515
3533
  detail: "formula.functionList.BITOR.functionParameter.number1.detail",
3516
- example: "A1:A20",
3534
+ example: "23",
3517
3535
  require: 1,
3518
3536
  repeat: 0
3519
3537
  },
3520
3538
  {
3521
3539
  name: "formula.functionList.BITOR.functionParameter.number2.name",
3522
3540
  detail: "formula.functionList.BITOR.functionParameter.number2.detail",
3523
- example: "A1:A20",
3541
+ example: "10",
3524
3542
  require: 1,
3525
3543
  repeat: 0
3526
3544
  }
@@ -3533,16 +3551,16 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3533
3551
  abstract: "formula.functionList.BITRSHIFT.abstract",
3534
3552
  functionParameter: [
3535
3553
  {
3536
- name: "formula.functionList.BITRSHIFT.functionParameter.number1.name",
3537
- detail: "formula.functionList.BITRSHIFT.functionParameter.number1.detail",
3538
- example: "A1:A20",
3554
+ name: "formula.functionList.BITRSHIFT.functionParameter.number.name",
3555
+ detail: "formula.functionList.BITRSHIFT.functionParameter.number.detail",
3556
+ example: "13",
3539
3557
  require: 1,
3540
3558
  repeat: 0
3541
3559
  },
3542
3560
  {
3543
- name: "formula.functionList.BITRSHIFT.functionParameter.number2.name",
3544
- detail: "formula.functionList.BITRSHIFT.functionParameter.number2.detail",
3545
- example: "A1:A20",
3561
+ name: "formula.functionList.BITRSHIFT.functionParameter.shiftAmount.name",
3562
+ detail: "formula.functionList.BITRSHIFT.functionParameter.shiftAmount.detail",
3563
+ example: "2",
3546
3564
  require: 1,
3547
3565
  repeat: 0
3548
3566
  }
@@ -3557,14 +3575,14 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3557
3575
  {
3558
3576
  name: "formula.functionList.BITXOR.functionParameter.number1.name",
3559
3577
  detail: "formula.functionList.BITXOR.functionParameter.number1.detail",
3560
- example: "A1:A20",
3578
+ example: "5",
3561
3579
  require: 1,
3562
3580
  repeat: 0
3563
3581
  },
3564
3582
  {
3565
3583
  name: "formula.functionList.BITXOR.functionParameter.number2.name",
3566
3584
  detail: "formula.functionList.BITXOR.functionParameter.number2.detail",
3567
- example: "A1:A20",
3585
+ example: "3",
3568
3586
  require: 1,
3569
3587
  repeat: 0
3570
3588
  }
@@ -3577,18 +3595,25 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3577
3595
  abstract: "formula.functionList.COMPLEX.abstract",
3578
3596
  functionParameter: [
3579
3597
  {
3580
- name: "formula.functionList.COMPLEX.functionParameter.number1.name",
3581
- detail: "formula.functionList.COMPLEX.functionParameter.number1.detail",
3582
- example: "A1:A20",
3598
+ name: "formula.functionList.COMPLEX.functionParameter.realNum.name",
3599
+ detail: "formula.functionList.COMPLEX.functionParameter.realNum.detail",
3600
+ example: "3",
3583
3601
  require: 1,
3584
3602
  repeat: 0
3585
3603
  },
3586
3604
  {
3587
- name: "formula.functionList.COMPLEX.functionParameter.number2.name",
3588
- detail: "formula.functionList.COMPLEX.functionParameter.number2.detail",
3589
- example: "A1:A20",
3605
+ name: "formula.functionList.COMPLEX.functionParameter.iNum.name",
3606
+ detail: "formula.functionList.COMPLEX.functionParameter.iNum.detail",
3607
+ example: "4",
3590
3608
  require: 1,
3591
3609
  repeat: 0
3610
+ },
3611
+ {
3612
+ name: "formula.functionList.COMPLEX.functionParameter.suffix.name",
3613
+ detail: "formula.functionList.COMPLEX.functionParameter.suffix.detail",
3614
+ example: '"i"',
3615
+ require: 0,
3616
+ repeat: 0
3592
3617
  }
3593
3618
  ]
3594
3619
  },
@@ -3599,16 +3624,23 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3599
3624
  abstract: "formula.functionList.CONVERT.abstract",
3600
3625
  functionParameter: [
3601
3626
  {
3602
- name: "formula.functionList.CONVERT.functionParameter.number1.name",
3603
- detail: "formula.functionList.CONVERT.functionParameter.number1.detail",
3604
- example: "A1:A20",
3627
+ name: "formula.functionList.CONVERT.functionParameter.number.name",
3628
+ detail: "formula.functionList.CONVERT.functionParameter.number.detail",
3629
+ example: "1",
3605
3630
  require: 1,
3606
3631
  repeat: 0
3607
3632
  },
3608
3633
  {
3609
- name: "formula.functionList.CONVERT.functionParameter.number2.name",
3610
- detail: "formula.functionList.CONVERT.functionParameter.number2.detail",
3611
- example: "A1:A20",
3634
+ name: "formula.functionList.CONVERT.functionParameter.fromUnit.name",
3635
+ detail: "formula.functionList.CONVERT.functionParameter.fromUnit.detail",
3636
+ example: '"lbm"',
3637
+ require: 1,
3638
+ repeat: 0
3639
+ },
3640
+ {
3641
+ name: "formula.functionList.CONVERT.functionParameter.toUnit.name",
3642
+ detail: "formula.functionList.CONVERT.functionParameter.toUnit.detail",
3643
+ example: '"kg"',
3612
3644
  require: 1,
3613
3645
  repeat: 0
3614
3646
  }
@@ -3621,17 +3653,17 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3621
3653
  abstract: "formula.functionList.DEC2BIN.abstract",
3622
3654
  functionParameter: [
3623
3655
  {
3624
- name: "formula.functionList.DEC2BIN.functionParameter.number1.name",
3625
- detail: "formula.functionList.DEC2BIN.functionParameter.number1.detail",
3626
- example: "A1:A20",
3656
+ name: "formula.functionList.DEC2BIN.functionParameter.number.name",
3657
+ detail: "formula.functionList.DEC2BIN.functionParameter.number.detail",
3658
+ example: "9",
3627
3659
  require: 1,
3628
3660
  repeat: 0
3629
3661
  },
3630
3662
  {
3631
- name: "formula.functionList.DEC2BIN.functionParameter.number2.name",
3632
- detail: "formula.functionList.DEC2BIN.functionParameter.number2.detail",
3633
- example: "A1:A20",
3634
- require: 1,
3663
+ name: "formula.functionList.DEC2BIN.functionParameter.places.name",
3664
+ detail: "formula.functionList.DEC2BIN.functionParameter.places.detail",
3665
+ example: "4",
3666
+ require: 0,
3635
3667
  repeat: 0
3636
3668
  }
3637
3669
  ]
@@ -3643,17 +3675,17 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3643
3675
  abstract: "formula.functionList.DEC2HEX.abstract",
3644
3676
  functionParameter: [
3645
3677
  {
3646
- name: "formula.functionList.DEC2HEX.functionParameter.number1.name",
3647
- detail: "formula.functionList.DEC2HEX.functionParameter.number1.detail",
3648
- example: "A1:A20",
3678
+ name: "formula.functionList.DEC2HEX.functionParameter.number.name",
3679
+ detail: "formula.functionList.DEC2HEX.functionParameter.number.detail",
3680
+ example: "100",
3649
3681
  require: 1,
3650
3682
  repeat: 0
3651
3683
  },
3652
3684
  {
3653
- name: "formula.functionList.DEC2HEX.functionParameter.number2.name",
3654
- detail: "formula.functionList.DEC2HEX.functionParameter.number2.detail",
3655
- example: "A1:A20",
3656
- require: 1,
3685
+ name: "formula.functionList.DEC2HEX.functionParameter.places.name",
3686
+ detail: "formula.functionList.DEC2HEX.functionParameter.places.detail",
3687
+ example: "4",
3688
+ require: 0,
3657
3689
  repeat: 0
3658
3690
  }
3659
3691
  ]
@@ -3665,17 +3697,17 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3665
3697
  abstract: "formula.functionList.DEC2OCT.abstract",
3666
3698
  functionParameter: [
3667
3699
  {
3668
- name: "formula.functionList.DEC2OCT.functionParameter.number1.name",
3669
- detail: "formula.functionList.DEC2OCT.functionParameter.number1.detail",
3670
- example: "A1:A20",
3700
+ name: "formula.functionList.DEC2OCT.functionParameter.number.name",
3701
+ detail: "formula.functionList.DEC2OCT.functionParameter.number.detail",
3702
+ example: "58",
3671
3703
  require: 1,
3672
3704
  repeat: 0
3673
3705
  },
3674
3706
  {
3675
- name: "formula.functionList.DEC2OCT.functionParameter.number2.name",
3676
- detail: "formula.functionList.DEC2OCT.functionParameter.number2.detail",
3677
- example: "A1:A20",
3678
- require: 1,
3707
+ name: "formula.functionList.DEC2OCT.functionParameter.places.name",
3708
+ detail: "formula.functionList.DEC2OCT.functionParameter.places.detail",
3709
+ example: "3",
3710
+ require: 0,
3679
3711
  repeat: 0
3680
3712
  }
3681
3713
  ]
@@ -3689,15 +3721,15 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3689
3721
  {
3690
3722
  name: "formula.functionList.DELTA.functionParameter.number1.name",
3691
3723
  detail: "formula.functionList.DELTA.functionParameter.number1.detail",
3692
- example: "A1:A20",
3724
+ example: "5",
3693
3725
  require: 1,
3694
3726
  repeat: 0
3695
3727
  },
3696
3728
  {
3697
3729
  name: "formula.functionList.DELTA.functionParameter.number2.name",
3698
3730
  detail: "formula.functionList.DELTA.functionParameter.number2.detail",
3699
- example: "A1:A20",
3700
- require: 1,
3731
+ example: "4",
3732
+ require: 0,
3701
3733
  repeat: 0
3702
3734
  }
3703
3735
  ]
@@ -3709,17 +3741,17 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3709
3741
  abstract: "formula.functionList.ERF.abstract",
3710
3742
  functionParameter: [
3711
3743
  {
3712
- name: "formula.functionList.ERF.functionParameter.number1.name",
3713
- detail: "formula.functionList.ERF.functionParameter.number1.detail",
3714
- example: "A1:A20",
3744
+ name: "formula.functionList.ERF.functionParameter.lowerLimit.name",
3745
+ detail: "formula.functionList.ERF.functionParameter.lowerLimit.detail",
3746
+ example: "0.745",
3715
3747
  require: 1,
3716
3748
  repeat: 0
3717
3749
  },
3718
3750
  {
3719
- name: "formula.functionList.ERF.functionParameter.number2.name",
3720
- detail: "formula.functionList.ERF.functionParameter.number2.detail",
3721
- example: "A1:A20",
3722
- require: 1,
3751
+ name: "formula.functionList.ERF.functionParameter.upperLimit.name",
3752
+ detail: "formula.functionList.ERF.functionParameter.upperLimit.detail",
3753
+ example: "2",
3754
+ require: 0,
3723
3755
  repeat: 0
3724
3756
  }
3725
3757
  ]
@@ -3731,16 +3763,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3731
3763
  abstract: "formula.functionList.ERF_PRECISE.abstract",
3732
3764
  functionParameter: [
3733
3765
  {
3734
- name: "formula.functionList.ERF_PRECISE.functionParameter.number1.name",
3735
- detail: "formula.functionList.ERF_PRECISE.functionParameter.number1.detail",
3736
- example: "A1:A20",
3737
- require: 1,
3738
- repeat: 0
3739
- },
3740
- {
3741
- name: "formula.functionList.ERF_PRECISE.functionParameter.number2.name",
3742
- detail: "formula.functionList.ERF_PRECISE.functionParameter.number2.detail",
3743
- example: "A1:A20",
3766
+ name: "formula.functionList.ERF_PRECISE.functionParameter.x.name",
3767
+ detail: "formula.functionList.ERF_PRECISE.functionParameter.x.detail",
3768
+ example: "1",
3744
3769
  require: 1,
3745
3770
  repeat: 0
3746
3771
  }
@@ -3753,16 +3778,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3753
3778
  abstract: "formula.functionList.ERFC.abstract",
3754
3779
  functionParameter: [
3755
3780
  {
3756
- name: "formula.functionList.ERFC.functionParameter.number1.name",
3757
- detail: "formula.functionList.ERFC.functionParameter.number1.detail",
3758
- example: "A1:A20",
3759
- require: 1,
3760
- repeat: 0
3761
- },
3762
- {
3763
- name: "formula.functionList.ERFC.functionParameter.number2.name",
3764
- detail: "formula.functionList.ERFC.functionParameter.number2.detail",
3765
- example: "A1:A20",
3781
+ name: "formula.functionList.ERFC.functionParameter.x.name",
3782
+ detail: "formula.functionList.ERFC.functionParameter.x.detail",
3783
+ example: "1",
3766
3784
  require: 1,
3767
3785
  repeat: 0
3768
3786
  }
@@ -3775,16 +3793,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3775
3793
  abstract: "formula.functionList.ERFC_PRECISE.abstract",
3776
3794
  functionParameter: [
3777
3795
  {
3778
- name: "formula.functionList.ERFC_PRECISE.functionParameter.number1.name",
3779
- detail: "formula.functionList.ERFC_PRECISE.functionParameter.number1.detail",
3780
- example: "A1:A20",
3781
- require: 1,
3782
- repeat: 0
3783
- },
3784
- {
3785
- name: "formula.functionList.ERFC_PRECISE.functionParameter.number2.name",
3786
- detail: "formula.functionList.ERFC_PRECISE.functionParameter.number2.detail",
3787
- example: "A1:A20",
3796
+ name: "formula.functionList.ERFC_PRECISE.functionParameter.x.name",
3797
+ detail: "formula.functionList.ERFC_PRECISE.functionParameter.x.detail",
3798
+ example: "1",
3788
3799
  require: 1,
3789
3800
  repeat: 0
3790
3801
  }
@@ -3819,17 +3830,17 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3819
3830
  abstract: "formula.functionList.HEX2BIN.abstract",
3820
3831
  functionParameter: [
3821
3832
  {
3822
- name: "formula.functionList.HEX2BIN.functionParameter.number1.name",
3823
- detail: "formula.functionList.HEX2BIN.functionParameter.number1.detail",
3824
- example: "A1:A20",
3833
+ name: "formula.functionList.HEX2BIN.functionParameter.number.name",
3834
+ detail: "formula.functionList.HEX2BIN.functionParameter.number.detail",
3835
+ example: '"F"',
3825
3836
  require: 1,
3826
3837
  repeat: 0
3827
3838
  },
3828
3839
  {
3829
- name: "formula.functionList.HEX2BIN.functionParameter.number2.name",
3830
- detail: "formula.functionList.HEX2BIN.functionParameter.number2.detail",
3831
- example: "A1:A20",
3832
- require: 1,
3840
+ name: "formula.functionList.HEX2BIN.functionParameter.places.name",
3841
+ detail: "formula.functionList.HEX2BIN.functionParameter.places.detail",
3842
+ example: "8",
3843
+ require: 0,
3833
3844
  repeat: 0
3834
3845
  }
3835
3846
  ]
@@ -3841,16 +3852,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3841
3852
  abstract: "formula.functionList.HEX2DEC.abstract",
3842
3853
  functionParameter: [
3843
3854
  {
3844
- name: "formula.functionList.HEX2DEC.functionParameter.number1.name",
3845
- detail: "formula.functionList.HEX2DEC.functionParameter.number1.detail",
3846
- example: "A1:A20",
3847
- require: 1,
3848
- repeat: 0
3849
- },
3850
- {
3851
- name: "formula.functionList.HEX2DEC.functionParameter.number2.name",
3852
- detail: "formula.functionList.HEX2DEC.functionParameter.number2.detail",
3853
- example: "A1:A20",
3855
+ name: "formula.functionList.HEX2DEC.functionParameter.number.name",
3856
+ detail: "formula.functionList.HEX2DEC.functionParameter.number.detail",
3857
+ example: '"A5"',
3854
3858
  require: 1,
3855
3859
  repeat: 0
3856
3860
  }
@@ -3863,17 +3867,17 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
3863
3867
  abstract: "formula.functionList.HEX2OCT.abstract",
3864
3868
  functionParameter: [
3865
3869
  {
3866
- name: "formula.functionList.HEX2OCT.functionParameter.number1.name",
3867
- detail: "formula.functionList.HEX2OCT.functionParameter.number1.detail",
3868
- example: "A1:A20",
3870
+ name: "formula.functionList.HEX2OCT.functionParameter.number.name",
3871
+ detail: "formula.functionList.HEX2OCT.functionParameter.number.detail",
3872
+ example: '"F"',
3869
3873
  require: 1,
3870
3874
  repeat: 0
3871
3875
  },
3872
3876
  {
3873
- name: "formula.functionList.HEX2OCT.functionParameter.number2.name",
3874
- detail: "formula.functionList.HEX2OCT.functionParameter.number2.detail",
3875
- example: "A1:A20",
3876
- require: 1,
3877
+ name: "formula.functionList.HEX2OCT.functionParameter.places.name",
3878
+ detail: "formula.functionList.HEX2OCT.functionParameter.places.detail",
3879
+ example: "3",
3880
+ require: 0,
3877
3881
  repeat: 0
3878
3882
  }
3879
3883
  ]
@@ -4435,17 +4439,17 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4435
4439
  abstract: "formula.functionList.OCT2BIN.abstract",
4436
4440
  functionParameter: [
4437
4441
  {
4438
- name: "formula.functionList.OCT2BIN.functionParameter.number1.name",
4439
- detail: "formula.functionList.OCT2BIN.functionParameter.number1.detail",
4440
- example: "A1:A20",
4442
+ name: "formula.functionList.OCT2BIN.functionParameter.number.name",
4443
+ detail: "formula.functionList.OCT2BIN.functionParameter.number.detail",
4444
+ example: "3",
4441
4445
  require: 1,
4442
4446
  repeat: 0
4443
4447
  },
4444
4448
  {
4445
- name: "formula.functionList.OCT2BIN.functionParameter.number2.name",
4446
- detail: "formula.functionList.OCT2BIN.functionParameter.number2.detail",
4447
- example: "A1:A20",
4448
- require: 1,
4449
+ name: "formula.functionList.OCT2BIN.functionParameter.places.name",
4450
+ detail: "formula.functionList.OCT2BIN.functionParameter.places.detail",
4451
+ example: "3",
4452
+ require: 0,
4449
4453
  repeat: 0
4450
4454
  }
4451
4455
  ]
@@ -4457,16 +4461,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4457
4461
  abstract: "formula.functionList.OCT2DEC.abstract",
4458
4462
  functionParameter: [
4459
4463
  {
4460
- name: "formula.functionList.OCT2DEC.functionParameter.number1.name",
4461
- detail: "formula.functionList.OCT2DEC.functionParameter.number1.detail",
4462
- example: "A1:A20",
4463
- require: 1,
4464
- repeat: 0
4465
- },
4466
- {
4467
- name: "formula.functionList.OCT2DEC.functionParameter.number2.name",
4468
- detail: "formula.functionList.OCT2DEC.functionParameter.number2.detail",
4469
- example: "A1:A20",
4464
+ name: "formula.functionList.OCT2DEC.functionParameter.number.name",
4465
+ detail: "formula.functionList.OCT2DEC.functionParameter.number.detail",
4466
+ example: "54",
4470
4467
  require: 1,
4471
4468
  repeat: 0
4472
4469
  }
@@ -4479,17 +4476,17 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4479
4476
  abstract: "formula.functionList.OCT2HEX.abstract",
4480
4477
  functionParameter: [
4481
4478
  {
4482
- name: "formula.functionList.OCT2HEX.functionParameter.number1.name",
4483
- detail: "formula.functionList.OCT2HEX.functionParameter.number1.detail",
4484
- example: "A1:A20",
4479
+ name: "formula.functionList.OCT2HEX.functionParameter.number.name",
4480
+ detail: "formula.functionList.OCT2HEX.functionParameter.number.detail",
4481
+ example: "100",
4485
4482
  require: 1,
4486
4483
  repeat: 0
4487
4484
  },
4488
4485
  {
4489
- name: "formula.functionList.OCT2HEX.functionParameter.number2.name",
4490
- detail: "formula.functionList.OCT2HEX.functionParameter.number2.detail",
4491
- example: "A1:A20",
4492
- require: 1,
4486
+ name: "formula.functionList.OCT2HEX.functionParameter.places.name",
4487
+ detail: "formula.functionList.OCT2HEX.functionParameter.places.detail",
4488
+ example: "4",
4489
+ require: 0,
4493
4490
  repeat: 0
4494
4491
  }
4495
4492
  ]
@@ -4502,18 +4499,60 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4502
4499
  abstract: "formula.functionList.ACCRINT.abstract",
4503
4500
  functionParameter: [
4504
4501
  {
4505
- name: "formula.functionList.ACCRINT.functionParameter.number1.name",
4506
- detail: "formula.functionList.ACCRINT.functionParameter.number1.detail",
4507
- example: "A1:A20",
4502
+ name: "formula.functionList.ACCRINT.functionParameter.issue.name",
4503
+ detail: "formula.functionList.ACCRINT.functionParameter.issue.detail",
4504
+ example: "39508",
4508
4505
  require: 1,
4509
4506
  repeat: 0
4510
4507
  },
4511
4508
  {
4512
- name: "formula.functionList.ACCRINT.functionParameter.number2.name",
4513
- detail: "formula.functionList.ACCRINT.functionParameter.number2.detail",
4514
- example: "A1:A20",
4509
+ name: "formula.functionList.ACCRINT.functionParameter.firstInterest.name",
4510
+ detail: "formula.functionList.ACCRINT.functionParameter.firstInterest.detail",
4511
+ example: "39691",
4512
+ require: 1,
4513
+ repeat: 0
4514
+ },
4515
+ {
4516
+ name: "formula.functionList.ACCRINT.functionParameter.settlement.name",
4517
+ detail: "formula.functionList.ACCRINT.functionParameter.settlement.detail",
4518
+ example: "39569",
4519
+ require: 1,
4520
+ repeat: 0
4521
+ },
4522
+ {
4523
+ name: "formula.functionList.ACCRINT.functionParameter.rate.name",
4524
+ detail: "formula.functionList.ACCRINT.functionParameter.rate.detail",
4525
+ example: "0.1",
4526
+ require: 1,
4527
+ repeat: 0
4528
+ },
4529
+ {
4530
+ name: "formula.functionList.ACCRINT.functionParameter.par.name",
4531
+ detail: "formula.functionList.ACCRINT.functionParameter.par.detail",
4532
+ example: "1000",
4533
+ require: 1,
4534
+ repeat: 0
4535
+ },
4536
+ {
4537
+ name: "formula.functionList.ACCRINT.functionParameter.frequency.name",
4538
+ detail: "formula.functionList.ACCRINT.functionParameter.frequency.detail",
4539
+ example: "2",
4515
4540
  require: 1,
4516
4541
  repeat: 0
4542
+ },
4543
+ {
4544
+ name: "formula.functionList.ACCRINT.functionParameter.basis.name",
4545
+ detail: "formula.functionList.ACCRINT.functionParameter.basis.detail",
4546
+ example: "0",
4547
+ require: 0,
4548
+ repeat: 0
4549
+ },
4550
+ {
4551
+ name: "formula.functionList.ACCRINT.functionParameter.calcMethod.name",
4552
+ detail: "formula.functionList.ACCRINT.functionParameter.calcMethod.detail",
4553
+ example: "true",
4554
+ require: 0,
4555
+ repeat: 0
4517
4556
  }
4518
4557
  ]
4519
4558
  },
@@ -4524,18 +4563,39 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4524
4563
  abstract: "formula.functionList.ACCRINTM.abstract",
4525
4564
  functionParameter: [
4526
4565
  {
4527
- name: "formula.functionList.ACCRINTM.functionParameter.number1.name",
4528
- detail: "formula.functionList.ACCRINTM.functionParameter.number1.detail",
4529
- example: "A1:A20",
4566
+ name: "formula.functionList.ACCRINTM.functionParameter.issue.name",
4567
+ detail: "formula.functionList.ACCRINTM.functionParameter.issue.detail",
4568
+ example: '"2008-4-1"',
4530
4569
  require: 1,
4531
4570
  repeat: 0
4532
4571
  },
4533
4572
  {
4534
- name: "formula.functionList.ACCRINTM.functionParameter.number2.name",
4535
- detail: "formula.functionList.ACCRINTM.functionParameter.number2.detail",
4536
- example: "A1:A20",
4573
+ name: "formula.functionList.ACCRINTM.functionParameter.settlement.name",
4574
+ detail: "formula.functionList.ACCRINTM.functionParameter.settlement.detail",
4575
+ example: '"2008-6-15"',
4576
+ require: 1,
4577
+ repeat: 0
4578
+ },
4579
+ {
4580
+ name: "formula.functionList.ACCRINTM.functionParameter.rate.name",
4581
+ detail: "formula.functionList.ACCRINTM.functionParameter.rate.detail",
4582
+ example: "0.1",
4537
4583
  require: 1,
4538
4584
  repeat: 0
4585
+ },
4586
+ {
4587
+ name: "formula.functionList.ACCRINTM.functionParameter.par.name",
4588
+ detail: "formula.functionList.ACCRINTM.functionParameter.par.detail",
4589
+ example: "1000",
4590
+ require: 1,
4591
+ repeat: 0
4592
+ },
4593
+ {
4594
+ name: "formula.functionList.ACCRINTM.functionParameter.basis.name",
4595
+ detail: "formula.functionList.ACCRINTM.functionParameter.basis.detail",
4596
+ example: "3",
4597
+ require: 0,
4598
+ repeat: 0
4539
4599
  }
4540
4600
  ]
4541
4601
  },
@@ -4568,18 +4628,53 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4568
4628
  abstract: "formula.functionList.AMORLINC.abstract",
4569
4629
  functionParameter: [
4570
4630
  {
4571
- name: "formula.functionList.AMORLINC.functionParameter.number1.name",
4572
- detail: "formula.functionList.AMORLINC.functionParameter.number1.detail",
4573
- example: "A1:A20",
4631
+ name: "formula.functionList.AMORLINC.functionParameter.cost.name",
4632
+ detail: "formula.functionList.AMORLINC.functionParameter.cost.detail",
4633
+ example: "2400",
4574
4634
  require: 1,
4575
4635
  repeat: 0
4576
4636
  },
4577
4637
  {
4578
- name: "formula.functionList.AMORLINC.functionParameter.number2.name",
4579
- detail: "formula.functionList.AMORLINC.functionParameter.number2.detail",
4580
- example: "A1:A20",
4638
+ name: "formula.functionList.AMORLINC.functionParameter.datePurchased.name",
4639
+ detail: "formula.functionList.AMORLINC.functionParameter.datePurchased.detail",
4640
+ example: "39679",
4641
+ require: 1,
4642
+ repeat: 0
4643
+ },
4644
+ {
4645
+ name: "formula.functionList.AMORLINC.functionParameter.firstPeriod.name",
4646
+ detail: "formula.functionList.AMORLINC.functionParameter.firstPeriod.detail",
4647
+ example: "39813",
4648
+ require: 1,
4649
+ repeat: 0
4650
+ },
4651
+ {
4652
+ name: "formula.functionList.AMORLINC.functionParameter.salvage.name",
4653
+ detail: "formula.functionList.AMORLINC.functionParameter.salvage.detail",
4654
+ example: "300",
4581
4655
  require: 1,
4582
4656
  repeat: 0
4657
+ },
4658
+ {
4659
+ name: "formula.functionList.AMORLINC.functionParameter.period.name",
4660
+ detail: "formula.functionList.AMORLINC.functionParameter.period.detail",
4661
+ example: "1",
4662
+ require: 1,
4663
+ repeat: 0
4664
+ },
4665
+ {
4666
+ name: "formula.functionList.AMORLINC.functionParameter.rate.name",
4667
+ detail: "formula.functionList.AMORLINC.functionParameter.rate.detail",
4668
+ example: "0.15",
4669
+ require: 1,
4670
+ repeat: 0
4671
+ },
4672
+ {
4673
+ name: "formula.functionList.AMORLINC.functionParameter.basis.name",
4674
+ detail: "formula.functionList.AMORLINC.functionParameter.basis.detail",
4675
+ example: "0",
4676
+ require: 0,
4677
+ repeat: 0
4583
4678
  }
4584
4679
  ]
4585
4680
  },
@@ -4590,18 +4685,32 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4590
4685
  abstract: "formula.functionList.COUPDAYBS.abstract",
4591
4686
  functionParameter: [
4592
4687
  {
4593
- name: "formula.functionList.COUPDAYBS.functionParameter.number1.name",
4594
- detail: "formula.functionList.COUPDAYBS.functionParameter.number1.detail",
4595
- example: "A1:A20",
4688
+ name: "formula.functionList.COUPDAYBS.functionParameter.settlement.name",
4689
+ detail: "formula.functionList.COUPDAYBS.functionParameter.settlement.detail",
4690
+ example: '"2011-1-25"',
4596
4691
  require: 1,
4597
4692
  repeat: 0
4598
4693
  },
4599
4694
  {
4600
- name: "formula.functionList.COUPDAYBS.functionParameter.number2.name",
4601
- detail: "formula.functionList.COUPDAYBS.functionParameter.number2.detail",
4602
- example: "A1:A20",
4695
+ name: "formula.functionList.COUPDAYBS.functionParameter.maturity.name",
4696
+ detail: "formula.functionList.COUPDAYBS.functionParameter.maturity.detail",
4697
+ example: '"2011-11-15"',
4698
+ require: 1,
4699
+ repeat: 0
4700
+ },
4701
+ {
4702
+ name: "formula.functionList.COUPDAYBS.functionParameter.frequency.name",
4703
+ detail: "formula.functionList.COUPDAYBS.functionParameter.frequency.detail",
4704
+ example: "2",
4603
4705
  require: 1,
4604
4706
  repeat: 0
4707
+ },
4708
+ {
4709
+ name: "formula.functionList.COUPDAYBS.functionParameter.basis.name",
4710
+ detail: "formula.functionList.COUPDAYBS.functionParameter.basis.detail",
4711
+ example: "1",
4712
+ require: 0,
4713
+ repeat: 0
4605
4714
  }
4606
4715
  ]
4607
4716
  },
@@ -4612,18 +4721,32 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4612
4721
  abstract: "formula.functionList.COUPDAYS.abstract",
4613
4722
  functionParameter: [
4614
4723
  {
4615
- name: "formula.functionList.COUPDAYS.functionParameter.number1.name",
4616
- detail: "formula.functionList.COUPDAYS.functionParameter.number1.detail",
4617
- example: "A1:A20",
4724
+ name: "formula.functionList.COUPDAYS.functionParameter.settlement.name",
4725
+ detail: "formula.functionList.COUPDAYS.functionParameter.settlement.detail",
4726
+ example: '"2011-1-25"',
4618
4727
  require: 1,
4619
4728
  repeat: 0
4620
4729
  },
4621
4730
  {
4622
- name: "formula.functionList.COUPDAYS.functionParameter.number2.name",
4623
- detail: "formula.functionList.COUPDAYS.functionParameter.number2.detail",
4624
- example: "A1:A20",
4731
+ name: "formula.functionList.COUPDAYS.functionParameter.maturity.name",
4732
+ detail: "formula.functionList.COUPDAYS.functionParameter.maturity.detail",
4733
+ example: '"2011-11-15"',
4734
+ require: 1,
4735
+ repeat: 0
4736
+ },
4737
+ {
4738
+ name: "formula.functionList.COUPDAYS.functionParameter.frequency.name",
4739
+ detail: "formula.functionList.COUPDAYS.functionParameter.frequency.detail",
4740
+ example: "2",
4625
4741
  require: 1,
4626
4742
  repeat: 0
4743
+ },
4744
+ {
4745
+ name: "formula.functionList.COUPDAYS.functionParameter.basis.name",
4746
+ detail: "formula.functionList.COUPDAYS.functionParameter.basis.detail",
4747
+ example: "1",
4748
+ require: 0,
4749
+ repeat: 0
4627
4750
  }
4628
4751
  ]
4629
4752
  },
@@ -4634,18 +4757,32 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4634
4757
  abstract: "formula.functionList.COUPDAYSNC.abstract",
4635
4758
  functionParameter: [
4636
4759
  {
4637
- name: "formula.functionList.COUPDAYSNC.functionParameter.number1.name",
4638
- detail: "formula.functionList.COUPDAYSNC.functionParameter.number1.detail",
4639
- example: "A1:A20",
4760
+ name: "formula.functionList.COUPDAYSNC.functionParameter.settlement.name",
4761
+ detail: "formula.functionList.COUPDAYSNC.functionParameter.settlement.detail",
4762
+ example: '"2011-1-25"',
4640
4763
  require: 1,
4641
4764
  repeat: 0
4642
4765
  },
4643
4766
  {
4644
- name: "formula.functionList.COUPDAYSNC.functionParameter.number2.name",
4645
- detail: "formula.functionList.COUPDAYSNC.functionParameter.number2.detail",
4646
- example: "A1:A20",
4767
+ name: "formula.functionList.COUPDAYSNC.functionParameter.maturity.name",
4768
+ detail: "formula.functionList.COUPDAYSNC.functionParameter.maturity.detail",
4769
+ example: '"2011-11-15"',
4770
+ require: 1,
4771
+ repeat: 0
4772
+ },
4773
+ {
4774
+ name: "formula.functionList.COUPDAYSNC.functionParameter.frequency.name",
4775
+ detail: "formula.functionList.COUPDAYSNC.functionParameter.frequency.detail",
4776
+ example: "2",
4647
4777
  require: 1,
4648
4778
  repeat: 0
4779
+ },
4780
+ {
4781
+ name: "formula.functionList.COUPDAYSNC.functionParameter.basis.name",
4782
+ detail: "formula.functionList.COUPDAYSNC.functionParameter.basis.detail",
4783
+ example: "1",
4784
+ require: 0,
4785
+ repeat: 0
4649
4786
  }
4650
4787
  ]
4651
4788
  },
@@ -4656,18 +4793,32 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4656
4793
  abstract: "formula.functionList.COUPNCD.abstract",
4657
4794
  functionParameter: [
4658
4795
  {
4659
- name: "formula.functionList.COUPNCD.functionParameter.number1.name",
4660
- detail: "formula.functionList.COUPNCD.functionParameter.number1.detail",
4661
- example: "A1:A20",
4796
+ name: "formula.functionList.COUPNCD.functionParameter.settlement.name",
4797
+ detail: "formula.functionList.COUPNCD.functionParameter.settlement.detail",
4798
+ example: '"2011-1-25"',
4662
4799
  require: 1,
4663
4800
  repeat: 0
4664
4801
  },
4665
4802
  {
4666
- name: "formula.functionList.COUPNCD.functionParameter.number2.name",
4667
- detail: "formula.functionList.COUPNCD.functionParameter.number2.detail",
4668
- example: "A1:A20",
4803
+ name: "formula.functionList.COUPNCD.functionParameter.maturity.name",
4804
+ detail: "formula.functionList.COUPNCD.functionParameter.maturity.detail",
4805
+ example: '"2011-11-15"',
4669
4806
  require: 1,
4670
4807
  repeat: 0
4808
+ },
4809
+ {
4810
+ name: "formula.functionList.COUPNCD.functionParameter.frequency.name",
4811
+ detail: "formula.functionList.COUPNCD.functionParameter.frequency.detail",
4812
+ example: "2",
4813
+ require: 1,
4814
+ repeat: 0
4815
+ },
4816
+ {
4817
+ name: "formula.functionList.COUPNCD.functionParameter.basis.name",
4818
+ detail: "formula.functionList.COUPNCD.functionParameter.basis.detail",
4819
+ example: "1",
4820
+ require: 0,
4821
+ repeat: 0
4671
4822
  }
4672
4823
  ]
4673
4824
  },
@@ -4678,18 +4829,32 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4678
4829
  abstract: "formula.functionList.COUPNUM.abstract",
4679
4830
  functionParameter: [
4680
4831
  {
4681
- name: "formula.functionList.COUPNUM.functionParameter.number1.name",
4682
- detail: "formula.functionList.COUPNUM.functionParameter.number1.detail",
4683
- example: "A1:A20",
4832
+ name: "formula.functionList.COUPNUM.functionParameter.settlement.name",
4833
+ detail: "formula.functionList.COUPNUM.functionParameter.settlement.detail",
4834
+ example: '"2011-1-25"',
4684
4835
  require: 1,
4685
4836
  repeat: 0
4686
4837
  },
4687
4838
  {
4688
- name: "formula.functionList.COUPNUM.functionParameter.number2.name",
4689
- detail: "formula.functionList.COUPNUM.functionParameter.number2.detail",
4690
- example: "A1:A20",
4839
+ name: "formula.functionList.COUPNUM.functionParameter.maturity.name",
4840
+ detail: "formula.functionList.COUPNUM.functionParameter.maturity.detail",
4841
+ example: '"2011-11-15"',
4691
4842
  require: 1,
4692
4843
  repeat: 0
4844
+ },
4845
+ {
4846
+ name: "formula.functionList.COUPNUM.functionParameter.frequency.name",
4847
+ detail: "formula.functionList.COUPNUM.functionParameter.frequency.detail",
4848
+ example: "2",
4849
+ require: 1,
4850
+ repeat: 0
4851
+ },
4852
+ {
4853
+ name: "formula.functionList.COUPNUM.functionParameter.basis.name",
4854
+ detail: "formula.functionList.COUPNUM.functionParameter.basis.detail",
4855
+ example: "1",
4856
+ require: 0,
4857
+ repeat: 0
4693
4858
  }
4694
4859
  ]
4695
4860
  },
@@ -4700,18 +4865,32 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4700
4865
  abstract: "formula.functionList.COUPPCD.abstract",
4701
4866
  functionParameter: [
4702
4867
  {
4703
- name: "formula.functionList.COUPPCD.functionParameter.number1.name",
4704
- detail: "formula.functionList.COUPPCD.functionParameter.number1.detail",
4705
- example: "A1:A20",
4868
+ name: "formula.functionList.COUPPCD.functionParameter.settlement.name",
4869
+ detail: "formula.functionList.COUPPCD.functionParameter.settlement.detail",
4870
+ example: '"2011-1-25"',
4706
4871
  require: 1,
4707
4872
  repeat: 0
4708
4873
  },
4709
4874
  {
4710
- name: "formula.functionList.COUPPCD.functionParameter.number2.name",
4711
- detail: "formula.functionList.COUPPCD.functionParameter.number2.detail",
4712
- example: "A1:A20",
4875
+ name: "formula.functionList.COUPPCD.functionParameter.maturity.name",
4876
+ detail: "formula.functionList.COUPPCD.functionParameter.maturity.detail",
4877
+ example: '"2011-11-15"',
4878
+ require: 1,
4879
+ repeat: 0
4880
+ },
4881
+ {
4882
+ name: "formula.functionList.COUPPCD.functionParameter.frequency.name",
4883
+ detail: "formula.functionList.COUPPCD.functionParameter.frequency.detail",
4884
+ example: "2",
4713
4885
  require: 1,
4714
4886
  repeat: 0
4887
+ },
4888
+ {
4889
+ name: "formula.functionList.COUPPCD.functionParameter.basis.name",
4890
+ detail: "formula.functionList.COUPPCD.functionParameter.basis.detail",
4891
+ example: "1",
4892
+ require: 0,
4893
+ repeat: 0
4715
4894
  }
4716
4895
  ]
4717
4896
  },
@@ -4722,16 +4901,44 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4722
4901
  abstract: "formula.functionList.CUMIPMT.abstract",
4723
4902
  functionParameter: [
4724
4903
  {
4725
- name: "formula.functionList.CUMIPMT.functionParameter.number1.name",
4726
- detail: "formula.functionList.CUMIPMT.functionParameter.number1.detail",
4727
- example: "A1:A20",
4904
+ name: "formula.functionList.CUMIPMT.functionParameter.rate.name",
4905
+ detail: "formula.functionList.CUMIPMT.functionParameter.rate.detail",
4906
+ example: "0.09/12",
4728
4907
  require: 1,
4729
4908
  repeat: 0
4730
4909
  },
4731
4910
  {
4732
- name: "formula.functionList.CUMIPMT.functionParameter.number2.name",
4733
- detail: "formula.functionList.CUMIPMT.functionParameter.number2.detail",
4734
- example: "A1:A20",
4911
+ name: "formula.functionList.CUMIPMT.functionParameter.nper.name",
4912
+ detail: "formula.functionList.CUMIPMT.functionParameter.nper.detail",
4913
+ example: "30*12",
4914
+ require: 1,
4915
+ repeat: 0
4916
+ },
4917
+ {
4918
+ name: "formula.functionList.CUMIPMT.functionParameter.pv.name",
4919
+ detail: "formula.functionList.CUMIPMT.functionParameter.pv.detail",
4920
+ example: "125000",
4921
+ require: 1,
4922
+ repeat: 0
4923
+ },
4924
+ {
4925
+ name: "formula.functionList.CUMIPMT.functionParameter.startPeriod.name",
4926
+ detail: "formula.functionList.CUMIPMT.functionParameter.startPeriod.detail",
4927
+ example: "13",
4928
+ require: 1,
4929
+ repeat: 0
4930
+ },
4931
+ {
4932
+ name: "formula.functionList.CUMIPMT.functionParameter.endPeriod.name",
4933
+ detail: "formula.functionList.CUMIPMT.functionParameter.endPeriod.detail",
4934
+ example: "24",
4935
+ require: 1,
4936
+ repeat: 0
4937
+ },
4938
+ {
4939
+ name: "formula.functionList.CUMIPMT.functionParameter.type.name",
4940
+ detail: "formula.functionList.CUMIPMT.functionParameter.type.detail",
4941
+ example: "0",
4735
4942
  require: 1,
4736
4943
  repeat: 0
4737
4944
  }
@@ -4744,16 +4951,44 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4744
4951
  abstract: "formula.functionList.CUMPRINC.abstract",
4745
4952
  functionParameter: [
4746
4953
  {
4747
- name: "formula.functionList.CUMPRINC.functionParameter.number1.name",
4748
- detail: "formula.functionList.CUMPRINC.functionParameter.number1.detail",
4749
- example: "A1:A20",
4954
+ name: "formula.functionList.CUMPRINC.functionParameter.rate.name",
4955
+ detail: "formula.functionList.CUMPRINC.functionParameter.rate.detail",
4956
+ example: "0.09/12",
4750
4957
  require: 1,
4751
4958
  repeat: 0
4752
4959
  },
4753
4960
  {
4754
- name: "formula.functionList.CUMPRINC.functionParameter.number2.name",
4755
- detail: "formula.functionList.CUMPRINC.functionParameter.number2.detail",
4756
- example: "A1:A20",
4961
+ name: "formula.functionList.CUMPRINC.functionParameter.nper.name",
4962
+ detail: "formula.functionList.CUMPRINC.functionParameter.nper.detail",
4963
+ example: "30*12",
4964
+ require: 1,
4965
+ repeat: 0
4966
+ },
4967
+ {
4968
+ name: "formula.functionList.CUMPRINC.functionParameter.pv.name",
4969
+ detail: "formula.functionList.CUMPRINC.functionParameter.pv.detail",
4970
+ example: "125000",
4971
+ require: 1,
4972
+ repeat: 0
4973
+ },
4974
+ {
4975
+ name: "formula.functionList.CUMPRINC.functionParameter.startPeriod.name",
4976
+ detail: "formula.functionList.CUMPRINC.functionParameter.startPeriod.detail",
4977
+ example: "13",
4978
+ require: 1,
4979
+ repeat: 0
4980
+ },
4981
+ {
4982
+ name: "formula.functionList.CUMPRINC.functionParameter.endPeriod.name",
4983
+ detail: "formula.functionList.CUMPRINC.functionParameter.endPeriod.detail",
4984
+ example: "24",
4985
+ require: 1,
4986
+ repeat: 0
4987
+ },
4988
+ {
4989
+ name: "formula.functionList.CUMPRINC.functionParameter.type.name",
4990
+ detail: "formula.functionList.CUMPRINC.functionParameter.type.detail",
4991
+ example: "0",
4757
4992
  require: 1,
4758
4993
  repeat: 0
4759
4994
  }
@@ -4766,18 +5001,39 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4766
5001
  abstract: "formula.functionList.DB.abstract",
4767
5002
  functionParameter: [
4768
5003
  {
4769
- name: "formula.functionList.DB.functionParameter.number1.name",
4770
- detail: "formula.functionList.DB.functionParameter.number1.detail",
4771
- example: "A1:A20",
5004
+ name: "formula.functionList.DB.functionParameter.cost.name",
5005
+ detail: "formula.functionList.DB.functionParameter.cost.detail",
5006
+ example: "10000000",
4772
5007
  require: 1,
4773
5008
  repeat: 0
4774
5009
  },
4775
5010
  {
4776
- name: "formula.functionList.DB.functionParameter.number2.name",
4777
- detail: "formula.functionList.DB.functionParameter.number2.detail",
4778
- example: "A1:A20",
5011
+ name: "formula.functionList.DB.functionParameter.salvage.name",
5012
+ detail: "formula.functionList.DB.functionParameter.salvage.detail",
5013
+ example: "1000000",
5014
+ require: 1,
5015
+ repeat: 0
5016
+ },
5017
+ {
5018
+ name: "formula.functionList.DB.functionParameter.life.name",
5019
+ detail: "formula.functionList.DB.functionParameter.life.detail",
5020
+ example: "6",
5021
+ require: 1,
5022
+ repeat: 0
5023
+ },
5024
+ {
5025
+ name: "formula.functionList.DB.functionParameter.period.name",
5026
+ detail: "formula.functionList.DB.functionParameter.period.detail",
5027
+ example: "1",
4779
5028
  require: 1,
4780
5029
  repeat: 0
5030
+ },
5031
+ {
5032
+ name: "formula.functionList.DB.functionParameter.month.name",
5033
+ detail: "formula.functionList.DB.functionParameter.month.detail",
5034
+ example: "7",
5035
+ require: 0,
5036
+ repeat: 0
4781
5037
  }
4782
5038
  ]
4783
5039
  },
@@ -4788,18 +5044,39 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4788
5044
  abstract: "formula.functionList.DDB.abstract",
4789
5045
  functionParameter: [
4790
5046
  {
4791
- name: "formula.functionList.DDB.functionParameter.number1.name",
4792
- detail: "formula.functionList.DDB.functionParameter.number1.detail",
4793
- example: "A1:A20",
5047
+ name: "formula.functionList.DDB.functionParameter.cost.name",
5048
+ detail: "formula.functionList.DDB.functionParameter.cost.detail",
5049
+ example: "24000",
4794
5050
  require: 1,
4795
5051
  repeat: 0
4796
5052
  },
4797
5053
  {
4798
- name: "formula.functionList.DDB.functionParameter.number2.name",
4799
- detail: "formula.functionList.DDB.functionParameter.number2.detail",
4800
- example: "A1:A20",
5054
+ name: "formula.functionList.DDB.functionParameter.salvage.name",
5055
+ detail: "formula.functionList.DDB.functionParameter.salvage.detail",
5056
+ example: "3000",
5057
+ require: 1,
5058
+ repeat: 0
5059
+ },
5060
+ {
5061
+ name: "formula.functionList.DDB.functionParameter.life.name",
5062
+ detail: "formula.functionList.DDB.functionParameter.life.detail",
5063
+ example: "10",
5064
+ require: 1,
5065
+ repeat: 0
5066
+ },
5067
+ {
5068
+ name: "formula.functionList.DDB.functionParameter.period.name",
5069
+ detail: "formula.functionList.DDB.functionParameter.period.detail",
5070
+ example: "1",
4801
5071
  require: 1,
4802
5072
  repeat: 0
5073
+ },
5074
+ {
5075
+ name: "formula.functionList.DDB.functionParameter.factor.name",
5076
+ detail: "formula.functionList.DDB.functionParameter.factor.detail",
5077
+ example: "2",
5078
+ require: 0,
5079
+ repeat: 0
4803
5080
  }
4804
5081
  ]
4805
5082
  },
@@ -4810,18 +5087,39 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4810
5087
  abstract: "formula.functionList.DISC.abstract",
4811
5088
  functionParameter: [
4812
5089
  {
4813
- name: "formula.functionList.DISC.functionParameter.number1.name",
4814
- detail: "formula.functionList.DISC.functionParameter.number1.detail",
4815
- example: "A1:A20",
5090
+ name: "formula.functionList.DISC.functionParameter.settlement.name",
5091
+ detail: "formula.functionList.DISC.functionParameter.settlement.detail",
5092
+ example: '"2018-7-1"',
4816
5093
  require: 1,
4817
5094
  repeat: 0
4818
5095
  },
4819
5096
  {
4820
- name: "formula.functionList.DISC.functionParameter.number2.name",
4821
- detail: "formula.functionList.DISC.functionParameter.number2.detail",
4822
- example: "A1:A20",
5097
+ name: "formula.functionList.DISC.functionParameter.maturity.name",
5098
+ detail: "formula.functionList.DISC.functionParameter.maturity.detail",
5099
+ example: '"2048-1-1"',
5100
+ require: 1,
5101
+ repeat: 0
5102
+ },
5103
+ {
5104
+ name: "formula.functionList.DISC.functionParameter.pr.name",
5105
+ detail: "formula.functionList.DISC.functionParameter.pr.detail",
5106
+ example: "97.975",
5107
+ require: 1,
5108
+ repeat: 0
5109
+ },
5110
+ {
5111
+ name: "formula.functionList.DISC.functionParameter.redemption.name",
5112
+ detail: "formula.functionList.DISC.functionParameter.redemption.detail",
5113
+ example: "100",
4823
5114
  require: 1,
4824
5115
  repeat: 0
5116
+ },
5117
+ {
5118
+ name: "formula.functionList.DISC.functionParameter.basis.name",
5119
+ detail: "formula.functionList.DISC.functionParameter.basis.detail",
5120
+ example: "1",
5121
+ require: 0,
5122
+ repeat: 0
4825
5123
  }
4826
5124
  ]
4827
5125
  },
@@ -4832,16 +5130,16 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4832
5130
  abstract: "formula.functionList.DOLLARDE.abstract",
4833
5131
  functionParameter: [
4834
5132
  {
4835
- name: "formula.functionList.DOLLARDE.functionParameter.number1.name",
4836
- detail: "formula.functionList.DOLLARDE.functionParameter.number1.detail",
4837
- example: "A1:A20",
5133
+ name: "formula.functionList.DOLLARDE.functionParameter.fractionalDollar.name",
5134
+ detail: "formula.functionList.DOLLARDE.functionParameter.fractionalDollar.detail",
5135
+ example: "1.02",
4838
5136
  require: 1,
4839
5137
  repeat: 0
4840
5138
  },
4841
5139
  {
4842
- name: "formula.functionList.DOLLARDE.functionParameter.number2.name",
4843
- detail: "formula.functionList.DOLLARDE.functionParameter.number2.detail",
4844
- example: "A1:A20",
5140
+ name: "formula.functionList.DOLLARDE.functionParameter.fraction.name",
5141
+ detail: "formula.functionList.DOLLARDE.functionParameter.fraction.detail",
5142
+ example: "16",
4845
5143
  require: 1,
4846
5144
  repeat: 0
4847
5145
  }
@@ -4854,16 +5152,16 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4854
5152
  abstract: "formula.functionList.DOLLARFR.abstract",
4855
5153
  functionParameter: [
4856
5154
  {
4857
- name: "formula.functionList.DOLLARFR.functionParameter.number1.name",
4858
- detail: "formula.functionList.DOLLARFR.functionParameter.number1.detail",
4859
- example: "A1:A20",
5155
+ name: "formula.functionList.DOLLARFR.functionParameter.decimalDollar.name",
5156
+ detail: "formula.functionList.DOLLARFR.functionParameter.decimalDollar.detail",
5157
+ example: "1.125",
4860
5158
  require: 1,
4861
5159
  repeat: 0
4862
5160
  },
4863
5161
  {
4864
- name: "formula.functionList.DOLLARFR.functionParameter.number2.name",
4865
- detail: "formula.functionList.DOLLARFR.functionParameter.number2.detail",
4866
- example: "A1:A20",
5162
+ name: "formula.functionList.DOLLARFR.functionParameter.fraction.name",
5163
+ detail: "formula.functionList.DOLLARFR.functionParameter.fraction.detail",
5164
+ example: "16",
4867
5165
  require: 1,
4868
5166
  repeat: 0
4869
5167
  }
@@ -4898,16 +5196,16 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4898
5196
  abstract: "formula.functionList.EFFECT.abstract",
4899
5197
  functionParameter: [
4900
5198
  {
4901
- name: "formula.functionList.EFFECT.functionParameter.number1.name",
4902
- detail: "formula.functionList.EFFECT.functionParameter.number1.detail",
4903
- example: "A1:A20",
5199
+ name: "formula.functionList.EFFECT.functionParameter.nominalRate.name",
5200
+ detail: "formula.functionList.EFFECT.functionParameter.nominalRate.detail",
5201
+ example: "0.0525",
4904
5202
  require: 1,
4905
5203
  repeat: 0
4906
5204
  },
4907
5205
  {
4908
- name: "formula.functionList.EFFECT.functionParameter.number2.name",
4909
- detail: "formula.functionList.EFFECT.functionParameter.number2.detail",
4910
- example: "A1:A20",
5206
+ name: "formula.functionList.EFFECT.functionParameter.npery.name",
5207
+ detail: "formula.functionList.EFFECT.functionParameter.npery.detail",
5208
+ example: "4",
4911
5209
  require: 1,
4912
5210
  repeat: 0
4913
5211
  }
@@ -4920,18 +5218,39 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4920
5218
  abstract: "formula.functionList.FV.abstract",
4921
5219
  functionParameter: [
4922
5220
  {
4923
- name: "formula.functionList.FV.functionParameter.number1.name",
4924
- detail: "formula.functionList.FV.functionParameter.number1.detail",
4925
- example: "A1:A20",
5221
+ name: "formula.functionList.FV.functionParameter.rate.name",
5222
+ detail: "formula.functionList.FV.functionParameter.rate.detail",
5223
+ example: "0.06/12",
4926
5224
  require: 1,
4927
5225
  repeat: 0
4928
5226
  },
4929
5227
  {
4930
- name: "formula.functionList.FV.functionParameter.number2.name",
4931
- detail: "formula.functionList.FV.functionParameter.number2.detail",
4932
- example: "A1:A20",
5228
+ name: "formula.functionList.FV.functionParameter.nper.name",
5229
+ detail: "formula.functionList.FV.functionParameter.nper.detail",
5230
+ example: "10",
5231
+ require: 1,
5232
+ repeat: 0
5233
+ },
5234
+ {
5235
+ name: "formula.functionList.FV.functionParameter.pmt.name",
5236
+ detail: "formula.functionList.FV.functionParameter.pmt.detail",
5237
+ example: "-200",
4933
5238
  require: 1,
4934
5239
  repeat: 0
5240
+ },
5241
+ {
5242
+ name: "formula.functionList.FV.functionParameter.pv.name",
5243
+ detail: "formula.functionList.FV.functionParameter.pv.detail",
5244
+ example: "-500",
5245
+ require: 0,
5246
+ repeat: 0
5247
+ },
5248
+ {
5249
+ name: "formula.functionList.FV.functionParameter.type.name",
5250
+ detail: "formula.functionList.FV.functionParameter.type.detail",
5251
+ example: "1",
5252
+ require: 0,
5253
+ repeat: 0
4935
5254
  }
4936
5255
  ]
4937
5256
  },
@@ -4942,16 +5261,16 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4942
5261
  abstract: "formula.functionList.FVSCHEDULE.abstract",
4943
5262
  functionParameter: [
4944
5263
  {
4945
- name: "formula.functionList.FVSCHEDULE.functionParameter.number1.name",
4946
- detail: "formula.functionList.FVSCHEDULE.functionParameter.number1.detail",
4947
- example: "A1:A20",
5264
+ name: "formula.functionList.FVSCHEDULE.functionParameter.principal.name",
5265
+ detail: "formula.functionList.FVSCHEDULE.functionParameter.principal.detail",
5266
+ example: "1",
4948
5267
  require: 1,
4949
5268
  repeat: 0
4950
5269
  },
4951
5270
  {
4952
- name: "formula.functionList.FVSCHEDULE.functionParameter.number2.name",
4953
- detail: "formula.functionList.FVSCHEDULE.functionParameter.number2.detail",
4954
- example: "A1:A20",
5271
+ name: "formula.functionList.FVSCHEDULE.functionParameter.schedule.name",
5272
+ detail: "formula.functionList.FVSCHEDULE.functionParameter.schedule.detail",
5273
+ example: "{0.09,0.11,0.1}",
4955
5274
  require: 1,
4956
5275
  repeat: 0
4957
5276
  }
@@ -4964,18 +5283,39 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4964
5283
  abstract: "formula.functionList.INTRATE.abstract",
4965
5284
  functionParameter: [
4966
5285
  {
4967
- name: "formula.functionList.INTRATE.functionParameter.number1.name",
4968
- detail: "formula.functionList.INTRATE.functionParameter.number1.detail",
4969
- example: "A1:A20",
5286
+ name: "formula.functionList.INTRATE.functionParameter.settlement.name",
5287
+ detail: "formula.functionList.INTRATE.functionParameter.settlement.detail",
5288
+ example: '"2008-2-15"',
4970
5289
  require: 1,
4971
5290
  repeat: 0
4972
5291
  },
4973
5292
  {
4974
- name: "formula.functionList.INTRATE.functionParameter.number2.name",
4975
- detail: "formula.functionList.INTRATE.functionParameter.number2.detail",
4976
- example: "A1:A20",
5293
+ name: "formula.functionList.INTRATE.functionParameter.maturity.name",
5294
+ detail: "formula.functionList.INTRATE.functionParameter.maturity.detail",
5295
+ example: '"2008-5-15"',
5296
+ require: 1,
5297
+ repeat: 0
5298
+ },
5299
+ {
5300
+ name: "formula.functionList.INTRATE.functionParameter.investment.name",
5301
+ detail: "formula.functionList.INTRATE.functionParameter.investment.detail",
5302
+ example: "10000000",
5303
+ require: 1,
5304
+ repeat: 0
5305
+ },
5306
+ {
5307
+ name: "formula.functionList.INTRATE.functionParameter.redemption.name",
5308
+ detail: "formula.functionList.INTRATE.functionParameter.redemption.detail",
5309
+ example: "10144200",
4977
5310
  require: 1,
4978
5311
  repeat: 0
5312
+ },
5313
+ {
5314
+ name: "formula.functionList.INTRATE.functionParameter.basis.name",
5315
+ detail: "formula.functionList.INTRATE.functionParameter.basis.detail",
5316
+ example: "2",
5317
+ require: 0,
5318
+ repeat: 0
4979
5319
  }
4980
5320
  ]
4981
5321
  },
@@ -4986,18 +5326,46 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
4986
5326
  abstract: "formula.functionList.IPMT.abstract",
4987
5327
  functionParameter: [
4988
5328
  {
4989
- name: "formula.functionList.IPMT.functionParameter.number1.name",
4990
- detail: "formula.functionList.IPMT.functionParameter.number1.detail",
4991
- example: "A1:A20",
5329
+ name: "formula.functionList.IPMT.functionParameter.rate.name",
5330
+ detail: "formula.functionList.IPMT.functionParameter.rate.detail",
5331
+ example: "0.1/12",
4992
5332
  require: 1,
4993
5333
  repeat: 0
4994
5334
  },
4995
5335
  {
4996
- name: "formula.functionList.IPMT.functionParameter.number2.name",
4997
- detail: "formula.functionList.IPMT.functionParameter.number2.detail",
4998
- example: "A1:A20",
5336
+ name: "formula.functionList.IPMT.functionParameter.per.name",
5337
+ detail: "formula.functionList.IPMT.functionParameter.per.detail",
5338
+ example: "1",
5339
+ require: 1,
5340
+ repeat: 0
5341
+ },
5342
+ {
5343
+ name: "formula.functionList.IPMT.functionParameter.nper.name",
5344
+ detail: "formula.functionList.IPMT.functionParameter.nper.detail",
5345
+ example: "3*12",
5346
+ require: 1,
5347
+ repeat: 0
5348
+ },
5349
+ {
5350
+ name: "formula.functionList.IPMT.functionParameter.pv.name",
5351
+ detail: "formula.functionList.IPMT.functionParameter.pv.detail",
5352
+ example: "80000",
4999
5353
  require: 1,
5000
5354
  repeat: 0
5355
+ },
5356
+ {
5357
+ name: "formula.functionList.IPMT.functionParameter.fv.name",
5358
+ detail: "formula.functionList.IPMT.functionParameter.fv.detail",
5359
+ example: "0",
5360
+ require: 0,
5361
+ repeat: 0
5362
+ },
5363
+ {
5364
+ name: "formula.functionList.IPMT.functionParameter.type.name",
5365
+ detail: "formula.functionList.IPMT.functionParameter.type.detail",
5366
+ example: "0",
5367
+ require: 0,
5368
+ repeat: 0
5001
5369
  }
5002
5370
  ]
5003
5371
  },
@@ -5030,16 +5398,30 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
5030
5398
  abstract: "formula.functionList.ISPMT.abstract",
5031
5399
  functionParameter: [
5032
5400
  {
5033
- name: "formula.functionList.ISPMT.functionParameter.number1.name",
5034
- detail: "formula.functionList.ISPMT.functionParameter.number1.detail",
5035
- example: "A1:A20",
5401
+ name: "formula.functionList.ISPMT.functionParameter.rate.name",
5402
+ detail: "formula.functionList.ISPMT.functionParameter.rate.detail",
5403
+ example: "0.1",
5036
5404
  require: 1,
5037
5405
  repeat: 0
5038
5406
  },
5039
5407
  {
5040
- name: "formula.functionList.ISPMT.functionParameter.number2.name",
5041
- detail: "formula.functionList.ISPMT.functionParameter.number2.detail",
5042
- example: "A1:A20",
5408
+ name: "formula.functionList.ISPMT.functionParameter.per.name",
5409
+ detail: "formula.functionList.ISPMT.functionParameter.per.detail",
5410
+ example: "2",
5411
+ require: 1,
5412
+ repeat: 0
5413
+ },
5414
+ {
5415
+ name: "formula.functionList.ISPMT.functionParameter.nper.name",
5416
+ detail: "formula.functionList.ISPMT.functionParameter.nper.detail",
5417
+ example: "5",
5418
+ require: 1,
5419
+ repeat: 0
5420
+ },
5421
+ {
5422
+ name: "formula.functionList.ISPMT.functionParameter.pv.name",
5423
+ detail: "formula.functionList.ISPMT.functionParameter.pv.detail",
5424
+ example: "1000",
5043
5425
  require: 1,
5044
5426
  repeat: 0
5045
5427
  }
@@ -5096,16 +5478,16 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
5096
5478
  abstract: "formula.functionList.NOMINAL.abstract",
5097
5479
  functionParameter: [
5098
5480
  {
5099
- name: "formula.functionList.NOMINAL.functionParameter.number1.name",
5100
- detail: "formula.functionList.NOMINAL.functionParameter.number1.detail",
5101
- example: "A1:A20",
5481
+ name: "formula.functionList.NOMINAL.functionParameter.effectRate.name",
5482
+ detail: "formula.functionList.NOMINAL.functionParameter.effectRate.detail",
5483
+ example: "0.053543",
5102
5484
  require: 1,
5103
5485
  repeat: 0
5104
5486
  },
5105
5487
  {
5106
- name: "formula.functionList.NOMINAL.functionParameter.number2.name",
5107
- detail: "formula.functionList.NOMINAL.functionParameter.number2.detail",
5108
- example: "A1:A20",
5488
+ name: "formula.functionList.NOMINAL.functionParameter.npery.name",
5489
+ detail: "formula.functionList.NOMINAL.functionParameter.npery.detail",
5490
+ example: "4",
5109
5491
  require: 1,
5110
5492
  repeat: 0
5111
5493
  }
@@ -5118,18 +5500,39 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
5118
5500
  abstract: "formula.functionList.NPER.abstract",
5119
5501
  functionParameter: [
5120
5502
  {
5121
- name: "formula.functionList.NPER.functionParameter.number1.name",
5122
- detail: "formula.functionList.NPER.functionParameter.number1.detail",
5123
- example: "A1:A20",
5503
+ name: "formula.functionList.NPER.functionParameter.rate.name",
5504
+ detail: "formula.functionList.NPER.functionParameter.rate.detail",
5505
+ example: "0.12/12",
5124
5506
  require: 1,
5125
5507
  repeat: 0
5126
5508
  },
5127
5509
  {
5128
- name: "formula.functionList.NPER.functionParameter.number2.name",
5129
- detail: "formula.functionList.NPER.functionParameter.number2.detail",
5130
- example: "A1:A20",
5510
+ name: "formula.functionList.NPER.functionParameter.pmt.name",
5511
+ detail: "formula.functionList.NPER.functionParameter.pmt.detail",
5512
+ example: "-100",
5513
+ require: 1,
5514
+ repeat: 0
5515
+ },
5516
+ {
5517
+ name: "formula.functionList.NPER.functionParameter.pv.name",
5518
+ detail: "formula.functionList.NPER.functionParameter.pv.detail",
5519
+ example: "-1000",
5131
5520
  require: 1,
5132
5521
  repeat: 0
5522
+ },
5523
+ {
5524
+ name: "formula.functionList.NPER.functionParameter.fv.name",
5525
+ detail: "formula.functionList.NPER.functionParameter.fv.detail",
5526
+ example: "10000",
5527
+ require: 0,
5528
+ repeat: 0
5529
+ },
5530
+ {
5531
+ name: "formula.functionList.NPER.functionParameter.type.name",
5532
+ detail: "formula.functionList.NPER.functionParameter.type.detail",
5533
+ example: "1",
5534
+ require: 0,
5535
+ repeat: 0
5133
5536
  }
5134
5537
  ]
5135
5538
  },
@@ -5272,18 +5675,39 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
5272
5675
  abstract: "formula.functionList.PMT.abstract",
5273
5676
  functionParameter: [
5274
5677
  {
5275
- name: "formula.functionList.PMT.functionParameter.number1.name",
5276
- detail: "formula.functionList.PMT.functionParameter.number1.detail",
5277
- example: "A1:A20",
5678
+ name: "formula.functionList.PMT.functionParameter.rate.name",
5679
+ detail: "formula.functionList.PMT.functionParameter.rate.detail",
5680
+ example: "0.08/12",
5278
5681
  require: 1,
5279
5682
  repeat: 0
5280
5683
  },
5281
5684
  {
5282
- name: "formula.functionList.PMT.functionParameter.number2.name",
5283
- detail: "formula.functionList.PMT.functionParameter.number2.detail",
5284
- example: "A1:A20",
5685
+ name: "formula.functionList.PMT.functionParameter.nper.name",
5686
+ detail: "formula.functionList.PMT.functionParameter.nper.detail",
5687
+ example: "10",
5688
+ require: 1,
5689
+ repeat: 0
5690
+ },
5691
+ {
5692
+ name: "formula.functionList.PMT.functionParameter.pv.name",
5693
+ detail: "formula.functionList.PMT.functionParameter.pv.detail",
5694
+ example: "10000",
5285
5695
  require: 1,
5286
5696
  repeat: 0
5697
+ },
5698
+ {
5699
+ name: "formula.functionList.PMT.functionParameter.fv.name",
5700
+ detail: "formula.functionList.PMT.functionParameter.fv.detail",
5701
+ example: "0",
5702
+ require: 0,
5703
+ repeat: 0
5704
+ },
5705
+ {
5706
+ name: "formula.functionList.PMT.functionParameter.type.name",
5707
+ detail: "formula.functionList.PMT.functionParameter.type.detail",
5708
+ example: "0",
5709
+ require: 0,
5710
+ repeat: 0
5287
5711
  }
5288
5712
  ]
5289
5713
  },
@@ -5294,18 +5718,46 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
5294
5718
  abstract: "formula.functionList.PPMT.abstract",
5295
5719
  functionParameter: [
5296
5720
  {
5297
- name: "formula.functionList.PPMT.functionParameter.number1.name",
5298
- detail: "formula.functionList.PPMT.functionParameter.number1.detail",
5299
- example: "A1:A20",
5721
+ name: "formula.functionList.PPMT.functionParameter.rate.name",
5722
+ detail: "formula.functionList.PPMT.functionParameter.rate.detail",
5723
+ example: "0.1/12",
5300
5724
  require: 1,
5301
5725
  repeat: 0
5302
5726
  },
5303
5727
  {
5304
- name: "formula.functionList.PPMT.functionParameter.number2.name",
5305
- detail: "formula.functionList.PPMT.functionParameter.number2.detail",
5306
- example: "A1:A20",
5728
+ name: "formula.functionList.PPMT.functionParameter.per.name",
5729
+ detail: "formula.functionList.PPMT.functionParameter.per.detail",
5730
+ example: "1",
5731
+ require: 1,
5732
+ repeat: 0
5733
+ },
5734
+ {
5735
+ name: "formula.functionList.PPMT.functionParameter.nper.name",
5736
+ detail: "formula.functionList.PPMT.functionParameter.nper.detail",
5737
+ example: "3*12",
5307
5738
  require: 1,
5308
5739
  repeat: 0
5740
+ },
5741
+ {
5742
+ name: "formula.functionList.PPMT.functionParameter.pv.name",
5743
+ detail: "formula.functionList.PPMT.functionParameter.pv.detail",
5744
+ example: "80000",
5745
+ require: 1,
5746
+ repeat: 0
5747
+ },
5748
+ {
5749
+ name: "formula.functionList.PPMT.functionParameter.fv.name",
5750
+ detail: "formula.functionList.PPMT.functionParameter.fv.detail",
5751
+ example: "0",
5752
+ require: 0,
5753
+ repeat: 0
5754
+ },
5755
+ {
5756
+ name: "formula.functionList.PPMT.functionParameter.type.name",
5757
+ detail: "formula.functionList.PPMT.functionParameter.type.detail",
5758
+ example: "0",
5759
+ require: 0,
5760
+ repeat: 0
5309
5761
  }
5310
5762
  ]
5311
5763
  },
@@ -5382,18 +5834,39 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
5382
5834
  abstract: "formula.functionList.PV.abstract",
5383
5835
  functionParameter: [
5384
5836
  {
5385
- name: "formula.functionList.PV.functionParameter.number1.name",
5386
- detail: "formula.functionList.PV.functionParameter.number1.detail",
5387
- example: "A1:A20",
5837
+ name: "formula.functionList.PV.functionParameter.rate.name",
5838
+ detail: "formula.functionList.PV.functionParameter.rate.detail",
5839
+ example: "0.02",
5388
5840
  require: 1,
5389
5841
  repeat: 0
5390
5842
  },
5391
5843
  {
5392
- name: "formula.functionList.PV.functionParameter.number2.name",
5393
- detail: "formula.functionList.PV.functionParameter.number2.detail",
5394
- example: "A1:A20",
5844
+ name: "formula.functionList.PV.functionParameter.nper.name",
5845
+ detail: "formula.functionList.PV.functionParameter.nper.detail",
5846
+ example: "12",
5395
5847
  require: 1,
5396
5848
  repeat: 0
5849
+ },
5850
+ {
5851
+ name: "formula.functionList.PV.functionParameter.pmt.name",
5852
+ detail: "formula.functionList.PV.functionParameter.pmt.detail",
5853
+ example: "100",
5854
+ require: 1,
5855
+ repeat: 0
5856
+ },
5857
+ {
5858
+ name: "formula.functionList.PV.functionParameter.fv.name",
5859
+ detail: "formula.functionList.PV.functionParameter.fv.detail",
5860
+ example: "0",
5861
+ require: 0,
5862
+ repeat: 0
5863
+ },
5864
+ {
5865
+ name: "formula.functionList.PV.functionParameter.type.name",
5866
+ detail: "formula.functionList.PV.functionParameter.type.detail",
5867
+ example: "0",
5868
+ require: 0,
5869
+ repeat: 0
5397
5870
  }
5398
5871
  ]
5399
5872
  },
@@ -5404,18 +5877,46 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
5404
5877
  abstract: "formula.functionList.RATE.abstract",
5405
5878
  functionParameter: [
5406
5879
  {
5407
- name: "formula.functionList.RATE.functionParameter.number1.name",
5408
- detail: "formula.functionList.RATE.functionParameter.number1.detail",
5409
- example: "A1:A20",
5880
+ name: "formula.functionList.RATE.functionParameter.nper.name",
5881
+ detail: "formula.functionList.RATE.functionParameter.nper.detail",
5882
+ example: "4*12",
5410
5883
  require: 1,
5411
5884
  repeat: 0
5412
5885
  },
5413
5886
  {
5414
- name: "formula.functionList.RATE.functionParameter.number2.name",
5415
- detail: "formula.functionList.RATE.functionParameter.number2.detail",
5416
- example: "A1:A20",
5887
+ name: "formula.functionList.RATE.functionParameter.pmt.name",
5888
+ detail: "formula.functionList.RATE.functionParameter.pmt.detail",
5889
+ example: "-200",
5890
+ require: 1,
5891
+ repeat: 0
5892
+ },
5893
+ {
5894
+ name: "formula.functionList.RATE.functionParameter.pv.name",
5895
+ detail: "formula.functionList.RATE.functionParameter.pv.detail",
5896
+ example: "8000",
5417
5897
  require: 1,
5418
5898
  repeat: 0
5899
+ },
5900
+ {
5901
+ name: "formula.functionList.RATE.functionParameter.fv.name",
5902
+ detail: "formula.functionList.RATE.functionParameter.fv.detail",
5903
+ example: "0",
5904
+ require: 0,
5905
+ repeat: 0
5906
+ },
5907
+ {
5908
+ name: "formula.functionList.RATE.functionParameter.type.name",
5909
+ detail: "formula.functionList.RATE.functionParameter.type.detail",
5910
+ example: "0",
5911
+ require: 0,
5912
+ repeat: 0
5913
+ },
5914
+ {
5915
+ name: "formula.functionList.RATE.functionParameter.guess.name",
5916
+ detail: "formula.functionList.RATE.functionParameter.guess.detail",
5917
+ example: "0.1",
5918
+ require: 0,
5919
+ repeat: 0
5419
5920
  }
5420
5921
  ]
5421
5922
  },
@@ -6289,18 +6790,39 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
6289
6790
  abstract: "formula.functionList.LET.abstract",
6290
6791
  functionParameter: [
6291
6792
  {
6292
- name: "formula.functionList.LET.functionParameter.number1.name",
6293
- detail: "formula.functionList.LET.functionParameter.number1.detail",
6294
- example: "A1:A20",
6793
+ name: "formula.functionList.LET.functionParameter.name1.name",
6794
+ detail: "formula.functionList.LET.functionParameter.name1.detail",
6795
+ example: "x",
6295
6796
  require: 1,
6296
6797
  repeat: 0
6297
6798
  },
6298
6799
  {
6299
- name: "formula.functionList.LET.functionParameter.number2.name",
6300
- detail: "formula.functionList.LET.functionParameter.number2.detail",
6301
- example: "A1:A20",
6800
+ name: "formula.functionList.LET.functionParameter.nameValue1.name",
6801
+ detail: "formula.functionList.LET.functionParameter.nameValue1.detail",
6802
+ example: "5",
6803
+ require: 1,
6804
+ repeat: 0
6805
+ },
6806
+ {
6807
+ name: "formula.functionList.LET.functionParameter.calculationOrName2.name",
6808
+ detail: "formula.functionList.LET.functionParameter.calculationOrName2.detail",
6809
+ example: "y",
6302
6810
  require: 1,
6303
6811
  repeat: 0
6812
+ },
6813
+ {
6814
+ name: "formula.functionList.LET.functionParameter.nameValue2.name",
6815
+ detail: "formula.functionList.LET.functionParameter.nameValue2.detail",
6816
+ example: "6",
6817
+ require: 0,
6818
+ repeat: 1
6819
+ },
6820
+ {
6821
+ name: "formula.functionList.LET.functionParameter.calculationOrName3.name",
6822
+ detail: "formula.functionList.LET.functionParameter.calculationOrName3.detail",
6823
+ example: "SUM(x,y)",
6824
+ require: 0,
6825
+ repeat: 1
6304
6826
  }
6305
6827
  ]
6306
6828
  },
@@ -11074,18 +11596,25 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
11074
11596
  abstract: "formula.functionList.RANK_AVG.abstract",
11075
11597
  functionParameter: [
11076
11598
  {
11077
- name: "formula.functionList.RANK_AVG.functionParameter.number1.name",
11078
- detail: "formula.functionList.RANK_AVG.functionParameter.number1.detail",
11079
- example: "A1:A20",
11599
+ name: "formula.functionList.RANK_AVG.functionParameter.number.name",
11600
+ detail: "formula.functionList.RANK_AVG.functionParameter.number.detail",
11601
+ example: "A3",
11080
11602
  require: 1,
11081
11603
  repeat: 0
11082
11604
  },
11083
11605
  {
11084
- name: "formula.functionList.RANK_AVG.functionParameter.number2.name",
11085
- detail: "formula.functionList.RANK_AVG.functionParameter.number2.detail",
11086
- example: "A1:A20",
11606
+ name: "formula.functionList.RANK_AVG.functionParameter.ref.name",
11607
+ detail: "formula.functionList.RANK_AVG.functionParameter.ref.detail",
11608
+ example: "A2:A6",
11087
11609
  require: 1,
11088
11610
  repeat: 0
11611
+ },
11612
+ {
11613
+ name: "formula.functionList.RANK_AVG.functionParameter.order.name",
11614
+ detail: "formula.functionList.RANK_AVG.functionParameter.order.detail",
11615
+ example: "1",
11616
+ require: 0,
11617
+ repeat: 0
11089
11618
  }
11090
11619
  ]
11091
11620
  },
@@ -11096,18 +11625,25 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
11096
11625
  abstract: "formula.functionList.RANK_EQ.abstract",
11097
11626
  functionParameter: [
11098
11627
  {
11099
- name: "formula.functionList.RANK_EQ.functionParameter.number1.name",
11100
- detail: "formula.functionList.RANK_EQ.functionParameter.number1.detail",
11101
- example: "A1:A20",
11628
+ name: "formula.functionList.RANK_EQ.functionParameter.number.name",
11629
+ detail: "formula.functionList.RANK_EQ.functionParameter.number.detail",
11630
+ example: "A3",
11102
11631
  require: 1,
11103
11632
  repeat: 0
11104
11633
  },
11105
11634
  {
11106
- name: "formula.functionList.RANK_EQ.functionParameter.number2.name",
11107
- detail: "formula.functionList.RANK_EQ.functionParameter.number2.detail",
11108
- example: "A1:A20",
11635
+ name: "formula.functionList.RANK_EQ.functionParameter.ref.name",
11636
+ detail: "formula.functionList.RANK_EQ.functionParameter.ref.detail",
11637
+ example: "A2:A6",
11109
11638
  require: 1,
11110
11639
  repeat: 0
11640
+ },
11641
+ {
11642
+ name: "formula.functionList.RANK_EQ.functionParameter.order.name",
11643
+ detail: "formula.functionList.RANK_EQ.functionParameter.order.detail",
11644
+ example: "1",
11645
+ require: 0,
11646
+ repeat: 0
11111
11647
  }
11112
11648
  ]
11113
11649
  },
@@ -14346,11 +14882,8 @@ let UpdateFormulaController = (_a10 = class extends Disposable {
14346
14882
  if (!shouldModify)
14347
14883
  return !0;
14348
14884
  const newSequenceNodes = this._updateRefOffset(sequenceNodes, refChangeIds, x, y);
14349
- x !== void 0 && x > 0 || y !== void 0 && y > 0 ? newFormulaDataItem.setValue(row, column, {
14885
+ newFormulaDataItem.setValue(row, column, {
14350
14886
  f: `=${generateStringWithSequence(newSequenceNodes)}`
14351
- }) : newFormulaDataItem.setValue(row, column, {
14352
- f: `=${generateStringWithSequence(newSequenceNodes)}`,
14353
- si
14354
14887
  });
14355
14888
  }), newFormulaData[unitId] && (newFormulaData[unitId][sheetId] = newFormulaDataItem.getData());
14356
14889
  }
@@ -15168,16 +15701,16 @@ var __defProp$2 = Object.defineProperty, __getOwnPropDesc$2 = Object.getOwnPrope
15168
15701
  return kind && result && __defProp$2(target, key, result), result;
15169
15702
  }, "__decorateClass$2"), __decorateParam$2 = /* @__PURE__ */ __name((index, decorator) => (target, key) => decorator(target, key, index), "__decorateParam$2"), _a18;
15170
15703
  let RefSelectionsRenderService = (_a18 = class extends BaseSelectionRenderService {
15171
- constructor(_context, injector, themeService, shortcutService, renderManagerService, _refSelectionsService, _sheetSkeletonManagerService) {
15704
+ constructor(_context, injector, themeService, shortcutService, sheetSkeletonManagerService, _refSelectionsService) {
15172
15705
  super(
15173
15706
  injector,
15174
15707
  themeService,
15175
15708
  shortcutService,
15176
- renderManagerService
15709
+ sheetSkeletonManagerService
15177
15710
  );
15178
15711
  __publicField(this, "_workbookSelections");
15179
15712
  __publicField(this, "_eventDisposables");
15180
- this._context = _context, this._refSelectionsService = _refSelectionsService, this._sheetSkeletonManagerService = _sheetSkeletonManagerService, this._workbookSelections = this._refSelectionsService.getWorkbookSelections(this._context.unitId), this._initSelectionChangeListener(), this._initSkeletonChangeListener(), this._initUserActionSyncListener(), this._setStyle(getDefaultRefSelectionStyle(this._themeService)), this._remainLastEnabled = !0;
15713
+ this._context = _context, this._refSelectionsService = _refSelectionsService, this._workbookSelections = this._refSelectionsService.getWorkbookSelections(this._context.unitId), this._initSelectionChangeListener(), this._initSkeletonChangeListener(), this._initUserActionSyncListener(), this._setSelectionStyle(getDefaultRefSelectionStyle(this._themeService)), this._remainLastEnabled = !0;
15181
15714
  }
15182
15715
  getLocation() {
15183
15716
  return this._skeleton.getLocation();
@@ -15217,17 +15750,27 @@ let RefSelectionsRenderService = (_a18 = class extends BaseSelectionRenderServic
15217
15750
  })), listenerDisposables.add(spreadsheetLeftTopPlaceholder == null ? void 0 : spreadsheetLeftTopPlaceholder.onPointerDown$.subscribeEvent((evt, state) => {
15218
15751
  this._reset();
15219
15752
  const skeleton = this._sheetSkeletonManagerService.getCurrent().skeleton, selectionWithStyle = getAllSelection(skeleton), selectionData = this.attachSelectionWithCoord(selectionWithStyle);
15220
- this._addSelectionControlBySelectionData(selectionData), this.refreshSelectionMoveStart(), evt.button !== 2 && state.stopPropagation();
15753
+ this._addSelectionControlBySelectionData(selectionData), this._selectionMoveStart$.next(this.getSelectionDataWithStyle()), evt.button !== 2 && state.stopPropagation();
15221
15754
  })), listenerDisposables;
15222
15755
  }
15756
+ /**
15757
+ * Update selectionModel in this._workbookSelections by user action in spreadsheet area.
15758
+ */
15223
15759
  _initUserActionSyncListener() {
15224
- this.disposeWithMe(this.selectionMoveEnd$.subscribe((params) => this._updateSelections(params)));
15760
+ this.disposeWithMe(this.selectionMoveStart$.subscribe((selectionDataWithStyle) => {
15761
+ this._updateSelections(selectionDataWithStyle, SelectionMoveType.MOVE_START);
15762
+ })), this.disposeWithMe(this.selectionMoving$.subscribe((selectionDataWithStyle) => {
15763
+ this._updateSelections(selectionDataWithStyle, SelectionMoveType.MOVING);
15764
+ })), this.disposeWithMe(this.selectionMoveEnd$.subscribe((selectionDataWithStyle) => {
15765
+ this._updateSelections(selectionDataWithStyle, SelectionMoveType.MOVE_END);
15766
+ }));
15225
15767
  }
15226
- _updateSelections(selectionDataWithStyleList) {
15768
+ _updateSelections(selectionDataWithStyleList, type) {
15227
15769
  const sheetId = this._context.unit.getActiveSheet().getSheetId();
15228
15770
  selectionDataWithStyleList.length !== 0 && this._workbookSelections.setSelections(
15229
15771
  sheetId,
15230
- selectionDataWithStyleList.map((selectionDataWithStyle) => convertSelectionDataToRange(selectionDataWithStyle))
15772
+ selectionDataWithStyleList.map((selectionDataWithStyle) => convertSelectionDataToRange(selectionDataWithStyle)),
15773
+ type
15231
15774
  );
15232
15775
  }
15233
15776
  _initSelectionChangeListener() {
@@ -15265,13 +15808,12 @@ RefSelectionsRenderService = __decorateClass$2([
15265
15808
  __decorateParam$2(1, Inject(Injector)),
15266
15809
  __decorateParam$2(2, Inject(ThemeService)),
15267
15810
  __decorateParam$2(3, IShortcutService),
15268
- __decorateParam$2(4, IRenderManagerService),
15269
- __decorateParam$2(5, IRefSelectionsService),
15270
- __decorateParam$2(6, Inject(SheetSkeletonManagerService))
15811
+ __decorateParam$2(4, Inject(SheetSkeletonManagerService)),
15812
+ __decorateParam$2(5, IRefSelectionsService)
15271
15813
  ], RefSelectionsRenderService);
15272
15814
  function getDefaultRefSelectionStyle(themeService) {
15273
15815
  const style = getNormalSelectionStyle(themeService);
15274
- return style.strokeDash = 8, style.hasAutoFill = !1, style.hasRowHeader = !1, style.hasColumnHeader = !1, style;
15816
+ return style.hasAutoFill = !1, style.hasRowHeader = !1, style.hasColumnHeader = !1, style.widgets = { tl: !0, tc: !0, tr: !0, ml: !0, mr: !0, bl: !0, bc: !0, br: !0 }, style;
15275
15817
  }
15276
15818
  __name(getDefaultRefSelectionStyle, "getDefaultRefSelectionStyle");
15277
15819
  function getFormulaRefSelectionStyle(themeService, refColor, id) {
@@ -15328,7 +15870,7 @@ let PromptController = (_a19 = class extends Disposable {
15328
15870
  ).with(RefSelectionsRenderService);
15329
15871
  }
15330
15872
  /**
15331
- * If there are multiple sheet instances, we should enable or disable all of them.
15873
+ * For multiple sheet instances.
15332
15874
  */
15333
15875
  get _allSelectionRenderServices() {
15334
15876
  return this._renderManagerService.getAllRenderersOfType(UniverInstanceType.UNIVER_SHEET).map((renderer) => renderer.with(RefSelectionsRenderService));
@@ -15340,7 +15882,7 @@ let PromptController = (_a19 = class extends Disposable {
15340
15882
  this._previousSequenceNodes = null, this._previousInsertRefStringIndex = null, this._isSelectionMovingRefSelections = [], this._previousRangesCount = 0, this._currentInsertRefStringIndex = -1;
15341
15883
  }
15342
15884
  _initialize() {
15343
- this._initialCursorSync(), this._initAcceptFormula(), this._initialFormulaTheme(), this._initSelectionsEndListener(), this._closeRangePromptWhenEditorInvisible(), this._initialEditorInputChange(), this._commandExecutedListener(), this._cursorStateListener(), this._userMouseListener(), this._initialChangeEditor();
15885
+ this._initialCursorSync(), this._initAcceptFormula(), this._initialFormulaTheme(), this._initSelectionsEndListener(), this._closeRangePromptWhenEditorInvisible(), this._initialEditorInputChange(), this._commandExecutedListener(), this._cursorStateListener(), this._inputFormulaListener(), this._userMouseListener(), this._initialChangeEditor();
15344
15886
  }
15345
15887
  _initialFormulaTheme() {
15346
15888
  const style = this._themeService.getCurrentTheme();
@@ -15414,13 +15956,14 @@ let PromptController = (_a19 = class extends Disposable {
15414
15956
  const d = new DisposableCollection();
15415
15957
  this.disposeWithMe(this._refSelectionsService.selectionMoveEnd$.subscribe((selections) => {
15416
15958
  if (d.dispose(), selections.length === 0) return;
15417
- this._allSelectionRenderServices.forEach((r) => this._updateRefSelectionStyle(r, this._isSelectionMovingRefSelections)), this._allSelectionRenderServices.map((s) => s.getSelectionControls()).flat().forEach((c) => {
15959
+ this._allSelectionRenderServices.map((s) => s.getSelectionControls()).flat().forEach((c) => {
15418
15960
  c.disableHelperSelection(), d.add(c.selectionMoving$.subscribe((toRange) => this._onSelectionControlChange(toRange, c))), d.add(c.selectionScaling$.subscribe((toRange) => this._onSelectionControlChange(toRange, c))), d.add(c.selectionMoved$.subscribe(() => this._formulaPromptService.disableLockedSelectionChange())), d.add(c.selectionScaled$.subscribe(() => this._formulaPromptService.disableLockedSelectionChange()));
15419
15961
  });
15420
15962
  }));
15421
15963
  }
15422
- // #region - Selecting Mode: user can use cursor to select a range on the canvas and move the selection
15423
- // with keyboard shortcuts
15964
+ /**
15965
+ * For interaction with mouse & keyboard shortcuts on spreadsheet. Not in formula editor.
15966
+ */
15424
15967
  _updateSelecting(selectionsWithStyles, performInsertion = !1) {
15425
15968
  if (selectionsWithStyles.length !== 0 && !(this._editorService.selectionChangingState() && !this._formulaPromptService.isLockedSelectionInsert()) && (this._insertControlSelections(selectionsWithStyles), performInsertion)) {
15426
15969
  const currentSelection = selectionsWithStyles[selectionsWithStyles.length - 1];
@@ -15458,7 +16001,6 @@ let PromptController = (_a19 = class extends Disposable {
15458
16001
  }
15459
16002
  this._arrowMoveActionState = 2, this._previousRangesCount = selections.length;
15460
16003
  }
15461
- // #endregion
15462
16004
  _initAcceptFormula() {
15463
16005
  this.disposeWithMe(
15464
16006
  this._formulaPromptService.acceptFormulaName$.subscribe((formulaString) => {
@@ -15794,7 +16336,9 @@ let PromptController = (_a19 = class extends Disposable {
15794
16336
  });
15795
16337
  }
15796
16338
  /**
16339
+ * Update Editor formula text in prompt editor by current selection in spreadsheet.
15797
16340
  * Restore the sequenceNode generated by the lexer to the text in the editor, and set the cursor position.
16341
+ *
15798
16342
  * @param sequenceNodes
15799
16343
  * @param textSelectionOffset
15800
16344
  */
@@ -15802,16 +16346,17 @@ let PromptController = (_a19 = class extends Disposable {
15802
16346
  _syncToEditor(sequenceNodes, textSelectionOffset, editorUnitId, canUndo = !0, fromSelection = !0) {
15803
16347
  let dataStream = generateStringWithSequence(sequenceNodes);
15804
16348
  const { textRuns, refSelections } = this._buildTextRuns(sequenceNodes);
15805
- this._isSelectionMovingRefSelections = refSelections;
16349
+ this._isSelectionMovingRefSelections = refSelections, this._allSelectionRenderServices.forEach((r) => this._updateRefSelectionStyle(r, this._isSelectionMovingRefSelections));
15806
16350
  const activeRange = this._textSelectionManagerService.getActiveTextRangeWithStyle();
15807
16351
  if (activeRange == null)
15808
16352
  return;
15809
- const { collapsed, style } = activeRange;
15810
16353
  this._currentInsertRefStringIndex = textSelectionOffset, editorUnitId == null && (editorUnitId = this._univerInstanceService.getCurrentUniverDocInstance().getUnitId()), this._fitEditorSize();
15811
16354
  const editor = this._editorService.getEditor(editorUnitId);
15812
16355
  editor != null && editor.isSingleChoice() ? (dataStream = dataStream.split(",")[0], this._selectionRenderService.setSingleSelectionEnabled(!0)) : this._selectionRenderService.setSingleSelectionEnabled(!1);
15813
16356
  let formulaString = dataStream, offset = 1;
15814
- (!editor || !editor.onlyInputRange()) && (formulaString = `${compareToken.EQUALS}${dataStream}`, offset = 0), canUndo ? (this._commandService.executeCommand(ReplaceContentCommand.id, {
16357
+ (!editor || !editor.onlyInputRange()) && (formulaString = `${compareToken.EQUALS}${dataStream}`, offset = 0);
16358
+ const { collapsed, style } = activeRange;
16359
+ canUndo ? (this._commandService.executeCommand(ReplaceContentCommand.id, {
15815
16360
  unitId: editorUnitId,
15816
16361
  body: {
15817
16362
  dataStream: formulaString,
@@ -15925,7 +16470,7 @@ let PromptController = (_a19 = class extends Disposable {
15925
16470
  var _a23;
15926
16471
  const { skeleton } = this._getCurrentUnitIdAndSheetId();
15927
16472
  this._formulaPromptService.enableLockedSelectionChange();
15928
- const id = (_a23 = selectionControl.selectionStyle) == null ? void 0 : _a23.id;
16473
+ const id = (_a23 = selectionControl.currentStyle) == null ? void 0 : _a23.id;
15929
16474
  if (!id || !Tools.isStringNumber(id))
15930
16475
  return;
15931
16476
  let { startRow, endRow, startColumn, endColumn } = toRange;
@@ -16107,6 +16652,26 @@ let PromptController = (_a19 = class extends Disposable {
16107
16652
  this._userCursorMove = !0;
16108
16653
  }));
16109
16654
  }
16655
+ _inputFormulaListener() {
16656
+ this.disposeWithMe(
16657
+ this._editorService.inputFormula$.subscribe((param) => {
16658
+ const { formulaString, editorUnitId } = param;
16659
+ if (formulaString.substring(0, 1) !== compareToken.EQUALS)
16660
+ return;
16661
+ const { unitId } = this._getCurrentUnitIdAndSheetId();
16662
+ this._editorBridgeService.isVisible().visible === !1 && this._editorBridgeService.changeVisible({
16663
+ visible: !0,
16664
+ eventType: DeviceInputEventType.Dblclick,
16665
+ unitId
16666
+ });
16667
+ const lastSequenceNodes = this._lexerTreeBuilder.sequenceNodesBuilder(formulaString) || [];
16668
+ this._formulaPromptService.setSequenceNodes(lastSequenceNodes), this._syncToEditor(lastSequenceNodes, formulaString.length - 1, editorUnitId, !0, !1);
16669
+ })
16670
+ );
16671
+ }
16672
+ /**
16673
+ * Absolute range, triggered by F4
16674
+ */
16110
16675
  _changeRefString() {
16111
16676
  const activeRange = this._textSelectionManagerService.getActiveTextRangeWithStyle();
16112
16677
  if (activeRange == null)