antd-management-fast-framework 1.2.3 → 1.2.7

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 (77) hide show
  1. package/es/customComponents/AnimalBox/RotateBox/index.d.ts +13 -0
  2. package/es/customComponents/AnimalBox/RotateBox/index.js +85 -0
  3. package/es/customComponents/DataPreviewDrawer/index.js +1 -1
  4. package/es/framework/Common/index.d.ts +4 -4
  5. package/es/framework/Common/index.js +8 -15
  6. package/es/framework/DataDrawer/Base/index.d.ts +1 -1
  7. package/es/framework/DataDrawer/Base/index.js +2 -2
  8. package/es/framework/DataDrawer/BaseAddDrawer/index.js +1 -1
  9. package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +1 -1
  10. package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +3 -3
  11. package/es/framework/DataDrawer/BaseSaveDrawer/index.js +1 -1
  12. package/es/framework/DataForm/BaseAddForm/index.d.ts +2 -2
  13. package/es/framework/DataForm/BaseAddForm/index.js +6 -6
  14. package/es/framework/DataListView/Base/index.d.ts +14 -14
  15. package/es/framework/DataListView/Base/index.js +121 -32
  16. package/es/framework/DataListView/Base/index.less +0 -8
  17. package/es/framework/DataMenuContainer/index.d.ts +1 -1
  18. package/es/framework/DataMenuContainer/index.js +1 -1
  19. package/es/framework/DataModal/Base/index.d.ts +2 -2
  20. package/es/framework/DataModal/Base/index.js +3 -3
  21. package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +1 -1
  22. package/es/framework/DataModal/BaseNeedlessLoadModal/index.js +3 -3
  23. package/es/framework/DataMultiPageView/MultiPage/index.js +5 -5
  24. package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +2 -2
  25. package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +3 -3
  26. package/es/framework/DataOperation/Base/index.d.ts +2 -2
  27. package/es/framework/DataOperation/Base/index.js +5 -5
  28. package/es/framework/DataOperation/BaseWindow/index.d.ts +1 -1
  29. package/es/framework/DataOperation/BaseWindow/index.js +2 -2
  30. package/es/framework/DataSinglePageView/SinglePage/index.js +4 -4
  31. package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +2 -2
  32. package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +2 -2
  33. package/es/framework/DataSingleView/DataCore/index.js +1 -1
  34. package/es/framework/DataSingleView/DataLoad/index.d.ts +1 -1
  35. package/es/framework/DataSingleView/DataLoad/index.js +2 -2
  36. package/es/framework/DataTabContainer/index.js +2 -2
  37. package/es/utils/constants.d.ts +28 -7
  38. package/es/utils/constants.js +13 -3
  39. package/lib/customComponents/AnimalBox/RotateBox/index.d.ts +13 -0
  40. package/lib/customComponents/AnimalBox/RotateBox/index.js +85 -0
  41. package/lib/customComponents/DataPreviewDrawer/index.js +1 -1
  42. package/lib/framework/Common/index.d.ts +4 -4
  43. package/lib/framework/Common/index.js +8 -15
  44. package/lib/framework/DataDrawer/Base/index.d.ts +1 -1
  45. package/lib/framework/DataDrawer/Base/index.js +2 -2
  46. package/lib/framework/DataDrawer/BaseAddDrawer/index.js +1 -1
  47. package/lib/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +1 -1
  48. package/lib/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +3 -3
  49. package/lib/framework/DataDrawer/BaseSaveDrawer/index.js +1 -1
  50. package/lib/framework/DataForm/BaseAddForm/index.d.ts +2 -2
  51. package/lib/framework/DataForm/BaseAddForm/index.js +6 -6
  52. package/lib/framework/DataListView/Base/index.d.ts +14 -14
  53. package/lib/framework/DataListView/Base/index.js +121 -32
  54. package/lib/framework/DataListView/Base/index.less +0 -8
  55. package/lib/framework/DataMenuContainer/index.d.ts +1 -1
  56. package/lib/framework/DataMenuContainer/index.js +1 -1
  57. package/lib/framework/DataModal/Base/index.d.ts +2 -2
  58. package/lib/framework/DataModal/Base/index.js +3 -3
  59. package/lib/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +1 -1
  60. package/lib/framework/DataModal/BaseNeedlessLoadModal/index.js +3 -3
  61. package/lib/framework/DataMultiPageView/MultiPage/index.js +5 -5
  62. package/lib/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +2 -2
  63. package/lib/framework/DataMultiPageView/MultiPageDrawer/index.js +3 -3
  64. package/lib/framework/DataOperation/Base/index.d.ts +2 -2
  65. package/lib/framework/DataOperation/Base/index.js +5 -5
  66. package/lib/framework/DataOperation/BaseWindow/index.d.ts +1 -1
  67. package/lib/framework/DataOperation/BaseWindow/index.js +2 -2
  68. package/lib/framework/DataSinglePageView/SinglePage/index.js +4 -4
  69. package/lib/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +2 -2
  70. package/lib/framework/DataSinglePageView/SinglePageDrawer/index.js +2 -2
  71. package/lib/framework/DataSingleView/DataCore/index.js +1 -1
  72. package/lib/framework/DataSingleView/DataLoad/index.d.ts +1 -1
  73. package/lib/framework/DataSingleView/DataLoad/index.js +2 -2
  74. package/lib/framework/DataTabContainer/index.js +2 -2
  75. package/lib/utils/constants.d.ts +28 -7
  76. package/lib/utils/constants.js +13 -3
  77. package/package.json +1 -1
