@jetlinks-web/components 2.0.34 → 2.0.36

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.
@@ -4,11 +4,12 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.proTableProps = exports.paginationProps = exports._headerProps = exports._contentProps = exports._alertProps = void 0;
7
+ exports.proTableProps = exports._paginationProps = exports._headerProps = exports._contentProps = exports._alertProps = void 0;
8
8
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
9
9
  var _Table = require("ant-design-vue/es/table/Table");
10
10
  require("vue");
11
11
  require("ant-design-vue/es/table");
12
+ var _Pagination = require("ant-design-vue/es/pagination/Pagination");
12
13
  var _headerProps = exports._headerProps = {
13
14
  mode: {
14
15
  type: [String, undefined],
@@ -55,17 +56,15 @@ var _contentProps = exports._contentProps = (0, _objectSpread2.default)((0, _obj
55
56
  scroll: {
56
57
  type: Object,
57
58
  default: function _default() {
58
- return {
59
- x: 1366
60
- };
61
- }
59
+ return {};
60
+ } // x: 1366
62
61
  },
63
62
  rowKey: {
64
63
  type: [String, Function],
65
64
  default: 'id'
66
65
  }
67
66
  });
68
- var paginationProps = exports.paginationProps = {
67
+ var _paginationProps = exports._paginationProps = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, (0, _Pagination.paginationProps)()), {}, {
69
68
  total: {
70
69
  type: Number,
71
70
  default: 0
@@ -77,8 +76,15 @@ var paginationProps = exports.paginationProps = {
77
76
  pageIndex: {
78
77
  type: Number,
79
78
  default: 0
79
+ },
80
+ /**
81
+ * 是否显示分页内容
82
+ */
83
+ isShowContent: {
84
+ type: Boolean,
85
+ default: false
80
86
  }
81
- };
87
+ });
82
88
  var proTableProps = exports.proTableProps = (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, _contentProps), _alertProps), {}, {
83
89
  bodyStyle: {
84
90
  type: Object,
@@ -1,4 +1,5 @@
1
1
  @import '../../style/variable.less';
2
+ @import 'ant-design-vue/lib/pagination/style/index.less';
2
3
 
3
4
  .jtable-body-spin {
4
5
  height: 100%;
@@ -76,6 +77,10 @@
76
77
  min-width: 0;
77
78
  }
78
79
  }
80
+
81
+ .j-table-empty {
82
+ margin-top: 100px;
83
+ }
79
84
  }
80
85
 
81
86
  .ant-table-wrapper {
@@ -117,4 +122,13 @@
117
122
  display: flex;
118
123
  justify-content: flex-end;
119
124
  margin-top: 16px;
125
+
126
+ .show-content {
127
+ .@{ant-prefix}-pagination-item,
128
+ & .@{ant-prefix}-pagination-jump-prev,
129
+ & .@{ant-prefix}-pagination-jump-next {
130
+ display: none;
131
+ }
132
+ }
120
133
  }
134
+
@@ -21,7 +21,7 @@
21
21
  } */
22
22
  import { defineComponent as _defineComponent } from 'vue';
23
23
  import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
24
- const _withScopeId = n => (_pushScopeId("data-v-1716533072100"), n = n(), _popScopeId(), n);
24
+ const _withScopeId = n => (_pushScopeId("data-v-1719281998241"), n = n(), _popScopeId(), n);
25
25
  const _hoisted_1 = {
26
26
  key: 0,
27
27
  style: { "width": "240px" }
@@ -78,7 +78,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
78
78
  } */
79
79
  import { defineComponent as _defineComponent } from 'vue';
80
80
  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";
81
- const _withScopeId = n => (_pushScopeId("data-v-1716533071207"), n = n(), _popScopeId(), n);
81
+ const _withScopeId = n => (_pushScopeId("data-v-1719281997546"), n = n(), _popScopeId(), n);
82
82
  const _hoisted_1 = { class: "JSearch-item" };
