@kestra-io/ui-libs 0.0.191 → 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-f85Q_6sk.js → FlowYamlUtils-E3EN5bb4.js} +972 -900
- package/dist/{FlowYamlUtils-f85Q_6sk.js.map → FlowYamlUtils-E3EN5bb4.js.map} +1 -1
- package/dist/FlowYamlUtils-wL6s2KD7.cjs +2 -0
- package/dist/{FlowYamlUtils-BfpB1rP0.cjs.map → FlowYamlUtils-wL6s2KD7.cjs.map} +1 -1
- package/dist/kestra-flowyamlutils.cjs.js +1 -1
- package/dist/kestra-flowyamlutils.es.js +27 -22
- package/dist/kestra-index.cjs.js +1 -1
- package/dist/kestra-index.es.js +1 -1
- package/dist/utils/FlowYamlUtils.d.ts +21 -0
- package/dist/utils/FlowYamlUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/utils/FlowYamlUtils.test.ts +440 -1
- package/src/utils/FlowYamlUtils.ts +147 -3
- package/dist/FlowYamlUtils-BfpB1rP0.cjs +0 -2
|
@@ -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,35 +1,40 @@
|
|
|
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
8
|
c as cleanMetadata,
|
|
9
9
|
i as deleteBlock,
|
|
10
|
-
n as
|
|
11
|
-
d as
|
|
12
|
-
p as
|
|
10
|
+
n as deleteBlockWithPath,
|
|
11
|
+
d as deleteMetadata,
|
|
12
|
+
p as deletePluginDefaults,
|
|
13
|
+
h as extractBlock,
|
|
14
|
+
k as extractBlockWithPath,
|
|
13
15
|
g as extractFieldFromMaps,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
B as extractPluginDefault,
|
|
17
|
+
P as flowHaveTasks,
|
|
18
|
+
u as getAllCharts,
|
|
19
|
+
m as getChartAtPosition,
|
|
20
|
+
f as getLastBlock,
|
|
19
21
|
x as getMetadata,
|
|
20
|
-
|
|
22
|
+
E as getTypeAtPosition,
|
|
21
23
|
D as insertBlock,
|
|
22
|
-
A as
|
|
23
|
-
I as
|
|
24
|
-
M as
|
|
25
|
-
O as
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
A as insertBlockWithPath,
|
|
25
|
+
I as insertErrorInFlowable,
|
|
26
|
+
M as isParentChildrenRelation,
|
|
27
|
+
O as localizeElementAtIndex,
|
|
28
|
+
W as pairsToMap,
|
|
29
|
+
F as parse,
|
|
30
|
+
T as parsePath,
|
|
31
|
+
_ as replaceBlockInDocument,
|
|
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
|
|
34
39
|
};
|
|
35
40
|
//# sourceMappingURL=kestra-flowyamlutils.es.js.map
|