@@ -103,7 +103,7 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
103
103
 
104
104
  _this = _super.call(this, props);
105
105
  _this.loadDataAfterMount = false;
106
- _this.needSetFormValueAfterLoad = false;
106
+ _this.resetDataAfterLoad = false;
107
107
  _this.reloadWhenShow = true;
108
108
 
109
109
  _this.doWorkWhenDidUpdate = function (preProps, preState, snapshot) {
@@ -161,7 +161,7 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
161
161
  _this.onClose();
162
162
  };
163
163
 
164
- _this.buildWrapperTypeConfig = function () {
164
+ _this.establishWrapperTypeConfig = function () {
165
165
  return {
166
166
  mode: _constants.contentConfig.wrapperType.drawer
167
167
  };
@@ -215,7 +215,7 @@ var DataCore = /*#__PURE__*/function (_BaseView) {
215
215
  metaOriginalData: metaOriginalData
216
216
  });
217
217
 
218
- var otherFormProps = _this.buildOtherFormProps();
218
+ var otherFormProps = _this.buildFormAdditionalConfig();
219
219
 
220
220
  return /*#__PURE__*/_react["default"].createElement(_form["default"], _extends({
221
221
  ref: _this.formRef,
@@ -36,7 +36,7 @@ declare class DataLoad extends DataCore {
36
36
  metaExtra?: null | undefined;
37
37
  metaOriginalData?: null | undefined;
38
38
  }) => void;
39
- fillForm: ({ metaData, metaListData, metaExtra, metaOriginalData, }: {
39
+ fillData: ({ metaData, metaListData, metaExtra, metaOriginalData, }: {
40
40
  metaData?: null | undefined;
41
41
  metaListData?: any[] | undefined;
42
42
  metaExtra?: null | undefined;
@@ -78,7 +78,7 @@ var DataLoad = /*#__PURE__*/function (_DataCore) {
78
78
  metaExtra = _ref.metaExtra,
79
79
  metaOriginalData = _ref.metaOriginalData;
80
80
 
81
- _this.fillForm({
81
+ _this.fillData({
82
82
  metaData: metaData,
83
83
  metaListData: metaListData,
84
84
  metaExtra: metaExtra,
@@ -104,7 +104,7 @@ var DataLoad = /*#__PURE__*/function (_DataCore) {
104
104
  metaOriginalData = _ref2$metaOriginalDat === void 0 ? null : _ref2$metaOriginalDat;
105
105
  };
106
106
 
107
- _this.fillForm = function (_ref3) {
107
+ _this.fillData = function (_ref3) {
108
108
  var _ref3$metaData = _ref3.metaData,
109
109
  metaData = _ref3$metaData === void 0 ? null : _ref3$metaData,
110
110
  _ref3$metaListData = _ref3.metaListData,
@@ -66,7 +66,7 @@ var DataTabContainer = /*#__PURE__*/function (_DataSingleView) {
66
66
  _classCallCheck(this, DataTabContainer);
67
67
 
68
68
  _this = _super.call(this, props);
69
- _this.needSetFormValueAfterLoad = false;
69
+ _this.resetDataAfterLoad = false;
70
70
  _this.tabList = [];
71
71
 
72
72
  _this.doWorkWhenDidUpdate = function (preProps, preState, snapshot) {
@@ -112,7 +112,7 @@ var DataTabContainer = /*#__PURE__*/function (_DataSingleView) {
112
112
  return pathname.replace(/\//g, '-').replace("".concat(match.url.replace(/\//g, '-'), "-"), '').replace(/-/g, '/');
113
113
  };
114
114
 
115
- _this.fillFormInitialValuesAfterLoad = function (_ref) {
115
+ _this.fillInitialValuesAfterLoad = function (_ref) {
116
116
  var _ref$metaData = _ref.metaData,
117
117
  metaData = _ref$metaData === void 0 ? null : _ref$metaData,
118
118
  _ref$metaListData = _ref.metaListData,
@@ -146,6 +146,14 @@ export namespace listViewConfig {
146
146
  const small: string;
147
147
  const large: string;
148
148
  }
149
+ namespace expandAnimalType {
150
+ import none = animalType.none;
151
+ export { none };
152
+ import fade = animalType.fade;
153
+ export { fade };
154
+ import queue = animalType.queue;
155
+ export { queue };
156
+ }
149
157
  }
150
158
  export namespace drawerConfig {
151
159
  namespace bottomBarBuildType {
@@ -169,16 +177,20 @@ export namespace drawerConfig {
169
177
  }
170
178
  }
171
179
  export namespace cardConfig {
172
- namespace renderType {
180
+ export namespace renderType {
173
181
  const normal: string;
174
182
  const help: string;
175
183
  }
176
- namespace animalType {
177
- const none: string;
178
- const fade: string;
179
- const queue: string;
184
+ export namespace animalType_1 {
185
+ import none_1 = animalType.none;
186
+ export { none_1 as none };
187
+ import fade_1 = animalType.fade;
188
+ export { fade_1 as fade };
189
+ import queue_1 = animalType.queue;
190
+ export { queue_1 as queue };
180
191
  }
181
- namespace extraBuildType {
192
+ export { animalType_1 as animalType };
193
+ export namespace extraBuildType {
182
194
  const refresh_1: string;
183
195
  export { refresh_1 as refresh };
184
196
  const save_1: string;
@@ -198,7 +210,7 @@ export namespace cardConfig {
198
210
  const component_2: string;
199
211
  export { component_2 as component };
200
212
  }
201
- namespace contentItemType {
213
+ export namespace contentItemType {
202
214
  const placeholder_1: string;
203
215
  export { placeholder_1 as placeholder };
204
216
  export const text: string;
@@ -358,3 +370,12 @@ export namespace messageTypeCollection {
358
370
  const open_1: string;
359
371
  export { open_1 as open };
360
372
  }
373
+ declare namespace animalType {
374
+ const none_2: string;
375
+ export { none_2 as none };
376
+ const fade_2: string;
377
+ export { fade_2 as fade };
378
+ const queue_2: string;
379
+ export { queue_2 as queue };
380
+ }
381
+ export {};
@@ -12,6 +12,11 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
12
12
 
13
13
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
14
 
15
+ var animalType = {
16
+ none: 'none',
17
+ fade: 'fade',
18
+ queue: 'queue'
19
+ };
15
20
  var zeroString = '0';
16
21
  exports.zeroString = zeroString;
17
22
  var zeroInt = 0;
@@ -216,6 +221,11 @@ var listViewConfig = {
216
221
  middle: 'middle',
217
222
  small: 'small',
218
223
  large: 'large'
224
+ },
225
+ expandAnimalType: {
226
+ none: animalType.none,
227
+ fade: animalType.fade,
228
+ queue: animalType.queue
219
229
  }
220
230
  };
221
231
  exports.listViewConfig = listViewConfig;
@@ -249,9 +259,9 @@ var cardConfig = _objectSpread(_objectSpread({}, contentConfig), {}, {
249
259
  * 动画支持
250
260
  */
251
261
  animalType: {
252
- none: 'none',
253
- fade: 'fade',
254
- queue: 'queue'
262
+ none: animalType.none,
263
+ fade: animalType.fade,
264
+ queue: animalType.queue
255
265
  },
256
266
 
257
267
  /**
@@ -0,0 +1,13 @@
1
+ export default RotateBox;
2
+ declare class RotateBox extends React.PureComponent<any, any, any> {
3
+ constructor(props: any);
4
+ constructor(props: any, context: any);
5
+ }
6
+ declare namespace RotateBox {
7
+ namespace defaultProps {
8
+ const rotate: number;
9
+ const duration: number;
10
+ const onClick: null;
11
+ }
12
+ }
13
+ import React from "react";
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _react = _interopRequireWildcard(require("react"));
11
+
12
+ var _rcTweenOne = _interopRequireDefault(require("rc-tween-one"));
13
+
14
+ var _tools = require("../../../utils/tools");
15
+
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
+
18
+ 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); }
19
+
20
+ 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; }
21
+
22
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
+
24
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
25
+
26
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
27
+
28
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
+
30
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
+
32
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
33
+
34
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
35
+
36
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37
+
38
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
39
+
40
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
41
+
42
+ var RotateBox = /*#__PURE__*/function (_PureComponent) {
43
+ _inherits(RotateBox, _PureComponent);
44
+
45
+ var _super = _createSuper(RotateBox);
46
+
47
+ function RotateBox() {
48
+ _classCallCheck(this, RotateBox);
49
+
50
+ return _super.apply(this, arguments);
51
+ }
52
+
53
+ _createClass(RotateBox, [{
54
+ key: "render",
55
+ value: function render() {
56
+ var _this$props = this.props,
57
+ rotateCustom = _this$props.rotate,
58
+ durationCustom = _this$props.duration,
59
+ _onClick = _this$props.onClick,
60
+ children = _this$props.children;
61
+ return /*#__PURE__*/_react["default"].createElement("div", {
62
+ onClick: function onClick() {
63
+ if ((0, _tools.isFunction)(_onClick)) {
64
+ _onClick();
65
+ }
66
+ }
67
+ }, /*#__PURE__*/_react["default"].createElement(_rcTweenOne["default"], {
68
+ animation: {
69
+ rotate: rotateCustom,
70
+ duration: durationCustom
71
+ }
72
+ }, children));
73
+ }
74
+ }]);
75
+
76
+ return RotateBox;
77
+ }(_react.PureComponent);
78
+
79
+ RotateBox.defaultProps = {
80
+ rotate: 0,
81
+ duration: 1000,
82
+ onClick: null
83
+ };
84
+ var _default = RotateBox;
85
+ exports["default"] = _default;
@@ -57,7 +57,7 @@ var DataPreviewDrawer = /*#__PURE__*/function (_Base) {
57
57
 
58
58
  _this = _super.call(this, props);
59
59
  _this.loadDataAfterMount = false;
60
- _this.needSetFormValueAfterLoad = false;
60
+ _this.resetDataAfterLoad = false;
61
61
 
62
62
  _this.renderTitleIcon = function () {
63
63
  var icon = _this.props.icon;
@@ -118,20 +118,20 @@ declare class Common extends Core {
118
118
  style?: null | undefined;
119
119
  showIcon?: boolean | undefined;
120
120
  }) => JSX.Element | null;
121
- buildOtherFormProps: () => {};
121
+ buildFormAdditionalConfig: () => {};
122
122
  renderRefreshButton: () => JSX.Element;
123
123
  getUploadTokenObject: () => never;
124
124
  beforeVideoUpload: (file: any) => boolean;
125
125
  pretreatmentImageUploadRemoteResponse: (response: any) => never;
126
126
  pretreatmentFileBase64UploadRemoteResponse: (response: any) => never;
127
127
  pretreatmentVideoUploadRemoteResponse: (response: any) => never;
128
- buildToolBarConfig: () => null;
128
+ establishToolBarConfig: () => null;
129
129
  buildToolBar: () => JSX.Element | null;
130
130
  buildToolBarWrapper: () => JSX.Element | null;
131
- buildWrapperTypeConfig: () => {
131
+ establishWrapperTypeConfig: () => {
132
132
  mode: string;
133
133
  };
134
- buildHelpConfig: () => null;
134
+ establishHelpConfig: () => null;
135
135
  buildHelp: () => JSX.Element | null;
136
136
  buildHelpWrapper: () => JSX.Element | null;
137
137
  buildCardCollection: (config: any) => JSX.Element;
@@ -989,7 +989,7 @@ var Common = /*#__PURE__*/function (_Core) {
989
989
  });
990
990
  };
991
991
 
992
- _this.buildOtherFormProps = function () {
992
+ _this.buildFormAdditionalConfig = function () {
993
993
  return {};
994
994
  };
995
995
 
@@ -1062,12 +1062,12 @@ var Common = /*#__PURE__*/function (_Core) {
1062
1062
  throw new Error(text);
1063
1063
  };
1064
1064
 
1065
- _this.buildToolBarConfig = function () {
1065
+ _this.establishToolBarConfig = function () {
1066
1066
  return null;
1067
1067
  };
1068
1068
 
1069
1069
  _this.buildToolBar = function () {
1070
- var config = _this.buildToolBarConfig();
1070
+ var config = _this.establishToolBarConfig();
1071
1071
 
1072
1072
  if ((config || null) == null) {
1073
1073
  return null;
@@ -1148,18 +1148,18 @@ var Common = /*#__PURE__*/function (_Core) {
1148
1148
  return toolBar;
1149
1149
  };
1150
1150
 
1151
- _this.buildWrapperTypeConfig = function () {
1151
+ _this.establishWrapperTypeConfig = function () {
1152
1152
  return {
1153
1153
  mode: _constants.contentConfig.wrapperType.page
1154
1154
  };
1155
1155
  };
1156
1156
 
1157
- _this.buildHelpConfig = function () {
1157
+ _this.establishHelpConfig = function () {
1158
1158
  return null;
1159
1159
  };
1160
1160
 
1161
1161
  _this.buildHelp = function () {
1162
- var wrapperTypeConfig = _this.buildWrapperTypeConfig() || {
1162
+ var wrapperTypeConfig = _this.establishWrapperTypeConfig() || {
1163
1163
  mode: _constants.contentConfig.wrapperType.page
1164
1164
  };
1165
1165
 
@@ -1169,7 +1169,7 @@ var Common = /*#__PURE__*/function (_Core) {
1169
1169
 
1170
1170
  var mode = configData.mode;
1171
1171
 
1172
- var config = _this.buildHelpConfig();
1172
+ var config = _this.establishHelpConfig();
1173
1173
 
1174
1174
  if ((config || null) == null) {
1175
1175
  return null;
@@ -1205,13 +1205,6 @@ var Common = /*#__PURE__*/function (_Core) {
1205
1205
  };
1206
1206
 
1207
1207
  _this.buildHelpWrapper = function () {
1208
- // const formContentWrapperTypeConfig = this.buildWrapperTypeConfig() || {
1209
- // mode: contentConfig.wrapperType.page,
1210
- // };
1211
- // const configData = {
1212
- // ...{ mode: contentConfig.wrapperType.page },
1213
- // ...(formContentWrapperTypeConfig || {}),
1214
- // };
1215
1208
  var help = _this.buildHelp();
1216
1209
 
1217
1210
  if ((help || null) == null) {
@@ -1222,7 +1215,7 @@ var Common = /*#__PURE__*/function (_Core) {
1222
1215
  };
1223
1216
 
1224
1217
  _this.buildCardCollection = function (config) {
1225
- var formContentWrapperTypeConfig = _this.buildWrapperTypeConfig() || {
1218
+ var formContentWrapperTypeConfig = _this.establishWrapperTypeConfig() || {
1226
1219
  mode: _constants.cardConfig.wrapperType.page
1227
1220
  };
1228
1221
 
@@ -36,7 +36,7 @@ declare class Base extends BaseWindow {
36
36
  buildFormLayout: () => string;
37
37
  renderForm: () => JSX.Element;
38
38
  establishCardCollectionConfig: () => null;
39
- buildWrapperTypeConfig: () => {
39
+ establishWrapperTypeConfig: () => {
40
40
  mode: string;
41
41
  };
42
42
  formContent: () => any;
@@ -170,7 +170,7 @@ var Base = /*#__PURE__*/function (_BaseWindow) {
170
170
  metaOriginalData: metaOriginalData
171
171
  });
172
172
 
173
- var otherFormProps = _this.buildOtherFormProps();
173
+ var otherFormProps = _this.buildFormAdditionalConfig();
174
174
 
175
175
  return /*#__PURE__*/_react["default"].createElement(_form["default"], _extends({
176
176
  ref: _this.formRef,
@@ -184,7 +184,7 @@ var Base = /*#__PURE__*/function (_BaseWindow) {
184
184
  return null;
185
185
  };
186
186
 
187
- _this.buildWrapperTypeConfig = function () {
187
+ _this.establishWrapperTypeConfig = function () {
188
188
  return {
189
189
  mode: _constants.cardConfig.wrapperType.drawer
190
190
  };
@@ -60,7 +60,7 @@ var BaseAddDrawer = /*#__PURE__*/function (_BaseNeedlessLoadDraw) {
60
60
  _this = _super.call(this, props);
61
61
 
62
62
  _this.adjustWhenDidMount = function () {
63
- _this.fillForm({});
63
+ _this.fillData({});
64
64
  };
65
65
 
66
66
  _this.buildBottomBarInnerDefaultConfigList = function () {
@@ -1,5 +1,5 @@
1
1
  export default BaseNeedlessLoadDrawer;
2
2
  declare class BaseNeedlessLoadDrawer extends Base {
3
- fillFormDefaultInitialValues: () => {};
3
+ fillDefaultInitialValues: () => {};
4
4
  }
5
5
  import Base from "../Base";
@@ -56,13 +56,13 @@ var BaseNeedlessLoadDrawer = /*#__PURE__*/function (_Base) {
56
56
  _classCallCheck(this, BaseNeedlessLoadDrawer);
57
57
 
58
58
  _this = _super.call(this, props);
59
- _this.needSetFormValueAfterLoad = false;
59
+ _this.resetDataAfterLoad = false;
60
60
 
61
61
  _this.buildInitialValues = function () {
62
- return _this.fillFormDefaultInitialValues();
62
+ return _this.fillDefaultInitialValues();
63
63
  };
64
64
 
65
- _this.fillFormDefaultInitialValues = function () {
65
+ _this.fillDefaultInitialValues = function () {
66
66
  var initialValues = {};
67
67
  initialValues[_constants.formNameCollection.createTime.name] = (0, _tools.formatDatetime)(new Date(), _constants.datetimeFormat.yearMonthDayHourMinute);
68
68
  return initialValues;
@@ -54,7 +54,7 @@ var BaseSaveDrawer = /*#__PURE__*/function (_Base) {
54
54
  _this = _super.call(this, props);
55
55
 
56
56
  _this.adjustWhenDidMount = function () {
57
- _this.fillForm({});
57
+ _this.fillData({});
58
58
  };
59
59
 
60
60
  _this.buildBottomBarInnerDefaultConfigList = function () {
@@ -23,12 +23,12 @@ declare class BaseAddForm extends DataCore {
23
23
  externalData: null;
24
24
  };
25
25
  adjustWhenDidMount: () => void;
26
- fillForm: () => void;
26
+ fillData: () => void;
27
27
  afterFillForm: (initialValues: any) => void;
28
28
  handleFormReset: () => void;
29
29
  supplementSubmitRequestParams: (o: any) => any;
30
30
  validate: (e: any) => void;
31
- fillFormDefaultInitialValues: () => {};
31
+ fillDefaultInitialValues: () => {};
32
32
  renderModalInner: () => JSX.Element;
33
33
  }
34
34
  import DataCore from "../../DataSingleView/DataCore";
@@ -73,18 +73,18 @@ var BaseAddForm = /*#__PURE__*/function (_DataCore) {
73
73
 
74
74
  _this = _super.call(this, props);
75
75
  _this.loadDataAfterMount = false;
76
- _this.needSetFormValueAfterLoad = false;
76
+ _this.resetDataAfterLoad = false;
77
77
  _this.formRef = /*#__PURE__*/_react["default"].createRef();
78
78
 
79
79
  _this.adjustWhenDidMount = function () {
80
- _this.fillForm();
80
+ _this.fillData();
81
81
  };
82
82
 
83
83
  _this.getTargetForm = function () {
84
84
  return _this.formRef.current;
85
85
  };
86
86
 
87
- _this.fillForm = function () {
87
+ _this.fillData = function () {
88
88
  var initialValues = _this.buildInitialValues();
89
89
 
90
90
  if (initialValues == null) {
@@ -215,10 +215,10 @@ var BaseAddForm = /*#__PURE__*/function (_DataCore) {
215
215
  };
216
216
 
217
217
  _this.buildInitialValues = function () {
218
- return _this.fillFormDefaultInitialValues();
218
+ return _this.fillDefaultInitialValues();
219
219
  };
220
220
 
221
- _this.fillFormDefaultInitialValues = function () {
221
+ _this.fillDefaultInitialValues = function () {
222
222
  var initialValues = {};
223
223
  initialValues[_constants.formNameCollection.createTime.name] = (0, _tools.formatDatetime)(new Date(), _constants.datetimeFormat.yearMonthDayHourMinute);
224
224
  return initialValues;
@@ -229,7 +229,7 @@ var BaseAddForm = /*#__PURE__*/function (_DataCore) {
229
229
 
230
230
  var formLayout = _this.buildFormLayout();
231
231
 
232
- var otherFormProps = _this.buildOtherFormProps();
232
+ var otherFormProps = _this.buildFormAdditionalConfig();
233
233
 
234
234
  return /*#__PURE__*/_react["default"].createElement(_form["default"], _extends({
235
235
  ref: _this.formRef,
@@ -29,12 +29,12 @@ declare class ListBase extends AuthorizationWrapper {
29
29
  buildColumnItem: (o: any) => any;
30
30
  getColumn: () => any;
31
31
  getColumnMerged: () => any;
32
- handleFormReset: () => void;
33
- handleFormOtherReset: () => void;
32
+ handleSearchReset: () => void;
33
+ handleAdditionalSearchReset: () => void;
34
34
  handleSearch: () => void;
35
- getSearchForm: () => any;
36
- buildSearchFormContent: (config: any) => JSX.Element | null;
37
- buildSearchFormContentItem: (contentItem: any, contentIndex: any) => JSX.Element;
35
+ getSearchCard: () => any;
36
+ buildSearchCardContent: (config: any) => JSX.Element | null;
37
+ buildSearchCardContentItem: (contentItem: any, contentIndex: any) => JSX.Element;
38
38
  establishSearchCardConfig: () => {
39
39
  list: ({
40
40
  lg: number;
@@ -48,16 +48,16 @@ declare class ListBase extends AuthorizationWrapper {
48
48
  dateRangeFieldName?: undefined;
49
49
  })[];
50
50
  };
51
- renderSimpleFormButtonCore: () => JSX.Element;
52
- renderSimpleFormButton: (ColMd?: number) => JSX.Element;
53
- renderSimpleFormRangePickerCore: (dateRangeFieldName: any, rangePickerProps?: null) => JSX.Element;
54
- renderSimpleFormRangePicker: (dateRangeFieldName: any, colLg?: number, rangePickerProps?: null) => JSX.Element;
55
- renderSimpleFormRow: () => JSX.Element | null;
51
+ buildSearchCardButtonCore: () => JSX.Element;
52
+ buildSearchCardButton: (ColMd?: number) => JSX.Element;
53
+ buildSearchCardRangePickerCore: (dateRangeFieldName: any, rangePickerProps?: null) => JSX.Element;
54
+ buildSearchCardRangePicker: (dateRangeFieldName: any, colLg?: number, rangePickerProps?: null) => JSX.Element;
55
+ buildSearchCardRow: () => JSX.Element | null;
56
56
  fillSearchCardInitialValues: () => {};
57
- renderSimpleForm: () => JSX.Element | null;
57
+ buildSearchCard: () => JSX.Element | null;
58
58
  renderForm: () => JSX.Element | null;
59
59
  buildTableOtherConfig: () => {};
60
- buildTableExpandableConfig: () => {};
60
+ establishTableExpandableConfig: () => {};
61
61
  restoreColumnsOtherConfigArray: () => void;
62
62
  buildTableConfig: () => {
63
63
  columns: any;
@@ -73,8 +73,8 @@ declare class ListBase extends AuthorizationWrapper {
73
73
  renderAlertContent: () => string;
74
74
  renderAlertOption: () => void;
75
75
  renderAboveTable: () => JSX.Element | null;
76
- buildDataContainerExtraActionConfigList: () => never[];
77
- establishDataContainerExtraActionList: () => any[];
76
+ establishDataContainerExtraActionCollectionConfig: () => never[];
77
+ buildDataContainerExtraActionCollection: () => any[];
78
78
  renderExtraActionView: () => JSX.Element | null;
79
79
  renderBatchActionMenu: () => never[];
80
80
  renderBatchAction: () => JSX.Element | null;