@visactor/vrender 1.0.10 → 1.0.11

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/dist/index.js CHANGED
@@ -4377,7 +4377,8 @@
4377
4377
  y1: 0,
4378
4378
  strokeBoundsBuffer: 0,
4379
4379
  cornerRadius: 0,
4380
- cornerType: "round"
4380
+ cornerType: "round",
4381
+ drawStrokeWhenZeroWH: !1
4381
4382
  });
4382
4383
  const DefaultRect3dAttribute = Object.assign(Object.assign({}, DefaultAttribute), {
4383
4384
  width: 0,
@@ -4386,7 +4387,8 @@
4386
4387
  y1: 0,
4387
4388
  cornerRadius: 0,
4388
4389
  length: 0,
4389
- cornerType: "round"
4390
+ cornerType: "round",
4391
+ drawStrokeWhenZeroWH: !1
4390
4392
  });
4391
4393
  const DefaultSymbolAttribute = Object.assign(Object.assign({}, DefaultAttribute), {
4392
4394
  symbolType: "circle",
@@ -9205,7 +9207,7 @@
9205
9207
  });
9206
9208
  }
9207
9209
  setAttributes(params, forceUpdateTag = !1, context) {
9208
- (params = this.onBeforeAttributeUpdate && this.onBeforeAttributeUpdate(params, this.attribute, null, context) || params).background ? this.loadImage(params.background, !0) : params.shadowGraphic && this.setShadowGraphic(params.shadowGraphic), this._setAttributes(params, forceUpdateTag, context);
9210
+ params && ((params = this.onBeforeAttributeUpdate && this.onBeforeAttributeUpdate(params, this.attribute, null, context) || params).background ? this.loadImage(params.background, !0) : params.shadowGraphic && this.setShadowGraphic(params.shadowGraphic), this._setAttributes(params, forceUpdateTag, context));
9209
9211
  }
