@jetlinks-web/components 2.7.0 → 3.0.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.
Files changed (284) hide show
  1. package/es/AutoComplete/AutoComplete.js +2 -3
  2. package/es/BadgeStatus/Badge.js +2 -3
  3. package/es/CardSelect/CardSelect.js +23 -18
  4. package/es/CardSelect/style/index.js +25 -1
  5. package/es/CheckButton/CheckButton.js +12 -4
  6. package/es/CheckButton/style/index.js +41 -1
  7. package/es/ConfigProvider/index.js +1 -1
  8. package/es/DragModal/DragModal.js +15 -9
  9. package/es/DragModal/style/index.js +64 -1
  10. package/es/EditTable/Body.js +10 -3
  11. package/es/EditTable/EditTable.js +14 -8
  12. package/es/EditTable/FormItem.js +15 -10
  13. package/es/EditTable/Header.js +16 -6
  14. package/es/EditTable/components/ContextMenu/Menu.js +12 -6
  15. package/es/EditTable/components/Search/search.js +1 -2
  16. package/es/EditTable/components/Search/sort.js +1 -3
  17. package/es/EditTable/group.js +24 -19
  18. package/es/EditTable/hooks/useValidate.js +1 -1
  19. package/es/EditTable/style/body.js +53 -0
  20. package/es/EditTable/style/form.js +24 -0
  21. package/es/EditTable/style/group.js +25 -0
  22. package/es/EditTable/style/header.js +58 -0
  23. package/es/EditTable/style/index.js +42 -1
  24. package/es/EditTable/style/menu.js +27 -0
  25. package/es/EditTable/style/table.js +46 -0
  26. package/es/EditTable/utils.js +1 -1
  27. package/es/Ellipsis/Ellipsis.js +11 -3
  28. package/es/Ellipsis/style/index.js +24 -1
  29. package/es/Empty/Empty.js +1 -1
  30. package/es/FullPage/FullPage.js +1 -2
  31. package/es/LocaleProvider/index.js +1 -2
  32. package/es/PermissionButton/index.js +4 -5
  33. package/es/ProLayout/Basic/BasicLayout.js +46 -42
  34. package/es/ProLayout/Basic/BasicLayoutStyle.js +39 -0
  35. package/es/ProLayout/Basic/Header.js +4 -8
  36. package/es/ProLayout/Basic/HeaderStyle.js +10 -0
  37. package/es/ProLayout/PageContainer/index.js +20 -16
  38. package/es/ProLayout/PageContainer/style.js +46 -0
  39. package/es/ProLayout/SiderMenu/BaseMenu.js +14 -37
  40. package/es/ProLayout/SiderMenu/SiderMenu.js +25 -36
  41. package/es/ProLayout/SiderMenu/style.js +166 -0
  42. package/es/ProLayout/TopHeader/index.js +12 -11
  43. package/es/ProLayout/TopHeader/style.js +126 -0
  44. package/es/ProLayout/style/index.js +7 -1
  45. package/es/ProLayout/util.js +5 -5
  46. package/es/ProTable/Alert.js +13 -5
  47. package/es/ProTable/Content.js +22 -14
  48. package/es/ProTable/Header.js +22 -12
  49. package/es/ProTable/Pagination.js +13 -5
  50. package/es/ProTable/ProTable.js +43 -27
  51. package/es/ProTable/setting.js +1 -1
  52. package/es/ProTable/style/index.js +109 -1
  53. package/es/RadioButton/RadioButton.js +10 -4
  54. package/es/RadioButton/style/index.js +23 -1
  55. package/es/Scrollbar/Scrollbar.js +10 -3
  56. package/es/Scrollbar/Thumb.js +36 -25
  57. package/es/Scrollbar/style/index.js +63 -1
  58. package/es/Search/Advanced/History.js +24 -17
  59. package/es/Search/Advanced/SaveHistory.js +2 -3
  60. package/es/Search/Advanced/index.js +213 -293
  61. package/es/Search/Item.js +175 -415
  62. package/es/Search/Search.js +78 -172
  63. package/es/Search/hooks/index.js +108 -1
  64. package/es/Search/hooks/useRouteQuery.js +57 -0
  65. package/es/Search/setting.js +132 -14
  66. package/es/Search/style/index.js +4 -2
  67. package/es/Search/style/item.js +28 -0
  68. package/es/Search/style/search.js +133 -0
  69. package/es/Search/util.js +116 -124
  70. package/es/Skeleton/components/DashBoardCard.js +64 -0
  71. package/es/Skeleton/components/DashBoardChart.js +96 -0
  72. package/es/Skeleton/components/Detail.js +110 -0
  73. package/es/Skeleton/components/Drawer.js +91 -0
  74. package/es/Skeleton/components/Item.js +68 -0
  75. package/es/Skeleton/components/List.js +45 -0
  76. package/es/Skeleton/components/ListCard.js +63 -0
  77. package/es/Skeleton/components/ListCardItem.js +86 -0
  78. package/es/Skeleton/components/ListTable.js +76 -0
  79. package/es/Skeleton/components/Page.js +62 -0
  80. package/es/Skeleton/components/Search.js +54 -0
  81. package/es/Skeleton/components/Tree.js +72 -0
  82. package/es/Skeleton/index.js +15 -0
  83. package/es/Skeleton/skeleton.js +58 -0
  84. package/es/Skeleton/style/index.js +132 -0
  85. package/es/Title/style/index.js +29 -1
  86. package/es/Title/title.js +13 -5
  87. package/es/ValueItem/ValueItem.js +29 -72
  88. package/es/components.js +0 -3
  89. package/es/locale/en-US.js +0 -7
  90. package/es/locale/zh-CN.js +0 -7
  91. package/es/style/index.js +0 -3
  92. package/es/style/styleRegister.js +21 -0
  93. package/es/style/variable.js +4 -0
  94. package/es/style.js +0 -12
  95. package/lib/AutoComplete/AutoComplete.js +1 -2
  96. package/lib/BadgeStatus/Badge.js +2 -3
  97. package/lib/CardSelect/CardSelect.js +23 -18
  98. package/lib/CardSelect/style/index.js +30 -1
  99. package/lib/CheckButton/CheckButton.js +12 -4
  100. package/lib/CheckButton/style/index.js +46 -1
  101. package/lib/ConfigProvider/context.js +1 -1
  102. package/lib/ConfigProvider/index.js +3 -3
  103. package/lib/DragModal/DragModal.js +15 -9
  104. package/lib/DragModal/style/index.js +69 -1
  105. package/lib/EditTable/Body.js +10 -3
  106. package/lib/EditTable/EditTable.js +13 -7
  107. package/lib/EditTable/FormItem.js +16 -11
  108. package/lib/EditTable/Header.js +16 -6
  109. package/lib/EditTable/components/ContextMenu/Menu.js +12 -6
  110. package/lib/EditTable/components/Search/search.js +1 -2
  111. package/lib/EditTable/components/Search/sort.js +1 -3
  112. package/lib/EditTable/group.js +24 -19
  113. package/lib/EditTable/hooks/useValidate.js +1 -1
  114. package/lib/EditTable/style/body.js +60 -0
  115. package/lib/EditTable/style/form.js +31 -0
  116. package/lib/EditTable/style/group.js +32 -0
  117. package/lib/EditTable/style/header.js +65 -0
  118. package/lib/EditTable/style/index.js +47 -1
  119. package/lib/EditTable/style/menu.js +33 -0
  120. package/lib/EditTable/style/table.js +52 -0
  121. package/lib/EditTable/utils.js +1 -1
  122. package/lib/Ellipsis/Ellipsis.js +11 -3
  123. package/lib/Ellipsis/style/index.js +29 -1
  124. package/lib/Empty/Empty.js +1 -1
  125. package/lib/FullPage/FullPage.js +1 -2
  126. package/lib/LocaleProvider/index.js +1 -2
  127. package/lib/PermissionButton/index.js +9 -10
  128. package/lib/ProLayout/Basic/BasicLayout.js +55 -51
  129. package/lib/ProLayout/Basic/BasicLayoutStyle.js +46 -0
  130. package/lib/ProLayout/Basic/Header.js +6 -10
  131. package/lib/ProLayout/Basic/HeaderStyle.js +17 -0
  132. package/lib/ProLayout/PageContainer/index.js +24 -20
  133. package/lib/ProLayout/PageContainer/style.js +53 -0
  134. package/lib/ProLayout/SiderMenu/BaseMenu.js +18 -40
  135. package/lib/ProLayout/SiderMenu/SiderMenu.js +28 -39
  136. package/lib/ProLayout/SiderMenu/style.js +173 -0
  137. package/lib/ProLayout/TopHeader/index.js +12 -10
  138. package/lib/ProLayout/TopHeader/style.js +133 -0
  139. package/lib/ProLayout/defaultSettings.js +1 -1
  140. package/lib/ProLayout/style/index.js +12 -1
  141. package/lib/ProLayout/util.js +5 -5
  142. package/lib/ProTable/Alert.js +13 -5
  143. package/lib/ProTable/Content.js +22 -14
  144. package/lib/ProTable/Header.js +22 -12
  145. package/lib/ProTable/Pagination.js +13 -5
  146. package/lib/ProTable/ProTable.js +43 -27
  147. package/lib/ProTable/setting.js +3 -3
  148. package/lib/ProTable/style/index.js +114 -1
  149. package/lib/RadioButton/RadioButton.js +10 -4
  150. package/lib/RadioButton/style/index.js +28 -1
  151. package/lib/Scrollbar/Scrollbar.js +10 -3
  152. package/lib/Scrollbar/Thumb.js +36 -25
  153. package/lib/Scrollbar/style/index.js +68 -1
  154. package/lib/Search/Advanced/History.js +24 -17
  155. package/lib/Search/Advanced/SaveHistory.js +2 -3
  156. package/lib/Search/Advanced/index.js +213 -293
  157. package/lib/Search/Item.js +175 -415
  158. package/lib/Search/Search.js +78 -172
  159. package/lib/Search/hooks/index.js +130 -1
  160. package/lib/Search/hooks/useRouteQuery.js +64 -0
  161. package/lib/Search/setting.js +133 -15
  162. package/lib/Search/style/index.js +9 -2
  163. package/lib/Search/style/item.js +35 -0
  164. package/lib/Search/style/search.js +140 -0
  165. package/lib/Search/util.js +116 -124
  166. package/lib/Skeleton/components/DashBoardCard.js +64 -0
  167. package/lib/Skeleton/components/DashBoardChart.js +96 -0
  168. package/lib/Skeleton/components/Detail.js +110 -0
  169. package/lib/Skeleton/components/Drawer.js +91 -0
  170. package/lib/Skeleton/components/Item.js +68 -0
  171. package/lib/Skeleton/components/List.js +45 -0
  172. package/lib/Skeleton/components/ListCard.js +63 -0
  173. package/lib/Skeleton/components/ListCardItem.js +86 -0
  174. package/lib/Skeleton/components/ListTable.js +76 -0
  175. package/lib/Skeleton/components/Page.js +62 -0
  176. package/lib/Skeleton/components/Search.js +54 -0
  177. package/lib/Skeleton/components/Tree.js +72 -0
  178. package/lib/Skeleton/index.js +75 -0
  179. package/lib/Skeleton/skeleton.js +58 -0
  180. package/lib/Skeleton/style/index.js +139 -0
  181. package/lib/Title/style/index.js +34 -1
  182. package/lib/Title/title.js +13 -5
  183. package/lib/ValueItem/ValueItem.js +29 -72
  184. package/lib/components.js +0 -21
  185. package/lib/locale/en-US.js +0 -7
  186. package/lib/locale/zh-CN.js +0 -7
  187. package/lib/style/components.less +0 -1
  188. package/lib/style/index.js +1 -4
  189. package/lib/style/styleRegister.js +28 -0
  190. package/lib/style/variable.js +10 -0
  191. package/lib/style.js +1 -14
  192. package/package.json +13 -14
  193. package/es/AMap/Map.js +0 -133
  194. package/es/AMap/index.js +0 -5
  195. package/es/AMap/util.js +0 -56
  196. package/es/CardSelect/style/index.css +0 -24
  197. package/es/CardSelect/style/index.less +0 -26
  198. package/es/CheckButton/style/index.css +0 -37
  199. package/es/CheckButton/style/index.less +0 -40
  200. package/es/DragModal/style/index.css +0 -82
  201. package/es/DragModal/style/index.less +0 -97
  202. package/es/Echarts/Echarts.js +0 -48
  203. package/es/Echarts/index.js +0 -5
  204. package/es/EditTable/style/body.less +0 -66
  205. package/es/EditTable/style/form.less +0 -33
  206. package/es/EditTable/style/group.less +0 -32
  207. package/es/EditTable/style/header.less +0 -77
  208. package/es/EditTable/style/index.css +0 -267
  209. package/es/EditTable/style/index.less +0 -41
  210. package/es/EditTable/style/menu.less +0 -25
  211. package/es/EditTable/style/table.less +0 -47
  212. package/es/Ellipsis/style/index.css +0 -17
  213. package/es/Ellipsis/style/index.less +0 -20
  214. package/es/MonacoEditor/Monaco.js +0 -242
  215. package/es/MonacoEditor/index.js +0 -5
  216. package/es/MonacoEditor/style/index.css +0 -4
  217. package/es/MonacoEditor/style/index.js +0 -1
  218. package/es/MonacoEditor/style/index.less +0 -4
  219. package/es/ProLayout/Basic/BasicLayout.less +0 -66
  220. package/es/ProLayout/Basic/Header.less +0 -8
  221. package/es/ProLayout/PageContainer/index.less +0 -103
  222. package/es/ProLayout/SiderMenu/index.less +0 -231
  223. package/es/ProLayout/TopHeader/index.less +0 -174
  224. package/es/ProLayout/style/default.less +0 -4
  225. package/es/ProLayout/style/style.less +0 -7
  226. package/es/ProTable/style/ProTable.less +0 -141
  227. package/es/RadioButton/style/index.css +0 -20
  228. package/es/RadioButton/style/index.less +0 -19
  229. package/es/Scrollbar/style/index.css +0 -65
  230. package/es/Scrollbar/style/index.less +0 -83
  231. package/es/Search/style/Item.less +0 -33
  232. package/es/Search/style/Search.less +0 -179
  233. package/es/Title/style/index.css +0 -23
  234. package/es/Title/style/index.less +0 -25
  235. package/es/style/index.css +0 -5197
  236. package/es/style/index.less +0 -13
  237. package/es/style/variable.css +0 -4
  238. package/es/style/variable.less +0 -4
  239. package/lib/AMap/Map.js +0 -133
  240. package/lib/AMap/index.js +0 -12
  241. package/lib/AMap/util.js +0 -62
  242. package/lib/CardSelect/style/index.css +0 -24
  243. package/lib/CardSelect/style/index.less +0 -26
  244. package/lib/CheckButton/style/index.css +0 -37
  245. package/lib/CheckButton/style/index.less +0 -40
  246. package/lib/DragModal/style/index.css +0 -82
  247. package/lib/DragModal/style/index.less +0 -97
  248. package/lib/Echarts/Echarts.js +0 -48
  249. package/lib/Echarts/index.js +0 -12
  250. package/lib/EditTable/style/body.less +0 -66
  251. package/lib/EditTable/style/form.less +0 -33
  252. package/lib/EditTable/style/group.less +0 -32
  253. package/lib/EditTable/style/header.less +0 -77
  254. package/lib/EditTable/style/index.css +0 -267
  255. package/lib/EditTable/style/index.less +0 -41
  256. package/lib/EditTable/style/menu.less +0 -25
  257. package/lib/EditTable/style/table.less +0 -47
  258. package/lib/Ellipsis/style/index.css +0 -17
  259. package/lib/Ellipsis/style/index.less +0 -20
  260. package/lib/MonacoEditor/Monaco.js +0 -242
  261. package/lib/MonacoEditor/index.js +0 -12
  262. package/lib/MonacoEditor/style/index.css +0 -4
  263. package/lib/MonacoEditor/style/index.js +0 -3
  264. package/lib/MonacoEditor/style/index.less +0 -4
  265. package/lib/ProLayout/Basic/BasicLayout.less +0 -66
  266. package/lib/ProLayout/Basic/Header.less +0 -8
  267. package/lib/ProLayout/PageContainer/index.less +0 -103
  268. package/lib/ProLayout/SiderMenu/index.less +0 -231
  269. package/lib/ProLayout/TopHeader/index.less +0 -174
  270. package/lib/ProLayout/style/default.less +0 -4
  271. package/lib/ProLayout/style/style.less +0 -7
  272. package/lib/ProTable/style/ProTable.less +0 -141
  273. package/lib/RadioButton/style/index.css +0 -20
  274. package/lib/RadioButton/style/index.less +0 -19
  275. package/lib/Scrollbar/style/index.css +0 -65
  276. package/lib/Scrollbar/style/index.less +0 -83
  277. package/lib/Search/style/Item.less +0 -33
  278. package/lib/Search/style/Search.less +0 -179
  279. package/lib/Title/style/index.css +0 -23
  280. package/lib/Title/style/index.less +0 -25
  281. package/lib/style/index.css +0 -5197
  282. package/lib/style/index.less +0 -13
  283. package/lib/style/variable.css +0 -4
  284. package/lib/style/variable.less +0 -4
