@kestra-io/ui-libs 0.0.192 → 0.0.193
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/dist/{FlowYamlUtils-DhqWzMk-.js → FlowYamlUtils-E3EN5bb4.js} +123 -118
- package/dist/{FlowYamlUtils-DhqWzMk-.js.map → FlowYamlUtils-E3EN5bb4.js.map} +1 -1
- package/dist/{FlowYamlUtils-_TJm7uLE.cjs → FlowYamlUtils-wL6s2KD7.cjs} +2 -2
- package/dist/{FlowYamlUtils-_TJm7uLE.cjs.map → FlowYamlUtils-wL6s2KD7.cjs.map} +1 -1
- package/dist/kestra-flowyamlutils.cjs.js +1 -1
- package/dist/kestra-flowyamlutils.es.js +16 -15
- package/dist/kestra-index.cjs.js +1 -1
- package/dist/kestra-index.es.js +1 -1
- package/dist/utils/FlowYamlUtils.d.ts +5 -0
- package/dist/utils/FlowYamlUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/utils/FlowYamlUtils.test.ts +153 -0
- package/src/utils/FlowYamlUtils.ts +13 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("js-yaml");require("yaml");const e=require("./FlowYamlUtils-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("js-yaml");require("yaml");const e=require("./FlowYamlUtils-wL6s2KD7.cjs");exports.FLOW_SECTION_KEYS=e.FLOW_SECTION_KEYS;exports.ORDERED_FLOW_ROOT_KEYS=e.ORDERED_FLOW_ROOT_KEYS;exports.checkBlockAlreadyExists=e.checkBlockAlreadyExists;exports.cleanMetadata=e.cleanMetadata;exports.deleteBlock=e.deleteBlock;exports.deleteBlockWithPath=e.deleteBlockWithPath;exports.deleteMetadata=e.deleteMetadata;exports.deletePluginDefaults=e.deletePluginDefaults;exports.extractBlock=e.extractBlock;exports.extractBlockWithPath=e.extractBlockWithPath;exports.extractFieldFromMaps=e.extractFieldFromMaps;exports.extractPluginDefault=e.extractPluginDefault;exports.flowHaveTasks=e.flowHaveTasks;exports.getAllCharts=e.getAllCharts;exports.getChartAtPosition=e.getChartAtPosition;exports.getLastBlock=e.getLastBlock;exports.getMetadata=e.getMetadata;exports.getTypeAtPosition=e.getTypeAtPosition;exports.insertBlock=e.insertBlock;exports.insertBlockWithPath=e.insertBlockWithPath;exports.insertErrorInFlowable=e.insertErrorInFlowable;exports.isParentChildrenRelation=e.isParentChildrenRelation;exports.localizeElementAtIndex=e.localizeElementAtIndex;exports.pairsToMap=e.pairsToMap;exports.parse=e.parse;exports.parsePath=e.parsePath;exports.replaceBlockInDocument=e.replaceBlockInDocument;exports.replaceBlockWithPath=e.replaceBlockWithPath;exports.replaceIdAndNamespace=e.replaceIdAndNamespace;exports.replacePluginDefaultsInDocument=e.replacePluginDefaultsInDocument;exports.sort=e.sort;exports.stringify=e.stringify;exports.swapBlocks=e.swapBlocks;exports.updateMetadata=e.updateMetadata;
|
|
2
2
|
//# sourceMappingURL=kestra-flowyamlutils.cjs.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "js-yaml";
|
|
2
2
|
import "yaml";
|
|
3
|
-
import {
|
|
3
|
+
import { aj as l, ak as o, t as r, c, w as i, ai as n, b as d, d as p, z as h, ae as k, e as g, a as B, f as P, m as u, k as m, v as f, g as x, j as E, x as D, ah as A, i as I, q as M, l as O, p as W, n as F, ag as T, y as _, af as w, h as y, r as C, s as R, o as L, ad as S, u as b } from "./FlowYamlUtils-E3EN5bb4.js";
|
|
4
4
|
export {
|
|
5
5
|
l as FLOW_SECTION_KEYS,
|
|
6
6
|
o as ORDERED_FLOW_ROOT_KEYS,
|
|
7
7
|
r as checkBlockAlreadyExists,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
c as cleanMetadata,
|
|
9
|
+
i as deleteBlock,
|
|
10
10
|
n as deleteBlockWithPath,
|
|
11
11
|
d as deleteMetadata,
|
|
12
12
|
p as deletePluginDefaults,
|
|
13
13
|
h as extractBlock,
|
|
14
14
|
k as extractBlockWithPath,
|
|
15
15
|
g as extractFieldFromMaps,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
B as extractPluginDefault,
|
|
17
|
+
P as flowHaveTasks,
|
|
18
|
+
u as getAllCharts,
|
|
19
19
|
m as getChartAtPosition,
|
|
20
20
|
f as getLastBlock,
|
|
21
21
|
x as getMetadata,
|
|
@@ -25,15 +25,16 @@ export {
|
|
|
25
25
|
I as insertErrorInFlowable,
|
|
26
26
|
M as isParentChildrenRelation,
|
|
27
27
|
O as localizeElementAtIndex,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
W as pairsToMap,
|
|
29
|
+
F as parse,
|
|
30
|
+
T as parsePath,
|
|
31
31
|
_ as replaceBlockInDocument,
|
|
32
|
-
w as
|
|
33
|
-
y as
|
|
34
|
-
C as
|
|
35
|
-
R as
|
|
36
|
-
L as
|
|
37
|
-
S as
|
|
32
|
+
w as replaceBlockWithPath,
|
|
33
|
+
y as replaceIdAndNamespace,
|
|
34
|
+
C as replacePluginDefaultsInDocument,
|
|
35
|
+
R as sort,
|
|
36
|
+
L as stringify,
|
|
37
|
+
S as swapBlocks,
|
|
38
|
+
b as updateMetadata
|
|
38
39
|
};
|
|
39
40
|
//# sourceMappingURL=kestra-flowyamlutils.es.js.map
|