@2112-lab/central-plant 0.1.17 → 0.1.18

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.
@@ -15558,17 +15558,9 @@ var SceneInitializationManager = /*#__PURE__*/function () {
15558
15558
  this.sceneViewer.controls.maxDistance = 20;
15559
15559
  this.sceneViewer.controls.maxPolarAngle = Math.PI / 1.5;
15560
15560
  // Configure auto-rotation (default: enabled)
15561
- this.sceneViewer.controls.autoRotate = true;
15561
+ this.sceneViewer.controls.autoRotate = false;
15562
15562
  this.sceneViewer.controls.autoRotateSpeed = 0.5; // Rotation speed (default is 1.0)
15563
15563
 
15564
- // // Add event listener to turn off auto-rotation when user interacts with controls
15565
- // component.controls.addEventListener('start', () => {
15566
- // if (component.controls.autoRotate) {
15567
- // component.controls.autoRotate = false
15568
- // logger.info('Auto-rotation disabled due to user interaction')
15569
- // }
15570
- // })
15571
-
15572
15564
  logger.info('Orbit controls initialized with auto-rotation');
15573
15565
  }
15574
15566
 
@@ -21455,7 +21447,7 @@ var SceneOperationsManager = /*#__PURE__*/function () {
21455
21447
  case 0:
21456
21448
  component = this.sceneViewer;
21457
21449
  _context6.p = 1;
21458
- defaultCentralPlantUrl = component.$config.defaultCentralPlantUrl;
21450
+ defaultCentralPlantUrl = './mock-data/cp-01-01.json';
21459
21451
  _context6.n = 2;
21460
21452
  return fetch(defaultCentralPlantUrl);
21461
21453
  case 2:
@@ -252,17 +252,9 @@ var SceneInitializationManager = /*#__PURE__*/function () {
252
252
  this.sceneViewer.controls.maxDistance = 20;
253
253
  this.sceneViewer.controls.maxPolarAngle = Math.PI / 1.5;
254
254
  // Configure auto-rotation (default: enabled)
255
- this.sceneViewer.controls.autoRotate = true;
255
+ this.sceneViewer.controls.autoRotate = false;
256
256
  this.sceneViewer.controls.autoRotateSpeed = 0.5; // Rotation speed (default is 1.0)
257
257
 
258
- // // Add event listener to turn off auto-rotation when user interacts with controls
259
- // component.controls.addEventListener('start', () => {
260
- // if (component.controls.autoRotate) {
261
- // component.controls.autoRotate = false
262
- // logger.info('Auto-rotation disabled due to user interaction')
263
- // }
264
- // })
265
-
266
258
  debugLogger.logger.info('Orbit controls initialized with auto-rotation');
267
259
  }
268
260
 
@@ -1098,7 +1098,7 @@ var SceneOperationsManager = /*#__PURE__*/function () {
1098
1098
  case 0:
1099
1099
  component = this.sceneViewer;
1100
1100
  _context6.p = 1;
1101
- defaultCentralPlantUrl = component.$config.defaultCentralPlantUrl;
1101
+ defaultCentralPlantUrl = './mock-data/cp-01-01.json';
1102
1102
  _context6.n = 2;
1103
1103
  return fetch(defaultCentralPlantUrl);
1104
1104
  case 2:
@@ -228,17 +228,9 @@ var SceneInitializationManager = /*#__PURE__*/function () {
228
228
  this.sceneViewer.controls.maxDistance = 20;
229
229
  this.sceneViewer.controls.maxPolarAngle = Math.PI / 1.5;
230
230
  // Configure auto-rotation (default: enabled)
231
- this.sceneViewer.controls.autoRotate = true;
231
+ this.sceneViewer.controls.autoRotate = false;
232
232
  this.sceneViewer.controls.autoRotateSpeed = 0.5; // Rotation speed (default is 1.0)
233
233
 
234
- // // Add event listener to turn off auto-rotation when user interacts with controls
235
- // component.controls.addEventListener('start', () => {
236
- // if (component.controls.autoRotate) {
237
- // component.controls.autoRotate = false
238
- // logger.info('Auto-rotation disabled due to user interaction')
239
- // }
240
- // })
241
-
242
234
  logger.info('Orbit controls initialized with auto-rotation');
243
235
  }
244
236
 
@@ -1074,7 +1074,7 @@ var SceneOperationsManager = /*#__PURE__*/function () {
1074
1074
  case 0:
1075
1075
  component = this.sceneViewer;
1076
1076
  _context6.p = 1;
1077
- defaultCentralPlantUrl = component.$config.defaultCentralPlantUrl;
1077
+ defaultCentralPlantUrl = './mock-data/cp-01-01.json';
1078
1078
  _context6.n = 2;
1079
1079
  return fetch(defaultCentralPlantUrl);
1080
1080
  case 2:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2112-lab/central-plant",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "Utility modules for the Central Plant Application",
5
5
  "main": "dist/bundle/index.js",
6
6
  "module": "dist/esm/index.js",