@jetlinks-web/components 2.0.36 → 2.0.38
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.js +1 -0
- package/es/CheckButton/style/index.js +1 -0
- package/es/DragModal/DragModal.js +307 -0
- package/es/DragModal/index.js +5 -0
- package/es/DragModal/style/index.css +81 -0
- package/es/DragModal/style/index.js +1 -0
- package/es/DragModal/style/index.less +96 -0
- package/es/EditTable/Body.js +365 -0
- package/es/EditTable/EditTable.js +401 -0
- package/es/EditTable/Header.js +242 -0
- package/es/EditTable/components/ContextMenu/Menu.js +154 -0
- package/es/EditTable/components/ContextMenu/index.js +81 -0
- package/es/EditTable/components/Search/Search.js +290 -0
- package/es/EditTable/components/Search/index.js +1 -0
- package/es/EditTable/consts.js +7 -0
- package/es/EditTable/hooks/index.js +40 -0
- package/es/EditTable/hooks/useResizeObserver.js +31 -0
- package/es/EditTable/hooks/useValidate.js +87 -0
- package/es/EditTable/index.js +9 -0
- package/es/EditTable/props.js +50 -0
- package/es/EditTable/style/body.less +76 -0
- package/es/EditTable/style/header.less +77 -0
- package/es/EditTable/style/index.css +219 -0
- package/es/EditTable/style/index.js +1 -0
- package/es/EditTable/style/index.less +42 -0
- package/es/EditTable/style/table.less +42 -0
- package/es/EditTable/utils.js +98 -0
- package/es/Ellipsis/style/index.js +1 -0
- package/es/FullPage/FullPage.js +1 -1
- package/es/ProTable/Content.js +5 -2
- package/es/ProTable/style/ProTable.less +134 -134
- package/es/Search/Advanced/SaveHistory.js +1 -1
- package/es/Search/Item.js +1 -1
- package/es/Search/Search.js +1 -1
- package/es/components.js +3 -1
- package/es/style/index.css +292 -3
- package/es/style/index.less +9 -7
- package/es/style.js +3 -1
- package/lib/CardSelect/style/index.js +3 -0
- package/lib/CheckButton/style/index.js +3 -0
- package/lib/DragModal/DragModal.js +307 -0
- package/lib/DragModal/index.js +12 -0
- package/lib/DragModal/style/index.css +81 -0
- package/lib/DragModal/style/index.js +3 -0
- package/lib/DragModal/style/index.less +96 -0
- package/lib/EditTable/Body.js +365 -0
- package/lib/EditTable/EditTable.js +401 -0
- package/lib/EditTable/Header.js +242 -0
- package/lib/EditTable/components/ContextMenu/Menu.js +154 -0
- package/lib/EditTable/components/ContextMenu/index.js +88 -0
- package/lib/EditTable/components/Search/Search.js +290 -0
- package/lib/EditTable/components/Search/index.js +13 -0
- package/lib/EditTable/consts.js +13 -0
- package/lib/EditTable/hooks/index.js +79 -0
- package/lib/EditTable/hooks/useResizeObserver.js +38 -0
- package/lib/EditTable/hooks/useValidate.js +94 -0
- package/lib/EditTable/index.js +16 -0
- package/lib/EditTable/props.js +56 -0
- package/lib/EditTable/style/body.less +76 -0
- package/lib/EditTable/style/header.less +77 -0
- package/lib/EditTable/style/index.css +219 -0
- package/lib/EditTable/style/index.js +3 -0
- package/lib/EditTable/style/index.less +42 -0
- package/lib/EditTable/style/table.less +42 -0
- package/lib/EditTable/utils.js +105 -0
- package/lib/Ellipsis/style/index.js +3 -0
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/ProTable/Content.js +5 -2
- package/lib/ProTable/style/ProTable.less +134 -134
- package/lib/Search/Advanced/SaveHistory.js +1 -1
- package/lib/Search/Item.js +1 -1
- package/lib/Search/Search.js +1 -1
- package/lib/components.js +14 -0
- package/lib/style/components.less +2 -0
- package/lib/style/index.css +292 -3
- package/lib/style/index.less +9 -7
- package/lib/style.js +3 -1
- package/package.json +5 -3
package/es/FullPage/FullPage.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
} */
|
|
7
7
|
import { defineComponent as _defineComponent } from 'vue';
|
|
8
8
|
import { unref as _unref, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
9
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
9
|
+
const _withScopeId = n => (_pushScopeId("data-v-1722910928606"), n = n(), _popScopeId(), n);
|
|
10
10
|
const _hoisted_1 = { class: "full-page-warp-content" };
|
|
11
11
|
import { ref } from 'vue';
|
|
12
12
|
import { useElementBounding } from '@vueuse/core';
|
package/es/ProTable/Content.js
CHANGED
|
@@ -104,9 +104,12 @@ const __sfc_main__ = _defineComponent({
|
|
|
104
104
|
headerCell: _withCtx(({ column, title }) => [
|
|
105
105
|
_renderSlot(_ctx.$slots, "headerCell", _normalizeProps(_guardReactiveProps({ column, title })))
|
|
106
106
|
]),
|
|
107
|
-
bodyCell: _withCtx(({ column, record }) => [
|
|
107
|
+
bodyCell: _withCtx(({ column, record, index }) => [
|
|
108
108
|
((_optionalChain([column, 'optionalAccess', _9 => _9.key]) || _optionalChain([column, 'optionalAccess', _10 => _10.dataIndex])) && _optionalChain([column, 'optionalAccess', _11 => _11.scopedSlots]) && (_optionalChain([_unref, 'call', _12 => _12(slots), 'optionalAccess', _13 => _13[_optionalChain([column, 'optionalAccess', _14 => _14.dataIndex])]]) || _optionalChain([_unref, 'call', _15 => _15(slots), 'optionalAccess', _16 => _16[_optionalChain([column, 'optionalAccess', _17 => _17.key])]])))
|
|
109
|
-
? _renderSlot(_ctx.$slots, _optionalChain([column, 'optionalAccess', _18 => _18.key]) || _optionalChain([column, 'optionalAccess', _19 => _19.dataIndex]),
|
|
109
|
+
? _renderSlot(_ctx.$slots, _optionalChain([column, 'optionalAccess', _18 => _18.key]) || _optionalChain([column, 'optionalAccess', _19 => _19.dataIndex]), _mergeProps({ key: 0 }, record, {
|
|
110
|
+
index: index,
|
|
111
|
+
column: column
|
|
112
|
+
}))
|
|
110
113
|
: (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [
|
|
111
114
|
_createTextVNode(_toDisplayString(_unref(get)(record, _optionalChain([column, 'optionalAccess', _20 => _20.dataIndex]) || _optionalChain([column, 'optionalAccess', _21 => _21.key]))), 1 /* TEXT */)
|
|
112
115
|
], 64 /* STABLE_FRAGMENT */))
|
|
@@ -1,134 +1,134 @@
|
|
|
1
|
-
@import '../../style/variable.less';
|
|
2
|
-
@import 'ant-design-vue/es/pagination/style/index.less';
|
|
3
|
-
|
|
4
|
-
.jtable-body-spin {
|
|
5
|
-
height: 100%;
|
|
6
|
-
width: 100%;
|
|
7
|
-
background-color: #fff;
|
|
8
|
-
|
|
9
|
-
.ant-spin-nested-loading {
|
|
10
|
-
height: 100%;
|
|
11
|
-
|
|
12
|
-
.ant-spin-container {
|
|
13
|
-
height: 100%;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.jtable-body {
|
|
18
|
-
width: 100%;
|
|
19
|
-
box-sizing: border-box;
|
|
20
|
-
height: 100%;
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.jtable-body-header {
|
|
27
|
-
display: flex;
|
|
28
|
-
justify-content: space-between;
|
|
29
|
-
align-items: center;
|
|
30
|
-
margin-bottom: 16px;
|
|
31
|
-
width: 100%;
|
|
32
|
-
gap: 8px;
|
|
33
|
-
|
|
34
|
-
.jtable-body-header-left {
|
|
35
|
-
flex: 1;
|
|
36
|
-
min-width: 0;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.jtable-body-header-right {
|
|
40
|
-
display: flex;
|
|
41
|
-
gap: 8px;
|
|
42
|
-
align-items: center;
|
|
43
|
-
|
|
44
|
-
.jtable-body-header-right-button {
|
|
45
|
-
width: 62px;
|
|
46
|
-
|
|
47
|
-
.right-button-icon {
|
|
48
|
-
font-size: 16px;
|
|
49
|
-
color: #d9d9d9;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.ant-radio-button-wrapper {
|
|
53
|
-
padding: 0 8px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
:deep(.ant-radio-button-wrapper-checked) {
|
|
57
|
-
color: @primary-color;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.jtable-box {
|
|
64
|
-
flex: 1;
|
|
65
|
-
min-height: 0;
|
|
66
|
-
|
|
67
|
-
.jtable-card {
|
|
68
|
-
height: 100%;
|
|
69
|
-
overflow-y: auto;
|
|
70
|
-
|
|
71
|
-
.jtable-card-items {
|
|
72
|
-
display: grid;
|
|
73
|
-
grid-gap: 26px;
|
|
74
|
-
|
|
75
|
-
.jtable-card-item {
|
|
76
|
-
display: flex;
|
|
77
|
-
min-width: 0;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.j-table-empty {
|
|
82
|
-
margin-top: 100px;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.ant-table-wrapper {
|
|
87
|
-
height: 100%;
|
|
88
|
-
.ant-table {
|
|
89
|
-
height: 100%;
|
|
90
|
-
|
|
91
|
-
.ant-table-container {
|
|
92
|
-
height: 100%;
|
|
93
|
-
|
|
94
|
-
.ant-table-content {
|
|
95
|
-
height: 100%;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.j-table-scroll {
|
|
102
|
-
|
|
103
|
-
.ant-table-container {
|
|
104
|
-
display: flex;
|
|
105
|
-
flex-direction: column;
|
|
106
|
-
|
|
107
|
-
.ant-table-body {
|
|
108
|
-
flex: 1;
|
|
109
|
-
min-height: 0;
|
|
110
|
-
overflow-y: auto;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.jtable-alert {
|
|
117
|
-
margin-bottom: 16px;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.jtable-pagination {
|
|
121
|
-
width: 100%;
|
|
122
|
-
display: flex;
|
|
123
|
-
justify-content: flex-end;
|
|
124
|
-
margin-top: 16px;
|
|
125
|
-
|
|
126
|
-
.show-content {
|
|
127
|
-
.@{ant-prefix}-pagination-item,
|
|
128
|
-
& .@{ant-prefix}-pagination-jump-prev,
|
|
129
|
-
& .@{ant-prefix}-pagination-jump-next {
|
|
130
|
-
display: none;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
1
|
+
@import '../../style/variable.less';
|
|
2
|
+
@import 'ant-design-vue/es/pagination/style/index.less';
|
|
3
|
+
|
|
4
|
+
.jtable-body-spin {
|
|
5
|
+
height: 100%;
|
|
6
|
+
width: 100%;
|
|
7
|
+
background-color: #fff;
|
|
8
|
+
|
|
9
|
+
.ant-spin-nested-loading {
|
|
10
|
+
height: 100%;
|
|
11
|
+
|
|
12
|
+
.ant-spin-container {
|
|
13
|
+
height: 100%;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.jtable-body {
|
|
18
|
+
width: 100%;
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
height: 100%;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.jtable-body-header {
|
|
27
|
+
display: flex;
|
|
28
|
+
justify-content: space-between;
|
|
29
|
+
align-items: center;
|
|
30
|
+
margin-bottom: 16px;
|
|
31
|
+
width: 100%;
|
|
32
|
+
gap: 8px;
|
|
33
|
+
|
|
34
|
+
.jtable-body-header-left {
|
|
35
|
+
flex: 1;
|
|
36
|
+
min-width: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.jtable-body-header-right {
|
|
40
|
+
display: flex;
|
|
41
|
+
gap: 8px;
|
|
42
|
+
align-items: center;
|
|
43
|
+
|
|
44
|
+
.jtable-body-header-right-button {
|
|
45
|
+
width: 62px;
|
|
46
|
+
|
|
47
|
+
.right-button-icon {
|
|
48
|
+
font-size: 16px;
|
|
49
|
+
color: #d9d9d9;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.ant-radio-button-wrapper {
|
|
53
|
+
padding: 0 8px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:deep(.ant-radio-button-wrapper-checked) {
|
|
57
|
+
color: @primary-color;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.jtable-box {
|
|
64
|
+
flex: 1;
|
|
65
|
+
min-height: 0;
|
|
66
|
+
|
|
67
|
+
.jtable-card {
|
|
68
|
+
height: 100%;
|
|
69
|
+
overflow-y: auto;
|
|
70
|
+
|
|
71
|
+
.jtable-card-items {
|
|
72
|
+
display: grid;
|
|
73
|
+
grid-gap: 26px;
|
|
74
|
+
|
|
75
|
+
.jtable-card-item {
|
|
76
|
+
display: flex;
|
|
77
|
+
min-width: 0;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.j-table-empty {
|
|
82
|
+
margin-top: 100px;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.ant-table-wrapper {
|
|
87
|
+
height: 100%;
|
|
88
|
+
.ant-table {
|
|
89
|
+
height: 100%;
|
|
90
|
+
|
|
91
|
+
.ant-table-container {
|
|
92
|
+
height: 100%;
|
|
93
|
+
|
|
94
|
+
.ant-table-content {
|
|
95
|
+
height: 100%;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.j-table-scroll {
|
|
102
|
+
|
|
103
|
+
.ant-table-container {
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
|
|
107
|
+
.ant-table-body {
|
|
108
|
+
flex: 1;
|
|
109
|
+
min-height: 0;
|
|
110
|
+
overflow-y: auto;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.jtable-alert {
|
|
117
|
+
margin-bottom: 16px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.jtable-pagination {
|
|
121
|
+
width: 100%;
|
|
122
|
+
display: flex;
|
|
123
|
+
justify-content: flex-end;
|
|
124
|
+
margin-top: 16px;
|
|
125
|
+
|
|
126
|
+
.show-content {
|
|
127
|
+
.@{ant-prefix}-pagination-item,
|
|
128
|
+
& .@{ant-prefix}-pagination-jump-prev,
|
|
129
|
+
& .@{ant-prefix}-pagination-jump-next {
|
|
130
|
+
display: none;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
} */
|
|
22
22
|
import { defineComponent as _defineComponent } from 'vue';
|
|
23
23
|
import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
24
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
24
|
+
const _withScopeId = n => (_pushScopeId("data-v-1722910930519"), n = n(), _popScopeId(), n);
|
|
25
25
|
const _hoisted_1 = {
|
|
26
26
|
key: 0,
|
|
27
27
|
style: { "width": "240px" }
|
package/es/Search/Item.js
CHANGED
|
@@ -78,7 +78,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
78
78
|
} */
|
|
79
79
|
import { defineComponent as _defineComponent } from 'vue';
|
|
80
80
|
import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createVNode as _createVNode, Fragment as _Fragment, normalizeStyle as _normalizeStyle, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
81
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
81
|
+
const _withScopeId = n => (_pushScopeId("data-v-1722910929632"), n = n(), _popScopeId(), n);
|
|
82
82
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
83
83
|
const _hoisted_2 = {
|
|
84
84
|
key: 0,
|
package/es/Search/Search.js
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
} */
|
|
37
37
|
import { defineComponent as _defineComponent } from 'vue';
|
|
38
38
|
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
39
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
39
|
+
const _withScopeId = n => (_pushScopeId("data-v-1722910929748"), n = n(), _popScopeId(), n);
|
|
40
40
|
const _hoisted_1 = { class: "JSearch-content simple" };
|
|
41
41
|
const _hoisted_2 = { class: "JSearch-items" };
|
|
42
42
|
import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
|
package/es/components.js
CHANGED
|
@@ -15,4 +15,6 @@ export { default as ProTable } from './ProTable';
|
|
|
15
15
|
export { default as Scrollbar } from './Scrollbar';
|
|
16
16
|
export { default as Search, AdvancedSearch } from './Search';
|
|
17
17
|
export { default as ValueItem } from './ValueItem';
|
|
18
|
-
export { default as TimeFormat } from './TimeFormat';
|
|
18
|
+
export { default as TimeFormat } from './TimeFormat';
|
|
19
|
+
export { default as DragModal } from './DragModal';
|
|
20
|
+
export { default as EditTable } from './EditTable';
|
package/es/style/index.css
CHANGED
|
@@ -1108,9 +1108,6 @@ textarea.ant-pagination-options-quick-jumper input {
|
|
|
1108
1108
|
.jtable-box .ant-table-wrapper .ant-table .ant-table-container .ant-table-content {
|
|
1109
1109
|
height: 100%;
|
|
1110
1110
|
}
|
|
1111
|
-
.jtable-box .j-table-scroll {
|
|
1112
|
-
background-color: red;
|
|
1113
|
-
}
|
|
1114
1111
|
.jtable-box .j-table-scroll .ant-table-container {
|
|
1115
1112
|
display: flex;
|
|
1116
1113
|
flex-direction: column;
|
|
@@ -1322,3 +1319,295 @@ textarea.ant-pagination-options-quick-jumper input {
|
|
|
1322
1319
|
.j-card-select .j-card-select-item .j-card-select-describe {
|
|
1323
1320
|
color: #263237;
|
|
1324
1321
|
}
|
|
1322
|
+
.dialog-enter-active,
|
|
1323
|
+
.dialog-leave-active {
|
|
1324
|
+
transition: opacity 0.5s;
|
|
1325
|
+
}
|
|
1326
|
+
.dialog-enter,
|
|
1327
|
+
.dialog-leave-to {
|
|
1328
|
+
opacity: 0;
|
|
1329
|
+
}
|
|
1330
|
+
.jetlinks-drag-modal {
|
|
1331
|
+
position: fixed;
|
|
1332
|
+
z-index: 1000;
|
|
1333
|
+
}
|
|
1334
|
+
.jetlinks-drag-modal .jetlinks-drag-modal-sprite {
|
|
1335
|
+
position: absolute;
|
|
1336
|
+
width: 100%;
|
|
1337
|
+
height: 100%;
|
|
1338
|
+
display: flex;
|
|
1339
|
+
flex-direction: column;
|
|
1340
|
+
overflow: hidden;
|
|
1341
|
+
z-index: 23456765435;
|
|
1342
|
+
background-color: #ffffff;
|
|
1343
|
+
border-radius: 4px;
|
|
1344
|
+
border: 1px solid #91CAFF;
|
|
1345
|
+
box-shadow: 0 3px 8px 0 rgba(22, 119, 255, 0.24);
|
|
1346
|
+
}
|
|
1347
|
+
.jetlinks-drag-modal .jetlinks-drag-modal-sprite .header {
|
|
1348
|
+
padding: 5px 15px;
|
|
1349
|
+
font-size: 18px;
|
|
1350
|
+
font-weight: 700;
|
|
1351
|
+
color: #333;
|
|
1352
|
+
display: flex;
|
|
1353
|
+
justify-content: space-between;
|
|
1354
|
+
align-items: center;
|
|
1355
|
+
border-bottom: 1px solid #f0f0f0;
|
|
1356
|
+
cursor: move;
|
|
1357
|
+
}
|
|
1358
|
+
.jetlinks-drag-modal .jetlinks-drag-modal-sprite .jetlinks-drag-modal-body {
|
|
1359
|
+
flex: 1;
|
|
1360
|
+
min-height: 0;
|
|
1361
|
+
overflow-y: auto;
|
|
1362
|
+
padding: 24px 20px;
|
|
1363
|
+
}
|
|
1364
|
+
.jetlinks-drag-modal .jetlinks-drag-modal-sprite .jetlinks-drag-modal-footer {
|
|
1365
|
+
border-top: 1px solid #f0f0f0;
|
|
1366
|
+
padding: 5px 15px;
|
|
1367
|
+
}
|
|
1368
|
+
.jetlinks-drag-modal .jetlinks-drag-modal-range {
|
|
1369
|
+
position: absolute;
|
|
1370
|
+
width: 16px;
|
|
1371
|
+
height: 16px;
|
|
1372
|
+
border-radius: 100%;
|
|
1373
|
+
z-index: 23456765436;
|
|
1374
|
+
}
|
|
1375
|
+
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-bottom-right:hover,
|
|
1376
|
+
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-top-left:hover {
|
|
1377
|
+
cursor: nwse-resize;
|
|
1378
|
+
}
|
|
1379
|
+
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-bottom-left:hover,
|
|
1380
|
+
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-top-right:hover {
|
|
1381
|
+
cursor: nesw-resize;
|
|
1382
|
+
}
|
|
1383
|
+
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-top-right {
|
|
1384
|
+
top: -6px;
|
|
1385
|
+
right: -6px;
|
|
1386
|
+
}
|
|
1387
|
+
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-top-left {
|
|
1388
|
+
top: -6px;
|
|
1389
|
+
left: -6px;
|
|
1390
|
+
}
|
|
1391
|
+
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-bottom-right {
|
|
1392
|
+
bottom: -6px;
|
|
1393
|
+
right: -6px;
|
|
1394
|
+
}
|
|
1395
|
+
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-bottom-left {
|
|
1396
|
+
bottom: -6px;
|
|
1397
|
+
left: -6px;
|
|
1398
|
+
}
|
|
1399
|
+
.jetlinks-edit-table-wrapper {
|
|
1400
|
+
background: #fff;
|
|
1401
|
+
height: 100%;
|
|
1402
|
+
position: relative;
|
|
1403
|
+
}
|
|
1404
|
+
.jetlinks-edit-table-wrapper.table-full-screen {
|
|
1405
|
+
padding: 24px;
|
|
1406
|
+
}
|
|
1407
|
+
.jetlinks-edit-table-wrapper .jetlinks-edit-table {
|
|
1408
|
+
display: flex;
|
|
1409
|
+
flex-direction: column;
|
|
1410
|
+
flex-grow: 0;
|
|
1411
|
+
flex-shrink: 0;
|
|
1412
|
+
}
|
|
1413
|
+
.jetlinks-edit-table-wrapper .jetlinks-edit-table .jetlinks-edit-table-header {
|
|
1414
|
+
overflow: hidden;
|
|
1415
|
+
width: 100%;
|
|
1416
|
+
position: relative;
|
|
1417
|
+
}
|
|
1418
|
+
.jetlinks-edit-table-wrapper .jetlinks-edit-table .jetlinks-edit-table-header .jetlinks-edit-table-header-scroll-hidden {
|
|
1419
|
+
position: absolute;
|
|
1420
|
+
top: 0;
|
|
1421
|
+
right: 0;
|
|
1422
|
+
bottom: 0;
|
|
1423
|
+
z-index: 5;
|
|
1424
|
+
background: #fafafa;
|
|
1425
|
+
}
|
|
1426
|
+
.jetlinks-edit-table-wrapper .jetlinks-edit-table .jetlinks-edit-table-body {
|
|
1427
|
+
background-color: #fff;
|
|
1428
|
+
overflow-y: hidden;
|
|
1429
|
+
position: relative;
|
|
1430
|
+
height: 100%;
|
|
1431
|
+
width: 100%;
|
|
1432
|
+
flex: 1 1 auto;
|
|
1433
|
+
flex-direction: row;
|
|
1434
|
+
}
|
|
1435
|
+
.jetlinks-edit-table-body-viewport {
|
|
1436
|
+
max-height: 100%;
|
|
1437
|
+
width: 100%;
|
|
1438
|
+
overflow: hidden auto;
|
|
1439
|
+
position: relative;
|
|
1440
|
+
}
|
|
1441
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-scrollbar {
|
|
1442
|
+
position: absolute;
|
|
1443
|
+
left: 0;
|
|
1444
|
+
top: 0;
|
|
1445
|
+
right: 0;
|
|
1446
|
+
z-index: -1;
|
|
1447
|
+
}
|
|
1448
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-body-container {
|
|
1449
|
+
display: flex;
|
|
1450
|
+
}
|
|
1451
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-center,
|
|
1452
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-left,
|
|
1453
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-right {
|
|
1454
|
+
position: relative;
|
|
1455
|
+
min-width: 0;
|
|
1456
|
+
height: 100%;
|
|
1457
|
+
z-index: 5;
|
|
1458
|
+
flex-shrink: 0;
|
|
1459
|
+
flex-grow: 0;
|
|
1460
|
+
}
|
|
1461
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-center .jetlinks-edit-table-row,
|
|
1462
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-left .jetlinks-edit-table-row,
|
|
1463
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-right .jetlinks-edit-table-row {
|
|
1464
|
+
width: 100%;
|
|
1465
|
+
display: flex;
|
|
1466
|
+
align-items: center;
|
|
1467
|
+
transition: top 0.2s, height 0.2s, background-color 0.1s;
|
|
1468
|
+
border-bottom: 1px solid #ebebeb;
|
|
1469
|
+
background-color: #fff;
|
|
1470
|
+
}
|
|
1471
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-center .jetlinks-edit-table-row.jetlinks-edit-table-row-hover,
|
|
1472
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-left .jetlinks-edit-table-row.jetlinks-edit-table-row-hover,
|
|
1473
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-right .jetlinks-edit-table-row.jetlinks-edit-table-row-hover {
|
|
1474
|
+
background-color: #f8f8f8;
|
|
1475
|
+
}
|
|
1476
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-center .jetlinks-edit-table-row.jetlinks-edit-table-row-selected,
|
|
1477
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-left .jetlinks-edit-table-row.jetlinks-edit-table-row-selected,
|
|
1478
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-right .jetlinks-edit-table-row.jetlinks-edit-table-row-selected {
|
|
1479
|
+
background-color: var(--ant-primary-1);
|
|
1480
|
+
}
|
|
1481
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-center .jetlinks-edit-table-row .jetlinks-edit-table-cell,
|
|
1482
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-left .jetlinks-edit-table-row .jetlinks-edit-table-cell,
|
|
1483
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-right .jetlinks-edit-table-row .jetlinks-edit-table-cell {
|
|
1484
|
+
min-width: 0;
|
|
1485
|
+
}
|
|
1486
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-center .jetlinks-edit-table-row .body-cell-box,
|
|
1487
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-left .jetlinks-edit-table-row .body-cell-box,
|
|
1488
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-right .jetlinks-edit-table-row .body-cell-box {
|
|
1489
|
+
padding: 0 12px;
|
|
1490
|
+
position: relative;
|
|
1491
|
+
}
|
|
1492
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-left {
|
|
1493
|
+
position: sticky;
|
|
1494
|
+
left: 0;
|
|
1495
|
+
}
|
|
1496
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-right {
|
|
1497
|
+
position: sticky;
|
|
1498
|
+
right: 0;
|
|
1499
|
+
}
|
|
1500
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-center {
|
|
1501
|
+
z-index: 1;
|
|
1502
|
+
}
|
|
1503
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-center > div {
|
|
1504
|
+
position: relative;
|
|
1505
|
+
}
|
|
1506
|
+
.jetlinks-edit-table-body-empty {
|
|
1507
|
+
display: flex;
|
|
1508
|
+
width: 100%;
|
|
1509
|
+
justify-content: center;
|
|
1510
|
+
padding-top: 24px;
|
|
1511
|
+
}
|
|
1512
|
+
.jetlinks-edit-table-header-container {
|
|
1513
|
+
height: 100%;
|
|
1514
|
+
position: relative;
|
|
1515
|
+
display: flex;
|
|
1516
|
+
width: 100%;
|
|
1517
|
+
}
|
|
1518
|
+
.jetlinks-edit-table-header-container .jetlinks-header-left,
|
|
1519
|
+
.jetlinks-edit-table-header-container .jetlinks-header-center,
|
|
1520
|
+
.jetlinks-edit-table-header-container .jetlinks-header-right {
|
|
1521
|
+
position: relative;
|
|
1522
|
+
z-index: 5;
|
|
1523
|
+
min-width: 0;
|
|
1524
|
+
height: 100%;
|
|
1525
|
+
width: 100%;
|
|
1526
|
+
background: #fafafa;
|
|
1527
|
+
}
|
|
1528
|
+
.jetlinks-edit-table-header-container .jetlinks-header-center {
|
|
1529
|
+
z-index: 2;
|
|
1530
|
+
}
|
|
1531
|
+
.jetlinks-edit-table-header-container .jetlinks-header-center > div {
|
|
1532
|
+
position: relative;
|
|
1533
|
+
height: 100%;
|
|
1534
|
+
}
|
|
1535
|
+
.jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell {
|
|
1536
|
+
height: 100%;
|
|
1537
|
+
display: inline-flex;
|
|
1538
|
+
align-items: center;
|
|
1539
|
+
float: left;
|
|
1540
|
+
overflow: visible;
|
|
1541
|
+
background: #fafafa;
|
|
1542
|
+
}
|
|
1543
|
+
.jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell .jetlinks-edit-table-header-cell-box {
|
|
1544
|
+
padding: 0 12px;
|
|
1545
|
+
width: 100%;
|
|
1546
|
+
position: relative;
|
|
1547
|
+
}
|
|
1548
|
+
.jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell .jetlinks-edit-table-header-cell-box.header-cell-box-tool {
|
|
1549
|
+
display: flex;
|
|
1550
|
+
justify-content: space-between;
|
|
1551
|
+
align-items: center;
|
|
1552
|
+
}
|
|
1553
|
+
.jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell .jetlinks-edit-table-header-cell-box .table-header-cell-title {
|
|
1554
|
+
flex: 1;
|
|
1555
|
+
display: flex;
|
|
1556
|
+
align-items: center;
|
|
1557
|
+
font-weight: 600;
|
|
1558
|
+
}
|
|
1559
|
+
.jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell .jetlinks-edit-table-header-cell-box .header-cell-required {
|
|
1560
|
+
color: #ff4d4f;
|
|
1561
|
+
padding-left: 8px;
|
|
1562
|
+
transform: translateY(3px);
|
|
1563
|
+
font-weight: 500;
|
|
1564
|
+
}
|
|
1565
|
+
.jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell .jetlinks-edit-table-header-cell-box::before {
|
|
1566
|
+
position: absolute;
|
|
1567
|
+
top: 50%;
|
|
1568
|
+
right: 1px;
|
|
1569
|
+
width: 1px;
|
|
1570
|
+
height: 1.6em;
|
|
1571
|
+
pointer-events: none;
|
|
1572
|
+
background-color: rgba(0, 0, 0, 0.06);
|
|
1573
|
+
transform: translateY(-50%);
|
|
1574
|
+
transition: background-color 0.3s;
|
|
1575
|
+
content: "";
|
|
1576
|
+
}
|
|
1577
|
+
.jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell .jetlinks-edit-table-header-cell-box:not(:last-child)::before {
|
|
1578
|
+
background-color: transparent;
|
|
1579
|
+
}
|
|
1580
|
+
.edit-table-search-header {
|
|
1581
|
+
display: flex;
|
|
1582
|
+
justify-content: space-between;
|
|
1583
|
+
}
|
|
1584
|
+
.edit-table-search-result-total {
|
|
1585
|
+
color: #1890ff;
|
|
1586
|
+
}
|
|
1587
|
+
.jetlinks-edit-table-horizontal-scroll {
|
|
1588
|
+
height: 17px;
|
|
1589
|
+
min-height: 17px;
|
|
1590
|
+
max-height: 17px;
|
|
1591
|
+
width: 100%;
|
|
1592
|
+
display: flex;
|
|
1593
|
+
position: relative;
|
|
1594
|
+
z-index: 4;
|
|
1595
|
+
}
|
|
1596
|
+
.jetlinks-edit-table-horizontal-scroll .jetlinks-edit-table-horizontal-scroll-viewport {
|
|
1597
|
+
overflow-y: hidden;
|
|
1598
|
+
overflow-x: scroll;
|
|
1599
|
+
position: relative;
|
|
1600
|
+
flex: 1 1 0;
|
|
1601
|
+
height: 17px;
|
|
1602
|
+
min-height: 17px;
|
|
1603
|
+
max-height: 17px;
|
|
1604
|
+
width: 100%;
|
|
1605
|
+
}
|
|
1606
|
+
.jetlinks-edit-table-horizontal-scroll .jetlinks-edit-table-horizontal-scroll-viewport > div {
|
|
1607
|
+
height: 17px;
|
|
1608
|
+
}
|
|
1609
|
+
.jetlinks-edit-table-horizontal-scroll .jetlinks-edit-table-horizontal-scroll-hidden {
|
|
1610
|
+
width: 17px;
|
|
1611
|
+
height: 100%;
|
|
1612
|
+
overflow-x: hidden;
|
|
1613
|
+
}
|
package/es/style/index.less
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
@import '../Ellipsis/style/index.less';
|
|
2
|
-
@import '../CheckButton/style/index.less';
|
|
3
|
-
@import '../ProLayout/style/style.less';
|
|
4
|
-
@import '../ProTable/style/ProTable.less';
|
|
5
|
-
@import '../Search/style/Search.less';
|
|
6
|
-
@import '../Search/style/Item.less';
|
|
7
|
-
@import '../CardSelect/style/index.less';
|
|
1
|
+
@import '../Ellipsis/style/index.less';
|
|
2
|
+
@import '../CheckButton/style/index.less';
|
|
3
|
+
@import '../ProLayout/style/style.less';
|
|
4
|
+
@import '../ProTable/style/ProTable.less';
|
|
5
|
+
@import '../Search/style/Search.less';
|
|
6
|
+
@import '../Search/style/Item.less';
|
|
7
|
+
@import '../CardSelect/style/index.less';
|
|
8
|
+
@import '../DragModal/style/index.less';
|
|
9
|
+
@import "../EditTable/style/index.less";
|
package/es/style.js
CHANGED