Fixed advanced sliders

This commit is contained in:
2026-03-15 21:31:01 +01:00
parent 7686341107
commit 43544ea6d5
40 changed files with 374 additions and 298 deletions

View File

@@ -5396,7 +5396,7 @@
var Index = {};
var name = "morphux";
var version = "2026.3.1";
var version = "2025.11.5";
var description = "Standardized Morphix UX framework.";
var main = "dist/Index.js";
var types = "dist/index.d.ts";
@@ -5446,7 +5446,7 @@
var CE = {};
Object.defineProperty(CE, "__esModule", { value: true });
CE.ce = void 0;
CE.ce = ce;
function ce(tagName, classList, attributes, innerText, innerHTML, style) {
var _a;
var element = document.createElement(tagName);
@@ -5470,7 +5470,6 @@
element.style[key] = style[key];
return element;
}
CE.ce = ce;
var baseComponent = {};
@@ -5571,7 +5570,7 @@
var TextHighlighter = {};
Object.defineProperty(TextHighlighter, "__esModule", { value: true });
TextHighlighter.generateTextHighlights = void 0;
TextHighlighter.generateTextHighlights = generateTextHighlights;
function generateTextHighlights(originalText, additionalClassnames) {
var _a;
if (additionalClassnames === void 0) { additionalClassnames = []; }
@@ -5605,7 +5604,6 @@
}
return div;
}
TextHighlighter.generateTextHighlights = generateTextHighlights;
var Sortable$2 = {exports: {}};
@@ -10815,16 +10813,16 @@
var Utils = {};
Object.defineProperty(Utils, "__esModule", { value: true });
Utils.delay = Utils.blackPixel = Utils.isMobile = void 0;
Utils.blackPixel = void 0;
Utils.isMobile = isMobile;
Utils.delay = delay;
function isMobile() {
return /Android|iPhone|iPad|iPod|Opera Mini|IEMobile|WPDesktop/i.test(navigator.userAgent);
}
Utils.isMobile = isMobile;
Utils.blackPixel = 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==';
function delay(duration) {
return new Promise(function (resolve) { return setTimeout(resolve, duration); });
}
Utils.delay = delay;
var hasRequiredComponent_ImageViewer;
@@ -10856,8 +10854,8 @@
});
};
var __generator = (commonjsGlobal && commonjsGlobal.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
@@ -13638,8 +13636,8 @@
});
};
var __generator = (commonjsGlobal && commonjsGlobal.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
@@ -14142,7 +14140,7 @@
if (hasRequiredFeature_Alert) return Feature_Alert;
hasRequiredFeature_Alert = 1;
Object.defineProperty(Feature_Alert, "__esModule", { value: true });
Feature_Alert.FeatureAlert = void 0;
Feature_Alert.FeatureAlert = FeatureAlert;
var Index_1 = requireIndex();
function FeatureAlert(options, callback) {
return new Promise(function (resolve) {
@@ -14163,7 +14161,6 @@
dialog.on('ok', function () { return res(); });
});
}
Feature_Alert.FeatureAlert = FeatureAlert;
return Feature_Alert;
}
@@ -14176,7 +14173,7 @@
if (hasRequiredFeature_Confirm) return Feature_Confirm;
hasRequiredFeature_Confirm = 1;
Object.defineProperty(Feature_Confirm, "__esModule", { value: true });
Feature_Confirm.FeatureConfirm = void 0;
Feature_Confirm.FeatureConfirm = FeatureConfirm;
var Index_1 = requireIndex();
function FeatureConfirm(options, callback) {
return new Promise(function (resolve) {
@@ -14197,7 +14194,6 @@
dialog.on('ok', function () { return res(true); });
});
}
Feature_Confirm.FeatureConfirm = FeatureConfirm;
return Feature_Confirm;
}
@@ -14210,7 +14206,7 @@
if (hasRequiredFeature_Loader) return Feature_Loader;
hasRequiredFeature_Loader = 1;
Object.defineProperty(Feature_Loader, "__esModule", { value: true });
Feature_Loader.FeatureLoader = void 0;
Feature_Loader.FeatureLoader = FeatureLoader;
var Index_1 = requireIndex();
function FeatureLoader(options) {
var _a, _b;
@@ -14222,7 +14218,6 @@
else
removeExisting();
}
Feature_Loader.FeatureLoader = FeatureLoader;
function showLoader(message, progress) {
var loader = document.querySelector('.mux_loader');
if (loader == null) {
@@ -14282,7 +14277,7 @@
if (hasRequiredFeature_Notification) return Feature_Notification;
hasRequiredFeature_Notification = 1;
Object.defineProperty(Feature_Notification, "__esModule", { value: true });
Feature_Notification.FeatureNotification = void 0;
Feature_Notification.FeatureNotification = FeatureNotification;
var Index_1 = requireIndex();
var NotificationHandler = new (/** @class */ (function () {
function class_1() {
@@ -14355,7 +14350,6 @@
return;
return NotificationHandler.append(notification);
}
Feature_Notification.FeatureNotification = FeatureNotification;
return Feature_Notification;
}
@@ -14368,7 +14362,7 @@
if (hasRequiredFeature_Prompt) return Feature_Prompt;
hasRequiredFeature_Prompt = 1;
Object.defineProperty(Feature_Prompt, "__esModule", { value: true });
Feature_Prompt.FeaturePrompt = void 0;
Feature_Prompt.FeaturePrompt = FeaturePrompt;
var Index_1 = requireIndex();
function FeaturePrompt(options, callback) {
return new Promise(function (resolve) {
@@ -14414,7 +14408,6 @@
input.container.focus();
});
}
Feature_Prompt.FeaturePrompt = FeaturePrompt;
return Feature_Prompt;
}
@@ -14450,13 +14443,12 @@
var clone$1 = {};
Object.defineProperty(clone$1, "__esModule", { value: true });
clone$1.clone = void 0;
clone$1.clone = clone;
function clone(object) {
if (typeof object !== 'object')
return object;
return JSON.parse(JSON.stringify(object !== null && object !== void 0 ? object : {}));
}
clone$1.clone = clone;
(function (exports) {
Object.defineProperty(exports, "__esModule", { value: true });
@@ -14627,11 +14619,11 @@
entries.forEach(function (entry) {
if (entry.isIntersecting) {
_this.visible = true;
console.log('Calibration visible');
// console.log('Calibration visible');
}
else {
_this.visible = false;
console.log('Calibration not visible');
// console.log('Calibration not visible');
}
});
});
@@ -14653,8 +14645,8 @@
});
};
var __generator$1 = (commonjsGlobal && commonjsGlobal.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
@@ -14747,6 +14739,7 @@
lighting.Lighting = void 0;
var Lighting = /** @class */ (function () {
function Lighting(Main) {
this.autoLightingInput = document.querySelector('.ntsh-autolighting input');
this.gainInput = document.querySelector('.ntsh_lightingsettings-gain');
this.exposureInput = document.querySelector('.ntsh_lightingsettings-exposure');
this.whiteBalanceInput = document.querySelector('.ntsh_lightingsettings-whitebalance');
@@ -14754,30 +14747,46 @@
this.registerListeners();
}
Lighting.prototype.update = function (state) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
if (((_a = state === null || state === void 0 ? void 0 : state.parameters) === null || _a === void 0 ? void 0 : _a.dataAdvancedSliders) == null)
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
if (((_a = state === null || state === void 0 ? void 0 : state.parameters) === null || _a === void 0 ? void 0 : _a.advancedSliders) == null)
return;
var gainSliderIndex = (_b = state.parameters) === null || _b === void 0 ? void 0 : _b.dataAdvancedSliders.findIndex(function (slider) { return slider.sliderName === 'Gain'; });
var gainSlider = (_c = state.parameters) === null || _c === void 0 ? void 0 : _c.dataAdvancedSliders[gainSliderIndex !== null && gainSliderIndex !== void 0 ? gainSliderIndex : -1];
var exposureSliderIndex = (_d = state.parameters) === null || _d === void 0 ? void 0 : _d.dataAdvancedSliders.findIndex(function (slider) { return slider.sliderName === 'Exposure'; });
var exposureSlider = (_e = state.parameters) === null || _e === void 0 ? void 0 : _e.dataAdvancedSliders[exposureSliderIndex !== null && exposureSliderIndex !== void 0 ? exposureSliderIndex : -1];
var whiteBalanceSliderIndex = (_f = state.parameters) === null || _f === void 0 ? void 0 : _f.dataAdvancedSliders.findIndex(function (slider) { return slider.sliderName === 'WhiteBalance'; });
var whiteBalanceSlider = (_g = state.parameters) === null || _g === void 0 ? void 0 : _g.dataAdvancedSliders[whiteBalanceSliderIndex !== null && whiteBalanceSliderIndex !== void 0 ? whiteBalanceSliderIndex : -1];
var autoExposureIndex = (_b = state.parameters) === null || _b === void 0 ? void 0 : _b.advancedSliders.findIndex(function (slider) { return slider.sliderName === 'AutoExposure'; });
var autoExposureSlider = (_c = state.parameters) === null || _c === void 0 ? void 0 : _c.advancedSliders[autoExposureIndex !== null && autoExposureIndex !== void 0 ? autoExposureIndex : -1];
var gainSliderIndex = (_d = state.parameters) === null || _d === void 0 ? void 0 : _d.advancedSliders.findIndex(function (slider) { return slider.sliderName === 'Gain'; });
var gainSlider = (_e = state.parameters) === null || _e === void 0 ? void 0 : _e.advancedSliders[gainSliderIndex !== null && gainSliderIndex !== void 0 ? gainSliderIndex : -1];
var exposureSliderIndex = (_f = state.parameters) === null || _f === void 0 ? void 0 : _f.advancedSliders.findIndex(function (slider) { return slider.sliderName === 'Exposure'; });
var exposureSlider = (_g = state.parameters) === null || _g === void 0 ? void 0 : _g.advancedSliders[exposureSliderIndex !== null && exposureSliderIndex !== void 0 ? exposureSliderIndex : -1];
var whiteBalanceSliderIndex = (_h = state.parameters) === null || _h === void 0 ? void 0 : _h.advancedSliders.findIndex(function (slider) { return slider.sliderName === 'Whitebalance'; });
var whiteBalanceSlider = (_j = state.parameters) === null || _j === void 0 ? void 0 : _j.advancedSliders[whiteBalanceSliderIndex !== null && whiteBalanceSliderIndex !== void 0 ? whiteBalanceSliderIndex : -1];
this.autoLightingInput.checked = (autoExposureSlider === null || autoExposureSlider === void 0 ? void 0 : autoExposureSlider.outputValue) === 1;
this.gainInput.valueAsNumber =
(_h = gainSlider === null || gainSlider === void 0 ? void 0 : gainSlider.outputValue) !== null && _h !== void 0 ? _h : this.gainInput.valueAsNumber;
(_k = gainSlider === null || gainSlider === void 0 ? void 0 : gainSlider.outputValue) !== null && _k !== void 0 ? _k : this.gainInput.valueAsNumber;
this.exposureInput.valueAsNumber =
(_j = exposureSlider === null || exposureSlider === void 0 ? void 0 : exposureSlider.outputValue) !== null && _j !== void 0 ? _j : this.exposureInput.valueAsNumber;
(_l = exposureSlider === null || exposureSlider === void 0 ? void 0 : exposureSlider.outputValue) !== null && _l !== void 0 ? _l : this.exposureInput.valueAsNumber;
this.whiteBalanceInput.valueAsNumber =
(_k = whiteBalanceSlider === null || whiteBalanceSlider === void 0 ? void 0 : whiteBalanceSlider.outputValue) !== null && _k !== void 0 ? _k : this.whiteBalanceInput.valueAsNumber;
this.gainInput.setAttribute('index', (_l = gainSliderIndex === null || gainSliderIndex === void 0 ? void 0 : gainSliderIndex.toString()) !== null && _l !== void 0 ? _l : '-1');
this.exposureInput.setAttribute('index', (_m = exposureSliderIndex === null || exposureSliderIndex === void 0 ? void 0 : exposureSliderIndex.toString()) !== null && _m !== void 0 ? _m : '-1');
this.whiteBalanceInput.setAttribute('index', (_o = whiteBalanceSliderIndex === null || whiteBalanceSliderIndex === void 0 ? void 0 : whiteBalanceSliderIndex.toString()) !== null && _o !== void 0 ? _o : '-1');
(_m = whiteBalanceSlider === null || whiteBalanceSlider === void 0 ? void 0 : whiteBalanceSlider.outputValue) !== null && _m !== void 0 ? _m : this.whiteBalanceInput.valueAsNumber;
this.autoLightingInput.setAttribute('index', (_o = autoExposureIndex === null || autoExposureIndex === void 0 ? void 0 : autoExposureIndex.toString()) !== null && _o !== void 0 ? _o : '-1');
this.gainInput.setAttribute('index', (_p = gainSliderIndex === null || gainSliderIndex === void 0 ? void 0 : gainSliderIndex.toString()) !== null && _p !== void 0 ? _p : '-1');
this.exposureInput.setAttribute('index', (_q = exposureSliderIndex === null || exposureSliderIndex === void 0 ? void 0 : exposureSliderIndex.toString()) !== null && _q !== void 0 ? _q : '-1');
this.whiteBalanceInput.setAttribute('index', (_r = whiteBalanceSliderIndex === null || whiteBalanceSliderIndex === void 0 ? void 0 : whiteBalanceSliderIndex.toString()) !== null && _r !== void 0 ? _r : '-1');
};
Lighting.prototype.registerListeners = function () {
var _this = this;
this.autoLightingInput.onchange = function () {
var _a;
_this._Main.socket.emit('unityWebSocket', 'advancedParameterValue', parseInt((_a = _this.autoLightingInput.getAttribute('index')) !== null && _a !== void 0 ? _a : '-1'), _this.autoLightingInput.checked ? 1 : 0);
};
this.gainInput.onchange = function () {
var _a;
_this._Main.socket.emit('unityWebSocket', 'dataAdvancedParameterValue', parseInt((_a = _this.gainInput.getAttribute('index')) !== null && _a !== void 0 ? _a : '-1'), _this.gainInput.valueAsNumber);
_this._Main.socket.emit('unityWebSocket', 'advancedParameterValue', parseInt((_a = _this.gainInput.getAttribute('index')) !== null && _a !== void 0 ? _a : '-1'), _this.gainInput.valueAsNumber);
};
this.exposureInput.onchange = function () {
var _a;
_this._Main.socket.emit('unityWebSocket', 'advancedParameterValue', parseInt((_a = _this.exposureInput.getAttribute('index')) !== null && _a !== void 0 ? _a : '-1'), _this.exposureInput.valueAsNumber);
};
this.whiteBalanceInput.onchange = function () {
var _a;
_this._Main.socket.emit('unityWebSocket', 'advancedParameterValue', parseInt((_a = _this.whiteBalanceInput.getAttribute('index')) !== null && _a !== void 0 ? _a : '-1'), _this.whiteBalanceInput.valueAsNumber);
};
};
return Lighting;
@@ -14799,16 +14808,16 @@
}
Sound.prototype.update = function (state) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
if (((_a = state === null || state === void 0 ? void 0 : state.parameters) === null || _a === void 0 ? void 0 : _a.dataSliders) == null)
if (((_a = state === null || state === void 0 ? void 0 : state.parameters) === null || _a === void 0 ? void 0 : _a.sliders) == null)
return;
var volumeSliderIndex = (_b = state.parameters) === null || _b === void 0 ? void 0 : _b.dataSliders.findIndex(function (slider) { return slider.sliderName === 'Volume'; });
var volumeSlider = (_c = state.parameters) === null || _c === void 0 ? void 0 : _c.dataSliders[volumeSliderIndex !== null && volumeSliderIndex !== void 0 ? volumeSliderIndex : -1];
var eqLowSliderIndex = (_d = state.parameters) === null || _d === void 0 ? void 0 : _d.dataSliders.findIndex(function (slider) { return slider.sliderName === 'EQ_Low'; });
var eqLowSlider = (_e = state.parameters) === null || _e === void 0 ? void 0 : _e.dataSliders[eqLowSliderIndex !== null && eqLowSliderIndex !== void 0 ? eqLowSliderIndex : -1];
var eqMidSliderIndex = (_f = state.parameters) === null || _f === void 0 ? void 0 : _f.dataSliders.findIndex(function (slider) { return slider.sliderName === 'EQ_Mid'; });
var eqMidSlider = (_g = state.parameters) === null || _g === void 0 ? void 0 : _g.dataSliders[eqMidSliderIndex !== null && eqMidSliderIndex !== void 0 ? eqMidSliderIndex : -1];
var eqHighSliderIndex = (_h = state.parameters) === null || _h === void 0 ? void 0 : _h.dataSliders.findIndex(function (slider) { return slider.sliderName === 'EQ_High'; });
var eqHighSlider = (_j = state.parameters) === null || _j === void 0 ? void 0 : _j.dataSliders[eqHighSliderIndex !== null && eqHighSliderIndex !== void 0 ? eqHighSliderIndex : -1];
var volumeSliderIndex = (_b = state.parameters) === null || _b === void 0 ? void 0 : _b.sliders.findIndex(function (slider) { return slider.sliderName === 'Volume'; });
var volumeSlider = (_c = state.parameters) === null || _c === void 0 ? void 0 : _c.sliders[volumeSliderIndex !== null && volumeSliderIndex !== void 0 ? volumeSliderIndex : -1];
var eqLowSliderIndex = (_d = state.parameters) === null || _d === void 0 ? void 0 : _d.sliders.findIndex(function (slider) { return slider.sliderName === 'EQ_Low'; });
var eqLowSlider = (_e = state.parameters) === null || _e === void 0 ? void 0 : _e.sliders[eqLowSliderIndex !== null && eqLowSliderIndex !== void 0 ? eqLowSliderIndex : -1];
var eqMidSliderIndex = (_f = state.parameters) === null || _f === void 0 ? void 0 : _f.sliders.findIndex(function (slider) { return slider.sliderName === 'EQ_Mid'; });
var eqMidSlider = (_g = state.parameters) === null || _g === void 0 ? void 0 : _g.sliders[eqMidSliderIndex !== null && eqMidSliderIndex !== void 0 ? eqMidSliderIndex : -1];
var eqHighSliderIndex = (_h = state.parameters) === null || _h === void 0 ? void 0 : _h.sliders.findIndex(function (slider) { return slider.sliderName === 'EQ_High'; });
var eqHighSlider = (_j = state.parameters) === null || _j === void 0 ? void 0 : _j.sliders[eqHighSliderIndex !== null && eqHighSliderIndex !== void 0 ? eqHighSliderIndex : -1];
this.volumeInput.valueAsNumber =
(_k = volumeSlider === null || volumeSlider === void 0 ? void 0 : volumeSlider.outputValue) !== null && _k !== void 0 ? _k : this.volumeInput.valueAsNumber;
this.eqLowInput.valueAsNumber =
@@ -14826,19 +14835,19 @@
var _this = this;
this.volumeInput.onchange = function () {
var _a;
_this._Main.socket.emit('unityWebSocket', 'dataParameterValue', parseInt((_a = _this.volumeInput.getAttribute('index')) !== null && _a !== void 0 ? _a : '-1'), _this.volumeInput.valueAsNumber);
_this._Main.socket.emit('unityWebSocket', 'parameterValue', parseInt((_a = _this.volumeInput.getAttribute('index')) !== null && _a !== void 0 ? _a : '-1'), _this.volumeInput.valueAsNumber);
};
this.eqLowInput.onchange = function () {
var _a;
_this._Main.socket.emit('unityWebSocket', 'dataParameterValue', parseInt((_a = _this.eqLowInput.getAttribute('index')) !== null && _a !== void 0 ? _a : '-1'), _this.eqLowInput.valueAsNumber);
_this._Main.socket.emit('unityWebSocket', 'parameterValue', parseInt((_a = _this.eqLowInput.getAttribute('index')) !== null && _a !== void 0 ? _a : '-1'), _this.eqLowInput.valueAsNumber);
};
this.eqMidInput.onchange = function () {
var _a;
_this._Main.socket.emit('unityWebSocket', 'dataParameterValue', parseInt((_a = _this.eqMidInput.getAttribute('index')) !== null && _a !== void 0 ? _a : '-1'), _this.eqMidInput.valueAsNumber);
_this._Main.socket.emit('unityWebSocket', 'parameterValue', parseInt((_a = _this.eqMidInput.getAttribute('index')) !== null && _a !== void 0 ? _a : '-1'), _this.eqMidInput.valueAsNumber);
};
this.eqHighInput.onchange = function () {
var _a;
_this._Main.socket.emit('unityWebSocket', 'dataParameterValue', parseInt((_a = _this.eqHighInput.getAttribute('index')) !== null && _a !== void 0 ? _a : '-1'), _this.eqHighInput.valueAsNumber);
_this._Main.socket.emit('unityWebSocket', 'parameterValue', parseInt((_a = _this.eqHighInput.getAttribute('index')) !== null && _a !== void 0 ? _a : '-1'), _this.eqHighInput.valueAsNumber);
};
};
return Sound;
@@ -14855,8 +14864,8 @@
});
};
var __generator = (commonjsGlobal && commonjsGlobal.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
@@ -14929,10 +14938,10 @@
_this.Timer.update(data);
});
};
Main.prototype.executeCommand = function (command, message, type) {
if (type === void 0) { type = 'unityRunner'; }
return __awaiter(this, void 0, void 0, function () {
Main.prototype.executeCommand = function (command_1, message_1) {
return __awaiter(this, arguments, void 0, function (command, message, type) {
var _this = this;
if (type === void 0) { type = 'unityRunner'; }
return __generator(this, function (_a) {
return [2 /*return*/, new Promise(function (resolve) { return __awaiter(_this, void 0, void 0, function () {
var confirmed;