83
83
  const _hoisted_2 = {
84
84
  key: 0,
@@ -36,7 +36,7 @@
36
36
  } */
37
37
  import { defineComponent as _defineComponent } from 'vue';
38
38
  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";
39
- const _withScopeId = n => (_pushScopeId("data-v-1716533071302"), n = n(), _popScopeId(), n);
39
+ const _withScopeId = n => (_pushScopeId("data-v-1719281997657"), n = n(), _popScopeId(), n);
40
40
  const _hoisted_1 = { class: "JSearch-content simple" };
41
41
  const _hoisted_2 = { class: "JSearch-items" };
42
42
  import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
@@ -488,6 +488,547 @@
488
488
  .ant-pro-menu-popup .ant-badge {
489
489
  color: unset;
490
490
  }
491
+ /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
492
+ /* stylelint-disable no-duplicate-selectors */
493
+ /* stylelint-disable */
494
+ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
495
+ .ant-pagination {
496
+ box-sizing: border-box;
497
+ margin: 0;
498
+ padding: 0;
499
+ color: rgba(0, 0, 0, 0.85);
500
+ font-size: 14px;
501
+ font-variant: tabular-nums;
502
+ line-height: 1.5715;
503
+ list-style: none;
504
+ font-feature-settings: 'tnum';
505
+ }
506
+ .ant-pagination ul,
507
+ .ant-pagination ol {
508
+ margin: 0;
509
+ padding: 0;
510
+ list-style: none;
511
+ }
512
+ .ant-pagination::after {
513
+ display: block;
514
+ clear: both;
515
+ height: 0;
516
+ overflow: hidden;
517
+ visibility: hidden;
518
+ content: ' ';
519
+ }
520
+ .ant-pagination-total-text {
521
+ display: inline-block;
522
+ height: 32px;
523
+ margin-right: 8px;
524
+ line-height: 30px;
525
+ vertical-align: middle;
526
+ }
527
+ .ant-pagination-item {
528
+ display: inline-block;
529
+ min-width: 32px;
530
+ height: 32px;
531
+ margin-right: 8px;
532
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
533
+ line-height: 30px;
534
+ text-align: center;
535
+ vertical-align: middle;
536
+ list-style: none;
537
+ background-color: #fff;
538
+ border: 1px solid #d9d9d9;
539
+ border-radius: 2px;
540
+ outline: 0;
541
+ cursor: pointer;
542
+ -webkit-user-select: none;
543
+ -moz-user-select: none;
544
+ user-select: none;
545
+ }
546
+ .ant-pagination-item a {
547
+ display: block;
548
+ padding: 0 6px;
549
+ color: rgba(0, 0, 0, 0.85);
550
+ transition: none;
551
+ }
552
+ .ant-pagination-item a:hover {
553
+ text-decoration: none;
554
+ }
555
+ .ant-pagination-item:hover {
556
+ border-color: #1890ff;
557
+ transition: all 0.3s;
558
+ }
559
+ .ant-pagination-item:hover a {
560
+ color: #1890ff;
561
+ }
562
+ .ant-pagination-item:focus-visible {
563
+ border-color: #1890ff;
564
+ transition: all 0.3s;
565
+ }
566
+ .ant-pagination-item:focus-visible a {
567
+ color: #1890ff;
568
+ }
569
+ .ant-pagination-item-active {
570
+ font-weight: 500;
571
+ background: #fff;
572
+ border-color: #1890ff;
573
+ }
574
+ .ant-pagination-item-active a {
575
+ color: #1890ff;
576
+ }
577
+ .ant-pagination-item-active:hover {
578
+ border-color: #40a9ff;
579
+ }
580
+ .ant-pagination-item-active:focus-visible {
581
+ border-color: #40a9ff;
582
+ }
583
+ .ant-pagination-item-active:hover a {
584
+ color: #40a9ff;
585
+ }
586
+ .ant-pagination-item-active:focus-visible a {
587
+ color: #40a9ff;
588
+ }
589
+ .ant-pagination-jump-prev,
590
+ .ant-pagination-jump-next {
591
+ outline: 0;
592
+ }
593
+ .ant-pagination-jump-prev .ant-pagination-item-container,
594
+ .ant-pagination-jump-next .ant-pagination-item-container {
595
+ position: relative;
596
+ }
597
+ .ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon,
598
+ .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon {
599
+ color: #1890ff;
600
+ font-size: 12px;
601
+ letter-spacing: -1px;
602
+ opacity: 0;
603
+ transition: all 0.2s;
604
+ }
605
+ .ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg,
606
+ .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg {
607
+ top: 0;
608
+ right: 0;
609
+ bottom: 0;
610
+ left: 0;
611
+ margin: auto;
612
+ }
613
+ .ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis,
614
+ .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis {
615
+ position: absolute;
616
+ top: 0;
617
+ right: 0;
618
+ bottom: 0;
619
+ left: 0;
620
+ display: block;
621
+ margin: auto;
622
+ color: rgba(0, 0, 0, 0.25);
623
+ font-family: Arial, Helvetica, sans-serif;
624
+ letter-spacing: 2px;
625
+ text-align: center;
626
+ text-indent: 0.13em;
627
+ opacity: 1;
628
+ transition: all 0.2s;
629
+ }
630
+ .ant-pagination-jump-prev:hover .ant-pagination-item-link-icon,
631
+ .ant-pagination-jump-next:hover .ant-pagination-item-link-icon {
632
+ opacity: 1;
633
+ }
634
+ .ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis,
635
+ .ant-pagination-jump-next:hover .ant-pagination-item-ellipsis {
636
+ opacity: 0;
637
+ }
638
+ .ant-pagination-jump-prev:focus-visible .ant-pagination-item-link-icon,
639
+ .ant-pagination-jump-next:focus-visible .ant-pagination-item-link-icon {
640
+ opacity: 1;
641
+ }
642
+ .ant-pagination-jump-prev:focus-visible .ant-pagination-item-ellipsis,
643
+ .ant-pagination-jump-next:focus-visible .ant-pagination-item-ellipsis {
644
+ opacity: 0;
645
+ }
646
+ .ant-pagination-prev,
647
+ .ant-pagination-jump-prev,
648
+ .ant-pagination-jump-next {
649
+ margin-right: 8px;
650
+ }
651
+ .ant-pagination-prev,
652
+ .ant-pagination-next,
653
+ .ant-pagination-jump-prev,
654
+ .ant-pagination-jump-next {
655
+ display: inline-block;
656
+ min-width: 32px;
657
+ height: 32px;
658
+ color: rgba(0, 0, 0, 0.85);
659
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
660
+ line-height: 32px;
661
+ text-align: center;
662
+ vertical-align: middle;
663
+ list-style: none;
664
+ border-radius: 2px;
665
+ cursor: pointer;
666
+ transition: all 0.3s;
667
+ }
668
+ .ant-pagination-prev,
669
+ .ant-pagination-next {
670
+ font-family: Arial, Helvetica, sans-serif;
671
+ outline: 0;
672
+ }
673
+ .ant-pagination-prev button,
674
+ .ant-pagination-next button {
675
+ color: rgba(0, 0, 0, 0.85);
676
+ cursor: pointer;
677
+ -webkit-user-select: none;
678
+ -moz-user-select: none;
679
+ user-select: none;
680
+ }
681
+ .ant-pagination-prev:hover button,
682
+ .ant-pagination-next:hover button {
683
+ border-color: #40a9ff;
684
+ }
685
+ .ant-pagination-prev .ant-pagination-item-link,
686
+ .ant-pagination-next .ant-pagination-item-link {
687
+ display: block;
688
+ width: 100%;
689
+ height: 100%;
690
+ padding: 0;
691
+ font-size: 12px;
692
+ text-align: center;
693
+ background-color: #fff;
694
+ border: 1px solid #d9d9d9;
695
+ border-radius: 2px;
696
+ outline: none;
697
+ transition: all 0.3s;
698
+ }
699
+ .ant-pagination-prev:focus-visible .ant-pagination-item-link,
700
+ .ant-pagination-next:focus-visible .ant-pagination-item-link {
701
+ color: #1890ff;
702
+ border-color: #1890ff;
703
+ }
704
+ .ant-pagination-prev:hover .ant-pagination-item-link,
705
+ .ant-pagination-next:hover .ant-pagination-item-link {
706
+ color: #1890ff;
707
+ border-color: #1890ff;
708
+ }
709
+ .ant-pagination-disabled,
710
+ .ant-pagination-disabled:hover {
711
+ cursor: not-allowed;
712
+ }
713
+ .ant-pagination-disabled .ant-pagination-item-link,
714
+ .ant-pagination-disabled:hover .ant-pagination-item-link {
715
+ color: rgba(0, 0, 0, 0.25);
716
+ border-color: #d9d9d9;
717
+ cursor: not-allowed;
718
+ }
719
+ .ant-pagination-disabled:focus-visible {
720
+ cursor: not-allowed;
721
+ }
722
+ .ant-pagination-disabled:focus-visible .ant-pagination-item-link {
723
+ color: rgba(0, 0, 0, 0.25);
724
+ border-color: #d9d9d9;
725
+ cursor: not-allowed;
726
+ }
727
+ .ant-pagination-slash {
728
+ margin: 0 10px 0 5px;
729
+ }
730
+ .ant-pagination-options {
731
+ display: inline-block;
732
+ margin-left: 16px;
733
+ vertical-align: middle;
734
+ }
735
+ @media all and (-ms-high-contrast: none) {
736
+ .ant-pagination-options *::-ms-backdrop,
737
+ .ant-pagination-options {
738
+ vertical-align: top;
739
+ }
740
+ }
741
+ .ant-pagination-options-size-changer.ant-select {
742
+ display: inline-block;
743
+ width: auto;
744
+ }
745
+ .ant-pagination-options-quick-jumper {
746
+ display: inline-block;
747
+ height: 32px;
748
+ margin-left: 8px;
749
+ line-height: 32px;
750
+ vertical-align: top;
751
+ }
752
+ .ant-pagination-options-quick-jumper input {
753
+ position: relative;
754
+ display: inline-block;
755
+ width: 100%;
756
+ min-width: 0;
757
+ padding: 4px 11px;
758
+ color: rgba(0, 0, 0, 0.85);
759
+ font-size: 14px;
760
+ line-height: 1.5715;
761
+ background-color: #fff;
762
+ background-image: none;
763
+ border: 1px solid #d9d9d9;
764
+ border-radius: 2px;
765
+ transition: all 0.3s;
766
+ /* stylelint-disable-next-line selector-no-vendor-prefix */
767
+ width: 50px;
768
+ height: 32px;
769
+ margin: 0 8px;
770
+ }
771
+ .ant-pagination-options-quick-jumper input::-moz-placeholder {
772
+ opacity: 1;
773
+ }
774
+ .ant-pagination-options-quick-jumper input::placeholder {
775
+ color: #bfbfbf;
776
+ -webkit-user-select: none;
777
+ -moz-user-select: none;
778
+ user-select: none;
779
+ }
780
+ .ant-pagination-options-quick-jumper input:-moz-placeholder-shown {
781
+ text-overflow: ellipsis;
782
+ }
783
+ .ant-pagination-options-quick-jumper input:placeholder-shown {
784
+ text-overflow: ellipsis;
785
+ }
786
+ .ant-pagination-options-quick-jumper input:hover {
787
+ border-color: #40a9ff;
788
+ border-right-width: 1px !important;
789
+ }
790
+ .ant-pagination-options-quick-jumper input:focus,
791
+ .ant-pagination-options-quick-jumper input-focused {
792
+ border-color: #40a9ff;
793
+ box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
794
+ border-right-width: 1px !important;
795
+ outline: 0;
796
+ }
797
+ .ant-pagination-options-quick-jumper input-disabled {
798
+ color: rgba(0, 0, 0, 0.25);
799
+ background-color: #f5f5f5;
800
+ border-color: #d9d9d9;
801
+ box-shadow: none;
802
+ cursor: not-allowed;
803
+ opacity: 1;
804
+ }
805
+ .ant-pagination-options-quick-jumper input-disabled:hover {
806
+ border-color: #d9d9d9;
807
+ border-right-width: 1px !important;
808
+ }
809
+ .ant-pagination-options-quick-jumper input[disabled] {
810
+ color: rgba(0, 0, 0, 0.25);
811
+ background-color: #f5f5f5;
812
+ border-color: #d9d9d9;
813
+ box-shadow: none;
814
+ cursor: not-allowed;
815
+ opacity: 1;
816
+ }
817
+ .ant-pagination-options-quick-jumper input[disabled]:hover {
818
+ border-color: #d9d9d9;
819
+ border-right-width: 1px !important;
820
+ }
821
+ .ant-pagination-options-quick-jumper input-borderless,
822
+ .ant-pagination-options-quick-jumper input-borderless:hover,
823
+ .ant-pagination-options-quick-jumper input-borderless:focus,
824
+ .ant-pagination-options-quick-jumper input-borderless-focused,
825
+ .ant-pagination-options-quick-jumper input-borderless-disabled,
826
+ .ant-pagination-options-quick-jumper input-borderless[disabled] {
827
+ background-color: transparent;
828
+ border: none;
829
+ box-shadow: none;
830
+ }
831
+ textarea.ant-pagination-options-quick-jumper input {
832
+ max-width: 100%;
833
+ height: auto;
834
+ min-height: 32px;
835
+ line-height: 1.5715;
836
+ vertical-align: bottom;
837
+ transition: all 0.3s, height 0s;
838
+ }
839
+ .ant-pagination-options-quick-jumper input-lg {
840
+ padding: 6.5px 11px;
841
+ font-size: 16px;
842
+ }
843
+ .ant-pagination-options-quick-jumper input-sm {
844
+ padding: 0px 7px;
845
+ }
846
+ .ant-pagination-simple .ant-pagination-prev,
847
+ .ant-pagination-simple .ant-pagination-next {
848
+ height: 24px;
849
+ line-height: 24px;
850
+ vertical-align: top;
851
+ }
852
+ .ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link,
853
+ .ant-pagination-simple .ant-pagination-next .ant-pagination-item-link {
854
+ height: 24px;
855
+ background-color: transparent;
856
+ border: 0;
857
+ }
858
+ .ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link::after,
859
+ .ant-pagination-simple .ant-pagination-next .ant-pagination-item-link::after {
860
+ height: 24px;
861
+ line-height: 24px;
862
+ }
863
+ .ant-pagination-simple .ant-pagination-simple-pager {
864
+ display: inline-block;
865
+ height: 24px;
866
+ margin-right: 8px;
867
+ }
868
+ .ant-pagination-simple .ant-pagination-simple-pager input {
869
+ box-sizing: border-box;
870
+ height: 100%;
871
+ margin-right: 8px;
872
+ padding: 0 6px;
873
+ text-align: center;
874
+ background-color: #fff;
875
+ border: 1px solid #d9d9d9;
876
+ border-radius: 2px;
877
+ outline: none;
878
+ transition: border-color 0.3s;
879
+ }
880
+ .ant-pagination-simple .ant-pagination-simple-pager input:hover {
881
+ border-color: #1890ff;
882
+ }
883
+ .ant-pagination-simple .ant-pagination-simple-pager input:focus {
884
+ border-color: #40a9ff;
885
+ box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
886
+ }
887
+ .ant-pagination-simple .ant-pagination-simple-pager input[disabled] {
888
+ color: rgba(0, 0, 0, 0.25);
889
+ background: #f5f5f5;
890
+ border-color: #d9d9d9;
891
+ cursor: not-allowed;
892
+ }
893
+ .ant-pagination.mini .ant-pagination-total-text,
894
+ .ant-pagination.mini .ant-pagination-simple-pager {
895
+ height: 24px;
896
+ line-height: 24px;
897
+ }
898
+ .ant-pagination.mini .ant-pagination-item {
899
+ min-width: 24px;
900
+ height: 24px;
901
+ margin: 0;
902
+ line-height: 22px;
903
+ }
904
+ .ant-pagination.mini .ant-pagination-item:not(.ant-pagination-item-active) {
905
+ background: transparent;
906
+ border-color: transparent;
907
+ }
908
+ .ant-pagination.mini .ant-pagination-prev,
909
+ .ant-pagination.mini .ant-pagination-next {
910
+ min-width: 24px;
911
+ height: 24px;
912
+ margin: 0;
913
+ line-height: 24px;
914
+ }
915
+ .ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link,
916
+ .ant-pagination.mini .ant-pagination-next .ant-pagination-item-link {
917
+ background: transparent;
918
+ border-color: transparent;
919
+ }
920
+ .ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link::after,
921
+ .ant-pagination.mini .ant-pagination-next .ant-pagination-item-link::after {
922
+ height: 24px;
923
+ line-height: 24px;
924
+ }
925
+ .ant-pagination.mini .ant-pagination-jump-prev,
926
+ .ant-pagination.mini .ant-pagination-jump-next {
927
+ height: 24px;
928
+ margin-right: 0;
929
+ line-height: 24px;
930
+ }
931
+ .ant-pagination.mini .ant-pagination-options {
932
+ margin-left: 2px;
933
+ }
934
+ .ant-pagination.mini .ant-pagination-options-size-changer {
935
+ top: 0px;
936
+ }
937
+ .ant-pagination.mini .ant-pagination-options-quick-jumper {
938
+ height: 24px;
939
+ line-height: 24px;
940
+ }
941
+ .ant-pagination.mini .ant-pagination-options-quick-jumper input {
942
+ padding: 0px 7px;
943
+ width: 44px;
944
+ height: 24px;
945
+ }
946
+ .ant-pagination.ant-pagination-disabled {
947
+ cursor: not-allowed;
948
+ }
949
+ .ant-pagination.ant-pagination-disabled .ant-pagination-item {
950
+ background: #f5f5f5;
951
+ border-color: #d9d9d9;
952
+ cursor: not-allowed;
953
+ }
954
+ .ant-pagination.ant-pagination-disabled .ant-pagination-item a {
955
+ color: rgba(0, 0, 0, 0.25);
956
+ background: transparent;
957
+ border: none;
958
+ cursor: not-allowed;
959
+ }
960
+ .ant-pagination.ant-pagination-disabled .ant-pagination-item-active {
961
+ background: #e6e6e6;
962
+ }
963
+ .ant-pagination.ant-pagination-disabled .ant-pagination-item-active a {
964
+ color: rgba(0, 0, 0, 0.25);
965
+ }
966
+ .ant-pagination.ant-pagination-disabled .ant-pagination-item-link {
967
+ color: rgba(0, 0, 0, 0.25);
968
+ background: #f5f5f5;
969
+ border-color: #d9d9d9;
970
+ cursor: not-allowed;
971
+ }
972
+ .ant-pagination-simple.ant-pagination.ant-pagination-disabled .ant-pagination-item-link {
973
+ background: transparent;
974
+ }
975
+ .ant-pagination.ant-pagination-disabled .ant-pagination-item-link-icon {
976
+ opacity: 0;
977
+ }
978
+ .ant-pagination.ant-pagination-disabled .ant-pagination-item-ellipsis {
979
+ opacity: 1;
980
+ }
981
+ .ant-pagination.ant-pagination-disabled .ant-pagination-simple-pager {
982
+ color: rgba(0, 0, 0, 0.25);
983
+ }
984
+ @media only screen and (max-width: 992px) {
985
+ .ant-pagination-item-after-jump-prev,
986
+ .ant-pagination-item-before-jump-next {
987
+ display: none;
988
+ }
989
+ }
990
+ @media only screen and (max-width: 576px) {
991
+ .ant-pagination-options {
992
+ display: none;
993
+ }
994
+ }
995
+ .ant-pagination-rtl .ant-pagination-total-text {
996
+ margin-right: 0;
997
+ margin-left: 8px;
998
+ }
999
+ .ant-pagination-rtl .ant-pagination-item,
1000
+ .ant-pagination-rtl .ant-pagination-prev,
1001
+ .ant-pagination-rtl .ant-pagination-jump-prev,
1002
+ .ant-pagination-rtl .ant-pagination-jump-next {
1003
+ margin-right: 0;
1004
+ margin-left: 8px;
1005
+ }
1006
+ .ant-pagination-rtl .ant-pagination-slash {
1007
+ margin: 0 5px 0 10px;
1008
+ }
1009
+ .ant-pagination-rtl .ant-pagination-options {
1010
+ margin-right: 16px;
1011
+ margin-left: 0;
1012
+ }
1013
+ .ant-pagination-rtl .ant-pagination-options .ant-pagination-options-size-changer.ant-select {
1014
+ margin-right: 0;
1015
+ margin-left: 8px;
1016
+ }
1017
+ .ant-pagination-rtl .ant-pagination-options .ant-pagination-options-quick-jumper {
1018
+ margin-left: 0;
1019
+ }
1020
+ .ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager {
1021
+ margin-right: 0;
1022
+ margin-left: 8px;
1023
+ }
1024
+ .ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager input {
1025
+ margin-right: 0;
1026
+ margin-left: 8px;
1027
+ }
1028
+ .ant-pagination-rtl.ant-pagination.mini .ant-pagination-options {
1029
+ margin-right: 2px;
1030
+ margin-left: 0;
1031
+ }
491
1032
  .jtable-body-spin {
492
1033
  height: 100%;
493
1034
  width: 100%;
@@ -552,6 +1093,9 @@
552
1093
  display: flex;
553
1094
  min-width: 0;
554
1095
  }
