@kestra-io/ui-libs 0.0.69 → 0.0.71
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 +15 -15
- package/src/utils/YamlUtils.js +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kestra-io/ui-libs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.71",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"src",
|
|
@@ -17,34 +17,34 @@
|
|
|
17
17
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path ./.gitignore"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@vue-flow/background": "^1.3.
|
|
20
|
+
"@vue-flow/background": "^1.3.2",
|
|
21
21
|
"@vue-flow/controls": "^1.1.1",
|
|
22
|
-
"@vue-flow/core": "^1.41.
|
|
22
|
+
"@vue-flow/core": "^1.41.5",
|
|
23
23
|
"bootstrap": "^5.3.3",
|
|
24
24
|
"dagre": "^0.8.5",
|
|
25
25
|
"humanize-duration": "^3.31.0",
|
|
26
26
|
"js-yaml": "^4.1.0",
|
|
27
27
|
"lodash": "^4.17.21",
|
|
28
28
|
"moment": "^2.30.1",
|
|
29
|
-
"vue": "^3.5.
|
|
30
|
-
"vue-material-design-icons": "^5.3.
|
|
29
|
+
"vue": "^3.5.13",
|
|
30
|
+
"vue-material-design-icons": "^5.3.1",
|
|
31
31
|
"vuex": "^4.1.0",
|
|
32
|
-
"yaml": "^2.
|
|
32
|
+
"yaml": "^2.6.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@esbuild/linux-x64": "^0.24.0",
|
|
36
|
-
"@typescript-eslint/parser": "^8.
|
|
37
|
-
"@vitejs/plugin-vue": "^5.
|
|
36
|
+
"@typescript-eslint/parser": "^8.15.0",
|
|
37
|
+
"@vitejs/plugin-vue": "^5.2.0",
|
|
38
38
|
"eslint": "^8.57.0",
|
|
39
|
-
"eslint-plugin-vue": "^9.
|
|
40
|
-
"sass": "^1.
|
|
41
|
-
"vite": "^5.4.
|
|
42
|
-
"vite-plugin-static-copy": "^2.
|
|
39
|
+
"eslint-plugin-vue": "^9.31.0",
|
|
40
|
+
"sass": "^1.81.0",
|
|
41
|
+
"vite": "^5.4.11",
|
|
42
|
+
"vite-plugin-static-copy": "^2.1.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@nuxtjs/mdc": "^0.9.
|
|
45
|
+
"@nuxtjs/mdc": "^0.9.5",
|
|
46
46
|
"@popperjs/core": "^2.11.8",
|
|
47
|
-
"mermaid": "^11.
|
|
48
|
-
"shiki": "^1.
|
|
47
|
+
"mermaid": "^11.4.0",
|
|
48
|
+
"shiki": "^1.23.1"
|
|
49
49
|
}
|
|
50
50
|
}
|
package/src/utils/YamlUtils.js
CHANGED
|
@@ -164,7 +164,7 @@ export default class YamlUtils {
|
|
|
164
164
|
static extractAllTypes(source) {
|
|
165
165
|
const yamlDoc = yaml.parseDocument(source);
|
|
166
166
|
const types = [];
|
|
167
|
-
if (yamlDoc.contents && yamlDoc.contents.items && yamlDoc.contents.items.find(e => ["tasks", "triggers", "errors"].includes(e.key.value))) {
|
|
167
|
+
if (yamlDoc.contents && yamlDoc.contents.items && yamlDoc.contents.items.find(e => ["tasks", "triggers", "errors", "layout"].includes(e.key.value))) {
|
|
168
168
|
yaml.visit(yamlDoc, {
|
|
169
169
|
Map(_, map) {
|
|
170
170
|
if (map.items) {
|
|
@@ -183,7 +183,6 @@ export default class YamlUtils {
|
|
|
183
183
|
|
|
184
184
|
static getTaskType(source, position) {
|
|
185
185
|
const types = this.extractAllTypes(source)
|
|
186
|
-
|
|
187
186
|
const lineCounter = new LineCounter();
|
|
188
187
|
yaml.parseDocument(source, {lineCounter});
|
|
189
188
|
const cursorIndex = lineCounter.lineStarts[position.lineNumber - 1] + position.column;
|