@jetlinks-web/components 2.6.15 → 2.6.17
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/AutoComplete/AutoComplete.js +3 -3
- package/es/EditTable/components/Search/sort.js +1 -1
- package/es/FullPage/FullPage.js +1 -1
- 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/AutoComplete/AutoComplete.js +3 -3
- package/lib/EditTable/components/Search/sort.js +1 -1
- package/lib/FullPage/FullPage.js +1 -1
- 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
|
@@ -47,7 +47,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
47
47
|
setup(__props, { emit: __emit }) {
|
|
48
48
|
const props = __props;
|
|
49
49
|
const emit = __emit;
|
|
50
|
-
const _options = ref(
|
|
50
|
+
const _options = ref([]);
|
|
51
51
|
/**
|
|
52
52
|
* 根据关键词提示
|
|
53
53
|
* @param searchText 关键词
|
|
@@ -66,10 +66,10 @@ const __sfc_main__ = _defineComponent({
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
|
-
watch(() => props.options, // 处理options变化
|
|
69
|
+
watch(() => JSON.stringify(props.options), // 处理options变化
|
|
70
70
|
() => {
|
|
71
71
|
_options.value = props.options || [];
|
|
72
|
-
});
|
|
72
|
+
}, { immediate: true });
|
|
73
73
|
return (_ctx, _cache) => {
|
|
74
74
|
return (_openBlock(), _createBlock(_unref(AutoComplete), _mergeProps(props, {
|
|
75
75
|
style: { "width": "100%" },
|
|
@@ -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-1747901736970"), 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-1747901734657"), 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-1747901736664"), 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-1747901736000"), n = n(), _popScopeId(), n);
|
|
84
84
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
85
85
|
const _hoisted_2 = {
|
|
86
86
|
key: 0,
|
|
@@ -47,7 +47,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
47
47
|
setup(__props, { emit: __emit }) {
|
|
48
48
|
const props = __props;
|
|
49
49
|
const emit = __emit;
|
|
50
|
-
const _options = ref(
|
|
50
|
+
const _options = ref([]);
|
|
51
51
|
/**
|
|
52
52
|
* 根据关键词提示
|
|
53
53
|
* @param searchText 关键词
|
|
@@ -66,10 +66,10 @@ const __sfc_main__ = _defineComponent({
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
|
-
watch(() => props.options, // 处理options变化
|
|
69
|
+
watch(() => JSON.stringify(props.options), // 处理options变化
|
|
70
70
|
() => {
|
|
71
71
|
_options.value = props.options || [];
|
|
72
|
-
});
|
|
72
|
+
}, { immediate: true });
|
|
73
73
|
return (_ctx, _cache) => {
|
|
74
74
|
return (_openBlock(), _createBlock(_unref(AutoComplete), _mergeProps(props, {
|
|
75
75
|
style: { "width": "100%" },
|
|
@@ -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-1747901736948"), 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-1747901734640"), 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-1747901736647"), 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-1747901735914"), 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.17",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -158,9 +158,9 @@
|
|
|
158
158
|
"webpack-dev-server": "^4.0.0",
|
|
159
159
|
"webpack-merge": "^5.0.0",
|
|
160
160
|
"webpackbar": "^5.0.2",
|
|
161
|
-
"@jetlinks-web/constants": "^1.0.9",
|
|
162
161
|
"@jetlinks-web/utils": "^1.2.12",
|
|
163
|
-
"@jetlinks-web/hooks": "^1.0.28"
|
|
162
|
+
"@jetlinks-web/hooks": "^1.0.28",
|
|
163
|
+
"@jetlinks-web/constants": "^1.0.9"
|
|
164
164
|
},
|
|
165
165
|
"publishConfig": {
|
|
166
166
|
"registry": "https://registry.npmjs.org/",
|