@jetlinks-web/components 2.5.3 → 2.5.5

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 (78) hide show
  1. package/es/AMap/Map.js +1 -1
  2. package/es/CardSelect/CardSelect.js +1 -1
  3. package/es/CheckButton/CheckButton.js +1 -1
  4. package/es/ConfigProvider/index.js +2 -1
  5. package/es/DragModal/DragModal.js +19 -13
  6. package/es/DragModal/style/index.css +1 -0
  7. package/es/DragModal/style/index.less +1 -0
  8. package/es/EditTable/components/Search/search.js +28 -11
  9. package/es/EditTable/components/Search/sort.js +5 -4
  10. package/es/EditTable/style/body.less +8 -8
  11. package/es/EditTable/style/index.css +1 -1
  12. package/es/FullPage/FullPage.js +1 -1
  13. package/es/LocaleReciver/index.js +3 -1
  14. package/es/PermissionButton/index.js +13 -20
  15. package/es/ProTable/Alert.js +3 -3
  16. package/es/ProTable/Pagination.js +17 -1
  17. package/es/RadioButton/RadioButton.js +10 -7
  18. package/es/RadioButton/style/index.js +1 -0
  19. package/es/RadioButton/style/index.less +18 -0
  20. package/es/Search/Advanced/SaveHistory.js +1 -1
  21. package/es/Search/Advanced/index.js +1 -0
  22. package/es/Search/Item.js +1 -1
  23. package/es/Search/Search.js +6 -4
  24. package/es/Title/index.js +5 -0
  25. package/es/ValueItem/ValueItem.js +73 -51
  26. package/es/components.js +3 -2
  27. package/es/locale/en-US.js +3 -0
  28. package/es/locale/zh-CN.js +3 -0
  29. package/es/style/index.css +41 -1
  30. package/es/style/index.less +2 -0
  31. package/es/style.js +3 -1
  32. package/lib/AMap/Map.js +1 -1
  33. package/lib/CardSelect/CardSelect.js +1 -1
  34. package/lib/CheckButton/CheckButton.js +1 -1
  35. package/lib/ConfigProvider/index.js +2 -1
  36. package/lib/DragModal/DragModal.js +19 -13
  37. package/lib/DragModal/style/index.css +1 -0
  38. package/lib/DragModal/style/index.less +1 -0
  39. package/lib/EditTable/components/Search/search.js +28 -11
  40. package/lib/EditTable/components/Search/sort.js +5 -4
  41. package/lib/EditTable/style/body.less +8 -8
  42. package/lib/EditTable/style/index.css +1 -1
  43. package/lib/FullPage/FullPage.js +1 -1
  44. package/lib/LocaleReciver/index.js +3 -1
  45. package/lib/PermissionButton/index.js +12 -19
  46. package/lib/ProTable/Alert.js +3 -3
  47. package/lib/ProTable/Pagination.js +17 -1
  48. package/lib/RadioButton/RadioButton.js +10 -7
  49. package/lib/RadioButton/style/index.js +3 -0
  50. package/lib/RadioButton/style/index.less +18 -0
  51. package/lib/Search/Advanced/SaveHistory.js +1 -1
  52. package/lib/Search/Advanced/index.js +1 -0
  53. package/lib/Search/Item.js +1 -1
  54. package/lib/Search/Search.js +6 -4
  55. package/lib/Title/index.js +12 -0
  56. package/lib/ValueItem/ValueItem.js +73 -51
  57. package/lib/components.js +14 -1
  58. package/lib/locale/en-US.js +3 -0
  59. package/lib/locale/zh-CN.js +3 -0
  60. package/lib/style/index.css +41 -1
  61. package/lib/style/index.less +2 -0
  62. package/lib/style.js +3 -1
  63. package/package.json +2 -2
  64. package/es/ProTable/style/ProTable.less +0 -139
  65. package/es/Scrollbar/style/index.css +0 -61
  66. package/es/Scrollbar/style/index.less +0 -82
  67. package/es/Search/style/Item.less +0 -33
  68. package/es/Search/style/Search.less +0 -179
  69. package/es/Title/style/index.css +0 -23
  70. package/es/Title/style/index.less +0 -25
  71. package/lib/ProTable/style/ProTable.less +0 -139
  72. package/lib/Scrollbar/style/index.css +0 -61
  73. package/lib/Scrollbar/style/index.less +0 -82
  74. package/lib/Search/style/Item.less +0 -33
  75. package/lib/Search/style/Search.less +0 -179
  76. package/lib/Title/style/index.css +0 -23
  77. package/lib/Title/style/index.less +0 -25
  78. package/lib/style/components.less +0 -8