1096
+ .jtable-box .jtable-card .j-table-empty {
1097
+ margin-top: 100px;
1098
+ }
555
1099
  .jtable-box .ant-table-wrapper {
556
1100
  height: 100%;
557
1101
  }
@@ -585,6 +1129,11 @@
585
1129
  justify-content: flex-end;
586
1130
  margin-top: 16px;
587
1131
  }
1132
+ .jtable-pagination .show-content .ant-pagination-item,
1133
+ .jtable-pagination .show-content .ant-pagination-jump-prev,
1134
+ .jtable-pagination .show-content .ant-pagination-jump-next {
1135
+ display: none;
1136
+ }
588
1137
  .JSearch-warp {
589
1138
  padding: 24px;
590
1139
  background-color: #fff;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetlinks-web/components",
3
- "version": "2.0.34",
3
+ "version": "2.0.36",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -135,8 +135,8 @@
135
135
  "webpack-merge": "^5.0.0",
136
136
  "webpackbar": "^5.0.2",
137
137
  "@jetlinks-web/constants": "^1.0.2",
138
- "@jetlinks-web/hooks": "^1.0.13",
139
- "@jetlinks-web/utils": "^1.0.7"
138
+ "@jetlinks-web/utils": "^1.0.7",
139
+ "@jetlinks-web/hooks": "^1.0.13"
140
140
  },
141
141
  "publishConfig": {
142
142
  "registry": "https://registry.npmjs.org/",