hrsass-components 2.1.4 → 2.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/lib/hrsass-components.js +8 -5
- package/lib/hrsass-components.min.js +1 -1
- package/package.json +2 -2
- package/rollup.build.css +15720 -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.1.
|
|
68
|
+
var version = "2.1.6";
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* 版本号
|
|
@@ -7612,15 +7612,18 @@ var HrTableBase = {
|
|
|
7612
7612
|
_getScroll: function _getScroll() {
|
|
7613
7613
|
var _getOptionProps7 = getOptionProps(this),
|
|
7614
7614
|
maxWidth = _getOptionProps7.maxWidth,
|
|
7615
|
-
height = _getOptionProps7.height
|
|
7615
|
+
height = _getOptionProps7.height,
|
|
7616
|
+
action = _getOptionProps7.action;
|
|
7616
7617
|
var scroll = {};
|
|
7617
7618
|
if (maxWidth) {
|
|
7618
|
-
scroll.x = maxWidth;
|
|
7619
|
+
scroll.x = maxWidth - (this.$scopedSlots.action ? action.width || 100 : 0);
|
|
7619
7620
|
}
|
|
7620
7621
|
if (height) {
|
|
7621
7622
|
scroll.y = height;
|
|
7622
7623
|
}
|
|
7623
|
-
return
|
|
7624
|
+
return {
|
|
7625
|
+
x: true
|
|
7626
|
+
};
|
|
7624
7627
|
},
|
|
7625
7628
|
_renderTableBase: function _renderTableBase(locale) {
|
|
7626
7629
|
var _this11 = this;
|
|
@@ -8290,7 +8293,7 @@ var index = {
|
|
|
8290
8293
|
}
|
|
8291
8294
|
}
|
|
8292
8295
|
var tableWidth = this.$refs.tableBase ? this.$refs.tableBase.$el.clientWidth : 0;
|
|
8293
|
-
var resultWidth = selectionWidth + width +
|
|
8296
|
+
var resultWidth = selectionWidth + width + widthLessColumns.length * 100;
|
|
8294
8297
|
result = resultWidth > tableWidth ? resultWidth : null;
|
|
8295
8298
|
}
|
|
8296
8299
|
this.setState({
|