@jetlinks-web/components 2.4.25 → 2.5.0
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/EditTable/Body.js +91 -181
- package/es/EditTable/EditTable.js +178 -105
- package/es/EditTable/FormItem.js +3 -4
- package/es/EditTable/Header.js +56 -164
- package/es/EditTable/components/ContextMenu/Menu.js +11 -7
- package/es/EditTable/components/Search/index.js +2 -1
- package/es/EditTable/components/Search/{Search.js → search.js} +94 -66
- package/es/EditTable/components/Search/sort.js +214 -0
- package/es/EditTable/consts.js +6 -1
- package/es/EditTable/context.js +50 -0
- package/es/EditTable/group.js +355 -0
- package/es/EditTable/hooks/index.js +1 -0
- package/es/EditTable/hooks/useGroup.js +44 -0
- package/es/EditTable/props.js +14 -4
- package/es/EditTable/style/body.less +17 -27
- package/es/EditTable/style/form.less +33 -0
- package/es/EditTable/style/group.less +32 -0
- package/es/EditTable/style/header.less +16 -21
- package/es/EditTable/style/index.css +103 -66
- package/es/EditTable/style/index.less +3 -0
- package/es/EditTable/style/menu.less +25 -0
- package/es/EditTable/style/table.less +2 -11
- package/es/EditTable/utils.js +22 -50
- package/es/FullPage/FullPage.js +1 -1
- package/es/PermissionButton/index.js +40 -20
- package/es/RadioButton/RadioButton.js +1 -1
- package/es/Search/Advanced/SaveHistory.js +1 -1
- package/es/Search/Item.js +1 -1
- package/es/Search/Search.js +1 -1
- package/es/locale/en-US.js +39 -3
- package/es/locale/zh-CN.js +36 -0
- package/es/style/index.css +103 -66
- package/lib/EditTable/Body.js +91 -181
- package/lib/EditTable/EditTable.js +178 -105
- package/lib/EditTable/FormItem.js +3 -4
- package/lib/EditTable/Header.js +56 -164
- package/lib/EditTable/components/ContextMenu/Menu.js +11 -7
- package/lib/EditTable/components/Search/index.js +10 -3
- package/lib/EditTable/components/Search/{Search.js → search.js} +94 -66
- package/lib/EditTable/components/Search/sort.js +214 -0
- package/lib/EditTable/consts.js +7 -2
- package/lib/EditTable/context.js +56 -0
- package/lib/EditTable/group.js +355 -0
- package/lib/EditTable/hooks/index.js +12 -0
- package/lib/EditTable/hooks/useGroup.js +50 -0
- package/lib/EditTable/props.js +14 -4
- package/lib/EditTable/style/body.less +17 -27
- package/lib/EditTable/style/form.less +33 -0
- package/lib/EditTable/style/group.less +32 -0
- package/lib/EditTable/style/header.less +16 -21
- package/lib/EditTable/style/index.css +103 -66
- package/lib/EditTable/style/index.less +3 -0
- package/lib/EditTable/style/menu.less +25 -0
- package/lib/EditTable/style/table.less +2 -11
- package/lib/EditTable/utils.js +23 -51
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/PermissionButton/index.js +40 -20
- package/lib/RadioButton/RadioButton.js +1 -1
- package/lib/Search/Advanced/SaveHistory.js +1 -1
- package/lib/Search/Item.js +1 -1
- package/lib/Search/Search.js +1 -1
- package/lib/locale/en-US.js +39 -3
- package/lib/locale/zh-CN.js +36 -0
- package/lib/style/index.css +103 -66
- package/package.json +2 -2
package/lib/EditTable/Header.js
CHANGED
|
@@ -15,22 +15,21 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
15
15
|
}
|
|
16
16
|
} return value; }
|
|
17
17
|
/* Analyzed bindings: {
|
|
18
|
+
"columns": "props",
|
|
18
19
|
"serial": "props",
|
|
19
20
|
"style": "props",
|
|
20
21
|
"SearchModal": "setup-maybe-ref",
|
|
22
|
+
"Sort": "setup-maybe-ref",
|
|
21
23
|
"reactive": "setup-const",
|
|
22
24
|
"defineOptions": "setup-const",
|
|
23
|
-
"computed": "setup-const",
|
|
24
|
-
"defaultProps": "setup-maybe-ref",
|
|
25
|
-
"handleColumnFixed": "setup-maybe-ref",
|
|
26
25
|
"useTableTool": "setup-maybe-ref",
|
|
27
26
|
"props": "setup-reactive-const",
|
|
28
27
|
"tableTool": "setup-maybe-ref",
|
|
29
|
-
"columnFixedMap": "setup-ref",
|
|
30
28
|
"searchData": "setup-reactive-const",
|
|
31
|
-
"showFilter": "setup-const"
|
|
29
|
+
"showFilter": "setup-const",
|
|
30
|
+
"sortClick": "setup-const"
|
|
32
31
|
} */
|
|
33
|
-
import {
|
|
32
|
+
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createBlock as _createBlock, unref as _unref, mergeProps as _mergeProps, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from "vue";
|
|
34
33
|
const _hoisted_1 = ["id"];
|
|
35
34
|
const _hoisted_2 = { class: "table-header-cell-title" };
|
|
36
35
|
const _hoisted_3 = {
|
|
@@ -41,36 +40,17 @@ const _hoisted_4 = {
|
|
|
41
40
|
key: 0,
|
|
42
41
|
class: "table-header-cell-trigger"
|
|
43
42
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
const _hoisted_7 = {
|
|
47
|
-
key: 0,
|
|
48
|
-
class: "header-cell-required"
|
|
49
|
-
};
|
|
50
|
-
const _hoisted_8 = {
|
|
51
|
-
key: 0,
|
|
52
|
-
class: "table-header-cell-trigger"
|
|
53
|
-
};
|
|
54
|
-
const _hoisted_9 = ["id"];
|
|
55
|
-
const _hoisted_10 = { class: "table-header-cell-title" };
|
|
56
|
-
const _hoisted_11 = {
|
|
57
|
-
key: 0,
|
|
58
|
-
class: "header-cell-required"
|
|
59
|
-
};
|
|
60
|
-
const _hoisted_12 = {
|
|
61
|
-
key: 0,
|
|
62
|
-
class: "table-header-cell-trigger"
|
|
63
|
-
};
|
|
64
|
-
import { Search as SearchModal } from './components/Search';
|
|
65
|
-
import { reactive, computed } from 'vue';
|
|
66
|
-
import { defaultProps } from "./props";
|
|
67
|
-
import { handleColumnFixed } from "./utils";
|
|
43
|
+
import { SearchModal, Sort } from './components/Search';
|
|
44
|
+
import { reactive, } from 'vue';
|
|
68
45
|
import { useTableTool } from "./hooks";
|
|
69
46
|
const __sfc_main__ = Object.assign({
|
|
70
47
|
name: 'JEditTableHeader'
|
|
71
48
|
}, {
|
|
72
49
|
props: {
|
|
73
|
-
|
|
50
|
+
columns: {
|
|
51
|
+
type: Array,
|
|
52
|
+
default: () => []
|
|
53
|
+
},
|
|
74
54
|
serial: {
|
|
75
55
|
type: Boolean,
|
|
76
56
|
default: false
|
|
@@ -78,14 +58,11 @@ const __sfc_main__ = Object.assign({
|
|
|
78
58
|
style: {
|
|
79
59
|
type: Object,
|
|
80
60
|
default: undefined
|
|
81
|
-
}
|
|
61
|
+
}
|
|
82
62
|
},
|
|
83
63
|
setup(__props) {
|
|
84
64
|
const props = __props;
|
|
85
65
|
const tableTool = useTableTool();
|
|
86
|
-
const columnFixedMap = computed(() => {
|
|
87
|
-
return handleColumnFixed(props.columns);
|
|
88
|
-
});
|
|
89
66
|
const searchData = reactive({
|
|
90
67
|
visible: false,
|
|
91
68
|
key: undefined
|
|
@@ -94,139 +71,54 @@ const __sfc_main__ = Object.assign({
|
|
|
94
71
|
searchData.visible = true;
|
|
95
72
|
searchData.key = key;
|
|
96
73
|
};
|
|
74
|
+
const sortClick = () => {
|
|
75
|
+
searchData.visible = false;
|
|
76
|
+
};
|
|
97
77
|
return (_ctx, _cache) => {
|
|
98
78
|
const _component_AIcon = _resolveComponent("AIcon");
|
|
99
|
-
return (_openBlock(), _createElementBlock(
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
(
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
style: _normalizeStyle({
|
|
109
|
-
maxWidth: columnFixedMap.value.left.width + 'px',
|
|
110
|
-
minWidth: columnFixedMap.value.left.width + 'px',
|
|
111
|
-
width: columnFixedMap.value.left.width + 'px',
|
|
112
|
-
boxShadow: _unref(tableTool).scrollMap.x ? '0 0 12px 0 rgba(0 ,0, 0, .2)' : ''
|
|
113
|
-
})
|
|
114
|
-
}, [
|
|
115
|
-
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(columnFixedMap.value.left.keys, (item, index) => {
|
|
116
|
-
return (_openBlock(), _createElementBlock("div", {
|
|
117
|
-
class: "jetlinks-edit-table-header-cell",
|
|
118
|
-
id: item.dataIndex,
|
|
119
|
-
style: _normalizeStyle({ width: `${item._width}px` })
|
|
120
|
-
}, [
|
|
121
|
-
_createElementVNode("div", {
|
|
122
|
-
class: _normalizeClass({ 'jetlinks-edit-table-header-cell-box': true, 'header-cell-box-tool': !!(item.sort || item.filter) })
|
|
123
|
-
}, [
|
|
124
|
-
_createElementVNode("div", _hoisted_2, [
|
|
125
|
-
_createElementVNode("span", null, _toDisplayString(item.title), 1 /* TEXT */),
|
|
126
|
-
(_optionalChain([item, 'access', _ => _.form, 'optionalAccess', _2 => _2.required]))
|
|
127
|
-
? (_openBlock(), _createElementBlock("span", _hoisted_3, "*"))
|
|
128
|
-
: _createCommentVNode("v-if", true)
|
|
129
|
-
]),
|
|
130
|
-
(!!(item.filter))
|
|
131
|
-
? (_openBlock(), _createElementBlock("div", _hoisted_4, [
|
|
132
|
-
(item.filter)
|
|
133
|
-
? (_openBlock(), _createBlock(_component_AIcon, {
|
|
134
|
-
key: 0,
|
|
135
|
-
type: "SearchOutlined",
|
|
136
|
-
style: { "color": "rgba(0,0,0, 0.25)" },
|
|
137
|
-
onClick: () => { showFilter(item.filter.key || item.dataIndex); }
|
|
138
|
-
}, null, 8 /* PROPS */, ["onClick"]))
|
|
139
|
-
: _createCommentVNode("v-if", true)
|
|
140
|
-
]))
|
|
141
|
-
: _createCommentVNode("v-if", true)
|
|
142
|
-
], 2 /* CLASS */)
|
|
143
|
-
], 12 /* STYLE, PROPS */, _hoisted_1));
|
|
144
|
-
}), 256 /* UNKEYED_FRAGMENT */))
|
|
145
|
-
], 4 /* STYLE */))
|
|
146
|
-
: _createCommentVNode("v-if", true),
|
|
147
|
-
_createElementVNode("div", {
|
|
148
|
-
class: "jetlinks-header-center",
|
|
149
|
-
style: _normalizeStyle({ webkitTransform: `translate3d(-${_unref(tableTool).scrollMap.x}px, 0, 0)` })
|
|
79
|
+
return (_openBlock(), _createElementBlock("div", {
|
|
80
|
+
class: "jetlinks-edit-table-header-container",
|
|
81
|
+
style: _normalizeStyle(__props.style)
|
|
82
|
+
}, [
|
|
83
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.columns, (item, index) => {
|
|
84
|
+
return (_openBlock(), _createElementBlock("div", {
|
|
85
|
+
class: "jetlinks-edit-table-header-cell",
|
|
86
|
+
id: item.dataIndex,
|
|
87
|
+
style: _normalizeStyle({ width: `${item.width}px`, left: `${item.left || (200 * index)}px` })
|
|
150
88
|
}, [
|
|
151
89
|
_createElementVNode("div", {
|
|
152
|
-
|
|
153
|
-
}, [
|
|
154
|
-
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(columnFixedMap.value.center.keys, (item, index) => {
|
|
155
|
-
return (_openBlock(), _createElementBlock("div", {
|
|
156
|
-
class: "jetlinks-edit-table-header-cell",
|
|
157
|
-
id: item.dataIndex,
|
|
158
|
-
style: _normalizeStyle({ width: `${item._width}px` })
|
|
159
|
-
}, [
|
|
160
|
-
_createElementVNode("div", {
|
|
161
|
-
class: _normalizeClass({ 'jetlinks-edit-table-header-cell-box': true, 'header-cell-box-tool': !!(item.sort || item.filter) })
|
|
162
|
-
}, [
|
|
163
|
-
_createElementVNode("div", _hoisted_6, [
|
|
164
|
-
_createElementVNode("span", null, _toDisplayString(item.title), 1 /* TEXT */),
|
|
165
|
-
(_optionalChain([item, 'access', _3 => _3.form, 'optionalAccess', _4 => _4.required]))
|
|
166
|
-
? (_openBlock(), _createElementBlock("span", _hoisted_7, "*"))
|
|
167
|
-
: _createCommentVNode("v-if", true)
|
|
168
|
-
]),
|
|
169
|
-
(!!(item.filter))
|
|
170
|
-
? (_openBlock(), _createElementBlock("div", _hoisted_8, [
|
|
171
|
-
(item.filter)
|
|
172
|
-
? (_openBlock(), _createBlock(_component_AIcon, {
|
|
173
|
-
key: 0,
|
|
174
|
-
type: "SearchOutlined",
|
|
175
|
-
style: { "color": "rgba(0,0,0, 0.25)" },
|
|
176
|
-
onClick: () => { showFilter(item.filter.key || item.dataIndex); }
|
|
177
|
-
}, null, 8 /* PROPS */, ["onClick"]))
|
|
178
|
-
: _createCommentVNode("v-if", true)
|
|
179
|
-
]))
|
|
180
|
-
: _createCommentVNode("v-if", true)
|
|
181
|
-
], 2 /* CLASS */)
|
|
182
|
-
], 12 /* STYLE, PROPS */, _hoisted_5));
|
|
183
|
-
}), 256 /* UNKEYED_FRAGMENT */))
|
|
184
|
-
], 4 /* STYLE */)
|
|
185
|
-
], 4 /* STYLE */),
|
|
186
|
-
(columnFixedMap.value.right.keys.length)
|
|
187
|
-
? (_openBlock(), _createElementBlock("div", {
|
|
188
|
-
key: 1,
|
|
189
|
-
class: "jetlinks-header-right",
|
|
190
|
-
style: _normalizeStyle({
|
|
191
|
-
maxWidth: columnFixedMap.value.right.width + 'px',
|
|
192
|
-
minWidth: columnFixedMap.value.right.width + 'px',
|
|
193
|
-
width: columnFixedMap.value.right.width + 'px',
|
|
194
|
-
boxShadow: _unref(tableTool).scrollMap.down !== 'right' ? '0 0 12px 0 rgba(0 ,0, 0, .2)' : ''
|
|
195
|
-
})
|
|
90
|
+
class: _normalizeClass({ 'jetlinks-edit-table-header-cell-box': true, 'header-cell-box-tool': !!(item.sort || item.filter) })
|
|
196
91
|
}, [
|
|
197
|
-
(
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
])
|
|
212
|
-
(
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
], 4 /* STYLE */))
|
|
228
|
-
: _createCommentVNode("v-if", true)
|
|
229
|
-
], 4 /* STYLE */),
|
|
92
|
+
_createElementVNode("div", _hoisted_2, [
|
|
93
|
+
_createElementVNode("span", null, _toDisplayString(item.title), 1 /* TEXT */),
|
|
94
|
+
(_optionalChain([item, 'access', _ => _.form, 'optionalAccess', _2 => _2.required]))
|
|
95
|
+
? (_openBlock(), _createElementBlock("span", _hoisted_3, "*"))
|
|
96
|
+
: _createCommentVNode("v-if", true)
|
|
97
|
+
]),
|
|
98
|
+
(!!(item.sort || item.filter))
|
|
99
|
+
? (_openBlock(), _createElementBlock("div", _hoisted_4, [
|
|
100
|
+
(item.filter)
|
|
101
|
+
? (_openBlock(), _createBlock(_component_AIcon, {
|
|
102
|
+
key: 0,
|
|
103
|
+
type: "SearchOutlined",
|
|
104
|
+
style: { "color": "rgba(0,0,0, 0.25)" },
|
|
105
|
+
onClick: () => { showFilter(item.filter.key || item.dataIndex); }
|
|
106
|
+
}, null, 8 /* PROPS */, ["onClick"]))
|
|
107
|
+
: _createCommentVNode("v-if", true),
|
|
108
|
+
(item.sort)
|
|
109
|
+
? (_openBlock(), _createBlock(_unref(Sort), _mergeProps({ key: 1 }, item.sort, {
|
|
110
|
+
key: item.dataIndex,
|
|
111
|
+
active: _unref(tableTool).sortData.dataIndex === item.dataIndex,
|
|
112
|
+
selectedRowKeys: _unref(tableTool).sortData.dataIndex === item.dataIndex ? _unref(tableTool).sortData.orderKeys : [],
|
|
113
|
+
dataIndex: item.dataIndex,
|
|
114
|
+
onClick: sortClick
|
|
115
|
+
}), null, 16 /* FULL_PROPS */, ["active", "selectedRowKeys", "dataIndex"]))
|
|
116
|
+
: _createCommentVNode("v-if", true)
|
|
117
|
+
]))
|
|
118
|
+
: _createCommentVNode("v-if", true)
|
|
119
|
+
], 2 /* CLASS */)
|
|
120
|
+
], 12 /* STYLE, PROPS */, _hoisted_1));
|
|
121
|
+
}), 256 /* UNKEYED_FRAGMENT */)),
|
|
230
122
|
(searchData.visible)
|
|
231
123
|
? (_openBlock(), _createBlock(_unref(SearchModal), {
|
|
232
124
|
key: 0,
|
|
@@ -236,7 +128,7 @@ const __sfc_main__ = Object.assign({
|
|
|
236
128
|
onClose: _cache[0] || (_cache[0] = $event => (searchData.visible = false))
|
|
237
129
|
}, null, 8 /* PROPS */, ["searchKey", "rowKey", "columns"]))
|
|
238
130
|
: _createCommentVNode("v-if", true)
|
|
239
|
-
],
|
|
131
|
+
], 4 /* STYLE */));
|
|
240
132
|
};
|
|
241
133
|
}
|
|
242
134
|
});
|
|
@@ -26,19 +26,22 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
26
26
|
"defineOptions": "setup-const",
|
|
27
27
|
"AIcon": "setup-maybe-ref",
|
|
28
28
|
"Menu": "setup-maybe-ref",
|
|
29
|
+
"useLocaleReceiver": "setup-maybe-ref",
|
|
29
30
|
"MenuItem": "setup-maybe-ref",
|
|
30
31
|
"props": "setup-reactive-const",
|
|
31
32
|
"contextMenu": "setup-ref",
|
|
33
|
+
"contextLocale": "setup-maybe-ref",
|
|
32
34
|
"showDetail": "setup-maybe-ref",
|
|
33
35
|
"showPaste": "setup-maybe-ref",
|
|
34
36
|
"showDelete": "setup-maybe-ref",
|
|
35
37
|
"clickFunc": "setup-const",
|
|
36
38
|
"close": "setup-const"
|
|
37
39
|
} */
|
|
38
|
-
import { unref as _unref, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
40
|
+
import { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
39
41
|
import { onMounted, ref, nextTick, } from "vue";
|
|
40
42
|
import { AIcon } from '../../../components';
|
|
41
43
|
import { Menu } from 'ant-design-vue';
|
|
44
|
+
import { useLocaleReceiver } from "../../../LocaleReciver";
|
|
42
45
|
const __sfc_main__ = Object.assign({
|
|
43
46
|
name: 'JEditTableContextMenu'
|
|
44
47
|
}, {
|
|
@@ -53,6 +56,7 @@ const __sfc_main__ = Object.assign({
|
|
|
53
56
|
const MenuItem = Menu.Item;
|
|
54
57
|
const props = __props;
|
|
55
58
|
const contextMenu = ref(null);
|
|
59
|
+
const [contextLocale] = useLocaleReceiver('EditTable');
|
|
56
60
|
const showDetail = computed(() => {
|
|
57
61
|
return !props.data.id;
|
|
58
62
|
});
|
|
@@ -81,7 +85,7 @@ const __sfc_main__ = Object.assign({
|
|
|
81
85
|
});
|
|
82
86
|
return (_ctx, _cache) => {
|
|
83
87
|
return (_openBlock(), _createElementBlock("div", {
|
|
84
|
-
class: "
|
|
88
|
+
class: "jetlinks-edit-table-context-menu",
|
|
85
89
|
ref_key: "contextMenu",
|
|
86
90
|
ref: contextMenu,
|
|
87
91
|
tabindex: "-1",
|
|
@@ -94,7 +98,7 @@ const __sfc_main__ = Object.assign({
|
|
|
94
98
|
_createVNode(_unref(AIcon), { type: "PlusSquareOutlined" })
|
|
95
99
|
]),
|
|
96
100
|
default: _withCtx(() => [
|
|
97
|
-
_createTextVNode("
|
|
101
|
+
_createTextVNode(" " + _toDisplayString(_unref(contextLocale).contextMenu.add), 1 /* TEXT */)
|
|
98
102
|
]),
|
|
99
103
|
_: 1 /* STABLE */
|
|
100
104
|
}),
|
|
@@ -103,7 +107,7 @@ const __sfc_main__ = Object.assign({
|
|
|
103
107
|
_createVNode(_unref(AIcon), { type: "icon-copy" })
|
|
104
108
|
]),
|
|
105
109
|
default: _withCtx(() => [
|
|
106
|
-
_createTextVNode("
|
|
110
|
+
_createTextVNode(" " + _toDisplayString(_unref(contextLocale).contextMenu.copy), 1 /* TEXT */)
|
|
107
111
|
]),
|
|
108
112
|
_: 1 /* STABLE */
|
|
109
113
|
}),
|
|
@@ -115,7 +119,7 @@ const __sfc_main__ = Object.assign({
|
|
|
115
119
|
_createVNode(_unref(AIcon), { type: "icon-paste" })
|
|
116
120
|
]),
|
|
117
121
|
default: _withCtx(() => [
|
|
118
|
-
_createTextVNode("
|
|
122
|
+
_createTextVNode(" " + _toDisplayString(_unref(contextLocale).contextMenu.paste), 1 /* TEXT */)
|
|
119
123
|
]),
|
|
120
124
|
_: 1 /* STABLE */
|
|
121
125
|
}, 8 /* PROPS */, ["disabled"]),
|
|
@@ -127,7 +131,7 @@ const __sfc_main__ = Object.assign({
|
|
|
127
131
|
_createVNode(_unref(AIcon), { type: "icon-chakan" })
|
|
128
132
|
]),
|
|
129
133
|
default: _withCtx(() => [
|
|
130
|
-
_createTextVNode("
|
|
134
|
+
_createTextVNode(" " + _toDisplayString(_unref(contextLocale).contextMenu.detail), 1 /* TEXT */)
|
|
131
135
|
]),
|
|
132
136
|
_: 1 /* STABLE */
|
|
133
137
|
}, 8 /* PROPS */, ["disabled"]),
|
|
@@ -140,7 +144,7 @@ const __sfc_main__ = Object.assign({
|
|
|
140
144
|
_createVNode(_unref(AIcon), { type: "DeleteOutlined" })
|
|
141
145
|
]),
|
|
142
146
|
default: _withCtx(() => [
|
|
143
|
-
_createTextVNode("
|
|
147
|
+
_createTextVNode(" " + _toDisplayString(_unref(contextLocale).contextMenu.delete), 1 /* TEXT */)
|
|
144
148
|
]),
|
|
145
149
|
_: 1 /* STABLE */
|
|
146
150
|
}, 8 /* PROPS */, ["disabled"])
|
|
@@ -4,10 +4,17 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
Object.defineProperty(exports, "
|
|
7
|
+
Object.defineProperty(exports, "SearchModal", {
|
|
8
8
|
enumerable: true,
|
|
9
9
|
get: function get() {
|
|
10
|
-
return
|
|
10
|
+
return _search.default;
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
|
-
|
|
13
|
+
Object.defineProperty(exports, "Sort", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function get() {
|
|
16
|
+
return _sort.default;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
var _search = _interopRequireDefault(require("./search.js"));
|
|
20
|
+
var _sort = _interopRequireDefault(require("./sort.js"));
|