@visactor/vrender-core 1.1.3-alpha.4 → 1.1.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.
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  duration: 200,
7
7
  easing: "cubicOut"
8
8
  };
9
- //# sourceMappingURL=config.js.map
9
+ //# sourceMappingURL=config.js.map
@@ -244,4 +244,5 @@ class GradientParser {
244
244
  }
245
245
  }
246
246
 
247
- exports.GradientParser = GradientParser;
247
+ exports.GradientParser = GradientParser;
248
+ //# sourceMappingURL=color-utils.js.map
@@ -51,5 +51,4 @@ class ContributionStore {
51
51
  }
52
52
  }
53
53
 
54
- exports.ContributionStore = ContributionStore, ContributionStore.store = new Map;
55
- //# sourceMappingURL=contribution-provider.js.map
54
+ exports.ContributionStore = ContributionStore, ContributionStore.store = new Map;
@@ -61,4 +61,5 @@ function drawAreaBlock(path, topList, bottomList, params) {
61
61
  path.closePath();
62
62
  }
63
63
 
64
+ //# sourceMappingURL=render-area.js.map
64
65
  exports.drawAreaSegments = drawAreaSegments;
@@ -13,5 +13,4 @@ function renderCommandList(commandList, context, x = 0, y = 0, sx = 1, sy = 1, z
13
13
  }
14
14
  }
15
15
 
16
- exports.renderCommandList = renderCommandList;
17
- //# sourceMappingURL=render-command-list.js.map
16
+ exports.renderCommandList = renderCommandList;
@@ -34,4 +34,4 @@ function textAttributesToStyle(attrs) {
34
34
 
35
35
  exports.textDrawOffsetY = textDrawOffsetY, exports.textDrawOffsetX = textDrawOffsetX,
36
36
  exports.textLayoutOffsetY = textLayoutOffsetY, exports.textAttributesToStyle = textAttributesToStyle;
37
- //# sourceMappingURL=text.js.map
37
+ //# sourceMappingURL=text.js.map
package/cjs/index.d.ts CHANGED
@@ -3,6 +3,20 @@ export * from './graphic';
3
3
  export { builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap } from './graphic/builtin-symbol';
4
4
  export { Group } from './graphic/group';
5
5
  export { Symbol, createSymbol } from './graphic/symbol';
6
+ export { createArc } from './graphic/arc';
7
+ export { createArc3d } from './graphic/arc3d';
8
+ export { createArea } from './graphic/area';
9
+ export { createGlyph } from './graphic/glyph';
10
+ export { createGroup } from './graphic/group';
11
+ export { createImage } from './graphic/image';
12
+ export { createLine } from './graphic/line';
13
+ export { createPath } from './graphic/path';
14
+ export { createPolygon } from './graphic/polygon';
15
+ export { createPyramid3d } from './graphic/pyramid3d';
16
+ export { createRect } from './graphic/rect';
17
+ export { createRect3d } from './graphic/rect3d';
18
+ export { createRichText } from './graphic/richtext';
19
+ export { createText } from './graphic/text';
6
20
  export { createGraphic, graphicCreator, registerGraphic } from './graphic/graphic-creator';
7
21
  export { container, graphicUtil, transformUtil, graphicService, layerService } from './modules';
8
22
  export { preLoadAllModule, getLegacyBindingContext, type ILegacyBindContext, type ILegacyBindingContext } from './legacy/bootstrap';
@@ -16,7 +30,9 @@ export * from './render/contributions/render/base-render';
16
30
  export * from './canvas';
17
31
  export * from './core';
18
32
  export * from './core/light';
33
+ export { registerDirectionalLight } from './core/light';
19
34
  export * from './core/camera';
35
+ export { registerOrthoCamera } from './core/camera';
20
36
  export * from './picker';
21
37
  export { PickerService, PickItemInterceptor, PickServiceInterceptor } from './picker/constants';
22
38
  export * from './resource-loader/loader';
@@ -31,6 +47,7 @@ export * from './common/bezier-utils';
31
47
  export * from './common/bounds-context';
32
48
  export * from './common/seg-context';
33
49
  export * from './common/custom-path2d';
50
+ export { CustomPath2D } from './common/custom-path2d';
34
51
  export * from './common/segment';
35
52
  export * from './common/canvas-utils';
36
53
  export * from './common/contribution-provider';
@@ -50,12 +67,15 @@ export * from './common/sort';
50
67
  export * from './common/morphing-utils';
51
68
  export * from './common/split-path';
52
69
  export * from './common/enums';
70
+ export { IContainPointMode } from './common/enums';
53
71
  export * from './common/generator';
54
72
  export * from './common/performance-raf';
55
73
  export * from './common/event-transformer';
74
+ export { mapToCanvasPointForCanvas, registerGlobalEventTransformer, registerWindowEventTransformer, transformPointForCanvas } from './common/event-transformer';
56
75
  export * from './plugins/constants';
57
76
  export * from './plugins/builtin-plugin/richtext-edit-plugin';
58
77
  export * from './allocator/matrix-allocate';
78
+ export { matrixAllocate } from './allocator/matrix-allocate';
59
79
  export * from './allocator/canvas-allocate';
60
80
  export * from './allocator/graphic-allocate';
61
81
  export * from './common/contribution-provider';
@@ -66,6 +86,11 @@ export * from './constants';
66
86
  export * from './application';
67
87
  export { application } from './application';
68
88
  export * from './env-check';
89
+ export { isBrowserEnv } from './env-check';
90
+ export { CustomEvent } from './event/federated-event/custom-event';
91
+ export { GradientParser } from './common/color-utils';
92
+ export { getRichTextBounds, getTextBounds } from './graphic/bounds';
93
+ export { waitForAllSubLayers } from './graphic/tools';
69
94
  export * from './render/contributions/render/arc-module';
70
95
  export * from './render/contributions/render/rect-module';
71
96
  export * from './render/contributions/render/line-module';
@@ -102,7 +127,10 @@ export * from './register/register-text';
102
127
  export * from './register/register-shadowRoot';
103
128
  export * from './register/register-wraptext';
104
129
  export * from './plugins/builtin-plugin/html-attribute-plugin';
130
+ export { registerHtmlAttributePlugin } from './plugins/builtin-plugin/html-attribute-plugin';
105
131
  export * from './plugins/builtin-plugin/react-attribute-plugin';
132
+ export { registerReactAttributePlugin } from './plugins/builtin-plugin/react-attribute-plugin';
106
133
  export * from './plugins/builtin-plugin/3dview-transform-plugin';
134
+ export { registerViewTransform3dPlugin } from './plugins/builtin-plugin/3dview-transform-plugin';
107
135
  export * from './plugins/builtin-plugin/flex-layout-plugin';
108
136
  export * from './plugins/builtin-plugin/edit-module';
package/cjs/index.js CHANGED
@@ -17,8 +17,9 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
17
17
 
18
18
  Object.defineProperty(exports, "__esModule", {
19
19
  value: !0
20
- }), exports.wrapContext = exports.wrapCanvas = exports.Generator = exports.refreshRuntimeInstallerContributions = exports.installRuntimePickersToApp = exports.installRuntimeGraphicRenderersToApp = exports.installRuntimeDrawContributionsToApp = exports.getRuntimeInstallerGlobal = exports.getRuntimeInstallerBindingContext = exports.configureRuntimeApplicationForApp = exports.PickServiceInterceptor = exports.PickItemInterceptor = exports.PickerService = exports.StarRender = exports.DrawContribution = exports.RenderSelector = exports.ImageRender = exports.GlyphRender = exports.Pyramid3dRender = exports.RichTextRender = exports.TextRender = exports.SymbolRender = exports.Rect3DRender = exports.RectRender = exports.PolygonRender = exports.PathRender = exports.LineRender = exports.GraphicRender = exports.CircleRender = exports.AreaRender = exports.Arc3dRender = exports.ArcRender = exports.IncrementalDrawContribution = exports.vglobal = exports.getLegacyBindingContext = exports.preLoadAllModule = exports.layerService = exports.graphicService = exports.transformUtil = exports.graphicUtil = exports.container = exports.registerGraphic = exports.graphicCreator = exports.createGraphic = exports.createSymbol = exports.Symbol = exports.Group = exports.builtinSymbolsMap = exports.builtinSymbols = exports.builtInSymbolStrMap = void 0,
21
- exports.application = void 0, __exportStar(require("./core/global"), exports), __exportStar(require("./graphic"), exports);
20
+ }), exports.DrawContribution = exports.RenderSelector = exports.ImageRender = exports.GlyphRender = exports.Pyramid3dRender = exports.RichTextRender = exports.TextRender = exports.SymbolRender = exports.Rect3DRender = exports.RectRender = exports.PolygonRender = exports.PathRender = exports.LineRender = exports.GraphicRender = exports.CircleRender = exports.AreaRender = exports.Arc3dRender = exports.ArcRender = exports.IncrementalDrawContribution = exports.vglobal = exports.getLegacyBindingContext = exports.preLoadAllModule = exports.layerService = exports.graphicService = exports.transformUtil = exports.graphicUtil = exports.container = exports.registerGraphic = exports.graphicCreator = exports.createGraphic = exports.createText = exports.createRichText = exports.createRect3d = exports.createRect = exports.createPyramid3d = exports.createPolygon = exports.createPath = exports.createLine = exports.createImage = exports.createGroup = exports.createGlyph = exports.createArea = exports.createArc3d = exports.createArc = exports.createSymbol = exports.Symbol = exports.Group = exports.builtinSymbolsMap = exports.builtinSymbols = exports.builtInSymbolStrMap = void 0,
21
+ exports.registerViewTransform3dPlugin = exports.registerReactAttributePlugin = exports.registerHtmlAttributePlugin = exports.waitForAllSubLayers = exports.getTextBounds = exports.getRichTextBounds = exports.GradientParser = exports.CustomEvent = exports.isBrowserEnv = exports.application = exports.wrapContext = exports.wrapCanvas = exports.matrixAllocate = exports.transformPointForCanvas = exports.registerWindowEventTransformer = exports.registerGlobalEventTransformer = exports.mapToCanvasPointForCanvas = exports.IContainPointMode = exports.Generator = exports.CustomPath2D = exports.refreshRuntimeInstallerContributions = exports.installRuntimePickersToApp = exports.installRuntimeGraphicRenderersToApp = exports.installRuntimeDrawContributionsToApp = exports.getRuntimeInstallerGlobal = exports.getRuntimeInstallerBindingContext = exports.configureRuntimeApplicationForApp = exports.PickServiceInterceptor = exports.PickItemInterceptor = exports.PickerService = exports.registerOrthoCamera = exports.registerDirectionalLight = exports.StarRender = void 0,
22
+ __exportStar(require("./core/global"), exports), __exportStar(require("./graphic"), exports);
22
23
 
