antd-management-fast-framework 1.1.74 → 1.2.5

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.
Files changed (107) hide show
  1. package/es/customComponents/AnimalBox/QueueBox/index.d.ts +0 -3
  2. package/es/customComponents/AnimalBox/QueueBox/index.js +9 -50
  3. package/es/customComponents/AnimalBox/QueueListBox/index.d.ts +14 -0
  4. package/es/customComponents/AnimalBox/QueueListBox/index.js +117 -0
  5. package/es/customComponents/AnimalBox/{QueueBox → QueueListBox}/index.less +0 -0
  6. package/es/customComponents/DataPreviewDrawer/index.js +6 -6
  7. package/es/customComponents/FunctionComponent/index.d.ts +14 -3
  8. package/es/customComponents/FunctionComponent/index.js +348 -310
  9. package/es/customComponents/StandardTableCustom/index.d.ts +0 -5
  10. package/es/customComponents/StandardTableCustom/index.js +4 -9
  11. package/es/framework/Common/index.d.ts +14 -7
  12. package/es/framework/Common/index.js +213 -187
  13. package/es/framework/DataDrawer/Base/index.d.ts +2 -2
  14. package/es/framework/DataDrawer/Base/index.js +20 -8
  15. package/es/framework/DataDrawer/BaseAddDrawer/index.js +1 -1
  16. package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +1 -1
  17. package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +3 -3
  18. package/es/framework/DataDrawer/BaseSaveDrawer/index.js +1 -1
  19. package/es/framework/DataForm/BaseAddForm/index.d.ts +2 -2
  20. package/es/framework/DataForm/BaseAddForm/index.js +6 -6
  21. package/es/framework/DataListView/Base/index.d.ts +43 -34
  22. package/es/framework/DataListView/Base/index.js +371 -166
  23. package/es/framework/DataListView/Base/index.less +8 -1
  24. package/es/framework/DataListView/DensityAction/index.js +4 -4
  25. package/es/framework/DataMenuContainer/index.d.ts +1 -1
  26. package/es/framework/DataMenuContainer/index.js +1 -1
  27. package/es/framework/DataModal/Base/index.d.ts +3 -3
  28. package/es/framework/DataModal/Base/index.js +6 -6
  29. package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +1 -1
  30. package/es/framework/DataModal/BaseNeedlessLoadModal/index.js +3 -3
  31. package/es/framework/DataModal/BaseUpdateTransferModal/index.js +2 -2
  32. package/es/framework/DataMultiPageView/MultiPage/index.d.ts +2 -2
  33. package/es/framework/DataMultiPageView/MultiPage/index.js +67 -164
  34. package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +2 -4
  35. package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +30 -83
  36. package/es/framework/DataOperation/Base/index.d.ts +2 -2
  37. package/es/framework/DataOperation/Base/index.js +5 -5
  38. package/es/framework/DataOperation/BaseWindow/index.d.ts +1 -1
  39. package/es/framework/DataOperation/BaseWindow/index.js +2 -2
  40. package/es/framework/DataSinglePageView/SinglePage/index.d.ts +0 -2
  41. package/es/framework/DataSinglePageView/SinglePage/index.js +10 -105
  42. package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +2 -2
  43. package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +25 -31
  44. package/es/framework/DataSingleView/DataCore/index.d.ts +4 -6
  45. package/es/framework/DataSingleView/DataCore/index.js +9 -17
  46. package/es/framework/DataSingleView/DataLoad/index.d.ts +1 -1
  47. package/es/framework/DataSingleView/DataLoad/index.js +2 -2
  48. package/es/framework/DataTabContainer/index.d.ts +13 -13
  49. package/es/framework/DataTabContainer/index.js +31 -31
  50. package/es/utils/constants.d.ts +60 -29
  51. package/es/utils/constants.js +336 -13
  52. package/es/utils/tools.js +2 -2
  53. package/lib/customComponents/AnimalBox/QueueBox/index.d.ts +0 -3
  54. package/lib/customComponents/AnimalBox/QueueBox/index.js +9 -50
  55. package/lib/customComponents/AnimalBox/QueueListBox/index.d.ts +14 -0
  56. package/lib/customComponents/AnimalBox/QueueListBox/index.js +117 -0
  57. package/lib/customComponents/AnimalBox/{QueueBox → QueueListBox}/index.less +0 -0
  58. package/lib/customComponents/DataPreviewDrawer/index.js +6 -6
  59. package/lib/customComponents/FunctionComponent/index.d.ts +14 -3
  60. package/lib/customComponents/FunctionComponent/index.js +348 -310
  61. package/lib/customComponents/StandardTableCustom/index.d.ts +0 -5
  62. package/lib/customComponents/StandardTableCustom/index.js +4 -9
  63. package/lib/framework/Common/index.d.ts +14 -7
  64. package/lib/framework/Common/index.js +213 -187
  65. package/lib/framework/DataDrawer/Base/index.d.ts +2 -2
  66. package/lib/framework/DataDrawer/Base/index.js +20 -8
  67. package/lib/framework/DataDrawer/BaseAddDrawer/index.js +1 -1
  68. package/lib/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +1 -1
  69. package/lib/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +3 -3
  70. package/lib/framework/DataDrawer/BaseSaveDrawer/index.js +1 -1
  71. package/lib/framework/DataForm/BaseAddForm/index.d.ts +2 -2
  72. package/lib/framework/DataForm/BaseAddForm/index.js +6 -6
  73. package/lib/framework/DataListView/Base/index.d.ts +43 -34
  74. package/lib/framework/DataListView/Base/index.js +371 -166
  75. package/lib/framework/DataListView/Base/index.less +8 -1
  76. package/lib/framework/DataListView/DensityAction/index.js +4 -4
  77. package/lib/framework/DataMenuContainer/index.d.ts +1 -1
  78. package/lib/framework/DataMenuContainer/index.js +1 -1
  79. package/lib/framework/DataModal/Base/index.d.ts +3 -3
  80. package/lib/framework/DataModal/Base/index.js +6 -6
  81. package/lib/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +1 -1
  82. package/lib/framework/DataModal/BaseNeedlessLoadModal/index.js +3 -3
  83. package/lib/framework/DataModal/BaseUpdateTransferModal/index.js +2 -2
  84. package/lib/framework/DataMultiPageView/MultiPage/index.d.ts +2 -2
  85. package/lib/framework/DataMultiPageView/MultiPage/index.js +67 -164
  86. package/lib/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +2 -4
  87. package/lib/framework/DataMultiPageView/MultiPageDrawer/index.js +30 -83
  88. package/lib/framework/DataOperation/Base/index.d.ts +2 -2
  89. package/lib/framework/DataOperation/Base/index.js +5 -5
  90. package/lib/framework/DataOperation/BaseWindow/index.d.ts +1 -1
  91. package/lib/framework/DataOperation/BaseWindow/index.js +2 -2
  92. package/lib/framework/DataSinglePageView/SinglePage/index.d.ts +0 -2
  93. package/lib/framework/DataSinglePageView/SinglePage/index.js +10 -105
  94. package/lib/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +2 -2
  95. package/lib/framework/DataSinglePageView/SinglePageDrawer/index.js +25 -31
  96. package/lib/framework/DataSingleView/DataCore/index.d.ts +4 -6
  97. package/lib/framework/DataSingleView/DataCore/index.js +9 -17
  98. package/lib/framework/DataSingleView/DataLoad/index.d.ts +1 -1
  99. package/lib/framework/DataSingleView/DataLoad/index.js +2 -2
  100. package/lib/framework/DataTabContainer/index.d.ts +13 -13
  101. package/lib/framework/DataTabContainer/index.js +31 -31
  102. package/lib/utils/constants.d.ts +60 -29
  103. package/lib/utils/constants.js +336 -13
  104. package/lib/utils/tools.js +2 -2
  105. package/package.json +1 -1
  106. package/es/framework/DataMultiPageView/MultiPage/index.less +0 -7
  107. package/lib/framework/DataMultiPageView/MultiPage/index.less +0 -7
