@visactor/vrender 0.17.1-alpha.4 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.d.ts +1 -2
- package/cjs/index.js +3 -11
- package/cjs/index.js.map +1 -1
- package/dist/index.js +9078 -9461
- package/dist/index.min.js +1 -1
- package/es/index.d.ts +1 -2
- package/es/index.js +3 -12
- package/es/index.js.map +1 -1
- package/package.json +4 -6
- package/cjs/core.d.ts +0 -1
- package/cjs/core.js +0 -20
- package/cjs/core.js.map +0 -1
- package/cjs/isbrowser.d.ts +0 -1
- package/cjs/isbrowser.js +0 -10
- package/cjs/isbrowser.js.map +0 -1
- package/cjs/kits.d.ts +0 -1
- package/cjs/kits.js +0 -21
- package/cjs/kits.js.map +0 -1
- package/cjs/register-arc.d.ts +0 -3
- package/cjs/register-arc.js +0 -19
- package/cjs/register-arc.js.map +0 -1
- package/cjs/register-arc3d.d.ts +0 -3
- package/cjs/register-arc3d.js +0 -19
- package/cjs/register-arc3d.js.map +0 -1
- package/cjs/register-area.d.ts +0 -3
- package/cjs/register-area.js +0 -19
- package/cjs/register-area.js.map +0 -1
- package/cjs/register-circle.d.ts +0 -3
- package/cjs/register-circle.js +0 -19
- package/cjs/register-circle.js.map +0 -1
- package/cjs/register-glyph.d.ts +0 -3
- package/cjs/register-glyph.js +0 -19
- package/cjs/register-glyph.js.map +0 -1
- package/cjs/register-image.d.ts +0 -3
- package/cjs/register-image.js +0 -19
- package/cjs/register-image.js.map +0 -1
- package/cjs/register-line.d.ts +0 -3
- package/cjs/register-line.js +0 -19
- package/cjs/register-line.js.map +0 -1
- package/cjs/register-path.d.ts +0 -3
- package/cjs/register-path.js +0 -19
- package/cjs/register-path.js.map +0 -1
- package/cjs/register-polygon.d.ts +0 -3
- package/cjs/register-polygon.js +0 -19
- package/cjs/register-polygon.js.map +0 -1
- package/cjs/register-pyramid3d.d.ts +0 -3
- package/cjs/register-pyramid3d.js +0 -19
- package/cjs/register-pyramid3d.js.map +0 -1
- package/cjs/register-rect.d.ts +0 -3
- package/cjs/register-rect.js +0 -19
- package/cjs/register-rect.js.map +0 -1
- package/cjs/register-rect3d.d.ts +0 -3
- package/cjs/register-rect3d.js +0 -19
- package/cjs/register-rect3d.js.map +0 -1
- package/cjs/register-richtext.d.ts +0 -3
- package/cjs/register-richtext.js +0 -18
- package/cjs/register-richtext.js.map +0 -1
- package/cjs/register-symbol.d.ts +0 -3
- package/cjs/register-symbol.js +0 -19
- package/cjs/register-symbol.js.map +0 -1
- package/cjs/register-text.d.ts +0 -3
- package/cjs/register-text.js +0 -19
- package/cjs/register-text.js.map +0 -1
- package/cjs/register.d.ts +0 -22
- package/cjs/register.js +0 -58
- package/cjs/register.js.map +0 -1
- package/es/core.d.ts +0 -1
- package/es/core.js +0 -1
- package/es/core.js.map +0 -1
- package/es/isbrowser.d.ts +0 -1
- package/es/isbrowser.js +0 -4
- package/es/isbrowser.js.map +0 -1
- package/es/kits.d.ts +0 -1
- package/es/kits.js +0 -2
- package/es/kits.js.map +0 -1
- package/es/register-arc.d.ts +0 -3
- package/es/register-arc.js +0 -15
- package/es/register-arc.js.map +0 -1
- package/es/register-arc3d.d.ts +0 -3
- package/es/register-arc3d.js +0 -15
- package/es/register-arc3d.js.map +0 -1
- package/es/register-area.d.ts +0 -3
- package/es/register-area.js +0 -15
- package/es/register-area.js.map +0 -1
- package/es/register-circle.d.ts +0 -3
- package/es/register-circle.js +0 -15
- package/es/register-circle.js.map +0 -1
- package/es/register-glyph.d.ts +0 -3
- package/es/register-glyph.js +0 -15
- package/es/register-glyph.js.map +0 -1
- package/es/register-image.d.ts +0 -3
- package/es/register-image.js +0 -15
- package/es/register-image.js.map +0 -1
- package/es/register-line.d.ts +0 -3
- package/es/register-line.js +0 -15
- package/es/register-line.js.map +0 -1
- package/es/register-path.d.ts +0 -3
- package/es/register-path.js +0 -15
- package/es/register-path.js.map +0 -1
- package/es/register-polygon.d.ts +0 -3
- package/es/register-polygon.js +0 -15
- package/es/register-polygon.js.map +0 -1
- package/es/register-pyramid3d.d.ts +0 -3
- package/es/register-pyramid3d.js +0 -15
- package/es/register-pyramid3d.js.map +0 -1
- package/es/register-rect.d.ts +0 -3
- package/es/register-rect.js +0 -15
- package/es/register-rect.js.map +0 -1
- package/es/register-rect3d.d.ts +0 -3
- package/es/register-rect3d.js +0 -15
- package/es/register-rect3d.js.map +0 -1
- package/es/register-richtext.d.ts +0 -3
- package/es/register-richtext.js +0 -14
- package/es/register-richtext.js.map +0 -1
- package/es/register-symbol.d.ts +0 -3
- package/es/register-symbol.js +0 -15
- package/es/register-symbol.js.map +0 -1
- package/es/register-text.d.ts +0 -3
- package/es/register-text.js +0 -15
- package/es/register-text.js.map +0 -1
- package/es/register.d.ts +0 -22
- package/es/register.js +0 -56
- package/es/register.js.map +0 -1
package/cjs/register.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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';
|
package/cjs/register.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
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
|
-
}), exports.registerShadowRoot = exports.registerWrapText = exports.registerGroup = exports.createShadowRoot = exports.createWrapText = exports.createGroup = void 0;
|
|
21
|
-
|
|
22
|
-
const vrender_core_1 = require("@visactor/vrender-core");
|
|
23
|
-
|
|
24
|
-
function createGroup(attributes) {
|
|
25
|
-
return new vrender_core_1.Group(attributes);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
function createWrapText(attributes) {
|
|
29
|
-
return new vrender_core_1.WrapText(attributes);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
function createShadowRoot(graphic) {
|
|
33
|
-
return new vrender_core_1.ShadowRoot(graphic);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
function registerGroup() {
|
|
37
|
-
vrender_core_1.graphicCreator.RegisterGraphicCreator("group", createGroup);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function registerWrapText() {
|
|
41
|
-
vrender_core_1.graphicCreator.RegisterGraphicCreator("wrapText", createWrapText);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
function registerShadowRoot() {
|
|
45
|
-
vrender_core_1.graphicCreator.RegisterGraphicCreator("shadowRoot", createShadowRoot);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
exports.createGroup = createGroup, exports.createWrapText = createWrapText, exports.createShadowRoot = createShadowRoot,
|
|
49
|
-
exports.registerGroup = registerGroup, exports.registerWrapText = registerWrapText,
|
|
50
|
-
exports.registerShadowRoot = registerShadowRoot, __exportStar(require("./register-arc"), exports),
|
|
51
|
-
__exportStar(require("./register-arc3d"), exports), __exportStar(require("./register-area"), exports),
|
|
52
|
-
__exportStar(require("./register-circle"), exports), __exportStar(require("./register-glyph"), exports),
|
|
53
|
-
__exportStar(require("./register-image"), exports), __exportStar(require("./register-line"), exports),
|
|
54
|
-
__exportStar(require("./register-path"), exports), __exportStar(require("./register-polygon"), exports),
|
|
55
|
-
__exportStar(require("./register-pyramid3d"), exports), __exportStar(require("./register-rect"), exports),
|
|
56
|
-
__exportStar(require("./register-rect3d"), exports), __exportStar(require("./register-richtext"), exports),
|
|
57
|
-
__exportStar(require("./register-symbol"), exports), __exportStar(require("./register-text"), exports);
|
|
58
|
-
//# sourceMappingURL=register.js.map
|
package/cjs/register.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAQA,yDAAuG;AAEvG,SAAgB,WAAW,CAAC,UAAkC;IAC5D,OAAO,IAAI,oBAAK,CAAC,UAAU,CAAC,CAAC;AAC/B,CAAC;AAFD,kCAEC;AAED,SAAgB,cAAc,CAAC,UAAqC;IAClE,OAAO,IAAI,uBAAQ,CAAC,UAAU,CAAC,CAAC;AAClC,CAAC;AAFD,wCAEC;AACD,SAAgB,gBAAgB,CAAC,OAAkB;IACjD,OAAO,IAAI,yBAAc,CAAC,OAAO,CAAC,CAAC;AACrC,CAAC;AAFD,4CAEC;AAED,SAAgB,aAAa;IAC3B,6BAAc,CAAC,sBAAsB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;AAC9D,CAAC;AAFD,sCAEC;AAED,SAAgB,gBAAgB;IAC9B,6BAAc,CAAC,sBAAsB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;AACpE,CAAC;AAFD,4CAEC;AAED,SAAgB,kBAAkB;IAChC,6BAAc,CAAC,sBAAsB,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC;AACxE,CAAC;AAFD,gDAEC;AAED,iDAA+B;AAC/B,mDAAiC;AACjC,kDAAgC;AAChC,oDAAkC;AAClC,mDAAiC;AACjC,mDAAiC;AACjC,kDAAgC;AAChC,kDAAgC;AAChC,qDAAmC;AACnC,uDAAqC;AACrC,kDAAgC;AAChC,oDAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,kDAAgC","file":"register.js","sourcesContent":["import type {\n IGroup,\n IGroupGraphicAttribute,\n IText,\n IShadowRoot,\n IGraphic,\n IWrapTextGraphicAttribute\n} from '@visactor/vrender-core';\nimport { Group, ShadowRoot as MarkShadowRoot, WrapText, graphicCreator } from '@visactor/vrender-core';\n\nexport function createGroup(attributes: IGroupGraphicAttribute): IGroup {\n return new Group(attributes);\n}\n\nexport function createWrapText(attributes: IWrapTextGraphicAttribute): IText {\n return new WrapText(attributes);\n}\nexport function createShadowRoot(graphic?: IGraphic): IShadowRoot {\n return new MarkShadowRoot(graphic);\n}\n\nexport function registerGroup() {\n graphicCreator.RegisterGraphicCreator('group', createGroup);\n}\n\nexport function registerWrapText() {\n graphicCreator.RegisterGraphicCreator('wrapText', createWrapText);\n}\n\nexport function registerShadowRoot() {\n graphicCreator.RegisterGraphicCreator('shadowRoot', createShadowRoot);\n}\n\nexport * from './register-arc';\nexport * from './register-arc3d';\nexport * from './register-area';\nexport * from './register-circle';\nexport * from './register-glyph';\nexport * from './register-image';\nexport * from './register-line';\nexport * from './register-path';\nexport * from './register-polygon';\nexport * from './register-pyramid3d';\nexport * from './register-rect';\nexport * from './register-rect3d';\nexport * from './register-richtext';\nexport * from './register-symbol';\nexport * from './register-text';\n"]}
|
package/es/core.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@visactor/vrender-core';
|
package/es/core.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@visactor/vrender-core";
|
package/es/core.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/core.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC","file":"core.js","sourcesContent":["export * from '@visactor/vrender-core';\n"]}
|
package/es/isbrowser.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const browser: any;
|
package/es/isbrowser.js
DELETED
package/es/isbrowser.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/isbrowser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,MAAM,CAAC,MAAM,OAAO,GAAG,YAAY,EAAE,CAAC","file":"isbrowser.js","sourcesContent":["import { isBrowserEnv } from './core';\n\nexport const browser = isBrowserEnv();\n"]}
|
package/es/kits.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@visactor/vrender-kits';
|
package/es/kits.js
DELETED
package/es/kits.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/kits.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC","file":"kits.js","sourcesContent":["export * from '@visactor/vrender-kits';\n"]}
|
package/es/register-arc.d.ts
DELETED
package/es/register-arc.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Arc, arcModule, container, graphicCreator } from "./core";
|
|
2
|
-
|
|
3
|
-
import { browser } from "./isbrowser";
|
|
4
|
-
|
|
5
|
-
import { arcCanvasPickModule, arcMathPickModule } from "./kits";
|
|
6
|
-
|
|
7
|
-
export function createArc(attributes) {
|
|
8
|
-
return new Arc(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function registerArc() {
|
|
12
|
-
graphicCreator.RegisterGraphicCreator("arc", createArc), container.load(arcModule),
|
|
13
|
-
container.load(browser ? arcCanvasPickModule : arcMathPickModule);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=register-arc.js.map
|
package/es/register-arc.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register-arc.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAEhE,MAAM,UAAU,SAAS,CAAC,UAAgC;IACxD,OAAO,IAAI,GAAG,CAAC,UAAU,CAAC,CAAC;AAC7B,CAAC;AAED,MAAM,UAAU,WAAW;IACzB,cAAc,CAAC,sBAAsB,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;IACxD,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC1B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;AACpE,CAAC","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"]}
|
package/es/register-arc3d.d.ts
DELETED
package/es/register-arc3d.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Arc3d, arc3dModule, container, graphicCreator } from "./core";
|
|
2
|
-
|
|
3
|
-
import { browser } from "./isbrowser";
|
|
4
|
-
|
|
5
|
-
import { arc3dCanvasPickModule } from "./kits";
|
|
6
|
-
|
|
7
|
-
export function createArc3d(attributes) {
|
|
8
|
-
return new Arc3d(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function registerArc3d() {
|
|
12
|
-
graphicCreator.RegisterGraphicCreator("arc3d", createArc3d), container.load(arc3dModule),
|
|
13
|
-
container.load(arc3dCanvasPickModule);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=register-arc3d.js.map
|
package/es/register-arc3d.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register-arc3d.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAE/C,MAAM,UAAU,WAAW,CAAC,UAAkC;IAC5D,OAAO,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC;AAC/B,CAAC;AAED,MAAM,UAAU,aAAa;IAC3B,cAAc,CAAC,sBAAsB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC5D,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC5B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC;AAC1E,CAAC","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"]}
|
package/es/register-area.d.ts
DELETED
package/es/register-area.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Area, areaModule, container, graphicCreator } from "./core";
|
|
2
|
-
|
|
3
|
-
import { browser } from "./isbrowser";
|
|
4
|
-
|
|
5
|
-
import { areaCanvasPickModule, areaMathPickModule } from "./kits";
|
|
6
|
-
|
|
7
|
-
export function createArea(attributes) {
|
|
8
|
-
return new Area(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function registerArea() {
|
|
12
|
-
graphicCreator.RegisterGraphicCreator("area", createArea), container.load(areaModule),
|
|
13
|
-
container.load(browser ? areaCanvasPickModule : areaMathPickModule);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=register-area.js.map
|
package/es/register-area.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register-area.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAElE,MAAM,UAAU,UAAU,CAAC,UAAiC;IAC1D,OAAO,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC;AAC9B,CAAC;AAED,MAAM,UAAU,YAAY;IAC1B,cAAc,CAAC,sBAAsB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC1D,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC3B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC;AACtE,CAAC","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"]}
|
package/es/register-circle.d.ts
DELETED
package/es/register-circle.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Circle, container, graphicCreator, circleModule } from "./core";
|
|
2
|
-
|
|
3
|
-
import { browser } from "./isbrowser";
|
|
4
|
-
|
|
5
|
-
import { circleCanvasPickModule, circleMathPickModule } from "./kits";
|
|
6
|
-
|
|
7
|
-
export function createCircle(attributes) {
|
|
8
|
-
return new Circle(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function registerCircle() {
|
|
12
|
-
graphicCreator.RegisterGraphicCreator("circle", createCircle), container.load(circleModule),
|
|
13
|
-
container.load(browser ? circleCanvasPickModule : circleMathPickModule);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=register-circle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register-circle.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAEtE,MAAM,UAAU,YAAY,CAAC,UAAmC;IAC9D,OAAO,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;AAChC,CAAC;AAED,MAAM,UAAU,cAAc;IAC5B,cAAc,CAAC,sBAAsB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAC9D,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IAC7B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC;AAC1E,CAAC","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"]}
|
package/es/register-glyph.d.ts
DELETED
package/es/register-glyph.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { container, graphicCreator, glyphModule, Glyph } from "./core";
|
|
2
|
-
|
|
3
|
-
import { browser } from "./isbrowser";
|
|
4
|
-
|
|
5
|
-
import { glyphCanvasPickModule, glyphMathPickModule } from "./kits";
|
|
6
|
-
|
|
7
|
-
export function createGlyph(attributes) {
|
|
8
|
-
return new Glyph(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function registerGlyph() {
|
|
12
|
-
graphicCreator.RegisterGraphicCreator("glyph", createGlyph), container.load(glyphModule),
|
|
13
|
-
container.load(browser ? glyphCanvasPickModule : glyphMathPickModule);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=register-glyph.js.map
|
package/es/register-glyph.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register-glyph.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAEpE,MAAM,UAAU,WAAW,CAAC,UAAkC;IAC5D,OAAO,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC;AAC/B,CAAC;AAED,MAAM,UAAU,aAAa;IAC3B,cAAc,CAAC,sBAAsB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC5D,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC5B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC;AACxE,CAAC","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"]}
|
package/es/register-image.d.ts
DELETED
package/es/register-image.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Image, container, graphicCreator, imageModule } from "./core";
|
|
2
|
-
|
|
3
|
-
import { browser } from "./isbrowser";
|
|
4
|
-
|
|
5
|
-
import { imageCanvasPickModule, imageMathPickModule } from "./kits";
|
|
6
|
-
|
|
7
|
-
export function createImage(attributes) {
|
|
8
|
-
return new Image(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function registerImage() {
|
|
12
|
-
graphicCreator.RegisterGraphicCreator("image", createImage), container.load(imageModule),
|
|
13
|
-
container.load(browser ? imageCanvasPickModule : imageMathPickModule);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=register-image.js.map
|
package/es/register-image.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register-image.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAA4C,MAAM,QAAQ,CAAC;AAE9G,MAAM,UAAU,WAAW,CAAC,UAAkC;IAC5D,OAAO,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC;AAC/B,CAAC;AAED,MAAM,UAAU,aAAa;IAC3B,cAAc,CAAC,sBAAsB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC5D,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC5B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC;AACxE,CAAC","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"]}
|
package/es/register-line.d.ts
DELETED
package/es/register-line.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Line, container, graphicCreator, lineModule } from "./core";
|
|
2
|
-
|
|
3
|
-
import { browser } from "./isbrowser";
|
|
4
|
-
|
|
5
|
-
import { lineCanvasPickModule, lineMathPickModule } from "./kits";
|
|
6
|
-
|
|
7
|
-
export function createLine(attributes) {
|
|
8
|
-
return new Line(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function registerLine() {
|
|
12
|
-
graphicCreator.RegisterGraphicCreator("line", createLine), container.load(lineModule),
|
|
13
|
-
container.load(browser ? lineCanvasPickModule : lineMathPickModule);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=register-line.js.map
|
package/es/register-line.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register-line.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAElE,MAAM,UAAU,UAAU,CAAC,UAAiC;IAC1D,OAAO,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC;AAC9B,CAAC;AAED,MAAM,UAAU,YAAY;IAC1B,cAAc,CAAC,sBAAsB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC1D,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC3B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC;AACtE,CAAC","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"]}
|
package/es/register-path.d.ts
DELETED
package/es/register-path.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { container, graphicCreator, Path, pathModule } from "./core";
|
|
2
|
-
|
|
3
|
-
import { browser } from "./isbrowser";
|
|
4
|
-
|
|
5
|
-
import { pathCanvasPickModule, pathMathPickModule } from "./kits";
|
|
6
|
-
|
|
7
|
-
export function createPath(attributes) {
|
|
8
|
-
return new Path(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function registerPath() {
|
|
12
|
-
graphicCreator.RegisterGraphicCreator("path", createPath), container.load(pathModule),
|
|
13
|
-
container.load(browser ? pathCanvasPickModule : pathMathPickModule);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=register-path.js.map
|
package/es/register-path.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register-path.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAElE,MAAM,UAAU,UAAU,CAAC,UAAiC;IAC1D,OAAO,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC;AAC9B,CAAC;AAED,MAAM,UAAU,YAAY;IAC1B,cAAc,CAAC,sBAAsB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC1D,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC3B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC;AACtE,CAAC","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"]}
|
package/es/register-polygon.d.ts
DELETED
package/es/register-polygon.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { container, graphicCreator, polygonModule, Polygon } from "./core";
|
|
2
|
-
|
|
3
|
-
import { browser } from "./isbrowser";
|
|
4
|
-
|
|
5
|
-
import { polygonCanvasPickModule, polygonMathPickModule } from "./kits";
|
|
6
|
-
|
|
7
|
-
export function createPolygon(attributes) {
|
|
8
|
-
return new Polygon(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function registerPolygon() {
|
|
12
|
-
graphicCreator.RegisterGraphicCreator("polygon", createPolygon), container.load(polygonModule),
|
|
13
|
-
container.load(browser ? polygonCanvasPickModule : polygonMathPickModule);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=register-polygon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register-polygon.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAExE,MAAM,UAAU,aAAa,CAAC,UAAoC;IAChE,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC,CAAC;AACjC,CAAC;AAED,MAAM,UAAU,eAAe;IAC7B,cAAc,CAAC,sBAAsB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;IAChE,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAC9B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC;AAC5E,CAAC","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"]}
|
package/es/register-pyramid3d.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Pyramid3d, container, graphicCreator, pyramid3dModule } from "./core";
|
|
2
|
-
|
|
3
|
-
import { browser } from "./isbrowser";
|
|
4
|
-
|
|
5
|
-
import { pyramid3dCanvasPickModule } from "./kits";
|
|
6
|
-
|
|
7
|
-
export function createPyramid3d(attributes) {
|
|
8
|
-
return new Pyramid3d(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function registerPyramid3d() {
|
|
12
|
-
graphicCreator.RegisterGraphicCreator("pyramid3d", createPyramid3d), container.load(pyramid3dModule),
|
|
13
|
-
container.load(pyramid3dCanvasPickModule);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=register-pyramid3d.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register-pyramid3d.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,SAAS,EAET,SAAS,EACT,cAAc,EACd,eAAe,EAChB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAyB,yBAAyB,EAAE,MAAM,QAAQ,CAAC;AAE1E,MAAM,UAAU,eAAe,CAAC,UAAsC;IACpE,OAAO,IAAI,SAAS,CAAC,UAAU,CAAC,CAAC;AACnC,CAAC;AAED,MAAM,UAAU,iBAAiB;IAC/B,cAAc,CAAC,sBAAsB,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC;IACpE,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAChC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC;AAClF,CAAC","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"]}
|
package/es/register-rect.d.ts
DELETED
package/es/register-rect.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Rect, container, graphicCreator, rectModule } from "./core";
|
|
2
|
-
|
|
3
|
-
import { browser } from "./isbrowser";
|
|
4
|
-
|
|
5
|
-
import { rectCanvasPickModule, rectMathPickModule } from "./kits";
|
|
6
|
-
|
|
7
|
-
export function createRect(attributes) {
|
|
8
|
-
return new Rect(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function registerRect() {
|
|
12
|
-
graphicCreator.RegisterGraphicCreator("rect", createRect), container.load(rectModule),
|
|
13
|
-
container.load(browser ? rectCanvasPickModule : rectMathPickModule);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=register-rect.js.map
|
package/es/register-rect.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register-rect.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,cAAc,EAAgB,UAAU,EAAE,MAAM,QAAQ,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAElE,MAAM,UAAU,UAAU,CAAC,UAAiC;IAC1D,OAAO,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC;AAC9B,CAAC;AAED,MAAM,UAAU,YAAY;IAC1B,cAAc,CAAC,sBAAsB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC1D,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC3B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC;AACtE,CAAC","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"]}
|
package/es/register-rect3d.d.ts
DELETED
package/es/register-rect3d.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Rect3d, container, graphicCreator, rect3dModule } from "./core";
|
|
2
|
-
|
|
3
|
-
import { browser } from "./isbrowser";
|
|
4
|
-
|
|
5
|
-
import { rect3dCanvasPickModule } from "./kits";
|
|
6
|
-
|
|
7
|
-
export function createRect3d(attributes) {
|
|
8
|
-
return new Rect3d(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function registerRect3d() {
|
|
12
|
-
graphicCreator.RegisterGraphicCreator("rect3d", createRect3d), container.load(rect3dModule),
|
|
13
|
-
container.load(rect3dCanvasPickModule);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=register-rect3d.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register-rect3d.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAa,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAC;AAEhD,MAAM,UAAU,YAAY,CAAC,UAAmC;IAC9D,OAAO,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;AAChC,CAAC;AAED,MAAM,UAAU,cAAc;IAC5B,cAAc,CAAC,sBAAsB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAC9D,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IAC7B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC;AAC5E,CAAC","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"]}
|
package/es/register-richtext.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { RichText, container, graphicCreator, richtextModule } from "./core";
|
|
2
|
-
|
|
3
|
-
import { browser } from "./isbrowser";
|
|
4
|
-
|
|
5
|
-
import { richTextMathPickModule, richtextCanvasPickModule } from "./kits";
|
|
6
|
-
|
|
7
|
-
export function createRichText(attributes) {
|
|
8
|
-
return new RichText(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function registerRichtext() {
|
|
12
|
-
graphicCreator.RegisterGraphicCreator("richtext", createRichText), container.load(richtextModule),
|
|
13
|
-
container.load(browser ? richtextCanvasPickModule : richTextMathPickModule);
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register-richtext.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,QAAQ,CAAC;AAE1E,MAAM,UAAU,cAAc,CAAC,UAAqC;IAClE,OAAO,IAAI,QAAQ,CAAC,UAAU,CAAC,CAAC;AAClC,CAAC;AAED,MAAM,UAAU,gBAAgB;IAC9B,cAAc,CAAC,sBAAsB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;IAClE,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC/B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC;AAC9E,CAAC","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"]}
|
package/es/register-symbol.d.ts
DELETED
package/es/register-symbol.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Symbol as MarkSymbol, container, graphicCreator, symbolModule } from "./core";
|
|
2
|
-
|
|
3
|
-
import { browser } from "./isbrowser";
|
|
4
|
-
|
|
5
|
-
import { symbolCanvasPickModule, symbolMathPickModule } from "./kits";
|
|
6
|
-
|
|
7
|
-
export function createSymbol(attributes) {
|
|
8
|
-
return new MarkSymbol(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function registerSymbol() {
|
|
12
|
-
graphicCreator.RegisterGraphicCreator("symbol", createSymbol), container.load(symbolModule),
|
|
13
|
-
container.load(browser ? symbolCanvasPickModule : symbolMathPickModule);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=register-symbol.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register-symbol.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAEtE,MAAM,UAAU,YAAY,CAAC,UAAmC;IAC9D,OAAO,IAAI,UAAU,CAAC,UAAU,CAAC,CAAC;AACpC,CAAC;AAED,MAAM,UAAU,cAAc;IAC5B,cAAc,CAAC,sBAAsB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAC9D,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IAC7B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC;AAC1E,CAAC","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"]}
|
package/es/register-text.d.ts
DELETED
package/es/register-text.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Text, container, graphicCreator, textModule } from "./core";
|
|
2
|
-
|
|
3
|
-
import { browser } from "./isbrowser";
|
|
4
|
-
|
|
5
|
-
import { textCanvasPickModule, textMathPickModule } from "./kits";
|
|
6
|
-
|
|
7
|
-
export function createText(attributes) {
|
|
8
|
-
return new Text(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function registerText() {
|
|
12
|
-
graphicCreator.RegisterGraphicCreator("text", createText), container.load(textModule),
|
|
13
|
-
container.load(browser ? textCanvasPickModule : textMathPickModule);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=register-text.js.map
|
package/es/register-text.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/register-text.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,cAAc,EAAE,UAAU,EAA4C,MAAM,QAAQ,CAAC;AAC/G,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAElE,MAAM,UAAU,UAAU,CAAC,UAAiC;IAC1D,OAAO,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC;AAC9B,CAAC;AAED,MAAM,UAAU,YAAY;IAC1B,cAAc,CAAC,sBAAsB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC1D,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC3B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC;AACtE,CAAC","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"]}
|
package/es/register.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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';
|
package/es/register.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { Group, ShadowRoot as MarkShadowRoot, WrapText, graphicCreator } from "@visactor/vrender-core";
|
|
2
|
-
|
|
3
|
-
export function createGroup(attributes) {
|
|
4
|
-
return new Group(attributes);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export function createWrapText(attributes) {
|
|
8
|
-
return new WrapText(attributes);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function createShadowRoot(graphic) {
|
|
12
|
-
return new MarkShadowRoot(graphic);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export function registerGroup() {
|
|
16
|
-
graphicCreator.RegisterGraphicCreator("group", createGroup);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export function registerWrapText() {
|
|
20
|
-
graphicCreator.RegisterGraphicCreator("wrapText", createWrapText);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export function registerShadowRoot() {
|
|
24
|
-
graphicCreator.RegisterGraphicCreator("shadowRoot", createShadowRoot);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export * from "./register-arc";
|
|
28
|
-
|
|
29
|
-
export * from "./register-arc3d";
|
|
30
|
-
|
|
31
|
-
export * from "./register-area";
|
|
32
|
-
|
|
33
|
-
export * from "./register-circle";
|
|
34
|
-
|
|
35
|
-
export * from "./register-glyph";
|
|
36
|
-
|
|
37
|
-
export * from "./register-image";
|
|
38
|
-
|
|
39
|
-
export * from "./register-line";
|
|
40
|
-
|
|
41
|
-
export * from "./register-path";
|
|
42
|
-
|
|
43
|
-
export * from "./register-polygon";
|
|
44
|
-
|
|
45
|
-
export * from "./register-pyramid3d";
|
|
46
|
-
|
|
47
|
-
export * from "./register-rect";
|
|
48
|
-
|
|
49
|
-
export * from "./register-rect3d";
|
|
50
|
-
|
|
51
|
-
export * from "./register-richtext";
|
|
52
|
-
|
|
53
|
-
export * from "./register-symbol";
|
|
54
|
-
|
|
55
|
-
export * from "./register-text";
|
|
56
|
-
//# sourceMappingURL=register.js.map
|