@visactor/vrender 1.1.0-alpha.7 → 1.1.0-alpha.8
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.es.js +110 -53
- package/dist/index.js +110 -53
- 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 +5 -5
package/cjs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Direction } from '@visactor/vrender-core';
|
|
2
|
-
export declare const version = "1.1.0-alpha.
|
|
2
|
+
export declare const version = "1.1.0-alpha.8";
|
|
3
3
|
export * from '@visactor/vrender-core';
|
|
4
4
|
export * from '@visactor/vrender-kits';
|
|
5
5
|
export * from '@visactor/vrender-animate';
|
package/cjs/index.js
CHANGED
|
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "Direction", {
|
|
|
26
26
|
get: function() {
|
|
27
27
|
return vrender_core_1.Direction;
|
|
28
28
|
}
|
|
29
|
-
}), exports.version = "1.1.0-alpha.
|
|
29
|
+
}), exports.version = "1.1.0-alpha.8", __exportStar(require("@visactor/vrender-core"), exports),
|
|
30
30
|
__exportStar(require("@visactor/vrender-kits"), exports), __exportStar(require("@visactor/vrender-animate"), exports),
|
|
31
31
|
__exportStar(require("@visactor/vrender-components"), exports), __exportStar(require("./entries"), exports);
|
|
32
32
|
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yDAAmD;AAa1C,0FAbA,wBAAS,OAaA;AAXL,QAAA,OAAO,GAAG,eAAe,CAAC;AAEvC,yDAAuC;AACvC,yDAAuC;AACvC,4DAA0C;AAC1C,+DAA6C;AAC7C,4CAA0B;AAC1B,mCAAuC;AAA9B,qGAAA,WAAW,OAAA;AAGpB,6DAAkD;AAAzC,wGAAA,KAAK,OAAA","file":"index.js","sourcesContent":["import { Direction } from '@visactor/vrender-core';\n// 导出版本号\nexport const version = \"1.1.0-alpha.
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yDAAmD;AAa1C,0FAbA,wBAAS,OAaA;AAXL,QAAA,OAAO,GAAG,eAAe,CAAC;AAEvC,yDAAuC;AACvC,yDAAuC;AACvC,4DAA0C;AAC1C,+DAA6C;AAC7C,4CAA0B;AAC1B,mCAAuC;AAA9B,qGAAA,WAAW,OAAA;AAGpB,6DAAkD;AAAzC,wGAAA,KAAK,OAAA","file":"index.js","sourcesContent":["import { Direction } from '@visactor/vrender-core';\n// 导出版本号\nexport const version = \"1.1.0-alpha.8\";\n\nexport * from '@visactor/vrender-core';\nexport * from '@visactor/vrender-kits';\nexport * from '@visactor/vrender-animate';\nexport * from '@visactor/vrender-components';\nexport * from './entries';\nexport { createStage } from './legacy';\n\n// avoid naming conflicts with 'State' & 'Direction' in '@visactor/vrender-components'\nexport { State } from '@visactor/vrender-animate';\nexport { Direction };\n"]}
|
package/dist/index.es.js
CHANGED
|
@@ -40858,6 +40858,20 @@ class AnimateComponent extends AbstractComponent {
|
|
|
40858
40858
|
}
|
|
40859
40859
|
}
|
|
40860
40860
|
|
|
40861
|
+
function commitUpdateAnimationTarget(graphic, targetAttrs, startAttrs) {
|
|
40862
|
+
var _a, _b, _c, _d;
|
|
40863
|
+
if (!graphic || !targetAttrs) return;
|
|
40864
|
+
const committedTargetAttrs = cloneDeep(targetAttrs),
|
|
40865
|
+
transientStartAttrs = cloneDeep(null != startAttrs ? startAttrs : graphic.attribute);
|
|
40866
|
+
graphic.setAttributes(committedTargetAttrs);
|
|
40867
|
+
const baseAttributes = graphic.baseAttributes;
|
|
40868
|
+
baseAttributes && "object" == typeof baseAttributes && Object.keys(committedTargetAttrs).forEach(key => {
|
|
40869
|
+
baseAttributes[key] = cloneDeep(committedTargetAttrs[key]);
|
|
40870
|
+
}), null === (_b = (_a = graphic).setFinalAttributes) || void 0 === _b || _b.call(_a, committedTargetAttrs), null === (_d = (_c = graphic).setAttributesAndPreventAnimate) || void 0 === _d || _d.call(_c, transientStartAttrs, !1, {
|
|
40871
|
+
type: AttributeUpdateType.ANIMATE_BIND
|
|
40872
|
+
});
|
|
40873
|
+
}
|
|
40874
|
+
|
|
40861
40875
|
const DefaultAxisAnimation = {
|
|
40862
40876
|
type: "default",
|
|
40863
40877
|
duration: 300,
|
|
@@ -41183,33 +41197,29 @@ class AxisBase extends AnimateComponent {
|
|
|
41183
41197
|
var _a;
|
|
41184
41198
|
if ("group" !== el.type && el.id) {
|
|
41185
41199
|
const oldEl = prevInnerView[el.id];
|
|
41186
|
-
if (
|
|
41200
|
+
if (oldEl) {
|
|
41187
41201
|
oldEl.release();
|
|
41188
|
-
const oldAttrs = oldEl.attribute,
|
|
41189
|
-
finalAttrs = el.
|
|
41202
|
+
const oldAttrs = cloneDeep(oldEl.attribute),
|
|
41203
|
+
finalAttrs = cloneDeep(el.attribute),
|
|
41190
41204
|
diffAttrs = diff(oldAttrs, finalAttrs);
|
|
41191
41205
|
let hasDiff = Object.keys(diffAttrs).length > 0;
|
|
41192
|
-
|
|
41193
|
-
|
|
41194
|
-
|
|
41195
|
-
|
|
41196
|
-
|
|
41197
|
-
|
|
41198
|
-
|
|
41199
|
-
|
|
41200
|
-
|
|
41201
|
-
|
|
41202
|
-
|
|
41203
|
-
|
|
41204
|
-
|
|
41205
|
-
|
|
41206
|
-
|
|
41207
|
-
|
|
41208
|
-
|
|
41209
|
-
}
|
|
41210
|
-
})
|
|
41211
|
-
}]);
|
|
41212
|
-
}
|
|
41206
|
+
"opacity" in oldAttrs && finalAttrs.opacity !== oldAttrs.opacity && (diffAttrs.opacity = null !== (_a = finalAttrs.opacity) && void 0 !== _a ? _a : 1, hasDiff = !0), animationConfig.update && hasDiff && (this._newElementAttrMap[el.id] = {
|
|
41207
|
+
state: "update",
|
|
41208
|
+
node: el,
|
|
41209
|
+
attrs: finalAttrs
|
|
41210
|
+
}, commitUpdateAnimationTarget(el, finalAttrs, oldAttrs), el.applyAnimationState(["update"], [{
|
|
41211
|
+
name: "update",
|
|
41212
|
+
animation: Object.assign(Object.assign({
|
|
41213
|
+
selfOnly: !0
|
|
41214
|
+
}, animationConfig.update), {
|
|
41215
|
+
type: "axisUpdate",
|
|
41216
|
+
customParameters: {
|
|
41217
|
+
config: animationConfig.update,
|
|
41218
|
+
diffAttrs: diffAttrs,
|
|
41219
|
+
lastScale: lastScale
|
|
41220
|
+
}
|
|
41221
|
+
})
|
|
41222
|
+
}]));
|
|
41213
41223
|
} else animationConfig.enter && (this._newElementAttrMap[el.id] = {
|
|
41214
41224
|
state: "enter",
|
|
41215
41225
|
node: el,
|
|
@@ -41553,7 +41563,10 @@ class AxisEnter extends AComponentAnimate {
|
|
|
41553
41563
|
const point = getTickCoord(lastScale.scale(currData.rawValue)),
|
|
41554
41564
|
newX = this.target.attribute.x,
|
|
41555
41565
|
newY = this.target.attribute.y;
|
|
41556
|
-
this.target
|
|
41566
|
+
commitUpdateAnimationTarget(this.target, {
|
|
41567
|
+
x: newX,
|
|
41568
|
+
y: newY
|
|
41569
|
+
}, {
|
|
41557
41570
|
x: point.x,
|
|
41558
41571
|
y: point.y
|
|
41559
41572
|
}), animator.animate(this.target, {
|
|
@@ -41581,10 +41594,9 @@ class AxisUpdate extends AComponentAnimate {
|
|
|
41581
41594
|
const duration = this.duration,
|
|
41582
41595
|
easing = this.easing,
|
|
41583
41596
|
{
|
|
41584
|
-
config: config,
|
|
41585
41597
|
diffAttrs: diffAttrs
|
|
41586
41598
|
} = this.params;
|
|
41587
|
-
animator.animate(this.target, {
|
|
41599
|
+
commitUpdateAnimationTarget(this.target, Object.assign({}, diffAttrs)), animator.animate(this.target, {
|
|
41588
41600
|
type: "to",
|
|
41589
41601
|
to: Object.assign({}, diffAttrs),
|
|
41590
41602
|
duration: duration,
|
|
@@ -42469,6 +42481,7 @@ class GroupTransition extends ACustomAnimate {
|
|
|
42469
42481
|
super(...arguments), this.mode = AnimateMode.NORMAL;
|
|
42470
42482
|
}
|
|
42471
42483
|
onBind() {
|
|
42484
|
+
this._started = !1;
|
|
42472
42485
|
const currentInnerView = this.target.getInnerView(),
|
|
42473
42486
|
prevInnerView = this.target.getPrevInnerView();
|
|
42474
42487
|
prevInnerView && (this._newElementAttrMap = {}, traverseGroup(currentInnerView, el => {
|
|
@@ -42486,7 +42499,7 @@ class GroupTransition extends ACustomAnimate {
|
|
|
42486
42499
|
fillOpacity: null !== (_b = newProps.fillOpacity) && void 0 !== _b ? _b : 1,
|
|
42487
42500
|
strokeOpacity: null !== (_c = newProps.strokeOpacity) && void 0 !== _c ? _c : 1
|
|
42488
42501
|
})
|
|
42489
|
-
}, el.
|
|
42502
|
+
}, commitUpdateAnimationTarget(el, this._newElementAttrMap[el.id].attrs, cloneDeep(oldEl.attribute));
|
|
42490
42503
|
}
|
|
42491
42504
|
} else {
|
|
42492
42505
|
const finalOpacityAttrs = {
|
|
@@ -42498,7 +42511,7 @@ class GroupTransition extends ACustomAnimate {
|
|
|
42498
42511
|
state: "enter",
|
|
42499
42512
|
node: el,
|
|
42500
42513
|
attrs: finalOpacityAttrs
|
|
42501
|
-
}, el
|
|
42514
|
+
}, commitUpdateAnimationTarget(el, finalOpacityAttrs, {
|
|
42502
42515
|
opacity: 0,
|
|
42503
42516
|
fillOpacity: 0,
|
|
42504
42517
|
strokeOpacity: 0
|
|
@@ -42508,6 +42521,8 @@ class GroupTransition extends ACustomAnimate {
|
|
|
42508
42521
|
}));
|
|
42509
42522
|
}
|
|
42510
42523
|
onStart() {
|
|
42524
|
+
if (this._started) return;
|
|
42525
|
+
this._started = !0;
|
|
42511
42526
|
let duration = this.duration,
|
|
42512
42527
|
easing = this.easing;
|
|
42513
42528
|
this._newElementAttrMap && Object.keys(this._newElementAttrMap).forEach(id => {
|
|
@@ -44604,7 +44619,7 @@ class LabelBase extends AnimateComponent {
|
|
|
44604
44619
|
text: curText,
|
|
44605
44620
|
labelLine: curLabelLine
|
|
44606
44621
|
} = currentLabel;
|
|
44607
|
-
prevText.applyAnimationState(["update"], [{
|
|
44622
|
+
commitUpdateAnimationTarget(prevText, null == curText ? void 0 : curText.attribute), commitUpdateAnimationTarget(prevLabelLine, null == curLabelLine ? void 0 : curLabelLine.attribute), prevText.applyAnimationState(["update"], [{
|
|
44608
44623
|
name: "update",
|
|
44609
44624
|
animation: {
|
|
44610
44625
|
type: "labelUpdate",
|
|
@@ -44630,7 +44645,6 @@ class LabelBase extends AnimateComponent {
|
|
|
44630
44645
|
}
|
|
44631
44646
|
_updateLabel(prevLabel, currentLabel) {
|
|
44632
44647
|
const {
|
|
44633
|
-
text: prevText,
|
|
44634
44648
|
labelLine: prevLabelLine
|
|
44635
44649
|
} = prevLabel,
|
|
44636
44650
|
{
|
|
@@ -47199,7 +47213,10 @@ function graphicFadeIn(graphic, delay, duration, easing) {
|
|
|
47199
47213
|
null === (_a = null == graphic ? void 0 : graphic.animates) || void 0 === _a || _a.forEach(a => a.stop("end"));
|
|
47200
47214
|
const fillOpacityConfig = null !== (_c = null === (_b = graphic.attribute) || void 0 === _b ? void 0 : _b.fillOpacity) && void 0 !== _c ? _c : 1,
|
|
47201
47215
|
strokeOpacityConfig = null !== (_e = null === (_d = graphic.attribute) || void 0 === _d ? void 0 : _d.strokeOpacity) && void 0 !== _e ? _e : 1;
|
|
47202
|
-
graphic
|
|
47216
|
+
commitUpdateAnimationTarget(graphic, {
|
|
47217
|
+
fillOpacity: fillOpacityConfig,
|
|
47218
|
+
strokeOpacity: strokeOpacityConfig
|
|
47219
|
+
}, {
|
|
47203
47220
|
fillOpacity: 0,
|
|
47204
47221
|
strokeOpacity: 0
|
|
47205
47222
|
}), graphic.animate().wait(delay).to({
|
|
@@ -47215,7 +47232,10 @@ function tagFadeIn(tag, delay, duration, easing) {
|
|
|
47215
47232
|
}
|
|
47216
47233
|
function graphicFadeOut(graphic, delay, duration, easing) {
|
|
47217
47234
|
var _a, _b, _c, _d;
|
|
47218
|
-
graphic && (graphic
|
|
47235
|
+
graphic && (commitUpdateAnimationTarget(graphic, {
|
|
47236
|
+
fillOpacity: 0,
|
|
47237
|
+
strokeOpacity: 0
|
|
47238
|
+
}, {
|
|
47219
47239
|
fillOpacity: null !== (_b = null === (_a = graphic.attribute) || void 0 === _a ? void 0 : _a.fillOpacity) && void 0 !== _b ? _b : 1,
|
|
47220
47240
|
strokeOpacity: null !== (_d = null === (_c = graphic.attribute) || void 0 === _c ? void 0 : _c.strokeOpacity) && void 0 !== _d ? _d : 1
|
|
47221
47241
|
}), graphic.animate().wait(delay).to({
|
|
@@ -47235,7 +47255,11 @@ function commonLineClipIn(line, label, duration, delay, easing) {
|
|
|
47235
47255
|
lineDuration = .7 * duration,
|
|
47236
47256
|
endSymbolDuration = .1 * duration,
|
|
47237
47257
|
labelDuration = .1 * duration;
|
|
47238
|
-
graphicFadeIn(line.startSymbol, delay, startSymbolDuration, easing), line.lines.forEach(line =>
|
|
47258
|
+
graphicFadeIn(line.startSymbol, delay, startSymbolDuration, easing), line.lines.forEach(line => commitUpdateAnimationTarget(line, {
|
|
47259
|
+
clipRange: 1
|
|
47260
|
+
}, {
|
|
47261
|
+
clipRange: 0
|
|
47262
|
+
})), line.lines.forEach((l, index) => {
|
|
47239
47263
|
const stepDuration = lineDuration / line.lines.length;
|
|
47240
47264
|
l.animate().wait(delay + startSymbolDuration + index * stepDuration).to({
|
|
47241
47265
|
clipRange: 1
|
|
@@ -47293,7 +47317,11 @@ function pointCallIn(itemLine, decorativeLine, item, duration, delay, easing) {
|
|
|
47293
47317
|
decorativeDuration = .05 * duration,
|
|
47294
47318
|
endSymbolDuration = .1 * duration,
|
|
47295
47319
|
labelDuration = .1 * duration;
|
|
47296
|
-
graphicFadeIn(itemLine.startSymbol, delay, startSymbolDuration, easing), itemLine.lines.forEach(line => line
|
|
47320
|
+
graphicFadeIn(itemLine.startSymbol, delay, startSymbolDuration, easing), itemLine.lines.forEach(line => commitUpdateAnimationTarget(line, {
|
|
47321
|
+
clipRange: 1
|
|
47322
|
+
}, {
|
|
47323
|
+
clipRange: 0
|
|
47324
|
+
})), itemLine.lines.forEach((l, index) => {
|
|
47297
47325
|
const stepDuration = lineDuration / itemLine.lines.length;
|
|
47298
47326
|
l.animate().wait(delay + startSymbolDuration + index * stepDuration).to({
|
|
47299
47327
|
clipRange: 1
|
|
@@ -49577,12 +49605,18 @@ class DiscreteLegend extends LegendBase {
|
|
|
49577
49605
|
let containerSize;
|
|
49578
49606
|
containerSize = this._itemContext.isHorizontal ? this._itemsContainer.AABBBounds.width() : this._itemsContainer.AABBBounds.height();
|
|
49579
49607
|
const startOffset = containerSize * start;
|
|
49580
|
-
this.updateScrollMask(), animation
|
|
49581
|
-
|
|
49582
|
-
|
|
49583
|
-
|
|
49584
|
-
|
|
49585
|
-
|
|
49608
|
+
if (this.updateScrollMask(), animation) {
|
|
49609
|
+
const attrs = {
|
|
49610
|
+
[channel]: -startOffset
|
|
49611
|
+
};
|
|
49612
|
+
commitUpdateAnimationTarget(this._itemsContainer, attrs), this._itemsContainer.animate().to(attrs, animationDuration, animationEasing);
|
|
49613
|
+
} else this._itemsContainer.setAttribute(channel, -startOffset);
|
|
49614
|
+
} else if (animation) {
|
|
49615
|
+
const attrs = {
|
|
49616
|
+
[channel]: -(newPage - 1) * pageSize
|
|
49617
|
+
};
|
|
49618
|
+
commitUpdateAnimationTarget(this._itemsContainer, attrs), this._itemsContainer.animate().to(attrs, animationDuration, animationEasing);
|
|
49619
|
+
} else this._itemsContainer.setAttribute(channel, -(newPage - 1) * pageSize);
|
|
49586
49620
|
}
|
|
49587
49621
|
};
|
|
49588
49622
|
if (this._itemContext.isScrollbar) {
|
|
@@ -52606,6 +52640,7 @@ class Timeline extends AbstractComponent {
|
|
|
52606
52640
|
setActive(labelGroup, activeLabelStyle), setActive(symbolGroup, activeSymbolStyle);
|
|
52607
52641
|
}
|
|
52608
52642
|
appearAnimate(animateConfig) {
|
|
52643
|
+
var _a;
|
|
52609
52644
|
const {
|
|
52610
52645
|
duration = 1e3,
|
|
52611
52646
|
easing = "quadOut"
|
|
@@ -52621,26 +52656,39 @@ class Timeline extends AbstractComponent {
|
|
|
52621
52656
|
perSymbolNormalDuration = 90 * percent,
|
|
52622
52657
|
symbolDelay = 100 * percent,
|
|
52623
52658
|
symbolNormalDelay = 600 * percent;
|
|
52624
|
-
if (this._line && (this._line
|
|
52659
|
+
if (this._line && (commitUpdateAnimationTarget(this._line, {
|
|
52660
|
+
clipRange: 1
|
|
52661
|
+
}, {
|
|
52625
52662
|
clipRange: 0
|
|
52626
52663
|
}), this._line.animate().to({
|
|
52627
52664
|
clipRange: 1
|
|
52628
|
-
}, lineDuration, easing)), this._activeLine
|
|
52629
|
-
opacity:
|
|
52630
|
-
|
|
52631
|
-
|
|
52632
|
-
|
|
52665
|
+
}, lineDuration, easing)), this._activeLine) {
|
|
52666
|
+
const opacity = null !== (_a = this._activeLine.attribute.opacity) && void 0 !== _a ? _a : 1;
|
|
52667
|
+
commitUpdateAnimationTarget(this._activeLine, {
|
|
52668
|
+
opacity: opacity
|
|
52669
|
+
}, {
|
|
52670
|
+
opacity: 0
|
|
52671
|
+
}), this._activeLine.animate().wait(500).to({
|
|
52672
|
+
opacity: opacity
|
|
52673
|
+
}, activeLineDuration, easing);
|
|
52674
|
+
}
|
|
52675
|
+
if (this._symbolGroup) {
|
|
52633
52676
|
const size = this._symbolGroup.count - 1,
|
|
52634
52677
|
delay = percent * (1 === size ? 0 : 400 / (size - 1)),
|
|
52635
52678
|
delayNormal = percent * (1 === size ? 0 : 240 / (size - 1));
|
|
52636
52679
|
this._symbolGroup.forEachChildren((symbol, i) => {
|
|
52680
|
+
var _a;
|
|
52637
52681
|
const originAttrs = {};
|
|
52638
52682
|
Object.keys(activeSymbolStyle).forEach(k => {
|
|
52639
52683
|
originAttrs[k] = symbol.attribute[k];
|
|
52640
|
-
})
|
|
52684
|
+
});
|
|
52685
|
+
const opacity = null !== (_a = symbol.attribute.opacity) && void 0 !== _a ? _a : 1;
|
|
52686
|
+
commitUpdateAnimationTarget(symbol, {
|
|
52687
|
+
opacity: opacity
|
|
52688
|
+
}, {
|
|
52641
52689
|
opacity: 0
|
|
52642
52690
|
}), symbol.animate().wait(symbolDelay + delay * i).to({
|
|
52643
|
-
opacity:
|
|
52691
|
+
opacity: opacity
|
|
52644
52692
|
}, perSymbolDuration, easing), symbol.animate().wait(symbolNormalDelay + delayNormal * i).to(Object.assign({}, activeSymbolStyle), perSymbolNormalDuration, easing).to(Object.assign({}, originAttrs), perSymbolNormalDuration, easing);
|
|
52645
52693
|
});
|
|
52646
52694
|
}
|
|
@@ -52649,13 +52697,18 @@ class Timeline extends AbstractComponent {
|
|
|
52649
52697
|
delay = percent * (1 === size ? 0 : 400 / (size - 1)),
|
|
52650
52698
|
delayNormal = percent * (1 === size ? 0 : 240 / (size - 1));
|
|
52651
52699
|
this._labelGroup.forEachChildren((label, i) => {
|
|
52700
|
+
var _a;
|
|
52652
52701
|
const originAttrs = {};
|
|
52653
52702
|
Object.keys(activeLabelStyle).forEach(k => {
|
|
52654
52703
|
originAttrs[k] = label.attribute[k];
|
|
52655
|
-
})
|
|
52704
|
+
});
|
|
52705
|
+
const opacity = null !== (_a = label.attribute.opacity) && void 0 !== _a ? _a : 1;
|
|
52706
|
+
commitUpdateAnimationTarget(label, {
|
|
52707
|
+
opacity: opacity
|
|
52708
|
+
}, {
|
|
52656
52709
|
opacity: 0
|
|
52657
52710
|
}), label.animate().wait(symbolDelay + delay * i).to({
|
|
52658
|
-
opacity:
|
|
52711
|
+
opacity: opacity
|
|
52659
52712
|
}, perSymbolDuration, easing), label.animate().wait(symbolNormalDelay + delayNormal * i).to(Object.assign({
|
|
52660
52713
|
dy: 10
|
|
52661
52714
|
}, activeLabelStyle), perSymbolNormalDuration, easing).to(Object.assign({
|
|
@@ -52689,7 +52742,11 @@ class Timeline extends AbstractComponent {
|
|
|
52689
52742
|
duration = 1e3,
|
|
52690
52743
|
easing = "quadOut"
|
|
52691
52744
|
} = animateConfig;
|
|
52692
|
-
this
|
|
52745
|
+
commitUpdateAnimationTarget(this, {
|
|
52746
|
+
clipRange: nextClipRange
|
|
52747
|
+
}, {
|
|
52748
|
+
clipRange: clipRange
|
|
52749
|
+
}), this.animate().to({
|
|
52693
52750
|
clipRange: nextClipRange
|
|
52694
52751
|
}, duration, easing);
|
|
52695
52752
|
} else this.setAttributes({
|
|
@@ -54408,6 +54465,6 @@ function createStage(params) {
|
|
|
54408
54465
|
return resolveLegacyApp().createStage(params);
|
|
54409
54466
|
}
|
|
54410
54467
|
|
|
54411
|
-
const version = "1.1.0-alpha.
|
|
54468
|
+
const version = "1.1.0-alpha.8";
|
|
54412
54469
|
|
|
54413
54470
|
export { AComponentAnimate, ACustomAnimate, ARC3D_NUMBER_TYPE, ARC_NUMBER_TYPE, AREA_NUMBER_TYPE, AStageAnimate, AXIS_ELEMENT_NAME, AbstractComponent, AbstractGraphicRender, Animate, AnimateExecutor, AnimateMode, AnimateStatus, Step as AnimateStep, AnimateStepType, AnimationStateManager, AnimationStateStore, AnimationStates, AnimationTransitionRegistry, AppContext, Application, Arc, Arc3d, Arc3dRender, ArcInfo, ArcLabel, ArcRender, ArcRenderContribution, ArcSegment, Area, AreaRender, AreaRenderContribution, AttributeUpdateType, AutoEnablePlugins, AxisStateValue, BaseCanvas, BaseEnvContribution, BasePlayer, BaseRender, BaseRenderContributionTime, BaseWindowHandlerContribution, Basis, BeforeRenderConstribution, BoundsContext, BoundsPicker, BrowserEntry, BrowserEnvContribution, Brush, CIRCLE_NUMBER_TYPE, Canvas3DDrawItemInterceptor, Canvas3DPickItemInterceptor, CanvasArc3dPicker, CanvasArcPicker, CanvasAreaPicker, CanvasCirclePicker, CanvasFactory, CanvasGifImagePicker, CanvasGlyphPicker, CanvasGroupPicker, CanvasImagePicker, CanvasLinePicker, CanvasLottiePicker, CanvasPathPicker, CanvasPickerContribution, CanvasPolygonPicker, CanvasPyramid3dPicker, CanvasRect3dPicker, CanvasRectPicker, CanvasRichTextPicker, CanvasStarPicker, CanvasSymbolPicker, CanvasTextLayout, CanvasTextPicker, CheckBox, Circle, CircleAxis, CircleAxisGrid, CircleCrosshair, CircleRender, CircleRenderContribution, ClipAngleAnimate, ClipDirectionAnimate, ClipGraphicAnimate, ClipIn, ClipOut, ClipRadiusAnimate, ColorContinuousLegend, ColorInterpolate, ColorStore, ColorType, CommonDrawItemInterceptorContribution, CommonRenderContribution, ComponentAnimator, Context2dFactory, ContinuousPlayer, ContributionProvider, ContributionRegistry, ContributionStore, CubicBezierCurve, CurveContext, CurveTypeEnum, CustomEvent, CustomPath2D, CustomSymbolClass, 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_TEXT_FONT_FAMILY$1 as DEFAULT_TEXT_FONT_FAMILY, DEFAULT_TITLE_SPACE, DEFAULT_VALUE_SPACE, DataLabel, DataZoom, DataZoomActiveTag, DebugDrawItemInterceptorContribution, DefaultArcAllocate, DefaultArcAttribute, DefaultArcRenderContribution, DefaultAreaAllocate, DefaultAreaAttribute, DefaultAreaTextureRenderContribution, DefaultAttribute, DefaultBaseBackgroundRenderContribution, DefaultBaseClipRenderAfterContribution, DefaultBaseClipRenderBeforeContribution, DefaultBaseInteractiveRenderContribution, DefaultBaseTextureRenderContribution, DefaultCanvasAllocate, DefaultCanvasArcRender, DefaultCanvasAreaRender, DefaultCanvasCircleRender, DefaultCanvasGroupRender, DefaultCanvasImageRender, DefaultCanvasLineRender, DefaultCanvasPathRender, DefaultCanvasPolygonRender, DefaultCanvasRectRender, DefaultCanvasSymbolRender, DefaultCanvasTextRender, DefaultCircleAllocate, DefaultCircleAttribute, DefaultCircleRenderContribution, DefaultConnectAttribute, DefaultDebugAttribute, DefaultFillStyle, DefaultGlobal, DefaultGlobalPickerService, DefaultGlyphAttribute, DefaultGraphicAllocate, DefaultGraphicMemoryManager, DefaultGraphicService, DefaultGraphicUtil, DefaultGroupAttribute, DefaultGroupBackgroundRenderContribution, DefaultImageAttribute, DefaultImageRenderContribution, DefaultLayerService, DefaultLayout, DefaultLineAllocate, DefaultLineAttribute, DefaultMat4Allocate, DefaultMatrixAllocate, DefaultPathAllocate, DefaultPathAttribute, DefaultPickService, DefaultPickStyle, DefaultPolygonAttribute, DefaultRect3dAttribute, DefaultRectAllocate, DefaultRectAttribute, DefaultRectRenderContribution, DefaultRenderService, DefaultRichTextAttribute, DefaultRichTextIconAttribute, DefaultStarAttribute, DefaultStrokeStyle, DefaultStyle, DefaultSymbolAllocate, DefaultSymbolAttribute, DefaultSymbolClipRangeStrokeRenderContribution, DefaultSymbolRenderContribution, DefaultTextAllocate, DefaultTextAttribute, DefaultTextMeasureContribution, DefaultTextStyle, DefaultTicker, DefaultTimeline, DefaultTransform, DefaultTransformUtil, DefaultWindow, Direction, DirectionEnum, DirectionalLight, DiscreteLegend, DiscretePlayer, Dissolve, Distortion, DragNDrop, DrawContribution, DrawItemInterceptor, DynamicLayerHandlerContribution, Easing, Edge, EditModule, EmptyContext2d, EmptyTip, EnvContribution, EventManager, EventSystem, EventTarget, FORMAT_ALL_TEXT_COMMAND, FORMAT_ELEMENT_COMMAND, FORMAT_TEXT_COMMAND, Factory, FadeIn, FadeOut, FederatedEvent, FederatedMouseEvent, FederatedPointerEvent, FederatedWheelEvent, FlexLayoutPlugin, Fragment, FromTo, GLYPH_NUMBER_TYPE, GRAPHIC_UPDATE_TAG_KEY, GROUP_NUMBER_TYPE, GaussianBlur, Generator, Gesture, GifImage, Glitch, GlobalPickerService, Glyph, GlyphRender, GradientParser, Graphic, GraphicCreator$1 as GraphicCreator, GraphicFactory, GraphicPicker, GraphicRender, GraphicService, GraphicStateExtension, GraphicUtil, Grayscale, Group, GroupFadeIn, GroupFadeOut, GroupRender, GroupRenderContribution, GroupTransition, GroupUpdateAABBBoundsMode, GrowAngleIn, GrowAngleOut, GrowCenterIn, GrowCenterOut, GrowHeightIn, GrowHeightOut, GrowIn, GrowOut, GrowPointsIn, GrowPointsOut, GrowPointsXIn, GrowPointsXOut, GrowPointsYIn, GrowPointsYOut, GrowRadiusIn, GrowRadiusOut, GrowWidthIn, GrowWidthOut, HtmlAttributePlugin, IContainPointMode, IDataZoomEvent, IDataZoomInteractiveEvent, IMAGE_NUMBER_TYPE, IMarkAreaLabelPosition, IMarkCommonArcLabelPosition, IMarkLineLabelPosition, IMarkPointItemPosition, IOperateType, Image$1 as Image, ImageRender, ImageRenderContribution, IncreaseCount, IncrementalDrawContribution, Indicator, InputRichText, InputText, InteractiveDrawItemInterceptorContribution, InteractivePickItemInterceptorContribution, InteractiveSubRenderContribution, LEGEND_ELEMENT_NAME, LINE_NUMBER_TYPE, LabelBase, LabelItemAppear, LabelItemDisappear, Layer, LayerFactory, LayerService, LegendEvent, LegendStateValue, Line$1 as Line, LineAxis, LineAxisGrid, LineCrosshair, LineLabel, LineRender, Linear, LinearClosed, LinkPath, Lottie, ManualTicker, MarkArcArea, MarkArcLine, MarkArea, MarkLine, MarkPoint, Mat4Allocate, MathArcPicker, MathAreaPicker, MathCirclePicker, MathGlyphPicker, MathImagePicker, MathLinePicker, MathPathPicker, MathPickerContribution, MathPolygonPicker, MathRectPicker, MathRichTextPicker, MathSymbolPicker, MathTextPicker, MatrixAllocate, MeasureModeEnum, MiniappEntry, MonotoneX, MonotoneY, MorphingPath, MotionPath, MoveIn, MoveOut, MoveRotateIn, MoveRotateOut, MoveScaleIn, MoveScaleOut, MultiToOneMorphingPath, NOWORK_ANIMATE_ATTR, Node, NodeEntry, OrthoCamera, OutputRichText, PATH_NUMBER_TYPE, POLYGON_NUMBER_TYPE, PURE_STYLE_KEY, PYRAMID3D_NUMBER_TYPE, Pager, Particle, Path, PathRender, PathRenderContribution, PerformanceRAF, PickItemInterceptor, PickServiceInterceptor, PickerRegistry, PickerService, Pixelation, PlayerEventEnum, PluginRegistry, PluginService, Polygon, PolygonCrosshair, PolygonRender, PolygonRenderContribution, PolygonSectorCrosshair, PopTip, PoptipAppear, PoptipDisappear, PulseAnimate, Pyramid3d, Pyramid3dRender, REACT_TO_CANOPUS_EVENTS, REACT_TO_CANOPUS_EVENTS_LIST, RECT3D_NUMBER_TYPE, RECT_NUMBER_TYPE, RICHTEXT_NUMBER_TYPE, Radio, RafBasedSTO, ReactAttributePlugin, Rect, Rect3DRender, Rect3d, RectCrosshair, RectLabel, RectRender, RectRenderContribution, ReflectSegContext, RenderSelector, RenderService, RendererRegistry, ResourceLoader, RichText, RichTextEditPlugin, RichTextRender, RotateBySphereAnimate, RotateIn, RotateOut, SLIDER_ELEMENT_NAME, STAR_NUMBER_TYPE, STATUS$1 as STATUS, SVG_ATTRIBUTE_MAP, SVG_ATTRIBUTE_MAP_KEYS, SVG_PARSE_ATTRIBUTE_MAP, SVG_PARSE_ATTRIBUTE_MAP_KEYS, SYMBOL_NUMBER_TYPE, ScaleIn, ScaleOut, ScrollBar, SectorCrosshair, SegContext, Segment, SeriesNumberCellStateValue, SeriesNumberEvent, ShadowPickServiceInterceptorContribution, ShadowRoot, ShadowRootDrawItemInterceptorContribution, ShadowRootPickItemInterceptorContribution, SizeContinuousLegend, SlideIn, SlideOut, SlideOutRichText, SlideRichText, Slider, SpinIn, SpinOut, SplitRectAfterRenderContribution, SplitRectBeforeRenderContribution, Stage, StageFactory, Star, StarRender, StarRenderContribution, State, StateDefinitionCompiler, StateEngine, StaticLayerHandlerContribution, Step$1 as Step, StepClosed, StoryLabelItem, StreamLight, StrokeIn, StrokeOut, Switch, Symbol$1 as Symbol, SymbolLabel, SymbolRender, SymbolRenderContribution, TEXT_NUMBER_TYPE, TableSeriesNumber, Tag, TagPointsUpdate, Text, TextDirection, TextMeasureContribution, TextRender, TextRenderContribution, Theme, Timeline, Title, Tooltip, TopZIndex, TransformUtil, Update, UpdateTag, VArc, VArc3d, VArea, VCircle, VGlobal, VGlyph, VGroup, VImage, VLine, VPath, VPolygon, VPyramid3d, VRect, VRect3d, VRichText, VSymbol, VTag, VText, VWindow, ViewTransform3dPlugin, VirtualLayerHandlerContribution, WILDCARD, WeatherBox, WindowHandlerContribution, WrapText, XMLParser, _calculateLineHeight, _interpolateColor, _registerArc, addArcToBezierPath$1 as addArcToBezierPath, addAttributeToPrototype, alignBezierCurves, alignSubpath, alignTextInLine, alternatingWave, angle, angleLabelOrientAttribute, angleTo, application, applyTransformOnBezierCurves, arc3dModule, arcModule, areaModule, bezier, bezierCurversToPath, binarySplitPolygon, bindArc3dCanvasPickerContribution, bindArc3dRenderModule, bindArcCanvasPickerContribution, bindArcMathPickerContribution, bindArcRenderModule, bindAreaCanvasPickerContribution, bindAreaMathPickerContribution, bindAreaRenderModule, bindBrowserEnv, bindCircleCanvasPickerContribution, bindCircleMathPickerContribution, bindCircleRenderModule, bindContributionProvider, bindContributionProviderNoSingletonScope, bindFeishuEnv, bindGifImageCanvasPickerContribution, bindGifImageRenderContribution, bindGlyphCanvasPickerContribution, bindGlyphMathPickerContribution, bindGlyphRenderModule, bindHarmonyEnv, bindImageCanvasPickerContribution, bindImageMathPickerContribution, bindImageRenderModule, bindLineCanvasPickerContribution, bindLineMathPickerContribution, bindLineRenderModule, bindLottieCanvasPickerContribution, bindLottieRenderContribution, bindLynxEnv, bindMathPicker, bindNodeEnv, bindPathCanvasPickerContribution, bindPathMathPickerContribution, bindPathRenderModule, bindPolygonCanvasPickerContribution, bindPolygonMathPickerContribution, bindPolygonRenderModule, bindPyramid3dCanvasPickerContribution, bindPyramid3dRenderModule, bindRect3dCanvasPickerContribution, bindRect3dRenderModule, bindRectCanvasPickerContribution, bindRectMathPickerContribution, bindRectRenderModule, bindRichTextMathPickerContribution, bindRichtextCanvasPickerContribution, bindRichtextRenderModule, bindStarRenderModule, bindSymbolCanvasPickerContribution, bindSymbolMathPickerContribution, bindSymbolRenderModule, bindTTEnv, bindTaroEnv, bindTextCanvasPickerContribution, bindTextMathPickerContribution, bindTextRenderModule, bindWxEnv, bootstrapLegacyVRenderRuntime, bootstrapVRenderBrowserApp, bootstrapVRenderNodeApp, boundStroke, builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap, calcLineCache, calculateArcCornerRadius, calculateLineHeight, canvasAllocate, cartesianTicks, centerToCorner, centroidOfSubpath, circleBounds, circleModule, clampRadian, clock, colorEqual, colorStringInterpolationToStr, columnCenterToEdge, columnEdgeToCenter, columnLeftToRight, columnRightToLeft, computeOffsetForlimit, configureRuntimeApplicationForApp, container, continuousTicks, contrastAccessibilityChecker, convertDomainToTickData, cornerTangents, cornerToCenter, createBrowserApp$1 as createApp, createArc, createArc3d, createArea, createBrowserApp$1 as createBrowserApp, createBrowserVRenderApp, createCanvasEventTransformer, createCircle, createColor, createComponentAnimator, createConicalGradient, createContributionProvider$1 as createContributionProvider, createEventTransformer, createGifImage, createGlyph, createGraphic$1 as createGraphic, createGroup, createImage, createImageElement$1 as createImageElement, createLine, createLottie, createMat4, createMiniappApp, createNodeApp$1 as createNodeApp, createNodeVRenderApp, createPath, createPolygon, createPyramid3d, createRect, createRect3d, createRectPath, createRichText, createShadowRoot, createStage, createStar, createSymbol, createText, createTextGraphicByType, createWrapText, cubicCalc, cubicLength, cubicPointAt, cubicSubdivide, decodeReactDom, defaultArcAllocate, defaultArcBackgroundRenderContribution, defaultArcRenderContribution, defaultArcTextureRenderContribution, defaultAreaAllocate, defaultBaseBackgroundRenderContribution, defaultBaseClipRenderAfterContribution, defaultBaseClipRenderBeforeContribution, defaultBaseTextureRenderContribution, defaultCircleAllocate, defaultCircleBackgroundRenderContribution, defaultCircleRenderContribution, defaultCircleTextureRenderContribution, defaultGraphicMemoryManager, defaultGroupBackgroundRenderContribution, defaultImageBackgroundRenderContribution, defaultImageRenderContribution, defaultLineAllocate, defaultPathAllocate, defaultRectAllocate, defaultRectBackgroundRenderContribution, defaultRectRenderContribution, defaultRectTextureRenderContribution, defaultStarBackgroundRenderContribution, defaultStarTextureRenderContribution, defaultSymbolAllocate, defaultSymbolBackgroundRenderContribution, defaultSymbolClipRangeStrokeRenderContribution, defaultSymbolRenderContribution, defaultSymbolTextureRenderContribution, defaultTextAllocate, defaultTicker, defaultTimeline, deltaXYToAngle, diagonalCenterToEdge, diagonalTopLeftToBottomRight, diff, divideCubic, drawArc, drawArcPath$1 as drawArcPath, drawAreaSegments, drawBackgroundImage, drawImageWithLayout, drawIncrementalAreaSegments, drawIncrementalSegments, drawSegments, enumCommandMap, fillVisible, findBestMorphingRotation, findConfigIndexByCursorIdx, findCursorIdxByConfigIndex, findNextGraphic, flatten_simplify, foreach, foreachAsync, fuzzyEqualNumber, genBasisSegments, genBasisTypeSegments, genLinearClosedSegments, genLinearClosedTypeSegments, genLinearSegments, genLinearTypeSegments, genMonotoneXSegments, genMonotoneXTypeSegments, genMonotoneYSegments, genMonotoneYTypeSegments, genNumberType, genStepClosedSegments, genStepSegments, genStepTypeSegments, generatorPathEasingFunc, getAttributeFromDefaultAttrList, getAxisBreakSymbolAttrs, getBackgroundImage, getCircleLabelPosition, getCirclePoints, getCircleVerticalVector, getConicGradientAt, getCurrentEnv, getDefaultCharacterConfig, getElMap, getExtraModelMatrix, getHorizontalPath, getLegacyBindingContext, getMarksByName, getModelMatrix, getNoneGroupMarksByName, getPolarAngleLabelPosition, getPolygonPath, getRichTextBounds, getRuntimeInstallerBindingContext, getRuntimeInstallerGlobal, getScaledStroke, getSizeHandlerPath, getTextAlignAttrOfVerticalDir, getTextBounds, getTextType, getTheme, getThemeFromGroup, getVerticalCoord, getVerticalPath, globalTheme, glyphModule, graphicCreator$1 as graphicCreator, graphicService, graphicUtil, hasOverlap, htmlAttributeTransform, identityMat4, imageModule, incrementalAddTo, initAllEnv, initBrowserEnv, initFeishuEnv, initHarmonyEnv, initLynxEnv, initNodeEnv, initTTEnv, initTaroEnv, initTextMeasure, initWxEnv, installBrowserEnvToApp, installBrowserPickersToApp, installDefaultGraphicsToApp, installNodeEnvToApp, installNodePickersToApp, installPoptipToApp, installRuntimeDrawContributionsToApp, installRuntimeGraphicRenderersToApp, installRuntimePickersToApp, installScrollbarToApp, interpolateColor, interpolateGradientConicalColor, interpolateGradientLinearColor, interpolateGradientRadialColor, interpolatePureColorArray, interpolatePureColorArrayToStr, intersect, isBrowserEnv, isInRange, isNoRepeatSizingMode, isNodeEnv, isPostiveXAxis, isRichText, isSvg, isVisible, isXML, jsx, labelSmartInvert, layerService, length, limitShapeInBounds, lineModule, linearDiscreteTicks, loadAllEnv, loadAllModule, loadBrowserEnv, loadFeishuEnv, loadHarmonyEnv, loadLynxEnv, loadMathPicker, loadNodeEnv, loadPoptip, loadScrollbar, loadTTEnv, loadTaroEnv, loadWxEnv, lookAt, mapToCanvasPointForCanvas, mat3Tomat4, mat4Allocate, matrixAllocate, measureTextSize, morphPath, multiToOneMorph, multiplyMat4Mat3, multiplyMat4Mat4, newThemeObj, normalize$1 as normalize, oneToMultiMorph, ortho, parsePadding, parseStroke, parseSvgPath, particleEffect, pathModule, pathToBezierCurves, point$3 as point, pointEqual, pointInterpolation, pointInterpolationHighPerformance, pointsEqual, pointsInterpolation, polarAngleAxisDiscreteTicks, polarTicks, polygonModule, preLoadAllModule, pulseWave, pyramid3dModule, quadCalc, quadLength, quadPointAt, rafBasedSto, randomOpacity, reactAttributeTransform, rect3dModule, rectFillVisible, rectModule, rectStrokeVisible, recursiveCallBinarySplit, refreshRuntimeInstallerContributions, registerAnimate, registerArc, registerArc3d, registerArc3dGraphic, registerArcDataLabel, registerArcGraphic, registerArea, registerAreaGraphic, registerCircle, registerCircleGraphic, registerCustomAnimate, registerDirectionalLight, registerFlexLayoutPlugin, registerGifGraphic, registerGifImage, registerGlobalEventTransformer, registerGlyph, registerGlyphGraphic, registerGraphic, registerGroup, registerGroupGraphic, registerHtmlAttributePlugin, registerImage, registerImageGraphic, registerLine, registerLineDataLabel, registerLineGraphic, registerMarkArcAreaAnimate, registerMarkArcLineAnimate, registerMarkAreaAnimate, registerMarkLineAnimate, registerMarkPointAnimate, registerOrthoCamera, registerPath, registerPathGraphic, registerPolygon, registerPolygonGraphic, registerPyramid3d, registerPyramid3dGraphic, registerReactAttributePlugin, registerRect, registerRect3d, registerRect3dGraphic, registerRectDataLabel, registerRectGraphic, registerRichtext, registerRichtextGraphic, registerShadowRoot, registerShadowRootGraphic, registerStar, registerStarGraphic, registerSymbol, registerSymbolDataLabel, registerSymbolGraphic, registerText, registerTextGraphic, registerViewTransform3dPlugin, registerWindowEventTransformer, registerWrapText, registerWrapTextGraphic, removeRepeatPoint, renderCommandList, resolveBackgroundDrawMode, resolveBackgroundParamsByImageSizing, resolveBackgroundPosition, resolveBackgroundSizing, resolveContainerBinding$1 as resolveContainerBinding, resolveImageMode, resolveImageRepeatMode, resolveRenderableImageSize, rewriteProto, richTextAttributeTransform, richtextModule, rippleEffect, rotateX, rotateY, rotateZ, rotationScan, roughModule, rowBottomToTop, rowCenterToEdge, rowEdgeToCenter, rowTopToBottom, runFill, runStroke, scale, scaleMat4, segments, setPoptipTheme, shouldClipImageByLayout, shouldUseMat4, shouldUseSimpleAttributeFastPath, smartInvertStrategy, snakeWave, snapLength, spiralEffect, splitArc, splitArea, splitCircle, splitLine, splitPath, splitPolygon, splitRect, splitToGrids, starModule, strCommandMap, strokeVisible, symbolModule, tan2AngleToAngle, textAttributesToStyle, textDrawOffsetX, textDrawOffsetY, textIntersect, textLayoutOffsetY, textModule, ticks, transformMat4, transformPointForCanvas, transformUtil, transitionRegistry, translate, traverseGroup, version, verticalLayout, vglobal, waitForAllSubLayers, wrapCanvas, wrapContext, xul };
|