23
24
  var builtin_symbol_1 = require("./graphic/builtin-symbol");
24
25
 
@@ -62,6 +63,132 @@ Object.defineProperty(exports, "Symbol", {
62
63
  }
63
64
  });
64
65
 
66
+ var arc_1 = require("./graphic/arc");
67
+
68
+ Object.defineProperty(exports, "createArc", {
69
+ enumerable: !0,
70
+ get: function() {
71
+ return arc_1.createArc;
72
+ }
73
+ });
74
+
75
+ var arc3d_1 = require("./graphic/arc3d");
76
+
77
+ Object.defineProperty(exports, "createArc3d", {
78
+ enumerable: !0,
79
+ get: function() {
80
+ return arc3d_1.createArc3d;
81
+ }
82
+ });
83
+
84
+ var area_1 = require("./graphic/area");
85
+
86
+ Object.defineProperty(exports, "createArea", {
87
+ enumerable: !0,
88
+ get: function() {
89
+ return area_1.createArea;
90
+ }
91
+ });
92
+
93
+ var glyph_1 = require("./graphic/glyph");
94
+
95
+ Object.defineProperty(exports, "createGlyph", {
96
+ enumerable: !0,
97
+ get: function() {
98
+ return glyph_1.createGlyph;
99
+ }
100
+ });
101
+
102
+ var group_2 = require("./graphic/group");
103
+
104
+ Object.defineProperty(exports, "createGroup", {
105
+ enumerable: !0,
106
+ get: function() {
107
+ return group_2.createGroup;
108
+ }
109
+ });
110
+
111
+ var image_1 = require("./graphic/image");
112
+
113
+ Object.defineProperty(exports, "createImage", {
114
+ enumerable: !0,
115
+ get: function() {
116
+ return image_1.createImage;
117
+ }
118
+ });
119
+
120
+ var line_1 = require("./graphic/line");
121
+
122
+ Object.defineProperty(exports, "createLine", {
123
+ enumerable: !0,
124
+ get: function() {
125
+ return line_1.createLine;
126
+ }
127
+ });
128
+
129
+ var path_1 = require("./graphic/path");
130
+
131
+ Object.defineProperty(exports, "createPath", {
132
+ enumerable: !0,
133
+ get: function() {
134
+ return path_1.createPath;
135
+ }
136
+ });
137
+
138
+ var polygon_1 = require("./graphic/polygon");
139
+
140
+ Object.defineProperty(exports, "createPolygon", {
141
+ enumerable: !0,
142
+ get: function() {
143
+ return polygon_1.createPolygon;
144
+ }
145
+ });
146
+
147
+ var pyramid3d_1 = require("./graphic/pyramid3d");
148
+
149
+ Object.defineProperty(exports, "createPyramid3d", {
150
+ enumerable: !0,
151
+ get: function() {
152
+ return pyramid3d_1.createPyramid3d;
153
+ }
154
+ });
155
+
156
+ var rect_1 = require("./graphic/rect");
157
+
158
+ Object.defineProperty(exports, "createRect", {
159
+ enumerable: !0,
160
+ get: function() {
161
+ return rect_1.createRect;
162
+ }
163
+ });
164
+
165
+ var rect3d_1 = require("./graphic/rect3d");
166
+
167
+ Object.defineProperty(exports, "createRect3d", {
168
+ enumerable: !0,
169
+ get: function() {
170
+ return rect3d_1.createRect3d;
171
+ }
172
+ });
173
+
174
+ var richtext_1 = require("./graphic/richtext");
175
+
176
+ Object.defineProperty(exports, "createRichText", {
177
+ enumerable: !0,
178
+ get: function() {
179
+ return richtext_1.createRichText;
180
+ }
181
+ });
182
+
183
+ var text_1 = require("./graphic/text");
184
+
185
+ Object.defineProperty(exports, "createText", {
186
+ enumerable: !0,
187
+ get: function() {
188
+ return text_1.createText;
189
+ }
190
+ });
191
+
65
192
  var graphic_creator_1 = require("./graphic/graphic-creator");
66
193
 
67
194
  Object.defineProperty(exports, "createGraphic", {
@@ -238,8 +365,25 @@ Object.defineProperty(exports, "IncrementalDrawContribution", {
238
365
  }
239
366
  }), __exportStar(require("./render/contributions/render/base-render"), exports),
240
367
  __exportStar(require("./canvas"), exports), __exportStar(require("./core"), exports),
241
- __exportStar(require("./core/light"), exports), __exportStar(require("./core/camera"), exports),
242
- __exportStar(require("./picker"), exports);
368
+ __exportStar(require("./core/light"), exports);
369
+
370
+ var light_1 = require("./core/light");
371
+
372
+ Object.defineProperty(exports, "registerDirectionalLight", {
373
+ enumerable: !0,
374
+ get: function() {
375
+ return light_1.registerDirectionalLight;
376
+ }
377
+ }), __exportStar(require("./core/camera"), exports);
378
+
379
+ var camera_1 = require("./core/camera");
380
+
381
+ Object.defineProperty(exports, "registerOrthoCamera", {
382
+ enumerable: !0,
383
+ get: function() {
384
+ return camera_1.registerOrthoCamera;
385
+ }
386
+ }), __exportStar(require("./picker"), exports);
243
387
 
244
388
  var constants_1 = require("./picker/constants");
245
389
 
@@ -301,8 +445,16 @@ Object.defineProperty(exports, "configureRuntimeApplicationForApp", {
301
445
  }
302
446
  }), __exportStar(require("./common/text"), exports), __exportStar(require("./common/color-utils"), exports),
303
447
  __exportStar(require("./common/bezier-utils"), exports), __exportStar(require("./common/bounds-context"), exports),
304
- __exportStar(require("./common/seg-context"), exports), __exportStar(require("./common/custom-path2d"), exports),
305
- __exportStar(require("./common/segment"), exports), __exportStar(require("./common/canvas-utils"), exports),
448
+ __exportStar(require("./common/seg-context"), exports), __exportStar(require("./common/custom-path2d"), exports);
449
+
450
+ var custom_path2d_1 = require("./common/custom-path2d");
451
+
452
+ Object.defineProperty(exports, "CustomPath2D", {
453
+ enumerable: !0,
454
+ get: function() {
455
+ return custom_path2d_1.CustomPath2D;
456
+ }
457
+ }), __exportStar(require("./common/segment"), exports), __exportStar(require("./common/canvas-utils"), exports),
306
458
  __exportStar(require("./common/contribution-provider"), exports), __exportStar(require("./common/generator"), exports);
307
459
 
308
460
  var generator_1 = require("./common/generator");
