hrsass-components 2.2.9 → 2.3.0
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
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.
|
|
68
|
+
var version = "2.3.0";
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* 版本号
|
|
@@ -9329,6 +9329,11 @@ var index$2 = {
|
|
|
9329
9329
|
if (res.expandedNodeIds) {
|
|
9330
9330
|
opts.expandedKeyList = [].concat(_toConsumableArray(_this2.expandedKeyList), _toConsumableArray(res.expandedNodeIds));
|
|
9331
9331
|
}
|
|
9332
|
+
_this2.$emit('expand', opts.expandedKeyList, {
|
|
9333
|
+
expanded: true,
|
|
9334
|
+
node: treeNode.dataRef,
|
|
9335
|
+
childNodes: treeNode.dataRef.children
|
|
9336
|
+
});
|
|
9332
9337
|
_this2.setState(opts);
|
|
9333
9338
|
if (res.checkedNodeIds) {
|
|
9334
9339
|
var _getOptionProps4 = getOptionProps(_this2),
|
|
@@ -9535,11 +9540,11 @@ var index$2 = {
|
|
|
9535
9540
|
}));
|
|
9536
9541
|
_this5.$emit('check', checkedKeys, _objectSpread$f({}, e.node.dataRef), nodes);
|
|
9537
9542
|
},
|
|
9538
|
-
expand: function expand(keys) {
|
|
9543
|
+
expand: function expand(keys, params) {
|
|
9539
9544
|
_this5.setState({
|
|
9540
9545
|
expandedKeyList: keys
|
|
9541
9546
|
});
|
|
9542
|
-
_this5.$emit('expand', keys);
|
|
9547
|
+
_this5.$emit('expand', keys, params);
|
|
9543
9548
|
},
|
|
9544
9549
|
load: function load(loadedKeys) {
|
|
9545
9550
|
_this5.setState({
|