n8n-editor-ui 1.102.2 → 1.104.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/{ActionDropdown-CiegfqhB.js → ActionDropdown-Ct6XJ0cl.js} +1 -1
- package/dist/assets/{AnimatedSpinner-DZ7wHd_W.js → AnimatedSpinner-CIyQ3zKd.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BQoi5khn.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-xv6FYiyR.js} +1 -1
- package/dist/assets/{AuthView-K2y2JXyp.js → AuthView-dJdngoqx.js} +2 -2
- package/dist/assets/{ChangePasswordView-D_EsQtLD.js → ChangePasswordView-C74U84q5.js} +3 -3
- package/dist/assets/CollectionParameter-DCn5Jtcj.js +4 -0
- package/dist/assets/ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-CkASni2S.js +44 -0
- package/dist/assets/{CredentialsView-DvE9GnD7.js → CredentialsView-jouDB3H1.js} +8 -8
- package/dist/assets/{DemoFooter-kRP32xy4.js → DemoFooter-CHlbEpB-.js} +9 -8
- package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-B6KKFEL7.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-CbDihlsO.js} +1 -1
- package/dist/assets/{EntityNotFound-q_5k8QTh.js → EntityNotFound-Dtqj9thX.js} +1 -1
- package/dist/assets/{EntityUnAuthorised-DrFh2EVh.js → EntityUnAuthorised-BBsbc6du.js} +1 -1
- package/dist/assets/{ErrorView-CdyA4lBI.js → ErrorView-BN4Jm32q.js} +1 -1
- package/dist/assets/{EvaluationsRootView-DBi9hUxa.js → EvaluationsRootView-B70WfmnQ.js} +5 -3
- package/dist/assets/{EvaluationsView-6l_Invxt.css → EvaluationsView-BTyYfInB.css} +6 -6
- package/dist/assets/{EvaluationsView-VbCSsM2z.js → EvaluationsView-DQd7op3j.js} +53 -40
- package/dist/assets/{ExecutionsTime-DkME6I3E.css → ExecutionsTime-Bo7IOE5K.css} +6 -6
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-v5SEEKlZ.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-C_2brmCr.js} +16 -16
- package/dist/assets/{ExecutionsView-sSmNa_LK.js → ExecutionsView-CKPZTnZV.js} +21 -18
- package/dist/assets/{FileSaver.min-BemkeU_7.js → FileSaver.min-BvxTURBB.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-yzvCzSx6.js → FixedCollectionParameter-CA-CigeR.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-BKvBLqbr.js → ForgotMyPasswordView-YyVmo-nw.js} +3 -3
- package/dist/assets/{InfoAccordion--ZQQuSPX.js → InfoAccordion-BNmUe2V9.js} +1 -1
- package/dist/assets/{InsightsChartAverageRuntime-DGOGXDwW.js → InsightsChartAverageRuntime-C9sCNhzD.js} +5 -4
- package/dist/assets/{InsightsChartFailed-1vg5XpxV.js → InsightsChartFailed-DWA6YbZj.js} +5 -4
- package/dist/assets/{InsightsChartFailureRate-7nJvVi9O.js → InsightsChartFailureRate-CfknGtrr.js} +5 -4
- package/dist/assets/{InsightsChartTimeSaved-DKn1pZ2q.js → InsightsChartTimeSaved-DtLO9DJx.js} +5 -4
- package/dist/assets/{InsightsChartTotal-ByrPtNMJ.js → InsightsChartTotal-yX_QJ-44.js} +5 -4
- package/dist/assets/{InsightsDashboard-BwLnzxKC.js → InsightsDashboard-BlYvn96O.js} +19 -19
- package/dist/assets/{InsightsDashboard-CXbI-Jyg.css → InsightsDashboard-C27Avzrv.css} +2 -2
- package/dist/assets/{InsightsPaywall-8Xzv5tgi.js → InsightsPaywall-BCfIY_xn.js} +3 -3
- package/dist/assets/{InsightsSummary-CVMZ0AIR.js → InsightsSummary-OiO7efWD.js} +9 -4
- package/dist/assets/{InsightsTableWorkflows-DJhX6bQW.css → InsightsTableWorkflows-BTHSCwX8.css} +27 -3
- package/dist/assets/{InsightsTableWorkflows-KGsV_wLS.js → InsightsTableWorkflows-pTl3m7wx.js} +80 -27
- package/dist/assets/{Logo-DFdhGUpH.js → Logo-8g4P9vyv.js} +1 -1
- package/dist/assets/{LogsPanel-Bvy4ANV7.css → LogsPanel-D0xdq4fV.css} +21 -21
- package/dist/assets/{LogsPanel-DDzEUcu_.js → LogsPanel-so01MtIR.js} +23 -12
- package/dist/assets/{MainHeader-IUjqKc1i.js → MainHeader-CcUlKfHC.js} +20 -26
- package/dist/assets/{MainHeader-DYYEm7nF.css → MainHeader-qSHM1Rvp.css} +12 -12
- package/dist/assets/{MainSidebar-CaLHZgDB.css → MainSidebar-D74VZmM5.css} +7 -8
- package/dist/assets/{MainSidebar-BV-JzM27.js → MainSidebar-DOGhP_oY.js} +26 -25
- package/dist/assets/{N8nDataTableServer-Dq5Mwh9d.js → N8nDataTableServer-9HerjyzX.js} +39 -19
- package/dist/assets/{NodeCreation-DCV9QVeh.js → NodeCreation-CVbCKnet.js} +45 -21
- package/dist/assets/{NodeCreation-32nlvQSy.css → NodeCreation-CxN6JIS_.css} +9 -1
- package/dist/assets/{NodeCreator-C8jv1gta.js → NodeCreator-BOosPF8_.js} +114 -204
- package/dist/assets/{NodeCreator-DWE25utr.css → NodeCreator-CkvY2niF.css} +0 -128
- package/dist/assets/{NodeDetailsView-D7qedYA0.js → NodeDetailsView-KFidngJi.js} +21 -16
- package/dist/assets/{NodeDetailsViewV2-BAkPjDo5.js → NodeDetailsViewV2-BL4KKqW-.js} +21 -16
- package/dist/assets/{NodeView-DKlyR0_C.js → NodeView-BzC6ELga.js} +2271 -686
- package/dist/assets/{NodeView-BbQy7Are.css → NodeView-G2qfXaOy.css} +766 -95
- package/dist/assets/{ProjectHeader-Co0EPo6y.js → ProjectHeader-B9-GdGvC.js} +2 -2
- package/dist/assets/{ProjectSettings-CUwuhSyu.js → ProjectSettings-CE4_geFa.js} +7 -5
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-DDVpVAyT.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-Bb8zUJvi.js} +1 -1
- package/dist/assets/{ResourcesListLayout-0KbQy3_m.js → ResourcesListLayout-ClTEnqVS.js} +3 -3
- package/dist/assets/{RunDataJson-T-LRvnsQ.js → RunDataJson-fXQKTIFD.js} +8 -9
- package/dist/assets/{RunDataJsonActions-C5tGgl2w.js → RunDataJsonActions-CMP1sUPZ.js} +1 -1
- package/dist/assets/RunDataParsedAiContent-CHK6Y4ET.js +298 -0
- package/dist/assets/{RunDataSearch-CsykTpQU.js → RunDataSearch-CAZGWZzz.js} +1 -1
- package/dist/assets/{RunDataTable-DS-hDrAF.js → RunDataTable-CeqmA-n3.js} +65 -56
- package/dist/assets/{RunDataTable-CTBtmQIs.css → RunDataTable-n918b-Qv.css} +55 -55
- package/dist/assets/{SamlOnboarding-Dr42BiUa.js → SamlOnboarding-BrdzPMSK.js} +3 -3
- package/dist/assets/{SettingsApiView-0TAqOns3.js → SettingsApiView-Cj2YYKAl.js} +5 -4
- package/dist/assets/{SettingsCommunityNodesView-BO5mZg81.js → SettingsCommunityNodesView-ChB--kZD.js} +4 -3
- package/dist/assets/{SettingsExternalSecrets-BmpYfnUN.js → SettingsExternalSecrets-BjghCvkE.js} +5 -3
- package/dist/assets/{SettingsLdapView-AdcIL_WB.js → SettingsLdapView-DIB1-nTk.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-DHAPBv4i.js → SettingsLogStreamingView-BOOGkcwK.js} +1 -1
- package/dist/assets/{SettingsPersonalView-D-sKTNF5.js → SettingsPersonalView-DaNZTNUy.js} +1 -1
- package/dist/assets/{SettingsSourceControl-D_jgIQPN.js → SettingsSourceControl-B5fQRT0V.js} +10 -8
- package/dist/assets/{SettingsSso-DpxORkrt.js → SettingsSso-CWX-T13W.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-DWu4RW1N.js → SettingsUsageAndPlan-Cnnf9k6X.js} +15 -10
- package/dist/assets/{SettingsUsageAndPlan-D6TiPwUx.css → SettingsUsageAndPlan-ZZQpCmyQ.css} +3 -3
- package/dist/assets/{SettingsUsersView-r6-ZO8CO.js → SettingsUsersView-BLDi4lpv.js} +107 -44
- package/dist/assets/{SettingsUsersView-BuZbf1jq.css → SettingsUsersView-RQTdLxyb.css} +13 -6
- package/dist/assets/{SettingsView-DoZ4920P.js → SettingsView-Dtc8MEv6.js} +1 -1
- package/dist/assets/{SetupView-Ca70rhsh.js → SetupView-C4C-2Idz.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-ujybntOa.js → SetupWorkflowCredentialsButton-Pzrxag-k.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-KE6NTkHC.js → SetupWorkflowFromTemplateView-CRsZDYct.js} +3 -3
- package/dist/assets/{SigninView-_rmKLSpx.js → SigninView-COyoSAUi.js} +3 -3
- package/dist/assets/{SignoutView-DYPGyBsZ.js → SignoutView-B0t9kc5s.js} +1 -1
- package/dist/assets/{SignupView-BDSpYIB0.js → SignupView-BN8MCOnb.js} +3 -3
- package/dist/assets/{TableBase-Bz6zRvAL.js → TableBase-BmhIwPwZ.js} +1 -1
- package/dist/assets/{Tags-Doq3WsWA.js → Tags-DeTgaVsD.js} +1 -1
- package/dist/assets/{TemplateDetails-BzDS-0Fd.js → TemplateDetails-Bh-WSvQ-.js} +2 -2
- package/dist/assets/{TemplateList-D_XBHKQu.js → TemplateList-DxvJMjPE.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-BvnC5QZ9.js → TemplatesCollectionView-BhilAS_8.js} +6 -6
- package/dist/assets/{TemplatesSearchView-CCsnhiD3.js → TemplatesSearchView-CWxnTQ8Z.js} +3 -3
- package/dist/assets/{TemplatesView-DbW9D41Q.js → TemplatesView-Co-FQLhr.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-CVFtBBcd.js → TemplatesWorkflowView-DAWgsT0T.js} +6 -6
- package/dist/assets/{TriggerPanel-DRpKKKun.css → TriggerPanel-DJv04feX.css} +1 -354
- package/dist/assets/{TriggerPanel-CP3_UsCW.js → TriggerPanel-JaXhe1VW.js} +133 -1089
- package/dist/assets/{VariablesView-DIZkSQZ3.js → VariablesView-JnfEn1f-.js} +5 -5
- package/dist/assets/VueMarkdown-DDKnTMgT.js +1570 -0
- package/dist/assets/{WorkerView-DgXLi4d9.js → WorkerView-DZG4C_Qp.js} +6 -5
- package/dist/assets/{WorkflowActivator-f0lJXePV.js → WorkflowActivator-C8hP37n7.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-BFSae6PE.js → WorkflowExecutionsInfoAccordion-DCNvkxhh.js} +2 -2
- package/dist/assets/{WorkflowExecutionsLandingPage-Bb104kSO.js → WorkflowExecutionsLandingPage-DVp6SoPy.js} +3 -3
- package/dist/assets/{WorkflowExecutionsPreview-Do5Rp-8m.js → WorkflowExecutionsPreview-CKYWZWv1.js} +9 -7
- package/dist/assets/{WorkflowExecutionsView-BSv7OYhx.js → WorkflowExecutionsView-BIkweP3p.js} +8 -8
- package/dist/assets/{WorkflowHistory-CsEfwZK8.js → WorkflowHistory-C0LrWJW0.js} +6 -6
- package/dist/assets/{WorkflowOnboardingView-BOvx7CPi.js → WorkflowOnboardingView-CWMUgnLK.js} +1 -1
- package/dist/assets/{WorkflowPreview-BQ_GLS2J.js → WorkflowPreview-DmYMBSH3.js} +3 -1
- package/dist/assets/{WorkflowsView-DYxrTukw.js → WorkflowsView-jEphnf90.js} +125 -17
- package/dist/assets/aiTemplatesStarterCollection.store-oECEA5nR.js +794 -0
- package/dist/assets/{chartjs.utils-D8ESC4_p.js → chartjs.utils-CP28DnUQ.js} +2 -2
- package/dist/assets/{en-C2EOIYih.js → en-BX7CKkqE.js} +27 -6
- package/dist/assets/{global-link-actions-BIVeUMGo.js → global-link-actions-BjpAG7gt.js} +1 -1
- package/dist/assets/{import-curl-CjhdjoGU.js → import-curl-BD22LJ4z.js} +1 -1
- package/dist/assets/{index-COleXxZf.css → index-BWpYwmXd.css} +541 -1074
- package/dist/assets/{index-DAODXvFs.js → index-CjbtyS1n.js} +1 -1
- package/dist/assets/{index-B3p3789J.js → index-Cm5yBbby.js} +21381 -15752
- package/dist/assets/{pickBy-CaeaG_7P.js → pickBy-DA-1tKxT.js} +1 -1
- package/dist/assets/{templateActions-Ct4VGqHx.js → templateActions-D9IAsJ2m.js} +1 -1
- package/dist/assets/{typescript.worker-CUj0Nj-S.js → typescript.worker-KwUz68Jx.js} +2499 -157
- package/dist/assets/{useBeforeUnload-Yj83KQFp.js → useBeforeUnload-BR-V9Uaz.js} +1 -1
- package/dist/assets/{useExecutionDebugging-wUQ9K2sh.js → useExecutionDebugging-C8zR-uFJ.js} +1 -1
- package/dist/assets/{useExecutionHelpers-i07QEXws.js → useExecutionHelpers-DQcWcZ8o.js} +1 -1
- package/dist/assets/{useImportCurlCommand-Bs8VOC2z.js → useImportCurlCommand-B3-fEq8S.js} +9 -9
- package/dist/assets/{RunData-DuKNwYqe.css → useKeybindings-2A271Jke.css} +193 -62
- package/dist/assets/{RunData-CctCvWsu.js → useKeybindings-DetzdpXy.js} +288 -1696
- package/dist/assets/{useProjectPages-DHCwu3nX.js → useProjectPages-qXIMd_UF.js} +1 -1
- package/dist/assets/{usePushConnection-Iyy-883l.js → usePushConnection-Duvg6z8O.js} +10 -2
- package/dist/assets/{useWorkflowActivate-DpHXxGAq.js → useWorkflowActivate-BE4Ckf9k.js} +1 -1
- package/dist/index.html +3 -7
- package/eslint.config.mjs +1 -1
- package/index.html +1 -5
- package/package.json +1 -1
- package/vite.config.mts +23 -3
- package/dist/assets/CollectionParameter-DvyRKBx0.js +0 -4
- package/dist/assets/RunDataParsedAiContent-BILLIvVH.js +0 -148
- package/dist/assets/useKeybindings-BUK7Ngh6.css +0 -133
- package/dist/assets/useKeybindings-ul7syjnB.js +0 -118
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { u as useProjectPages } from "./useProjectPages-
|
|
1
|
+
import { d as defineComponent, a6 as useRoute, r as ref, x as computed, V as VIEWS, c as useI18n, ab as watch, e as createBlock, g as openBlock, dh as N8nTabs, as as useTemplateRef, h as createElementBlock, n as normalizeClass, J as renderSlot, i as createVNode, l as unref, g2 as N8nActionToggle, w as withCtx, a0 as _sfc_main$3, _ as _export_sfc, b as useRouter, ag as useProjectsStore, af as useSourceControlStore, v as useSettingsStore, ar as ProjectTypes, gU as isIconOrEmoji, an as getResourcePermissions, d7 as useElementSize, dz as useResizeObserver, j as createBaseVNode, f as createCommentVNode, gV as ProjectIcon, m as N8nHeading, k as createTextVNode, t as toDisplayString, p as N8nText, q as N8nButton, D as mergeProps, $ as N8nTooltip } from "./index-Cm5yBbby.js";
|
|
2
|
+
import { u as useProjectPages } from "./useProjectPages-qXIMd_UF.js";
|
|
3
3
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ProjectTabs",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, x as computed, e as createBlock, g as openBlock,
|
|
2
|
-
import { P as ProjectHeader } from "./ProjectHeader-
|
|
3
|
-
import "./useProjectPages-
|
|
1
|
+
import { d as defineComponent, r as ref, x as computed, e as createBlock, g as openBlock, bg as createSlots, w as withCtx, J as renderSlot, h as createElementBlock, F as Fragment, y as renderList, l as unref, cX as _sfc_main$5, n as normalizeClass, i as createVNode, C as N8nUserInfo, D as mergeProps, h4 as useI18n, cW as N8nSelect, _ as _export_sfc, cR as mergeModels, cS as useModel, bf as onClickOutside, j as createBaseVNode, f as createCommentVNode, $ as N8nTooltip, a0 as _sfc_main$6, q as N8nButton, k as createTextVNode, t as toDisplayString, dh as N8nTabs, N as N8nIcon, c as useI18n$1, O as resolveComponent, p as N8nText, hd as ProjectSharing, fZ as N8nInputLabel, dV as N8nInput, bP as withModifiers, am as usePageRedirectionHelper, a1 as I18nT, u as useUsersStore, ag as useProjectsStore, hU as useRolesStore, b4 as useCloudPlanStore, a as useToast, b as useRouter, aj as useDocumentTitle, ab as watch, aS as onBeforeMount, o as onMounted, gD as N8nFormInput, hV as N8nUsersList, dF as deepCopy, V as VIEWS, az as useTelemetry, K as nextTick, gU as isIconOrEmoji } from "./index-Cm5yBbby.js";
|
|
2
|
+
import { P as ProjectHeader } from "./ProjectHeader-B9-GdGvC.js";
|
|
3
|
+
import "./useProjectPages-qXIMd_UF.js";
|
|
4
4
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "UserSelect",
|
|
6
6
|
props: {
|
|
@@ -710,7 +710,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
710
710
|
visible.value = false;
|
|
711
711
|
};
|
|
712
712
|
return (_ctx, _cache) => {
|
|
713
|
-
const _component_i18n_t = resolveComponent("i18n-t");
|
|
714
713
|
const _component_N8nButton = N8nButton;
|
|
715
714
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
716
715
|
return openBlock(), createBlock(_component_el_dialog, {
|
|
@@ -743,7 +742,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
743
742
|
]),
|
|
744
743
|
default: withCtx(() => [
|
|
745
744
|
createBaseVNode("div", _hoisted_1$1, [
|
|
746
|
-
createVNode(
|
|
745
|
+
createVNode(unref(I18nT), {
|
|
746
|
+
keypath: "projects.settings.role.upgrade.message",
|
|
747
|
+
scope: "global"
|
|
748
|
+
}, {
|
|
747
749
|
planName: withCtx(() => [
|
|
748
750
|
createTextVNode(toDisplayString(props.planName), 1)
|
|
749
751
|
]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
1
|
+
import { d as defineComponent, a4 as usePushConnectionStore, x as computed, c4 as resolveDirective, h as createElementBlock, g as openBlock, J as renderSlot, i as createVNode, $ as N8nTooltip, w as withCtx, j as createBaseVNode, k as createTextVNode, N as N8nIcon, t as toDisplayString, l as unref, c as useI18n, aT as withDirectives } from "./index-Cm5yBbby.js";
|
|
2
2
|
const _hoisted_1 = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "push-connection-lost primary-color"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, x as computed, h as createElementBlock, g as openBlock, i as createVNode, j as createBaseVNode, w as withCtx, F as Fragment, y as renderList, P as normalizeStyle, n as normalizeClass, t as toDisplayString, J as renderSlot, e as createBlock,
|
|
2
|
-
import { N as N8nTableBase } from "./TableBase-
|
|
3
|
-
import { u as useProjectPages } from "./useProjectPages-
|
|
1
|
+
import { d as defineComponent, r as ref, x as computed, h as createElementBlock, g as openBlock, i as createVNode, j as createBaseVNode, w as withCtx, F as Fragment, y as renderList, P as normalizeStyle, n as normalizeClass, t as toDisplayString, J as renderSlot, e as createBlock, bY as resolveDynamicComponent, l as unref, f as createCommentVNode, ha as _sfc_main$6, cX as _sfc_main$7, k as createTextVNode, h4 as useI18n, cW as N8nSelect, D as mergeProps, _ as _export_sfc, ab as watch, aS as onBeforeMount, o as onMounted, K as nextTick, ag as useProjectsStore, O as resolveComponent, cT as _sfc_main$8, aq as EnterpriseEditionFeature, c as useI18n$1, fZ as N8nInputLabel, hd as ProjectSharing, a2 as N8nLink, aw as N8nBadge, q as N8nButton, aP as useLocalStorage, he as LOCAL_STORAGE_WORKFLOW_LIST_PREFERENCES_KEY, a6 as useRoute, b as useRouter, S as useDebounce, u as useUsersStore, cJ as useSlots, hf as isSharedResource, hg as isResourceSortableByDate, I as onBeforeUnmount, fE as N8nLoading, fQ as N8nActionBox, p as N8nText, aT as withDirectives, dV as N8nInput, N as N8nIcon, bW as normalizeProps, bX as guardReactiveProps, er as InfoTip, aU as vShow, az as useTelemetry } from "./index-Cm5yBbby.js";
|
|
2
|
+
import { N as N8nTableBase } from "./TableBase-BmhIwPwZ.js";
|
|
3
|
+
import { u as useProjectPages } from "./useProjectPages-qXIMd_UF.js";
|
|
4
4
|
function getValueByPath(object, path) {
|
|
5
5
|
return path.split(".").reduce((acc, part) => {
|
|
6
6
|
return acc?.[part];
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataJsonActions-
|
|
2
|
-
import { d as defineComponent,
|
|
3
|
-
import {
|
|
4
|
-
import "./FileSaver.min-
|
|
5
|
-
import "./
|
|
6
|
-
import "./useExecutionHelpers-i07QEXws.js";
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataJsonActions-CMP1sUPZ.js","assets/index-Cm5yBbby.js","assets/index-BWpYwmXd.css","assets/_commonjs-dynamic-modules-TGKdzP3c.js","assets/RunDataJsonActions-B2jW3_UG.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { d as defineComponent, aN as useNDVStore, r as ref, d7 as useElementSize, x as computed, fi as executionDataToJson, h as createElementBlock, g as openBlock, e as createBlock, i as createVNode, w as withCtx, f as createCommentVNode, l as unref, eW as defineAsyncComponent, e4 as Suspense, i8 as __unplugin_components_0, n as normalizeClass, i9 as MappingPill, hJ as Draggable, aJ as __vitePreload, ia as shorten, ic as getMappedExpression, be as useExternalHooks, az as useTelemetry, id as isString, ie as nonExistingJsonPath, _ as _export_sfc } from "./index-Cm5yBbby.js";
|
|
3
|
+
import { V as VueJsonPretty } from "./useKeybindings-DetzdpXy.js";
|
|
4
|
+
import "./FileSaver.min-BvxTURBB.js";
|
|
5
|
+
import "./useExecutionHelpers-DQcWcZ8o.js";
|
|
7
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
7
|
__name: "RunDataJson",
|
|
9
8
|
props: {
|
|
@@ -22,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
22
21
|
},
|
|
23
22
|
setup(__props) {
|
|
24
23
|
const LazyRunDataJsonActions = defineAsyncComponent(
|
|
25
|
-
async () => await __vitePreload(() => import("./RunDataJsonActions-
|
|
24
|
+
async () => await __vitePreload(() => import("./RunDataJsonActions-CMP1sUPZ.js"), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
|
|
26
25
|
);
|
|
27
26
|
const props = __props;
|
|
28
27
|
const ndvStore = useNDVStore();
|
|
@@ -146,7 +145,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
146
145
|
"onUpdate:selectedValue": _cache[0] || (_cache[0] = ($event) => selectedJsonPath.value = $event)
|
|
147
146
|
}, {
|
|
148
147
|
renderNodeKey: withCtx(({ node }) => [
|
|
149
|
-
createVNode(
|
|
148
|
+
createVNode(__unplugin_components_0, {
|
|
150
149
|
content: formatKey(node.key),
|
|
151
150
|
search: _ctx.search,
|
|
152
151
|
"data-target": "mappable",
|
|
@@ -161,7 +160,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
161
160
|
}, null, 8, ["content", "search", "data-value", "data-name", "data-path", "data-depth", "class"])
|
|
162
161
|
]),
|
|
163
162
|
renderNodeValue: withCtx(({ node }) => [
|
|
164
|
-
createVNode(
|
|
163
|
+
createVNode(__unplugin_components_0, {
|
|
165
164
|
content: formatValue(node.content),
|
|
166
165
|
search: _ctx.search,
|
|
167
166
|
"data-target": "mappable",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { gZ as commonjsGlobal, bK as getDefaultExportFromCjs, d as defineComponent, ie as nonExistingJsonPath, bU as inject, c3 as PiPWindowSymbol, x as computed, aN as useNDVStore, a5 as useWorkflowsStore, c2 as useClipboard, bC as useNodeHelpers, bA as usePinnedData, a as useToast, a6 as useRoute, h as createElementBlock, g as openBlock, e as createBlock, l as unref, c as useI18n, a0 as _sfc_main$1, w as withCtx, j as createBaseVNode, i as createVNode, A as ElDropdownMenu, B as ElDropdownItem, k as createTextVNode, t as toDisplayString, E as ElDropdown, n as normalizeClass, az as useTelemetry, fA as clearJsonKey, fi as executionDataToJson, iW as convertPath, _ as _export_sfc } from "./index-Cm5yBbby.js";
|
|
2
2
|
import { c as commonjsRequire } from "./_commonjs-dynamic-modules-TGKdzP3c.js";
|
|
3
3
|
var jsonpath = { exports: {} };
|
|
4
4
|
/*! jsonpath 1.1.1 */
|
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
import { ig as requireUtils, bn as emptyTokenUsageData, bm as addTokenUsageData, ih as libExports, ii as splitTextBySearch, d as defineComponent, c2 as useClipboard, a as useToast, x as computed, h as createElementBlock, g as openBlock, n as normalizeClass, F as Fragment, y as renderList, e as createBlock, f as createCommentVNode, l as unref, i8 as __unplugin_components_0, i as createVNode, a0 as _sfc_main$1, c as useI18n, _ as _export_sfc } from "./index-Cm5yBbby.js";
|
|
2
|
+
import { V as VueMarkdown, H as HighlightJS } from "./VueMarkdown-DDKnTMgT.js";
|
|
3
|
+
var utilsExports = requireUtils();
|
|
4
|
+
function createNode(parent, nodeName, currentDepth, runIndex, r, children = []) {
|
|
5
|
+
return {
|
|
6
|
+
parent,
|
|
7
|
+
node: nodeName,
|
|
8
|
+
id: `${nodeName}:${runIndex}`,
|
|
9
|
+
depth: currentDepth,
|
|
10
|
+
startTime: r?.data?.metadata?.startTime ?? 0,
|
|
11
|
+
runIndex,
|
|
12
|
+
children,
|
|
13
|
+
consumedTokens: getConsumedTokens(r?.data)
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function getTreeNodeData(nodeName, workflow, aiData, runIndex) {
|
|
17
|
+
return getTreeNodeDataRec(void 0, nodeName, 0, workflow, aiData, runIndex);
|
|
18
|
+
}
|
|
19
|
+
function getTreeNodeDataRec(parent, nodeName, currentDepth, workflow, aiData, runIndex) {
|
|
20
|
+
const connections = workflow.connectionsByDestinationNode[nodeName];
|
|
21
|
+
const resultData = aiData?.filter((data) => data.node === nodeName && runIndex === data.runIndex) ?? [];
|
|
22
|
+
if (!connections) {
|
|
23
|
+
return resultData.map((d) => createNode(parent, nodeName, currentDepth, d.runIndex, d));
|
|
24
|
+
}
|
|
25
|
+
const filteredAiData = aiData?.filter(({ data }) => {
|
|
26
|
+
if (!data?.source || data.source.every((source) => source === null)) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
return data.source.some(
|
|
30
|
+
(source) => source?.previousNode === nodeName && source.previousNodeRun === runIndex
|
|
31
|
+
);
|
|
32
|
+
});
|
|
33
|
+
const connectedSubNodes = workflow.getParentNodes(nodeName, "ALL_NON_MAIN", 1);
|
|
34
|
+
const treeNode = createNode(parent, nodeName, currentDepth, runIndex);
|
|
35
|
+
const children = (filteredAiData ?? []).flatMap(
|
|
36
|
+
(data) => connectedSubNodes.includes(data.node) ? getTreeNodeDataRec(treeNode, data.node, currentDepth + 1, workflow, aiData, data.runIndex) : []
|
|
37
|
+
);
|
|
38
|
+
treeNode.children = children;
|
|
39
|
+
if (resultData.length) {
|
|
40
|
+
return resultData.map(
|
|
41
|
+
(r) => createNode(parent, nodeName, currentDepth, r.runIndex, r, children)
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
return [treeNode];
|
|
45
|
+
}
|
|
46
|
+
function createAiData(nodeName, workflow, getWorkflowResultDataByNodeName) {
|
|
47
|
+
return workflow.getParentNodes(nodeName, "ALL_NON_MAIN").flatMap(
|
|
48
|
+
(node) => (getWorkflowResultDataByNodeName(node) ?? []).map((task, index) => ({ node, task, index }))
|
|
49
|
+
).sort((a, b) => {
|
|
50
|
+
if (a.task.executionIndex !== void 0 && b.task.executionIndex !== void 0) {
|
|
51
|
+
return a.task.executionIndex - b.task.executionIndex;
|
|
52
|
+
}
|
|
53
|
+
const aTime = a.task.startTime ?? 0;
|
|
54
|
+
const bTime = b.task.startTime ?? 0;
|
|
55
|
+
return aTime - bTime;
|
|
56
|
+
}).map(({ node, task, index }) => ({
|
|
57
|
+
data: getReferencedData(task, false)[0],
|
|
58
|
+
node,
|
|
59
|
+
runIndex: index
|
|
60
|
+
}));
|
|
61
|
+
}
|
|
62
|
+
function getReferencedData(taskData, withInput, withOutput) {
|
|
63
|
+
if (!taskData) {
|
|
64
|
+
return [];
|
|
65
|
+
}
|
|
66
|
+
const returnData = [];
|
|
67
|
+
function addFunction(data, inOut) {
|
|
68
|
+
if (!data) {
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
Object.keys(data).map((type) => {
|
|
72
|
+
returnData.push({
|
|
73
|
+
data: data[type][0],
|
|
74
|
+
inOut,
|
|
75
|
+
type,
|
|
76
|
+
// Include source information in AI content to track which node triggered the execution
|
|
77
|
+
// This enables filtering in the UI to show only relevant executions
|
|
78
|
+
source: taskData.source,
|
|
79
|
+
metadata: {
|
|
80
|
+
executionTime: taskData.executionTime,
|
|
81
|
+
startTime: taskData.startTime,
|
|
82
|
+
subExecution: taskData.metadata?.subExecution
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
if (withInput) {
|
|
88
|
+
addFunction(taskData.inputOverride, "input");
|
|
89
|
+
}
|
|
90
|
+
{
|
|
91
|
+
addFunction(taskData.data, "output");
|
|
92
|
+
}
|
|
93
|
+
return returnData;
|
|
94
|
+
}
|
|
95
|
+
function getConsumedTokens(outputRun) {
|
|
96
|
+
if (!outputRun?.data) {
|
|
97
|
+
return emptyTokenUsageData;
|
|
98
|
+
}
|
|
99
|
+
const tokenUsage = outputRun.data.reduce(
|
|
100
|
+
(acc, curr) => {
|
|
101
|
+
const tokenUsageData = curr.json?.tokenUsage ?? curr.json?.tokenUsageEstimate;
|
|
102
|
+
if (!tokenUsageData) return acc;
|
|
103
|
+
return addTokenUsageData(acc, {
|
|
104
|
+
...tokenUsageData,
|
|
105
|
+
isEstimate: !!curr.json.tokenUsageEstimate
|
|
106
|
+
});
|
|
107
|
+
},
|
|
108
|
+
emptyTokenUsageData
|
|
109
|
+
);
|
|
110
|
+
return tokenUsage;
|
|
111
|
+
}
|
|
112
|
+
function createHtmlFragmentWithSearchHighlight(text, search) {
|
|
113
|
+
const escaped = libExports.escapeHtml(text);
|
|
114
|
+
return search ? splitTextBySearch(escaped, search).map((part) => part.isMatched ? `<mark>${part.content}</mark>` : part.content).join("") : escaped;
|
|
115
|
+
}
|
|
116
|
+
function createSearchHighlightPlugin(search) {
|
|
117
|
+
return (md) => {
|
|
118
|
+
md.renderer.rules.text = (tokens, idx) => createHtmlFragmentWithSearchHighlight(tokens[idx].content, search);
|
|
119
|
+
md.renderer.rules.code_inline = (tokens, idx, _, __, slf) => `<code${slf.renderAttrs(tokens[idx])}>${createHtmlFragmentWithSearchHighlight(tokens[idx].content, search)}</code>`;
|
|
120
|
+
md.renderer.rules.code_block = (tokens, idx, _, __, slf) => `<pre${slf.renderAttrs(tokens[idx])}><code>${createHtmlFragmentWithSearchHighlight(tokens[idx].content, search)}</code></pre>
|
|
121
|
+
`;
|
|
122
|
+
md.renderer.rules.fence = (tokens, idx, options, _, slf) => {
|
|
123
|
+
const token = tokens[idx];
|
|
124
|
+
const info = token.info ? utilsExports.unescapeAll(token.info).trim() : "";
|
|
125
|
+
let langName = "";
|
|
126
|
+
let langAttrs = "";
|
|
127
|
+
if (info) {
|
|
128
|
+
const arr = info.split(/(\s+)/g);
|
|
129
|
+
langName = arr[0];
|
|
130
|
+
langAttrs = arr.slice(2).join("");
|
|
131
|
+
}
|
|
132
|
+
const highlighted = options.highlight?.(token.content, langName, langAttrs) ?? createHtmlFragmentWithSearchHighlight(token.content, search);
|
|
133
|
+
if (highlighted.indexOf("<pre") === 0) {
|
|
134
|
+
return highlighted + "\n";
|
|
135
|
+
}
|
|
136
|
+
return `<pre><code${slf.renderAttrs(token)}>${highlighted}</code></pre>
|
|
137
|
+
`;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
const _hoisted_1 = ["data-content-type"];
|
|
142
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
143
|
+
__name: "RunDataParsedAiContent",
|
|
144
|
+
props: {
|
|
145
|
+
content: {},
|
|
146
|
+
compact: { type: Boolean, default: false },
|
|
147
|
+
search: {},
|
|
148
|
+
renderType: {}
|
|
149
|
+
},
|
|
150
|
+
setup(__props) {
|
|
151
|
+
const i18n = useI18n();
|
|
152
|
+
const clipboard = useClipboard();
|
|
153
|
+
const { showMessage } = useToast();
|
|
154
|
+
const vueMarkdownPlugins = computed(() => [createSearchHighlightPlugin(__props.search)]);
|
|
155
|
+
function isJsonString(text) {
|
|
156
|
+
try {
|
|
157
|
+
JSON.parse(text);
|
|
158
|
+
return true;
|
|
159
|
+
} catch (e) {
|
|
160
|
+
return false;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
const markdownOptions = {
|
|
164
|
+
highlight(str, lang) {
|
|
165
|
+
if (lang && HighlightJS.getLanguage(lang)) {
|
|
166
|
+
try {
|
|
167
|
+
return HighlightJS.highlight(str, { language: lang }).value;
|
|
168
|
+
} catch {
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
return void 0;
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
function isMarkdown(jsonMarkdown) {
|
|
175
|
+
if (typeof jsonMarkdown !== "string") return false;
|
|
176
|
+
const markdownPatterns = [
|
|
177
|
+
/^# .+/gm,
|
|
178
|
+
// headers
|
|
179
|
+
/\*{1,2}.+\*{1,2}/g,
|
|
180
|
+
// emphasis and strong
|
|
181
|
+
/\[.+\]\(.+\)/g,
|
|
182
|
+
// links
|
|
183
|
+
/```[\s\S]+```/g
|
|
184
|
+
// code blocks
|
|
185
|
+
];
|
|
186
|
+
return markdownPatterns.some((pattern) => pattern.test(jsonMarkdown));
|
|
187
|
+
}
|
|
188
|
+
function formatToJsonMarkdown(data) {
|
|
189
|
+
return "```json\n" + data + "\n```";
|
|
190
|
+
}
|
|
191
|
+
function jsonToMarkdown(data) {
|
|
192
|
+
if (isMarkdown(data)) return data;
|
|
193
|
+
if (Array.isArray(data) && data.length && typeof data[0] !== "number") {
|
|
194
|
+
const markdownArray = data.map((item) => jsonToMarkdown(item));
|
|
195
|
+
return markdownArray.join("\n\n").trim();
|
|
196
|
+
}
|
|
197
|
+
if (typeof data === "string") {
|
|
198
|
+
if (isJsonString(data)) {
|
|
199
|
+
return formatToJsonMarkdown(data);
|
|
200
|
+
}
|
|
201
|
+
return data;
|
|
202
|
+
}
|
|
203
|
+
return formatToJsonMarkdown(JSON.stringify(data, null, 2));
|
|
204
|
+
}
|
|
205
|
+
function onCopyToClipboard(object) {
|
|
206
|
+
try {
|
|
207
|
+
void clipboard.copy(JSON.stringify(object, void 0, 2));
|
|
208
|
+
showMessage({
|
|
209
|
+
title: i18n.baseText("generic.copiedToClipboard"),
|
|
210
|
+
type: "success"
|
|
211
|
+
});
|
|
212
|
+
} catch {
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
return (_ctx, _cache) => {
|
|
216
|
+
const _component_TextWithHighlights = __unplugin_components_0;
|
|
217
|
+
return openBlock(), createElementBlock("div", {
|
|
218
|
+
class: normalizeClass([_ctx.$style.component, _ctx.compact ? _ctx.$style.compact : ""])
|
|
219
|
+
}, [
|
|
220
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.content, ({ parsedContent, raw }, index) => {
|
|
221
|
+
return openBlock(), createElementBlock("div", {
|
|
222
|
+
key: index,
|
|
223
|
+
class: normalizeClass(_ctx.$style.contentText),
|
|
224
|
+
"data-content-type": parsedContent?.type
|
|
225
|
+
}, [
|
|
226
|
+
parsedContent && _ctx.renderType === "rendered" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
227
|
+
parsedContent.type === "json" ? (openBlock(), createBlock(unref(VueMarkdown), {
|
|
228
|
+
key: 0,
|
|
229
|
+
source: jsonToMarkdown(parsedContent.data),
|
|
230
|
+
class: normalizeClass(_ctx.$style.markdown),
|
|
231
|
+
options: markdownOptions,
|
|
232
|
+
plugins: vueMarkdownPlugins.value
|
|
233
|
+
}, null, 8, ["source", "class", "plugins"])) : parsedContent.type === "markdown" ? (openBlock(), createBlock(unref(VueMarkdown), {
|
|
234
|
+
key: 1,
|
|
235
|
+
source: parsedContent.data,
|
|
236
|
+
class: normalizeClass(_ctx.$style.markdown),
|
|
237
|
+
options: markdownOptions,
|
|
238
|
+
plugins: vueMarkdownPlugins.value
|
|
239
|
+
}, null, 8, ["source", "class", "plugins"])) : parsedContent.type === "text" ? (openBlock(), createBlock(_component_TextWithHighlights, {
|
|
240
|
+
key: 2,
|
|
241
|
+
class: normalizeClass(_ctx.$style.runText),
|
|
242
|
+
content: String(parsedContent.data),
|
|
243
|
+
search: _ctx.search
|
|
244
|
+
}, null, 8, ["class", "content", "search"])) : createCommentVNode("", true)
|
|
245
|
+
], 64)) : (openBlock(), createElementBlock("div", {
|
|
246
|
+
key: 1,
|
|
247
|
+
class: normalizeClass(_ctx.$style.rawContent)
|
|
248
|
+
}, [
|
|
249
|
+
createVNode(unref(_sfc_main$1), {
|
|
250
|
+
size: "small",
|
|
251
|
+
class: normalizeClass(_ctx.$style.copyToClipboard),
|
|
252
|
+
type: "secondary",
|
|
253
|
+
title: unref(i18n).baseText("nodeErrorView.copyToClipboard"),
|
|
254
|
+
icon: "files",
|
|
255
|
+
onClick: ($event) => onCopyToClipboard(raw)
|
|
256
|
+
}, null, 8, ["class", "title", "onClick"]),
|
|
257
|
+
createVNode(unref(VueMarkdown), {
|
|
258
|
+
source: jsonToMarkdown(raw),
|
|
259
|
+
class: normalizeClass(_ctx.$style.markdown),
|
|
260
|
+
plugins: vueMarkdownPlugins.value
|
|
261
|
+
}, null, 8, ["source", "class", "plugins"])
|
|
262
|
+
], 2))
|
|
263
|
+
], 10, _hoisted_1);
|
|
264
|
+
}), 128))
|
|
265
|
+
], 2);
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
});
|
|
269
|
+
const runText = "_runText_1ucj0_123";
|
|
270
|
+
const markdown = "_markdown_1ucj0_128";
|
|
271
|
+
const compact = "_compact_1ucj0_151";
|
|
272
|
+
const copyToClipboard = "_copyToClipboard_1ucj0_159";
|
|
273
|
+
const rawContent = "_rawContent_1ucj0_169";
|
|
274
|
+
const contentText = "_contentText_1ucj0_173";
|
|
275
|
+
const style0 = {
|
|
276
|
+
runText,
|
|
277
|
+
markdown,
|
|
278
|
+
compact,
|
|
279
|
+
copyToClipboard,
|
|
280
|
+
rawContent,
|
|
281
|
+
contentText
|
|
282
|
+
};
|
|
283
|
+
const cssModules = {
|
|
284
|
+
"$style": style0
|
|
285
|
+
};
|
|
286
|
+
const RunDataAi = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
287
|
+
const RunDataParsedAiContent = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
288
|
+
__proto__: null,
|
|
289
|
+
default: RunDataAi
|
|
290
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
291
|
+
export {
|
|
292
|
+
RunDataAi as R,
|
|
293
|
+
getTreeNodeData as a,
|
|
294
|
+
getReferencedData as b,
|
|
295
|
+
createAiData as c,
|
|
296
|
+
RunDataParsedAiContent as d,
|
|
297
|
+
getConsumedTokens as g
|
|
298
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, S as useDebounce, r as ref, x as computed, c as useI18n, o as onMounted,
|
|
1
|
+
import { d as defineComponent, S as useDebounce, r as ref, x as computed, c as useI18n, o as onMounted, b$ as onUnmounted, ab as watch, e as createBlock, g as openBlock, w as withCtx, i as createVNode, N as N8nIcon, n as normalizeClass, P as normalizeStyle, dV as N8nInput, _ as _export_sfc } from "./index-Cm5yBbby.js";
|
|
2
2
|
const COLLAPSED_WIDTH = "30px";
|
|
3
3
|
const OPEN_WIDTH = "204px";
|
|
4
4
|
const OPEN_MIN_WIDTH = "120px";
|