@jetlinks-web/components 2.4.14 → 2.4.16
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 +1 -1
- package/es/EditTable/FormItem.js +1 -1
- package/es/FullPage/FullPage.js +1 -1
- package/es/LocaleProvider/index.js +12 -1
- 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 +7 -7
- package/lib/DragModal/DragModal.js +1 -1
- package/lib/EditTable/FormItem.js +1 -1
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/LocaleProvider/index.js +12 -1
- 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 +7 -7
- package/package.json +2 -2
|
@@ -96,7 +96,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
96
96
|
const props = __props;
|
|
97
97
|
const emits = __emit;
|
|
98
98
|
const slots = useSlots();
|
|
99
|
-
const [contextLocale] = useLocaleReceiver('
|
|
99
|
+
const [contextLocale] = useLocaleReceiver('DragModal');
|
|
100
100
|
const ele = document.body;
|
|
101
101
|
const dialog = ref();
|
|
102
102
|
const header = ref();
|
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-1735893312853"), 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-1735893313612"), 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';
|
|
@@ -2,15 +2,20 @@
|
|
|
2
2
|
"locale": "props",
|
|
3
3
|
"provide": "setup-const",
|
|
4
4
|
"reactive": "setup-const",
|
|
5
|
+
"watch": "setup-const",
|
|
6
|
+
"defineOptions": "setup-const",
|
|
5
7
|
"defaultLocal": "setup-maybe-ref",
|
|
6
8
|
"props": "setup-reactive-const",
|
|
7
9
|
"state": "setup-reactive-const"
|
|
8
10
|
} */
|
|
9
11
|
import { defineComponent as _defineComponent } from 'vue';
|
|
10
12
|
import { renderSlot as _renderSlot } from "vue";
|
|
11
|
-
import { provide, reactive } from "vue";
|
|
13
|
+
import { provide, reactive, watch, } from "vue";
|
|
12
14
|
import defaultLocal from '../locale/zh-CN';
|
|
13
15
|
const __sfc_main__ = _defineComponent({
|
|
16
|
+
...{
|
|
17
|
+
name: 'JLocaleProvider'
|
|
18
|
+
},
|
|
14
19
|
props: {
|
|
15
20
|
locale: {
|
|
16
21
|
type: Object,
|
|
@@ -24,6 +29,12 @@ const __sfc_main__ = _defineComponent({
|
|
|
24
29
|
exist: true,
|
|
25
30
|
},
|
|
26
31
|
});
|
|
32
|
+
watch(() => props.locale, () => {
|
|
33
|
+
state.antLocale = {
|
|
34
|
+
...props.locale || defaultLocal || {},
|
|
35
|
+
exist: true,
|
|
36
|
+
};
|
|
37
|
+
}, { deep: true });
|
|
27
38
|
provide('componentLocaleData', state);
|
|
28
39
|
return (_ctx, _cache) => {
|
|
29
40
|
return _renderSlot(_ctx.$slots, "default");
|
|
@@ -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-1735893314838"), 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-1735893315736"), 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-1735893315051"), 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-1735893315318"), 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';
|
package/es/locale/en-US.js
CHANGED
|
@@ -16,13 +16,13 @@ export default {
|
|
|
16
16
|
searchName: 'search name',
|
|
17
17
|
placeholder: 'Please enter a name',
|
|
18
18
|
ruleName: 'Up to 64 characters',
|
|
19
|
-
save: '
|
|
19
|
+
save: 'Save',
|
|
20
20
|
success: 'Operation successful',
|
|
21
21
|
fail: 'Operation fail'
|
|
22
22
|
},
|
|
23
23
|
history: {
|
|
24
24
|
confirmDelete: 'Confirm Delete?',
|
|
25
|
-
search: '
|
|
25
|
+
search: 'Search'
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
item: {
|
|
@@ -53,7 +53,7 @@ export default {
|
|
|
53
53
|
selectItem: 'Select {0} items'
|
|
54
54
|
},
|
|
55
55
|
pageContainer: {
|
|
56
|
-
back: '
|
|
56
|
+
back: 'Back'
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
AMap: {
|
|
@@ -65,13 +65,13 @@ export default {
|
|
|
65
65
|
copy: 'Copy row',
|
|
66
66
|
paste: 'Paste row',
|
|
67
67
|
detail: 'View details',
|
|
68
|
-
delete: '
|
|
68
|
+
delete: 'Delete'
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
ValueItem: {
|
|
72
72
|
placeholder: 'Please enter the link',
|
|
73
|
-
cancel: '
|
|
74
|
-
confirm: '
|
|
75
|
-
title: '
|
|
73
|
+
cancel: 'Cancel',
|
|
74
|
+
confirm: 'Confirm',
|
|
75
|
+
title: 'Edit'
|
|
76
76
|
}
|
|
77
77
|
};
|
|
@@ -96,7 +96,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
96
96
|
const props = __props;
|
|
97
97
|
const emits = __emit;
|
|
98
98
|
const slots = useSlots();
|
|
99
|
-
const [contextLocale] = useLocaleReceiver('
|
|
99
|
+
const [contextLocale] = useLocaleReceiver('DragModal');
|
|
100
100
|
const ele = document.body;
|
|
101
101
|
const dialog = ref();
|
|
102
102
|
const header = ref();
|
|
@@ -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-1735893312816"), 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-1735893313603"), 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';
|
|
@@ -2,15 +2,20 @@
|
|
|
2
2
|
"locale": "props",
|
|
3
3
|
"provide": "setup-const",
|
|
4
4
|
"reactive": "setup-const",
|
|
5
|
+
"watch": "setup-const",
|
|
6
|
+
"defineOptions": "setup-const",
|
|
5
7
|
"defaultLocal": "setup-maybe-ref",
|
|
6
8
|
"props": "setup-reactive-const",
|
|
7
9
|
"state": "setup-reactive-const"
|
|
8
10
|
} */
|
|
9
11
|
import { defineComponent as _defineComponent } from 'vue';
|
|
10
12
|
import { renderSlot as _renderSlot } from "vue";
|
|
11
|
-
import { provide, reactive } from "vue";
|
|
13
|
+
import { provide, reactive, watch, } from "vue";
|
|
12
14
|
import defaultLocal from '../locale/zh-CN';
|
|
13
15
|
const __sfc_main__ = _defineComponent({
|
|
16
|
+
...{
|
|
17
|
+
name: 'JLocaleProvider'
|
|
18
|
+
},
|
|
14
19
|
props: {
|
|
15
20
|
locale: {
|
|
16
21
|
type: Object,
|
|
@@ -24,6 +29,12 @@ const __sfc_main__ = _defineComponent({
|
|
|
24
29
|
exist: true,
|
|
25
30
|
},
|
|
26
31
|
});
|
|
32
|
+
watch(() => props.locale, () => {
|
|
33
|
+
state.antLocale = {
|
|
34
|
+
...props.locale || defaultLocal || {},
|
|
35
|
+
exist: true,
|
|
36
|
+
};
|
|
37
|
+
}, { deep: true });
|
|
27
38
|
provide('componentLocaleData', state);
|
|
28
39
|
return (_ctx, _cache) => {
|
|
29
40
|
return _renderSlot(_ctx.$slots, "default");
|
|
@@ -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-1735893314848"), 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-1735893315723"), 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-1735893315116"), 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-1735893315342"), 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';
|
package/lib/locale/en-US.js
CHANGED
|
@@ -22,13 +22,13 @@ var _default = exports.default = {
|
|
|
22
22
|
searchName: 'search name',
|
|
23
23
|
placeholder: 'Please enter a name',
|
|
24
24
|
ruleName: 'Up to 64 characters',
|
|
25
|
-
save: '
|
|
25
|
+
save: 'Save',
|
|
26
26
|
success: 'Operation successful',
|
|
27
27
|
fail: 'Operation fail'
|
|
28
28
|
},
|
|
29
29
|
history: {
|
|
30
30
|
confirmDelete: 'Confirm Delete?',
|
|
31
|
-
search: '
|
|
31
|
+
search: 'Search'
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
item: {
|
|
@@ -59,7 +59,7 @@ var _default = exports.default = {
|
|
|
59
59
|
selectItem: 'Select {0} items'
|
|
60
60
|
},
|
|
61
61
|
pageContainer: {
|
|
62
|
-
back: '
|
|
62
|
+
back: 'Back'
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
AMap: {
|
|
@@ -71,13 +71,13 @@ var _default = exports.default = {
|
|
|
71
71
|
copy: 'Copy row',
|
|
72
72
|
paste: 'Paste row',
|
|
73
73
|
detail: 'View details',
|
|
74
|
-
delete: '
|
|
74
|
+
delete: 'Delete'
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
ValueItem: {
|
|
78
78
|
placeholder: 'Please enter the link',
|
|
79
|
-
cancel: '
|
|
80
|
-
confirm: '
|
|
81
|
-
title: '
|
|
79
|
+
cancel: 'Cancel',
|
|
80
|
+
confirm: 'Confirm',
|
|
81
|
+
title: 'Edit'
|
|
82
82
|
}
|
|
83
83
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetlinks-web/components",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.16",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -152,8 +152,8 @@
|
|
|
152
152
|
"webpack-dev-server": "^4.0.0",
|
|
153
153
|
"webpack-merge": "^5.0.0",
|
|
154
154
|
"webpackbar": "^5.0.2",
|
|
155
|
-
"@jetlinks-web/hooks": "^1.0.21",
|
|
156
155
|
"@jetlinks-web/constants": "^1.0.7",
|
|
156
|
+
"@jetlinks-web/hooks": "^1.0.21",
|
|
157
157
|
"@jetlinks-web/utils": "^1.2.5"
|
|
158
158
|
},
|
|
159
159
|
"publishConfig": {
|