antd-management-fast-framework 1.11.30 → 1.11.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,6 +76,8 @@ export function buildMenu({ handleData: r, handleMenuClick, menuItems, }: {
76
76
  handleMenuClick?: (() => void) | undefined;
77
77
  menuItems?: any[] | undefined;
78
78
  }): JSX.Element;
79
+ export function buildTree(props: any): JSX.Element;
80
+ export function buildAlert(props: any): JSX.Element;
79
81
  export function buildCustomGrid({ key, list, props }: {
80
82
  key?: any;
81
83
  list: any;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.adjustTableExpandConfig = adjustTableExpandConfig;
7
+ exports.buildAlert = buildAlert;
7
8
  exports.buildButton = buildButton;
8
9
  exports.buildButtonGroup = buildButtonGroup;
9
10
  exports.buildColorText = buildColorText;
@@ -54,6 +55,7 @@ exports.buildSearchInput = buildSearchInput;
54
55
  exports.buildSearchInputNumber = buildSearchInputNumber;
55
56
  exports.buildSyntaxHighlighter = buildSyntaxHighlighter;
56
57
  exports.buildTagList = buildTagList;
58
+ exports.buildTree = buildTree;
57
59
  exports.empty = empty;
58
60
  exports.pageHeaderExtraContent = pageHeaderExtraContent;
59
61
 
@@ -89,6 +91,14 @@ require("antd/es/col/style");
89
91
 
90
92
  var _col = _interopRequireDefault(require("antd/es/col"));
91
93
 
94
+ require("antd/es/alert/style");
95
+
96
+ var _alert = _interopRequireDefault(require("antd/es/alert"));
97
+
98
+ require("antd/es/tree/style");
99
+
100
+ var _tree = _interopRequireDefault(require("antd/es/tree"));
101
+
92
102
  require("antd/es/menu/style");
93
103
 
94
104
  var _menu = _interopRequireDefault(require("antd/es/menu"));
@@ -915,6 +925,14 @@ function buildMenu(_ref5) {
915
925
  }));
916
926
  }
917
927
 
928
+ function buildTree(props) {
929
+ return /*#__PURE__*/_react.default.createElement(_tree.default, props);
930
+ }
931
+
932
+ function buildAlert(props) {
933
+ return /*#__PURE__*/_react.default.createElement(_alert.default, props);
934
+ }
935
+
918
936
  function buildCustomGrid(_ref7) {
919
937
  var _ref7$key = _ref7.key,
920
938
  key = _ref7$key === void 0 ? null : _ref7$key,
@@ -1665,6 +1665,16 @@ var Common = /*#__PURE__*/function (_Core) {
1665
1665
  }));
1666
1666
  }
1667
1667
 
