hrsass-components 2.5.0 → 2.5.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/lib/hrsass-components.js +27 -19
- package/lib/hrsass-components.min.js +1 -1
- package/package.json +1 -1
- package/rollup.build.css +10500 -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.2";
|
|
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,
|
|
@@ -9845,7 +9849,8 @@ var HrButton = {
|
|
|
9845
9849
|
width: VuePropTypes.string,
|
|
9846
9850
|
size: VuePropTypes.string,
|
|
9847
9851
|
disabled: VuePropTypes.bool,
|
|
9848
|
-
icon: VuePropTypes.string
|
|
9852
|
+
icon: VuePropTypes.string,
|
|
9853
|
+
loading: VuePropTypes.bool
|
|
9849
9854
|
}, {
|
|
9850
9855
|
prefixCls: 'hr-button'
|
|
9851
9856
|
}),
|
|
@@ -9859,10 +9864,12 @@ var HrButton = {
|
|
|
9859
9864
|
_getOptionProps$disab = _getOptionProps.disabled,
|
|
9860
9865
|
disabled = _getOptionProps$disab === void 0 ? false : _getOptionProps$disab,
|
|
9861
9866
|
width = _getOptionProps.width,
|
|
9867
|
+
_getOptionProps$loadi = _getOptionProps.loading,
|
|
9868
|
+
loading = _getOptionProps$loadi === void 0 ? false : _getOptionProps$loadi,
|
|
9862
9869
|
icon = _getOptionProps.icon,
|
|
9863
9870
|
_getOptionProps$size = _getOptionProps.size,
|
|
9864
9871
|
size = _getOptionProps$size === void 0 ? 'default' : _getOptionProps$size;
|
|
9865
|
-
var classWrapper = classNames(prefixCls, cls, _defineProperty(_defineProperty({}, "".concat(prefixCls, "-disabled"), disabled), "".concat(prefixCls, "-").concat(icon), icon));
|
|
9872
|
+
var classWrapper = classNames(prefixCls, cls, _defineProperty(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-disabled"), disabled), "".concat(prefixCls, "-").concat(icon), icon), "".concat(prefixCls, "-loading"), loading));
|
|
9866
9873
|
var hrButtonProps = {
|
|
9867
9874
|
props: {
|
|
9868
9875
|
disabled: disabled,
|
|
@@ -9871,7 +9878,8 @@ var HrButton = {
|
|
|
9871
9878
|
icon: icon,
|
|
9872
9879
|
style: {
|
|
9873
9880
|
width: width
|
|
9874
|
-
}
|
|
9881
|
+
},
|
|
9882
|
+
loading: loading
|
|
9875
9883
|
},
|
|
9876
9884
|
on: _objectSpread$g({}, _objectSpread$g({}, this.$listeners))
|
|
9877
9885
|
};
|