n8n-editor-ui 1.77.3 → 1.78.0
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/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-C9LVFaJT.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-eVUE5od5.js} +1 -1
- package/dist/assets/{AuthView-C383xWYW.js → AuthView-D1tEXMXA.js} +2 -2
- package/dist/assets/{CanvasChat-BGlghV3T.js → CanvasChat-BLb-TUbz.js} +4 -4
- package/dist/assets/{CanvasControls-Crujpx17.js → CanvasControls-BN3S3-fQ.js} +1 -1
- package/dist/assets/{ChangePasswordView-DXzIgEaK.js → ChangePasswordView-V1JTrEew.js} +3 -3
- package/dist/assets/CollectionParameter-C28x26Fy.js +4 -0
- package/dist/assets/{ConcurrentExecutionsHeader-D9E-tPI2.js → ConcurrentExecutionsHeader-BNA8q-8c.js} +2 -2
- package/dist/assets/{CredentialsView-Db-yh1UW.js → CredentialsView-AQksN2m1.js} +4 -4
- package/dist/assets/{ErrorView-DVEUcXeM.js → ErrorView-CLT4S_BD.js} +1 -1
- package/dist/assets/{ExecutionsView-CqcJ1jBb.js → ExecutionsView-qI0J-9KP.js} +5 -5
- package/dist/assets/{FileSaver.min-DRMcruyG.js → FileSaver.min-B-zoCBIE.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-rnJQitY7.js → FixedCollectionParameter-DQeeV-mE.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-CCuBQ23v.js → ForgotMyPasswordView-BYvqdrhp.js} +3 -3
- package/dist/assets/{Logo-vj6e7OLa.js → Logo-CmkNIoey.js} +1 -1
- package/dist/assets/{MainHeader-Bz40v4tX.js → MainHeader-rUYFpqrO.js} +9 -9
- package/dist/assets/{MainSidebar-7b7uQIcC.js → MainSidebar-B9_KVa79.js} +2 -2
- package/dist/assets/{NodeCreation-KBmCqr6_.js → NodeCreation-CWLKVrNb.js} +4 -4
- package/dist/assets/{NodeCreator-DTMPwVj5.js → NodeCreator-CzIIkTTW.js} +17 -6
- package/dist/assets/{NodeViewSwitcher-O6VqzxIl.js → NodeViewSwitcher-BUNM0KZ6.js} +61 -32
- package/dist/assets/{NodeViewSwitcher-DApULbEt.css → NodeViewSwitcher-Det3o0gl.css} +106 -106
- package/dist/assets/{ProjectCardBadge-OKM1Xgdw.js → ProjectCardBadge-BbA_Exq8.js} +1 -1
- package/dist/assets/{ProjectHeader-6S5uaHXh.js → ProjectHeader-DlgpDOwX.js} +1 -1
- package/dist/assets/{ProjectSettings-BnHtiDEV.js → ProjectSettings-DqEtmmAS.js} +2 -2
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-IciN-pmV.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-DL91BcV8.js} +1 -1
- package/dist/assets/{ResourcesListLayout-d7mMNhOL.css → ResourcesListLayout-CvrwoZYS.css} +6 -6
- package/dist/assets/{ResourcesListLayout-D4r1wqjJ.js → ResourcesListLayout-D2ZxA1Uw.js} +14 -2
- package/dist/assets/{RunDataJson-wyo45w7C.js → RunDataJson-UkDmIQKn.js} +14 -14
- package/dist/assets/{RunDataJsonActions-D46WL4YN.js → RunDataJsonActions-BqDvrghZ.js} +2 -2
- package/dist/assets/{RunDataSearch-B3EyVssL.js → RunDataSearch-UNQ4_4vM.js} +1 -1
- package/dist/assets/{RunDataTable-DGMN5nF6.js → RunDataTable-BdbNPKnU.js} +2 -2
- package/dist/assets/{SamlOnboarding-CnXUkDfT.js → SamlOnboarding-Rzkh3AGB.js} +3 -3
- package/dist/assets/SettingsApiView-BB3Lm3bi.css +301 -0
- package/dist/assets/SettingsApiView-C27ofqQf.js +292 -0
- package/dist/assets/{SettingsCommunityNodesView-9KrggWFu.js → SettingsCommunityNodesView-CWp_YPSH.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-DBPzjP3z.js → SettingsExternalSecrets-BytZbZef.js} +1 -1
- package/dist/assets/{SettingsLdapView-Bg2KWXN0.js → SettingsLdapView-DvNozRM0.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-tgIsDBAk.js → SettingsLogStreamingView-C4Y3N6rF.js} +1 -1
- package/dist/assets/{SettingsPersonalView-CDJ8_Cuz.js → SettingsPersonalView--Z9y3dtC.js} +1 -1
- package/dist/assets/{SettingsSourceControl-ap8XMKcG.js → SettingsSourceControl-BElByx3w.js} +1 -1
- package/dist/assets/{SettingsSso-B91oi5bN.js → SettingsSso-DUOhZeok.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-Bb6yK99X.js → SettingsUsageAndPlan-DTw2vCOM.js} +1 -1
- package/dist/assets/{SettingsUsersView-Ci2z6Jpz.js → SettingsUsersView-B2lC671-.js} +1 -1
- package/dist/assets/{SettingsView-CStRsQ-w.js → SettingsView-tGXgBeZb.js} +1 -1
- package/dist/assets/{SetupView-B5zAoB3c.js → SetupView-BB-PMekL.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-Cro6GHxL.js → SetupWorkflowCredentialsButton-B7i_jYti.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-CcwL92Id.js → SetupWorkflowFromTemplateView-Co52TGFE.js} +3 -3
- package/dist/assets/{SigninView-DsPEhU2L.js → SigninView-B8lcx39e.js} +3 -3
- package/dist/assets/{SignoutView-BIckw4fs.js → SignoutView-CamkX68g.js} +1 -1
- package/dist/assets/{SignupView-DdJWtYpI.js → SignupView-D9e7FiEj.js} +3 -3
- package/dist/assets/{TemplateDetails-C41VgGvk.js → TemplateDetails-C0RPBtYu.js} +1 -1
- package/dist/assets/{TemplateList-DkS7PdQW.js → TemplateList-B6jscn2o.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-BV7HXuai.js → TemplatesCollectionView-9fi4vQ1-.js} +5 -5
- package/dist/assets/{TemplatesSearchView-BKY_Lw-C.js → TemplatesSearchView-VlRyjuTl.js} +3 -3
- package/dist/assets/{TemplatesView-C312c1EZ.js → TemplatesView-CgQelQ-w.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-BfzWwupR.js → TemplatesWorkflowView-BhhfuZZ9.js} +5 -5
- package/dist/assets/{TestDefinitionEditView-CwoHUF5w.js → TestDefinitionEditView-Cv4ImQQb.js} +15 -3
- package/dist/assets/{TestDefinitionListView-2tWTEUz0.js → TestDefinitionListView-CywmtGBZ.js} +1 -1
- package/dist/assets/{TestDefinitionRootView-gJRxCHz3.js → TestDefinitionRootView-BhZESeJD.js} +1 -1
- package/dist/assets/{VariablesView-DqbIksP3.js → VariablesView-B_Ju8Kay.js} +2 -2
- package/dist/assets/{WorkerView-DSPfcsXN.js → WorkerView-Lif0hJie.js} +5 -5
- package/dist/assets/{WorkflowActivator-Bm8OihqN.js → WorkflowActivator-Bv0WPJm3.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-B78-cQSW.js → WorkflowExecutionsInfoAccordion-DitIU6bv.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-C39BBF2o.js → WorkflowExecutionsLandingPage-vuyCAPrk.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-CdlK3mFb.js → WorkflowExecutionsPreview-DN_WSVD_.js} +5 -5
- package/dist/assets/{WorkflowExecutionsView-a-Pjy5V5.js → WorkflowExecutionsView-BhFMyj3l.js} +5 -5
- package/dist/assets/{WorkflowHistory-Bwqmh22i.js → WorkflowHistory-XSHcXPVZ.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-CipWLUUf.js → WorkflowOnboardingView-DdujIOw8.js} +1 -1
- package/dist/assets/{WorkflowPreview-CAjmdxrY.js → WorkflowPreview-YDi-9g3Y.js} +1 -1
- package/dist/assets/{WorkflowsView-DP6J_TRf.js → WorkflowsView-BLTTQnV3.js} +7 -7
- package/dist/assets/{easyAiWorkflowUtils-BLdDr_bc.js → easyAiWorkflowUtils-WSNP3eeS.js} +1 -1
- package/dist/assets/{index-DablXALM.js → index-BwoviwZU.js} +5327 -3598
- package/dist/assets/{index-Bs_8II2j.css → index-DFFkAkMx.css} +1162 -532
- package/dist/assets/{polyfills-DfOJfMlf.js → polyfills-C7eMRNFe.js} +92 -39
- package/dist/assets/{pushConnection.store-DmLr_C_P.js → pushConnection.store-BlMyXexG.js} +1 -1
- package/dist/assets/{templateActions--1waaCku.js → templateActions-CDiqnge9.js} +1 -1
- package/dist/assets/{useBeforeUnload-C9Q3IFHU.js → useBeforeUnload-BQCxN-bM.js} +1 -1
- package/dist/assets/{useCanvasOperations-CEWecDkR.css → useCanvasOperations-CKa4_bqL.css} +4 -4
- package/dist/assets/{useCanvasOperations-CEPzjX8I.js → useCanvasOperations-DQSiUE8i.js} +96 -62
- package/dist/assets/{useExecutionDebugging-Pzj1BQ1f.js → useExecutionDebugging-BlSzHQ7f.js} +1 -1
- package/dist/assets/{useExecutionHelpers-F_WL-Kvp.js → useExecutionHelpers-DpNwTiuj.js} +1 -1
- package/dist/assets/{usePinnedData-BEOJK2e-.js → usePinnedData-E0jv55-6.js} +1 -1
- package/dist/assets/{usePushConnection-BlvBVLFC.js → usePushConnection-ioPocbvz.js} +3 -3
- package/dist/assets/{useRunWorkflow-CoRVHZg2.js → useRunWorkflow-B-O5w0ED.js} +8 -5
- package/dist/assets/{useWorkflowActivate-wvqU9rPU.js → useWorkflowActivate-CbVB4JlR.js} +1 -1
- package/dist/index.html +3 -3
- package/dist/static/og_image.png +0 -0
- package/package.json +1 -1
- package/tsconfig.json +10 -13
- package/vite.config.mts +6 -2
- package/dist/assets/CollectionParameter-C_1RVSJv.js +0 -4
- package/dist/assets/SettingsApiView-DJKJO7zM.css +0 -145
- package/dist/assets/SettingsApiView-EFylgnqH.js +0 -227
|
@@ -86,7 +86,7 @@ function requireFunctionCall () {
|
|
|
86
86
|
var NATIVE_BIND = requireFunctionBindNative();
|
|
87
87
|
|
|
88
88
|
var call = Function.prototype.call;
|
|
89
|
-
|
|
89
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
90
90
|
functionCall = NATIVE_BIND ? call.bind(call) : function () {
|
|
91
91
|
return call.apply(call, arguments);
|
|
92
92
|
};
|
|
@@ -143,6 +143,7 @@ function requireFunctionUncurryThis () {
|
|
|
143
143
|
|
|
144
144
|
var FunctionPrototype = Function.prototype;
|
|
145
145
|
var call = FunctionPrototype.call;
|
|
146
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
146
147
|
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
|
|
147
148
|
|
|
148
149
|
functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
@@ -548,10 +549,10 @@ function requireSharedStore () {
|
|
|
548
549
|
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
|
|
549
550
|
|
|
550
551
|
(store.versions || (store.versions = [])).push({
|
|
551
|
-
version: '3.
|
|
552
|
+
version: '3.40.0',
|
|
552
553
|
mode: IS_PURE ? 'pure' : 'global',
|
|
553
|
-
copyright: '© 2014-
|
|
554
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
554
|
+
copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
|
|
555
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE',
|
|
555
556
|
source: 'https://github.com/zloirock/core-js'
|
|
556
557
|
});
|
|
557
558
|
return sharedStore.exports;
|
|
@@ -1653,22 +1654,15 @@ function requireDefineBuiltInAccessor () {
|
|
|
1653
1654
|
return defineBuiltInAccessor;
|
|
1654
1655
|
}
|
|
1655
1656
|
|
|
1656
|
-
var
|
|
1657
|
-
var
|
|
1658
|
-
|
|
1659
|
-
function requireFunctionUncurryThisClause () {
|
|
1660
|
-
if (hasRequiredFunctionUncurryThisClause) return functionUncurryThisClause;
|
|
1661
|
-
hasRequiredFunctionUncurryThisClause = 1;
|
|
1662
|
-
var classofRaw = requireClassofRaw();
|
|
1663
|
-
var uncurryThis = requireFunctionUncurryThis();
|
|
1657
|
+
var arrayBufferBasicDetection;
|
|
1658
|
+
var hasRequiredArrayBufferBasicDetection;
|
|
1664
1659
|
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
return functionUncurryThisClause;
|
|
1660
|
+
function requireArrayBufferBasicDetection () {
|
|
1661
|
+
if (hasRequiredArrayBufferBasicDetection) return arrayBufferBasicDetection;
|
|
1662
|
+
hasRequiredArrayBufferBasicDetection = 1;
|
|
1663
|
+
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
1664
|
+
arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
1665
|
+
return arrayBufferBasicDetection;
|
|
1672
1666
|
}
|
|
1673
1667
|
|
|
1674
1668
|
var functionUncurryThisAccessor;
|
|
@@ -1719,18 +1713,16 @@ function requireArrayBufferIsDetached () {
|
|
|
1719
1713
|
if (hasRequiredArrayBufferIsDetached) return arrayBufferIsDetached;
|
|
1720
1714
|
hasRequiredArrayBufferIsDetached = 1;
|
|
1721
1715
|
var globalThis = requireGlobalThis();
|
|
1722
|
-
var
|
|
1716
|
+
var NATIVE_ARRAY_BUFFER = requireArrayBufferBasicDetection();
|
|
1723
1717
|
var arrayBufferByteLength = requireArrayBufferByteLength();
|
|
1724
1718
|
|
|
1725
|
-
var
|
|
1726
|
-
var ArrayBufferPrototype = ArrayBuffer && ArrayBuffer.prototype;
|
|
1727
|
-
var slice = ArrayBufferPrototype && uncurryThis(ArrayBufferPrototype.slice);
|
|
1719
|
+
var DataView = globalThis.DataView;
|
|
1728
1720
|
|
|
1729
1721
|
arrayBufferIsDetached = function (O) {
|
|
1730
|
-
if (arrayBufferByteLength(O) !== 0) return false;
|
|
1731
|
-
if (!slice) return false;
|
|
1722
|
+
if (!NATIVE_ARRAY_BUFFER || arrayBufferByteLength(O) !== 0) return false;
|
|
1732
1723
|
try {
|
|
1733
|
-
|
|
1724
|
+
// eslint-disable-next-line no-new -- thrower
|
|
1725
|
+
new DataView(O);
|
|
1734
1726
|
return false;
|
|
1735
1727
|
} catch (error) {
|
|
1736
1728
|
return true;
|
|
@@ -2278,7 +2270,19 @@ function requireSetMethodAcceptSetLike () {
|
|
|
2278
2270
|
};
|
|
2279
2271
|
};
|
|
2280
2272
|
|
|
2281
|
-
|
|
2273
|
+
var createSetLikeWithInfinitySize = function (size) {
|
|
2274
|
+
return {
|
|
2275
|
+
size: size,
|
|
2276
|
+
has: function () {
|
|
2277
|
+
return true;
|
|
2278
|
+
},
|
|
2279
|
+
keys: function () {
|
|
2280
|
+
throw new Error('e');
|
|
2281
|
+
}
|
|
2282
|
+
};
|
|
2283
|
+
};
|
|
2284
|
+
|
|
2285
|
+
setMethodAcceptSetLike = function (name, callback) {
|
|
2282
2286
|
var Set = getBuiltIn('Set');
|
|
2283
2287
|
try {
|
|
2284
2288
|
new Set()[name](createSetLike(0));
|
|
@@ -2288,7 +2292,18 @@ function requireSetMethodAcceptSetLike () {
|
|
|
2288
2292
|
new Set()[name](createSetLike(-1));
|
|
2289
2293
|
return false;
|
|
2290
2294
|
} catch (error2) {
|
|
2291
|
-
return true;
|
|
2295
|
+
if (!callback) return true;
|
|
2296
|
+
// early V8 implementation bug
|
|
2297
|
+
// https://issues.chromium.org/issues/351332634
|
|
2298
|
+
try {
|
|
2299
|
+
new Set()[name](createSetLikeWithInfinitySize(-Infinity));
|
|
2300
|
+
return false;
|
|
2301
|
+
} catch (error) {
|
|
2302
|
+
var set = new Set();
|
|
2303
|
+
set.add(1);
|
|
2304
|
+
set.add(2);
|
|
2305
|
+
return callback(set[name](createSetLikeWithInfinitySize(Infinity)));
|
|
2306
|
+
}
|
|
2292
2307
|
}
|
|
2293
2308
|
} catch (error) {
|
|
2294
2309
|
return false;
|
|
@@ -2306,9 +2321,13 @@ function requireEs_set_difference_v2 () {
|
|
|
2306
2321
|
var difference = requireSetDifference();
|
|
2307
2322
|
var setMethodAcceptSetLike = requireSetMethodAcceptSetLike();
|
|
2308
2323
|
|
|
2324
|
+
var INCORRECT = !setMethodAcceptSetLike('difference', function (result) {
|
|
2325
|
+
return result.size === 0;
|
|
2326
|
+
});
|
|
2327
|
+
|
|
2309
2328
|
// `Set.prototype.difference` method
|
|
2310
2329
|
// https://tc39.es/ecma262/#sec-set.prototype.difference
|
|
2311
|
-
$({ target: 'Set', proto: true, real: true, forced:
|
|
2330
|
+
$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
2312
2331
|
difference: difference
|
|
2313
2332
|
});
|
|
2314
2333
|
return es_set_difference_v2;
|
|
@@ -2367,8 +2386,10 @@ function requireEs_set_intersection_v2 () {
|
|
|
2367
2386
|
var intersection = requireSetIntersection();
|
|
2368
2387
|
var setMethodAcceptSetLike = requireSetMethodAcceptSetLike();
|
|
2369
2388
|
|
|
2370
|
-
var INCORRECT = !setMethodAcceptSetLike('intersection'
|
|
2371
|
-
|
|
2389
|
+
var INCORRECT = !setMethodAcceptSetLike('intersection', function (result) {
|
|
2390
|
+
return result.size === 2 && result.has(1) && result.has(2);
|
|
2391
|
+
}) || fails(function () {
|
|
2392
|
+
// eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
|
|
2372
2393
|
return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
|
|
2373
2394
|
});
|
|
2374
2395
|
|
|
@@ -2455,9 +2476,13 @@ function requireEs_set_isDisjointFrom_v2 () {
|
|
|
2455
2476
|
var isDisjointFrom = requireSetIsDisjointFrom();
|
|
2456
2477
|
var setMethodAcceptSetLike = requireSetMethodAcceptSetLike();
|
|
2457
2478
|
|
|
2479
|
+
var INCORRECT = !setMethodAcceptSetLike('isDisjointFrom', function (result) {
|
|
2480
|
+
return !result;
|
|
2481
|
+
});
|
|
2482
|
+
|
|
2458
2483
|
// `Set.prototype.isDisjointFrom` method
|
|
2459
2484
|
// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
|
|
2460
|
-
$({ target: 'Set', proto: true, real: true, forced:
|
|
2485
|
+
$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
2461
2486
|
isDisjointFrom: isDisjointFrom
|
|
2462
2487
|
});
|
|
2463
2488
|
return es_set_isDisjointFrom_v2;
|
|
@@ -2500,9 +2525,13 @@ function requireEs_set_isSubsetOf_v2 () {
|
|
|
2500
2525
|
var isSubsetOf = requireSetIsSubsetOf();
|
|
2501
2526
|
var setMethodAcceptSetLike = requireSetMethodAcceptSetLike();
|
|
2502
2527
|
|
|
2528
|
+
var INCORRECT = !setMethodAcceptSetLike('isSubsetOf', function (result) {
|
|
2529
|
+
return result;
|
|
2530
|
+
});
|
|
2531
|
+
|
|
2503
2532
|
// `Set.prototype.isSubsetOf` method
|
|
2504
2533
|
// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
|
|
2505
|
-
$({ target: 'Set', proto: true, real: true, forced:
|
|
2534
|
+
$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
2506
2535
|
isSubsetOf: isSubsetOf
|
|
2507
2536
|
});
|
|
2508
2537
|
return es_set_isSubsetOf_v2;
|
|
@@ -2548,9 +2577,13 @@ function requireEs_set_isSupersetOf_v2 () {
|
|
|
2548
2577
|
var isSupersetOf = requireSetIsSupersetOf();
|
|
2549
2578
|
var setMethodAcceptSetLike = requireSetMethodAcceptSetLike();
|
|
2550
2579
|
|
|
2580
|
+
var INCORRECT = !setMethodAcceptSetLike('isSupersetOf', function (result) {
|
|
2581
|
+
return !result;
|
|
2582
|
+
});
|
|
2583
|
+
|
|
2551
2584
|
// `Set.prototype.isSupersetOf` method
|
|
2552
2585
|
// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
|
|
2553
|
-
$({ target: 'Set', proto: true, real: true, forced:
|
|
2586
|
+
$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
2554
2587
|
isSupersetOf: isSupersetOf
|
|
2555
2588
|
});
|
|
2556
2589
|
return es_set_isSupersetOf_v2;
|
|
@@ -3154,6 +3187,24 @@ requireEsnext_suppressedError_constructor();
|
|
|
3154
3187
|
|
|
3155
3188
|
var esnext_array_group = {};
|
|
3156
3189
|
|
|
3190
|
+
var functionUncurryThisClause;
|
|
3191
|
+
var hasRequiredFunctionUncurryThisClause;
|
|
3192
|
+
|
|
3193
|
+
function requireFunctionUncurryThisClause () {
|
|
3194
|
+
if (hasRequiredFunctionUncurryThisClause) return functionUncurryThisClause;
|
|
3195
|
+
hasRequiredFunctionUncurryThisClause = 1;
|
|
3196
|
+
var classofRaw = requireClassofRaw();
|
|
3197
|
+
var uncurryThis = requireFunctionUncurryThis();
|
|
3198
|
+
|
|
3199
|
+
functionUncurryThisClause = function (fn) {
|
|
3200
|
+
// Nashorn bug:
|
|
3201
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
3202
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
3203
|
+
if (classofRaw(fn) === 'Function') return uncurryThis(fn);
|
|
3204
|
+
};
|
|
3205
|
+
return functionUncurryThisClause;
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3157
3208
|
var functionBindContext;
|
|
3158
3209
|
var hasRequiredFunctionBindContext;
|
|
3159
3210
|
|
|
@@ -3567,12 +3618,13 @@ function requireIteratorCreateProxy () {
|
|
|
3567
3618
|
next: function next() {
|
|
3568
3619
|
var state = getInternalState(this);
|
|
3569
3620
|
// for simplification:
|
|
3570
|
-
// for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
|
|
3621
|
+
// for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`
|
|
3571
3622
|
// for `%IteratorHelperPrototype%.next` - just a value
|
|
3572
3623
|
if (IS_ITERATOR) return state.nextHandler();
|
|
3624
|
+
if (state.done) return createIterResultObject(undefined, true);
|
|
3573
3625
|
try {
|
|
3574
|
-
var result = state.
|
|
3575
|
-
return createIterResultObject(result, state.done);
|
|
3626
|
+
var result = state.nextHandler();
|
|
3627
|
+
return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
|
|
3576
3628
|
} catch (error) {
|
|
3577
3629
|
state.done = true;
|
|
3578
3630
|
throw error;
|
|
@@ -3602,13 +3654,14 @@ function requireIteratorCreateProxy () {
|
|
|
3602
3654
|
|
|
3603
3655
|
createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
|
|
3604
3656
|
|
|
3605
|
-
iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
|
|
3657
|
+
iteratorCreateProxy = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
|
|
3606
3658
|
var IteratorProxy = function Iterator(record, state) {
|
|
3607
3659
|
if (state) {
|
|
3608
3660
|
state.iterator = record.iterator;
|
|
3609
3661
|
state.next = record.next;
|
|
3610
3662
|
} else state = record;
|
|
3611
3663
|
state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
|
|
3664
|
+
state.returnHandlerResult = !!RETURN_HANDLER_RESULT;
|
|
3612
3665
|
state.nextHandler = nextHandler;
|
|
3613
3666
|
state.counter = 0;
|
|
3614
3667
|
state.done = false;
|
|
@@ -4973,7 +5026,7 @@ function requireFunctionApply () {
|
|
|
4973
5026
|
var apply = FunctionPrototype.apply;
|
|
4974
5027
|
var call = FunctionPrototype.call;
|
|
4975
5028
|
|
|
4976
|
-
// eslint-disable-next-line es/no-reflect -- safe
|
|
5029
|
+
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
|
4977
5030
|
functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
|
4978
5031
|
return call.apply(apply, arguments);
|
|
4979
5032
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as createEventBus, R as defineStore, S as STORES, Z as useRootStore, p as useSettingsStore, q as computed, r as ref, W as TIME } from "./index-
|
|
1
|
+
import { C as createEventBus, R as defineStore, S as STORES, Z as useRootStore, p as useSettingsStore, q as computed, r as ref, W as TIME } from "./index-BwoviwZU.js";
|
|
2
2
|
const globalLinkActionsEventBus = createEventBus();
|
|
3
3
|
const usePushConnectionStore = defineStore(STORES.PUSH, () => {
|
|
4
4
|
const rootStore = useRootStore();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { fG as TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT, ds as assert, V as VIEWS, dV as tryToParseNumber, fK as doesNodeHaveCredentialsToFill, fL as getNewWorkflow, fM as replaceAllTemplateNodeCredentials, dU as getFixedNodesList } from "./index-BwoviwZU.js";
|
|
2
2
|
async function createWorkflowFromTemplate(opts) {
|
|
3
3
|
const { credentialOverrides, nodeTypeProvider, rootStore, template, workflowsStore } = opts;
|
|
4
4
|
const workflowData = await getNewWorkflow(rootStore.restApiContext, { name: template.name });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as useUIStore, $ as useCanvasStore, r as ref, q as computed, V as VIEWS, g as useI18n } from "./index-
|
|
1
|
+
import { K as useUIStore, $ as useCanvasStore, r as ref, q as computed, V as VIEWS, g as useI18n } from "./index-BwoviwZU.js";
|
|
2
2
|
function useBeforeUnload({ route }) {
|
|
3
3
|
const uiStore = useUIStore();
|
|
4
4
|
const canvasStore = useCanvasStore();
|
|
@@ -4134,11 +4134,11 @@ path[data-v-161512f5] {
|
|
|
4134
4134
|
-------------------------- */
|
|
4135
4135
|
/* BEM
|
|
4136
4136
|
-------------------------- */
|
|
4137
|
-
.minimap-enter-active[data-v-
|
|
4138
|
-
.minimap-leave-active[data-v-
|
|
4137
|
+
.minimap-enter-active[data-v-9e496868],
|
|
4138
|
+
.minimap-leave-active[data-v-9e496868] {
|
|
4139
4139
|
transition: opacity 0.3s ease;
|
|
4140
4140
|
}
|
|
4141
|
-
.minimap-enter-from[data-v-
|
|
4142
|
-
.minimap-leave-to[data-v-
|
|
4141
|
+
.minimap-enter-from[data-v-9e496868],
|
|
4142
|
+
.minimap-leave-to[data-v-9e496868] {
|
|
4143
4143
|
opacity: 0;
|
|
4144
4144
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as capitalize, u as usePinnedData } from "./usePinnedData-
|
|
1
|
+
import { gs as createCompounder, gt as SetCache, gu as arrayIncludes, gv as cacheHas, gw as baseRest, gx as isArrayLikeObject, gy as baseFlatten, r as ref, K as useUIStore, bo as useNodeTypesStore, T as useWorkflowsStore, a0 as useSourceControlStore, q as computed, al as getResourcePermissions, cK as isPresent, H as watch, dD as getMousePosition$1, aB as STICKY_NODE_TYPE, g as useI18n, gz as NOT_DUPLICATABLE_NODE_TYPES, d as defineComponent, E as onClickOutside, l as unref, c as openBlock, e as createBlock, j as createBaseVNode, i as createVNode, w as withCtx, n as normalizeClass, gA as N8nActionDropdown, B as normalizeStyle, gB as Teleport, f as createCommentVNode, _ as _export_sfc$1, bk as v4, cI as CORE_NODES_CATEGORY, gC as DEFAULT_SUBCATEGORY, p as useSettingsStore, gD as AI_TRANSFORM_NODE_TYPE, gE as sublimeSearch, ba as AI_SUBCATEGORY, bb as AI_CATEGORY_AGENTS, gF as sortBy, f_ as i18n, gG as AI_CATEGORY_OTHER_TOOLS, dx as SEND_AND_WAIT_OPERATION, gH as HUMAN_IN_THE_LOOP_CATEGORY, gI as AI_OTHERS_NODE_CREATOR_VIEW, gJ as AI_CATEGORY_DOCUMENT_LOADERS, bh as NodeConnectionType, gK as AI_CATEGORY_LANGUAGE_MODELS, gL as AI_CATEGORY_MEMORY, gM as AI_CATEGORY_OUTPUTPARSER, gN as AI_CATEGORY_RETRIEVERS, gO as AI_CATEGORY_TEXT_SPLITTERS, gP as AI_CATEGORY_TOOLS, gQ as AI_WORKFLOW_TOOL_LANGCHAIN_NODE_TYPE, gR as AI_CODE_TOOL_LANGCHAIN_NODE_TYPE, gS as AI_CATEGORY_EMBEDDING, gT as AI_CATEGORY_VECTOR_STORES, gU as AI_UNCATEGORIZED_CATEGORY, aM as useTemplatesStore, es as AI_NODE_CREATOR_VIEW, dT as TRIGGER_NODE_CREATOR_VIEW, bI as MANUAL_TRIGGER_NODE_TYPE, bJ as WEBHOOK_NODE_TYPE, gV as EMAIL_IMAP_NODE_TYPE, gW as SCHEDULE_TRIGGER_NODE_TYPE, by as FORM_TRIGGER_NODE_TYPE, ge as EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE, b7 as CHAT_TRIGGER_NODE_TYPE, gX as OTHER_TRIGGER_NODES_SUBCATEGORY, eL as REGULAR_NODE_CREATOR_VIEW, gY as RSS_READ_NODE_TYPE, gZ as EMAIL_SEND_NODE_TYPE, g_ as TRANSFORM_DATA_SUBCATEGORY, g$ as FILTER_NODE_TYPE, h0 as REMOVE_DUPLICATES_NODE_TYPE, h1 as SPLIT_OUT_NODE_TYPE, h2 as LIMIT_NODE_TYPE, h3 as SUMMARIZE_NODE_TYPE, h4 as AGGREGATE_NODE_TYPE, h5 as MERGE_NODE_TYPE, cq as HTML_NODE_TYPE, h6 as MARKDOWN_NODE_TYPE, h7 as XML_NODE_TYPE, h8 as CRYPTO_NODE_TYPE, h9 as EXTRACT_FROM_FILE_NODE_TYPE, ha as CONVERT_TO_FILE_NODE_TYPE, hb as COMPRESSION_NODE_TYPE, hc as EDIT_IMAGE_NODE_TYPE, hd as FLOWS_CONTROL_SUBCATEGORY, he as IF_NODE_TYPE, hf as SPLIT_IN_BATCHES_NODE_TYPE, hg as HELPERS_SUBCATEGORY, hh as HTTP_REQUEST_NODE_TYPE, hi as CODE_NODE_TYPE, hj as HITL_SUBCATEGORY, bc as AI_CATEGORY_CHAINS, hk as SET_NODE_TYPE, hl as DATETIME_NODE_TYPE, R as defineStore, $ as useCanvasStore, hm as AI_CATEGORY_ROOT_NODES, y as nextTick, bd as AI_CODE_NODE_TYPE, bK as AI_TRANSFORM_NODE_TYPE$1, eU as CanvasConnectionMode, hn as isValidCanvasConnectionMode, db as isValidNodeConnectionType, S as STORES, as as useNDVStore, dI as NODE_CREATOR_OPEN_SOURCES, ho as isVueFlowConnection, be as getNodeInputs, dt as CUSTOM_API_CALL_KEY, aT as useExternalHooks, aj as useTelemetry, hp as effectScope, ck as toRef, h as createElementBlock, s as renderSlot, ca as useSlots, bq as provide, b4 as onUnmounted, aw as onBeforeMount, o as onMounted, hq as useAttrs, a$ as mergeProps, F as Fragment, d9 as getCurrentInstance, dC as reactive, aW as inject, t as toDisplayString, A as renderList, x as onBeforeUnmount, hr as isMemoSame, hs as getCurrentScope, ht as onScopeDispose, aX as isRef, aY as toRefs$1, hu as customRef, hv as toValue$1, hw as createPropsRestProxy, b0 as resolveDynamicComponent, k as createTextVNode, m as resolveComponent, ap as h, hx as readonly, hy as markRaw, dH as KeyboardShortcutTooltip, hz as CanvasKey, aa as useCssModule, bn as watchEffect, aZ as normalizeProps, hA as CanvasNodeKey, eR as CanvasNodeRenderType, hB as refThrottled, hC as mergeModels, hD as useModel, bp as useNodeHelpers, bH as TitledList, cT as resolveDirective, ax as withDirectives, ac as nodeViewEventBus, hE as CanvasNodeHandleKey, ay as vShow, d1 as Transition$2, br as _sfc_main$y, I as withModifiers, C as createEventBus, bP as isEqual, hF as useActiveElement, d4 as useDeviceSupport, hG as useEventListener$1, aS as createSlots, dp as GRID_SIZE, hH as onKeyDown, hI as onKeyUp, c9 as useThrottleFn, a_ as guardReactiveProps, ct as Suspense, bg as getNodeOutputs, d3 as getTriggerNodeServiceName, e_ as sanitizeHtml, bG as nodeIssuesToString, dw as WAIT_NODE_TYPE, dy as FORM_NODE_TYPE, dz as WAIT_INDEFINITELY, Z as useRootStore, bR as useCredentialsStore, bU as useHistoryStore, D as useTagsStore, at as useExecutionsStore, a as useToast, a4 as useWorkflowHelpers, b6 as useClipboard, dW as MoveNodeCommand, c3 as RenameNodeCommand, ec as AddConnectionCommand, eP as RemoveNodeCommand, eN as useDataSchema, e1 as NODE_SIZE, hJ as AddNodeCommand, b$ as getNodeParameters, dY as getNewNodePosition, hK as DEFAULT_NODE_SIZE, hL as CONFIGURATION_NODE_SIZE, bf as getConnectionTypes, e2 as generateOffsets, hM as CONFIGURABLE_NODE_SIZE, e0 as PUSH_NODES_OFFSET, em as RemoveConnectionCommand, dX as UPDATE_WEBHOOK_ID_NODE_TYPES, dR as generateNodesGraph, a8 as EnterpriseEditionFeature, c0 as deepCopy } from "./index-BwoviwZU.js";
|
|
2
|
+
import { c as capitalize, u as usePinnedData } from "./usePinnedData-E0jv55-6.js";
|
|
3
3
|
var camelCase = createCompounder(function(result, word, index) {
|
|
4
4
|
word = word.toLowerCase();
|
|
5
5
|
return result + (index ? capitalize(word) : word);
|
|
@@ -446,7 +446,11 @@ function transformNodeType(node2, subcategory, type = "node") {
|
|
|
446
446
|
return type === "action" ? createElement : createElement;
|
|
447
447
|
}
|
|
448
448
|
function subcategorizeItems(items) {
|
|
449
|
-
const WHITE_LISTED_SUBCATEGORIES = [
|
|
449
|
+
const WHITE_LISTED_SUBCATEGORIES = [
|
|
450
|
+
CORE_NODES_CATEGORY,
|
|
451
|
+
AI_SUBCATEGORY,
|
|
452
|
+
HUMAN_IN_THE_LOOP_CATEGORY
|
|
453
|
+
];
|
|
450
454
|
return items.reduce((acc, item) => {
|
|
451
455
|
let subcategories = [DEFAULT_SUBCATEGORY];
|
|
452
456
|
WHITE_LISTED_SUBCATEGORIES.forEach((category) => {
|
|
@@ -533,11 +537,17 @@ function groupItemsInSections(items, sections, sortAlphabetically = true) {
|
|
|
533
537
|
if (b.key === AI_CATEGORY_OTHER_TOOLS) return -1;
|
|
534
538
|
return 0;
|
|
535
539
|
});
|
|
536
|
-
if (result
|
|
540
|
+
if (!shouldRenderSectionSubtitle(result)) {
|
|
537
541
|
return items;
|
|
538
542
|
}
|
|
539
543
|
return result;
|
|
540
544
|
}
|
|
545
|
+
const shouldRenderSectionSubtitle = (sections) => {
|
|
546
|
+
if (!sections.length) return false;
|
|
547
|
+
if (sections.length > 1) return true;
|
|
548
|
+
if (sections[0].key === SEND_AND_WAIT_OPERATION) return true;
|
|
549
|
+
return false;
|
|
550
|
+
};
|
|
541
551
|
const formatTriggerActionName = (actionPropertyName) => {
|
|
542
552
|
let name = actionPropertyName;
|
|
543
553
|
if (actionPropertyName.includes(".")) {
|
|
@@ -854,6 +864,9 @@ function RegularView(nodes) {
|
|
|
854
864
|
DATETIME_NODE_TYPE,
|
|
855
865
|
AI_TRANSFORM_NODE_TYPE
|
|
856
866
|
];
|
|
867
|
+
const getSendAndWaitNodes = (nodes2) => {
|
|
868
|
+
return (nodes2 ?? []).filter((node2) => node2.codex?.categories?.includes(HUMAN_IN_THE_LOOP_CATEGORY)).map((node2) => node2.name);
|
|
869
|
+
};
|
|
857
870
|
const view = {
|
|
858
871
|
value: REGULAR_NODE_CREATOR_VIEW,
|
|
859
872
|
title: i18n2.baseText("nodeCreator.triggerHelperPanel.whatHappensNext"),
|
|
@@ -943,22 +956,39 @@ function RegularView(nodes) {
|
|
|
943
956
|
}
|
|
944
957
|
]
|
|
945
958
|
}
|
|
959
|
+
},
|
|
960
|
+
// To add node to this subcategory:
|
|
961
|
+
// - add "HITL" to the "categories" property of the node's codex
|
|
962
|
+
// - add "HITL": ["Human in the Loop"] to the "subcategories" property of the node's codex
|
|
963
|
+
// node has to have the "sendAndWait" operation, if a new operation needs to be included here:
|
|
964
|
+
// - update getHumanInTheLoopActions in packages/editor-ui/src/components/Node/NodeCreator/Modes/NodesMode.vue
|
|
965
|
+
{
|
|
966
|
+
type: "subcategory",
|
|
967
|
+
key: HITL_SUBCATEGORY,
|
|
968
|
+
category: HUMAN_IN_THE_LOOP_CATEGORY,
|
|
969
|
+
properties: {
|
|
970
|
+
title: HITL_SUBCATEGORY,
|
|
971
|
+
icon: "user-check",
|
|
972
|
+
sections: [
|
|
973
|
+
{
|
|
974
|
+
key: "sendAndWait",
|
|
975
|
+
title: i18n2.baseText("nodeCreator.sectionNames.sendAndWait"),
|
|
976
|
+
items: getSendAndWaitNodes(nodes)
|
|
977
|
+
}
|
|
978
|
+
]
|
|
979
|
+
}
|
|
946
980
|
}
|
|
947
981
|
]
|
|
948
982
|
};
|
|
949
983
|
const hasAINodes = (nodes ?? []).some((node2) => node2.codex?.categories?.includes(AI_SUBCATEGORY));
|
|
950
984
|
if (hasAINodes)
|
|
951
|
-
view.items.
|
|
985
|
+
view.items.unshift({
|
|
952
986
|
key: AI_NODE_CREATOR_VIEW,
|
|
953
987
|
type: "view",
|
|
954
988
|
properties: {
|
|
955
989
|
title: i18n2.baseText("nodeCreator.aiPanel.langchainAiNodes"),
|
|
956
990
|
icon: "robot",
|
|
957
991
|
description: i18n2.baseText("nodeCreator.aiPanel.nodesForAi"),
|
|
958
|
-
tag: {
|
|
959
|
-
type: "success",
|
|
960
|
-
text: i18n2.baseText("nodeCreator.aiPanel.newTag")
|
|
961
|
-
},
|
|
962
992
|
borderless: true
|
|
963
993
|
}
|
|
964
994
|
});
|
|
@@ -1264,41 +1294,44 @@ const useViewStacks = defineStore("nodeCreatorViewStacks", () => {
|
|
|
1264
1294
|
extendedInfo = { info: relatedAIView?.properties.info };
|
|
1265
1295
|
}
|
|
1266
1296
|
await nextTick();
|
|
1267
|
-
pushViewStack(
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1297
|
+
pushViewStack(
|
|
1298
|
+
{
|
|
1299
|
+
title: relatedAIView?.properties.title,
|
|
1300
|
+
...extendedInfo,
|
|
1301
|
+
rootView: AI_OTHERS_NODE_CREATOR_VIEW,
|
|
1302
|
+
mode: "nodes",
|
|
1303
|
+
items: nodeCreatorStore.allNodeCreatorNodes,
|
|
1304
|
+
nodeIcon: {
|
|
1305
|
+
iconType: "icon",
|
|
1306
|
+
icon: relatedAIView?.properties.icon,
|
|
1307
|
+
color: relatedAIView?.properties.iconProps?.color
|
|
1308
|
+
},
|
|
1309
|
+
panelClass: relatedAIView?.properties.panelClass,
|
|
1310
|
+
baseFilter: (i) => {
|
|
1311
|
+
if (i.key === AI_CODE_NODE_TYPE) return false;
|
|
1312
|
+
const displayNode = nodesByConnectionType[connectionType].includes(i.key);
|
|
1313
|
+
if (displayNode && filter2?.nodes?.length) {
|
|
1314
|
+
return filter2.nodes.includes(i.key);
|
|
1315
|
+
}
|
|
1316
|
+
return displayNode;
|
|
1317
|
+
},
|
|
1318
|
+
itemsMapper(item) {
|
|
1319
|
+
return {
|
|
1320
|
+
...item,
|
|
1321
|
+
subcategory: connectionType
|
|
1322
|
+
};
|
|
1323
|
+
},
|
|
1324
|
+
actionsFilter: (items) => {
|
|
1325
|
+
if (items.some((item) => item.outputConnectionType)) {
|
|
1326
|
+
return items.filter((item) => item.outputConnectionType === connectionType);
|
|
1327
|
+
}
|
|
1328
|
+
return items;
|
|
1329
|
+
},
|
|
1330
|
+
hideActions: true,
|
|
1331
|
+
preventBack: true
|
|
1298
1332
|
},
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
});
|
|
1333
|
+
{ resetStacks: true }
|
|
1334
|
+
);
|
|
1302
1335
|
}
|
|
1303
1336
|
function setStackBaselineItems() {
|
|
1304
1337
|
const stack = getLastActiveStack();
|
|
@@ -1341,7 +1374,10 @@ const useViewStacks = defineStore("nodeCreatorViewStacks", () => {
|
|
|
1341
1374
|
uuid: `${item.key}-${v4()}`
|
|
1342
1375
|
}));
|
|
1343
1376
|
}
|
|
1344
|
-
function pushViewStack(stack) {
|
|
1377
|
+
function pushViewStack(stack, options = {}) {
|
|
1378
|
+
if (options.resetStacks) {
|
|
1379
|
+
resetViewStacks();
|
|
1380
|
+
}
|
|
1345
1381
|
if (activeViewStack.value.uuid) {
|
|
1346
1382
|
updateCurrentViewStack({ activeIndex: getActiveItemIndex() });
|
|
1347
1383
|
}
|
|
@@ -1617,9 +1653,6 @@ const useNodeCreatorStore = defineStore(STORES.NODE_CREATOR, () => {
|
|
|
1617
1653
|
createNodeActive,
|
|
1618
1654
|
nodeCreatorView
|
|
1619
1655
|
}) {
|
|
1620
|
-
if (createNodeActive === isCreateNodeActive.value) {
|
|
1621
|
-
return;
|
|
1622
|
-
}
|
|
1623
1656
|
if (!nodeCreatorView) {
|
|
1624
1657
|
nodeCreatorView = workflowsStore.workflowTriggerNodes.length > 0 ? REGULAR_NODE_CREATOR_VIEW : TRIGGER_NODE_CREATOR_VIEW;
|
|
1625
1658
|
}
|
|
@@ -1659,13 +1692,13 @@ const useNodeCreatorStore = defineStore(STORES.NODE_CREATOR, () => {
|
|
|
1659
1692
|
}
|
|
1660
1693
|
uiStore.lastInteractedWithNodeHandle = connection.sourceHandle ?? null;
|
|
1661
1694
|
uiStore.lastInteractedWithNodeId = sourceNode.id;
|
|
1695
|
+
const isOutput = mode === CanvasConnectionMode.Output;
|
|
1696
|
+
const isScopedConnection = type !== NodeConnectionType.Main;
|
|
1662
1697
|
setNodeCreatorState({
|
|
1663
1698
|
source: eventSource,
|
|
1664
1699
|
createNodeActive: true,
|
|
1665
|
-
nodeCreatorView
|
|
1700
|
+
nodeCreatorView: isScopedConnection ? AI_UNCATEGORIZED_CATEGORY : nodeCreatorView
|
|
1666
1701
|
});
|
|
1667
|
-
const isOutput = mode === CanvasConnectionMode.Output;
|
|
1668
|
-
const isScopedConnection = type !== NodeConnectionType.Main && nodeConnectionTypes.includes(type);
|
|
1669
1702
|
if (isScopedConnection) {
|
|
1670
1703
|
useViewStacks().gotoCompatibleConnectionView(type, isOutput, getNodeCreatorFilter(sourceNode.name, type)).catch(() => {
|
|
1671
1704
|
});
|
|
@@ -18016,16 +18049,14 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
18016
18049
|
"bring-to-front": props.bringToFront
|
|
18017
18050
|
}));
|
|
18018
18051
|
const edgeLabelStyle = computed(() => ({
|
|
18052
|
+
transform: `translate(0, ${isConnectorStraight.value ? "-100%" : "0%"})`,
|
|
18019
18053
|
color: edgeColor.value
|
|
18020
18054
|
}));
|
|
18021
18055
|
const isConnectorStraight = computed(() => renderData.value.isConnectorStraight);
|
|
18022
|
-
const edgeToolbarStyle = computed(() => {
|
|
18023
|
-
|
|
18024
|
-
|
|
18025
|
-
|
|
18026
|
-
...props.hovered ? { zIndex: 1 } : {}
|
|
18027
|
-
};
|
|
18028
|
-
});
|
|
18056
|
+
const edgeToolbarStyle = computed(() => ({
|
|
18057
|
+
transform: `translate(-50%, -50%) translate(${labelPosition.value[0]}px, ${labelPosition.value[1]}px)`,
|
|
18058
|
+
...props.hovered ? { zIndex: 1 } : {}
|
|
18059
|
+
}));
|
|
18029
18060
|
const edgeToolbarClasses = computed(() => ({
|
|
18030
18061
|
[$style.edgeLabelWrapper]: true,
|
|
18031
18062
|
"vue-flow__edge-label": true,
|
|
@@ -19032,7 +19063,7 @@ const style0 = {
|
|
|
19032
19063
|
const cssModules = {
|
|
19033
19064
|
"$style": style0
|
|
19034
19065
|
};
|
|
19035
|
-
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-
|
|
19066
|
+
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-9e496868"]]);
|
|
19036
19067
|
function useCanvasMapping({
|
|
19037
19068
|
nodes,
|
|
19038
19069
|
connections,
|
|
@@ -19607,12 +19638,12 @@ function useCanvasOperations({ router }) {
|
|
|
19607
19638
|
{
|
|
19608
19639
|
node: incomingConnection.node,
|
|
19609
19640
|
type,
|
|
19610
|
-
index:
|
|
19641
|
+
index: incomingConnection.index
|
|
19611
19642
|
},
|
|
19612
19643
|
{
|
|
19613
19644
|
node: outgoingConnection.node,
|
|
19614
19645
|
type,
|
|
19615
|
-
index:
|
|
19646
|
+
index: outgoingConnection.index
|
|
19616
19647
|
}
|
|
19617
19648
|
])
|
|
19618
19649
|
);
|
|
@@ -19621,12 +19652,14 @@ function useCanvasOperations({ router }) {
|
|
|
19621
19652
|
source: incomingNodeId,
|
|
19622
19653
|
sourceHandle: createCanvasConnectionHandleString({
|
|
19623
19654
|
mode: CanvasConnectionMode.Output,
|
|
19624
|
-
type
|
|
19655
|
+
type,
|
|
19656
|
+
index: incomingConnection.index
|
|
19625
19657
|
}),
|
|
19626
19658
|
target: outgoingNodeId,
|
|
19627
19659
|
targetHandle: createCanvasConnectionHandleString({
|
|
19628
19660
|
mode: CanvasConnectionMode.Input,
|
|
19629
|
-
type
|
|
19661
|
+
type,
|
|
19662
|
+
index: outgoingConnection.index
|
|
19630
19663
|
})
|
|
19631
19664
|
});
|
|
19632
19665
|
}
|
|
@@ -20821,6 +20854,7 @@ function useCanvasOperations({ router }) {
|
|
|
20821
20854
|
revalidateNodeOutputConnections,
|
|
20822
20855
|
isConnectionAllowed,
|
|
20823
20856
|
filterConnectionsByNodes,
|
|
20857
|
+
connectAdjacentNodes,
|
|
20824
20858
|
importWorkflowData,
|
|
20825
20859
|
fetchWorkflowDataFromUrl,
|
|
20826
20860
|
resetWorkspace,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as useRouter, a as useToast, T as useWorkflowsStore, p as useSettingsStore, K as useUIStore, a5 as usePageRedirectionHelper, q as computed, a8 as EnterpriseEditionFeature, ap as h,
|
|
1
|
+
import { b as useRouter, a as useToast, T as useWorkflowsStore, p as useSettingsStore, K as useUIStore, a5 as usePageRedirectionHelper, q as computed, a8 as EnterpriseEditionFeature, ap as h, e_ as sanitizeHtml, ae as MODAL_CONFIRM, V as VIEWS, Z as useRootStore, f7 as isFullExecutionResponse, f8 as DEBUG_PAYWALL_MODAL_KEY, aj as useTelemetry, g as useI18n, ak as useMessage } from "./index-BwoviwZU.js";
|
|
2
2
|
const useExecutionDebugging = () => {
|
|
3
3
|
const telemetry = useTelemetry();
|
|
4
4
|
const router = useRouter();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { gr as dateformat, b as useRouter, V as VIEWS, g as useI18n, aj as useTelemetry } from "./index-BwoviwZU.js";
|
|
2
2
|
const convertToDisplayDateComponents = (fullDate) => {
|
|
3
3
|
const mask = `d mmm${new Date(fullDate).getFullYear() === (/* @__PURE__ */ new Date()).getFullYear() ? "" : ", yyyy"}#HH:MM:ss`;
|
|
4
4
|
const formattedDate = dateformat(fullDate, mask);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { gi as baseSlice, gj as toString, bo as useNodeTypesStore, q as computed, l as unref, eM as isSubNodeType, Z as useRootStore, T as useWorkflowsStore, a as useToast, gk as PIN_DATA_NODE_TYPES_DENYLIST, bg as getNodeOutputs, bh as NodeConnectionType, gl as jsonStringify, gm as toMegaBytes, gn as stringSizeInBytes, ch as jsonParse, g as useI18n, aj as useTelemetry, aT as useExternalHooks, eN as useDataSchema, go as MAX_PINNED_DATA_SIZE, gp as MAX_WORKFLOW_SIZE, gq as MAX_EXPECTED_REQUEST_SIZE } from "./index-BwoviwZU.js";
|
|
2
2
|
function castSlice(array, start, end) {
|
|
3
3
|
var length = array.length;
|
|
4
4
|
end = end === void 0 ? length : end;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as usePushConnectionStore, g as globalLinkActionsEventBus } from "./pushConnection.store-
|
|
3
|
-
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-
|
|
1
|
+
import { g7 as makeRestApiRequest, R as defineStore, Z as useRootStore, d as defineComponent, cT as resolveDirective, c as openBlock, h as createElementBlock, ax as withDirectives, j as createBaseVNode, t as toDisplayString, l as unref, g as useI18n, a4 as useWorkflowHelpers, bp as useNodeHelpers, a as useToast, bR as useCredentialsStore, bo as useNodeTypesStore, p as useSettingsStore, K as useUIStore, T as useWorkflowsStore, eX as useAssistantStore, au as usePostHog, r as ref, bT as AI_CREDITS_EXPERIMENT, g8 as parse, g9 as hasTrimmedItem, ga as codeNodeEditorEventBus, af as WORKFLOW_SETTINGS_MODAL_KEY, dR as generateNodesGraph, ap as h, d3 as getTriggerNodeServiceName, gb as hasTrimmedData, aT as useExternalHooks, aj as useTelemetry, gc as clearPopupWindowState } from "./index-BwoviwZU.js";
|
|
2
|
+
import { u as usePushConnectionStore, g as globalLinkActionsEventBus } from "./pushConnection.store-BlMyXexG.js";
|
|
3
|
+
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-WSNP3eeS.js";
|
|
4
4
|
const GET_STATUS_ENDPOINT = "/orchestration/worker/status";
|
|
5
5
|
const sendGetWorkerStatus = async (context) => {
|
|
6
6
|
await makeRestApiRequest(context, "POST", GET_STATUS_ENDPOINT);
|