@uipath/flow-tool 1.201.0-preview.115 → 1.201.0-preview.121
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/{authoring-vbbqwp0v.js → authoring-rezk32bm.js} +64 -20
- package/dist/{conversion-MQ7TJMHW-5zbdb6y2.js → conversion-W6HMHBWW-jnk9z7rw.js} +42 -34
- package/dist/{de-JT3SUGT4-msgpbdge.js → de-B2KIY5TC-81f703v3.js} +14 -5
- package/dist/{de-3RMZHIP6-1na18a74.js → de-K6MLR24N-00fjz82b.js} +474 -51
- package/dist/{de-3RMZHIP6-QW5DEMLQ-fw64syvn.js → de-K6MLR24N-5N5XGLH6-gbwpvdz4.js} +476 -53
- package/dist/{de-LVBY3VVG-tc58p3x6.js → de-WMKOGI7B-r1821wpe.js} +16 -7
- package/dist/de-XLT4QPIP-0rtw349w.js +32 -0
- package/dist/{en-JGJNQYMG-BSN3EE6C-mhg57v8h.js → en-ILA4HPE5-ALHGESZE-zrv4qss8.js} +267 -7
- package/dist/{en-JGJNQYMG-xq29xvhk.js → en-ILA4HPE5-fhwvq92r.js} +264 -4
- package/dist/{en-H54NJOH6-30ht8n64.js → en-P6PNWNTO-g1f6cjh5.js} +10 -4
- package/dist/{en-4UFXRW7N-mqabr9tf.js → en-X4DLPKLJ-dt1wtdm7.js} +17 -5
- package/dist/{es-GJOELELT-w1d3agm2.js → es-BBX4AUJX-h99fcr53.js} +14 -5
- package/dist/{es-CI4AE5B5-55sgqk64.js → es-BVPGJUWA-9gk2g9yb.js} +16 -7
- package/dist/{es-EYHYM5C4-RMLHZ2LF-s0fc3pd6.js → es-HTQSD352-YTAEDCE5-nhsbg581.js} +470 -47
- package/dist/{es-EYHYM5C4-3bajghda.js → es-HTQSD352-m9rr3f0g.js} +468 -45
- package/dist/{es-MX-AMZIGU27-5pembt6k.js → es-MX-3SP2SSV6-f20qspbr.js} +14 -5
- package/dist/{es-MX-QSQP2KWV-qvgkwvz2.js → es-MX-FOX525CG-87g500gr.js} +474 -51
- package/dist/{es-MX-QSQP2KWV-XR5DWKNF-kp7pk2s4.js → es-MX-FOX525CG-HLM27OEL-whr0t9v3.js} +476 -53
- package/dist/es-MX-OKNDG2NH-c1k1s1tg.js +32 -0
- package/dist/{es-MX-OLZNAYY5-30cmv1dx.js → es-MX-U6YL5KQX-ynwxdjr8.js} +16 -7
- package/dist/es-NQICVYSQ-aa9z3nhs.js +32 -0
- package/dist/{fr-FXFJQRD3-F5HV2VS7-pwdze89j.js → fr-54THJ4QH-IGABNGU6-fpzw2mba.js} +475 -52
- package/dist/{fr-FXFJQRD3-rfztd3e5.js → fr-54THJ4QH-d6ezjbhw.js} +473 -50
- package/dist/{fr-CCN6ZO5E-x2akzsjt.js → fr-EKTTDR7Z-bmpwp31r.js} +16 -7
- package/dist/{fr-LYFYWWCC-nn4reak0.js → fr-FSTBVVGK-t3y57xrb.js} +14 -5
- package/dist/fr-PFHIL7YZ-cxnshwa8.js +32 -0
- package/dist/index-6hp3p3eq.js +16489 -0
- package/dist/{index-w23k88b5.js → index-p50kx6jv.js} +202 -64
- package/dist/{index-hzp6y5m7.js → index-q59ephfh.js} +57 -3
- package/dist/index.js +19 -16
- package/dist/init.js +14 -11
- package/dist/{ja-IRXXIG6Q-b3att2bw.js → ja-FW33BJBW-htfk4d8t.js} +14 -5
- package/dist/{ja-G7NJYQ42-ve4gadd7.js → ja-MHUPLSWO-3qwy4jc0.js} +470 -47
- package/dist/{ja-G7NJYQ42-X76DVL7A-9p8b5115.js → ja-MHUPLSWO-CS3KE4Y3-mbtkzwd7.js} +472 -49
- package/dist/ja-P4OSE367-8ywxep9a.js +32 -0
- package/dist/{ja-O2NEV5D6-nt9rhd8c.js → ja-Y2YBTXNN-96cvy5av.js} +16 -7
- package/dist/{ko-M32WKZ3I-5td5jsw7.js → ko-PDO5AXNW-d653t4pc.js} +14 -5
- package/dist/ko-PYOS2KJP-5sbj5bp8.js +32 -0
- package/dist/{ko-7XWV2SEQ-chk3y7aj.js → ko-S33XAV26-cxf4dn2t.js} +16 -7
- package/dist/{ko-QDHECDTM-6WJAKMQI-0fpd4dqj.js → ko-XPJTXIKK-DNSW4KYQ-956vp61f.js} +469 -46
- package/dist/{ko-QDHECDTM-zmbqs9pr.js → ko-XPJTXIKK-w1hs4px7.js} +467 -44
- package/dist/{node-6xp9wf15.js → node-f062h75p.js} +11 -5
- package/dist/{node-strategy-fwj45942.js → node-strategy-8gzp67xs.js} +4 -4
- package/dist/{packager-tool-kvgt1s4z.js → packager-tool-03knb0er.js} +287 -22
- package/dist/{packager-tool-9ae2gt84.js → packager-tool-1g6958de.js} +19 -8
- package/dist/{packager-tool-vz3b1ea9.js → packager-tool-1gt6js73.js} +7 -914
- package/dist/{packager-tool-973f0r2g.js → packager-tool-1yy9x4vk.js} +17 -5
- package/dist/{packager-tool-jqtspg41.js → packager-tool-3wf3tkrc.js} +11 -5
- package/dist/packager-tool-6a7wdv5z.js +36187 -0
- package/dist/{packager-tool-mtrz8981.js → packager-tool-9x76z587.js} +140 -239
- package/dist/packager-tool-b0s5d4ek.js +10671 -0
- package/dist/{packager-tool-htc0z863.js → packager-tool-cqrsre00.js} +282 -27
- package/dist/{packager-tool-q9zrqwxw.js → packager-tool-ef2aypt3.js} +3257 -2669
- package/dist/{packager-tool-h3gpqv5a.js → packager-tool-jeh5j2xy.js} +6939 -3736
- package/dist/packager-tool-jpcm3xas.js +12 -0
- package/dist/{packager-tool-3gmj73c5.js → packager-tool-neavt1k3.js} +1 -1
- package/dist/packager-tool-nkrmjr3a.js +915 -0
- package/dist/{packager-tool-p1ts5b0h.js → packager-tool-ny53xmsd.js} +129 -49
- package/dist/{packager-tool-fr5b9qs6.js → packager-tool-pvgqbm48.js} +3 -3
- package/dist/{packager-tool-9qhez6bh.js → packager-tool-qfp49pq4.js} +964 -526
- package/dist/packager-tool-v2p6g3fd.js +41 -0
- package/dist/{packager-tool-2vme4a8e.js → packager-tool-xa2xwzrq.js} +9864 -16886
- package/dist/packager-tool.js +9 -8
- package/dist/{pt-VXJT4WUJ-nwkc9k2p.js → pt-4JEPEAST-40npwxyw.js} +471 -48
- package/dist/{pt-VXJT4WUJ-M3IR7CL5-1f2ph8gm.js → pt-4JEPEAST-JO5WN33S-ccdbdab2.js} +473 -50
- package/dist/{pt-BR-Z4J3LEEO-cf33d2zv.js → pt-BR-JO45SCNI-4kbfnzc4.js} +16 -7
- package/dist/{pt-BR-57EHXZKB-8g83gr5g.js → pt-BR-LQH3RSBB-kyb4jmcw.js} +14 -5
- package/dist/{pt-BR-SADBLGXA-WG4Q265J-w9tshygt.js → pt-BR-TV7NR3ID-PDSSHRHU-nddwzj29.js} +472 -49
- package/dist/{pt-BR-SADBLGXA-yd89fdy2.js → pt-BR-TV7NR3ID-vgd26pj1.js} +470 -47
- package/dist/pt-BR-Z3TUDJHM-n7ngej6s.js +32 -0
- package/dist/{pt-VNM2XWHA-62z625rh.js → pt-JLZYSSXX-7jth254x.js} +14 -5
- package/dist/pt-KSBWHAVQ-hd52bpsz.js +32 -0
- package/dist/{pt-CRSN3TCU-txxbbcxm.js → pt-W3NA4LIZ-f02gapvs.js} +16 -7
- package/dist/{ro-RISZ75LL-zwztp9j5.js → ro-E2EBPQGT-vn573vcr.js} +14 -5
- package/dist/{ro-7JHKFGCH-H3RYKSCL-4w49rx4m.js → ro-RKJ74FV3-QS3I6XKJ-kb31d85k.js} +475 -52
- package/dist/{ro-7JHKFGCH-hbtkeqdr.js → ro-RKJ74FV3-qn0ey39v.js} +473 -50
- package/dist/ro-VZUZTAMR-tccygznf.js +32 -0
- package/dist/{ro-WMQEVD7D-6mtq0e6b.js → ro-WLKX6HF5-fcbe2zz8.js} +16 -7
- package/dist/ru-GSCT4ARZ-3TVTUGWP-bbg6360z.js +15 -0
- package/dist/{serialization-JNQMGOXW-mj06e5pv.js → serialization-GTFWODSH-ajd6b7n2.js} +10 -8
- package/dist/services/flow-validate-service.d.ts +108 -0
- package/dist/services/node-service.d.ts +46 -0
- package/dist/services/node-validators/ceql-query-validator.d.ts +36 -10
- package/dist/services/node-validators/expression-prefix-validator.d.ts +3 -2
- package/dist/services/node-validators/index.d.ts +2 -1
- package/dist/services/project-artifacts.d.ts +14 -1
- package/dist/tool.js +17 -14
- package/dist/{tr-UCMB7W3T-xmxp2naq.js → tr-3U2W2XCA-zg3zcmq3.js} +15 -6
- package/dist/tr-W4AVRSQ4-bt3qqqdy.js +32 -0
- package/dist/{tr-Q6IHBFK7-BEUWO5CI-29rgfwjy.js → tr-X7R6GQNB-VMEZAWRJ-vdbjqw23.js} +484 -61
- package/dist/{tr-Q6IHBFK7-zs9rsm1b.js → tr-X7R6GQNB-shwv16dz.js} +482 -59
- package/dist/{tr-AUPQF34V-y3dhtj0w.js → tr-ZUUSMHER-pfn5dq1r.js} +14 -5
- package/dist/validation.js +14 -11
- package/dist/zh-CN-6YRAN57T-j7jp34ws.js +32 -0
- package/dist/{zh-CN-3BPA3WIX-JDICNKGH-m87940q5.js → zh-CN-FEZ24J4A-LSEMG63K-db8kf6rm.js} +472 -49
- package/dist/{zh-CN-3BPA3WIX-c5ts2m5v.js → zh-CN-FEZ24J4A-q5b5x20w.js} +470 -47
- package/dist/{zh-CN-2QOHEFC5-ryjb2byk.js → zh-CN-IPZYQR3P-1h76csc4.js} +16 -7
- package/dist/{zh-CN-3INOX2E5-txhr8e18.js → zh-CN-YFKQ7HBX-w98q5zqf.js} +14 -5
- package/dist/{zh-TW-UI34YLZQ-j79rg6b7.js → zh-TW-CP5PCVEJ-wvbxf7c7.js} +14 -5
- package/dist/{zh-TW-QCJEQC5S-b1v637hd.js → zh-TW-GKSCT6NW-4n1yfre0.js} +464 -41
- package/dist/{zh-TW-QCJEQC5S-DQ3454QP-y8vvrebz.js → zh-TW-GKSCT6NW-JLMWTDAF-g2smq1gm.js} +466 -43
- package/dist/zh-TW-SO2245GN-m5kh88bg.js +32 -0
- package/dist/{zh-TW-Q5QSSTS6-6y7yjbbn.js → zh-TW-YPVSQVGT-wbybwpwt.js} +16 -7
- package/package.json +2 -2
- package/dist/de-CS2KUCZ6-j5a38g9p.js +0 -20
- package/dist/es-MX-3MRZG6V4-9z56akxp.js +0 -20
- package/dist/es-QBAGOKHO-b2azze22.js +0 -20
- package/dist/fr-HVOCQCNI-1zn75qzy.js +0 -20
- package/dist/ja-VYAZOLWC-nbagzgre.js +0 -20
- package/dist/ko-EZTVBPMZ-9qq2mrrz.js +0 -20
- package/dist/packager-tool-ahm4ymrp.js +0 -12
- package/dist/packager-tool-hcdc89cf.js +0 -14010
- package/dist/pt-3TKAWGMJ-58y42w7x.js +0 -20
- package/dist/pt-BR-ASMQE3WA-9wb74cqx.js +0 -20
- package/dist/ro-A65KBZGL-qnwqqezz.js +0 -20
- package/dist/ru-GSCT4ARZ-YSDBAAM2-ha88ztsj.js +0 -15
- package/dist/tr-Z7YHMEX6-daq3vjbh.js +0 -20
- package/dist/zh-CN-W7FK4GLU-vn3n8fcq.js +0 -20
- package/dist/zh-TW-PHOEUN3F-t56cjsgw.js +0 -20
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
resolveMaestroRegistry
|
|
3
|
+
} from "./packager-tool-v2p6g3fd.js";
|
|
1
4
|
import {
|
|
2
5
|
OutputFormatter,
|
|
3
6
|
RESULTS,
|
|
4
7
|
getOutputFormat,
|
|
5
8
|
getOutputFormatExplicit,
|
|
6
9
|
processContext
|
|
7
|
-
} from "./packager-tool-
|
|
10
|
+
} from "./packager-tool-ny53xmsd.js";
|
|
8
11
|
import {
|
|
9
12
|
getFileSystem
|
|
10
13
|
} from "./packager-tool-1cb0d5e0.js";
|
|
@@ -74,37 +77,70 @@ async function runChild(cliPath, args, cwd, label) {
|
|
|
74
77
|
});
|
|
75
78
|
});
|
|
76
79
|
}
|
|
77
|
-
async function
|
|
78
|
-
family,
|
|
79
|
-
commandVerb,
|
|
80
|
-
sdkVerb = commandVerb,
|
|
81
|
-
argv,
|
|
82
|
-
cwd
|
|
83
|
-
}) {
|
|
80
|
+
async function resolveFlowSdk(workspace, label) {
|
|
84
81
|
const fs = getFileSystem();
|
|
85
|
-
const workspace = cwd ?? fs.env.cwd();
|
|
86
|
-
const label = commandLabel(family, commandVerb);
|
|
87
82
|
let packagePath;
|
|
88
83
|
try {
|
|
89
84
|
packagePath = createRequire(import.meta.url).resolve("@uipath/flow-sdk/package.json", { paths: [workspace] });
|
|
90
85
|
} catch {
|
|
91
|
-
return
|
|
86
|
+
return {
|
|
87
|
+
ok: false,
|
|
88
|
+
message: `${label}: @uipath/flow-sdk is not installed in this workspace.`,
|
|
89
|
+
instructions: "Add it to this project's dependencies: npm install --save-dev @uipath/flow-sdk (requires an .npmrc routing @uipath to https://npm.pkg.github.com/)."
|
|
90
|
+
};
|
|
92
91
|
}
|
|
93
92
|
const packageText = await fs.readFile(packagePath, "utf-8");
|
|
94
93
|
if (packageText === null) {
|
|
95
|
-
return
|
|
94
|
+
return {
|
|
95
|
+
ok: false,
|
|
96
|
+
message: `${label}: could not read ${packagePath}.`,
|
|
97
|
+
instructions: "Reinstall @uipath/flow-sdk, then retry."
|
|
98
|
+
};
|
|
96
99
|
}
|
|
97
|
-
let version;
|
|
100
|
+
let version = "";
|
|
101
|
+
let bin = {};
|
|
98
102
|
try {
|
|
99
103
|
const parsed = JSON.parse(packageText);
|
|
100
104
|
version = typeof parsed.version === "string" ? parsed.version : "";
|
|
105
|
+
if (parsed.bin && typeof parsed.bin === "object") {
|
|
106
|
+
for (const [name, target] of Object.entries(parsed.bin)) {
|
|
107
|
+
if (typeof target === "string")
|
|
108
|
+
bin[name] = target;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
101
111
|
} catch {
|
|
102
112
|
version = "";
|
|
113
|
+
bin = {};
|
|
103
114
|
}
|
|
104
115
|
if (!versionMeetsFloor(version, MINIMUM_FLOW_SDK_VERSION)) {
|
|
105
|
-
return
|
|
116
|
+
return {
|
|
117
|
+
ok: false,
|
|
118
|
+
message: `${label}: found @uipath/flow-sdk ${version || "with no valid version"}; need >= ${MINIMUM_FLOW_SDK_VERSION}.`,
|
|
119
|
+
instructions: "Run: npm install --save-dev @uipath/flow-sdk@latest."
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
return {
|
|
123
|
+
ok: true,
|
|
124
|
+
packageDir: fs.path.dirname(packagePath),
|
|
125
|
+
version,
|
|
126
|
+
bin
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
async function delegateToFlowSdk({
|
|
130
|
+
family,
|
|
131
|
+
commandVerb,
|
|
132
|
+
sdkVerb = commandVerb,
|
|
133
|
+
argv,
|
|
134
|
+
cwd
|
|
135
|
+
}) {
|
|
136
|
+
const fs = getFileSystem();
|
|
137
|
+
const workspace = cwd ?? fs.env.cwd();
|
|
138
|
+
const label = commandLabel(family, commandVerb);
|
|
139
|
+
const resolution = await resolveFlowSdk(workspace, label);
|
|
140
|
+
if (!resolution.ok) {
|
|
141
|
+
return fail(resolution.message, resolution.instructions);
|
|
106
142
|
}
|
|
107
|
-
const cliPath = fs.path.join(
|
|
143
|
+
const cliPath = fs.path.join(resolution.packageDir, "dist", "cli", "index.js");
|
|
108
144
|
return await runChild(cliPath, [family, sdkVerb, ...argv], workspace, label);
|
|
109
145
|
}
|
|
110
146
|
|
|
@@ -122,6 +158,14 @@ function sdkCliExample(description, command, message) {
|
|
|
122
158
|
];
|
|
123
159
|
}
|
|
124
160
|
|
|
161
|
+
// ../builder-sdk/src/library-option.ts
|
|
162
|
+
async function resolveLibraryOption(explicit) {
|
|
163
|
+
if (explicit !== undefined)
|
|
164
|
+
return explicit;
|
|
165
|
+
const registry = await resolveMaestroRegistry();
|
|
166
|
+
return registry?.libraryJson;
|
|
167
|
+
}
|
|
168
|
+
|
|
125
169
|
// ../builder-sdk/src/commands/check.ts
|
|
126
170
|
var CHECK_EXAMPLES = {
|
|
127
171
|
flow: { input: "Order.flow.ts", message: "✓ no issues" },
|
|
@@ -131,7 +175,7 @@ var CHECK_EXAMPLES = {
|
|
|
131
175
|
var registerCheckCommand = (program, family) => {
|
|
132
176
|
const command = program.previewCommand("check <input>").description("Run the authoring-time SDK analyzer on source or an artifact.").option("--source", "Check authored TypeScript").option("--compiled", "Check the compiled artifact");
|
|
133
177
|
if (family === "flow") {
|
|
134
|
-
command.option("--library <dir>", "Connector library directory (source checks also honor $FLOW_SDK_LIBRARY_JSON)").option("--json", "Print compiled-check diagnostics as JSON").option("--uip", "Resolve missing schemas with the UiPath CLI").option("--max-errors <count>", "Stop after this many compiled-check errors").option("--script-determinism", "Check script blocks for non-deterministic calls").option("--quiet", "Suppress warnings and information");
|
|
178
|
+
command.option("--library <dir>", "Connector library directory (defaults to the pulled registry; source checks also honor $FLOW_SDK_LIBRARY_JSON)").option("--json", "Print compiled-check diagnostics as JSON").option("--uip", "Resolve missing schemas with the UiPath CLI").option("--max-errors <count>", "Stop after this many compiled-check errors").option("--script-determinism", "Check script blocks for non-deterministic calls").option("--quiet", "Suppress warnings and information");
|
|
135
179
|
}
|
|
136
180
|
const example = CHECK_EXAMPLES[family];
|
|
137
181
|
command.examples(sdkCliExample(`Check a ${family} source file before compiling it`, `uip maestro ${family} check ${example.input} --source`, example.message)).trackedAction(processContext, async (input, options) => {
|
|
@@ -140,7 +184,7 @@ var registerCheckCommand = (program, family) => {
|
|
|
140
184
|
argv.push("--source");
|
|
141
185
|
if (options.compiled)
|
|
142
186
|
argv.push("--compiled");
|
|
143
|
-
addValue(argv, "--library", options.library);
|
|
187
|
+
addValue(argv, "--library", await resolveLibraryOption(options.library));
|
|
144
188
|
if (options.json || getOutputFormatExplicit() && getOutputFormat() === "json")
|
|
145
189
|
argv.push("--json");
|
|
146
190
|
if (options.uip)
|
|
@@ -178,7 +222,7 @@ var COMPILE_EXAMPLES = {
|
|
|
178
222
|
}
|
|
179
223
|
};
|
|
180
224
|
var registerCompileCommand = (program, family) => {
|
|
181
|
-
const command = program.previewCommand("compile <source>").description(`Compile authored TypeScript to a ${family} artifact.`).option("-o, --output <file>", "Output artifact path").option("--library <dir>", "Connector library directory").option("--bindings <file>", "bindings.json path");
|
|
225
|
+
const command = program.previewCommand("compile <source>").description(`Compile authored TypeScript to a ${family} artifact.`).option("-o, --output <file>", "Output artifact path").option("--library <dir>", "Connector library directory (defaults to the pulled registry)").option("--bindings <file>", "bindings.json path");
|
|
182
226
|
if (family !== "bpmn") {
|
|
183
227
|
command.option("--connectors-local <dir>", "Connection-resolved connector overlay");
|
|
184
228
|
}
|
|
@@ -189,7 +233,7 @@ var registerCompileCommand = (program, family) => {
|
|
|
189
233
|
command.examples(sdkCliExample(`Compile a ${family} source file to an artifact`, `uip maestro ${family} compile ${example.source} --output ${example.output}`, example.message)).trackedAction(processContext, async (source, options) => {
|
|
190
234
|
const argv = [source];
|
|
191
235
|
addValue(argv, "-o", options.output);
|
|
192
|
-
addValue(argv, "--library", options.library);
|
|
236
|
+
addValue(argv, "--library", await resolveLibraryOption(options.library));
|
|
193
237
|
addValue(argv, "--bindings", options.bindings);
|
|
194
238
|
addValue(argv, "--connectors-local", options.connectorsLocal);
|
|
195
239
|
if (options.check === false)
|
|
@@ -265,4 +309,4 @@ export {
|
|
|
265
309
|
registerFlowAuthoringCommands
|
|
266
310
|
};
|
|
267
311
|
|
|
268
|
-
//# debugId=
|
|
312
|
+
//# debugId=6235049CE52F8BEE64756E2164756E21
|
|
@@ -3,34 +3,33 @@ import {
|
|
|
3
3
|
buildConnectorHttpRequestDetail,
|
|
4
4
|
createNodeVariable,
|
|
5
5
|
findTerminalNodes,
|
|
6
|
-
getCollapsedSize,
|
|
7
6
|
getConnectorHttpRequestKey,
|
|
8
|
-
getExpandedShape,
|
|
9
7
|
getExpandedSize,
|
|
10
8
|
getLatestDefinitionByNodeType,
|
|
11
9
|
isContainerNodeManifest,
|
|
12
10
|
resolveNodeOutputTypeSchema
|
|
13
|
-
} from "./packager-tool-
|
|
14
|
-
import"./packager-tool-
|
|
15
|
-
import"./packager-tool-
|
|
16
|
-
import"./packager-tool-
|
|
11
|
+
} from "./packager-tool-jeh5j2xy.js";
|
|
12
|
+
import"./packager-tool-3wf3tkrc.js";
|
|
13
|
+
import"./packager-tool-03knb0er.js";
|
|
14
|
+
import"./packager-tool-pvgqbm48.js";
|
|
17
15
|
import"./packager-tool-gbgfwx8f.js";
|
|
18
16
|
import {
|
|
19
17
|
MINIMUM_SUPPORTED_SCHEMA_VERSION,
|
|
20
18
|
generateNextId,
|
|
19
|
+
isLoopNodeType,
|
|
21
20
|
isSubflowNodeType
|
|
22
|
-
} from "./packager-tool-
|
|
21
|
+
} from "./packager-tool-ef2aypt3.js";
|
|
23
22
|
import {
|
|
24
23
|
init_esm_shims
|
|
25
|
-
} from "./packager-tool-
|
|
24
|
+
} from "./packager-tool-jpcm3xas.js";
|
|
26
25
|
import"./packager-tool-c19w8vg9.js";
|
|
27
|
-
import"./packager-tool-
|
|
26
|
+
import"./packager-tool-1yy9x4vk.js";
|
|
28
27
|
import"./packager-tool-c23zrhj8.js";
|
|
29
28
|
import {
|
|
30
29
|
__require
|
|
31
30
|
} from "./packager-tool-wckvcay0.js";
|
|
32
31
|
|
|
33
|
-
// ../../node_modules/@uipath/flow-converter/dist/conversion-
|
|
32
|
+
// ../../node_modules/@uipath/flow-converter/dist/conversion-W6HMHBWW.js
|
|
34
33
|
init_esm_shims();
|
|
35
34
|
init_esm_shims();
|
|
36
35
|
init_esm_shims();
|
|
@@ -191,12 +190,16 @@ init_esm_shims();
|
|
|
191
190
|
init_esm_shims();
|
|
192
191
|
var DEFAULT_TRIGGER_POSITION = { x: 256, y: 144 };
|
|
193
192
|
init_esm_shims();
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
193
|
+
function isPlainObject(value) {
|
|
194
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
195
|
+
}
|
|
196
|
+
function mergeManifestOutputOverInstance(instanceValue, manifestValue) {
|
|
197
|
+
if (manifestValue === undefined)
|
|
198
|
+
return instanceValue;
|
|
199
|
+
if (instanceValue === undefined)
|
|
200
|
+
return manifestValue;
|
|
201
|
+
return isPlainObject(instanceValue) && isPlainObject(manifestValue) ? { ...instanceValue, ...manifestValue } : manifestValue;
|
|
202
|
+
}
|
|
200
203
|
init_esm_shims();
|
|
201
204
|
init_esm_shims();
|
|
202
205
|
var connectorHttpRequestProcessor = (definition, ctx) => {
|
|
@@ -314,12 +317,18 @@ function buildSubflowPassThroughOutputDefinition(nodes, edges, manifestMap, node
|
|
|
314
317
|
if (terminalsWithOutputs.length === 1) {
|
|
315
318
|
const { outputDef } = terminalsWithOutputs[0];
|
|
316
319
|
for (const key of allKeys) {
|
|
320
|
+
if (isUnsafeKey(key))
|
|
321
|
+
continue;
|
|
317
322
|
result[key] = toSchemaType(outputDef[key]);
|
|
318
323
|
}
|
|
319
324
|
} else {
|
|
320
325
|
for (const key of allKeys) {
|
|
326
|
+
if (isUnsafeKey(key))
|
|
327
|
+
continue;
|
|
321
328
|
const properties = {};
|
|
322
329
|
for (const { node, outputDef } of terminalsWithOutputs) {
|
|
330
|
+
if (isUnsafeKey(node.id))
|
|
331
|
+
continue;
|
|
323
332
|
if (key in outputDef) {
|
|
324
333
|
properties[node.id] = toSchemaType(outputDef[key]);
|
|
325
334
|
}
|
|
@@ -329,6 +338,10 @@ function buildSubflowPassThroughOutputDefinition(nodes, edges, manifestMap, node
|
|
|
329
338
|
}
|
|
330
339
|
return result;
|
|
331
340
|
}
|
|
341
|
+
var UNSAFE_KEYS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
342
|
+
function isUnsafeKey(key) {
|
|
343
|
+
return UNSAFE_KEYS.has(key);
|
|
344
|
+
}
|
|
332
345
|
function toSchemaType(def) {
|
|
333
346
|
const { source: _, var: _v, ...schema } = def ?? {};
|
|
334
347
|
return { type: "object", ...schema };
|
|
@@ -359,14 +372,14 @@ function computeSubflowEffectiveOutputDef(subflowNodeId, subflows, manifestMap,
|
|
|
359
372
|
}
|
|
360
373
|
if (outputDef) {
|
|
361
374
|
for (const [key, val] of Object.entries(outputDef)) {
|
|
375
|
+
if (isUnsafeKey(key))
|
|
376
|
+
continue;
|
|
362
377
|
outputKeys[key] = val;
|
|
363
378
|
}
|
|
364
379
|
}
|
|
365
380
|
}
|
|
366
381
|
return Object.keys(outputKeys).length > 0 ? outputKeys : undefined;
|
|
367
382
|
}
|
|
368
|
-
init_esm_shims();
|
|
369
|
-
var LOOP_NODE_TYPE = "core.logic.loop";
|
|
370
383
|
function sanitizeNodeLabelLocal(label) {
|
|
371
384
|
const words = label.split(/[^a-zA-Z0-9]+/).filter(Boolean);
|
|
372
385
|
if (words.length === 0)
|
|
@@ -503,9 +516,9 @@ function hydrateNodeData(node, definition, nodeVariables = [], subflowEntry, man
|
|
|
503
516
|
const instanceOutputs = node.outputs ?? {};
|
|
504
517
|
const effectiveOutputs = { ...manifestOutputs, ...nodeVariableOutputs, ...subflowOutputs };
|
|
505
518
|
for (const [key, value] of Object.entries(instanceOutputs)) {
|
|
506
|
-
if (
|
|
507
|
-
effectiveOutputs[key] =
|
|
508
|
-
} else
|
|
519
|
+
if (key in effectiveOutputs) {
|
|
520
|
+
effectiveOutputs[key] = mergeManifestOutputOverInstance(value, effectiveOutputs[key]);
|
|
521
|
+
} else {
|
|
509
522
|
effectiveOutputs[key] = value;
|
|
510
523
|
}
|
|
511
524
|
}
|
|
@@ -583,17 +596,11 @@ function workflowToXYFlow(workflow, manifestMap) {
|
|
|
583
596
|
const parentManifestDef = parentNode ? manifestMap.get(getManifestKey(parentNode.type, parentNode.typeVersion)) : undefined;
|
|
584
597
|
const parentFileDef = parentNode ? definitions.find((def) => def.nodeType === parentNode.type && def.version === parentNode.typeVersion) : undefined;
|
|
585
598
|
const parentDefinition = resolveDefinition(parentManifestDef, parentFileDef);
|
|
586
|
-
if (parentNode?.type
|
|
599
|
+
if (isLoopNodeType(parentNode?.type) && isContainerNodeManifest(parentDefinition)) {
|
|
587
600
|
base.parentId = node.parentId;
|
|
588
601
|
base.extent = "parent";
|
|
589
602
|
}
|
|
590
603
|
}
|
|
591
|
-
const isCollapsed = Boolean(node.ui?.collapsed);
|
|
592
|
-
if (isCollapsed && base.width !== undefined && base.height !== undefined) {
|
|
593
|
-
const collapsedSize = getCollapsedSize();
|
|
594
|
-
base.width = collapsedSize.width;
|
|
595
|
-
base.height = collapsedSize.height;
|
|
596
|
-
}
|
|
597
604
|
return base;
|
|
598
605
|
});
|
|
599
606
|
const orderedNodes = sortNodesParentFirst(nodes);
|
|
@@ -662,10 +669,10 @@ function xyFlowToWorkflow(workflowId, workflowVersion, workflowName, nodes, edge
|
|
|
662
669
|
const base = nodeToInstance(node);
|
|
663
670
|
const isCollapsed = Boolean(node.data.isCollapsed);
|
|
664
671
|
const instanceDisplay = node.data?.display || {};
|
|
665
|
-
const
|
|
672
|
+
const shape = instanceDisplay.shape;
|
|
666
673
|
const width = base.ui.size?.width;
|
|
667
674
|
const height = base.ui.size?.height;
|
|
668
|
-
const sizeValue =
|
|
675
|
+
const sizeValue = !width || !height ? getExpandedSize(shape) : { width, height };
|
|
669
676
|
return {
|
|
670
677
|
...base,
|
|
671
678
|
ui: {
|
|
@@ -675,7 +682,7 @@ function xyFlowToWorkflow(workflowId, workflowVersion, workflowName, nodes, edge
|
|
|
675
682
|
},
|
|
676
683
|
display: {
|
|
677
684
|
...base.display,
|
|
678
|
-
...
|
|
685
|
+
...shape !== undefined && { shape }
|
|
679
686
|
}
|
|
680
687
|
};
|
|
681
688
|
});
|
|
@@ -809,7 +816,7 @@ function applyGlobalInputOverrides(raw, inputs) {
|
|
|
809
816
|
}
|
|
810
817
|
}
|
|
811
818
|
}
|
|
812
|
-
var warmSerializationChunks = () => Promise.all([import("./index-
|
|
819
|
+
var warmSerializationChunks = () => Promise.all([import("./index-q59ephfh.js"), import("./serialization-GTFWODSH-ajd6b7n2.js")]);
|
|
813
820
|
async function flowJsonToBpmnXml(flowJson, options) {
|
|
814
821
|
const [{ fileFormatToInMemoryWorkflow }, { toXml }] = await warmSerializationChunks();
|
|
815
822
|
const raw = JSON.parse(flowJson);
|
|
@@ -821,7 +828,8 @@ async function flowJsonToBpmnXml(flowJson, options) {
|
|
|
821
828
|
}
|
|
822
829
|
const { nodes, edges, definitions, workflowVariables, bindings } = workflowToXYFlow(workflow, manifestMap);
|
|
823
830
|
return toXml(nodes, edges, definitions, bindings, workflowVariables, workflow.subflows, {
|
|
824
|
-
detached: options?.detached
|
|
831
|
+
detached: options?.detached,
|
|
832
|
+
voiceAgentDefinitions: options?.voiceAgentDefinitions
|
|
825
833
|
});
|
|
826
834
|
}
|
|
827
835
|
export {
|
|
@@ -842,4 +850,4 @@ export {
|
|
|
842
850
|
applyGlobalInputOverrides
|
|
843
851
|
};
|
|
844
852
|
|
|
845
|
-
//# debugId=
|
|
853
|
+
//# debugId=0E4531B286550A0F64756E2164756E21
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import"./packager-tool-c19w8vg9.js";
|
|
2
2
|
import"./packager-tool-wckvcay0.js";
|
|
3
3
|
|
|
4
|
-
// ../../node_modules/@uipath/flow-converter/dist/de-
|
|
4
|
+
// ../../node_modules/@uipath/flow-converter/dist/de-B2KIY5TC.js
|
|
5
5
|
var agentsEval_polling_timedOutError = "Zeitüberschreitung bei Auswertungsabfrage nach {{seconds}} Sek.";
|
|
6
|
+
var agents_aiTrustLayerPolicy_loadFailedError = "Fehler beim Abrufen der AI Trust Layer-Richtlinie";
|
|
6
7
|
var agents_enforcements_loadFailedError = "Fehler beim Abrufen der Agent-Erzwingungen";
|
|
7
8
|
var agents_models_loadFailedError = "Fehler beim Abrufen der Agent-Modelle";
|
|
8
9
|
var apiFunction_execution_unknownError = "Unbekannter Fehler";
|
|
@@ -20,9 +21,10 @@ var debugAdapter_session_missingIdsError = "Zum Starten der Debug-Sitzung sind P
|
|
|
20
21
|
var debugAdapter_singleStep_missingActivityIdError = "activityId ist für den SingleStep-Debug-Modus erforderlich";
|
|
21
22
|
var debugAdapter_singleStep_missingBpmnFileError = "bpmnFileName ist für den SingleStep-Debug-Modus erforderlich";
|
|
22
23
|
var debug_execution_failedError = "Ausführung fehlgeschlagen";
|
|
24
|
+
var debug_execution_pollTimeoutError = "Debug-Abfrage wurde nach {{minutes}} Minuten beendet. Der Workflow wird möglicherweise noch auf dem Server ausgeführt.";
|
|
23
25
|
var gatewayScript_expression_evaluationError = "Gateway-Ausdruck fehlgeschlagen: {{error}}";
|
|
24
26
|
var gatewayScript_switch_noMatchError = "Kein übereinstimmender Fall und keine Standardverzweigung";
|
|
25
|
-
var
|
|
27
|
+
var guardrails_definitions_loadError = "Fehler beim Laden der Leitplankendefinitionen.";
|
|
26
28
|
var llmGateway_completions_noContentError = "Kein Inhalt in der Antwort";
|
|
27
29
|
var llmGateway_completions_unknownError = "Unbekannter Fehler";
|
|
28
30
|
var llmGateway_connection_notSignedInError = "Nicht mit UiPath Cloud verbunden. Melden Sie sich an, um UiPath LLM Gateway zu verwenden.";
|
|
@@ -32,6 +34,7 @@ var mfe_federation_bootstrapLoadFailedError = "Fehler beim Laden des FederalBoot
|
|
|
32
34
|
var mfe_federation_moduleLoadFailedError = "Fehler beim Laden des Verbundmoduls: studioWeb/{{moduleName}}";
|
|
33
35
|
var mfe_initialized_envConflictError = "MFE wurde für „{{currentEnv}}“ bereits initialisiert – Wechsel zu „{{newEnv}}“ nicht möglich. Laden Sie den Editor neu, um Umgebungen zu ändern.";
|
|
34
36
|
var mfe_initialized_orgConflictError = "MFE wurde für Organisation „{{currentOrgId}}“ bereits initialisiert – Wechsel zu „{{newOrgId}}“ nicht möglich. Laden Sie den Editor neu, um Organisationen zu ändern.";
|
|
37
|
+
var migrationCheck_projection_stepDescription = "Beibehaltung des Schreibschemas der v{{version}}-Flotte.";
|
|
35
38
|
var orchestrator_attachment_noBlobUriError = "Fehler beim Erstellen des Anhangs: kein Blob-URI in der Antwort";
|
|
36
39
|
var orchestrator_attachment_noDownloadUriError = "Kein Download-URI in der Anhangsantwort";
|
|
37
40
|
var orchestrator_attachment_noIdError = "Fehler beim Erstellen des Anhangs: keine Anhangs-ID in der Antwort";
|
|
@@ -45,6 +48,7 @@ var scriptWorker_validation_emptyScriptError = "Skript muss ein string-Element m
|
|
|
45
48
|
var scriptWorker_validation_invalidTypeError = "Ungültiger Skripttyp";
|
|
46
49
|
var de_default = {
|
|
47
50
|
agentsEval_polling_timedOutError,
|
|
51
|
+
agents_aiTrustLayerPolicy_loadFailedError,
|
|
48
52
|
agents_enforcements_loadFailedError,
|
|
49
53
|
agents_models_loadFailedError,
|
|
50
54
|
apiFunction_execution_unknownError,
|
|
@@ -62,9 +66,10 @@ var de_default = {
|
|
|
62
66
|
debugAdapter_singleStep_missingActivityIdError,
|
|
63
67
|
debugAdapter_singleStep_missingBpmnFileError,
|
|
64
68
|
debug_execution_failedError,
|
|
69
|
+
debug_execution_pollTimeoutError,
|
|
65
70
|
gatewayScript_expression_evaluationError,
|
|
66
71
|
gatewayScript_switch_noMatchError,
|
|
67
|
-
|
|
72
|
+
guardrails_definitions_loadError,
|
|
68
73
|
llmGateway_completions_noContentError,
|
|
69
74
|
llmGateway_completions_unknownError,
|
|
70
75
|
llmGateway_connection_notSignedInError,
|
|
@@ -74,6 +79,7 @@ var de_default = {
|
|
|
74
79
|
mfe_federation_moduleLoadFailedError,
|
|
75
80
|
mfe_initialized_envConflictError,
|
|
76
81
|
mfe_initialized_orgConflictError,
|
|
82
|
+
migrationCheck_projection_stepDescription,
|
|
77
83
|
orchestrator_attachment_noBlobUriError,
|
|
78
84
|
orchestrator_attachment_noDownloadUriError,
|
|
79
85
|
orchestrator_attachment_noIdError,
|
|
@@ -98,6 +104,7 @@ export {
|
|
|
98
104
|
orchestrator_attachment_noIdError,
|
|
99
105
|
orchestrator_attachment_noDownloadUriError,
|
|
100
106
|
orchestrator_attachment_noBlobUriError,
|
|
107
|
+
migrationCheck_projection_stepDescription,
|
|
101
108
|
mfe_initialized_orgConflictError,
|
|
102
109
|
mfe_initialized_envConflictError,
|
|
103
110
|
mfe_federation_moduleLoadFailedError,
|
|
@@ -107,10 +114,11 @@ export {
|
|
|
107
114
|
llmGateway_connection_notSignedInError,
|
|
108
115
|
llmGateway_completions_unknownError,
|
|
109
116
|
llmGateway_completions_noContentError,
|
|
110
|
-
|
|
117
|
+
guardrails_definitions_loadError,
|
|
111
118
|
gatewayScript_switch_noMatchError,
|
|
112
119
|
gatewayScript_expression_evaluationError,
|
|
113
120
|
de_default as default,
|
|
121
|
+
debug_execution_pollTimeoutError,
|
|
114
122
|
debug_execution_failedError,
|
|
115
123
|
debugAdapter_singleStep_missingBpmnFileError,
|
|
116
124
|
debugAdapter_singleStep_missingActivityIdError,
|
|
@@ -128,7 +136,8 @@ export {
|
|
|
128
136
|
apiFunction_execution_unknownError,
|
|
129
137
|
agents_models_loadFailedError,
|
|
130
138
|
agents_enforcements_loadFailedError,
|
|
139
|
+
agents_aiTrustLayerPolicy_loadFailedError,
|
|
131
140
|
agentsEval_polling_timedOutError
|
|
132
141
|
};
|
|
133
142
|
|
|
134
|
-
//# debugId=
|
|
143
|
+
//# debugId=4A7088B6DAC56B4364756E2164756E21
|