@visactor/vrender 0.17.0 → 0.17.1-alpha.2

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 (123) hide show
  1. package/cjs/core.d.ts +1 -0
  2. package/cjs/core.js +20 -0
  3. package/cjs/core.js.map +1 -0
  4. package/cjs/index.d.ts +2 -1
  5. package/cjs/index.js +11 -3
  6. package/cjs/index.js.map +1 -1
  7. package/cjs/isbrowser.d.ts +1 -0
  8. package/cjs/isbrowser.js +10 -0
  9. package/cjs/isbrowser.js.map +1 -0
  10. package/cjs/kits.d.ts +1 -0
  11. package/cjs/kits.js +21 -0
  12. package/cjs/kits.js.map +1 -0
  13. package/cjs/register-arc.d.ts +3 -0
  14. package/cjs/register-arc.js +19 -0
  15. package/cjs/register-arc.js.map +1 -0
  16. package/cjs/register-arc3d.d.ts +3 -0
  17. package/cjs/register-arc3d.js +19 -0
  18. package/cjs/register-arc3d.js.map +1 -0
  19. package/cjs/register-area.d.ts +3 -0
  20. package/cjs/register-area.js +19 -0
  21. package/cjs/register-area.js.map +1 -0
  22. package/cjs/register-circle.d.ts +3 -0
  23. package/cjs/register-circle.js +19 -0
  24. package/cjs/register-circle.js.map +1 -0
  25. package/cjs/register-glyph.d.ts +3 -0
  26. package/cjs/register-glyph.js +19 -0
  27. package/cjs/register-glyph.js.map +1 -0
  28. package/cjs/register-image.d.ts +3 -0
  29. package/cjs/register-image.js +19 -0
  30. package/cjs/register-image.js.map +1 -0
  31. package/cjs/register-line.d.ts +3 -0
  32. package/cjs/register-line.js +19 -0
  33. package/cjs/register-line.js.map +1 -0
  34. package/cjs/register-path.d.ts +3 -0
  35. package/cjs/register-path.js +19 -0
  36. package/cjs/register-path.js.map +1 -0
  37. package/cjs/register-polygon.d.ts +3 -0
  38. package/cjs/register-polygon.js +19 -0
  39. package/cjs/register-polygon.js.map +1 -0
  40. package/cjs/register-pyramid3d.d.ts +3 -0
  41. package/cjs/register-pyramid3d.js +19 -0
  42. package/cjs/register-pyramid3d.js.map +1 -0
  43. package/cjs/register-rect.d.ts +3 -0
  44. package/cjs/register-rect.js +19 -0
  45. package/cjs/register-rect.js.map +1 -0
  46. package/cjs/register-rect3d.d.ts +3 -0
  47. package/cjs/register-rect3d.js +19 -0
  48. package/cjs/register-rect3d.js.map +1 -0
  49. package/cjs/register-richtext.d.ts +3 -0
  50. package/cjs/register-richtext.js +18 -0
  51. package/cjs/register-richtext.js.map +1 -0
  52. package/cjs/register-symbol.d.ts +3 -0
  53. package/cjs/register-symbol.js +19 -0
  54. package/cjs/register-symbol.js.map +1 -0
  55. package/cjs/register-text.d.ts +3 -0
  56. package/cjs/register-text.js +19 -0
  57. package/cjs/register-text.js.map +1 -0
  58. package/cjs/register.d.ts +22 -0
  59. package/cjs/register.js +58 -0
  60. package/cjs/register.js.map +1 -0
  61. package/dist/index.js +5329 -4921
  62. package/dist/index.min.js +1 -1
  63. package/es/core.d.ts +1 -0
  64. package/es/core.js +1 -0
  65. package/es/core.js.map +1 -0
  66. package/es/index.d.ts +2 -1
  67. package/es/index.js +12 -3
  68. package/es/index.js.map +1 -1
  69. package/es/isbrowser.d.ts +1 -0
  70. package/es/isbrowser.js +4 -0
  71. package/es/isbrowser.js.map +1 -0
  72. package/es/kits.d.ts +1 -0
  73. package/es/kits.js +2 -0
  74. package/es/kits.js.map +1 -0
  75. package/es/register-arc.d.ts +3 -0
  76. package/es/register-arc.js +15 -0
  77. package/es/register-arc.js.map +1 -0
  78. package/es/register-arc3d.d.ts +3 -0
  79. package/es/register-arc3d.js +15 -0
  80. package/es/register-arc3d.js.map +1 -0
  81. package/es/register-area.d.ts +3 -0
  82. package/es/register-area.js +15 -0
  83. package/es/register-area.js.map +1 -0
  84. package/es/register-circle.d.ts +3 -0
  85. package/es/register-circle.js +15 -0
  86. package/es/register-circle.js.map +1 -0
  87. package/es/register-glyph.d.ts +3 -0
  88. package/es/register-glyph.js +15 -0
  89. package/es/register-glyph.js.map +1 -0
  90. package/es/register-image.d.ts +3 -0
  91. package/es/register-image.js +15 -0
  92. package/es/register-image.js.map +1 -0
  93. package/es/register-line.d.ts +3 -0
  94. package/es/register-line.js +15 -0
  95. package/es/register-line.js.map +1 -0
  96. package/es/register-path.d.ts +3 -0
  97. package/es/register-path.js +15 -0
  98. package/es/register-path.js.map +1 -0
  99. package/es/register-polygon.d.ts +3 -0
  100. package/es/register-polygon.js +15 -0
  101. package/es/register-polygon.js.map +1 -0
  102. package/es/register-pyramid3d.d.ts +3 -0
  103. package/es/register-pyramid3d.js +15 -0
  104. package/es/register-pyramid3d.js.map +1 -0
  105. package/es/register-rect.d.ts +3 -0
  106. package/es/register-rect.js +15 -0
  107. package/es/register-rect.js.map +1 -0
  108. package/es/register-rect3d.d.ts +3 -0
  109. package/es/register-rect3d.js +15 -0
  110. package/es/register-rect3d.js.map +1 -0
  111. package/es/register-richtext.d.ts +3 -0
  112. package/es/register-richtext.js +14 -0
  113. package/es/register-richtext.js.map +1 -0
  114. package/es/register-symbol.d.ts +3 -0
  115. package/es/register-symbol.js +15 -0
  116. package/es/register-symbol.js.map +1 -0
  117. package/es/register-text.d.ts +3 -0
  118. package/es/register-text.js +15 -0
  119. package/es/register-text.js.map +1 -0
  120. package/es/register.d.ts +22 -0
  121. package/es/register.js +56 -0
  122. package/es/register.js.map +1 -0
  123. package/package.json +5 -5
