@mlightcad/graphic-interface 3.0.9 → 3.0.11
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/lib/AcGiHatchStyle.d.ts +4 -10
- package/lib/AcGiHatchStyle.d.ts.map +1 -1
- package/lib/AcGiLineStyle.d.ts +7 -2
- package/lib/AcGiLineStyle.d.ts.map +1 -1
- package/lib/AcGiPointStyle.d.ts +0 -4
- package/lib/AcGiPointStyle.d.ts.map +1 -1
- package/lib/AcGiRenderer.d.ts +11 -12
- package/lib/AcGiRenderer.d.ts.map +1 -1
- package/lib/AcGiStyleType.d.ts +2 -0
- package/lib/AcGiStyleType.d.ts.map +1 -0
- package/lib/AcGiStyleType.js +2 -0
- package/lib/AcGiStyleType.js.map +1 -0
- package/lib/AcGiSubEntityTraits.d.ts +55 -0
- package/lib/AcGiSubEntityTraits.d.ts.map +1 -0
- package/lib/AcGiSubEntityTraits.js +2 -0
- package/lib/AcGiSubEntityTraits.js.map +1 -0
- package/lib/AcGiTextStyle.d.ts +1 -9
- package/lib/AcGiTextStyle.d.ts.map +1 -1
- package/lib/index.d.ts +5 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +5 -3
- package/lib/index.js.map +1 -1
- package/package.json +3 -2
package/lib/AcGiHatchStyle.d.ts
CHANGED
|
@@ -5,18 +5,12 @@ export interface AcGiHatchPatternLine {
|
|
|
5
5
|
delta: AcGePoint2dLike;
|
|
6
6
|
dashPattern: number[];
|
|
7
7
|
}
|
|
8
|
-
export interface AcGiHatchType {
|
|
9
|
-
solidFill: boolean;
|
|
10
|
-
patternAngle: number;
|
|
11
|
-
patternLines: AcGiHatchPatternLine[];
|
|
12
|
-
}
|
|
13
8
|
/**
|
|
14
9
|
* Hatch style
|
|
15
10
|
*/
|
|
16
|
-
export interface AcGiHatchStyle
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
color: number;
|
|
11
|
+
export interface AcGiHatchStyle {
|
|
12
|
+
solidFill: boolean;
|
|
13
|
+
patternAngle: number;
|
|
14
|
+
patternLines: AcGiHatchPatternLine[];
|
|
21
15
|
}
|
|
22
16
|
//# sourceMappingURL=AcGiHatchStyle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcGiHatchStyle.d.ts","sourceRoot":"","sources":["../src/AcGiHatchStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,eAAe,CAAA;IACvB,KAAK,EAAE,eAAe,CAAA;IACtB,WAAW,EAAE,MAAM,EAAE,CAAA;CACtB;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"AcGiHatchStyle.d.ts","sourceRoot":"","sources":["../src/AcGiHatchStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,eAAe,CAAA;IACvB,KAAK,EAAE,eAAe,CAAA;IACtB,WAAW,EAAE,MAAM,EAAE,CAAA;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,OAAO,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,oBAAoB,EAAE,CAAA;CACrC"}
|
package/lib/AcGiLineStyle.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AcGiStyleType } from 'AcGiStyleType';
|
|
1
2
|
import { AcGiArrowType } from './AcGiArrowType';
|
|
2
3
|
/**
|
|
3
4
|
* Line type pattern element
|
|
@@ -90,9 +91,13 @@ export interface AcGiBaseLineStyle {
|
|
|
90
91
|
*/
|
|
91
92
|
export interface AcGiLineStyle extends AcGiBaseLineStyle {
|
|
92
93
|
/**
|
|
93
|
-
*
|
|
94
|
+
* Indicates how the style is determined for this entity.
|
|
95
|
+
*
|
|
96
|
+
* - `ByLayer`: The style is inherited from the layer the entity belongs to.
|
|
97
|
+
* - `ByBlock`: The style is inherited from the block reference containing the entity.
|
|
98
|
+
* - `UserSpecified`: The style is explicitly defined on the entity itself.
|
|
94
99
|
*/
|
|
95
|
-
|
|
100
|
+
type: AcGiStyleType;
|
|
96
101
|
/**
|
|
97
102
|
* Arrow style of arrows at the start point and end point of one line.
|
|
98
103
|
* If it is undefined, no arrow style applied at the start and end points.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcGiLineStyle.d.ts","sourceRoot":"","sources":["../src/AcGiLineStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,IAAI,EAAE,aAAa,CAAA;IACnB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,UAAU,CAAC,EAAE,cAAc,CAA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ACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,cAAc,CAAA;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAA;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,0BAA0B,EAAE,CAAA;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD;;;;;;OAMG;IACH,IAAI,EAAE,aAAa,CAAA;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAA;CAC5B"}
|
package/lib/AcGiPointStyle.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcGiPointStyle.d.ts","sourceRoot":"","sources":["../src/AcGiPointStyle.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"AcGiPointStyle.d.ts","sourceRoot":"","sources":["../src/AcGiPointStyle.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAA;CACpB"}
|
package/lib/AcGiRenderer.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { AcGeArea2d, AcGeCircArc3d, AcGeEllipseArc3d, AcGePoint3d, AcGePoint3dLike } from '@mlightcad/geometry-engine';
|
|
2
|
+
import { AcGiSubEntityTraits } from 'AcGiSubEntityTraits';
|
|
2
3
|
import { AcGiEntity } from './AcGiEntity';
|
|
3
|
-
import { AcGiHatchStyle } from './AcGiHatchStyle';
|
|
4
4
|
import { AcGiImageStyle } from './AcGiImageStyle';
|
|
5
|
-
import { AcGiLineStyle } from './AcGiLineStyle';
|
|
6
5
|
import { AcGiPointStyle } from './AcGiPointStyle';
|
|
7
6
|
import { AcGiMTextData, AcGiTextStyle } from './AcGiTextStyle';
|
|
8
7
|
/**
|
|
@@ -27,6 +26,11 @@ export interface AcGiRenderer<T extends AcGiEntity = AcGiEntity> {
|
|
|
27
26
|
*/
|
|
28
27
|
get basePoint(): AcGePoint3d | undefined;
|
|
29
28
|
set basePoint(value: AcGePoint3d | undefined);
|
|
29
|
+
/**
|
|
30
|
+
* The entity traits object gives the user control of, and access to, the attribute
|
|
31
|
+
* (color, layer, linetype, etc.) settings of the current geometry.
|
|
32
|
+
*/
|
|
33
|
+
get subEntityTraits(): AcGiSubEntityTraits;
|
|
30
34
|
/**
|
|
31
35
|
* Create one group
|
|
32
36
|
* @param entities Input entities to group together
|
|
@@ -43,24 +47,21 @@ export interface AcGiRenderer<T extends AcGiEntity = AcGiEntity> {
|
|
|
43
47
|
/**
|
|
44
48
|
* Draw a circular arc or full circle.
|
|
45
49
|
* @param arc Input circular arc to draw
|
|
46
|
-
* @param style Input line style applied to circular arc
|
|
47
50
|
* @returns Return an object which can be added to scene
|
|
48
51
|
*/
|
|
49
|
-
circularArc(arc: AcGeCircArc3d
|
|
52
|
+
circularArc(arc: AcGeCircArc3d): T;
|
|
50
53
|
/**
|
|
51
54
|
* Draw an elliptical arc or full ellipse.
|
|
52
55
|
* @param ellipseArc Input elliptical arc to draw
|
|
53
|
-
* @param style Input line style applied to elliptical arc
|
|
54
56
|
* @returns Return an object which can be added to scene
|
|
55
57
|
*/
|
|
56
|
-
ellipticalArc(ellipseArc: AcGeEllipseArc3d
|
|
58
|
+
ellipticalArc(ellipseArc: AcGeEllipseArc3d): T;
|
|
57
59
|
/**
|
|
58
60
|
* Draw lines using gl.LINE_STRIP.
|
|
59
61
|
* @param points Input a point array which contains all line vertices
|
|
60
|
-
* @param style Input line style applied to lines
|
|
61
62
|
* @returns Return an object which can be added to scene
|
|
62
63
|
*/
|
|
63
|
-
lines(points: AcGePoint3dLike[]
|
|
64
|
+
lines(points: AcGePoint3dLike[]): T;
|
|
64
65
|
/**
|
|
65
66
|
* Draw lines using gl.LINES.
|
|
66
67
|
* @param array Must be a `TypedArray`. Used to instantiate the buffer. This array should have
|
|
@@ -69,17 +70,15 @@ export interface AcGiRenderer<T extends AcGiEntity = AcGiEntity> {
|
|
|
69
70
|
* particular vertex. If the vertex is one 2d point, then itemSize should be `2`. If the vertex
|
|
70
71
|
* is one 3d point, then itemSize should be `3`.
|
|
71
72
|
* @param indices Index buffer.
|
|
72
|
-
* @param style Input line style applied to line segments
|
|
73
73
|
* @returns Return an object which can be added to scene
|
|
74
74
|
*/
|
|
75
|
-
lineSegments(array: Float32Array, itemSize: number, indices: Uint16Array
|
|
75
|
+
lineSegments(array: Float32Array, itemSize: number, indices: Uint16Array): T;
|
|
76
76
|
/**
|
|
77
77
|
* Draw one area
|
|
78
78
|
* @param area Input area to draw
|
|
79
|
-
* @param style Input hatch style applied to the area
|
|
80
79
|
* @returns Return an object which can be added to scene
|
|
81
80
|
*/
|
|
82
|
-
area(area: AcGeArea2d
|
|
81
|
+
area(area: AcGeArea2d): T;
|
|
83
82
|
/**
|
|
84
83
|
* Draw multiple line texts
|
|
85
84
|
* @param mtext Input multiple line text data to draw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcGiRenderer.d.ts","sourceRoot":"","sources":["../src/AcGiRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,eAAe,EAChB,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"AcGiRenderer.d.ts","sourceRoot":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GAAG,CAAC,CAAA;IAE5E;;;;OAIG;IACH,IAAI,CAAC,IAAI,EAAE,UAAU,GAAG,CAAC,CAAA;IAEzB;;;;;;;;OAQG;IACH,KAAK,CAAC,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,CAAC,CAAA;IAErE;;;;;OAKG;IACH,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,cAAc,GAAG,CAAC,CAAA;IAE3C;;;OAGG;IACH,cAAc,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI,CAAA;CAC/C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcGiStyleType.d.ts","sourceRoot":"","sources":["../src/AcGiStyleType.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcGiStyleType.js","sourceRoot":"","sources":["../src/AcGiStyleType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { AcCmColor } from '@mlightcad/common';
|
|
2
|
+
import { AcGiHatchStyle } from './AcGiHatchStyle';
|
|
3
|
+
import { AcGiLineStyle } from './AcGiLineStyle';
|
|
4
|
+
/**
|
|
5
|
+
* Trait settings for a sub‑entity in AutoCAD graphics (corresponding to AcGiSubEntityTraits).
|
|
6
|
+
* These properties define visual attributes like color, line style, layer, thickness, etc.
|
|
7
|
+
*/
|
|
8
|
+
export interface AcGiSubEntityTraits {
|
|
9
|
+
/**
|
|
10
|
+
* The RGB color.
|
|
11
|
+
* It resolves layer colors and block colors as needed and converts color index to actual RGB color.
|
|
12
|
+
*/
|
|
13
|
+
rgbColor: number;
|
|
14
|
+
/**
|
|
15
|
+
* Color of the entity.
|
|
16
|
+
*/
|
|
17
|
+
color: AcCmColor;
|
|
18
|
+
/**
|
|
19
|
+
* Line type (pattern) used for drawing edges / curves of the entity.
|
|
20
|
+
* Corresponds to AutoCAD’s `AcGiLineStyle` (or linetypeTableRecord). :contentReference[oaicite:1]{index=1}
|
|
21
|
+
*/
|
|
22
|
+
lineType: AcGiLineStyle;
|
|
23
|
+
/**
|
|
24
|
+
* Scale factor applied to the lineType.
|
|
25
|
+
* Changes how dense or stretched the pattern appears. (Equivalent to AutoCAD’s “Linetype Scale” / ltScale). :contentReference[oaicite:2]{index=2}
|
|
26
|
+
*/
|
|
27
|
+
lineTypeScale: number;
|
|
28
|
+
/**
|
|
29
|
+
* Lineweight for the entity’s drawing (i.e. the visual thickness of lines).
|
|
30
|
+
* Typically corresponds to one of AutoCAD’s predefined lineweights (e.g. “0.13 mm”, “0.30 mm”, etc.) or “ByLayer/ByBlock”. :contentReference[oaicite:3]{index=3}
|
|
31
|
+
*/
|
|
32
|
+
lineWeight: number;
|
|
33
|
+
/**
|
|
34
|
+
* Fill type / hatch style for the entity (if applicable).
|
|
35
|
+
* Corresponds to AutoCAD’s `AcGiHatchStyle`. For example, controlling whether the sub‑entity is filled or only outlined. :contentReference[oaicite:4]{index=4}
|
|
36
|
+
*/
|
|
37
|
+
fillType: AcGiHatchStyle;
|
|
38
|
+
/**
|
|
39
|
+
* Transparency of the entity.
|
|
40
|
+
* A numeric value controlling how transparent (or opaque) the entity is when rendered.
|
|
41
|
+
* In AutoCAD this corresponds to the transparency attribute in SubEntityTraits. :contentReference[oaicite:5]{index=5}
|
|
42
|
+
*/
|
|
43
|
+
transparency: number;
|
|
44
|
+
/**
|
|
45
|
+
* Thickness (extrusion) of the entity along the positive Z axis in WCS units.
|
|
46
|
+
* Only affects certain primitive types (e.g. polylines, arcs, circles, SHX‑text), similarly to AutoCAD’s “thickness” property. :contentReference[oaicite:6]{index=6}
|
|
47
|
+
*/
|
|
48
|
+
thickness: number;
|
|
49
|
+
/**
|
|
50
|
+
* The name of the layer on which the entity resides.
|
|
51
|
+
* Corresponds to AutoCAD layer name (i.e. current layer in drawing). :contentReference[oaicite:7]{index=7}
|
|
52
|
+
*/
|
|
53
|
+
layer: string;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=AcGiSubEntityTraits.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcGiSubEntityTraits.d.ts","sourceRoot":"","sources":["../src/AcGiSubEntityTraits.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,KAAK,EAAE,SAAS,CAAA;IAEhB;;;OAGG;IACH,QAAQ,EAAE,aAAa,CAAA;IAEvB;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,QAAQ,EAAE,cAAc,CAAA;IAExB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAA;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcGiSubEntityTraits.js","sourceRoot":"","sources":["../src/AcGiSubEntityTraits.ts"],"names":[],"mappings":""}
|
package/lib/AcGiTextStyle.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export interface AcGiMTextData {
|
|
|
29
29
|
lineSpaceFactor?: number;
|
|
30
30
|
widthFactor?: number;
|
|
31
31
|
}
|
|
32
|
-
export interface
|
|
32
|
+
export interface AcGiTextStyle {
|
|
33
33
|
name: string;
|
|
34
34
|
standardFlag: number;
|
|
35
35
|
fixedTextHeight: number;
|
|
@@ -41,12 +41,4 @@ export interface AcGiBaseTextStyle {
|
|
|
41
41
|
bigFont: string;
|
|
42
42
|
extendedFont?: string;
|
|
43
43
|
}
|
|
44
|
-
/**
|
|
45
|
-
* Text style
|
|
46
|
-
*/
|
|
47
|
-
export interface AcGiTextStyle extends AcGiBaseTextStyle {
|
|
48
|
-
color: number;
|
|
49
|
-
byLayerColor?: number;
|
|
50
|
-
byBlockColor?: number;
|
|
51
|
-
}
|
|
52
44
|
//# sourceMappingURL=AcGiTextStyle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcGiTextStyle.d.ts","sourceRoot":"","sources":["../src/AcGiTextStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAE9E,oBAAY,sBAAsB;IAChC,aAAa,IAAI;IACjB,aAAa,IAAI;IACjB,aAAa,IAAI;IACjB,aAAa,IAAI;IACjB,QAAQ,IAAI;CACb;AAED,oBAAY,wBAAwB;IAClC,OAAO,IAAI;IACX,SAAS,IAAI;IACb,QAAQ,IAAI;IACZ,UAAU,IAAI;IACd,YAAY,IAAI;IAChB,WAAW,IAAI;IACf,UAAU,IAAI;IACd,YAAY,IAAI;IAChB,WAAW,IAAI;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,eAAe,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,eAAe,CAAC,EAAE,gBAAgB,CAAA;IAClC,eAAe,CAAC,EAAE,wBAAwB,CAAA;IAC1C,gBAAgB,CAAC,EAAE,sBAAsB,CAAA;IACzC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"AcGiTextStyle.d.ts","sourceRoot":"","sources":["../src/AcGiTextStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAE9E,oBAAY,sBAAsB;IAChC,aAAa,IAAI;IACjB,aAAa,IAAI;IACjB,aAAa,IAAI;IACjB,aAAa,IAAI;IACjB,QAAQ,IAAI;CACb;AAED,oBAAY,wBAAwB;IAClC,OAAO,IAAI;IACX,SAAS,IAAI;IACb,QAAQ,IAAI;IACZ,UAAU,IAAI;IACd,YAAY,IAAI;IAChB,WAAW,IAAI;IACf,UAAU,IAAI;IACd,YAAY,IAAI;IAChB,WAAW,IAAI;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,eAAe,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,eAAe,CAAC,EAAE,gBAAgB,CAAA;IAClC,eAAe,CAAC,EAAE,wBAAwB,CAAA;IAC1C,gBAAgB,CAAC,EAAE,sBAAsB,CAAA;IACzC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE,MAAM,CAAA;IACpB,eAAe,EAAE,MAAM,CAAA;IACvB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export * from './AcGiArrowType';
|
|
2
|
+
export * from './AcGiEntity';
|
|
2
3
|
export * from './AcGiHatchStyle';
|
|
3
4
|
export * from './AcGiImageStyle';
|
|
4
5
|
export * from './AcGiLineStyle';
|
|
5
|
-
export * from './AcGiTextStyle';
|
|
6
6
|
export * from './AcGiPointStyle';
|
|
7
|
-
export * from './
|
|
7
|
+
export * from './AcGiRenderer';
|
|
8
|
+
export * from './AcGiStyleType';
|
|
9
|
+
export * from './AcGiSubEntityTraits';
|
|
10
|
+
export * from './AcGiTextStyle';
|
|
8
11
|
export * from './AcGiView';
|
|
9
12
|
export * from './AcGiViewport';
|
|
10
|
-
export * from './AcGiRenderer';
|
|
11
13
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA"}
|
package/lib/index.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export * from './AcGiArrowType';
|
|
2
|
+
export * from './AcGiEntity';
|
|
2
3
|
export * from './AcGiHatchStyle';
|
|
3
4
|
export * from './AcGiImageStyle';
|
|
4
5
|
export * from './AcGiLineStyle';
|
|
5
|
-
export * from './AcGiTextStyle';
|
|
6
6
|
export * from './AcGiPointStyle';
|
|
7
|
-
export * from './
|
|
7
|
+
export * from './AcGiRenderer';
|
|
8
|
+
export * from './AcGiStyleType';
|
|
9
|
+
export * from './AcGiSubEntityTraits';
|
|
10
|
+
export * from './AcGiTextStyle';
|
|
8
11
|
export * from './AcGiView';
|
|
9
12
|
export * from './AcGiViewport';
|
|
10
|
-
export * from './AcGiRenderer';
|
|
11
13
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mlightcad/graphic-interface",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"require": "./dist/graphic-interface.umd.cjs"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@mlightcad/geometry-engine": "3.0.
|
|
35
|
+
"@mlightcad/geometry-engine": "3.0.9",
|
|
36
|
+
"@mlightcad/common": "1.2.7"
|
|
36
37
|
},
|
|
37
38
|
"scripts": {
|
|
38
39
|
"clean": "rimraf dist lib tsconfig.tsbuildinfo",
|