9210
9212
  _setAttributes(params, forceUpdateTag = !1, context) {
9211
9213
  const keys = Object.keys(params);
@@ -10030,8 +10032,8 @@
10030
10032
  function strokeVisible(opacity, strokeOpacity) {
10031
10033
  return opacity * strokeOpacity > 0;
10032
10034
  }
10033
- function rectStrokeVisible(opacity, strokeOpacity, width, height) {
10034
- return opacity * strokeOpacity > 0 && 0 !== width && 0 !== height;
10035
+ function rectStrokeVisible(opacity, strokeOpacity, width, height, drawStrokeWhenZeroWH) {
10036
+ return drawStrokeWhenZeroWH ? opacity * strokeOpacity > 0 : opacity * strokeOpacity > 0 && 0 !== width && 0 !== height;
10035
10037
  }
10036
10038
  function intersect(x0, y0, x1, y1, x2, y2, x3, y3) {
10037
10039
  const x10 = x1 - x0,
@@ -15112,7 +15114,8 @@
15112
15114
  y1: y1,
15113
15115
  x: originX = rectAttribute.x,
15114
15116
  y: originY = rectAttribute.y,
15115
- fillStrokeOrder = rectAttribute.fillStrokeOrder
15117
+ fillStrokeOrder = rectAttribute.fillStrokeOrder,
15118
+ drawStrokeWhenZeroWH = rectAttribute.drawStrokeWhenZeroWH
15116
15119
  } = rect.attribute;
15117
15120
  let {
15118
15121
  width: width,
@@ -15120,7 +15123,7 @@
15120
15123
  } = rect.attribute;
15121
15124
  width = (null != width ? width : x1 - originX) || 0, height = (null != height ? height : y1 - originY) || 0;
15122
15125
  const fVisible = rectFillVisible(opacity, fillOpacity, width, height, fill),
15123
- sVisible = rectStrokeVisible(opacity, strokeOpacity, width, height),
15126
+ sVisible = rectStrokeVisible(opacity, strokeOpacity, width, height, drawStrokeWhenZeroWH),
15124
15127
  doFill = runFill(fill, background),
15125
15128
  doStroke = runStroke(stroke, lineWidth);
15126
15129
  if (!rect.valid || !visible) return;
@@ -17204,13 +17207,13 @@
17204
17207
  this._skipRender > 1 && this.renderNextFrame(), this._skipRender = 0;
17205
17208
  } else this._skipRender = 1;
17206
17209
  }, this.beforeRender = stage => {
17207
- this._beforeRender && this._beforeRender(stage);
17210
+ this._beforeRenderList.forEach(cb => cb(stage));
17208
17211
  }, this.afterClearScreen = drawParams => {
17209
17212
  this._afterClearScreen && this._afterClearScreen(drawParams);
17210
17213
  }, this.afterClearRect = drawParams => {
17211
17214
  this._afterClearRect && this._afterClearRect(drawParams);
17212
17215
  }, this.afterRender = stage => {
17213
- this.renderCount++, this._afterRender && this._afterRender(stage), this._afterNextRenderCbs && this._afterNextRenderCbs.forEach(cb => cb(stage)), this._afterNextRenderCbs = null, this.tickedBeforeRender = !1;
17216
+ this.renderCount++, this._afterRenderList.forEach(cb => cb(stage)), this._afterNextRenderCbs && this._afterNextRenderCbs.forEach(cb => cb(stage)), this._afterNextRenderCbs = null, this.tickedBeforeRender = !1;
17214
17217
  }, this.afterTickCb = () => {
17215
17218
  this.tickedBeforeRender = !0, "rendering" !== this.state && this.renderNextFrame();
17216
17219
  }, this.params = params, this.theme = new Theme(), this.hooks = {
@@ -17218,7 +17221,7 @@
17218
17221
  afterRender: new SyncHook(["stage"]),
17219
17222
  afterClearScreen: new SyncHook(["stage"]),
17220
17223
  afterClearRect: new SyncHook(["stage"])
17221
- }, this.global = application.global, !this.global.env && isBrowserEnv() && this.global.setEnv("browser"), this.window = container.get(VWindow), this.renderService = container.get(RenderService), this.pluginService = container.get(PluginService), this.layerService = container.get(LayerService), this.graphicService = container.get(GraphicService), this.pluginService.active(this, params), this.window.create({
17224
+ }, this.global = application.global, !this.global.env && isBrowserEnv() && this.global.setEnv("browser"), this.window = container.get(VWindow), this.renderService = container.get(RenderService), this.pluginService = container.get(PluginService), this.layerService = container.get(LayerService), this.graphicService = container.get(GraphicService), this.pluginService.active(this, params), this._beforeRenderList = [], this._afterRenderList = [], this.window.create({
17222
17225
  width: params.width,
17223
17226
  height: params.height,
17224
17227
  viewBox: params.viewBox,
@@ -17229,7 +17232,7 @@
17229
17232
  canvas: params.canvas
17230
17233
  }), this.state = "normal", this.renderCount = 0, this.tryInitEventSystem(), this._background = null !== (_a = params.background) && void 0 !== _a ? _a : DefaultConfig.BACKGROUND, this.appendChild(this.layerService.createLayer(this, {
17231
17234
  main: !0
17232
- })), this.nextFrameRenderLayerSet = new Set(), this.willNextFrameRender = !1, this.stage = this, this.renderStyle = params.renderStyle, params.autoRender && this.enableAutoRender(), params.autoRefresh && this.enableAutoRefresh(), !1 === params.disableDirtyBounds && this.enableDirtyBounds(), params.enableHtmlAttribute && this.enableHtmlAttribute(params.enableHtmlAttribute), params.ReactDOM && this.enableReactAttribute(params.ReactDOM), params.enableLayout && this.enableLayout(), this.hooks.beforeRender.tap("constructor", this.beforeRender), this.hooks.afterRender.tap("constructor", this.afterRender), this.hooks.afterClearScreen.tap("constructor", this.afterClearScreen), this.hooks.afterClearRect.tap("constructor", this.afterClearRect), this._beforeRender = params.beforeRender, this._afterRender = params.afterRender, this._afterClearScreen = params.afterClearScreen, this._afterClearRect = params.afterClearRect, this.supportInteractiveLayer = !1 !== params.interactiveLayer, params.optimize || (params.optimize = {
17235
+ })), this.nextFrameRenderLayerSet = new Set(), this.willNextFrameRender = !1, this.stage = this, this.renderStyle = params.renderStyle, params.autoRender && this.enableAutoRender(), params.autoRefresh && this.enableAutoRefresh(), !1 === params.disableDirtyBounds && this.enableDirtyBounds(), params.enableHtmlAttribute && this.enableHtmlAttribute(params.enableHtmlAttribute), params.ReactDOM && this.enableReactAttribute(params.ReactDOM), params.enableLayout && this.enableLayout(), this.hooks.beforeRender.tap("constructor", this.beforeRender), this.hooks.afterRender.tap("constructor", this.afterRender), params.beforeRender && this._beforeRenderList.push(params.beforeRender), params.afterRender && this._afterRenderList.push(params.afterRender), this.hooks.afterClearScreen.tap("constructor", this.afterClearScreen), this.hooks.afterClearRect.tap("constructor", this.afterClearRect), this._afterClearScreen = params.afterClearScreen, this._afterClearRect = params.afterClearRect, this.supportInteractiveLayer = !1 !== params.interactiveLayer, params.optimize || (params.optimize = {
17233
17236
  tickRenderMode: "effect"
17234
17237
  }), this.optmize(params.optimize), params.background && isString$1(this._background) && this._background.includes("/") && this.setAttributes({
17235
17238
  background: this._background
@@ -17344,10 +17347,16 @@
17344
17347
  options.enableView3dTransform && this.enableView3dTransform();
17345
17348
  }
17346
17349
  setBeforeRender(cb) {
17347
- this._beforeRender = cb;
17350
+ this._beforeRenderList.push(cb);
17351
+ }
17352
+ removeBeforeRender(cb) {
17353
+ this._beforeRenderList = this._beforeRenderList.filter(c => c !== cb);
17348
17354
  }
17349
17355
  setAfterRender(cb) {
17350
- this._afterRender = cb;
17356
+ this._afterRenderList.push(cb);
17357
+ }
17358
+ removeAfterRender(cb) {
17359
+ this._afterRenderList = this._afterRenderList.filter(c => c !== cb);
17351
17360
  }
17352
17361
  afterNextRender(cb) {
17353
17362
  this._afterNextRenderCbs || (this._afterNextRenderCbs = []), this._afterNextRenderCbs.push(cb);
@@ -18820,7 +18829,7 @@
18820
18829
  });
