@jetlinks-web/components 2.7.0 → 2.7.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 (172) hide show
  1. package/es/AMap/Map.js +1 -2
  2. package/es/AutoComplete/AutoComplete.js +0 -1
  3. package/es/BadgeStatus/Badge.js +1 -2
  4. package/es/CardSelect/CardSelect.js +1 -2
  5. package/es/CardSelect/style/css.js +1 -0
  6. package/es/CheckButton/CheckButton.js +1 -2
  7. package/es/CheckButton/style/css.js +1 -0
  8. package/es/DragModal/DragModal.js +0 -1
  9. package/es/DragModal/style/css.js +1 -0
  10. package/es/Echarts/Echarts.js +1 -2
  11. package/es/EditTable/EditTable.js +4 -6
  12. package/es/EditTable/FormItem.js +0 -1
  13. package/es/EditTable/Header.js +5 -3
  14. package/es/EditTable/components/ContextMenu/Menu.js +1 -2
  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 +7 -10
  18. package/es/EditTable/hooks/useValidate.js +1 -1
  19. package/es/EditTable/style/css.js +1 -0
  20. package/es/EditTable/utils.js +1 -1
  21. package/es/Ellipsis/style/css.js +1 -0
  22. package/es/FullPage/FullPage.js +1 -2
  23. package/es/Icon/icon.js +3 -3
  24. package/es/LocaleProvider/index.js +1 -2
  25. package/es/MonacoEditor/style/css.js +1 -0
  26. package/es/PermissionButton/index.js +6 -7
  27. package/es/ProLayout/Basic/BasicLayout.js +34 -39
  28. package/es/ProLayout/Basic/Header.js +3 -7
  29. package/es/ProLayout/PageContainer/index.js +8 -12
  30. package/es/ProLayout/SiderMenu/BaseMenu.js +16 -39
  31. package/es/ProLayout/SiderMenu/SiderMenu.js +14 -34
  32. package/es/ProLayout/TopHeader/index.js +1 -9
  33. package/es/ProLayout/style/css.js +1 -0
  34. package/es/ProLayout/util.js +5 -5
  35. package/es/ProTable/Content.js +5 -5
  36. package/es/ProTable/hooks/useTableSelection.js +2 -0
  37. package/es/ProTable/style/css.js +1 -0
  38. package/es/RadioButton/RadioButton.js +0 -1
  39. package/es/RadioButton/style/css.js +1 -0
  40. package/es/Scrollbar/style/css.js +1 -0
  41. package/es/Search/Advanced/SaveHistory.js +1 -2
  42. package/es/Search/Item.js +1 -2
  43. package/es/Search/style/css.js +2 -0
  44. package/es/Title/style/css.js +1 -0
  45. package/es/Title/title.js +0 -1
  46. package/es/style/css.js +3 -0
  47. package/es/style/index.less +13 -13
  48. package/lib/AMap/Map.js +1 -2
  49. package/lib/AutoComplete/AutoComplete.js +0 -1
  50. package/lib/BadgeStatus/Badge.js +1 -2
  51. package/lib/CardSelect/CardSelect.js +1 -2
  52. package/lib/CardSelect/style/css.js +3 -0
  53. package/lib/CheckButton/CheckButton.js +1 -2
  54. package/lib/CheckButton/style/css.js +3 -0
  55. package/lib/DragModal/DragModal.js +0 -1
  56. package/lib/DragModal/style/css.js +3 -0
  57. package/lib/Echarts/Echarts.js +1 -2
  58. package/lib/EditTable/EditTable.js +4 -6
  59. package/lib/EditTable/FormItem.js +0 -1
  60. package/lib/EditTable/Header.js +5 -3
  61. package/lib/EditTable/components/ContextMenu/Menu.js +1 -2
  62. package/lib/EditTable/components/Search/search.js +1 -2
  63. package/lib/EditTable/components/Search/sort.js +1 -3
  64. package/lib/EditTable/group.js +7 -10
  65. package/lib/EditTable/hooks/useValidate.js +1 -1
  66. package/lib/EditTable/style/css.js +3 -0
  67. package/lib/EditTable/utils.js +1 -1
  68. package/lib/Ellipsis/style/css.js +3 -0
  69. package/lib/FullPage/FullPage.js +1 -2
  70. package/lib/Icon/icon.js +4 -5
  71. package/lib/LocaleProvider/index.js +1 -2
  72. package/lib/MonacoEditor/style/css.js +3 -0
  73. package/lib/PermissionButton/index.js +6 -7
  74. package/lib/ProLayout/Basic/BasicLayout.js +34 -40
  75. package/lib/ProLayout/Basic/Header.js +2 -6
  76. package/lib/ProLayout/PageContainer/index.js +7 -11
  77. package/lib/ProLayout/SiderMenu/BaseMenu.js +17 -39
  78. package/lib/ProLayout/SiderMenu/SiderMenu.js +14 -35
  79. package/lib/ProLayout/TopHeader/index.js +2 -9
  80. package/lib/ProLayout/style/css.js +3 -0
  81. package/lib/ProLayout/util.js +5 -5
  82. package/lib/ProTable/Content.js +5 -5
  83. package/lib/ProTable/hooks/useTableSelection.js +2 -0
  84. package/lib/ProTable/style/css.js +3 -0
  85. package/lib/RadioButton/RadioButton.js +0 -1
  86. package/lib/RadioButton/style/css.js +3 -0
  87. package/lib/Scrollbar/style/css.js +3 -0
  88. package/lib/Search/Advanced/SaveHistory.js +1 -2
  89. package/lib/Search/Item.js +1 -2
  90. package/lib/Search/style/css.js +4 -0
  91. package/lib/Title/style/css.js +3 -0
  92. package/lib/Title/title.js +0 -1
  93. package/lib/components.js +1 -2
  94. package/lib/index.js +1 -2
  95. package/lib/style/css.js +4 -0
  96. package/lib/style/index.less +13 -13
  97. package/package.json +5 -5
  98. package/es/CardSelect/style/index.css +0 -24
  99. package/es/CardSelect/style/index.less +0 -26
  100. package/es/CheckButton/style/index.css +0 -37
  101. package/es/CheckButton/style/index.less +0 -40
  102. package/es/DragModal/style/index.css +0 -82
  103. package/es/DragModal/style/index.less +0 -97
  104. package/es/EditTable/style/body.less +0 -66
  105. package/es/EditTable/style/form.less +0 -33
  106. package/es/EditTable/style/group.less +0 -32
  107. package/es/EditTable/style/header.less +0 -77
  108. package/es/EditTable/style/index.css +0 -267
  109. package/es/EditTable/style/index.less +0 -41
  110. package/es/EditTable/style/menu.less +0 -25
  111. package/es/EditTable/style/table.less +0 -47
  112. package/es/Ellipsis/style/index.css +0 -17
  113. package/es/Ellipsis/style/index.less +0 -20
  114. package/es/MonacoEditor/style/index.css +0 -4
  115. package/es/MonacoEditor/style/index.less +0 -4
  116. package/es/ProLayout/Basic/BasicLayout.less +0 -66
  117. package/es/ProLayout/Basic/Header.less +0 -8
  118. package/es/ProLayout/PageContainer/index.less +0 -103
  119. package/es/ProLayout/SiderMenu/index.less +0 -231
  120. package/es/ProLayout/TopHeader/index.less +0 -174
  121. package/es/ProLayout/style/default.less +0 -4
  122. package/es/ProLayout/style/style.less +0 -7
  123. package/es/ProTable/style/ProTable.less +0 -141
  124. package/es/RadioButton/style/index.css +0 -20
  125. package/es/RadioButton/style/index.less +0 -19
  126. package/es/Scrollbar/style/index.css +0 -65
  127. package/es/Scrollbar/style/index.less +0 -83
  128. package/es/Search/style/Item.less +0 -33
  129. package/es/Search/style/Search.less +0 -179
  130. package/es/Title/style/index.css +0 -23
  131. package/es/Title/style/index.less +0 -25
  132. package/es/style/index.css +0 -5197
  133. package/es/style/variable.css +0 -4
  134. package/es/style/variable.less +0 -4
  135. package/lib/CardSelect/style/index.css +0 -24
  136. package/lib/CardSelect/style/index.less +0 -26
  137. package/lib/CheckButton/style/index.css +0 -37
  138. package/lib/CheckButton/style/index.less +0 -40
  139. package/lib/DragModal/style/index.css +0 -82
  140. package/lib/DragModal/style/index.less +0 -97
  141. package/lib/EditTable/style/body.less +0 -66
  142. package/lib/EditTable/style/form.less +0 -33
  143. package/lib/EditTable/style/group.less +0 -32
  144. package/lib/EditTable/style/header.less +0 -77
  145. package/lib/EditTable/style/index.css +0 -267
  146. package/lib/EditTable/style/index.less +0 -41
  147. package/lib/EditTable/style/menu.less +0 -25
  148. package/lib/EditTable/style/table.less +0 -47
  149. package/lib/Ellipsis/style/index.css +0 -17
  150. package/lib/Ellipsis/style/index.less +0 -20
  151. package/lib/MonacoEditor/style/index.css +0 -4
  152. package/lib/MonacoEditor/style/index.less +0 -4
  153. package/lib/ProLayout/Basic/BasicLayout.less +0 -66
  154. package/lib/ProLayout/Basic/Header.less +0 -8
  155. package/lib/ProLayout/PageContainer/index.less +0 -103
  156. package/lib/ProLayout/SiderMenu/index.less +0 -231
  157. package/lib/ProLayout/TopHeader/index.less +0 -174
  158. package/lib/ProLayout/style/default.less +0 -4
  159. package/lib/ProLayout/style/style.less +0 -7
  160. package/lib/ProTable/style/ProTable.less +0 -141
  161. package/lib/RadioButton/style/index.css +0 -20
  162. package/lib/RadioButton/style/index.less +0 -19
  163. package/lib/Scrollbar/style/index.css +0 -65
  164. package/lib/Scrollbar/style/index.less +0 -83
  165. package/lib/Search/style/Item.less +0 -33
  166. package/lib/Search/style/Search.less +0 -179
  167. package/lib/Title/style/index.css +0 -23
  168. package/lib/Title/style/index.less +0 -25
  169. package/lib/style/components.less +0 -9
  170. package/lib/style/index.css +0 -5197
  171. package/lib/style/variable.css +0 -4
  172. package/lib/style/variable.less +0 -4
