mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +00:00
refactor(editor): Standardize components sections order (no-changelog) (#10540)
This commit is contained in:
@@ -1,44 +1,3 @@
|
||||
<template>
|
||||
<Modal
|
||||
width="700px"
|
||||
:title="i18n.baseText('importCurlModal.title')"
|
||||
:event-bus="modalBus"
|
||||
:name="IMPORT_CURL_MODAL_KEY"
|
||||
:center="true"
|
||||
>
|
||||
<template #content>
|
||||
<div :class="$style.container">
|
||||
<N8nInputLabel :label="i18n.baseText('importCurlModal.input.label')" color="text-dark">
|
||||
<N8nInput
|
||||
ref="inputRef"
|
||||
:model-value="curlCommand"
|
||||
type="textarea"
|
||||
:rows="5"
|
||||
:placeholder="i18n.baseText('importCurlModal.input.placeholder')"
|
||||
@update:model-value="onInput"
|
||||
@focus="$event.target.select()"
|
||||
/>
|
||||
</N8nInputLabel>
|
||||
</div>
|
||||
</template>
|
||||
<template #footer>
|
||||
<div :class="$style.modalFooter">
|
||||
<N8nNotice
|
||||
:class="$style.notice"
|
||||
:content="i18n.baseText('ImportCurlModal.notice.content')"
|
||||
/>
|
||||
<div>
|
||||
<N8nButton
|
||||
float="right"
|
||||
:label="i18n.baseText('importCurlModal.button.label')"
|
||||
@click="onImport"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</Modal>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import Modal from '@/components/Modal.vue';
|
||||
import { IMPORT_CURL_MODAL_KEY } from '@/constants';
|
||||
@@ -116,6 +75,47 @@ async function onImport() {
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Modal
|
||||
width="700px"
|
||||
:title="i18n.baseText('importCurlModal.title')"
|
||||
:event-bus="modalBus"
|
||||
:name="IMPORT_CURL_MODAL_KEY"
|
||||
:center="true"
|
||||
>
|
||||
<template #content>
|
||||
<div :class="$style.container">
|
||||
<N8nInputLabel :label="i18n.baseText('importCurlModal.input.label')" color="text-dark">
|
||||
<N8nInput
|
||||
ref="inputRef"
|
||||
:model-value="curlCommand"
|
||||
type="textarea"
|
||||
:rows="5"
|
||||
:placeholder="i18n.baseText('importCurlModal.input.placeholder')"
|
||||
@update:model-value="onInput"
|
||||
@focus="$event.target.select()"
|
||||
/>
|
||||
</N8nInputLabel>
|
||||
</div>
|
||||
</template>
|
||||
<template #footer>
|
||||
<div :class="$style.modalFooter">
|
||||
<N8nNotice
|
||||
:class="$style.notice"
|
||||
:content="i18n.baseText('ImportCurlModal.notice.content')"
|
||||
/>
|
||||
<div>
|
||||
<N8nButton
|
||||
float="right"
|
||||
:label="i18n.baseText('importCurlModal.button.label')"
|
||||
@click="onImport"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</Modal>
|
||||
</template>
|
||||
|
||||
<style module lang="scss">
|
||||
.modalFooter {
|
||||
justify-content: space-between;
|
||||
|
||||
Reference in New Issue
Block a user