@@ -318,12 +470,52 @@ __exportStar(require("./common/simplify"), exports), __exportStar(require("./com
318
470
  __exportStar(require("./common/path-svg"), exports), __exportStar(require("./common/render-curve"), exports),
319
471
  __exportStar(require("./common/render-area"), exports), __exportStar(require("./common/render-command-list"), exports),
320
472
  __exportStar(require("./common/sort"), exports), __exportStar(require("./common/morphing-utils"), exports),
321
- __exportStar(require("./common/split-path"), exports), __exportStar(require("./common/enums"), exports),
322
- __exportStar(require("./common/generator"), exports), __exportStar(require("./common/performance-raf"), exports),
323
- __exportStar(require("./common/event-transformer"), exports), __exportStar(require("./plugins/constants"), exports),
324
- __exportStar(require("./plugins/builtin-plugin/richtext-edit-plugin"), exports),
325
- __exportStar(require("./allocator/matrix-allocate"), exports), __exportStar(require("./allocator/canvas-allocate"), exports),
326
- __exportStar(require("./allocator/graphic-allocate"), exports), __exportStar(require("./common/contribution-provider"), exports);
473
+ __exportStar(require("./common/split-path"), exports), __exportStar(require("./common/enums"), exports);
474
+
475
+ var enums_1 = require("./common/enums");
476
+
477
+ Object.defineProperty(exports, "IContainPointMode", {
478
+ enumerable: !0,
479
+ get: function() {
480
+ return enums_1.IContainPointMode;
481
+ }
482
+ }), __exportStar(require("./common/generator"), exports), __exportStar(require("./common/performance-raf"), exports),
483
+ __exportStar(require("./common/event-transformer"), exports);
484
+
485
+ var event_transformer_1 = require("./common/event-transformer");
486
+
487
+ Object.defineProperty(exports, "mapToCanvasPointForCanvas", {
488
+ enumerable: !0,
489
+ get: function() {
490
+ return event_transformer_1.mapToCanvasPointForCanvas;
491
+ }
492
+ }), Object.defineProperty(exports, "registerGlobalEventTransformer", {
493
+ enumerable: !0,
494
+ get: function() {
495
+ return event_transformer_1.registerGlobalEventTransformer;
496
+ }
497
+ }), Object.defineProperty(exports, "registerWindowEventTransformer", {
498
+ enumerable: !0,
499
+ get: function() {
500
+ return event_transformer_1.registerWindowEventTransformer;
501
+ }
502
+ }), Object.defineProperty(exports, "transformPointForCanvas", {
503
+ enumerable: !0,
504
+ get: function() {
505
+ return event_transformer_1.transformPointForCanvas;
506
+ }
507
+ }), __exportStar(require("./plugins/constants"), exports), __exportStar(require("./plugins/builtin-plugin/richtext-edit-plugin"), exports),
508
+ __exportStar(require("./allocator/matrix-allocate"), exports);
509
+
510
+ var matrix_allocate_1 = require("./allocator/matrix-allocate");
511
+
512
+ Object.defineProperty(exports, "matrixAllocate", {
513
+ enumerable: !0,
514
+ get: function() {
515
+ return matrix_allocate_1.matrixAllocate;
516
+ }
517
+ }), __exportStar(require("./allocator/canvas-allocate"), exports), __exportStar(require("./allocator/graphic-allocate"), exports),
518
+ __exportStar(require("./common/contribution-provider"), exports);
327
519
 
328
520
  var util_1 = require("./canvas/util");
329
521
 
@@ -347,7 +539,57 @@ Object.defineProperty(exports, "application", {
347
539
  get: function() {
348
540
  return application_1.application;
349
541
  }
350
- }), __exportStar(require("./env-check"), exports), __exportStar(require("./render/contributions/render/arc-module"), exports),
542
+ }), __exportStar(require("./env-check"), exports);
543
+
544
+ var env_check_1 = require("./env-check");
545
+
546
+ Object.defineProperty(exports, "isBrowserEnv", {
547
+ enumerable: !0,
548
+ get: function() {
549
+ return env_check_1.isBrowserEnv;
550
+ }
551
+ });
552
+
553
+ var custom_event_1 = require("./event/federated-event/custom-event");
554
+
555
+ Object.defineProperty(exports, "CustomEvent", {
556
+ enumerable: !0,
557
+ get: function() {
558
+ return custom_event_1.CustomEvent;
559
+ }
560
+ });
561
+
562
+ var color_utils_1 = require("./common/color-utils");
563
+
564
+ Object.defineProperty(exports, "GradientParser", {
565
+ enumerable: !0,
566
+ get: function() {
567
+ return color_utils_1.GradientParser;
568
+ }
569
+ });
570
+
571
+ var bounds_1 = require("./graphic/bounds");
572
+
573
+ Object.defineProperty(exports, "getRichTextBounds", {
574
+ enumerable: !0,
575
+ get: function() {
576
+ return bounds_1.getRichTextBounds;
577
+ }
578
+ }), Object.defineProperty(exports, "getTextBounds", {
579
+ enumerable: !0,
580
+ get: function() {
581
+ return bounds_1.getTextBounds;
582
+ }
583
+ });
584
+
585
+ var tools_1 = require("./graphic/tools");
586
+
587
+ Object.defineProperty(exports, "waitForAllSubLayers", {
588
+ enumerable: !0,
589
+ get: function() {
590
+ return tools_1.waitForAllSubLayers;
591
+ }
592
+ }), __exportStar(require("./render/contributions/render/arc-module"), exports),
351
593
  __exportStar(require("./render/contributions/render/rect-module"), exports), __exportStar(require("./render/contributions/render/line-module"), exports),
352
594
  __exportStar(require("./render/contributions/render/area-module"), exports), __exportStar(require("./render/contributions/render/symbol-module"), exports),
353
595
  __exportStar(require("./render/contributions/render/circle-module"), exports), __exportStar(require("./render/contributions/render/text-module"), exports),
