MCPcopy Create free account

hub / github.com/Xy-Zipper/vue-formula-editor / functions

Functions28 in github.com/Xy-Zipper/vue-formula-editor

↓ 2 callersFunctioncalculate
* 计算公式 * @param {{text: string, marks: Array, value: Object}} params * @returns
src/core/calculate.js:8
↓ 2 callersFunctiongenerateRandomNumber
(min, max)
src/utils/index.js:11
↓ 2 callersMethodgetFormulaList
()
src/core/index.js:18
↓ 2 callersMethodmoveCursor
* * @param {'left' | 'right' | 'up' | 'down'} direction 方向 * @param {number} step 步长
src/core/index.js:126
↓ 1 callersMethodexecuteFunction
(str)
src/core/functionCore.js:8
↓ 1 callersFunctiongenerateRandomArray
(length, min, max)
src/utils/index.js:15
↓ 1 callersFunctiongenerateRandomData
(dataType, options)
src/utils/index.js:23
↓ 1 callersFunctiongenerateRandomString
(length)
src/utils/index.js:1
↓ 1 callersMethodgetData
()
src/core/index.js:72
↓ 1 callersMethodmatchField
(text)
src/core/index.js:168
↓ 1 callersMethodmatchWord
(text)
src/core/index.js:174
↓ 1 callersFunctiontoCalculate
()
src/core/calculate.js:73
Methodconstructor
(params)
example/src/formula/base.js:5
Methodconstructor
()
example/src/formula/mathFormula/index.js:6
Methodconstructor
()
example/src/formula/frequentlyUse/index.js:6
Methodconstructor
(editor, text = '', formulaObjList = [])
src/core/index.js:11
Methodconstructor
()
src/core/functionCore.js:4
MethodcustomHint
(cm)
src/core/index.js:190
FunctionformulaWatcher
* 动态监听并返回计算结果 * @param {VueContentInstance} vm 当前Vue实例 * @param {Object} formData 计算公式所需的数据 * @param {Object} formulaConf 计算公式配置 * @param {Fun
src/core/calculate.js:69
MethodinsertText
* 插入文本 * @param {string | object} text * @param {'formula' | 'field'} type
src/core/index.js:110
MethodmatchFormula
(text)
src/core/index.js:181
MethodonBeforeChange
(cm, changeObj)
src/core/index.js:147
MethodonChange
(cm, changeObj)
src/core/index.js:86
MethodonInputRead
(cm, change)
src/core/index.js:65
MethodregisterListen
()
src/core/index.js:58
MethodrenderData
(formulaData)
src/core/index.js:23
Methodreset
()
src/core/index.js:79
MethodvalidateFormula
(fieldList)
src/core/index.js:41