1668
+ if (type === _constants.cardConfig.contentItemType.tree) {
1669
+ return /*#__PURE__*/_react.default.createElement(_col.default, {
1670
+ key: contentItemKey,
1671
+ lg: lg,
1672
+ md: lg || md,
1673
+ sm: lg || sm,
1674
+ xs: lg || xs
1675
+ }, (0, _FunctionComponent.buildTree)(contentItem));
1676
+ }
1677
+
1668
1678
  if (type === _constants.cardConfig.contentItemType.html) {
1669
1679
  return /*#__PURE__*/_react.default.createElement(_col.default, {
1670
1680
  key: contentItemKey,
@@ -9,6 +9,7 @@ declare class ListBase extends AuthorizationWrapper {
9
9
  * 使用前台模拟分页,有助于优化长列表页面交互操作导致的延迟
10
10
  */
11
11
  useFrontendPagination: boolean;
12
+ showSearchForm: boolean;
12
13
  affixPaginationBar: boolean;
13
14
  formRef: React.RefObject<any>;
14
15
  pageSizeAdditional: number;
@@ -207,6 +208,15 @@ declare class ListBase extends AuthorizationWrapper {
207
208
  renderCardCollectionView: () => JSX.Element;
208
209
  renderPaginationView: () => JSX.Element;
209
210
  renderView: () => JSX.Element | null;
211
+ establishSiderTopAreaConfig: () => null;
212
+ renderSiderTopArea: () => JSX.Element | null;
213
+ establishSiderBottomAreaConfig: () => null;
214
+ renderSiderBottomArea: () => JSX.Element | null;
215
+ buildCardCollectionArea: (config?: any) => JSX.Element | null;
216
+ renderSiderArea: () => JSX.Element | null;
217
+ renderContentArea: () => JSX.Element;
218
+ establishPageContentLayoutSiderConfig: () => {};
219
+ establishPageContentLayoutConfig: () => {};
210
220
  renderPageContent: () => JSX.Element;
211
221
  renderPageBody: () => JSX.Element;
212
222
  renderFurther(): JSX.Element;
@@ -71,6 +71,10 @@ require("antd/es/form/style");
71
71
 
72
72
  var _form = _interopRequireDefault(require("antd/es/form"));
73
73
 
74
+ require("antd/es/layout/style");
75
+
76
+ var _layout = _interopRequireDefault(require("antd/es/layout"));
77
+
74
78
  var _react = _interopRequireWildcard(require("react"));
75
79
 
76
80
  var _icons = require("@ant-design/icons");
@@ -147,6 +151,8 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
147
151
 
148
152
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
149
153
 
154
+ var Content = _layout.default.Content,
155
+ Sider = _layout.default.Sider;
150
156
  var FormItem = _form.default.Item;
151
157
  var RangePicker = _datePicker.default.RangePicker;
152
158
 
@@ -171,6 +177,7 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
171
177
  _this.useRemotePagination = true;
172
178
  _this.useFrontendPagination = false;
173
179
  _this.useFrontendPagination = false;
180
+ _this.showSearchForm = true;
174
181
  _this.affixPaginationBar = true;
175
182
  _this.formRef = /*#__PURE__*/_react.default.createRef();
176
183
  _this.pageSizeAdditional = 0;
@@ -1343,33 +1350,112 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
1343
1350
  return null;
1344
1351
  };
1345
1352
 
1346
- _this.renderPageContent = function () {
1347
- var _this$state10 = _this.state,
1348
- listTitle = _this$state10.listTitle,
1349
- renderSearchForm = _this$state10.renderSearchForm;
1353
+ _this.establishSiderTopAreaConfig = function () {
1354
+ return null;
1355
+ };
1350
1356
 
1351
- var extraAction = _this.renderExtraActionView();
1357
+ _this.renderSiderTopArea = function () {
1358
+ var config = _this.establishSiderTopAreaConfig();
1352
1359
 
1353
- var searchForm = _this.renderForm();
1360
+ if (config == null) {
1361
+ return null;
1362
+ }
1354
1363
 
1355
- var hasPagination = _this.renderPaginationView() != null;
1356
- return /*#__PURE__*/_react.default.createElement("div", {
1357
- className: _index.default.containorBox,
1358
- style: {
1359
- overflowX: 'hidden'
1360
- }
1361
- }, /*#__PURE__*/_react.default.createElement(_space.default, {
1364
+ return _this.buildCardCollectionArea(config);
1365
+ };
1366
+
1367
+ _this.establishSiderBottomAreaConfig = function () {
1368
+ return null;
1369
+ };
1370
+
1371
+ _this.renderSiderBottomArea = function () {
1372
+ var config = _this.establishSiderBottomAreaConfig();
1373
+
1374
+ if (config == null) {
1375
+ return null;
1376
+ }
1377
+
1378
+ return _this.buildCardCollectionArea(config);
1379
+ };
1380
+
1381
+ _this.buildCardCollectionArea = function () {
1382
+ var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
1383
+
1384
+ if (config == null) {
1385
+ return null;
1386
+ }
1387
+
1388
+ var formContentWrapperTypeConfig = _this.establishWrapperTypeConfig() || {
1389
+ mode: _constants.cardConfig.wrapperType.page
1390
+ };
1391
+
1392
+ var configData = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, {
1393
+ mode: _constants.cardConfig.wrapperType.page,
1394
+ justify: 'start',
1395
+ align: 'top'
1396
+ }), formContentWrapperTypeConfig || {}), {
1397
+ list: []
1398
+ }), config || {});
1399
+
1400
+ var mode = configData.mode,
1401
+ justifyGeneral = configData.justify,
1402
+ alignGeneral = configData.align,
1403
+ list = configData.list;
1404
+ var listData = [];
1405
+
1406
+ if ((0, _tools.isArray)(list)) {
1407
+ list.forEach(function (co, ci) {
1408
+ listData.push(co);
1409
+
1410
+ if (ci !== list.length - 1) {
1411
+ listData.push('');
1412
+ }
1413
+ });
1414
+ }
1415
+
1416
+ return /*#__PURE__*/_react.default.createElement(_space.default, {
1362
1417
  style: {
1363
1418
  width: '100%'
1364
1419
  },
1365
1420
  direction: "vertical",
1366
1421
  size: 24
1367
- }, _this.buildToolBarWrapper(), renderSearchForm && (searchForm || null) != null ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_card.default, {
1368
- bordered: false,
1369
- className: _index.default.containorSearch
1370
- }, /*#__PURE__*/_react.default.createElement("div", {
1371
- className: _index.default.tableListForm
1372
- }, searchForm))) : null, /*#__PURE__*/_react.default.createElement(_card.default, {
1422
+ }, listData.map(function (item, index) {
1423
+ return _this.buildCardCollectionItem({
1424
+ mode: mode,
1425
+ justify: justifyGeneral,
1426
+ align: alignGeneral,
1427
+ config: item,
1428
+ key: index
1429
+ });
1430
+ }));
1431
+ };
1432
+
1433
+ _this.renderSiderArea = function () {
1434
+ var topArea = _this.renderSiderTopArea();
1435
+
1436
+ var bottomArea = _this.renderSiderBottomArea();
1437
+
1438
+ if ((bottomArea || null) == null) {
1439
+ return topArea;
1440
+ }
1441
+
1442
+ return /*#__PURE__*/_react.default.createElement(_FlexBox.default, {
1443
+ direction: "vertical",
1444
+ top: topArea,
1445
+ bottom: bottomArea
1446
+ });
1447
+ };
1448
+
1449
+ _this.renderContentArea = function () {
1450
+ var listTitle = _this.state.listTitle;
1451
+
1452
+ var extraAction = _this.renderExtraActionView();
1453
+
1454
+ var searchForm = _this.renderForm();
1455
+
1456
+ var hasPagination = _this.renderPaginationView() != null;
1457
+
1458
+ var gridView = /*#__PURE__*/_react.default.createElement(_card.default, {
1373
1459
  title: listTitle,
1374
1460
  headStyle: {
1375
1461
  borderBottom: '0px'
@@ -1385,7 +1471,91 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
1385
1471
  }), _this.renderBatchAction(), _this.renderCardExtraAction())
1386
1472
  }, /*#__PURE__*/_react.default.createElement("div", {
1387
1473
  className: _index.default.tableList
1388
- }, _this.renderAboveTable(), _this.renderView())), _this.buildHelpWrapper()));
1474
+ }, _this.renderAboveTable(), _this.renderView()));
1475
+
1476
+ if (!_this.showSearchForm || (searchForm || null) == null) {
1477
+ return gridView;
1478
+ }
1479
+
1480
+ return /*#__PURE__*/_react.default.createElement(_space.default, {
1481
+ style: {
1482
+ width: '100%'
1483
+ },
1484
+ direction: "vertical",
1485
+ size: 24
1486
+ }, /*#__PURE__*/_react.default.createElement(_card.default, {
1487
+ bordered: false,
1488
+ className: _index.default.containorSearch
1489
+ }, /*#__PURE__*/_react.default.createElement("div", {
1490
+ className: _index.default.tableListForm
1491
+ }, searchForm)), gridView);
1492
+ };
1493
+
1494
+ _this.establishPageContentLayoutSiderConfig = function () {
1495
+ return {};
1496
+ };
1497
+
1498
+ _this.establishPageContentLayoutConfig = function () {
1499
+ return {};
1500
+ };
1501
+
1502
+ _this.renderPageContent = function () {
1503
+ var siderArea = _this.renderSiderArea();
1504
+
1505
+ var contentArea = _this.renderContentArea();
1506
+
1507
+ var layoutSiderConfig = _this.establishPageContentLayoutSiderConfig();
1508
+
1509
+ var layoutConfig = _this.establishPageContentLayoutConfig();
1510
+
1511
+ var _position = _objectSpread(_objectSpread({}, {
1512
+ position: 'left'
1513
+ }), layoutSiderConfig || {}),
1514
+ siderPosition = _position.position;
1515
+
1516
+ var siderConfig = _objectSpread(_objectSpread({}, {
1517
+ width: 300,
1518
+ style: _objectSpread(_objectSpread({}, {
1519
+ backgroundColor: '#fff',
1520
+ borderRadius: '4px',
1521
+ overflowX: 'auto',
1522
+ overflowY: 'hidden'
1523
+ }), siderPosition === 'left' ? {
1524
+ marginRight: '24px'
1525
+ } : {
1526
+ marginLeft: '24px'
1527
+ })
1528
+ }), layoutSiderConfig || {});
1529
+
1530
+ layoutConfig = _objectSpread(_objectSpread({}, {
1531
+ breakpoint: 'sm',
1532
+ style: {
1533
+ backgroundColor: '#f0f2f5',
1534
+ minHeight: 'auto'
1535
+ }
1536
+ }), layoutConfig || {});
1537
+ var inner = siderArea == null ? contentArea : /*#__PURE__*/_react.default.createElement(_layout.default, layoutConfig, siderPosition === 'left' ? /*#__PURE__*/_react.default.createElement(Sider, siderConfig, siderArea) : null, /*#__PURE__*/_react.default.createElement(Content, null, contentArea), siderPosition !== 'left' ? /*#__PURE__*/_react.default.createElement(Sider, siderConfig, siderArea) : null);
1538
+
1539
+ var toolbar = _this.buildToolBarWrapper();
1540
+
1541
+ var help = _this.buildHelpWrapper();
1542
+
1543
+ if ((toolbar || null) != null || (help || null) != null) {
1544
+ return /*#__PURE__*/_react.default.createElement("div", {
1545
+ className: _index.default.containorBox,
1546
+ style: {
1547
+ overflowX: 'hidden'
1548
+ }
1549
+ }, /*#__PURE__*/_react.default.createElement(_space.default, {
1550
+ style: {
1551
+ width: '100%'
1552
+ },
1553
+ direction: "vertical",
1554
+ size: 24
1555
+ }, _this.buildToolBarWrapper(), inner, _this.buildHelpWrapper()));
1556
+ }
1557
+
1558
+ return inner;
1389
1559
  };