@@ -11,14 +11,18 @@ require("antd/es/back-top/style");
11
11
 
12
12
  var _backTop = _interopRequireDefault(require("antd/es/back-top"));
13
13
 
14
- require("antd/es/space/style");
15
-
16
- var _space = _interopRequireDefault(require("antd/es/space"));
17
-
18
14
  require("antd/es/card/style");
19
15
 
20
16
  var _card = _interopRequireDefault(require("antd/es/card"));
21
17
 
18
+ require("antd/es/empty/style");
19
+
20
+ var _empty = _interopRequireDefault(require("antd/es/empty"));
21
+
22
+ require("antd/es/spin/style");
23
+
24
+ var _spin = _interopRequireDefault(require("antd/es/spin"));
25
+
22
26
  require("antd/es/list/style");
23
27
 
24
28
  var _list = _interopRequireDefault(require("antd/es/list"));
@@ -27,6 +31,10 @@ require("antd/es/tooltip/style");
27
31
 
28
32
  var _tooltip = _interopRequireDefault(require("antd/es/tooltip"));
29
33
 
34
+ require("antd/es/space/style");
35
+
36
+ var _space = _interopRequireDefault(require("antd/es/space"));
37
+
30
38
  require("antd/es/divider/style");
31
39
 
32
40
  var _divider = _interopRequireDefault(require("antd/es/divider"));
@@ -63,7 +71,7 @@ require("antd/es/form/style");
63
71
 
64
72
  var _form = _interopRequireDefault(require("antd/es/form"));
65
73
 
66
- var _react = _interopRequireDefault(require("react"));
74
+ var _react = _interopRequireWildcard(require("react"));
67
75
 
68
76
  var _icons = require("@ant-design/icons");
69
77
 
@@ -83,7 +91,7 @@ var _FunctionComponent = require("../../../customComponents/FunctionComponent");
83
91
 
84
92
  var _DecorateAvatar = require("../../../customComponents/DecorateAvatar");
85
93
 
86
- var _StandardTableCustom = require("../../../customComponents/StandardTableCustom");
94
+ var _StandardTableCustom = _interopRequireDefault(require("../../../customComponents/StandardTableCustom"));
87
95
 
88
96
  var _AuthorizationWrapper2 = _interopRequireDefault(require("../../AuthorizationWrapper"));
89
97
 
@@ -95,6 +103,10 @@ var _BatchAction = _interopRequireDefault(require("../BatchAction"));
95
103
 
96
104
  var _index = _interopRequireDefault(require("./index.less"));
97
105
 
106
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
107
+
108
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
109
+
98
110
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
99
111
 
100
112
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
@@ -196,7 +208,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
196
208
  };
197
209
 
198
210
  _this.setSearchFormFieldsValue = function (v) {
199
- var form = _this.getSearchForm();
211
+ var form = _this.getSearchCard();
200
212
 
201
213
  if (form != null) {
202
214
  form.setFieldsValue(v);
@@ -213,6 +225,10 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
213
225
  };
214
226
 
215
227
  _this.getColumnWrapper = function () {
228
+ var text = 'getColumnWrapper 需要重载实现';
229
+ (0, _tools.showRuntimeError)({
230
+ message: text
231
+ });
216
232
  return [];
217
233
  };
218
234
 
@@ -545,17 +561,17 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
545
561
  return columns;
546
562
  };
547
563
 
