hrsass-components 2.2.9 → 2.3.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 +10 -4
- package/lib/hrsass-components.min.js +1 -1
- package/package.json +1 -1
- package/rollup.build.css +10480 -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.
|
|
68
|
+
var version = "2.3.1";
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* 版本号
|
|
@@ -1473,7 +1473,8 @@ var HrComboBox = {
|
|
|
1473
1473
|
}, [dataset.map(function (item) {
|
|
1474
1474
|
return h(antDesignVue.Select.Option, {
|
|
1475
1475
|
attrs: {
|
|
1476
|
-
value: "".concat(item[key])
|
|
1476
|
+
value: "".concat(item[key]),
|
|
1477
|
+
title: "".concat(item[text])
|
|
1477
1478
|
},
|
|
1478
1479
|
key: "".concat(item[key])
|
|
1479
1480
|
}, [item[text]]);
|
|
@@ -9329,6 +9330,11 @@ var index$2 = {
|
|
|
9329
9330
|
if (res.expandedNodeIds) {
|
|
9330
9331
|
opts.expandedKeyList = [].concat(_toConsumableArray(_this2.expandedKeyList), _toConsumableArray(res.expandedNodeIds));
|
|
9331
9332
|
}
|
|
9333
|
+
_this2.$emit('expand', opts.expandedKeyList, {
|
|
9334
|
+
expanded: true,
|
|
9335
|
+
node: treeNode.dataRef,
|
|
9336
|
+
childNodes: treeNode.dataRef.children
|
|
9337
|
+
});
|
|
9332
9338
|
_this2.setState(opts);
|
|
9333
9339
|
if (res.checkedNodeIds) {
|
|
9334
9340
|
var _getOptionProps4 = getOptionProps(_this2),
|
|
@@ -9535,11 +9541,11 @@ var index$2 = {
|
|
|
9535
9541
|
}));
|
|
9536
9542
|
_this5.$emit('check', checkedKeys, _objectSpread$f({}, e.node.dataRef), nodes);
|
|
9537
9543
|
},
|
|
9538
|
-
expand: function expand(keys) {
|
|
9544
|
+
expand: function expand(keys, params) {
|
|
9539
9545
|
_this5.setState({
|
|
9540
9546
|
expandedKeyList: keys
|
|
9541
9547
|
});
|
|
9542
|
-
_this5.$emit('expand', keys);
|
|
9548
|
+
_this5.$emit('expand', keys, params);
|
|
9543
9549
|
},
|
|
9544
9550
|
load: function load(loadedKeys) {
|
|
9545
9551
|
_this5.setState({
|