@jetlinks-web/components 2.6.4 → 2.6.5
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/Header.js +6 -1
- package/es/EditTable/components/Search/search.js +8 -3
- package/es/EditTable/components/Search/sort.js +1 -1
- package/es/EditTable/props.js +4 -0
- package/es/FullPage/FullPage.js +1 -1
- package/es/Search/Advanced/SaveHistory.js +1 -1
- package/es/Search/Item.js +1 -1
- package/lib/EditTable/Header.js +6 -1
- package/lib/EditTable/components/Search/search.js +8 -3
- package/lib/EditTable/components/Search/sort.js +1 -1
- package/lib/EditTable/props.js +4 -0
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/Search/Advanced/SaveHistory.js +1 -1
- package/lib/Search/Item.js +1 -1
- package/package.json +3 -3
package/es/EditTable/Header.js
CHANGED
|
@@ -16,6 +16,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
16
16
|
} return value; }
|
|
17
17
|
/* Analyzed bindings: {
|
|
18
18
|
"columns": "props",
|
|
19
|
+
"searchColumns": "props",
|
|
19
20
|
"serial": "props",
|
|
20
21
|
"style": "props",
|
|
21
22
|
"SearchModal": "setup-maybe-ref",
|
|
@@ -51,6 +52,10 @@ const __sfc_main__ = Object.assign({
|
|
|
51
52
|
type: Array,
|
|
52
53
|
default: () => []
|
|
53
54
|
},
|
|
55
|
+
searchColumns: {
|
|
56
|
+
type: Array,
|
|
57
|
+
default: undefined
|
|
58
|
+
},
|
|
54
59
|
serial: {
|
|
55
60
|
type: Boolean,
|
|
56
61
|
default: false
|
|
@@ -124,7 +129,7 @@ const __sfc_main__ = Object.assign({
|
|
|
124
129
|
key: 0,
|
|
125
130
|
searchKey: searchData.key,
|
|
126
131
|
rowKey: _ctx.rowKey,
|
|
127
|
-
columns:
|
|
132
|
+
columns: __props.searchColumns,
|
|
128
133
|
onClose: _cache[0] || (_cache[0] = $event => (searchData.visible = false))
|
|
129
134
|
}, null, 8 /* PROPS */, ["searchKey", "rowKey", "columns"]))
|
|
130
135
|
: _createCommentVNode("v-if", true)
|
|
@@ -16,6 +16,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
16
16
|
} return value; }
|
|
17
17
|
/* Analyzed bindings: {
|
|
18
18
|
"searchKey": "props",
|
|
19
|
+
"columns": "props",
|
|
19
20
|
"Table": "setup-const",
|
|
20
21
|
"useTableDataSource": "setup-maybe-ref",
|
|
21
22
|
"useTableOpenGroup": "setup-maybe-ref",
|
|
@@ -46,7 +47,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
46
47
|
"tableHeight": "setup-ref",
|
|
47
48
|
"selectedRowKeys": "setup-ref",
|
|
48
49
|
"tableRef": "setup-ref",
|
|
49
|
-
"
|
|
50
|
+
"myColumns": "setup-reactive-const",
|
|
50
51
|
"selectedTableRow": "setup-const",
|
|
51
52
|
"handleFilterArray": "setup-const",
|
|
52
53
|
"search": "setup-const",
|
|
@@ -79,6 +80,10 @@ const __sfc_main__ = Object.assign({
|
|
|
79
80
|
searchKey: {
|
|
80
81
|
type: String,
|
|
81
82
|
default: 'id'
|
|
83
|
+
},
|
|
84
|
+
columns: {
|
|
85
|
+
type: Array,
|
|
86
|
+
default: undefined
|
|
82
87
|
}
|
|
83
88
|
},
|
|
84
89
|
emits: ['close'],
|
|
@@ -98,7 +103,7 @@ const __sfc_main__ = Object.assign({
|
|
|
98
103
|
const tableHeight = ref(230);
|
|
99
104
|
const selectedRowKeys = ref([]);
|
|
100
105
|
const tableRef = ref();
|
|
101
|
-
const
|
|
106
|
+
const myColumns = reactive([
|
|
102
107
|
{
|
|
103
108
|
title: contextLocale.value.columns.sign,
|
|
104
109
|
dataIndex: 'id',
|
|
@@ -267,7 +272,7 @@ const __sfc_main__ = Object.assign({
|
|
|
267
272
|
ref_key: "tableRef",
|
|
268
273
|
ref: tableRef,
|
|
269
274
|
"data-source": filterArray.value,
|
|
270
|
-
columns: columns,
|
|
275
|
+
columns: __props.columns || myColumns,
|
|
271
276
|
height: tableHeight.value,
|
|
272
277
|
disableMenu: false,
|
|
273
278
|
cellHeight: 36,
|
|
@@ -42,7 +42,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
42
42
|
"onDesc": "setup-const"
|
|
43
43
|
} */
|
|
44
44
|
import { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
45
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
45
|
+
const _withScopeId = n => (_pushScopeId("data-v-1744339737722"), n = n(), _popScopeId(), n);
|
|
46
46
|
const _hoisted_1 = { class: "jetlinks-table-sort-content" };
|
|
47
47
|
const _hoisted_2 = { class: "jetlinks-table-sort-title" };
|
|
48
48
|
const _hoisted_3 = { class: "table-sort-body" };
|
package/es/EditTable/props.js
CHANGED
package/es/FullPage/FullPage.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
} */
|
|
10
10
|
import { defineComponent as _defineComponent } from 'vue';
|
|
11
11
|
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";
|
|
12
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
12
|
+
const _withScopeId = n => (_pushScopeId("data-v-1744339734591"), n = n(), _popScopeId(), n);
|
|
13
13
|
const _hoisted_1 = { class: "full-page-warp-content" };
|
|
14
14
|
import { ref, inject } from 'vue';
|
|
15
15
|
import { useElementBounding } from '@vueuse/core';
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
} */
|
|
24
24
|
import { defineComponent as _defineComponent } from 'vue';
|
|
25
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, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
26
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
26
|
+
const _withScopeId = n => (_pushScopeId("data-v-1744339737530"), n = n(), _popScopeId(), n);
|
|
27
27
|
const _hoisted_1 = {
|
|
28
28
|
key: 0,
|
|
29
29
|
style: { "width": "240px" }
|
package/es/Search/Item.js
CHANGED
|
@@ -80,7 +80,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
80
80
|
} */
|
|
81
81
|
import { defineComponent as _defineComponent } from 'vue';
|
|
82
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, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
83
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
83
|
+
const _withScopeId = n => (_pushScopeId("data-v-1744339736916"), n = n(), _popScopeId(), n);
|
|
84
84
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
85
85
|
const _hoisted_2 = {
|
|
86
86
|
key: 0,
|
package/lib/EditTable/Header.js
CHANGED
|
@@ -16,6 +16,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
16
16
|
} return value; }
|
|
17
17
|
/* Analyzed bindings: {
|
|
18
18
|
"columns": "props",
|
|
19
|
+
"searchColumns": "props",
|
|
19
20
|
"serial": "props",
|
|
20
21
|
"style": "props",
|
|
21
22
|
"SearchModal": "setup-maybe-ref",
|
|
@@ -51,6 +52,10 @@ const __sfc_main__ = Object.assign({
|
|
|
51
52
|
type: Array,
|
|
52
53
|
default: () => []
|
|
53
54
|
},
|
|
55
|
+
searchColumns: {
|
|
56
|
+
type: Array,
|
|
57
|
+
default: undefined
|
|
58
|
+
},
|
|
54
59
|
serial: {
|
|
55
60
|
type: Boolean,
|
|
56
61
|
default: false
|
|
@@ -124,7 +129,7 @@ const __sfc_main__ = Object.assign({
|
|
|
124
129
|
key: 0,
|
|
125
130
|
searchKey: searchData.key,
|
|
126
131
|
rowKey: _ctx.rowKey,
|
|
127
|
-
columns:
|
|
132
|
+
columns: __props.searchColumns,
|
|
128
133
|
onClose: _cache[0] || (_cache[0] = $event => (searchData.visible = false))
|
|
129
134
|
}, null, 8 /* PROPS */, ["searchKey", "rowKey", "columns"]))
|
|
130
135
|
: _createCommentVNode("v-if", true)
|
|
@@ -16,6 +16,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
16
16
|
} return value; }
|
|
17
17
|
/* Analyzed bindings: {
|
|
18
18
|
"searchKey": "props",
|
|
19
|
+
"columns": "props",
|
|
19
20
|
"Table": "setup-const",
|
|
20
21
|
"useTableDataSource": "setup-maybe-ref",
|
|
21
22
|
"useTableOpenGroup": "setup-maybe-ref",
|
|
@@ -46,7 +47,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
46
47
|
"tableHeight": "setup-ref",
|
|
47
48
|
"selectedRowKeys": "setup-ref",
|
|
48
49
|
"tableRef": "setup-ref",
|
|
49
|
-
"
|
|
50
|
+
"myColumns": "setup-reactive-const",
|
|
50
51
|
"selectedTableRow": "setup-const",
|
|
51
52
|
"handleFilterArray": "setup-const",
|
|
52
53
|
"search": "setup-const",
|
|
@@ -79,6 +80,10 @@ const __sfc_main__ = Object.assign({
|
|
|
79
80
|
searchKey: {
|
|
80
81
|
type: String,
|
|
81
82
|
default: 'id'
|
|
83
|
+
},
|
|
84
|
+
columns: {
|
|
85
|
+
type: Array,
|
|
86
|
+
default: undefined
|
|
82
87
|
}
|
|
83
88
|
},
|
|
84
89
|
emits: ['close'],
|
|
@@ -98,7 +103,7 @@ const __sfc_main__ = Object.assign({
|
|
|
98
103
|
const tableHeight = ref(230);
|
|
99
104
|
const selectedRowKeys = ref([]);
|
|
100
105
|
const tableRef = ref();
|
|
101
|
-
const
|
|
106
|
+
const myColumns = reactive([
|
|
102
107
|
{
|
|
103
108
|
title: contextLocale.value.columns.sign,
|
|
104
109
|
dataIndex: 'id',
|
|
@@ -267,7 +272,7 @@ const __sfc_main__ = Object.assign({
|
|
|
267
272
|
ref_key: "tableRef",
|
|
268
273
|
ref: tableRef,
|
|
269
274
|
"data-source": filterArray.value,
|
|
270
|
-
columns: columns,
|
|
275
|
+
columns: __props.columns || myColumns,
|
|
271
276
|
height: tableHeight.value,
|
|
272
277
|
disableMenu: false,
|
|
273
278
|
cellHeight: 36,
|
|
@@ -42,7 +42,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
42
42
|
"onDesc": "setup-const"
|
|
43
43
|
} */
|
|
44
44
|
import { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
45
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
45
|
+
const _withScopeId = n => (_pushScopeId("data-v-1744339737695"), n = n(), _popScopeId(), n);
|
|
46
46
|
const _hoisted_1 = { class: "jetlinks-table-sort-content" };
|
|
47
47
|
const _hoisted_2 = { class: "jetlinks-table-sort-title" };
|
|
48
48
|
const _hoisted_3 = { class: "table-sort-body" };
|
package/lib/EditTable/props.js
CHANGED
package/lib/FullPage/FullPage.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
} */
|
|
10
10
|
import { defineComponent as _defineComponent } from 'vue';
|
|
11
11
|
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";
|
|
12
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
12
|
+
const _withScopeId = n => (_pushScopeId("data-v-1744339734578"), n = n(), _popScopeId(), n);
|
|
13
13
|
const _hoisted_1 = { class: "full-page-warp-content" };
|
|
14
14
|
import { ref, inject } from 'vue';
|
|
15
15
|
import { useElementBounding } from '@vueuse/core';
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
} */
|
|
24
24
|
import { defineComponent as _defineComponent } from 'vue';
|
|
25
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, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
26
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
26
|
+
const _withScopeId = n => (_pushScopeId("data-v-1744339737515"), n = n(), _popScopeId(), n);
|
|
27
27
|
const _hoisted_1 = {
|
|
28
28
|
key: 0,
|
|
29
29
|
style: { "width": "240px" }
|
package/lib/Search/Item.js
CHANGED
|
@@ -80,7 +80,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
80
80
|
} */
|
|
81
81
|
import { defineComponent as _defineComponent } from 'vue';
|
|
82
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, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
83
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
83
|
+
const _withScopeId = n => (_pushScopeId("data-v-1744339736853"), n = n(), _popScopeId(), n);
|
|
84
84
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
85
85
|
const _hoisted_2 = {
|
|
86
86
|
key: 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetlinks-web/components",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -159,8 +159,8 @@
|
|
|
159
159
|
"webpack-merge": "^5.0.0",
|
|
160
160
|
"webpackbar": "^5.0.2",
|
|
161
161
|
"@jetlinks-web/constants": "^1.0.9",
|
|
162
|
-
"@jetlinks-web/
|
|
163
|
-
"@jetlinks-web/
|
|
162
|
+
"@jetlinks-web/hooks": "^1.0.25",
|
|
163
|
+
"@jetlinks-web/utils": "^1.2.8"
|
|
164
164
|
},
|
|
165
165
|
"publishConfig": {
|
|
166
166
|
"registry": "https://registry.npmjs.org/",
|