@@ -365,8 +607,33 @@ __exportStar(require("./register/register-star"), exports), __exportStar(require
365
607
  __exportStar(require("./register/register-rect"), exports), __exportStar(require("./register/register-rect3d"), exports),
366
608
  __exportStar(require("./register/register-richtext"), exports), __exportStar(require("./register/register-symbol"), exports),
367
609
  __exportStar(require("./register/register-text"), exports), __exportStar(require("./register/register-shadowRoot"), exports),
368
- __exportStar(require("./register/register-wraptext"), exports), __exportStar(require("./plugins/builtin-plugin/html-attribute-plugin"), exports),
369
- __exportStar(require("./plugins/builtin-plugin/react-attribute-plugin"), exports),
370
- __exportStar(require("./plugins/builtin-plugin/3dview-transform-plugin"), exports),
371
- __exportStar(require("./plugins/builtin-plugin/flex-layout-plugin"), exports), __exportStar(require("./plugins/builtin-plugin/edit-module"), exports);
610
+ __exportStar(require("./register/register-wraptext"), exports), __exportStar(require("./plugins/builtin-plugin/html-attribute-plugin"), exports);
611
+
612
+ var html_attribute_plugin_1 = require("./plugins/builtin-plugin/html-attribute-plugin");
613
+
614
+ Object.defineProperty(exports, "registerHtmlAttributePlugin", {
615
+ enumerable: !0,
616
+ get: function() {
617
+ return html_attribute_plugin_1.registerHtmlAttributePlugin;
618
+ }
619
+ }), __exportStar(require("./plugins/builtin-plugin/react-attribute-plugin"), exports);
620
+
621
+ var react_attribute_plugin_1 = require("./plugins/builtin-plugin/react-attribute-plugin");
622
+
623
+ Object.defineProperty(exports, "registerReactAttributePlugin", {
624
+ enumerable: !0,
625
+ get: function() {
626
+ return react_attribute_plugin_1.registerReactAttributePlugin;
627
+ }
628
+ }), __exportStar(require("./plugins/builtin-plugin/3dview-transform-plugin"), exports);
629
+
630
+ var _3dview_transform_plugin_1 = require("./plugins/builtin-plugin/3dview-transform-plugin");
631
+
632
+ Object.defineProperty(exports, "registerViewTransform3dPlugin", {
633
+ enumerable: !0,
634
+ get: function() {
635
+ return _3dview_transform_plugin_1.registerViewTransform3dPlugin;
636
+ }
637
+ }), __exportStar(require("./plugins/builtin-plugin/flex-layout-plugin"), exports),
638
+ __exportStar(require("./plugins/builtin-plugin/edit-module"), exports);
372
639
  //# sourceMappingURL=index.js.map
package/cjs/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,4CAA0B;AAC1B,2DAAkG;AAAzF,qHAAA,mBAAmB,OAAA;AAAE,gHAAA,cAAc,OAAA;AAAE,mHAAA,iBAAiB,OAAA;AAC/D,yCAAwC;AAA/B,8FAAA,KAAK,OAAA;AACd,2CAAwD;AAA/C,gGAAA,MAAM,OAAA;AAAE,sGAAA,YAAY,OAAA;AAC7B,6DAA2F;AAAlF,gHAAA,aAAa,OAAA;AAAE,iHAAA,cAAc,OAAA;AAAE,kHAAA,eAAe,OAAA;AACvD,qCAAgG;AAAvF,oGAAA,SAAS,OAAA;AAAE,sGAAA,WAAW,OAAA;AAAE,wGAAA,aAAa,OAAA;AAAE,yGAAA,cAAc,OAAA;AAAE,uGAAA,YAAY,OAAA;AAC5E,gDAK4B;AAJ1B,6GAAA,gBAAgB,OAAA;AAChB,oHAAA,uBAAuB,OAAA;AAIzB,mCAAmC;AAA1B,iGAAA,OAAO,OAAA;AAChB,2CAAyB;AACzB,0CAAwB;AACxB,8CAA4B;AAC5B,2CAA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AgC;AAChC,oDAAkC;AAClC,gDAA8B;AAE9B,oDAAkC;AAClC,wDAAsC;AACtC,uDAAqC;AACrC,+DAA6C;AAC7C,gDAA8B;AAC9B,0DAAwC;AACxC,sDAAoC;AACpC,iDAA+B;AAC/B,qDAAmC;AACnC,2DAAyC;AACzC,6DAA2C;AAC3C,sDAAoC;AACpC,gFAA8D;AAC9D,8DAA4C;AAC5C,8DAA4C;AAC5C,+DAA6C;AAC7C,iEAA+C;AAE/C,sCAAwD;AAA/C,kGAAA,UAAU,OAAA;AAAE,mGAAA,WAAW,OAAA;AAChC,+CAA6B;AAC7B,4DAA0C;AAC1C,8CAA4B;AAC5B,gDAA8B;AAC9B,6CAA4C;AAAnC,0GAAA,WAAW,OAAA;AACpB,8CAA4B;AAE5B,2EAAyD;AACzD,4EAA0D;AAC1D,4EAA0D;AAC1D,4EAA0D;AAC1D,8EAA4D;AAC5D,8EAA4D;AAC5D,4EAA0D;AAC1D,4EAA0D;AAC1D,+EAA6D;AAC7D,4EAA0D;AAC1D,6EAA2D;AAC3D,gFAA8D;AAC9D,6EAA2D;AAC3D,8EAA4D;AAC5D,6EAA2D;AAC3D,iFAA+D;AAE/D,0DAAwC;AACxC,4DAA0C;AAC1C,2DAAyC;AACzC,6DAA2C;AAC3C,4DAA0C;AAC1C,4DAA0C;AAC1C,4DAA0C;AAC1C,2DAAyC;AACzC,2DAAyC;AACzC,8DAA4C;AAC5C,2DAAyC;AACzC,gEAA8C;AAC9C,2DAAyC;AACzC,6DAA2C;AAC3C,+DAA6C;AAC7C,6DAA2C;AAC3C,2DAAyC;AACzC,iEAA+C;AAC/C,+DAA6C;AAG7C,iFAA+D;AAC/D,kFAAgE;AAChE,mFAAiE;AACjE,8EAA4D;AAE5D,uEAAqD","file":"index.js","sourcesContent":["export * from './core/global';\nexport * from './graphic';\nexport { builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap } from './graphic/builtin-symbol';\nexport { Group } from './graphic/group';\nexport { Symbol, createSymbol } from './graphic/symbol';\nexport { createGraphic, graphicCreator, registerGraphic } from './graphic/graphic-creator';\nexport { container, graphicUtil, transformUtil, graphicService, layerService } from './modules';\nexport {\n preLoadAllModule,\n getLegacyBindingContext,\n type ILegacyBindContext,\n type ILegacyBindingContext\n} from './legacy/bootstrap';\nexport { vglobal } from './global';\nexport * from './create';\nexport * from './event';\nexport * from './interface';\nexport * from './render';\nexport {\n IncrementalDrawContribution,\n ArcRender,\n Arc3dRender,\n AreaRender,\n CircleRender,\n GraphicRender,\n LineRender,\n PathRender,\n PolygonRender,\n RectRender,\n Rect3DRender,\n SymbolRender,\n TextRender,\n RichTextRender,\n Pyramid3dRender,\n GlyphRender,\n ImageRender,\n RenderSelector,\n DrawContribution,\n StarRender\n} from './render/contributions/render/symbol';\nexport * from './render/contributions/render/base-render';\nexport * from './canvas';\nexport * from './core';\nexport * from './core/light';\nexport * from './core/camera';\nexport * from './picker';\nexport { PickerService, PickItemInterceptor, PickServiceInterceptor } from './picker/constants';\nexport * from './resource-loader/loader';\nexport * from './color-string';\nexport * from './factory';\nexport * from './registry';\nexport * from './entries';\nexport {\n configureRuntimeApplicationForApp,\n getRuntimeInstallerBindingContext,\n getRuntimeInstallerGlobal,\n installRuntimeDrawContributionsToApp,\n installRuntimeGraphicRenderersToApp,\n installRuntimePickersToApp,\n refreshRuntimeInstallerContributions\n} from './entries/runtime-installer';\n\n/* export common */\nexport * from './common/text';\nexport * from './common/color-utils';\nexport * from './common/bezier-utils';\nexport * from './common/bounds-context';\nexport * from './common/seg-context';\nexport * from './common/custom-path2d';\nexport * from './common/segment';\nexport * from './common/canvas-utils';\nexport * from './common/contribution-provider';\nexport * from './common/generator';\nexport { Generator } from './common/generator';\nexport * from './common/utils';\nexport * from './common/shape/arc';\nexport * from './common/shape/rect';\nexport * from './common/matrix';\nexport * from './common/simplify';\nexport * from './common/diff';\n\nexport * from './common/path-svg';\nexport * from './common/render-curve';\nexport * from './common/render-area';\nexport * from './common/render-command-list';\nexport * from './common/sort';\nexport * from './common/morphing-utils';\nexport * from './common/split-path';\nexport * from './common/enums';\nexport * from './common/generator';\nexport * from './common/performance-raf';\nexport * from './common/event-transformer';\nexport * from './plugins/constants';\nexport * from './plugins/builtin-plugin/richtext-edit-plugin';\nexport * from './allocator/matrix-allocate';\nexport * from './allocator/canvas-allocate';\nexport * from './allocator/graphic-allocate';\nexport * from './common/contribution-provider';\n\nexport { wrapCanvas, wrapContext } from './canvas/util';\nexport * from './common/xml';\nexport * from './common/explicit-binding';\nexport * from './constants';\nexport * from './application';\nexport { application } from './application';\nexport * from './env-check';\n\nexport * from './render/contributions/render/arc-module';\nexport * from './render/contributions/render/rect-module';\nexport * from './render/contributions/render/line-module';\nexport * from './render/contributions/render/area-module';\nexport * from './render/contributions/render/symbol-module';\nexport * from './render/contributions/render/circle-module';\nexport * from './render/contributions/render/text-module';\nexport * from './render/contributions/render/path-module';\nexport * from './render/contributions/render/polygon-module';\nexport * from './render/contributions/render/star-module';\nexport * from './render/contributions/render/glyph-module';\nexport * from './render/contributions/render/richtext-module';\nexport * from './render/contributions/render/image-module';\nexport * from './render/contributions/render/rect3d-module';\nexport * from './render/contributions/render/arc3d-module';\nexport * from './render/contributions/render/pyramid3d-module';\n\nexport * from './register/register-arc';\nexport * from './register/register-arc3d';\nexport * from './register/register-area';\nexport * from './register/register-circle';\nexport * from './register/register-glyph';\nexport * from './register/register-group';\nexport * from './register/register-image';\nexport * from './register/register-line';\nexport * from './register/register-path';\nexport * from './register/register-polygon';\nexport * from './register/register-star';\nexport * from './register/register-pyramid3d';\nexport * from './register/register-rect';\nexport * from './register/register-rect3d';\nexport * from './register/register-richtext';\nexport * from './register/register-symbol';\nexport * from './register/register-text';\nexport * from './register/register-shadowRoot';\nexport * from './register/register-wraptext';\n\n// plugin\nexport * from './plugins/builtin-plugin/html-attribute-plugin';\nexport * from './plugins/builtin-plugin/react-attribute-plugin';\nexport * from './plugins/builtin-plugin/3dview-transform-plugin';\nexport * from './plugins/builtin-plugin/flex-layout-plugin';\n\nexport * from './plugins/builtin-plugin/edit-module';\n\n// export const morphPath = {};\n// export const multiToOneMorph = {};\n// export const oneToMultiMorph = {};\n// export class ACustomAnimate {}\n// export const AnimateGroup = {};\n// export const Animate = {};\n// export const defaultTicker = {};\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,4CAA0B;AAC1B,2DAAkG;AAAzF,qHAAA,mBAAmB,OAAA;AAAE,gHAAA,cAAc,OAAA;AAAE,mHAAA,iBAAiB,OAAA;AAC/D,yCAAwC;AAA/B,8FAAA,KAAK,OAAA;AACd,2CAAwD;AAA/C,gGAAA,MAAM,OAAA;AAAE,sGAAA,YAAY,OAAA;AAC7B,qCAA0C;AAAjC,gGAAA,SAAS,OAAA;AAClB,yCAA8C;AAArC,oGAAA,WAAW,OAAA;AACpB,uCAA4C;AAAnC,kGAAA,UAAU,OAAA;AACnB,yCAA8C;AAArC,oGAAA,WAAW,OAAA;AACpB,yCAA8C;AAArC,oGAAA,WAAW,OAAA;AACpB,yCAA8C;AAArC,oGAAA,WAAW,OAAA;AACpB,uCAA4C;AAAnC,kGAAA,UAAU,OAAA;AACnB,uCAA4C;AAAnC,kGAAA,UAAU,OAAA;AACnB,6CAAkD;AAAzC,wGAAA,aAAa,OAAA;AACtB,iDAAsD;AAA7C,4GAAA,eAAe,OAAA;AACxB,uCAA4C;AAAnC,kGAAA,UAAU,OAAA;AACnB,2CAAgD;AAAvC,sGAAA,YAAY,OAAA;AACrB,+CAAoD;AAA3C,0GAAA,cAAc,OAAA;AACvB,uCAA4C;AAAnC,kGAAA,UAAU,OAAA;AACnB,6DAA2F;AAAlF,gHAAA,aAAa,OAAA;AAAE,iHAAA,cAAc,OAAA;AAAE,kHAAA,eAAe,OAAA;AACvD,qCAAgG;AAAvF,oGAAA,SAAS,OAAA;AAAE,sGAAA,WAAW,OAAA;AAAE,wGAAA,aAAa,OAAA;AAAE,yGAAA,c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AAA7C,4GAAA,mBAAmB,OAAA;AAE5B,2EAAyD;AACzD,4EAA0D;AAC1D,4EAA0D;AAC1D,4EAA0D;AAC1D,8EAA4D;AAC5D,8EAA4D;AAC5D,4EAA0D;AAC1D,4EAA0D;AAC1D,+EAA6D;AAC7D,4EAA0D;AAC1D,6EAA2D;AAC3D,gFAA8D;AAC9D,6EAA2D;AAC3D,8EAA4D;AAC5D,6EAA2D;AAC3D,iFAA+D;AAE/D,0DAAwC;AACxC,4DAA0C;AAC1C,2DAAyC;AACzC,6DAA2C;AAC3C,4DAA0C;AAC1C,4DAA0C;AAC1C,4DAA0C;AAC1C,2DAAyC;AACzC,2DAAyC;AACzC,8DAA4C;AAC5C,2DAAyC;AACzC,gEAA8C;AAC9C,2DAAyC;AACzC,6DAA2C;AAC3C,+DAA6C;AAC7C,6DAA2C;AAC3C,2DAAyC;AACzC,iEAA+C;AAC/C,+DAA6C;AAG7C,iFAA+D;AAC/D,wFAA6F;AAApF,oIAAA,2BAA2B,OAAA;AACpC,kFAAgE;AAChE,0FAA+F;AAAtF,sIAAA,4BAA4B,OAAA;AACrC,mFAAiE;AACjE,6FAAiG;AAAxF,yIAAA,6BAA6B,OAAA;AACtC,8EAA4D;AAE5D,uEAAqD","file":"index.js","sourcesContent":["export * from './core/global';\nexport * from './graphic';\nexport { builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap } from './graphic/builtin-symbol';\nexport { Group } from './graphic/group';\nexport { Symbol, createSymbol } from './graphic/symbol';\nexport { createArc } from './graphic/arc';\nexport { createArc3d } from './graphic/arc3d';\nexport { createArea } from './graphic/area';\nexport { createGlyph } from './graphic/glyph';\nexport { createGroup } from './graphic/group';\nexport { createImage } from './graphic/image';\nexport { createLine } from './graphic/line';\nexport { createPath } from './graphic/path';\nexport { createPolygon } from './graphic/polygon';\nexport { createPyramid3d } from './graphic/pyramid3d';\nexport { createRect } from './graphic/rect';\nexport { createRect3d } from './graphic/rect3d';\nexport { createRichText } from './graphic/richtext';\nexport { createText } from './graphic/text';\nexport { createGraphic, graphicCreator, registerGraphic } from './graphic/graphic-creator';\nexport { container, graphicUtil, transformUtil, graphicService, layerService } from './modules';\nexport {\n preLoadAllModule,\n getLegacyBindingContext,\n type ILegacyBindContext,\n type ILegacyBindingContext\n} from './legacy/bootstrap';\nexport { vglobal } from './global';\nexport * from './create';\nexport * from './event';\nexport * from './interface';\nexport * from './render';\nexport {\n IncrementalDrawContribution,\n ArcRender,\n Arc3dRender,\n AreaRender,\n CircleRender,\n GraphicRender,\n LineRender,\n PathRender,\n PolygonRender,\n RectRender,\n Rect3DRender,\n SymbolRender,\n TextRender,\n RichTextRender,\n Pyramid3dRender,\n GlyphRender,\n ImageRender,\n RenderSelector,\n DrawContribution,\n StarRender\n} from './render/contributions/render/symbol';\nexport * from './render/contributions/render/base-render';\nexport * from './canvas';\nexport * from './core';\nexport * from './core/light';\nexport { registerDirectionalLight } from './core/light';\nexport * from './core/camera';\nexport { registerOrthoCamera } from './core/camera';\nexport * from './picker';\nexport { PickerService, PickItemInterceptor, PickServiceInterceptor } from './picker/constants';\nexport * from './resource-loader/loader';\nexport * from './color-string';\nexport * from './factory';\nexport * from './registry';\nexport * from './entries';\nexport {\n configureRuntimeApplicationForApp,\n getRuntimeInstallerBindingContext,\n getRuntimeInstallerGlobal,\n installRuntimeDrawContributionsToApp,\n installRuntimeGraphicRenderersToApp,\n installRuntimePickersToApp,\n refreshRuntimeInstallerContributions\n} from './entries/runtime-installer';\n\n/* export common */\nexport * from './common/text';\nexport * from './common/color-utils';\nexport * from './common/bezier-utils';\nexport * from './common/bounds-context';\nexport * from './common/seg-context';\nexport * from './common/custom-path2d';\nexport { CustomPath2D } from './common/custom-path2d';\nexport * from './common/segment';\nexport * from './common/canvas-utils';\nexport * from './common/contribution-provider';\nexport * from './common/generator';\nexport { Generator } from './common/generator';\nexport * from './common/utils';\nexport * from './common/shape/arc';\nexport * from './common/shape/rect';\nexport * from './common/matrix';\nexport * from './common/simplify';\nexport * from './common/diff';\n\nexport * from './common/path-svg';\nexport * from './common/render-curve';\nexport * from './common/render-area';\nexport * from './common/render-command-list';\nexport * from './common/sort';\nexport * from './common/morphing-utils';\nexport * from './common/split-path';\nexport * from './common/enums';\nexport { IContainPointMode } from './common/enums';\nexport * from './common/generator';\nexport * from './common/performance-raf';\nexport * from './common/event-transformer';\nexport {\n mapToCanvasPointForCanvas,\n registerGlobalEventTransformer,\n registerWindowEventTransformer,\n transformPointForCanvas\n} from './common/event-transformer';\nexport * from './plugins/constants';\nexport * from './plugins/builtin-plugin/richtext-edit-plugin';\nexport * from './allocator/matrix-allocate';\nexport { matrixAllocate } from './allocator/matrix-allocate';\nexport * from './allocator/canvas-allocate';\nexport * from './allocator/graphic-allocate';\nexport * from './common/contribution-provider';\n\nexport { wrapCanvas, wrapContext } from './canvas/util';\nexport * from './common/xml';\nexport * from './common/explicit-binding';\nexport * from './constants';\nexport * from './application';\nexport { application } from './application';\nexport * from './env-check';\nexport { isBrowserEnv } from './env-check';\nexport { CustomEvent } from './event/federated-event/custom-event';\nexport { GradientParser } from './common/color-utils';\nexport { getRichTextBounds, getTextBounds } from './graphic/bounds';\nexport { waitForAllSubLayers } from './graphic/tools';\n\nexport * from './render/contributions/render/arc-module';\nexport * from './render/contributions/render/rect-module';\nexport * from './render/contributions/render/line-module';\nexport * from './render/contributions/render/area-module';\nexport * from './render/contributions/render/symbol-module';\nexport * from './render/contributions/render/circle-module';\nexport * from './render/contributions/render/text-module';\nexport * from './render/contributions/render/path-module';\nexport * from './render/contributions/render/polygon-module';\nexport * from './render/contributions/render/star-module';\nexport * from './render/contributions/render/glyph-module';\nexport * from './render/contributions/render/richtext-module';\nexport * from './render/contributions/render/image-module';\nexport * from './render/contributions/render/rect3d-module';\nexport * from './render/contributions/render/arc3d-module';\nexport * from './render/contributions/render/pyramid3d-module';\n\nexport * from './register/register-arc';\nexport * from './register/register-arc3d';\nexport * from './register/register-area';\nexport * from './register/register-circle';\nexport * from './register/register-glyph';\nexport * from './register/register-group';\nexport * from './register/register-image';\nexport * from './register/register-line';\nexport * from './register/register-path';\nexport * from './register/register-polygon';\nexport * from './register/register-star';\nexport * from './register/register-pyramid3d';\nexport * from './register/register-rect';\nexport * from './register/register-rect3d';\nexport * from './register/register-richtext';\nexport * from './register/register-symbol';\nexport * from './register/register-text';\nexport * from './register/register-shadowRoot';\nexport * from './register/register-wraptext';\n\n// plugin\nexport * from './plugins/builtin-plugin/html-attribute-plugin';\nexport { registerHtmlAttributePlugin } from './plugins/builtin-plugin/html-attribute-plugin';\nexport * from './plugins/builtin-plugin/react-attribute-plugin';\nexport { registerReactAttributePlugin } from './plugins/builtin-plugin/react-attribute-plugin';\nexport * from './plugins/builtin-plugin/3dview-transform-plugin';\nexport { registerViewTransform3dPlugin } from './plugins/builtin-plugin/3dview-transform-plugin';\nexport * from './plugins/builtin-plugin/flex-layout-plugin';\n\nexport * from './plugins/builtin-plugin/edit-module';\n\n// export const morphPath = {};\n// export const multiToOneMorph = {};\n// export const oneToMultiMorph = {};\n// export class ACustomAnimate {}\n// export const AnimateGroup = {};\n// export const Animate = {};\n// export const defaultTicker = {};\n"]}
@@ -2,4 +2,4 @@ export const DefaultStateAnimateConfig = {
2
2
  duration: 200,
3
3
  easing: "cubicOut"
4
4
  };
5
- //# sourceMappingURL=config.js.map
5
+ //# sourceMappingURL=config.js.map
@@ -237,4 +237,5 @@ export class GradientParser {
237
237
  stops: GradientParser.processColorStops(colorStops)
238
238
  };
239
239
  }
