@2112-lab/central-plant 0.1.91 → 0.1.92
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/dist/bundle/index.js +476 -147
- package/dist/cjs/src/core/centralPlant.js +474 -142
- package/dist/cjs/src/managers/controls/componentDragManager.js +1 -2
- package/dist/cjs/src/utils/ioDeviceUtils.js +1 -3
- package/dist/esm/src/core/centralPlant.js +475 -143
- package/dist/esm/src/managers/controls/componentDragManager.js +1 -2
- package/dist/esm/src/utils/ioDeviceUtils.js +1 -3
- package/dist/index.d.ts +59 -1
- package/package.json +1 -1
|
@@ -413,8 +413,7 @@ var ComponentDragManager = /*#__PURE__*/function (_BaseDisposable) {
|
|
|
413
413
|
// ioConfig can use either 'states' (preferred) or legacy 'dataPoints' as the array key
|
|
414
414
|
dataPoints: ((_deviceData$ioConfig = deviceData.ioConfig) === null || _deviceData$ioConfig === void 0 ? void 0 : _deviceData$ioConfig.states) || ((_deviceData$ioConfig2 = deviceData.ioConfig) === null || _deviceData$ioConfig2 === void 0 ? void 0 : _deviceData$ioConfig2.dataPoints) || [],
|
|
415
415
|
// Device-level I/O direction: 'input' means the user can write state via the tooltip
|
|
416
|
-
ioDirection: ((_deviceData$ioConfig3 = deviceData.ioConfig) === null || _deviceData$ioConfig3 === void 0 ? void 0 : _deviceData$ioConfig3.direction) || 'output'
|
|
417
|
-
signalOutputs: attachment.signalOutputs || []
|
|
416
|
+
ioDirection: ((_deviceData$ioConfig3 = deviceData.ioConfig) === null || _deviceData$ioConfig3 === void 0 ? void 0 : _deviceData$ioConfig3.direction) || 'output'
|
|
418
417
|
};
|
|
419
418
|
if ((_attachment$attachmen = attachment.attachmentPoint) !== null && _attachment$attachmen !== void 0 && _attachment$attachmen.position) {
|
|
420
419
|
pos = attachment.attachmentPoint.position;
|
|
@@ -119,9 +119,7 @@ function _attachIODevicesToComponent() {
|
|
|
119
119
|
// ioConfig can use either 'states' (preferred) or legacy 'dataPoints' as the array key
|
|
120
120
|
dataPoints: ((_deviceData$ioConfig = deviceData.ioConfig) === null || _deviceData$ioConfig === void 0 ? void 0 : _deviceData$ioConfig.states) || ((_deviceData$ioConfig2 = deviceData.ioConfig) === null || _deviceData$ioConfig2 === void 0 ? void 0 : _deviceData$ioConfig2.dataPoints) || [],
|
|
121
121
|
// Device-level I/O direction: 'input' means the user can write state via the tooltip
|
|
122
|
-
ioDirection: ((_deviceData$ioConfig3 = deviceData.ioConfig) === null || _deviceData$ioConfig3 === void 0 ? void 0 : _deviceData$ioConfig3.direction) || 'output'
|
|
123
|
-
// Signal wiring sourced from this attachment (for state propagation reference)
|
|
124
|
-
signalOutputs: attachment.signalOutputs || []
|
|
122
|
+
ioDirection: ((_deviceData$ioConfig3 = deviceData.ioConfig) === null || _deviceData$ioConfig3 === void 0 ? void 0 : _deviceData$ioConfig3.direction) || 'output'
|
|
125
123
|
};
|
|
126
124
|
|
|
127
125
|
// Position at the attachment point
|