18821
18830
  }, this.container = null != container ? container : document.body;
18822
18831
  const textAreaDom = document.createElement("textarea");
18823
- textAreaDom.autocomplete = "off", textAreaDom.innerText = "", this.applyStyle(textAreaDom), this.container.append(textAreaDom), this.textAreaDom = textAreaDom, this.isComposing = !1, this.composingConfigIdx = -1, this.onInputCbList = [], this.onChangeCbList = [], this.onFocusInList = [], this.onFocusOutList = [];
18832
+ textAreaDom.autocomplete = "off", textAreaDom.spellcheck = !1, textAreaDom.innerText = "", this.applyStyle(textAreaDom), this.container.append(textAreaDom), this.textAreaDom = textAreaDom, this.isComposing = !1, this.composingConfigIdx = -1, this.onInputCbList = [], this.onChangeCbList = [], this.onFocusInList = [], this.onFocusOutList = [];
18824
18833
  }
18825
18834
  onInput(cb) {
18826
18835
  this.onInputCbList.push(cb);
@@ -18835,7 +18844,7 @@
18835
18844
  this.onFocusOutList.push(cb);
18836
18845
  }
18837
18846
  applyStyle(textAreaDom) {
18838
- textAreaDom.setAttribute("style", "width: 100px; height: 30px; left: 0; top: 0; position: absolute; z-index: -1; outline: none; resize: none; border: none; overflow: hidden; color: transparent; user-select: none; caret-color: transparent;background-color: transparent;"), textAreaDom.addEventListener("input", this.handleInput), textAreaDom.addEventListener("compositionstart", this.handleCompositionStart), textAreaDom.addEventListener("compositionend", this.handleCompositionEnd), textAreaDom.addEventListener("focusin", this.handleFocusIn), textAreaDom.addEventListener("focusout", this.handleFocusOut), application.global.addEventListener("keydown", this.handleKeyDown);
18847
+ textAreaDom.setAttribute("style", "width: 100px; height: 30px; left: 0; top: 0; position: absolute; z-index: -1; outline: none; resize: none; border: none; overflow: hidden; color: transparent; user-select: none; caret-color: transparent;background-color: transparent;opacity: 0;pointer-events: none;"), textAreaDom.addEventListener("input", this.handleInput), textAreaDom.addEventListener("compositionstart", this.handleCompositionStart), textAreaDom.addEventListener("compositionend", this.handleCompositionEnd), textAreaDom.addEventListener("focusin", this.handleFocusIn), textAreaDom.addEventListener("focusout", this.handleFocusOut), application.global.addEventListener("keydown", this.handleKeyDown);
18839
18848
  }
