Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xy-Zipper/vue-formula-editor
/ functions
Functions
28 in github.com/Xy-Zipper/vue-formula-editor
⨍
Functions
28
◇
Types & classes
10
↓ 2 callers
Function
calculate
* 计算公式 * @param {{text: string, marks: Array, value: Object}} params * @returns
src/core/calculate.js:8
↓ 2 callers
Function
generateRandomNumber
(min, max)
src/utils/index.js:11
↓ 2 callers
Method
getFormulaList
()
src/core/index.js:18
↓ 2 callers
Method
moveCursor
* * @param {'left' | 'right' | 'up' | 'down'} direction 方向 * @param {number} step 步长
src/core/index.js:126
↓ 1 callers
Method
executeFunction
(str)
src/core/functionCore.js:8
↓ 1 callers
Function
generateRandomArray
(length, min, max)
src/utils/index.js:15
↓ 1 callers
Function
generateRandomData
(dataType, options)
src/utils/index.js:23
↓ 1 callers
Function
generateRandomString
(length)
src/utils/index.js:1
↓ 1 callers
Method
getData
()
src/core/index.js:72
↓ 1 callers
Method
matchField
(text)
src/core/index.js:168
↓ 1 callers
Method
matchWord
(text)
src/core/index.js:174
↓ 1 callers
Function
toCalculate
()
src/core/calculate.js:73
Method
constructor
(params)
example/src/formula/base.js:5
Method
constructor
()
example/src/formula/mathFormula/index.js:6
Method
constructor
()
example/src/formula/frequentlyUse/index.js:6
Method
constructor
(editor, text = '', formulaObjList = [])
src/core/index.js:11
Method
constructor
()
src/core/functionCore.js:4
Method
customHint
(cm)
src/core/index.js:190
Function
formulaWatcher
* 动态监听并返回计算结果 * @param {VueContentInstance} vm 当前Vue实例 * @param {Object} formData 计算公式所需的数据 * @param {Object} formulaConf 计算公式配置 * @param {Fun
src/core/calculate.js:69
Method
insertText
* 插入文本 * @param {string | object} text * @param {'formula' | 'field'} type
src/core/index.js:110
Method
matchFormula
(text)
src/core/index.js:181
Method
onBeforeChange
(cm, changeObj)
src/core/index.js:147
Method
onChange
(cm, changeObj)
src/core/index.js:86
Method
onInputRead
(cm, change)
src/core/index.js:65
Method
registerListen
()
src/core/index.js:58
Method
renderData
(formulaData)
src/core/index.js:23
Method
reset
()
src/core/index.js:79
Method
validateFormula
(fieldList)
src/core/index.js:41