@jetlinks-web/components 2.6.22 → 2.6.24
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.
- package/es/CardSelect/style/index.css +24 -0
- package/es/CardSelect/style/index.less +26 -0
- package/es/CheckButton/style/index.css +37 -0
- package/es/CheckButton/style/index.less +40 -0
- package/es/DragModal/style/index.css +82 -0
- package/es/DragModal/style/index.less +97 -0
- package/es/EditTable/EditTable.js +1 -1
- package/es/EditTable/group.js +6 -4
- package/es/EditTable/style/body.less +66 -0
- package/es/EditTable/style/form.less +33 -0
- package/es/EditTable/style/group.less +32 -0
- package/es/EditTable/style/header.less +77 -0
- package/es/EditTable/style/index.css +267 -0
- package/es/EditTable/style/index.less +41 -0
- package/es/EditTable/style/menu.less +25 -0
- package/es/EditTable/style/table.less +47 -0
- package/es/Ellipsis/style/index.css +17 -0
- package/es/Ellipsis/style/index.less +20 -0
- package/es/FlameGraph/FlameGraph.js +3 -2
- package/es/FlameGraph/style/index.css +43 -0
- package/es/FlameGraph/style/index.less +52 -0
- package/es/MonacoEditor/style/index.css +4 -0
- package/es/MonacoEditor/style/index.less +4 -0
- package/es/PermissionButton/index.js +4 -4
- package/es/ProLayout/Basic/BasicLayout.less +66 -0
- package/es/ProLayout/Basic/Header.less +8 -0
- package/es/ProLayout/PageContainer/index.less +103 -0
- package/es/ProLayout/SiderMenu/BaseMenu.js +4 -4
- package/es/ProLayout/SiderMenu/index.less +231 -0
- package/es/ProLayout/TopHeader/index.less +174 -0
- package/es/ProLayout/style/default.less +4 -0
- package/es/ProLayout/style/style.less +7 -0
- package/es/ProTable/Content.js +11 -24
- package/es/ProTable/hooks/useTableInject.js +5 -0
- package/es/ProTable/hooks/useTableSelection.js +95 -0
- package/es/ProTable/style/ProTable.less +138 -0
- package/es/RadioButton/style/index.css +20 -0
- package/es/RadioButton/style/index.less +19 -0
- package/es/Scrollbar/style/index.css +65 -0
- package/es/Scrollbar/style/index.less +83 -0
- package/es/Search/style/Item.less +33 -0
- package/es/Search/style/Search.less +179 -0
- package/es/Title/style/index.css +23 -0
- package/es/Title/style/index.less +25 -0
- package/es/style/index.css +5237 -0
- package/es/style/variable.css +4 -0
- package/es/style/variable.less +4 -0
- package/lib/CardSelect/style/index.css +24 -0
- package/lib/CardSelect/style/index.less +26 -0
- package/lib/CheckButton/style/index.css +37 -0
- package/lib/CheckButton/style/index.less +40 -0
- package/lib/DragModal/style/index.css +82 -0
- package/lib/DragModal/style/index.less +97 -0
- package/lib/EditTable/EditTable.js +1 -1
- package/lib/EditTable/group.js +6 -4
- package/lib/EditTable/style/body.less +66 -0
- package/lib/EditTable/style/form.less +33 -0
- package/lib/EditTable/style/group.less +32 -0
- package/lib/EditTable/style/header.less +77 -0
- package/lib/EditTable/style/index.css +267 -0
- package/lib/EditTable/style/index.less +41 -0
- package/lib/EditTable/style/menu.less +25 -0
- package/lib/EditTable/style/table.less +47 -0
- package/lib/Ellipsis/style/index.css +17 -0
- package/lib/Ellipsis/style/index.less +20 -0
- package/lib/FlameGraph/FlameGraph.js +3 -2
- package/lib/FlameGraph/style/index.css +43 -0
- package/lib/FlameGraph/style/index.less +52 -0
- package/lib/Icon/icon.js +1 -2
- package/lib/MonacoEditor/style/index.css +4 -0
- package/lib/MonacoEditor/style/index.less +4 -0
- package/lib/PermissionButton/index.js +4 -4
- package/lib/ProLayout/Basic/BasicLayout.js +1 -2
- package/lib/ProLayout/Basic/BasicLayout.less +66 -0
- package/lib/ProLayout/Basic/Header.less +8 -0
- package/lib/ProLayout/PageContainer/index.less +103 -0
- package/lib/ProLayout/SiderMenu/BaseMenu.js +4 -4
- package/lib/ProLayout/SiderMenu/SiderMenu.js +1 -2
- package/lib/ProLayout/SiderMenu/index.less +231 -0
- package/lib/ProLayout/TopHeader/index.less +174 -0
- package/lib/ProLayout/style/default.less +4 -0
- package/lib/ProLayout/style/style.less +7 -0
- package/lib/ProTable/Content.js +11 -24
- package/lib/ProTable/hooks/useTableInject.js +11 -0
- package/lib/ProTable/hooks/useTableSelection.js +102 -0
- package/lib/ProTable/style/ProTable.less +138 -0
- package/lib/RadioButton/style/index.css +20 -0
- package/lib/RadioButton/style/index.less +19 -0
- package/lib/Scrollbar/style/index.css +65 -0
- package/lib/Scrollbar/style/index.less +83 -0
- package/lib/Search/style/Item.less +33 -0
- package/lib/Search/style/Search.less +179 -0
- package/lib/Title/style/index.css +23 -0
- package/lib/Title/style/index.less +25 -0
- package/lib/components.js +1 -2
- package/lib/index.js +1 -2
- package/lib/style/components.less +10 -0
- package/lib/style/index.css +5237 -0
- package/lib/style/variable.css +4 -0
- package/lib/style/variable.less +4 -0
- package/package.json +4 -4
|
@@ -0,0 +1,24 @@
|
|
|
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-card-select {
|
|
6
|
+
display: grid;
|
|
7
|
+
gap: 12px;
|
|
8
|
+
}
|
|
9
|
+
.j-card-select .j-card-select-item {
|
|
10
|
+
padding: 12px;
|
|
11
|
+
border: 1px solid #e6e6e6;
|
|
12
|
+
border-radius: 2px;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
}
|
|
15
|
+
.j-card-select .j-card-select-item.active {
|
|
16
|
+
border-color: #1890ff;
|
|
17
|
+
}
|
|
18
|
+
.j-card-select .j-card-select-item.disabled {
|
|
19
|
+
cursor: not-allowed;
|
|
20
|
+
opacity: 0.75;
|
|
21
|
+
}
|
|
22
|
+
.j-card-select .j-card-select-item .j-card-select-describe {
|
|
23
|
+
color: #263237;
|
|
24
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@import '../../style/variable.less';
|
|
2
|
+
|
|
3
|
+
.j-card-select {
|
|
4
|
+
display: grid;
|
|
5
|
+
gap: 12px;
|
|
6
|
+
|
|
7
|
+
.j-card-select-item {
|
|
8
|
+
padding: 12px;
|
|
9
|
+
border: 1px solid #e6e6e6;
|
|
10
|
+
border-radius: @border-radius-base;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
|
|
13
|
+
&.active {
|
|
14
|
+
border-color: @primary-color;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.disabled {
|
|
18
|
+
cursor: not-allowed;
|
|
19
|
+
opacity: 0.75;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.j-card-select-describe {
|
|
23
|
+
color: @text-color-subtitle;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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-check-button {
|
|
6
|
+
display: flex;
|
|
7
|
+
gap: 16px;
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
.j-check-button .j-check-button-item {
|
|
11
|
+
flex: 1;
|
|
12
|
+
min-width: 0;
|
|
13
|
+
padding: 8px;
|
|
14
|
+
border-radius: 2px;
|
|
15
|
+
background-color: #f2f3f5;
|
|
16
|
+
transition: all 0.3s;
|
|
17
|
+
color: #333;
|
|
18
|
+
text-align: center;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
.j-check-button .j-check-button-item:hover {
|
|
22
|
+
background-color: #1890ff;
|
|
23
|
+
opacity: 0.85;
|
|
24
|
+
color: #fff;
|
|
25
|
+
}
|
|
26
|
+
.j-check-button .j-check-button-item.selected {
|
|
27
|
+
background-color: #1890ff;
|
|
28
|
+
color: #fff;
|
|
29
|
+
}
|
|
30
|
+
.j-check-button .j-check-button-item.disabled {
|
|
31
|
+
cursor: not-allowed;
|
|
32
|
+
color: #00000060;
|
|
33
|
+
}
|
|
34
|
+
.j-check-button .j-check-button-item.disabled:hover {
|
|
35
|
+
background-color: #f2f3f5;
|
|
36
|
+
color: #00000060;
|
|
37
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@import 'ant-design-vue/lib/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
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
@import "ant-design-vue/lib/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
|
+
}
|
|
@@ -524,7 +524,7 @@ const __sfc_main__ = Object.assign({
|
|
|
524
524
|
style: _normalizeStyle({ minWidth: horizontalScrollWidth.value + 'px', maxWidth: horizontalScrollWidth.value + 'px', height: '100%' })
|
|
525
525
|
}, null, 4 /* STYLE */)
|
|
526
526
|
], 544 /* NEED_HYDRATION, NEED_PATCH */),
|
|
527
|
-
_cache[1] || (_cache[1] = _createElementVNode("div", { style: { "width": "15px", "height": "100%", "overflow-x": "hidden" } }, null, -1 /*
|
|
527
|
+
_cache[1] || (_cache[1] = _createElementVNode("div", { style: { "width": "15px", "height": "100%", "overflow-x": "hidden" } }, null, -1 /* CACHED */))
|
|
528
528
|
]))
|
|
529
529
|
: _createCommentVNode("v-if", true),
|
|
530
530
|
(_ctx.dataSource.length && _ctx.openGroup)
|
package/lib/EditTable/group.js
CHANGED
|
@@ -267,9 +267,10 @@ const __sfc_main__ = Object.assign({
|
|
|
267
267
|
_createElementVNode("span", _hoisted_3, _toDisplayString(_unref(contextLocale).Group.validate), 1 /* TEXT */)
|
|
268
268
|
]),
|
|
269
269
|
default: _withCtx(() => [
|
|
270
|
-
_cache[2] || (_cache[2] = _createElementVNode("div", { class: "jetlinks-table-group-error-target" }, null, -1 /*
|
|
270
|
+
_cache[2] || (_cache[2] = _createElementVNode("div", { class: "jetlinks-table-group-error-target" }, null, -1 /* CACHED */))
|
|
271
271
|
]),
|
|
272
|
-
_: 1 /* STABLE
|
|
272
|
+
_: 1 /* STABLE */,
|
|
273
|
+
__: [2]
|
|
273
274
|
}))
|
|
274
275
|
: _createCommentVNode("v-if", true)
|
|
275
276
|
])
|
|
@@ -289,9 +290,10 @@ const __sfc_main__ = Object.assign({
|
|
|
289
290
|
_createElementVNode("span", _hoisted_5, _toDisplayString(_unref(contextLocale).Group.validate), 1 /* TEXT */)
|
|
290
291
|
]),
|
|
291
292
|
default: _withCtx(() => [
|
|
292
|
-
_cache[3] || (_cache[3] = _createElementVNode("div", { class: "jetlinks-table-group-error-target" }, null, -1 /*
|
|
293
|
+
_cache[3] || (_cache[3] = _createElementVNode("div", { class: "jetlinks-table-group-error-target" }, null, -1 /* CACHED */))
|
|
293
294
|
]),
|
|
294
|
-
_: 1 /* STABLE
|
|
295
|
+
_: 1 /* STABLE */,
|
|
296
|
+
__: [3]
|
|
295
297
|
}))
|
|
296
298
|
: _createCommentVNode("v-if", true)
|
|
297
299
|
]))
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
}
|