240
- }
240
+ }
241
+ //# sourceMappingURL=color-utils.js.map
@@ -43,5 +43,4 @@ export class ContributionStore {
43
43
  }
44
44
  }
45
45
 
46
- ContributionStore.store = new Map;
47
- //# sourceMappingURL=contribution-provider.js.map
46
+ ContributionStore.store = new Map;
@@ -60,4 +60,5 @@ function drawAreaBlock(path, topList, bottomList, params) {
60
60
  drawSegItem(path, curve, 1, params), needMoveTo = !1) : needMoveTo = !0;
61
61
  }
62
62
  path.closePath();
63
- }
63
+ }
64
+ //# sourceMappingURL=render-area.js.map
@@ -5,5 +5,4 @@ export function renderCommandList(commandList, context, x = 0, y = 0, sx = 1, sy
5
5
  const command = commandList[i];
6
6
  commandFuncs[command[0]](command, context, x, y, sx, sy, z);
7
7
  }
8
- }
9
- //# sourceMappingURL=render-command-list.js.map
8
+ }
package/es/common/text.js CHANGED
@@ -24,4 +24,4 @@ export function textAttributesToStyle(attrs) {
24
24
  attrs.underline ? style["text-decoration"] = "underline" : attrs.lineThrough && (style["text-decoration"] = "line-through"),
25
25
  attrs.fill && isString(attrs.fill) && (style.color = attrs.fill), style;
26
26
  }
