@visactor/vrender-components 1.1.0-alpha.6 → 1.1.0-alpha.7
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/axis/line.js +2 -1
- package/cjs/checkbox/index.js +1 -2
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/dist/index.es.js +98 -18
- package/es/axis/line.js +2 -1
- package/es/checkbox/index.js +1 -2
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/package.json +6 -6
package/cjs/axis/line.js
CHANGED
|
@@ -391,4 +391,5 @@ class LineAxis extends base_1.AxisBase {
|
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
exports.LineAxis = LineAxis, LineAxis.defaultAttributes = config_1.DEFAULT_AXIS_THEME,
|
|
394
|
-
(0, vutils_1.mixin)(LineAxis, line_1.LineAxisMixin);
|
|
394
|
+
(0, vutils_1.mixin)(LineAxis, line_1.LineAxisMixin);
|
|
395
|
+
//# sourceMappingURL=line.js.map
|
package/cjs/checkbox/index.js
CHANGED
|
@@ -17,5 +17,4 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "__esModule", {
|
|
19
19
|
value: !0
|
|
20
|
-
}), __exportStar(require("./checkbox"), exports), __exportStar(require("./type"), exports);
|
|
21
|
-
//# sourceMappingURL=index.js.map
|
|
20
|
+
}), __exportStar(require("./checkbox"), exports), __exportStar(require("./type"), exports);
|
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 = "1.1.0-alpha.
|
|
20
|
+
}), exports.version = void 0, exports.version = "1.1.0-alpha.7", __exportStar(require("./core/base"), exports),
|
|
21
21
|
__exportStar(require("./core/type"), exports), __exportStar(require("./scrollbar"), exports),
|
|
22
22
|
__exportStar(require("./tag"), exports), __exportStar(require("./poptip"), exports),
|
|
23
23
|
__exportStar(require("./crosshair"), exports), __exportStar(require("./label"), exports),
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACa,QAAA,OAAO,GAAG,eAAe,CAAC;AAEvC,8CAA4B;AAC5B,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,6CAA2B;AAC3B,8CAA4B;AAC5B,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB;AACxB,8CAA4B;AAC5B,4CAA0B;AAC1B,yCAAuB;AACvB,2CAAyB;AACzB,+CAA6B;AAC7B,wDAAsC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.1.0-alpha.
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACa,QAAA,OAAO,GAAG,eAAe,CAAC;AAEvC,8CAA4B;AAC5B,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,6CAA2B;AAC3B,8CAA4B;AAC5B,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB;AACxB,8CAA4B;AAC5B,4CAA0B;AAC1B,yCAAuB;AACvB,2CAAyB;AACzB,+CAA6B;AAC7B,wDAAsC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.1.0-alpha.7\";\n\nexport * from './core/base';\nexport * from './core/type';\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 './timeline';\nexport * from './interface';\nexport * from './jsx';\nexport * from './checkbox';\nexport * from './radio';\nexport * from './empty-tip';\nexport * from './weather';\nexport * from './util';\nexport * from './switch';\nexport * from './label-item';\nexport * from './table-series-number';\n"]}
|
package/dist/index.es.js
CHANGED
|
@@ -5240,11 +5240,23 @@ class StateTransitionOrchestrator {
|
|
|
5240
5240
|
if (!hasAnimation) return plan;
|
|
5241
5241
|
const noWorkAnimateAttr = Object.assign(Object.assign({}, null !== (_a = options.noWorkAnimateAttr) && void 0 !== _a ? _a : {}), normalizeNoAnimateAttrConfig(null === (_b = options.animateConfig) || void 0 === _b ? void 0 : _b.noAnimateAttrs)),
|
|
5242
5242
|
isClear = !0 === options.isClear,
|
|
5243
|
-
getDefaultAttribute = options.getDefaultAttribute
|
|
5243
|
+
getDefaultAttribute = options.getDefaultAttribute,
|
|
5244
|
+
shouldSkipDefaultAttribute = options.shouldSkipDefaultAttribute,
|
|
5245
|
+
assignTransitionAttr = (key, value) => {
|
|
5246
|
+
if (noWorkAnimateAttr[key]) return plan.jumpAttrs[key] = value, void (plan.noAnimateAttrs[key] = value);
|
|
5247
|
+
if (isClear && void 0 === value) {
|
|
5248
|
+
if (null == shouldSkipDefaultAttribute ? void 0 : shouldSkipDefaultAttribute(key, targetAttrs)) return;
|
|
5249
|
+
plan.animateAttrs[key] = getDefaultAttribute ? getDefaultAttribute(key) : value;
|
|
5250
|
+
} else plan.animateAttrs[key] = value;
|
|
5251
|
+
};
|
|
5244
5252
|
for (const key in targetAttrs) {
|
|
5245
5253
|
if (!Object.prototype.hasOwnProperty.call(targetAttrs, key)) continue;
|
|
5246
|
-
|
|
5247
|
-
|
|
5254
|
+
assignTransitionAttr(key, targetAttrs[key]);
|
|
5255
|
+
}
|
|
5256
|
+
const extraAnimateAttrs = options.extraAnimateAttrs;
|
|
5257
|
+
if (extraAnimateAttrs) for (const key in extraAnimateAttrs) {
|
|
5258
|
+
const hasTargetAttr = Object.prototype.hasOwnProperty.call(targetAttrs, key);
|
|
5259
|
+
!Object.prototype.hasOwnProperty.call(extraAnimateAttrs, key) || hasTargetAttr && void 0 !== targetAttrs[key] || assignTransitionAttr(key, extraAnimateAttrs[key]);
|
|
5248
5260
|
}
|
|
5249
5261
|
return plan;
|
|
5250
5262
|
}
|
|
@@ -5271,12 +5283,14 @@ class StateTransitionOrchestrator {
|
|
|
5271
5283
|
}), plan;
|
|
5272
5284
|
}
|
|
5273
5285
|
applyClearTransition(graphic, targetAttrs, hasAnimation, stateNames, options = {}) {
|
|
5274
|
-
var _a, _b;
|
|
5286
|
+
var _a, _b, _c, _d;
|
|
5275
5287
|
const plan = this.analyzeTransition({}, targetAttrs, stateNames, hasAnimation, {
|
|
5276
5288
|
noWorkAnimateAttr: null === (_a = graphic.getNoWorkAnimateAttr) || void 0 === _a ? void 0 : _a.call(graphic),
|
|
5277
5289
|
isClear: !0,
|
|
5278
5290
|
getDefaultAttribute: null === (_b = graphic.getDefaultAttribute) || void 0 === _b ? void 0 : _b.bind(graphic),
|
|
5279
|
-
|
|
5291
|
+
shouldSkipDefaultAttribute: null !== (_c = options.shouldSkipDefaultAttribute) && void 0 !== _c ? _c : null === (_d = graphic.shouldSkipStateTransitionDefaultAttribute) || void 0 === _d ? void 0 : _d.bind(graphic),
|
|
5292
|
+
animateConfig: options.animateConfig,
|
|
5293
|
+
extraAnimateAttrs: options.extraAnimateAttrs
|
|
5280
5294
|
});
|
|
5281
5295
|
return this.applyTransition(graphic, plan, hasAnimation, options);
|
|
5282
5296
|
}
|
|
@@ -5592,13 +5606,22 @@ class Graphic extends Node {
|
|
|
5592
5606
|
"deep" === this.stateMergeMode && isPlainObjectValue(previousValue) && isPlainObjectValue(nextValue) ? snapshot[key] = deepMergeAttributeValue(previousValue, nextValue) : snapshot[key] = cloneAttributeValue(nextValue);
|
|
5593
5607
|
}), snapshot) : snapshot;
|
|
5594
5608
|
}
|
|
5595
|
-
|
|
5596
|
-
const
|
|
5597
|
-
if (!previousResolvedStatePatch) return
|
|
5598
|
-
const snapshot = this.buildStaticAttributeSnapshot()
|
|
5609
|
+
buildRemovedStateAnimationAttrs(targetStateAttrs, previousResolvedStatePatch) {
|
|
5610
|
+
const extraAttrs = {};
|
|
5611
|
+
if (!previousResolvedStatePatch) return extraAttrs;
|
|
5612
|
+
const snapshot = this.buildStaticAttributeSnapshot(),
|
|
5613
|
+
staticTargetAttrs = snapshot;
|
|
5599
5614
|
return Object.keys(previousResolvedStatePatch).forEach(key => {
|
|
5600
|
-
|
|
5601
|
-
|
|
5615
|
+
const hasTargetAttr = Object.prototype.hasOwnProperty.call(targetStateAttrs, key);
|
|
5616
|
+
if (hasTargetAttr && void 0 !== targetStateAttrs[key]) return;
|
|
5617
|
+
const assignFallbackAttr = value => {
|
|
5618
|
+
void 0 === value && this.shouldSkipStateTransitionDefaultAttribute(key, staticTargetAttrs) || (extraAttrs[key] = void 0 === value ? value : cloneAttributeValue(value));
|
|
5619
|
+
};
|
|
5620
|
+
if (hasTargetAttr) assignFallbackAttr(this.getStateTransitionDefaultAttribute(key, staticTargetAttrs));else if (Object.prototype.hasOwnProperty.call(snapshot, key)) {
|
|
5621
|
+
const snapshotValue = snapshot[key];
|
|
5622
|
+
assignFallbackAttr(void 0 === snapshotValue ? this.getStateTransitionDefaultAttribute(key, staticTargetAttrs) : snapshotValue);
|
|
5623
|
+
} else assignFallbackAttr(this.getStateTransitionDefaultAttribute(key, staticTargetAttrs));
|
|
5624
|
+
}), extraAttrs;
|
|
5602
5625
|
}
|
|
5603
5626
|
syncObjectToSnapshot(target, snapshot) {
|
|
5604
5627
|
const delta = new Map();
|
|
@@ -6021,21 +6044,31 @@ class Graphic extends Node {
|
|
|
6021
6044
|
var _a, _b, _c;
|
|
6022
6045
|
return null !== (_c = null !== (_a = null != animateConfig ? animateConfig : this.stateAnimateConfig) && void 0 !== _a ? _a : null === (_b = this.context) || void 0 === _b ? void 0 : _b.stateAnimateConfig) && void 0 !== _c ? _c : DefaultStateAnimateConfig;
|
|
6023
6046
|
}
|
|
6024
|
-
applyStateAttrs(attrs, stateNames, hasAnimation, isClear, animateConfig) {
|
|
6047
|
+
applyStateAttrs(attrs, stateNames, hasAnimation, isClear, animateConfig, extraAnimateAttrs) {
|
|
6025
6048
|
const resolvedAnimateConfig = hasAnimation ? this.resolveStateAnimateConfig(animateConfig) : void 0,
|
|
6026
6049
|
transitionOptions = resolvedAnimateConfig ? {
|
|
6027
|
-
animateConfig: resolvedAnimateConfig
|
|
6050
|
+
animateConfig: resolvedAnimateConfig,
|
|
6051
|
+
extraAnimateAttrs: extraAnimateAttrs,
|
|
6052
|
+
shouldSkipDefaultAttribute: this.shouldSkipStateTransitionDefaultAttribute.bind(this)
|
|
6028
6053
|
} : void 0;
|
|
6029
6054
|
if (isClear) return void this.getStateTransitionOrchestrator().applyClearTransition(this, attrs, hasAnimation, stateNames, transitionOptions);
|
|
6030
6055
|
const plan = this.getStateTransitionOrchestrator().analyzeTransition({}, attrs, stateNames, hasAnimation, {
|
|
6031
6056
|
noWorkAnimateAttr: this.getNoWorkAnimateAttr(),
|
|
6032
|
-
animateConfig: resolvedAnimateConfig
|
|
6057
|
+
animateConfig: resolvedAnimateConfig,
|
|
6058
|
+
extraAnimateAttrs: extraAnimateAttrs,
|
|
6059
|
+
shouldSkipDefaultAttribute: this.shouldSkipStateTransitionDefaultAttribute.bind(this)
|
|
6033
6060
|
});
|
|
6034
6061
|
this.getStateTransitionOrchestrator().applyTransition(this, plan, hasAnimation, transitionOptions);
|
|
6035
6062
|
}
|
|
6036
6063
|
updateNormalAttrs(stateAttrs) {
|
|
6037
6064
|
this._deprecatedNormalAttrsView = cloneAttributeValue(this.baseAttributes);
|
|
6038
6065
|
}
|
|
6066
|
+
getStateTransitionDefaultAttribute(key, targetAttrs) {
|
|
6067
|
+
return this.getDefaultAttribute(key);
|
|
6068
|
+
}
|
|
6069
|
+
shouldSkipStateTransitionDefaultAttribute(_key, _targetAttrs) {
|
|
6070
|
+
return !1;
|
|
6071
|
+
}
|
|
6039
6072
|
stopStateAnimates(type = "end") {
|
|
6040
6073
|
const stopAnimationState = this.stopAnimationState;
|
|
6041
6074
|
if ("function" == typeof stopAnimationState) return void stopAnimationState.call(this, "state", type);
|
|
@@ -6052,13 +6085,14 @@ class Graphic extends Node {
|
|
|
6052
6085
|
clearStates(hasAnimation) {
|
|
6053
6086
|
var _a, _b, _c;
|
|
6054
6087
|
const previousStates = this.currentStates ? this.currentStates.slice() : [],
|
|
6088
|
+
previousResolvedStatePatch = this.resolvedStatePatch ? cloneAttributeValue(this.resolvedStatePatch) : void 0,
|
|
6055
6089
|
transition = this.createStateModel().clearStates();
|
|
6056
6090
|
if (!transition.changed && 0 === previousStates.length) return this.currentStates = [], this.effectiveStates = [], this.resolvedStatePatch = void 0, this.sharedStateDirty = !1, void this.clearSharedStateActiveRegistrations();
|
|
6057
6091
|
const resolvedStateAttrs = cloneAttributeValue(null !== (_a = this.baseAttributes) && void 0 !== _a ? _a : {});
|
|
6058
6092
|
transition.changed && !this.beforeStateUpdate(resolvedStateAttrs, previousStates, transition.states, hasAnimation, !0) || (this.currentStates = transition.states, this.effectiveStates = [], this.resolvedStatePatch = void 0, this.sharedStateDirty = !1, this.clearSharedStateActiveRegistrations(), null === (_b = getStageStatePerfMonitor(this.stage)) || void 0 === _b || _b.incrementCounter("stateCommits"), null === (_c = getStageStatePerfMonitor(this.stage)) || void 0 === _c || _c.recordEvent("state-commit", {
|
|
6059
6093
|
graphicId: this._uid,
|
|
6060
6094
|
targetStates: []
|
|
6061
|
-
}), hasAnimation ? (this._syncFinalAttributeFromStaticTruth(), this.applyStateAttrs(resolvedStateAttrs, transition.states, hasAnimation, !0)) : (this.stopStateAnimates(), this._restoreAttributeFromStaticTruth({
|
|
6095
|
+
}), hasAnimation ? (this._syncFinalAttributeFromStaticTruth(), this.applyStateAttrs(resolvedStateAttrs, transition.states, hasAnimation, !0, void 0, this.buildRemovedStateAnimationAttrs(resolvedStateAttrs, previousResolvedStatePatch))) : (this.stopStateAnimates(), this._restoreAttributeFromStaticTruth({
|
|
6062
6096
|
type: AttributeUpdateType.STATE
|
|
6063
6097
|
}), this._emitCustomEvent("afterStateUpdate", {
|
|
6064
6098
|
type: AttributeUpdateType.STATE
|
|
@@ -6091,7 +6125,7 @@ class Graphic extends Node {
|
|
|
6091
6125
|
this.beforeStateUpdate(resolvedStateAttrs, previousStates, transition.states, hasAnimation, !1) && (this.currentStates = transition.states, this.effectiveStates = [...effectiveStates], this.resolvedStatePatch = Object.assign({}, resolvedStateAttrs), this.sharedStateDirty = !1, this.syncSharedStateActiveRegistrations(), null === (_d = getStageStatePerfMonitor(this.stage)) || void 0 === _d || _d.incrementCounter("stateCommits"), null === (_e = getStageStatePerfMonitor(this.stage)) || void 0 === _e || _e.recordEvent("state-commit", {
|
|
6092
6126
|
graphicId: this._uid,
|
|
6093
6127
|
targetStates: [...transition.states]
|
|
6094
|
-
}), hasAnimation ? (this._syncFinalAttributeFromStaticTruth(), this.applyStateAttrs(
|
|
6128
|
+
}), hasAnimation ? (this._syncFinalAttributeFromStaticTruth(), this.applyStateAttrs(resolvedStateAttrs, transition.states, hasAnimation, !1, void 0, this.buildRemovedStateAnimationAttrs(resolvedStateAttrs, previousResolvedStatePatch))) : (this.stopStateAnimates(), this._restoreAttributeFromStaticTruth({
|
|
6095
6129
|
type: AttributeUpdateType.STATE
|
|
6096
6130
|
}), this._emitCustomEvent("afterStateUpdate", {
|
|
6097
6131
|
type: AttributeUpdateType.STATE
|
|
@@ -7510,6 +7544,52 @@ class Rect extends Graphic {
|
|
|
7510
7544
|
needUpdateTag(key) {
|
|
7511
7545
|
return super.needUpdateTag(key, RECT_UPDATE_TAG_KEY);
|
|
7512
7546
|
}
|
|
7547
|
+
shouldSkipStateTransitionDefaultAttribute(key, targetAttrs) {
|
|
7548
|
+
var _a;
|
|
7549
|
+
const attrs = null !== (_a = null != targetAttrs ? targetAttrs : this.baseAttributes) && void 0 !== _a ? _a : this.attribute,
|
|
7550
|
+
hasValue = attrKey => null != attrs[attrKey],
|
|
7551
|
+
isNilValue = attrKey => null == attrs[attrKey];
|
|
7552
|
+
switch (key) {
|
|
7553
|
+
case "width":
|
|
7554
|
+
return isNilValue("width") && hasValue("x") && hasValue("x1");
|
|
7555
|
+
case "height":
|
|
7556
|
+
return isNilValue("height") && hasValue("y") && hasValue("y1");
|
|
7557
|
+
case "x1":
|
|
7558
|
+
return isNilValue("x1") && hasValue("x") && hasValue("width");
|
|
7559
|
+
case "y1":
|
|
7560
|
+
return isNilValue("y1") && hasValue("y") && hasValue("height");
|
|
7561
|
+
default:
|
|
7562
|
+
return !1;
|
|
7563
|
+
}
|
|
7564
|
+
}
|
|
7565
|
+
getStateTransitionDefaultAttribute(key, targetAttrs) {
|
|
7566
|
+
var _a;
|
|
7567
|
+
const attrs = null !== (_a = null != targetAttrs ? targetAttrs : this.baseAttributes) && void 0 !== _a ? _a : this.attribute,
|
|
7568
|
+
getNumber = attrKey => {
|
|
7569
|
+
const value = attrs[attrKey];
|
|
7570
|
+
return "number" == typeof value && Number.isFinite(value) ? value : void 0;
|
|
7571
|
+
},
|
|
7572
|
+
x = getNumber("x"),
|
|
7573
|
+
y = getNumber("y"),
|
|
7574
|
+
x1 = getNumber("x1"),
|
|
7575
|
+
y1 = getNumber("y1"),
|
|
7576
|
+
width = getNumber("width"),
|
|
7577
|
+
height = getNumber("height");
|
|
7578
|
+
switch (key) {
|
|
7579
|
+
case "width":
|
|
7580
|
+
if (null == width && null != x && null != x1) return x1 - x;
|
|
7581
|
+
break;
|
|
7582
|
+
case "height":
|
|
7583
|
+
if (null == height && null != y && null != y1) return y1 - y;
|
|
7584
|
+
break;
|
|
7585
|
+
case "x1":
|
|
7586
|
+
if (null == x1 && null != x && null != width) return x + width;
|
|
7587
|
+
break;
|
|
7588
|
+
case "y1":
|
|
7589
|
+
if (null == y1 && null != y && null != height) return y + height;
|
|
7590
|
+
}
|
|
7591
|
+
return super.getStateTransitionDefaultAttribute(key, targetAttrs);
|
|
7592
|
+
}
|
|
7513
7593
|
toCustomPath() {
|
|
7514
7594
|
let path = super.toCustomPath();
|
|
7515
7595
|
if (path) return path;
|
|
@@ -19843,7 +19923,7 @@ class Animate {
|
|
|
19843
19923
|
if (nextTime >= this._startTime + this._totalDuration) {
|
|
19844
19924
|
null === (_a = this._lastStep) || void 0 === _a || _a.onUpdate(!0, 1, {}), null === (_b = this._lastStep) || void 0 === _b || _b.onEnd(), this.onEnd(), this.status = AnimateStatus.END;
|
|
19845
19925
|
const trackerTarget = this.target;
|
|
19846
|
-
return
|
|
19926
|
+
return "function" == typeof (null == trackerTarget ? void 0 : trackerTarget.restoreStaticAttribute) && trackerTarget.restoreStaticAttribute(), void (this.__skipRestoreStaticAttributeOnRemove = !0);
|
|
19847
19927
|
}
|
|
19848
19928
|
this.status = AnimateStatus.RUNNING, this.currentTime <= this._startTime && this.onStart(), this.currentTime = nextTime;
|
|
19849
19929
|
let cycleTime = nextTime - this._startTime,
|
|
@@ -35560,6 +35640,6 @@ TableSeriesNumber.defaultAttributes = {
|
|
|
35560
35640
|
select: true
|
|
35561
35641
|
};
|
|
35562
35642
|
|
|
35563
|
-
const version = "1.1.0-alpha.
|
|
35643
|
+
const version = "1.1.0-alpha.7";
|
|
35564
35644
|
|
|
35565
35645
|
export { AXIS_ELEMENT_NAME, AbstractComponent, ArcInfo, ArcLabel, ArcSegment, AxisStateValue, BasePlayer, Brush, CheckBox, CircleAxis, CircleAxisGrid, CircleCrosshair, ColorContinuousLegend, ContinuousPlayer, DEFAULT_ITEM_SPACE_COL, DEFAULT_ITEM_SPACE_ROW, DEFAULT_LABEL_SPACE, DEFAULT_PAGER_SPACE, DEFAULT_SHAPE_SIZE, DEFAULT_SHAPE_SPACE, DEFAULT_STATES$1 as DEFAULT_STATES, DEFAULT_TITLE_SPACE, DEFAULT_VALUE_SPACE, DataLabel, DataZoom, DataZoomActiveTag, DirectionEnum, DiscreteLegend, DiscretePlayer, EmptyTip, GroupTransition, IDataZoomEvent, IDataZoomInteractiveEvent, IMarkAreaLabelPosition, IMarkCommonArcLabelPosition, IMarkLineLabelPosition, IMarkPointItemPosition, IOperateType, Indicator, LEGEND_ELEMENT_NAME, LabelBase, LegendEvent, LegendStateValue, LineAxis, LineAxisGrid, LineCrosshair, LineLabel, LinkPath, MarkArcArea, MarkArcLine, MarkArea, MarkLine, MarkPoint, Pager, PlayerEventEnum, PolygonCrosshair, PolygonSectorCrosshair, PopTip, Radio, RectCrosshair, RectLabel, SLIDER_ELEMENT_NAME, ScrollBar, SectorCrosshair, Segment, SeriesNumberCellStateValue, SeriesNumberEvent, SizeContinuousLegend, Slider, StoryLabelItem, Switch, SymbolLabel, TableSeriesNumber, Tag, Timeline, Title, Tooltip, TopZIndex, VTag, WeatherBox, alignTextInLine, angle, angleLabelOrientAttribute, angleTo, cartesianTicks, clampRadian, computeOffsetForlimit, continuousTicks, contrastAccessibilityChecker, convertDomainToTickData, createTextGraphicByType, deltaXYToAngle, fuzzyEqualNumber, getAxisBreakSymbolAttrs, getCircleLabelPosition, getCirclePoints, getCircleVerticalVector, getElMap, getHorizontalPath, getMarksByName, getNoneGroupMarksByName, getPolarAngleLabelPosition, getPolygonPath, getSizeHandlerPath, getTextAlignAttrOfVerticalDir, getTextType, getVerticalCoord, getVerticalPath, hasOverlap, htmlAttributeTransform, initTextMeasure, installPoptipToApp, installScrollbarToApp, isInRange, isPostiveXAxis, isRichText, isVisible, labelSmartInvert, length, limitShapeInBounds, linearDiscreteTicks, loadPoptip, loadScrollbar, measureTextSize, normalize, polarAngleAxisDiscreteTicks, polarTicks, reactAttributeTransform, registerArcDataLabel, registerLineDataLabel, registerMarkArcAreaAnimate, registerMarkArcLineAnimate, registerMarkAreaAnimate, registerMarkLineAnimate, registerMarkPointAnimate, registerRectDataLabel, registerSymbolDataLabel, removeRepeatPoint, richTextAttributeTransform, scale, setPoptipTheme, smartInvertStrategy, tan2AngleToAngle, textIntersect, ticks, traverseGroup, version };
|
package/es/axis/line.js
CHANGED
|
@@ -413,4 +413,5 @@ export class LineAxis extends AxisBase {
|
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
415
|
|
|
416
|
-
LineAxis.defaultAttributes = DEFAULT_AXIS_THEME, mixin(LineAxis, LineAxisMixin);
|
|
416
|
+
LineAxis.defaultAttributes = DEFAULT_AXIS_THEME, mixin(LineAxis, LineAxisMixin);
|
|
417
|
+
//# sourceMappingURL=line.js.map
|
package/es/checkbox/index.js
CHANGED
package/es/index.d.ts
CHANGED
package/es/index.js
CHANGED
package/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC;AAEvC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.1.0-alpha.
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC;AAEvC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.1.0-alpha.7\";\n\nexport * from './core/base';\nexport * from './core/type';\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 './timeline';\nexport * from './interface';\nexport * from './jsx';\nexport * from './checkbox';\nexport * from './radio';\nexport * from './empty-tip';\nexport * from './weather';\nexport * from './util';\nexport * from './switch';\nexport * from './label-item';\nexport * from './table-series-number';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/vrender-components",
|
|
3
|
-
"version": "1.1.0-alpha.
|
|
3
|
+
"version": "1.1.0-alpha.7",
|
|
4
4
|
"description": "components library for dp visualization",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "cjs/index.js",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@visactor/vutils": "~1.0.12",
|
|
16
16
|
"@visactor/vscale": "~1.0.12",
|
|
17
|
-
"@visactor/vrender-core": "1.1.0-alpha.
|
|
18
|
-
"@visactor/vrender-kits": "1.1.0-alpha.
|
|
19
|
-
"@visactor/vrender-animate": "1.1.0-alpha.
|
|
17
|
+
"@visactor/vrender-core": "1.1.0-alpha.7",
|
|
18
|
+
"@visactor/vrender-kits": "1.1.0-alpha.7",
|
|
19
|
+
"@visactor/vrender-animate": "1.1.0-alpha.7"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@rushstack/eslint-patch": "~1.1.4",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"vite": "3.2.6",
|
|
31
31
|
"typescript": "4.9.5",
|
|
32
32
|
"cross-env": "^7.0.3",
|
|
33
|
+
"@internal/ts-config": "0.0.1",
|
|
33
34
|
"@internal/bundler": "0.0.1",
|
|
34
|
-
"@internal/eslint-config": "0.0.1"
|
|
35
|
-
"@internal/ts-config": "0.0.1"
|
|
35
|
+
"@internal/eslint-config": "0.0.1"
|
|
36
36
|
},
|
|
37
37
|
"keywords": [
|
|
38
38
|
"VisActor",
|