18840
18849
  parseCompositionStr(configIdx) {
18841
18850
  var _a;
@@ -20086,7 +20095,7 @@
20086
20095
  super(...arguments), this.type = "rect3d", this.numberType = RECT3D_NUMBER_TYPE;
20087
20096
  }
20088
20097
  drawShape(rect, context, x, y, drawContext, params, fillCb, strokeCb) {
20089
- var _a;
20098
+ var _a, _b;
20090
20099
  const rectAttribute = getTheme(rect, null == params ? void 0 : params.theme).rect,
20091
20100
  {
20092
20101
  fill = rectAttribute.fill,
@@ -20099,16 +20108,17 @@
20099
20108
  fillOpacity = rectAttribute.fillOpacity,
20100
20109
  lineWidth = rectAttribute.lineWidth,
20101
20110
  strokeOpacity = rectAttribute.strokeOpacity,
20102
- visible = rectAttribute.visible
20111
+ visible = rectAttribute.visible,
20112
+ drawStrokeWhenZeroWH = null !== (_a = rectAttribute.drawStrokeWhenZeroWH) && void 0 !== _a && _a
20103
20113
  } = rect.attribute;
20104
20114
  let {
20105
20115
  width: width,
20106
20116
  height: height
20107
20117
  } = rect.attribute;
20108
20118
  width = (null != width ? width : x1 - originX) || 0, height = (null != height ? height : y1 - originY) || 0;
20109
- const z = null !== (_a = this.z) && void 0 !== _a ? _a : 0,
20119
+ const z = null !== (_b = this.z) && void 0 !== _b ? _b : 0,
20110
20120
  fVisible = rectFillVisible(opacity, fillOpacity, width, height, fill),
20111
- sVisible = rectStrokeVisible(opacity, strokeOpacity, width, height),
20121
+ sVisible = rectStrokeVisible(opacity, strokeOpacity, width, height, drawStrokeWhenZeroWH),
20112
20122
  doFill = runFill(fill),
20113
20123
  doStroke = runStroke(stroke, lineWidth);
20114
20124
  if (!rect.valid || !visible) return;
@@ -30485,6 +30495,7 @@
30485
30495
  return this.getEndProps();
30486
30496
  }
30487
30497
  stop() {}
30498
+ release() {}
30488
30499
  }
