@jetlinks-web/components 2.4.17 → 2.4.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.
@@ -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).DragModal.cancel), 1 /* TEXT */)
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).DragModal.confirm), 1 /* TEXT */)
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-1737342934637"), n = n(), _popScopeId(), n);
51
+ const _withScopeId = n => (_pushScopeId("data-v-1738907934927"), n = n(), _popScopeId(), n);
52
52
  const _hoisted_1 = { style: { "color": "#1d2129" } };
53
53
  const _hoisted_2 = {
54
54
  key: 0,
@@ -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-1737342935096"), n = n(), _popScopeId(), n);
12
+ const _withScopeId = n => (_pushScopeId("data-v-1738907935129"), 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('ProTable'),
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-1737342936115"), n = n(), _popScopeId(), n);
13
+ const _withScopeId = n => (_pushScopeId("data-v-1738907936233"), 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-1737342936915"), n = n(), _popScopeId(), n);
26
+ const _withScopeId = n => (_pushScopeId("data-v-1738907937000"), 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-1737342936339"), n = n(), _popScopeId(), n);
83
+ const _withScopeId = n => (_pushScopeId("data-v-1738907936445"), n = n(), _popScopeId(), n);
84
84
  const _hoisted_1 = { class: "JSearch-item" };
85
85
  const _hoisted_2 = {
86
86
  key: 0,
@@ -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-1737342936427"), n = n(), _popScopeId(), n);
48
+ const _withScopeId = n => (_pushScopeId("data-v-1738907936594"), 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') {
@@ -13,7 +13,7 @@ export default {
13
13
  reset: 'Reset',
14
14
  more: 'More',
15
15
  saveHistory: {
16
- searchName: 'search name',
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: 'First',
30
- secondGroup: 'Second',
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
  }
@@ -51,7 +51,9 @@ export default {
51
51
  alert: {
52
52
  cancelChoose: '取消选择',
53
53
  selectItem: '已选择 {0} 项'
54
- },
54
+ }
55
+ },
56
+ ProLayout: {
55
57
  pageContainer: {
56
58
  back: '返回'
57
59
  }
@@ -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).DragModal.cancel), 1 /* TEXT */)
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).DragModal.confirm), 1 /* TEXT */)
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-1737342934615"), n = n(), _popScopeId(), n);
51
+ const _withScopeId = n => (_pushScopeId("data-v-1738907934905"), n = n(), _popScopeId(), n);
52
52
  const _hoisted_1 = { style: { "color": "#1d2129" } };
53
53
  const _hoisted_2 = {
54
54
  key: 0,
@@ -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-1737342935089"), n = n(), _popScopeId(), n);
12
+ const _withScopeId = n => (_pushScopeId("data-v-1738907935123"), 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)('ProTable'),
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-1737342936098"), n = n(), _popScopeId(), n);
13
+ const _withScopeId = n => (_pushScopeId("data-v-1738907936243"), 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-1737342936896"), n = n(), _popScopeId(), n);
26
+ const _withScopeId = n => (_pushScopeId("data-v-1738907936988"), n = n(), _popScopeId(), n);
27
27
  const _hoisted_1 = {
28
28
  key: 0,
29
29
  style: { "width": "240px" }
@@ -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-1737342936285"), n = n(), _popScopeId(), n);
83
+ const _withScopeId = n => (_pushScopeId("data-v-1738907936497"), n = n(), _popScopeId(), n);
84
84
  const _hoisted_1 = { class: "JSearch-item" };
85
85
  const _hoisted_2 = {
86
86
  key: 0,
@@ -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-1737342936400"), n = n(), _popScopeId(), n);
48
+ const _withScopeId = n => (_pushScopeId("data-v-1738907936568"), 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') {
@@ -19,7 +19,7 @@ var _default = exports.default = {
19
19
  reset: 'Reset',
20
20
  more: 'More',
21
21
  saveHistory: {
22
- searchName: 'search name',
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: 'First',
36
- secondGroup: 'Second',
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
  }
@@ -57,7 +57,9 @@ var _default = exports.default = {
57
57
  alert: {
58
58
  cancelChoose: '取消选择',
59
59
  selectItem: '已选择 {0} 项'
60
- },
60
+ }
61
+ },
62
+ ProLayout: {
61
63
  pageContainer: {
62
64
  back: '返回'
63
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetlinks-web/components",
3
- "version": "2.4.17",
3
+ "version": "2.4.18",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",