package/cjs/core.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@visactor/vrender-core';
package/cjs/core.js ADDED
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) {
4
+ void 0 === k2 && (k2 = k);
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = {
7
+ enumerable: !0,
8
+ get: function() {
9
+ return m[k];
10
+ }
11
+ }), Object.defineProperty(o, k2, desc);
12
+ } : function(o, m, k, k2) {
13
+ void 0 === k2 && (k2 = k), o[k2] = m[k];
14
+ }), __exportStar = this && this.__exportStar || function(m, exports) {
15
+ for (var p in m) "default" === p || Object.prototype.hasOwnProperty.call(exports, p) || __createBinding(exports, m, p);
16
+ };
17
+
18
+ Object.defineProperty(exports, "__esModule", {
19
+ value: !0
20
+ }), __exportStar(require("@visactor/vrender-core"), exports);
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/core.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC","file":"core.js","sourcesContent":["export * from '@visactor/vrender-core';\n"]}
package/cjs/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
- export declare const version = "0.17.0";
1
+ export declare const version = "0.17.1-alpha.2";
2
2
  export * from '@visactor/vrender-core';
3
3
  export * from '@visactor/vrender-kits';
4
+ export * from './register';
package/cjs/index.js CHANGED
@@ -19,8 +19,16 @@ Object.defineProperty(exports, "__esModule", {
19
19
  value: !0
20
20
  }), exports.version = void 0;
21
21
 
22
- const vrender_core_1 = require("@visactor/vrender-core"), vrender_kits_1 = require("@visactor/vrender-kits");
22
+ const vrender_core_1 = require("@visactor/vrender-core"), vrender_kits_1 = require("@visactor/vrender-kits"), register_1 = require("./register");
23
23
 
