@jetlinks-web/components 2.6.21 → 2.6.23
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/AMap/Map.js +1 -2
- package/es/AutoComplete/AutoComplete.js +0 -1
- package/es/BadgeStatus/Badge.js +1 -2
- package/es/CardSelect/CardSelect.js +1 -2
- package/es/CheckButton/CheckButton.js +1 -2
- package/es/CheckButton/style/index.less +40 -40
- package/es/DragModal/DragModal.js +0 -1
- package/es/Echarts/Echarts.js +1 -2
- package/es/EditTable/EditTable.js +4 -6
- package/es/EditTable/FormItem.js +0 -1
- package/es/EditTable/Header.js +5 -3
- package/es/EditTable/components/ContextMenu/Menu.js +1 -2
- package/es/EditTable/components/Search/search.js +1 -2
- package/es/EditTable/components/Search/sort.js +1 -3
- package/es/EditTable/group.js +11 -12
- package/es/EditTable/hooks/useValidate.js +1 -1
- package/es/EditTable/style/index.less +41 -41
- package/es/FlameGraph/FlameGraph.js +5 -4
- package/es/FullPage/FullPage.js +1 -2
- package/es/LocaleProvider/index.js +1 -2
- package/es/PermissionButton/index.js +6 -7
- package/es/ProLayout/Basic/BasicLayout.js +34 -39
- package/es/ProLayout/Basic/Header.js +3 -7
- package/es/ProLayout/PageContainer/index.js +8 -12
- package/es/ProLayout/SiderMenu/BaseMenu.js +16 -39
- package/es/ProLayout/SiderMenu/SiderMenu.js +14 -34
- package/es/ProLayout/TopHeader/index.js +1 -9
- package/es/ProLayout/style/default.less +4 -4
- package/es/ProLayout/util.js +5 -5
- package/es/ProTable/Content.js +34 -18
- package/es/ProTable/style/ProTable.less +138 -138
- package/es/RadioButton/RadioButton.js +0 -1
- package/es/Search/Advanced/SaveHistory.js +1 -2
- package/es/Search/Item.js +1 -2
- package/es/Title/title.js +0 -1
- package/es/style/index.css +1 -1
- package/es/style/variable.less +4 -4
- package/lib/AMap/Map.js +1 -2
- package/lib/AutoComplete/AutoComplete.js +0 -1
- package/lib/BadgeStatus/Badge.js +1 -2
- package/lib/CardSelect/CardSelect.js +1 -2
- package/lib/CheckButton/CheckButton.js +1 -2
- package/lib/CheckButton/style/index.less +40 -40
- package/lib/DragModal/DragModal.js +0 -1
- package/lib/Echarts/Echarts.js +1 -2
- package/lib/EditTable/EditTable.js +4 -6
- package/lib/EditTable/FormItem.js +0 -1
- package/lib/EditTable/Header.js +5 -3
- package/lib/EditTable/components/ContextMenu/Menu.js +1 -2
- package/lib/EditTable/components/Search/search.js +1 -2
- package/lib/EditTable/components/Search/sort.js +1 -3
- package/lib/EditTable/group.js +11 -12
- package/lib/EditTable/hooks/useValidate.js +1 -1
- package/lib/EditTable/style/index.less +41 -41
- package/lib/FlameGraph/FlameGraph.js +5 -4
- package/lib/FullPage/FullPage.js +1 -2
- package/lib/Icon/icon.js +1 -2
- package/lib/LocaleProvider/index.js +1 -2
- package/lib/PermissionButton/index.js +6 -7
- package/lib/ProLayout/Basic/BasicLayout.js +34 -40
- package/lib/ProLayout/Basic/Header.js +2 -6
- package/lib/ProLayout/PageContainer/index.js +7 -11
- package/lib/ProLayout/SiderMenu/BaseMenu.js +17 -39
- package/lib/ProLayout/SiderMenu/SiderMenu.js +14 -35
- package/lib/ProLayout/TopHeader/index.js +2 -9
- package/lib/ProLayout/style/default.less +4 -4
- package/lib/ProLayout/util.js +5 -5
- package/lib/ProTable/Content.js +34 -18
- package/lib/ProTable/style/ProTable.less +138 -138
- package/lib/RadioButton/RadioButton.js +0 -1
- package/lib/Search/Advanced/SaveHistory.js +1 -2
- package/lib/Search/Item.js +1 -2
- package/lib/Title/title.js +0 -1
- package/lib/components.js +1 -2
- package/lib/index.js +1 -2
- package/lib/style/index.css +1 -1
- package/lib/style/variable.less +4 -4
- package/package.json +4 -4
package/es/ProTable/Content.js
CHANGED
|
@@ -21,29 +21,36 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
21
21
|
"_contentProps": "setup-maybe-ref",
|
|
22
22
|
"Table": "setup-maybe-ref",
|
|
23
23
|
"get": "setup-maybe-ref",
|
|
24
|
+
"omit": "setup-maybe-ref",
|
|
24
25
|
"Empty": "setup-maybe-ref",
|
|
26
|
+
"useTableInject": "setup-maybe-ref",
|
|
25
27
|
"props": "setup-reactive-const",
|
|
26
28
|
"slots": "setup-maybe-ref",
|
|
29
|
+
"_rowSelection": "setup-maybe-ref",
|
|
27
30
|
"_columns": "setup-ref",
|
|
31
|
+
"_slots": "setup-ref",
|
|
28
32
|
"_scroll": "setup-ref",
|
|
29
|
-
"gridTemplateColumns": "setup-ref"
|
|
33
|
+
"gridTemplateColumns": "setup-ref",
|
|
34
|
+
"onClick": "setup-const"
|
|
30
35
|
} */
|
|
31
36
|
import { defineComponent as _defineComponent } from 'vue';
|
|
32
|
-
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock,
|
|
37
|
+
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, mergeProps as _mergeProps, renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createCommentVNode as _createCommentVNode, unref as _unref, createVNode as _createVNode, normalizeProps as _normalizeProps, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createSlots as _createSlots, createBlock as _createBlock } from "vue";
|
|
33
38
|
const _hoisted_1 = { class: "jtable-box" };
|
|
34
39
|
const _hoisted_2 = {
|
|
35
40
|
key: 0,
|
|
36
41
|
class: "jtable-card"
|
|
37
42
|
};
|
|
38
|
-
const _hoisted_3 =
|
|
43
|
+
const _hoisted_3 = ["onClick"];
|
|
44
|
+
const _hoisted_4 = {
|
|
39
45
|
key: 1,
|
|
40
46
|
class: "j-table-empty"
|
|
41
47
|
};
|
|
42
48
|
import { useSlots, computed } from 'vue';
|
|
43
49
|
import { _contentProps } from "./setting";
|
|
44
50
|
import { Table } from 'ant-design-vue/es/';
|
|
45
|
-
import { get } from 'lodash-es';
|
|
51
|
+
import { get, omit } from 'lodash-es';
|
|
46
52
|
import Empty from '../Empty';
|
|
53
|
+
import { useTableInject } from './hooks';
|
|
47
54
|
const __sfc_main__ = _defineComponent({
|
|
48
55
|
...{
|
|
49
56
|
name: 'Content'
|
|
@@ -58,7 +65,11 @@ const __sfc_main__ = _defineComponent({
|
|
|
58
65
|
setup(__props) {
|
|
59
66
|
const props = __props;
|
|
60
67
|
const slots = useSlots();
|
|
68
|
+
const _rowSelection = useTableInject();
|
|
61
69
|
const _columns = computed(() => props.columns.filter((i) => !_optionalChain([i, 'optionalAccess', _2 => _2.hideInTable])));
|
|
70
|
+
const _slots = computed(() => {
|
|
71
|
+
return omit(slots, ['emptyText', 'bodyCell']);
|
|
72
|
+
});
|
|
62
73
|
const _scroll = computed(() => {
|
|
63
74
|
if (props.scroll === false) {
|
|
64
75
|
return {
|
|
@@ -74,6 +85,12 @@ const __sfc_main__ = _defineComponent({
|
|
|
74
85
|
const gridTemplateColumns = computed(() => {
|
|
75
86
|
return `repeat(${props.column}, 1fr)`;
|
|
76
87
|
});
|
|
88
|
+
const onClick = (item) => {
|
|
89
|
+
if (_rowSelection && _rowSelection.value) {
|
|
90
|
+
const _selected = _optionalChain([_rowSelection, 'access', _3 => _3.value, 'access', _4 => _4.selectedRowKeys, 'optionalAccess', _5 => _5.includes, 'call', _6 => _6(item[props.rowKey])]);
|
|
91
|
+
_optionalChain([_rowSelection, 'access', _7 => _7.value, 'access', _8 => _8.onSelect, 'optionalCall', _9 => _9(item, !_selected)]);
|
|
92
|
+
}
|
|
93
|
+
};
|
|
77
94
|
return (_ctx, _cache) => {
|
|
78
95
|
return (_openBlock(), _createElementBlock("div", _hoisted_1, [
|
|
79
96
|
(_ctx.mode === 'CARD')
|
|
@@ -87,36 +104,35 @@ const __sfc_main__ = _defineComponent({
|
|
|
87
104
|
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.dataSource, (item) => {
|
|
88
105
|
return (_openBlock(), _createElementBlock("div", {
|
|
89
106
|
class: _normalizeClass(['jtable-card-item', props.cardBodyClass]),
|
|
90
|
-
key: item[props.rowKey]
|
|
107
|
+
key: item[props.rowKey],
|
|
108
|
+
onClick: ($event) => (onClick(item))
|
|
91
109
|
}, [
|
|
92
|
-
_renderSlot(_ctx.$slots, "card",
|
|
93
|
-
],
|
|
110
|
+
_renderSlot(_ctx.$slots, "card", _mergeProps({ ref_for: true }, item))
|
|
111
|
+
], 10 /* CLASS, PROPS */, _hoisted_3));
|
|
94
112
|
}), 128 /* KEYED_FRAGMENT */))
|
|
95
113
|
], 4 /* STYLE */))
|
|
96
|
-
: (_openBlock(), _createElementBlock("div",
|
|
114
|
+
: (_openBlock(), _createElementBlock("div", _hoisted_4, [
|
|
97
115
|
_renderSlot(_ctx.$slots, "emptyText", {}, () => [
|
|
98
116
|
_createVNode(_unref(Empty))
|
|
99
117
|
])
|
|
100
118
|
]))
|
|
101
119
|
]))
|
|
102
120
|
: (_openBlock(), _createBlock(_unref(Table), _mergeProps({ key: 1 }, props, {
|
|
121
|
+
"row-selection": _ctx.rowSelection || _unref(_rowSelection),
|
|
103
122
|
dataSource: _ctx.dataSource,
|
|
104
123
|
columns: _columns.value,
|
|
105
124
|
pagination: false,
|
|
106
125
|
scroll: _scroll.value,
|
|
107
|
-
class: { 'j-table-scroll': !_optionalChain([props, 'access',
|
|
126
|
+
class: { 'j-table-scroll': !_optionalChain([props, 'access', _10 => _10.scroll, 'optionalAccess', _11 => _11.y]) }
|
|
108
127
|
}), _createSlots({
|
|
109
|
-
headerCell: _withCtx(({ column, title }) => [
|
|
110
|
-
_renderSlot(_ctx.$slots, "headerCell", _normalizeProps(_guardReactiveProps({ column, title })))
|
|
111
|
-
]),
|
|
112
128
|
bodyCell: _withCtx(({ column, record, index }) => [
|
|
113
|
-
((_optionalChain([column, 'optionalAccess',
|
|
114
|
-
? _renderSlot(_ctx.$slots, _optionalChain([column, 'optionalAccess',
|
|
129
|
+
((_optionalChain([column, 'optionalAccess', _12 => _12.key]) || _optionalChain([column, 'optionalAccess', _13 => _13.dataIndex])) && _optionalChain([column, 'optionalAccess', _14 => _14.scopedSlots]) && (_optionalChain([_slots, 'access', _15 => _15.value, 'optionalAccess', _16 => _16[_optionalChain([column, 'optionalAccess', _17 => _17.dataIndex])]]) || _optionalChain([_slots, 'access', _18 => _18.value, 'optionalAccess', _19 => _19[_optionalChain([column, 'optionalAccess', _20 => _20.key])]])))
|
|
130
|
+
? _renderSlot(_ctx.$slots, _optionalChain([column, 'optionalAccess', _21 => _21.key]) || _optionalChain([column, 'optionalAccess', _22 => _22.dataIndex]), _mergeProps({ key: 0 }, record, {
|
|
115
131
|
index: index,
|
|
116
132
|
column: column
|
|
117
133
|
}))
|
|
118
134
|
: (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [
|
|
119
|
-
_createTextVNode(_toDisplayString(_unref(get)(record, _optionalChain([column, 'optionalAccess',
|
|
135
|
+
_createTextVNode(_toDisplayString(_unref(get)(record, _optionalChain([column, 'optionalAccess', _23 => _23.dataIndex]) || _optionalChain([column, 'optionalAccess', _24 => _24.key])) || '--'), 1 /* TEXT */)
|
|
120
136
|
], 64 /* STABLE_FRAGMENT */))
|
|
121
137
|
]),
|
|
122
138
|
emptyText: _withCtx(() => [
|
|
@@ -126,17 +142,17 @@ const __sfc_main__ = _defineComponent({
|
|
|
126
142
|
]),
|
|
127
143
|
_: 2 /* DYNAMIC */
|
|
128
144
|
}, [
|
|
129
|
-
_renderList(
|
|
145
|
+
_renderList(_slots.value, (_, slotKey) => {
|
|
130
146
|
return {
|
|
131
147
|
name: slotKey,
|
|
132
148
|
fn: _withCtx((slotProps) => [
|
|
133
|
-
(!['
|
|
149
|
+
(!((_optionalChain([__props, 'access', _25 => _25.column, 'optionalAccess', _26 => _26.key]) || _optionalChain([__props, 'access', _27 => _27.column, 'optionalAccess', _28 => _28.dataIndex])) && _optionalChain([__props, 'access', _29 => _29.column, 'optionalAccess', _30 => _30.scopedSlots]) && (_optionalChain([_slots, 'access', _31 => _31.value, 'optionalAccess', _32 => _32[_optionalChain([__props, 'access', _33 => _33.column, 'optionalAccess', _34 => _34.dataIndex])]]) || _optionalChain([_slots, 'access', _35 => _35.value, 'optionalAccess', _36 => _36[_optionalChain([__props, 'access', _37 => _37.column, 'optionalAccess', _38 => _38.key])]]))))
|
|
134
150
|
? _renderSlot(_ctx.$slots, slotKey, _normalizeProps(_mergeProps({ key: 0 }, slotProps)))
|
|
135
151
|
: _createCommentVNode("v-if", true)
|
|
136
152
|
])
|
|
137
153
|
};
|
|
138
154
|
})
|
|
139
|
-
]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["dataSource", "columns", "scroll", "class"]))
|
|
155
|
+
]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["row-selection", "dataSource", "columns", "scroll", "class"]))
|
|
140
156
|
]));
|
|
141
157
|
};
|
|
142
158
|
}
|
|
@@ -1,138 +1,138 @@
|
|
|
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
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.jtable-alert {
|
|
121
|
-
margin-bottom: 16px;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.jtable-pagination {
|
|
125
|
-
width: 100%;
|
|
126
|
-
display: flex;
|
|
127
|
-
justify-content: flex-end;
|
|
128
|
-
margin-top: 16px;
|
|
129
|
-
|
|
130
|
-
.hide-content {
|
|
131
|
-
.@{ant-prefix}-pagination-item,
|
|
132
|
-
& .@{ant-prefix}-pagination-jump-prev,
|
|
133
|
-
& .@{ant-prefix}-pagination-jump-next {
|
|
134
|
-
display: none;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
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
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.jtable-alert {
|
|
121
|
+
margin-bottom: 16px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.jtable-pagination {
|
|
125
|
+
width: 100%;
|
|
126
|
+
display: flex;
|
|
127
|
+
justify-content: flex-end;
|
|
128
|
+
margin-top: 16px;
|
|
129
|
+
|
|
130
|
+
.hide-content {
|
|
131
|
+
.@{ant-prefix}-pagination-item,
|
|
132
|
+
& .@{ant-prefix}-pagination-jump-prev,
|
|
133
|
+
& .@{ant-prefix}-pagination-jump-next {
|
|
134
|
+
display: none;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
@@ -22,8 +22,7 @@
|
|
|
22
22
|
"saveHistory": "setup-const"
|
|
23
23
|
} */
|
|
24
24
|
import { defineComponent as _defineComponent } from 'vue';
|
|
25
|
-
import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock
|
|
26
|
-
const _withScopeId = n => (_pushScopeId("data-v-1749203558435"), n = n(), _popScopeId(), n);
|
|
25
|
+
import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock } from "vue";
|
|
27
26
|
const _hoisted_1 = {
|
|
28
27
|
key: 0,
|
|
29
28
|
style: { "width": "240px" }
|
package/es/Search/Item.js
CHANGED
|
@@ -79,8 +79,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
79
79
|
"valueChange": "setup-const"
|
|
80
80
|
} */
|
|
81
81
|
import { defineComponent as _defineComponent } from 'vue';
|
|
82
|
-
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
|
|
83
|
-
const _withScopeId = n => (_pushScopeId("data-v-1749203557670"), n = n(), _popScopeId(), n);
|
|
82
|
+
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 } from "vue";
|
|
84
83
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
85
84
|
const _hoisted_2 = {
|
|
86
85
|
key: 0,
|
package/es/Title/title.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/* Analyzed bindings: {
|
|
2
2
|
"data": "props",
|
|
3
3
|
"style": "props",
|
|
4
|
-
"defineOptions": "setup-const",
|
|
5
4
|
"props": "setup-reactive-const"
|
|
6
5
|
} */
|
|
7
6
|
import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
package/es/style/index.css
CHANGED
|
@@ -777,7 +777,7 @@
|
|
|
777
777
|
-moz-user-select: none;
|
|
778
778
|
user-select: none;
|
|
779
779
|
}
|
|
780
|
-
.ant-pagination-options-quick-jumper input:-moz-placeholder
|
|
780
|
+
.ant-pagination-options-quick-jumper input:-moz-placeholder {
|
|
781
781
|
text-overflow: ellipsis;
|
|
782
782
|
}
|
|
783
783
|
.ant-pagination-options-quick-jumper input:placeholder-shown {
|
package/es/style/variable.less
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import 'ant-design-vue/es/style/themes/index.less';
|
|
2
|
-
|
|
3
|
-
@text-color-title: #000;
|
|
4
|
-
@text-color-subtitle: #263237;
|
|
1
|
+
@import 'ant-design-vue/es/style/themes/index.less';
|
|
2
|
+
|
|
3
|
+
@text-color-title: #000;
|
|
4
|
+
@text-color-subtitle: #263237;
|
package/lib/AMap/Map.js
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"ref": "setup-const",
|
|
11
11
|
"computed": "setup-const",
|
|
12
12
|
"inject": "setup-const",
|
|
13
|
-
"defineOptions": "setup-const",
|
|
14
13
|
"initAMapApiLoader": "setup-maybe-ref",
|
|
15
14
|
"ElAmap": "setup-maybe-ref",
|
|
16
15
|
"getAMapUiPromise": "setup-maybe-ref",
|
|
@@ -32,7 +31,7 @@
|
|
|
32
31
|
} */
|
|
33
32
|
import { defineComponent as _defineComponent } from 'vue';
|
|
34
33
|
import { renderSlot as _renderSlot, unref as _unref, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementBlock as _createElementBlock } from "vue";
|
|
35
|
-
import { ref, computed, inject
|
|
34
|
+
import { ref, computed, inject } from 'vue';
|
|
36
35
|
import { initAMapApiLoader, ElAmap } from '@vuemap/vue-amap';
|
|
37
36
|
import { getAMapUiPromise } from '@jetlinks-web/utils';
|
|
38
37
|
import { MapProps } from './util';
|
|
@@ -19,7 +19,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
19
19
|
"AutoComplete": "setup-maybe-ref",
|
|
20
20
|
"autoCompleteProps": "setup-maybe-ref",
|
|
21
21
|
"ref": "setup-const",
|
|
22
|
-
"defineOptions": "setup-const",
|
|
23
22
|
"watch": "setup-const",
|
|
24
23
|
"props": "setup-reactive-const",
|
|
25
24
|
"emit": "setup-const",
|
package/lib/BadgeStatus/Badge.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"status": "props",
|
|
4
4
|
"statusNames": "props",
|
|
5
5
|
"computed": "setup-const",
|
|
6
|
-
"defineOptions": "setup-const",
|
|
7
6
|
"getHexColor": "setup-maybe-ref",
|
|
8
7
|
"Badge": "setup-maybe-ref",
|
|
9
8
|
"props": "setup-reactive-const",
|
|
@@ -11,7 +10,7 @@
|
|
|
11
10
|
} */
|
|
12
11
|
import { defineComponent as _defineComponent } from 'vue';
|
|
13
12
|
import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
|
14
|
-
import { computed
|
|
13
|
+
import { computed } from 'vue';
|
|
15
14
|
import { getHexColor } from './color';
|
|
16
15
|
import { Badge } from 'ant-design-vue/lib/';
|
|
17
16
|
const __sfc_main__ = _defineComponent({
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"computed": "setup-const",
|
|
11
11
|
"ref": "setup-const",
|
|
12
12
|
"watch": "setup-const",
|
|
13
|
-
"defineOptions": "setup-const",
|
|
14
13
|
"props": "setup-reactive-const",
|
|
15
14
|
"emit": "setup-const",
|
|
16
15
|
"selectKeys": "setup-ref",
|
|
@@ -24,7 +23,7 @@ const _hoisted_2 = { class: "j-card-select-item-content" };
|
|
|
24
23
|
const _hoisted_3 = { class: "j-card-select-title" };
|
|
25
24
|
const _hoisted_4 = { class: "j-card-select-describe" };
|
|
26
25
|
import { has } from 'lodash-es';
|
|
27
|
-
import { computed, ref, watch
|
|
26
|
+
import { computed, ref, watch } from 'vue';
|
|
28
27
|
const __sfc_main__ = Object.assign({
|
|
29
28
|
name: 'JCardSelect'
|
|
30
29
|
}, {
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
"computed": "setup-const",
|
|
9
9
|
"ref": "setup-const",
|
|
10
10
|
"watch": "setup-const",
|
|
11
|
-
"defineOptions": "setup-const",
|
|
12
11
|
"isArray": "setup-maybe-ref",
|
|
13
12
|
"props": "setup-reactive-const",
|
|
14
13
|
"emit": "setup-const",
|
|
@@ -20,7 +19,7 @@
|
|
|
20
19
|
import { defineComponent as _defineComponent } from 'vue';
|
|
21
20
|
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from "vue";
|
|
22
21
|
const _hoisted_1 = ["onClick"];
|
|
23
|
-
import { computed, ref, watch
|
|
22
|
+
import { computed, ref, watch } from 'vue';
|
|
24
23
|
import { isArray } from '@jetlinks-web/utils';
|
|
25
24
|
const __sfc_main__ = _defineComponent({
|
|
26
25
|
...{
|
|
@@ -1,40 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -23,7 +23,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
23
23
|
"footer": "props",
|
|
24
24
|
"ref": "setup-const",
|
|
25
25
|
"useSlots": "setup-const",
|
|
26
|
-
"defineOptions": "setup-const",
|
|
27
26
|
"computed": "setup-const",
|
|
28
27
|
"onMounted": "setup-const",
|
|
29
28
|
"watch": "setup-const",
|