antd-management-fast-framework 1.12.96 → 1.12.97
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.
|
@@ -46,8 +46,11 @@ declare class Base extends BaseWindow {
|
|
|
46
46
|
buildBottomBarInnerDefaultConfigList: () => {
|
|
47
47
|
buildType: string;
|
|
48
48
|
}[];
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
buildBottomBarInnerLeftItemConfigList: () => never[];
|
|
50
|
+
buildBottomBarInnerRightItemConfigList: () => any[];
|
|
51
|
+
renderBottomBarRightBox: () => any[] | null;
|
|
52
|
+
renderBottomBarLeftBox: () => any[] | null;
|
|
53
|
+
renderBottomBarInnerBox: (configList: any) => any[];
|
|
51
54
|
renderBottomBar: () => JSX.Element;
|
|
52
55
|
renderFurther(): JSX.Element;
|
|
53
56
|
}
|
|
@@ -41,6 +41,8 @@ var _layout = _interopRequireDefault(require("antd/es/layout"));
|
|
|
41
41
|
|
|
42
42
|
var _react = _interopRequireWildcard(require("react"));
|
|
43
43
|
|
|
44
|
+
var _FlexBox = _interopRequireDefault(require("../../../customComponents/FlexBox"));
|
|
45
|
+
|
|
44
46
|
var _FunctionComponent = require("../../../customComponents/FunctionComponent");
|
|
45
47
|
|
|
46
48
|
var _IconInfo = _interopRequireDefault(require("../../../customComponents/IconInfo"));
|
|
@@ -224,7 +226,11 @@ var Base = /*#__PURE__*/function (_BaseWindow) {
|
|
|
224
226
|
}];
|
|
225
227
|
};
|
|
226
228
|
|
|
227
|
-
_this.
|
|
229
|
+
_this.buildBottomBarInnerLeftItemConfigList = function () {
|
|
230
|
+
return [];
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
_this.buildBottomBarInnerRightItemConfigList = function () {
|
|
228
234
|
var bottomBarInnerExtraConfigList = _this.buildBottomBarInnerExtraConfigList();
|
|
229
235
|
|
|
230
236
|
var bottomBarInnerDefaultConfigList = _this.buildBottomBarInnerDefaultConfigList();
|
|
@@ -232,10 +238,28 @@ var Base = /*#__PURE__*/function (_BaseWindow) {
|
|
|
232
238
|
return [].concat(_toConsumableArray(bottomBarInnerExtraConfigList), _toConsumableArray(bottomBarInnerDefaultConfigList));
|
|
233
239
|
};
|
|
234
240
|
|
|
235
|
-
_this.
|
|
236
|
-
var
|
|
241
|
+
_this.renderBottomBarRightBox = function () {
|
|
242
|
+
var rightConfigList = _this.buildBottomBarInnerRightItemConfigList();
|
|
243
|
+
|
|
244
|
+
if (!(0, _tools.isArray)(rightConfigList) || rightConfigList.length <= 0) {
|
|
245
|
+
return null;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
return _this.renderBottomBarInnerBox(rightConfigList);
|
|
249
|
+
};
|
|
237
250
|
|
|
238
|
-
|
|
251
|
+
_this.renderBottomBarLeftBox = function () {
|
|
252
|
+
var leftConfigList = _this.buildBottomBarInnerLeftItemConfigList();
|
|
253
|
+
|
|
254
|
+
if (!(0, _tools.isArray)(leftConfigList) || rightConfigList.length <= 0) {
|
|
255
|
+
return null;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
return _this.renderBottomBarInnerBox(rightConfigList);
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
_this.renderBottomBarInnerBox = function (configList) {
|
|
262
|
+
var components = [];
|
|
239
263
|
|
|
240
264
|
var that = _assertThisInitialized(_this);
|
|
241
265
|
|
|
@@ -333,6 +357,10 @@ var Base = /*#__PURE__*/function (_BaseWindow) {
|
|
|
333
357
|
};
|
|
334
358
|
|
|
335
359
|
_this.renderBottomBar = function () {
|
|
360
|
+
var bottomBarLeftBox = _this.renderBottomBarLeftBox();
|
|
361
|
+
|
|
362
|
+
var bottomBarRightBox = _this.renderBottomBarRightBox();
|
|
363
|
+
|
|
336
364
|
return /*#__PURE__*/_react.default.createElement(Footer, null, /*#__PURE__*/_react.default.createElement(_affix.default, {
|
|
337
365
|
offsetBottom: 0
|
|
338
366
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -342,11 +370,23 @@ var Base = /*#__PURE__*/function (_BaseWindow) {
|
|
|
342
370
|
style: {
|
|
343
371
|
textAlign: 'right'
|
|
344
372
|
}
|
|
345
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
346
|
-
|
|
347
|
-
|
|
373
|
+
}, /*#__PURE__*/_react.default.createElement(_FlexBox.default, {
|
|
374
|
+
flexAuto: "left",
|
|
375
|
+
left: /*#__PURE__*/_react.default.createElement(_space.default, {
|
|
376
|
+
split: /*#__PURE__*/_react.default.createElement(_divider.default, {
|
|
377
|
+
type: "vertical"
|
|
378
|
+
})
|
|
379
|
+
}, bottomBarLeftBox),
|
|
380
|
+
right: /*#__PURE__*/_react.default.createElement(_FlexBox.default, {
|
|
381
|
+
flexAuto: "left",
|
|
382
|
+
left: /*#__PURE__*/_react.default.createElement("div", null),
|
|
383
|
+
right: /*#__PURE__*/_react.default.createElement(_space.default, {
|
|
384
|
+
split: /*#__PURE__*/_react.default.createElement(_divider.default, {
|
|
385
|
+
type: "vertical"
|
|
386
|
+
})
|
|
387
|
+
}, bottomBarRightBox)
|
|
348
388
|
})
|
|
349
|
-
}
|
|
389
|
+
}))))));
|
|
350
390
|
};
|
|
351
391
|
|
|
352
392
|
var defaultState = (0, _tools.defaultFormState)();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antd-management-fast-framework",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.97",
|
|
4
4
|
"description": "antd-management-fast-framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antd-management-fast-framework"
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
"src/framework",
|
|
220
220
|
"src/utils"
|
|
221
221
|
],
|
|
222
|
-
"gitHead": "
|
|
222
|
+
"gitHead": "2a61765782a522ab3f521f9cbfe36d80a3d56bb0",
|
|
223
223
|
"gitHooks": {
|
|
224
224
|
"pre-commit": "lint-staged"
|
|
225
225
|
}
|