@jetlinks-web/components 2.6.16 → 2.6.18
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/components/Search/sort.js +1 -1
- package/es/FullPage/FullPage.js +1 -1
- package/es/ProTable/Content.js +15 -4
- package/es/Search/Advanced/SaveHistory.js +1 -1
- package/es/Search/Advanced/index.js +7 -6
- package/es/Search/Item.js +1 -1
- package/lib/EditTable/components/Search/sort.js +1 -1
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/ProTable/Content.js +15 -4
- package/lib/Search/Advanced/SaveHistory.js +1 -1
- package/lib/Search/Advanced/index.js +7 -6
- package/lib/Search/Item.js +1 -1
- package/package.json +3 -3
|
@@ -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-1748919268655"), 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/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-1748919265142"), 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';
|
package/es/ProTable/Content.js
CHANGED
|
@@ -29,7 +29,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
29
29
|
"gridTemplateColumns": "setup-ref"
|
|
30
30
|
} */
|
|
31
31
|
import { defineComponent as _defineComponent } from 'vue';
|
|
32
|
-
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, unref as _unref, createVNode as _createVNode, mergeProps as _mergeProps, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock } from "vue";
|
|
32
|
+
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createCommentVNode as _createCommentVNode, unref as _unref, createVNode as _createVNode, mergeProps as _mergeProps, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createSlots as _createSlots, createBlock as _createBlock } from "vue";
|
|
33
33
|
const _hoisted_1 = { class: "jtable-box" };
|
|
34
34
|
const _hoisted_2 = {
|
|
35
35
|
key: 0,
|
|
@@ -100,7 +100,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
100
100
|
pagination: false,
|
|
101
101
|
scroll: _scroll.value,
|
|
102
102
|
class: { 'j-table-scroll': !_optionalChain([props, 'access', _7 => _7.scroll, 'optionalAccess', _8 => _8.y]) }
|
|
103
|
-
}), {
|
|
103
|
+
}), _createSlots({
|
|
104
104
|
headerCell: _withCtx(({ column, title }) => [
|
|
105
105
|
_renderSlot(_ctx.$slots, "headerCell", _normalizeProps(_guardReactiveProps({ column, title })))
|
|
106
106
|
]),
|
|
@@ -119,8 +119,19 @@ const __sfc_main__ = _defineComponent({
|
|
|
119
119
|
_createVNode(_unref(Empty))
|
|
120
120
|
])
|
|
121
121
|
]),
|
|
122
|
-
_:
|
|
123
|
-
},
|
|
122
|
+
_: 2 /* DYNAMIC */
|
|
123
|
+
}, [
|
|
124
|
+
_renderList(_unref(slots), (_, slotKey) => {
|
|
125
|
+
return {
|
|
126
|
+
name: slotKey,
|
|
127
|
+
fn: _withCtx((slotProps) => [
|
|
128
|
+
(!['headerCell', 'bodyCell', 'emptyText'].includes(slotKey))
|
|
129
|
+
? _renderSlot(_ctx.$slots, slotKey, _normalizeProps(_mergeProps({ key: 0 }, slotProps)))
|
|
130
|
+
: _createCommentVNode("v-if", true)
|
|
131
|
+
])
|
|
132
|
+
};
|
|
133
|
+
})
|
|
134
|
+
]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["dataSource", "columns", "scroll", "class"]))
|
|
124
135
|
]));
|
|
125
136
|
};
|
|
126
137
|
}
|
|
@@ -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-1748919268461"), n = n(), _popScopeId(), n);
|
|
27
27
|
const _hoisted_1 = {
|
|
28
28
|
key: 0,
|
|
29
29
|
style: { "width": "240px" }
|
|
@@ -17,7 +17,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
17
17
|
/* Analyzed bindings: {
|
|
18
18
|
"columns": "props",
|
|
19
19
|
"type": "props",
|
|
20
|
-
"target": "setup-ref",
|
|
20
|
+
"target": "setup-maybe-ref",
|
|
21
21
|
"class": "props",
|
|
22
22
|
"request": "props",
|
|
23
23
|
"historyRequest": "props",
|
|
@@ -56,7 +56,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
56
56
|
"searchRef": "setup-ref",
|
|
57
57
|
"searchRefContentRef": "setup-ref",
|
|
58
58
|
"width": "setup-maybe-ref",
|
|
59
|
-
"q": "setup-ref",
|
|
59
|
+
"q": "setup-maybe-ref",
|
|
60
60
|
"hasOnceSearch": "setup-ref",
|
|
61
61
|
"expand": "setup-ref",
|
|
62
62
|
"layout": "setup-ref",
|
|
@@ -103,6 +103,7 @@ const _hoisted_12 = { class: "JSearch-footer--btns" };
|
|
|
103
103
|
import SearchItem from '../Item.js';
|
|
104
104
|
import { optionsMapKey, typeOptions } from '../setting';
|
|
105
105
|
import { useElementSize } from '@vueuse/core';
|
|
106
|
+
import { useRouteQuery } from '@vueuse/router';
|
|
106
107
|
import { ref, reactive, watch, provide } from 'vue';
|
|
107
108
|
import SaveHistory from './SaveHistory.js';
|
|
108
109
|
import History from './History.js';
|
|
@@ -170,8 +171,8 @@ const __sfc_main__ = _defineComponent({
|
|
|
170
171
|
const searchRef = ref(null);
|
|
171
172
|
const searchRefContentRef = ref(null);
|
|
172
173
|
const { width } = useElementSize(searchRef);
|
|
173
|
-
const q =
|
|
174
|
-
const target =
|
|
174
|
+
const q = useRouteQuery('q');
|
|
175
|
+
const target = useRouteQuery('target');
|
|
175
176
|
const hasOnceSearch = ref(false);
|
|
176
177
|
// 是否展开更多筛选
|
|
177
178
|
const expand = ref(false);
|
|
@@ -486,11 +487,11 @@ const __sfc_main__ = _defineComponent({
|
|
|
486
487
|
}),
|
|
487
488
|
_createVNode(SaveHistory, {
|
|
488
489
|
terms: termsData,
|
|
489
|
-
target: target
|
|
490
|
+
target: _unref(target),
|
|
490
491
|
request: __props.request
|
|
491
492
|
}, null, 8 /* PROPS */, ["terms", "target", "request"]),
|
|
492
493
|
_createVNode(History, {
|
|
493
|
-
target: target
|
|
494
|
+
target: _unref(target),
|
|
494
495
|
request: __props.historyRequest,
|
|
495
496
|
"delete-request": __props.deleteRequest,
|
|
496
497
|
"delete-key": __props.deleteKey,
|
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-1748919267055"), n = n(), _popScopeId(), n);
|
|
84
84
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
85
85
|
const _hoisted_2 = {
|
|
86
86
|
key: 0,
|
|
@@ -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-1748919268636"), 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/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-1748919265129"), 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';
|
package/lib/ProTable/Content.js
CHANGED
|
@@ -29,7 +29,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
29
29
|
"gridTemplateColumns": "setup-ref"
|
|
30
30
|
} */
|
|
31
31
|
import { defineComponent as _defineComponent } from 'vue';
|
|
32
|
-
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, unref as _unref, createVNode as _createVNode, mergeProps as _mergeProps, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock } from "vue";
|
|
32
|
+
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createCommentVNode as _createCommentVNode, unref as _unref, createVNode as _createVNode, mergeProps as _mergeProps, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createSlots as _createSlots, createBlock as _createBlock } from "vue";
|
|
33
33
|
const _hoisted_1 = { class: "jtable-box" };
|
|
34
34
|
const _hoisted_2 = {
|
|
35
35
|
key: 0,
|
|
@@ -100,7 +100,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
100
100
|
pagination: false,
|
|
101
101
|
scroll: _scroll.value,
|
|
102
102
|
class: { 'j-table-scroll': !_optionalChain([props, 'access', _7 => _7.scroll, 'optionalAccess', _8 => _8.y]) }
|
|
103
|
-
}), {
|
|
103
|
+
}), _createSlots({
|
|
104
104
|
headerCell: _withCtx(({ column, title }) => [
|
|
105
105
|
_renderSlot(_ctx.$slots, "headerCell", _normalizeProps(_guardReactiveProps({ column, title })))
|
|
106
106
|
]),
|
|
@@ -119,8 +119,19 @@ const __sfc_main__ = _defineComponent({
|
|
|
119
119
|
_createVNode(_unref(Empty))
|
|
120
120
|
])
|
|
121
121
|
]),
|
|
122
|
-
_:
|
|
123
|
-
},
|
|
122
|
+
_: 2 /* DYNAMIC */
|
|
123
|
+
}, [
|
|
124
|
+
_renderList(_unref(slots), (_, slotKey) => {
|
|
125
|
+
return {
|
|
126
|
+
name: slotKey,
|
|
127
|
+
fn: _withCtx((slotProps) => [
|
|
128
|
+
(!['headerCell', 'bodyCell', 'emptyText'].includes(slotKey))
|
|
129
|
+
? _renderSlot(_ctx.$slots, slotKey, _normalizeProps(_mergeProps({ key: 0 }, slotProps)))
|
|
130
|
+
: _createCommentVNode("v-if", true)
|
|
131
|
+
])
|
|
132
|
+
};
|
|
133
|
+
})
|
|
134
|
+
]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["dataSource", "columns", "scroll", "class"]))
|
|
124
135
|
]));
|
|
125
136
|
};
|
|
126
137
|
}
|
|
@@ -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-1748919268447"), n = n(), _popScopeId(), n);
|
|
27
27
|
const _hoisted_1 = {
|
|
28
28
|
key: 0,
|
|
29
29
|
style: { "width": "240px" }
|
|
@@ -17,7 +17,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
17
17
|
/* Analyzed bindings: {
|
|
18
18
|
"columns": "props",
|
|
19
19
|
"type": "props",
|
|
20
|
-
"target": "setup-ref",
|
|
20
|
+
"target": "setup-maybe-ref",
|
|
21
21
|
"class": "props",
|
|
22
22
|
"request": "props",
|
|
23
23
|
"historyRequest": "props",
|
|
@@ -56,7 +56,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
56
56
|
"searchRef": "setup-ref",
|
|
57
57
|
"searchRefContentRef": "setup-ref",
|
|
58
58
|
"width": "setup-maybe-ref",
|
|
59
|
-
"q": "setup-ref",
|
|
59
|
+
"q": "setup-maybe-ref",
|
|
60
60
|
"hasOnceSearch": "setup-ref",
|
|
61
61
|
"expand": "setup-ref",
|
|
62
62
|
"layout": "setup-ref",
|
|
@@ -103,6 +103,7 @@ const _hoisted_12 = { class: "JSearch-footer--btns" };
|
|
|
103
103
|
import SearchItem from '../Item.js';
|
|
104
104
|
import { optionsMapKey, typeOptions } from '../setting';
|
|
105
105
|
import { useElementSize } from '@vueuse/core';
|
|
106
|
+
import { useRouteQuery } from '@vueuse/router';
|
|
106
107
|
import { ref, reactive, watch, provide } from 'vue';
|
|
107
108
|
import SaveHistory from './SaveHistory.js';
|
|
108
109
|
import History from './History.js';
|
|
@@ -170,8 +171,8 @@ const __sfc_main__ = _defineComponent({
|
|
|
170
171
|
const searchRef = ref(null);
|
|
171
172
|
const searchRefContentRef = ref(null);
|
|
172
173
|
const { width } = useElementSize(searchRef);
|
|
173
|
-
const q =
|
|
174
|
-
const target =
|
|
174
|
+
const q = useRouteQuery('q');
|
|
175
|
+
const target = useRouteQuery('target');
|
|
175
176
|
const hasOnceSearch = ref(false);
|
|
176
177
|
// 是否展开更多筛选
|
|
177
178
|
const expand = ref(false);
|
|
@@ -486,11 +487,11 @@ const __sfc_main__ = _defineComponent({
|
|
|
486
487
|
}),
|
|
487
488
|
_createVNode(SaveHistory, {
|
|
488
489
|
terms: termsData,
|
|
489
|
-
target: target
|
|
490
|
+
target: _unref(target),
|
|
490
491
|
request: __props.request
|
|
491
492
|
}, null, 8 /* PROPS */, ["terms", "target", "request"]),
|
|
492
493
|
_createVNode(History, {
|
|
493
|
-
target: target
|
|
494
|
+
target: _unref(target),
|
|
494
495
|
request: __props.historyRequest,
|
|
495
496
|
"delete-request": __props.deleteRequest,
|
|
496
497
|
"delete-key": __props.deleteKey,
|
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-1748919266967"), 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.18",
|
|
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/utils": "^1.2.12",
|
|
163
|
+
"@jetlinks-web/hooks": "^1.0.28"
|
|
164
164
|
},
|
|
165
165
|
"publishConfig": {
|
|
166
166
|
"registry": "https://registry.npmjs.org/",
|