24
- exports.version = "0.17.0", (0, vrender_core_1.isBrowserEnv)() ? (0, vrender_kits_1.loadBrowserEnv)(vrender_core_1.container) : (0,
24
+ exports.version = "0.17.1-alpha.2", (0, vrender_core_1.isBrowserEnv)() ? (0, vrender_kits_1.loadBrowserEnv)(vrender_core_1.container) : (0,
25
25
  vrender_core_1.isNodeEnv)() && (0, vrender_kits_1.loadNodeEnv)(vrender_core_1.container),
26
- __exportStar(require("@visactor/vrender-core"), exports), __exportStar(require("@visactor/vrender-kits"), exports);
26
+ (0, register_1.registerArc)(), (0, register_1.registerArc3d)(), (0, register_1.registerArea)(),
27
+ (0, register_1.registerCircle)(), (0, register_1.registerGlyph)(), (0, register_1.registerGroup)(),
28
+ (0, register_1.registerImage)(), (0, register_1.registerLine)(), (0, register_1.registerPath)(),
29
+ (0, register_1.registerPolygon)(), (0, register_1.registerPyramid3d)(), (0, register_1.registerRect)(),
30
+ (0, register_1.registerRect3d)(), (0, register_1.registerRichtext)(), (0, register_1.registerShadowRoot)(),
31
+ (0, register_1.registerSymbol)(), (0, register_1.registerText)(), (0, register_1.registerWrapText)(),
32
+ __exportStar(require("@visactor/vrender-core"), exports), __exportStar(require("@visactor/vrender-kits"), exports),
33
+ __exportStar(require("./register"), exports);
34
+ //# sourceMappingURL=index.js.map
package/cjs/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yDAA4E;AAC5E,yDAAqE;AAGxD,QAAA,OAAO,GAAG,QAAQ,CAAC;AAEhC,IAAI,IAAA,2BAAY,GAAE,EAAE;IAClB,IAAA,6BAAc,EAAC,wBAAS,CAAC,CAAC;CAC3B;KAAM,IAAI,IAAA,wBAAS,GAAE,EAAE;IACtB,IAAA,0BAAW,EAAC,wBAAS,CAAC,CAAC;CACxB;AAED,yDAAuC;AACvC,yDAAuC","file":"index.js","sourcesContent":["import { container, isBrowserEnv, isNodeEnv } from '@visactor/vrender-core';\nimport { loadBrowserEnv, loadNodeEnv } from '@visactor/vrender-kits';\n\n// 导出版本号\nexport const version = \"0.17.0\";\n\nif (isBrowserEnv()) {\n loadBrowserEnv(container);\n} else if (isNodeEnv()) {\n loadNodeEnv(container);\n}\n\nexport * from '@visactor/vrender-core';\nexport * from '@visactor/vrender-kits';\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yDAA4E;AAC5E,yDAAqE;AACrE,yCAmBoB;AAEP,QAAA,OAAO,GAAG,gBAAgB,CAAC;AAExC,IAAI,IAAA,2BAAY,GAAE,EAAE;IAClB,IAAA,6BAAc,EAAC,wBAAS,CAAC,CAAC;CAC3B;KAAM,IAAI,IAAA,wBAAS,GAAE,EAAE;IACtB,IAAA,0BAAW,EAAC,wBAAS,CAAC,CAAC;CACxB;AACD,IAAA,sBAAW,GAAE,CAAC;AACd,IAAA,wBAAa,GAAE,CAAC;AAChB,IAAA,uBAAY,GAAE,CAAC;AACf,IAAA,yBAAc,GAAE,CAAC;AACjB,IAAA,wBAAa,GAAE,CAAC;AAChB,IAAA,wBAAa,GAAE,CAAC;AAChB,IAAA,wBAAa,GAAE,CAAC;AAChB,IAAA,uBAAY,GAAE,CAAC;AACf,IAAA,uBAAY,GAAE,CAAC;AACf,IAAA,0BAAe,GAAE,CAAC;AAClB,IAAA,4BAAiB,GAAE,CAAC;AACpB,IAAA,uBAAY,GAAE,CAAC;AACf,IAAA,yBAAc,GAAE,CAAC;AACjB,IAAA,2BAAgB,GAAE,CAAC;AACnB,IAAA,6BAAkB,GAAE,CAAC;AACrB,IAAA,yBAAc,GAAE,CAAC;AACjB,IAAA,uBAAY,GAAE,CAAC;AACf,IAAA,2BAAgB,GAAE,CAAC;AACnB,yDAAuC;AACvC,yDAAuC;AACvC,6CAA2B","file":"index.js","sourcesContent":["import { container, isBrowserEnv, isNodeEnv } from '@visactor/vrender-core';\nimport { loadBrowserEnv, loadNodeEnv } from '@visactor/vrender-kits';\nimport {\n registerArc,\n registerArc3d,\n registerArea,\n registerCircle,\n registerGlyph,\n registerGroup,\n registerImage,\n registerLine,\n registerPath,\n registerPolygon,\n registerPyramid3d,\n registerRect,\n registerRect3d,\n registerRichtext,\n registerShadowRoot,\n registerSymbol,\n registerText,\n registerWrapText\n} from './register';\n// 导出版本号\nexport const version = \"0.17.1-alpha.2\";\n\nif (isBrowserEnv()) {\n loadBrowserEnv(container);\n} else if (isNodeEnv()) {\n loadNodeEnv(container);\n}\nregisterArc();\nregisterArc3d();\nregisterArea();\nregisterCircle();\nregisterGlyph();\nregisterGroup();\nregisterImage();\nregisterLine();\nregisterPath();\nregisterPolygon();\nregisterPyramid3d();\nregisterRect();\nregisterRect3d();\nregisterRichtext();\nregisterShadowRoot();\nregisterSymbol();\nregisterText();\nregisterWrapText();\nexport * from '@visactor/vrender-core';\nexport * from '@visactor/vrender-kits';\nexport * from './register';\n"]}
@@ -0,0 +1 @@
1
+ export declare const browser: any;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.browser = void 0;
6
+
7
+ const core_1 = require("./core");
8
+
9
+ exports.browser = (0, core_1.isBrowserEnv)();
10
+ //# sourceMappingURL=isbrowser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/isbrowser.ts"],"names":[],"mappings":";;;AAAA,iCAAsC;AAEzB,QAAA,OAAO,GAAG,IAAA,mBAAY,GAAE,CAAC","file":"isbrowser.js","sourcesContent":["import { isBrowserEnv } from './core';\n\nexport const browser = isBrowserEnv();\n"]}
package/cjs/kits.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@visactor/vrender-kits';
package/cjs/kits.js ADDED
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) {
4
+ void 0 === k2 && (k2 = k);
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = {
7
+ enumerable: !0,
8
+ get: function() {
9
+ return m[k];
10
+ }
11
+ }), Object.defineProperty(o, k2, desc);
12
+ } : function(o, m, k, k2) {
13
+ void 0 === k2 && (k2 = k), o[k2] = m[k];
14
+ }), __exportStar = this && this.__exportStar || function(m, exports) {
15
+ for (var p in m) "default" === p || Object.prototype.hasOwnProperty.call(exports, p) || __createBinding(exports, m, p);
16
+ };
17
+
18
+ Object.defineProperty(exports, "__esModule", {
19
+ value: !0
20
+ }), __exportStar(require("@visactor/vrender-kits"), exports);
21
+ //# sourceMappingURL=kits.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/kits.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC","file":"kits.js","sourcesContent":["export * from '@visactor/vrender-kits';\n"]}
@@ -0,0 +1,3 @@
1
+ import type { IArc, IArcGraphicAttribute } from './core';
2
+ export declare function createArc(attributes: IArcGraphicAttribute): IArc;
3
+ export declare function registerArc(): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registerArc = exports.createArc = void 0;
6
+
7
+ const core_1 = require("./core"), isbrowser_1 = require("./isbrowser"), kits_1 = require("./kits");
8
+
9
+ function createArc(attributes) {
10
+ return new core_1.Arc(attributes);
11
+ }
12
+
13
+ function registerArc() {
14
+ core_1.graphicCreator.RegisterGraphicCreator("arc", createArc), core_1.container.load(core_1.arcModule),
15
+ core_1.container.load(isbrowser_1.browser ? kits_1.arcCanvasPickModule : kits_1.arcMathPickModule);
16
+ }
17
+
18
+ exports.createArc = createArc, exports.registerArc = registerArc;
19
+ //# sourceMappingURL=register-arc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/register-arc.ts"],"names":[],"mappings":";;;AACA,iCAAmE;AACnE,2CAAsC;AACtC,iCAAgE;AAEhE,SAAgB,SAAS,CAAC,UAAgC;IACxD,OAAO,IAAI,UAAG,CAAC,UAAU,CAAC,CAAC;AAC7B,CAAC;AAFD,8BAEC;AAED,SAAgB,WAAW;IACzB,qBAAc,CAAC,sBAAsB,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;IACxD,gBAAS,CAAC,IAAI,CAAC,gBAAS,CAAC,CAAC;IAC1B,gBAAS,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,0BAAmB,CAAC,CAAC,CAAC,wBAAiB,CAAC,CAAC;AACpE,CAAC;AAJD,kCAIC","file":"register-arc.js","sourcesContent":["import type { IArc, IArcGraphicAttribute } from './core';\nimport { Arc, arcModule, container, graphicCreator } from './core';\nimport { browser } from './isbrowser';\nimport { arcCanvasPickModule, arcMathPickModule } from './kits';\n\nexport function createArc(attributes: IArcGraphicAttribute): IArc {\n return new Arc(attributes);\n}\n\nexport function registerArc() {\n graphicCreator.RegisterGraphicCreator('arc', createArc);\n container.load(arcModule);\n container.load(browser ? arcCanvasPickModule : arcMathPickModule);\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { IArc, IArc3dGraphicAttribute } from './core';
2
+ export declare function createArc3d(attributes: IArc3dGraphicAttribute): IArc;
3
+ export declare function registerArc3d(): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registerArc3d = exports.createArc3d = void 0;
6
+
7
+ const core_1 = require("./core"), isbrowser_1 = require("./isbrowser"), kits_1 = require("./kits");
8
+
9
+ function createArc3d(attributes) {
10
+ return new core_1.Arc3d(attributes);
11
+ }
12
+
13
+ function registerArc3d() {
14
+ core_1.graphicCreator.RegisterGraphicCreator("arc3d", createArc3d), core_1.container.load(core_1.arc3dModule),
15
+ core_1.container.load((isbrowser_1.browser, kits_1.arc3dCanvasPickModule));
16
+ }
17
+
18
+ exports.createArc3d = createArc3d, exports.registerArc3d = registerArc3d;
19
+ //# sourceMappingURL=register-arc3d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/register-arc3d.ts"],"names":[],"mappings":";;;AACA,iCAAuE;AACvE,2CAAsC;AACtC,iCAA+C;AAE/C,SAAgB,WAAW,CAAC,UAAkC;IAC5D,OAAO,IAAI,YAAK,CAAC,UAAU,CAAC,CAAC;AAC/B,CAAC;AAFD,kCAEC;AAED,SAAgB,aAAa;IAC3B,qBAAc,CAAC,sBAAsB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC5D,gBAAS,CAAC,IAAI,CAAC,kBAAW,CAAC,CAAC;IAC5B,gBAAS,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,4BAAqB,CAAC,CAAC,CAAC,4BAAqB,CAAC,CAAC;AAC1E,CAAC;AAJD,sCAIC","file":"register-arc3d.js","sourcesContent":["import type { IArc, IArc3dGraphicAttribute } from './core';\nimport { Arc3d, arc3dModule, container, graphicCreator } from './core';\nimport { browser } from './isbrowser';\nimport { arc3dCanvasPickModule } from './kits';\n\nexport function createArc3d(attributes: IArc3dGraphicAttribute): IArc {\n return new Arc3d(attributes);\n}\n\nexport function registerArc3d() {\n graphicCreator.RegisterGraphicCreator('arc3d', createArc3d);\n container.load(arc3dModule);\n container.load(browser ? arc3dCanvasPickModule : arc3dCanvasPickModule);\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { IArea, IAreaGraphicAttribute } from './core';
2
+ export declare function createArea(attributes: IAreaGraphicAttribute): IArea;
3
+ export declare function registerArea(): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registerArea = exports.createArea = void 0;
6
+
7
+ const core_1 = require("./core"), isbrowser_1 = require("./isbrowser"), kits_1 = require("./kits");
8
+
9
+ function createArea(attributes) {
10
+ return new core_1.Area(attributes);
11
+ }
12
+
13
+ function registerArea() {
14
+ core_1.graphicCreator.RegisterGraphicCreator("area", createArea), core_1.container.load(core_1.areaModule),
15
+ core_1.container.load(isbrowser_1.browser ? kits_1.areaCanvasPickModule : kits_1.areaMathPickModule);
16
+ }
17
+
18
+ exports.createArea = createArea, exports.registerArea = registerArea;
19
+ //# sourceMappingURL=register-area.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/register-area.ts"],"names":[],"mappings":";;;AACA,iCAAqE;AACrE,2CAAsC;AACtC,iCAAkE;AAElE,SAAgB,UAAU,CAAC,UAAiC;IAC1D,OAAO,IAAI,WAAI,CAAC,UAAU,CAAC,CAAC;AAC9B,CAAC;AAFD,gCAEC;AAED,SAAgB,YAAY;IAC1B,qBAAc,CAAC,sBAAsB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC1D,gBAAS,CAAC,IAAI,CAAC,iBAAU,CAAC,CAAC;IAC3B,gBAAS,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,2BAAoB,CAAC,CAAC,CAAC,yBAAkB,CAAC,CAAC;AACtE,CAAC;AAJD,oCAIC","file":"register-area.js","sourcesContent":["import type { IArea, IAreaGraphicAttribute } from './core';\nimport { Area, areaModule, container, graphicCreator } from './core';\nimport { browser } from './isbrowser';\nimport { areaCanvasPickModule, areaMathPickModule } from './kits';\n\nexport function createArea(attributes: IAreaGraphicAttribute): IArea {\n return new Area(attributes);\n}\n\nexport function registerArea() {\n graphicCreator.RegisterGraphicCreator('area', createArea);\n container.load(areaModule);\n container.load(browser ? areaCanvasPickModule : areaMathPickModule);\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { ICircleGraphicAttribute, ICircle } from './core';
2
+ export declare function createCircle(attributes: ICircleGraphicAttribute): ICircle;
3
+ export declare function registerCircle(): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registerCircle = exports.createCircle = void 0;
6
+
7
+ const core_1 = require("./core"), isbrowser_1 = require("./isbrowser"), kits_1 = require("./kits");
8
+
9
+ function createCircle(attributes) {
10
+ return new core_1.Circle(attributes);
11
+ }
12
+
13
+ function registerCircle() {
14
+ core_1.graphicCreator.RegisterGraphicCreator("circle", createCircle), core_1.container.load(core_1.circleModule),
15
+ core_1.container.load(isbrowser_1.browser ? kits_1.circleCanvasPickModule : kits_1.circleMathPickModule);
16
+ }
17
+
18
+ exports.createCircle = createCircle, exports.registerCircle = registerCircle;
19
+ //# sourceMappingURL=register-circle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/register-circle.ts"],"names":[],"mappings":";;;AACA,iCAAyE;AACzE,2CAAsC;AACtC,iCAAsE;AAEtE,SAAgB,YAAY,CAAC,UAAmC;IAC9D,OAAO,IAAI,aAAM,CAAC,UAAU,CAAC,CAAC;AAChC,CAAC;AAFD,oCAEC;AAED,SAAgB,cAAc;IAC5B,qBAAc,CAAC,sBAAsB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAC9D,gBAAS,CAAC,IAAI,CAAC,mBAAY,CAAC,CAAC;IAC7B,gBAAS,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,6BAAsB,CAAC,CAAC,CAAC,2BAAoB,CAAC,CAAC;AAC1E,CAAC;AAJD,wCAIC","file":"register-circle.js","sourcesContent":["import type { ICircleGraphicAttribute, ICircle } from './core';\nimport { Circle, container, graphicCreator, circleModule } from './core';\nimport { browser } from './isbrowser';\nimport { circleCanvasPickModule, circleMathPickModule } from './kits';\n\nexport function createCircle(attributes: ICircleGraphicAttribute): ICircle {\n return new Circle(attributes);\n}\n\nexport function registerCircle() {\n graphicCreator.RegisterGraphicCreator('circle', createCircle);\n container.load(circleModule);\n container.load(browser ? circleCanvasPickModule : circleMathPickModule);\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { IGlyphGraphicAttribute, IGlyph } from './core';
2
+ export declare function createGlyph(attributes: IGlyphGraphicAttribute): IGlyph;
3
+ export declare function registerGlyph(): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registerGlyph = exports.createGlyph = void 0;
6
+
7
+ const core_1 = require("./core"), isbrowser_1 = require("./isbrowser"), kits_1 = require("./kits");
8
+
9
+ function createGlyph(attributes) {
10
+ return new core_1.Glyph(attributes);
11
+ }
12
+
13
+ function registerGlyph() {
14
+ core_1.graphicCreator.RegisterGraphicCreator("glyph", createGlyph), core_1.container.load(core_1.glyphModule),
15
+ core_1.container.load(isbrowser_1.browser ? kits_1.glyphCanvasPickModule : kits_1.glyphMathPickModule);
16
+ }
17
+
18
+ exports.createGlyph = createGlyph, exports.registerGlyph = registerGlyph;
19
+ //# sourceMappingURL=register-glyph.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/register-glyph.ts"],"names":[],"mappings":";;;AACA,iCAAuE;AACvE,2CAAsC;AACtC,iCAAoE;AAEpE,SAAgB,WAAW,CAAC,UAAkC;IAC5D,OAAO,IAAI,YAAK,CAAC,UAAU,CAAC,CAAC;AAC/B,CAAC;AAFD,kCAEC;AAED,SAAgB,aAAa;IAC3B,qBAAc,CAAC,sBAAsB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC5D,gBAAS,CAAC,IAAI,CAAC,kBAAW,CAAC,CAAC;IAC5B,gBAAS,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,4BAAqB,CAAC,CAAC,CAAC,0BAAmB,CAAC,CAAC;AACxE,CAAC;AAJD,sCAIC","file":"register-glyph.js","sourcesContent":["import type { IGlyphGraphicAttribute, IGlyph } from './core';\nimport { container, graphicCreator, glyphModule, Glyph } from './core';\nimport { browser } from './isbrowser';\nimport { glyphCanvasPickModule, glyphMathPickModule } from './kits';\n\nexport function createGlyph(attributes: IGlyphGraphicAttribute): IGlyph {\n return new Glyph(attributes);\n}\n\nexport function registerGlyph() {\n graphicCreator.RegisterGraphicCreator('glyph', createGlyph);\n container.load(glyphModule);\n container.load(browser ? glyphCanvasPickModule : glyphMathPickModule);\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { IImageGraphicAttribute, IImage } from './core';
2
+ export declare function createImage(attributes: IImageGraphicAttribute): IImage;
3
+ export declare function registerImage(): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registerImage = exports.createImage = void 0;
6
+
7
+ const core_1 = require("./core"), isbrowser_1 = require("./isbrowser"), kits_1 = require("./kits");
8
+
9
+ function createImage(attributes) {
10
+ return new core_1.Image(attributes);
11
+ }
12
+
13
+ function registerImage() {
14
+ core_1.graphicCreator.RegisterGraphicCreator("image", createImage), core_1.container.load(core_1.imageModule),
15
+ core_1.container.load(isbrowser_1.browser ? kits_1.imageCanvasPickModule : kits_1.imageMathPickModule);
16
+ }
17
+
18
+ exports.createImage = createImage, exports.registerImage = registerImage;
19
+ //# sourceMappingURL=register-image.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/register-image.ts"],"names":[],"mappings":";;;AACA,iCAAuE;AACvE,2CAAsC;AACtC,iCAA8G;AAE9G,SAAgB,WAAW,CAAC,UAAkC;IAC5D,OAAO,IAAI,YAAK,CAAC,UAAU,CAAC,CAAC;AAC/B,CAAC;AAFD,kCAEC;AAED,SAAgB,aAAa;IAC3B,qBAAc,CAAC,sBAAsB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC5D,gBAAS,CAAC,IAAI,CAAC,kBAAW,CAAC,CAAC;IAC5B,gBAAS,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,4BAAqB,CAAC,CAAC,CAAC,0BAAmB,CAAC,CAAC;AACxE,CAAC;AAJD,sCAIC","file":"register-image.js","sourcesContent":["import type { IImageGraphicAttribute, IImage } from './core';\nimport { Image, container, graphicCreator, imageModule } from './core';\nimport { browser } from './isbrowser';\nimport { imageCanvasPickModule, imageMathPickModule, textCanvasPickModule, textMathPickModule } from './kits';\n\nexport function createImage(attributes: IImageGraphicAttribute): IImage {\n return new Image(attributes);\n}\n\nexport function registerImage() {\n graphicCreator.RegisterGraphicCreator('image', createImage);\n container.load(imageModule);\n container.load(browser ? imageCanvasPickModule : imageMathPickModule);\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { ILine, ILineGraphicAttribute } from './core';
2
+ export declare function createLine(attributes: ILineGraphicAttribute): ILine;
3
+ export declare function registerLine(): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registerLine = exports.createLine = void 0;
6
+
7
+ const core_1 = require("./core"), isbrowser_1 = require("./isbrowser"), kits_1 = require("./kits");
8
+
9
+ function createLine(attributes) {
10
+ return new core_1.Line(attributes);
11
+ }
12
+
13
+ function registerLine() {
14
+ core_1.graphicCreator.RegisterGraphicCreator("line", createLine), core_1.container.load(core_1.lineModule),
15
+ core_1.container.load(isbrowser_1.browser ? kits_1.lineCanvasPickModule : kits_1.lineMathPickModule);
16
+ }
17
+
18
+ exports.createLine = createLine, exports.registerLine = registerLine;
19
+ //# sourceMappingURL=register-line.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/register-line.ts"],"names":[],"mappings":";;;AACA,iCAAqE;AACrE,2CAAsC;AACtC,iCAAkE;AAElE,SAAgB,UAAU,CAAC,UAAiC;IAC1D,OAAO,IAAI,WAAI,CAAC,UAAU,CAAC,CAAC;AAC9B,CAAC;AAFD,gCAEC;AAED,SAAgB,YAAY;IAC1B,qBAAc,CAAC,sBAAsB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC1D,gBAAS,CAAC,IAAI,CAAC,iBAAU,CAAC,CAAC;IAC3B,gBAAS,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,2BAAoB,CAAC,CAAC,CAAC,yBAAkB,CAAC,CAAC;AACtE,CAAC;AAJD,oCAIC","file":"register-line.js","sourcesContent":["import type { ILine, ILineGraphicAttribute } from './core';\nimport { Line, container, graphicCreator, lineModule } from './core';\nimport { browser } from './isbrowser';\nimport { lineCanvasPickModule, lineMathPickModule } from './kits';\n\nexport function createLine(attributes: ILineGraphicAttribute): ILine {\n return new Line(attributes);\n}\n\nexport function registerLine() {\n graphicCreator.RegisterGraphicCreator('line', createLine);\n container.load(lineModule);\n container.load(browser ? lineCanvasPickModule : lineMathPickModule);\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { IPathGraphicAttribute, IPath } from './core';
2
+ export declare function createPath(attributes: IPathGraphicAttribute): IPath;
3
+ export declare function registerPath(): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registerPath = exports.createPath = void 0;
6
+
7
+ const core_1 = require("./core"), isbrowser_1 = require("./isbrowser"), kits_1 = require("./kits");
8
+
9
+ function createPath(attributes) {
10
+ return new core_1.Path(attributes);
11
+ }
12
+
13
+ function registerPath() {
14
+ core_1.graphicCreator.RegisterGraphicCreator("path", createPath), core_1.container.load(core_1.pathModule),
15
+ core_1.container.load(isbrowser_1.browser ? kits_1.pathCanvasPickModule : kits_1.pathMathPickModule);
16
+ }
17
+
18
+ exports.createPath = createPath, exports.registerPath = registerPath;
19
+ //# sourceMappingURL=register-path.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/register-path.ts"],"names":[],"mappings":";;;AACA,iCAAqE;AACrE,2CAAsC;AACtC,iCAAkE;AAElE,SAAgB,UAAU,CAAC,UAAiC;IAC1D,OAAO,IAAI,WAAI,CAAC,UAAU,CAAC,CAAC;AAC9B,CAAC;AAFD,gCAEC;AAED,SAAgB,YAAY;IAC1B,qBAAc,CAAC,sBAAsB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC1D,gBAAS,CAAC,IAAI,CAAC,iBAAU,CAAC,CAAC;IAC3B,gBAAS,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,2BAAoB,CAAC,CAAC,CAAC,yBAAkB,CAAC,CAAC;AACtE,CAAC;AAJD,oCAIC","file":"register-path.js","sourcesContent":["import type { IPathGraphicAttribute, IPath } from './core';\nimport { container, graphicCreator, Path, pathModule } from './core';\nimport { browser } from './isbrowser';\nimport { pathCanvasPickModule, pathMathPickModule } from './kits';\n\nexport function createPath(attributes: IPathGraphicAttribute): IPath {\n return new Path(attributes);\n}\n\nexport function registerPath() {\n graphicCreator.RegisterGraphicCreator('path', createPath);\n container.load(pathModule);\n container.load(browser ? pathCanvasPickModule : pathMathPickModule);\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { IPolygonGraphicAttribute, IPolygon } from './core';
2
+ export declare function createPolygon(attributes: IPolygonGraphicAttribute): IPolygon;
3
+ export declare function registerPolygon(): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registerPolygon = exports.createPolygon = void 0;
6
+
7
+ const core_1 = require("./core"), isbrowser_1 = require("./isbrowser"), kits_1 = require("./kits");
8
+
9
+ function createPolygon(attributes) {
10
+ return new core_1.Polygon(attributes);
11
+ }
12
+
13
+ function registerPolygon() {
14
+ core_1.graphicCreator.RegisterGraphicCreator("polygon", createPolygon), core_1.container.load(core_1.polygonModule),
15
+ core_1.container.load(isbrowser_1.browser ? kits_1.polygonCanvasPickModule : kits_1.polygonMathPickModule);
16
+ }
17
+
18
+ exports.createPolygon = createPolygon, exports.registerPolygon = registerPolygon;
19
+ //# sourceMappingURL=register-polygon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/register-polygon.ts"],"names":[],"mappings":";;;AACA,iCAA2E;AAC3E,2CAAsC;AACtC,iCAAwE;AAExE,SAAgB,aAAa,CAAC,UAAoC;IAChE,OAAO,IAAI,cAAO,CAAC,UAAU,CAAC,CAAC;AACjC,CAAC;AAFD,sCAEC;AAED,SAAgB,eAAe;IAC7B,qBAAc,CAAC,sBAAsB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;IAChE,gBAAS,CAAC,IAAI,CAAC,oBAAa,CAAC,CAAC;IAC9B,gBAAS,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,8BAAuB,CAAC,CAAC,CAAC,4BAAqB,CAAC,CAAC;AAC5E,CAAC;AAJD,0CAIC","file":"register-polygon.js","sourcesContent":["import type { IPolygonGraphicAttribute, IPolygon } from './core';\nimport { container, graphicCreator, polygonModule, Polygon } from './core';\nimport { browser } from './isbrowser';\nimport { polygonCanvasPickModule, polygonMathPickModule } from './kits';\n\nexport function createPolygon(attributes: IPolygonGraphicAttribute): IPolygon {\n return new Polygon(attributes);\n}\n\nexport function registerPolygon() {\n graphicCreator.RegisterGraphicCreator('polygon', createPolygon);\n container.load(polygonModule);\n container.load(browser ? polygonCanvasPickModule : polygonMathPickModule);\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { IPyramid3d, IPyramid3dGraphicAttribute } from './core';
2
+ export declare function createPyramid3d(attributes: IPyramid3dGraphicAttribute): IPyramid3d;
3
+ export declare function registerPyramid3d(): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registerPyramid3d = exports.createPyramid3d = void 0;
6
+
7
+ const core_1 = require("./core"), isbrowser_1 = require("./isbrowser"), kits_1 = require("./kits");
8
+
9
+ function createPyramid3d(attributes) {
10
+ return new core_1.Pyramid3d(attributes);
11
+ }
12
+
13
+ function registerPyramid3d() {
14
+ core_1.graphicCreator.RegisterGraphicCreator("pyramid3d", createPyramid3d), core_1.container.load(core_1.pyramid3dModule),
15
+ core_1.container.load((isbrowser_1.browser, kits_1.pyramid3dCanvasPickModule));
16
+ }
17
+
18
+ exports.createPyramid3d = createPyramid3d, exports.registerPyramid3d = registerPyramid3d;
19
+ //# sourceMappingURL=register-pyramid3d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/register-pyramid3d.ts"],"names":[],"mappings":";;;AACA,iCASgB;AAChB,2CAAsC;AACtC,iCAA0E;AAE1E,SAAgB,eAAe,CAAC,UAAsC;IACpE,OAAO,IAAI,gBAAS,CAAC,UAAU,CAAC,CAAC;AACnC,CAAC;AAFD,0CAEC;AAED,SAAgB,iBAAiB;IAC/B,qBAAc,CAAC,sBAAsB,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC;IACpE,gBAAS,CAAC,IAAI,CAAC,sBAAe,CAAC,CAAC;IAChC,gBAAS,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,gCAAyB,CAAC,CAAC,CAAC,gCAAyB,CAAC,CAAC;AAClF,CAAC;AAJD,8CAIC","file":"register-pyramid3d.js","sourcesContent":["import type { IPyramid3d, IPyramid3dGraphicAttribute } from './core';\nimport {\n Arc3d,\n IArc,\n IArc3dGraphicAttribute,\n Pyramid3d,\n arc3dModule,\n container,\n graphicCreator,\n pyramid3dModule\n} from './core';\nimport { browser } from './isbrowser';\nimport { arc3dCanvasPickModule, pyramid3dCanvasPickModule } from './kits';\n\nexport function createPyramid3d(attributes: IPyramid3dGraphicAttribute): IPyramid3d {\n return new Pyramid3d(attributes);\n}\n\nexport function registerPyramid3d() {\n graphicCreator.RegisterGraphicCreator('pyramid3d', createPyramid3d);\n container.load(pyramid3dModule);\n container.load(browser ? pyramid3dCanvasPickModule : pyramid3dCanvasPickModule);\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { IRect, IRectGraphicAttribute } from './core';
2
+ export declare function createRect(attributes: IRectGraphicAttribute): IRect;
3
+ export declare function registerRect(): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registerRect = exports.createRect = void 0;
6
+
7
+ const core_1 = require("./core"), isbrowser_1 = require("./isbrowser"), kits_1 = require("./kits");
8
+
9
+ function createRect(attributes) {
10
+ return new core_1.Rect(attributes);
11
+ }
12
+
13
+ function registerRect() {
14
+ core_1.graphicCreator.RegisterGraphicCreator("rect", createRect), core_1.container.load(core_1.rectModule),
15
+ core_1.container.load(isbrowser_1.browser ? kits_1.rectCanvasPickModule : kits_1.rectMathPickModule);
16
+ }
17
+
18
+ exports.createRect = createRect, exports.registerRect = registerRect;
19
+ //# sourceMappingURL=register-rect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/register-rect.ts"],"names":[],"mappings":";;;AACA,iCAAmF;AACnF,2CAAsC;AACtC,iCAAkE;AAElE,SAAgB,UAAU,CAAC,UAAiC;IAC1D,OAAO,IAAI,WAAI,CAAC,UAAU,CAAC,CAAC;AAC9B,CAAC;AAFD,gCAEC;AAED,SAAgB,YAAY;IAC1B,qBAAc,CAAC,sBAAsB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC1D,gBAAS,CAAC,IAAI,CAAC,iBAAU,CAAC,CAAC;IAC3B,gBAAS,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,2BAAoB,CAAC,CAAC,CAAC,yBAAkB,CAAC,CAAC;AACtE,CAAC;AAJD,oCAIC","file":"register-rect.js","sourcesContent":["import type { IRect, IRectGraphicAttribute } from './core';\nimport { Rect, container, graphicCreator, isBrowserEnv, rectModule } from './core';\nimport { browser } from './isbrowser';\nimport { rectCanvasPickModule, rectMathPickModule } from './kits';\n\nexport function createRect(attributes: IRectGraphicAttribute): IRect {\n return new Rect(attributes);\n}\n\nexport function registerRect() {\n graphicCreator.RegisterGraphicCreator('rect', createRect);\n container.load(rectModule);\n container.load(browser ? rectCanvasPickModule : rectMathPickModule);\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { IRect3d, IRect3dGraphicAttribute } from './core';
2
+ export declare function createRect3d(attributes: IRect3dGraphicAttribute): IRect3d;
3
+ export declare function registerRect3d(): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registerRect3d = exports.createRect3d = void 0;
6
+
7
+ const core_1 = require("./core"), isbrowser_1 = require("./isbrowser"), kits_1 = require("./kits");
8
+
9
+ function createRect3d(attributes) {
10
+ return new core_1.Rect3d(attributes);
11
+ }
12
+
13
+ function registerRect3d() {
14
+ core_1.graphicCreator.RegisterGraphicCreator("rect3d", createRect3d), core_1.container.load(core_1.rect3dModule),
15
+ core_1.container.load((isbrowser_1.browser, kits_1.rect3dCanvasPickModule));
16
+ }
17
+
18
+ exports.createRect3d = createRect3d, exports.registerRect3d = registerRect3d;
19
+ //# sourceMappingURL=register-rect3d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/register-rect3d.ts"],"names":[],"mappings":";;;AACA,iCAAoF;AACpF,2CAAsC;AACtC,iCAAgD;AAEhD,SAAgB,YAAY,CAAC,UAAmC;IAC9D,OAAO,IAAI,aAAM,CAAC,UAAU,CAAC,CAAC;AAChC,CAAC;AAFD,oCAEC;AAED,SAAgB,cAAc;IAC5B,qBAAc,CAAC,sBAAsB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAC9D,gBAAS,CAAC,IAAI,CAAC,mBAAY,CAAC,CAAC;IAC7B,gBAAS,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,6BAAsB,CAAC,CAAC,CAAC,6BAAsB,CAAC,CAAC;AAC5E,CAAC;AAJD,wCAIC","file":"register-rect3d.js","sourcesContent":["import type { IRect3d, IRect3dGraphicAttribute } from './core';\nimport { Rect3d, arcModule, container, graphicCreator, rect3dModule } from './core';\nimport { browser } from './isbrowser';\nimport { rect3dCanvasPickModule } from './kits';\n\nexport function createRect3d(attributes: IRect3dGraphicAttribute): IRect3d {\n return new Rect3d(attributes);\n}\n\nexport function registerRect3d() {\n graphicCreator.RegisterGraphicCreator('rect3d', createRect3d);\n container.load(rect3dModule);\n container.load(browser ? rect3dCanvasPickModule : rect3dCanvasPickModule);\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { IRichText, IRichTextGraphicAttribute } from './core';
2
+ export declare function createRichText(attributes: IRichTextGraphicAttribute): IRichText;
3
+ export declare function registerRichtext(): void;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registerRichtext = exports.createRichText = void 0;
6
+
7
+ const core_1 = require("./core"), isbrowser_1 = require("./isbrowser"), kits_1 = require("./kits");
8
+
9
+ function createRichText(attributes) {
10
+ return new core_1.RichText(attributes);
11
+ }
12
+
13
+ function registerRichtext() {
14
+ core_1.graphicCreator.RegisterGraphicCreator("richtext", createRichText), core_1.container.load(core_1.richtextModule),
15
+ core_1.container.load(isbrowser_1.browser ? kits_1.richtextCanvasPickModule : kits_1.richTextMathPickModule);
16
+ }
17
+
18
+ exports.createRichText = createRichText, exports.registerRichtext = registerRichtext;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/register-richtext.ts"],"names":[],"mappings":";;;AACA,iCAA6E;AAC7E,2CAAsC;AACtC,iCAA0E;AAE1E,SAAgB,cAAc,CAAC,UAAqC;IAClE,OAAO,IAAI,eAAQ,CAAC,UAAU,CAAC,CAAC;AAClC,CAAC;AAFD,wCAEC;AAED,SAAgB,gBAAgB;IAC9B,qBAAc,CAAC,sBAAsB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;IAClE,gBAAS,CAAC,IAAI,CAAC,qBAAc,CAAC,CAAC;IAC/B,gBAAS,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,+BAAwB,CAAC,CAAC,CAAC,6BAAsB,CAAC,CAAC;AAC9E,CAAC;AAJD,4CAIC","file":"register-richtext.js","sourcesContent":["import type { IRichText, IRichTextGraphicAttribute } from './core';\nimport { RichText, container, graphicCreator, richtextModule } from './core';\nimport { browser } from './isbrowser';\nimport { richTextMathPickModule, richtextCanvasPickModule } from './kits';\n\nexport function createRichText(attributes: IRichTextGraphicAttribute): IRichText {\n return new RichText(attributes);\n}\n\nexport function registerRichtext() {\n graphicCreator.RegisterGraphicCreator('richtext', createRichText);\n container.load(richtextModule);\n container.load(browser ? richtextCanvasPickModule : richTextMathPickModule);\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { ISymbol, ISymbolGraphicAttribute } from './core';
2
+ export declare function createSymbol(attributes: ISymbolGraphicAttribute): ISymbol;
3
+ export declare function registerSymbol(): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registerSymbol = exports.createSymbol = void 0;
6
+
7
+ const core_1 = require("./core"), isbrowser_1 = require("./isbrowser"), kits_1 = require("./kits");
8
+
9
+ function createSymbol(attributes) {
10
+ return new core_1.Symbol(attributes);
11
+ }
12
+
13
+ function registerSymbol() {
14
+ core_1.graphicCreator.RegisterGraphicCreator("symbol", createSymbol), core_1.container.load(core_1.symbolModule),
15
+ core_1.container.load(isbrowser_1.browser ? kits_1.symbolCanvasPickModule : kits_1.symbolMathPickModule);
16
+ }
17
+
18
+ exports.createSymbol = createSymbol, exports.registerSymbol = registerSymbol;
19
+ //# sourceMappingURL=register-symbol.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/register-symbol.ts"],"names":[],"mappings":";;;AACA,iCAAuF;AACvF,2CAAsC;AACtC,iCAAsE;AAEtE,SAAgB,YAAY,CAAC,UAAmC;IAC9D,OAAO,IAAI,aAAU,CAAC,UAAU,CAAC,CAAC;AACpC,CAAC;AAFD,oCAEC;AAED,SAAgB,cAAc;IAC5B,qBAAc,CAAC,sBAAsB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAC9D,gBAAS,CAAC,IAAI,CAAC,mBAAY,CAAC,CAAC;IAC7B,gBAAS,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,6BAAsB,CAAC,CAAC,CAAC,2BAAoB,CAAC,CAAC;AAC1E,CAAC;AAJD,wCAIC","file":"register-symbol.js","sourcesContent":["import type { ISymbol, ISymbolGraphicAttribute } from './core';\nimport { Symbol as MarkSymbol, container, graphicCreator, symbolModule } from './core';\nimport { browser } from './isbrowser';\nimport { symbolCanvasPickModule, symbolMathPickModule } from './kits';\n\nexport function createSymbol(attributes: ISymbolGraphicAttribute): ISymbol {\n return new MarkSymbol(attributes);\n}\n\nexport function registerSymbol() {\n graphicCreator.RegisterGraphicCreator('symbol', createSymbol);\n container.load(symbolModule);\n container.load(browser ? symbolCanvasPickModule : symbolMathPickModule);\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { ITextGraphicAttribute, IText } from './core';
2
+ export declare function createText(attributes: ITextGraphicAttribute): IText;
3
+ export declare function registerText(): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.registerText = exports.createText = void 0;
6
+
7
+ const core_1 = require("./core"), isbrowser_1 = require("./isbrowser"), kits_1 = require("./kits");
8
+
9
+ function createText(attributes) {
10
+ return new core_1.Text(attributes);
11
+ }
12
+
13
+ function registerText() {
14
+ core_1.graphicCreator.RegisterGraphicCreator("text", createText), core_1.container.load(core_1.textModule),
15
+ core_1.container.load(isbrowser_1.browser ? kits_1.textCanvasPickModule : kits_1.textMathPickModule);
16
+ }
17
+
18
+ exports.createText = createText, exports.registerText = registerText;
19
+ //# sourceMappingURL=register-text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/register-text.ts"],"names":[],"mappings":";;;AACA,iCAA+G;AAC/G,2CAAsC;AACtC,iCAAkE;AAElE,SAAgB,UAAU,CAAC,UAAiC;IAC1D,OAAO,IAAI,WAAI,CAAC,UAAU,CAAC,CAAC;AAC9B,CAAC;AAFD,gCAEC;AAED,SAAgB,YAAY;IAC1B,qBAAc,CAAC,sBAAsB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC1D,gBAAS,CAAC,IAAI,CAAC,iBAAU,CAAC,CAAC;IAC3B,gBAAS,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,2BAAoB,CAAC,CAAC,CAAC,yBAAkB,CAAC,CAAC;AACtE,CAAC;AAJD,oCAIC","file":"register-text.js","sourcesContent":["import type { ITextGraphicAttribute, IText } from './core';\nimport { Text, container, graphicCreator, textModule, IRect3dGraphicAttribute, IRect3d, Rect3d } from './core';\nimport { browser } from './isbrowser';\nimport { textCanvasPickModule, textMathPickModule } from './kits';\n\nexport function createText(attributes: ITextGraphicAttribute): IText {\n return new Text(attributes);\n}\n\nexport function registerText() {\n graphicCreator.RegisterGraphicCreator('text', createText);\n container.load(textModule);\n container.load(browser ? textCanvasPickModule : textMathPickModule);\n}\n"]}
@@ -0,0 +1,22 @@
1
+ import type { IGroup, IGroupGraphicAttribute, IText, IShadowRoot, IGraphic, IWrapTextGraphicAttribute } from '@visactor/vrender-core';
2
+ export declare function createGroup(attributes: IGroupGraphicAttribute): IGroup;
3
+ export declare function createWrapText(attributes: IWrapTextGraphicAttribute): IText;
4
+ export declare function createShadowRoot(graphic?: IGraphic): IShadowRoot;
5
+ export declare function registerGroup(): void;
6
+ export declare function registerWrapText(): void;
7
+ export declare function registerShadowRoot(): void;
8
+ export * from './register-arc';
9
+ export * from './register-arc3d';
10
+ export * from './register-area';
11
+ export * from './register-circle';
12
+ export * from './register-glyph';
13
+ export * from './register-image';
14
+ export * from './register-line';
15
+ export * from './register-path';
16
+ export * from './register-polygon';
17
+ export * from './register-pyramid3d';
18
+ export * from './register-rect';
19
+ export * from './register-rect3d';
20
+ export * from './register-richtext';
21
+ export * from './register-symbol';
22
+ export * from './register-text';