30489
30500
  class WaitStep extends Step {
30490
30501
  constructor(type, props, duration, easing) {
@@ -30702,7 +30713,9 @@
30702
30713
  this.status !== exports.AnimateStatus.END && this.onEnd(), this.status = exports.AnimateStatus.END, this.target && ("start" === type ? this.target.setAttributes(this._startProps) : "end" === type ? this.target.setAttributes(this._endProps) : type && this.target.setAttributes(type));
30703
30714
  }
30704
30715
  release() {
30705
- this.status = exports.AnimateStatus.END, this._onRemove && this._onRemove.forEach(cb => cb()), this._onStart = [], this._onFrame = [], this._onEnd = [], this._onRemove = [];
30716
+ this.status = exports.AnimateStatus.END, this._onRemove && this._onRemove.forEach(cb => cb()), this._onStart = [], this._onFrame = [], this._onEnd = [], this._onRemove = [], this.forEachStep(step => {
30717
+ step.release();
30718
+ });
30706
30719
  }
30707
30720
  getDuration() {
30708
30721
  return this._duration;
@@ -30776,6 +30789,10 @@
30776
30789
  getLoop() {
30777
30790
  return this._loopCount;
30778
30791
  }
30792
+ forEachStep(cb) {
30793
+ let step = this._firstStep;
30794
+ for (; step;) cb(step), step = step.next;
30795
+ }
30779
30796
  }
30780
30797
 
30781
30798
  const performanceRAF = new PerformanceRAF();
@@ -31060,6 +31077,9 @@
31060
31077
  constructor(target) {
31061
31078
  this._animates = [], this._startCallbacks = [], this._endCallbacks = [], this._started = !1, this._activeCount = 0, this._target = target;
31062
31079
  }
31080
+ get started() {
31081
+ return this._started;
31082
+ }
31063
31083
  onStart(cb) {
31064
31084
  cb ? (this._startCallbacks.push(cb), this._started && this._activeCount > 0 && cb()) : this._startCallbacks.forEach(cb => {
31065
31085
  cb();
@@ -31200,14 +31220,14 @@
31200
31220
  return delayAfterValue > 0 && (totalDelay += delayAfterValue), totalDelay > 0 && animate.wait(totalDelay), loop && loop > 0 && animate.loop(loop), bounce && animate.bounce(!0), animate;
31201
31221
  }
31202
31222
  _handleRunAnimate(animate, custom, customType, from, props, duration, easing, customParameters, controlOptions, options, type, graphic) {
31203
- var _a, _b, _c, _d;
31223
+ var _a, _b, _c, _d, _e, _f;
31204
31224
  if (custom && customType) {
31205
31225
  const customParams = Object.assign({
31206
- width: graphic.stage.width,
31207
- height: graphic.stage.height,
31226
+ width: (null === (_a = graphic.stage) || void 0 === _a ? void 0 : _a.width) || 0,
31227
+ height: (null === (_b = graphic.stage) || void 0 === _b ? void 0 : _b.height) || 0,
31208
31228
  group: this._target.parent
31209
31229
  }, this.resolveValue(customParameters, graphic)),
31210
- objOptions = isFunction$1(options) ? options.call(null, null !== (_b = customParams && (null === (_a = customParams.data) || void 0 === _a ? void 0 : _a[0])) && void 0 !== _b ? _b : null === (_d = null === (_c = graphic.context) || void 0 === _c ? void 0 : _c.data) || void 0 === _d ? void 0 : _d[0], graphic, customParams) : options;
31230
+ objOptions = isFunction$1(options) ? options.call(null, null !== (_d = customParams && (null === (_c = customParams.data) || void 0 === _c ? void 0 : _c[0])) && void 0 !== _d ? _d : null === (_f = null === (_e = graphic.context) || void 0 === _e ? void 0 : _e.data) || void 0 === _f ? void 0 : _f[0], graphic, customParams) : options;
31211
31231
  customParams.options = objOptions, customParams.controlOptions = controlOptions, 1 === customType ? this.createCustomAnimation(animate, custom, from, props, duration, easing, customParams) : 2 === customType && this.createCustomInterpolatorAnimation(animate, custom, props, duration, easing, customParams);
31212
31232
  } else "to" === type ? animate.to(props, duration, easing) : "from" === type && animate.from(props, duration, easing);
31213
31233
  }
@@ -31427,7 +31447,7 @@
31427
31447
  reApplyState(state) {
31428
31448
  var _a;
31429
31449
  const stateInfo = null === (_a = this.stateList) || void 0 === _a ? void 0 : _a.find(stateInfo => stateInfo.state === state);
31430
- if (stateInfo) {
31450
+ if (stateInfo && stateInfo.executor.started) {
31431
31451
  const stateList = this.stateList.slice();
31432
31452
  stateInfo.executor.stop(), this.stateList = stateList, stateInfo.executor.execute(stateInfo.animationConfig);
31433
31453
  }
@@ -31570,6 +31590,45 @@
31570
31590
  this._animator && this._animator.stop();
31571
31591
  }
31572
31592
  }
31593
+ class AStageAnimate extends ACustomAnimate {
31594
+ constructor(customFrom, customTo, duration, easing, params) {
31595
+ super(customFrom, customTo, duration, easing, params), this.willCallBeforeStageRender = !0, this.willCallAfterStageRender = !0, this._beforeStageRender = () => {
31596
+ if (!this.willCallBeforeStageRender) return;
31597
+ this.willCallBeforeStageRender = !1;
31598
+ const stage = this.target.stage,
31599
+ canvas = stage.window.getContext().canvas.nativeCanvas,
31600
+ outputCanvas = this.beforeStageRender(stage, canvas);
31601
+ outputCanvas && this.renderToStage(stage, outputCanvas);
31602
+ }, this._afterStageRender = () => {
31603
+ if (!this.willCallAfterStageRender) return;
31604
+ this.willCallAfterStageRender = !1;
31605
+ const stage = this.target.stage,
31606
+ canvas = stage.window.getContext().canvas.nativeCanvas,
31607
+ outputCanvas = this.afterStageRender(stage, canvas);
31608
+ outputCanvas && this.renderToStage(stage, outputCanvas);
31609
+ }, this.props = {};
31610
+ }
31611
+ beforeStageRender(stage, canvas) {
31612
+ return !1;
31613
+ }
31614
+ afterStageRender(stage, canvas) {
31615
+ return !1;
31616
+ }
31617
+ onFirstRun() {
31618
+ super.onFirstRun(), this.target.stage.setBeforeRender(this._beforeStageRender), this.target.stage.setAfterRender(this._afterStageRender), this.target.stage.disableDirtyBounds();
31619
+ }
31620
+ stop() {
31621
+ super.stop(), this.target.stage.removeBeforeRender(this._beforeStageRender), this.target.stage.removeAfterRender(this._afterStageRender);
31622
+ }
31623
+ onUpdate(end, ratio, out) {
31624
+ super.onUpdate(end, ratio, out), this.willCallBeforeStageRender = !0, this.willCallAfterStageRender = !0;
31625
+ }
31626
+ renderToStage(stage, canvas) {
31627
+ const stageCanvas = stage.window.getContext().canvas.nativeCanvas,
31628
+ ctx = stageCanvas.getContext("2d");
31629
+ return !!ctx && (ctx.clearRect(0, 0, stageCanvas.width, stageCanvas.height), ctx.drawImage(canvas, 0, 0), stageCanvas);
31630
+ }
31631
+ }
31573
31632
 
31574
31633
  class ComponentAnimator {
31575
31634
  constructor(component) {
@@ -35094,7 +35153,7 @@
35094
35153
  AnimateExecutor.registerBuiltInAnimate("increaseCount", IncreaseCount), AnimateExecutor.registerBuiltInAnimate("fromTo", FromTo), AnimateExecutor.registerBuiltInAnimate("scaleIn", ScaleIn), AnimateExecutor.registerBuiltInAnimate("scaleOut", ScaleOut), AnimateExecutor.registerBuiltInAnimate("growHeightIn", GrowHeightIn), AnimateExecutor.registerBuiltInAnimate("growHeightOut", GrowHeightOut), AnimateExecutor.registerBuiltInAnimate("growWidthIn", GrowWidthIn), AnimateExecutor.registerBuiltInAnimate("growWidthOut", GrowWidthOut), AnimateExecutor.registerBuiltInAnimate("growCenterIn", GrowCenterIn), AnimateExecutor.registerBuiltInAnimate("growCenterOut", GrowCenterOut), AnimateExecutor.registerBuiltInAnimate("clipIn", ClipIn), AnimateExecutor.registerBuiltInAnimate("clipOut", ClipOut), AnimateExecutor.registerBuiltInAnimate("fadeIn", FadeIn), AnimateExecutor.registerBuiltInAnimate("fadeOut", FadeOut), AnimateExecutor.registerBuiltInAnimate("growPointsIn", GrowPointsIn), AnimateExecutor.registerBuiltInAnimate("growPointsOut", GrowPointsOut), AnimateExecutor.registerBuiltInAnimate("growPointsXIn", GrowPointsXIn), AnimateExecutor.registerBuiltInAnimate("growPointsXOut", GrowPointsXOut), AnimateExecutor.registerBuiltInAnimate("growPointsYIn", GrowPointsYIn), AnimateExecutor.registerBuiltInAnimate("growPointsYOut", GrowPointsYOut), AnimateExecutor.registerBuiltInAnimate("growAngleIn", GrowAngleIn), AnimateExecutor.registerBuiltInAnimate("growAngleOut", GrowAngleOut), AnimateExecutor.registerBuiltInAnimate("growRadiusIn", GrowRadiusIn), AnimateExecutor.registerBuiltInAnimate("growRadiusOut", GrowRadiusOut), AnimateExecutor.registerBuiltInAnimate("moveIn", MoveIn), AnimateExecutor.registerBuiltInAnimate("moveOut", MoveOut), AnimateExecutor.registerBuiltInAnimate("rotateIn", RotateIn), AnimateExecutor.registerBuiltInAnimate("rotateOut", RotateOut), AnimateExecutor.registerBuiltInAnimate("update", Update), AnimateExecutor.registerBuiltInAnimate("state", State), AnimateExecutor.registerBuiltInAnimate("labelItemAppear", LabelItemAppear), AnimateExecutor.registerBuiltInAnimate("labelItemDisappear", LabelItemDisappear), AnimateExecutor.registerBuiltInAnimate("poptipAppear", PoptipAppear), AnimateExecutor.registerBuiltInAnimate("poptipDisappear", PoptipDisappear), AnimateExecutor.registerBuiltInAnimate("inputText", InputText), AnimateExecutor.registerBuiltInAnimate("inputRichText", InputRichText), AnimateExecutor.registerBuiltInAnimate("outputRichText", OutputRichText), AnimateExecutor.registerBuiltInAnimate("slideRichText", SlideRichText), AnimateExecutor.registerBuiltInAnimate("slideOutRichText", SlideOutRichText), AnimateExecutor.registerBuiltInAnimate("slideIn", SlideIn), AnimateExecutor.registerBuiltInAnimate("growIn", GrowIn), AnimateExecutor.registerBuiltInAnimate("spinIn", SpinIn), AnimateExecutor.registerBuiltInAnimate("moveScaleIn", MoveScaleIn), AnimateExecutor.registerBuiltInAnimate("moveRotateIn", MoveRotateIn), AnimateExecutor.registerBuiltInAnimate("strokeIn", StrokeIn), AnimateExecutor.registerBuiltInAnimate("slideOut", SlideOut), AnimateExecutor.registerBuiltInAnimate("growOut", GrowOut), AnimateExecutor.registerBuiltInAnimate("spinOut", SpinOut), AnimateExecutor.registerBuiltInAnimate("moveScaleOut", MoveScaleOut), AnimateExecutor.registerBuiltInAnimate("moveRotateOut", MoveRotateOut), AnimateExecutor.registerBuiltInAnimate("strokeOut", StrokeOut), AnimateExecutor.registerBuiltInAnimate("pulse", PulseAnimate), AnimateExecutor.registerBuiltInAnimate("MotionPath", MotionPath), AnimateExecutor.registerBuiltInAnimate("streamLight", StreamLight);
35095
35154
  };
35096
35155
 
35097
- const version = "1.0.10";
35156
+ const version = "1.0.11";
35098
35157
  preLoadAllModule();
35099
35158
  if (isBrowserEnv()) {
35100
35159
  loadBrowserEnv(container);
@@ -35127,12 +35186,15 @@
35127
35186
  registerReactAttributePlugin();
35128
35187
  registerDirectionalLight();
35129
35188
  registerOrthoCamera();
35189
+ registerCustomAnimate();
35190
+ registerAnimate();
35130
35191
 
35131
35192
  exports.AComponentAnimate = AComponentAnimate;
35132
35193
  exports.ACustomAnimate = ACustomAnimate;
35133
35194
  exports.ARC3D_NUMBER_TYPE = ARC3D_NUMBER_TYPE;
35134
35195
  exports.ARC_NUMBER_TYPE = ARC_NUMBER_TYPE;
35135
35196
  exports.AREA_NUMBER_TYPE = AREA_NUMBER_TYPE;
35197
+ exports.AStageAnimate = AStageAnimate;
35136
35198
  exports.Animate = Animate;
35137
35199
  exports.AnimateExecutor = AnimateExecutor;
35138
35200
  exports.AnimateStep = Step;