hrsass-components 2.5.0 → 2.5.1
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/lib/hrsass-components.js +20 -16
- package/lib/hrsass-components.min.js +1 -1
- package/package.json +1 -1
- package/rollup.build.css +5250 -0
package/lib/hrsass-components.js
CHANGED
|
@@ -65,7 +65,7 @@ var contentStyle = _interopDefault(require('!!raw-loader!tinymce/skins/content/d
|
|
|
65
65
|
var SvgPanZoom = _interopDefault(require('svg-pan-zoom'));
|
|
66
66
|
var saveSvgAsPng = require('save-svg-as-png');
|
|
67
67
|
|
|
68
|
-
var version = "2.5.
|
|
68
|
+
var version = "2.5.1";
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* 版本号
|
|
@@ -9408,7 +9408,8 @@ var index$2 = {
|
|
|
9408
9408
|
expandedKeys: VuePropTypes.array,
|
|
9409
9409
|
selectedKeys: VuePropTypes.array,
|
|
9410
9410
|
value: VuePropTypes.array,
|
|
9411
|
-
showSearch: VuePropTypes.bool
|
|
9411
|
+
showSearch: VuePropTypes.bool,
|
|
9412
|
+
disableExpand: VuePropTypes.bool
|
|
9412
9413
|
}, {
|
|
9413
9414
|
prefixCls: 'hr-tree',
|
|
9414
9415
|
dataSource: [],
|
|
@@ -9420,7 +9421,8 @@ var index$2 = {
|
|
|
9420
9421
|
checkStrictly: false,
|
|
9421
9422
|
multiple: false,
|
|
9422
9423
|
disabled: false,
|
|
9423
|
-
showSearch: false
|
|
9424
|
+
showSearch: false,
|
|
9425
|
+
disableExpand: false
|
|
9424
9426
|
}),
|
|
9425
9427
|
data: function data() {
|
|
9426
9428
|
return {
|
|
@@ -9552,6 +9554,8 @@ var index$2 = {
|
|
|
9552
9554
|
},
|
|
9553
9555
|
_recurrenceTreeData: function _recurrenceTreeData(list) {
|
|
9554
9556
|
var _this3 = this;
|
|
9557
|
+
var _getOptionProps5 = getOptionProps(this),
|
|
9558
|
+
disableExpand = _getOptionProps5.disableExpand;
|
|
9555
9559
|
return list.map(function (item) {
|
|
9556
9560
|
var result = {
|
|
9557
9561
|
key: item.property.id,
|
|
@@ -9562,7 +9566,7 @@ var index$2 = {
|
|
|
9562
9566
|
selectable: item.property.selectable,
|
|
9563
9567
|
"class": item.property.selectable ? '' : 'node-disabled',
|
|
9564
9568
|
loadOptions: item.property.loadOptions,
|
|
9565
|
-
isLeaf: !item.property.loadable,
|
|
9569
|
+
isLeaf: !item.property.loadable || disableExpand,
|
|
9566
9570
|
type: item.property.type,
|
|
9567
9571
|
nodeType: item.property.nodeType
|
|
9568
9572
|
};
|
|
@@ -9701,18 +9705,18 @@ var index$2 = {
|
|
|
9701
9705
|
expandedKeyList = _this$expandedKeyList === void 0 ? [] : _this$expandedKeyList,
|
|
9702
9706
|
_this$loadedKeyList = this.loadedKeyList,
|
|
9703
9707
|
loadedKeyList = _this$loadedKeyList === void 0 ? [] : _this$loadedKeyList;
|
|
9704
|
-
var
|
|
9705
|
-
prefixCls =
|
|
9706
|
-
cls =
|
|
9707
|
-
showIcon =
|
|
9708
|
-
loadData =
|
|
9709
|
-
checkable =
|
|
9710
|
-
checkStrictly =
|
|
9711
|
-
multiple =
|
|
9712
|
-
disabled =
|
|
9713
|
-
value =
|
|
9714
|
-
selectedKeys =
|
|
9715
|
-
showSearch =
|
|
9708
|
+
var _getOptionProps6 = getOptionProps(this),
|
|
9709
|
+
prefixCls = _getOptionProps6.prefixCls,
|
|
9710
|
+
cls = _getOptionProps6["class"],
|
|
9711
|
+
showIcon = _getOptionProps6.showIcon,
|
|
9712
|
+
loadData = _getOptionProps6.loadData,
|
|
9713
|
+
checkable = _getOptionProps6.checkable,
|
|
9714
|
+
checkStrictly = _getOptionProps6.checkStrictly,
|
|
9715
|
+
multiple = _getOptionProps6.multiple,
|
|
9716
|
+
disabled = _getOptionProps6.disabled,
|
|
9717
|
+
value = _getOptionProps6.value,
|
|
9718
|
+
selectedKeys = _getOptionProps6.selectedKeys,
|
|
9719
|
+
showSearch = _getOptionProps6.showSearch;
|
|
9716
9720
|
var hrTreeProps = {
|
|
9717
9721
|
props: {
|
|
9718
9722
|
selectedKeys: selectedKeys,
|