antd-management-fast-framework 1.9.39 → 1.11.2
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.
- package/es/configGroup/configGeneral.js +1 -1
- package/es/configGroup/webpackPlugin.js +5 -5
- package/es/customComponents/AMap/UIPoiPicker.js +2 -2
- package/es/customComponents/AMap/UIPositionPicker.js +2 -2
- package/es/customComponents/ActiveChart/index.js +22 -22
- package/es/customComponents/AnimalBox/FadeBox/index.js +8 -8
- package/es/customComponents/AnimalBox/QueueBox/index.js +5 -5
- package/es/customComponents/AnimalBox/QueueListBox/index.js +8 -8
- package/es/customComponents/AnimalBox/RotateBox/index.js +6 -6
- package/es/customComponents/ArticleListContent/index.js +13 -13
- package/es/customComponents/Authorized/Authorized.js +6 -6
- package/es/customComponents/Authorized/AuthorizedRoute.js +8 -8
- package/es/customComponents/Authorized/CheckPermissions.js +5 -5
- package/es/customComponents/Authorized/PromiseRender.js +11 -11
- package/es/customComponents/Authorized/Secured.js +8 -8
- package/es/customComponents/Authorized/index.js +6 -6
- package/es/customComponents/Authorized/renderAuthorize.js +2 -2
- package/es/customComponents/AvatarList/index.js +16 -16
- package/es/customComponents/Canvas/Bubbly/index.js +4 -4
- package/es/customComponents/Canvas/Core/index.js +7 -7
- package/es/customComponents/Canvas/RadarScanning/index.js +4 -4
- package/es/customComponents/Canvas/Spirit/index.js +4 -4
- package/es/customComponents/Canvas/index.js +6 -6
- package/es/customComponents/CenterBox/index.js +5 -5
- package/es/customComponents/Charts/Bar/index.js +12 -12
- package/es/customComponents/Charts/ChartCard/index.js +29 -29
- package/es/customComponents/Charts/Field/index.js +9 -9
- package/es/customComponents/Charts/Gauge/index.js +14 -14
- package/es/customComponents/Charts/MiniArea/index.js +13 -13
- package/es/customComponents/Charts/MiniBar/index.js +10 -10
- package/es/customComponents/Charts/MiniProgress/index.js +14 -14
- package/es/customComponents/Charts/Pie/index.js +33 -33
- package/es/customComponents/Charts/TagCloud/index.js +12 -12
- package/es/customComponents/Charts/TimelineChart/index.js +14 -14
- package/es/customComponents/Charts/WaterWave/index.js +12 -12
- package/es/customComponents/Charts/autoHeight.js +5 -5
- package/es/customComponents/Charts/bizcharts.js +3 -3
- package/es/customComponents/Charts/index.js +26 -26
- package/es/customComponents/ColorText/index.js +7 -7
- package/es/customComponents/Countdown/index.js +7 -7
- package/es/customComponents/DataPreviewDrawer/index.js +14 -14
- package/es/customComponents/DecorateAvatar/index.js +9 -9
- package/es/customComponents/DisplayCopyData/index.js +7 -7
- package/es/customComponents/EditableItem/index.js +15 -15
- package/es/customComponents/EditableLinkGroup/index.js +11 -11
- package/es/customComponents/Ellipsis/index.js +35 -26
- package/es/customComponents/Ellipsis/index.less +2 -1
- package/es/customComponents/EllipsisCustom/index.js +23 -23
- package/es/customComponents/EverySpace/index.js +5 -5
- package/es/customComponents/Exception/index.js +20 -20
- package/es/customComponents/Exception/typeConfig.js +2 -2
- package/es/customComponents/FigureRange/index.js +33 -33
- package/es/customComponents/FileBase64Upload/index.js +8 -8
- package/es/customComponents/FlexBox/index.js +23 -17
- package/es/customComponents/FlexText/index.d.ts +1 -0
- package/es/customComponents/FlexText/index.js +16 -8
- package/es/customComponents/FooterToolbar/index.js +11 -11
- package/es/customComponents/FromDisplayItem/index.js +6 -6
- package/es/customComponents/FunctionComponent/index.js +211 -200
- package/es/customComponents/GlobalFooter/index.js +10 -10
- package/es/customComponents/HelpBox/index.js +8 -8
- package/es/customComponents/HelpCard/index.js +6 -6
- package/es/customComponents/HtmlBox/index.js +6 -6
- package/es/customComponents/IconInfo/index.d.ts +5 -1
- package/es/customComponents/IconInfo/index.js +160 -68
- package/es/customComponents/ImageBox/index.js +48 -48
- package/es/customComponents/ImageContentPreview/index.js +18 -18
- package/es/customComponents/ImageUpload/index.js +31 -31
- package/es/customComponents/Login/LoginItem.js +18 -18
- package/es/customComponents/Login/LoginSubmit.js +6 -6
- package/es/customComponents/Login/LoginTab.js +8 -8
- package/es/customComponents/Login/index.js +19 -19
- package/es/customComponents/Login/loginContext.js +2 -2
- package/es/customComponents/Login/map.js +11 -11
- package/es/customComponents/MobileContainor/index.js +11 -11
- package/es/customComponents/NoticeIconCustom/NoticeList.js +26 -26
- package/es/customComponents/NoticeIconCustom/index.js +19 -19
- package/es/customComponents/NumberInfo/index.js +16 -16
- package/es/customComponents/PageLoading/index.js +2 -2
- package/es/customComponents/PercentageBox/index.js +4 -4
- package/es/customComponents/PriceBox/index.js +9 -9
- package/es/customComponents/Result/index.js +18 -18
- package/es/customComponents/StandardFormRow/index.js +9 -9
- package/es/customComponents/StandardTable/index.js +14 -14
- package/es/customComponents/StandardTableCustom/index.js +15 -15
- package/es/customComponents/StatusBar/index.js +9 -9
- package/es/customComponents/TagSelect/index.js +15 -15
- package/es/customComponents/TimeLineCustom/index.js +40 -40
- package/es/customComponents/Trend/index.js +7 -7
- package/es/customComponents/VerticalBox/index.js +8 -8
- package/es/customComponents/VideoUpload/index.js +35 -35
- package/es/framework/AuthorizationWrapper/index.js +4 -4
- package/es/framework/Base/index.js +6 -6
- package/es/framework/ButtonExtension/SelectButton/Base/index.js +6 -6
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.js +4 -4
- package/es/framework/Common/index.js +98 -92
- package/es/framework/Core/index.js +4 -4
- package/es/framework/CustomBase/index.js +2 -2
- package/es/framework/CustomWrapper/Supplement/index.js +4 -4
- package/es/framework/CustomWrapper/SupplementCore/index.js +4 -4
- package/es/framework/CustomWrapper/SupplementWrapper/index.js +4 -4
- package/es/framework/DataDrawer/Base/index.js +26 -26
- package/es/framework/DataDrawer/BaseAddDrawer/index.js +5 -5
- package/es/framework/DataDrawer/BaseLoadDrawer/index.js +4 -4
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +4 -4
- package/es/framework/DataDrawer/BaseSaveDrawer/index.js +4 -4
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.js +4 -4
- package/es/framework/DataForm/BaseAddForm/index.js +11 -11
- package/es/framework/DataForm/BaseUpdateForm/index.js +7 -7
- package/es/framework/DataForm/BaseUpdateFormContent/index.js +5 -5
- package/es/framework/DataForm/BaseUpdateFormTab/index.js +4 -4
- package/es/framework/DataListView/Base/index.js +79 -79
- package/es/framework/DataListView/BatchAction/index.js +18 -18
- package/es/framework/DataListView/ColumnSetting/DndItem.js +4 -4
- package/es/framework/DataListView/ColumnSetting/index.js +37 -37
- package/es/framework/DataListView/DensityAction/index.js +12 -12
- package/es/framework/DataMenuContainer/index.js +15 -15
- package/es/framework/DataModal/Base/index.js +14 -14
- package/es/framework/DataModal/BaseAddModal/index.js +4 -4
- package/es/framework/DataModal/BaseLoadModal/index.js +4 -4
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.js +4 -4
- package/es/framework/DataModal/BaseSelectModal/index.js +4 -4
- package/es/framework/DataModal/BaseUpdateModal/index.js +4 -4
- package/es/framework/DataModal/BaseUpdateTransferModal/index.js +5 -5
- package/es/framework/DataMultiPageView/InnerMultiPage/index.js +4 -4
- package/es/framework/DataMultiPageView/MultiPage/index.js +6 -6
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +51 -51
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.js +6 -6
- package/es/framework/DataOperation/Base/index.js +10 -10
- package/es/framework/DataOperation/BaseView/index.js +4 -4
- package/es/framework/DataOperation/BaseWindow/index.js +8 -8
- package/es/framework/DataSinglePageView/InnerSinglePage/index.js +4 -4
- package/es/framework/DataSinglePageView/SinglePage/index.js +6 -6
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +48 -48
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +6 -6
- package/es/framework/DataSingleView/DataCore/index.js +21 -21
- package/es/framework/DataSingleView/DataLoad/index.js +4 -4
- package/es/framework/DataTabContainer/index.js +9 -9
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.js +10 -10
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldDrawerBase/index.js +5 -5
- package/es/framework/Wrapper/index.js +4 -4
- package/es/index.js +1 -1
- package/es/utils/Authorized.js +5 -5
- package/es/utils/Yuan.js +5 -5
- package/es/utils/actionAssist.js +6 -6
- package/es/utils/authority.js +2 -2
- package/es/utils/cacheAssist.js +2 -2
- package/es/utils/constants.d.ts +1 -0
- package/es/utils/constants.js +7 -2
- package/es/utils/proLayoutCollection.js +7 -7
- package/es/utils/request.js +7 -7
- package/es/utils/requestAssistor.js +5 -5
- package/es/utils/tools.js +34 -34
- package/es/utils/virtualRequest.js +4 -4
- package/package.json +3 -1
|
@@ -5,7 +5,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports
|
|
8
|
+
exports.default = void 0;
|
|
9
9
|
|
|
10
10
|
require("antd/es/back-top/style");
|
|
11
11
|
|
|
@@ -99,9 +99,9 @@ var _index = _interopRequireDefault(require("./index.less"));
|
|
|
99
99
|
|
|
100
100
|
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); }
|
|
101
101
|
|
|
102
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return {
|
|
102
|
+
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; }
|
|
103
103
|
|
|
104
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
104
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
105
105
|
|
|
106
106
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
107
107
|
|
|
@@ -143,8 +143,8 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
143
143
|
|
|
144
144
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
145
145
|
|
|
146
|
-
var FormItem = _form
|
|
147
|
-
var RangePicker = _datePicker
|
|
146
|
+
var FormItem = _form.default.Item;
|
|
147
|
+
var RangePicker = _datePicker.default.RangePicker;
|
|
148
148
|
|
|
149
149
|
var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
150
150
|
_inherits(ListBase, _AuthorizationWrapper);
|
|
@@ -166,7 +166,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
166
166
|
_this = _super.call(this, props);
|
|
167
167
|
_this.useRemotePagination = true;
|
|
168
168
|
_this.useFrontendPagination = false;
|
|
169
|
-
_this.formRef = /*#__PURE__*/_react
|
|
169
|
+
_this.formRef = /*#__PURE__*/_react.default.createRef();
|
|
170
170
|
_this.pageSizeAdditional = 0;
|
|
171
171
|
|
|
172
172
|
_this.afterDidMount = function () {
|
|
@@ -348,7 +348,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
348
348
|
_this.searchData({
|
|
349
349
|
formValues: values
|
|
350
350
|
});
|
|
351
|
-
})
|
|
351
|
+
}).catch(function (error) {
|
|
352
352
|
var errorFields = error.errorFields;
|
|
353
353
|
|
|
354
354
|
if (!(0, _tools.isUndefined)(errorFields)) {
|
|
@@ -405,7 +405,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
407
|
|
|
408
|
-
return /*#__PURE__*/_react
|
|
408
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_row.default, {
|
|
409
409
|
gutter: 24
|
|
410
410
|
}, listData.map(function (item, index) {
|
|
411
411
|
return _this.buildSearchCardContentItem(item, index);
|
|
@@ -450,13 +450,13 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
450
450
|
|
|
451
451
|
var lg = (lgValue || 6) <= 0 ? 6 : lgValue;
|
|
452
452
|
lg = lg > 24 ? 24 : lg;
|
|
453
|
-
return /*#__PURE__*/_react
|
|
453
|
+
return /*#__PURE__*/_react.default.createElement(_col.default, {
|
|
454
454
|
key: contentItemKey,
|
|
455
455
|
lg: lg || 6,
|
|
456
456
|
md: md,
|
|
457
457
|
sm: sm,
|
|
458
458
|
xs: xs
|
|
459
|
-
}, type === _constants.searchCardConfig.contentItemType.input ? _this.renderSearchInput(fieldData.label, fieldData.name, showHelper ? fieldData.helper : '', icon || /*#__PURE__*/_react
|
|
459
|
+
}, 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 || {}), {
|
|
460
460
|
disabled: true
|
|
461
461
|
})) : 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);
|
|
462
462
|
};
|
|
@@ -481,15 +481,15 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
481
481
|
dataLoading = _this$state.dataLoading,
|
|
482
482
|
reloading = _this$state.reloading,
|
|
483
483
|
searching = _this$state.searching;
|
|
484
|
-
return /*#__PURE__*/_react
|
|
485
|
-
className: _index
|
|
486
|
-
}, /*#__PURE__*/_react
|
|
484
|
+
return /*#__PURE__*/_react.default.createElement("span", {
|
|
485
|
+
className: _index.default.submitButtons
|
|
486
|
+
}, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
487
487
|
disabled: dataLoading || reloading || searching,
|
|
488
488
|
type: "primary",
|
|
489
489
|
onClick: function onClick(e) {
|
|
490
490
|
_this.handleSearch(e);
|
|
491
491
|
}
|
|
492
|
-
}, searching ? /*#__PURE__*/_react
|
|
492
|
+
}, searching ? /*#__PURE__*/_react.default.createElement(_icons.LoadingOutlined, null) : /*#__PURE__*/_react.default.createElement(_icons.SearchOutlined, null), "\u67E5\u8BE2"), /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
493
493
|
disabled: dataLoading || reloading || searching,
|
|
494
494
|
style: {
|
|
495
495
|
marginLeft: 8
|
|
@@ -497,12 +497,12 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
497
497
|
onClick: function onClick() {
|
|
498
498
|
_this.handleSearchReset();
|
|
499
499
|
}
|
|
500
|
-
}, reloading ? /*#__PURE__*/_react
|
|
500
|
+
}, reloading ? /*#__PURE__*/_react.default.createElement(_icons.LoadingOutlined, null) : /*#__PURE__*/_react.default.createElement(_icons.ReloadOutlined, null), "\u91CD\u7F6E"));
|
|
501
501
|
};
|
|
502
502
|
|
|
503
503
|
_this.buildSearchCardButton = function () {
|
|
504
504
|
var ColMd = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 6;
|
|
505
|
-
return /*#__PURE__*/_react
|
|
505
|
+
return /*#__PURE__*/_react.default.createElement(_col.default, {
|
|
506
506
|
md: ColMd,
|
|
507
507
|
sm: 24
|
|
508
508
|
}, _this.buildSearchCardButtonCore());
|
|
@@ -542,19 +542,19 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
542
542
|
}
|
|
543
543
|
}, rangePickerProps || {}));
|
|
544
544
|
|
|
545
|
-
return /*#__PURE__*/_react
|
|
545
|
+
return /*#__PURE__*/_react.default.createElement(FormItem, {
|
|
546
546
|
label: dateRangeFieldName,
|
|
547
547
|
rules: [{
|
|
548
548
|
required: false,
|
|
549
549
|
message: (0, _tools.buildFieldDescription)(dateRangeFieldName, '选择')
|
|
550
550
|
}]
|
|
551
|
-
}, /*#__PURE__*/_react
|
|
551
|
+
}, /*#__PURE__*/_react.default.createElement(RangePicker, p));
|
|
552
552
|
};
|
|
553
553
|
|
|
554
554
|
_this.buildSearchCardRangePicker = function (dateRangeFieldName) {
|
|
555
555
|
var colLg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 8;
|
|
556
556
|
var rangePickerProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
557
|
-
return /*#__PURE__*/_react
|
|
557
|
+
return /*#__PURE__*/_react.default.createElement(_col.default, {
|
|
558
558
|
lg: colLg,
|
|
559
559
|
md: 12,
|
|
560
560
|
sm: 24,
|
|
@@ -583,7 +583,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
583
583
|
return null;
|
|
584
584
|
}
|
|
585
585
|
|
|
586
|
-
return /*#__PURE__*/_react
|
|
586
|
+
return /*#__PURE__*/_react.default.createElement(_form.default, {
|
|
587
587
|
ref: _this.formRef,
|
|
588
588
|
initialValues: _this.fillSearchCardInitialValues(),
|
|
589
589
|
onSubmit: _this.handleSearch,
|
|
@@ -672,8 +672,8 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
672
672
|
|
|
673
673
|
var temp = _objectSpread(_objectSpread({}, {}), item);
|
|
674
674
|
|
|
675
|
-
if (temp
|
|
676
|
-
temp
|
|
675
|
+
if (temp.delete) {
|
|
676
|
+
temp.delete('dataIndex');
|
|
677
677
|
}
|
|
678
678
|
|
|
679
679
|
o["".concat(dataIndex)] = temp;
|
|
@@ -702,15 +702,15 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
702
702
|
return null;
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
-
return /*#__PURE__*/_react
|
|
706
|
-
className: _index
|
|
707
|
-
}, /*#__PURE__*/_react
|
|
708
|
-
message: /*#__PURE__*/_react
|
|
709
|
-
className: _index
|
|
710
|
-
}, /*#__PURE__*/_react
|
|
711
|
-
className: _index
|
|
712
|
-
}, content), option && /*#__PURE__*/_react
|
|
713
|
-
className: _index
|
|
705
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
706
|
+
className: _index.default.alertContainor
|
|
707
|
+
}, /*#__PURE__*/_react.default.createElement(_alert.default, {
|
|
708
|
+
message: /*#__PURE__*/_react.default.createElement("div", {
|
|
709
|
+
className: _index.default.alertInfo
|
|
710
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
711
|
+
className: _index.default.alertContent
|
|
712
|
+
}, content), option && /*#__PURE__*/_react.default.createElement("div", {
|
|
713
|
+
className: _index.default.alertOption
|
|
714
714
|
}, option)),
|
|
715
715
|
type: "info",
|
|
716
716
|
showIcon: true
|
|
@@ -776,7 +776,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
776
776
|
break;
|
|
777
777
|
|
|
778
778
|
case _constants.listViewConfig.dataContainerExtraActionBuildType.iconInfo:
|
|
779
|
-
itemAdjust = /*#__PURE__*/_react
|
|
779
|
+
itemAdjust = /*#__PURE__*/_react.default.createElement(_IconInfo.default, {
|
|
780
780
|
icon: itemIcon,
|
|
781
781
|
text: itemText
|
|
782
782
|
});
|
|
@@ -791,7 +791,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
791
791
|
break;
|
|
792
792
|
}
|
|
793
793
|
|
|
794
|
-
components.push( /*#__PURE__*/_react
|
|
794
|
+
components.push( /*#__PURE__*/_react.default.createElement(_react.Fragment, {
|
|
795
795
|
key: itemKey
|
|
796
796
|
}, itemAdjust));
|
|
797
797
|
}
|
|
@@ -804,8 +804,8 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
804
804
|
var actions = _this.buildDataContainerExtraActionCollection();
|
|
805
805
|
|
|
806
806
|
if ((0, _tools.isArray)(actions) && actions.length > 0) {
|
|
807
|
-
return /*#__PURE__*/_react
|
|
808
|
-
split: /*#__PURE__*/_react
|
|
807
|
+
return /*#__PURE__*/_react.default.createElement(_space.default, {
|
|
808
|
+
split: /*#__PURE__*/_react.default.createElement(_divider.default, {
|
|
809
809
|
type: "vertical"
|
|
810
810
|
})
|
|
811
811
|
}, actions.map(function (item) {
|
|
@@ -830,13 +830,13 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
830
830
|
var batchActionMenu = _this.renderBatchActionMenu();
|
|
831
831
|
|
|
832
832
|
if ((batchActionMenu || []).length > 0) {
|
|
833
|
-
return /*#__PURE__*/_react
|
|
833
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_BatchAction.default.Button, {
|
|
834
834
|
onSelect: function onSelect(key) {
|
|
835
835
|
_this.onBatchActionSelect(key);
|
|
836
836
|
},
|
|
837
837
|
menus: batchActionMenu,
|
|
838
838
|
disabled: selectRows.length === 0
|
|
839
|
-
}, "\u6279\u91CF\u64CD\u4F5C"), /*#__PURE__*/_react
|
|
839
|
+
}, "\u6279\u91CF\u64CD\u4F5C"), /*#__PURE__*/_react.default.createElement(_divider.default, {
|
|
840
840
|
type: "vertical"
|
|
841
841
|
}));
|
|
842
842
|
}
|
|
@@ -964,9 +964,9 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
964
964
|
|
|
965
965
|
var ellipsisActionData = _this.establishPageHeaderActionExtraEllipsisConfig();
|
|
966
966
|
|
|
967
|
-
return /*#__PURE__*/_react
|
|
968
|
-
className: _index
|
|
969
|
-
}, (buttonGroupData || null) == null ? null : (0, _FunctionComponent.buildButtonGroup)(buttonGroupData), (ellipsisActionData || null) == null ? null : /*#__PURE__*/_react
|
|
967
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
968
|
+
className: _index.default.buttonBox
|
|
969
|
+
}, (buttonGroupData || null) == null ? null : (0, _FunctionComponent.buildButtonGroup)(buttonGroupData), (ellipsisActionData || null) == null ? null : /*#__PURE__*/_react.default.createElement(_divider.default, {
|
|
970
970
|
type: "vertical"
|
|
971
971
|
}), (ellipsisActionData || null) == null ? null : (0, _FunctionComponent.buildDropdownEllipsis)(ellipsisActionData)));
|
|
972
972
|
};
|
|
@@ -1074,9 +1074,9 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1074
1074
|
|
|
1075
1075
|
var style = _this.establishPaginationViewStyle();
|
|
1076
1076
|
|
|
1077
|
-
return /*#__PURE__*/_react
|
|
1077
|
+
return /*#__PURE__*/_react.default.createElement(_FlexBox.default, {
|
|
1078
1078
|
style: style,
|
|
1079
|
-
right: /*#__PURE__*/_react
|
|
1079
|
+
right: /*#__PURE__*/_react.default.createElement(_pagination.default, _extends({}, paginationConfig, {
|
|
1080
1080
|
onChange: function onChange(page, size) {
|
|
1081
1081
|
_this.handlePaginationChange(page, size);
|
|
1082
1082
|
},
|
|
@@ -1096,25 +1096,25 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1096
1096
|
refreshing = _this$state5.refreshing;
|
|
1097
1097
|
|
|
1098
1098
|
if (listViewMode === _constants.listViewConfig.viewMode.table) {
|
|
1099
|
-
return /*#__PURE__*/_react
|
|
1099
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_DensityAction.default, {
|
|
1100
1100
|
tableSize: tableSize,
|
|
1101
1101
|
setTableSize: function setTableSize(key) {
|
|
1102
1102
|
_this.setTableSize(key);
|
|
1103
1103
|
}
|
|
1104
|
-
}), /*#__PURE__*/_react
|
|
1104
|
+
}), /*#__PURE__*/_react.default.createElement(_tooltip.default, {
|
|
1105
1105
|
title: "\u5237\u65B0\u672C\u9875"
|
|
1106
|
-
}, /*#__PURE__*/_react
|
|
1106
|
+
}, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
1107
1107
|
shape: "circle",
|
|
1108
1108
|
style: {
|
|
1109
1109
|
color: '#000',
|
|
1110
1110
|
border: 0
|
|
1111
1111
|
},
|
|
1112
1112
|
loading: refreshing,
|
|
1113
|
-
icon: /*#__PURE__*/_react
|
|
1113
|
+
icon: /*#__PURE__*/_react.default.createElement(_icons.ReloadOutlined, null),
|
|
1114
1114
|
onClick: function onClick() {
|
|
1115
1115
|
_this.refreshData();
|
|
1116
1116
|
}
|
|
1117
|
-
})), /*#__PURE__*/_react
|
|
1117
|
+
})), /*#__PURE__*/_react.default.createElement(_ColumnSetting.default, {
|
|
1118
1118
|
columns: _this.getColumn(),
|
|
1119
1119
|
columnsMap: _this.getColumnsMap(),
|
|
1120
1120
|
setColumnsMap: function setColumnsMap(e) {
|
|
@@ -1126,22 +1126,22 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1126
1126
|
}));
|
|
1127
1127
|
}
|
|
1128
1128
|
|
|
1129
|
-
return /*#__PURE__*/_react
|
|
1129
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_tooltip.default, {
|
|
1130
1130
|
title: "\u5237\u65B0\u672C\u9875"
|
|
1131
|
-
}, /*#__PURE__*/_react
|
|
1131
|
+
}, /*#__PURE__*/_react.default.createElement(_button.default, (_React$createElement = {
|
|
1132
1132
|
shape: "circle",
|
|
1133
1133
|
style: {
|
|
1134
1134
|
color: '#000',
|
|
1135
1135
|
border: 0
|
|
1136
1136
|
},
|
|
1137
1137
|
loading: refreshing
|
|
1138
|
-
}, _defineProperty(_React$createElement, "loading", refreshing), _defineProperty(_React$createElement, "icon", /*#__PURE__*/_react
|
|
1138
|
+
}, _defineProperty(_React$createElement, "loading", refreshing), _defineProperty(_React$createElement, "icon", /*#__PURE__*/_react.default.createElement(_icons.ReloadOutlined, null)), _defineProperty(_React$createElement, "onClick", function onClick() {
|
|
1139
1139
|
_this.refreshData();
|
|
1140
1140
|
}), _React$createElement))));
|
|
1141
1141
|
};
|
|
1142
1142
|
|
|
1143
1143
|
_this.renderListViewItem = function (record, index) {
|
|
1144
|
-
return /*#__PURE__*/_react
|
|
1144
|
+
return /*#__PURE__*/_react.default.createElement(_list.default.Item, {
|
|
1145
1145
|
actions: _this.renderListViewItemActions(record, index),
|
|
1146
1146
|
extra: _this.renderListViewItemExtra(record, index)
|
|
1147
1147
|
}, _this.renderListViewItemInner(record, index));
|
|
@@ -1198,9 +1198,9 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1198
1198
|
dataLoading = _this$state6.dataLoading,
|
|
1199
1199
|
reloading = _this$state6.reloading,
|
|
1200
1200
|
processing = _this$state6.processing;
|
|
1201
|
-
return /*#__PURE__*/_react
|
|
1201
|
+
return /*#__PURE__*/_react.default.createElement(_spin.default, {
|
|
1202
1202
|
spinning: dataLoading || reloading || processing
|
|
1203
|
-
}, /*#__PURE__*/_react
|
|
1203
|
+
}, /*#__PURE__*/_react.default.createElement(_list.default, {
|
|
1204
1204
|
itemLayout: _this.renderListViewItemLayout(),
|
|
1205
1205
|
size: _this.renderListViewSize(),
|
|
1206
1206
|
dataSource: _this.getCanUseFrontendPagination() ? _this.adjustFrontendPaginationViewDataSource() : _this.adjustViewDataSource(),
|
|
@@ -1253,9 +1253,9 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1253
1253
|
standardTableCustomOption.scroll = tableScroll;
|
|
1254
1254
|
}
|
|
1255
1255
|
|
|
1256
|
-
return /*#__PURE__*/_react
|
|
1257
|
-
className: _index
|
|
1258
|
-
}, /*#__PURE__*/_react
|
|
1256
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
1257
|
+
className: _index.default.tableContainor
|
|
1258
|
+
}, /*#__PURE__*/_react.default.createElement(_StandardTableCustom.default, standardTableCustomOption));
|
|
1259
1259
|
};
|
|
1260
1260
|
|
|
1261
1261
|
_this.renderCardCollectionView = function () {
|
|
@@ -1265,9 +1265,9 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1265
1265
|
processing = _this$state8.processing;
|
|
1266
1266
|
var listItem = _this.getCanUseFrontendPagination() ? _this.adjustFrontendPaginationViewDataSource() : _this.adjustViewDataSource();
|
|
1267
1267
|
var itemCount = listItem.length;
|
|
1268
|
-
return /*#__PURE__*/_react
|
|
1268
|
+
return /*#__PURE__*/_react.default.createElement(_spin.default, {
|
|
1269
1269
|
spinning: dataLoading || reloading || processing
|
|
1270
|
-
}, /*#__PURE__*/_react
|
|
1270
|
+
}, /*#__PURE__*/_react.default.createElement(_space.default, {
|
|
1271
1271
|
style: {
|
|
1272
1272
|
width: '100%'
|
|
1273
1273
|
},
|
|
@@ -1278,11 +1278,11 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1278
1278
|
config: _this.establishCardCollectionViewItemConfig(o),
|
|
1279
1279
|
key: index
|
|
1280
1280
|
});
|
|
1281
|
-
}) : dataLoading || reloading ? /*#__PURE__*/_react
|
|
1281
|
+
}) : dataLoading || reloading ? /*#__PURE__*/_react.default.createElement("div", {
|
|
1282
1282
|
style: {
|
|
1283
1283
|
height: '130px'
|
|
1284
1284
|
}
|
|
1285
|
-
}) : /*#__PURE__*/_react
|
|
1285
|
+
}) : /*#__PURE__*/_react.default.createElement(_empty.default, null)), _this.renderPaginationView());
|
|
1286
1286
|
};
|
|
1287
1287
|
|
|
1288
1288
|
_this.renderPaginationView = function () {
|
|
@@ -1337,23 +1337,23 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1337
1337
|
var searchForm = _this.renderForm();
|
|
1338
1338
|
|
|
1339
1339
|
var hasPagination = _this.renderPaginationView() != null;
|
|
1340
|
-
return /*#__PURE__*/_react
|
|
1341
|
-
className: _index
|
|
1340
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
1341
|
+
className: _index.default.containorBox,
|
|
1342
1342
|
style: {
|
|
1343
1343
|
overflowX: 'hidden'
|
|
1344
1344
|
}
|
|
1345
|
-
}, /*#__PURE__*/_react
|
|
1345
|
+
}, /*#__PURE__*/_react.default.createElement(_space.default, {
|
|
1346
1346
|
style: {
|
|
1347
1347
|
width: '100%'
|
|
1348
1348
|
},
|
|
1349
1349
|
direction: "vertical",
|
|
1350
1350
|
size: 24
|
|
1351
|
-
}, _this.buildToolBarWrapper(), renderSearchForm && (searchForm || null) != null ? /*#__PURE__*/_react
|
|
1351
|
+
}, _this.buildToolBarWrapper(), renderSearchForm && (searchForm || null) != null ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_card.default, {
|
|
1352
1352
|
bordered: false,
|
|
1353
|
-
className: _index
|
|
1354
|
-
}, /*#__PURE__*/_react
|
|
1355
|
-
className: _index
|
|
1356
|
-
}, searchForm))) : null, /*#__PURE__*/_react
|
|
1353
|
+
className: _index.default.containorSearch
|
|
1354
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
1355
|
+
className: _index.default.tableListForm
|
|
1356
|
+
}, searchForm))) : null, /*#__PURE__*/_react.default.createElement(_card.default, {
|
|
1357
1357
|
title: listTitle,
|
|
1358
1358
|
headStyle: {
|
|
1359
1359
|
borderBottom: '0px'
|
|
@@ -1363,17 +1363,17 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1363
1363
|
paddingBottom: hasPagination ? 0 : 24
|
|
1364
1364
|
},
|
|
1365
1365
|
bordered: false,
|
|
1366
|
-
className: _index
|
|
1367
|
-
extra: /*#__PURE__*/_react
|
|
1366
|
+
className: _index.default.containorTable,
|
|
1367
|
+
extra: /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, extraAction, extraAction == null ? null : /*#__PURE__*/_react.default.createElement(_divider.default, {
|
|
1368
1368
|
type: "vertical"
|
|
1369
1369
|
}), _this.renderBatchAction(), _this.renderCardExtraAction())
|
|
1370
|
-
}, /*#__PURE__*/_react
|
|
1371
|
-
className: _index
|
|
1370
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
1371
|
+
className: _index.default.tableList
|
|
1372
1372
|
}, _this.renderAboveTable(), _this.renderView())), _this.buildHelpWrapper()));
|
|
1373
1373
|
};
|
|
1374
1374
|
|
|
1375
1375
|
_this.renderPageBody = function () {
|
|
1376
|
-
return /*#__PURE__*/_react
|
|
1376
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, _this.renderPageContent(), _this.renderOther());
|
|
1377
1377
|
};
|
|
1378
1378
|
|
|
1379
1379
|
_this.lastLoadParams = null;
|
|
@@ -1383,7 +1383,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1383
1383
|
showSelect: false,
|
|
1384
1384
|
renderPageHeaderWrapper: true,
|
|
1385
1385
|
listTitle: '检索结果',
|
|
1386
|
-
defaultAvatarIcon: /*#__PURE__*/_react
|
|
1386
|
+
defaultAvatarIcon: /*#__PURE__*/_react.default.createElement(_icons.PictureOutlined, null),
|
|
1387
1387
|
listViewMode: _constants.listViewConfig.viewMode.list,
|
|
1388
1388
|
avatarImageLoadResult: _DecorateAvatar.avatarImageLoadResultCollection.wait,
|
|
1389
1389
|
showPageHeaderAvatar: false,
|
|
@@ -1413,7 +1413,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1413
1413
|
}) : null;
|
|
1414
1414
|
|
|
1415
1415
|
if (renderPageHeaderWrapper || false) {
|
|
1416
|
-
return /*#__PURE__*/_react
|
|
1416
|
+
return /*#__PURE__*/_react.default.createElement(_proLayout.PageHeaderWrapper, {
|
|
1417
1417
|
avatar: avatarProps,
|
|
1418
1418
|
title: (0, _FunctionComponent.buildPageHeaderTitle)(this.getPageName(), this.establishPageHeaderTitlePrefix()),
|
|
1419
1419
|
subTitle: this.buildPageHeaderSubTitle(),
|
|
@@ -1425,10 +1425,10 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1425
1425
|
tabList: tabListAvailable,
|
|
1426
1426
|
onTabChange: this.handleTabChange,
|
|
1427
1427
|
tabProps: this.buildOtherTabProps()
|
|
1428
|
-
}, this.renderPageBody(), /*#__PURE__*/_react
|
|
1428
|
+
}, this.renderPageBody(), /*#__PURE__*/_react.default.createElement(_backTop.default, null));
|
|
1429
1429
|
}
|
|
1430
1430
|
|
|
1431
|
-
return /*#__PURE__*/_react
|
|
1431
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, this.renderPageBody(), /*#__PURE__*/_react.default.createElement(_backTop.default, null));
|
|
1432
1432
|
}
|
|
1433
1433
|
}], [{
|
|
1434
1434
|
key: "getDerivedStateFromProps",
|
|
@@ -1438,7 +1438,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1438
1438
|
}]);
|
|
1439
1439
|
|
|
1440
1440
|
return ListBase;
|
|
1441
|
-
}(_AuthorizationWrapper2
|
|
1441
|
+
}(_AuthorizationWrapper2.default);
|
|
1442
1442
|
|
|
1443
1443
|
var _default = ListBase;
|
|
1444
|
-
exports
|
|
1444
|
+
exports.default = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
|
|
8
8
|
require("antd/es/dropdown/style");
|
|
9
9
|
|
|
@@ -27,7 +27,7 @@ var _IconInfo = _interopRequireDefault(require("../../../customComponents/IconIn
|
|
|
27
27
|
|
|
28
28
|
var _index = _interopRequireDefault(require("./index.less"));
|
|
29
29
|
|
|
30
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
30
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* 默认的 index 列容器,提供一个好看的 index
|
|
@@ -40,28 +40,28 @@ var DropdownButton = function DropdownButton(_ref) {
|
|
|
40
40
|
onSelect = _ref.onSelect,
|
|
41
41
|
style = _ref.style,
|
|
42
42
|
disabled = _ref.disabled;
|
|
43
|
-
return /*#__PURE__*/_react
|
|
44
|
-
var menu = /*#__PURE__*/_react
|
|
43
|
+
return /*#__PURE__*/_react.default.createElement(_context.ConfigConsumer, null, function () {
|
|
44
|
+
var menu = /*#__PURE__*/_react.default.createElement(_menu.default, {
|
|
45
45
|
onClick: function onClick(params) {
|
|
46
46
|
return onSelect && onSelect(params.key);
|
|
47
47
|
}
|
|
48
48
|
}, menus.map(function (item) {
|
|
49
|
-
return /*#__PURE__*/_react
|
|
49
|
+
return /*#__PURE__*/_react.default.createElement(_menu.default.Item, {
|
|
50
50
|
key: item.key,
|
|
51
51
|
disabled: (item.disabled || null) == null ? false : item.disabled
|
|
52
|
-
}, /*#__PURE__*/_react
|
|
52
|
+
}, /*#__PURE__*/_react.default.createElement(_IconInfo.default, {
|
|
53
53
|
icon: item.icon,
|
|
54
54
|
text: item.name
|
|
55
55
|
}));
|
|
56
56
|
}));
|
|
57
57
|
|
|
58
|
-
return /*#__PURE__*/_react
|
|
58
|
+
return /*#__PURE__*/_react.default.createElement(_dropdown.default, {
|
|
59
59
|
overlay: menu,
|
|
60
|
-
className: _index
|
|
60
|
+
className: _index.default.batchAction,
|
|
61
61
|
disabled: disabled
|
|
62
|
-
}, /*#__PURE__*/_react
|
|
62
|
+
}, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
63
63
|
style: style
|
|
64
|
-
}, children, " ", /*#__PURE__*/_react
|
|
64
|
+
}, children, " ", /*#__PURE__*/_react.default.createElement(_icons.DownOutlined, null)));
|
|
65
65
|
});
|
|
66
66
|
};
|
|
67
67
|
|
|
@@ -71,27 +71,27 @@ var BatchAction = function BatchAction(_ref2) {
|
|
|
71
71
|
_ref2$menus = _ref2.menus,
|
|
72
72
|
menus = _ref2$menus === void 0 ? [] : _ref2$menus,
|
|
73
73
|
disabled = _ref2.disabled;
|
|
74
|
-
return /*#__PURE__*/_react
|
|
75
|
-
var menu = /*#__PURE__*/_react
|
|
74
|
+
return /*#__PURE__*/_react.default.createElement(_context.ConfigConsumer, null, function () {
|
|
75
|
+
var menu = /*#__PURE__*/_react.default.createElement(_menu.default, {
|
|
76
76
|
onClick: function onClick(params) {
|
|
77
77
|
return onSelect && onSelect(params.key);
|
|
78
78
|
}
|
|
79
79
|
}, menus.map(function (item) {
|
|
80
|
-
return /*#__PURE__*/_react
|
|
80
|
+
return /*#__PURE__*/_react.default.createElement(_menu.default.Item, {
|
|
81
81
|
key: item.key
|
|
82
82
|
}, item.name);
|
|
83
83
|
}));
|
|
84
84
|
|
|
85
|
-
return /*#__PURE__*/_react
|
|
85
|
+
return /*#__PURE__*/_react.default.createElement(_dropdown.default, {
|
|
86
86
|
overlay: menu,
|
|
87
|
-
className: _index
|
|
87
|
+
className: _index.default.batchAction,
|
|
88
88
|
disabled: disabled
|
|
89
|
-
}, /*#__PURE__*/_react
|
|
89
|
+
}, /*#__PURE__*/_react.default.createElement("a", {
|
|
90
90
|
style: style
|
|
91
|
-
}, /*#__PURE__*/_react
|
|
91
|
+
}, /*#__PURE__*/_react.default.createElement(_icons.EllipsisOutlined, null)));
|
|
92
92
|
});
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
BatchAction.Button = DropdownButton;
|
|
96
96
|
var _default = BatchAction;
|
|
97
|
-
exports
|
|
97
|
+
exports.default = _default;
|
|
@@ -5,7 +5,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports
|
|
8
|
+
exports.default = void 0;
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
@@ -13,7 +13,7 @@ var _reactDnd = require("react-dnd");
|
|
|
13
13
|
|
|
14
14
|
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); }
|
|
15
15
|
|
|
16
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return {
|
|
16
|
+
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; }
|
|
17
17
|
|
|
18
18
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
19
19
|
|
|
@@ -143,7 +143,7 @@ var Card = function Card(_ref) {
|
|
|
143
143
|
|
|
144
144
|
var opacity = isDragging ? 0 : 1;
|
|
145
145
|
drag(drop(ref));
|
|
146
|
-
return /*#__PURE__*/_react
|
|
146
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
147
147
|
ref: ref,
|
|
148
148
|
style: {
|
|
149
149
|
opacity: opacity
|
|
@@ -152,4 +152,4 @@ var Card = function Card(_ref) {
|
|
|
152
152
|
};
|
|
153
153
|
|
|
154
154
|
var _default = Card;
|
|
155
|
-
exports
|
|
155
|
+
exports.default = _default;
|