ebaoferc 0.3.2 → 0.3.3

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 (29) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +43 -43
  3. package/dist/components/FlexRowCol/index.js +1 -3
  4. package/dist/components/ImageViewTrigger/index.d.ts +4 -0
  5. package/dist/components/ImageViewTrigger/index.js +14 -6
  6. package/dist/components/ImageViewTrigger/index.less +25 -25
  7. package/dist/components/MindGraph/core/graphic/drag.js +15 -15
  8. package/dist/components/MindGraph/core/graphic/index.js +105 -105
  9. package/dist/components/MindGraph/core/helper/depth-first-walk-tree.js +4 -4
  10. package/dist/components/MindGraph/core/helper/descendant.js +3 -3
  11. package/dist/components/MindGraph/core/helper/get-layout-calc-children.js +6 -6
  12. package/dist/components/MindGraph/core/helper/judge-if-all-child-fold.js +4 -4
  13. package/dist/components/MindGraph/core/helper/judge-if-heir-and-fold.js +6 -6
  14. package/dist/components/MindGraph/core/helper/judge-if-visual-leaf.js +3 -3
  15. package/dist/components/MindGraph/core/index.d.ts +2 -6
  16. package/dist/components/MindGraph/core/index.js +26 -26
  17. package/dist/components/MindGraph/core/process/layout/structured/get-node-cross-boundary.js +7 -7
  18. package/dist/components/MindGraph/core/process/layout/type.js +20 -20
  19. package/dist/components/MindGraph/core/process/visible.js +3 -3
  20. package/dist/components/MindGraph/react/component/index.module.less +71 -71
  21. package/dist/components/MindGraph/react/scrollbar/axis/index.module.less +47 -47
  22. package/dist/components/QueryProCard/index.less +9 -9
  23. package/dist/components/SectionTitleBar/index.less +31 -31
  24. package/dist/components/SliderVerify/style.module.less +119 -119
  25. package/dist/components/StyledQueryFilter/index.less +34 -34
  26. package/dist/components/StyledTable/index.less +17 -17
  27. package/dist/components/ThemeStatusTag/index.less +11 -11
  28. package/dist/utils/format/index.js +14 -14
  29. package/package.json +100 -100
