@zgfe/modules-page 1.0.17-zhongyuan.0 → 1.0.17-zhongyuan.14

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 (30) hide show
  1. package/README.md +35 -35
  2. package/dist/esm/components/content/index.js +8 -2
  3. package/dist/esm/components/content/index.less +6 -0
  4. package/dist/esm/components/content/utils.js +4 -4
  5. package/dist/esm/components/detail/index.js +6 -6
  6. package/dist/esm/components/detail/index.less +80 -80
  7. package/dist/esm/components/groupModal/demo.js +1 -1
  8. package/dist/esm/components/groupModal/index.js +8 -8
  9. package/dist/esm/components/groupModal/index.less +198 -198
  10. package/dist/esm/components/groupModal/inputSelect.js +1 -1
  11. package/dist/esm/components/groupModal/pageItem.js +6 -6
  12. package/dist/esm/components/groupModal/types.js +1 -2
  13. package/dist/esm/components/pageSelect/index.js +6 -6
  14. package/dist/esm/components/pageSelect/index.less +109 -109
  15. package/dist/esm/components/pageSelect/types.js +1 -2
  16. package/dist/esm/components/searchPanel/index.js +11 -2
  17. package/dist/esm/components/searchPanel/index.less +33 -33
  18. package/dist/esm/components/searchPanel/util.js +4 -4
  19. package/dist/esm/components/topContent/index.js +1 -1
  20. package/dist/esm/components/topContent/index.less +10 -10
  21. package/dist/esm/modules/empty/index.js +2 -2
  22. package/dist/esm/modules/empty/index.less +95 -95
  23. package/dist/esm/modules/home/demo/index.js +22 -2
  24. package/dist/esm/modules/home/index.d.ts +4 -1
  25. package/dist/esm/modules/home/index.js +49 -16
  26. package/dist/esm/modules/home/style/index.less +59 -59
  27. package/dist/esm/modules/home/types.d.ts +2 -0
  28. package/dist/esm/modules/home/types.js +2 -2
  29. package/dist/esm/modules/home/utils.js +5 -5
  30. package/package.json +5 -2
