n8n-editor-ui 1.113.1 → 1.114.1
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/.build/cache-marker +1 -1
- package/.build/node-popularity.json +1 -3918
- package/dist/assets/{AddDataStoreModal-C-20tjW5.js → AddDataStoreModal-CsFLy-os.js} +8 -8
- package/dist/assets/{AnimatedSpinner-WDiU4lXb.js → AnimatedSpinner-BdYQZRvm.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CV4yKdOK.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-C-w_sFn5.js} +1 -1
- package/dist/assets/{AuthView-BfD8L-MR.js → AuthView-DfDkMLKR.js} +2 -2
- package/dist/assets/{ChangePasswordView-BHlNjnju.js → ChangePasswordView-D7ySKRGb.js} +3 -3
- package/dist/assets/CollectionParameter-CNnsizMe.js +4 -0
- package/dist/assets/{ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-Bm1msTtB.js → ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-ZKSyv6Rm.js} +1 -1
- package/dist/assets/{CredentialsView-Bpi1QEHU.js → CredentialsView-BSSTTfsB.js} +19 -19
- package/dist/assets/{DataStoreActions.vue_vue_type_script_setup_true_lang-BCsNv_gY.js → DataStoreActions.vue_vue_type_script_setup_true_lang-D4LRnvHA.js} +1 -1
- package/dist/assets/{DataStoreDetailsView-BwvQ5I7d.js → DataStoreDetailsView-Dkr_HtEW.js} +38 -26
- package/dist/assets/{DataStoreView-Bctk8RYi.js → DataStoreView-Cms5uqRt.js} +13 -14
- package/dist/assets/{DemoFooter-CxWGBc_7.js → DemoFooter-CKaunwpF.js} +6 -6
- package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-DqQrOg_2.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-BS4e8zRV.js} +3 -3
- package/dist/assets/{EntityNotFound-D7CGrbgk.js → EntityNotFound-D80vzHfS.js} +1 -1
- package/dist/assets/{EntityUnAuthorised-BO9xlb2N.js → EntityUnAuthorised-BlMXoT9N.js} +1 -1
- package/dist/assets/{ErrorView-C1PhniXH.js → ErrorView-Cg-eq9CL.js} +9 -9
- package/dist/assets/{EvaluationsRootView-C0QRKk3k.js → EvaluationsRootView-DWg4U9MD.js} +5 -5
- package/dist/assets/{EvaluationsView-CYpgbXKx.js → EvaluationsView-DZT93B1S.js} +3 -3
- package/dist/assets/{ExecutionsTime-etWexlXm.css → ExecutionsTime-CWHk7ZwI.css} +6 -6
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-Dh8inRTk.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-BZMWMaK1.js} +39 -39
- package/dist/assets/{ExecutionsView-BCb0Zr7W.js → ExecutionsView-DVSp3FTL.js} +10 -10
- package/dist/assets/{FixedCollectionParameter-D4km_FeH.js → FixedCollectionParameter-BFbAkjot.js} +4 -4
- package/dist/assets/{FixedCollectionParameter-Dg7ZadcB.css → FixedCollectionParameter-TY1-sHgZ.css} +18 -18
- package/dist/assets/{ForgotMyPasswordView-CdhGWxw4.js → ForgotMyPasswordView-1gl-DTSD.js} +3 -3
- package/dist/assets/{InfoAccordion-DE2_sS98.js → InfoAccordion-B4atTFpH.js} +1 -1
- package/dist/assets/{InsightsChartAverageRuntime-D5ZE_Nla.js → InsightsChartAverageRuntime-BdVbh5ca.js} +4 -4
- package/dist/assets/{InsightsChartFailed-BdeF-nyF.js → InsightsChartFailed-tRahEeus.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-C_YnwTyc.js → InsightsChartFailureRate-aLmvV-2j.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-cTOv1Iga.js → InsightsChartTimeSaved-Bw1GK02H.js} +4 -4
- package/dist/assets/{InsightsChartTotal-BKK9PNU1.js → InsightsChartTotal-YCLp-Mvg.js} +4 -4
- package/dist/assets/{InsightsDashboard-COAZWSu2.js → InsightsDashboard-C0GhlvO0.js} +11 -11
- package/dist/assets/{InsightsPaywall-BWpRemTn.js → InsightsPaywall-BqrNu0Sm.js} +1 -1
- package/dist/assets/{InsightsSummary-jcJA88u3.js → InsightsSummary-BIsW50Wb.js} +2 -3
- package/dist/assets/{InsightsTableWorkflows-Bh_NN7kQ.js → InsightsTableWorkflows-m0FuDdM6.js} +6 -7
- package/dist/assets/{Logo-DZ3J8N5N.js → Logo-CJDZZ9Dc.js} +1 -1
- package/dist/assets/{LogsPanel-DSS_hDBL.js → LogsPanel-AuBzspf5.js} +189 -101
- package/dist/assets/{LogsPanel-CUsQIBpC.css → LogsPanel-BE9Gl1z0.css} +26 -27
- package/dist/assets/{MainHeader-6lIHYgJG.css → MainHeader-BM1jYnSL.css} +6 -6
- package/dist/assets/{MainHeader-DfMxpY4d.js → MainHeader-CTr2-gOV.js} +17 -17
- package/dist/assets/{MainSidebar-a73tcV9E.css → MainSidebar-BWPXOik1.css} +156 -0
- package/dist/assets/{MainSidebar-C7fZf9ti.js → MainSidebar-wsfu6n1v.js} +204 -48
- package/dist/assets/{NodeCreation-DndFLn5s.js → NodeCreation-Uqspyd-Q.js} +11 -11
- package/dist/assets/{NodeCreator-DG0hCOby.js → NodeCreator-Cho8tlDH.js} +47 -34
- package/dist/assets/{NodeDetailsView-G0hcQtkE.js → NodeDetailsView-Cla0enix.js} +27 -27
- package/dist/assets/{NodeDetailsViewV2-BGHhaOjo.js → NodeDetailsViewV2-CImiiHw5.js} +16 -16
- package/dist/assets/{NodeView-Chs2u0U9.css → NodeView-DoRx_8YL.css} +0 -165
- package/dist/assets/{NodeView-D_Lf20Cj.js → NodeView-R0RrSafO.js} +82 -258
- package/dist/assets/{PageViewLayout-cxvwso_r.js → PageViewLayout-XMbxzupW.js} +1 -1
- package/dist/assets/{PrebuiltAgentTemplatesView--njlASMr.js → PrebuiltAgentTemplatesView-CVQlXLgD.js} +2 -2
- package/dist/assets/{ProjectBreadcrumb-KIWhTojS.js → ProjectBreadcrumb-CARSpK7o.js} +28 -12
- package/dist/assets/{ProjectHeader-B5uv4DKo.css → ProjectHeader-BNMKpvzV.css} +9 -9
- package/dist/assets/{ProjectHeader-PFXNU0--.js → ProjectHeader-CSMsPy1n.js} +10 -10
- package/dist/assets/{ProjectSettings-C1kZ9wA5.js → ProjectSettings-BfGExA4I.js} +169 -161
- package/dist/assets/{ProjectSettings-B5z1mrGW.css → ProjectSettings-Cj1kC16G.css} +30 -15
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-Bzf7nqUd.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-QmS6y6VJ.js} +5 -5
- package/dist/assets/{ResourcesListLayout-DQODsJpR.js → ResourcesListLayout-ATgLHOKO.js} +42 -42
- package/dist/assets/{ResourcesListLayout-vTwRIDRz.css → ResourcesListLayout-BseE8-rt.css} +8 -8
- package/dist/assets/{RunDataJson-BcUo9gnI.js → RunDataJson-PRchch-O.js} +3 -3
- package/dist/assets/{RunDataJsonActions-BCQ7lOd5.js → RunDataJsonActions-Ca-7abwJ.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-BnKhGr-k.js → RunDataParsedAiContent-LwO8lYeE.js} +2 -2
- package/dist/assets/{RunDataSearch-CiRa4kQq.js → RunDataSearch-_AawIJ1P.js} +59 -16
- package/dist/assets/{RunDataTable-Cb01UpR9.js → RunDataTable-C2IhJVY7.js} +4 -4
- package/dist/assets/{SamlOnboarding-BqIwhbZw.js → SamlOnboarding-DNGq1d-y.js} +3 -3
- package/dist/assets/{SelectedItemsInfo-DuFbVGZm.js → SelectedItemsInfo-DCbeoQ__.js} +1 -1
- package/dist/assets/{SettingsApiView-D2j7Vbwi.js → SettingsApiView-B8W2w9F3.js} +23 -24
- package/dist/assets/{SettingsCommunityNodesView-oZIjk1s_.js → SettingsCommunityNodesView-CSGQvqSv.js} +31 -31
- package/dist/assets/{SettingsExternalSecrets-Cea9JY7A.js → SettingsExternalSecrets-DvgKCijP.js} +18 -18
- package/dist/assets/{SettingsLdapView-Cg2gnd72.js → SettingsLdapView-Bls3Hiov.js} +17 -17
- package/dist/assets/{SettingsLogStreamingView-BScR5ZFJ.js → SettingsLogStreamingView-DC0NxA14.js} +29 -29
- package/dist/assets/SettingsMCPView-D_A3IzDR.js +626 -0
- package/dist/assets/SettingsMCPView-INU33iV4.css +370 -0
- package/dist/assets/{SettingsPersonalView-BfEdqrEE.js → SettingsPersonalView-BfvHbPzX.js} +31 -31
- package/dist/assets/{SettingsSourceControl-CQiyVvB3.js → SettingsSourceControl-DEAYOup_.js} +208 -65
- package/dist/assets/{SettingsSso-CAAxAbK6.js → SettingsSso-DT7TNXiC.js} +61 -23
- package/dist/assets/{SettingsUsageAndPlan-DTV0d49_.js → SettingsUsageAndPlan-BunLqdZX.js} +16 -17
- package/dist/assets/{SettingsUsageAndPlan-CfFJy6fo.css → SettingsUsageAndPlan-CfunueCX.css} +3 -3
- package/dist/assets/{SettingsUsersView-Ceq9-_wv.js → SettingsUsersView-C1DaGjPi.js} +4 -4
- package/dist/assets/{SettingsView-sqSuzp6q.js → SettingsView-BVBdo1Q8.js} +13 -12
- package/dist/assets/{SetupView-DNxfN7wc.js → SetupView-Ds_FejJz.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-DUCOv6F6.js → SetupWorkflowCredentialsButton-7QTSQ-Cp.js} +3 -3
- package/dist/assets/{SetupWorkflowFromTemplateView-DU4khxPx.js → SetupWorkflowFromTemplateView-DgAeg0pL.js} +13 -13
- package/dist/assets/{SigninView-BnzCVklk.js → SigninView-CTCti60k.js} +17 -17
- package/dist/assets/{SignoutView-CQx1YcpJ.js → SignoutView-BfiSDA3M.js} +1 -1
- package/dist/assets/{SignupView-CVowy7ND.js → SignupView-CHc0tHGl.js} +3 -3
- package/dist/assets/{TableBase-ChC-0JXo.js → TableBase-DCODsxOa.js} +1 -1
- package/dist/assets/{Tags-BElvlb53.js → Tags-D9gPKoUj.js} +1 -1
- package/dist/assets/{TemplateDetails-DFAU0IXa.js → TemplateDetails-BlV9NmCy.js} +11 -11
- package/dist/assets/{TemplateList-BqOvn2Up.js → TemplateList-CazlTEkA.js} +15 -15
- package/dist/assets/{TemplatesCollectionView-DUe-c9UK.js → TemplatesCollectionView-BEeRygO7.js} +15 -15
- package/dist/assets/{TemplatesSearchView-DqlXEFp4.js → TemplatesSearchView-CI00kxyK.js} +30 -30
- package/dist/assets/{TemplatesView-e-KwnRmC.js → TemplatesView-mLslH3Uw.js} +3 -3
- package/dist/assets/{TemplatesWorkflowView-DGdEHxRG.js → TemplatesWorkflowView-SSmdLOOW.js} +18 -18
- package/dist/assets/{TriggerPanel-BC7r1f-p.js → TriggerPanel-BHkYzUPx.js} +100 -124
- package/dist/assets/{TriggerPanel-DiD8pi0I.css → TriggerPanel-CZRJpcTa.css} +26 -24
- package/dist/assets/{VariablesView-BHcrNXsw.css → VariablesView-CO67wOhz.css} +6 -6
- package/dist/assets/{VariablesView-q3KOFXbh.js → VariablesView-k-pzl-O9.js} +9 -9
- package/dist/assets/{WorkerView-p9Gb5B1L.js → WorkerView-Cx8ge4xs.js} +27 -27
- package/dist/assets/{WorkflowActivator-jI4sUqXL.css → WorkflowActivator-BqnfTqdT.css} +2 -2
- package/dist/assets/{WorkflowActivator-3wlzZHDO.js → WorkflowActivator-By5Pii_6.js} +35 -27
- package/dist/assets/{WorkflowExecutionsInfoAccordion-MSQf1wi3.js → WorkflowExecutionsInfoAccordion-eJG4y2WA.js} +2 -2
- package/dist/assets/{WorkflowExecutionsLandingPage-C70_LGAv.js → WorkflowExecutionsLandingPage-C0mutLGh.js} +3 -3
- package/dist/assets/{WorkflowExecutionsPreview-D_xisYpD.js → WorkflowExecutionsPreview-G-4e7QQ9.js} +17 -17
- package/dist/assets/{WorkflowExecutionsView-ezc5vRrS.js → WorkflowExecutionsView-B0SmXxbP.js} +20 -20
- package/dist/assets/{WorkflowExecutionsView-DqWqyiNg.css → WorkflowExecutionsView-BI8VcrjR.css} +2 -2
- package/dist/assets/{WorkflowHistory-DeSZ98ik.js → WorkflowHistory-BiN2BqQR.js} +23 -23
- package/dist/assets/{WorkflowOnboardingView-XDAzh9C1.js → WorkflowOnboardingView-B9FkhZA-.js} +1 -1
- package/dist/assets/{WorkflowPreview-R4owDoRV.js → WorkflowPreview-BsgTaevQ.js} +5 -5
- package/dist/assets/{WorkflowsView-BJ_oKX3h.js → WorkflowsView-CLXbFUXb.js} +314 -136
- package/dist/assets/{WorkflowsView-MF9XcT0u.css → WorkflowsView-Cn8b7sC6.css} +295 -18
- package/dist/assets/{canvas-tCm4ovGg.js → canvas-BXznnLzi.js} +1 -1
- package/dist/assets/{chartjs.utils-B2U_02-S.js → chartjs.utils-D46nHC00.js} +2 -2
- package/dist/assets/{core-BDQ6uBcD.js → core-HeJRdxVB.js} +1 -1
- package/dist/assets/{global-link-actions-Cz-zl4uP.js → global-link-actions-dPKQ-sAY.js} +1 -1
- package/dist/assets/{index-CpPc1kM8.css → index-BlwIvpv7.css} +2746 -2641
- package/dist/assets/{index-CCyQeXiT.js → index-DGBHFnWS.js} +1 -1
- package/dist/assets/{index-BDDH_NIA.js → index-cWho1w-N.js} +15923 -17969
- package/dist/assets/{pickBy-B2RJpRoj.js → pickBy-DvVK9TvT.js} +1 -1
- package/dist/assets/{readyToRunWorkflows.store-lmsJGEVO.js → readyToRunWorkflows.store-o5xlMxpo.js} +1 -1
- package/dist/assets/{readyToRunWorkflowsV2.store-Bl7jk-i9.js → readyToRunWorkflowsV2.store-C_fY_4MX.js} +2 -2
- package/dist/assets/{templateActions-Bvze3qDu.js → templateActions-jNqx4MKh.js} +1 -1
- package/dist/assets/{useBeforeUnload-C1FPWSkO.js → useBeforeUnload-rUCiQOqr.js} +1 -1
- package/dist/assets/{useExecutionDebugging-Dgg7jmNh.js → useExecutionDebugging-BaETRwGq.js} +1 -1
- package/dist/assets/{useImportCurlCommand-sjcpA0Ub.js → useImportCurlCommand-BdmWWgaO.js} +1 -1
- package/dist/assets/{useProjectPages-B5KBSvIU.js → useProjectPages-BauGQpM_.js} +1 -1
- package/dist/assets/{usePushConnection-BEiaZIUU.js → usePushConnection-Bc8yBAxj.js} +12 -6
- package/dist/assets/{useWorkflowActivate-DykqGtLA.js → useWorkflowActivate-bxZnJPU3.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/scripts/cache-marker.mjs +11 -0
- package/turbo.json +2 -1
- package/dist/assets/CollectionParameter-D7XE8ypc.js +0 -4
|
@@ -692,49 +692,64 @@
|
|
|
692
692
|
-------------------------- */
|
|
693
693
|
/* BEM
|
|
694
694
|
-------------------------- */
|
|
695
|
-
.
|
|
695
|
+
._projectSettings_1kv8e_123 {
|
|
696
|
+
--project-field-width: 560px;
|
|
696
697
|
display: grid;
|
|
697
698
|
width: 100%;
|
|
698
699
|
justify-items: center;
|
|
699
700
|
grid-auto-rows: max-content;
|
|
700
701
|
}
|
|
701
|
-
.
|
|
702
|
+
._projectSettings_1kv8e_123 form {
|
|
702
703
|
width: 100%;
|
|
703
704
|
max-width: var(--content-container-width);
|
|
704
705
|
padding: 0 var(--spacing-2xl);
|
|
705
706
|
}
|
|
706
|
-
.
|
|
707
|
-
padding-bottom: var(--spacing-
|
|
707
|
+
._projectSettings_1kv8e_123 form fieldset {
|
|
708
|
+
padding-bottom: var(--spacing-xl);
|
|
708
709
|
}
|
|
709
|
-
.
|
|
710
|
+
._projectSettings_1kv8e_123 form fieldset h3 label {
|
|
711
|
+
font-size: var(--font-size-l);
|
|
712
|
+
}
|
|
713
|
+
._projectSettings_1kv8e_123 form fieldset label {
|
|
710
714
|
display: block;
|
|
711
715
|
margin-bottom: var(--spacing-xs);
|
|
712
|
-
font-size: var(--font-size-
|
|
716
|
+
font-size: var(--font-size-s);
|
|
713
717
|
}
|
|
714
|
-
.
|
|
718
|
+
._header_1kv8e_147 {
|
|
715
719
|
width: 100%;
|
|
716
720
|
max-width: var(--content-container-width);
|
|
717
721
|
padding: var(--spacing-l) var(--spacing-2xl) 0;
|
|
718
722
|
}
|
|
719
|
-
.
|
|
723
|
+
._upgrade_1kv8e_153 {
|
|
720
724
|
cursor: pointer;
|
|
721
725
|
}
|
|
722
|
-
.
|
|
726
|
+
._buttons_1kv8e_157 {
|
|
723
727
|
display: flex;
|
|
724
|
-
justify-content: flex-
|
|
728
|
+
justify-content: flex-start;
|
|
725
729
|
align-items: center;
|
|
726
730
|
}
|
|
727
|
-
.
|
|
731
|
+
._membersTableContainer_1kv8e_163 {
|
|
728
732
|
margin-top: var(--spacing-s);
|
|
729
733
|
}
|
|
730
|
-
.
|
|
731
|
-
max-width:
|
|
734
|
+
._search_1kv8e_167 {
|
|
735
|
+
max-width: var(--project-field-width);
|
|
732
736
|
margin-bottom: var(--spacing-s);
|
|
733
737
|
}
|
|
734
|
-
.
|
|
738
|
+
._projectName_1kv8e_172 {
|
|
735
739
|
display: flex;
|
|
736
740
|
gap: var(--spacing-2xs);
|
|
741
|
+
max-width: var(--project-field-width);
|
|
737
742
|
}
|
|
738
|
-
.
|
|
743
|
+
._projectName_1kv8e_172 ._projectNameInput_1kv8e_177 {
|
|
739
744
|
flex: 1;
|
|
745
|
+
}
|
|
746
|
+
._projectDescriptionInput_1kv8e_181,
|
|
747
|
+
._userSelect_1kv8e_182 {
|
|
748
|
+
max-width: var(--project-field-width);
|
|
749
|
+
width: 100%;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/* Ensure textarea uses regular UI font, not monospace */
|
|
753
|
+
._projectDescriptionInput_1kv8e_181 textarea {
|
|
754
|
+
font-family: var(--font-family);
|
|
740
755
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, a1 as usePushConnectionStore, x as computed,
|
|
1
|
+
import { d as defineComponent, a1 as usePushConnectionStore, x as computed, cg as resolveDirective, h as createElementBlock, g as openBlock, Y as renderSlot, i as createVNode, aa as Tooltip, w as withCtx, j as createBaseVNode, k as createTextVNode, N as N8nIcon, t as toDisplayString, l as unref, c as useI18n, b3 as withDirectives } from "./index-cWho1w-N.js";
|
|
2
2
|
const _hoisted_1 = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "push-connection-lost primary-color"
|
|
@@ -12,12 +12,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
12
|
return pushConnectionStore.isConnectionRequested && !pushConnectionStore.isConnected;
|
|
13
13
|
});
|
|
14
14
|
return (_ctx, _cache) => {
|
|
15
|
-
const
|
|
16
|
-
const
|
|
15
|
+
const _component_N8nIcon = N8nIcon;
|
|
16
|
+
const _component_N8nTooltip = Tooltip;
|
|
17
17
|
const _directive_n8n_html = resolveDirective("n8n-html");
|
|
18
18
|
return openBlock(), createElementBlock("span", null, [
|
|
19
19
|
showConnectionLostError.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
20
|
-
createVNode(
|
|
20
|
+
createVNode(_component_N8nTooltip, { placement: "bottom-end" }, {
|
|
21
21
|
content: withCtx(() => [
|
|
22
22
|
withDirectives(createBaseVNode("div", null, null, 512), [
|
|
23
23
|
[_directive_n8n_html, unref(i18n).baseText("pushConnectionTracker.cannotConnectToServer")]
|
|
@@ -25,7 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
25
|
]),
|
|
26
26
|
default: withCtx(() => [
|
|
27
27
|
createBaseVNode("span", null, [
|
|
28
|
-
createVNode(
|
|
28
|
+
createVNode(_component_N8nIcon, { icon: "triangle-alert" }),
|
|
29
29
|
createTextVNode(" " + toDisplayString(unref(i18n).baseText("pushConnectionTracker.connectionLost")), 1)
|
|
30
30
|
])
|
|
31
31
|
]),
|
|
@@ -1,7 +1,7 @@
|
|
|
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, A as renderList, aq as normalizeStyle, n as normalizeClass, t as toDisplayString, Y as renderSlot, e as createBlock,
|
|
2
|
-
import { N as N8nTableBase } from "./TableBase-
|
|
3
|
-
import { _ as __unplugin_components_5 } from "./PageViewLayout-
|
|
4
|
-
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, A as renderList, aq as normalizeStyle, n as normalizeClass, t as toDisplayString, Y as renderSlot, e as createBlock, c9 as resolveDynamicComponent, l as unref, f as createCommentVNode, fL as _sfc_main$5, eh as _sfc_main$6, k as createTextVNode, D as useI18n, eg as N8nSelect, K as mergeProps, _ as _export_sfc, a8 as watch, b2 as onBeforeMount, o as onMounted, Z as nextTick, av as useProjectsStore, a9 as resolveComponent, fH as _sfc_main$7, aF as EnterpriseEditionFeature, c as useI18n$1, ed as N8nInputLabel, fM as ProjectSharing, C as N8nLink, aL as N8nBadge, q as N8nButton, a$ as useLocalStorage, fN as LOCAL_STORAGE_WORKFLOW_LIST_PREFERENCES_KEY, fO as isBaseTextKey, a3 as useRoute, b as useRouter, P as useDebounce, u as useUsersStore, fP as useSlots, fQ as isSharedResource, fR as isResourceSortableByDate, X as onBeforeUnmount, dS as N8nLoading, e4 as N8nActionBox, p as N8nText, b3 as withDirectives, d6 as N8nInput, N as N8nIcon, c7 as normalizeProps, c8 as guardReactiveProps, cZ as InfoTip, b4 as vShow, am as useTelemetry } from "./index-cWho1w-N.js";
|
|
2
|
+
import { N as N8nTableBase } from "./TableBase-DCODsxOa.js";
|
|
3
|
+
import { _ as __unplugin_components_5 } from "./PageViewLayout-XMbxzupW.js";
|
|
4
|
+
import { u as useProjectPages } from "./useProjectPages-BauGQpM_.js";
|
|
5
5
|
function getValueByPath(object, path) {
|
|
6
6
|
return path.split(".").reduce((acc, part) => {
|
|
7
7
|
return acc?.[part];
|
|
@@ -433,19 +433,19 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
433
433
|
await projectsStore.getAvailableProjects();
|
|
434
434
|
});
|
|
435
435
|
return (_ctx, _cache) => {
|
|
436
|
-
const
|
|
437
|
-
const
|
|
438
|
-
const
|
|
439
|
-
const
|
|
440
|
-
const
|
|
441
|
-
const
|
|
442
|
-
return openBlock(), createBlock(
|
|
436
|
+
const _component_N8nBadge = N8nBadge;
|
|
437
|
+
const _component_N8nButton = N8nButton;
|
|
438
|
+
const _component_N8nInputLabel = N8nInputLabel;
|
|
439
|
+
const _component_EnterpriseEdition = resolveComponent("EnterpriseEdition");
|
|
440
|
+
const _component_N8nLink = N8nLink;
|
|
441
|
+
const _component_N8nPopover = _sfc_main$7;
|
|
442
|
+
return openBlock(), createBlock(_component_N8nPopover, {
|
|
443
443
|
trigger: "click",
|
|
444
444
|
width: "304",
|
|
445
445
|
size: "large"
|
|
446
446
|
}, {
|
|
447
447
|
reference: withCtx(() => [
|
|
448
|
-
createVNode(
|
|
448
|
+
createVNode(_component_N8nButton, {
|
|
449
449
|
icon: "funnel",
|
|
450
450
|
type: "tertiary",
|
|
451
451
|
size: "small",
|
|
@@ -457,7 +457,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
457
457
|
"data-test-id": "resources-list-filters-trigger"
|
|
458
458
|
}, {
|
|
459
459
|
default: withCtx(() => [
|
|
460
|
-
filtersLength.value > 0 ? (openBlock(), createBlock(
|
|
460
|
+
filtersLength.value > 0 ? (openBlock(), createBlock(_component_N8nBadge, {
|
|
461
461
|
key: 0,
|
|
462
462
|
class: normalizeClass(_ctx.$style["filter-button-count"]),
|
|
463
463
|
"data-test-id": "resources-list-filters-count",
|
|
@@ -485,12 +485,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
485
485
|
filters: _ctx.modelValue,
|
|
486
486
|
setKeyValue
|
|
487
487
|
}),
|
|
488
|
-
_ctx.shareable && unref(projectsStore).isProjectHome ? (openBlock(), createBlock(
|
|
488
|
+
_ctx.shareable && unref(projectsStore).isProjectHome ? (openBlock(), createBlock(_component_EnterpriseEdition, {
|
|
489
489
|
key: 0,
|
|
490
490
|
features: [unref(EnterpriseEditionFeature).Sharing]
|
|
491
491
|
}, {
|
|
492
492
|
default: withCtx(() => [
|
|
493
|
-
createVNode(
|
|
493
|
+
createVNode(_component_N8nInputLabel, {
|
|
494
494
|
label: unref(i18n).baseText("forms.resourceFiltersDropdown.owner"),
|
|
495
495
|
bold: false,
|
|
496
496
|
size: "small",
|
|
@@ -514,7 +514,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
514
514
|
key: 1,
|
|
515
515
|
class: normalizeClass([_ctx.$style["filters-dropdown-footer"], "mt-s"])
|
|
516
516
|
}, [
|
|
517
|
-
createVNode(
|
|
517
|
+
createVNode(_component_N8nLink, { onClick: resetFilters }, {
|
|
518
518
|
default: withCtx(() => [
|
|
519
519
|
createTextVNode(toDisplayString(unref(i18n).baseText("forms.resourceFiltersDropdown.reset")), 1)
|
|
520
520
|
]),
|
|
@@ -986,32 +986,32 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
986
986
|
setCurrentPage
|
|
987
987
|
});
|
|
988
988
|
return (_ctx, _cache) => {
|
|
989
|
-
const
|
|
990
|
-
const
|
|
991
|
-
const
|
|
992
|
-
const
|
|
993
|
-
const
|
|
994
|
-
const
|
|
995
|
-
const
|
|
996
|
-
const
|
|
997
|
-
const
|
|
998
|
-
const
|
|
999
|
-
const
|
|
1000
|
-
const
|
|
989
|
+
const _component_N8nLoading = N8nLoading;
|
|
990
|
+
const _component_N8nActionBox = N8nActionBox;
|
|
991
|
+
const _component_N8nIcon = N8nIcon;
|
|
992
|
+
const _component_N8nInput = N8nInput;
|
|
993
|
+
const _component_N8nOption = _sfc_main$6;
|
|
994
|
+
const _component_N8nSelect = N8nSelect;
|
|
995
|
+
const _component_N8nLink = N8nLink;
|
|
996
|
+
const _component_N8nInfoTip = InfoTip;
|
|
997
|
+
const _component_N8nRecycleScroller = _sfc_main$3;
|
|
998
|
+
const _component_ElPagination = resolveComponent("ElPagination");
|
|
999
|
+
const _component_N8nDatatable = N8nDatatable;
|
|
1000
|
+
const _component_N8nText = N8nText;
|
|
1001
1001
|
return openBlock(), createBlock(__unplugin_components_5, null, {
|
|
1002
1002
|
header: withCtx(() => [
|
|
1003
1003
|
renderSlot(_ctx.$slots, "header", {}, void 0, true)
|
|
1004
1004
|
]),
|
|
1005
1005
|
default: withCtx(() => [
|
|
1006
1006
|
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
1007
|
-
createVNode(
|
|
1007
|
+
createVNode(_component_N8nLoading, {
|
|
1008
1008
|
rows: 25,
|
|
1009
1009
|
"shrink-last": false
|
|
1010
1010
|
})
|
|
1011
1011
|
])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1012
1012
|
showEmptyState.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
1013
1013
|
renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
1014
|
-
createVNode(
|
|
1014
|
+
createVNode(_component_N8nActionBox, {
|
|
1015
1015
|
"data-test-id": "empty-resources-list",
|
|
1016
1016
|
emoji: "👋",
|
|
1017
1017
|
heading: unref(getResourceText)(
|
|
@@ -1040,7 +1040,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1040
1040
|
class: normalizeClass(_ctx.$style.filters)
|
|
1041
1041
|
}, [
|
|
1042
1042
|
renderSlot(_ctx.$slots, "breadcrumbs", {}, void 0, true),
|
|
1043
|
-
props.uiConfig.searchEnabled ? (openBlock(), createBlock(
|
|
1043
|
+
props.uiConfig.searchEnabled ? (openBlock(), createBlock(_component_N8nInput, {
|
|
1044
1044
|
key: 0,
|
|
1045
1045
|
ref_key: "search",
|
|
1046
1046
|
ref: search2,
|
|
@@ -1053,7 +1053,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1053
1053
|
"onUpdate:modelValue": onSearch
|
|
1054
1054
|
}, {
|
|
1055
1055
|
prefix: withCtx(() => [
|
|
1056
|
-
createVNode(
|
|
1056
|
+
createVNode(_component_N8nIcon, { icon: "search" })
|
|
1057
1057
|
]),
|
|
1058
1058
|
_: 1
|
|
1059
1059
|
}, 8, ["model-value", "class", "placeholder"])) : createCommentVNode("", true),
|
|
@@ -1061,7 +1061,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1061
1061
|
key: 1,
|
|
1062
1062
|
class: normalizeClass(_ctx.$style["sort-and-filter"])
|
|
1063
1063
|
}, [
|
|
1064
|
-
createVNode(
|
|
1064
|
+
createVNode(_component_N8nSelect, {
|
|
1065
1065
|
modelValue: sortBy.value,
|
|
1066
1066
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => sortBy.value = $event),
|
|
1067
1067
|
size: "small",
|
|
@@ -1070,7 +1070,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1070
1070
|
}, {
|
|
1071
1071
|
default: withCtx(() => [
|
|
1072
1072
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.sortOptions, (sortOption) => {
|
|
1073
|
-
return openBlock(), createBlock(
|
|
1073
|
+
return openBlock(), createBlock(_component_N8nOption, {
|
|
1074
1074
|
key: sortOption,
|
|
1075
1075
|
"data-test-id": "resources-list-sort-item",
|
|
1076
1076
|
value: sortOption,
|
|
@@ -1105,10 +1105,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1105
1105
|
], 2),
|
|
1106
1106
|
renderSlot(_ctx.$slots, "callout", {}, void 0, true),
|
|
1107
1107
|
props.uiConfig.showFiltersDropdown ? withDirectives((openBlock(), createElementBlock("div", _hoisted_3, [
|
|
1108
|
-
createVNode(
|
|
1108
|
+
createVNode(_component_N8nInfoTip, { bold: false }, {
|
|
1109
1109
|
default: withCtx(() => [
|
|
1110
1110
|
createTextVNode(toDisplayString(hasOnlyFiltersThatShowMoreResults.value ? unref(getResourceText)("filters.active.shortText", "filters.active.shortText") : unref(getResourceText)("filters.active", "filters.active")) + " ", 1),
|
|
1111
|
-
createVNode(
|
|
1111
|
+
createVNode(_component_N8nLink, {
|
|
1112
1112
|
"data-test-id": "workflows-filter-reset",
|
|
1113
1113
|
size: "small",
|
|
1114
1114
|
onClick: resetFilters
|
|
@@ -1129,7 +1129,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1129
1129
|
default: withCtx(() => [
|
|
1130
1130
|
renderSlot(_ctx.$slots, "preamble", {}, void 0, true),
|
|
1131
1131
|
_ctx.resourcesRefreshing ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
1132
|
-
createVNode(
|
|
1132
|
+
createVNode(_component_N8nLoading, {
|
|
1133
1133
|
rows: rowsPerPage.value,
|
|
1134
1134
|
"shrink-last": false
|
|
1135
1135
|
}, null, 8, ["rows"])
|
|
@@ -1139,7 +1139,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1139
1139
|
"data-test-id": "resources-list-wrapper",
|
|
1140
1140
|
class: normalizeClass(_ctx.$style.listWrapper)
|
|
1141
1141
|
}, [
|
|
1142
|
-
_ctx.type === "list-full" ? (openBlock(), createBlock(
|
|
1142
|
+
_ctx.type === "list-full" ? (openBlock(), createBlock(_component_N8nRecycleScroller, {
|
|
1143
1143
|
key: 0,
|
|
1144
1144
|
"data-test-id": "resources-list",
|
|
1145
1145
|
items: filteredAndSortedResources.value,
|
|
@@ -1178,7 +1178,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1178
1178
|
createBaseVNode("div", {
|
|
1179
1179
|
class: normalizeClass(_ctx.$style.listPagination)
|
|
1180
1180
|
}, [
|
|
1181
|
-
createVNode(
|
|
1181
|
+
createVNode(_component_ElPagination, {
|
|
1182
1182
|
"current-page": currentPage.value,
|
|
1183
1183
|
"onUpdate:currentPage": [
|
|
1184
1184
|
_cache[2] || (_cache[2] = ($event) => currentPage.value = $event),
|
|
@@ -1195,7 +1195,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1195
1195
|
}, null, 8, ["current-page", "page-size", "total", "page-sizes"])
|
|
1196
1196
|
], 2)
|
|
1197
1197
|
], 2)) : createCommentVNode("", true),
|
|
1198
|
-
_ctx.type === "datatable" ? (openBlock(), createBlock(
|
|
1198
|
+
_ctx.type === "datatable" ? (openBlock(), createBlock(_component_N8nDatatable, {
|
|
1199
1199
|
key: 2,
|
|
1200
1200
|
"data-test-id": "resources-table",
|
|
1201
1201
|
class: normalizeClass(_ctx.$style.datatable),
|
|
@@ -1214,7 +1214,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1214
1214
|
]),
|
|
1215
1215
|
_: 3
|
|
1216
1216
|
}, 8, ["class", "columns", "rows", "current-page", "rows-per-page"])) : createCommentVNode("", true)
|
|
1217
|
-
], 2)) : hasAppliedFilters() || filtersModel.value.search !== "" ? (openBlock(), createBlock(
|
|
1217
|
+
], 2)) : hasAppliedFilters() || filtersModel.value.search !== "" ? (openBlock(), createBlock(_component_N8nText, {
|
|
1218
1218
|
key: 2,
|
|
1219
1219
|
color: "text-base",
|
|
1220
1220
|
size: "medium",
|
|
@@ -1257,7 +1257,7 @@ const style0 = {
|
|
|
1257
1257
|
const cssModules = {
|
|
1258
1258
|
"$style": style0
|
|
1259
1259
|
};
|
|
1260
|
-
const ResourcesListLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-
|
|
1260
|
+
const ResourcesListLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-5a0cd892"]]);
|
|
1261
1261
|
export {
|
|
1262
1262
|
ResourcesListLayout as R
|
|
1263
1263
|
};
|
|
@@ -617,7 +617,7 @@
|
|
|
617
617
|
-------------------------- */
|
|
618
618
|
/* BEM
|
|
619
619
|
-------------------------- */
|
|
620
|
-
.resource-list-loading[data-v-
|
|
620
|
+
.resource-list-loading[data-v-5a0cd892] {
|
|
621
621
|
position: relative;
|
|
622
622
|
height: 0;
|
|
623
623
|
width: 100%;
|
|
@@ -625,25 +625,25 @@
|
|
|
625
625
|
/*
|
|
626
626
|
Show the loading skeleton only if the loading takes longer than 300ms
|
|
627
627
|
*/
|
|
628
|
-
animation: 0.01s linear 0.3s forwards changeVisibility-
|
|
628
|
+
animation: 0.01s linear 0.3s forwards changeVisibility-5a0cd892;
|
|
629
629
|
}
|
|
630
|
-
.resource-list-loading[data-v-
|
|
630
|
+
.resource-list-loading[data-v-5a0cd892] .el-skeleton {
|
|
631
631
|
position: absolute;
|
|
632
632
|
height: 100%;
|
|
633
633
|
width: 100%;
|
|
634
634
|
overflow: hidden;
|
|
635
635
|
}
|
|
636
|
-
.resource-list-loading[data-v-
|
|
636
|
+
.resource-list-loading[data-v-5a0cd892] .el-skeleton > div > div:first-child .el-skeleton__item {
|
|
637
637
|
height: 42px;
|
|
638
638
|
margin: 0;
|
|
639
639
|
}
|
|
640
|
-
.resource-list-loading[data-v-
|
|
640
|
+
.resource-list-loading[data-v-5a0cd892] .el-skeleton .el-skeleton__item {
|
|
641
641
|
height: 69px;
|
|
642
642
|
}
|
|
643
|
-
.resource-list-loading-instant[data-v-
|
|
644
|
-
animation: 0.01s linear 0s forwards changeVisibility-
|
|
643
|
+
.resource-list-loading-instant[data-v-5a0cd892] {
|
|
644
|
+
animation: 0.01s linear 0s forwards changeVisibility-5a0cd892;
|
|
645
645
|
}
|
|
646
|
-
@keyframes changeVisibility-
|
|
646
|
+
@keyframes changeVisibility-5a0cd892 {
|
|
647
647
|
from {
|
|
648
648
|
height: 0;
|
|
649
649
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataJsonActions-
|
|
2
|
-
import { d as defineComponent, aZ as useNDVStore,
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataJsonActions-Ca-7abwJ.js","assets/index-cWho1w-N.js","assets/index-BlwIvpv7.css","assets/_commonjs-dynamic-modules-TGKdzP3c.js","assets/RunDataJsonActions-B2jW3_UG.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { d as defineComponent, aZ as useNDVStore, cS as useTelemetryContext, r as ref, gs as useElementSize, x as computed, hy as executionDataToJson, h as createElementBlock, g as openBlock, e as createBlock, i as createVNode, w as withCtx, f as createCommentVNode, l as unref, dA as defineAsyncComponent, dz as Suspense, hz as VueJsonPretty, ht as __unplugin_components_0, n as normalizeClass, hu as MappingPill, go as Draggable, aV as __vitePreload, hv as shorten, hx as getMappedExpression, hA as isString, hB as nonExistingJsonPath, bt as useExternalHooks, am as useTelemetry, _ as _export_sfc } from "./index-cWho1w-N.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "RunDataJson",
|
|
5
5
|
props: {
|
|
@@ -18,7 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
},
|
|
19
19
|
setup(__props) {
|
|
20
20
|
const LazyRunDataJsonActions = defineAsyncComponent(
|
|
21
|
-
async () => await __vitePreload(() => import("./RunDataJsonActions-
|
|
21
|
+
async () => await __vitePreload(() => import("./RunDataJsonActions-Ca-7abwJ.js"), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
|
|
22
22
|
);
|
|
23
23
|
const props = __props;
|
|
24
24
|
const ndvStore = useNDVStore();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { il as commonjsGlobal, bX as getDefaultExportFromCjs, d as defineComponent, hB as nonExistingJsonPath, c4 as inject, r as ref, cf as PopOutWindowKey, x as computed, aZ as useNDVStore, a2 as useWorkflowsStore, ce as useClipboard, bQ as useNodeHelpers, bO as usePinnedData, a as useToast, a3 as useRoute, h as createElementBlock, g as openBlock, e as createBlock, l as unref, c as useI18n, ab as _sfc_main$1, w as withCtx, j as createBaseVNode, i as createVNode, H as ElDropdownMenu, I as ElDropdownItem, k as createTextVNode, t as toDisplayString, E as ElDropdown, n as normalizeClass, am as useTelemetry, im as clearJsonKey, hy as executionDataToJson, io as convertPath, _ as _export_sfc } from "./index-cWho1w-N.js";
|
|
2
2
|
import { c as commonjsRequire } from "./_commonjs-dynamic-modules-TGKdzP3c.js";
|
|
3
3
|
var jsonpath = { exports: {} };
|
|
4
4
|
/*! jsonpath 1.1.1 */
|
package/dist/assets/{RunDataParsedAiContent-BnKhGr-k.js → RunDataParsedAiContent-LwO8lYeE.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { V as VueMarkdown, H as HighlightJS } from "./core-
|
|
1
|
+
import { hC as requireUtils, hD as mapConnectionsByDestination, hE as getParentNodes, bE as emptyTokenUsageData, bD as addTokenUsageData, hF as libExports, hG as splitTextBySearch, d as defineComponent, ce as useClipboard, a as useToast, x as computed, h as createElementBlock, g as openBlock, n as normalizeClass, F as Fragment, A as renderList, e as createBlock, f as createCommentVNode, l as unref, ht as __unplugin_components_0, i as createVNode, ab as _sfc_main$1, c as useI18n, _ as _export_sfc } from "./index-cWho1w-N.js";
|
|
2
|
+
import { V as VueMarkdown, H as HighlightJS } from "./core-HeJRdxVB.js";
|
|
3
3
|
var utilsExports = requireUtils();
|
|
4
4
|
function createNode(parent, nodeName, currentDepth, runIndex, r, children = []) {
|
|
5
5
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, P as useDebounce,
|
|
1
|
+
import { d as defineComponent, P as useDebounce, cR as useDeviceSupport, c4 as inject, x as computed, r as ref, c as useI18n, hH as useEventListener, a8 as watch, e as createBlock, g as openBlock, w as withCtx, i as createVNode, N as N8nIcon, n as normalizeClass, aq as normalizeStyle, d6 as N8nInput, cf as PopOutWindowKey, _ as _export_sfc } from "./index-cWho1w-N.js";
|
|
2
2
|
const COLLAPSED_WIDTH = "30px";
|
|
3
3
|
const OPEN_WIDTH = "204px";
|
|
4
4
|
const OPEN_MIN_WIDTH = "120px";
|
|
@@ -8,7 +8,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8
8
|
modelValue: {},
|
|
9
9
|
paneType: { default: "output" },
|
|
10
10
|
displayMode: { default: "schema" },
|
|
11
|
-
|
|
11
|
+
shortcut: { default: void 0 }
|
|
12
12
|
},
|
|
13
13
|
emits: ["update:modelValue", "focus"],
|
|
14
14
|
setup(__props, { emit: __emit }) {
|
|
@@ -16,10 +16,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
const props = __props;
|
|
17
17
|
const locale = useI18n();
|
|
18
18
|
const { debounce } = useDebounce();
|
|
19
|
+
const { isCtrlKeyPressed, controlKeyText } = useDeviceSupport();
|
|
20
|
+
const popOutWindow = inject(PopOutWindowKey, void 0);
|
|
21
|
+
const keyboardEventTarget = computed(() => popOutWindow?.value?.document ?? window.document);
|
|
22
|
+
const focusReturnTo = ref(null);
|
|
19
23
|
const inputRef = ref(null);
|
|
20
24
|
const search = ref(props.modelValue ?? "");
|
|
21
25
|
const opened = ref(!!search.value);
|
|
22
26
|
const placeholder = computed(() => {
|
|
27
|
+
if (props.shortcut === "ctrl+f") {
|
|
28
|
+
return locale.baseText("ndv.search.placeholder.shortcutHint", {
|
|
29
|
+
interpolate: { shortcut: `${controlKeyText.value}+F` }
|
|
30
|
+
});
|
|
31
|
+
}
|
|
23
32
|
if (props.paneType === "output") {
|
|
24
33
|
return locale.baseText("ndv.search.placeholder.output");
|
|
25
34
|
}
|
|
@@ -32,10 +41,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
41
|
() => opened.value ? { maxWidth: OPEN_WIDTH, minWidth: OPEN_MIN_WIDTH } : { maxWidth: COLLAPSED_WIDTH }
|
|
33
42
|
);
|
|
34
43
|
const documentKeyHandler = (event) => {
|
|
35
|
-
const
|
|
36
|
-
if (
|
|
37
|
-
|
|
38
|
-
|
|
44
|
+
const action = getKeyboardActionToTrigger(event);
|
|
45
|
+
if (!action) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
event.preventDefault();
|
|
49
|
+
event.stopImmediatePropagation();
|
|
50
|
+
switch (action) {
|
|
51
|
+
case "open":
|
|
52
|
+
focusReturnTo.value = document.activeElement;
|
|
53
|
+
inputRef.value?.focus();
|
|
54
|
+
inputRef.value?.select();
|
|
55
|
+
break;
|
|
56
|
+
case "cancel":
|
|
57
|
+
inputRef.value?.blur();
|
|
58
|
+
opened.value = false;
|
|
59
|
+
emit("update:modelValue", "");
|
|
60
|
+
if (focusReturnTo.value instanceof HTMLElement) {
|
|
61
|
+
focusReturnTo.value.focus();
|
|
62
|
+
}
|
|
39
63
|
}
|
|
40
64
|
};
|
|
41
65
|
const debouncedEmitUpdate = debounce(async (value) => emit("update:modelValue", value), {
|
|
@@ -56,22 +80,41 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
56
80
|
opened.value = false;
|
|
57
81
|
}
|
|
58
82
|
};
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
83
|
+
function isTargetEditable(target) {
|
|
84
|
+
if (!(target instanceof HTMLElement)) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
return target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement || target instanceof HTMLSelectElement || target.getAttribute("contentEditable") === "true";
|
|
88
|
+
}
|
|
89
|
+
function getKeyboardActionToTrigger(event) {
|
|
90
|
+
if (opened.value && event.key === "Escape") {
|
|
91
|
+
return "cancel";
|
|
92
|
+
}
|
|
93
|
+
switch (props.shortcut) {
|
|
94
|
+
case "/": {
|
|
95
|
+
return event.key === "/" && !isTargetEditable(event.target) ? "open" : void 0;
|
|
96
|
+
}
|
|
97
|
+
case "ctrl+f":
|
|
98
|
+
return event.key === "f" && isCtrlKeyPressed(event) ? "open" : void 0;
|
|
99
|
+
case void 0:
|
|
100
|
+
return void 0;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
useEventListener(keyboardEventTarget, "keydown", documentKeyHandler, { capture: true });
|
|
65
104
|
watch(
|
|
66
105
|
() => props.modelValue,
|
|
67
106
|
(value) => {
|
|
107
|
+
const searchClearedFromOutside = search.value && !value;
|
|
68
108
|
search.value = value;
|
|
109
|
+
if (searchClearedFromOutside) {
|
|
110
|
+
opened.value = false;
|
|
111
|
+
}
|
|
69
112
|
}
|
|
70
113
|
);
|
|
71
114
|
return (_ctx, _cache) => {
|
|
72
|
-
const
|
|
73
|
-
const
|
|
74
|
-
return openBlock(), createBlock(
|
|
115
|
+
const _component_N8nIcon = N8nIcon;
|
|
116
|
+
const _component_N8nInput = N8nInput;
|
|
117
|
+
return openBlock(), createBlock(_component_N8nInput, {
|
|
75
118
|
ref_key: "inputRef",
|
|
76
119
|
ref: inputRef,
|
|
77
120
|
"data-test-id": "ndv-search",
|
|
@@ -88,7 +131,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
88
131
|
onBlur
|
|
89
132
|
}, {
|
|
90
133
|
prefix: withCtx(() => [
|
|
91
|
-
createVNode(
|
|
134
|
+
createVNode(_component_N8nIcon, {
|
|
92
135
|
class: normalizeClass(_ctx.$style.ioSearchIcon),
|
|
93
136
|
icon: "search",
|
|
94
137
|
size: "large"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, at as useCssModule, x as computed,
|
|
1
|
+
import { d as defineComponent, at as useCssModule, x as computed, eJ as getCurrentInstance, h as createElementBlock, f as createCommentVNode, g as openBlock, F as Fragment, A as renderList, n as normalizeClass, l as unref, Y as renderSlot, j as createBaseVNode, t as toDisplayString, e as createBlock, bv as createSlots, w as withCtx, K as mergeProps, _ as _export_sfc, aH as useTemplateRef, r as ref, aZ as useNDVStore, a2 as useWorkflowsStore, cS as useTelemetryContext, dQ as useExecutionHelpers, eD as storeToRefs, o as onMounted, a8 as watch, b3 as withDirectives, i as createVNode, ab as _sfc_main$2, b4 as vShow, c as useI18n, aa as Tooltip, k as createTextVNode, cZ as InfoTip, go as Draggable, ht as __unplugin_components_0, N as N8nIcon, hu as MappingPill, hv as shorten, ac as I18nT, hw as getPairedItemId, hx as getMappedExpression, bt as useExternalHooks, am as useTelemetry } from "./index-cWho1w-N.js";
|
|
2
2
|
const _hoisted_1$1 = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "n8n-tree"
|
|
@@ -466,7 +466,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
466
466
|
{ immediate: true, flush: "post" }
|
|
467
467
|
);
|
|
468
468
|
return (_ctx, _cache) => {
|
|
469
|
-
const
|
|
469
|
+
const _component_N8nIcon = N8nIcon;
|
|
470
470
|
return openBlock(), createElementBlock("div", {
|
|
471
471
|
class: normalizeClass([
|
|
472
472
|
_ctx.$style.dataDisplay,
|
|
@@ -644,7 +644,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
644
644
|
key: 0,
|
|
645
645
|
class: normalizeClass(_ctx.$style.dragButton)
|
|
646
646
|
}, [
|
|
647
|
-
createVNode(
|
|
647
|
+
createVNode(_component_N8nIcon, { icon: "grip-vertical" })
|
|
648
648
|
], 2)) : createCommentVNode("", true)
|
|
649
649
|
], 2)
|
|
650
650
|
]),
|
|
@@ -679,7 +679,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
679
679
|
]),
|
|
680
680
|
default: withCtx(() => [
|
|
681
681
|
createBaseVNode("span", null, [
|
|
682
|
-
createVNode(
|
|
682
|
+
createVNode(_component_N8nIcon, {
|
|
683
683
|
class: normalizeClass(_ctx.$style["warningTooltip"]),
|
|
684
684
|
icon: "triangle-alert"
|
|
685
685
|
}, null, 8, ["class"]),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent, b as useRouter, a as useToast, u as useUsersStore, r as ref,
|
|
2
|
-
import { A as AuthView } from "./AuthView-
|
|
3
|
-
import "./Logo-
|
|
1
|
+
import { d as defineComponent, b as useRouter, a as useToast, u as useUsersStore, r as ref, de as reactive, c as useI18n, e as createBlock, g as openBlock, V as VIEWS } from "./index-cWho1w-N.js";
|
|
2
|
+
import { A as AuthView } from "./AuthView-DfDkMLKR.js";
|
|
3
|
+
import "./Logo-CJDZZ9Dc.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "SamlOnboarding",
|
|
6
6
|
setup(__props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, h as createElementBlock, f as createCommentVNode, g as openBlock, n as normalizeClass, j as createBaseVNode, i as createVNode, t as toDisplayString, l as unref, q as N8nButton, c as useI18n, _ as _export_sfc } from "./index-
|
|
1
|
+
import { d as defineComponent, h as createElementBlock, f as createCommentVNode, g as openBlock, n as normalizeClass, j as createBaseVNode, i as createVNode, t as toDisplayString, l as unref, q as N8nButton, c as useI18n, _ as _export_sfc } from "./index-cWho1w-N.js";
|
|
2
2
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "SelectedItemsInfo",
|
|
4
4
|
props: {
|