548
- _this.handleFormReset = function () {// 需要继承重载
564
+ _this.handleSearchReset = function () {// 需要继承重载
549
565
  };
550
566
 
551
- _this.handleFormOtherReset = function () {};
567
+ _this.handleAdditionalSearchReset = function () {};
552
568
 
553
569
  _this.handleSearch = function () {
554
570
  if (_this.checkWorkDoing()) {
555
571
  return;
556
572
  }
557
573
 
558
- var form = _this.getSearchForm();
574
+ var form = _this.getSearchCard();
559
575
 
560
576
  var validateFields = form.validateFields;
561
577
  validateFields().then(function (fieldsValue) {
@@ -597,11 +613,11 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
597
613
  });
598
614
  };
599
615
 
600
- _this.getSearchForm = function () {
616
+ _this.getSearchCard = function () {
601
617
  return _this.formRef.current;
602
618
  };
603
619
 
604
- _this.buildSearchFormContent = function (config) {
620
+ _this.buildSearchCardContent = function (config) {
605
621
  if ((config || null) == null) {
606
622
  return null;
607
623
  }
@@ -624,11 +640,11 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
624
640
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_row["default"], {
625
641
  gutter: 24
626
642
  }, listData.map(function (item, index) {
627
- return _this.buildSearchFormContentItem(item, index);
643
+ return _this.buildSearchCardContentItem(item, index);
628
644
  })), otherComponent);
629
645
  };
630
646
 
631
- _this.buildSearchFormContentItem = function (contentItem, contentIndex) {
647
+ _this.buildSearchCardContentItem = function (contentItem, contentIndex) {
632
648
  var contentItemKey = "searchFormContent_key_".concat(contentIndex);
633
649
 
634
650
  var _lg$md$sm$xs$type$ico = _objectSpread(_objectSpread({}, {
@@ -672,27 +688,27 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
672
688
  md: md,
673
689
  sm: sm,
674
690
  xs: xs
675
- }, type === _constants.searchFormContentConfig.contentItemType.input ? _this.renderSearchInput(fieldData.label, fieldData.name, showHelper ? fieldData.helper : '', icon || /*#__PURE__*/_react["default"].createElement(_icons.FormOutlined, null), _objectSpread(_objectSpread({}, {}), contentItem.otherProps || {})) : null, type === _constants.searchFormContentConfig.contentItemType.inputNumber ? _this.renderSearchInputNumber(fieldData.label, fieldData.name, fieldData.helper, _objectSpread(_objectSpread({}, {}), contentItem.otherProps || {})) : null, type === _constants.searchFormContentConfig.contentItemType.datePicker ? _this.renderFormDatePicker(fieldData.label, fieldData.name, false, fieldData.helper, _objectSpread(_objectSpread({}, {}), otherProps || {})) : null, type === _constants.searchFormContentConfig.contentItemType.customRangePicker ? _this.renderSimpleFormRangePickerCore(contentItem.dateRangeFieldName, _objectSpread(_objectSpread({}, {}), otherProps || {})) : null, type === _constants.searchFormContentConfig.contentItemType.onlyShowInput ? _this.renderFormOnlyShowInput(fieldData.label, contentItem.value, fieldData.helper || '', contentItem.icon || /*#__PURE__*/_react["default"].createElement(_icons.FormOutlined, null), _objectSpread(_objectSpread(_objectSpread({}, {}), contentItem.otherProps || {}), {
691
+ }, type === _constants.searchCardConfig.contentItemType.input ? _this.renderSearchInput(fieldData.label, fieldData.name, showHelper ? fieldData.helper : '', icon || /*#__PURE__*/_react["default"].createElement(_icons.FormOutlined, null), _objectSpread(_objectSpread({}, {}), contentItem.otherProps || {})) : null, type === _constants.searchCardConfig.contentItemType.inputNumber ? _this.renderSearchInputNumber(fieldData.label, fieldData.name, fieldData.helper, _objectSpread(_objectSpread({}, {}), contentItem.otherProps || {})) : null, type === _constants.searchCardConfig.contentItemType.datePicker ? _this.renderFormDatePicker(fieldData.label, fieldData.name, false, fieldData.helper, _objectSpread(_objectSpread({}, {}), otherProps || {})) : null, type === _constants.searchCardConfig.contentItemType.customRangePicker ? _this.buildSearchCardRangePickerCore(contentItem.dateRangeFieldName, _objectSpread(_objectSpread({}, {}), otherProps || {})) : null, type === _constants.searchCardConfig.contentItemType.onlyShowInput ? _this.renderFormOnlyShowInput(fieldData.label, contentItem.value, fieldData.helper || '', contentItem.icon || /*#__PURE__*/_react["default"].createElement(_icons.FormOutlined, null), _objectSpread(_objectSpread(_objectSpread({}, {}), contentItem.otherProps || {}), {
676
692
  disabled: true
677
- })) : null, type === _constants.searchFormContentConfig.contentItemType.customSelect ? contentItem.component : null, type === _constants.searchFormContentConfig.contentItemType.customRadio ? contentItem.component : null, type === _constants.searchFormContentConfig.contentItemType.innerComponent ? _this.renderFormInnerComponent(fieldData.label, component, fieldData.helper, null, false) : null, type === _constants.searchFormContentConfig.contentItemType.component ? component || null : null);
693
+ })) : null, type === _constants.searchCardConfig.contentItemType.customSelect ? contentItem.component : null, type === _constants.searchCardConfig.contentItemType.customRadio ? contentItem.component : null, type === _constants.searchCardConfig.contentItemType.innerComponent ? _this.renderFormInnerComponent(fieldData.label, component, fieldData.helper, null, false) : null, type === _constants.searchCardConfig.contentItemType.component ? component || null : null);
678
694
  };
679
695
 
680
- _this.searchFormContentConfigData = function () {
696
+ _this.establishSearchCardConfig = function () {
681
697
  var dateRangeFieldName = _this.state.dateRangeFieldName;
682
698
  return {
683
699
  list: [{
684
700
  lg: 10,
685
- type: _constants.searchFormContentConfig.contentItemType.customRangePicker,
701
+ type: _constants.searchCardConfig.contentItemType.customRangePicker,
686
702
  dateRangeFieldName: dateRangeFieldName
687
703
  }, {
688
704
  lg: 6,
689
- type: _constants.searchFormContentConfig.contentItemType.component,
690
- component: _this.renderSimpleFormButtonCore()
705
+ type: _constants.searchCardConfig.contentItemType.component,
706
+ component: _this.buildSearchCardButtonCore()
691
707
  }]
692
708
  };
693
709
  };
694
710
 
695
- _this.renderSimpleFormButtonCore = function () {
711
+ _this.buildSearchCardButtonCore = function () {
696
712
  var _this$state = _this.state,
697
713
  dataLoading = _this$state.dataLoading,
698
714
  reloading = _this$state.reloading,
@@ -711,20 +727,20 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
711
727
  marginLeft: 8
712
728
  },
713
729
  onClick: function onClick() {
714
- _this.handleFormReset();
730
+ _this.handleSearchReset();
715
731
  }
716
732
  }, reloading ? /*#__PURE__*/_react["default"].createElement(_icons.LoadingOutlined, null) : /*#__PURE__*/_react["default"].createElement(_icons.ReloadOutlined, null), "\u91CD\u7F6E"));
717
733
  };
718
734
 
719
- _this.renderSimpleFormButton = function () {
735
+ _this.buildSearchCardButton = function () {
720
736
  var ColMd = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 6;
721
737
  return /*#__PURE__*/_react["default"].createElement(_col["default"], {
722
738
  md: ColMd,
723
739
  sm: 24
724
- }, _this.renderSimpleFormButtonCore());
740
+ }, _this.buildSearchCardButtonCore());
725
741
  };
726
742
 
727
- _this.renderSimpleFormRangePickerCore = function (dateRangeFieldName) {
743
+ _this.buildSearchCardRangePickerCore = function (dateRangeFieldName) {
728
744
  var rangePickerProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
729
745
  var _this$state2 = _this.state,
730
746
  startTime = _this$state2.startTime,
@@ -763,7 +779,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
763
779
  }, /*#__PURE__*/_react["default"].createElement(RangePicker, p));
