n8n-editor-ui 1.97.1 → 1.98.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/{AnimatedSpinner-15ZZp0OO.js → AnimatedSpinner-CeafaU8r.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CrF4ktlo.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-B6tcMuMJ.js} +1 -1
- package/dist/assets/{AuthView-64US-Z-m.js → AuthView-DcxHdw3B.js} +2 -2
- package/dist/assets/{CanvasChatSwitch-CaiSjHFG.css → AuthView-jgkkdJYL.css} +29 -90
- package/dist/assets/{ChangePasswordView-Y_vO8rQ4.js → ChangePasswordView-C-_Y-Wdn.js} +3 -3
- package/dist/assets/CollectionParameter-Dal7qnlG.js +4 -0
- package/dist/assets/{CredentialsView-B90NtMag.js → CredentialsView-B4AQUpNx.js} +7 -7
- package/dist/assets/DemoFooter-DV5GQmvM.js +22 -0
- package/dist/assets/{ErrorView-B5-OZKdh.js → ErrorView-OKh_lVSY.js} +1 -1
- package/dist/assets/{EvaluationsRootView-6cGJTYGC.js → EvaluationsRootView-D2dmekKB.js} +25 -18
- package/dist/assets/{EvaluationsView-DkIkcLrr.js → EvaluationsView-CKUqX-AI.js} +3 -3
- package/dist/assets/{ExecutionsTime--_6xBkkx.css → ExecutionsTime-BDLkVZem.css} +25 -17
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-hCFNZKpq.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-C-Hx4KA-.js} +52 -15
- package/dist/assets/{ExecutionsView-cA-SzEOo.js → ExecutionsView-WztTT6H6.js} +8 -8
- package/dist/assets/{FileSaver.min-Bv-Q_h7m.js → FileSaver.min-sGd5mes-.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-3cfdvUwK.js → FixedCollectionParameter-Cn2WDdQw.js} +2 -2
- package/dist/assets/{FixedCollectionParameter-CgLfAVkQ.css → FixedCollectionParameter-DjlaZyUQ.css} +18 -18
- package/dist/assets/{ForgotMyPasswordView-Cv7uhij6.js → ForgotMyPasswordView-DxQoCGIP.js} +3 -3
- package/dist/assets/{InsightsChartAverageRuntime-Cr7taDDn.js → InsightsChartAverageRuntime-CB5N_io5.js} +4 -4
- package/dist/assets/{InsightsChartFailed-Cm5FrmfQ.js → InsightsChartFailed-Y-mbC7CD.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-Ci-cBou0.js → InsightsChartFailureRate-6zPSfC-G.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-CMBBA9I4.js → InsightsChartTimeSaved-Bih3Ry4R.js} +4 -4
- package/dist/assets/{InsightsChartTotal-Dxn2bjBB.js → InsightsChartTotal-N-9xWBIy.js} +4 -4
- package/dist/assets/{InsightsDashboard-BvqZMhnh.js → InsightsDashboard-DN5PbVTp.js} +10 -10
- package/dist/assets/{InsightsPaywall-4Vl-4bws.js → InsightsPaywall-CV34iKyQ.js} +1 -1
- package/dist/assets/{InsightsSummary-CTzqNpAf.js → InsightsSummary-b-sHA8wL.js} +1 -1
- package/dist/assets/{InsightsTableWorkflows-DgCECSSh.js → InsightsTableWorkflows-Cz3GFggF.js} +2 -2
- package/dist/assets/{Logo-B8GIjJ79.js → Logo-CTlaJzVH.js} +1 -1
- package/dist/assets/{LogsPanel-D7j-yJQx.css → LogsPanel-DVSP-ORT.css} +896 -896
- package/dist/assets/{LogsPanel-CsNXIuce.js → LogsPanel-Dfj2Ol1s.js} +4768 -4594
- package/dist/assets/{MainHeader-B2RGao3U.js → MainHeader-BHGtRsRJ.js} +84 -94
- package/dist/assets/{MainHeader-CGwvFs2B.css → MainHeader-BRl77CT3.css} +27 -26
- package/dist/assets/{MainSidebar-E0ePOcg-.js → MainSidebar-BGXtPjO-.js} +32 -20
- package/dist/assets/{NodeCreation-B6jElzI2.js → NodeCreation-DfKAwFJq.js} +3 -3
- package/dist/assets/{NodeCreator-Bd2BI_OU.js → NodeCreator-D1mNPRWq.js} +20 -5
- package/dist/assets/{NodeDetailsView-BLMLHNQw.js → NodeDetailsView-DIo1g1iE.js} +628 -2203
- package/dist/assets/{NodeDetailsView-6JHPI3t-.css → NodeDetailsView-DWA1ZgwG.css} +349 -1000
- package/dist/assets/{NodeView-C4qNUqxt.js → NodeView-CFUh-L67.js} +2817 -548
- package/dist/assets/{NodeView-BdvXMmMp.css → NodeView-Duifly4c.css} +1274 -32
- package/dist/assets/{ProjectCardBadge-be4FNX6y.js → ProjectCardBadge-CWPzWiZa.js} +1 -1
- package/dist/assets/{ProjectHeader-CsHp0dpi.js → ProjectHeader-Ddqs2fwN.js} +2 -2
- package/dist/assets/{ProjectSettings-BgunHp-2.css → ProjectSettings-8tvaQJye.css} +9 -10
- package/dist/assets/{ProjectSettings-t5UigWKy.js → ProjectSettings-DFwkW9xy.js} +9 -9
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-Dpfsxn-o.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-CTSX9GvK.js} +1 -1
- package/dist/assets/{ResourcesListLayout-DLThke_K.js → ResourcesListLayout-DZR7Zzzo.js} +2 -2
- package/dist/assets/{RunData-XsmLcFYS.css → RunData-B5_okvCv.css} +205 -205
- package/dist/assets/{RunData-u5uBr_cv.js → RunData-D_KDVdF4.js} +1085 -1632
- package/dist/assets/{RunDataJson-CeZYY8D_.js → RunDataJson-LDc1ImEr.js} +6 -6
- package/dist/assets/{RunDataJsonActions-BRAsiSnM.js → RunDataJsonActions-DH83rAfY.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-C1lte0Et.js → RunDataParsedAiContent-BU8uoK2N.js} +4 -4
- package/dist/assets/{RunDataSearch-BP_FSk35.js → RunDataSearch-DGVpnOkl.js} +1 -1
- package/dist/assets/{RunDataTable-CQghTfxP.js → RunDataTable-CSRGOCHh.js} +2 -2
- package/dist/assets/{SamlOnboarding-CWTnplHM.js → SamlOnboarding-CQ4b1hlf.js} +3 -3
- package/dist/assets/{SettingsApiView-BskWDsE-.js → SettingsApiView-DHQc2KYI.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-JUjLtmC0.js → SettingsCommunityNodesView-C9utcS3k.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-BOJ40YuL.js → SettingsExternalSecrets-DcD2lv4W.js} +1 -1
- package/dist/assets/{SettingsLdapView-CT-V5pbv.js → SettingsLdapView-DiL_dbfx.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-_G1aTzAD.js → SettingsLogStreamingView-CN_D-m7S.js} +1 -1
- package/dist/assets/{SettingsPersonalView-CwV8ImYG.css → SettingsPersonalView-Bt8bL5tJ.css} +19 -15
- package/dist/assets/{SettingsPersonalView-BzzZLVh4.js → SettingsPersonalView-DutmrxU7.js} +58 -10
- package/dist/assets/{SettingsSourceControl-Bte_2m43.js → SettingsSourceControl-DeBjBqNW.js} +2 -2
- package/dist/assets/{SettingsSso-Di8rSq_x.js → SettingsSso-xIee31bc.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-CwaYHjbQ.js → SettingsUsageAndPlan-Dv-wky39.js} +1 -1
- package/dist/assets/{SettingsUsersView-DQbemH_k.js → SettingsUsersView-JfPgtJEV.js} +1 -1
- package/dist/assets/{SettingsView-DhqdV7_S.js → SettingsView-CHu8eepA.js} +1 -1
- package/dist/assets/{SetupView-BOZr75Am.js → SetupView-UIS9B4wr.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-DFtZhM9C.js → SetupWorkflowCredentialsButton-Bs2dYq3b.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-CTMDcuGm.js → SetupWorkflowFromTemplateView-BTFARopX.js} +3 -3
- package/dist/assets/{SigninView-DY-vQ0LU.js → SigninView-B1eEz_t4.js} +12 -4
- package/dist/assets/{SignoutView-B8rfrg6C.js → SignoutView-CV1Qsb3z.js} +1 -1
- package/dist/assets/{SignupView-BxrYV76w.js → SignupView-C2cyiw-C.js} +3 -3
- package/dist/assets/{TemplateDetails-DVQ2nLZj.js → TemplateDetails-MawFSspH.js} +1 -1
- package/dist/assets/{TemplateList-DPouUB38.js → TemplateList-AnYGr5-6.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-O7noND46.js → TemplatesCollectionView-xd0kx-UE.js} +5 -5
- package/dist/assets/{TemplatesSearchView-Bg5DxRv0.js → TemplatesSearchView-ngTSHAkQ.js} +30 -3
- package/dist/assets/{TemplatesView-BnzdRWmO.js → TemplatesView-BAX6LGxX.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-B_6tDGsp.js → TemplatesWorkflowView-DGd4xJ_J.js} +5 -5
- package/dist/assets/{VariablesView-BrzvF0ZW.css → VariablesView-2BSJPXRB.css} +5 -5
- package/dist/assets/{VariablesView-DzrhNxAe.js → VariablesView-CwEnfQxV.js} +5 -5
- package/dist/assets/{WorkerView-CC1X8IeJ.js → WorkerView-DtXiHaTA.js} +6 -6
- package/dist/assets/{WorkflowExecutionsPreview-D7jTJ8GL.css → WorkflowActivator-C0R6Yly0.css} +162 -160
- package/dist/assets/{WorkflowActivator-C30ojCUO.js → WorkflowActivator-CLLu_k_M.js} +14 -261
- package/dist/assets/{WorkflowExecutionsInfoAccordion-XaZEx8v7.js → WorkflowExecutionsInfoAccordion-vFGtC4-o.js} +3 -3
- package/dist/assets/{WorkflowExecutionsLandingPage-8aAYw87x.js → WorkflowExecutionsLandingPage-Dp7WJMF0.js} +2 -2
- package/dist/assets/WorkflowExecutionsPreview-BgpOEXPG.css +711 -0
- package/dist/assets/WorkflowExecutionsPreview-w7h7YCEJ.js +812 -0
- package/dist/assets/{WorkflowExecutionsView-DR67gC3V.js → WorkflowExecutionsView-BzKlwTMm.js} +8 -9
- package/dist/assets/{WorkflowExecutionsView-CZziPgtr.css → WorkflowExecutionsView-_l8AgWIb.css} +2 -2
- package/dist/assets/{WorkflowHistory-eAJEV9yu.js → WorkflowHistory-CT3kO5Sn.js} +18 -18
- package/dist/assets/{WorkflowOnboardingView-BjyAt8Oq.js → WorkflowOnboardingView-C3gpu3_i.js} +1 -1
- package/dist/assets/{WorkflowPreview-BxWA_Uiv.js → WorkflowPreview-BZm3MTEb.js} +1 -1
- package/dist/assets/{WorkflowsView-iKkH1nVB.js → WorkflowsView-4eqdgz9H.js} +46 -50
- package/dist/assets/{WorkflowsView-CQvTAWQ0.css → WorkflowsView-meCWhW8Y.css} +21 -20
- package/dist/assets/canvas-C0_KeJmQ.js +5 -0
- package/dist/assets/{chartjs.utils-CC0SyVUG.js → chartjs.utils-Bv6lUve-.js} +2 -2
- package/dist/assets/{easyAiWorkflowUtils-H7-jyGZy.js → easyAiWorkflowUtils-DRIGIHJ7.js} +1 -1
- package/dist/assets/{en-D5Q1-BWp.js → en-BcWgUFsO.js} +17 -4
- package/dist/assets/{global-link-actions-zn0GER90.js → global-link-actions-BF0Tj_I9.js} +1 -1
- package/dist/assets/{import-curl-D7BhanPS.js → import-curl-DsHxi7kp.js} +1 -1
- package/dist/assets/{index-B4xpaMaK.css → index-B-xWz5mo.css} +418 -370
- package/dist/assets/{index-HDYArLT1.js → index-Bpsc-Tmx.js} +58887 -67576
- package/dist/assets/{index-CAyQE60i.js → index-DHKtGXZ1.js} +1 -1
- package/dist/assets/pickBy-DIPqytvl.js +27 -0
- package/dist/assets/{polyfills-J2x06Gdp.js → polyfills-deFGRMT9.js} +0 -44
- package/dist/assets/{templateActions-CxINaftd.js → templateActions-qdbZojQ1.js} +1 -1
- package/dist/assets/{useBeforeUnload-DkY263Ue.js → useBeforeUnload-B2awFcaP.js} +1 -1
- package/dist/assets/{useExecutionDebugging-BrUGp6HK.js → useExecutionDebugging-CYIymPhg.js} +1 -1
- package/dist/assets/{useExecutionHelpers-Dulw8xCc.js → useExecutionHelpers-nG7T98Lv.js} +1 -1
- package/dist/assets/{useImportCurlCommand-CjFFwjFi.js → useImportCurlCommand-DVjZNYjv.js} +2 -2
- package/dist/assets/{useProjectPages-DGU7KQ6y.js → useProjectPages-p-uBP4T5.js} +1 -1
- package/dist/assets/{usePushConnection-4FO744xJ.js → usePushConnection-B7DMiByn.js} +22 -23
- package/dist/assets/{useWorkflowActivate-CUShgia-.js → useWorkflowActivate-CNqz_pHl.js} +4 -3
- package/dist/index.html +3 -3
- package/package.json +1 -1
- package/tsconfig.json +9 -1
- package/vite.config.mts +10 -2
- package/dist/assets/AuthView-D4i2WDPk.css +0 -408
- package/dist/assets/CanvasChatSwitch-D1N7Xp_1.js +0 -275
- package/dist/assets/CollectionParameter-DOqrZmRA.js +0 -4
- package/dist/assets/DemoFooter-DpmRLCPd.js +0 -23
- package/dist/assets/RunDataAi-D9VLFXIf.css +0 -443
- package/dist/assets/RunDataAi-DZzXTVdi.js +0 -466
- package/dist/assets/WorkflowActivator-CL2wacc7.css +0 -1084
- package/dist/assets/WorkflowExecutionsPreview-CpAsFXP1.js +0 -683
- package/dist/assets/canvas-BzAUJmlt.js +0 -24
- package/dist/assets/pickBy-2p7dSPXv.js +0 -16
- package/dist/assets/useWorkflowSaving-oozcXWTy.js +0 -66
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent, q as computed, ab as ProjectTypes, c as useI18n, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, w as withCtx,
|
|
2
|
-
import { u as useWorkflowActivate } from "./useWorkflowActivate-
|
|
3
|
-
const _sfc_main$
|
|
1
|
+
import { d as defineComponent, q as computed, ab as ProjectTypes, c as useI18n, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, w as withCtx, fy as ProjectIcon, l as createTextVNode, t as toDisplayString, _ as _export_sfc, a0 as useProjectsStore, a1 as useFoldersStore, r as ref, W as watch, v as onBeforeUnmount, e as createBlock, f as createCommentVNode, aZ as createSlots, x as renderSlot, k as createBaseVNode, m as unref, a as useToast, G as useUIStore, a5 as useWorkflowHelpers, P as useWorkflowsStore, d5 as useCredentialsStore, fz as getActivatableTriggerNodes, fA as EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE, R as PLACEHOLDER_EMPTY_WORKFLOW_ID, bV as resolveDirective, aE as withDirectives, d6 as OPEN_AI_API_CREDENTIAL_TYPE, fB as WORKFLOW_ACTIVATION_CONFLICTING_WEBHOOK_MODAL_KEY, au as h } from "./index-Bpsc-Tmx.js";
|
|
2
|
+
import { u as useWorkflowActivate } from "./useWorkflowActivate-CNqz_pHl.js";
|
|
3
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ProjectBreadcrumb",
|
|
5
5
|
props: {
|
|
6
6
|
currentProject: {},
|
|
@@ -73,18 +73,18 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
75
|
const dragging = "_dragging_1gp09_128";
|
|
76
|
-
const style0$
|
|
76
|
+
const style0$2 = {
|
|
77
77
|
"home-project": "_home-project_1gp09_123",
|
|
78
78
|
dragging,
|
|
79
79
|
"project-link": "_project-link_1gp09_141",
|
|
80
80
|
"project-label": "_project-label_1gp09_148"
|
|
81
81
|
};
|
|
82
|
-
const cssModules$
|
|
83
|
-
"$style": style0$
|
|
82
|
+
const cssModules$2 = {
|
|
83
|
+
"$style": style0$2
|
|
84
84
|
};
|
|
85
|
-
const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
86
|
-
const _hoisted_1$
|
|
87
|
-
const _sfc_main$
|
|
85
|
+
const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__cssModules", cssModules$2]]);
|
|
86
|
+
const _hoisted_1$1 = { key: 2 };
|
|
87
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
88
88
|
__name: "FolderBreadcrumbs",
|
|
89
89
|
props: {
|
|
90
90
|
currentFolder: { default: null },
|
|
@@ -254,7 +254,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
254
254
|
onProjectHover
|
|
255
255
|
}, null, 8, ["current-project", "is-dragging"]),
|
|
256
256
|
renderSlot(_ctx.$slots, "append")
|
|
257
|
-
], 2)) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
257
|
+
], 2)) : (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
258
258
|
renderSlot(_ctx.$slots, "append")
|
|
259
259
|
])),
|
|
260
260
|
visibleBreadcrumbsItems.value && _ctx.actions?.length ? (openBlock(), createBlock(_component_n8n_action_toggle, {
|
|
@@ -270,260 +270,15 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
270
270
|
}
|
|
271
271
|
});
|
|
272
272
|
const container = "_container_p73tp_123";
|
|
273
|
-
const style0$
|
|
273
|
+
const style0$1 = {
|
|
274
274
|
container,
|
|
275
275
|
"home-project": "_home-project_p73tp_128",
|
|
276
276
|
"action-toggle": "_action-toggle_p73tp_133"
|
|
277
277
|
};
|
|
278
|
-
const cssModules$3 = {
|
|
279
|
-
"$style": style0$3
|
|
280
|
-
};
|
|
281
|
-
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__cssModules", cssModules$3]]);
|
|
282
|
-
const _hoisted_1$4 = ["data-value"];
|
|
283
|
-
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
284
|
-
__name: "ExpandableInputBase",
|
|
285
|
-
props: {
|
|
286
|
-
modelValue: {},
|
|
287
|
-
placeholder: { default: "" },
|
|
288
|
-
staticSize: { type: Boolean, default: false }
|
|
289
|
-
},
|
|
290
|
-
setup(__props) {
|
|
291
|
-
const props = __props;
|
|
292
|
-
const hiddenValue = computed(() => {
|
|
293
|
-
let value = props.modelValue.replace(/\s/g, ".");
|
|
294
|
-
if (!value) {
|
|
295
|
-
value = props.placeholder;
|
|
296
|
-
}
|
|
297
|
-
return `${value}`;
|
|
298
|
-
});
|
|
299
|
-
return (_ctx, _cache) => {
|
|
300
|
-
return openBlock(), createElementBlock("div", {
|
|
301
|
-
class: normalizeClass({ "el-input": true, "static-size": _ctx.staticSize }),
|
|
302
|
-
"data-value": hiddenValue.value
|
|
303
|
-
}, [
|
|
304
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
305
|
-
], 10, _hoisted_1$4);
|
|
306
|
-
};
|
|
307
|
-
}
|
|
308
|
-
});
|
|
309
|
-
const ExpandableInputBase = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-ad1faf14"]]);
|
|
310
|
-
const _hoisted_1$3 = ["value", "placeholder", "maxlength"];
|
|
311
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
312
|
-
__name: "ExpandableInputEdit",
|
|
313
|
-
props: {
|
|
314
|
-
modelValue: {},
|
|
315
|
-
placeholder: {},
|
|
316
|
-
maxlength: {},
|
|
317
|
-
autofocus: { type: Boolean },
|
|
318
|
-
eventBus: {}
|
|
319
|
-
},
|
|
320
|
-
emits: ["update:model-value", "enter", "blur", "esc"],
|
|
321
|
-
setup(__props, { emit: __emit }) {
|
|
322
|
-
const props = __props;
|
|
323
|
-
const emit = __emit;
|
|
324
|
-
const inputRef = ref();
|
|
325
|
-
onMounted(() => {
|
|
326
|
-
if (props.autofocus && inputRef.value) {
|
|
327
|
-
focus();
|
|
328
|
-
}
|
|
329
|
-
props.eventBus?.on("focus", focus);
|
|
330
|
-
});
|
|
331
|
-
onBeforeUnmount(() => {
|
|
332
|
-
props.eventBus?.off("focus", focus);
|
|
333
|
-
});
|
|
334
|
-
function focus() {
|
|
335
|
-
if (inputRef.value) {
|
|
336
|
-
inputRef.value.focus();
|
|
337
|
-
inputRef.value.select();
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
function onInput() {
|
|
341
|
-
if (inputRef.value) {
|
|
342
|
-
emit("update:model-value", inputRef.value.value);
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
function onEnter() {
|
|
346
|
-
if (inputRef.value) {
|
|
347
|
-
emit("enter", inputRef.value.value);
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
onClickOutside(inputRef, () => {
|
|
351
|
-
if (inputRef.value) {
|
|
352
|
-
emit("blur", inputRef.value.value);
|
|
353
|
-
}
|
|
354
|
-
});
|
|
355
|
-
function onEscape() {
|
|
356
|
-
emit("esc");
|
|
357
|
-
}
|
|
358
|
-
return (_ctx, _cache) => {
|
|
359
|
-
return openBlock(), createBlock(ExpandableInputBase, {
|
|
360
|
-
"model-value": _ctx.modelValue,
|
|
361
|
-
placeholder: _ctx.placeholder
|
|
362
|
-
}, {
|
|
363
|
-
default: withCtx(() => [
|
|
364
|
-
createBaseVNode("input", {
|
|
365
|
-
ref_key: "inputRef",
|
|
366
|
-
ref: inputRef,
|
|
367
|
-
class: normalizeClass(["el-input__inner", _ctx.$style.input]),
|
|
368
|
-
value: _ctx.modelValue,
|
|
369
|
-
placeholder: _ctx.placeholder,
|
|
370
|
-
maxlength: _ctx.maxlength,
|
|
371
|
-
size: "4",
|
|
372
|
-
onInput,
|
|
373
|
-
onKeydown: [
|
|
374
|
-
withKeys(onEnter, ["enter"]),
|
|
375
|
-
withKeys(onEscape, ["esc"])
|
|
376
|
-
]
|
|
377
|
-
}, null, 42, _hoisted_1$3)
|
|
378
|
-
]),
|
|
379
|
-
_: 1
|
|
380
|
-
}, 8, ["model-value", "placeholder"]);
|
|
381
|
-
};
|
|
382
|
-
}
|
|
383
|
-
});
|
|
384
|
-
const input = "_input_em4po_123";
|
|
385
|
-
const style0$2 = {
|
|
386
|
-
input
|
|
387
|
-
};
|
|
388
|
-
const cssModules$2 = {
|
|
389
|
-
"$style": style0$2
|
|
390
|
-
};
|
|
391
|
-
const ExpandableInputEdit = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__cssModules", cssModules$2]]);
|
|
392
|
-
const _hoisted_1$2 = ["value"];
|
|
393
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
394
|
-
__name: "ExpandableInputPreview",
|
|
395
|
-
props: {
|
|
396
|
-
modelValue: {}
|
|
397
|
-
},
|
|
398
|
-
setup(__props) {
|
|
399
|
-
return (_ctx, _cache) => {
|
|
400
|
-
return openBlock(), createBlock(ExpandableInputBase, {
|
|
401
|
-
"model-value": _ctx.modelValue,
|
|
402
|
-
"static-size": true
|
|
403
|
-
}, {
|
|
404
|
-
default: withCtx(() => [
|
|
405
|
-
createBaseVNode("input", {
|
|
406
|
-
class: "clickable preview",
|
|
407
|
-
value: _ctx.modelValue,
|
|
408
|
-
disabled: true,
|
|
409
|
-
size: "4"
|
|
410
|
-
}, null, 8, _hoisted_1$2)
|
|
411
|
-
]),
|
|
412
|
-
_: 1
|
|
413
|
-
}, 8, ["model-value"]);
|
|
414
|
-
};
|
|
415
|
-
}
|
|
416
|
-
});
|
|
417
|
-
const ExpandableInputPreview = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-7df19a7a"]]);
|
|
418
|
-
const _hoisted_1$1 = { key: 0 };
|
|
419
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
420
|
-
__name: "InlineTextEdit",
|
|
421
|
-
props: {
|
|
422
|
-
isEditEnabled: { type: Boolean, default: false },
|
|
423
|
-
modelValue: { default: "" },
|
|
424
|
-
placeholder: { default: "" },
|
|
425
|
-
maxLength: { default: 0 },
|
|
426
|
-
previewValue: { default: "" },
|
|
427
|
-
disabled: { type: Boolean, default: false }
|
|
428
|
-
},
|
|
429
|
-
emits: ["toggle", "submit"],
|
|
430
|
-
setup(__props, { emit: __emit }) {
|
|
431
|
-
const props = __props;
|
|
432
|
-
const emit = __emit;
|
|
433
|
-
const isDisabled = ref(props.disabled);
|
|
434
|
-
const newValue = ref("");
|
|
435
|
-
const escPressed = ref(false);
|
|
436
|
-
const inputBus = ref(createEventBus());
|
|
437
|
-
watch(
|
|
438
|
-
() => props.disabled,
|
|
439
|
-
(value) => {
|
|
440
|
-
isDisabled.value = value;
|
|
441
|
-
}
|
|
442
|
-
);
|
|
443
|
-
watch(
|
|
444
|
-
() => props.modelValue,
|
|
445
|
-
(value) => {
|
|
446
|
-
if (isDisabled.value) return;
|
|
447
|
-
newValue.value = value;
|
|
448
|
-
},
|
|
449
|
-
{ immediate: true }
|
|
450
|
-
);
|
|
451
|
-
function onInput(val) {
|
|
452
|
-
if (isDisabled.value) return;
|
|
453
|
-
newValue.value = val;
|
|
454
|
-
}
|
|
455
|
-
function onClick() {
|
|
456
|
-
if (isDisabled.value) return;
|
|
457
|
-
newValue.value = props.modelValue;
|
|
458
|
-
emit("toggle");
|
|
459
|
-
}
|
|
460
|
-
function onBlur() {
|
|
461
|
-
if (isDisabled.value) return;
|
|
462
|
-
if (!escPressed.value) {
|
|
463
|
-
submit();
|
|
464
|
-
}
|
|
465
|
-
escPressed.value = false;
|
|
466
|
-
}
|
|
467
|
-
function submit() {
|
|
468
|
-
if (isDisabled.value) return;
|
|
469
|
-
const onSubmit = (updated) => {
|
|
470
|
-
isDisabled.value = false;
|
|
471
|
-
if (!updated) {
|
|
472
|
-
inputBus.value.emit("focus");
|
|
473
|
-
}
|
|
474
|
-
};
|
|
475
|
-
isDisabled.value = true;
|
|
476
|
-
emit("submit", { name: newValue.value, onSubmit });
|
|
477
|
-
}
|
|
478
|
-
function onEscape() {
|
|
479
|
-
if (isDisabled.value) return;
|
|
480
|
-
escPressed.value = true;
|
|
481
|
-
emit("toggle");
|
|
482
|
-
}
|
|
483
|
-
return (_ctx, _cache) => {
|
|
484
|
-
return openBlock(), createElementBlock("span", {
|
|
485
|
-
class: normalizeClass(_ctx.$style["inline-edit"]),
|
|
486
|
-
onKeydown: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
487
|
-
}, ["stop"]))
|
|
488
|
-
}, [
|
|
489
|
-
_ctx.isEditEnabled && !isDisabled.value ? (openBlock(), createElementBlock("span", _hoisted_1$1, [
|
|
490
|
-
createVNode(ExpandableInputEdit, {
|
|
491
|
-
modelValue: newValue.value,
|
|
492
|
-
"onUpdate:modelValue": [
|
|
493
|
-
_cache[0] || (_cache[0] = ($event) => newValue.value = $event),
|
|
494
|
-
onInput
|
|
495
|
-
],
|
|
496
|
-
placeholder: _ctx.placeholder,
|
|
497
|
-
maxlength: _ctx.maxLength,
|
|
498
|
-
autofocus: true,
|
|
499
|
-
"event-bus": inputBus.value,
|
|
500
|
-
"data-test-id": "inline-edit-input",
|
|
501
|
-
onEsc: onEscape,
|
|
502
|
-
onBlur,
|
|
503
|
-
onEnter: submit
|
|
504
|
-
}, null, 8, ["modelValue", "placeholder", "maxlength", "event-bus"])
|
|
505
|
-
])) : (openBlock(), createElementBlock("span", {
|
|
506
|
-
key: 1,
|
|
507
|
-
class: normalizeClass(_ctx.$style.preview),
|
|
508
|
-
onClick
|
|
509
|
-
}, [
|
|
510
|
-
createVNode(ExpandableInputPreview, {
|
|
511
|
-
"model-value": _ctx.previewValue || _ctx.modelValue
|
|
512
|
-
}, null, 8, ["model-value"])
|
|
513
|
-
], 2))
|
|
514
|
-
], 34);
|
|
515
|
-
};
|
|
516
|
-
}
|
|
517
|
-
});
|
|
518
|
-
const preview = "_preview_c4gkz_134";
|
|
519
|
-
const style0$1 = {
|
|
520
|
-
"inline-edit": "_inline-edit_c4gkz_124",
|
|
521
|
-
preview
|
|
522
|
-
};
|
|
523
278
|
const cssModules$1 = {
|
|
524
279
|
"$style": style0$1
|
|
525
280
|
};
|
|
526
|
-
const
|
|
281
|
+
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssModules$1]]);
|
|
527
282
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
528
283
|
__name: "WorkflowActivationErrorMessage",
|
|
529
284
|
props: {
|
|
@@ -562,8 +317,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
562
317
|
const { showMessage } = useToast();
|
|
563
318
|
const workflowActivate = useWorkflowActivate();
|
|
564
319
|
const uiStore = useUIStore();
|
|
565
|
-
const
|
|
566
|
-
const workflowHelpers = useWorkflowHelpers({ router });
|
|
320
|
+
const workflowHelpers = useWorkflowHelpers();
|
|
567
321
|
const i18n = useI18n();
|
|
568
322
|
const workflowsStore = useWorkflowsStore();
|
|
569
323
|
const credentialsStore = useCredentialsStore();
|
|
@@ -774,9 +528,8 @@ const style0 = {
|
|
|
774
528
|
const cssModules = {
|
|
775
529
|
"$style": style0
|
|
776
530
|
};
|
|
777
|
-
const WorkflowActivator = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-
|
|
531
|
+
const WorkflowActivator = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-417f440f"]]);
|
|
778
532
|
export {
|
|
779
|
-
InlineTextEdit as I,
|
|
780
533
|
WorkflowActivator as W,
|
|
781
534
|
__unplugin_components_0 as _
|
|
782
535
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, b as useRouter,
|
|
1
|
+
import { d as defineComponent, b as useRouter, a4 as useWorkflowSaving, p as useSettingsStore, G as useUIStore, P as useWorkflowsStore, a2 as useNpsSurveyStore, r as ref, q as computed, c as useI18n, dg as deepCopy, R as PLACEHOLDER_EMPTY_WORKFLOW_ID, W as watch, o as onMounted, h as resolveComponent, e as createBlock, g as openBlock, w as withCtx, k as createBaseVNode, l as createTextVNode, j as createVNode, t as toDisplayString, m as unref, bB as withModifiers, n as normalizeClass, am as WORKFLOW_SETTINGS_MODAL_KEY, _ as _export_sfc } from "./index-Bpsc-Tmx.js";
|
|
2
2
|
const _hoisted_1 = { class: "mt-2xs" };
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "WorkflowExecutionsInfoAccordion",
|
|
@@ -9,7 +9,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9
9
|
const props = __props;
|
|
10
10
|
const i18n = useI18n();
|
|
11
11
|
const router = useRouter();
|
|
12
|
-
const
|
|
12
|
+
const workflowSaving = useWorkflowSaving({ router });
|
|
13
13
|
const locale = useI18n();
|
|
14
14
|
const settingsStore = useSettingsStore();
|
|
15
15
|
const uiStore = useUIStore();
|
|
@@ -119,7 +119,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
119
119
|
if (!currentId) {
|
|
120
120
|
return;
|
|
121
121
|
}
|
|
122
|
-
const saved = await
|
|
122
|
+
const saved = await workflowSaving.saveCurrentWorkflow({
|
|
123
123
|
id: currentId,
|
|
124
124
|
name: workflowName.value,
|
|
125
125
|
tags: currentWorkflowTagIds.value
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent, b as useRouter,
|
|
2
|
-
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-
|
|
1
|
+
import { d as defineComponent, b as useRouter, Q as useRoute, G as useUIStore, P as useWorkflowsStore, q as computed, h as resolveComponent, i as createElementBlock, g as openBlock, f as createCommentVNode, n as normalizeClass, j as createVNode, w as withCtx, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, R as PLACEHOLDER_EMPTY_WORKFLOW_ID, V as VIEWS, _ as _export_sfc } from "./index-Bpsc-Tmx.js";
|
|
2
|
+
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-vFGtC4-o.js";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
key: 0,
|
|
5
5
|
"data-test-id": "workflow-execution-no-trigger-content"
|