@kestra-io/ui-libs 0.0.222 → 0.0.224
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-B2iMnYvW.js → FlowYamlUtils-BnXiRqSX.js} +44 -44
- package/dist/{FlowYamlUtils-B2iMnYvW.js.map → FlowYamlUtils-BnXiRqSX.js.map} +1 -1
- package/dist/VueFlowUtils-DKrM_RaI.js +4513 -0
- package/dist/VueFlowUtils-DKrM_RaI.js.map +1 -0
- package/dist/VueFlowUtils-Dh7ybprm.cjs +2 -0
- package/dist/VueFlowUtils-Dh7ybprm.cjs.map +1 -0
- package/dist/components/nodes/BasicNode.vue.d.ts +1 -0
- package/dist/components/nodes/BasicNode.vue.d.ts.map +1 -1
- package/dist/components/nodes/CollapsedClusterNode.vue.d.ts +1 -0
- package/dist/components/nodes/CollapsedClusterNode.vue.d.ts.map +1 -1
- package/dist/components/nodes/EdgeNode.vue.d.ts +1 -0
- package/dist/components/nodes/TaskNode.vue.d.ts +1 -0
- package/dist/components/nodes/TaskNode.vue.d.ts.map +1 -1
- package/dist/components/nodes/TriggerNode.vue.d.ts +1 -0
- package/dist/components/nodes/TriggerNode.vue.d.ts.map +1 -1
- package/dist/components/topology/Topology.vue.d.ts +15 -4
- package/dist/components/topology/Topology.vue.d.ts.map +1 -1
- package/dist/components/topology/injectionKeys.d.ts +1 -0
- package/dist/components/topology/injectionKeys.d.ts.map +1 -1
- package/dist/kestra-flowyamlutils.es.js +6 -6
- package/dist/kestra-index.cjs.js +16 -16
- package/dist/kestra-index.cjs.js.map +1 -1
- package/dist/kestra-index.es.js +3940 -8270
- package/dist/kestra-index.es.js.map +1 -1
- package/dist/kestra-vueflowutils.cjs.js +2 -0
- package/dist/kestra-vueflowutils.cjs.js.map +1 -0
- package/dist/kestra-vueflowutils.es.js +33 -0
- package/dist/kestra-vueflowutils.es.js.map +1 -0
- package/dist/ui-libs.css +1 -1
- package/dist/utils/VueFlowUtils.d.ts +102 -49
- package/dist/utils/VueFlowUtils.d.ts.map +1 -1
- package/dist/utils/constants.d.ts +1 -0
- package/dist/utils/constants.d.ts.map +1 -1
- package/package.json +9 -1
- package/src/components/misc/ExecutionInformations.vue +2 -2
- package/src/components/nodes/TaskNode.vue +33 -1
- package/src/components/topology/Topology.vue +11 -3
- package/src/components/topology/injectionKeys.ts +2 -1
- package/src/scss/vue-material-design-icon.scss +26 -0
- package/src/utils/VueFlowUtils.test.ts +86 -0
- package/src/utils/VueFlowUtils.ts +566 -424
- package/src/utils/constants.ts +1 -0
|
@@ -28,6 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<an
|
|
|
28
28
|
readonly ADD_ERROR: "addError";
|
|
29
29
|
readonly EXPAND_DEPENDENCIES: "expandDependencies";
|
|
30
30
|
readonly SHOW_CONDITION: "showCondition";
|
|
31
|
+
readonly RUN_TASK: "runTask";
|
|
31
32
|
};
|
|
32
33
|
expandable(): any;
|
|
33
34
|
description(): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicNode.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/BasicNode.vue"],"names":[],"mappings":";;;;;;;;;;qBAySI,CAxPS
|
|
1
|
+
{"version":3,"file":"BasicNode.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/BasicNode.vue"],"names":[],"mappings":";;;;;;;;;;qBAySI,CAxPS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAuciB,GAAG;mCACW,GAAG;kCACJ,GAAG;;;6BAuUjB,CAAC,EAAE,CAAC"}
|
|
@@ -16,6 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<an
|
|
|
16
16
|
readonly ADD_ERROR: "addError";
|
|
17
17
|
readonly EXPAND_DEPENDENCIES: "expandDependencies";
|
|
18
18
|
readonly SHOW_CONDITION: "showCondition";
|
|
19
|
+
readonly RUN_TASK: "runTask";
|
|
19
20
|
};
|
|
20
21
|
expandable(): any;
|
|
21
22
|
description(): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollapsedClusterNode.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/CollapsedClusterNode.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CollapsedClusterNode.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/CollapsedClusterNode.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BA+GI,KA1EQ;;;6BA0ER,KAvEkB,kBAuElB,gBArEF;;;6BAqEE,KAlEa;;;6BAkEb,KA9DG,kBA8DH,gBA7DI;;;6BA6DJ,KA1DY,kBA0DZ,gBAzDa;;;6BAyDb,KArDI;;;6BAqDJ,KAjDC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8CAiDD,gBAzFJ;;;;;;;;;yBAyFI,KA1EQ;;;yBA0ER,KAvEkB,kBAuElB,gBArEF;;;yBAqEE,KAlEa;;;yBAkEb,KA9DG,kBA8DH,gBA7DI;;;yBA6DJ,KA1DY,kBA0DZ,gBAzDa;;;yBAyDb,KArDI;;;yBAqDJ,KAjDC;;;;0CAiDD,gBAzFJ;;;;;;;;;;;;;mCAwM4C,GAAG;kCACJ,GAAG;;;6BAoIjB,CAAC,EAAE,CAAC"}
|
|
@@ -28,6 +28,7 @@ declare const _default: import("vue").DefineComponent<any, {
|
|
|
28
28
|
readonly ADD_ERROR: "addError";
|
|
29
29
|
readonly EXPAND_DEPENDENCIES: "expandDependencies";
|
|
30
30
|
readonly SHOW_CONDITION: "showCondition";
|
|
31
|
+
readonly RUN_TASK: "runTask";
|
|
31
32
|
};
|
|
32
33
|
classes(): {
|
|
33
34
|
[x: string]: any;
|
|
@@ -18,6 +18,7 @@ declare const _default: import("vue").DefineComponent<any, {}, {}, {
|
|
|
18
18
|
readonly ADD_ERROR: "addError";
|
|
19
19
|
readonly EXPAND_DEPENDENCIES: "expandDependencies";
|
|
20
20
|
readonly SHOW_CONDITION: "showCondition";
|
|
21
|
+
readonly RUN_TASK: "runTask";
|
|
21
22
|
};
|
|
22
23
|
color(): any;
|
|
23
24
|
taskId(): string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskNode.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/TaskNode.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TaskNode.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/TaskNode.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BA6RI,KAjQO;;;6BAiQP,KAjQgF,kBAiQhF,gBAhQJ;;;6BAgQI,KA/PsD;;;6BA+PtD,KA7PO,kBA6PP,gBA5PW;;;6BA4PX,KAzPoB,kBAyPpB,gBAxPa;;;6BAwPb,KAvP2D;;;6BAuP3D,KArP8B;;;;8CAqP9B,gBA5Q6H;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA4Q7H,KAjQO;;;yBAiQP,KAjQgF,kBAiQhF,gBAhQJ;;;yBAgQI,KA/PsD;;;yBA+PtD,KA7PO,kBA6PP,gBA5PW;;;yBA4PX,KAzPoB,kBAyPpB,gBAxPa;;;yBAwPb,KAvP2D;;;yBAuP3D,KArP8B;;;;0CAqP9B,gBA5Q6H"}
|
|
@@ -18,6 +18,7 @@ declare const _default: import("vue").DefineComponent<any, {}, {}, {
|
|
|
18
18
|
readonly ADD_ERROR: "addError";
|
|
19
19
|
readonly EXPAND_DEPENDENCIES: "expandDependencies";
|
|
20
20
|
readonly SHOW_CONDITION: "showCondition";
|
|
21
|
+
readonly RUN_TASK: "runTask";
|
|
21
22
|
};
|
|
22
23
|
color(): any;
|
|
23
24
|
formattedData(): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerNode.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/TriggerNode.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TriggerNode.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/TriggerNode.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAuHI,KApFE;;;6BAoFF,KAjFG,kBAiFH,gBA/Ee;;;6BA+Ef,KA9E4C;;;6BA8E5C,KA5ES,kBA4ET,gBA5EwC;;;6BA4ExC,KA1Ec,kBA0Ed,gBAzEE;;;6BAyEF,KAtEJ;;;6BAsEI,KAnEW;;;;8CAmEX,gBAhGQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAgGR,KApFE;;;yBAoFF,KAjFG,kBAiFH,gBA/Ee;;;yBA+Ef,KA9E4C;;;yBA8E5C,KA5ES,kBA4ET,gBA5EwC;;;yBA4ExC,KA1Ec,kBA0Ed,gBAzEE;;;yBAyEF,KAtEJ;;;yBAsEI,KAnEW;;;;0CAmEX,gBAhGQ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from "vue";
|
|
2
|
-
import
|
|
2
|
+
import * as VueFlowUtils from "../../utils/VueFlowUtils";
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
id: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
27
27
|
default: boolean;
|
|
28
28
|
};
|
|
29
29
|
flowGraph: {
|
|
30
|
-
type: PropType<FlowGraph>;
|
|
30
|
+
type: PropType<VueFlowUtils.FlowGraph>;
|
|
31
31
|
required: true;
|
|
32
32
|
};
|
|
33
33
|
flowId: {
|
|
@@ -62,6 +62,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
62
62
|
type: PropType<Record<string, any[]>>;
|
|
63
63
|
default: () => {};
|
|
64
64
|
};
|
|
65
|
+
playgroundEnabled: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
65
69
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
66
70
|
edit: (...args: any[]) => void;
|
|
67
71
|
delete: (...args: any[]) => void;
|
|
@@ -70,6 +74,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
70
74
|
addTask: (...args: any[]) => void;
|
|
71
75
|
showLogs: (...args: any[]) => void;
|
|
72
76
|
showCondition: (...args: any[]) => void;
|
|
77
|
+
runTask: (...args: any[]) => void;
|
|
73
78
|
"on-add-flowable-error": (...args: any[]) => void;
|
|
74
79
|
"toggle-orientation": (...args: any[]) => void;
|
|
75
80
|
loading: (...args: any[]) => void;
|
|
@@ -103,7 +108,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
103
108
|
default: boolean;
|
|
104
109
|
};
|
|
105
110
|
flowGraph: {
|
|
106
|
-
type: PropType<FlowGraph>;
|
|
111
|
+
type: PropType<VueFlowUtils.FlowGraph>;
|
|
107
112
|
required: true;
|
|
108
113
|
};
|
|
109
114
|
flowId: {
|
|
@@ -138,6 +143,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
138
143
|
type: PropType<Record<string, any[]>>;
|
|
139
144
|
default: () => {};
|
|
140
145
|
};
|
|
146
|
+
playgroundEnabled: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
141
150
|
}>> & Readonly<{
|
|
142
151
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
143
152
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
@@ -146,6 +155,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
146
155
|
onAddTask?: ((...args: any[]) => any) | undefined;
|
|
147
156
|
onShowLogs?: ((...args: any[]) => any) | undefined;
|
|
148
157
|
onShowCondition?: ((...args: any[]) => any) | undefined;
|
|
158
|
+
onRunTask?: ((...args: any[]) => any) | undefined;
|
|
149
159
|
"onOn-add-flowable-error"?: ((...args: any[]) => any) | undefined;
|
|
150
160
|
"onToggle-orientation"?: ((...args: any[]) => any) | undefined;
|
|
151
161
|
onLoading?: ((...args: any[]) => any) | undefined;
|
|
@@ -155,8 +165,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
155
165
|
}>, {
|
|
156
166
|
source: string;
|
|
157
167
|
namespace: string;
|
|
158
|
-
icons: Record<string, any>;
|
|
159
168
|
flowId: string;
|
|
169
|
+
icons: Record<string, any>;
|
|
160
170
|
isHorizontal: boolean;
|
|
161
171
|
isReadOnly: boolean;
|
|
162
172
|
isAllowedEdit: boolean;
|
|
@@ -166,6 +176,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
166
176
|
enableSubflowInteraction: boolean;
|
|
167
177
|
execution: Record<string, any>;
|
|
168
178
|
subflowsExecutions: Record<string, any[]>;
|
|
179
|
+
playgroundEnabled: boolean;
|
|
169
180
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
170
181
|
export default _default;
|
|
171
182
|
//# sourceMappingURL=Topology.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Topology.vue.d.ts","sourceRoot":"","sources":["../../../src/components/topology/Topology.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Topology.vue.d.ts","sourceRoot":"","sources":["../../../src/components/topology/Topology.vue"],"names":[],"mappings":"AAwfI,OAAO,EAAgC,QAAQ,EAAsB,MAAM,KAAK,CAAC;AAwBjF,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA01BjC,QAAQ,CAAC,YAAY,CAAC,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgChC,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAhC/B,QAAQ,CAAC,YAAY,CAAC,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgChC,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAjE3D,wBA0EG"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ComputedRef, InjectionKey } from "vue";
|
|
2
2
|
export declare const EXECUTION_INJECTION_KEY: InjectionKey<ComputedRef<any>>;
|
|
3
3
|
export declare const SUBFLOWS_EXECUTIONS_INJECTION_KEY: InjectionKey<ComputedRef<Record<string, any[]>>>;
|
|
4
|
+
export declare const PLAYGROUND_ENABLED_INJECTION_KEY: InjectionKey<ComputedRef<boolean>>;
|
|
4
5
|
//# sourceMappingURL=injectionKeys.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injectionKeys.d.ts","sourceRoot":"","sources":["../../../src/components/topology/injectionKeys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAE,YAAY,EAAC,MAAM,KAAK,CAAA;AAElD,eAAO,MAAM,uBAAuB,EAAwC,YAAY,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAA;AAC1G,eAAO,MAAM,iCAAiC,EAAkD,YAAY,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"injectionKeys.d.ts","sourceRoot":"","sources":["../../../src/components/topology/injectionKeys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAE,YAAY,EAAC,MAAM,KAAK,CAAA;AAElD,eAAO,MAAM,uBAAuB,EAAwC,YAAY,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAA;AAC1G,eAAO,MAAM,iCAAiC,EAAkD,YAAY,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAA;AAChJ,eAAO,MAAM,gCAAgC,EAAiD,YAAY,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "js-yaml";
|
|
2
2
|
import "yaml";
|
|
3
|
-
import { al as l, am as o, v as r, h as i, x as c, ak as n, b as d, d as p, A as h, ag as k, e as g, a as P, f as m, n as B, m as u, w as A, c as f, af as x, k as E, g as D, y as I, aj as F, j as M, t as O, l as W, p as
|
|
3
|
+
import { al as l, am as o, v as r, h as i, x as c, ak as n, b as d, d as p, A as h, ag as k, e as g, a as P, f as m, n as B, m as u, w as A, c as f, af as x, k as E, g as D, y as I, aj as F, j as M, t as O, l as W, p as C, o as T, ai as _, z as w, ah as y, i as R, r as S, s as L, q as b, C as j, u as v } from "./FlowYamlUtils-BnXiRqSX.js";
|
|
4
4
|
export {
|
|
5
5
|
l as FLOW_SECTION_KEYS,
|
|
6
6
|
o as ORDERED_FLOW_ROOT_KEYS,
|
|
@@ -27,11 +27,11 @@ export {
|
|
|
27
27
|
M as insertErrorInFlowable,
|
|
28
28
|
O as isParentChildrenRelation,
|
|
29
29
|
W as localizeElementAtIndex,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
C as pairsToMap,
|
|
31
|
+
T as parse,
|
|
32
|
+
_ as parsePath,
|
|
33
|
+
w as replaceBlockInDocument,
|
|
34
|
+
y as replaceBlockWithPath,
|
|
35
35
|
R as replaceIdAndNamespace,
|
|
36
36
|
S as replacePluginDefaultsInDocument,
|
|
37
37
|
L as sort,
|