busroot-sdk 0.0.8-dev.2778251899 → 0.0.8-dev.2787657302
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/build/index.js +4 -8
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -528,14 +528,14 @@ var require_enums = __commonJS({
|
|
|
528
528
|
exports2.StationStatus = {
|
|
529
529
|
outOfShift: { label: "Out of Shift", colour: colours_1.chromaColours.disabled },
|
|
530
530
|
noSchedule: { label: "No Schedule", colour: colours_1.chromaColours.warning },
|
|
531
|
-
nonProductionSchedule: { label: "
|
|
531
|
+
nonProductionSchedule: { label: "Planned Non-Production", colour: colours_1.chromaColours.scheduled },
|
|
532
532
|
productionSchedule: { label: "Scheduled Production", colour: colours_1.chromaColours.running },
|
|
533
533
|
downtime: { label: "Unplanned Downtime", colour: colours_1.chromaColours.stopped },
|
|
534
534
|
disconnected: { label: "Connection Lost", colour: colours_1.chromaColours.disconnected },
|
|
535
535
|
futureOutOfShift: { label: "Out of Shift (Future)", colour: colours_1.chromaColours.disabled.darken(1) },
|
|
536
536
|
futureInShift: { label: "In Shift (Future)", colour: colours_1.chromaColours.disabled.darken(1) },
|
|
537
537
|
futureNoSchedule: { label: "Not Scheduled (Future)", colour: colours_1.chromaColours.warning.darken(1) },
|
|
538
|
-
futureNonProductionSchedule: { label: "
|
|
538
|
+
futureNonProductionSchedule: { label: "Planned Non-Production (Future)", colour: colours_1.chromaColours.scheduled.darken(1) },
|
|
539
539
|
futureProductionSchedule: { label: "Scheduled Production (Future)", colour: colours_1.chromaColours.running.darken(1) }
|
|
540
540
|
};
|
|
541
541
|
var DowntimeType;
|
|
@@ -10151,7 +10151,7 @@ var require_station4 = __commonJS({
|
|
|
10151
10151
|
"../../packages/common/build/view-models/station.js"(exports2) {
|
|
10152
10152
|
"use strict";
|
|
10153
10153
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
10154
|
-
exports2.StationWithSchedulesViewModel = exports2.StationViewModel = exports2.StationStates = exports2.
|
|
10154
|
+
exports2.StationWithSchedulesViewModel = exports2.StationViewModel = exports2.StationStates = exports2.StationState = void 0;
|
|
10155
10155
|
exports2.getStationState = getStationState;
|
|
10156
10156
|
var zod_1 = require("zod");
|
|
10157
10157
|
var schemas_1 = require_schemas();
|
|
@@ -10168,7 +10168,6 @@ var require_station4 = __commonJS({
|
|
|
10168
10168
|
order: zod_1.z.number(),
|
|
10169
10169
|
color: zod_1.z.string()
|
|
10170
10170
|
});
|
|
10171
|
-
exports2.SIGNAL_NON_PRODUCTION_LABEL = "Non-Production Signal";
|
|
10172
10171
|
exports2.StationStates = {
|
|
10173
10172
|
unknown: { code: "unknown", label: "Unknown", order: 7, color: enums_1.RagStatus.NA },
|
|
10174
10173
|
out_of_shift: { code: "out_of_shift", label: "Out of Shift", order: 6, color: enums_1.RagStatus.NA },
|
|
@@ -10242,10 +10241,7 @@ var require_station4 = __commonJS({
|
|
|
10242
10241
|
} else if (station.activeSchedule?.nonProductionReasonCode != null) {
|
|
10243
10242
|
state = exports2.StationStates.non_production;
|
|
10244
10243
|
} else if ((0, station_windows_1.signalNonProductionReasonCode)(station.lastStationWindow) != null) {
|
|
10245
|
-
state =
|
|
10246
|
-
...exports2.StationStates.non_production,
|
|
10247
|
-
label: exports2.SIGNAL_NON_PRODUCTION_LABEL
|
|
10248
|
-
};
|
|
10244
|
+
state = exports2.StationStates.non_production;
|
|
10249
10245
|
} else if (station.activeSchedule?.skuCode != null) {
|
|
10250
10246
|
state = exports2.StationStates.running;
|
|
10251
10247
|
} else {
|
package/package.json
CHANGED