@kumologica/sdk 3.4.0-beta4 → 3.4.0-beta7

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-beta4",
6
+ "version": "3.4.0-beta7",
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-beta4",
68
- "@kumologica/devkit": "3.4.0-beta4",
69
- "@kumologica/runtime": "3.4.0-beta4",
67
+ "@kumologica/builder": "3.4.0-beta7",
68
+ "@kumologica/devkit": "3.4.0-beta7",
69
+ "@kumologica/runtime": "3.4.0-beta7",
70
70
  "adm-zip": "0.4.13",
71
71
  "ajv": "8.10.0",
72
72
  "archive-type": "^4.0.0",
@@ -331,7 +331,7 @@ let devTemplate = [
331
331
  },
332
332
  },
333
333
  { label: 'Settings',
334
- accelerator: 'CmdOrCtrl+,',
334
+ accelerator: 'CmdOrCtrl+Y',
335
335
  click() {
336
336
  ipcMain.emit('core:view-settings');
337
337
  },
@@ -36,7 +36,8 @@ class ModalNodeLibrary {
36
36
  };
37
37
 
38
38
  this.window = new BrowserWindow(windowOptions);
39
-
39
+ require('@electron/remote/main').enable(this.window.webContents);
40
+
40
41
  // this.window.webContents.openDevTools();
41
42
 
42
43
  this.window.on('focus', () => this.window.webContents.send('focus'));
@@ -26549,6 +26549,8 @@ RED.sidebar.azure = (function () {
26549
26549
  ];
26550
26550
 
26551
26551
  try{
26552
+ if (!window.jqtree) return; // Hack - otherwise the nodeLibrary modal fail to load due to this library being missed
26553
+
26552
26554
  $('#exp-open-project').tree({
26553
26555
  data:data,
26554
26556
  autoOpen: true,
@@ -26565,7 +26567,11 @@ RED.sidebar.azure = (function () {
26565
26567
  usecontextmenu: true,
26566
26568
  closedIcon: $('<i class="icofont-rounded-right"></i>'),
26567
26569
  openedIcon: $('<i class="icofont-rounded-down"></i>'),
26568
- onCreateLi: function(node, $li) { }
26570
+ onCreateLi: function(node, $li) {
26571
+ if (node.id !== '__root__'){
26572
+ $li.find('.jqtree-title').before('<span class="icon tab-icon">T</span>');
26573
+ }
26574
+ }
26569
26575
  });
26570
26576
 
26571
26577
  // Add the context menu
@@ -35160,7 +35166,7 @@ RED.notifications = (function() {
35160
35166
  */
35161
35167
  function searchCommands() {
35162
35168
  return [
35163
- { type: 'command', title: 'Open Settings', action: 'core:settings:open', shortcut: `${CtrlOrCmd()} ,` },
35169
+ { type: 'command', title: 'Open Settings', action: 'core:settings:open', shortcut: `${CtrlOrCmd()} Y` },
35164
35170
  { type: 'command', title: 'Show Project Info', action: 'core:project-info' },
35165
35171
  { type: 'command', title: 'Run Test...', cb: () => {
35166
35172
  if (!$('.sidebar-test').is(':visible')){
@@ -35169,8 +35175,15 @@ RED.notifications = (function() {
35169
35175
 
35170
35176
  $('#test-sidebar-run-btn').click();
35171
35177
  } },
35178
+ { type: 'command', title: 'Open Log Viewer', cb: ()=> {
35179
+ $('#workspace-terminal').toggle()
35180
+ }, shortcut: `${CtrlOrCmd()} T` },
35172
35181
  { type: 'command', title: 'Import Flow', action: 'core:show-import-dialog', shortcut: `${CtrlOrCmd()} I` },
35173
35182
  { type: 'command', title: 'Export Flow', action: 'core:show-export-dialog', shortcut: `${CtrlOrCmd()} E` },
35183
+ { type: 'command', title: 'Help: Documentation', cb: ()=> {
35184
+ window.__kumologica.electron.shell.openExternal('https://docs.kumologica.com/docs/guide/Intro.html');
35185
+ },
35186
+ }
35174
35187
  ]
35175
35188
  }
35176
35189
 
@@ -44188,7 +44201,7 @@ RED.touch.radialMenu = (function() {
44188
44201
  RED.actions.invoke('core:deploy');
44189
44202
  });
44190
44203
 
44191
- // RED.popover.tooltip($('#btn-deploy'), 'Save & Deploy');
44204
+ RED.popover.tooltip($('#btn-deploy'), 'Save & Deploy');
44192
44205
  }
44193
44206
 
44194
44207
  function deployFlow() {
@@ -45404,7 +45417,8 @@ RED.touch.radialMenu = (function() {
45404
45417
  // Attach click event to launch the node library from the sidebar-footer
45405
45418
  $('#launch-node-library').click((event) => {
45406
45419
  event.preventDefault();
45407
- window.__kumologica.main.dispatch('show-node-library-modal', null);
45420
+ window.__kumologica.electron.shell.openExternal('https://kumologica.com/nodes/index.html');
45421
+ // window.__kumologica.main.dispatch('show-node-library-modal', null);
45408
45422
  });
45409
45423
  }
45410
45424
  return {