@@ -1,61 +0,0 @@
1
- .j-scrollbar {
2
- overflow: hidden;
3
- position: relative;
4
- height: 100%;
5
- }
6
- .j-scrollbar__wrap {
7
- overflow: auto;
8
- height: 100%;
9
- }
10
- .j-scrollbar__wrap--hidden-default {
11
- scrollbar-width: none;
12
- }
13
- .j-scrollbar__wrap--hidden-default::-webkit-scrollbar {
14
- display: none;
15
- }
16
- .j-scrollbar__thumb {
17
- position: relative;
18
- display: block;
19
- width: 0;
20
- height: 0;
21
- cursor: pointer;
22
- border-radius: inherit;
23
- background-color: #909399;
24
- transition: 0.3s background-color;
25
- opacity: 0.3;
26
- }
27
- .j-scrollbar__thumb:hover {
28
- background-color: #909399;
29
- opacity: 0.5;
30
- }
31
- .j-scrollbar__bar {
32
- position: absolute;
33
- right: 2px;
34
- bottom: 2px;
35
- z-index: 1;
36
- border-radius: 4px;
37
- }
38
- .j-scrollbar__bar--vertical {
39
- width: 6px;
40
- top: 2px;
41
- }
42
- .j-scrollbar__bar--vertical > div {
43
- width: 100%;
44
- }
45
- .j-scrollbar__bar--horizontal {
46
- height: 6px;
47
- left: 2px;
48
- }
49
- .j-scrollbar__bar--horizontal > div {
50
- height: 100%;
51
- }
52
- .j-scrollbar-fade-enter-active {
53
- transition: opacity 340ms ease-out;
54
- }
55
- .j-scrollbar-fade-leave-active {
56
- transition: opacity 120ms ease-out;
57
- }
58
- .j-scrollbar-fade-enter-from,
59
- .j-scrollbar-fade-leave-active {
60
- opacity: 0;
61
- }
@@ -1,82 +0,0 @@
1
- @scrollbar-bg-color: #909399;
2
- @scrollbar-hover-bg-color: #909399;
3
- @scrollbar-hover-opacity: 0.5;
4
- @scrollbar-opacity: 0.3;
5
- @transition-duration: 0.3s;
6
-
7
- .j-scrollbar {
8
- overflow: hidden;
9
- position: relative;
10
- height: 100%;
11
-
12
- &__wrap {
13
- overflow: auto;
14
- height: 100%;
15
-
16
- &--hidden-default {
17
- scrollbar-width: none;
18
-
19
- &::-webkit-scrollbar {
20
- display: none;
21
- }
22
- }
23
- }
24
-
25
- &__thumb {
26
- position: relative;
27
- display: block;
28
- width: 0;
29
- height: 0;
30
- cursor: pointer;
31
- border-radius: inherit;
32
- background-color: @scrollbar-bg-color;
33
- transition: @transition-duration background-color;
34
- opacity: @scrollbar-opacity;
35
-
36
- &:hover {
37
- background-color: @scrollbar-hover-bg-color;
38
- opacity: @scrollbar-hover-opacity;
39
- }
40
- }
41
-
42
- &__bar {
43
- position: absolute;
44
- right: 2px;
45
- bottom: 2px;
46
- z-index: 1;
47
- border-radius: 4px;
48
-
49
- &--vertical {
50
- width: 6px;
51
- top: 2px;
52
-
53
- > div {
54
- width: 100%;
55
- }
56
- }
57
-
58
- &--horizontal {
59
- height: 6px;
60
- left: 2px;
61
-
62
- > div {
63
- height: 100%;
64
- }
65
- }
66
- }
67
- }
68
-
69
- .j-scrollbar-fade {
70
- &-enter-active {
71
- transition: opacity 340ms ease-out;
72
- }
73
-
74
- &-leave-active {
75
- transition: opacity 120ms ease-out;
76
- }
77
-
78
- &-enter-from,
79
- &-leave-active {
80
- opacity: 0;
81
- }
82
- }
@@ -1,33 +0,0 @@
1
- .JSearch-item {
2
- display: flex;
3
- gap: 16px;
4
- align-items: center;
5
-
6
- .JSearch-item--type {
7
- width: 90px;
8
- min-width: 0;
9
- > span {
10
- line-height: 34px;
11
- font-weight: bold;
12
- }
13
- }
14
-
15
- .JSearch-item--column {
16
- width: 130px;
17
- min-width: 0;
18
- }
19
-
20
- .JSearch-item--termType {
21
- width: 110px;
22
- min-width: 0;
23
- }
24
- .JSearch-item--label {
25
- min-width: 40px;
26
- }
27
-
28
- .JSearch-item--value {
29
- display: flex;
30
- width: 0;
31
- flex-grow: 1;
32
- }
33
- }
@@ -1,179 +0,0 @@
1
- @import '../../style/variable.less';
2
- .JSearch-warp {
3
- padding: 24px;
4
- background-color: #fff;
5
- margin-bottom: 24px;
6
-
7
- .pack-up {
8
- .JSearch-items {
9
- flex: 1 1 auto;
10
-
11
- .left {
12
- min-width: 380px;
13
- max-width: 580px;
14
- }
15
- }
16
- }
17
-
18
- &.senior {
19
- > .JSearch-content {
20
- display: flex;
21
- .JSearch-footer {
22
- display: flex;
23
- gap: 64px;
24
- position: relative;
25
-
26
- .more-btn {
27
- .more-text {
28
- padding-right: 24px;
29
- }
30
- .more-icon {
31
- transition: transform 0.3s;
32
- transform: rotateZ(90deg);
33
- font-size: 14px;
34
-
35
- &.more-up {
36
- transform: rotateZ(-90deg);
37
- }
38
- }
39
- }
40
-
41
- &.expand {
42
- margin-top: 16px;
43
- width: 100%;
44
- justify-content: space-between;
45
- }
46
-
47
- .JSearch-footer--btns {
48
- display: flex;
49
- gap: 12px;
50
- }
51
- }
52
-
53
- .items-expand {
54
- display: flex;
55
- gap: 16px;
56
-
57
- .left,
58
- & .right {
59
- min-width: 0;
60
- flex: 1 1 0;
61
- }
62
-
63
- .left-items,
64
- & .right-items {
65
- display: flex;
66
- gap: 16px;
67
- flex-direction: column;
68
- }
69
-
70
- .center {
71
- display: flex;
72
- flex-direction: column;
73
- justify-content: center;
74
- }
75
-
76
- &.vertical {
77
- flex-direction: column;
78
- .center {
79
- flex-direction: row;
80
- justify-content: center;
81
- }
82
- }
83
- }
84
-
85
- &.senior-expand {
86
- flex-direction: column;
87
- }
88
-
89
- &.small {
90
- gap: 12px;
91
- .JSearch-footer {
92
- gap: 4px;
93
- }
94
- }
95
- }
96
- }
97
-
98
- .JSearch-content {
99
- &.simple {
100
- .JSearch-footer--btns {
101
- display: flex;
102
- gap: 12px;
103
- }
104
-
105
- .JSearch-item {
106
- gap: 8px;
107
-
108
- .JSearch-item--label {
109
- text-align: right;
110
- }
111
- }
112
- }
113
- }
114
-
115
- .no-radius {
116
- border-radius: 0;
117
- border-color: #f1f1f1;
118
- }
119
-
120
- .search-history-warp {
121
- position: relative;
122
-
123
- .search-history-button {
124
- padding-right: 32px;
125
- }
126
-
127
- .search-history-button-icon {
128
- position: absolute;
129
- width: 24px;
130
- height: 18px;
131
- right: 6px;
132
- top: 8px;
133
- color: #fff;
134
- line-height: 18px;
135
- text-align: center;
136
- font-weight: bold;
137
- > span {
138
- font-size: 14px;
139
- }
140
- }
141
- }
142
- }
143
-
144
- .search-history-empty {
145
- padding: 12px 12px 6px 12px;
146
- background-color: #fff;
147
- }
148
-
149
- .search-history-items {
150
- width: 120px;
151
- max-height: 300px;
152
- overflow-y: auto;
153
- .search-history-item {
154
- display: flex;
155
- padding: 4px 0px 4px 4px;
156
- align-items: center;
157
- gap: 4px;
158
-
159
- &:hover {
160
- background-color: #f1f1f1;
161
- }
162
-
163
- .history-item--title {
164
- width: calc(100% - 30px);
165
- cursor: pointer;
166
- }
167
-
168
- .delete {
169
- padding: 0 6px;
170
- flex: 0 0 28px;
171
- }
172
- }
173
- }
174
-
175
- .search-history-list-pop {
176
- .ant-popover-inner-content {
177
- padding: 0;
178
- }
179
- }
@@ -1,23 +0,0 @@
1
- .j-title {
2
- display: flex;
3
- align-items: center;
4
- width: 100%;
5
- margin-bottom: 16px;
6
- }
7
- .j-title .j-title-content {
8
- position: relative;
9
- padding-left: 10px;
10
- color: rgba(0, 0, 0, 0.8);
11
- font-weight: 600;
12
- line-height: 1;
13
- }
14
- .j-title .j-title-content::before {
15
- position: absolute;
16
- top: 0;
17
- left: 0;
18
- width: 4px;
19
- height: 100%;
20
- background-color: #1890ff;
21
- border-radius: 0 3px 3px 0;
22
- content: ' ';
23
- }
@@ -1,25 +0,0 @@
1
- .j-title {
2
- display: flex;
3
- align-items: center;
4
- width: 100%;
5
- margin-bottom: 16px;
6
-
7
- .j-title-content {
8
- position: relative;
9
- padding-left: 10px;
10
- color: rgba(0, 0, 0, 0.8);
11
- font-weight: 600;
12
- line-height: 1;
13
-
14
- &::before {
15
- position: absolute;
16
- top: 0;
17
- left: 0;
18
- width: 4px;
19
- height: 100%;
20
- background-color: #1890ff;
21
- border-radius: 0 3px 3px 0;
22
- content: ' ';
23
- }
24
- }
25
- }
@@ -1,8 +0,0 @@
1
- @import "../CardSelect/style/index-pure.less";
2
- @import "../CheckButton/style/index-pure.less";
3
- @import "../DragModal/style/index-pure.less";
4
- @import "../EditTable/style/index-pure.less";
5
- @import "../Ellipsis/style/index-pure.less";
6
- @import "../MonacoEditor/style/index-pure.less";
7
- @import "../Scrollbar/style/index-pure.less";
8
- @import "../Title/style/index-pure.less";