n8n-editor-ui 1.71.3 → 1.72.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/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-C7YrhVc7.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-WpdLQ_Lc.js} +1 -1
- package/dist/assets/{AuthView-Cnr31xHM.css → AuthView-BP3bsQpK.css} +3 -14
- package/dist/assets/{AuthView-BhrVKHQb.js → AuthView-xWm2P-0B.js} +1 -1
- package/dist/assets/{CanvasChat-B2z8TKEq.js → CanvasChat-CpplEK_c.js} +76 -104
- package/dist/assets/{CanvasChat-BuYT3e9G.css → CanvasChat-DhkdJLy7.css} +18 -81
- package/dist/assets/{CanvasControls-Gjw5xMXK.css → CanvasControls-BEOkwFDJ.css} +1 -2
- package/dist/assets/{CanvasControls-D3OVjMCG.js → CanvasControls-CNOZvEmR.js} +1 -1
- package/dist/assets/{ChangePasswordView-BkoEwfgW.js → ChangePasswordView-Bx4HKBs9.js} +2 -2
- package/dist/assets/CollectionParameter-IbNRc-rP.js +4 -0
- package/dist/assets/{ConcurrentExecutionsHeader-D99WmQjD.css → ConcurrentExecutionsHeader-ChCLnjVG.css} +7 -17
- package/dist/assets/{ConcurrentExecutionsHeader-D_jkbuah.js → ConcurrentExecutionsHeader-dMskl4He.js} +51 -47
- package/dist/assets/CredentialsView-CzforIh7.css +36 -0
- package/dist/assets/{CredentialsView-WgZTdwDF.js → CredentialsView-DYmrbOcr.js} +15 -25
- package/dist/assets/ErrorView-DZCz_7-d.css +22 -0
- package/dist/assets/{ErrorView-CCvyR8gc.js → ErrorView-DpKWfKAY.js} +1 -1
- package/dist/assets/{ExecutionsView-DNwpODRj.css → ExecutionsView-CLxQdDnP.css} +16 -43
- package/dist/assets/{ExecutionsView-BsIeNcoc.js → ExecutionsView-a2Slm2v9.js} +123 -38
- package/dist/assets/FileSaver.min-BiLlhrlQ.js +81 -0
- package/dist/assets/{FixedCollectionParameter-DzOGMEdq.css → FixedCollectionParameter-CUxLKPYJ.css} +1 -6
- package/dist/assets/{FixedCollectionParameter-DMpNSKjt.js → FixedCollectionParameter-DMiADFki.js} +5 -9
- package/dist/assets/{ForgotMyPasswordView-m-NI0pKA.js → ForgotMyPasswordView-RLODqWeW.js} +2 -2
- package/dist/assets/{MainHeader-DrUbWzLR.css → MainHeader-Bg4Jr0GW.css} +16 -63
- package/dist/assets/{MainHeader-CzdjrO1j.js → MainHeader-CZBWRbIF.js} +20 -33
- package/dist/assets/{MainSidebar-DL53w2zU.css → MainSidebar-B_Q71vG8.css} +16 -68
- package/dist/assets/{MainSidebar-CWZj9hUz.js → MainSidebar-Cm-l0HUG.js} +86 -71
- package/dist/assets/{NodeCreation-BNsKR1XL.js → NodeCreation-Bycww9rf.js} +10 -14
- package/dist/assets/{NodeCreation-30KXmZi2.css → NodeCreation-DTNNkgVv.css} +1 -5
- package/dist/assets/{NodeCreator-nENM_3bV.js → NodeCreator-BrgHuvb2.js} +54 -90
- package/dist/assets/{NodeCreator-CvOLgSO_.css → NodeCreator-BvqI_pdC.css} +21 -91
- package/dist/assets/{NodeViewSwitcher-tJDzCGJC.js → NodeViewSwitcher-D5JjSNB2.js} +7425 -1780
- package/dist/assets/{NodeViewSwitcher-jLTC590F.css → NodeViewSwitcher-DngiUgY8.css} +323 -950
- package/dist/assets/{ProjectCardBadge-Dwm_41ZR.js → ProjectCardBadge-B6a5Tl_X.js} +8 -13
- package/dist/assets/ProjectHeader-CDl0NBcF.css +21 -0
- package/dist/assets/{ProjectHeader-DTRxu2oO.js → ProjectHeader-CUoGk-wO.js} +61 -44
- package/dist/assets/{ProjectSettings-hzCZqVHM.js → ProjectSettings-BSOa51jE.js} +24 -42
- package/dist/assets/{ProjectSettings-CChpfrTS.css → ProjectSettings-DZws5IzZ.css} +2 -9
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-Bv3nXXk5.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-ouQuoTYp.js} +1 -1
- package/dist/assets/{ResourcesListLayout-CKArPHiS.js → ResourcesListLayout-BKk7DIWo.js} +24 -30
- package/dist/assets/{ResourcesListLayout-I4rYUdFt.css → ResourcesListLayout-NZz6R66g.css} +11 -47
- package/dist/assets/{RunDataJson-jFaJ_yC4.js → RunDataJson-D7Whxi5x.js} +13 -13
- package/dist/assets/{RunDataJson-Dtc8i0I7.css → RunDataJson-DW_khHj4.css} +0 -1
- package/dist/assets/{RunDataJsonActions-zNKrn8z4.css → RunDataJsonActions-CoiM0oFP.css} +0 -1
- package/dist/assets/RunDataJsonActions-hLh8-Su6.js +5514 -0
- package/dist/assets/{RunDataSearch-BA0wlJtp.css → RunDataSearch-B4q8H9Ex.css} +0 -1
- package/dist/assets/{RunDataSearch-C9VyfwRz.js → RunDataSearch-Ds3EGLA6.js} +5 -7
- package/dist/assets/{RunDataTable-enskmmU4.css → RunDataTable-BOaG0Pms.css} +2 -10
- package/dist/assets/{RunDataTable-CK4Z05pd.js → RunDataTable-atOC6vYW.js} +9 -14
- package/dist/assets/{SamlOnboarding-POzPTpcl.js → SamlOnboarding-DuDPZUey.js} +4 -5
- package/dist/assets/{SettingsApiView-BOFUFUqU.js → SettingsApiView-CFlbEwnS.js} +1 -1
- package/dist/assets/{SettingsApiView-5wBxahqI.css → SettingsApiView-DX3S-5pa.css} +2 -8
- package/dist/assets/{SettingsCommunityNodesView-088VPv0r.js → SettingsCommunityNodesView-CJrxi3vi.js} +3 -3
- package/dist/assets/{SettingsCommunityNodesView-BTbugFls.css → SettingsCommunityNodesView-kzxtAoLp.css} +10 -42
- package/dist/assets/SettingsExternalSecrets-BnXyxlJd.css +29 -0
- package/dist/assets/{SettingsExternalSecrets-DlobsnOy.js → SettingsExternalSecrets-BusSlBVI.js} +14 -17
- package/dist/assets/SettingsLdapView-BLPKhtjA.js +2423 -0
- package/dist/assets/{SettingsLdapView-cRgzivq6.css → SettingsLdapView-BPh_inzE.css} +2 -8
- package/dist/assets/{SettingsLogStreamingView-EW9yIYwY.js → SettingsLogStreamingView-DI9OYnte.js} +20 -37
- package/dist/assets/SettingsLogStreamingView-Uz298HNW.css +46 -0
- package/dist/assets/{SettingsPersonalView-BOQgHIYm.css → SettingsPersonalView-CqzRUitO.css} +3 -13
- package/dist/assets/{SettingsPersonalView-DrJJtUL5.js → SettingsPersonalView-CwLPEQe5.js} +7 -10
- package/dist/assets/{SettingsSourceControl-COccchDl.js → SettingsSourceControl-BHiwsbh6.js} +1 -1
- package/dist/assets/{SettingsSourceControl-aZrwFtXG.css → SettingsSourceControl-C7H8sLJN.css} +5 -21
- package/dist/assets/{SettingsSso-BczGJSZo.js → SettingsSso-BUE-Dg9u.js} +10 -11
- package/dist/assets/{SettingsSso-DUkYL_--.css → SettingsSso-Be_ejj46.css} +3 -13
- package/dist/assets/{SettingsUsageAndPlan-vijI-va0.css → SettingsUsageAndPlan-C3fKPMTY.css} +13 -54
- package/dist/assets/{SettingsUsageAndPlan-OepwN_K0.js → SettingsUsageAndPlan-g8SYxLIm.js} +3 -7
- package/dist/assets/{SettingsUsersView-D6xH2uOE.js → SettingsUsersView-DsjbsMkp.js} +8 -15
- package/dist/assets/{SettingsView-D30Stwpp.js → SettingsView-BZqGq_NA.js} +3 -4
- package/dist/assets/{SettingsView-DOWbkj-V.css → SettingsView-o6uNYu0t.css} +1 -5
- package/dist/assets/{SetupView-DLhUy2sO.js → SetupView-DKcifLmN.js} +3 -9
- package/dist/assets/{SetupWorkflowCredentialsButton-FAOxK4hC.js → SetupWorkflowCredentialsButton-1FX7DWWs.js} +3 -5
- package/dist/assets/{SetupWorkflowFromTemplateView-29le4KEi.js → SetupWorkflowFromTemplateView-BI8db6Bn.js} +5 -9
- package/dist/assets/SetupWorkflowFromTemplateView-DjBcyMCl.css +26 -0
- package/dist/assets/{SigninView-B3r5QMqu.js → SigninView-DRl5Z9dU.js} +4 -5
- package/dist/assets/{SigninView-BEBHcgmK.css → SigninView-DzDE1gJb.css} +3 -14
- package/dist/assets/{SignoutView-DiRv1jyS.js → SignoutView-CD6CNCd4.js} +1 -1
- package/dist/assets/{SignupView-DepIL1mr.js → SignupView-BUIFD8_L.js} +2 -2
- package/dist/assets/{TemplateDetails-BG8YmNsP.js → TemplateDetails-BZy8nHAa.js} +1 -1
- package/dist/assets/{TemplateDetails-BjsdeJu8.css → TemplateDetails-p3M6A7jr.css} +1 -4
- package/dist/assets/{TemplateList-4lx8vpYf.css → TemplateList-BR3bpDTv.css} +13 -52
- package/dist/assets/{TemplateList-CEljIT09.js → TemplateList-DdYIfcdc.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-C1BUeMtq.css → TemplatesCollectionView-DJVlK4Bb.css} +1 -5
- package/dist/assets/{TemplatesCollectionView-C1katHqi.js → TemplatesCollectionView-a9gOg1oh.js} +5 -5
- package/dist/assets/{TemplatesSearchView-BiokbeYf.css → TemplatesSearchView-CFrHWGcY.css} +4 -21
- package/dist/assets/{TemplatesSearchView-6ugazm6D.js → TemplatesSearchView-C_qp2w-Y.js} +5 -20
- package/dist/assets/{TemplatesView-BfnDbKo5.css → TemplatesView-CBNZZ_X1.css} +3 -16
- package/dist/assets/{TemplatesView-BnpZqzSI.js → TemplatesView-Srd2qTc6.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-D-rSlrYy.js → TemplatesWorkflowView-CDkCoN9X.js} +35 -39
- package/dist/assets/{TemplatesWorkflowView-BN5JjV6M.css → TemplatesWorkflowView-CVC0fbb6.css} +2 -10
- package/dist/assets/{TestDefinitionEditView-szspUG0t.css → TestDefinitionEditView-CVRXpJ4c.css} +13 -54
- package/dist/assets/{TestDefinitionEditView-Dw2F_7Ku.js → TestDefinitionEditView-CgQpahO7.js} +3 -4
- package/dist/assets/{TestDefinitionListView-Cv9ivpVk.js → TestDefinitionListView-BGJr2Okj.js} +4 -4
- package/dist/assets/{TestDefinitionListView-BfUssieW.css → TestDefinitionListView-BJVxwUdb.css} +9 -46
- package/dist/assets/{VariablesView-meR15bnW.css → VariablesView-BnGnRwcl.css} +3 -13
- package/dist/assets/{VariablesView-BrvfrvgE.js → VariablesView-DBlZthPg.js} +28 -38
- package/dist/assets/{VirtualSchema-Be-DGXEU.css → VirtualSchema-CIfwZj8N.css} +11 -48
- package/dist/assets/VirtualSchema-DkiHWd9N.js +378 -0
- package/dist/assets/{WorkerView-DhAgtBED.js → WorkerView--FWlY_KA.js} +14 -23
- package/dist/assets/WorkerView-CvXMClDD.css +123 -0
- package/dist/assets/{WorkflowActivator-Def_oRg7.js → WorkflowActivator-BbpMhG1U.js} +2 -2
- package/dist/assets/{WorkflowActivator-D8FiI2jP.css → WorkflowActivator-DSBGQvK0.css} +3 -9
- package/dist/assets/{WorkflowExecutionsInfoAccordion-lODxxxtv.js → WorkflowExecutionsInfoAccordion-DOpZ49kK.js} +1 -1
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DfMew6q4.css → WorkflowExecutionsInfoAccordion-f5tIRAwu.css} +2 -14
- package/dist/assets/WorkflowExecutionsLandingPage-BodEQ5Bq.css +23 -0
- package/dist/assets/{WorkflowExecutionsLandingPage-Bidi-y5V.js → WorkflowExecutionsLandingPage-CAbWLqG8.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-DRCpGEbi.css → WorkflowExecutionsPreview-C-e7WZrK.css} +22 -98
- package/dist/assets/{WorkflowExecutionsPreview-d2F04pj8.js → WorkflowExecutionsPreview-CfUWIIgy.js} +39 -71
- package/dist/assets/{WorkflowExecutionsView-C6EMZ-AQ.css → WorkflowExecutionsView-CFOgmzpK.css} +18 -74
- package/dist/assets/{WorkflowExecutionsView-CHr4rzKW.js → WorkflowExecutionsView-DrfZ7QK8.js} +151 -165
- package/dist/assets/{WorkflowHistory-C-lUH0fo.css → WorkflowHistory-D0ufvWsH.css} +14 -57
- package/dist/assets/{WorkflowHistory-BSijDFcx.js → WorkflowHistory-eqsh1yXn.js} +16 -29
- package/dist/assets/{WorkflowOnboardingView-CvuowIe6.js → WorkflowOnboardingView-Kbe8c2_R.js} +22 -5
- package/dist/assets/{WorkflowPreview-CYf78I6t.js → WorkflowPreview-DKTyMYfO.js} +5 -11
- package/dist/assets/{WorkflowPreview-Bpiv2_RO.css → WorkflowPreview-DuLM6rtd.css} +4 -15
- package/dist/assets/{WorkflowsView-Bc1WW7-8.js → WorkflowsView-ClrcrpKc.js} +110 -120
- package/dist/assets/WorkflowsView-D5fBzfD4.css +65 -0
- package/dist/assets/{index-D50gpyk6.css → index-Bo70cRA3.css} +350 -1351
- package/dist/assets/{index-D57HUAs6.js → index-fCEqBD8K.js} +45117 -40863
- package/dist/assets/polyfills-BN5TIqPj.js +5985 -0
- package/dist/assets/{pushConnection.store-BrFt2YWH.js → pushConnection.store-Kmly9nV5.js} +2 -3
- package/dist/assets/{templateActions-BrLvM4wQ.js → templateActions-xeWyRgrU.js} +1 -1
- package/dist/assets/{testDefinition.store.ee-DJ6gErZh.js → testDefinition.store.ee-C9BPbACc.js} +1 -1
- package/dist/assets/{useBugReporting-v6zXxGxR.js → useBugReporting-CbgIVUCL.js} +1 -1
- package/dist/assets/{useExecutionDebugging-Dhwr-oW3.js → useExecutionDebugging-Cuf88DQE.js} +3 -6
- package/dist/assets/{useExecutionHelpers-Ovym9OwA.js → useExecutionHelpers-BIxUwlsh.js} +3 -4
- package/dist/assets/{useGlobalEntityCreation-D_NS7_je.js → useGlobalEntityCreation-DGVSN-Im.js} +29 -14
- package/dist/assets/{useNodeViewVersionSwitcher-ESq0kPP5.js → useNodeViewVersionSwitcher-Eg-dOWbq.js} +1 -1
- package/dist/assets/{usePushConnection-DCkWEVa2.js → usePushConnection-D-iAKJiL.js} +36 -22
- package/dist/assets/{useRunWorkflow-B_S0x25z.css → useRunWorkflow-BDl-2MsN.css} +24 -106
- package/dist/assets/{useRunWorkflow-g1Tw1vWo.js → useRunWorkflow-BXE6bWp2.js} +1547 -1581
- package/dist/assets/{useWorkflowActivate-DibPO-sA.js → useWorkflowActivate-D8cU5eJ_.js} +1 -1
- package/dist/index.html +4 -2
- package/package.json +1 -1
- package/tsconfig.json +2 -1
- package/vite.config.mts +11 -0
- package/dist/assets/CollectionParameter-D7-YFFFP.js +0 -4
- package/dist/assets/CredentialsView-ChjCCSbV.css +0 -56
- package/dist/assets/ErrorView-Dzof6SY8.css +0 -35
- package/dist/assets/FileSaver.min-BsJSdQo9.js +0 -74
- package/dist/assets/ProjectHeader-CTK_rV3h.css +0 -28
- package/dist/assets/RunDataJsonActions-CUYH2C-z.js +0 -5509
- package/dist/assets/SettingsExternalSecrets-BD5PuMIG.css +0 -50
- package/dist/assets/SettingsLdapView-CDm8JWNK.js +0 -2417
- package/dist/assets/SettingsLogStreamingView-CWIuI89G.css +0 -75
- package/dist/assets/SetupWorkflowFromTemplateView-CvsDVBkh.css +0 -44
- package/dist/assets/VirtualSchema-DFybirEh.js +0 -1863
- package/dist/assets/WorkerView-C_d54L0W.css +0 -181
- package/dist/assets/WorkflowExecutionsLandingPage-B1zCnzh_.css +0 -39
- package/dist/assets/WorkflowsView-C1eCTa1K.css +0 -82
- /package/dist/assets/{ProjectCardBadge-DPUG4BoB.css → ProjectCardBadge-DQvW5T7s.css} +0 -0
- /package/dist/assets/{SettingsUsersView-Ba9S2o-I.css → SettingsUsersView-C13eCMjh.css} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __unplugin_components_1 } from "./TemplateDetails-
|
|
2
|
-
import { W as WorkflowPreview } from "./WorkflowPreview-
|
|
3
|
-
import { d as defineComponent, aL as useTemplatesStore, av as usePostHog, bk as useNodeTypesStore, U as useRoute, b as useRouter, a3 as useDocumentTitle, r as ref, q as computed, H as watch, o as onMounted, c as openBlock, e as createBlock, aO as createSlots, w as withCtx, j as createBaseVNode, f as createCommentVNode, n as normalizeClass, i as createVNode, l as unref, h as createElementBlock, k as createTextVNode, t as toDisplayString, g as useI18n, m as resolveComponent, aP as useExternalHooks, ak as useTelemetry, _ as _export_sfc } from "./index-
|
|
4
|
-
import { u as useTemplateWorkflow } from "./templateActions-
|
|
5
|
-
import { T as TemplatesView } from "./TemplatesView-
|
|
1
|
+
import { _ as __unplugin_components_1 } from "./TemplateDetails-BZy8nHAa.js";
|
|
2
|
+
import { W as WorkflowPreview } from "./WorkflowPreview-DKTyMYfO.js";
|
|
3
|
+
import { d as defineComponent, aL as useTemplatesStore, av as usePostHog, bk as useNodeTypesStore, U as useRoute, b as useRouter, a3 as useDocumentTitle, r as ref, q as computed, H as watch, o as onMounted, c as openBlock, e as createBlock, aO as createSlots, w as withCtx, j as createBaseVNode, f as createCommentVNode, n as normalizeClass, i as createVNode, l as unref, h as createElementBlock, k as createTextVNode, t as toDisplayString, g as useI18n, m as resolveComponent, aP as useExternalHooks, ak as useTelemetry, _ as _export_sfc } from "./index-fCEqBD8K.js";
|
|
4
|
+
import { u as useTemplateWorkflow } from "./templateActions-xeWyRgrU.js";
|
|
5
|
+
import { T as TemplatesView } from "./TemplatesView-Srd2qTc6.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "TemplatesWorkflowView",
|
|
8
8
|
setup(__props) {
|
|
@@ -57,9 +57,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
59
|
onMounted(async () => {
|
|
60
|
-
var _a;
|
|
61
60
|
scrollToTop();
|
|
62
|
-
if (
|
|
61
|
+
if (template.value?.full) {
|
|
63
62
|
loading.value = false;
|
|
64
63
|
return;
|
|
65
64
|
}
|
|
@@ -145,44 +144,41 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
145
144
|
}, [
|
|
146
145
|
!notFoundError.value ? {
|
|
147
146
|
name: "content",
|
|
148
|
-
fn: withCtx(() =>
|
|
149
|
-
|
|
150
|
-
|
|
147
|
+
fn: withCtx(() => [
|
|
148
|
+
createBaseVNode("div", {
|
|
149
|
+
class: normalizeClass(_ctx.$style.image)
|
|
150
|
+
}, [
|
|
151
|
+
showPreview.value ? (openBlock(), createBlock(_component_WorkflowPreview, {
|
|
152
|
+
key: 0,
|
|
153
|
+
loading: loading.value,
|
|
154
|
+
workflow: template.value?.workflow,
|
|
155
|
+
onClose: onHidePreview
|
|
156
|
+
}, null, 8, ["loading", "workflow"])) : createCommentVNode("", true)
|
|
157
|
+
], 2),
|
|
158
|
+
createBaseVNode("div", {
|
|
159
|
+
class: normalizeClass(_ctx.$style.content)
|
|
160
|
+
}, [
|
|
151
161
|
createBaseVNode("div", {
|
|
152
|
-
class: normalizeClass(_ctx.$style.
|
|
162
|
+
class: normalizeClass(_ctx.$style.markdown),
|
|
163
|
+
"data-test-id": "template-description"
|
|
153
164
|
}, [
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
}, null, 8, ["loading", "workflow"])) : createCommentVNode("", true)
|
|
165
|
+
createVNode(_component_n8n_markdown, {
|
|
166
|
+
content: template.value?.description,
|
|
167
|
+
images: template.value?.image,
|
|
168
|
+
loading: loading.value
|
|
169
|
+
}, null, 8, ["content", "images", "loading"])
|
|
160
170
|
], 2),
|
|
161
171
|
createBaseVNode("div", {
|
|
162
|
-
class: normalizeClass(_ctx.$style.
|
|
172
|
+
class: normalizeClass(_ctx.$style.details)
|
|
163
173
|
}, [
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
content: (_b = template.value) == null ? void 0 : _b.description,
|
|
170
|
-
images: (_c = template.value) == null ? void 0 : _c.image,
|
|
171
|
-
loading: loading.value
|
|
172
|
-
}, null, 8, ["content", "images", "loading"])
|
|
173
|
-
], 2),
|
|
174
|
-
createBaseVNode("div", {
|
|
175
|
-
class: normalizeClass(_ctx.$style.details)
|
|
176
|
-
}, [
|
|
177
|
-
createVNode(_component_TemplateDetails, {
|
|
178
|
-
"block-title": unref(i18n).baseText("template.details.appsInTheWorkflow"),
|
|
179
|
-
loading: loading.value,
|
|
180
|
-
template: template.value
|
|
181
|
-
}, null, 8, ["block-title", "loading", "template"])
|
|
182
|
-
], 2)
|
|
174
|
+
createVNode(_component_TemplateDetails, {
|
|
175
|
+
"block-title": unref(i18n).baseText("template.details.appsInTheWorkflow"),
|
|
176
|
+
loading: loading.value,
|
|
177
|
+
template: template.value
|
|
178
|
+
}, null, 8, ["block-title", "loading", "template"])
|
|
183
179
|
], 2)
|
|
184
|
-
]
|
|
185
|
-
|
|
180
|
+
], 2)
|
|
181
|
+
]),
|
|
186
182
|
key: "0"
|
|
187
183
|
} : void 0
|
|
188
184
|
]), 1024);
|
package/dist/assets/{TemplatesWorkflowView-BN5JjV6M.css → TemplatesWorkflowView-CVC0fbb6.css}
RENAMED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
._wrapper_trbdo_1 {
|
|
2
|
-
display: -webkit-box;
|
|
3
|
-
display: -ms-flexbox;
|
|
4
2
|
display: flex;
|
|
5
|
-
-
|
|
6
|
-
-ms-flex-pack: justify;
|
|
7
|
-
justify-content: space-between;
|
|
3
|
+
justify-content: space-between;
|
|
8
4
|
}
|
|
9
5
|
._notFound_trbdo_6 {
|
|
10
6
|
padding-top: var(--spacing-xl);
|
|
@@ -27,12 +23,8 @@
|
|
|
27
23
|
}
|
|
28
24
|
._content_trbdo_29 {
|
|
29
25
|
padding: var(--spacing-2xl) 0;
|
|
30
|
-
display: -webkit-box;
|
|
31
|
-
display: -ms-flexbox;
|
|
32
26
|
display: flex;
|
|
33
|
-
-
|
|
34
|
-
-ms-flex-pack: justify;
|
|
35
|
-
justify-content: space-between;
|
|
27
|
+
justify-content: space-between;
|
|
36
28
|
}
|
|
37
29
|
@media (max-width: 768px) {
|
|
38
30
|
._content_trbdo_29 {
|
package/dist/assets/{TestDefinitionEditView-szspUG0t.css → TestDefinitionEditView-CVRXpJ4c.css}
RENAMED
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
content: "";
|
|
8
8
|
position: absolute;
|
|
9
9
|
left: 50%;
|
|
10
|
-
|
|
11
|
-
transform: translateX(-50%);
|
|
10
|
+
transform: translateX(-50%);
|
|
12
11
|
}
|
|
13
12
|
._arrowConnector_1ffe6_1::before {
|
|
14
13
|
top: 0;
|
|
@@ -24,12 +23,8 @@
|
|
|
24
23
|
border-right: 6px solid transparent;
|
|
25
24
|
border-top: 8px solid var(--color-text-dark);
|
|
26
25
|
}._header_1htk6_1 {
|
|
27
|
-
display: -webkit-box;
|
|
28
|
-
display: -ms-flexbox;
|
|
29
26
|
display: flex;
|
|
30
|
-
-
|
|
31
|
-
-ms-flex-align: center;
|
|
32
|
-
align-items: center;
|
|
27
|
+
align-items: center;
|
|
33
28
|
gap: var(--spacing-2xs);
|
|
34
29
|
margin-bottom: var(--spacing-l);
|
|
35
30
|
}
|
|
@@ -38,18 +33,12 @@
|
|
|
38
33
|
}
|
|
39
34
|
._title_1htk6_11 {
|
|
40
35
|
margin: 0;
|
|
41
|
-
-
|
|
42
|
-
-ms-flex-positive: 1;
|
|
43
|
-
flex-grow: 1;
|
|
36
|
+
flex-grow: 1;
|
|
44
37
|
font-size: var(--font-size-xl);
|
|
45
38
|
font-weight: var(--font-weight-bold);
|
|
46
39
|
color: var(--color-text-dark);
|
|
47
|
-
display: -webkit-box;
|
|
48
|
-
display: -ms-flexbox;
|
|
49
40
|
display: flex;
|
|
50
|
-
-
|
|
51
|
-
-ms-flex-align: center;
|
|
52
|
-
align-items: center;
|
|
41
|
+
align-items: center;
|
|
53
42
|
max-width: 100%;
|
|
54
43
|
overflow: hidden;
|
|
55
44
|
}
|
|
@@ -77,8 +66,7 @@
|
|
|
77
66
|
background: var(--color-background-light);
|
|
78
67
|
padding: var(--spacing-s);
|
|
79
68
|
border-radius: var(--border-radius-xlarge);
|
|
80
|
-
|
|
81
|
-
box-shadow: var(--box-shadow-base);
|
|
69
|
+
box-shadow: var(--box-shadow-base);
|
|
82
70
|
border: var(--border-base);
|
|
83
71
|
width: 100%;
|
|
84
72
|
color: var(--color-text-dark);
|
|
@@ -87,15 +75,9 @@
|
|
|
87
75
|
width: 80%;
|
|
88
76
|
}
|
|
89
77
|
._icon_efi3y_17 {
|
|
90
|
-
display: -webkit-box;
|
|
91
|
-
display: -ms-flexbox;
|
|
92
78
|
display: flex;
|
|
93
|
-
-
|
|
94
|
-
|
|
95
|
-
align-items: center;
|
|
96
|
-
-webkit-box-pack: center;
|
|
97
|
-
-ms-flex-pack: center;
|
|
98
|
-
justify-content: center;
|
|
79
|
+
align-items: center;
|
|
80
|
+
justify-content: center;
|
|
99
81
|
border-radius: var(--border-radius-base);
|
|
100
82
|
overflow: hidden;
|
|
101
83
|
width: 2rem;
|
|
@@ -109,13 +91,9 @@
|
|
|
109
91
|
gap: var(--spacing-2xs);
|
|
110
92
|
}
|
|
111
93
|
._header_efi3y_35 {
|
|
112
|
-
display: -webkit-box;
|
|
113
|
-
display: -ms-flexbox;
|
|
114
94
|
display: flex;
|
|
115
95
|
gap: var(--spacing-2xs);
|
|
116
|
-
-
|
|
117
|
-
-ms-flex-align: center;
|
|
118
|
-
align-items: center;
|
|
96
|
+
align-items: center;
|
|
119
97
|
}
|
|
120
98
|
._title_efi3y_41 {
|
|
121
99
|
font-weight: var(--font-weight-bold);
|
|
@@ -139,13 +117,10 @@
|
|
|
139
117
|
margin-left: auto;
|
|
140
118
|
text-wrap: none;
|
|
141
119
|
overflow: hidden;
|
|
142
|
-
min-width: -webkit-fit-content;
|
|
143
120
|
min-width: -moz-fit-content;
|
|
144
121
|
min-width: fit-content;
|
|
145
122
|
}
|
|
146
123
|
._cardContentWrapper_efi3y_69 {
|
|
147
|
-
height: -webkit-max-content;
|
|
148
|
-
height: -moz-max-content;
|
|
149
124
|
height: max-content;
|
|
150
125
|
}._tagsRead_ekbvu_1:hover ._editInputButton_ekbvu_1 {
|
|
151
126
|
opacity: 1;
|
|
@@ -155,13 +130,8 @@
|
|
|
155
130
|
border: none;
|
|
156
131
|
--button-font-color: var(--prim-gray-490);
|
|
157
132
|
}._metricsContainer_lwkya_1 {
|
|
158
|
-
display: -webkit-box;
|
|
159
|
-
display: -ms-flexbox;
|
|
160
133
|
display: flex;
|
|
161
|
-
-
|
|
162
|
-
-webkit-box-direction: normal;
|
|
163
|
-
-ms-flex-direction: column;
|
|
164
|
-
flex-direction: column;
|
|
134
|
+
flex-direction: column;
|
|
165
135
|
gap: var(--spacing-xs);
|
|
166
136
|
}
|
|
167
137
|
._metricField_lwkya_7 {
|
|
@@ -173,8 +143,7 @@
|
|
|
173
143
|
margin-bottom: var(--spacing-3xs);
|
|
174
144
|
}
|
|
175
145
|
._newMetricButton_lwkya_17 {
|
|
176
|
-
-
|
|
177
|
-
align-self: flex-start;
|
|
146
|
+
align-self: flex-start;
|
|
178
147
|
margin-top: var(--spacing-2xs);
|
|
179
148
|
width: 100%;
|
|
180
149
|
background-color: var(--color-sticky-code-background);
|
|
@@ -217,12 +186,8 @@
|
|
|
217
186
|
}
|
|
218
187
|
._evaluationArrows_1lz9n_42 {
|
|
219
188
|
--arrow-height: 11rem;
|
|
220
|
-
display: -webkit-box;
|
|
221
|
-
display: -ms-flexbox;
|
|
222
189
|
display: flex;
|
|
223
|
-
-
|
|
224
|
-
-ms-flex-pack: justify;
|
|
225
|
-
justify-content: space-between;
|
|
190
|
+
justify-content: space-between;
|
|
226
191
|
width: 100%;
|
|
227
192
|
max-width: 80%;
|
|
228
193
|
margin: 0 auto;
|
|
@@ -231,12 +196,8 @@
|
|
|
231
196
|
}
|
|
232
197
|
._footer_1lz9n_53 {
|
|
233
198
|
margin-top: var(--spacing-xl);
|
|
234
|
-
display: -webkit-box;
|
|
235
|
-
display: -ms-flexbox;
|
|
236
199
|
display: flex;
|
|
237
|
-
-
|
|
238
|
-
-ms-flex-pack: start;
|
|
239
|
-
justify-content: flex-start;
|
|
200
|
+
justify-content: flex-start;
|
|
240
201
|
}
|
|
241
202
|
._workflow_1lz9n_59 {
|
|
242
203
|
padding: var(--spacing-l);
|
|
@@ -255,7 +216,5 @@
|
|
|
255
216
|
grid-template-columns: 1fr auto 1fr;
|
|
256
217
|
gap: var(--spacing-2xs);
|
|
257
218
|
justify-items: end;
|
|
258
|
-
-
|
|
259
|
-
-ms-flex-align: start;
|
|
260
|
-
align-items: start;
|
|
219
|
+
align-items: start;
|
|
261
220
|
}
|
package/dist/assets/{TestDefinitionEditView-Dw2F_7Ku.js → TestDefinitionEditView-CgQpahO7.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _export_sfc, c as openBlock, h as createElementBlock, n as normalizeClass, r as ref, q as computed, d as defineComponent, i as createVNode, l as unref, j as createBaseVNode, F as Fragment, t as toDisplayString, e as createBlock, g as useI18n, m as resolveComponent, w as withCtx, s as renderSlot, f as createCommentVNode, k as createTextVNode, ay as withDirectives, az as vShow,
|
|
2
|
-
import { u as useTestDefinitionStore } from "./testDefinition.store.ee-
|
|
1
|
+
import { _ as _export_sfc, c as openBlock, h as createElementBlock, n as normalizeClass, r as ref, q as computed, d as defineComponent, i as createVNode, l as unref, j as createBaseVNode, F as Fragment, t as toDisplayString, e as createBlock, g as useI18n, m as resolveComponent, w as withCtx, s as renderSlot, f as createCommentVNode, k as createTextVNode, ay as withDirectives, az as vShow, h$ as ElCollapseTransition, y as nextTick, A as renderList, C as createEventBus, hS as _sfc_main$8, i0 as __unplugin_components_0$1, b as useRouter, U as useRoute, J as useDebounce, a as useToast, hQ as useAnnotationTagsStore, o as onMounted, V as VIEWS, H as watch } from "./index-fCEqBD8K.js";
|
|
2
|
+
import { u as useTestDefinitionStore } from "./testDefinition.store.ee-C9BPbACc.js";
|
|
3
3
|
const arrowConnector = "_arrowConnector_1ffe6_1";
|
|
4
4
|
const style0$6 = {
|
|
5
5
|
arrowConnector
|
|
@@ -402,8 +402,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
402
402
|
const locale = useI18n();
|
|
403
403
|
const tagsEventBus = createEventBus();
|
|
404
404
|
const getTagName = computed(() => (tagId) => {
|
|
405
|
-
|
|
406
|
-
return ((_a = props.tagsById[tagId]) == null ? void 0 : _a.name) ?? "";
|
|
405
|
+
return props.tagsById[tagId]?.name ?? "";
|
|
407
406
|
});
|
|
408
407
|
function updateTags(tags) {
|
|
409
408
|
const newTags = tags[0] ? [tags[0]] : [];
|
package/dist/assets/{TestDefinitionListView-Cv9ivpVk.js → TestDefinitionListView-BGJr2Okj.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent, m as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, t as toDisplayString, l as unref, n as normalizeClass, i as createVNode, g as useI18n, _ as _export_sfc, k as createTextVNode, e as createBlock, f as createCommentVNode, F as Fragment, A as renderList, w as withCtx, I as withModifiers, aY as resolveDynamicComponent,
|
|
2
|
-
import { u as useTestDefinitionStore } from "./testDefinition.store.ee-
|
|
1
|
+
import { d as defineComponent, m as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, t as toDisplayString, l as unref, n as normalizeClass, i as createVNode, g as useI18n, _ as _export_sfc, k as createTextVNode, e as createBlock, f as createCommentVNode, F as Fragment, A as renderList, w as withCtx, I as withModifiers, aY as resolveDynamicComponent, cO as _sfc_main$4, aX as mergeProps, b as useRouter, hQ as useAnnotationTagsStore, r as ref, a as useToast, q as computed, o as onMounted, V as VIEWS } from "./index-fCEqBD8K.js";
|
|
2
|
+
import { u as useTestDefinitionStore } from "./testDefinition.store.ee-C9BPbACc.js";
|
|
3
3
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "EmptyState",
|
|
5
5
|
emits: ["create-test"],
|
|
@@ -215,7 +215,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
215
215
|
const toast = useToast();
|
|
216
216
|
const locale = useI18n();
|
|
217
217
|
const tests = computed(() => {
|
|
218
|
-
return testDefinitionStore.allTestDefinitions.filter((test) => test.id !== void 0).sort((a, b) => new Date(
|
|
218
|
+
return testDefinitionStore.allTestDefinitions.filter((test) => test.id !== void 0).sort((a, b) => new Date(b?.updatedAt ?? "").getTime() - new Date(a?.updatedAt ?? "").getTime()).map((test) => ({
|
|
219
219
|
id: test.id,
|
|
220
220
|
name: test.name ?? "",
|
|
221
221
|
tagName: test.annotationTagId ? getTagName(test.annotationTagId) : "",
|
|
@@ -228,7 +228,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
228
228
|
const allTags = computed(() => tagsStore.allTags);
|
|
229
229
|
function getTagName(tagId) {
|
|
230
230
|
const matchingTag = allTags.value.find((t) => t.id === tagId);
|
|
231
|
-
return
|
|
231
|
+
return matchingTag?.name ?? "";
|
|
232
232
|
}
|
|
233
233
|
function getTestExecution(_testId) {
|
|
234
234
|
const mockExecutions = {
|
package/dist/assets/{TestDefinitionListView-BfUssieW.css → TestDefinitionListView-BJVxwUdb.css}
RENAMED
|
@@ -4,15 +4,9 @@
|
|
|
4
4
|
gap: var(--spacing-l);
|
|
5
5
|
}
|
|
6
6
|
._header_18phz_7 {
|
|
7
|
-
display: -webkit-box;
|
|
8
|
-
display: -ms-flexbox;
|
|
9
7
|
display: flex;
|
|
10
|
-
-
|
|
11
|
-
|
|
12
|
-
justify-content: space-between;
|
|
13
|
-
-webkit-box-align: center;
|
|
14
|
-
-ms-flex-align: center;
|
|
15
|
-
align-items: center;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
align-items: center;
|
|
16
10
|
color: var(--color-text-dark);
|
|
17
11
|
font-size: var(--font-size-l);
|
|
18
12
|
margin-bottom: var(--spacing-xl);
|
|
@@ -20,12 +14,8 @@
|
|
|
20
14
|
._header_18phz_7 h1 {
|
|
21
15
|
margin: 0;
|
|
22
16
|
}._testItem_1lysx_1 {
|
|
23
|
-
display: -webkit-box;
|
|
24
|
-
display: -ms-flexbox;
|
|
25
17
|
display: flex;
|
|
26
|
-
-
|
|
27
|
-
-ms-flex-align: center;
|
|
28
|
-
align-items: center;
|
|
18
|
+
align-items: center;
|
|
29
19
|
padding: var(--spacing-s) var(--spacing-s) var(--spacing-s) var(--spacing-xl);
|
|
30
20
|
border: 1px solid var(--color-foreground-base);
|
|
31
21
|
border-radius: var(--border-radius-base);
|
|
@@ -36,21 +26,13 @@
|
|
|
36
26
|
background-color: var(--color-background-base);
|
|
37
27
|
}
|
|
38
28
|
._testInfo_1lysx_14 {
|
|
39
|
-
display: -webkit-box;
|
|
40
|
-
display: -ms-flexbox;
|
|
41
29
|
display: flex;
|
|
42
|
-
|
|
43
|
-
-ms-flex: 1;
|
|
44
|
-
flex: 1;
|
|
30
|
+
flex: 1;
|
|
45
31
|
gap: var(--spacing-2xs);
|
|
46
32
|
}
|
|
47
33
|
._testName_1lysx_20 {
|
|
48
|
-
display: -webkit-box;
|
|
49
|
-
display: -ms-flexbox;
|
|
50
34
|
display: flex;
|
|
51
|
-
-
|
|
52
|
-
-ms-flex-align: center;
|
|
53
|
-
align-items: center;
|
|
35
|
+
align-items: center;
|
|
54
36
|
gap: var(--spacing-2xs);
|
|
55
37
|
font-weight: var(--font-weight-bold);
|
|
56
38
|
margin-bottom: var(--spacing-4xs);
|
|
@@ -59,17 +41,11 @@
|
|
|
59
41
|
._testCases_1lysx_29 {
|
|
60
42
|
color: var(--color-text-base);
|
|
61
43
|
font-size: var(--font-size-2xs);
|
|
62
|
-
display: -webkit-box;
|
|
63
|
-
display: -ms-flexbox;
|
|
64
44
|
display: flex;
|
|
65
|
-
-
|
|
66
|
-
-ms-flex-align: center;
|
|
67
|
-
align-items: center;
|
|
45
|
+
align-items: center;
|
|
68
46
|
gap: var(--spacing-2xs);
|
|
69
47
|
}
|
|
70
48
|
._metrics_1lysx_37 {
|
|
71
|
-
display: -webkit-box;
|
|
72
|
-
display: -ms-flexbox;
|
|
73
49
|
display: flex;
|
|
74
50
|
gap: var(--spacing-l);
|
|
75
51
|
margin: 0 var(--spacing-l);
|
|
@@ -80,19 +56,12 @@
|
|
|
80
56
|
white-space: nowrap;
|
|
81
57
|
}
|
|
82
58
|
._actions_1lysx_49 {
|
|
83
|
-
display: -webkit-box;
|
|
84
|
-
display: -ms-flexbox;
|
|
85
59
|
display: flex;
|
|
86
60
|
gap: var(--spacing-xs);
|
|
87
61
|
--color-button-secondary-font: var(--color-callout-info-icon);
|
|
88
62
|
}._testsList_1aleg_1 {
|
|
89
|
-
display: -webkit-box;
|
|
90
|
-
display: -ms-flexbox;
|
|
91
63
|
display: flex;
|
|
92
|
-
-
|
|
93
|
-
-webkit-box-direction: normal;
|
|
94
|
-
-ms-flex-direction: column;
|
|
95
|
-
flex-direction: column;
|
|
64
|
+
flex-direction: column;
|
|
96
65
|
gap: var(--spacing-s);
|
|
97
66
|
}
|
|
98
67
|
._testsHeader_1aleg_7 {
|
|
@@ -104,14 +73,8 @@
|
|
|
104
73
|
max-width: var(--content-container-width);
|
|
105
74
|
}
|
|
106
75
|
._loading_an92i_8 {
|
|
107
|
-
display: -webkit-box;
|
|
108
|
-
display: -ms-flexbox;
|
|
109
76
|
display: flex;
|
|
110
|
-
-
|
|
111
|
-
|
|
112
|
-
justify-content: center;
|
|
113
|
-
-webkit-box-align: center;
|
|
114
|
-
-ms-flex-align: center;
|
|
115
|
-
align-items: center;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
align-items: center;
|
|
116
79
|
height: 200px;
|
|
117
80
|
}
|
|
@@ -2,27 +2,17 @@
|
|
|
2
2
|
opacity: 1;
|
|
3
3
|
}
|
|
4
4
|
._variablesRow_14ir1_1 td > div {
|
|
5
|
-
display: -webkit-box;
|
|
6
|
-
display: -ms-flexbox;
|
|
7
5
|
display: flex;
|
|
8
|
-
-
|
|
9
|
-
-ms-flex-align: center;
|
|
10
|
-
align-items: center;
|
|
6
|
+
align-items: center;
|
|
11
7
|
min-height: 40px;
|
|
12
8
|
}
|
|
13
9
|
._buttons_14ir1_10 {
|
|
14
|
-
display: -webkit-box;
|
|
15
|
-
display: -ms-flexbox;
|
|
16
10
|
display: flex;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
-webkit-box-pack: end;
|
|
20
|
-
-ms-flex-pack: end;
|
|
21
|
-
justify-content: flex-end;
|
|
11
|
+
flex-wrap: nowrap;
|
|
12
|
+
justify-content: flex-end;
|
|
22
13
|
}
|
|
23
14
|
._hoverButtons_14ir1_1 {
|
|
24
15
|
opacity: 0;
|
|
25
|
-
-webkit-transition: opacity 0.2s ease;
|
|
26
16
|
transition: opacity 0.2s ease;
|
|
27
17
|
}
|
|
28
18
|
._usageSyntax_14ir1_21 {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent, b2 as useClipboard, a as useToast, p as useSettingsStore, u as useUsersStore, q as computed, r as ref, o as onMounted, H as watch, c as openBlock, h as createElementBlock, j as createBaseVNode, t as toDisplayString, e as createBlock, l as unref, i as createVNode, w as withCtx, k as createTextVNode, n as normalizeClass, f as createCommentVNode, g as useI18n, y as nextTick, m as resolveComponent, am as getResourcePermissions, a8 as EnterpriseEditionFeature, _ as _export_sfc,
|
|
2
|
-
import { R as ResourcesListLayout } from "./ResourcesListLayout-
|
|
1
|
+
import { d as defineComponent, b2 as useClipboard, a as useToast, p as useSettingsStore, u as useUsersStore, q as computed, r as ref, o as onMounted, H as watch, c as openBlock, h as createElementBlock, j as createBaseVNode, t as toDisplayString, e as createBlock, l as unref, i as createVNode, w as withCtx, k as createTextVNode, n as normalizeClass, f as createCommentVNode, g as useI18n, y as nextTick, m as resolveComponent, am as getResourcePermissions, a8 as EnterpriseEditionFeature, _ as _export_sfc, f2 as useEnvironmentsStore, K as useUIStore, a0 as useSourceControlStore, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, ax as onBeforeMount, x as onBeforeUnmount, aO as createSlots, hw as uid, ae as MODAL_CONFIRM, ak as useTelemetry, al as useMessage } from "./index-fCEqBD8K.js";
|
|
2
|
+
import { R as ResourcesListLayout } from "./ResourcesListLayout-BKk7DIWo.js";
|
|
3
3
|
const _hoisted_1$1 = { class: "variables-key-column" };
|
|
4
4
|
const _hoisted_2$1 = { key: 0 };
|
|
5
5
|
const _hoisted_3 = { class: "variables-value-column" };
|
|
@@ -22,10 +22,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
22
22
|
const emit = __emit;
|
|
23
23
|
const props = __props;
|
|
24
24
|
const permissions = computed(
|
|
25
|
-
() =>
|
|
26
|
-
var _a;
|
|
27
|
-
return getResourcePermissions((_a = usersStore.currentUser) == null ? void 0 : _a.globalScopes).variable;
|
|
28
|
-
}
|
|
25
|
+
() => getResourcePermissions(usersStore.currentUser?.globalScopes).variable
|
|
29
26
|
);
|
|
30
27
|
const modelValue = ref({ ...props.data });
|
|
31
28
|
const formValidationStatus = ref({
|
|
@@ -103,8 +100,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
103
100
|
});
|
|
104
101
|
}
|
|
105
102
|
function focusFirstInput() {
|
|
106
|
-
|
|
107
|
-
(_c = (_b = (_a = keyInputRef.value) == null ? void 0 : _a.inputRef) == null ? void 0 : _b.focus) == null ? void 0 : _c.call(_b);
|
|
103
|
+
keyInputRef.value?.inputRef?.focus?.();
|
|
108
104
|
}
|
|
109
105
|
return (_ctx, _cache) => {
|
|
110
106
|
const _component_n8n_form_input = resolveComponent("n8n-form-input");
|
|
@@ -292,10 +288,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
292
288
|
const editMode = ref({});
|
|
293
289
|
const loading = ref(false);
|
|
294
290
|
const permissions = computed(
|
|
295
|
-
() =>
|
|
296
|
-
var _a;
|
|
297
|
-
return getResourcePermissions((_a = usersStore.currentUser) == null ? void 0 : _a.globalScopes).variable;
|
|
298
|
-
}
|
|
291
|
+
() => getResourcePermissions(usersStore.currentUser?.globalScopes).variable
|
|
299
292
|
);
|
|
300
293
|
const isFeatureEnabled = computed(
|
|
301
294
|
() => settingsStore.isEnterpriseFeatureEnabled[EnterpriseEditionFeature.Variables]
|
|
@@ -563,32 +556,29 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
563
556
|
} : void 0,
|
|
564
557
|
!isFeatureEnabled.value || isFeatureEnabled.value && !canCreateVariables.value ? {
|
|
565
558
|
name: "empty",
|
|
566
|
-
fn: withCtx(() =>
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
}, null, 8, ["heading", "description"])) : createCommentVNode("", true)
|
|
590
|
-
];
|
|
591
|
-
}),
|
|
559
|
+
fn: withCtx(() => [
|
|
560
|
+
!isFeatureEnabled.value ? (openBlock(), createBlock(_component_n8n_action_box, {
|
|
561
|
+
key: 0,
|
|
562
|
+
"data-test-id": "unavailable-resources-list",
|
|
563
|
+
emoji: "👋",
|
|
564
|
+
heading: unref(i18n).baseText(contextBasedTranslationKeys.value.variables.unavailable.title),
|
|
565
|
+
description: unref(i18n).baseText(
|
|
566
|
+
contextBasedTranslationKeys.value.variables.unavailable.description
|
|
567
|
+
),
|
|
568
|
+
"button-text": unref(i18n).baseText(contextBasedTranslationKeys.value.variables.unavailable.button),
|
|
569
|
+
"button-type": "secondary",
|
|
570
|
+
"onClick:button": goToUpgrade
|
|
571
|
+
}, null, 8, ["heading", "description", "button-text"])) : !canCreateVariables.value ? (openBlock(), createBlock(_component_n8n_action_box, {
|
|
572
|
+
key: 1,
|
|
573
|
+
"data-test-id": "cannot-create-variables",
|
|
574
|
+
emoji: "👋",
|
|
575
|
+
heading: unref(i18n).baseText("variables.empty.notAllowedToCreate.heading", {
|
|
576
|
+
interpolate: { name: unref(usersStore).currentUser?.firstName ?? "" }
|
|
577
|
+
}),
|
|
578
|
+
description: unref(i18n).baseText("variables.empty.notAllowedToCreate.description"),
|
|
579
|
+
onClick: goToUpgrade
|
|
580
|
+
}, null, 8, ["heading", "description"])) : createCommentVNode("", true)
|
|
581
|
+
]),
|
|
592
582
|
key: "1"
|
|
593
583
|
} : void 0
|
|
594
584
|
]), 1032, ["disabled", "resources", "type-props", "loading"]);
|