fan-standard-comp 3.1.4 → 3.1.6
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/dist/f26952c118ab6cdcd23dc0028ee98c11.svg +173 -0
- package/dist/fan-standard-comp.umd.js +597 -0
- package/dist/fonts/iconfont.eot +0 -0
- package/dist/fonts/iconfont.ttf +0 -0
- package/dist/fonts/iconfont.woff +0 -0
- package/es/ButtonGroup/ButtonList.d.ts +2 -0
- package/es/ButtonGroup/ButtonList.js +37 -0
- package/es/ButtonGroup/ButtonMenu.d.ts +2 -0
- package/es/ButtonGroup/ButtonMenu.js +38 -0
- package/es/ButtonGroup/PopConfirmTitle.d.ts +9 -0
- package/es/ButtonGroup/PopConfirmTitle.js +37 -0
- package/es/ButtonGroup/index.d.ts +30 -0
- package/es/ButtonGroup/index.js +374 -0
- package/es/ButtonGroup/style/index.less +36 -0
- package/es/DragContent/DragBar.js +21 -0
- package/es/DragContent/index.d.ts +14 -0
- package/es/DragContent/index.js +173 -0
- package/es/DragContent/index.less +44 -0
- package/es/FormComp/ChunkUploader/api.js +76 -0
- package/es/FormComp/ChunkUploader/index.js +391 -0
- package/es/FormComp/ChunkUploader/lib.js +96 -0
- package/es/FormComp/ChunkUploader/style/style.less +3 -0
- package/es/FormComp/ChunkUploader/upload-queue.class.js +167 -0
- package/es/FormComp/ChunkUploader/worker.js +23 -0
- package/es/FormComp/EditButton/index.d.ts +26 -0
- package/es/FormComp/EditButton/index.js +140 -0
- package/es/FormComp/FieldComponent/ReUpload.d.ts +3 -0
- package/es/FormComp/FieldComponent/ReUpload.js +131 -0
- package/es/FormComp/FieldComponent/RefactorTreeSelect.js +251 -0
- package/es/FormComp/FieldComponent/TitleNode.d.ts +6 -0
- package/es/FormComp/FieldComponent/TitleNode.js +9 -0
- package/es/FormComp/FieldComponent/index.d.ts +38 -0
- package/es/FormComp/FieldComponent/index.js +413 -0
- package/es/FormComp/FieldComponent/setReadonlyValues.js +236 -0
- package/es/FormComp/FieldComponent/style/index.less +120 -0
- package/es/FormComp/RenderItemGroup/index.d.ts +37 -0
- package/es/FormComp/RenderItemGroup/index.js +234 -0
- package/es/FormComp/Uploader/index.d.ts +21 -0
- package/es/FormComp/Uploader/index.js +277 -0
- package/es/FormComp/Uploader/style/index.less +14 -0
- package/es/FormComp/Uploader/util.d.ts +8 -0
- package/es/FormComp/Uploader/util.js +38 -0
- package/es/FormComp/VarTemplate/index.js +293 -0
- package/es/FormComp/index.d.ts +1 -0
- package/es/FormComp/index.js +1 -0
- package/es/NavLeafScroll/index.js +379 -0
- package/es/NavLeafScroll/style/index.less +119 -0
- package/es/RefactorTree/data.d.ts +7 -0
- package/es/RefactorTree/index.d.ts +40 -0
- package/es/RefactorTree/index.js +167 -0
- package/es/RefactorTree/indexTreeNode.d.ts +39 -0
- package/es/RefactorTree/indexTreeNode.js +237 -0
- package/es/RefactorTree/style/index.d.ts +1 -0
- package/es/RefactorTree/style/index.js +1 -0
- package/es/RefactorTree/style/index.less +22 -0
- package/es/RefactorTree/util.d.ts +42 -0
- package/es/RefactorTree/util.js +187 -0
- package/es/SpecIcon/fonts/demo.css +539 -0
- package/es/SpecIcon/fonts/demo_index.html +1315 -0
- package/es/SpecIcon/fonts/iconfont.css +211 -0
- package/es/SpecIcon/fonts/iconfont.eot +0 -0
- package/es/SpecIcon/fonts/iconfont.js +41 -0
- package/es/SpecIcon/fonts/iconfont.json +352 -0
- package/es/SpecIcon/fonts/iconfont.svg +173 -0
- package/es/SpecIcon/fonts/iconfont.ttf +0 -0
- package/es/SpecIcon/fonts/iconfont.woff +0 -0
- package/es/SpecIcon/fonts/iconfont.woff2 +0 -0
- package/es/SpecIcon/index.d.ts +17 -0
- package/es/SpecIcon/index.js +77 -0
- package/es/SpecIcon/style/iconfont.less +213 -0
- package/es/SpecIcon/style/index.less +98 -0
- package/es/SplitterLayout/Pane.d.ts +13 -0
- package/es/SplitterLayout/Pane.js +36 -0
- package/es/SplitterLayout/index.js +375 -0
- package/es/SplitterLayout/index.less +58 -0
- package/es/StandardContent/SplitterLayout/Pane.js +50 -0
- package/es/StandardContent/SplitterLayout/index.js +374 -0
- package/es/StandardContent/SplitterLayout/index.less +58 -0
- package/es/StandardContent/SubfieldContent.d.ts +17 -0
- package/es/StandardContent/SubfieldContent.js +41 -0
- package/es/StandardContent/WrapperContent.d.ts +13 -0
- package/es/StandardContent/WrapperContent.js +29 -0
- package/es/StandardContent/data.d.ts +101 -0
- package/es/StandardContent/style/index.less +80 -0
- package/es/StandardDragModal/index.d.ts +11 -0
- package/es/StandardDragModal/index.js +30 -0
- package/es/StandardFilter/index.d.ts +35 -0
- package/es/StandardFilter/index.js +253 -0
- package/es/StandardFilter/style/index.less +62 -0
- package/es/StandardForm/ActionList.js +44 -0
- package/es/StandardForm/StepForm.d.ts +19 -0
- package/es/StandardForm/StepForm.js +267 -0
- package/es/StandardForm/TabForm.d.ts +19 -0
- package/es/StandardForm/TabForm.js +122 -0
- package/es/StandardForm/index.d.ts +32 -0
- package/es/StandardForm/index.js +170 -0
- package/es/StandardForm/style/index.less +58 -0
- package/es/StandardModal/UpdateFormRef.js +18 -0
- package/es/StandardModal/index.d.ts +44 -0
- package/es/StandardModal/index.js +495 -0
- package/es/StandardModal/style/index.less +50 -0
- package/es/StandardPanel/index.d.ts +28 -0
- package/es/StandardPanel/index.js +134 -0
- package/es/StandardPanel/style/index.less +135 -0
- package/es/StandardTable/index.d.ts +22 -0
- package/es/StandardTable/index.js +126 -0
- package/es/StandardTable/style/index.d.ts +1 -0
- package/es/StandardTable/style/index.js +1 -0
- package/es/StandardTable/style/index.less +206 -0
- package/es/components/IconNode/index.d.ts +16 -0
- package/es/components/IconNode/index.js +28 -0
- package/es/components/index.d.ts +2 -0
- package/es/components/index.js +2 -0
- package/es/data/func.code.js +112 -0
- package/es/data/general.config.js +172 -0
- package/es/data/index.js +3 -0
- package/es/index.d.ts +24 -0
- package/es/index.js +31 -0
- package/es/styles/index.less +0 -0
- package/es/theme/spec-variable.less +48 -0
- package/es/utils/ValueFormat.js +50 -0
- package/es/utils/filterPermission.js +111 -0
- package/es/utils/getParentNodes.js +215 -0
- package/es/utils/index.js +3 -0
- package/lib/ButtonGroup/ButtonList.d.ts +2 -0
- package/lib/ButtonGroup/ButtonList.js +55 -0
- package/lib/ButtonGroup/ButtonMenu.d.ts +2 -0
- package/lib/ButtonGroup/ButtonMenu.js +51 -0
- package/lib/ButtonGroup/PopConfirmTitle.d.ts +9 -0
- package/lib/ButtonGroup/PopConfirmTitle.js +48 -0
- package/lib/ButtonGroup/index.d.ts +30 -0
- package/lib/ButtonGroup/index.js +405 -0
- package/lib/ButtonGroup/style/index.less +36 -0
- package/lib/DragContent/DragBar.js +33 -0
- package/lib/DragContent/index.d.ts +14 -0
- package/lib/DragContent/index.js +191 -0
- package/lib/DragContent/index.less +44 -0
- package/lib/FormComp/ChunkUploader/api.js +89 -0
- package/lib/FormComp/ChunkUploader/index.js +410 -0
- package/lib/FormComp/ChunkUploader/lib.js +113 -0
- package/lib/FormComp/ChunkUploader/style/style.less +3 -0
- package/lib/FormComp/ChunkUploader/upload-queue.class.js +174 -0
- package/lib/FormComp/ChunkUploader/worker.js +28 -0
- package/lib/FormComp/EditButton/index.d.ts +26 -0
- package/lib/FormComp/EditButton/index.js +159 -0
- package/lib/FormComp/FieldComponent/ReUpload.d.ts +3 -0
- package/lib/FormComp/FieldComponent/ReUpload.js +151 -0
- package/lib/FormComp/FieldComponent/RefactorTreeSelect.js +274 -0
- package/lib/FormComp/FieldComponent/TitleNode.d.ts +6 -0
- package/lib/FormComp/FieldComponent/TitleNode.js +19 -0
- package/lib/FormComp/FieldComponent/index.d.ts +38 -0
- package/lib/FormComp/FieldComponent/index.js +457 -0
- package/lib/FormComp/FieldComponent/setReadonlyValues.js +263 -0
- package/lib/FormComp/FieldComponent/style/index.less +120 -0
- package/lib/FormComp/RenderItemGroup/index.d.ts +37 -0
- package/lib/FormComp/RenderItemGroup/index.js +255 -0
- package/lib/FormComp/Uploader/index.d.ts +21 -0
- package/lib/FormComp/Uploader/index.js +303 -0
- package/lib/FormComp/Uploader/style/index.less +14 -0
- package/lib/FormComp/Uploader/util.d.ts +8 -0
- package/lib/FormComp/Uploader/util.js +47 -0
- package/lib/FormComp/VarTemplate/index.js +308 -0
- package/lib/FormComp/index.d.ts +1 -0
- package/lib/FormComp/index.js +15 -0
- package/lib/NavLeafScroll/index.js +397 -0
- package/lib/NavLeafScroll/style/index.less +119 -0
- package/lib/RefactorTree/data.d.ts +7 -0
- package/lib/RefactorTree/index.d.ts +40 -0
- package/lib/RefactorTree/index.js +190 -0
- package/lib/RefactorTree/indexTreeNode.d.ts +39 -0
- package/lib/RefactorTree/indexTreeNode.js +260 -0
- package/lib/RefactorTree/style/index.d.ts +1 -0
- package/lib/RefactorTree/style/index.js +3 -0
- package/lib/RefactorTree/style/index.less +22 -0
- package/lib/RefactorTree/util.d.ts +42 -0
- package/lib/RefactorTree/util.js +195 -0
- package/lib/SpecIcon/fonts/demo.css +539 -0
- package/lib/SpecIcon/fonts/demo_index.html +1315 -0
- package/lib/SpecIcon/fonts/iconfont.css +211 -0
- package/lib/SpecIcon/fonts/iconfont.eot +0 -0
- package/lib/SpecIcon/fonts/iconfont.js +43 -0
- package/lib/SpecIcon/fonts/iconfont.json +352 -0
- package/lib/SpecIcon/fonts/iconfont.svg +173 -0
- package/lib/SpecIcon/fonts/iconfont.ttf +0 -0
- package/lib/SpecIcon/fonts/iconfont.woff +0 -0
- package/lib/SpecIcon/fonts/iconfont.woff2 +0 -0
- package/lib/SpecIcon/index.d.ts +17 -0
- package/lib/SpecIcon/index.js +90 -0
- package/lib/SpecIcon/style/iconfont.less +213 -0
- package/lib/SpecIcon/style/index.less +98 -0
- package/lib/SplitterLayout/Pane.d.ts +13 -0
- package/lib/SplitterLayout/Pane.js +48 -0
- package/lib/SplitterLayout/index.js +386 -0
- package/lib/SplitterLayout/index.less +58 -0
- package/lib/StandardContent/SplitterLayout/Pane.js +62 -0
- package/lib/StandardContent/SplitterLayout/index.js +387 -0
- package/lib/StandardContent/SplitterLayout/index.less +58 -0
- package/lib/StandardContent/SubfieldContent.d.ts +17 -0
- package/lib/StandardContent/SubfieldContent.js +56 -0
- package/lib/StandardContent/WrapperContent.d.ts +13 -0
- package/lib/StandardContent/WrapperContent.js +43 -0
- package/lib/StandardContent/data.d.ts +101 -0
- package/lib/StandardContent/style/index.less +80 -0
- package/lib/StandardDragModal/index.d.ts +11 -0
- package/lib/StandardDragModal/index.js +43 -0
- package/lib/StandardFilter/index.d.ts +35 -0
- package/lib/StandardFilter/index.js +272 -0
- package/lib/StandardFilter/style/index.less +62 -0
- package/lib/StandardForm/ActionList.js +57 -0
- package/lib/StandardForm/StepForm.d.ts +19 -0
- package/lib/StandardForm/StepForm.js +295 -0
- package/lib/StandardForm/TabForm.d.ts +19 -0
- package/lib/StandardForm/TabForm.js +148 -0
- package/lib/StandardForm/index.d.ts +32 -0
- package/lib/StandardForm/index.js +197 -0
- package/lib/StandardForm/style/index.less +58 -0
- package/lib/StandardModal/UpdateFormRef.js +32 -0
- package/lib/StandardModal/index.d.ts +44 -0
- package/lib/StandardModal/index.js +525 -0
- package/lib/StandardModal/style/index.less +50 -0
- package/lib/StandardPanel/index.d.ts +28 -0
- package/lib/StandardPanel/index.js +155 -0
- package/lib/StandardPanel/style/index.less +135 -0
- package/lib/StandardTable/index.d.ts +22 -0
- package/lib/StandardTable/index.js +143 -0
- package/lib/StandardTable/style/index.d.ts +1 -0
- package/lib/StandardTable/style/index.js +3 -0
- package/lib/StandardTable/style/index.less +206 -0
- package/lib/components/IconNode/index.d.ts +16 -0
- package/lib/components/IconNode/index.js +39 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.js +15 -0
- package/lib/data/func.code.js +119 -0
- package/lib/data/general.config.js +179 -0
- package/lib/data/index.js +23 -0
- package/lib/index.d.ts +24 -0
- package/lib/index.js +236 -0
- package/lib/styles/index.less +0 -0
- package/lib/theme/spec-variable.less +48 -0
- package/lib/utils/ValueFormat.js +58 -0
- package/lib/utils/filterPermission.js +127 -0
- package/lib/utils/getParentNodes.js +226 -0
- package/lib/utils/index.js +35 -0
- package/package.json +1 -1
|
@@ -0,0 +1,397 @@
|
|
|
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
|
+
require("antd/es/badge/style");
|
|
11
|
+
|
|
12
|
+
var _badge = _interopRequireDefault(require("antd/es/badge"));
|
|
13
|
+
|
|
14
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
15
|
+
|
|
16
|
+
var _index = _interopRequireDefault(require("../SpecIcon/index"));
|
|
17
|
+
|
|
18
|
+
var _lodash = _interopRequireDefault(require("lodash"));
|
|
19
|
+
|
|
20
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
21
|
+
|
|
22
|
+
require("./style/index.less");
|
|
23
|
+
|
|
24
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
25
|
+
|
|
26
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (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; }
|
|
27
|
+
|
|
28
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
29
|
+
|
|
30
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
31
|
+
|
|
32
|
+
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); } }
|
|
33
|
+
|
|
34
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
35
|
+
|
|
36
|
+
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); }
|
|
37
|
+
|
|
38
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
39
|
+
|
|
40
|
+
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); }; }
|
|
41
|
+
|
|
42
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
43
|
+
|
|
44
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
45
|
+
|
|
46
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
47
|
+
|
|
48
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
49
|
+
|
|
50
|
+
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; }
|
|
51
|
+
|
|
52
|
+
var NavLeafScroll = /*#__PURE__*/function (_Component) {
|
|
53
|
+
_inherits(NavLeafScroll, _Component);
|
|
54
|
+
|
|
55
|
+
var _super = _createSuper(NavLeafScroll);
|
|
56
|
+
|
|
57
|
+
function NavLeafScroll(props) {
|
|
58
|
+
var _this;
|
|
59
|
+
|
|
60
|
+
_classCallCheck(this, NavLeafScroll);
|
|
61
|
+
|
|
62
|
+
_this = _super.call(this, props);
|
|
63
|
+
|
|
64
|
+
_defineProperty(_assertThisInitialized(_this), "initFloorValues", function () {
|
|
65
|
+
var _this$props = _this.props,
|
|
66
|
+
baseItemHeight = _this$props.baseItemHeight,
|
|
67
|
+
activeKey = _this$props.activeKey,
|
|
68
|
+
navList = _this$props.navList,
|
|
69
|
+
_this$props$optionNam = _this$props.optionName,
|
|
70
|
+
optionName = _this$props$optionNam === void 0 ? {
|
|
71
|
+
key: 'id',
|
|
72
|
+
title: 'title',
|
|
73
|
+
count: 'count'
|
|
74
|
+
} : _this$props$optionNam; // 元素个数占用的高度是否不超过内容区域
|
|
75
|
+
|
|
76
|
+
var isInsideEnough = navList.length * baseItemHeight <= _this.mainWrap.current.clientHeight;
|
|
77
|
+
var wrapHeight = _this.mainWrap.current.clientHeight - (isInsideEnough ? 0 : 32 * 2); // 每次需要移动的偏移量 32是上下切换角占用的高度
|
|
78
|
+
|
|
79
|
+
var floorHeight = _this.leafNav.current.clientHeight; // 所有楼层占用的高度
|
|
80
|
+
|
|
81
|
+
var isEnough = wrapHeight % baseItemHeight === 0; // 剩余的是否足够容纳一个单元格
|
|
82
|
+
// 判断有效区域与单元格高度:若小于,则直接使用单元格高度,否则将内容区高度去除不足一个单元格高度
|
|
83
|
+
|
|
84
|
+
if (_this.mainWrap.current.clientHeight - (isInsideEnough ? 0 : 32 * 2) >= baseItemHeight) {
|
|
85
|
+
wrapHeight -= wrapHeight % baseItemHeight; // 判断是否除不尽,如果还有余数,则当前 区域有效区域要去除一个单元格的高度
|
|
86
|
+
} else {
|
|
87
|
+
wrapHeight = baseItemHeight;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
var stepSize = wrapHeight / baseItemHeight; // - (isEnough ? 0 : 1) // 当前一页可容纳的单元格数量
|
|
91
|
+
|
|
92
|
+
_this.setState({
|
|
93
|
+
floorRelatedSize: {
|
|
94
|
+
wrapHeight: wrapHeight,
|
|
95
|
+
// 有效内容区域的
|
|
96
|
+
floorHeight: floorHeight // 楼层列表占用的高度
|
|
97
|
+
|
|
98
|
+
},
|
|
99
|
+
stepSize: stepSize,
|
|
100
|
+
showArrow: floorHeight > wrapHeight
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
if (activeKey && navList.length > 0) {
|
|
104
|
+
var matchIndex = _lodash.default.findIndex(navList, function (item) {
|
|
105
|
+
return item[(optionName === null || optionName === void 0 ? void 0 : optionName.key) || 'id'] === activeKey;
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
var stepNo = wrapHeight === 0 ? 0 : Math.floor(matchIndex / (wrapHeight / baseItemHeight)); // 当前所在的切换页数,从0开始
|
|
109
|
+
|
|
110
|
+
var stepTotalSize = Math.ceil(navList.length / stepSize) || 0; // 当前所有单元格占用的页总数
|
|
111
|
+
|
|
112
|
+
_this.setState({
|
|
113
|
+
leafNavScrollY: matchIndex !== -1 && stepNo !== 0 ? -wrapHeight * stepNo : 0,
|
|
114
|
+
// 如果当前默认传值有楼层节点,则需要判断其所在的位置
|
|
115
|
+
arrowPermit: {
|
|
116
|
+
prev: matchIndex !== -1 && stepNo !== 0,
|
|
117
|
+
next: floorHeight > wrapHeight && stepNo + 1 !== stepTotalSize
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
} else {
|
|
121
|
+
_this.setState({
|
|
122
|
+
leafNavScrollY: 0,
|
|
123
|
+
arrowPermit: {
|
|
124
|
+
prev: false,
|
|
125
|
+
next: floorHeight > wrapHeight
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
_defineProperty(_assertThisInitialized(_this), "handleLeafControl", function (type) {
|
|
132
|
+
var _this$state = _this.state,
|
|
133
|
+
floorRelatedSize = _this$state.floorRelatedSize,
|
|
134
|
+
leafNavScrollY = _this$state.leafNavScrollY;
|
|
135
|
+
var wrapHeight = floorRelatedSize.wrapHeight,
|
|
136
|
+
floorHeight = floorRelatedSize.floorHeight;
|
|
137
|
+
var maxNextPosition = -(wrapHeight * (Math.ceil(floorHeight / wrapHeight) - 1)); // 向下滚动的最大值
|
|
138
|
+
|
|
139
|
+
var scrollY = type === 'next' ? leafNavScrollY - wrapHeight : leafNavScrollY + wrapHeight;
|
|
140
|
+
|
|
141
|
+
_this.setState({
|
|
142
|
+
arrowPermit: {
|
|
143
|
+
prev: type === 'prev' ? scrollY !== 0 : true,
|
|
144
|
+
next: type === 'prev' ? true : scrollY !== maxNextPosition // 滚动大小与最大滚动值一致时,向下滚动禁用,
|
|
145
|
+
|
|
146
|
+
},
|
|
147
|
+
leafNavScrollY: scrollY
|
|
148
|
+
});
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
_defineProperty(_assertThisInitialized(_this), "handleItemControl", function (key, data) {
|
|
152
|
+
var onClick = _this.props.onClick;
|
|
153
|
+
onClick && onClick(key, data);
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
_defineProperty(_assertThisInitialized(_this), "mouseEnter", function (e) {
|
|
157
|
+
var onMouseEnter = _this.props.onMouseEnter;
|
|
158
|
+
|
|
159
|
+
_this.setState({
|
|
160
|
+
isMouseEnter: true
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
onMouseEnter && onMouseEnter(e);
|
|
164
|
+
});
|
|
165
|
+
|
|
166
|
+
_defineProperty(_assertThisInitialized(_this), "mouseLeave", function (e) {
|
|
167
|
+
var onMouseLeave = _this.props.onMouseLeave;
|
|
168
|
+
|
|
169
|
+
_this.setState({
|
|
170
|
+
isMouseEnter: false
|
|
171
|
+
});
|
|
172
|
+
|
|
173
|
+
onMouseLeave && onMouseLeave(e);
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
_defineProperty(_assertThisInitialized(_this), "mouseWheel", function (e) {
|
|
177
|
+
var _this$state2 = _this.state,
|
|
178
|
+
isMouseEnter = _this$state2.isMouseEnter,
|
|
179
|
+
arrowPermit = _this$state2.arrowPermit;
|
|
180
|
+
if (!isMouseEnter) return; // 鼠标没有经过内容区域,则不会滚轮监听
|
|
181
|
+
|
|
182
|
+
e.preventDefault();
|
|
183
|
+
|
|
184
|
+
if (e.deltaY <= 0) {
|
|
185
|
+
arrowPermit.prev && _this.handleLeafControl('prev'); // 向上滚动
|
|
186
|
+
} else {
|
|
187
|
+
arrowPermit.next && _this.handleLeafControl('next'); // 向下滚动
|
|
188
|
+
} // onWheel && onWheel(e)
|
|
189
|
+
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
_this.state = {
|
|
193
|
+
isMouseEnter: false,
|
|
194
|
+
leafNavScrollY: 0,
|
|
195
|
+
showArrow: false,
|
|
196
|
+
arrowPermit: {
|
|
197
|
+
prev: false,
|
|
198
|
+
next: false
|
|
199
|
+
},
|
|
200
|
+
floorRelatedSize: {
|
|
201
|
+
wrapHeight: 0,
|
|
202
|
+
// 有效内容区域的
|
|
203
|
+
floorHeight: 0 // 楼层列表占用的高度
|
|
204
|
+
|
|
205
|
+
},
|
|
206
|
+
stepSize: 0 // 当前一页可容纳的单元格数量
|
|
207
|
+
|
|
208
|
+
};
|
|
209
|
+
_this.mainWrap = /*#__PURE__*/_react.default.createRef();
|
|
210
|
+
_this.leafWrap = /*#__PURE__*/_react.default.createRef();
|
|
211
|
+
_this.leafNav = /*#__PURE__*/_react.default.createRef();
|
|
212
|
+
_this.initFloorValues = _this.initFloorValues.bind(_assertThisInitialized(_this));
|
|
213
|
+
return _this;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
_createClass(NavLeafScroll, [{
|
|
217
|
+
key: "componentDidMount",
|
|
218
|
+
value: function componentDidMount() {
|
|
219
|
+
var forbidScroll = this.props.forbidScroll;
|
|
220
|
+
window.addEventListener('resize', this.initFloorValues);
|
|
221
|
+
|
|
222
|
+
if (!forbidScroll) {
|
|
223
|
+
// 禁用时,不启动滚动监听
|
|
224
|
+
this.mainWrap.current.addEventListener('wheel', this.mouseWheel, {
|
|
225
|
+
passive: false
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
this.initFloorValues();
|
|
230
|
+
}
|
|
231
|
+
}, {
|
|
232
|
+
key: "componentWillUnmount",
|
|
233
|
+
value: function componentWillUnmount() {
|
|
234
|
+
var forbidScroll = this.props.forbidScroll;
|
|
235
|
+
window.removeEventListener('resize', this.initFloorValues);
|
|
236
|
+
|
|
237
|
+
if (!forbidScroll) {
|
|
238
|
+
// 禁用时,不启动滚动监听
|
|
239
|
+
this.mainWrap.current.addEventListener('wheel', this.mouseWheel, {
|
|
240
|
+
passive: false
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
this.mainWrap.current.removeEventListener('wheel', this.mouseWheel);
|
|
245
|
+
}
|
|
246
|
+
}, {
|
|
247
|
+
key: "componentDidUpdate",
|
|
248
|
+
value: function componentDidUpdate(prevProps) {
|
|
249
|
+
var _this$props2 = this.props,
|
|
250
|
+
baseItemHeight = _this$props2.baseItemHeight,
|
|
251
|
+
navList = _this$props2.navList,
|
|
252
|
+
activeKey = _this$props2.activeKey,
|
|
253
|
+
_this$props2$optionNa = _this$props2.optionName,
|
|
254
|
+
optionName = _this$props2$optionNa === void 0 ? {
|
|
255
|
+
key: 'id',
|
|
256
|
+
title: 'title',
|
|
257
|
+
count: 'count'
|
|
258
|
+
} : _this$props2$optionNa,
|
|
259
|
+
forbidScroll = _this$props2.forbidScroll;
|
|
260
|
+
var _this$state3 = this.state,
|
|
261
|
+
_this$state3$floorRel = _this$state3.floorRelatedSize,
|
|
262
|
+
wrapHeight = _this$state3$floorRel.wrapHeight,
|
|
263
|
+
floorHeight = _this$state3$floorRel.floorHeight,
|
|
264
|
+
stepSize = _this$state3.stepSize;
|
|
265
|
+
|
|
266
|
+
if (JSON.stringify(navList) !== JSON.stringify(prevProps.navList) || baseItemHeight !== prevProps.baseItemHeight) {
|
|
267
|
+
this.initFloorValues();
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
if (forbidScroll !== prevProps.forbidScroll) {
|
|
271
|
+
// 禁用时,不启动滚动监听
|
|
272
|
+
if (!forbidScroll) {
|
|
273
|
+
// 禁用时,不启动滚动监听
|
|
274
|
+
this.mainWrap.current.addEventListener('wheel', this.mouseWheel, {
|
|
275
|
+
passive: false
|
|
276
|
+
});
|
|
277
|
+
} else {
|
|
278
|
+
this.mainWrap.current.removeEventListener('wheel', this.mouseWheel);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
if (activeKey !== prevProps.activeKey) {
|
|
283
|
+
var matchIndex = _lodash.default.findIndex(navList, function (item) {
|
|
284
|
+
return item[optionName.key] === activeKey;
|
|
285
|
+
});
|
|
286
|
+
|
|
287
|
+
var stepNo = Math.floor(matchIndex / (wrapHeight / baseItemHeight)); // 当前所在的切换页数,从0开始
|
|
288
|
+
|
|
289
|
+
var stepTotalSize = Array.isArray(navList) && Math.ceil(navList.length / stepSize) || 0; // 当前所有单元格占用的页总数
|
|
290
|
+
|
|
291
|
+
this.setState({
|
|
292
|
+
leafNavScrollY: matchIndex !== -1 && stepNo !== 0 ? -wrapHeight * stepNo : 0,
|
|
293
|
+
// 如果当前默认传值有楼层节点,则需要判断其所在的位置
|
|
294
|
+
arrowPermit: {
|
|
295
|
+
prev: matchIndex !== -1 && stepNo !== 0,
|
|
296
|
+
next: floorHeight > wrapHeight && stepNo + 1 !== stepTotalSize
|
|
297
|
+
},
|
|
298
|
+
isMouseEnter: true
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
} // 初始化楼层相关的值,如:是否允许触发滚动,默认滚动区间高度等
|
|
302
|
+
|
|
303
|
+
}, {
|
|
304
|
+
key: "render",
|
|
305
|
+
value: function render() {
|
|
306
|
+
var _this2 = this;
|
|
307
|
+
|
|
308
|
+
var _this$props3 = this.props,
|
|
309
|
+
className = _this$props3.className,
|
|
310
|
+
width = _this$props3.width,
|
|
311
|
+
activeKey = _this$props3.activeKey,
|
|
312
|
+
customLeafNode = _this$props3.customLeafNode,
|
|
313
|
+
noArrowPadding = _this$props3.noArrowPadding,
|
|
314
|
+
navList = _this$props3.navList,
|
|
315
|
+
_this$props3$optionNa = _this$props3.optionName,
|
|
316
|
+
optionName = _this$props3$optionNa === void 0 ? {
|
|
317
|
+
key: 'id',
|
|
318
|
+
title: 'title',
|
|
319
|
+
count: 'count'
|
|
320
|
+
} : _this$props3$optionNa,
|
|
321
|
+
_this$props3$emptyNod = _this$props3.emptyNode,
|
|
322
|
+
emptyNode = _this$props3$emptyNod === void 0 ? null : _this$props3$emptyNod;
|
|
323
|
+
var _this$state4 = this.state,
|
|
324
|
+
showArrow = _this$state4.showArrow,
|
|
325
|
+
arrowPermit = _this$state4.arrowPermit,
|
|
326
|
+
leafNavScrollY = _this$state4.leafNavScrollY;
|
|
327
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
328
|
+
className: (0, _classnames.default)(className, "nav-leaf"),
|
|
329
|
+
style: width ? {
|
|
330
|
+
width: "".concat(width, "px")
|
|
331
|
+
} : {},
|
|
332
|
+
ref: this.mainWrap // onWheel={this.mouseWheel}
|
|
333
|
+
,
|
|
334
|
+
onMouseEnter: this.mouseEnter,
|
|
335
|
+
onMouseLeave: this.mouseLeave
|
|
336
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
337
|
+
className: "nav-leaf-container nav-leaf-container-scroll",
|
|
338
|
+
style: !showArrow || noArrowPadding ? {
|
|
339
|
+
padding: 0
|
|
340
|
+
} : {},
|
|
341
|
+
"data-prev": showArrow
|
|
342
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
343
|
+
className: (0, _classnames.default)("nav-leaf-arrow nav-leaf-btn-prev", showArrow ? '' : 'is-hide', arrowPermit.prev ? '' : 'is-disabled'),
|
|
344
|
+
onClick: function onClick() {
|
|
345
|
+
return arrowPermit.prev ? _this2.handleLeafControl('prev') : '';
|
|
346
|
+
}
|
|
347
|
+
}, /*#__PURE__*/_react.default.createElement(_index.default, {
|
|
348
|
+
name: "caret-up"
|
|
349
|
+
})), /*#__PURE__*/_react.default.createElement("span", {
|
|
350
|
+
className: (0, _classnames.default)("nav-leaf-arrow nav-leaf-btn-next", showArrow ? '' : 'is-hide', arrowPermit.next ? '' : 'is-disabled'),
|
|
351
|
+
onClick: function onClick() {
|
|
352
|
+
return arrowPermit.next ? _this2.handleLeafControl('next') : '';
|
|
353
|
+
}
|
|
354
|
+
}, /*#__PURE__*/_react.default.createElement(_index.default, {
|
|
355
|
+
name: "caret-down"
|
|
356
|
+
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
357
|
+
className: "nav-leaf-wrap",
|
|
358
|
+
ref: this.leafWrap
|
|
359
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
360
|
+
className: "nav-leaf-scroll"
|
|
361
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
362
|
+
className: "nav-leaf-nav",
|
|
363
|
+
ref: this.leafNav,
|
|
364
|
+
style: {
|
|
365
|
+
transform: "translate3d(0px, ".concat(leafNavScrollY, "px, 0px)")
|
|
366
|
+
}
|
|
367
|
+
}, navList && navList.length > 0 ? navList.map(function (item, i) {
|
|
368
|
+
var _this2$props;
|
|
369
|
+
|
|
370
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
371
|
+
key: item[optionName.key],
|
|
372
|
+
className: (0, _classnames.default)('nav-leaf-item', activeKey && activeKey === item[optionName.key] ? 'is-active' : ''),
|
|
373
|
+
style: {
|
|
374
|
+
height: "".concat(((_this2$props = _this2.props) === null || _this2$props === void 0 ? void 0 : _this2$props.baseItemHeight) || 40, "px")
|
|
375
|
+
},
|
|
376
|
+
onClick: function onClick() {
|
|
377
|
+
return _this2.handleItemControl(item[optionName.key], item);
|
|
378
|
+
}
|
|
379
|
+
}, customLeafNode ? customLeafNode(item) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, item[optionName.title] && /*#__PURE__*/_react.default.createElement("span", {
|
|
380
|
+
className: "leaf-title"
|
|
381
|
+
}, "".concat(item[optionName.title]), " "), item[optionName.count] ? /*#__PURE__*/_react.default.createElement("span", {
|
|
382
|
+
className: "leaf-extra"
|
|
383
|
+
}, " ", /*#__PURE__*/_react.default.createElement(_index.default, {
|
|
384
|
+
name: "warn-fill"
|
|
385
|
+
}), /*#__PURE__*/_react.default.createElement(_badge.default, {
|
|
386
|
+
className: "warning-count",
|
|
387
|
+
count: item[optionName.count]
|
|
388
|
+
})) : null));
|
|
389
|
+
}) : emptyNode)))));
|
|
390
|
+
}
|
|
391
|
+
}]);
|
|
392
|
+
|
|
393
|
+
return NavLeafScroll;
|
|
394
|
+
}(_react.Component);
|
|
395
|
+
|
|
396
|
+
var _default = NavLeafScroll;
|
|
397
|
+
exports.default = _default;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
@root-entry-name: default;
|
|
2
|
+
@import (reference) '~antd/es/style/themes/index';
|
|
3
|
+
|
|
4
|
+
.nav-leaf {
|
|
5
|
+
width: 110px;
|
|
6
|
+
height: 100%;
|
|
7
|
+
//.nav-leaf-container {
|
|
8
|
+
// height: ~'calc(100vh - @{nav-header-height})';
|
|
9
|
+
//}
|
|
10
|
+
|
|
11
|
+
.nav-leaf-container {
|
|
12
|
+
position: relative;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
//height: calc(100% - 32px);
|
|
17
|
+
margin-bottom: -1px;
|
|
18
|
+
font-size: 16px;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
line-height: 1.6;
|
|
21
|
+
white-space: nowrap;
|
|
22
|
+
//transition: padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
23
|
+
zoom: 1;
|
|
24
|
+
&.nav-leaf-container-scroll {
|
|
25
|
+
padding: 32px 0;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.nav-leaf-wrap {
|
|
31
|
+
height: 100%;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
}
|
|
34
|
+
.nav-leaf-nav {
|
|
35
|
+
position: relative;
|
|
36
|
+
display: inline-block;
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
width: 100%;
|
|
39
|
+
margin: 0;
|
|
40
|
+
padding-left: 0;
|
|
41
|
+
//transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
42
|
+
}
|
|
43
|
+
.nav-leaf-arrow {
|
|
44
|
+
position: absolute;
|
|
45
|
+
left: 0;
|
|
46
|
+
width: 100%;
|
|
47
|
+
height: 32px;
|
|
48
|
+
color: @text-color;
|
|
49
|
+
text-align: center;
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
&:hover {
|
|
52
|
+
color: @primary-color;
|
|
53
|
+
}
|
|
54
|
+
&.is-hide {
|
|
55
|
+
display: none;
|
|
56
|
+
}
|
|
57
|
+
&.is-disabled {
|
|
58
|
+
color: fade(@primary-color, 30%) !important;
|
|
59
|
+
cursor: not-allowed !important;
|
|
60
|
+
}
|
|
61
|
+
&.nav-leaf-btn-prev {
|
|
62
|
+
top: 0;
|
|
63
|
+
}
|
|
64
|
+
&.nav-leaf-btn-next {
|
|
65
|
+
bottom: 0;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
.nav-leaf-item {
|
|
69
|
+
height: 40px;
|
|
70
|
+
padding: 5px 10px 5px 10px;
|
|
71
|
+
color: @text-color-secondary;
|
|
72
|
+
line-height: 30px;
|
|
73
|
+
border-top-left-radius: 20px;
|
|
74
|
+
border-bottom-left-radius: 20px;
|
|
75
|
+
cursor: pointer;
|
|
76
|
+
&:hover {
|
|
77
|
+
color: @primary-color;
|
|
78
|
+
}
|
|
79
|
+
&.is-active {
|
|
80
|
+
color: @primary-color;
|
|
81
|
+
background: @background-color-base;
|
|
82
|
+
border-color: @primary-color;
|
|
83
|
+
}
|
|
84
|
+
.leaf-title {
|
|
85
|
+
display: inline-block;
|
|
86
|
+
min-width: 30px;
|
|
87
|
+
}
|
|
88
|
+
.leaf-extra {
|
|
89
|
+
position: relative;
|
|
90
|
+
display: inline-block;
|
|
91
|
+
width: 18px;
|
|
92
|
+
margin-left: 4px;
|
|
93
|
+
color: @error-color;
|
|
94
|
+
text-align: center;
|
|
95
|
+
i {
|
|
96
|
+
color: @error-color;
|
|
97
|
+
}
|
|
98
|
+
.warning-count {
|
|
99
|
+
position: absolute;
|
|
100
|
+
top: -1px;
|
|
101
|
+
left: 20px;
|
|
102
|
+
.ant-badge-multiple-words {
|
|
103
|
+
box-shadow: 0 1px 4px fade(@primary-color, 45%)
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
.nav-leaf-empty {
|
|
109
|
+
position: absolute;
|
|
110
|
+
top: -25px;
|
|
111
|
+
left: -10px;
|
|
112
|
+
width: 100%;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
.themeTech {
|
|
116
|
+
.nav-leaf .nav-leaf-item.is-active {
|
|
117
|
+
background: #10343A;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TreeProps } from 'antd/es/tree';
|
|
3
|
+
import './style/index.less';
|
|
4
|
+
interface selectDataProps {
|
|
5
|
+
currentData?: object;
|
|
6
|
+
multiData?: object[];
|
|
7
|
+
}
|
|
8
|
+
interface optionNameProps {
|
|
9
|
+
key?: string;
|
|
10
|
+
value?: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
children?: string;
|
|
13
|
+
disabled?: string;
|
|
14
|
+
selectable?: string;
|
|
15
|
+
}
|
|
16
|
+
interface RefactorTreeProps extends TreeProps {
|
|
17
|
+
treeData: any[];
|
|
18
|
+
rootName?: string;
|
|
19
|
+
rootKey?: string;
|
|
20
|
+
emptyDescription?: string;
|
|
21
|
+
optionName?: optionNameProps;
|
|
22
|
+
defaultSelectedKeys?: string[];
|
|
23
|
+
onSelect?: (selectedKeys: string[], selectData: selectDataProps, e: any) => void;
|
|
24
|
+
onCheck?: (checkedKeys: string[] | {
|
|
25
|
+
checked: string[];
|
|
26
|
+
halfChecked: string[];
|
|
27
|
+
}, selectData: selectDataProps, e: any) => void;
|
|
28
|
+
nodeExtra?: (data?: object) => React.ReactNode;
|
|
29
|
+
selectable?: boolean;
|
|
30
|
+
checkStrictly?: boolean;
|
|
31
|
+
limitKey?: string;
|
|
32
|
+
checkedKeys?: any;
|
|
33
|
+
nodeControl?: any;
|
|
34
|
+
disabledFields?: {
|
|
35
|
+
key: string;
|
|
36
|
+
value: any;
|
|
37
|
+
}[];
|
|
38
|
+
}
|
|
39
|
+
declare const RefactorTree: (props: RefactorTreeProps) => JSX.Element;
|
|
40
|
+
export default RefactorTree;
|