27
- //# sourceMappingURL=text.js.map
27
+ //# sourceMappingURL=text.js.map
package/es/index.d.ts CHANGED
@@ -3,6 +3,20 @@ export * from './graphic';
3
3
  export { builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap } from './graphic/builtin-symbol';
4
4
  export { Group } from './graphic/group';
5
5
  export { Symbol, createSymbol } from './graphic/symbol';
6
+ export { createArc } from './graphic/arc';
7
+ export { createArc3d } from './graphic/arc3d';
8
+ export { createArea } from './graphic/area';
9
+ export { createGlyph } from './graphic/glyph';
10
+ export { createGroup } from './graphic/group';
11
+ export { createImage } from './graphic/image';
12
+ export { createLine } from './graphic/line';
13
+ export { createPath } from './graphic/path';
14
+ export { createPolygon } from './graphic/polygon';
15
+ export { createPyramid3d } from './graphic/pyramid3d';
16
+ export { createRect } from './graphic/rect';
17
+ export { createRect3d } from './graphic/rect3d';
18
+ export { createRichText } from './graphic/richtext';
19
+ export { createText } from './graphic/text';
6
20
  export { createGraphic, graphicCreator, registerGraphic } from './graphic/graphic-creator';
7
21
  export { container, graphicUtil, transformUtil, graphicService, layerService } from './modules';
8
22
  export { preLoadAllModule, getLegacyBindingContext, type ILegacyBindContext, type ILegacyBindingContext } from './legacy/bootstrap';
@@ -16,7 +30,9 @@ export * from './render/contributions/render/base-render';
16
30
  export * from './canvas';
17
31
  export * from './core';
18
32
  export * from './core/light';
33
+ export { registerDirectionalLight } from './core/light';
19
34
  export * from './core/camera';
35
+ export { registerOrthoCamera } from './core/camera';
20
36
  export * from './picker';
21
37
  export { PickerService, PickItemInterceptor, PickServiceInterceptor } from './picker/constants';
22
38
  export * from './resource-loader/loader';
@@ -31,6 +47,7 @@ export * from './common/bezier-utils';
31
47
  export * from './common/bounds-context';
32
48
  export * from './common/seg-context';
33
49
  export * from './common/custom-path2d';
50
+ export { CustomPath2D } from './common/custom-path2d';
34
51
  export * from './common/segment';
35
52
  export * from './common/canvas-utils';
36
53
  export * from './common/contribution-provider';
@@ -50,12 +67,15 @@ export * from './common/sort';
50
67
  export * from './common/morphing-utils';
51
68
  export * from './common/split-path';
52
69
  export * from './common/enums';
70
+ export { IContainPointMode } from './common/enums';
53
71
  export * from './common/generator';
54
72
  export * from './common/performance-raf';
55
73
  export * from './common/event-transformer';
74
+ export { mapToCanvasPointForCanvas, registerGlobalEventTransformer, registerWindowEventTransformer, transformPointForCanvas } from './common/event-transformer';
56
75
  export * from './plugins/constants';
57
76
  export * from './plugins/builtin-plugin/richtext-edit-plugin';
58
77
  export * from './allocator/matrix-allocate';
78
+ export { matrixAllocate } from './allocator/matrix-allocate';
59
79
  export * from './allocator/canvas-allocate';
60
80
  export * from './allocator/graphic-allocate';
61
81
  export * from './common/contribution-provider';
@@ -66,6 +86,11 @@ export * from './constants';
66
86
  export * from './application';
67
87
  export { application } from './application';
68
88
  export * from './env-check';
89
+ export { isBrowserEnv } from './env-check';
90
+ export { CustomEvent } from './event/federated-event/custom-event';
91
+ export { GradientParser } from './common/color-utils';
92
+ export { getRichTextBounds, getTextBounds } from './graphic/bounds';
93
+ export { waitForAllSubLayers } from './graphic/tools';
69
94
  export * from './render/contributions/render/arc-module';
70
95
  export * from './render/contributions/render/rect-module';
71
96
  export * from './render/contributions/render/line-module';
@@ -102,7 +127,10 @@ export * from './register/register-text';
102
127
  export * from './register/register-shadowRoot';
103
128
  export * from './register/register-wraptext';
104
129
  export * from './plugins/builtin-plugin/html-attribute-plugin';
130
+ export { registerHtmlAttributePlugin } from './plugins/builtin-plugin/html-attribute-plugin';
105
131
  export * from './plugins/builtin-plugin/react-attribute-plugin';
132
+ export { registerReactAttributePlugin } from './plugins/builtin-plugin/react-attribute-plugin';
106
133
  export * from './plugins/builtin-plugin/3dview-transform-plugin';
134
+ export { registerViewTransform3dPlugin } from './plugins/builtin-plugin/3dview-transform-plugin';
107
135
  export * from './plugins/builtin-plugin/flex-layout-plugin';
108
136
  export * from './plugins/builtin-plugin/edit-module';
package/es/index.js CHANGED
@@ -8,6 +8,34 @@ export { Group } from "./graphic/group";
8
8
 
9
9
  export { Symbol, createSymbol } from "./graphic/symbol";
10
10
 
11
+ export { createArc } from "./graphic/arc";
12
+
13
+ export { createArc3d } from "./graphic/arc3d";
14
+
15
+ export { createArea } from "./graphic/area";
16
+
17
+ export { createGlyph } from "./graphic/glyph";
18
+
19
+ export { createGroup } from "./graphic/group";
20
+
21
+ export { createImage } from "./graphic/image";
22
+
23
+ export { createLine } from "./graphic/line";
24
+
25
+ export { createPath } from "./graphic/path";
26
+
27
+ export { createPolygon } from "./graphic/polygon";
28
+
29
+ export { createPyramid3d } from "./graphic/pyramid3d";
30
+
31
+ export { createRect } from "./graphic/rect";
32
+
33
+ export { createRect3d } from "./graphic/rect3d";
34
+
35
+ export { createRichText } from "./graphic/richtext";
36
+
37
+ export { createText } from "./graphic/text";
38
+
11
39
  export { createGraphic, graphicCreator, registerGraphic } from "./graphic/graphic-creator";
12
40
 
13
41
  export { container, graphicUtil, transformUtil, graphicService, layerService } from "./modules";
@@ -34,8 +62,12 @@ export * from "./core";
34
62
 
35
63
  export * from "./core/light";
36
64
 
