@jetlinks-web/components 2.4.17 → 2.4.19
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/DragModal/DragModal.js +2 -2
- package/es/EditTable/FormItem.js +1 -1
- package/es/FullPage/FullPage.js +1 -1
- package/es/ProLayout/PageContainer/index.js +1 -1
- package/es/RadioButton/RadioButton.js +1 -1
- package/es/Search/Advanced/SaveHistory.js +1 -1
- package/es/Search/Advanced/index.js +19 -7
- package/es/Search/Item.js +1 -1
- package/es/Search/Search.js +1 -1
- package/es/ValueItem/ValueItem.js +1 -1
- package/es/locale/en-US.js +6 -4
- package/es/locale/zh-CN.js +3 -1
- package/lib/DragModal/DragModal.js +2 -2
- package/lib/EditTable/FormItem.js +1 -1
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/ProLayout/PageContainer/index.js +1 -1
- package/lib/RadioButton/RadioButton.js +1 -1
- package/lib/Search/Advanced/SaveHistory.js +1 -1
- package/lib/Search/Advanced/index.js +19 -7
- package/lib/Search/Item.js +1 -1
- package/lib/Search/Search.js +1 -1
- package/lib/ValueItem/ValueItem.js +1 -1
- package/lib/locale/en-US.js +6 -4
- package/lib/locale/zh-CN.js +3 -1
- package/package.json +3 -3
|
@@ -280,7 +280,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
280
280
|
onClick: _withModifiers(onCancel, ["stop"])
|
|
281
281
|
}, {
|
|
282
282
|
default: _withCtx(() => [
|
|
283
|
-
_createTextVNode(_toDisplayString(_unref(contextLocale).
|
|
283
|
+
_createTextVNode(_toDisplayString(_unref(contextLocale).cancel), 1 /* TEXT */)
|
|
284
284
|
]),
|
|
285
285
|
_: 1 /* STABLE */
|
|
286
286
|
}),
|
|
@@ -289,7 +289,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
289
289
|
onClick: _withModifiers(onOk, ["stop"])
|
|
290
290
|
}, {
|
|
291
291
|
default: _withCtx(() => [
|
|
292
|
-
_createTextVNode(_toDisplayString(_unref(contextLocale).
|
|
292
|
+
_createTextVNode(_toDisplayString(_unref(contextLocale).confirm), 1 /* TEXT */)
|
|
293
293
|
]),
|
|
294
294
|
_: 1 /* STABLE */
|
|
295
295
|
})
|
package/es/EditTable/FormItem.js
CHANGED
|
@@ -48,7 +48,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
48
48
|
"onFieldChange": "setup-const"
|
|
49
49
|
} */
|
|
50
50
|
import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
51
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
51
|
+
const _withScopeId = n => (_pushScopeId("data-v-1739267207949"), n = n(), _popScopeId(), n);
|
|
52
52
|
const _hoisted_1 = { style: { "color": "#1d2129" } };
|
|
53
53
|
const _hoisted_2 = {
|
|
54
54
|
key: 0,
|
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-1739267208275"), 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';
|
|
@@ -210,7 +210,7 @@ var ProPageHeader = function ProPageHeader(props) {
|
|
|
210
210
|
showBack = props.showBack,
|
|
211
211
|
restProps = _objectWithoutProperties(props, _excluded);
|
|
212
212
|
var value = useRouteContext();
|
|
213
|
-
var _useLocaleReceiver = useLocaleReceiver('
|
|
213
|
+
var _useLocaleReceiver = useLocaleReceiver('ProLayout'),
|
|
214
214
|
_useLocaleReceiver2 = _slicedToArray(_useLocaleReceiver, 1),
|
|
215
215
|
contextLocale = _useLocaleReceiver2[0];
|
|
216
216
|
if (pageHeaderRender === false) {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"onClick": "setup-const"
|
|
11
11
|
} */
|
|
12
12
|
import { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
13
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
13
|
+
const _withScopeId = n => (_pushScopeId("data-v-1739267209902"), n = n(), _popScopeId(), n);
|
|
14
14
|
const _hoisted_1 = ["onClick"];
|
|
15
15
|
const __sfc_main__ = Object.assign({
|
|
16
16
|
name: 'JRadioButton',
|
|
@@ -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-1739267210360"), n = n(), _popScopeId(), n);
|
|
27
27
|
const _hoisted_1 = {
|
|
28
28
|
key: 0,
|
|
29
29
|
style: { "width": "240px" }
|
|
@@ -77,7 +77,8 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
77
77
|
"historyItemClick": "setup-const",
|
|
78
78
|
"handleUrlParams": "setup-const",
|
|
79
79
|
"handleDefaultValues": "setup-const",
|
|
80
|
-
"handleItems": "setup-const"
|
|
80
|
+
"handleItems": "setup-const",
|
|
81
|
+
"clearValue": "setup-const"
|
|
81
82
|
} */
|
|
82
83
|
import { defineComponent as _defineComponent } from 'vue';
|
|
83
84
|
import { createCommentVNode as _createCommentVNode, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createElementVNode as _createElementVNode, unref as _unref, createElementBlock as _createElementBlock, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, normalizeStyle as _normalizeStyle } from "vue";
|
|
@@ -214,8 +215,10 @@ const __sfc_main__ = _defineComponent({
|
|
|
214
215
|
}
|
|
215
216
|
};
|
|
216
217
|
const addUrlParams = () => {
|
|
217
|
-
|
|
218
|
-
|
|
218
|
+
if (props.target) {
|
|
219
|
+
q.value = encodeURI(JSON.stringify(termsData));
|
|
220
|
+
target.value = props.target;
|
|
221
|
+
}
|
|
219
222
|
};
|
|
220
223
|
const submitData = () => {
|
|
221
224
|
emit('search', termsParamsFormat(termsData, columnOptionMap.value));
|
|
@@ -332,19 +335,28 @@ const __sfc_main__ = _defineComponent({
|
|
|
332
335
|
handleUrlParams({ q: q.value, target: target.value });
|
|
333
336
|
}
|
|
334
337
|
};
|
|
338
|
+
const clearValue = () => {
|
|
339
|
+
if (props.type === 'advanced' && props.target !== target.value) {
|
|
340
|
+
q.value = null;
|
|
341
|
+
target.value = null;
|
|
342
|
+
}
|
|
343
|
+
};
|
|
335
344
|
watch(() => props.columns, () => {
|
|
336
345
|
termsData.terms = [
|
|
337
346
|
{ terms: [null, null, null] },
|
|
338
347
|
{ terms: [null, null, null], type: 'and' },
|
|
339
348
|
];
|
|
340
349
|
expand.value = false;
|
|
341
|
-
if (props.type === 'advanced') {
|
|
342
|
-
q.value = null;
|
|
343
|
-
target.value = null;
|
|
344
|
-
}
|
|
345
350
|
handleItems();
|
|
351
|
+
clearValue();
|
|
352
|
+
}, {
|
|
353
|
+
deep: true,
|
|
354
|
+
});
|
|
355
|
+
watch(() => props.target, () => {
|
|
356
|
+
clearValue();
|
|
346
357
|
}, {
|
|
347
358
|
deep: true,
|
|
359
|
+
immediate: true
|
|
348
360
|
});
|
|
349
361
|
watch(width, (value) => {
|
|
350
362
|
if (value < 1000) {
|
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-1739267209737"), n = n(), _popScopeId(), n);
|
|
84
84
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
85
85
|
const _hoisted_2 = {
|
|
86
86
|
key: 0,
|
package/es/Search/Search.js
CHANGED
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
} */
|
|
46
46
|
import { defineComponent as _defineComponent } from 'vue';
|
|
47
47
|
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
48
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
48
|
+
const _withScopeId = n => (_pushScopeId("data-v-1739267209817"), n = n(), _popScopeId(), n);
|
|
49
49
|
const _hoisted_1 = { class: "JSearch-content simple" };
|
|
50
50
|
const _hoisted_2 = { class: "JSearch-items" };
|
|
51
51
|
import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
|
|
@@ -115,7 +115,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
115
115
|
};
|
|
116
116
|
const onChange = (e) => {
|
|
117
117
|
emit('update:modelValue', myValue.value);
|
|
118
|
-
emit('change', e);
|
|
118
|
+
emit('change', e && e.target ? e.target.value : e);
|
|
119
119
|
};
|
|
120
120
|
const handleFileChange = (info) => {
|
|
121
121
|
if (info.file.status === 'done') {
|
package/es/locale/en-US.js
CHANGED
|
@@ -13,7 +13,7 @@ export default {
|
|
|
13
13
|
reset: 'Reset',
|
|
14
14
|
more: 'More',
|
|
15
15
|
saveHistory: {
|
|
16
|
-
searchName: '
|
|
16
|
+
searchName: 'Search name',
|
|
17
17
|
placeholder: 'Please enter a name',
|
|
18
18
|
ruleName: 'Up to 64 characters',
|
|
19
19
|
save: 'Save',
|
|
@@ -26,8 +26,8 @@ export default {
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
item: {
|
|
29
|
-
firstGroup: '
|
|
30
|
-
secondGroup: '
|
|
29
|
+
firstGroup: 'Group One',
|
|
30
|
+
secondGroup: 'Group Two',
|
|
31
31
|
placeholder: 'Please select'
|
|
32
32
|
},
|
|
33
33
|
setting: {
|
|
@@ -51,7 +51,9 @@ export default {
|
|
|
51
51
|
alert: {
|
|
52
52
|
cancelChoose: 'Cancel selection',
|
|
53
53
|
selectItem: 'Select {0} items'
|
|
54
|
-
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
ProLayout: {
|
|
55
57
|
pageContainer: {
|
|
56
58
|
back: 'Back'
|
|
57
59
|
}
|
package/es/locale/zh-CN.js
CHANGED
|
@@ -280,7 +280,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
280
280
|
onClick: _withModifiers(onCancel, ["stop"])
|
|
281
281
|
}, {
|
|
282
282
|
default: _withCtx(() => [
|
|
283
|
-
_createTextVNode(_toDisplayString(_unref(contextLocale).
|
|
283
|
+
_createTextVNode(_toDisplayString(_unref(contextLocale).cancel), 1 /* TEXT */)
|
|
284
284
|
]),
|
|
285
285
|
_: 1 /* STABLE */
|
|
286
286
|
}),
|
|
@@ -289,7 +289,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
289
289
|
onClick: _withModifiers(onOk, ["stop"])
|
|
290
290
|
}, {
|
|
291
291
|
default: _withCtx(() => [
|
|
292
|
-
_createTextVNode(_toDisplayString(_unref(contextLocale).
|
|
292
|
+
_createTextVNode(_toDisplayString(_unref(contextLocale).confirm), 1 /* TEXT */)
|
|
293
293
|
]),
|
|
294
294
|
_: 1 /* STABLE */
|
|
295
295
|
})
|
|
@@ -48,7 +48,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
48
48
|
"onFieldChange": "setup-const"
|
|
49
49
|
} */
|
|
50
50
|
import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
51
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
51
|
+
const _withScopeId = n => (_pushScopeId("data-v-1739267207923"), n = n(), _popScopeId(), n);
|
|
52
52
|
const _hoisted_1 = { style: { "color": "#1d2129" } };
|
|
53
53
|
const _hoisted_2 = {
|
|
54
54
|
key: 0,
|
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-1739267208269"), 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';
|
|
@@ -214,7 +214,7 @@ var ProPageHeader = function ProPageHeader(props) {
|
|
|
214
214
|
showBack = props.showBack,
|
|
215
215
|
restProps = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
216
216
|
var value = (0, _RouteContext.useRouteContext)();
|
|
217
|
-
var _useLocaleReceiver = (0, _LocaleReciver.useLocaleReceiver)('
|
|
217
|
+
var _useLocaleReceiver = (0, _LocaleReciver.useLocaleReceiver)('ProLayout'),
|
|
218
218
|
_useLocaleReceiver2 = (0, _slicedToArray2.default)(_useLocaleReceiver, 1),
|
|
219
219
|
contextLocale = _useLocaleReceiver2[0];
|
|
220
220
|
if (pageHeaderRender === false) {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"onClick": "setup-const"
|
|
11
11
|
} */
|
|
12
12
|
import { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
13
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
13
|
+
const _withScopeId = n => (_pushScopeId("data-v-1739267209911"), n = n(), _popScopeId(), n);
|
|
14
14
|
const _hoisted_1 = ["onClick"];
|
|
15
15
|
const __sfc_main__ = Object.assign({
|
|
16
16
|
name: 'JRadioButton',
|
|
@@ -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-1739267210376"), n = n(), _popScopeId(), n);
|
|
27
27
|
const _hoisted_1 = {
|
|
28
28
|
key: 0,
|
|
29
29
|
style: { "width": "240px" }
|
|
@@ -77,7 +77,8 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
77
77
|
"historyItemClick": "setup-const",
|
|
78
78
|
"handleUrlParams": "setup-const",
|
|
79
79
|
"handleDefaultValues": "setup-const",
|
|
80
|
-
"handleItems": "setup-const"
|
|
80
|
+
"handleItems": "setup-const",
|
|
81
|
+
"clearValue": "setup-const"
|
|
81
82
|
} */
|
|
82
83
|
import { defineComponent as _defineComponent } from 'vue';
|
|
83
84
|
import { createCommentVNode as _createCommentVNode, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createElementVNode as _createElementVNode, unref as _unref, createElementBlock as _createElementBlock, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, normalizeStyle as _normalizeStyle } from "vue";
|
|
@@ -214,8 +215,10 @@ const __sfc_main__ = _defineComponent({
|
|
|
214
215
|
}
|
|
215
216
|
};
|
|
216
217
|
const addUrlParams = () => {
|
|
217
|
-
|
|
218
|
-
|
|
218
|
+
if (props.target) {
|
|
219
|
+
q.value = encodeURI(JSON.stringify(termsData));
|
|
220
|
+
target.value = props.target;
|
|
221
|
+
}
|
|
219
222
|
};
|
|
220
223
|
const submitData = () => {
|
|
221
224
|
emit('search', termsParamsFormat(termsData, columnOptionMap.value));
|
|
@@ -332,19 +335,28 @@ const __sfc_main__ = _defineComponent({
|
|
|
332
335
|
handleUrlParams({ q: q.value, target: target.value });
|
|
333
336
|
}
|
|
334
337
|
};
|
|
338
|
+
const clearValue = () => {
|
|
339
|
+
if (props.type === 'advanced' && props.target !== target.value) {
|
|
340
|
+
q.value = null;
|
|
341
|
+
target.value = null;
|
|
342
|
+
}
|
|
343
|
+
};
|
|
335
344
|
watch(() => props.columns, () => {
|
|
336
345
|
termsData.terms = [
|
|
337
346
|
{ terms: [null, null, null] },
|
|
338
347
|
{ terms: [null, null, null], type: 'and' },
|
|
339
348
|
];
|
|
340
349
|
expand.value = false;
|
|
341
|
-
if (props.type === 'advanced') {
|
|
342
|
-
q.value = null;
|
|
343
|
-
target.value = null;
|
|
344
|
-
}
|
|
345
350
|
handleItems();
|
|
351
|
+
clearValue();
|
|
352
|
+
}, {
|
|
353
|
+
deep: true,
|
|
354
|
+
});
|
|
355
|
+
watch(() => props.target, () => {
|
|
356
|
+
clearValue();
|
|
346
357
|
}, {
|
|
347
358
|
deep: true,
|
|
359
|
+
immediate: true
|
|
348
360
|
});
|
|
349
361
|
watch(width, (value) => {
|
|
350
362
|
if (value < 1000) {
|
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-1739267209673"), n = n(), _popScopeId(), n);
|
|
84
84
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
85
85
|
const _hoisted_2 = {
|
|
86
86
|
key: 0,
|
package/lib/Search/Search.js
CHANGED
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
} */
|
|
46
46
|
import { defineComponent as _defineComponent } from 'vue';
|
|
47
47
|
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
48
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
48
|
+
const _withScopeId = n => (_pushScopeId("data-v-1739267209842"), n = n(), _popScopeId(), n);
|
|
49
49
|
const _hoisted_1 = { class: "JSearch-content simple" };
|
|
50
50
|
const _hoisted_2 = { class: "JSearch-items" };
|
|
51
51
|
import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
|
|
@@ -115,7 +115,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
115
115
|
};
|
|
116
116
|
const onChange = (e) => {
|
|
117
117
|
emit('update:modelValue', myValue.value);
|
|
118
|
-
emit('change', e);
|
|
118
|
+
emit('change', e && e.target ? e.target.value : e);
|
|
119
119
|
};
|
|
120
120
|
const handleFileChange = (info) => {
|
|
121
121
|
if (info.file.status === 'done') {
|
package/lib/locale/en-US.js
CHANGED
|
@@ -19,7 +19,7 @@ var _default = exports.default = {
|
|
|
19
19
|
reset: 'Reset',
|
|
20
20
|
more: 'More',
|
|
21
21
|
saveHistory: {
|
|
22
|
-
searchName: '
|
|
22
|
+
searchName: 'Search name',
|
|
23
23
|
placeholder: 'Please enter a name',
|
|
24
24
|
ruleName: 'Up to 64 characters',
|
|
25
25
|
save: 'Save',
|
|
@@ -32,8 +32,8 @@ var _default = exports.default = {
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
item: {
|
|
35
|
-
firstGroup: '
|
|
36
|
-
secondGroup: '
|
|
35
|
+
firstGroup: 'Group One',
|
|
36
|
+
secondGroup: 'Group Two',
|
|
37
37
|
placeholder: 'Please select'
|
|
38
38
|
},
|
|
39
39
|
setting: {
|
|
@@ -57,7 +57,9 @@ var _default = exports.default = {
|
|
|
57
57
|
alert: {
|
|
58
58
|
cancelChoose: 'Cancel selection',
|
|
59
59
|
selectItem: 'Select {0} items'
|
|
60
|
-
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
ProLayout: {
|
|
61
63
|
pageContainer: {
|
|
62
64
|
back: 'Back'
|
|
63
65
|
}
|
package/lib/locale/zh-CN.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetlinks-web/components",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.19",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
"webpack-merge": "^5.0.0",
|
|
154
154
|
"webpackbar": "^5.0.2",
|
|
155
155
|
"@jetlinks-web/constants": "^1.0.7",
|
|
156
|
-
"@jetlinks-web/
|
|
157
|
-
"@jetlinks-web/
|
|
156
|
+
"@jetlinks-web/hooks": "^1.0.21",
|
|
157
|
+
"@jetlinks-web/utils": "^1.2.5"
|
|
158
158
|
},
|
|
159
159
|
"publishConfig": {
|
|
160
160
|
"registry": "https://registry.npmjs.org/",
|