mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-16 01:24:05 -08:00
f37d6ba03b
* ⚡ Initial commit * 👕 Fix linting issue * ⚡ Add import button * ⚡ Remove ligh versioning * ⚡ Improvements * ⚡ Improvements * 🔥 Remove HttpRequest2 file used for testing * 🐛 Fix building issue * ⚡ Small improvement * 👕 Fix linting issue * 🔥 Remove HttpRequest2 from loader * ⚡ Update package-lock.json * ⚡ Improvements * ⚡ Small change * 🐛 Fix issue retrieving splitIntoItems * 🐛 Fix issue retrieving neverError parameter * 🐛 Fix issue with displayOptions * ⚡ Improvements * ⚡ Improvements * ⚡ Improvements * ⚡ Improvements * ⚡ Move cURL section to its own component * ⚡ Improvements * ⚡ Improvements * ⚡ Add fix for batching in all versions * ⚡ Add notice to cURL modal * 🔥 Remove comments * ⚡ Improvements * ⚡ Type curl-to-json endpoint * ⚡ Fix typo * 🔥 Remove console.logs * ⚡ Fix typo in curl-to-json endpoint * ⚡ Improvements * ⚡ Improvements * ⚡ Update package-lock.json * ⚡ Rename import modal constant * ⚡ Add return types to methods * ⚡ Add CSS modules to ImportParameter component * ⚡ Rename ImportParameter component to use kebab-case * ⚡ Improvements * ⚡ update package-lock.json * ⚡ Fix linting issues * Fix issue with css reference in ImportParameter component * ⚡ Small improvements * ⚡ Rename redirects to redirect * ⚡ Allow to set multiple parameters on valueChanged * 👕 Fix linting issue * 🐛 Add mistakenly removed openExistingCredentials * ⚡ Improve curl regex * ⚡ Keep headers as defined in the cURL command * ⚡ Account for all protocols supported by cURL * ⚡ Add tests * 🔥 Remove unnecessary lines * ⚡ Add more testing * ⚡ Add noDataExpression to dependent fields * 🐛 Fix bug not handling multipart-form data correctly * ⚡ Change error messages * 🐛 Fix response format string for empty values * Fix typo
209 lines
5.4 KiB
Vue
209 lines
5.4 KiB
Vue
<template>
|
|
<div>
|
|
<ModalRoot :name="CONTACT_PROMPT_MODAL_KEY">
|
|
<template v-slot:default="{ modalName }">
|
|
<ContactPromptModal
|
|
:modalName="modalName"
|
|
/>
|
|
</template>
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="CREDENTIAL_EDIT_MODAL_KEY">
|
|
<template v-slot="{ modalName, activeId, mode }">
|
|
<CredentialEdit
|
|
:modalName="modalName"
|
|
:mode="mode"
|
|
:activeId="activeId"
|
|
/>
|
|
</template>
|
|
</ModalRoot>
|
|
<ModalRoot :name="ABOUT_MODAL_KEY">
|
|
<AboutModal />
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="CREDENTIAL_SELECT_MODAL_KEY">
|
|
<CredentialsSelectModal />
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="DUPLICATE_MODAL_KEY">
|
|
<template v-slot:default="{ modalName, active }">
|
|
<DuplicateWorkflowDialog
|
|
:isActive="active"
|
|
:modalName="modalName"
|
|
/>
|
|
</template>
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="PERSONALIZATION_MODAL_KEY">
|
|
<PersonalizationModal />
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="TAGS_MANAGER_MODAL_KEY">
|
|
<TagsManager />
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="VERSIONS_MODAL_KEY" :keepAlive="true">
|
|
<UpdatesPanel />
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="VALUE_SURVEY_MODAL_KEY" :keepAlive="true">
|
|
<template v-slot:default="{ active }">
|
|
<ValueSurvey :isActive="active"/>
|
|
</template>
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="WORKFLOW_OPEN_MODAL_KEY">
|
|
<WorkflowOpen />
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="WORKFLOW_SETTINGS_MODAL_KEY">
|
|
<WorkflowSettings />
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="CHANGE_PASSWORD_MODAL_KEY">
|
|
<ChangePasswordModal />
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="INVITE_USER_MODAL_KEY">
|
|
<InviteUsersModal />
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="DELETE_USER_MODAL_KEY">
|
|
<template v-slot="{ modalName, activeId }">
|
|
<DeleteUserModal
|
|
:modalName="modalName"
|
|
:activeId="activeId"
|
|
/>
|
|
</template>
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="EXECUTIONS_MODAL_KEY">
|
|
<ExecutionsList />
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="WORKFLOW_ACTIVE_MODAL_KEY">
|
|
<ActivationModal />
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="ONBOARDING_CALL_SIGNUP_MODAL_KEY">
|
|
<OnboardingCallSignupModal />
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="COMMUNITY_PACKAGE_INSTALL_MODAL_KEY">
|
|
<CommunityPackageInstallModal />
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="IMPORT_CURL_MODAL_KEY">
|
|
<ImportCurlModal />
|
|
</ModalRoot>
|
|
|
|
<ModalRoot :name="COMMUNITY_PACKAGE_CONFIRM_MODAL_KEY">
|
|
<template v-slot="{ modalName, activeId, mode }">
|
|
<CommunityPackageManageConfirmModal
|
|
:modalName="modalName"
|
|
:activePackageName="activeId"
|
|
:mode="mode"
|
|
/>
|
|
</template>
|
|
</ModalRoot>
|
|
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import Vue from "vue";
|
|
import {
|
|
ABOUT_MODAL_KEY,
|
|
CHANGE_PASSWORD_MODAL_KEY,
|
|
COMMUNITY_PACKAGE_CONFIRM_MODAL_KEY,
|
|
COMMUNITY_PACKAGE_INSTALL_MODAL_KEY,
|
|
CONTACT_PROMPT_MODAL_KEY,
|
|
CREDENTIAL_EDIT_MODAL_KEY,
|
|
CREDENTIAL_SELECT_MODAL_KEY,
|
|
DELETE_USER_MODAL_KEY,
|
|
DUPLICATE_MODAL_KEY,
|
|
EXECUTIONS_MODAL_KEY,
|
|
INVITE_USER_MODAL_KEY,
|
|
ONBOARDING_CALL_SIGNUP_MODAL_KEY,
|
|
PERSONALIZATION_MODAL_KEY,
|
|
TAGS_MANAGER_MODAL_KEY,
|
|
VALUE_SURVEY_MODAL_KEY,
|
|
VERSIONS_MODAL_KEY,
|
|
WORKFLOW_ACTIVE_MODAL_KEY,
|
|
WORKFLOW_OPEN_MODAL_KEY,
|
|
WORKFLOW_SETTINGS_MODAL_KEY,
|
|
IMPORT_CURL_MODAL_KEY,
|
|
} from '@/constants';
|
|
|
|
import AboutModal from './AboutModal.vue';
|
|
import CommunityPackageManageConfirmModal from './CommunityPackageManageConfirmModal.vue';
|
|
import CommunityPackageInstallModal from './CommunityPackageInstallModal.vue';
|
|
import ChangePasswordModal from "./ChangePasswordModal.vue";
|
|
import ContactPromptModal from './ContactPromptModal.vue';
|
|
import CredentialEdit from "./CredentialEdit/CredentialEdit.vue";
|
|
import InviteUsersModal from "./InviteUsersModal.vue";
|
|
import CredentialsSelectModal from "./CredentialsSelectModal.vue";
|
|
import DuplicateWorkflowDialog from "./DuplicateWorkflowDialog.vue";
|
|
import ModalRoot from "./ModalRoot.vue";
|
|
import OnboardingCallSignupModal from './OnboardingCallSignupModal.vue';
|
|
import PersonalizationModal from "./PersonalizationModal.vue";
|
|
import TagsManager from "./TagsManager/TagsManager.vue";
|
|
import UpdatesPanel from "./UpdatesPanel.vue";
|
|
import ValueSurvey from "./ValueSurvey.vue";
|
|
import WorkflowSettings from "./WorkflowSettings.vue";
|
|
import WorkflowOpen from "./WorkflowOpen.vue";
|
|
import DeleteUserModal from "./DeleteUserModal.vue";
|
|
import ExecutionsList from "./ExecutionsList.vue";
|
|
import ActivationModal from "./ActivationModal.vue";
|
|
import ImportCurlModal from './ImportCurlModal.vue';
|
|
|
|
export default Vue.extend({
|
|
name: "Modals",
|
|
components: {
|
|
AboutModal,
|
|
ActivationModal,
|
|
CommunityPackageInstallModal,
|
|
CommunityPackageManageConfirmModal,
|
|
ContactPromptModal,
|
|
ChangePasswordModal,
|
|
CredentialEdit,
|
|
CredentialsSelectModal,
|
|
DeleteUserModal,
|
|
DuplicateWorkflowDialog,
|
|
InviteUsersModal,
|
|
ExecutionsList,
|
|
ModalRoot,
|
|
OnboardingCallSignupModal,
|
|
PersonalizationModal,
|
|
TagsManager,
|
|
UpdatesPanel,
|
|
ValueSurvey,
|
|
WorkflowSettings,
|
|
WorkflowOpen,
|
|
ImportCurlModal,
|
|
},
|
|
data: () => ({
|
|
COMMUNITY_PACKAGE_CONFIRM_MODAL_KEY,
|
|
COMMUNITY_PACKAGE_INSTALL_MODAL_KEY,
|
|
CONTACT_PROMPT_MODAL_KEY,
|
|
CREDENTIAL_EDIT_MODAL_KEY,
|
|
CREDENTIAL_SELECT_MODAL_KEY,
|
|
ABOUT_MODAL_KEY,
|
|
CHANGE_PASSWORD_MODAL_KEY,
|
|
DELETE_USER_MODAL_KEY,
|
|
DUPLICATE_MODAL_KEY,
|
|
ONBOARDING_CALL_SIGNUP_MODAL_KEY,
|
|
PERSONALIZATION_MODAL_KEY,
|
|
INVITE_USER_MODAL_KEY,
|
|
TAGS_MANAGER_MODAL_KEY,
|
|
VERSIONS_MODAL_KEY,
|
|
WORKFLOW_OPEN_MODAL_KEY,
|
|
WORKFLOW_SETTINGS_MODAL_KEY,
|
|
VALUE_SURVEY_MODAL_KEY,
|
|
EXECUTIONS_MODAL_KEY,
|
|
WORKFLOW_ACTIVE_MODAL_KEY,
|
|
IMPORT_CURL_MODAL_KEY,
|
|
}),
|
|
});
|
|
</script>
|