65
+ export { registerDirectionalLight } from "./core/light";
66
+
37
67
  export * from "./core/camera";
38
68
 
69
+ export { registerOrthoCamera } from "./core/camera";
70
+
39
71
  export * from "./picker";
40
72
 
41
73
  export { PickerService, PickItemInterceptor, PickServiceInterceptor } from "./picker/constants";
@@ -64,6 +96,8 @@ export * from "./common/seg-context";
64
96
 
65
97
  export * from "./common/custom-path2d";
66
98
 
99
+ export { CustomPath2D } from "./common/custom-path2d";
100
+
67
101
  export * from "./common/segment";
68
102
 
69
103
  export * from "./common/canvas-utils";
@@ -102,18 +136,24 @@ export * from "./common/split-path";
102
136
 
103
137
  export * from "./common/enums";
104
138
 
139
+ export { IContainPointMode } from "./common/enums";
140
+
105
141
  export * from "./common/generator";
106
142
 
107
143
  export * from "./common/performance-raf";
108
144
 
109
145
  export * from "./common/event-transformer";
110
146
 
147
+ export { mapToCanvasPointForCanvas, registerGlobalEventTransformer, registerWindowEventTransformer, transformPointForCanvas } from "./common/event-transformer";
148
+
111
149
  export * from "./plugins/constants";
112
150
 
113
151
  export * from "./plugins/builtin-plugin/richtext-edit-plugin";
114
152
 
115
153
  export * from "./allocator/matrix-allocate";
116
154
 
155
+ export { matrixAllocate } from "./allocator/matrix-allocate";
156
+
117
157
  export * from "./allocator/canvas-allocate";
118
158
 
119
159
  export * from "./allocator/graphic-allocate";
@@ -134,6 +174,16 @@ export { application } from "./application";
134
174
 
135
175
  export * from "./env-check";
136
176
 
177
+ export { isBrowserEnv } from "./env-check";
178
+
179
+ export { CustomEvent } from "./event/federated-event/custom-event";
180
+
181
+ export { GradientParser } from "./common/color-utils";
182
+
183
+ export { getRichTextBounds, getTextBounds } from "./graphic/bounds";
184
+
185
+ export { waitForAllSubLayers } from "./graphic/tools";
186
+
137
187
  export * from "./render/contributions/render/arc-module";
138
188
 
139
189
  export * from "./render/contributions/render/rect-module";
@@ -206,10 +256,16 @@ export * from "./register/register-wraptext";
206
256
 
207
257
  export * from "./plugins/builtin-plugin/html-attribute-plugin";
208
258
 
259
+ export { registerHtmlAttributePlugin } from "./plugins/builtin-plugin/html-attribute-plugin";
260
+
209
261
  export * from "./plugins/builtin-plugin/react-attribute-plugin";
210
262
 
263
+ export { registerReactAttributePlugin } from "./plugins/builtin-plugin/react-attribute-plugin";
264
+
211
265
  export * from "./plugins/builtin-plugin/3dview-transform-plugin";
212
266
 
267
+ export { registerViewTransform3dPlugin } from "./plugins/builtin-plugin/3dview-transform-plugin";
268
+
213
269
  export * from "./plugins/builtin-plugin/flex-layout-plugin";
214
270
 
215
271
  export * from "./plugins/builtin-plugin/edit-module";
