react-design-editor 0.0.31 → 0.0.35

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.
Files changed (101) hide show
  1. package/README.md +1 -1
  2. package/dist/react-design-editor.js +37380 -16467
  3. package/dist/react-design-editor.min.js +1 -1
  4. package/dist/react-design-editor.min.js.LICENSE.txt +13 -2
  5. package/lib/Canvas.d.ts +18 -29
  6. package/lib/Canvas.js +172 -208
  7. package/lib/CanvasObject.d.ts +10 -10
  8. package/lib/CanvasObject.js +96 -89
  9. package/lib/constants/code.d.ts +19 -0
  10. package/lib/constants/code.js +22 -0
  11. package/lib/constants/defaults.d.ts +38 -0
  12. package/lib/constants/defaults.js +69 -0
  13. package/lib/constants/index.d.ts +3 -0
  14. package/lib/constants/index.js +26 -0
  15. package/lib/handlers/AlignmentHandler.d.ts +18 -18
  16. package/lib/handlers/AlignmentHandler.js +58 -58
  17. package/lib/handlers/AnimationHandler.d.ts +50 -48
  18. package/lib/handlers/AnimationHandler.js +323 -298
  19. package/lib/handlers/ChartHandler.d.ts +8 -8
  20. package/lib/handlers/ChartHandler.js +8 -8
  21. package/lib/handlers/ContextmenuHandler.d.ts +28 -23
  22. package/lib/handlers/ContextmenuHandler.js +65 -56
  23. package/lib/handlers/CropHandler.d.ts +43 -37
  24. package/lib/handlers/CropHandler.js +261 -243
  25. package/lib/handlers/CustomHandler.d.ts +7 -0
  26. package/lib/handlers/CustomHandler.js +10 -0
  27. package/lib/handlers/DrawingHandler.d.ts +28 -28
  28. package/lib/handlers/DrawingHandler.js +318 -318
  29. package/lib/handlers/ElementHandler.d.ts +80 -80
  30. package/lib/handlers/ElementHandler.js +154 -154
  31. package/lib/handlers/EventHandler.d.ts +170 -182
  32. package/lib/handlers/EventHandler.js +880 -914
  33. package/lib/handlers/FiberHandler.d.ts +6 -0
  34. package/lib/handlers/FiberHandler.js +23 -0
  35. package/lib/handlers/GridHandler.d.ts +19 -18
  36. package/lib/handlers/GridHandler.js +77 -75
  37. package/lib/handlers/GuidelineHandler.d.ts +61 -39
  38. package/lib/handlers/GuidelineHandler.js +315 -263
  39. package/lib/handlers/Handler.d.ts +622 -543
  40. package/lib/handlers/Handler.js +1638 -1514
  41. package/lib/handlers/ImageHandler.d.ts +307 -307
  42. package/lib/handlers/ImageHandler.js +529 -484
  43. package/lib/handlers/InteractionHandler.d.ts +45 -45
  44. package/lib/handlers/InteractionHandler.js +164 -156
  45. package/lib/handlers/LinkHandler.d.ts +115 -116
  46. package/lib/handlers/LinkHandler.js +247 -246
  47. package/lib/handlers/NodeHandler.d.ts +50 -50
  48. package/lib/handlers/NodeHandler.js +274 -274
  49. package/lib/handlers/PortHandler.d.ts +22 -22
  50. package/lib/handlers/PortHandler.js +179 -179
  51. package/lib/handlers/ShortcutHandler.d.ts +119 -119
  52. package/lib/handlers/ShortcutHandler.js +151 -150
  53. package/lib/handlers/TooltipHandler.d.ts +33 -24
  54. package/lib/handlers/TooltipHandler.js +91 -78
  55. package/lib/handlers/TransactionHandler.d.ts +59 -54
  56. package/lib/handlers/TransactionHandler.js +137 -129
  57. package/lib/handlers/WorkareaHandler.d.ts +43 -31
  58. package/lib/handlers/WorkareaHandler.js +354 -355
  59. package/lib/handlers/ZoomHandler.d.ts +48 -48
  60. package/lib/handlers/ZoomHandler.js +143 -145
  61. package/lib/handlers/index.d.ts +23 -21
  62. package/lib/handlers/index.js +48 -44
  63. package/lib/index.d.ts +5 -5
  64. package/lib/index.js +19 -19
  65. package/lib/objects/Arrow.d.ts +2 -2
  66. package/lib/objects/Arrow.js +40 -39
  67. package/lib/objects/Chart.d.ts +10 -10
  68. package/lib/objects/Chart.js +117 -116
  69. package/lib/objects/CirclePort.d.ts +2 -2
  70. package/lib/objects/CirclePort.js +28 -28
  71. package/lib/objects/Cube.d.ts +5 -5
  72. package/lib/objects/Cube.js +71 -71
  73. package/lib/objects/CurvedLink.d.ts +2 -2
  74. package/lib/objects/CurvedLink.js +51 -49
  75. package/lib/objects/Element.d.ts +13 -13
  76. package/lib/objects/Element.js +77 -76
  77. package/lib/objects/Gif.d.ts +3 -3
  78. package/lib/objects/Gif.js +41 -38
  79. package/lib/objects/Iframe.d.ts +9 -9
  80. package/lib/objects/Iframe.js +63 -62
  81. package/lib/objects/Line.d.ts +2 -2
  82. package/lib/objects/Line.js +24 -24
  83. package/lib/objects/Link.d.ts +15 -15
  84. package/lib/objects/Link.js +106 -104
  85. package/lib/objects/Node.d.ts +59 -59
  86. package/lib/objects/Node.js +271 -268
  87. package/lib/objects/OrthogonalLink.d.ts +2 -2
  88. package/lib/objects/OrthogonalLink.js +54 -52
  89. package/lib/objects/Port.d.ts +12 -12
  90. package/lib/objects/Port.js +28 -28
  91. package/lib/objects/Svg.d.ts +8 -0
  92. package/lib/objects/Svg.js +59 -0
  93. package/lib/objects/Video.d.ts +14 -14
  94. package/lib/objects/Video.js +113 -112
  95. package/lib/objects/index.d.ts +15 -14
  96. package/lib/objects/index.js +32 -30
  97. package/lib/utils/ObjectUtil.d.ts +407 -412
  98. package/lib/utils/ObjectUtil.js +13 -13
  99. package/lib/utils/index.d.ts +1 -1
  100. package/lib/utils/index.js +13 -13
  101. package/package.json +7 -6
