ebaoferc 0.0.1 → 0.0.2-beta.0
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/dist/{FlexRowCol → components/FlexRowCol}/index.js +1 -1
- package/dist/components/MindGraph/core/default.d.ts +6 -0
- package/dist/components/MindGraph/core/default.js +81 -0
- package/dist/components/MindGraph/core/graphic/drag.d.ts +42 -0
- package/dist/components/MindGraph/core/graphic/drag.js +120 -0
- package/dist/components/MindGraph/core/graphic/index.d.ts +181 -0
- package/dist/components/MindGraph/core/graphic/index.js +423 -0
- package/dist/components/MindGraph/core/graphic/node-translate-to.d.ts +11 -0
- package/dist/components/MindGraph/core/graphic/node-translate-to.js +55 -0
- package/dist/components/MindGraph/core/graphic/zoom.d.ts +17 -0
- package/dist/components/MindGraph/core/graphic/zoom.js +89 -0
- package/dist/components/MindGraph/core/helper/breadth-first-walk-tree.d.ts +5 -0
- package/dist/components/MindGraph/core/helper/breadth-first-walk-tree.js +21 -0
- package/dist/components/MindGraph/core/helper/depth-first-walk-tree.d.ts +10 -0
- package/dist/components/MindGraph/core/helper/depth-first-walk-tree.js +17 -0
- package/dist/components/MindGraph/core/helper/descendant.d.ts +6 -0
- package/dist/components/MindGraph/core/helper/descendant.js +28 -0
- package/dist/components/MindGraph/core/helper/error.d.ts +1 -0
- package/dist/components/MindGraph/core/helper/error.js +3 -0
- package/dist/components/MindGraph/core/helper/get-layout-calc-children.d.ts +10 -0
- package/dist/components/MindGraph/core/helper/get-layout-calc-children.js +37 -0
- package/dist/components/MindGraph/core/helper/get-svg-path-id.d.ts +1 -0
- package/dist/components/MindGraph/core/helper/get-svg-path-id.js +4 -0
- package/dist/components/MindGraph/core/helper/index.d.ts +23 -0
- package/dist/components/MindGraph/core/helper/index.js +26 -0
- package/dist/components/MindGraph/core/helper/judge-if-all-child-fold.d.ts +7 -0
- package/dist/components/MindGraph/core/helper/judge-if-all-child-fold.js +14 -0
- package/dist/components/MindGraph/core/helper/judge-if-heir-and-fold.d.ts +10 -0
- package/dist/components/MindGraph/core/helper/judge-if-heir-and-fold.js +26 -0
- package/dist/components/MindGraph/core/helper/judge-if-visual-leaf.d.ts +6 -0
- package/dist/components/MindGraph/core/helper/judge-if-visual-leaf.js +7 -0
- package/dist/components/MindGraph/core/helper/root-to-node-array.d.ts +2 -0
- package/dist/components/MindGraph/core/helper/root-to-node-array.js +27 -0
- package/dist/components/MindGraph/core/helper/transform-root-to-walkable.d.ts +5 -0
- package/dist/components/MindGraph/core/helper/transform-root-to-walkable.js +32 -0
- package/dist/components/MindGraph/core/helper/with-prefix.d.ts +1 -0
- package/dist/components/MindGraph/core/helper/with-prefix.js +3 -0
- package/dist/components/MindGraph/core/index.d.ts +394 -0
- package/dist/components/MindGraph/core/index.js +86 -0
- package/dist/components/MindGraph/core/process/anchor.d.ts +12 -0
- package/dist/components/MindGraph/core/process/anchor.js +63 -0
- package/dist/components/MindGraph/core/process/index.d.ts +91 -0
- package/dist/components/MindGraph/core/process/index.js +30 -0
- package/dist/components/MindGraph/core/process/layout/dagre.d.ts +2 -0
- package/dist/components/MindGraph/core/process/layout/dagre.js +20 -0
- package/dist/components/MindGraph/core/process/layout/descendant-center.d.ts +10 -0
- package/dist/components/MindGraph/core/process/layout/descendant-center.js +146 -0
- package/dist/components/MindGraph/core/process/layout/heir-center.d.ts +10 -0
- package/dist/components/MindGraph/core/process/layout/heir-center.js +52 -0
- package/dist/components/MindGraph/core/process/layout/index.d.ts +3 -0
- package/dist/components/MindGraph/core/process/layout/index.js +3 -0
- package/dist/components/MindGraph/core/process/layout/structured/calc-drag-attach.d.ts +2 -0
- package/dist/components/MindGraph/core/process/layout/structured/calc-drag-attach.js +172 -0
- package/dist/components/MindGraph/core/process/layout/structured/calc-drop-index.d.ts +2 -0
- package/dist/components/MindGraph/core/process/layout/structured/calc-drop-index.js +38 -0
- package/dist/components/MindGraph/core/process/layout/structured/get-node-cross-boundary.d.ts +10 -0
- package/dist/components/MindGraph/core/process/layout/structured/get-node-cross-boundary.js +35 -0
- package/dist/components/MindGraph/core/process/layout/structured/index.d.ts +13 -0
- package/dist/components/MindGraph/core/process/layout/structured/index.js +321 -0
- package/dist/components/MindGraph/core/process/layout/type.d.ts +44 -0
- package/dist/components/MindGraph/core/process/layout/type.js +51 -0
- package/dist/components/MindGraph/core/process/line.d.ts +9 -0
- package/dist/components/MindGraph/core/process/line.js +69 -0
- package/dist/components/MindGraph/core/process/node-valid.d.ts +6 -0
- package/dist/components/MindGraph/core/process/node-valid.js +35 -0
- package/dist/components/MindGraph/core/process/orientation.d.ts +8 -0
- package/dist/components/MindGraph/core/process/orientation.js +40 -0
- package/dist/components/MindGraph/core/process/size.d.ts +4 -0
- package/dist/components/MindGraph/core/process/size.js +16 -0
- package/dist/components/MindGraph/core/process/visible.d.ts +16 -0
- package/dist/components/MindGraph/core/process/visible.js +99 -0
- package/dist/components/MindGraph/core/render/calc-visible.d.ts +11 -0
- package/dist/components/MindGraph/core/render/calc-visible.js +25 -0
- package/dist/components/MindGraph/core/render/connect/bezier.d.ts +2 -0
- package/dist/components/MindGraph/core/render/connect/bezier.js +12 -0
- package/dist/components/MindGraph/core/render/connect/get-path-render.d.ts +2 -0
- package/dist/components/MindGraph/core/render/connect/get-path-render.js +17 -0
- package/dist/components/MindGraph/core/render/connect/index.d.ts +10 -0
- package/dist/components/MindGraph/core/render/connect/index.js +45 -0
- package/dist/components/MindGraph/core/render/connect/line.d.ts +2 -0
- package/dist/components/MindGraph/core/render/connect/line.js +71 -0
- package/dist/components/MindGraph/core/render/connect/temporary-line.d.ts +15 -0
- package/dist/components/MindGraph/core/render/connect/temporary-line.js +44 -0
- package/dist/components/MindGraph/core/render/index.d.ts +27 -0
- package/dist/components/MindGraph/core/render/index.js +8 -0
- package/dist/components/MindGraph/core/render/layout.d.ts +12 -0
- package/dist/components/MindGraph/core/render/layout.js +85 -0
- package/dist/components/MindGraph/demo.js +54 -0
- package/dist/components/MindGraph/index.d.ts +3 -0
- package/dist/components/MindGraph/index.js +3 -0
- package/dist/components/MindGraph/react/component/index.d.ts +3 -0
- package/dist/components/MindGraph/react/component/index.js +227 -0
- package/dist/components/MindGraph/react/component/index.module.less +72 -0
- package/dist/components/MindGraph/react/component/nodes.d.ts +13 -0
- package/dist/components/MindGraph/react/component/nodes.js +153 -0
- package/dist/components/MindGraph/react/hook/use-drag.d.ts +20 -0
- package/dist/components/MindGraph/react/hook/use-drag.js +191 -0
- package/dist/components/MindGraph/react/hook/use-shadow-state.d.ts +2 -0
- package/dist/components/MindGraph/react/hook/use-shadow-state.js +24 -0
- package/dist/components/MindGraph/react/index.d.ts +154 -0
- package/dist/components/MindGraph/react/index.js +9 -0
- package/dist/components/MindGraph/react/scrollbar/axis/index.d.ts +25 -0
- package/dist/components/MindGraph/react/scrollbar/axis/index.js +143 -0
- package/dist/components/MindGraph/react/scrollbar/axis/index.module.less +48 -0
- package/dist/components/MindGraph/react/scrollbar/index.d.ts +8 -0
- package/dist/components/MindGraph/react/scrollbar/index.js +134 -0
- package/dist/components/MindGraph/react/tools/class-name-wrapper.d.ts +1 -0
- package/dist/components/MindGraph/react/tools/class-name-wrapper.js +5 -0
- package/dist/{SliderVerify → components/SliderVerify}/icons/close.js +0 -1
- package/dist/{SliderVerify → components/SliderVerify}/icons/refresh.js +0 -1
- package/dist/components/SliderVerify/icons/slider.d.ts +1 -0
- package/dist/{SliderVerify → components/SliderVerify}/icons/slider.js +0 -1
- package/dist/{SliderVerify → components/SliderVerify}/style.module.less +119 -121
- package/dist/{StyledQueryFilter → components/StyledQueryFilter}/index.less +22 -22
- package/dist/{StyledTable → components/StyledTable}/index.less +11 -11
- package/dist/{TabSearchTools → components/TabSearchTools}/index.d.ts +2 -2
- package/dist/{TabSearchTools → components/TabSearchTools}/index.js +1 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +6 -0
- package/dist/index.d.ts +3 -5
- package/dist/index.js +3 -5
- package/dist/utils/format/index.js +8 -8
- package/package.json +32 -20
- /package/dist/{FlexRowCol → components/FlexRowCol}/index.d.ts +0 -0
- /package/dist/{SliderVerify/icons/close.d.ts → components/MindGraph/demo.d.ts} +0 -0
- /package/dist/{SliderVerify/icons/refresh.d.ts → components/SliderVerify/icons/close.d.ts} +0 -0
- /package/dist/{SliderVerify/icons/slider.d.ts → components/SliderVerify/icons/refresh.d.ts} +0 -0
- /package/dist/{SliderVerify → components/SliderVerify}/index.d.ts +0 -0
- /package/dist/{SliderVerify → components/SliderVerify}/index.js +0 -0
- /package/dist/{StyledQueryFilter → components/StyledQueryFilter}/index.d.ts +0 -0
- /package/dist/{StyledQueryFilter → components/StyledQueryFilter}/index.js +0 -0
- /package/dist/{StyledTable → components/StyledTable}/index.d.ts +0 -0
- /package/dist/{StyledTable → components/StyledTable}/index.js +0 -0
|
@@ -1,121 +1,119 @@
|
|
|
1
|
-
.slider {
|
|
2
|
-
background-color: #fff;
|
|
3
|
-
width: 278px;
|
|
4
|
-
z-index: 999;
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
padding: 9px;
|
|
7
|
-
border-radius: 6px;
|
|
8
|
-
box-shadow: 0 0 11px 0 #999;
|
|
9
|
-
user-select: none;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.slider .content {
|
|
13
|
-
width: 100%;
|
|
14
|
-
height: 159px;
|
|
15
|
-
position: relative;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.bg-img-div {
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: 100%;
|
|
21
|
-
position: absolute;
|
|
22
|
-
transform: translate(0, 0);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.slider-img-div {
|
|
26
|
-
height: 100%;
|
|
27
|
-
position: absolute;
|
|
28
|
-
transform: translate(0, 0);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.bg-img-div img {
|
|
32
|
-
width: 100%;
|
|
33
|
-
-webkit-user-drag: none;
|
|
34
|
-
-khtml-user-drag: none;
|
|
35
|
-
-moz-user-drag: none;
|
|
36
|
-
-o-user-drag: none;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.slider-img-div img {
|
|
40
|
-
height: 100%;
|
|
41
|
-
-webkit-user-drag: none;
|
|
42
|
-
-khtml-user-drag: none;
|
|
43
|
-
-moz-user-drag: none;
|
|
44
|
-
-o-user-drag: none;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.slider .slider-move {
|
|
48
|
-
width: 100%;
|
|
49
|
-
margin: 11px 0;
|
|
50
|
-
position: relative;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.slider .bottom {
|
|
54
|
-
width: 100%;
|
|
55
|
-
display: flex;
|
|
56
|
-
justify-content: flex-end;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.refresh-btn,
|
|
60
|
-
.close-btn {
|
|
61
|
-
display: inline-block;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.slider-move .slider-move-track {
|
|
65
|
-
line-height: 32px;
|
|
66
|
-
font-size: 14px;
|
|
67
|
-
text-align: center;
|
|
68
|
-
white-space: nowrap;
|
|
69
|
-
color: #88949d;
|
|
70
|
-
user-select: none;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
.
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
margin: 5px;
|
|
121
|
-
}
|
|
1
|
+
.slider {
|
|
2
|
+
background-color: #fff;
|
|
3
|
+
width: 278px;
|
|
4
|
+
z-index: 999;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
padding: 9px;
|
|
7
|
+
border-radius: 6px;
|
|
8
|
+
box-shadow: 0 0 11px 0 #999;
|
|
9
|
+
user-select: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.slider .content {
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 159px;
|
|
15
|
+
position: relative;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.bg-img-div {
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
position: absolute;
|
|
22
|
+
transform: translate(0, 0);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.slider-img-div {
|
|
26
|
+
height: 100%;
|
|
27
|
+
position: absolute;
|
|
28
|
+
transform: translate(0, 0);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.bg-img-div img {
|
|
32
|
+
width: 100%;
|
|
33
|
+
-webkit-user-drag: none;
|
|
34
|
+
-khtml-user-drag: none;
|
|
35
|
+
-moz-user-drag: none;
|
|
36
|
+
-o-user-drag: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.slider-img-div img {
|
|
40
|
+
height: 100%;
|
|
41
|
+
-webkit-user-drag: none;
|
|
42
|
+
-khtml-user-drag: none;
|
|
43
|
+
-moz-user-drag: none;
|
|
44
|
+
-o-user-drag: none;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.slider .slider-move {
|
|
48
|
+
width: 100%;
|
|
49
|
+
margin: 11px 0;
|
|
50
|
+
position: relative;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.slider .bottom {
|
|
54
|
+
width: 100%;
|
|
55
|
+
display: flex;
|
|
56
|
+
justify-content: flex-end;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.refresh-btn,
|
|
60
|
+
.close-btn {
|
|
61
|
+
display: inline-block;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.slider-move .slider-move-track {
|
|
65
|
+
line-height: 32px;
|
|
66
|
+
font-size: 14px;
|
|
67
|
+
text-align: center;
|
|
68
|
+
white-space: nowrap;
|
|
69
|
+
color: #88949d;
|
|
70
|
+
user-select: none;
|
|
71
|
+
border-radius: 20px;
|
|
72
|
+
background: #dfe1e2;
|
|
73
|
+
box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 15%);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.slider-move .slider-move-btn {
|
|
77
|
+
transform: translate(0, 0);
|
|
78
|
+
position: absolute;
|
|
79
|
+
top: -8px;
|
|
80
|
+
left: 0;
|
|
81
|
+
width: 48px;
|
|
82
|
+
height: 48px;
|
|
83
|
+
-webkit-user-drag: none;
|
|
84
|
+
-khtml-user-drag: none;
|
|
85
|
+
-moz-user-drag: none;
|
|
86
|
+
-o-user-drag: none;
|
|
87
|
+
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 30%), inset 0 0 6px 0 rgba(0, 0, 0, 5%);
|
|
88
|
+
background-color: white;
|
|
89
|
+
border-radius: 50%;
|
|
90
|
+
display: flex;
|
|
91
|
+
justify-content: center;
|
|
92
|
+
align-items: center;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.slider-move .slider-move-btn-img {
|
|
96
|
+
-webkit-user-drag: none;
|
|
97
|
+
-khtml-user-drag: none;
|
|
98
|
+
-moz-user-drag: none;
|
|
99
|
+
-o-user-drag: none;
|
|
100
|
+
display: flex;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.slider-move-btn:hover,
|
|
104
|
+
.close-btn:hover,
|
|
105
|
+
.refresh-btn:hover {
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.bottom .close-btn {
|
|
110
|
+
width: 20px;
|
|
111
|
+
height: 20px;
|
|
112
|
+
margin: 5px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.bottom .refresh-btn {
|
|
116
|
+
width: 20px;
|
|
117
|
+
height: 20px;
|
|
118
|
+
margin: 5px;
|
|
119
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
// :where(.css-dev-only-do-not-override-rjkcww).ant-pro-card .ant-pro-card-body {
|
|
2
|
-
// padding-block: 0;
|
|
3
|
-
// }
|
|
4
|
-
:where(.css-dev-only-do-not-override-rjkcww).ant-pro-query-filter:where(
|
|
5
|
-
.css-dev-only-do-not-override-rjkcww
|
|
6
|
-
).ant-pro-query-filter {
|
|
7
|
-
padding: 4px 24px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ant-pro-query-filter.styledQueryFilter {
|
|
11
|
-
padding: 0;
|
|
12
|
-
|
|
13
|
-
.ant-col-offset-12 {
|
|
14
|
-
.ant-form-item-label {
|
|
15
|
-
flex: 0 0 80px !important;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.ant-pro-query-filter-row {
|
|
20
|
-
row-gap: 20px;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
1
|
+
// :where(.css-dev-only-do-not-override-rjkcww).ant-pro-card .ant-pro-card-body {
|
|
2
|
+
// padding-block: 0;
|
|
3
|
+
// }
|
|
4
|
+
:where(.css-dev-only-do-not-override-rjkcww).ant-pro-query-filter:where(
|
|
5
|
+
.css-dev-only-do-not-override-rjkcww
|
|
6
|
+
).ant-pro-query-filter {
|
|
7
|
+
padding: 4px 24px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ant-pro-query-filter.styledQueryFilter {
|
|
11
|
+
padding: 0;
|
|
12
|
+
|
|
13
|
+
.ant-col-offset-12 {
|
|
14
|
+
.ant-form-item-label {
|
|
15
|
+
flex: 0 0 80px !important;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ant-pro-query-filter-row {
|
|
20
|
+
row-gap: 20px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.styledTableBgColor {
|
|
2
|
-
background: #f9f9f9;
|
|
3
|
-
|
|
4
|
-
td {
|
|
5
|
-
background: #f9f9f9 !important;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
:global(.ant-table-cell-row-hover) {
|
|
9
|
-
background: #f0f0f0 !important;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
1
|
+
.styledTableBgColor {
|
|
2
|
+
background: #f9f9f9;
|
|
3
|
+
|
|
4
|
+
td {
|
|
5
|
+
background: #f9f9f9 !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
:global(.ant-table-cell-row-hover) {
|
|
9
|
+
background: #f0f0f0 !important;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -10,6 +10,6 @@ export type TTabSearchToolsProps<T = any> = {
|
|
|
10
10
|
onChange: (activeKey: string) => any;
|
|
11
11
|
tabsProps?: TabsProps;
|
|
12
12
|
};
|
|
13
|
-
export type TTabSearchToolsRef =
|
|
14
|
-
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<TTabSearchToolsProps<any> & import("react").RefAttributes<
|
|
13
|
+
export type TTabSearchToolsRef = any;
|
|
14
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<TTabSearchToolsProps<any> & import("react").RefAttributes<any>>>;
|
|
15
15
|
export default _default;
|
|
@@ -5,7 +5,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import { Tabs } from 'antd';
|
|
8
|
-
import { resolveAlias } from "
|
|
8
|
+
import { resolveAlias } from "../../utils";
|
|
9
9
|
import { forwardRef, memo, useImperativeHandle, useMemo } from 'react';
|
|
10
10
|
|
|
11
11
|
//TabsProps['items'][0];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as FlexRowCol } from './FlexRowCol';
|
|
2
|
+
export { default as SliderVerify } from './SliderVerify';
|
|
3
|
+
export { default as StyledQueryFilter } from './StyledQueryFilter';
|
|
4
|
+
export { default as StyledTable } from './StyledTable';
|
|
5
|
+
export { default as TabSearchTools } from './TabSearchTools';
|
|
6
|
+
export * from './MindGraph';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as FlexRowCol } from "./FlexRowCol";
|
|
2
|
+
export { default as SliderVerify } from "./SliderVerify";
|
|
3
|
+
export { default as StyledQueryFilter } from "./StyledQueryFilter";
|
|
4
|
+
export { default as StyledTable } from "./StyledTable";
|
|
5
|
+
export { default as TabSearchTools } from "./TabSearchTools";
|
|
6
|
+
export * from "./MindGraph";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export { default as StyledTable } from './StyledTable';
|
|
5
|
-
export { default as TabSearchTools } from './TabSearchTools';
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './hooks';
|
|
3
|
+
export * from './utils';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export { default as StyledTable } from "./StyledTable";
|
|
5
|
-
export { default as TabSearchTools } from "./TabSearchTools";
|
|
1
|
+
export * from "./components";
|
|
2
|
+
export * from "./hooks";
|
|
3
|
+
export * from "./utils";
|
|
@@ -13,10 +13,10 @@ export function resolveAlias(obj, aliasMap) {
|
|
|
13
13
|
export function isNullOrUndefined(target) {
|
|
14
14
|
return target === null || target === undefined;
|
|
15
15
|
}
|
|
16
|
-
/**
|
|
17
|
-
* 表格序号
|
|
18
|
-
* @param TableRiwNoType
|
|
19
|
-
* @returns
|
|
16
|
+
/**
|
|
17
|
+
* 表格序号
|
|
18
|
+
* @param TableRiwNoType
|
|
19
|
+
* @returns
|
|
20
20
|
*/
|
|
21
21
|
export function computedTableRowSerialNo(_ref) {
|
|
22
22
|
var pagination = _ref.pagination,
|
|
@@ -30,10 +30,10 @@ export function computedTableRowSerialNo(_ref) {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
/**
|
|
34
|
-
* 对中国手机号进行加密中间四位。
|
|
35
|
-
* @param phoneNumber - 需要加密的手机号
|
|
36
|
-
* @returns 加密后的手机号
|
|
33
|
+
/**
|
|
34
|
+
* 对中国手机号进行加密中间四位。
|
|
35
|
+
* @param phoneNumber - 需要加密的手机号
|
|
36
|
+
* @returns 加密后的手机号
|
|
37
37
|
*/
|
|
38
38
|
export function encryptPhoneNumber(phoneNumber) {
|
|
39
39
|
// 将中间四位替换为星号
|
package/package.json
CHANGED
|
@@ -1,31 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ebaoferc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2-beta.0",
|
|
4
4
|
"description": "A react library developed with dumi",
|
|
5
|
+
"license": "MIT",
|
|
5
6
|
"module": "dist/index.js",
|
|
6
7
|
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
7
11
|
"scripts": {
|
|
8
|
-
"start": "npm run dev",
|
|
9
|
-
"dev": "dumi dev",
|
|
10
12
|
"build": "father build",
|
|
11
13
|
"build:watch": "father dev",
|
|
14
|
+
"dev": "dumi dev",
|
|
12
15
|
"docs:build": "dumi build",
|
|
13
16
|
"docs:preview": "dumi preview",
|
|
14
|
-
"prepare": "husky install && dumi setup",
|
|
15
17
|
"doctor": "father doctor",
|
|
16
18
|
"lint": "npm run lint:es && npm run lint:css",
|
|
17
19
|
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
18
20
|
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"license": "MIT",
|
|
23
|
-
"publishConfig": {
|
|
24
|
-
"access": "public"
|
|
21
|
+
"prepare": "husky install && dumi setup",
|
|
22
|
+
"prepublishOnly": "father doctor && npm run build",
|
|
23
|
+
"start": "npm run dev"
|
|
25
24
|
},
|
|
26
|
-
"files": [
|
|
27
|
-
"dist"
|
|
28
|
-
],
|
|
29
25
|
"commitlint": {
|
|
30
26
|
"extends": [
|
|
31
27
|
"@commitlint/config-conventional"
|
|
@@ -48,24 +44,33 @@
|
|
|
48
44
|
"prettier --parser=typescript --write"
|
|
49
45
|
]
|
|
50
46
|
},
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"d3": "^7.9.0",
|
|
49
|
+
"dagre": "^0.8.5"
|
|
54
50
|
},
|
|
55
51
|
"devDependencies": {
|
|
52
|
+
"@ant-design/icons": "^5.3.7",
|
|
53
|
+
"@ant-design/pro-components": "^2.7.1",
|
|
56
54
|
"@commitlint/cli": "^18.2.0",
|
|
57
55
|
"@commitlint/config-conventional": "^18.1.0",
|
|
58
56
|
"@commitlint/config-pnpm-scopes": "^18.1.0",
|
|
57
|
+
"@types/lodash": "^4.17.7",
|
|
59
58
|
"@types/react": "^18.2.36",
|
|
60
59
|
"@types/react-dom": "^18.2.14",
|
|
61
60
|
"@umijs/lint": "^4.0.87",
|
|
62
61
|
"@umijs/max": "^4.1.10",
|
|
63
62
|
"@vitest/coverage-v8": "^0.34.6",
|
|
63
|
+
"ahooks": "^3.7.10",
|
|
64
|
+
"antd": "^5.17.0",
|
|
65
|
+
"classnames": "^2.5.1",
|
|
66
|
+
"cross-env": "^7.0.3",
|
|
67
|
+
"dayjs": "^1.11.10",
|
|
64
68
|
"dumi": "^2.3.0",
|
|
65
69
|
"eslint": "^8.23.0",
|
|
66
70
|
"father": "^4.1.0",
|
|
67
71
|
"husky": "^8.0.1",
|
|
68
72
|
"lint-staged": "^13.0.3",
|
|
73
|
+
"lodash": "^4.17.21",
|
|
69
74
|
"prettier": "^2.7.1",
|
|
70
75
|
"prettier-plugin-organize-imports": "^3.0.0",
|
|
71
76
|
"prettier-plugin-packagejson": "^2.2.18",
|
|
@@ -73,13 +78,20 @@
|
|
|
73
78
|
"react-dom": "^18.0.0",
|
|
74
79
|
"stylelint": "^14.9.1"
|
|
75
80
|
},
|
|
76
|
-
"
|
|
81
|
+
"peerDependencies": {
|
|
77
82
|
"@ant-design/icons": "^5.3.7",
|
|
78
83
|
"@ant-design/pro-components": "^2.7.1",
|
|
79
84
|
"ahooks": "^3.7.10",
|
|
80
85
|
"antd": "^5.17.0",
|
|
81
86
|
"classnames": "^2.5.1",
|
|
82
87
|
"cross-env": "^7.0.3",
|
|
83
|
-
"dayjs": "^1.11.10"
|
|
84
|
-
|
|
85
|
-
|
|
88
|
+
"dayjs": "^1.11.10",
|
|
89
|
+
"lodash": "^4.17.21",
|
|
90
|
+
"react": ">=16.9.0",
|
|
91
|
+
"react-dom": ">=16.9.0"
|
|
92
|
+
},
|
|
93
|
+
"publishConfig": {
|
|
94
|
+
"access": "public"
|
|
95
|
+
},
|
|
96
|
+
"authors": []
|
|
97
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|