1390
1560
 
1391
1561
  _this.renderPageBody = function () {
@@ -1405,7 +1575,6 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
1405
1575
  showPageHeaderAvatar: false,
1406
1576
  tableSize: _constants.listViewConfig.tableSize.middle,
1407
1577
  counterSetColumnsOtherConfig: 0,
1408
- renderSearchForm: true,
1409
1578
  showListViewItemActionSelect: false
1410
1579
  });
1411
1580
  return _this;
@@ -1416,13 +1585,13 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
1416
1585
  value: function renderFurther() {
1417
1586
  var _this2 = this;
1418
1587
 
1419
- var _this$state11 = this.state,
1420
- renderPageHeaderWrapper = _this$state11.renderPageHeaderWrapper,
1421
- showPageHeaderAvatar = _this$state11.showPageHeaderAvatar,
1422
- defaultAvatarIcon = _this$state11.defaultAvatarIcon,
1423
- dataLoading = _this$state11.dataLoading,
1424
- reloading = _this$state11.reloading,
1425
- avatarImageLoadResult = _this$state11.avatarImageLoadResult;
1588
+ var _this$state10 = this.state,
1589
+ renderPageHeaderWrapper = _this$state10.renderPageHeaderWrapper,
1590
+ showPageHeaderAvatar = _this$state10.showPageHeaderAvatar,
1591
+ defaultAvatarIcon = _this$state10.defaultAvatarIcon,
1592
+ dataLoading = _this$state10.dataLoading,
1593
+ reloading = _this$state10.reloading,
1594
+ avatarImageLoadResult = _this$state10.avatarImageLoadResult;
1426
1595
  var tabListAvailable = this.getTabListAvailable();
1427
1596
  var avatarProps = showPageHeaderAvatar ? (0, _DecorateAvatar.decorateAvatar)(this.establishPageHeaderAvatarConfig(), defaultAvatarIcon, showPageHeaderAvatar, dataLoading, reloading, avatarImageLoadResult, function () {
1428
1597
  _this2.onPageHeaderAvatarLoadErrorCallback();
@@ -226,8 +226,7 @@ var MultiPageDrawer = /*#__PURE__*/function (_MultiPage) {
226
226
  reloading = _this$state.reloading,
227
227
  processing = _this$state.processing,
228
228
  refreshing = _this$state.refreshing,
229
- listViewMode = _this$state.listViewMode,
230
- renderSearchForm = _this$state.renderSearchForm;
229
+ listViewMode = _this$state.listViewMode;
231
230
 
232
231
  var extraAction = _this.renderExtraActionView();
233
232
 
@@ -247,7 +246,7 @@ var MultiPageDrawer = /*#__PURE__*/function (_MultiPage) {
247
246
  display: 'flex',
248
247
  flexDirection: 'column'
249
248
  } : {}
250
- }, renderSearchForm && (searchForm || null) != null ? /*#__PURE__*/_react.default.createElement("div", {
249
+ }, _this.showSearchForm && (searchForm || null) != null ? /*#__PURE__*/_react.default.createElement("div", {
251
250
  style: listViewMode === _constants.listViewConfig.viewMode.list ? {
252
251
  flex: 0
253
252
  } : {}
@@ -353,9 +352,7 @@ var MultiPageDrawer = /*#__PURE__*/function (_MultiPage) {
353
352
  };
354
353
 
355
354
  _this.renderContentContainor = function () {
356
- var _this$state2 = _this.state,
357
- listViewMode = _this$state2.listViewMode,
358
- renderSearchForm = _this$state2.renderSearchForm;
355
+ var listViewMode = _this.state.listViewMode;
359
356
  return /*#__PURE__*/_react.default.createElement("div", {
360
357
  className: _index.default.contentContainor,
361
358
  style: _objectSpread(_objectSpread(_objectSpread({}, listViewMode === _constants.listViewConfig.viewMode.list ? {
@@ -364,7 +361,7 @@ var MultiPageDrawer = /*#__PURE__*/function (_MultiPage) {
364
361
  overflow: 'hidden'
365
362
  } : {
366
363
  paddingBottom: 0
367
- }), renderSearchForm ? {} : {
364
+ }), _this.showSearchForm ? {} : {
368
365
  paddingTop: 0
369
366
  }), {
370
367
  backgroundColor: '#fff'
@@ -466,9 +463,9 @@ var MultiPageDrawer = /*#__PURE__*/function (_MultiPage) {
466
463
  key: "renderFurther",
467
464
  value: function renderFurther() {
468
465
  var widthDrawer = this.props.width;
469
- var _this$state3 = this.state,
470
- visible = _this$state3.visible,
471
- listViewMode = _this$state3.listViewMode;
466
+ var _this$state2 = this.state,
467
+ visible = _this$state2.visible,
468
+ listViewMode = _this$state2.listViewMode;
472
469
  return /*#__PURE__*/_react.default.createElement(_drawer.default, {
473
470
  title: /*#__PURE__*/_react.default.createElement("span", null, this.renderTitleIcon(), this.getPageName()),
474
471
  destroyOnClose: false,
@@ -212,8 +212,7 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
212
212
  listTitle = _this$state.listTitle,
213
213
  tableSize = _this$state.tableSize,
214
214
  refreshing = _this$state.refreshing,
215
- listViewMode = _this$state.listViewMode,
216
- renderSearchForm = _this$state.renderSearchForm;
215
+ listViewMode = _this$state.listViewMode;
217
216
 
218
217
  var extraAction = _this.renderExtraActionView();
219
218
 
@@ -233,7 +232,7 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
233
232
  display: 'flex',
234
233
  flexDirection: 'column'
235
234
  } : {}
236
- }, renderSearchForm && (searchForm || null) != null ? /*#__PURE__*/_react.default.createElement("div", {
235
+ }, _this.showSearchForm && (searchForm || null) != null ? /*#__PURE__*/_react.default.createElement("div", {
237
236
  style: listViewMode === _constants.listViewConfig.viewMode.list ? {
238
237
  flex: 0
239
238
  } : {}
@@ -336,9 +335,7 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
336
335
  };
337
336
 
338
337
  _this.renderContentContainor = function () {
339
- var _this$state2 = _this.state,
340
- listViewMode = _this$state2.listViewMode,
341
- renderSearchForm = _this$state2.renderSearchForm;
338
+ var listViewMode = _this.state.listViewMode;
342
339
  return /*#__PURE__*/_react.default.createElement("div", {
343
340
  className: _index.default.contentContainor,
344
341
  style: _objectSpread(_objectSpread(_objectSpread({}, listViewMode === _constants.listViewConfig.viewMode.list ? {
@@ -347,7 +344,7 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
347
344
  overflow: 'hidden'
348
345
  } : {
349
346
  paddingBottom: 0
350
- }), renderSearchForm ? {} : {
347
+ }), _this.showSearchForm ? {} : {
351
348
  paddingTop: 0
352
349
  }), {
353
350
  backgroundColor: '#fff'
@@ -367,9 +364,9 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
367
364
  };
368
365
 
369
366
  _this.renderListView = function () {
370
- var _this$state3 = _this.state,
371
- dataLoading = _this$state3.dataLoading,
372
- listViewMode = _this$state3.listViewMode;
367
+ var _this$state2 = _this.state,
368
+ dataLoading = _this$state2.dataLoading,
369
+ listViewMode = _this$state2.listViewMode;
373
370
  var list = _this.getCanUseFrontendPagination() ? _this.adjustFrontendPaginationViewDataSource() : _this.adjustViewDataSource();
374
371
 
375
372
  var bottomBar = _this.renderPaginationView();
@@ -444,9 +441,9 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
444
441
  key: "renderFurther",
445
442
  value: function renderFurther() {
446
443
  var widthDrawer = this.props.width;
447
- var _this$state4 = this.state,
448
- visible = _this$state4.visible,
449
- listViewMode = _this$state4.listViewMode;
444
+ var _this$state3 = this.state,
445
+ visible = _this$state3.visible,
446
+ listViewMode = _this$state3.listViewMode;
450
447
  return /*#__PURE__*/_react.default.createElement(_drawer.default, {
451
448
  title: /*#__PURE__*/_react.default.createElement("span", null, this.renderTitleIcon(), this.getPageName()),
452
449
  destroyOnClose: false,
@@ -396,6 +396,10 @@ export namespace cardConfig {
396
396
  * CustomGrid
397
397
  */
398
398
  customGrid: string;
399
+ /**
400
+ * tree
401
+ */
402
+ tree: string;
399
403
  };
400
404
  }
401
405
  export namespace searchCardConfig {
@@ -585,7 +585,12 @@ var cardConfig = _objectSpread(_objectSpread({}, contentConfig), {}, {
585
585
  /**
586
586
  * CustomGrid
587
587
  */
588
- customGrid: 'customGrid'
588
+ customGrid: 'customGrid',
589
+
590
+ /**
591
+ * tree
592
+ */
593
+ tree: 'tree'
589
594
  }
590
595
  });
591
596
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-management-fast-framework",
3
- "version": "1.11.30",
3
+ "version": "1.11.36",
4
4
  "description": "antd-management-fast-framework",
5
5
  "keywords": [
6
6
  "antd-management-fast-framework"
@@ -30,13 +30,13 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@ant-design/icons": "^4.7.0",
33
- "@ant-design/pro-layout": "^6.31.3",
33
+ "@ant-design/pro-layout": "^6.31.5",
34
34
  "@antv/data-set": "^0.11.8",
35
- "antd": "^4.17.2",
35
+ "antd": "^4.17.3",
36
36
  "array-move": "^4.0.0",
37
- "bizcharts": "^4.1.14",
37
+ "bizcharts": "^4.1.15",
38
38
  "browserslist": "^4.18.1",
39
- "caniuse-lite": "^1.0.30001285",
39
+ "caniuse-lite": "^1.0.30001286",
40
40
  "classnames": "^2.3.1",
41
41
  "copy-to-clipboard": "^3.3.1",
42
42
  "enquire-js": "^0.2.1",
@@ -90,7 +90,7 @@
90
90
  "@testing-library/react": "^12.1.2",
91
91
  "@testing-library/react-hooks": "^7.0.2",
92
92
  "@types/jest": "^27.0.3",
93
- "@types/node": "^16.11.11",
93
+ "@types/node": "^16.11.12",
94
94
  "@typescript-eslint/eslint-plugin": "^5.6.0",
95
95
  "@umijs/fabric": "^2.8.1",
96
96
  "@umijs/test": "^3.5.20",
@@ -101,7 +101,7 @@
101
101
  "body-parser": "^1.19.0",
102
102
  "commitizen": "^4.2.4",
103
103
  "cross-env": "^7.0.3",
104
- "eslint": "^8.4.0",
104
+ "eslint": "^8.4.1",
105
105
  "eslint-config-airbnb": "^19.0.2",
106
106
  "eslint-config-airbnb-typescript": "^16.1.0",
107
107
  "eslint-config-prettier": "^8.3.0",