@jetlinks-web/components 2.4.20 → 2.4.21

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.
@@ -11,6 +11,9 @@ export var configProps = function configProps() {
11
11
  SearchConfig: {
12
12
  type: Object
13
13
  },
14
+ TableConfig: {
15
+ type: Object
16
+ },
14
17
  PermissionButtonConfig: {
15
18
  type: Object
16
19
  },
@@ -2,7 +2,7 @@ import { createVNode as _createVNode } from "vue";
2
2
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
3
  import { defineComponent, provide, reactive, h } from 'vue';
4
4
  import { configProps } from './context';
5
- import { ComponentsEnum, MAPConfig, PermissionButtonConfig, SearchConfig, FullPageConfig } from '../utils/constants';
5
+ import { ComponentsEnum, MAPConfig, PermissionButtonConfig, SearchConfig, FullPageConfig, TableConfig } from '../utils/constants';
6
6
  import { ConfigProvider } from 'ant-design-vue';
7
7
  import LocaleProvider from '../LocaleProvider/index.js';
8
8
  import { omit } from 'lodash-es';
@@ -18,11 +18,13 @@ var JConfigProvider = defineComponent({
18
18
  var _searchConfig = reactive(props.SearchConfig || {});
19
19
  var _PermissionButtonConfig = reactive(props.PermissionButtonConfig || {});
20
20
  var _FullPageConfig = reactive(props.FullPageConfig || {});
21
+ var _TableConfig = reactive(props.TableConfig || {});
21
22
  provide(ComponentsEnum.Icon, _iconConfig); // 全局Icon 配置
22
23
  provide(MAPConfig, _mapConfig); // 全局地图配置
23
24
  provide(SearchConfig, _searchConfig); // 全局搜索配置
24
25
  provide(PermissionButtonConfig, _PermissionButtonConfig); // 权限组件
25
26
  provide(FullPageConfig, _FullPageConfig); // 权限组件
27
+ provide(TableConfig, _TableConfig); // ProTable配置
26
28
  return function () {
27
29
  return h(ConfigProvider, _objectSpread({}, omit(props, ['IconConfig', 'MapConfig', 'SearchConfig'])), [h(LocaleProvider, {
28
30
  locale: props.componentsLocale
@@ -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-1739863349561"), n = n(), _popScopeId(), n);
51
+ const _withScopeId = n => (_pushScopeId("data-v-1740636292654"), 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-1739863350060"), n = n(), _popScopeId(), n);
12
+ const _withScopeId = n => (_pushScopeId("data-v-1740636293406"), 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';
@@ -16,10 +16,10 @@ const _hoisted_1 = { class: "jtable-pagination" };
16
16
  import { Pagination } from 'ant-design-vue';
17
17
  import { _paginationProps } from "./setting";
18
18
  import { computed } from 'vue';
19
- import { useLocaleReceiver } from "../LocaleReciver/index";
19
+ import { useLocaleReceiver } from "../LocaleReciver";
20
20
  const __sfc_main__ = _defineComponent({
21
21
  ...{
22
- name: 'Pagination'
22
+ name: 'JPagination'
23
23
  },
24
24
  props: { ..._paginationProps },
25
25
  emits: ['change'],
@@ -29,7 +29,7 @@ const __sfc_main__ = _defineComponent({
29
29
  const [contextLocale] = useLocaleReceiver('ProTable');
30
30
  const className = computed(() => {
31
31
  return {
32
- 'show-content': !props.isShowContent,
32
+ 'hide-content': !props.isShowContent,
33
33
  };
34
34
  });
35
35
  const _showTotal = (num) => {
@@ -53,8 +53,8 @@ const __sfc_main__ = _defineComponent({
53
53
  pageSize: _ctx.pageSize,
54
54
  current: _ctx.pageIndex + 1,
55
55
  "show-total": (num) => _showTotal(num),
56
- onChange: onChange,
57
- class: className.value
56
+ class: className.value,
57
+ onChange: onChange
58
58
  }), null, 16 /* FULL_PROPS */, ["total", "pageSize", "current", "show-total", "class"])
59
59
  ])
60
60
  ]));
@@ -28,9 +28,13 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
28
28
  "computed": "setup-const",
29
29
  "ref": "setup-const",
30
30
  "reactive": "setup-const",
31
+ "inject": "setup-const",
31
32
  "debounce": "setup-maybe-ref",
33
+ "TableConfig": "setup-maybe-ref",
34
+ "tableConfig": "setup-maybe-ref",
32
35
  "props": "setup-reactive-const",
33
36
  "slots": "setup-maybe-ref",
37
+ "myPagination": "setup-ref",
34
38
  "loading": "setup-ref",
35
39
  "_dataSource": "setup-ref",
36
40
  "_mode": "setup-ref",
@@ -58,8 +62,9 @@ import Header from './Header.js';
58
62
  import Alert from './Alert.js';
59
63
  import Content from './Content.js';
60
64
  import Pagination from './Pagination.js';
61
- import { useSlots, watch, onMounted, onUnmounted, computed, ref, reactive } from "vue";
65
+ import { useSlots, watch, onMounted, onUnmounted, computed, ref, reactive, inject } from "vue";
62
66
  import { debounce } from 'lodash-es';
67
+ import { TableConfig } from "../utils/constants";
63
68
  const __sfc_main__ = _defineComponent({
64
69
  ...{
65
70
  name: 'JProTable'
@@ -68,8 +73,16 @@ const __sfc_main__ = _defineComponent({
68
73
  ...proTableProps
69
74
  },
70
75
  setup(__props, { expose: __expose }) {
76
+ const tableConfig = inject(TableConfig, {});
71
77
  const props = __props;
72
78
  const slots = useSlots();
79
+ const myPagination = computed(() => {
80
+ console.log(props.pagination);
81
+ return {
82
+ isShowContent: tableConfig.isShowContent,
83
+ ...props.pagination,
84
+ };
85
+ });
73
86
  const loading = ref(false);
74
87
  const _dataSource = ref([]);
75
88
  const _mode = ref(!props.mode ? (props.modeValue || 'CARD') : props.mode);
@@ -286,7 +299,7 @@ const __sfc_main__ = _defineComponent({
286
299
  ? (_openBlock(), _createBlock(Pagination, _mergeProps({
287
300
  key: 1,
288
301
  onChange: onPageChange
289
- }, props.pagination, {
302
+ }, myPagination.value, {
290
303
  total: page.total,
291
304
  pageIndex: page.pageIndex,
292
305
  pageSize: page.pageSize
@@ -75,8 +75,7 @@ export var _paginationProps = _objectSpread(_objectSpread({}, omit(paginationPro
75
75
  * 是否显示分页内容
76
76
  */
77
77
  isShowContent: {
78
- type: Boolean,
79
- default: false
78
+ type: Boolean
80
79
  }
81
80
  });
82
81
  export var proTableProps = _objectSpread(_objectSpread(_objectSpread({}, _contentProps), _alertProps), {}, {
@@ -128,7 +128,7 @@
128
128
  justify-content: flex-end;
129
129
  margin-top: 16px;
130
130
 
131
- .show-content {
131
+ .hide-content {
132
132
  .@{ant-prefix}-pagination-item,
133
133
  & .@{ant-prefix}-pagination-jump-prev,
134
134
  & .@{ant-prefix}-pagination-jump-next {
@@ -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-1739863350734"), n = n(), _popScopeId(), n);
13
+ const _withScopeId = n => (_pushScopeId("data-v-1740636294972"), 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-1739863351888"), n = n(), _popScopeId(), n);
26
+ const _withScopeId = n => (_pushScopeId("data-v-1740636295613"), 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-1739863351313"), n = n(), _popScopeId(), n);
83
+ const _withScopeId = n => (_pushScopeId("data-v-1740636295065"), 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-1739863351446"), n = n(), _popScopeId(), n);
48
+ const _withScopeId = n => (_pushScopeId("data-v-1740636295190"), 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';
@@ -4555,9 +4555,9 @@ span.ant-radio + * {
4555
4555
  justify-content: flex-end;
4556
4556
  margin-top: 16px;
4557
4557
  }
4558
- .jtable-pagination .show-content .ant-pagination-item,
4559
- .jtable-pagination .show-content .ant-pagination-jump-prev,
4560
- .jtable-pagination .show-content .ant-pagination-jump-next {
4558
+ .jtable-pagination .hide-content .ant-pagination-item,
4559
+ .jtable-pagination .hide-content .ant-pagination-jump-prev,
4560
+ .jtable-pagination .hide-content .ant-pagination-jump-next {
4561
4561
  display: none;
4562
4562
  }
4563
4563
  .JSearch-warp {
@@ -5,4 +5,5 @@ export var ComponentsEnum = {
5
5
  export var MAPConfig = Symbol('map_key');
6
6
  export var SearchConfig = Symbol('search-config');
7
7
  export var PermissionButtonConfig = Symbol('permission-button');
8
- export var FullPageConfig = Symbol('full-page');
8
+ export var FullPageConfig = Symbol('full-page');
9
+ export var TableConfig = Symbol('table-config');
@@ -18,6 +18,9 @@ var configProps = exports.configProps = function configProps() {
18
18
  SearchConfig: {
19
19
  type: Object
20
20
  },
21
+ TableConfig: {
22
+ type: Object
23
+ },
21
24
  PermissionButtonConfig: {
22
25
  type: Object
23
26
  },
@@ -24,11 +24,13 @@ var JConfigProvider = (0, _vue.defineComponent)({
24
24
  var _searchConfig = (0, _vue.reactive)(props.SearchConfig || {});
25
25
  var _PermissionButtonConfig = (0, _vue.reactive)(props.PermissionButtonConfig || {});
26
26
  var _FullPageConfig = (0, _vue.reactive)(props.FullPageConfig || {});
27
+ var _TableConfig = (0, _vue.reactive)(props.TableConfig || {});
27
28
  (0, _vue.provide)(_constants.ComponentsEnum.Icon, _iconConfig); // 全局Icon 配置
28
29
  (0, _vue.provide)(_constants.MAPConfig, _mapConfig); // 全局地图配置
29
30
  (0, _vue.provide)(_constants.SearchConfig, _searchConfig); // 全局搜索配置
30
31
  (0, _vue.provide)(_constants.PermissionButtonConfig, _PermissionButtonConfig); // 权限组件
31
32
  (0, _vue.provide)(_constants.FullPageConfig, _FullPageConfig); // 权限组件
33
+ (0, _vue.provide)(_constants.TableConfig, _TableConfig); // ProTable配置
32
34
  return function () {
33
35
  return (0, _vue.h)(_antDesignVue.ConfigProvider, (0, _objectSpread2.default)({}, (0, _lodashEs.omit)(props, ['IconConfig', 'MapConfig', 'SearchConfig'])), [(0, _vue.h)(_index.default, {
34
36
  locale: props.componentsLocale
@@ -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-1739863349533"), n = n(), _popScopeId(), n);
51
+ const _withScopeId = n => (_pushScopeId("data-v-1740636292677"), 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-1739863350066"), n = n(), _popScopeId(), n);
12
+ const _withScopeId = n => (_pushScopeId("data-v-1740636293397"), 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';
@@ -16,10 +16,10 @@ const _hoisted_1 = { class: "jtable-pagination" };
16
16
  import { Pagination } from 'ant-design-vue';
17
17
  import { _paginationProps } from "./setting";
18
18
  import { computed } from 'vue';
19
- import { useLocaleReceiver } from "../LocaleReciver/index";
19
+ import { useLocaleReceiver } from "../LocaleReciver";
20
20
  const __sfc_main__ = _defineComponent({
21
21
  ...{
22
- name: 'Pagination'
22
+ name: 'JPagination'
23
23
  },
24
24
  props: { ..._paginationProps },
25
25
  emits: ['change'],
@@ -29,7 +29,7 @@ const __sfc_main__ = _defineComponent({
29
29
  const [contextLocale] = useLocaleReceiver('ProTable');
30
30
  const className = computed(() => {
31
31
  return {
32
- 'show-content': !props.isShowContent,
32
+ 'hide-content': !props.isShowContent,
33
33
  };
34
34
  });
35
35
  const _showTotal = (num) => {
@@ -53,8 +53,8 @@ const __sfc_main__ = _defineComponent({
53
53
  pageSize: _ctx.pageSize,
54
54
  current: _ctx.pageIndex + 1,
55
55
  "show-total": (num) => _showTotal(num),
56
- onChange: onChange,
57
- class: className.value
56
+ class: className.value,
57
+ onChange: onChange
58
58
  }), null, 16 /* FULL_PROPS */, ["total", "pageSize", "current", "show-total", "class"])
59
59
  ])
60
60
  ]));
@@ -28,9 +28,13 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
28
28
  "computed": "setup-const",
29
29
  "ref": "setup-const",
30
30
  "reactive": "setup-const",
31
+ "inject": "setup-const",
31
32
  "debounce": "setup-maybe-ref",
33
+ "TableConfig": "setup-maybe-ref",
34
+ "tableConfig": "setup-maybe-ref",
32
35
  "props": "setup-reactive-const",
33
36
  "slots": "setup-maybe-ref",
37
+ "myPagination": "setup-ref",
34
38
  "loading": "setup-ref",
35
39
  "_dataSource": "setup-ref",
36
40
  "_mode": "setup-ref",
@@ -58,8 +62,9 @@ import Header from './Header.js';
58
62
  import Alert from './Alert.js';
59
63
  import Content from './Content.js';
60
64
  import Pagination from './Pagination.js';
61
- import { useSlots, watch, onMounted, onUnmounted, computed, ref, reactive } from "vue";
65
+ import { useSlots, watch, onMounted, onUnmounted, computed, ref, reactive, inject } from "vue";
62
66
  import { debounce } from 'lodash-es';
67
+ import { TableConfig } from "../utils/constants";
63
68
  const __sfc_main__ = _defineComponent({
64
69
  ...{
65
70
  name: 'JProTable'
@@ -68,8 +73,16 @@ const __sfc_main__ = _defineComponent({
68
73
  ...proTableProps
69
74
  },
70
75
  setup(__props, { expose: __expose }) {
76
+ const tableConfig = inject(TableConfig, {});
71
77
  const props = __props;
72
78
  const slots = useSlots();
79
+ const myPagination = computed(() => {
80
+ console.log(props.pagination);
81
+ return {
82
+ isShowContent: tableConfig.isShowContent,
83
+ ...props.pagination,
84
+ };
85
+ });
73
86
  const loading = ref(false);
74
87
  const _dataSource = ref([]);
75
88
  const _mode = ref(!props.mode ? (props.modeValue || 'CARD') : props.mode);
@@ -286,7 +299,7 @@ const __sfc_main__ = _defineComponent({
286
299
  ? (_openBlock(), _createBlock(Pagination, _mergeProps({
287
300
  key: 1,
288
301
  onChange: onPageChange
289
- }, props.pagination, {
302
+ }, myPagination.value, {
290
303
  total: page.total,
291
304
  pageIndex: page.pageIndex,
292
305
  pageSize: page.pageSize
@@ -82,8 +82,7 @@ var _paginationProps = exports._paginationProps = (0, _objectSpread2.default)((0
82
82
  * 是否显示分页内容
83
83
  */
84
84
  isShowContent: {
85
- type: Boolean,
86
- default: false
85
+ type: Boolean
87
86
  }
88
87
  });
89
88
  var proTableProps = exports.proTableProps = (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, _contentProps), _alertProps), {}, {
@@ -128,7 +128,7 @@
128
128
  justify-content: flex-end;
129
129
  margin-top: 16px;
130
130
 
131
- .show-content {
131
+ .hide-content {
132
132
  .@{ant-prefix}-pagination-item,
133
133
  & .@{ant-prefix}-pagination-jump-prev,
134
134
  & .@{ant-prefix}-pagination-jump-next {
@@ -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-1739863350725"), n = n(), _popScopeId(), n);
13
+ const _withScopeId = n => (_pushScopeId("data-v-1740636294962"), 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-1739863351873"), n = n(), _popScopeId(), n);
26
+ const _withScopeId = n => (_pushScopeId("data-v-1740636295598"), 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-1739863351375"), n = n(), _popScopeId(), n);
83
+ const _withScopeId = n => (_pushScopeId("data-v-1740636294998"), 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-1739863351466"), n = n(), _popScopeId(), n);
48
+ const _withScopeId = n => (_pushScopeId("data-v-1740636295159"), 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';
@@ -4555,9 +4555,9 @@ span.ant-radio + * {
4555
4555
  justify-content: flex-end;
4556
4556
  margin-top: 16px;
4557
4557
  }
4558
- .jtable-pagination .show-content .ant-pagination-item,
4559
- .jtable-pagination .show-content .ant-pagination-jump-prev,
4560
- .jtable-pagination .show-content .ant-pagination-jump-next {
4558
+ .jtable-pagination .hide-content .ant-pagination-item,
4559
+ .jtable-pagination .hide-content .ant-pagination-jump-prev,
4560
+ .jtable-pagination .hide-content .ant-pagination-jump-next {
4561
4561
  display: none;
4562
4562
  }
4563
4563
  .JSearch-warp {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.SearchConfig = exports.PermissionButtonConfig = exports.MAPConfig = exports.FullPageConfig = exports.ComponentsEnum = void 0;
6
+ exports.TableConfig = exports.SearchConfig = exports.PermissionButtonConfig = exports.MAPConfig = exports.FullPageConfig = exports.ComponentsEnum = void 0;
7
7
  var ComponentsEnum = exports.ComponentsEnum = {
8
8
  Icon: Symbol('jetlinks-icon'),
9
9
  Permission: Symbol('permission')
@@ -11,4 +11,5 @@ var ComponentsEnum = exports.ComponentsEnum = {
11
11
  var MAPConfig = exports.MAPConfig = Symbol('map_key');
12
12
  var SearchConfig = exports.SearchConfig = Symbol('search-config');
13
13
  var PermissionButtonConfig = exports.PermissionButtonConfig = Symbol('permission-button');
14
- var FullPageConfig = exports.FullPageConfig = Symbol('full-page');
14
+ var FullPageConfig = exports.FullPageConfig = Symbol('full-page');
15
+ var TableConfig = exports.TableConfig = Symbol('table-config');
package/package.json CHANGED
@@ -1,12 +1,16 @@
1
1
  {
2
2
  "name": "@jetlinks-web/components",
3
- "version": "2.4.20",
3
+ "version": "2.4.21",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "keywords": [
8
+ "jetlinks",
9
+ "jetlinks-web",
10
+ "components",
11
+ "jetlinks-web/components",
8
12
  "@jetlinks-web",
9
- "components"
13
+ "@jetlinks-web/components"
10
14
  ],
11
15
  "files": [
12
16
  "lib",
@@ -152,9 +156,9 @@
152
156
  "webpack-dev-server": "^4.0.0",
153
157
  "webpack-merge": "^5.0.0",
154
158
  "webpackbar": "^5.0.2",
155
- "@jetlinks-web/utils": "^1.2.5",
156
- "@jetlinks-web/constants": "^1.0.7",
157
- "@jetlinks-web/hooks": "^1.0.21"
159
+ "@jetlinks-web/constants": "^1.0.8",
160
+ "@jetlinks-web/utils": "^1.2.7",
161
+ "@jetlinks-web/hooks": "^1.0.22"
158
162
  },
159
163
  "publishConfig": {
160
164
  "registry": "https://registry.npmjs.org/",