@@ -1,174 +0,0 @@
1
- @import '../style/default.less';
2
-
3
- @top-nav-header-prefix-cls: ~'@{ant-prefix}-pro-top-nav-header';
4
- @pro-layout-global-header-prefix-cls: ~'@{ant-prefix}-pro-global-header';
5
-
6
- @pro-layout-header-bg: @component-background;
7
- @pro-layout-header-hover-bg: @component-background;
8
- @pro-layout-header-box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
9
-
10
- .@{pro-layout-global-header-prefix-cls} {
11
- position: relative;
12
- display: flex;
13
- align-items: center;
14
- height: 100%;
15
- padding: 0 16px;
16
- background: @pro-layout-header-bg;
17
- box-shadow: @pro-layout-header-box-shadow;
18
- > * {
19
- height: 100%;
20
- }
21
-
22
- &-collapsed-button {
23
- display: flex;
24
- align-items: center;
25
- margin-left: 16px;
26
- font-size: 20px;
27
- }
28
-
29
- &-layout {
30
- &-mix {
31
- background-color: @layout-sider-background;
32
- .@{pro-layout-global-header-prefix-cls}-logo {
33
- h1 {
34
- color: @btn-primary-color;
35
- }
36
- }
37
- .anticon {
38
- color: @btn-primary-color;
39
- }
40
- }
41
- }
42
-
43
- &-logo {
44
- position: relative;
45
- overflow: hidden;
46
- a {
47
- display: flex;
48
- align-items: center;
49
- height: 100%;
50
- img {
51
- height: 28px;
52
- }
53
- h1 {
54
- height: 32px;
55
- margin: 0 0 0 8px;
56
- margin: 0 0 0 12px;
57
- color: @primary-color;
58
- font-weight: 600;
59
- font-size: 18px;
60
- line-height: 32px;
61
- }
62
- }
63
- }
64
-
65
- &-menu {
66
- .anticon {
67
- margin-right: 8px;
68
- }
69
- .@{ant-prefix}-dropdown-menu-item {
70
- min-width: 160px;
71
- }
72
- }
73
-
74
- .dark {
75
- height: @pro-layout-header-height;
76
- .action {
77
- color: rgba(255, 255, 255, 0.85);
78
- > i {
79
- color: rgba(255, 255, 255, 0.85);
80
- }
81
- &:hover,
82
- &.opened {
83
- background: @primary-color;
84
- }
85
- .@{ant-prefix}-badge {
86
- color: rgba(255, 255, 255, 0.85);
87
- }
88
- }
89
- }
90
- }
91
-
92
- .@{top-nav-header-prefix-cls} {
93
- position: relative;
94
- width: 100%;
95
- height: 100%;
96
- box-shadow: 0 1px 4px 0 rgba(0, 21, 41, 0.12);
97
- transition: background 0.3s, width 0.2s;
98
-
99
- .@{ant-prefix}-menu {
100
- background: transparent;
101
- }
102
-
103
- &.light {
104
- background-color: @component-background;
105
- .@{top-nav-header-prefix-cls}-logo {
106
- h1 {
107
- color: @heading-color;
108
- }
109
- }
110
- .anticon {
111
- color: inherit;
112
- }
113
- }
114
-
115
- &-main {
116
- display: flex;
117
- height: 100%;
118
- padding-left: 16px;
119
- &-left {
120
- display: flex;
121
- min-width: 192px;
122
- }
123
- }
124
-
125
- .anticon {
126
- color: @btn-primary-color;
127
- }
128
-
129
- &-logo {
130
- position: relative;
131
- min-width: 165px;
132
- height: 100%;
133
- overflow: hidden;
134
-
135
- img {
136
- display: inline-block;
137
- height: 32px;
138
- vertical-align: middle;
139
- }
140
-
141
- h1 {
142
- display: inline-block;
143
- margin: 0 0 0 12px;
144
- color: @btn-primary-color;
145
- font-weight: 600;
146
- font-size: 16px;
147
- vertical-align: top;
148
- }
149
- }
150
-
151
- &-menu {
152
- min-width: 0;
153
-
154
- .@{ant-prefix}-menu.@{ant-prefix}-menu-horizontal {
155
- height: 100%;
156
- border: none;
157
-
158
- .@{ant-prefix}-menu-item {
159
- height: 100%;
160
-
161
- .@{ant-prefix}-badge {
162
- color: unset;
163
- }
164
- }
165
- }
166
- }
167
- }
168
-
169
- // replace sub.item
170
- .@{ant-prefix}-pro-menu-popup {
171
- .@{ant-prefix}-badge {
172
- color: unset;
173
- }
174
- }
@@ -1,4 +0,0 @@
1
- @import 'ant-design-vue/lib/style/themes/index.less';
2
-
3
- @basicLayout-prefix-cls: ~'@{ant-prefix}-pro-basicLayout';
4
- @pro-layout-header-height: 48px;
@@ -1,7 +0,0 @@
1
- @import './default.less';
2
-
3
- @import '../Basic/BasicLayout.less';
4
- @import '../Basic/Header.less';
5
- @import '../PageContainer/index.less';
6
- @import '../SiderMenu/index.less';
7
- @import '../TopHeader/index.less';
@@ -1,141 +0,0 @@
1
- @import '../../style/variable.less';
2
- @import 'ant-design-vue/lib/pagination/style/index.less';
3
- @import 'ant-design-vue/lib/table/style/index.less';
4
- @import 'ant-design-vue/lib/button/style/index.less';
5
- @import 'ant-design-vue/lib/alert/style/index.less';
6
- @import 'ant-design-vue/lib/radio/style/index.less';
7
- @import 'ant-design-vue/lib/spin/style/index.less';
8
-
9
- .jtable-body-spin {
10
- height: 100%;
11
- width: 100%;
12
- background-color: #fff;
13
-
14
- .ant-spin-nested-loading {
15
- height: 100%;
16
-
17
- .ant-spin-container {
18
- height: 100%;
19
- }
20
- }
21
-
22
- .jtable-body {
23
- width: 100%;
24
- box-sizing: border-box;
25
- height: 100%;
26
- display: flex;
27
- flex-direction: column;
28
- }
29
- }
30
-
31
- .jtable-body-header {
32
- display: flex;
33
- justify-content: space-between;
34
- align-items: center;
35
- margin-bottom: 16px;
36
- width: 100%;
37
- gap: 8px;
38
-
39
- .jtable-body-header-left {
40
- flex: 1;
41
- min-width: 0;
42
- }
43
-
44
- .jtable-body-header-right {
45
- display: flex;
46
- gap: 8px;
47
- align-items: center;
48
-
49
- .jtable-body-header-right-button {
50
- width: 62px;
51
-
52
- .right-button-icon {
53
- font-size: 16px;
54
- color: #d9d9d9;
55
- }
56
-
57
- .ant-radio-button-wrapper {
58
- padding: 0 8px;
59
- }
60
-
61
- :deep(.ant-radio-button-wrapper-checked) {
62
- color: @primary-color;
63
- }
64
- }
65
- }
66
- }
67
-
68
- .jtable-box {
69
- flex: 1;
70
- min-height: 0;
71
-
72
- .jtable-card {
73
- height: 100%;
74
- display: flex;
75
- flex-direction: column;
76
-
77
- .jtable-card-items {
78
- height: 100%;
79
- overflow-y: auto;
80
- display: grid;
81
- grid-gap: 26px;
82
-
83
- .jtable-card-item {
84
- display: flex;
85
- min-width: 0;
86
- }
87
- }
88
-
89
- .j-table-empty {
90
- margin-top: 100px;
91
- }
92
- }
93
-
94
- .ant-table-wrapper {
95
- height: 100%;
96
- .ant-table {
97
- height: 100%;
98
-
99
- .ant-table-container {
100
- height: 100%;
101
-
102
- .ant-table-content {
103
- height: 100%;
104
- }
105
- }
106
- }
107
- }
108
-
109
- .j-table-scroll {
110
-
111
- .ant-table-container {
112
- display: flex;
113
- flex-direction: column;
114
-
115
- .ant-table-body {
116
- flex: 1;
117
- min-height: 0;
118
- }
119
- }
120
- }
121
- }
122
-
123
- .jtable-alert {
124
- margin-bottom: 16px;
125
- }
126
-
127
- .jtable-pagination {
128
- width: 100%;
129
- display: flex;
130
- justify-content: flex-end;
131
- margin-top: 16px;
132
-
133
- .hide-content {
134
- .@{ant-prefix}-pagination-item,
135
- & .@{ant-prefix}-pagination-jump-prev,
136
- & .@{ant-prefix}-pagination-jump-next {
137
- display: none;
138
- }
139
- }
140
- }
141
-
@@ -1,20 +0,0 @@
1
- /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
2
- /* stylelint-disable no-duplicate-selectors */
3
- /* stylelint-disable */
4
- /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
5
- .j-radio-button {
6
- display: grid;
7
- gap: 16px;
8
- }
9
- .j-radio-button .j-radio-button-item {
10
- padding: 6px 12px;
11
- text-align: center;
12
- height: 100%;
13
- border-radius: 2px;
14
- background-color: #f5f5f5;
15
- cursor: pointer;
16
- }
17
- .j-radio-button .j-radio-button-item.active {
18
- color: #fff;
19
- background-color: #1890ff;
20
- }
@@ -1,19 +0,0 @@
1
- @import '../../style/variable.less';
2
- .j-radio-button {
3
- display: grid;
4
- gap: 16px;
5
-
6
- .j-radio-button-item {
7
- padding: 6px 12px;
8
- text-align: center;
9
- height: 100%;
10
- border-radius: 2px;
11
- background-color: #f5f5f5;
12
- cursor: pointer;
13
-
14
- &.active {
15
- color: #fff;
16
- background-color: @primary-color;
17
- }
18
- }
19
- }
@@ -1,65 +0,0 @@
1
- /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
2
- /* stylelint-disable no-duplicate-selectors */
3
- /* stylelint-disable */
4
- /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
5
- .j-scrollbar {
6
- overflow: hidden;
7
- position: relative;
8
- height: 100%;
9
- }
10
- .j-scrollbar__wrap {
11
- overflow: auto;
12
- height: 100%;
13
- }
14
- .j-scrollbar__wrap--hidden-default {
15
- scrollbar-width: none;
16
- }
17
- .j-scrollbar__wrap--hidden-default::-webkit-scrollbar {
18
- display: none;
19
- }
20
- .j-scrollbar__thumb {
21
- position: relative;
22
- display: block;
23
- width: 0;
24
- height: 0;
25
- cursor: pointer;
26
- border-radius: inherit;
27
- background-color: #909399;
28
- transition: 0.3s background-color;
29
- opacity: 0.3;
30
- }
31
- .j-scrollbar__thumb:hover {
32
- background-color: #909399;
33
- opacity: 0.5;
34
- }
35
- .j-scrollbar__bar {
36
- position: absolute;
37
- right: 2px;
38
- bottom: 2px;
39
- z-index: 1;
40
- border-radius: 4px;
41
- }
42
- .j-scrollbar__bar--vertical {
43
- width: 6px;
44
- top: 2px;
45
- }
46
- .j-scrollbar__bar--vertical > div {
47
- width: 100%;
48
- }
49
- .j-scrollbar__bar--horizontal {
50
- height: 6px;
51
- left: 2px;
52
- }
53
- .j-scrollbar__bar--horizontal > div {
54
- height: 100%;
55
- }
56
- .j-scrollbar-fade-enter-active {
57
- transition: opacity 340ms ease-out;
58
- }
59
- .j-scrollbar-fade-leave-active {
60
- transition: opacity 120ms ease-out;
61
- }
62
- .j-scrollbar-fade-enter-from,
63
- .j-scrollbar-fade-leave-active {
64
- opacity: 0;
65
- }
@@ -1,83 +0,0 @@
1
- @import '../../style/variable.less';
2
- @scrollbar-bg-color: #909399;
3
- @scrollbar-hover-bg-color: #909399;
4
- @scrollbar-hover-opacity: 0.5;
5
- @scrollbar-opacity: 0.3;
6
- @transition-duration: 0.3s;
7
-
8
- .j-scrollbar {
9
- overflow: hidden;
10
- position: relative;
11
- height: 100%;
12
-
13
- &__wrap {
14
- overflow: auto;
15
- height: 100%;
16
-
17
- &--hidden-default {
18
- scrollbar-width: none;
19
-
20
- &::-webkit-scrollbar {
21
- display: none;
22
- }
23
- }
24
- }
25
-
26
- &__thumb {
27
- position: relative;
28
- display: block;
29
- width: 0;
30
- height: 0;
31
- cursor: pointer;
32
- border-radius: inherit;
33
- background-color: @scrollbar-bg-color;
34
- transition: @transition-duration background-color;
35
- opacity: @scrollbar-opacity;
36
-
37
- &:hover {
38
- background-color: @scrollbar-hover-bg-color;
39
- opacity: @scrollbar-hover-opacity;
40
- }
41
- }
42
-
43
- &__bar {
44
- position: absolute;
45
- right: 2px;
46
- bottom: 2px;
47
- z-index: 1;
48
- border-radius: 4px;
49
-
50
- &--vertical {
51
- width: 6px;
52
- top: 2px;
53
-
54
- > div {
55
- width: 100%;
56
- }
57
- }
58
-
59
- &--horizontal {
60
- height: 6px;
61
- left: 2px;
62
-
63
- > div {
64
- height: 100%;
65
- }
66
- }
67
- }
68
- }
69
-
70
- .j-scrollbar-fade {
71
- &-enter-active {
72
- transition: opacity 340ms ease-out;
73
- }
74
-
75
- &-leave-active {
76
- transition: opacity 120ms ease-out;
77
- }
78
-
79
- &-enter-from,
80
- &-leave-active {
81
- opacity: 0;
82
- }
83
- }
@@ -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
- }