@kumologica/sdk 3.4.0-beta8 → 3.4.0-beta9

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "productName": "Kumologica Designer",
4
4
  "copyright": "Copyright 2020 Kumologica Pty Ltd, All Rights Reserved.",
5
5
  "author": "Kumologica Pty Ltd <contact@kumologica.com>",
6
- "version": "3.4.0-beta8",
6
+ "version": "3.4.0-beta9",
7
7
  "description": "Kumologica Designer, harnessing Serverless for your cloud integration needs",
8
8
  "main": "src/app/main.js",
9
9
  "files": [
@@ -64,9 +64,9 @@
64
64
  "license": "Proprietary",
65
65
  "dependencies": {
66
66
  "@electron/remote": "^2.0.8",
67
- "@kumologica/builder": "3.4.0-beta8",
68
- "@kumologica/devkit": "3.4.0-beta8",
69
- "@kumologica/runtime": "3.4.0-beta8",
67
+ "@kumologica/builder": "3.4.0-beta9",
68
+ "@kumologica/devkit": "3.4.0-beta9",
69
+ "@kumologica/runtime": "3.4.0-beta9",
70
70
  "adm-zip": "0.4.13",
71
71
  "ajv": "8.10.0",
72
72
  "archive-type": "^4.0.0",
@@ -8978,6 +8978,8 @@ RED.panels = (function() {
8978
8978
  scrollRight.removeClass('tab-disabled');
8979
8979
  }
8980
8980
  }
8981
+ // Hack: update the width of the terminal
8982
+ $('#workspace-terminal').width(ulWidth);
8981
8983
  }
8982
8984
  function onTabDblClick(evt) {
8983
8985
  evt.preventDefault();
@@ -9015,7 +9017,7 @@ RED.panels = (function() {
9015
9017
  // const panelNavigatorWidth = 220;
9016
9018
  // const tabNavigatorWidth = 21 * 2;
9017
9019
  // const totalLeftWidth = panelNavigatorWidth + tabNavigatorWidth;
9018
- // console.log(`scrollContainer.width = `, scrollContainer.width());
9020
+ // console.log(`[tabs::activateTabs] scrollContainer.width = `, scrollContainer.width());
9019
9021
  if (scrollAllowed) {
9020
9022
  // When starting the workspace, the width is 30, so we dont want to scroll. Just to make first tab fully visible and active
9021
9023
  if (scrollContainer.width() < 100 ){
@@ -9069,6 +9071,7 @@ RED.panels = (function() {
9069
9071
  }
9070
9072
 
9071
9073
  function getTabsMaxWidthAvailable() {
9074
+
9072
9075
  const workspaceWidth = $('#main-container').width();
9073
9076
 
9074
9077
  const paletteWidth = $('#palette').is(':hidden')? 0 : $('#palette').width();
@@ -9479,7 +9482,7 @@ RED.panels = (function() {
9479
9482
  .attr('dir', RED.text.bidi.resolveBaseTextDir(label));
9480
9483
  updateTabWidths();
9481
9484
  } else {
9482
- console.log('[tabs] Tab not found')
9485
+ // console.log('[tabs] Tab not found')
9483
9486
  }
9484
9487
 
9485
9488
  },
@@ -44590,8 +44593,8 @@ RED.touch.radialMenu = (function() {
44590
44593
  findTerminalById(activeTerminalID).show();
44591
44594
  }
44592
44595
  // set the height of the selected terminal like the previous one
44593
- console.log('[terminal] activeTerminalID=', activeTerminalID);
44594
- console.log('[terminal] activeTerminalHeight=', activeTerminalHeight);
44596
+ // console.log('[terminal] activeTerminalID=', activeTerminalID);
44597
+ // console.log('[terminal] activeTerminalHeight=', activeTerminalHeight);
44595
44598
  if (!activeTerminalHeight){
44596
44599
  activeTerminalHeight = DEFAULT_HEIGHT;
44597
44600
  }
@@ -44657,24 +44660,24 @@ RED.touch.radialMenu = (function() {
44657
44660
  //$('#terminal-separator').css('top', '4px');
44658
44661
  },
44659
44662
  drag: function (event, ui) {
44660
- console.log('[terminal] draggin. ui.position.top=', ui.position.top);
44663
+ // console.log('[terminal] draggin. ui.position.top=', ui.position.top);
44661
44664
 
44662
44665
 
44663
44666
  // update the height of terminal window
44664
44667
  newHeight = Math.max(activeTerminalHeight - ui.position.top, MIN_HEIGHT);
44665
- console.log('[terminal] newHeight', newHeight);
44668
+ // console.log('[terminal] newHeight', newHeight);
44666
44669
  $activeTerminalID.height(newHeight);
44667
44670
  ui.position.top = 0;
44668
44671
 
44669
44672
 
44670
44673
  if (newHeight <= 0) {
44671
- console.log('Dragging beyond limits....');
44674
+ // console.log('Dragging beyond limits....');
44672
44675
  hideTerminal();
44673
44676
  return false;
44674
44677
  }
44675
44678
  },
44676
44679
  stop: function (event, ui) {
44677
- console.log('[terminal] stop triggered! activeTerminalHeight=', newHeight);
44680
+ // console.log('[terminal] stop triggered! activeTerminalHeight=', newHeight);
44678
44681
  activeTerminalHeight = newHeight;
44679
44682
  // $activeTerminalID.height(newHeight);
44680
44683
  // $('#terminal-separator').css('top', '4px');