@@ -1,40 +0,0 @@
1
- @import 'ant-design-vue/es/style/themes/index.less';
2
-
3
- .j-check-button {
4
- display: flex;
5
- gap: 16px;
6
- width: 100%;
7
-
8
- .j-check-button-item {
9
- flex: 1;
10
- min-width: 0;
11
- padding: 8px;
12
- border-radius: @border-radius-base;
13
- background-color: #f2f3f5;
14
- transition: all 0.3s;
15
- color: #333;
16
- text-align: center;
17
- cursor: pointer;
18
-
19
- &:hover {
20
- background-color: @primary-color;
21
- opacity: 0.85;
22
- color: #fff;
23
- }
24
-
25
- &.selected {
26
- background-color: @primary-color;
27
- color: #fff;
28
- }
29
-
30
- &.disabled {
31
- cursor: not-allowed;
32
- color: #00000060;
33
-
34
- &:hover {
35
- background-color: #f2f3f5;
36
- color: #00000060;
37
- }
38
- }
39
- }
40
- }
@@ -1,82 +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
- .dialog-enter-active,
6
- .dialog-leave-active {
7
- transition: opacity 0.5s;
8
- }
9
- .dialog-enter,
10
- .dialog-leave-to {
11
- opacity: 0;
12
- }
13
- .jetlinks-drag-modal {
14
- position: fixed;
15
- z-index: 1000;
16
- }
17
- .jetlinks-drag-modal .jetlinks-drag-modal-sprite {
18
- position: absolute;
19
- width: 100%;
20
- height: 100%;
21
- display: flex;
22
- flex-direction: column;
23
- overflow: hidden;
24
- z-index: 23456765435;
25
- background-color: #ffffff;
26
- border-radius: 4px;
27
- border: 1px solid #91CAFF;
28
- box-shadow: 0 3px 8px 0 rgba(22, 119, 255, 0.24);
29
- }
30
- .jetlinks-drag-modal .jetlinks-drag-modal-sprite .header {
31
- padding: 5px 15px;
32
- font-size: 18px;
33
- font-weight: 700;
34
- color: #333;
35
- display: flex;
36
- justify-content: space-between;
37
- align-items: center;
38
- border-bottom: 1px solid #f0f0f0;
39
- cursor: move;
40
- }
41
- .jetlinks-drag-modal .jetlinks-drag-modal-sprite .jetlinks-drag-modal-body {
42
- flex: 1;
43
- min-height: 0;
44
- overflow-y: auto;
45
- padding: 24px 20px;
46
- }
47
- .jetlinks-drag-modal .jetlinks-drag-modal-sprite .jetlinks-drag-modal-footer {
48
- border-top: 1px solid #f0f0f0;
49
- padding: 5px 15px;
50
- text-align: right;
51
- }
52
- .jetlinks-drag-modal .jetlinks-drag-modal-range {
53
- position: absolute;
54
- width: 16px;
55
- height: 16px;
56
- border-radius: 100%;
57
- z-index: 23456765436;
58
- }
59
- .jetlinks-drag-modal .jetlinks-drag-modal-range .drag-bottom-right:hover,
60
- .jetlinks-drag-modal .jetlinks-drag-modal-range .drag-top-left:hover {
61
- cursor: nwse-resize;
62
- }
63
- .jetlinks-drag-modal .jetlinks-drag-modal-range .drag-bottom-left:hover,
64
- .jetlinks-drag-modal .jetlinks-drag-modal-range .drag-top-right:hover {
65
- cursor: nesw-resize;
66
- }
67
- .jetlinks-drag-modal .jetlinks-drag-modal-range .drag-top-right {
68
- top: -6px;
69
- right: -6px;
70
- }
71
- .jetlinks-drag-modal .jetlinks-drag-modal-range .drag-top-left {
72
- top: -6px;
73
- left: -6px;
74
- }
75
- .jetlinks-drag-modal .jetlinks-drag-modal-range .drag-bottom-right {
76
- bottom: -6px;
77
- right: -6px;
78
- }
79
- .jetlinks-drag-modal .jetlinks-drag-modal-range .drag-bottom-left {
80
- bottom: -6px;
81
- left: -6px;
82
- }
@@ -1,97 +0,0 @@
1
- @import "ant-design-vue/es/style/themes/index.less";
2
- @boxColor: rgb(@primary-color);
3
-
4
- // 弹窗动画
5
- .dialog-enter-active,
6
- .dialog-leave-active {
7
- transition: opacity .5s;
8
- }
9
-
10
- .dialog-enter,
11
- .dialog-leave-to {
12
- opacity: 0;
13
- }
14
-
15
- .jetlinks-drag-modal {
16
- position: fixed;
17
- z-index: 1000;
18
-
19
- .jetlinks-drag-modal-sprite {
20
- position: absolute;
21
- width: 100%;
22
- height: 100%;
23
- display: flex;
24
- flex-direction: column;
25
- overflow: hidden;
26
- z-index: 23456765435;
27
- background-color: #ffffff;
28
- border-radius: 4px;
29
- border: 1px solid #91CAFF;
30
- box-shadow: 0 3px 8px 0 rgba(#1677FF, 0.24);
31
-
32
- .header {
33
- padding: 5px 15px;
34
- font-size: 18px;
35
- font-weight: 700;
36
- color: #333;
37
- display: flex;
38
- justify-content: space-between;
39
- align-items: center;
40
- border-bottom: 1px solid #f0f0f0;
41
- cursor: move;
42
- }
43
-
44
- .jetlinks-drag-modal-body {
45
- flex: 1;
46
- min-height: 0;
47
- overflow-y: auto;
48
- padding: 24px 20px;
49
- }
50
-
51
- .jetlinks-drag-modal-footer {
52
- border-top: 1px solid #f0f0f0;
53
- padding: 5px 15px;
54
- text-align: right;
55
- }
56
- }
57
-
58
- .jetlinks-drag-modal-range {
59
- position: absolute;
60
- width: 16px;
61
- height: 16px;
62
- border-radius: 100%;
63
- z-index: 23456765436;
64
-
65
- .drag-bottom-right, .drag-top-left {
66
- &:hover {
67
- cursor: nwse-resize
68
- }
69
- }
70
-
71
- .drag-bottom-left, .drag-top-right {
72
- &:hover {
73
- cursor: nesw-resize
74
- }
75
- }
76
-
77
- .drag-top-right {
78
- top: -6px;
79
- right: -6px;
80
- }
81
-
82
- .drag-top-left {
83
- top: -6px;
84
- left: -6px;
85
- }
86
-
87
- .drag-bottom-right {
88
- bottom: -6px;
89
- right: -6px;
90
- }
91
-
92
- .drag-bottom-left {
93
- bottom: -6px;
94
- left: -6px;
95
- }
96
- }
97
- }
@@ -1,66 +0,0 @@
1
- .jetlinks-edit-table-body-viewport {
2
- max-height: 100%;
3
- width: 100%;
4
- overflow: hidden auto;
5
- position: relative;
6
-
7
- .jetlinks-edit-scrollbar {
8
- position: absolute;
9
- left: 0;
10
- top: 0;
11
- right: 0;
12
- z-index: -1;
13
- }
14
-
15
- .jetlinks-edit-table-body-container {
16
- overflow: hidden;
17
- height: 100%;
18
- }
19
-
20
- .jetlinks-edit-table-center {
21
- position: relative;
22
- flex: 1 1 auto;
23
- min-width: 0;
24
- height: 100%;
25
-
26
- .jetlinks-edit-table-row {
27
- width: 100%;
28
- display: flex;
29
- align-items: center;
30
- transition: top .2s, height .2s, background-color .1s;
31
- border-bottom: 1px solid #ebebeb;
32
- .jetlinks-edit-table-cell{
33
- position:absolute;
34
- min-width: 0;;
35
- }
36
-
37
- &:hover {
38
- background-color: rgb(248, 248, 248);
39
- }
40
-
41
- &.jetlinks-edit-table-row-selected {
42
- background-color: var(--ant-primary-1);
43
- }
44
-
45
- .body-cell-box {
46
- padding: 0 12px;
47
- position: relative;
48
- }
49
- }
50
-
51
- .readonly-mask {
52
- position: absolute;
53
- top: 0;
54
- left: 0;
55
- right: 0;
56
- bottom: 0;
57
- z-index: 4;
58
- }
59
- }
60
- }
61
- .jetlinks-edit-table-body-empty {
62
- display: flex;
63
- width: 100%;
64
- justify-content: center;
65
- padding-top: 24px;
66
- }
@@ -1,33 +0,0 @@
1
- .jetlinks-table-form-error-target {
2
- position: absolute;
3
- right: 2px;
4
- top: -9px;
5
- border: 16px solid transparent;
6
- border-top-color: @error-color;
7
- border-right-width: 0;
8
- border-bottom-width: 0;
9
- }
10
-
11
- .jetlinks-edit-table-form-has-error {
12
-
13
- .select-no-value {
14
- .ant-select-selector {
15
- border-color: @error-color !important;
16
- &:focus {
17
- box-shadow: 0 0 0 2px var(--ant-error-color-outline) !important;
18
- }
19
- }
20
- }
21
-
22
- > input {
23
- border-color: @error-color !important;
24
-
25
- &:focus {
26
- box-shadow: 0 0 0 2px var(--ant-error-color-outline) !important;
27
- }
28
- }
29
-
30
- .jetlinks-table-form-required-aicon {
31
- color: @error-color;
32
- }
33
- }
@@ -1,32 +0,0 @@
1
- .jetlinks-table-group-warp {
2
- .ant-tabs-nav {
3
- margin-bottom: 0;
4
- .ant-tabs-tab {
5
- overflow: hidden;
6
- position: relative;
7
- }
8
- .ant-tabs-tab-active {
9
- background-color: #BAE0FF !important;
10
- border-color: #91CAFF !important;
11
-
12
- }
13
-
14
- .ant-tabs-nav-add {
15
- border: none;
16
- }
17
- }
18
- }
19
-
20
- .jetlinks-table-group-error-warp {
21
- color: #1a1a1a !important;
22
-
23
- .table-group-error-target {
24
- position: absolute;
25
- right: 0;
26
- top: 0;
27
- border: 16px solid transparent;
28
- border-top-color: @error-color;
29
- border-right-width: 0;
30
- border-bottom-width: 0;
31
- }
32
- }
@@ -1,77 +0,0 @@
1
- .jetlinks-edit-table-header-container {
2
- height: 100%;
3
- position: relative;
4
-
5
- .jetlinks-edit-table-header-cell {
6
- height: 100%;
7
- display: inline-flex;
8
- align-items: center;
9
- float: left;
10
- overflow: visible;
11
- position: absolute;
12
- top: 0;
13
-
14
- .jetlinks-edit-table-header-cell-box {
15
- padding: 0 12px;
16
- width: 100%;
17
-
18
- &.header-cell-box-tool {
19
- display: flex;
20
- justify-content: space-between;
21
- align-items: center;
22
- }
23
-
24
- .table-header-cell-title {
25
- flex: 1;
26
- display: flex;
27
- align-items: center;
28
- font-weight: 600;
29
- gap: 4px;
30
-
31
- .cell-title-box {
32
- flex: 1 1 auto;
33
- }
34
- }
35
-
36
- .header-cell-required {
37
- color: @error-color;
38
- padding-left: 8px;
39
- transform: translateY(3px);
40
- font-weight: 500;
41
- }
42
-
43
- &::before {
44
- position: absolute;
45
- top: 50%;
46
- right: 1px;
47
- width: 1px;
48
- height: 1.6em;
49
- pointer-events: none;
50
- background-color: rgba(0,0,0,.06);
51
- transform: translateY(-50%);
52
- transition: background-color .3s;
53
- content: "";
54
- }
55
-
56
- &:not(:last-child) {
57
- &::before {
58
- background-color: transparent;
59
- }
60
- }
61
- }
62
- }
63
- }
64
-
65
- .jetlinks-table-search {
66
- .jetlinks-table-search-header {
67
- display: flex;
68
- justify-content: space-between;
69
- .jetlinks-drag-modal-footer {
70
- display: none;
71
- }
72
-
73
- .jetlinks-table-search-result-total {
74
- color: @primary-color;
75
- }
76
- }
77
- }
@@ -1,267 +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
- .jetlinks-edit-table-wrapper {
6
- background: #fff;
7
- height: 100%;
8
- position: relative;
9
- }
10
- .jetlinks-edit-table-wrapper.table-full-screen {
11
- padding: 24px;
12
- }
13
- .jetlinks-edit-table-wrapper .jetlinks-edit-table {
14
- display: flex;
15
- flex-direction: column;
16
- flex-grow: 0;
17
- flex-shrink: 0;
18
- background: #fafafa;
19
- transition: background-color 0.3s ease;
20
- overflow: auto hidden;
21
- }
22
- .jetlinks-edit-table-wrapper .jetlinks-edit-table .jetlinks-edit-table-header {
23
- overflow: hidden;
24
- width: 100%;
25
- }
26
- .jetlinks-edit-table-wrapper .jetlinks-edit-table .jetlinks-edit-table-body {
27
- background-color: #fff;
28
- overflow-y: hidden;
29
- position: relative;
30
- height: 100%;
31
- width: 100%;
32
- flex: 1 1 auto;
33
- flex-direction: row;
34
- }
35
- .jetlinks-edit-table-wrapper .jetlinks-edit-table .jetlinks-table-horizontal-scroll {
36
- width: 100%;
37
- height: 15px;
38
- min-height: 15px;
39
- max-height: 15px;
40
- display: flex;
41
- }
42
- .jetlinks-edit-table-wrapper .jetlinks-edit-table .jetlinks-table-horizontal-scroll .jetlinks-table-horizontal-scroll-bar {
43
- height: 100%;
44
- overflow-x: scroll;
45
- }
46
- .jetlinks-edit-table-body-viewport {
47
- max-height: 100%;
48
- width: 100%;
49
- overflow: hidden auto;
50
- position: relative;
51
- }
52
- .jetlinks-edit-table-body-viewport .jetlinks-edit-scrollbar {
53
- position: absolute;
54
- left: 0;
55
- top: 0;
56
- right: 0;
57
- z-index: -1;
58
- }
59
- .jetlinks-edit-table-body-viewport .jetlinks-edit-table-body-container {
60
- overflow: hidden;
61
- height: 100%;
62
- }
63
- .jetlinks-edit-table-body-viewport .jetlinks-edit-table-center {
64
- position: relative;
65
- flex: 1 1 auto;
66
- min-width: 0;
67
- height: 100%;
68
- }
69
- .jetlinks-edit-table-body-viewport .jetlinks-edit-table-center .jetlinks-edit-table-row {
70
- width: 100%;
71
- display: flex;
72
- align-items: center;
73
- transition: top 0.2s, height 0.2s, background-color 0.1s;
74
- border-bottom: 1px solid #ebebeb;
75
- }
76
- .jetlinks-edit-table-body-viewport .jetlinks-edit-table-center .jetlinks-edit-table-row .jetlinks-edit-table-cell {
77
- position: absolute;
78
- min-width: 0;
79
- }
80
- .jetlinks-edit-table-body-viewport .jetlinks-edit-table-center .jetlinks-edit-table-row:hover {
81
- background-color: #f8f8f8;
82
- }
83
- .jetlinks-edit-table-body-viewport .jetlinks-edit-table-center .jetlinks-edit-table-row.jetlinks-edit-table-row-selected {
84
- background-color: var(--ant-primary-1);
85
- }
86
- .jetlinks-edit-table-body-viewport .jetlinks-edit-table-center .jetlinks-edit-table-row .body-cell-box {
87
- padding: 0 12px;
88
- position: relative;
89
- }
90
- .jetlinks-edit-table-body-viewport .jetlinks-edit-table-center .readonly-mask {
91
- position: absolute;
92
- top: 0;
93
- left: 0;
94
- right: 0;
95
- bottom: 0;
96
- z-index: 4;
97
- }
98
- .jetlinks-edit-table-body-empty {
99
- display: flex;
100
- width: 100%;
101
- justify-content: center;
102
- padding-top: 24px;
103
- }
104
- .jetlinks-edit-table-header-container {
105
- height: 100%;
106
- position: relative;
107
- }
108
- .jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell {
109
- height: 100%;
110
- display: inline-flex;
111
- align-items: center;
112
- float: left;
113
- overflow: visible;
114
- position: absolute;
115
- top: 0;
116
- }
117
- .jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell .jetlinks-edit-table-header-cell-box {
118
- padding: 0 12px;
119
- width: 100%;
120
- }
121
- .jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell .jetlinks-edit-table-header-cell-box.header-cell-box-tool {
122
- display: flex;
123
- justify-content: space-between;
124
- align-items: center;
125
- }
126
- .jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell .jetlinks-edit-table-header-cell-box .table-header-cell-title {
127
- flex: 1;
128
- display: flex;
129
- align-items: center;
130
- font-weight: 600;
131
- gap: 4px;
132
- }
133
- .jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell .jetlinks-edit-table-header-cell-box .table-header-cell-title .cell-title-box {
134
- flex: 1 1 auto;
135
- }
136
- .jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell .jetlinks-edit-table-header-cell-box .header-cell-required {
137
- color: #ff4d4f;
138
- padding-left: 8px;
139
- transform: translateY(3px);
140
- font-weight: 500;
141
- }
142
- .jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell .jetlinks-edit-table-header-cell-box::before {
143
- position: absolute;
144
- top: 50%;
145
- right: 1px;
146
- width: 1px;
147
- height: 1.6em;
148
- pointer-events: none;
149
- background-color: rgba(0, 0, 0, 0.06);
150
- transform: translateY(-50%);
151
- transition: background-color 0.3s;
152
- content: "";
153
- }
154
- .jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell .jetlinks-edit-table-header-cell-box:not(:last-child)::before {
155
- background-color: transparent;
156
- }
157
- .jetlinks-table-search .jetlinks-table-search-header {
158
- display: flex;
159
- justify-content: space-between;
160
- }
161
- .jetlinks-table-search .jetlinks-table-search-header .jetlinks-drag-modal-footer {
162
- display: none;
163
- }
164
- .jetlinks-table-search .jetlinks-table-search-header .jetlinks-table-search-result-total {
165
- color: #1890ff;
166
- }
167
- .jetlinks-table-group-warp .ant-tabs-nav {
168
- margin-bottom: 0;
169
- }
170
- .jetlinks-table-group-warp .ant-tabs-nav .ant-tabs-tab {
171
- overflow: hidden;
172
- position: relative;
173
- }
174
- .jetlinks-table-group-warp .ant-tabs-nav .ant-tabs-tab-active {
175
- background-color: #BAE0FF !important;
176
- border-color: #91CAFF !important;
177
- }
178
- .jetlinks-table-group-warp .ant-tabs-nav .ant-tabs-nav-add {
179
- border: none;
180
- }
181
- .jetlinks-table-group-error-warp {
182
- color: #1a1a1a !important;
183
- }
184
- .jetlinks-table-group-error-warp .table-group-error-target {
185
- position: absolute;
186
- right: 0;
187
- top: 0;
188
- border: 16px solid transparent;
189
- border-top-color: #ff4d4f;
190
- border-right-width: 0;
191
- border-bottom-width: 0;
192
- }
193
- .jetlinks-table-form-error-target {
194
- position: absolute;
195
- right: 2px;
196
- top: -9px;
197
- border: 16px solid transparent;
198
- border-top-color: #ff4d4f;
199
- border-right-width: 0;
200
- border-bottom-width: 0;
201
- }
202
- .jetlinks-edit-table-form-has-error .select-no-value .ant-select-selector {
203
- border-color: #ff4d4f !important;
204
- }
205
- .jetlinks-edit-table-form-has-error .select-no-value .ant-select-selector:focus {
206
- box-shadow: 0 0 0 2px var(--ant-error-color-outline) !important;
207
- }
208
- .jetlinks-edit-table-form-has-error > input {
209
- border-color: #ff4d4f !important;
210
- }
211
- .jetlinks-edit-table-form-has-error > input:focus {
212
- box-shadow: 0 0 0 2px var(--ant-error-color-outline) !important;
213
- }
214
- .jetlinks-edit-table-form-has-error .jetlinks-table-form-required-aicon {
215
- color: #ff4d4f;
216
- }
217
- .jetlinks-edit-table-context-menu {
218
- position: fixed;
219
- box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
220
- border-radius: 4px;
221
- overflow: hidden;
222
- width: 192px;
223
- padding: 4px;
224
- background-color: #fff;
225
- }
226
- .jetlinks-edit-table-context-menu .ant-menu {
227
- border-right: none;
228
- }
229
- .jetlinks-edit-table-context-menu .ant-menu .ant-menu-item {
230
- margin: 0;
231
- height: 32px;
232
- }
233
- .jetlinks-edit-table-context-menu .ant-menu .ant-menu-item.danger {
234
- color: #ff4d4f;
235
- }
236
- .jetlinks-edit-table-context-menu .ant-menu-item-active {
237
- background-color: var(--ant-primary-1);
238
- }
239
- .edit-table-search-header {
240
- display: flex;
241
- justify-content: space-between;
242
- }
243
- .edit-table-search-result-total {
244
- color: #1890ff;
245
- }
246
- .jetlinks-edit-table-horizontal-scroll {
247
- height: 17px;
248
- width: 100%;
249
- display: flex;
250
- position: relative;
251
- z-index: 4;
252
- }
253
- .jetlinks-edit-table-horizontal-scroll .jetlinks-edit-table-horizontal-scroll-viewport {
254
- overflow-y: hidden;
255
- overflow-x: scroll;
256
- position: relative;
257
- flex: 1 1 0;
258
- height: 17px;
259
- width: 100%;
260
- }
261
- .jetlinks-edit-table-horizontal-scroll .jetlinks-edit-table-horizontal-scroll-viewport > div {
262
- height: 17px;
263
- }
264
- .jetlinks-edit-table-horizontal-scroll .jetlinks-edit-table-horizontal-scroll-hidden {
265
- height: 100%;
266
- overflow-x: hidden;
267
- }