package/es/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClG,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC3F,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAChG,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EAGxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,OAAO,EACL,2BAA2B,EAC3B,SAAS,EACT,WAAW,EACX,UAAU,EACV,YAAY,EACZ,aAAa,EACb,UAAU,EACV,UAAU,EACV,aAAa,EACb,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,cAAc,EACd,eAAe,EACf,WAAW,EACX,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,UAAU,EACX,MAAM,sCAAsC,CAAC;AAC9C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;A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AAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAG7C,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iDAAiD,CAAC;AAChE,cAAc,kDAAkD,CAAC;AACjE,cAAc,6CAA6C,CAAC;AAE5D,cAAc,sCAAsC,CAAC","file":"index.js","sourcesContent":["export * from './core/global';\nexport * from './graphic';\nexport { builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap } from './graphic/builtin-symbol';\nexport { Group } from './graphic/group';\nexport { Symbol, createSymbol } from './graphic/symbol';\nexport { createGraphic, graphicCreator, registerGraphic } from './graphic/graphic-creator';\nexport { container, graphicUtil, transformUtil, graphicService, layerService } from './modules';\nexport {\n preLoadAllModule,\n getLegacyBindingContext,\n type ILegacyBindContext,\n type ILegacyBindingContext\n} from './legacy/bootstrap';\nexport { vglobal } from './global';\nexport * from './create';\nexport * from './event';\nexport * from './interface';\nexport * from './render';\nexport {\n IncrementalDrawContribution,\n ArcRender,\n Arc3dRender,\n AreaRender,\n CircleRender,\n GraphicRender,\n LineRender,\n PathRender,\n PolygonRender,\n RectRender,\n Rect3DRender,\n SymbolRender,\n TextRender,\n RichTextRender,\n Pyramid3dRender,\n GlyphRender,\n ImageRender,\n RenderSelector,\n DrawContribution,\n StarRender\n} from './render/contributions/render/symbol';\nexport * from './render/contributions/render/base-render';\nexport * from './canvas';\nexport * from './core';\nexport * from './core/light';\nexport * from './core/camera';\nexport * from './picker';\nexport { PickerService, PickItemInterceptor, PickServiceInterceptor } from './picker/constants';\nexport * from './resource-loader/loader';\nexport * from './color-string';\nexport * from './factory';\nexport * from './registry';\nexport * from './entries';\nexport {\n configureRuntimeApplicationForApp,\n getRuntimeInstallerBindingContext,\n getRuntimeInstallerGlobal,\n installRuntimeDrawContributionsToApp,\n installRuntimeGraphicRenderersToApp,\n installRuntimePickersToApp,\n refreshRuntimeInstallerContributions\n} from './entries/runtime-installer';\n\n/* export common */\nexport * from './common/text';\nexport * from './common/color-utils';\nexport * from './common/bezier-utils';\nexport * from './common/bounds-context';\nexport * from './common/seg-context';\nexport * from './common/custom-path2d';\nexport * from './common/segment';\nexport * from './common/canvas-utils';\nexport * from './common/contribution-provider';\nexport * from './common/generator';\nexport { Generator } from './common/generator';\nexport * from './common/utils';\nexport * from './common/shape/arc';\nexport * from './common/shape/rect';\nexport * from './common/matrix';\nexport * from './common/simplify';\nexport * from './common/diff';\n\nexport * from './common/path-svg';\nexport * from './common/render-curve';\nexport * from './common/render-area';\nexport * from './common/render-command-list';\nexport * from './common/sort';\nexport * from './common/morphing-utils';\nexport * from './common/split-path';\nexport * from './common/enums';\nexport * from './common/generator';\nexport * from './common/performance-raf';\nexport * from './common/event-transformer';\nexport * from './plugins/constants';\nexport * from './plugins/builtin-plugin/richtext-edit-plugin';\nexport * from './allocator/matrix-allocate';\nexport * from './allocator/canvas-allocate';\nexport * from './allocator/graphic-allocate';\nexport * from './common/contribution-provider';\n\nexport { wrapCanvas, wrapContext } from './canvas/util';\nexport * from './common/xml';\nexport * from './common/explicit-binding';\nexport * from './constants';\nexport * from './application';\nexport { application } from './application';\nexport * from './env-check';\n\nexport * from './render/contributions/render/arc-module';\nexport * from './render/contributions/render/rect-module';\nexport * from './render/contributions/render/line-module';\nexport * from './render/contributions/render/area-module';\nexport * from './render/contributions/render/symbol-module';\nexport * from './render/contributions/render/circle-module';\nexport * from './render/contributions/render/text-module';\nexport * from './render/contributions/render/path-module';\nexport * from './render/contributions/render/polygon-module';\nexport * from './render/contributions/render/star-module';\nexport * from './render/contributions/render/glyph-module';\nexport * from './render/contributions/render/richtext-module';\nexport * from './render/contributions/render/image-module';\nexport * from './render/contributions/render/rect3d-module';\nexport * from './render/contributions/render/arc3d-module';\nexport * from './render/contributions/render/pyramid3d-module';\n\nexport * from './register/register-arc';\nexport * from './register/register-arc3d';\nexport * from './register/register-area';\nexport * from './register/register-circle';\nexport * from './register/register-glyph';\nexport * from './register/register-group';\nexport * from './register/register-image';\nexport * from './register/register-line';\nexport * from './register/register-path';\nexport * from './register/register-polygon';\nexport * from './register/register-star';\nexport * from './register/register-pyramid3d';\nexport * from './register/register-rect';\nexport * from './register/register-rect3d';\nexport * from './register/register-richtext';\nexport * from './register/register-symbol';\nexport * from './register/register-text';\nexport * from './register/register-shadowRoot';\nexport * from './register/register-wraptext';\n\n// plugin\nexport * from './plugins/builtin-plugin/html-attribute-plugin';\nexport * from './plugins/builtin-plugin/react-attribute-plugin';\nexport * from './plugins/builtin-plugin/3dview-transform-plugin';\nexport * from './plugins/builtin-plugin/flex-layout-plugin';\n\nexport * from './plugins/builtin-plugin/edit-module';\n\n// export const morphPath = {};\n// export const multiToOneMorph = {};\n// export const oneToMultiMorph = {};\n// export class ACustomAnimate {}\n// export const AnimateGroup = {};\n// export const Animate = {};\n// export const defaultTicker = {};\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClG,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAA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CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAG7C,cAAc,gDAAgD,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAC7F,cAAc,iDAAiD,CAAC;AAChE,OAAO,EAAE,4BAA4B,EAAE,MAAM,iDAAiD,CAAC;AAC/F,cAAc,kDAAkD,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,kDAAkD,CAAC;AACjG,cAAc,6CAA6C,CAAC;AAE5D,cAAc,sCAAsC,CAAC","file":"index.js","sourcesContent":["export * from './core/global';\nexport * from './graphic';\nexport { builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap } from './graphic/builtin-symbol';\nexport { Group } from './graphic/group';\nexport { Symbol, createSymbol } from './graphic/symbol';\nexport { createArc } from './graphic/arc';\nexport { createArc3d } from './graphic/arc3d';\nexport { createArea } from './graphic/area';\nexport { createGlyph } from './graphic/glyph';\nexport { createGroup } from './graphic/group';\nexport { createImage } from './graphic/image';\nexport { createLine } from './graphic/line';\nexport { createPath } from './graphic/path';\nexport { createPolygon } from './graphic/polygon';\nexport { createPyramid3d } from './graphic/pyramid3d';\nexport { createRect } from './graphic/rect';\nexport { createRect3d } from './graphic/rect3d';\nexport { createRichText } from './graphic/richtext';\nexport { createText } from './graphic/text';\nexport { createGraphic, graphicCreator, registerGraphic } from './graphic/graphic-creator';\nexport { container, graphicUtil, transformUtil, graphicService, layerService } from './modules';\nexport {\n preLoadAllModule,\n getLegacyBindingContext,\n type ILegacyBindContext,\n type ILegacyBindingContext\n} from './legacy/bootstrap';\nexport { vglobal } from './global';\nexport * from './create';\nexport * from './event';\nexport * from './interface';\nexport * from './render';\nexport {\n IncrementalDrawContribution,\n ArcRender,\n Arc3dRender,\n AreaRender,\n CircleRender,\n GraphicRender,\n LineRender,\n PathRender,\n PolygonRender,\n RectRender,\n Rect3DRender,\n SymbolRender,\n TextRender,\n RichTextRender,\n Pyramid3dRender,\n GlyphRender,\n ImageRender,\n RenderSelector,\n DrawContribution,\n StarRender\n} from './render/contributions/render/symbol';\nexport * from './render/contributions/render/base-render';\nexport * from './canvas';\nexport * from './core';\nexport * from './core/light';\nexport { registerDirectionalLight } from './core/light';\nexport * from './core/camera';\nexport { registerOrthoCamera } from './core/camera';\nexport * from './picker';\nexport { PickerService, PickItemInterceptor, PickServiceInterceptor } from './picker/constants';\nexport * from './resource-loader/loader';\nexport * from './color-string';\nexport * from './factory';\nexport * from './registry';\nexport * from './entries';\nexport {\n configureRuntimeApplicationForApp,\n getRuntimeInstallerBindingContext,\n getRuntimeInstallerGlobal,\n installRuntimeDrawContributionsToApp,\n installRuntimeGraphicRenderersToApp,\n installRuntimePickersToApp,\n refreshRuntimeInstallerContributions\n} from './entries/runtime-installer';\n\n/* export common */\nexport * from './common/text';\nexport * from './common/color-utils';\nexport * from './common/bezier-utils';\nexport * from './common/bounds-context';\nexport * from './common/seg-context';\nexport * from './common/custom-path2d';\nexport { CustomPath2D } from './common/custom-path2d';\nexport * from './common/segment';\nexport * from './common/canvas-utils';\nexport * from './common/contribution-provider';\nexport * from './common/generator';\nexport { Generator } from './common/generator';\nexport * from './common/utils';\nexport * from './common/shape/arc';\nexport * from './common/shape/rect';\nexport * from './common/matrix';\nexport * from './common/simplify';\nexport * from './common/diff';\n\nexport * from './common/path-svg';\nexport * from './common/render-curve';\nexport * from './common/render-area';\nexport * from './common/render-command-list';\nexport * from './common/sort';\nexport * from './common/morphing-utils';\nexport * from './common/split-path';\nexport * from './common/enums';\nexport { IContainPointMode } from './common/enums';\nexport * from './common/generator';\nexport * from './common/performance-raf';\nexport * from './common/event-transformer';\nexport {\n mapToCanvasPointForCanvas,\n registerGlobalEventTransformer,\n registerWindowEventTransformer,\n transformPointForCanvas\n} from './common/event-transformer';\nexport * from './plugins/constants';\nexport * from './plugins/builtin-plugin/richtext-edit-plugin';\nexport * from './allocator/matrix-allocate';\nexport { matrixAllocate } from './allocator/matrix-allocate';\nexport * from './allocator/canvas-allocate';\nexport * from './allocator/graphic-allocate';\nexport * from './common/contribution-provider';\n\nexport { wrapCanvas, wrapContext } from './canvas/util';\nexport * from './common/xml';\nexport * from './common/explicit-binding';\nexport * from './constants';\nexport * from './application';\nexport { application } from './application';\nexport * from './env-check';\nexport { isBrowserEnv } from './env-check';\nexport { CustomEvent } from './event/federated-event/custom-event';\nexport { GradientParser } from './common/color-utils';\nexport { getRichTextBounds, getTextBounds } from './graphic/bounds';\nexport { waitForAllSubLayers } from './graphic/tools';\n\nexport * from './render/contributions/render/arc-module';\nexport * from './render/contributions/render/rect-module';\nexport * from './render/contributions/render/line-module';\nexport * from './render/contributions/render/area-module';\nexport * from './render/contributions/render/symbol-module';\nexport * from './render/contributions/render/circle-module';\nexport * from './render/contributions/render/text-module';\nexport * from './render/contributions/render/path-module';\nexport * from './render/contributions/render/polygon-module';\nexport * from './render/contributions/render/star-module';\nexport * from './render/contributions/render/glyph-module';\nexport * from './render/contributions/render/richtext-module';\nexport * from './render/contributions/render/image-module';\nexport * from './render/contributions/render/rect3d-module';\nexport * from './render/contributions/render/arc3d-module';\nexport * from './render/contributions/render/pyramid3d-module';\n\nexport * from './register/register-arc';\nexport * from './register/register-arc3d';\nexport * from './register/register-area';\nexport * from './register/register-circle';\nexport * from './register/register-glyph';\nexport * from './register/register-group';\nexport * from './register/register-image';\nexport * from './register/register-line';\nexport * from './register/register-path';\nexport * from './register/register-polygon';\nexport * from './register/register-star';\nexport * from './register/register-pyramid3d';\nexport * from './register/register-rect';\nexport * from './register/register-rect3d';\nexport * from './register/register-richtext';\nexport * from './register/register-symbol';\nexport * from './register/register-text';\nexport * from './register/register-shadowRoot';\nexport * from './register/register-wraptext';\n\n// plugin\nexport * from './plugins/builtin-plugin/html-attribute-plugin';\nexport { registerHtmlAttributePlugin } from './plugins/builtin-plugin/html-attribute-plugin';\nexport * from './plugins/builtin-plugin/react-attribute-plugin';\nexport { registerReactAttributePlugin } from './plugins/builtin-plugin/react-attribute-plugin';\nexport * from './plugins/builtin-plugin/3dview-transform-plugin';\nexport { registerViewTransform3dPlugin } from './plugins/builtin-plugin/3dview-transform-plugin';\nexport * from './plugins/builtin-plugin/flex-layout-plugin';\n\nexport * from './plugins/builtin-plugin/edit-module';\n\n// export const morphPath = {};\n// export const multiToOneMorph = {};\n// export const oneToMultiMorph = {};\n// export class ACustomAnimate {}\n// export const AnimateGroup = {};\n// export const Animate = {};\n// export const defaultTicker = {};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vrender-core",
3
- "version": "1.1.3-alpha.4",
3
+ "version": "1.1.3",
4
4
  "description": "",
5
5
  "sideEffects": [
6
6
  "./src/modules.ts",
@@ -129,9 +129,9 @@
129
129
  "vite": "3.2.6",
130
130
  "typescript": "4.9.5",
131
131
  "cross-env": "^7.0.3",
132
- "@internal/bundler": "0.0.1",
133
132
  "@internal/eslint-config": "0.0.1",
134
- "@internal/ts-config": "0.0.1"
133
+ "@internal/ts-config": "0.0.1",
134
+ "@internal/bundler": "0.0.1"
135
135
  },
136
136
  "keywords": [
137
137
  "VisActor",