@eturnity/eturnity_3d 7.48.2 → 7.48.3-EPDM-12619.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_3d",
3
3
  "private": false,
4
- "version": "7.48.2",
4
+ "version": "7.48.3-EPDM-12619.1",
5
5
  "files": [
6
6
  "dist",
7
7
  "src"
@@ -15,7 +15,7 @@
15
15
  "prettier": "prettier --write \"**/*.{js,vue}\""
16
16
  },
17
17
  "dependencies": {
18
- "@eturnity/eturnity_maths": "7.48.1",
18
+ "@eturnity/eturnity_maths": "7.48.2-EPDM-12619.0",
19
19
  "@originjs/vite-plugin-commonjs": "1.0.3",
20
20
  "core-js": "3.30.2",
21
21
  "cors": "2.8.5",
@@ -27,6 +27,10 @@ export default class EventManager {
27
27
  })
28
28
  }
29
29
 
30
+ removeAllListeners() {
31
+ this.listeners = {}
32
+ }
33
+
30
34
  // Dispatch an event and bubble it up to parent components
31
35
  emit(event, eventData) {
32
36
  //Check if event is available
@@ -130,7 +130,8 @@ export async function hydratePolygons({
130
130
  moduleField.data = {}
131
131
  moduleField.data.texture_img_url = moduleFieldResp.texture_img_url
132
132
  moduleField.data.col_spacing_mm = moduleFieldResp.col_spacing_mm
133
- moduleField.data.is_row_spacing_automatic = moduleFieldResp.is_row_spacing_automatic
133
+ moduleField.data.is_row_spacing_automatic =
134
+ moduleFieldResp.is_row_spacing_automatic
134
135
  moduleField.data.row_spacing_mm = moduleFieldResp.row_spacing_mm
135
136
  moduleField.data.row_spacing_hill_mm = moduleFieldResp.row_spacing_hill_mm
136
137
  moduleField.data.row_spacing_valley_mm =
@@ -187,10 +188,16 @@ export async function hydratePolygons({
187
188
  return { x: p[0], y: p[1], z: p[2] }
188
189
  })
189
190
  const panel = new Polygon(outline, '')
191
+ panel.id = module.module_uuid
190
192
  panel.index = module.index
191
193
  panel.status = module.status
192
194
  panel.clipped = module.clipped
193
195
  panel.moduleField = moduleField
196
+ panel.poolGroupUuid = module.project_variant_pool_group_uuid
197
+ if (panel.poolGroupUuid) {
198
+ panel.poolGroupUuidColor = `#${panel.poolGroupUuid.slice(0, 6)}`
199
+ }
200
+ panel.available = true
194
201
  switch (module.status) {
195
202
  case 'active':
196
203
  panel.layer = 'panel'