@kumologica/sdk 3.5.4 → 3.6.0-alpha10
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/cli/cli.js +31 -8
- package/cli/commands/open.js +166 -69
- package/cli/commands/run.js +167 -0
- package/cli/commands/serve.js +139 -0
- package/package.json +5 -5
- package/src/app/main-process/main-window.js +1 -0
- package/src/app/main-process/modal-home.js +1 -0
- package/src/app/main-process/modal-newproject.js +1 -0
- package/src/app/main-process/modal-newtab.js +1 -0
- package/src/app/main-process/modal-nodelibrary.js +1 -0
- package/src/app/main-process/modal-renameTab.js +1 -0
- package/src/app/main-process/modal-welcome.js +1 -0
- package/src/app/main.js +179 -141
- package/src/app/preload.js +225 -139
- package/src/app/ui/editor-client/public/red/red.js +1960 -794
- package/src/app/ui/editor-client/public/red/red.min.js +2 -2
- package/src/app/ui/editor-client/public/red/style.min.css +1 -1
- package/src/app/ui/editor-client/public/vendor/ace-linters/javascript-service.js +10 -2
- package/src/app/ui/editor-client/src/js/red.js +183 -179
- package/src/app/ui/editor-client/src/js/ui/common/commandBox.js +107 -0
- package/src/app/ui/editor-client/src/js/ui/common/searchBox.js +91 -90
- package/src/app/ui/editor-client/src/js/ui/modules.js +164 -0
- package/src/app/ui/editor-client/src/js/ui/search.js +171 -123
- package/src/app/ui/editor-client/src/js/ui/sidebar.js +1 -1
- package/src/app/ui/editor-client/src/js/ui/ui-settings.js +441 -426
- package/src/app/ui/editor-client/src/sass/editor.scss +746 -746
- package/src/app/ui/editor-client/src/sass/forms.scss +1 -1
- package/src/app/ui/editor-client/src/sass/search.scss +16 -2
- package/src/app/ui/editor-client/src/sass/sidebar.scss +1 -1
- package/src/app/ui/editor-client/src/sass/style.scss +72 -69
- package/src/app/ui/editor-client/src/sass/ui/common/commandBox.scss +100 -0
- package/src/app/ui/editor-client/src/sass/ui/common/searchBox.scss +3 -2
- package/src/app/ui/editor-client/src/sass/ui-settings.scss +22 -17
- package/src/app/ui/editor-client/src/vendor/ace-linters/build/javascript-service.js +10 -2
- package/src/app/ui/editor-client/templates/index.mst +2 -2
- package/src/server/DesignerServer.js +152 -153
|
@@ -57,7 +57,6 @@
|
|
|
57
57
|
.red-ui-editableList-container {
|
|
58
58
|
//border: 1px dashed #aaa;
|
|
59
59
|
border-top: 1px solid #ccc;
|
|
60
|
-
|
|
61
60
|
}
|
|
62
61
|
}
|
|
63
62
|
.red-ui-search-result {
|
|
@@ -159,7 +158,7 @@
|
|
|
159
158
|
border-right-color: #efefef;
|
|
160
159
|
}
|
|
161
160
|
&:after {
|
|
162
|
-
content:
|
|
161
|
+
content: "";
|
|
163
162
|
display: table;
|
|
164
163
|
clear: both;
|
|
165
164
|
}
|
|
@@ -232,3 +231,18 @@
|
|
|
232
231
|
margin-top: 1px;
|
|
233
232
|
left: -8px;
|
|
234
233
|
}
|
|
234
|
+
|
|
235
|
+
/*
|
|
236
|
+
* Modules
|
|
237
|
+
*/
|
|
238
|
+
|
|
239
|
+
.modules-dialog-container {
|
|
240
|
+
position: relative;
|
|
241
|
+
background: yellow;
|
|
242
|
+
width: 700px;
|
|
243
|
+
height: 200px;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.command-input-container {
|
|
247
|
+
padding: 3px;
|
|
248
|
+
}
|
|
@@ -14,77 +14,80 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
@import
|
|
18
|
-
@import
|
|
19
|
-
|
|
20
|
-
@import
|
|
21
|
-
|
|
22
|
-
@import
|
|
23
|
-
@import
|
|
24
|
-
@import
|
|
25
|
-
|
|
26
|
-
@import
|
|
27
|
-
|
|
28
|
-
@import
|
|
29
|
-
@import
|
|
30
|
-
@import
|
|
31
|
-
@import
|
|
32
|
-
@import
|
|
33
|
-
|
|
34
|
-
@import
|
|
35
|
-
|
|
36
|
-
@import
|
|
37
|
-
@import
|
|
38
|
-
@import
|
|
39
|
-
@import
|
|
40
|
-
@import
|
|
41
|
-
|
|
42
|
-
@import
|
|
43
|
-
@import
|
|
44
|
-
@import
|
|
45
|
-
@import
|
|
46
|
-
@import
|
|
47
|
-
@import
|
|
48
|
-
@import
|
|
49
|
-
@import
|
|
50
|
-
@import
|
|
51
|
-
@import
|
|
52
|
-
@import
|
|
53
|
-
@import
|
|
54
|
-
@import
|
|
55
|
-
@import
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
@import
|
|
63
|
-
@import
|
|
64
|
-
@import
|
|
65
|
-
|
|
66
|
-
@import
|
|
67
|
-
@import
|
|
68
|
-
@import
|
|
69
|
-
|
|
70
|
-
@import
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
@import
|
|
76
|
-
|
|
77
|
-
@import
|
|
78
|
-
@import
|
|
79
|
-
|
|
80
|
-
@import
|
|
81
|
-
@import
|
|
82
|
-
|
|
83
|
-
@import
|
|
17
|
+
@import "colors";
|
|
18
|
+
@import "mixins";
|
|
19
|
+
|
|
20
|
+
@import "forms";
|
|
21
|
+
|
|
22
|
+
@import "jquery";
|
|
23
|
+
@import "bootstrap";
|
|
24
|
+
@import "ace";
|
|
25
|
+
|
|
26
|
+
@import "dropdownMenu";
|
|
27
|
+
|
|
28
|
+
@import "header";
|
|
29
|
+
@import "palette";
|
|
30
|
+
@import "sidebar";
|
|
31
|
+
@import "workspace";
|
|
32
|
+
@import "workspaceToolbar";
|
|
33
|
+
|
|
34
|
+
@import "notifications";
|
|
35
|
+
|
|
36
|
+
@import "editor";
|
|
37
|
+
@import "library";
|
|
38
|
+
@import "search";
|
|
39
|
+
@import "project-info";
|
|
40
|
+
@import "ui-settings";
|
|
41
|
+
|
|
42
|
+
@import "panels";
|
|
43
|
+
@import "tabs";
|
|
44
|
+
@import "tab-config";
|
|
45
|
+
@import "tab-azure";
|
|
46
|
+
@import "tab-kumohub";
|
|
47
|
+
@import "tab-cloud";
|
|
48
|
+
@import "tab-context";
|
|
49
|
+
@import "tab-info";
|
|
50
|
+
@import "tab-test";
|
|
51
|
+
@import "tab-git";
|
|
52
|
+
@import "tab-ai";
|
|
53
|
+
@import "popover";
|
|
54
|
+
@import "flow";
|
|
55
|
+
@import "palette-editor";
|
|
56
|
+
@import "diff";
|
|
57
|
+
|
|
58
|
+
@import "userSettings";
|
|
59
|
+
|
|
60
|
+
@import "projects";
|
|
61
|
+
|
|
62
|
+
@import "ui/common/editableList";
|
|
63
|
+
@import "ui/common/searchBox";
|
|
64
|
+
@import "ui/common/commandBox";
|
|
65
|
+
|
|
66
|
+
@import "ui/common/typedInput";
|
|
67
|
+
@import "ui/common/typedInputLong";
|
|
68
|
+
@import "ui/common/nodeList";
|
|
69
|
+
@import "ui/common/checkboxSet";
|
|
70
|
+
@import "ui/common/stack";
|
|
71
|
+
@import "ui/common/treeList";
|
|
72
|
+
|
|
73
|
+
@import "dragdrop";
|
|
74
|
+
|
|
75
|
+
@import "keyboard";
|
|
76
|
+
|
|
77
|
+
@import "debug";
|
|
78
|
+
@import "terminal";
|
|
79
|
+
|
|
80
|
+
@import "modals/modalNewProject.scss";
|
|
81
|
+
@import "modals/modalNewTab.scss";
|
|
82
|
+
@import "modals/modalHome.scss";
|
|
83
|
+
@import "modals/modalWelcome.scss";
|
|
84
|
+
@import "modals/modalNodeLibrary.scss";
|
|
85
|
+
|
|
86
|
+
@import "update-panel";
|
|
84
87
|
|
|
85
88
|
body {
|
|
86
89
|
font-size: 13px;
|
|
87
|
-
font-family:
|
|
90
|
+
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
|
88
91
|
//padding-top: 100px;
|
|
89
92
|
background: $background-color;
|
|
90
93
|
color: #333333;
|
|
@@ -270,4 +273,4 @@ blockquote {
|
|
|
270
273
|
}
|
|
271
274
|
}
|
|
272
275
|
}
|
|
273
|
-
}
|
|
276
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright JS Foundation and other contributors, http://js.foundation
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
**/
|
|
16
|
+
|
|
17
|
+
#red-ui-type-command-input {
|
|
18
|
+
padding-left: 37px;
|
|
19
|
+
padding-top: 8px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.red-ui-commandBox-container {
|
|
23
|
+
display: flex;
|
|
24
|
+
width: 100%;
|
|
25
|
+
border-radius: 3px;
|
|
26
|
+
i {
|
|
27
|
+
font-size: 15px;
|
|
28
|
+
color: #666;
|
|
29
|
+
}
|
|
30
|
+
i.fa-terminal {
|
|
31
|
+
left: 15px;
|
|
32
|
+
top: 10px;
|
|
33
|
+
position: absolute;
|
|
34
|
+
pointer-events: none;
|
|
35
|
+
color: darkgrey;
|
|
36
|
+
}
|
|
37
|
+
i.fa-times {
|
|
38
|
+
position: absolute;
|
|
39
|
+
right: 10px;
|
|
40
|
+
top: 10px;
|
|
41
|
+
}
|
|
42
|
+
span.enter-command {
|
|
43
|
+
top: 8px;
|
|
44
|
+
right: 15px;
|
|
45
|
+
position: absolute;
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
font-size: 12px;
|
|
48
|
+
color: #2979ff;
|
|
49
|
+
font-size: 10px;
|
|
50
|
+
letter-spacing: 0.1em;
|
|
51
|
+
text-transform: uppercase;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
input {
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
border-radius: 5px;
|
|
57
|
+
border: none;
|
|
58
|
+
width: 100%;
|
|
59
|
+
box-shadow: none;
|
|
60
|
+
-webkit-box-shadow: none;
|
|
61
|
+
padding: 3px 17px 3px 32px;
|
|
62
|
+
margin: 0px;
|
|
63
|
+
height: 30px;
|
|
64
|
+
box-sizing: border-box;
|
|
65
|
+
background-color: $kumologica-sidebar;
|
|
66
|
+
|
|
67
|
+
&:focus {
|
|
68
|
+
border: none;
|
|
69
|
+
box-shadow: none;
|
|
70
|
+
-webkit-box-shadow: none;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
a {
|
|
74
|
+
position: absolute;
|
|
75
|
+
right: 0;
|
|
76
|
+
top: 0;
|
|
77
|
+
bottom: 0;
|
|
78
|
+
width: 20px;
|
|
79
|
+
display: none;
|
|
80
|
+
}
|
|
81
|
+
.red-ui-commandBox-resultCount {
|
|
82
|
+
position: absolute;
|
|
83
|
+
right: 18px;
|
|
84
|
+
top: 4px;
|
|
85
|
+
background: #eee;
|
|
86
|
+
color: #666;
|
|
87
|
+
padding: 1px 8px;
|
|
88
|
+
font-size: 9px;
|
|
89
|
+
border-radius: 4px;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.command-input-container {
|
|
94
|
+
display: flex;
|
|
95
|
+
align-items: baseline;
|
|
96
|
+
padding: 3px;
|
|
97
|
+
}
|
|
98
|
+
.red-ui-commandBox-command {
|
|
99
|
+
display: flex;
|
|
100
|
+
}
|
|
@@ -26,14 +26,13 @@
|
|
|
26
26
|
border: 1px solid $primary-border-color;
|
|
27
27
|
border-radius: 6px;
|
|
28
28
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
|
|
29
|
-
|
|
30
29
|
}
|
|
31
30
|
|
|
32
31
|
.option {
|
|
33
32
|
display: flex;
|
|
34
33
|
align-items: baseline;
|
|
35
34
|
label {
|
|
36
|
-
width:10%;
|
|
35
|
+
width: 10%;
|
|
37
36
|
margin-right: 7px;
|
|
38
37
|
text-align: right;
|
|
39
38
|
}
|
|
@@ -55,26 +54,32 @@
|
|
|
55
54
|
}
|
|
56
55
|
|
|
57
56
|
#proxy-custom-details {
|
|
57
|
+
padding-top: 10px;
|
|
58
58
|
padding-left: 40px;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.ui-settings-body {
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
height: 90%;
|
|
63
|
+
display: flex;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
#ui-settings-right {
|
|
64
67
|
display: flex;
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
height: 100%;
|
|
65
70
|
}
|
|
66
71
|
|
|
67
|
-
#ui-settings-
|
|
72
|
+
#ui-settings-left {
|
|
68
73
|
display: flex;
|
|
69
74
|
flex-direction: column;
|
|
70
|
-
width:220px;
|
|
75
|
+
width: 220px;
|
|
71
76
|
border-right: 1px solid #d3d3d3;
|
|
72
77
|
height: 100%;
|
|
73
78
|
}
|
|
74
79
|
|
|
75
80
|
.ui-settings-option {
|
|
76
81
|
padding: 10px 20px;
|
|
77
|
-
&:hover{
|
|
82
|
+
&:hover {
|
|
78
83
|
cursor: pointer;
|
|
79
84
|
}
|
|
80
85
|
}
|
|
@@ -83,7 +88,7 @@
|
|
|
83
88
|
background: #2979ff;
|
|
84
89
|
}
|
|
85
90
|
|
|
86
|
-
#ui-settings-optionsbody{
|
|
91
|
+
#ui-settings-optionsbody {
|
|
87
92
|
display: flex;
|
|
88
93
|
flex-direction: column;
|
|
89
94
|
width: 680px;
|
|
@@ -91,37 +96,37 @@
|
|
|
91
96
|
}
|
|
92
97
|
|
|
93
98
|
.ui-settings-general-body {
|
|
94
|
-
width:670px;
|
|
95
|
-
height:
|
|
99
|
+
width: 670px;
|
|
100
|
+
height: 78vh;
|
|
96
101
|
}
|
|
97
102
|
|
|
98
103
|
.ui-settings-option-selected {
|
|
99
|
-
.settingsOptionLabel{
|
|
104
|
+
.settingsOptionLabel {
|
|
100
105
|
color: #f3f3f3;
|
|
101
106
|
}
|
|
102
107
|
}
|
|
103
108
|
|
|
104
|
-
.settingsTitle{
|
|
109
|
+
.settingsTitle {
|
|
105
110
|
font-size: 14px;
|
|
106
111
|
font-weight: bold;
|
|
107
112
|
}
|
|
108
113
|
|
|
109
|
-
.settingsSubtitle{
|
|
114
|
+
.settingsSubtitle {
|
|
110
115
|
margin: 15px 0px;
|
|
111
116
|
}
|
|
112
117
|
|
|
113
|
-
#fileLocationPath{
|
|
118
|
+
#fileLocationPath {
|
|
114
119
|
background-color: #272822;
|
|
115
120
|
box-shadow: 0 4px 0 #000000;
|
|
116
121
|
margin-bottom: 2px;
|
|
117
122
|
}
|
|
118
123
|
|
|
119
124
|
.CodeMirror {
|
|
120
|
-
border:none !important;
|
|
125
|
+
border: none !important;
|
|
121
126
|
}
|
|
122
127
|
|
|
123
|
-
#settingFilePath{
|
|
128
|
+
#settingFilePath {
|
|
124
129
|
color: grey;
|
|
125
130
|
font-family: monospace;
|
|
126
131
|
padding: 4px 15px;
|
|
127
|
-
}
|
|
132
|
+
}
|
|
@@ -22470,7 +22470,7 @@ var require_acorn = __commonJS({
|
|
|
22470
22470
|
// (the latest version the library supports). This influences
|
|
22471
22471
|
// support for strict mode, the set of reserved words, and support
|
|
22472
22472
|
// for new syntax features.
|
|
22473
|
-
ecmaVersion: null,
|
|
22473
|
+
ecmaVersion: null,
|
|
22474
22474
|
// `sourceType` indicates the mode the code should be parsed in.
|
|
22475
22475
|
// Can be either `"script"` or `"module"`. This influences global
|
|
22476
22476
|
// strict mode and parsing of `import` and `export` declarations.
|
|
@@ -22618,7 +22618,12 @@ var require_acorn = __commonJS({
|
|
|
22618
22618
|
}
|
|
22619
22619
|
var BIND_NONE = 0, BIND_VAR = 1, BIND_LEXICAL = 2, BIND_FUNCTION = 3, BIND_SIMPLE_CATCH = 4, BIND_OUTSIDE = 5;
|
|
22620
22620
|
var Parser = function Parser2(options, input, startPos) {
|
|
22621
|
+
|
|
22622
|
+
|
|
22621
22623
|
this.options = options = getOptions(options);
|
|
22624
|
+
this.options.sourceType = "module"; // overrite by kumologica
|
|
22625
|
+
this.options.ecmaVersion = 2022;
|
|
22626
|
+
|
|
22622
22627
|
this.sourceFile = options.sourceFile;
|
|
22623
22628
|
this.keywords = wordsRegexp(keywords$1[options.ecmaVersion >= 6 ? 6 : options.sourceType === "module" ? "5module" : 5]);
|
|
22624
22629
|
var reserved = "";
|
|
@@ -85304,7 +85309,8 @@ var require_no_undef = __commonJS({
|
|
|
85304
85309
|
identifier.name === 'msg' ||
|
|
85305
85310
|
identifier.name ==='vars' ||
|
|
85306
85311
|
identifier.name === 'env' ||
|
|
85307
|
-
identifier.name === 'node'
|
|
85312
|
+
identifier.name === 'node'
|
|
85313
|
+
) return;
|
|
85308
85314
|
|
|
85309
85315
|
context.report({
|
|
85310
85316
|
node: identifier,
|
|
@@ -104042,6 +104048,8 @@ var require_linter = __commonJS({
|
|
|
104042
104048
|
nodeType: null
|
|
104043
104049
|
}
|
|
104044
104050
|
};
|
|
104051
|
+
|
|
104052
|
+
|
|
104045
104053
|
}
|
|
104046
104054
|
}
|
|
104047
104055
|
function createRuleListeners(rule, ruleContext) {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
</head>
|
|
48
48
|
<body spellcheck="false" style="overflow: hidden !important">
|
|
49
49
|
<div class="win-top-separator" style="display:flex; height:1px; border-top:1px solid #ddd"></div>
|
|
50
|
-
<div id="header"
|
|
50
|
+
<div id="header">
|
|
51
51
|
<!-- <span class="logo">{{#header.url}}<a href="{{.}}">{{/header.url}}{{#header.image}}<img src="{{.}}">{{/header.image}} <span>{{ header.title }}</span>{{#header.url}}</a>{{/header.url}}</span> -->
|
|
52
52
|
<!-- <ul class="header-toolbar hide"> -->
|
|
53
53
|
<div id="left">
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
<div id="sidebar-content">
|
|
250
250
|
<div id="editor-stack"></div>
|
|
251
251
|
</div>
|
|
252
|
-
<div id="sidebar-footer"></div>
|
|
252
|
+
<!-- <div id="sidebar-footer"></div> -->
|
|
253
253
|
</div>
|
|
254
254
|
<div id="sidebar-shade" class="hide"></div>
|
|
255
255
|
</div>
|