@jetlinks-web/components 3.0.1-rc → 3.0.1

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 (286) hide show
  1. package/es/AutoComplete/AutoComplete.js +13 -9
  2. package/es/BadgeStatus/Badge.js +1 -2
  3. package/es/BadgeStatus/color.js +3 -3
  4. package/es/CardSelect/CardSelect.js +23 -13
  5. package/es/CardSelect/style/index.js +25 -1
  6. package/es/CheckButton/CheckButton.js +12 -4
  7. package/es/CheckButton/style/index.js +41 -1
  8. package/es/DragModal/DragModal.js +14 -8
  9. package/es/DragModal/style/index.js +64 -1
  10. package/es/EditTable/Body.js +10 -3
  11. package/es/EditTable/EditTable.js +13 -7
  12. package/es/EditTable/FormItem.js +18 -19
  13. package/es/EditTable/Header.js +16 -6
  14. package/es/EditTable/components/ContextMenu/Menu.js +11 -5
  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 +23 -18
  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 +30 -3
  27. package/es/Ellipsis/Ellipsis.js +10 -2
  28. package/es/Ellipsis/style/index.js +24 -1
  29. package/es/FullPage/FullPage.js +1 -2
  30. package/es/LocaleProvider/index.js +1 -2
  31. package/es/PermissionButton/index.js +6 -7
  32. package/es/ProLayout/Basic/BasicLayout.js +45 -41
  33. package/es/ProLayout/Basic/BasicLayoutStyle.js +39 -0
  34. package/es/ProLayout/Basic/Header.js +3 -7
  35. package/es/ProLayout/Basic/HeaderStyle.js +10 -0
  36. package/es/ProLayout/PageContainer/index.js +21 -17
  37. package/es/ProLayout/PageContainer/style.js +46 -0
  38. package/es/ProLayout/SiderMenu/BaseMenu.js +18 -42
  39. package/es/ProLayout/SiderMenu/SiderMenu.js +24 -36
  40. package/es/ProLayout/SiderMenu/style.js +166 -0
  41. package/es/ProLayout/TopHeader/index.js +13 -12
  42. package/es/ProLayout/TopHeader/style.js +126 -0
  43. package/es/ProLayout/style/index.js +7 -1
  44. package/es/ProLayout/util.js +5 -5
  45. package/es/ProTable/Alert.js +12 -4
  46. package/es/ProTable/Content.js +108 -28
  47. package/es/ProTable/Header.js +21 -11
  48. package/es/ProTable/Pagination.js +12 -4
  49. package/es/ProTable/ProTable.js +46 -34
  50. package/es/ProTable/hooks/index.js +2 -0
  51. package/es/ProTable/hooks/useTableInject.js +5 -0
  52. package/es/ProTable/hooks/useTableSelection.js +95 -0
  53. package/es/ProTable/setting.js +1 -1
  54. package/es/ProTable/style/index.js +109 -1
  55. package/es/RadioButton/RadioButton.js +10 -4
  56. package/es/RadioButton/style/index.js +23 -1
  57. package/es/Scrollbar/Scrollbar.js +10 -3
  58. package/es/Scrollbar/Thumb.js +36 -25
  59. package/es/Scrollbar/style/index.js +63 -1
  60. package/es/Search/Advanced/History.js +23 -16
  61. package/es/Search/Advanced/SaveHistory.js +1 -2
  62. package/es/Search/Advanced/index.js +212 -292
  63. package/es/Search/Item.js +175 -415
  64. package/es/Search/Search.js +78 -172
  65. package/es/Search/hooks/index.js +108 -1
  66. package/es/Search/hooks/useRouteQuery.js +57 -0
  67. package/es/Search/setting.js +132 -14
  68. package/es/Search/style/index.js +4 -2
  69. package/es/Search/style/item.js +28 -0
  70. package/es/Search/style/search.js +133 -0
  71. package/es/Search/util.js +116 -124
  72. package/es/Skeleton/components/DashBoardCard.js +19 -12
  73. package/es/Skeleton/components/DashBoardChart.js +48 -45
  74. package/es/Skeleton/components/Detail.js +27 -21
  75. package/es/Skeleton/components/Drawer.js +23 -14
  76. package/es/Skeleton/components/Item.js +9 -1
  77. package/es/Skeleton/components/List.js +0 -1
  78. package/es/Skeleton/components/ListCard.js +20 -13
  79. package/es/Skeleton/components/ListCardItem.js +12 -13
  80. package/es/Skeleton/components/ListTable.js +19 -10
  81. package/es/Skeleton/components/Page.js +0 -1
  82. package/es/Skeleton/components/Tree.js +21 -14
  83. package/es/Skeleton/skeleton.js +17 -8
  84. package/es/Skeleton/style/index.js +132 -1
  85. package/es/Title/style/index.js +29 -1
  86. package/es/Title/title.js +13 -5
  87. package/es/ValueItem/ValueItem.js +44 -39
  88. package/es/components.js +1 -5
  89. package/es/locale/en-US.js +3 -7
  90. package/es/locale/zh-CN.js +3 -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 -13
  95. package/lib/AutoComplete/AutoComplete.js +13 -9
  96. package/lib/BadgeStatus/Badge.js +1 -2
  97. package/lib/BadgeStatus/color.js +3 -3
  98. package/lib/CardSelect/CardSelect.js +23 -13
  99. package/lib/CardSelect/style/index.js +30 -1
  100. package/lib/CheckButton/CheckButton.js +12 -4
  101. package/lib/CheckButton/style/index.js +46 -1
  102. package/lib/DragModal/DragModal.js +14 -8
  103. package/lib/DragModal/style/index.js +69 -1
  104. package/lib/EditTable/Body.js +10 -3
  105. package/lib/EditTable/EditTable.js +13 -7
  106. package/lib/EditTable/FormItem.js +18 -19
  107. package/lib/EditTable/Header.js +16 -6
  108. package/lib/EditTable/components/ContextMenu/Menu.js +11 -5
  109. package/lib/EditTable/components/Search/search.js +1 -2
  110. package/lib/EditTable/components/Search/sort.js +1 -3
  111. package/lib/EditTable/group.js +23 -18
  112. package/lib/EditTable/hooks/useValidate.js +1 -1
  113. package/lib/EditTable/style/body.js +60 -0
  114. package/lib/EditTable/style/form.js +31 -0
  115. package/lib/EditTable/style/group.js +32 -0
  116. package/lib/EditTable/style/header.js +65 -0
  117. package/lib/EditTable/style/index.js +47 -1
  118. package/lib/EditTable/style/menu.js +33 -0
  119. package/lib/EditTable/style/table.js +52 -0
  120. package/lib/EditTable/utils.js +31 -3
  121. package/lib/Ellipsis/Ellipsis.js +10 -2
  122. package/lib/Ellipsis/style/index.js +29 -1
  123. package/lib/FullPage/FullPage.js +1 -2
  124. package/lib/Icon/icon.js +1 -2
  125. package/lib/LocaleProvider/index.js +1 -2
  126. package/lib/PermissionButton/index.js +6 -7
  127. package/lib/ProLayout/Basic/BasicLayout.js +45 -42
  128. package/lib/ProLayout/Basic/BasicLayoutStyle.js +46 -0
  129. package/lib/ProLayout/Basic/Header.js +2 -6
  130. package/lib/ProLayout/Basic/HeaderStyle.js +17 -0
  131. package/lib/ProLayout/PageContainer/index.js +19 -15
  132. package/lib/ProLayout/PageContainer/style.js +53 -0
  133. package/lib/ProLayout/SiderMenu/BaseMenu.js +19 -42
  134. package/lib/ProLayout/SiderMenu/SiderMenu.js +24 -37
  135. package/lib/ProLayout/SiderMenu/style.js +173 -0
  136. package/lib/ProLayout/TopHeader/index.js +14 -12
  137. package/lib/ProLayout/TopHeader/style.js +133 -0
  138. package/lib/ProLayout/style/index.js +12 -1
  139. package/lib/ProLayout/util.js +5 -5
  140. package/lib/ProTable/Alert.js +12 -4
  141. package/lib/ProTable/Content.js +108 -28
  142. package/lib/ProTable/Header.js +21 -11
  143. package/lib/ProTable/Pagination.js +12 -4
  144. package/lib/ProTable/ProTable.js +46 -34
  145. package/lib/ProTable/hooks/index.js +27 -0
  146. package/lib/ProTable/hooks/useTableInject.js +11 -0
  147. package/lib/ProTable/hooks/useTableSelection.js +102 -0
  148. package/lib/ProTable/setting.js +1 -1
  149. package/lib/ProTable/style/index.js +114 -1
  150. package/lib/RadioButton/RadioButton.js +10 -4
  151. package/lib/RadioButton/style/index.js +28 -1
  152. package/lib/Scrollbar/Scrollbar.js +10 -3
  153. package/lib/Scrollbar/Thumb.js +36 -25
  154. package/lib/Scrollbar/style/index.js +68 -1
  155. package/lib/Search/Advanced/History.js +23 -16
  156. package/lib/Search/Advanced/SaveHistory.js +1 -2
  157. package/lib/Search/Advanced/index.js +212 -292
  158. package/lib/Search/Item.js +175 -415
  159. package/lib/Search/Search.js +78 -172
  160. package/lib/Search/hooks/index.js +130 -1
  161. package/lib/Search/hooks/useRouteQuery.js +64 -0
  162. package/lib/Search/setting.js +133 -15
  163. package/lib/Search/style/index.js +9 -2
  164. package/lib/Search/style/item.js +35 -0
  165. package/lib/Search/style/search.js +140 -0
  166. package/lib/Search/util.js +116 -124
  167. package/lib/Skeleton/components/DashBoardCard.js +19 -12
  168. package/lib/Skeleton/components/DashBoardChart.js +48 -45
  169. package/lib/Skeleton/components/Detail.js +27 -21
  170. package/lib/Skeleton/components/Drawer.js +23 -14
  171. package/lib/Skeleton/components/Item.js +9 -1
  172. package/lib/Skeleton/components/List.js +0 -1
  173. package/lib/Skeleton/components/ListCard.js +20 -13
  174. package/lib/Skeleton/components/ListCardItem.js +12 -13
  175. package/lib/Skeleton/components/ListTable.js +19 -10
  176. package/lib/Skeleton/components/Page.js +0 -1
  177. package/lib/Skeleton/components/Tree.js +21 -14
  178. package/lib/Skeleton/skeleton.js +17 -8
  179. package/lib/Skeleton/style/index.js +137 -1
  180. package/lib/Title/style/index.js +34 -1
  181. package/lib/Title/title.js +13 -5
  182. package/lib/ValueItem/ValueItem.js +44 -39
  183. package/lib/components.js +1 -30
  184. package/lib/index.js +1 -2
  185. package/lib/locale/en-US.js +3 -7
  186. package/lib/locale/zh-CN.js +3 -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 -15
  192. package/package.json +170 -173
  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/FlameGraph/FlameGraph.js +0 -136
  215. package/es/FlameGraph/index.js +0 -5
  216. package/es/FlameGraph/style/index.css +0 -43
  217. package/es/FlameGraph/style/index.js +0 -1
  218. package/es/FlameGraph/style/index.less +0 -52
  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 -139
  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/Skeleton/style/Skeleton.less +0 -166
  234. package/es/Title/style/index.css +0 -27
  235. package/es/Title/style/index.less +0 -27
  236. package/es/style/index.css +0 -5375
  237. package/es/style/index.less +0 -14
  238. package/es/style/variable.css +0 -4
  239. package/es/style/variable.less +0 -4
  240. package/lib/AMap/Map.js +0 -133
  241. package/lib/AMap/index.js +0 -12
  242. package/lib/AMap/util.js +0 -62
  243. package/lib/CardSelect/style/index.css +0 -24
  244. package/lib/CardSelect/style/index.less +0 -26
  245. package/lib/CheckButton/style/index.css +0 -37
  246. package/lib/CheckButton/style/index.less +0 -40
  247. package/lib/DragModal/style/index.css +0 -82
  248. package/lib/DragModal/style/index.less +0 -97
  249. package/lib/Echarts/Echarts.js +0 -48
  250. package/lib/Echarts/index.js +0 -12
  251. package/lib/EditTable/style/body.less +0 -66
  252. package/lib/EditTable/style/form.less +0 -33
  253. package/lib/EditTable/style/group.less +0 -32
  254. package/lib/EditTable/style/header.less +0 -77
  255. package/lib/EditTable/style/index.css +0 -267
  256. package/lib/EditTable/style/index.less +0 -41
  257. package/lib/EditTable/style/menu.less +0 -25
  258. package/lib/EditTable/style/table.less +0 -47
  259. package/lib/Ellipsis/style/index.css +0 -17
  260. package/lib/Ellipsis/style/index.less +0 -20
  261. package/lib/FlameGraph/FlameGraph.js +0 -136
  262. package/lib/FlameGraph/index.js +0 -12
  263. package/lib/FlameGraph/style/index.css +0 -43
  264. package/lib/FlameGraph/style/index.js +0 -3
  265. package/lib/FlameGraph/style/index.less +0 -52
  266. package/lib/ProLayout/Basic/BasicLayout.less +0 -66
  267. package/lib/ProLayout/Basic/Header.less +0 -8
  268. package/lib/ProLayout/PageContainer/index.less +0 -103
  269. package/lib/ProLayout/SiderMenu/index.less +0 -231
  270. package/lib/ProLayout/TopHeader/index.less +0 -174
  271. package/lib/ProLayout/style/default.less +0 -4
  272. package/lib/ProLayout/style/style.less +0 -7
  273. package/lib/ProTable/style/ProTable.less +0 -139
  274. package/lib/RadioButton/style/index.css +0 -20
  275. package/lib/RadioButton/style/index.less +0 -19
  276. package/lib/Scrollbar/style/index.css +0 -65
  277. package/lib/Scrollbar/style/index.less +0 -83
  278. package/lib/Search/style/Item.less +0 -33
  279. package/lib/Search/style/Search.less +0 -179
  280. package/lib/Skeleton/style/Skeleton.less +0 -166
  281. package/lib/Title/style/index.css +0 -27
  282. package/lib/Title/style/index.less +0 -27
  283. package/lib/style/index.css +0 -5375
  284. package/lib/style/index.less +0 -14
  285. package/lib/style/variable.css +0 -4
  286. package/lib/style/variable.less +0 -4
