@ecan-bi/tools 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +14 -14
- package/package.json +1 -1
- package/src/hooks/useValueFormatter.js +1 -0
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// 指标库相关内容
|
|
2
|
-
import { formatIndicatorParams } from './src/indicator'
|
|
2
|
+
// import { formatIndicatorParams } from './src/indicator'
|
|
3
3
|
// 通用函数
|
|
4
|
-
import runCode from './src/utils/runCode'
|
|
4
|
+
// import runCode from './src/utils/runCode'
|
|
5
5
|
// 工作台专用
|
|
6
|
-
import useTransformChartDataByAttrKey from './src/hooks/useTransformChartDataByAttrKey'
|
|
7
|
-
import useTransformChartDataByAttrValue from './src/hooks/useTransformChartDataByAttrValue'
|
|
6
|
+
// import useTransformChartDataByAttrKey from './src/hooks/useTransformChartDataByAttrKey'
|
|
7
|
+
// import useTransformChartDataByAttrValue from './src/hooks/useTransformChartDataByAttrValue'
|
|
8
8
|
// import useValueFormatter from './src/hooks/useValueFormatter'
|
|
9
|
-
import useVariablesInText from './src/hooks/useVariablesInText'
|
|
10
|
-
import transformProps from './src/utils/transformProps'
|
|
11
|
-
import { getIndicatorParams } from './src/utils/util'
|
|
9
|
+
// import useVariablesInText from './src/hooks/useVariablesInText'
|
|
10
|
+
// import transformProps from './src/utils/transformProps'
|
|
11
|
+
// import { getIndicatorParams } from './src/utils/util'
|
|
12
12
|
|
|
13
13
|
const useValueFormatter = require('./src/hooks/useValueFormatter')
|
|
14
14
|
|
|
@@ -25,11 +25,11 @@ const useValueFormatter = require('./src/hooks/useValueFormatter')
|
|
|
25
25
|
// getIndicatorParams
|
|
26
26
|
// }
|
|
27
27
|
|
|
28
|
-
exports.formatIndicatorParams = formatIndicatorParams
|
|
29
|
-
exports.runCode = runCode
|
|
30
|
-
exports.useTransformChartDataByAttrKey = useTransformChartDataByAttrKey
|
|
31
|
-
exports.useTransformChartDataByAttrValue = useTransformChartDataByAttrValue
|
|
28
|
+
// exports.formatIndicatorParams = formatIndicatorParams
|
|
29
|
+
// exports.runCode = runCode
|
|
30
|
+
// exports.useTransformChartDataByAttrKey = useTransformChartDataByAttrKey
|
|
31
|
+
// exports.useTransformChartDataByAttrValue = useTransformChartDataByAttrValue
|
|
32
32
|
exports.useValueFormatter = useValueFormatter
|
|
33
|
-
exports.useVariablesInText = useVariablesInText
|
|
34
|
-
exports.transformProps = transformProps
|
|
35
|
-
exports.getIndicatorParams = getIndicatorParams
|
|
33
|
+
// exports.useVariablesInText = useVariablesInText
|
|
34
|
+
// exports.transformProps = transformProps
|
|
35
|
+
// exports.getIndicatorParams = getIndicatorParams
|
package/package.json
CHANGED