@@ -1,12 +1,12 @@
1
- import { fabric } from 'fabric';
2
- import { FabricObject } from '../utils';
3
- import { LinkObject } from './Link';
4
- export interface PortObject extends FabricObject<fabric.Rect> {
5
- links?: LinkObject[];
6
- nodeId?: string;
7
- enabled?: boolean;
8
- hoverFill?: string;
9
- selectFill?: string;
10
- }
11
- declare const Port: any;
12
- export default Port;
1
+ import { fabric } from 'fabric';
2
+ import { FabricObject } from '../utils';
3
+ import { LinkObject } from './Link';
4
+ export interface PortObject extends FabricObject<fabric.Rect> {
5
+ links?: LinkObject[];
6
+ nodeId?: string;
7
+ enabled?: boolean;
8
+ hoverFill?: string;
9
+ selectFill?: string;
10
+ }
11
+ declare const Port: any;
12
+ export default Port;
@@ -1,28 +1,28 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const fabric_1 = require("fabric");
4
- const Port = fabric_1.fabric.util.createClass(fabric_1.fabric.Rect, {
5
- type: 'port',
6
- superType: 'port',
7
- initialize(options) {
8
- options = options || {};
9
- this.callSuper('initialize', options);
10
- },
11
- toObject() {
12
- return fabric_1.fabric.util.object.extend(this.callSuper('toObject'), {
13
- id: this.get('id'),
14
- superType: this.get('superType'),
15
- enabled: this.get('enabled'),
16
- nodeId: this.get('nodeId'),
17
- });
18
- },
19
- _render(ctx) {
20
- this.callSuper('_render', ctx);
21
- },
22
- });
23
- Port.fromObject = (options, callback) => {
24
- return callback(new Port(options));
25
- };
26
- // @ts-ignore
27
- window.fabric.Port = Port;
28
- exports.default = Port;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const fabric_1 = require("fabric");
4
+ const Port = fabric_1.fabric.util.createClass(fabric_1.fabric.Rect, {
5
+ type: 'port',
6
+ superType: 'port',
7
+ initialize(options) {
8
+ options = options || {};
9
+ this.callSuper('initialize', options);
10
+ },
11
+ toObject() {
12
+ return fabric_1.fabric.util.object.extend(this.callSuper('toObject'), {
13
+ id: this.get('id'),
14
+ superType: this.get('superType'),
15
+ enabled: this.get('enabled'),
16
+ nodeId: this.get('nodeId'),
17
+ });
18
+ },
19
+ _render(ctx) {
20
+ this.callSuper('_render', ctx);
21
+ },
22
+ });
23
+ Port.fromObject = (options, callback) => {
24
+ return callback(new Port(options));
25
+ };
26
+ // @ts-ignore
27
+ window.fabric.Port = Port;
28
+ exports.default = Port;
@@ -0,0 +1,8 @@
1
+ import { FabricGroup, FabricObject, FabricObjectOption } from '../utils';
2
+ export declare type SvgObject = FabricGroup | FabricObject;
3
+ export interface SvgOption extends FabricObjectOption {
4
+ svg?: string;
5
+ loadType?: 'file' | 'svg';
6
+ }
7
+ declare const Svg: any;
8
+ export default Svg;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const fabric_1 = require("fabric");
4
+ const utils_1 = require("../utils");
5
+ const Svg = fabric_1.fabric.util.createClass(fabric_1.fabric.Group, {
6
+ type: 'svg',
7
+ initialize(option = {}) {
8
+ const { svg, loadType } = option;
9
+ this.callSuper('initialize', [], option);
10
+ this.loadSvg(svg, loadType);
11
+ },
12
+ addSvgElements(objects, options, path) {
13
+ const createdObj = fabric_1.fabric.util.groupSVGElements(objects, options, path);
14
+ this.set(options);
15
+ if (createdObj.getObjects) {
16
+ createdObj.getObjects().forEach(obj => this.add(obj));
17
+ }
18
+ else {
19
+ createdObj.set({
20
+ originX: 'center',
21
+ originY: 'center',
22
+ });
23
+ this.add(createdObj);
24
+ }
25
+ this.setCoords();
26
+ if (this.canvas) {
27
+ this.canvas.requestRenderAll();
28
+ }
29
+ },
30
+ loadSvg(svg, loadType) {
31
+ return new Promise(resolve => {
32
+ if (loadType === 'svg') {
33
+ fabric_1.fabric.loadSVGFromString(svg, (objects, options) => {
34
+ resolve(this.addSvgElements(objects, options, svg));
35
+ });
36
+ }
37
+ else {
38
+ fabric_1.fabric.loadSVGFromURL(svg, (objects, options) => {
39
+ resolve(this.addSvgElements(objects, options, svg));
40
+ });
41
+ }
42
+ });
43
+ },
44
+ toObject(propertiesToInclude) {
45
+ return utils_1.toObject(this, propertiesToInclude, {
46
+ svg: this.get('svg'),
47
+ loadType: this.get('loadType'),
48
+ });
49
+ },
50
+ _render(ctx) {
51
+ this.callSuper('_render', ctx);
52
+ },
53
+ });
54
+ Svg.fromObject = (option, callback) => {
55
+ return callback(new Svg(option));
56
+ };
57
+ // @ts-ignore
58
+ window.fabric.Svg = Svg;
59
+ exports.default = Svg;
@@ -1,14 +1,14 @@
1
- import 'mediaelement';
2
- import 'mediaelement/build/mediaelementplayer.min.css';
3
- import { FabricElement } from '../utils';
4
- export interface VideoObject extends FabricElement {
5
- setSource: (source: string | File) => void;
6
- setFile: (file: File) => void;
7
- setSrc: (src: string) => void;
8
- file?: File;
9
- src?: string;
10
- videoElement?: HTMLVideoElement;
11
- player?: any;
12
- }
13
- declare const Video: any;
14
- export default Video;
1
+ import 'mediaelement';
2
+ import 'mediaelement/build/mediaelementplayer.min.css';
3
+ import { FabricElement } from '../utils';
4
+ export interface VideoObject extends FabricElement {
5
+ setSource: (source: string | File) => void;
6
+ setFile: (file: File) => void;
7
+ setSrc: (src: string) => void;
8
+ file?: File;
9
+ src?: string;
10
+ videoElement?: HTMLVideoElement;
11
+ player?: any;
12
+ }
13
+ declare const Video: any;
14
+ export default Video;
@@ -1,86 +1,86 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const fabric_1 = require("fabric");
4
- require("mediaelement");
5
- require("mediaelement/build/mediaelementplayer.min.css");
6
- const utils_1 = require("../utils");
7
- const Video = fabric_1.fabric.util.createClass(fabric_1.fabric.Rect, {
8
- type: 'video',
9
- superType: 'element',
10
- hasRotatingPoint: false,
11
- initialize(source, options) {
12
- options = options || {};
13
- this.callSuper('initialize', options);
14
- if (source instanceof File) {
15
- this.set({
16
- file: source,
17
- src: null,
18
- });
19
- }
20
- else {
21
- this.set({
22
- file: null,
23
- src: source,
24
- });
25
- }
26
- this.set({
27
- fill: 'rgba(255, 255, 255, 0)',
28
- stroke: 'rgba(255, 255, 255, 0)',
29
- });
30
- },
31
- setSource(source) {
32
- if (source instanceof File) {
33
- this.setFile(source);
34
- }
35
- else {
36
- this.setSrc(source);
37
- }
38
- },
39
- setFile(file) {
40
- this.set({
41
- file,
42
- src: null,
43
- });
44
- const reader = new FileReader();
45
- reader.onload = () => {
46
- this.player.setSrc(reader.result);
47
- };
48
- reader.readAsDataURL(file);
49
- },
50
- setSrc(src) {
51
- this.set({
52
- file: null,
53
- src,
54
- });
55
- this.player.setSrc(src);
56
- },
57
- toObject(propertiesToInclude) {
58
- return utils_1.toObject(this, propertiesToInclude, {
59
- src: this.get('src'),
60
- file: this.get('file'),
61
- container: this.get('container'),
62
- editable: this.get('editable'),
63
- });
64
- },
65
- _render(ctx) {
66
- this.callSuper('_render', ctx);
67
- if (!this.element) {
68
- const { id, scaleX, scaleY, width, height, angle, editable, src, file, autoplay, muted, loop } = this;
69
- const zoom = this.canvas.getZoom();
70
- const left = this.calcCoords().tl.x;
71
- const top = this.calcCoords().tl.y;
72
- const padLeft = (width * scaleX * zoom - width) / 2;
73
- const padTop = (height * scaleY * zoom - height) / 2;
74
- this.videoElement = fabric_1.fabric.util.makeElement('video', {
75
- id,
76
- autoplay: editable ? false : autoplay,
77
- muted: editable ? false : muted,
78
- loop: editable ? false : loop,
79
- preload: 'none',
80
- controls: false,
81
- });
82
- this.element = fabric_1.fabric.util.wrapElement(this.videoElement, 'div', {
83
- id: `${id}_container`,
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const fabric_1 = require("fabric");
4
+ require("mediaelement");
5
+ require("mediaelement/build/mediaelementplayer.min.css");
6
+ const utils_1 = require("../utils");
7
+ const Video = fabric_1.fabric.util.createClass(fabric_1.fabric.Rect, {
8
+ type: 'video',
9
+ superType: 'element',
10
+ hasRotatingPoint: false,
11
+ initialize(source, options) {
12
+ options = options || {};
13
+ this.callSuper('initialize', options);
14
+ if (source instanceof File) {
15
+ this.set({
16
+ file: source,
17
+ src: null,
18
+ });
19
+ }
20
+ else {
21
+ this.set({
22
+ file: null,
23
+ src: source,
24
+ });
25
+ }
26
+ this.set({
27
+ fill: 'rgba(255, 255, 255, 0)',
28
+ stroke: 'rgba(255, 255, 255, 0)',
29
+ });
30
+ },
31
+ setSource(source) {
32
+ if (source instanceof File) {
33
+ this.setFile(source);
34
+ }
35
+ else {
36
+ this.setSrc(source);
37
+ }
38
+ },
39
+ setFile(file) {
40
+ this.set({
41
+ file,
42
+ src: null,
43
+ });
44
+ const reader = new FileReader();
45
+ reader.onload = () => {
46
+ this.player.setSrc(reader.result);
47
+ };
48
+ reader.readAsDataURL(file);
49
+ },
50
+ setSrc(src) {
51
+ this.set({
52
+ file: null,
53
+ src,
54
+ });
55
+ this.player.setSrc(src);
56
+ },
57
+ toObject(propertiesToInclude) {
58
+ return utils_1.toObject(this, propertiesToInclude, {
59
+ src: this.get('src'),
60
+ file: this.get('file'),
61
+ container: this.get('container'),
62
+ editable: this.get('editable'),
63
+ });
64
+ },
65
+ _render(ctx) {
66
+ this.callSuper('_render', ctx);
67
+ if (!this.element) {
68
+ const { id, scaleX, scaleY, width, height, angle, editable, src, file, autoplay, muted, loop } = this;
69
+ const zoom = this.canvas.getZoom();
70
+ const left = this.calcCoords().tl.x;
71
+ const top = this.calcCoords().tl.y;
72
+ const padLeft = (width * scaleX * zoom - width) / 2;
73
+ const padTop = (height * scaleY * zoom - height) / 2;
74
+ this.videoElement = fabric_1.fabric.util.makeElement('video', {
75
+ id,
76
+ autoplay: editable ? false : autoplay,
77
+ muted: editable ? false : muted,
78
+ loop: editable ? false : loop,
79
+ preload: 'none',
80
+ controls: false,
81
+ });
82
+ this.element = fabric_1.fabric.util.wrapElement(this.videoElement, 'div', {
83
+ id: `${id}_container`,
84
84
  style: `transform: rotate(${angle}deg) scale(${scaleX * zoom}, ${scaleY * zoom});
85
85
  width: ${width}px;
86
86
  height: ${height}px;
@@ -88,32 +88,33 @@ const Video = fabric_1.fabric.util.createClass(fabric_1.fabric.Rect, {
88
88
  top: ${top + padTop}px;
89
89
  position: absolute;
90
90
  user-select: ${editable ? 'none' : 'auto'};
91
- pointer-events: ${editable ? 'none' : 'auto'};`,
92
- });
93
- const container = document.getElementById(this.container);
94
- container.appendChild(this.element);
95
- this.player = new MediaElementPlayer(id, {
96
- pauseOtherPlayers: false,
97
- videoWidth: '100%',
98
- videoHeight: '100%',
99
- success: (_mediaeElement, _originalNode, instance) => {
100
- if (editable) {
101
- instance.pause();
102
- }
103
- },
104
- });
105
- this.player.setPlayerSize(width, height);
106
- if (src) {
107
- this.setSrc(src);
108
- }
109
- else if (file) {
110
- this.setFile(file);
111
- }
112
- }
113
- },
114
- });
115
- Video.fromObject = (options, callback) => {
116
- return callback(new Video(options.src || options.file, options));
117
- };
118
- window.fabric.Video = Video;
119
- exports.default = Video;
91
+ pointer-events: ${editable ? 'none' : 'auto'};`,
92
+ });
93
+ const container = document.getElementById(this.container);
94
+ container.appendChild(this.element);
95
+ this.player = new MediaElementPlayer(id, {
96
+ pauseOtherPlayers: false,
97
+ videoWidth: '100%',
98
+ videoHeight: '100%',
99
+ success: (_mediaeElement, _originalNode, instance) => {
100
+ if (editable) {
101
+ instance.pause();
102
+ }
103
+ },
104
+ });
105
+ this.player.setPlayerSize(width, height);
106
+ if (src) {
107
+ this.setSrc(src);
108
+ }
109
+ else if (file) {
110
+ this.setFile(file);
111
+ }
112
+ }
113
+ },
114
+ });
115
+ Video.fromObject = (options, callback) => {
116
+ return callback(new Video(options.src || options.file, options));
117
+ };
118
+ // @ts-ignore
119
+ window.fabric.Video = Video;
120
+ exports.default = Video;
@@ -1,14 +1,15 @@
1
- export { default as Gif } from './Gif';
2
- export { default as Arrow } from './Arrow';
3
- export { default as Chart } from './Chart';
4
- export { default as Element } from './Element';
5
- export { default as Iframe } from './Iframe';
6
- export { default as Video } from './Video';
7
- export { default as Node } from './Node';
8
- export { default as Link } from './Link';
9
- export { default as CurvedLink } from './CurvedLink';
10
- export { default as OrthogonalLink } from './OrthogonalLink';
11
- export { default as Port } from './Port';
12
- export { default as Line } from './Line';
13
- export { default as CirclePort } from './CirclePort';
14
- export { default as Cube } from './Cube';
1
+ export { default as Gif } from './Gif';
2
+ export { default as Arrow } from './Arrow';
3
+ export { default as Chart } from './Chart';
4
+ export { default as Element } from './Element';
5
+ export { default as Iframe } from './Iframe';
6
+ export { default as Video } from './Video';
7
+ export { default as Node } from './Node';
8
+ export { default as Link } from './Link';
9
+ export { default as CurvedLink } from './CurvedLink';
10
+ export { default as OrthogonalLink } from './OrthogonalLink';
11
+ export { default as Port } from './Port';
12
+ export { default as Line } from './Line';
13
+ export { default as CirclePort } from './CirclePort';
14
+ export { default as Cube } from './Cube';
15
+ export { default as Svg } from './Svg';
@@ -1,30 +1,32 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var Gif_1 = require("./Gif");
4
- Object.defineProperty(exports, "Gif", { enumerable: true, get: function () { return Gif_1.default; } });
5
- var Arrow_1 = require("./Arrow");
6
- Object.defineProperty(exports, "Arrow", { enumerable: true, get: function () { return Arrow_1.default; } });
7
- var Chart_1 = require("./Chart");
8
- Object.defineProperty(exports, "Chart", { enumerable: true, get: function () { return Chart_1.default; } });
9
- var Element_1 = require("./Element");
10
- Object.defineProperty(exports, "Element", { enumerable: true, get: function () { return Element_1.default; } });
11
- var Iframe_1 = require("./Iframe");
12
- Object.defineProperty(exports, "Iframe", { enumerable: true, get: function () { return Iframe_1.default; } });
13
- var Video_1 = require("./Video");
14
- Object.defineProperty(exports, "Video", { enumerable: true, get: function () { return Video_1.default; } });
15
- var Node_1 = require("./Node");
16
- Object.defineProperty(exports, "Node", { enumerable: true, get: function () { return Node_1.default; } });
17
- var Link_1 = require("./Link");
18
- Object.defineProperty(exports, "Link", { enumerable: true, get: function () { return Link_1.default; } });
19
- var CurvedLink_1 = require("./CurvedLink");
20
- Object.defineProperty(exports, "CurvedLink", { enumerable: true, get: function () { return CurvedLink_1.default; } });
21
- var OrthogonalLink_1 = require("./OrthogonalLink");
22
- Object.defineProperty(exports, "OrthogonalLink", { enumerable: true, get: function () { return OrthogonalLink_1.default; } });
23
- var Port_1 = require("./Port");
24
- Object.defineProperty(exports, "Port", { enumerable: true, get: function () { return Port_1.default; } });
25
- var Line_1 = require("./Line");
26
- Object.defineProperty(exports, "Line", { enumerable: true, get: function () { return Line_1.default; } });
27
- var CirclePort_1 = require("./CirclePort");
28
- Object.defineProperty(exports, "CirclePort", { enumerable: true, get: function () { return CirclePort_1.default; } });
29
- var Cube_1 = require("./Cube");
30
- Object.defineProperty(exports, "Cube", { enumerable: true, get: function () { return Cube_1.default; } });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var Gif_1 = require("./Gif");
4
+ Object.defineProperty(exports, "Gif", { enumerable: true, get: function () { return Gif_1.default; } });
5
+ var Arrow_1 = require("./Arrow");
6
+ Object.defineProperty(exports, "Arrow", { enumerable: true, get: function () { return Arrow_1.default; } });
7
+ var Chart_1 = require("./Chart");
8
+ Object.defineProperty(exports, "Chart", { enumerable: true, get: function () { return Chart_1.default; } });
9
+ var Element_1 = require("./Element");
10
+ Object.defineProperty(exports, "Element", { enumerable: true, get: function () { return Element_1.default; } });
11
+ var Iframe_1 = require("./Iframe");
12
+ Object.defineProperty(exports, "Iframe", { enumerable: true, get: function () { return Iframe_1.default; } });
13
+ var Video_1 = require("./Video");
14
+ Object.defineProperty(exports, "Video", { enumerable: true, get: function () { return Video_1.default; } });
15
+ var Node_1 = require("./Node");
16
+ Object.defineProperty(exports, "Node", { enumerable: true, get: function () { return Node_1.default; } });
17
+ var Link_1 = require("./Link");
18
+ Object.defineProperty(exports, "Link", { enumerable: true, get: function () { return Link_1.default; } });
19
+ var CurvedLink_1 = require("./CurvedLink");
20
+ Object.defineProperty(exports, "CurvedLink", { enumerable: true, get: function () { return CurvedLink_1.default; } });
21
+ var OrthogonalLink_1 = require("./OrthogonalLink");
22
+ Object.defineProperty(exports, "OrthogonalLink", { enumerable: true, get: function () { return OrthogonalLink_1.default; } });
23
+ var Port_1 = require("./Port");
24
+ Object.defineProperty(exports, "Port", { enumerable: true, get: function () { return Port_1.default; } });
25
+ var Line_1 = require("./Line");
26
+ Object.defineProperty(exports, "Line", { enumerable: true, get: function () { return Line_1.default; } });
27
+ var CirclePort_1 = require("./CirclePort");
28
+ Object.defineProperty(exports, "CirclePort", { enumerable: true, get: function () { return CirclePort_1.default; } });
29
+ var Cube_1 = require("./Cube");
30
+ Object.defineProperty(exports, "Cube", { enumerable: true, get: function () { return Cube_1.default; } });
31
+ var Svg_1 = require("./Svg");
32
+ Object.defineProperty(exports, "Svg", { enumerable: true, get: function () { return Svg_1.default; } });