@visactor/vrender-core 0.19.20-alpha.2 → 0.19.20-alpha.3

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.
@@ -8,6 +8,7 @@ export * from './symbol-render';
8
8
  export * from './text-render';
9
9
  export * from './graphic-render';
10
10
  export * from './polygon-render';
11
+ export * from './group-render';
11
12
  export * from './image-render';
12
13
  export * from './symbol';
13
14
  export * from './contributions';
@@ -22,7 +22,7 @@ __exportStar(require("./line-render"), exports), __exportStar(require("./area-re
22
22
  __exportStar(require("./path-render"), exports), __exportStar(require("./rect-render"), exports),
23
23
  __exportStar(require("./symbol-render"), exports), __exportStar(require("./text-render"), exports),
24
24
  __exportStar(require("./graphic-render"), exports), __exportStar(require("./polygon-render"), exports),
25
- __exportStar(require("./image-render"), exports), __exportStar(require("./symbol"), exports),
26
- __exportStar(require("./contributions"), exports), __exportStar(require("./utils"), exports),
27
- __exportStar(require("./draw-interceptor"), exports);
25
+ __exportStar(require("./group-render"), exports), __exportStar(require("./image-render"), exports),
26
+ __exportStar(require("./symbol"), exports), __exportStar(require("./contributions"), exports),
27
+ __exportStar(require("./utils"), exports), __exportStar(require("./draw-interceptor"), exports);
28
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/render/contributions/render/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,kDAAgC;AAChC,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,kDAAgC;AAChC,0CAAwB;AACxB,qDAAmC","file":"index.js","sourcesContent":["export * from './arc-render';\nexport * from './circle-render';\nexport * from './line-render';\nexport * from './area-render';\nexport * from './path-render';\nexport * from './rect-render';\nexport * from './symbol-render';\nexport * from './text-render';\nexport * from './graphic-render';\nexport * from './polygon-render';\nexport * from './image-render';\nexport * from './symbol';\nexport * from './contributions';\nexport * from './utils';\nexport * from './draw-interceptor';\n"]}
1
+ {"version":3,"sources":["../src/render/contributions/render/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,kDAAgC;AAChC,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,mDAAiC;AACjC,iDAA+B;AAC/B,iDAA+B;AAC/B,2CAAyB;AACzB,kDAAgC;AAChC,0CAAwB;AACxB,qDAAmC","file":"index.js","sourcesContent":["export * from './arc-render';\nexport * from './circle-render';\nexport * from './line-render';\nexport * from './area-render';\nexport * from './path-render';\nexport * from './rect-render';\nexport * from './symbol-render';\nexport * from './text-render';\nexport * from './graphic-render';\nexport * from './polygon-render';\nexport * from './group-render';\nexport * from './image-render';\nexport * from './symbol';\nexport * from './contributions';\nexport * from './utils';\nexport * from './draw-interceptor';\n"]}
package/dist/index.es.js CHANGED
@@ -22943,6 +22943,173 @@ DefaultCanvasPolygonRender = __decorate([
22943
22943
  __metadata("design:paramtypes", [Object])
22944
22944
  ], DefaultCanvasPolygonRender);
22945
22945
 
22946
+ let DefaultCanvasGroupRender = class DefaultCanvasGroupRender {
22947
+ constructor(groupRenderContribitions) {
22948
+ this.groupRenderContribitions = groupRenderContribitions;
22949
+ this.numberType = GROUP_NUMBER_TYPE;
22950
+ }
22951
+ drawShape(group, context, x, y, drawContext, params, fillCb, strokeCb) {
22952
+ const groupAttribute = getTheme(group, params === null || params === void 0 ? void 0 : params.theme).group;
22953
+ const { fill = groupAttribute.fill, background, stroke = groupAttribute.stroke, opacity = groupAttribute.opacity, width = groupAttribute.width, height = groupAttribute.height, clip = groupAttribute.clip, fillOpacity = groupAttribute.fillOpacity, strokeOpacity = groupAttribute.strokeOpacity, cornerRadius = groupAttribute.cornerRadius, path = groupAttribute.path, lineWidth = groupAttribute.lineWidth, visible = groupAttribute.visible } = group.attribute;
22954
+ const fVisible = rectFillVisible(opacity, fillOpacity, width, height, fill);
22955
+ const sVisible = rectStrokeVisible(opacity, strokeOpacity, width, height);
22956
+ const doFill = runFill(fill, background);
22957
+ const doStroke = runStroke(stroke, lineWidth);
22958
+ if (!(group.valid && visible)) {
22959
+ return;
22960
+ }
22961
+ if (!clip) {
22962
+ if (!(doFill || doStroke)) {
22963
+ return;
22964
+ }
22965
+ if (!(fVisible || sVisible || fillCb || strokeCb || background)) {
22966
+ return;
22967
+ }
22968
+ }
22969
+ if (path && path.length && drawContext.drawContribution) {
22970
+ const disableFill = context.disableFill;
22971
+ const disableStroke = context.disableStroke;
22972
+ const disableBeginPath = context.disableBeginPath;
22973
+ context.disableFill = true;
22974
+ context.disableStroke = true;
22975
+ context.disableBeginPath = true;
22976
+ path.forEach(g => {
22977
+ const rc = drawContext.drawContribution.getRenderContribution(g);
22978
+ rc.draw(g, drawContext.renderService, drawContext, params);
22979
+ });
22980
+ context.disableFill = disableFill;
22981
+ context.disableStroke = disableStroke;
22982
+ context.disableBeginPath = disableBeginPath;
22983
+ }
22984
+ else if (cornerRadius === 0 || (isArray(cornerRadius) && cornerRadius.every(num => num === 0))) {
22985
+ context.beginPath();
22986
+ context.rect(x, y, width, height);
22987
+ }
22988
+ else {
22989
+ context.beginPath();
22990
+ createRectPath(context, x, y, width, height, cornerRadius);
22991
+ }
22992
+ if (!this._groupRenderContribitions) {
22993
+ this._groupRenderContribitions = this.groupRenderContribitions.getContributions() || [];
22994
+ this._groupRenderContribitions.push(defaultGroupBackgroundRenderContribution);
22995
+ }
22996
+ const doFillOrStroke = {
22997
+ doFill,
22998
+ doStroke
22999
+ };
23000
+ this._groupRenderContribitions.forEach(c => {
23001
+ if (c.time === BaseRenderContributionTime.beforeFillStroke) {
23002
+ c.drawShape(group, context, x, y, doFill, doStroke, fVisible, sVisible, groupAttribute, drawContext, fillCb, strokeCb, doFillOrStroke);
23003
+ }
23004
+ });
23005
+ if (clip) {
23006
+ context.clip();
23007
+ }
23008
+ context.setShadowBlendStyle && context.setShadowBlendStyle(group, group.attribute, groupAttribute);
23009
+ if (doFillOrStroke.doFill) {
23010
+ if (fillCb) {
23011
+ fillCb(context, group.attribute, groupAttribute);
23012
+ }
23013
+ else if (fVisible) {
23014
+ context.setCommonStyle(group, group.attribute, x, y, groupAttribute);
23015
+ context.fill();
23016
+ }
23017
+ }
23018
+ if (doFillOrStroke.doStroke) {
23019
+ if (strokeCb) {
23020
+ strokeCb(context, group.attribute, groupAttribute);
23021
+ }
23022
+ else if (sVisible) {
23023
+ context.setStrokeStyle(group, group.attribute, x, y, groupAttribute);
23024
+ context.stroke();
23025
+ }
23026
+ }
23027
+ this._groupRenderContribitions.forEach(c => {
23028
+ if (c.time === BaseRenderContributionTime.afterFillStroke) {
23029
+ c.drawShape(group, context, x, y, doFill, doStroke, fVisible, sVisible, groupAttribute, drawContext, fillCb, strokeCb);
23030
+ }
23031
+ });
23032
+ }
23033
+ draw(group, renderService, drawContext, params) {
23034
+ const { context } = drawContext;
23035
+ if (!context) {
23036
+ return;
23037
+ }
23038
+ const { clip, baseOpacity = 1 } = group.attribute;
23039
+ if (clip) {
23040
+ context.save();
23041
+ }
23042
+ else {
23043
+ context.highPerformanceSave();
23044
+ }
23045
+ context.baseGlobalAlpha *= baseOpacity;
23046
+ const groupAttribute = getTheme(group, params === null || params === void 0 ? void 0 : params.theme).group;
23047
+ const lastModelMatrix = context.modelMatrix;
23048
+ const camera = context.camera;
23049
+ if (camera) {
23050
+ const nextModelMatrix = mat4Allocate.allocate();
23051
+ const modelMatrix = mat4Allocate.allocate();
23052
+ getModelMatrix(modelMatrix, group, groupAttribute);
23053
+ if (lastModelMatrix) {
23054
+ multiplyMat4Mat4(nextModelMatrix, lastModelMatrix, modelMatrix);
23055
+ }
23056
+ else {
23057
+ multiplyMat4Mat4(nextModelMatrix, nextModelMatrix, modelMatrix);
23058
+ }
23059
+ context.modelMatrix = nextModelMatrix;
23060
+ mat4Allocate.free(modelMatrix);
23061
+ context.setTransform(1, 0, 0, 1, 0, 0, true);
23062
+ }
23063
+ else {
23064
+ context.transformFromMatrix(group.transMatrix, true);
23065
+ }
23066
+ context.beginPath();
23067
+ if (params.skipDraw) {
23068
+ this.drawShape(group, context, 0, 0, drawContext, params, () => false, () => false);
23069
+ }
23070
+ else {
23071
+ this.drawShape(group, context, 0, 0, drawContext);
23072
+ }
23073
+ const { scrollX = groupAttribute.scrollX, scrollY = groupAttribute.scrollY } = group.attribute;
23074
+ if (scrollX || scrollY) {
23075
+ context.translate(scrollX, scrollY);
23076
+ }
23077
+ let p;
23078
+ if (params && params.drawingCb) {
23079
+ p = params.drawingCb();
23080
+ }
23081
+ if (context.modelMatrix !== lastModelMatrix) {
23082
+ mat4Allocate.free(context.modelMatrix);
23083
+ }
23084
+ context.modelMatrix = lastModelMatrix;
23085
+ context.baseGlobalAlpha /= baseOpacity;
23086
+ if (p && p.then) {
23087
+ p.then(() => {
23088
+ if (clip) {
23089
+ context.restore();
23090
+ }
23091
+ else {
23092
+ context.highPerformanceRestore();
23093
+ }
23094
+ });
23095
+ }
23096
+ else {
23097
+ if (clip) {
23098
+ context.restore();
23099
+ }
23100
+ else {
23101
+ context.highPerformanceRestore();
23102
+ }
23103
+ }
23104
+ }
23105
+ };
23106
+ DefaultCanvasGroupRender = __decorate([
23107
+ injectable(),
23108
+ __param(0, inject(ContributionProvider)),
23109
+ __param(0, named(GroupRenderContribution)),
23110
+ __metadata("design:paramtypes", [Object])
23111
+ ], DefaultCanvasGroupRender);
23112
+
22946
23113
  const repeatStr = ['', 'repeat-x', 'repeat-y', 'repeat'];
22947
23114
  let DefaultCanvasImageRender = class DefaultCanvasImageRender extends BaseRender {
22948
23115
  constructor(imageRenderContribitions) {
@@ -24439,173 +24606,6 @@ DefaultDrawContribution = __decorate([
24439
24606
  __metadata("design:paramtypes", [Array, Object])
24440
24607
  ], DefaultDrawContribution);
24441
24608
 
24442
- let DefaultCanvasGroupRender = class DefaultCanvasGroupRender {
24443
- constructor(groupRenderContribitions) {
24444
- this.groupRenderContribitions = groupRenderContribitions;
24445
- this.numberType = GROUP_NUMBER_TYPE;
24446
- }
24447
- drawShape(group, context, x, y, drawContext, params, fillCb, strokeCb) {
24448
- const groupAttribute = getTheme(group, params === null || params === void 0 ? void 0 : params.theme).group;
24449
- const { fill = groupAttribute.fill, background, stroke = groupAttribute.stroke, opacity = groupAttribute.opacity, width = groupAttribute.width, height = groupAttribute.height, clip = groupAttribute.clip, fillOpacity = groupAttribute.fillOpacity, strokeOpacity = groupAttribute.strokeOpacity, cornerRadius = groupAttribute.cornerRadius, path = groupAttribute.path, lineWidth = groupAttribute.lineWidth, visible = groupAttribute.visible } = group.attribute;
24450
- const fVisible = rectFillVisible(opacity, fillOpacity, width, height, fill);
24451
- const sVisible = rectStrokeVisible(opacity, strokeOpacity, width, height);
24452
- const doFill = runFill(fill, background);
24453
- const doStroke = runStroke(stroke, lineWidth);
24454
- if (!(group.valid && visible)) {
24455
- return;
24456
- }
24457
- if (!clip) {
24458
- if (!(doFill || doStroke)) {
24459
- return;
24460
- }
24461
- if (!(fVisible || sVisible || fillCb || strokeCb || background)) {
24462
- return;
24463
- }
24464
- }
24465
- if (path && path.length && drawContext.drawContribution) {
24466
- const disableFill = context.disableFill;
24467
- const disableStroke = context.disableStroke;
24468
- const disableBeginPath = context.disableBeginPath;
24469
- context.disableFill = true;
24470
- context.disableStroke = true;
24471
- context.disableBeginPath = true;
24472
- path.forEach(g => {
24473
- const rc = drawContext.drawContribution.getRenderContribution(g);
24474
- rc.draw(g, drawContext.renderService, drawContext, params);
24475
- });
24476
- context.disableFill = disableFill;
24477
- context.disableStroke = disableStroke;
24478
- context.disableBeginPath = disableBeginPath;
24479
- }
24480
- else if (cornerRadius === 0 || (isArray(cornerRadius) && cornerRadius.every(num => num === 0))) {
24481
- context.beginPath();
24482
- context.rect(x, y, width, height);
24483
- }
24484
- else {
24485
- context.beginPath();
24486
- createRectPath(context, x, y, width, height, cornerRadius);
24487
- }
24488
- if (!this._groupRenderContribitions) {
24489
- this._groupRenderContribitions = this.groupRenderContribitions.getContributions() || [];
24490
- this._groupRenderContribitions.push(defaultGroupBackgroundRenderContribution);
24491
- }
24492
- const doFillOrStroke = {
24493
- doFill,
24494
- doStroke
24495
- };
24496
- this._groupRenderContribitions.forEach(c => {
24497
- if (c.time === BaseRenderContributionTime.beforeFillStroke) {
24498
- c.drawShape(group, context, x, y, doFill, doStroke, fVisible, sVisible, groupAttribute, drawContext, fillCb, strokeCb, doFillOrStroke);
24499
- }
24500
- });
24501
- if (clip) {
24502
- context.clip();
24503
- }
24504
- context.setShadowBlendStyle && context.setShadowBlendStyle(group, group.attribute, groupAttribute);
24505
- if (doFillOrStroke.doFill) {
24506
- if (fillCb) {
24507
- fillCb(context, group.attribute, groupAttribute);
24508
- }
24509
- else if (fVisible) {
24510
- context.setCommonStyle(group, group.attribute, x, y, groupAttribute);
24511
- context.fill();
24512
- }
24513
- }
24514
- if (doFillOrStroke.doStroke) {
24515
- if (strokeCb) {
24516
- strokeCb(context, group.attribute, groupAttribute);
24517
- }
24518
- else if (sVisible) {
24519
- context.setStrokeStyle(group, group.attribute, x, y, groupAttribute);
24520
- context.stroke();
24521
- }
24522
- }
24523
- this._groupRenderContribitions.forEach(c => {
24524
- if (c.time === BaseRenderContributionTime.afterFillStroke) {
24525
- c.drawShape(group, context, x, y, doFill, doStroke, fVisible, sVisible, groupAttribute, drawContext, fillCb, strokeCb);
24526
- }
24527
- });
24528
- }
24529
- draw(group, renderService, drawContext, params) {
24530
- const { context } = drawContext;
24531
- if (!context) {
24532
- return;
24533
- }
24534
- const { clip, baseOpacity = 1 } = group.attribute;
24535
- if (clip) {
24536
- context.save();
24537
- }
24538
- else {
24539
- context.highPerformanceSave();
24540
- }
24541
- context.baseGlobalAlpha *= baseOpacity;
24542
- const groupAttribute = getTheme(group, params === null || params === void 0 ? void 0 : params.theme).group;
24543
- const lastModelMatrix = context.modelMatrix;
24544
- const camera = context.camera;
24545
- if (camera) {
24546
- const nextModelMatrix = mat4Allocate.allocate();
24547
- const modelMatrix = mat4Allocate.allocate();
24548
- getModelMatrix(modelMatrix, group, groupAttribute);
24549
- if (lastModelMatrix) {
24550
- multiplyMat4Mat4(nextModelMatrix, lastModelMatrix, modelMatrix);
24551
- }
24552
- else {
24553
- multiplyMat4Mat4(nextModelMatrix, nextModelMatrix, modelMatrix);
24554
- }
24555
- context.modelMatrix = nextModelMatrix;
24556
- mat4Allocate.free(modelMatrix);
24557
- context.setTransform(1, 0, 0, 1, 0, 0, true);
24558
- }
24559
- else {
24560
- context.transformFromMatrix(group.transMatrix, true);
24561
- }
24562
- context.beginPath();
24563
- if (params.skipDraw) {
24564
- this.drawShape(group, context, 0, 0, drawContext, params, () => false, () => false);
24565
- }
24566
- else {
24567
- this.drawShape(group, context, 0, 0, drawContext);
24568
- }
24569
- const { scrollX = groupAttribute.scrollX, scrollY = groupAttribute.scrollY } = group.attribute;
24570
- if (scrollX || scrollY) {
24571
- context.translate(scrollX, scrollY);
24572
- }
24573
- let p;
24574
- if (params && params.drawingCb) {
24575
- p = params.drawingCb();
24576
- }
24577
- if (context.modelMatrix !== lastModelMatrix) {
24578
- mat4Allocate.free(context.modelMatrix);
24579
- }
24580
- context.modelMatrix = lastModelMatrix;
24581
- context.baseGlobalAlpha /= baseOpacity;
24582
- if (p && p.then) {
24583
- p.then(() => {
24584
- if (clip) {
24585
- context.restore();
24586
- }
24587
- else {
24588
- context.highPerformanceRestore();
24589
- }
24590
- });
24591
- }
24592
- else {
24593
- if (clip) {
24594
- context.restore();
24595
- }
24596
- else {
24597
- context.highPerformanceRestore();
24598
- }
24599
- }
24600
- }
24601
- };
24602
- DefaultCanvasGroupRender = __decorate([
24603
- injectable(),
24604
- __param(0, inject(ContributionProvider)),
24605
- __param(0, named(GroupRenderContribution)),
24606
- __metadata("design:paramtypes", [Object])
24607
- ], DefaultCanvasGroupRender);
24608
-
24609
24609
  let DefaultIncrementalCanvasLineRender = class DefaultIncrementalCanvasLineRender extends DefaultCanvasLineRender {
24610
24610
  constructor() {
24611
24611
  super(...arguments);
@@ -29479,4 +29479,4 @@ function registerWrapTextGraphic() {
29479
29479
  graphicCreator.RegisterGraphicCreator('wrapText', createWrapText);
29480
29480
  }
29481
29481
 
29482
- export { ACustomAnimate, ARC3D_NUMBER_TYPE, ARC_NUMBER_TYPE, AREA_NUMBER_TYPE, AbstractGraphicRender, Animate, AnimateGroup, AnimateGroup1, AnimateMode, AnimateStatus, AnimateStepType, Application, Arc, Arc3d, Arc3dRender, ArcRender, ArcRenderContribution, Area, AreaRender, AreaRenderContribution, AttributeAnimate, AttributeUpdateType, AutoEnablePlugins, BaseCanvas, BaseEnvContribution, BaseRender, BaseRenderContributionTime, BaseWindowHandlerContribution, Basis, BeforeRenderConstribution, BoundsContext, BoundsPicker, CIRCLE_NUMBER_TYPE, Canvas3DDrawItemInterceptor, Canvas3DPickItemInterceptor, CanvasFactory, CanvasTextLayout, CbAnimate, Circle, CircleRender, CircleRenderContribution, ClipAngleAnimate, ClipDirectionAnimate, ClipGraphicAnimate, ClipRadiusAnimate, ColorInterpolate, ColorStore, ColorType, CommonDrawItemInterceptorContribution, CommonRenderContribution, Container, ContainerModule, Context2dFactory, ContributionProvider, CurveContext, CurveTypeEnum, CustomEvent, CustomPath2D, CustomSymbolClass, DebugDrawItemInterceptorContribution, DefaultArcAllocate, DefaultArcAttribute, DefaultArcRenderContribution, DefaultAreaAllocate, DefaultAreaAttribute, DefaultAreaTextureRenderContribution, DefaultAttribute, DefaultBaseBackgroundRenderContribution, DefaultBaseInteractiveRenderContribution, DefaultBaseTextureRenderContribution, DefaultCanvasAllocate, DefaultCanvasArcRender, DefaultCanvasAreaRender, DefaultCanvasCircleRender, DefaultCanvasImageRender, DefaultCanvasLineRender, DefaultCanvasPathRender, DefaultCanvasPolygonRender, DefaultCanvasRectRender, DefaultCanvasSymbolRender, DefaultCanvasTextRender, DefaultCircleAllocate, DefaultCircleAttribute, DefaultCircleRenderContribution, DefaultConnectAttribute, DefaultDebugAttribute, DefaultFillStyle, DefaultGlobal, DefaultGlobalPickerService, DefaultGlyphAttribute, DefaultGraphicAllocate, DefaultGraphicMemoryManager, DefaultGraphicService, DefaultGraphicUtil, DefaultGroupAttribute, DefaultGroupBackgroundRenderContribution, DefaultImageAttribute, DefaultImageBackgroundRenderContribution, DefaultImageRenderContribution, DefaultLayerService, DefaultLayout, DefaultLineAllocate, DefaultLineAttribute, DefaultMat4Allocate, DefaultMatrixAllocate, DefaultMorphingAnimateConfig, DefaultPathAllocate, DefaultPathAttribute, DefaultPickService, DefaultPickStyle, DefaultPolygonAttribute, DefaultRect3dAttribute, DefaultRectAllocate, DefaultRectAttribute, DefaultRectRenderContribution, DefaultRenderService, DefaultRichTextAttribute, DefaultRichTextIconAttribute, DefaultStateAnimateConfig, DefaultStrokeStyle, DefaultStyle, DefaultSymbolAllocate, DefaultSymbolAttribute, DefaultSymbolRenderContribution, DefaultTextAllocate, DefaultTextAttribute, DefaultTextMeasureContribution, DefaultTextStyle, DefaultTicker, DefaultTimeline, DefaultTransform, DefaultTransformUtil, DefaultWindow, Direction$1 as Direction, DrawContribution, DrawItemInterceptor, DynamicLayerHandlerContribution, Edge, EmptyContext2d, EnvContribution, EventManager, EventSystem, EventTarget, FORMAT_ELEMENT_COMMAND, FORMAT_TEXT_COMMAND, FadeInPlus, FederatedEvent, FederatedMouseEvent, FederatedPointerEvent, FederatedWheelEvent, GLYPH_NUMBER_TYPE, GRAPHIC_UPDATE_TAG_KEY, GROUP_NUMBER_TYPE, Generator, GlobalPickerService, Glyph, GlyphRender, Graphic, GraphicAnimate, GraphicCreator$1 as GraphicCreator, GraphicPicker, GraphicRender, GraphicService, GraphicUtil, Group, GroupFadeIn, GroupFadeOut, GroupRender, GroupRenderContribution, GroupUpdateAABBBoundsMode, HtmlAttributePlugin, IContainPointMode, IMAGE_NUMBER_TYPE, Image, ImageRender, ImageRenderContribution, IncreaseCount, IncrementalDrawContribution, InputText, InteractiveDrawItemInterceptorContribution, InteractivePickItemInterceptorContribution, InteractiveSubRenderContribution, LINE_NUMBER_TYPE, Layer, LayerService, Line$1 as Line, LineRender, Linear, LinearClosed, ManualTickHandler, ManualTicker, Mat4Allocate, MatrixAllocate, Meteor, MonotoneX, MonotoneY, MorphingPath, MotionPath, MultiToOneMorphingPath, NOWORK_ANIMATE_ATTR, Node, PATH_NUMBER_TYPE, POLYGON_NUMBER_TYPE, PURE_STYLE_KEY, PYRAMID3D_NUMBER_TYPE, Path, PathRender, PathRenderContribution, PickItemInterceptor, PickerService, PluginService, Polygon, PolygonRender, PolygonRenderContribution, Pyramid3d, Pyramid3dRender, RAFTickHandler, RECT3D_NUMBER_TYPE, RECT_NUMBER_TYPE, RICHTEXT_NUMBER_TYPE, RafBasedSTO, ReactAttributePlugin, Rect, Rect3DRender, Rect3d, RectRender, RectRenderContribution, ReflectSegContext, RenderSelector, RenderService, ResourceLoader, RichText, RichTextEditPlugin, RichTextRender, RotateBySphereAnimate, SVG_ATTRIBUTE_MAP, SVG_ATTRIBUTE_MAP_KEYS, SVG_PARSE_ATTRIBUTE_MAP, SVG_PARSE_ATTRIBUTE_MAP_KEYS, SYMBOL_NUMBER_TYPE, SegContext, ShadowRoot, ShadowRootDrawItemInterceptorContribution, ShadowRootPickItemInterceptorContribution, SplitRectAfterRenderContribution, SplitRectBeforeRenderContribution, Stage, StaticLayerHandlerContribution, Step$1 as Step, StreamLight, SubAnimate, Symbol$1 as Symbol, SymbolRender, SymbolRenderContribution, TEXT_NUMBER_TYPE, TagPointsUpdate, Text, TextDirection, TextMeasureContribution, TextRender, TextRenderContribution, Theme, TimeOutTickHandler, TransformUtil, UpdateTag, VGlobal, VWindow, VirtualLayerHandlerContribution, WILDCARD, WindowHandlerContribution, WrapText, XMLParser, _interpolateColor, addArcToBezierPath, addAttributeToPrototype, alignBezierCurves, alignSubpath, application, applyTransformOnBezierCurves, arc3dModule, arcModule, areaModule, bezier, bezierCurversToPath, binarySplitPolygon, bindContributionProvider, bindContributionProviderNoSingletonScope, boundStroke, builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap, calcLineCache$1 as calcLineCache, calculateLineHeight, canvasAllocate, centroidOfSubpath, circleBounds, circleModule, clock, cloneGraphic, colorEqual, colorStringInterpolationToStr, container, cornerTangents, createArc, createArc3d, createArea, createCircle, createColor, createConicalGradient, createGlyph, createGroup, createImage, createLine, createMat4, createPath, createPolygon, createPyramid3d, createRect, createRect3d, createRectPath, createRichText, createShadowRoot, createStage, createSymbol, createText, createWrapText, cubicCalc, cubicLength, cubicPointAt, cubicSubdivide, defaultArcAllocate, defaultArcBackgroundRenderContribution, defaultArcRenderContribution, defaultArcTextureRenderContribution, defaultAreaAllocate, defaultBaseBackgroundRenderContribution, defaultBaseTextureRenderContribution, defaultCircleAllocate, defaultCircleBackgroundRenderContribution, defaultCircleRenderContribution, defaultCircleTextureRenderContribution, defaultGraphicMemoryManager, defaultGroupBackgroundRenderContribution, defaultImageBackgroundRenderContribution, defaultImageRenderContribution, defaultLineAllocate, defaultPathAllocate, defaultRectAllocate, defaultRectBackgroundRenderContribution, defaultRectRenderContribution, defaultRectTextureRenderContribution, defaultSymbolAllocate, defaultSymbolBackgroundRenderContribution, defaultSymbolRenderContribution, defaultSymbolTextureRenderContribution, defaultTextAllocate, defaultTicker, defaultTimeline, drawArc, drawArcPath$1 as drawArcPath, drawAreaSegments, drawIncrementalAreaSegments, drawIncrementalSegments, drawPathProxy, drawSegments, enumCommandMap, fillVisible, findBestMorphingRotation, findNextGraphic, flatten_simplify, foreach, foreachAsync, genBasisSegments, genBasisTypeSegments, genLinearClosedSegments, genLinearClosedTypeSegments, genLinearSegments, genLinearTypeSegments, genMonotoneXSegments, genMonotoneXTypeSegments, genMonotoneYSegments, genMonotoneYTypeSegments, genNumberType, genStepSegments, genStepTypeSegments, getAttributeFromDefaultAttrList, getConicGradientAt, getContextFont, getCurrentEnv, getExtraModelMatrix, getModelMatrix, getRichTextBounds, getScaledStroke, getTextBounds, getTheme, getThemeFromGroup, globalTheme, glyphModule, graphicCreator, graphicService, graphicUtil, imageModule, incrementalAddTo, inject, injectable, interpolateColor, interpolateGradientConicalColor, interpolateGradientLinearColor, interpolateGradientRadialColor, interpolatePureColorArray, intersect, isBrowserEnv, isNodeEnv, isSvg, isTransformKey, isXML, layerService, lineModule, lookAt, mat3Tomat4, mat4Allocate, matrixAllocate, morphPath, multiInject, multiToOneMorph, multiply, multiplyMat4Mat3, multiplyMat4Mat4, named, newThemeObj, oneToMultiMorph, ortho, parsePadding, parseStroke, parseSvgPath, pathModule, pathToBezierCurves, point$3 as point, pointEqual, pointInterpolation, pointInterpolationHighPerformance, pointsEqual, pointsInterpolation, polygonModule, preLoadAllModule, pyramid3dModule, rafBasedSto, rect3dModule, rectFillVisible, rectModule, rectStrokeVisible, recursiveCallBinarySplit, registerArc3dGraphic, registerArcGraphic, registerAreaGraphic, registerCircleGraphic, registerGlyphGraphic, registerGroupGraphic, registerImageGraphic, registerLineGraphic, registerPathGraphic, registerPolygonGraphic, registerPyramid3dGraphic, registerRect3dGraphic, registerRectGraphic, registerRichtextGraphic, registerShadowRootGraphic, registerSymbolGraphic, registerTextGraphic, registerWrapTextGraphic, renderCommandList, rewriteProto, richtextModule, rotateX, rotateY, runFill, runStroke, segments, shouldUseMat4, snapLength, splitArc, splitArea, splitCircle, splitGraphic, splitLine, splitPath, splitPolygon, splitRect, splitToGrids, strCommandMap, strokeVisible, symbolModule, textAttributesToStyle, textDrawOffsetX, textDrawOffsetY, textLayoutOffsetY, textModule, transformKeys, transformMat4, transformUtil, translate, verticalLayout, vglobal, waitForAllSubLayers, wrapCanvas, wrapContext, xul };
29482
+ export { ACustomAnimate, ARC3D_NUMBER_TYPE, ARC_NUMBER_TYPE, AREA_NUMBER_TYPE, AbstractGraphicRender, Animate, AnimateGroup, AnimateGroup1, AnimateMode, AnimateStatus, AnimateStepType, Application, Arc, Arc3d, Arc3dRender, ArcRender, ArcRenderContribution, Area, AreaRender, AreaRenderContribution, AttributeAnimate, AttributeUpdateType, AutoEnablePlugins, BaseCanvas, BaseEnvContribution, BaseRender, BaseRenderContributionTime, BaseWindowHandlerContribution, Basis, BeforeRenderConstribution, BoundsContext, BoundsPicker, CIRCLE_NUMBER_TYPE, Canvas3DDrawItemInterceptor, Canvas3DPickItemInterceptor, CanvasFactory, CanvasTextLayout, CbAnimate, Circle, CircleRender, CircleRenderContribution, ClipAngleAnimate, ClipDirectionAnimate, ClipGraphicAnimate, ClipRadiusAnimate, ColorInterpolate, ColorStore, ColorType, CommonDrawItemInterceptorContribution, CommonRenderContribution, Container, ContainerModule, Context2dFactory, ContributionProvider, CurveContext, CurveTypeEnum, CustomEvent, CustomPath2D, CustomSymbolClass, DebugDrawItemInterceptorContribution, DefaultArcAllocate, DefaultArcAttribute, DefaultArcRenderContribution, DefaultAreaAllocate, DefaultAreaAttribute, DefaultAreaTextureRenderContribution, DefaultAttribute, DefaultBaseBackgroundRenderContribution, 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, DefaultImageBackgroundRenderContribution, DefaultImageRenderContribution, DefaultLayerService, DefaultLayout, DefaultLineAllocate, DefaultLineAttribute, DefaultMat4Allocate, DefaultMatrixAllocate, DefaultMorphingAnimateConfig, DefaultPathAllocate, DefaultPathAttribute, DefaultPickService, DefaultPickStyle, DefaultPolygonAttribute, DefaultRect3dAttribute, DefaultRectAllocate, DefaultRectAttribute, DefaultRectRenderContribution, DefaultRenderService, DefaultRichTextAttribute, DefaultRichTextIconAttribute, DefaultStateAnimateConfig, DefaultStrokeStyle, DefaultStyle, DefaultSymbolAllocate, DefaultSymbolAttribute, DefaultSymbolRenderContribution, DefaultTextAllocate, DefaultTextAttribute, DefaultTextMeasureContribution, DefaultTextStyle, DefaultTicker, DefaultTimeline, DefaultTransform, DefaultTransformUtil, DefaultWindow, Direction$1 as Direction, DrawContribution, DrawItemInterceptor, DynamicLayerHandlerContribution, Edge, EmptyContext2d, EnvContribution, EventManager, EventSystem, EventTarget, FORMAT_ELEMENT_COMMAND, FORMAT_TEXT_COMMAND, FadeInPlus, FederatedEvent, FederatedMouseEvent, FederatedPointerEvent, FederatedWheelEvent, GLYPH_NUMBER_TYPE, GRAPHIC_UPDATE_TAG_KEY, GROUP_NUMBER_TYPE, Generator, GlobalPickerService, Glyph, GlyphRender, Graphic, GraphicAnimate, GraphicCreator$1 as GraphicCreator, GraphicPicker, GraphicRender, GraphicService, GraphicUtil, Group, GroupFadeIn, GroupFadeOut, GroupRender, GroupRenderContribution, GroupUpdateAABBBoundsMode, HtmlAttributePlugin, IContainPointMode, IMAGE_NUMBER_TYPE, Image, ImageRender, ImageRenderContribution, IncreaseCount, IncrementalDrawContribution, InputText, InteractiveDrawItemInterceptorContribution, InteractivePickItemInterceptorContribution, InteractiveSubRenderContribution, LINE_NUMBER_TYPE, Layer, LayerService, Line$1 as Line, LineRender, Linear, LinearClosed, ManualTickHandler, ManualTicker, Mat4Allocate, MatrixAllocate, Meteor, MonotoneX, MonotoneY, MorphingPath, MotionPath, MultiToOneMorphingPath, NOWORK_ANIMATE_ATTR, Node, PATH_NUMBER_TYPE, POLYGON_NUMBER_TYPE, PURE_STYLE_KEY, PYRAMID3D_NUMBER_TYPE, Path, PathRender, PathRenderContribution, PickItemInterceptor, PickerService, PluginService, Polygon, PolygonRender, PolygonRenderContribution, Pyramid3d, Pyramid3dRender, RAFTickHandler, RECT3D_NUMBER_TYPE, RECT_NUMBER_TYPE, RICHTEXT_NUMBER_TYPE, RafBasedSTO, ReactAttributePlugin, Rect, Rect3DRender, Rect3d, RectRender, RectRenderContribution, ReflectSegContext, RenderSelector, RenderService, ResourceLoader, RichText, RichTextEditPlugin, RichTextRender, RotateBySphereAnimate, SVG_ATTRIBUTE_MAP, SVG_ATTRIBUTE_MAP_KEYS, SVG_PARSE_ATTRIBUTE_MAP, SVG_PARSE_ATTRIBUTE_MAP_KEYS, SYMBOL_NUMBER_TYPE, SegContext, ShadowRoot, ShadowRootDrawItemInterceptorContribution, ShadowRootPickItemInterceptorContribution, SplitRectAfterRenderContribution, SplitRectBeforeRenderContribution, Stage, StaticLayerHandlerContribution, Step$1 as Step, StreamLight, SubAnimate, Symbol$1 as Symbol, SymbolRender, SymbolRenderContribution, TEXT_NUMBER_TYPE, TagPointsUpdate, Text, TextDirection, TextMeasureContribution, TextRender, TextRenderContribution, Theme, TimeOutTickHandler, TransformUtil, UpdateTag, VGlobal, VWindow, VirtualLayerHandlerContribution, WILDCARD, WindowHandlerContribution, WrapText, XMLParser, _interpolateColor, addArcToBezierPath, addAttributeToPrototype, alignBezierCurves, alignSubpath, application, applyTransformOnBezierCurves, arc3dModule, arcModule, areaModule, bezier, bezierCurversToPath, binarySplitPolygon, bindContributionProvider, bindContributionProviderNoSingletonScope, boundStroke, builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap, calcLineCache$1 as calcLineCache, calculateLineHeight, canvasAllocate, centroidOfSubpath, circleBounds, circleModule, clock, cloneGraphic, colorEqual, colorStringInterpolationToStr, container, cornerTangents, createArc, createArc3d, createArea, createCircle, createColor, createConicalGradient, createGlyph, createGroup, createImage, createLine, createMat4, createPath, createPolygon, createPyramid3d, createRect, createRect3d, createRectPath, createRichText, createShadowRoot, createStage, createSymbol, createText, createWrapText, cubicCalc, cubicLength, cubicPointAt, cubicSubdivide, defaultArcAllocate, defaultArcBackgroundRenderContribution, defaultArcRenderContribution, defaultArcTextureRenderContribution, defaultAreaAllocate, defaultBaseBackgroundRenderContribution, defaultBaseTextureRenderContribution, defaultCircleAllocate, defaultCircleBackgroundRenderContribution, defaultCircleRenderContribution, defaultCircleTextureRenderContribution, defaultGraphicMemoryManager, defaultGroupBackgroundRenderContribution, defaultImageBackgroundRenderContribution, defaultImageRenderContribution, defaultLineAllocate, defaultPathAllocate, defaultRectAllocate, defaultRectBackgroundRenderContribution, defaultRectRenderContribution, defaultRectTextureRenderContribution, defaultSymbolAllocate, defaultSymbolBackgroundRenderContribution, defaultSymbolRenderContribution, defaultSymbolTextureRenderContribution, defaultTextAllocate, defaultTicker, defaultTimeline, drawArc, drawArcPath$1 as drawArcPath, drawAreaSegments, drawIncrementalAreaSegments, drawIncrementalSegments, drawPathProxy, drawSegments, enumCommandMap, fillVisible, findBestMorphingRotation, findNextGraphic, flatten_simplify, foreach, foreachAsync, genBasisSegments, genBasisTypeSegments, genLinearClosedSegments, genLinearClosedTypeSegments, genLinearSegments, genLinearTypeSegments, genMonotoneXSegments, genMonotoneXTypeSegments, genMonotoneYSegments, genMonotoneYTypeSegments, genNumberType, genStepSegments, genStepTypeSegments, getAttributeFromDefaultAttrList, getConicGradientAt, getContextFont, getCurrentEnv, getExtraModelMatrix, getModelMatrix, getRichTextBounds, getScaledStroke, getTextBounds, getTheme, getThemeFromGroup, globalTheme, glyphModule, graphicCreator, graphicService, graphicUtil, imageModule, incrementalAddTo, inject, injectable, interpolateColor, interpolateGradientConicalColor, interpolateGradientLinearColor, interpolateGradientRadialColor, interpolatePureColorArray, intersect, isBrowserEnv, isNodeEnv, isSvg, isTransformKey, isXML, layerService, lineModule, lookAt, mat3Tomat4, mat4Allocate, matrixAllocate, morphPath, multiInject, multiToOneMorph, multiply, multiplyMat4Mat3, multiplyMat4Mat4, named, newThemeObj, oneToMultiMorph, ortho, parsePadding, parseStroke, parseSvgPath, pathModule, pathToBezierCurves, point$3 as point, pointEqual, pointInterpolation, pointInterpolationHighPerformance, pointsEqual, pointsInterpolation, polygonModule, preLoadAllModule, pyramid3dModule, rafBasedSto, rect3dModule, rectFillVisible, rectModule, rectStrokeVisible, recursiveCallBinarySplit, registerArc3dGraphic, registerArcGraphic, registerAreaGraphic, registerCircleGraphic, registerGlyphGraphic, registerGroupGraphic, registerImageGraphic, registerLineGraphic, registerPathGraphic, registerPolygonGraphic, registerPyramid3dGraphic, registerRect3dGraphic, registerRectGraphic, registerRichtextGraphic, registerShadowRootGraphic, registerSymbolGraphic, registerTextGraphic, registerWrapTextGraphic, renderCommandList, rewriteProto, richtextModule, rotateX, rotateY, runFill, runStroke, segments, shouldUseMat4, snapLength, splitArc, splitArea, splitCircle, splitGraphic, splitLine, splitPath, splitPolygon, splitRect, splitToGrids, strCommandMap, strokeVisible, symbolModule, textAttributesToStyle, textDrawOffsetX, textDrawOffsetY, textLayoutOffsetY, textModule, transformKeys, transformMat4, transformUtil, translate, verticalLayout, vglobal, waitForAllSubLayers, wrapCanvas, wrapContext, xul };
@@ -8,6 +8,7 @@ export * from './symbol-render';
8
8
  export * from './text-render';
9
9
  export * from './graphic-render';
10
10
  export * from './polygon-render';
11
+ export * from './group-render';
11
12
  export * from './image-render';
12
13
  export * from './symbol';
13
14
  export * from './contributions';
@@ -18,6 +18,8 @@ export * from "./graphic-render";
18
18
 
19
19
  export * from "./polygon-render";
20
20
 
21
+ export * from "./group-render";
22
+
21
23
  export * from "./image-render";
22
24
 
23
25
  export * from "./symbol";
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/render/contributions/render/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC","file":"index.js","sourcesContent":["export * from './arc-render';\nexport * from './circle-render';\nexport * from './line-render';\nexport * from './area-render';\nexport * from './path-render';\nexport * from './rect-render';\nexport * from './symbol-render';\nexport * from './text-render';\nexport * from './graphic-render';\nexport * from './polygon-render';\nexport * from './image-render';\nexport * from './symbol';\nexport * from './contributions';\nexport * from './utils';\nexport * from './draw-interceptor';\n"]}
1
+ {"version":3,"sources":["../src/render/contributions/render/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC","file":"index.js","sourcesContent":["export * from './arc-render';\nexport * from './circle-render';\nexport * from './line-render';\nexport * from './area-render';\nexport * from './path-render';\nexport * from './rect-render';\nexport * from './symbol-render';\nexport * from './text-render';\nexport * from './graphic-render';\nexport * from './polygon-render';\nexport * from './group-render';\nexport * from './image-render';\nexport * from './symbol';\nexport * from './contributions';\nexport * from './utils';\nexport * from './draw-interceptor';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vrender-core",
3
- "version": "0.19.20-alpha.2",
3
+ "version": "0.19.20-alpha.3",
4
4
  "description": "",
5
5
  "sideEffects": [
6
6
  "./src/modules.ts",
@@ -36,8 +36,8 @@
36
36
  "typescript": "4.9.5",
37
37
  "cross-env": "^7.0.3",
38
38
  "@internal/bundler": "0.0.1",
39
- "@internal/eslint-config": "0.0.1",
40
- "@internal/ts-config": "0.0.1"
39
+ "@internal/ts-config": "0.0.1",
40
+ "@internal/eslint-config": "0.0.1"
41
41
  },
42
42
  "keywords": [
43
43
  "VisActor",