@visactor/vrender-components 0.16.18 → 0.16.19-alpha.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/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/dist/index.js +9 -4
- package/dist/index.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/package.json +3 -3
package/cjs/index.d.ts
CHANGED
package/cjs/index.js
CHANGED
|
@@ -17,7 +17,7 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "__esModule", {
|
|
19
19
|
value: !0
|
|
20
|
-
}), exports.version = void 0, exports.version = "0.16.
|
|
20
|
+
}), exports.version = void 0, exports.version = "0.16.19-alpha.1", __exportStar(require("./core/base"), exports),
|
|
21
21
|
__exportStar(require("./scrollbar"), exports), __exportStar(require("./tag"), exports),
|
|
22
22
|
__exportStar(require("./poptip"), exports), __exportStar(require("./crosshair"), exports),
|
|
23
23
|
__exportStar(require("./label"), exports), __exportStar(require("./axis"), exports),
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACa,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACa,QAAA,OAAO,GAAG,iBAAiB,CAAC;AAEzC,8CAA4B;AAC5B,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,8CAA4B;AAC5B,0CAAwB;AACxB,yCAAuB;AACvB,8CAA4B;AAC5B,4CAA0B;AAC1B,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB;AACzB,0CAAwB;AACxB,8CAA4B;AAC5B,2CAAyB;AACzB,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,4CAA0B;AAC1B,8CAA4B;AAC5B,wCAAsB;AACtB,6CAA2B","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"0.16.19-alpha.1\";\n\nexport * from './core/base';\nexport * from './scrollbar';\nexport * from './tag';\nexport * from './poptip';\nexport * from './crosshair';\nexport * from './label';\nexport * from './axis';\nexport * from './axis/grid';\nexport * from './segment';\nexport * from './data-zoom';\nexport * from './marker';\nexport * from './pager';\nexport * from './legend';\nexport * from './title';\nexport * from './indicator';\nexport * from './slider';\nexport * from './link-path';\nexport * from './player';\nexport * from './brush';\nexport * from './tooltip';\nexport * from './interface';\nexport * from './jsx';\nexport * from './checkbox';\n"]}
|
package/dist/index.js
CHANGED
|
@@ -4476,7 +4476,10 @@
|
|
|
4476
4476
|
lineClamp: 1 / 0,
|
|
4477
4477
|
suffixPosition: "end"
|
|
4478
4478
|
};
|
|
4479
|
-
var
|
|
4479
|
+
var DefaultPickStyle = {
|
|
4480
|
+
pickStrokeBuffer: 0
|
|
4481
|
+
};
|
|
4482
|
+
var DefaultStyle = Object.assign(Object.assign(Object.assign(Object.assign({
|
|
4480
4483
|
opacity: 1,
|
|
4481
4484
|
background: null,
|
|
4482
4485
|
texture: null,
|
|
@@ -4487,7 +4490,7 @@
|
|
|
4487
4490
|
blur: 0,
|
|
4488
4491
|
cursor: null,
|
|
4489
4492
|
html: null
|
|
4490
|
-
}, DefaultFillStyle), DefaultStrokeStyle), DefaultLayout);
|
|
4493
|
+
}, DefaultFillStyle), DefaultStrokeStyle), DefaultLayout), DefaultPickStyle);
|
|
4491
4494
|
var DefaultConnectAttribute = {
|
|
4492
4495
|
connectedType: "none",
|
|
4493
4496
|
connectedStyle: {},
|
|
@@ -14046,12 +14049,14 @@
|
|
|
14046
14049
|
shadowBlur = _attribute$shadowBlur2 === void 0 ? theme.shadowBlur : _attribute$shadowBlur2,
|
|
14047
14050
|
_attribute$lineWidth = attribute.lineWidth,
|
|
14048
14051
|
lineWidth = _attribute$lineWidth === void 0 ? theme.lineWidth : _attribute$lineWidth,
|
|
14052
|
+
_attribute$pickStroke = attribute.pickStrokeBuffer,
|
|
14053
|
+
pickStrokeBuffer = _attribute$pickStroke === void 0 ? theme.pickStrokeBuffer : _attribute$pickStroke,
|
|
14049
14054
|
_attribute$strokeBoun2 = attribute.strokeBoundsBuffer,
|
|
14050
14055
|
strokeBoundsBuffer = _attribute$strokeBoun2 === void 0 ? theme.strokeBoundsBuffer : _attribute$strokeBoun2,
|
|
14051
14056
|
tb1 = this.tempAABBBounds1,
|
|
14052
14057
|
tb2 = this.tempAABBBounds2;
|
|
14053
14058
|
if (stroke) {
|
|
14054
|
-
var scaledHalfLineWidth = lineWidth / Math.abs(scaleX + scaleY);
|
|
14059
|
+
var scaledHalfLineWidth = (lineWidth + pickStrokeBuffer) / Math.abs(scaleX + scaleY);
|
|
14055
14060
|
boundStroke(tb1, scaledHalfLineWidth, miter, strokeBoundsBuffer), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2);
|
|
14056
14061
|
}
|
|
14057
14062
|
if (shadowBlur) {
|
|
@@ -31852,7 +31857,7 @@
|
|
|
31852
31857
|
}
|
|
31853
31858
|
};
|
|
31854
31859
|
|
|
31855
|
-
const version = "0.16.
|
|
31860
|
+
const version = "0.16.19-alpha.1";
|
|
31856
31861
|
|
|
31857
31862
|
exports.AbstractComponent = AbstractComponent;
|
|
31858
31863
|
exports.ArcInfo = ArcInfo;
|