@zgfe/modules-dm 1.0.12 → 1.0.13
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.
|
@@ -2,7 +2,11 @@ import React from 'react';
|
|
|
2
2
|
import './styles/index.less';
|
|
3
3
|
interface DataManageProps {
|
|
4
4
|
updateEventMetas: Function;
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* 是否展示埋点方案
|
|
7
|
+
* default: true
|
|
8
|
+
*/
|
|
9
|
+
showPlan?: boolean;
|
|
6
10
|
}
|
|
7
11
|
declare const DataManage: React.FC<DataManageProps>;
|
|
8
12
|
export default DataManage;
|
|
@@ -92,4 +92,7 @@ var DataManage = function DataManage(props) {
|
|
|
92
92
|
className: "dmcontent ".concat(collapsed && 'dmcontent-collapsed')
|
|
93
93
|
}, listTab == '0' && /*#__PURE__*/React.createElement(DataCollection, null), listTab == '1' && /*#__PURE__*/React.createElement(PlanList, null))));
|
|
94
94
|
};
|
|
95
|
+
DataManage.defaultProps = {
|
|
96
|
+
showPlan: true
|
|
97
|
+
};
|
|
95
98
|
export default DataManage;
|
|
@@ -1,19 +1,4 @@
|
|
|
1
1
|
@import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
|
-
|
|
3
|
-
.__dumi-default-layout-content {
|
|
4
|
-
position: absolute;
|
|
5
|
-
top: 0;
|
|
6
|
-
left: 0;
|
|
7
|
-
width: 100%;
|
|
8
|
-
.tabs {
|
|
9
|
-
position: absolute !important;
|
|
10
|
-
top: 0 !important;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
.__dumi-default-menu {
|
|
14
|
-
width: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
2
|
.data-manage {
|
|
18
3
|
position: relative;
|
|
19
4
|
display: flex;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
|
+
"license": "ISC",
|
|
4
5
|
"module": "es/index.js",
|
|
5
6
|
"typings": "es/index.d.ts",
|
|
6
|
-
"license": "ISC",
|
|
7
7
|
"files": [
|
|
8
8
|
"es"
|
|
9
9
|
],
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"umi-request": "^1.4.0",
|
|
50
50
|
"yorkie": "^2.0.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "d1b85f5406116bc38292cf2c83231305a76aabe1",
|
|
53
53
|
"gitHooks": {
|
|
54
54
|
"pre-commit": "lint-staged"
|
|
55
55
|
}
|