node-red-contrib-mobius-flow-base 2.5.86-beta.30 → 2.5.86-beta.34
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.
|
@@ -34,7 +34,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
34
34
|
<label for="node-input-connection"><i class="fa fa-globe"></i> MOBiUS</label>
|
|
35
35
|
<input type="text" id="node-input-connection">
|
|
36
36
|
</div>
|
|
37
|
-
<div id="node-input-
|
|
37
|
+
<div id="node-input-mobjects-container-row" class="form-row node-input-mobjects-container-row">
|
|
38
38
|
<label for="node-input-mobjects-container"><i class="fa fa-bars"></i> Objects</label>
|
|
39
39
|
<ol id="node-input-mobjects-container"></ol>
|
|
40
40
|
</div>
|
|
@@ -228,7 +228,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
228
228
|
$("#node-search-return").addClass('disabled');
|
|
229
229
|
$("#node-search-accept").addClass('disabled');
|
|
230
230
|
$("#instance-search-row").hide();
|
|
231
|
-
$('#node-input-
|
|
231
|
+
$('#node-input-mobjects-container-row').show();
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
//Function to update if accept button is grade out and functions based on conditions of fields
|
|
@@ -272,7 +272,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
272
272
|
$("#node-search-return").addClass('disabled');
|
|
273
273
|
$("#node-search-accept").addClass('disabled');
|
|
274
274
|
$("#instance-search-row").hide();
|
|
275
|
-
$('#node-input-
|
|
275
|
+
$('#node-input-mobjects-container-row').show();
|
|
276
276
|
});
|
|
277
277
|
$("#node-search-accept").click(function () { //Accept button clicked
|
|
278
278
|
if (readyToAccept) {
|
|
@@ -319,7 +319,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
var row = $('<div>URI</div>').appendTo(container);
|
|
322
|
-
var uriField = $('<input/>',{class: "node-input-mobject-uri", type: "text", style: "width:
|
|
322
|
+
var uriField = $('<input/>',{class: "node-input-mobject-uri", type: "text", style: "width: 170px; margin-left: 5px; text-align: left;"}).appendTo(row);
|
|
323
323
|
row.append(' - ');
|
|
324
324
|
|
|
325
325
|
// *** MOBSEARCH *** //
|
|
@@ -336,12 +336,12 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
336
336
|
// *** MOBSEARCH *** //
|
|
337
337
|
|
|
338
338
|
if (!node.mobjects[i]) {
|
|
339
|
-
node.mobjects[i] = {uri: '',
|
|
339
|
+
node.mobjects[i] = {uri: '', comment: ''}
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
searchField.click(function () {
|
|
343
343
|
globalSubscriptionIndex = i;
|
|
344
|
-
$('#node-input-
|
|
344
|
+
$('#node-input-mobjects-container-row').hide();
|
|
345
345
|
$("#instance-search-sid").val('');
|
|
346
346
|
$("#instance-search-pid").val('');
|
|
347
347
|
$("#instance-search-ins").val('');
|
|
@@ -362,10 +362,11 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
362
362
|
// *** MOBSEARCH *** //
|
|
363
363
|
|
|
364
364
|
function updateList() {
|
|
365
|
-
$("#node-input-
|
|
365
|
+
$("#node-input-mobjects-container").editableList('empty');
|
|
366
366
|
for (let i = 0; i < node.mobjects.length; i++) {
|
|
367
367
|
let mobject = node.mobjects[i];
|
|
368
|
-
$("#node-input-
|
|
368
|
+
$("#node-input-mobjects-container").editableList('addItem', mobject);
|
|
369
|
+
$("#node-input-mobjects-container").editableList('resizeItem', mobject);
|
|
369
370
|
}
|
|
370
371
|
}
|
|
371
372
|
updateList()
|
|
@@ -373,12 +374,12 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
373
374
|
// *** END MOBSEARCH *** //
|
|
374
375
|
},
|
|
375
376
|
oneditresize(size) {
|
|
376
|
-
var rows = $("#dialog-form>div:not(.node-input-mobjects-container
|
|
377
|
+
var rows = $("#dialog-form>div:not(.node-input-mobjects-container)");
|
|
377
378
|
var height = size.height;
|
|
378
379
|
for (var i=0; i<rows.size(); i++) {
|
|
379
380
|
height -= $(rows[i]).outerHeight(true);
|
|
380
381
|
}
|
|
381
|
-
var editorRow = $("#dialog-form>div.node-input-mobjects-container
|
|
382
|
+
var editorRow = $("#dialog-form>div.node-input-mobjects-container");
|
|
382
383
|
height -= 4 * ((parseInt(editorRow.css("marginTop"))+parseInt(editorRow.css("marginBottom"))));
|
|
383
384
|
|
|
384
385
|
$("#node-input-mobjects-container").editableList('height',height);
|