764
780
  };
765
781
 
766
- _this.renderSimpleFormRangePicker = function (dateRangeFieldName) {
782
+ _this.buildSearchCardRangePicker = function (dateRangeFieldName) {
767
783
  var colLg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 8;
768
784
  var rangePickerProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
769
785
  return /*#__PURE__*/_react["default"].createElement(_col["default"], {
@@ -771,25 +787,25 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
771
787
  md: 12,
772
788
  sm: 24,
773
789
  xs: 24
774
- }, _this.renderSimpleFormRangePickerCore(dateRangeFieldName, rangePickerProps));
790
+ }, _this.buildSearchCardRangePickerCore(dateRangeFieldName, rangePickerProps));
775
791
  };
776
792
 
777
- _this.renderSimpleFormRow = function () {
778
- var searchFormContentConfigData = _this.searchFormContentConfigData();
793
+ _this.buildSearchCardRow = function () {
794
+ var config = _this.establishSearchCardConfig();
779
795
 
780
- if ((searchFormContentConfigData || null) == null) {
796
+ if ((config || null) == null) {
781
797
  return null;
782
798
  }
783
799
 
784
- return _this.buildSearchFormContent(searchFormContentConfigData);
800
+ return _this.buildSearchCardContent(config);
785
801
  };
786
802
 
787
- _this.renderSimpleFormInitialValues = function () {
803
+ _this.fillSearchCardInitialValues = function () {
788
804
  return {};
789
805
  };
790
806
 
791
- _this.renderSimpleForm = function () {
792
- var el = _this.renderSimpleFormRow();
807
+ _this.buildSearchCard = function () {
808
+ var el = _this.buildSearchCardRow();
793
809
 
794
810
  if ((el || null) == null) {
795
811
  return null;
@@ -797,14 +813,14 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
797
813
 
798
814
  return /*#__PURE__*/_react["default"].createElement(_form["default"], {
799
815
  ref: _this.formRef,
800
- initialValues: _this.renderSimpleFormInitialValues(),
816
+ initialValues: _this.fillSearchCardInitialValues(),
801
817
  onSubmit: _this.handleSearch,
802
818
  layout: "horizontal"
803
819
  }, el);
804
820
  };
805
821
 
806
822
  _this.renderForm = function () {
807
- return _this.renderSimpleForm();
823
+ return _this.buildSearchCard();
808
824
  };
809
825
 
810
826
  _this.buildTableOtherConfig = function () {
@@ -812,7 +828,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
812
828
  return {};
813
829
  };
814
830
 
815
- _this.buildTableExpandableConfig = function () {
831
+ _this.establishTableExpandableConfig = function () {
816
832
  // 可以配置额外的Table属性
817
833
  return {};
818
834
  };
@@ -834,7 +850,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
834
850
 
835
851
  var columns = _this.getColumnMerged();
836
852
 
837
- var expandable = _this.buildTableExpandableConfig();
853
+ var expandable = _this.establishTableExpandableConfig();
838
854
 
839
855
  return _objectSpread(_objectSpread({}, _this.buildTableOtherConfig()), {}, {
840
856
  columns: columns,
@@ -928,91 +944,99 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
928
944
  }));
929
945
  };
930
946
 
931
- _this.buildExtraButtonList = function () {
947
+ _this.establishDataContainerExtraActionCollectionConfig = function () {
932
948
  return [];
933
949
  };
934
950
 
935
- _this.renderExtraButtonList = function () {
936
- var list = _this.buildExtraButtonList();
951
+ _this.buildDataContainerExtraActionCollection = function () {
952
+ var configList = _this.establishDataContainerExtraActionCollectionConfig();
937
953
 
938
- if (!(0, _tools.isArray)(list)) {
954
+ if (!(0, _tools.isArray)(configList)) {
939
955
  return [];
940
956
  }
941
957
 
942
- var buttons = [];
943
- list.forEach(function (o) {
944
- if ((0, _tools.isObject)(o)) {
945
- var _key$type$size$text$i = _objectSpread(_objectSpread({}, {
946
- key: (0, _tools.getGuid)(),
947
- type: 'primary',
948
- size: null,
949
- text: null,
950
- icon: null,
951
- onClick: null,
952
- disabled: false,
958
+ var components = [];
959
+ configList.forEach(function (item, index) {
960
+ if ((item || null) != null) {
961
+ var _buildType$hidden$ico = _objectSpread(_objectSpread({}, {
962
+ buildType: _constants.listViewConfig.dataContainerExtraActionBuildType.button,
953
963
  hidden: false,
954
- confirm: false
955
- }), o || {}),
956
- key = _key$type$size$text$i.key,
957
- type = _key$type$size$text$i.type,
958
- size = _key$type$size$text$i.size,
959
- icon = _key$type$size$text$i.icon,
960
- text = _key$type$size$text$i.text,
961
- onClick = _key$type$size$text$i.onClick,
962
- disabled = _key$type$size$text$i.disabled,
963
- hidden = _key$type$size$text$i.hidden,
964
- confirm = _key$type$size$text$i.confirm;
965
-
966
- if ((0, _tools.stringIsNullOrWhiteSpace)(icon) && (0, _tools.stringIsNullOrWhiteSpace)(text)) {
967
- (0, _tools.recordObject)(list);
968
- throw new Error('buildExtraButtonList: text or icon not allow both null or empty,the list show in console, please check it.');
964
+ icon: null,
965
+ text: '',
966
+ component: null
967
+ }), item),
968
+ hidden = _buildType$hidden$ico.hidden,
969
+ itemBuildType = _buildType$hidden$ico.buildType,
970
+ itemIcon = _buildType$hidden$ico.icon,
971
+ itemText = _buildType$hidden$ico.text,
972
+ itemComponent = _buildType$hidden$ico.component;
973
+
974
+ var itemHidden = hidden;
975
+
976
+ if (!hidden && itemBuildType === _constants.listViewConfig.dataContainerExtraActionBuildType.component && (itemComponent || null) == null) {
977
+ itemHidden = true;
969
978
  }
970
979
 
971
- var button = _this.renderGeneralButton({
972
- key: key || (0, _tools.getGuid)(),
973
- type: type || 'primary',
974
- size: size || null,
975
- icon: icon || null,
976
- text: text || null,
977
- onClick: onClick || null,
978
- disabled: disabled || false,
979
- hidden: hidden || false,
980
- confirm: confirm || false
981
- });
980
+ if (!itemHidden) {
981
+ var itemKey = "listView_dataContainerExtraAction_key_".concat(index);
982
+ var itemAdjust = item;
983
+
984
+ switch (itemBuildType) {
985
+ case _constants.listViewConfig.dataContainerExtraActionBuildType.generalButton:
986
+ itemAdjust = _this.renderGeneralButton(item);
987
+ break;
988
+
989
+ case _constants.listViewConfig.dataContainerExtraActionBuildType.button:
990
+ itemAdjust = (0, _FunctionComponent.buildButton)(item);
991
+ break;
992
+
993
+ case _constants.listViewConfig.dataContainerExtraActionBuildType.dropdown:
994
+ itemAdjust = (0, _FunctionComponent.buildDropdown)(item);
995
+ break;
996
+
997
+ case _constants.listViewConfig.dataContainerExtraActionBuildType.dropdownButton:
998
+ itemAdjust = (0, _FunctionComponent.buildDropdownButton)(item);
999
+ break;
1000
+
1001
+ case _constants.listViewConfig.dataContainerExtraActionBuildType.dropdownEllipsis:
1002
+ itemAdjust = (0, _FunctionComponent.buildDropdownEllipsis)(item);
1003
+ break;
1004
+
1005
+ case _constants.listViewConfig.dataContainerExtraActionBuildType.iconInfo:
1006
+ itemAdjust = /*#__PURE__*/_react["default"].createElement(_IconInfo["default"], {
1007
+ icon: itemIcon,
1008
+ text: itemText
1009
+ });
1010
+ break;
1011
+
1012
+ case _constants.listViewConfig.dataContainerExtraActionBuildType.component:
1013
+ itemAdjust = itemComponent || null;
1014
+ break;
1015
+
1016
+ default:
1017
+ itemAdjust = item;
1018
+ break;
1019
+ }
982
1020
 
983
- if (button != null) {
984
- buttons.push(button);
1021
+ components.push( /*#__PURE__*/_react["default"].createElement(_react.Fragment, {
1022
+ key: itemKey
1023
+ }, itemAdjust));
985
1024
  }
986
1025
  }
987
1026
  });
988
- return buttons;
1027
+ return components;
989
1028
  };
990
1029
 
991
- _this.renderExtraAction = function () {
992
- var buttonList = _this.renderExtraButtonList();
993
-
994
- if ((0, _tools.isArray)(buttonList) && buttonList.length > 0) {
995
- var list = [];
996
- buttonList.forEach(function (eo, ei) {
997
- list.push(eo);
998
-
999
- if (ei !== buttonList.length - 1) {
1000
- list.push('');
1001
- }
1002
- });
1003
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, list.map(function (item, index) {
1004
- var key = "extraAction_button_".concat(index);
1005
-
1006
- if ((0, _tools.stringIsNullOrWhiteSpace)(item)) {
1007
- return /*#__PURE__*/_react["default"].createElement(_divider["default"], {
1008
- key: key,
1009
- type: "vertical"
1010
- });
1011
- }
1030
+ _this.renderExtraActionView = function () {
1031
+ var actions = _this.buildDataContainerExtraActionCollection();
1012
1032
 
1013
- return /*#__PURE__*/_react["default"].createElement("span", {
1014
- key: key
1015
- }, item);
1033
+ if ((0, _tools.isArray)(actions) && actions.length > 0) {
1034
+ return /*#__PURE__*/_react["default"].createElement(_space["default"], {
1035
+ split: /*#__PURE__*/_react["default"].createElement(_divider["default"], {
1036
+ type: "vertical"
1037
+ })
1038
+ }, actions.map(function (item) {
1039
+ return item;
1016
1040
  }));
1017
1041
  }
1018
1042
 
@@ -1096,18 +1120,38 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
1096
1120
  });
1097
1121
  };
1098
1122
 
1099
- _this.pageHeaderActionExtraGroup = function () {
1123
+ _this.establishViewDataSource = function () {
1124
+ var text = 'establishViewDataSource 需要重载实现用来构建列表数据源';
1125
+ (0, _tools.showRuntimeError)({
1126
+ message: text
1127
+ });
1128
+ return null;
1129
+ };
1130
+
1131
+ _this.establishCardCollectionViewItemConfig = function (record) {
1132
+ var text = 'establishCardCollectionViewItemConfig 需要重载实现';
1133
+ (0, _tools.showRuntimeError)({
1134
+ message: text
1135
+ });
1136
+ return null;
1137
+ };
1138
+
1139
+ _this.establishViewPaginationConfig = function () {
1140
+ return null;
1141
+ };
1142
+
1143
+ _this.establishPageHeaderActionExtraGroupConfig = function () {
1100
1144
  return null;
1101
1145
  };
1102
1146
 
1103
- _this.pageHeaderActionExtraEllipsis = function () {
1147
+ _this.establishPageHeaderActionExtraEllipsisConfig = function () {
1104
1148
  return null;
1105
1149
  };
1106
1150
 
1107
- _this.pageHeaderAction = function () {
1108
- var buttonGroupData = _this.pageHeaderActionExtraGroup();
1151
+ _this.buildPageHeaderAction = function () {
1152
+ var buttonGroupData = _this.establishPageHeaderActionExtraGroupConfig();
1109
1153
 
1110
- var ellipsisActionData = _this.pageHeaderActionExtraEllipsis();
1154
+ var ellipsisActionData = _this.establishPageHeaderActionExtraEllipsisConfig();
1111
1155
 
1112
1156
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
1113
1157
  className: _index["default"].buttonBox
@@ -1116,89 +1160,117 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
1116
1160
  }), (ellipsisActionData || null) == null ? null : (0, _FunctionComponent.buildDropdownEllipsis)(ellipsisActionData)));
1117
1161
  };
1118
1162
 
1119
- _this.pageHeaderTagList = function () {
1163
+ _this.establishPageHeaderTagCollectionConfig = function () {
1120
1164
  return [];
1121
1165
  };
1122
1166
 
1123
- _this.pageHeaderTag = function () {
1167
+ _this.establishPageHeaderTagConfig = function () {
1124
1168
  return (0, _FunctionComponent.buildTagList)({
1125
- list: _this.pageHeaderTagList()
1169
+ list: _this.establishPageHeaderTagCollectionConfig()
1126
1170
  });
1127
1171
  };
1128
1172
 
1129
- _this.pageHeaderAvatar = function () {
1173
+ _this.establishPageHeaderAvatarConfig = function () {
1130
1174
  return null;
1131
1175
  };
1132
1176
 
1133
- _this.pageHeaderTitlePrefix = function () {
1177
+ _this.establishPageHeaderTitlePrefix = function () {
1134
1178
  return '';
1135
1179
  };
1136
1180
 
1137
- _this.pageHeaderSubTitle = function () {
1181
+ _this.buildPageHeaderSubTitle = function () {
1138
1182
  return null;
1139
1183
  };
1140
1184
 
1141
- _this.pageHeaderContentGridData = function () {
1185
+ _this.establishPageHeaderContentGridCollectionConfig = function () {
1142
1186
  return [];
1143
1187
  };
1144
1188
 
1145
- _this.pageHeaderContentGridConfig = function () {
1189
+ _this.establishPageHeaderContentGridConfig = function () {
1146
1190
  return {
1147
1191
  type: _constants.pageHeaderRenderType.descriptionGrid,
1148
- list: _this.pageHeaderContentGridData()
1192
+ list: _this.establishPageHeaderContentGridCollectionConfig()
1149
1193
  };
1150
1194
  };
1151
1195
 
1152
- _this.pageHeaderContentParagraphData = function () {
1196
+ _this.establishPageHeaderContentParagraphCollectionConfig = function () {
1153
1197
  return [];
1154
1198
  };
1155
1199
 
1156
- _this.pageHeaderContentParagraphConfig = function () {
1200
+ _this.establishPageHeaderContentParagraphConfig = function () {
1157
1201
  return {
1158
1202
  type: _constants.pageHeaderRenderType.paragraph,
1159
- list: _this.pageHeaderContentParagraphData()
1203
+ list: _this.establishPageHeaderContentParagraphCollectionConfig()
1160
1204
  };
1161
1205
  };
1162
1206
 
1163
- _this.pageHeaderContentActionData = function () {
1207
+ _this.establishPageHeaderContentActionCollectionConfig = function () {
1164
1208
  return [];
1165
1209
  };
1166
1210
 
1167
- _this.pageHeaderContentActionConfig = function () {
1211
+ _this.establishPageHeaderContentActionConfig = function () {
1168
1212
  return {
1169
1213
  type: _constants.pageHeaderRenderType.paragraph,
1170
- list: _this.pageHeaderContentActionData()
1214
+ list: _this.establishPageHeaderContentActionCollectionConfig()
1171
1215
  };
1172
1216
  };
1173
1217
 
1174
- _this.pageHeaderContentData = function () {
1218
+ _this.establishPageHeaderContentConfig = function () {
1175
1219
  return {
1176
- list: [_this.pageHeaderContentGridConfig(), _this.pageHeaderContentParagraphConfig(), _this.pageHeaderContentActionConfig()]
1220
+ list: [_this.establishPageHeaderContentGridConfig(), _this.establishPageHeaderContentParagraphConfig(), _this.establishPageHeaderContentActionConfig()]
1177
1221
  };
1178
1222
  };
1179
1223
 
1180
1224
  _this.renderPageHeaderContent = function () {
1181
- return (0, _FunctionComponent.pageHeaderContent)(_this.pageHeaderContentData() || {});
1225
+ return (0, _FunctionComponent.buildPageHeaderContent)(_this.establishPageHeaderContentConfig() || {});
1182
1226
  };
1183
1227
 
1184
- _this.pageHeaderExtraContentData = function () {
1228
+ _this.establishPageHeaderExtraContentConfig = function () {
1185
1229
  return null;
1186
1230
  };
1187
1231
 
1188
1232
  _this.renderPageHeaderExtraContent = function () {
1189
- return (0, _FunctionComponent.pageHeaderExtraContent)(_this.pageHeaderExtraContentData());
1233
+ return (0, _FunctionComponent.pageHeaderExtraContent)(_this.establishPageHeaderExtraContentConfig());
1190
1234
  };
1191
1235
 
1192
1236
  _this.renderCardExtraAction = function () {
1193
1237
  var _this$state4 = _this.state,
1238
+ listViewMode = _this$state4.listViewMode,
1194
1239
  tableSize = _this$state4.tableSize,
1195
1240
  refreshing = _this$state4.refreshing;
1196
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_DensityAction["default"], {
1197
- tableSize: tableSize,
1198
- setTableSize: function setTableSize(key) {
1199
- _this.setTableSize(key);
1200
- }
1201
- }), /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
1241
+
1242
+ if (listViewMode === _constants.listViewConfig.viewMode.table) {
1243
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_DensityAction["default"], {
1244
+ tableSize: tableSize,
1245
+ setTableSize: function setTableSize(key) {
1246
+ _this.setTableSize(key);
1247
+ }
1248
+ }), /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
1249
+ title: "\u5237\u65B0\u672C\u9875"
1250
+ }, /*#__PURE__*/_react["default"].createElement(_button["default"], {
1251
+ shape: "circle",
1252
+ style: {
1253
+ color: '#000',
1254
+ border: 0
1255
+ },
1256
+ loading: refreshing,
1257
+ icon: /*#__PURE__*/_react["default"].createElement(_icons.ReloadOutlined, null),
1258
+ onClick: function onClick() {
1259
+ _this.refreshData();
1260
+ }
1261
+ })), /*#__PURE__*/_react["default"].createElement(_ColumnSetting["default"], {
1262
+ columns: _this.getColumn(),
1263
+ columnsMap: _this.getColumnsMap(),
1264
+ setColumnsMap: function setColumnsMap(e) {
1265
+ _this.setColumnsMap(e);
1266
+ },
1267
+ setSortKeyColumns: function setSortKeyColumns(key) {
1268
+ _this.setSortKeyColumns(key);
1269
+ }
1270
+ }));
1271
+ }
1272
+
1273
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
1202
1274
  title: "\u5237\u65B0\u672C\u9875"
1203
1275
  }, /*#__PURE__*/_react["default"].createElement(_button["default"], {
1204
1276
  shape: "circle",
@@ -1211,16 +1283,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
1211
1283
  onClick: function onClick() {
1212
1284
  _this.refreshData();
1213
1285
  }
1214
- })), /*#__PURE__*/_react["default"].createElement(_ColumnSetting["default"], {
1215
- columns: _this.getColumn(),
1216
- columnsMap: _this.getColumnsMap(),
1217
- setColumnsMap: function setColumnsMap(e) {
1218
- _this.setColumnsMap(e);
1219
- },
1220
- setSortKeyColumns: function setSortKeyColumns(key) {
1221
- _this.setSortKeyColumns(key);
1222
- }
1223
- }));
1286
+ })));
1224
1287
  };
1225
1288
 
1226
1289
  _this.renderListViewItem = function (record, index) {
@@ -1231,6 +1294,10 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
1231
1294
  };
1232
1295
 
1233
1296
  _this.renderListViewItemInner = function (record, index) {
1297
+ var text = 'renderListViewItemInner 需要重载实现';
1298
+ (0, _tools.showRuntimeError)({
1299
+ message: text
1300
+ });
1234
1301
  return null;
1235
1302
  };
1236
1303
 
@@ -1273,7 +1340,141 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
1273
1340
  };
1274
1341
 
1275
1342
  _this.renderListView = function () {
1276
- var text = '需要重载实现renderListView';
1343
+ var _this$state5 = _this.state,
1344
+ dataLoading = _this$state5.dataLoading,
1345
+ reloading = _this$state5.reloading,
1346
+ processing = _this$state5.processing;
1347
+ return /*#__PURE__*/_react["default"].createElement(_spin["default"], {
1348
+ spinning: dataLoading || reloading || processing
1349
+ }, /*#__PURE__*/_react["default"].createElement(_list["default"], {
1350
+ itemLayout: _this.renderListViewItemLayout(),
1351
+ size: _this.renderListViewSize(),
1352
+ dataSource: _this.establishViewDataSource(),
1353
+ pagination: _this.establishViewPaginationConfig() || false,
1354
+ renderItem: function renderItem(item, index) {
1355
+ return _this.renderListViewItem(item, index);
1356
+ }
1357
+ }));
1358
+ };
1359
+
1360
+ _this.renderTableView = function () {
1361
+ var _this$state6 = _this.state,
1362
+ tableScroll = _this$state6.tableScroll,
1363
+ showSelect = _this$state6.showSelect,
1364
+ selectedDataTableDataRows = _this$state6.selectedDataTableDataRows,
1365
+ dataLoading = _this$state6.dataLoading,
1366
+ processing = _this$state6.processing;
1367
+
1368
+ var _this$buildTableConfi = _this.buildTableConfig(),
1369
+ styleSet = _this$buildTableConfi.styleSet,
1370
+ columns = _this$buildTableConfi.columns,
1371
+ expandable = _this$buildTableConfi.expandable,
1372
+ size = _this$buildTableConfi.size;
1373
+
1374
+ var paginationConfig = _this.establishViewPaginationConfig() || false;
1375
+ var standardTableCustomOption = {
1376
+ loading: dataLoading || processing,
1377
+ showSelect: showSelect,
1378
+ selectedRows: selectedDataTableDataRows,
1379
+ columns: columns,
1380
+ size: size || null,
1381
+ onSelectRow: _this.handleSelectRows,
1382
+ onChange: paginationConfig ? _this.handleStandardTableChange : null
1383
+ };
1384
+
1385
+ if (paginationConfig) {
1386
+ standardTableCustomOption.data = {
1387
+ list: _this.establishViewDataSource(),
1388
+ pagination: paginationConfig
1389
+ };
1390
+ } else {
1391
+ standardTableCustomOption.data = _this.establishViewDataSource();
1392
+ standardTableCustomOption.pagination = false;
1393
+ }
1394
+
1395
+ if ((styleSet || null) != null) {
1396
+ standardTableCustomOption.style = styleSet;
1397
+ }
1398
+
1399
+ if ((tableScroll || null) != null) {
1400
+ standardTableCustomOption.scroll = tableScroll;
1401
+ }
1402
+
1403
+ standardTableCustomOption.expandable = _objectSpread(_objectSpread({}, {
1404
+ rowExpandable: false,
1405
+ expandedRowRender: null
1406
+ }), expandable || {});
1407
+ return /*#__PURE__*/_react["default"].createElement("div", {
1408
+ className: _index["default"].tableContainor
1409
+ }, /*#__PURE__*/_react["default"].createElement(_StandardTableCustom["default"], standardTableCustomOption));
1410
+ };
1411
+
1412
+ _this.renderCardCollectionView = function (_ref4) {
1413
+ var list = _ref4.list;
1414
+ var _this$state7 = _this.state,
1415
+ dataLoading = _this$state7.dataLoading,
1416
+ reloading = _this$state7.reloading,
1417
+ processing = _this$state7.processing;
1418
+ var listItem = (0, _tools.isArray)(list) ? list : [];
1419
+ var itemCount = listItem.length;
1420
+ return /*#__PURE__*/_react["default"].createElement(_spin["default"], {
1421
+ spinning: dataLoading || reloading || processing
1422
+ }, /*#__PURE__*/_react["default"].createElement(_space["default"], {
1423
+ style: {
1424
+ width: '100%'
1425
+ },
1426
+ direction: "vertical",
1427
+ size: 24
1428
+ }, itemCount > 0 ? listItem.map(function (o, index) {
1429
+ return _this.buildCardCollectionItem({
1430
+ config: _this.establishCardCollectionViewItemConfig(o),
1431
+ key: index
1432
+ });
1433
+ }) : dataLoading || reloading ? /*#__PURE__*/_react["default"].createElement("div", {
1434
+ style: {
1435
+ height: '130px'
1436
+ }
1437
+ }) : /*#__PURE__*/_react["default"].createElement(_empty["default"], null)), _this.renderPaginationView());
1438
+ };
1439
+
1440
+ _this.renderPaginationView = function () {
1441
+ return null;
1442
+ };
1443
+
1444
+ _this.renderView = function () {
1445
+ var _this$state8 = _this.state,
1446
+ showSelect = _this$state8.showSelect,
1447
+ listViewMode = _this$state8.listViewMode;
1448
+
1449
+ if (listViewMode === _constants.listViewConfig.viewMode.table) {
1450
+ return _this.renderTableView();
1451
+ }
1452
+
1453
+ if (listViewMode === _constants.listViewConfig.viewMode.list) {
1454
+ if (showSelect) {
1455
+ var _text2 = 'MultiListView显示模式下不支持选择';
1456
+ (0, _tools.showRuntimeError)({
1457
+ message: _text2
1458
+ });
1459
+ }
1460
+
1461
+ return _this.renderListView();
1462
+ }
1463
+
1464
+ if (listViewMode === _constants.listViewConfig.viewMode.cardCollectionView) {
1465
+ if (showSelect) {
1466
+ var _text3 = 'MultiListView显示模式下不支持选择';
1467
+ (0, _tools.showRuntimeError)({
1468
+ message: _text3
1469
+ });
1470
+ }
1471
+
1472
+ return _this.renderCardCollectionView({
1473
+ list: _this.establishViewDataSource()
1474
+ });
1475
+ }
1476
+
1477
+ var text = '未知的显示模式';
1277
1478
  (0, _tools.showRuntimeError)({
1278
1479
  message: text
1279
1480
  });
@@ -1281,14 +1482,16 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
1281
1482
  };
1282
1483
 
1283
1484
  _this.renderPageContent = function () {
1284
- var _this$state5 = _this.state,
1285
- listTitle = _this$state5.listTitle,
1286
- renderSearchForm = _this$state5.renderSearchForm;
1485
+ var _this$state9 = _this.state,
1486
+ listViewMode = _this$state9.listViewMode,
1487
+ listTitle = _this$state9.listTitle,
1488
+ renderSearchForm = _this$state9.renderSearchForm;
1287
1489
 
1288
- var extraAction = _this.renderExtraAction();
1490
+ var extraAction = _this.renderExtraActionView();
1289
1491
 
1290
1492
  var searchForm = _this.renderForm();
1291
1493
 
1494
+ var hasPagination = _this.renderPaginationView() != null;
1292
1495
  return /*#__PURE__*/_react["default"].createElement("div", {
1293
1496
  className: _index["default"].containorBox
1294
1497
  }, /*#__PURE__*/_react["default"].createElement(_space["default"], {
@@ -1309,7 +1512,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
1309
1512
  },
1310
1513
  bodyStyle: {
1311
1514
  paddingTop: '0',
1312
- paddingBottom: 10
1515
+ paddingBottom: hasPagination ? listViewMode === _constants.listViewConfig.viewMode.table ? 0 : listViewMode === _constants.listViewConfig.viewMode.list ? 20 : listViewMode === _constants.listViewConfig.viewMode.cardCollectionView ? 0 : 0 : listViewMode === _constants.listViewConfig.viewMode.table ? 0 : listViewMode === _constants.listViewConfig.viewMode.list ? 20 : listViewMode === _constants.listViewConfig.viewMode.cardCollectionView ? 20 : 20
1313
1516
  },
1314
1517
  bordered: false,
1315
1518
  className: _index["default"].containorTable,
@@ -1329,12 +1532,14 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
1329
1532
  _this.columnsOtherConfig = [];
1330
1533
  var defaultState = (0, _tools.defaultListState)();
1331
1534
  _this.state = _objectSpread(_objectSpread(_objectSpread({}, _this.state), defaultState), {
1535
+ showSelect: false,
1332
1536
  renderPageHeaderWrapper: true,
1333
1537
  listTitle: '检索结果',
1334
1538
  defaultAvatarIcon: /*#__PURE__*/_react["default"].createElement(_icons.PictureOutlined, null),
1539
+ listViewMode: _constants.listViewConfig.viewMode.list,
1335
1540
  avatarImageLoadResult: _DecorateAvatar.avatarImageLoadResultCollection.wait,
1336
1541
  showPageHeaderAvatar: false,
1337
- tableSize: _StandardTableCustom.tableSizeConfig.middle,
1542
+ tableSize: _constants.listViewConfig.tableSize.middle,
1338
1543
  counterSetColumnsOtherConfig: 0,
1339
1544
  renderSearchForm: true,
1340
1545
  showListViewItemActionSelect: false
@@ -1347,25 +1552,25 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
1347
1552
  value: function render() {
1348
1553
  var _this2 = this;
1349
1554
 
1350
- var _this$state6 = this.state,
1351
- renderPageHeaderWrapper = _this$state6.renderPageHeaderWrapper,
1352
- showPageHeaderAvatar = _this$state6.showPageHeaderAvatar,
1353
- defaultAvatarIcon = _this$state6.defaultAvatarIcon,
1354
- dataLoading = _this$state6.dataLoading,
1355
- reloading = _this$state6.reloading,
1356
- avatarImageLoadResult = _this$state6.avatarImageLoadResult;
1555
+ var _this$state10 = this.state,
1556
+ renderPageHeaderWrapper = _this$state10.renderPageHeaderWrapper,
1557
+ showPageHeaderAvatar = _this$state10.showPageHeaderAvatar,
1558
+ defaultAvatarIcon = _this$state10.defaultAvatarIcon,
1559
+ dataLoading = _this$state10.dataLoading,
1560
+ reloading = _this$state10.reloading,
1561
+ avatarImageLoadResult = _this$state10.avatarImageLoadResult;
1357
1562
  var tabListAvailable = this.getTabListAvailable();
1358
- var avatarProps = showPageHeaderAvatar ? (0, _DecorateAvatar.decorateAvatar)(this.pageHeaderAvatar(), defaultAvatarIcon, showPageHeaderAvatar, dataLoading, reloading, avatarImageLoadResult, function () {
1563
+ var avatarProps = showPageHeaderAvatar ? (0, _DecorateAvatar.decorateAvatar)(this.establishPageHeaderAvatarConfig(), defaultAvatarIcon, showPageHeaderAvatar, dataLoading, reloading, avatarImageLoadResult, function () {
1359
1564
  _this2.onPageHeaderAvatarLoadErrorCallback();
1360
1565
  }) : null;
1361
1566
 
1362
1567
  if (renderPageHeaderWrapper || false) {
1363
1568
  return /*#__PURE__*/_react["default"].createElement(_proLayout.PageHeaderWrapper, {
1364
1569
  avatar: avatarProps,
1365
- title: (0, _FunctionComponent.pageHeaderTitle)(this.getPageName(), this.pageHeaderTitlePrefix()),
1366
- subTitle: this.pageHeaderSubTitle(),
1367
- tags: (0, _FunctionComponent.pageHeaderTagWrapper)(this.pageHeaderTag()),
1368
- extra: this.pageHeaderAction(),
1570
+ title: (0, _FunctionComponent.pageHeaderTitle)(this.getPageName(), this.establishPageHeaderTitlePrefix()),
1571
+ subTitle: this.buildPageHeaderSubTitle(),
1572
+ tags: (0, _FunctionComponent.buildPageHeaderTagWrapper)(this.establishPageHeaderTagConfig()),
1573
+ extra: this.buildPageHeaderAction(),
1369
1574
  tabActiveKey: this.getTabActiveKey(),
1370
1575
  content: this.renderPageHeaderContent(),
1371
1576
  extraContent: this.renderPageHeaderExtraContent(),