@kestra-io/ui-libs 0.0.227 → 0.0.229
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-MCAmyY3D.js → FlowYamlUtils-BrY8bEv7.js} +24 -17
- package/dist/{FlowYamlUtils-MCAmyY3D.js.map → FlowYamlUtils-BrY8bEv7.js.map} +1 -1
- package/dist/{FlowYamlUtils-DAm_-0Qh.cjs → FlowYamlUtils-DvtepVr2.cjs} +3 -2
- package/dist/{FlowYamlUtils-DAm_-0Qh.cjs.map → FlowYamlUtils-DvtepVr2.cjs.map} +1 -1
- package/dist/VueFlowUtils-BhTB7zMW.cjs +2 -0
- package/dist/VueFlowUtils-BhTB7zMW.cjs.map +1 -0
- package/dist/{VueFlowUtils-A_7_qgxS.js → VueFlowUtils-BmNdCDFy.js} +461 -452
- package/dist/VueFlowUtils-BmNdCDFy.js.map +1 -0
- package/dist/assets/icons/RotatingDots.vue.d.ts +6 -0
- package/dist/assets/icons/RotatingDots.vue.d.ts.map +1 -0
- package/dist/components/misc/Collapsible.vue.d.ts.map +1 -1
- package/dist/components/misc/ExecutionInformations.vue.d.ts +1 -0
- package/dist/components/misc/ExecutionInformations.vue.d.ts.map +1 -1
- package/dist/components/nodes/BasicNode.vue.d.ts +44 -113
- package/dist/components/nodes/BasicNode.vue.d.ts.map +1 -1
- package/dist/components/nodes/EdgeNode.vue.d.ts +5 -7
- package/dist/components/nodes/EdgeNode.vue.d.ts.map +1 -1
- package/dist/components/nodes/TaskNode.vue.d.ts +48 -240
- package/dist/components/nodes/TaskNode.vue.d.ts.map +1 -1
- package/dist/components/plugins/PluginIndex.vue.d.ts +2 -8
- package/dist/components/plugins/PluginIndex.vue.d.ts.map +1 -1
- package/dist/components/topology/Topology.vue.d.ts +13 -4
- package/dist/components/topology/Topology.vue.d.ts.map +1 -1
- package/dist/components/topology/injectionKeys.d.ts +0 -1
- package/dist/components/topology/injectionKeys.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/kestra-flowyamlutils.cjs.js +1 -1
- package/dist/kestra-flowyamlutils.es.js +1 -1
- package/dist/kestra-index.cjs.js +15 -15
- package/dist/kestra-index.cjs.js.map +1 -1
- package/dist/kestra-index.es.js +3611 -3656
- package/dist/kestra-index.es.js.map +1 -1
- package/dist/kestra-vueflowutils.cjs.js +1 -1
- package/dist/kestra-vueflowutils.es.js +7 -7
- package/dist/ui-libs.css +1 -1
- package/dist/utils/FlowYamlUtils.d.ts.map +1 -1
- package/dist/utils/Utils.d.ts +14 -7
- package/dist/utils/Utils.d.ts.map +1 -1
- package/dist/utils/state.d.ts +1 -0
- package/dist/utils/state.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/assets/icons/RotatingDots.vue +25 -0
- package/src/components/misc/Collapsible.vue +2 -5
- package/src/components/misc/Duration.vue +2 -2
- package/src/components/misc/ExecutionInformations.vue +6 -36
- package/src/components/nodes/BasicNode.vue +121 -152
- package/src/components/nodes/TaskNode.vue +265 -189
- package/src/components/topology/Topology.vue +8 -3
- package/src/components/topology/injectionKeys.ts +1 -2
- package/src/index.ts +1 -0
- package/src/utils/FlowYamlUtils.test.ts +11 -0
- package/src/utils/FlowYamlUtils.ts +16 -5
- package/src/utils/Utils.ts +48 -34
- package/src/utils/state.ts +4 -0
- package/dist/VueFlowUtils-A_7_qgxS.js.map +0 -1
- package/dist/VueFlowUtils-CL70qtJ4.cjs +0 -2
- package/dist/VueFlowUtils-CL70qtJ4.cjs.map +0 -1
|
@@ -1865,33 +1865,40 @@ function Ko(e, r) {
|
|
|
1865
1865
|
}), i ? i.toJSON() : null;
|
|
1866
1866
|
}
|
|
1867
1867
|
function Go(e) {
|
|
1868
|
-
const r =
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1868
|
+
const r = e + `
|
|
1869
|
+
`, t = A(r), n = new ce();
|
|
1870
|
+
A(r, { lineCounter: n });
|
|
1871
|
+
let a = {};
|
|
1872
|
+
return m(t, {
|
|
1873
|
+
Map(i, s) {
|
|
1874
|
+
var o, u;
|
|
1875
|
+
if (s.items) {
|
|
1876
|
+
for (const c of s.items)
|
|
1877
|
+
if (((o = c == null ? void 0 : c.key) == null ? void 0 : o.value) === "tasks") {
|
|
1878
|
+
if ((u = c == null ? void 0 : c.value) != null && u.items) {
|
|
1879
|
+
for (const l of c.value.items)
|
|
1880
|
+
if (R(l)) {
|
|
1881
|
+
const f = _t(n, l);
|
|
1882
|
+
a = {
|
|
1883
|
+
...a,
|
|
1884
|
+
...f
|
|
1885
|
+
};
|
|
1882
1886
|
}
|
|
1883
1887
|
}
|
|
1884
1888
|
return m.BREAK;
|
|
1885
1889
|
}
|
|
1886
1890
|
}
|
|
1887
1891
|
}
|
|
1888
|
-
}),
|
|
1892
|
+
}), a;
|
|
1889
1893
|
}
|
|
1890
1894
|
function _t(e, r) {
|
|
1891
1895
|
let t = {};
|
|
1892
1896
|
const n = r.get("id");
|
|
1893
1897
|
if (n) {
|
|
1894
|
-
r.range && (t[n] = {
|
|
1898
|
+
r.range && (t[n] = {
|
|
1899
|
+
start: e.linePos(r.range[0]).line,
|
|
1900
|
+
end: e.linePos(r.range[1]).line - 1
|
|
1901
|
+
});
|
|
1895
1902
|
const a = new fe(), i = r.get("tasks");
|
|
1896
1903
|
P(i) && i.items.forEach((u) => a.add(u));
|
|
1897
1904
|
const s = r.get("then");
|
|
@@ -1986,4 +1993,4 @@ export {
|
|
|
1986
1993
|
qo as y,
|
|
1987
1994
|
ro as z
|
|
1988
1995
|
};
|
|
1989
|
-
//# sourceMappingURL=FlowYamlUtils-
|
|
1996
|
+
//# sourceMappingURL=FlowYamlUtils-BrY8bEv7.js.map
|