@@ -1,139 +0,0 @@
1
- @import '../../style/variable.less';
2
- @import 'ant-design-vue/es/pagination/style/index.less';
3
- @import 'ant-design-vue/es/table/style/index.less';
4
- @import 'ant-design-vue/es/button/style/index.less';
5
- @import 'ant-design-vue/es/alert/style/index.less';
6
- @import 'ant-design-vue/es/radio/style/index.less';
7
- @import 'ant-design-vue/es/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
- overflow-y: auto;
75
-
76
- .jtable-card-items {
77
- display: grid;
78
- grid-gap: 26px;
79
-
80
- .jtable-card-item {
81
- display: flex;
82
- min-width: 0;
83
- }
84
- }
85
-
86
- .j-table-empty {
87
- margin-top: 100px;
88
- }
89
- }
90
-
91
- .ant-table-wrapper {
92
- height: 100%;
93
- .ant-table {
94
- height: 100%;
95
-
96
- .ant-table-container {
97
- height: 100%;
98
-
99
- .ant-table-content {
100
- height: 100%;
101
- }
102
- }
103
- }
104
- }
105
-
106
- .j-table-scroll {
107
-
108
- .ant-table-container {
109
- display: flex;
110
- flex-direction: column;
111
-
112
- .ant-table-body {
113
- flex: 1;
114
- min-height: 0;
115
- overflow-y: auto;
116
- }
117
- }
118
- }
119
- }
120
-
121
- .jtable-alert {
122
- margin-bottom: 16px;
123
- }
124
-
125
- .jtable-pagination {
126
- width: 100%;
127
- display: flex;
128
- justify-content: flex-end;
129
- margin-top: 16px;
130
-
131
- .hide-content {
132
- .@{ant-prefix}-pagination-item,
133
- & .@{ant-prefix}-pagination-jump-prev,
134
- & .@{ant-prefix}-pagination-jump-next {
135
- display: none;
136
- }
137
- }
138
- }
139
-
@@ -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
- }
@@ -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,166 +0,0 @@
1
- @j-skeleton-size-lg: 36px;
2
- @j-skeleton-size-sm: 16px;
3
- @j-skeleton-size: 24px;
4
- @j-skeleton-border-radius: 8px;
5
- @j-skeleton-bg: #f0f2f5;
6
- @j-skeleton-bg-1: #e6e8eb;
7
- @j-skeleton-border: 4px solid @j-skeleton-bg;
8
-
9
- .j-skeleton-flex {
10
- display: flex;
11
- gap: 24px;
12
- margin-bottom: 16px;
13
- }
14
-
15
- .j-skeleton-flex-between {
16
- .j-skeleton-flex();
17
- justify-content: space-between;
18
- align-items: center;
19
- }
20
-
21
- .j-skeleton-flex-column {
22
- .j-skeleton-flex();
23
- justify-content: space-between;
24
- }
25
-
26
- .j-skeleton {
27
- height: 100%;
28
- &-item {
29
- background: linear-gradient(90deg, @j-skeleton-bg 25%, @j-skeleton-bg-1 50%, @j-skeleton-bg 75%);
30
- background-size: 400% 100%;
31
- border-radius: @j-skeleton-border-radius;
32
- height: @j-skeleton-size;
33
- }
34
-
35
- &-item-active {
36
- animation: wave 1.8s ease-in-out infinite;
37
- }
38
-
39
- &-item-lg {
40
- height: @j-skeleton-size-lg;
41
- }
42
-
43
- &-item-sm {
44
- height: @j-skeleton-size-sm;
45
- }
46
-
47
- @keyframes wave {
48
- 0% { background-position: 200% 0 }
49
- 100% { background-position: -200% 0 }
50
- }
51
-
52
- &-dashboard-card {
53
- .j-skeleton-flex();
54
- border: @j-skeleton-border;
55
- border-radius: @j-skeleton-border-radius;
56
- height: 100%;
57
- padding: 24px;
58
- flex-direction: column;
59
- }
60
-
61
- &-tabs {
62
- display: flex;
63
- gap: 16px;
64
- margin: 60px 0 20px 0;
65
- border-bottom: @j-skeleton-border;
66
- padding: 16px 0;
67
- }
68
-
69
- &-desc {
70
- display: flex;
71
- flex-direction: column;
72
- margin-bottom: 24px;
73
-
74
- &-content {
75
- display: grid;
76
- grid-template-columns: repeat(3, 1fr);
77
- gap: 36px;
78
- margin-top: 24px;
79
- }
80
-
81
- &-item {
82
- display: flex;
83
- gap: 16px;
84
- }
85
- }
86
-
87
- &-box {
88
- border-bottom: @j-skeleton-border;
89
- padding: 16px 0;
90
- }
91
-
92
- &-table-cell {
93
- display: grid;
94
- grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) 200px;
95
- gap: 24px;
96
- padding: 12px 6px;
97
- border-radius: 8px;
98
- }
99
-
100
- &-table-header {
101
- background-color: lightgrey;
102
- }
103
-
104
- &-table-action {
105
- width: 200px;
106
- display: grid;
107
- grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
108
- gap: 24px;
109
- }
110
-
111
- &-cards {
112
- display: grid;
113
- grid-template-columns: repeat(3, 1fr);
114
- gap: 16px;
115
- }
116
-
117
- &-card {
118
- .j-skeleton-card-content {
119
- display: flex;
120
- gap: 16px;
121
- border: 2px solid #f0f2f5;
122
- border-radius: 8px;
123
- padding: 24px;
124
- margin-bottom: 16px;
125
-
126
- .j-skeleton-image {
127
- width: 100px;
128
- height: 100px;
129
- }
130
-
131
- .j-skeleton-right {
132
- flex: 1;
133
- min-width: 200px;
134
-
135
- .j-skeleton-right-content {
136
- display: flex;
137
- gap: 16px;
138
- margin-top: 16px;
139
-
140
- .j-skeleton-right-content-item {
141
- flex: 1;
142
- min-width: 100px;
143
- display: flex;
144
- flex-direction: column;
145
- gap: 16px;
146
- }
147
- }
148
- }
149
- }
150
-
151
- .j-skeleton-action {
152
- display: flex;
153
- justify-content: flex-end;
154
- gap: 16px;
155
-
156
- .btn {
157
- flex: 1;
158
- min-width: 100px;
159
- }
160
-
161
- .delete {
162
- flex: 0 0 100px;
163
- }
164
- }
165
- }
166
- }