Skip to content

Commit

Permalink
build: prelease version 1.12.16
Browse files Browse the repository at this point in the history
  • Loading branch information
skie1997 committed Dec 12, 2024
1 parent 7f95b15 commit d143fc9
Show file tree
Hide file tree
Showing 28 changed files with 116 additions and 112 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

26 changes: 13 additions & 13 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/config/rush/version-policies.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"definitionName":"lockStepVersion","policyName":"vchartMain","version":"1.12.15","mainProject":"@visactor/vchart","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vchartMain","version":"1.12.16","mainProject":"@visactor/vchart","nextBump":"patch"}]
8 changes: 4 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
},
"dependencies": {
"@arco-design/web-react": "2.46.1",
"@visactor/openinula-vchart": "workspace:1.12.15",
"@visactor/react-vchart": "workspace:1.12.15",
"@visactor/vchart": "workspace:1.12.15",
"@visactor/vchart-extension": "workspace:1.12.15",
"@visactor/openinula-vchart": "workspace:1.12.16",
"@visactor/react-vchart": "workspace:1.12.16",
"@visactor/vchart": "workspace:1.12.16",
"@visactor/vchart-extension": "workspace:1.12.16",
"@visactor/vchart-theme": "~1.6.6",
"@visactor/vmind": "1.2.4-alpha.5",
"@visactor/vutils": "~0.19.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/block-vchart/block/vchart/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/harmony_vchart/library/oh-package.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
name: '@visactor/harmony-vchart',
version: '1.12.15',
version: '1.12.16',
description: '@visactor/vchart 针对 harmonyOS 打造的图表库,拥有非常酷炫的动画能力,近20种图表类型,以及原生的渲染性能',
main: 'Index.ets',
author: {
Expand Down
59 changes: 34 additions & 25 deletions packages/harmony_vchart/library/src/main/ets/vchart_dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -32209,7 +32209,7 @@ function shiftY(texts, option) {
deltaYTolerance = Number.MAX_VALUE
} = globalShiftY;
for (let iter = 0; iter < maxIterations; iter++) {
texts.sort((a, b) => getY1(a) - getY1(b));
texts.sort((a, b) => getY1Initial(a) - getY1Initial(b));
let error = 0;
for (let i = 0; i < n - 1; i++) {
const curText = texts[i];
Expand Down Expand Up @@ -61928,7 +61928,7 @@ const registerVChartCore = () => {
};
registerVChartCore();

const version = "1.12.15";
const version = "1.12.16";

const addVChartProperty = (data, op) => {
const context = op.beforeCall();
Expand Down Expand Up @@ -63573,7 +63573,9 @@ class BaseSeries extends BaseModel {
_updateExtensionMarkSpec() {
var _a;
(_a = this._spec.extensionMark) === null || _a === void 0 ? void 0 : _a.forEach((spec, i) => {
const mark = this._marks.getMarkWithInfo({ name: `${this._getExtensionMarkNamePrefix()}_${i}` });
const mark = this._marks.getMarkWithInfo({
name: isValid$1(spec.name) ? `${spec.name}` : `${this._getExtensionMarkNamePrefix()}_${i}`
});
if (!mark) {
return;
}
Expand Down Expand Up @@ -63797,7 +63799,7 @@ class BaseSeries extends BaseModel {
_compareExtensionMarksSpec(newMarks, prevMarks, compareResult) {
if (newMarks.length !== prevMarks.length ||
prevMarks.some((prev, index) => {
return prev.type !== newMarks[index].type || prev.id !== newMarks[index].id;
return (prev.type !== newMarks[index].type || prev.id !== newMarks[index].id || prev.name !== newMarks[index].name);
})) {
compareResult.reMake = true;
}
Expand Down Expand Up @@ -93028,12 +93030,13 @@ const lockStatisticsFilter = (statisticsData, op) => {
return statisticsData;
}
const fields = originalFields();
if (statisticsData[datumField] &&
const realField = isArray$1(datumField) ? datumField[0] : datumField;
if (statisticsData[realField] &&
fields &&
fields[datumField] &&
fields[datumField].lockStatisticsByDomain &&
fields[realField] &&
fields[realField].lockStatisticsByDomain &&
!isContinuous()) {
statisticsData[datumField].values = newDomain;
statisticsData[realField].values = newDomain;
}
return statisticsData;
};
Expand Down Expand Up @@ -94034,32 +94037,32 @@ class DataZoom extends DataFilterBaseComponent {
this._startHandlerSize / 2,
defaultSize + this._startHandlerSize / 2
];
const compWidth = this._computeWidth();
const compHeight = this._computeHeight();
if (this._isHorizontal) {
stateScaleRange = this._visible
? [this._startHandlerSize / 2, this._computeWidth() - handlerSize + this._startHandlerSize / 2]
? [this._startHandlerSize / 2, compWidth - handlerSize + this._startHandlerSize / 2]
: defaultRange;
this._stateScale.range(stateScaleRange);
this._valueScale.range([this._computeHeight() - this._middleHandlerSize, 0]);
}
else if (this.layoutOrient === 'left') {
stateScaleRange = this._visible
? [this._startHandlerSize / 2, this._computeHeight() - handlerSize + this._startHandlerSize / 2]
: defaultRange;
this._stateScale.range(stateScaleRange);
this._valueScale.range([this._computeWidth() - this._middleHandlerSize, 0]);
this._valueScale.range([compHeight - this._middleHandlerSize, 0]);
}
else {
stateScaleRange = this._visible
? [this._startHandlerSize / 2, this._computeHeight() - handlerSize + this._startHandlerSize / 2]
? [this._startHandlerSize / 2, compHeight - handlerSize + this._startHandlerSize / 2]
: defaultRange;
this._stateScale.range(stateScaleRange);
this._valueScale.range([0, this._computeWidth() - this._middleHandlerSize]);
if (this.layoutOrient === 'left') {
this._valueScale.range([compWidth - this._middleHandlerSize, 0]);
}
else {
this._valueScale.range([0, compWidth - this._middleHandlerSize]);
}
}
if (this._component && this._cacheVisibility !== false) {
this._component.setAttributes({
size: {
width: this._computeWidth(),
height: this._computeHeight()
width: compWidth,
height: compHeight
},
position: {
x: this.getLayoutStartPoint().x,
Expand Down Expand Up @@ -94105,7 +94108,7 @@ class DataZoom extends DataFilterBaseComponent {
if (this._isHorizontal) {
return this._backgroundSize + this._middleHandlerSize;
}
return this.getLayoutRect().height - (this._startHandlerSize + this._endHandlerSize) / 2;
return this.getLayoutRect().height;
}
_isScaleValid(scale) {
if (!scale || !scale.domain()) {
Expand All @@ -94127,8 +94130,8 @@ class DataZoom extends DataFilterBaseComponent {
x: this.getLayoutStartPoint().x,
y: this.getLayoutStartPoint().y
}, orient: this._orient, size: {
width: this.getLayoutRect().width,
height: this.getLayoutRect().height
width: this._computeWidth(),
height: this._computeHeight()
}, showDetail: spec.showDetail, brushSelect: (_b = spec.brushSelect) !== null && _b !== void 0 ? _b : false, zoomLock: (_c = spec.zoomLock) !== null && _c !== void 0 ? _c : false, minSpan: this._minSpan, maxSpan: this._maxSpan, delayType: spec.delayType, delayTime: isValid$1(spec.delayType) ? (_d = spec.delayTime) !== null && _d !== void 0 ? _d : 30 : 0, realTime: (_e = spec.realTime) !== null && _e !== void 0 ? _e : true, previewData: isNeedPreview && this._data.getLatestData(), previewPointsX: isNeedPreview && this._dataToPositionX, previewPointsY: isNeedPreview && this._dataToPositionY, tolerance: this._spec.tolerance }, this._getComponentAttrs(isNeedPreview));
}
_createOrUpdateComponent() {
Expand Down Expand Up @@ -94579,6 +94582,13 @@ class Indicator extends BaseComponent {
}, content: contentComponentSpec }, restSpec);
}
_createOrUpdateIndicatorComponent(attrs) {
if (attrs.visible === false) {
if (this._indicatorComponent && this._indicatorComponent.parent) {
this._indicatorComponent.parent.removeChild(this._indicatorComponent);
}
this._indicatorComponent = null;
return;
}
if (this._indicatorComponent) {
if (!isEqual(attrs, this._cacheAttrs)) {
this._indicatorComponent.setAttributes(attrs);
Expand All @@ -94593,7 +94603,6 @@ class Indicator extends BaseComponent {
this._indicatorComponent.on('*', (event, type) => this._delegateEvent(this._indicatorComponent, event, type));
}
this._cacheAttrs = attrs;
return this._indicatorComponent;
}
_createText(field, text) {
var _a;
Expand Down
2 changes: 1 addition & 1 deletion packages/lark-vchart/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/lark-vchart",
"version": "1.12.15",
"version": "1.12.16",
"description": "VChart 飞书小程序组件",
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/lark-vchart/src/vchart/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/openinula-vchart/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/openinula-vchart",
"version": "1.12.15",
"version": "1.12.16",
"sideEffects": false,
"description": "The openinula version of VChart 4.x",
"keywords": [
Expand Down Expand Up @@ -28,7 +28,7 @@
"build": "bundle --clean"
},
"dependencies": {
"@visactor/vchart": "workspace:1.12.15",
"@visactor/vchart": "workspace:1.12.16",
"@visactor/vutils": "~0.19.2",
"@visactor/vrender-core": "0.20.19",
"@visactor/vrender-kits": "0.20.19",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-vchart/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/react-vchart",
"version": "1.12.15",
"version": "1.12.16",
"sideEffects": false,
"description": "The react version of VChart 4.x",
"keywords": [
Expand Down Expand Up @@ -28,7 +28,7 @@
"build": "bundle --clean"
},
"dependencies": {
"@visactor/vchart": "workspace:1.12.15",
"@visactor/vchart": "workspace:1.12.16",
"@visactor/vutils": "~0.19.2",
"@visactor/vrender-core": "0.20.19",
"@visactor/vrender-kits": "0.20.19",
Expand Down
4 changes: 2 additions & 2 deletions packages/taro-vchart/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/taro-vchart",
"version": "1.12.15",
"version": "1.12.16",
"description": "Taro VChart 图表组件",
"sideEffects": false,
"main": "esm/index.js",
Expand Down Expand Up @@ -43,7 +43,7 @@
},
"license": "MIT",
"dependencies": {
"@visactor/vchart": "workspace:1.12.15"
"@visactor/vchart": "workspace:1.12.16"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/tt-vchart/src/vchart/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/vchart-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vchart-extension",
"version": "1.12.15",
"version": "1.12.16",
"description": "vchart extension package, including extension plugins and components",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -27,7 +27,7 @@
"@visactor/vgrammar-core": "0.14.19",
"@visactor/vutils": "~0.19.2",
"@visactor/vdataset": "~0.19.2",
"@visactor/vchart": "workspace:1.12.15"
"@visactor/vchart": "workspace:1.12.16"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/vchart-schema/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vchart-schema",
"version": "1.12.15",
"version": "1.12.16",
"description": "The VChart JSON schema file.",
"sideEffects": false,
"main": "vchart.json",
Expand Down
Loading

0 comments on commit d143fc9

Please sign in to comment.