@mlightcad/graphic-interface 3.12.0 → 3.12.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.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 mlightcad
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 mlightcad
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,214 +1,214 @@
1
- # @mlightcad/graphic-interface
2
-
3
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
- [![npm version](https://img.shields.io/npm/v/@mlightcad/graphic-interface.svg)](https://www.npmjs.com/package/@mlightcad/graphic-interface)
5
-
6
- The graphic-interface package provides the graphics interface for controlling how AutoCAD entities are displayed on screen. This package offers a simplified API compared to AutoCAD ObjectARX's AcGi classes, making it more developer-friendly while maintaining the core functionality needed for rendering CAD entities.
7
-
8
- ## Overview
9
-
10
- This package provides the graphics interface layer that bridges the gap between the data model and the rendering system. It handles the conversion of AutoCAD entities into drawable objects and provides customization options for how objects are displayed, including colors, layers, visibility, and various rendering styles.
11
-
12
- ## Key Features
13
-
14
- - **Entity Rendering**: Convert AutoCAD entities to drawable objects
15
- - **Style Customization**: Control colors, line styles, text styles, and point styles
16
- - **View Management**: Handle different views and viewports
17
- - **Arrow and Hatch Support**: Custom arrow types and hatch pattern rendering
18
- - **Image Rendering**: Support for raster image display
19
- - **Flexible Rendering**: Extensible rendering system for different output formats
20
-
21
- ## Installation
22
-
23
- ```bash
24
- npm install @mlightcad/graphic-interface
25
- ```
26
-
27
- ## Key Classes
28
-
29
- ### Core Rendering Classes
30
- - **AcGiRenderer**: Main interface for rendering entities to drawable objects
31
- - **AcGiEntity**: Base class for drawable objects that can be rendered
32
- - **AcGiView**: Represents a view with camera and projection settings
33
- - **AcGiViewport**: Manages viewport settings and clipping
34
-
35
- ### Style Classes
36
- - **AcGiArrowType**: Defines different arrow types for dimensions and leaders
37
- - **AcGiHatchStyle**: Controls hatch pattern rendering and appearance
38
- - **AcGiImageStyle**: Manages raster image display properties
39
- - **AcGiLineStyle**: Defines line styles including dash patterns and widths
40
- - **AcGiPointStyle**: Controls point entity display appearance
41
- - **AcGiTextStyle**: Manages text rendering properties and formatting
42
-
43
- ## Usage Examples
44
-
45
- ### Basic Entity Rendering
46
- ```typescript
47
- import { AcGiRenderer, AcGiEntity } from '@mlightcad/graphic-interface';
48
- import { AcDbLine, AcGePoint3d } from '@mlightcad/data-model';
49
-
50
- // Create a renderer
51
- const renderer = new AcGiRenderer();
52
-
53
- // Create an entity
54
- const startPoint = new AcGePoint3d(0, 0, 0);
55
- const endPoint = new AcGePoint3d(10, 10, 0);
56
- const line = new AcDbLine(startPoint, endPoint);
57
-
58
- // Render the entity
59
- const drawableEntity = renderer.renderEntity(line);
60
- ```
61
-
62
- ### Style Configuration
63
- ```typescript
64
- import {
65
- AcGiLineStyle,
66
- AcGiTextStyle,
67
- AcGiPointStyle,
68
- AcGiArrowType
69
- } from '@mlightcad/graphic-interface';
70
-
71
- // Configure line style
72
- const lineStyle = new AcGiLineStyle();
73
- lineStyle.setColor(1); // Red
74
- lineStyle.setWidth(2.0);
75
- lineStyle.setDashPattern([10, 5, 5, 5]); // Dashed line
76
-
77
- // Configure text style
78
- const textStyle = new AcGiTextStyle();
79
- textStyle.setFont('Arial');
80
- textStyle.setHeight(12);
81
- textStyle.setColor(2); // Yellow
82
- textStyle.setBold(true);
83
-
84
- // Configure point style
85
- const pointStyle = new AcGiPointStyle();
86
- pointStyle.setSize(5);
87
- pointStyle.setShape('Circle');
88
- pointStyle.setColor(3); // Green
89
-
90
- // Configure arrow style
91
- const arrowStyle = new AcGiArrowType();
92
- arrowStyle.setType('ClosedFilled');
93
- arrowStyle.setSize(3);
94
- arrowStyle.setColor(1); // Red
95
- ```
96
-
97
- ### View and Viewport Management
98
- ```typescript
99
- import { AcGiView, AcGiViewport, AcGePoint3d } from '@mlightcad/graphic-interface';
100
-
101
- // Create a view
102
- const view = new AcGiView();
103
- view.setEyePoint(new AcGePoint3d(0, 0, 100));
104
- view.setTargetPoint(new AcGePoint3d(0, 0, 0));
105
- view.setUpVector(new AcGeVector3d(0, 1, 0));
106
-
107
- // Create a viewport
108
- const viewport = new AcGiViewport();
109
- viewport.setView(view);
110
- viewport.setWidth(800);
111
- viewport.setHeight(600);
112
- viewport.setZoom(1.0);
113
-
114
- // Set viewport properties
115
- viewport.setClippingEnabled(true);
116
- viewport.setClippingBounds(0, 0, 100, 100);
117
- ```
118
-
119
- ### Hatch Pattern Rendering
120
- ```typescript
121
- import { AcGiHatchStyle } from '@mlightcad/graphic-interface';
122
-
123
- // Configure hatch style
124
- const hatchStyle = new AcGiHatchStyle();
125
- hatchStyle.setPattern('ANSI31'); // Standard AutoCAD pattern
126
- hatchStyle.setScale(1.0);
127
- hatchStyle.setAngle(0);
128
- hatchStyle.setColor(4); // Cyan
129
- hatchStyle.setTransparency(0.5);
130
-
131
- // Apply hatch to an entity
132
- const hatchedEntity = renderer.renderEntityWithHatch(entity, hatchStyle);
133
- ```
134
-
135
- ### Image Rendering
136
- ```typescript
137
- import { AcGiImageStyle } from '@mlightcad/graphic-interface';
138
-
139
- // Configure image style
140
- const imageStyle = new AcGiImageStyle();
141
- imageStyle.setBrightness(1.0);
142
- imageStyle.setContrast(1.0);
143
- imageStyle.setFade(0.0);
144
- imageStyle.setTransparency(0.0);
145
- imageStyle.setClippingEnabled(false);
146
-
147
- // Render image with style
148
- const imageEntity = renderer.renderImage(imagePath, imageStyle);
149
- ```
150
-
151
- ### Custom Rendering Pipeline
152
- ```typescript
153
- import { AcGiRenderer, AcGiEntity } from '@mlightcad/graphic-interface';
154
-
155
- // Create a custom renderer
156
- class CustomRenderer extends AcGiRenderer {
157
- renderEntity(entity: AcDbEntity): AcGiEntity {
158
- // Custom rendering logic
159
- const drawable = super.renderEntity(entity);
160
-
161
- // Apply custom styling
162
- if (entity.getLayer() === 'HIGHLIGHT') {
163
- drawable.setHighlighted(true);
164
- }
165
-
166
- return drawable;
167
- }
168
-
169
- renderToCanvas(canvas: HTMLCanvasElement, entities: AcGiEntity[]) {
170
- const ctx = canvas.getContext('2d');
171
-
172
- entities.forEach(entity => {
173
- // Custom canvas rendering
174
- this.renderEntityToCanvas(ctx, entity);
175
- });
176
- }
177
- }
178
-
179
- // Use custom renderer
180
- const customRenderer = new CustomRenderer();
181
- const drawableEntities = entities.map(entity => customRenderer.renderEntity(entity));
182
- customRenderer.renderToCanvas(canvas, drawableEntities);
183
- ```
184
-
185
- ### Batch Rendering
186
- ```typescript
187
- import { AcGiRenderer } from '@mlightcad/graphic-interface';
188
-
189
- // Batch render multiple entities
190
- const renderer = new AcGiRenderer();
191
- const entities = [line1, circle1, polyline1, text1];
192
-
193
- // Render all entities with consistent styling
194
- const drawableEntities = renderer.renderEntities(entities, {
195
- defaultColor: 7, // White
196
- defaultLayer: '0',
197
- defaultLinetype: 'CONTINUOUS'
198
- });
199
-
200
- // Apply viewport transformations
201
- viewport.applyTransformations(drawableEntities);
202
- ```
203
-
204
- ## Dependencies
205
-
206
- - **@mlightcad/geometry-engine**: For geometric operations (peer dependency)
207
-
208
- ## API Documentation
209
-
210
- For detailed API documentation, visit the [RealDWG-Web documentation](https://mlight-lee.github.io/realdwg-web/).
211
-
212
- ## Contributing
213
-
1
+ # @mlightcad/graphic-interface
2
+
3
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
+ [![npm version](https://img.shields.io/npm/v/@mlightcad/graphic-interface.svg)](https://www.npmjs.com/package/@mlightcad/graphic-interface)
5
+
6
+ The graphic-interface package provides the graphics interface for controlling how AutoCAD entities are displayed on screen. This package offers a simplified API compared to AutoCAD ObjectARX's AcGi classes, making it more developer-friendly while maintaining the core functionality needed for rendering CAD entities.
7
+
8
+ ## Overview
9
+
10
+ This package provides the graphics interface layer that bridges the gap between the data model and the rendering system. It handles the conversion of AutoCAD entities into drawable objects and provides customization options for how objects are displayed, including colors, layers, visibility, and various rendering styles.
11
+
12
+ ## Key Features
13
+
14
+ - **Entity Rendering**: Convert AutoCAD entities to drawable objects
15
+ - **Style Customization**: Control colors, line styles, text styles, and point styles
16
+ - **View Management**: Handle different views and viewports
17
+ - **Arrow and Hatch Support**: Custom arrow types and hatch pattern rendering
18
+ - **Image Rendering**: Support for raster image display
19
+ - **Flexible Rendering**: Extensible rendering system for different output formats
20
+
21
+ ## Installation
22
+
23
+ ```bash
24
+ npm install @mlightcad/graphic-interface
25
+ ```
26
+
27
+ ## Key Classes
28
+
29
+ ### Core Rendering Classes
30
+ - **AcGiRenderer**: Main interface for rendering entities to drawable objects
31
+ - **AcGiEntity**: Base class for drawable objects that can be rendered
32
+ - **AcGiView**: Represents a view with camera and projection settings
33
+ - **AcGiViewport**: Manages viewport settings and clipping
34
+
35
+ ### Style Classes
36
+ - **AcGiArrowType**: Defines different arrow types for dimensions and leaders
37
+ - **AcGiHatchStyle**: Controls hatch pattern rendering and appearance
38
+ - **AcGiImageStyle**: Manages raster image display properties
39
+ - **AcGiLineStyle**: Defines line styles including dash patterns and widths
40
+ - **AcGiPointStyle**: Controls point entity display appearance
41
+ - **AcGiTextStyle**: Manages text rendering properties and formatting
42
+
43
+ ## Usage Examples
44
+
45
+ ### Basic Entity Rendering
46
+ ```typescript
47
+ import { AcGiRenderer, AcGiEntity } from '@mlightcad/graphic-interface';
48
+ import { AcDbLine, AcGePoint3d } from '@mlightcad/data-model';
49
+
50
+ // Create a renderer
51
+ const renderer = new AcGiRenderer();
52
+
53
+ // Create an entity
54
+ const startPoint = new AcGePoint3d(0, 0, 0);
55
+ const endPoint = new AcGePoint3d(10, 10, 0);
56
+ const line = new AcDbLine(startPoint, endPoint);
57
+
58
+ // Render the entity
59
+ const drawableEntity = renderer.renderEntity(line);
60
+ ```
61
+
62
+ ### Style Configuration
63
+ ```typescript
64
+ import {
65
+ AcGiLineStyle,
66
+ AcGiTextStyle,
67
+ AcGiPointStyle,
68
+ AcGiArrowType
69
+ } from '@mlightcad/graphic-interface';
70
+
71
+ // Configure line style
72
+ const lineStyle = new AcGiLineStyle();
73
+ lineStyle.setColor(1); // Red
74
+ lineStyle.setWidth(2.0);
75
+ lineStyle.setDashPattern([10, 5, 5, 5]); // Dashed line
76
+
77
+ // Configure text style
78
+ const textStyle = new AcGiTextStyle();
79
+ textStyle.setFont('Arial');
80
+ textStyle.setHeight(12);
81
+ textStyle.setColor(2); // Yellow
82
+ textStyle.setBold(true);
83
+
84
+ // Configure point style
85
+ const pointStyle = new AcGiPointStyle();
86
+ pointStyle.setSize(5);
87
+ pointStyle.setShape('Circle');
88
+ pointStyle.setColor(3); // Green
89
+
90
+ // Configure arrow style
91
+ const arrowStyle = new AcGiArrowType();
92
+ arrowStyle.setType('ClosedFilled');
93
+ arrowStyle.setSize(3);
94
+ arrowStyle.setColor(1); // Red
95
+ ```
96
+
97
+ ### View and Viewport Management
98
+ ```typescript
99
+ import { AcGiView, AcGiViewport, AcGePoint3d } from '@mlightcad/graphic-interface';
100
+
101
+ // Create a view
102
+ const view = new AcGiView();
103
+ view.setEyePoint(new AcGePoint3d(0, 0, 100));
104
+ view.setTargetPoint(new AcGePoint3d(0, 0, 0));
105
+ view.setUpVector(new AcGeVector3d(0, 1, 0));
106
+
107
+ // Create a viewport
108
+ const viewport = new AcGiViewport();
109
+ viewport.setView(view);
110
+ viewport.setWidth(800);
111
+ viewport.setHeight(600);
112
+ viewport.setZoom(1.0);
113
+
114
+ // Set viewport properties
115
+ viewport.setClippingEnabled(true);
116
+ viewport.setClippingBounds(0, 0, 100, 100);
117
+ ```
118
+
119
+ ### Hatch Pattern Rendering
120
+ ```typescript
121
+ import { AcGiHatchStyle } from '@mlightcad/graphic-interface';
122
+
123
+ // Configure hatch style
124
+ const hatchStyle = new AcGiHatchStyle();
125
+ hatchStyle.setPattern('ANSI31'); // Standard AutoCAD pattern
126
+ hatchStyle.setScale(1.0);
127
+ hatchStyle.setAngle(0);
128
+ hatchStyle.setColor(4); // Cyan
129
+ hatchStyle.setTransparency(0.5);
130
+
131
+ // Apply hatch to an entity
132
+ const hatchedEntity = renderer.renderEntityWithHatch(entity, hatchStyle);
133
+ ```
134
+
135
+ ### Image Rendering
136
+ ```typescript
137
+ import { AcGiImageStyle } from '@mlightcad/graphic-interface';
138
+
139
+ // Configure image style
140
+ const imageStyle = new AcGiImageStyle();
141
+ imageStyle.setBrightness(1.0);
142
+ imageStyle.setContrast(1.0);
143
+ imageStyle.setFade(0.0);
144
+ imageStyle.setTransparency(0.0);
145
+ imageStyle.setClippingEnabled(false);
146
+
147
+ // Render image with style
148
+ const imageEntity = renderer.renderImage(imagePath, imageStyle);
149
+ ```
150
+
151
+ ### Custom Rendering Pipeline
152
+ ```typescript
153
+ import { AcGiRenderer, AcGiEntity } from '@mlightcad/graphic-interface';
154
+
155
+ // Create a custom renderer
156
+ class CustomRenderer extends AcGiRenderer {
157
+ renderEntity(entity: AcDbEntity): AcGiEntity {
158
+ // Custom rendering logic
159
+ const drawable = super.renderEntity(entity);
160
+
161
+ // Apply custom styling
162
+ if (entity.getLayer() === 'HIGHLIGHT') {
163
+ drawable.setHighlighted(true);
164
+ }
165
+
166
+ return drawable;
167
+ }
168
+
169
+ renderToCanvas(canvas: HTMLCanvasElement, entities: AcGiEntity[]) {
170
+ const ctx = canvas.getContext('2d');
171
+
172
+ entities.forEach(entity => {
173
+ // Custom canvas rendering
174
+ this.renderEntityToCanvas(ctx, entity);
175
+ });
176
+ }
177
+ }
178
+
179
+ // Use custom renderer
180
+ const customRenderer = new CustomRenderer();
181
+ const drawableEntities = entities.map(entity => customRenderer.renderEntity(entity));
182
+ customRenderer.renderToCanvas(canvas, drawableEntities);
183
+ ```
184
+
185
+ ### Batch Rendering
186
+ ```typescript
187
+ import { AcGiRenderer } from '@mlightcad/graphic-interface';
188
+
189
+ // Batch render multiple entities
190
+ const renderer = new AcGiRenderer();
191
+ const entities = [line1, circle1, polyline1, text1];
192
+
193
+ // Render all entities with consistent styling
194
+ const drawableEntities = renderer.renderEntities(entities, {
195
+ defaultColor: 7, // White
196
+ defaultLayer: '0',
197
+ defaultLinetype: 'CONTINUOUS'
198
+ });
199
+
200
+ // Apply viewport transformations
201
+ viewport.applyTransformations(drawableEntities);
202
+ ```
203
+
204
+ ## Dependencies
205
+
206
+ - **@mlightcad/geometry-engine**: For geometric operations (peer dependency)
207
+
208
+ ## API Documentation
209
+
210
+ For detailed API documentation, visit the [RealDWG-Web documentation](https://mlight-lee.github.io/realdwg-web/).
211
+
212
+ ## Contributing
213
+
214
214
  This package is part of the RealDWG-Web monorepo. Please refer to the main project README for contribution guidelines.
@@ -57,5 +57,26 @@ export interface AcGiEntity {
57
57
  * @returns Return a clone of this object and optionally all descendants.
58
58
  */
59
59
  fastDeepClone(): AcGiEntity;
60
+ /**
61
+ * Optionally merges same-material drawable leaves so later
62
+ * {@link fastDeepClone} copies far fewer geometries.
63
+ *
64
+ * Used by block-reference template caching. Must be called before the INSERT
65
+ * transform is applied while the entity is still at identity. Implementations
66
+ * that do not support compaction may omit this method.
67
+ *
68
+ * @returns Nothing.
69
+ */
70
+ compactForInstancing?(): void;
71
+ /**
72
+ * Optionally releases GPU/CPU resources owned by this entity.
73
+ *
74
+ * Used when clearing the block rendering cache. Implementations that do not
75
+ * own disposable resources may omit this method. Shared materials from a
76
+ * style cache should not be disposed here unless the implementation owns them.
77
+ *
78
+ * @returns Nothing.
79
+ */
80
+ dispose?(): void;
60
81
  }
61
82
  //# sourceMappingURL=AcGiEntity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AcGiEntity.d.ts","sourceRoot":"","sources":["../src/AcGiEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,QAAQ,IAAI,MAAM,CAAA;IACtB,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAC;IAE3B;;;OAGG;IACH,IAAI,OAAO,IAAI,MAAM,CAAA;IACrB,IAAI,OAAO,CAAC,KAAK,EAAE,MAAM,EAAC;IAE1B;;OAEG;IACH,IAAI,SAAS,IAAI,MAAM,CAAA;IACvB,IAAI,SAAS,CAAC,KAAK,EAAE,MAAM,EAAC;IAE5B;;OAEG;IACH,IAAI,OAAO,IAAI,OAAO,CAAA;IACtB,IAAI,OAAO,CAAC,KAAK,EAAE,OAAO,EAAC;IAE3B;;OAEG;IACH,IAAI,QAAQ,IAAI,MAAM,CAAA;IACtB,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAC;IAE3B;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAAA;IAEjC;;;OAGG;IACH,WAAW,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAA;IAEvC;;OAEG;IACH,SAAS,IAAI,IAAI,CAAA;IAEjB;;OAEG;IACH,WAAW,IAAI,IAAI,CAAA;IAEnB;;;;;;;OAOG;IACH,aAAa,IAAI,UAAU,CAAA;CAC5B"}
1
+ {"version":3,"file":"AcGiEntity.d.ts","sourceRoot":"","sources":["../src/AcGiEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,QAAQ,IAAI,MAAM,CAAA;IACtB,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAC;IAE3B;;;OAGG;IACH,IAAI,OAAO,IAAI,MAAM,CAAA;IACrB,IAAI,OAAO,CAAC,KAAK,EAAE,MAAM,EAAC;IAE1B;;OAEG;IACH,IAAI,SAAS,IAAI,MAAM,CAAA;IACvB,IAAI,SAAS,CAAC,KAAK,EAAE,MAAM,EAAC;IAE5B;;OAEG;IACH,IAAI,OAAO,IAAI,OAAO,CAAA;IACtB,IAAI,OAAO,CAAC,KAAK,EAAE,OAAO,EAAC;IAE3B;;OAEG;IACH,IAAI,QAAQ,IAAI,MAAM,CAAA;IACtB,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAC;IAE3B;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAAA;IAEjC;;;OAGG;IACH,WAAW,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAA;IAEvC;;OAEG;IACH,SAAS,IAAI,IAAI,CAAA;IAEjB;;OAEG;IACH,WAAW,IAAI,IAAI,CAAA;IAEnB;;;;;;;OAOG;IACH,aAAa,IAAI,UAAU,CAAA;IAE3B;;;;;;;;;OASG;IACH,oBAAoB,CAAC,IAAI,IAAI,CAAA;IAE7B;;;;;;;;OAQG;IACH,OAAO,CAAC,IAAI,IAAI,CAAA;CACjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlightcad/graphic-interface",
3
- "version": "3.12.0",
3
+ "version": "3.12.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -33,8 +33,8 @@
33
33
  "require": "./dist/graphic-interface.umd.cjs"
34
34
  },
35
35
  "peerDependencies": {
36
- "@mlightcad/common": "1.12.0",
37
- "@mlightcad/geometry-engine": "3.12.0"
36
+ "@mlightcad/common": "1.12.2",
37
+ "@mlightcad/geometry-engine": "3.12.2"
38
38
  },
39
39
  "scripts": {
40
40
  "clean": "rimraf dist lib tsconfig.tsbuildinfo",