@@ -1,109 +1,109 @@
1
- @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
-
3
- .page-select {
4
- &-panel {
5
- display: flex;
6
- align-items: center;
7
- padding: 4px 24px;
8
-
9
- &:hover {
10
- background: #e8efff;
11
- }
12
- &-type {
13
- width: 184px;
14
- margin-right: 16px;
15
- }
16
-
17
- &-page {
18
- min-width: 184px;
19
- margin-right: 16px;
20
- }
21
-
22
- &-icon {
23
- font-size: 20px !important;
24
- .__icon();
25
- }
26
- }
27
- .biz-attr-condition-group {
28
- margin-top: 12px;
29
- }
30
- .biz-select-option {
31
- height: auto;
32
- &.active {
33
- .page-select-select-option-content {
34
- color: #fff;
35
- }
36
- }
37
- }
38
- &-select-option {
39
- width: 100%;
40
- padding: 6px 0;
41
-
42
- &:hover .page-select-select-option-content {
43
- color: @primary-color;
44
- }
45
- &-title {
46
- line-height: 20px;
47
- .__default-overflow();
48
- }
49
-
50
- &-content {
51
- color: #67727f;
52
- font-size: 12px;
53
- line-height: 16px;
54
- .__default-overflow();
55
- }
56
- }
57
-
58
- &-handle {
59
- display: flex;
60
- flex-direction: row;
61
- width: 184px;
62
- height: 32px;
63
- margin-right: @margin-md;
64
- padding: 0 @padding-xs;
65
- line-height: 32px;
66
- .__select-handle();
67
- }
68
- &-val {
69
- flex: 1;
70
- overflow: hidden;
71
- white-space: nowrap;
72
- text-overflow: ellipsis;
73
- }
74
- &-icon {
75
- flex: none;
76
- color: #5f6085;
77
- }
78
- &-overlay {
79
- .__select-panel();
80
- width: 400px;
81
- }
82
- &-search {
83
- margin-bottom: @margin-xs;
84
- }
85
- &-opt {
86
- .__select-option();
87
- height: 48px;
88
- padding: 6px @padding-xs;
89
- line-height: normal;
90
- &.active {
91
- .page-select-url {
92
- color: #fff;
93
- }
94
- }
95
- }
96
- &-tle {
97
- line-height: 20px;
98
- }
99
- &-url {
100
- color: #67727f;
101
- font-size: 12px;
102
- line-height: 16px;
103
- }
104
- &-tle,
105
- &-url {
106
- overflow: hidden;
107
- text-overflow: ellipsis;
108
- }
109
- }
1
+ @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
+
3
+ .page-select {
4
+ &-panel {
5
+ display: flex;
6
+ align-items: center;
7
+ padding: 4px 24px;
8
+
9
+ &:hover {
10
+ background: #e8efff;
11
+ }
12
+ &-type {
13
+ width: 184px;
14
+ margin-right: 16px;
15
+ }
16
+
17
+ &-page {
18
+ min-width: 184px;
19
+ margin-right: 16px;
20
+ }
21
+
22
+ &-icon {
23
+ font-size: 20px !important;
24
+ .__icon();
25
+ }
26
+ }
27
+ .biz-attr-condition-group {
28
+ margin-top: 12px;
29
+ }
30
+ .biz-select-option {
31
+ height: auto;
32
+ &.active {
33
+ .page-select-select-option-content {
34
+ color: #fff;
35
+ }
36
+ }
37
+ }
38
+ &-select-option {
39
+ width: 100%;
40
+ padding: 6px 0;
41
+
42
+ &:hover .page-select-select-option-content {
43
+ color: @primary-color;
44
+ }
45
+ &-title {
46
+ line-height: 20px;
47
+ .__default-overflow();
48
+ }
49
+
50
+ &-content {
51
+ color: #67727f;
52
+ font-size: 12px;
53
+ line-height: 16px;
54
+ .__default-overflow();
55
+ }
56
+ }
57
+
58
+ &-handle {
59
+ display: flex;
60
+ flex-direction: row;
61
+ width: 184px;
62
+ height: 32px;
63
+ margin-right: @margin-md;
64
+ padding: 0 @padding-xs;
65
+ line-height: 32px;
66
+ .__select-handle();
67
+ }
68
+ &-val {
69
+ flex: 1;
70
+ overflow: hidden;
71
+ white-space: nowrap;
72
+ text-overflow: ellipsis;
73
+ }
74
+ &-icon {
75
+ flex: none;
76
+ color: #5f6085;
77
+ }
78
+ &-overlay {
79
+ .__select-panel();
80
+ width: 400px;
81
+ }
82
+ &-search {
83
+ margin-bottom: @margin-xs;
84
+ }
85
+ &-opt {
86
+ .__select-option();
87
+ height: 48px;
88
+ padding: 6px @padding-xs;
89
+ line-height: normal;
90
+ &.active {
91
+ .page-select-url {
92
+ color: #fff;
93
+ }
94
+ }
95
+ }
96
+ &-tle {
97
+ line-height: 20px;
98
+ }
99
+ &-url {
100
+ color: #67727f;
101
+ font-size: 12px;
102
+ line-height: 16px;
103
+ }
104
+ &-tle,
105
+ &-url {
106
+ overflow: hidden;
107
+ text-overflow: ellipsis;
108
+ }
109
+ }
@@ -1,2 +1 @@
1
- export var PageSelectTypes;
2
- (function (_PageSelectTypes) {})(PageSelectTypes || (PageSelectTypes = {}));
1
+ export var PageSelectTypes;
@@ -2,7 +2,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
2
2
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
3
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
4
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
7
  import { Form, Skeleton } from 'antd';
8
8
  import React, { useEffect, useRef, useState } from 'react';
@@ -58,6 +58,15 @@ var SearchPanel = /*#__PURE__*/React.forwardRef(function (props, ref) {
58
58
  groupRef.current.add(true);
59
59
  }, 0);
60
60
  };