@@ -1,72 +1,72 @@
1
- .viewport,.root{
2
- width: 100%;
3
- height: 100%;
4
- position: relative;
5
- overflow: hidden;
6
- }
7
-
8
- .viewport{
9
- &--drag-move{
10
- cursor: pointer;
11
- }
12
- }
13
-
14
- .container{
15
- position: relative;
16
- }
17
-
18
- .nodes{
19
- position: relative;
20
- }
21
-
22
- .node-wrapper{
23
- position: absolute;
24
- top: 0;
25
- left: 0;
26
- }
27
-
28
- .drag-mirror-node{
29
- cursor: pointer;
30
- }
31
-
32
- .temporary-line{
33
- position: absolute;
34
- pointer-events: none;
35
- }
36
-
37
- // default set
38
- .node-wrapper--dragging{
39
- &>*{
40
- outline: 2px solid #c04851;
41
- }
42
- }
43
-
44
- // default set
45
- .node-wrapper--attached{
46
- &>*{
47
- outline: 2px solid #2775b6;
48
- }
49
- }
50
-
51
- // default set
52
- .drag-mirror-node{
53
- opacity: 0.6;
54
-
55
- &>*{
56
- outline: 2px solid #2775b6;
57
- }
58
- }
59
-
60
- :global{
61
- // default set
62
- .mind {
63
- &__lines{
64
- stroke: #2775b6;
65
- stroke-width: 3px;
66
- }
67
-
68
- &__temporary-line{
69
- opacity: 0.6;
70
- }
71
- }
1
+ .viewport,.root{
2
+ width: 100%;
3
+ height: 100%;
4
+ position: relative;
5
+ overflow: hidden;
6
+ }
7
+
8
+ .viewport{
9
+ &--drag-move{
10
+ cursor: pointer;
11
+ }
12
+ }
13
+
14
+ .container{
15
+ position: relative;
16
+ }
17
+
18
+ .nodes{
19
+ position: relative;
20
+ }
21
+
22
+ .node-wrapper{
23
+ position: absolute;
24
+ top: 0;
25
+ left: 0;
26
+ }
27
+
28
+ .drag-mirror-node{
29
+ cursor: pointer;
30
+ }
31
+
32
+ .temporary-line{
33
+ position: absolute;
34
+ pointer-events: none;
35
+ }
36
+
37
+ // default set
38
+ .node-wrapper--dragging{
39
+ &>*{
40
+ outline: 2px solid #c04851;
41
+ }
42
+ }
43
+
44
+ // default set
45
+ .node-wrapper--attached{
46
+ &>*{
47
+ outline: 2px solid #2775b6;
48
+ }
49
+ }
50
+
51
+ // default set
52
+ .drag-mirror-node{
53
+ opacity: 0.6;
54
+
55
+ &>*{
56
+ outline: 2px solid #2775b6;
57
+ }
58
+ }
59
+
60
+ :global{
61
+ // default set
62
+ .mind {
63
+ &__lines{
64
+ stroke: #2775b6;
65
+ stroke-width: 3px;
66
+ }
67
+
68
+ &__temporary-line{
69
+ opacity: 0.6;
70
+ }
71
+ }
72
72
  }
@@ -1,48 +1,48 @@
1
- @size: 8px;
2
- @border-radius: 4px;
3
- @active-background: #7a7374;
4
-
5
- .axis{
6
- position: absolute;
7
-
8
- .thumb{
9
- position: absolute;
10
- left: 0;
11
- top: 0;
12
- border-radius: @border-radius;
13
- // 大理石灰
14
- background: #c4cbcf;
15
-
16
- &:hover{
17
- background: @active-background;
18
- }
19
- }
20
-
21
- &--active{
22
- .thumb{
23
- background: @active-background;
24
- }
25
- }
26
-
27
- &--y{
28
- right: 0;
29
- top: 0;
30
- height: 100%;
31
- width: @size;
32
-
33
- .thumb{
34
- width: 100%;
35
- }
36
- }
37
-
38
- &--x{
39
- left: 0;
40
- bottom: 0;
41
- width: 100%;
42
- height: @size;
43
-
44
- .thumb{
45
- height: 100%;
46
- }
47
- }
1
+ @size: 8px;
2
+ @border-radius: 4px;
3
+ @active-background: #7a7374;
4
+
5
+ .axis{
6
+ position: absolute;
7
+
8
+ .thumb{
9
+ position: absolute;
10
+ left: 0;
11
+ top: 0;
12
+ border-radius: @border-radius;
13
+ // 大理石灰
14
+ background: #c4cbcf;
15
+
16
+ &:hover{
17
+ background: @active-background;
18
+ }
19
+ }
20
+
21
+ &--active{
22
+ .thumb{
23
+ background: @active-background;
24
+ }
25
+ }
26
+
27
+ &--y{
28
+ right: 0;
29
+ top: 0;
30
+ height: 100%;
31
+ width: @size;
32
+
33
+ .thumb{
34
+ width: 100%;
35
+ }
36
+ }
37
+
38
+ &--x{
39
+ left: 0;
40
+ bottom: 0;
41
+ width: 100%;
42
+ height: @size;
43
+
44
+ .thumb{
45
+ height: 100%;
46
+ }
47
+ }
48
48
  }
@@ -1,9 +1,9 @@
1
- .custom-filter-card-container-wrapper {
2
- .ant-pro-card-body {
3
- padding-bottom: 0 !important;
4
- }
5
-
6
- .ant-form-item {
7
- margin-bottom: 16px;
8
- }
9
- }
1
+ .custom-filter-card-container-wrapper {
2
+ .ant-pro-card-body {
3
+ padding-bottom: 0 !important;
4
+ }
5
+
6
+ .ant-form-item {
7
+ margin-bottom: 16px;
8
+ }
9
+ }
@@ -1,31 +1,31 @@
1
- .section-title-bar {
2
- display: flex;
3
- align-items: center;
4
- gap: 8px;
5
- margin-bottom: 0;
6
-
7
- .title-wrapper {
8
- overflow: hidden;
9
- // text-overflow: ellipsis;
10
- // white-space: nowrap;
11
-
12
- font-size: 16px;
13
- font-weight: bold;
14
- }
15
-
16
- .center-tools {
17
- flex-grow: 1;
18
- display: flex;
19
- align-items: center;
20
- flex-wrap: wrap;
21
- gap: 8px;
22
- }
23
-
24
- .right-tools {
25
- display: flex;
26
- align-items: center;
27
- flex-shrink: 0;
28
- // flex-wrap: wrap;
29
- gap: 8px;
30
- }
31
- }
1
+ .section-title-bar {
2
+ display: flex;
3
+ align-items: center;
4
+ gap: 8px;
5
+ margin-bottom: 0;
6
+
7
+ .title-wrapper {
8
+ overflow: hidden;
9
+ // text-overflow: ellipsis;
10
+ // white-space: nowrap;
11
+
12
+ font-size: 16px;
13
+ font-weight: bold;
14
+ }
15
+
16
+ .center-tools {
17
+ flex-grow: 1;
18
+ display: flex;
19
+ align-items: center;
20
+ flex-wrap: wrap;
21
+ gap: 8px;
22
+ }
23
+
24
+ .right-tools {
25
+ display: flex;
26
+ align-items: center;
27
+ flex-shrink: 0;
28
+ // flex-wrap: wrap;
29
+ gap: 8px;
30
+ }
31
+ }
@@ -1,119 +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
- 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
+ .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,34 +1,34 @@
1
- .custom-styled-query-filter {
2
- display: flex;
3
- justify-content: space-between;
4
- column-gap: 16px;
5
-
6
- &__form {
7
- flex: 1;
8
- }
9
-
10
- &__right {
11
- display: flex;
12
- flex-direction: column;
13
- justify-content: space-between;
14
- align-items: flex-end;
15
-
16
- .ant-btn-link {
17
- padding-right: 0;
18
- margin-bottom: 28px;
19
- }
20
- }
21
-
22
- &__submitter {
23
- display: flex;
24
- column-gap: 8px;
25
- }
26
-
27
- .ant-form-item-no-colon {
28
- margin-right: 10px;
29
-
30
- &::after {
31
- display: none;
32
- }
33
- }
34
- }
1
+ .custom-styled-query-filter {
2
+ display: flex;
3
+ justify-content: space-between;
4
+ column-gap: 16px;
5
+
6
+ &__form {
7
+ flex: 1;
8
+ }
9
+
10
+ &__right {
11
+ display: flex;
12
+ flex-direction: column;
13
+ justify-content: space-between;
14
+ align-items: flex-end;
15
+
16
+ .ant-btn-link {
17
+ padding-right: 0;
18
+ margin-bottom: 28px;
19
+ }
20
+ }
21
+
22
+ &__submitter {
23
+ display: flex;
24
+ column-gap: 8px;
25
+ }
26
+
27
+ .ant-form-item-no-colon {
28
+ margin-right: 10px;
29
+
30
+ &::after {
31
+ display: none;
32
+ }
33
+ }
34
+ }
@@ -1,17 +1,17 @@
1
- .styled-table-row {
2
- td {
3
- padding: 12.67px 16px !important;
4
- }
5
-
6
- &:hover {
7
- td {
8
- background-color: #f0f0f0 !important;
9
- }
10
- }
11
- }
12
-
13
- .styled-table-zebra-stripe {
14
- td {
15
- background: #f9f9f9 !important;
16
- }
17
- }
1
+ .styled-table-row {
2
+ td {
3
+ padding: 12.67px 16px !important;
4
+ }
5
+
6
+ &:hover {
7
+ td {
8
+ background-color: #f0f0f0 !important;
9
+ }
10
+ }
11
+ }
12
+
13
+ .styled-table-zebra-stripe {
14
+ td {
15
+ background: #f9f9f9 !important;
16
+ }
17
+ }
@@ -1,11 +1,11 @@
1
- .theme-status-tag {
2
- display: flex;
3
- align-items: center;
4
- gap: 4px;
5
-
6
- .circle {
7
- width: 7px;
8
- height: 7px;
9
- border-radius: 50%;
10
- }
11
- }
1
+ .theme-status-tag {
2
+ display: flex;
3
+ align-items: center;
4
+ gap: 4px;
5
+
6
+ .circle {
7
+ width: 7px;
8
+ height: 7px;
9
+ border-radius: 50%;
10
+ }
11
+ }