61
+
62
+ // useEffect(() => {
63
+ // if (isAppAnalysis) {
64
+ // setTimeout(() => {
65
+ // groupRef.current.add(true);
66
+ // }, 0);
67
+ // }
68
+ // }, []);
69
+
61
70
  return /*#__PURE__*/React.createElement("div", {
62
71
  className: classPrefix
63
72
  }, /*#__PURE__*/React.createElement(Skeleton, {
@@ -81,7 +90,7 @@ var SearchPanel = /*#__PURE__*/React.forwardRef(function (props, ref) {
81
90
  ref: ref
82
91
  }, /*#__PURE__*/React.createElement(Form.Item, {
83
92
  className: "".concat(classPrefix, "-title")
84
- }, " \u9875\u9762 "), /*#__PURE__*/React.createElement(Form.Item, {
93
+ }, " \u9875\u9762"), /*#__PURE__*/React.createElement(Form.Item, {
85
94
  className: "".concat(classPrefix, "-item2"),
86
95
  name: "page"
87
96
  }, /*#__PURE__*/React.createElement(PageSelect, {
@@ -1,33 +1,33 @@
1
- @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
-
3
- .page-search-panel {
4
- &-title.ant-form-item {
5
- margin-bottom: 8px;
6
- padding-left: 24px;
7
- color: @text-color-secondary;
8
- font-weight: 500;
9
- .ant-form-item-control-input {
10
- min-height: 20px;
11
- .ant-form-item-control-input-content {
12
- height: 20px;
13
- }
14
- }
15
- }
16
-
17
- &-item3.ant-form-item:not(.page-search-panel-hidden) {
18
- margin-bottom: 20px;
19
- }
20
- &-item1.ant-form-item {
21
- margin-bottom: 20px !important;
22
- }
23
- &-item2.ant-form-item {
24
- margin-bottom: 4px !important;
25
- }
26
-
27
- &-hidden.ant-form-item {
28
- margin-bottom: 16px;
29
- .ant-form-item-control-input {
30
- min-height: 0;
31
- }
32
- }
33
- }
1
+ @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
+
3
+ .page-search-panel {
4
+ &-title.ant-form-item {
5
+ margin-bottom: 8px;
6
+ padding-left: 24px;
7
+ color: @text-color-secondary;
8
+ font-weight: 500;
9
+ .ant-form-item-control-input {
10
+ min-height: 20px;
11
+ .ant-form-item-control-input-content {
12
+ height: 20px;
13
+ }
14
+ }
15
+ }
16
+
17
+ &-item3.ant-form-item:not(.page-search-panel-hidden) {
18
+ margin-bottom: 20px;
19
+ }
20
+ &-item1.ant-form-item {
21
+ margin-bottom: 20px !important;
22
+ }
23
+ &-item2.ant-form-item {
24
+ margin-bottom: 4px !important;
25
+ }
26
+
27
+ &-hidden.ant-form-item {
28
+ margin-bottom: 16px;
29
+ .ant-form-item-control-input {
30
+ min-height: 0;
31
+ }
32
+ }
33
+ }
@@ -28,10 +28,10 @@ export var formatValue = function formatValue(source) {
28
28
  };
29
29
  };
30
30
 
31
- /**
32
- * 筛选条件当未选择值时,不查询
33
- * @param filters 筛选条件数组
34
- * @returns
31
+ /**
32
+ * 筛选条件当未选择值时,不查询
33
+ * @param filters 筛选条件数组
34
+ * @returns
35
35
  */
36
36
  function getConditionList(filters) {
37
37
  if (!filters || !filters.conditions) return;
@@ -2,7 +2,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
2
2
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
3
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
4
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
7
  import React, { useEffect, useState, useContext } from 'react';
8
8
  import "./index.less";
@@ -1,10 +1,10 @@
1
- .top-content {
2
- display: flex;
3
- justify-content: space-between;
4
- font-size: 14px;
5
- .ant-btn {
6
- .bsicon {
7
- margin-right: 8px;
8
- }
9
- }
10
- }
1
+ .top-content {
2
+ display: flex;
3
+ justify-content: space-between;
4
+ font-size: 14px;
5
+ .ant-btn {
6
+ .bsicon {
7
+ margin-right: 8px;
8
+ }
9
+ }
10
+ }
@@ -10,9 +10,9 @@ var EmptyPanel = function EmptyPanel() {
10
10
  };
11
11
  // 复制
12
12
  var onCopy = function onCopy() {
13
- var _navigator, _navigator$clipboard;
13
+ var _navigator;
14
14
  var codeNode = " window.".concat(jsSdkName, ".load('").concat(currentApp.appKey, "', {\n autoTrack: true, //\u5168\u57CB\u70B9\u5F00\u5173\n singlePage: false //\u662F\u5426\u4E3A\u5355\u9875\u9762\u5E94\u7528 \u9ED8\u8BA4\u4E3Afalse\n });");
15
- (_navigator = navigator) === null || _navigator === void 0 ? void 0 : (_navigator$clipboard = _navigator.clipboard) === null || _navigator$clipboard === void 0 ? void 0 : _navigator$clipboard.writeText(codeNode).catch(function () {
15
+ (_navigator = navigator) === null || _navigator === void 0 || (_navigator = _navigator.clipboard) === null || _navigator === void 0 || _navigator.writeText(codeNode).catch(function () {
16
16
  var el = document.createElement('textarea');
17
17
  el.value = codeNode;
18
18
  document.body.appendChild(el);
@@ -1,95 +1,95 @@
1
- .empty-panel {
2
- display: flex;
3
- align-items: center;
4
- justify-content: space-between;
5
- width: 100%;
6
- min-width: 850px;
7
- height: 100%;
8
- overflow: auto;
9
- background: url(./img/bg.png);
10
- background-size: cover;
11
- &-content {
12
- width: 406px;
13
- margin-left: 136px;
14
- p {
15
- color: #9aa1a9;
16
- font-size: 14px;
17
- }
18
- }
19
- &-content2 {
20
- width: 400px;
21
- p {
22
- margin-bottom: 0;
23
- }
24
- }
25
- &-title {
26
- margin-bottom: 24px;
27
- font-weight: 500;
28
- font-size: 28px;
29
- }
30
- &-title-secondary {
31
- margin-top: 24px;
32
- margin-bottom: 8px;
33
- font-weight: 500;
34
- font-size: 16px;
35
- }
36
-
37
- &-code-container {
38
- position: relative;
39
- height: 200px;
40
- margin: 8px 0;
41
- padding: 16px;
42
- background: #fafafb;
43
- border-radius: 8px;
44
- &:hover {
45
- .empty-panel-code-copy {
46
- display: flex;
47
- }
48
- }
49
-
50
- & > div:not(.empty-panel-code-copy) {
51
- color: #354354;
52
- font-size: 14px;
53
- line-height: 22px;
54
- word-wrap: break-word;
55
- span {
56
- margin-left: 8px;
57
- color: #9aa1a9;
58
- }
59
- }
60
- }
61
- &-code {
62
- margin-left: 16px;
63
- }
64
- &-code-copy {
65
- position: absolute;
66
- top: 16px;
67
- right: 16px;
68
- display: flex;
69
- display: none;
70
- align-items: center;
71
- height: 24px;
72
- padding: 0 8px;
73
- background: #f2f3f4;
74
- border-radius: 4px;
75
- cursor: pointer;
76
- &:hover {
77
- background: #e6e7ea;
78
- }
79
- &:focus {
80
- background-color: #ccd0d4;
81
- }
82
-
83
- span {
84
- margin-right: 8px;
85
- margin-left: 0 !important;
86
- font-size: 16px !important;
87
- line-height: 1;
88
- }
89
- }
90
-
91
- &-img {
92
- height: 100%;
93
- // max-width: 50%;
94
- }
95
- }
1
+ .empty-panel {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: space-between;
5
+ width: 100%;
6
+ min-width: 850px;
7
+ height: 100%;
8
+ overflow: auto;
9
+ background: url(./img/bg.png);
10
+ background-size: cover;
11
+ &-content {
12
+ width: 406px;
13
+ margin-left: 136px;
14
+ p {
15
+ color: #9aa1a9;
16
+ font-size: 14px;
17
+ }
18
+ }
19
+ &-content2 {
20
+ width: 400px;
21
+ p {
22
+ margin-bottom: 0;
23
+ }
24
+ }
25
+ &-title {
26
+ margin-bottom: 24px;
27
+ font-weight: 500;
28
+ font-size: 28px;
29
+ }
30
+ &-title-secondary {
31
+ margin-top: 24px;
32
+ margin-bottom: 8px;
33
+ font-weight: 500;
34
+ font-size: 16px;
35
+ }
36
+
37
+ &-code-container {
38
+ position: relative;
39
+ height: 200px;
40
+ margin: 8px 0;
41
+ padding: 16px;
42
+ background: #fafafb;
43
+ border-radius: 8px;
44
+ &:hover {
45
+ .empty-panel-code-copy {
46
+ display: flex;
47
+ }
48
+ }
49
+
50
+ & > div:not(.empty-panel-code-copy) {
51
+ color: #354354;
52
+ font-size: 14px;
53
+ line-height: 22px;
54
+ word-wrap: break-word;
55
+ span {
56
+ margin-left: 8px;
57
+ color: #9aa1a9;
58
+ }
59
+ }
60
+ }
61
+ &-code {
62
+ margin-left: 16px;
63
+ }
64
+ &-code-copy {
65
+ position: absolute;
66
+ top: 16px;
67
+ right: 16px;
68
+ display: flex;
69
+ display: none;
70
+ align-items: center;
71
+ height: 24px;
72
+ padding: 0 8px;
73
+ background: #f2f3f4;
74
+ border-radius: 4px;
75
+ cursor: pointer;
76
+ &:hover {
77
+ background: #e6e7ea;
78
+ }
79
+ &:focus {
80
+ background-color: #ccd0d4;
81
+ }
82
+
83
+ span {
84
+ margin-right: 8px;
85
+ margin-left: 0 !important;
86
+ font-size: 16px !important;
87
+ line-height: 1;
88
+ }
89
+ }
90
+
91
+ &-img {
92
+ height: 100%;
93
+ // max-width: 50%;
94
+ }
95
+ }
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { useEffect, useRef } from 'react';
2
2
  import { ModulesPage } from '@zgfe/modules-page';
3
3
  import { DemoWrapper } from '@zgfe/business-lib';
4
4
  // const defaultValue = {
@@ -61,6 +61,24 @@ export default (function () {
61
61
  var onChange = function onChange(data) {
62
62
  console.log('onChange:', data);
63
63
  };
64
+ var pageDeta = useRef(null);
65
+ useEffect(function () {
66
+ setTimeout(function () {
67
+ console.log(pageDeta.current.searchFn({
68
+ appId: 1,
69
+ module: 'page',
70
+ pageTitle: '数据分析',
71
+ pageUrl: 'file:///C:/Users/Administrator/Desktop/index.html',
72
+ platform: 3,
73
+ time: {
74
+ unit: 'day',
75
+ end: '2025-09-19',
76
+ begin: '2025-09-16'
77
+ },
78
+ userGroup: [0]
79
+ }), 'pageDeta');
80
+ }, 1000);
81
+ }, []);
64
82
  return /*#__PURE__*/React.createElement(DemoWrapper, {
65
83
  needMeta: true,
66
84
  defaultApp: 2
@@ -70,7 +88,9 @@ export default (function () {
70
88
  overflow: 'auto'
71
89
  }
72
90
  }, /*#__PURE__*/React.createElement(ModulesPage, {
91
+ ref: pageDeta,
73
92
  onClickWarn: onClickWarn,
74
- onChange: onChange
93
+ onChange: onChange,
94
+ isAppAnalysis: true
75
95
  })));
76
96
  });
@@ -1,5 +1,8 @@
1
1
  import React from 'react';
2
2
  import './style/index.less';
3
3
  import { ModulesPageTypes } from './types';
4
- declare const ModulesPage: React.FC<ModulesPageTypes.Props>;
4
+ export type MyRefType = {
5
+ searchFn: Function | null;
6
+ };
7
+ declare const ModulesPage: React.ForwardRefExoticComponent<ModulesPageTypes.Props & React.RefAttributes<MyRefType>>;
5
8
  export default ModulesPage;