mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(editor): Add infix to Pinia stores (no-changelog) (#6149)
* ⚡ Add infix to Pinia stores * ⚡ Fix paths in mocks * 🐛 Fix import
This commit is contained in:
@@ -38,16 +38,16 @@ import { userHelpers } from '@/mixins/userHelpers';
|
|||||||
import { loadLanguage } from './plugins/i18n';
|
import { loadLanguage } from './plugins/i18n';
|
||||||
import useGlobalLinkActions from '@/composables/useGlobalLinkActions';
|
import useGlobalLinkActions from '@/composables/useGlobalLinkActions';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from './stores/ui';
|
import { useUIStore } from './stores/ui.store';
|
||||||
import { useSettingsStore } from './stores/settings';
|
import { useSettingsStore } from './stores/settings.store';
|
||||||
import { useUsersStore } from './stores/users';
|
import { useUsersStore } from './stores/users.store';
|
||||||
import { useRootStore } from './stores/n8nRootStore';
|
import { useRootStore } from './stores/n8nRoot.store';
|
||||||
import { useTemplatesStore } from './stores/templates';
|
import { useTemplatesStore } from './stores/templates.store';
|
||||||
import { useNodeTypesStore } from './stores/nodeTypes';
|
import { useNodeTypesStore } from './stores/nodeTypes.store';
|
||||||
import { useHistoryHelper } from '@/composables/useHistoryHelper';
|
import { useHistoryHelper } from '@/composables/useHistoryHelper';
|
||||||
import { newVersions } from '@/mixins/newVersions';
|
import { newVersions } from '@/mixins/newVersions';
|
||||||
import { useRoute } from 'vue-router/composables';
|
import { useRoute } from 'vue-router/composables';
|
||||||
import { useVersionControlStore } from '@/stores/versionControl';
|
import { useVersionControlStore } from '@/stores/versionControl.store';
|
||||||
|
|
||||||
export default mixins(newVersions, showMessage, userHelpers).extend({
|
export default mixins(newVersions, showMessage, userHelpers).extend({
|
||||||
name: 'App',
|
name: 'App',
|
||||||
|
|||||||
@@ -58,8 +58,8 @@ import { defineComponent } from 'vue';
|
|||||||
import Modal from './Modal.vue';
|
import Modal from './Modal.vue';
|
||||||
import { ABOUT_MODAL_KEY } from '../constants';
|
import { ABOUT_MODAL_KEY } from '../constants';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import { createEventBus } from '@/event-bus';
|
import { createEventBus } from '@/event-bus';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
|||||||
@@ -46,9 +46,9 @@ import {
|
|||||||
} from '../constants';
|
} from '../constants';
|
||||||
import { getActivatableTriggerNodes, getTriggerNodeServiceName } from '@/utils';
|
import { getActivatableTriggerNodes, getTriggerNodeServiceName } from '@/utils';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
import { createEventBus } from '@/event-bus';
|
import { createEventBus } from '@/event-bus';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ import { nodeHelpers } from '@/mixins/nodeHelpers';
|
|||||||
|
|
||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
|
|
||||||
export default mixins(nodeHelpers).extend({
|
export default mixins(nodeHelpers).extend({
|
||||||
name: 'BinaryDataDisplay',
|
name: 'BinaryDataDisplay',
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { onBeforeMount, onBeforeUnmount } from 'vue';
|
import { onBeforeMount, onBeforeUnmount } from 'vue';
|
||||||
import { storeToRefs } from 'pinia';
|
import { storeToRefs } from 'pinia';
|
||||||
import { useCanvasStore } from '@/stores/canvas';
|
import { useCanvasStore } from '@/stores/canvas.store';
|
||||||
|
|
||||||
const canvasStore = useCanvasStore();
|
const canvasStore = useCanvasStore();
|
||||||
const { zoomToFit, zoomIn, zoomOut, resetZoom } = canvasStore;
|
const { zoomToFit, zoomIn, zoomOut, resetZoom } = canvasStore;
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ import Modal from './Modal.vue';
|
|||||||
import type { IFormInputs } from '@/Interface';
|
import type { IFormInputs } from '@/Interface';
|
||||||
import { CHANGE_PASSWORD_MODAL_KEY } from '../constants';
|
import { CHANGE_PASSWORD_MODAL_KEY } from '../constants';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUsersStore } from '@/stores/users';
|
import { useUsersStore } from '@/stores/users.store';
|
||||||
import { createEventBus } from '@/event-bus';
|
import { createEventBus } from '@/event-bus';
|
||||||
|
|
||||||
export default mixins(showMessage).extend({
|
export default mixins(showMessage).extend({
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ import { CODE_EXECUTION_MODES, CODE_LANGUAGES } from 'n8n-workflow';
|
|||||||
import { workflowHelpers } from '@/mixins/workflowHelpers'; // for json field completions
|
import { workflowHelpers } from '@/mixins/workflowHelpers'; // for json field completions
|
||||||
import { ASK_AI_MODAL_KEY, CODE_NODE_TYPE } from '@/constants';
|
import { ASK_AI_MODAL_KEY, CODE_NODE_TYPE } from '@/constants';
|
||||||
import { codeNodeEditorEventBus } from '@/event-bus';
|
import { codeNodeEditorEventBus } from '@/event-bus';
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import Modal from '@/components/Modal.vue';
|
import Modal from '@/components/Modal.vue';
|
||||||
|
|
||||||
import { readOnlyEditorExtensions, writableEditorExtensions } from './baseExtensions';
|
import { readOnlyEditorExtensions, writableEditorExtensions } from './baseExtensions';
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import type { Completion, CompletionContext, CompletionResult } from '@codemirro
|
|||||||
import type { INodeUi } from '@/Interface';
|
import type { INodeUi } from '@/Interface';
|
||||||
import type { CodeNodeEditorMixin } from '../types';
|
import type { CodeNodeEditorMixin } from '../types';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
|
|
||||||
function getAutoCompletableNodeNames(nodes: INodeUi[]) {
|
function getAutoCompletableNodeNames(nodes: INodeUi[]) {
|
||||||
return nodes
|
return nodes
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import type { Completion, CompletionContext, CompletionResult } from '@codemirro
|
|||||||
import type { IDataObject, IPinData, IRunData } from 'n8n-workflow';
|
import type { IDataObject, IPinData, IRunData } from 'n8n-workflow';
|
||||||
import type { CodeNodeEditorMixin } from '../types';
|
import type { CodeNodeEditorMixin } from '../types';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { isAllowedInDotNotation } from '@/plugins/codemirror/completions/utils';
|
import { isAllowedInDotNotation } from '@/plugins/codemirror/completions/utils';
|
||||||
|
|
||||||
export const jsonFieldCompletions = (Vue as CodeNodeEditorMixin).extend({
|
export const jsonFieldCompletions = (Vue as CodeNodeEditorMixin).extend({
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import Vue from 'vue';
|
|||||||
import { AUTOCOMPLETABLE_BUILT_IN_MODULES_JS } from '../constants';
|
import { AUTOCOMPLETABLE_BUILT_IN_MODULES_JS } from '../constants';
|
||||||
import type { Completion, CompletionContext, CompletionResult } from '@codemirror/autocomplete';
|
import type { Completion, CompletionContext, CompletionResult } from '@codemirror/autocomplete';
|
||||||
import type { CodeNodeEditorMixin } from '../types';
|
import type { CodeNodeEditorMixin } from '../types';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
|
|
||||||
export const requireCompletions = (Vue as CodeNodeEditorMixin).extend({
|
export const requireCompletions = (Vue as CodeNodeEditorMixin).extend({
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ import { get } from 'lodash-es';
|
|||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
import type { Component } from 'vue';
|
import type { Component } from 'vue';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
|
|
||||||
export default mixins(nodeHelpers).extend({
|
export default mixins(nodeHelpers).extend({
|
||||||
name: 'CollectionParameter',
|
name: 'CollectionParameter',
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import type { PublicInstalledPackage } from 'n8n-workflow';
|
import type { PublicInstalledPackage } from 'n8n-workflow';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ import {
|
|||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
import { showMessage } from '@/mixins/showMessage';
|
import { showMessage } from '@/mixins/showMessage';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useCommunityNodesStore } from '@/stores/communityNodes';
|
import { useCommunityNodesStore } from '@/stores/communityNodes.store';
|
||||||
import { createEventBus } from '@/event-bus';
|
import { createEventBus } from '@/event-bus';
|
||||||
|
|
||||||
export default mixins(showMessage).extend({
|
export default mixins(showMessage).extend({
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ import {
|
|||||||
} from '../constants';
|
} from '../constants';
|
||||||
import { showMessage } from '@/mixins/showMessage';
|
import { showMessage } from '@/mixins/showMessage';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useCommunityNodesStore } from '@/stores/communityNodes';
|
import { useCommunityNodesStore } from '@/stores/communityNodes.store';
|
||||||
import { createEventBus } from '@/event-bus';
|
import { createEventBus } from '@/event-bus';
|
||||||
|
|
||||||
export default mixins(showMessage).extend({
|
export default mixins(showMessage).extend({
|
||||||
|
|||||||
@@ -40,8 +40,8 @@ import { VALID_EMAIL_REGEX } from '@/constants';
|
|||||||
import { workflowHelpers } from '@/mixins/workflowHelpers';
|
import { workflowHelpers } from '@/mixins/workflowHelpers';
|
||||||
import Modal from './Modal.vue';
|
import Modal from './Modal.vue';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import { createEventBus } from '@/event-bus';
|
import { createEventBus } from '@/event-bus';
|
||||||
|
|
||||||
export default mixins(workflowHelpers).extend({
|
export default mixins(workflowHelpers).extend({
|
||||||
|
|||||||
@@ -41,9 +41,9 @@ import type { IPermissions } from '@/permissions';
|
|||||||
import { getCredentialPermissions } from '@/permissions';
|
import { getCredentialPermissions } from '@/permissions';
|
||||||
import dateformat from 'dateformat';
|
import dateformat from 'dateformat';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useUsersStore } from '@/stores/users';
|
import { useUsersStore } from '@/stores/users.store';
|
||||||
import { useCredentialsStore } from '@/stores/credentials';
|
import { useCredentialsStore } from '@/stores/credentials.store';
|
||||||
|
|
||||||
export const CREDENTIAL_LIST_ITEM_ACTIONS = {
|
export const CREDENTIAL_LIST_ITEM_ACTIONS = {
|
||||||
OPEN: 'open',
|
OPEN: 'open',
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import ParameterInputFull from '@/components/ParameterInputFull.vue';
|
import ParameterInputFull from '@/components/ParameterInputFull.vue';
|
||||||
import type { IUpdateInformation, NodeAuthenticationOption } from '@/Interface';
|
import type { IUpdateInformation, NodeAuthenticationOption } from '@/Interface';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
import {
|
import {
|
||||||
getAuthTypeForNodeCredential,
|
getAuthTypeForNodeCredential,
|
||||||
getNodeAuthFields,
|
getNodeAuthFields,
|
||||||
|
|||||||
@@ -140,12 +140,12 @@ import { addCredentialTranslation } from '@/plugins/i18n';
|
|||||||
import { BUILTIN_CREDENTIALS_DOCS_URL, DOCS_DOMAIN, EnterpriseEditionFeature } from '@/constants';
|
import { BUILTIN_CREDENTIALS_DOCS_URL, DOCS_DOMAIN, EnterpriseEditionFeature } from '@/constants';
|
||||||
import type { IPermissions } from '@/permissions';
|
import type { IPermissions } from '@/permissions';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useCredentialsStore } from '@/stores/credentials';
|
import { useCredentialsStore } from '@/stores/credentials.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
import type { ICredentialsResponse } from '@/Interface';
|
import type { ICredentialsResponse } from '@/Interface';
|
||||||
import AuthTypeSelector from '@/components/CredentialEdit/AuthTypeSelector.vue';
|
import AuthTypeSelector from '@/components/CredentialEdit/AuthTypeSelector.vue';
|
||||||
import GoogleAuthButton from './GoogleAuthButton.vue';
|
import GoogleAuthButton from './GoogleAuthButton.vue';
|
||||||
|
|||||||
@@ -147,12 +147,12 @@ import { getCredentialPermissions } from '@/permissions';
|
|||||||
import type { IMenuItem } from 'n8n-design-system';
|
import type { IMenuItem } from 'n8n-design-system';
|
||||||
import { createEventBus } from 'n8n-design-system';
|
import { createEventBus } from 'n8n-design-system';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import { useUsersStore } from '@/stores/users';
|
import { useUsersStore } from '@/stores/users.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useCredentialsStore } from '@/stores/credentials';
|
import { useCredentialsStore } from '@/stores/credentials.store';
|
||||||
import {
|
import {
|
||||||
isValidCredentialResponse,
|
isValidCredentialResponse,
|
||||||
getNodeAuthOptions,
|
getNodeAuthOptions,
|
||||||
|
|||||||
@@ -84,11 +84,11 @@ import type { IUser, IUserListAction } from '@/Interface';
|
|||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
import { showMessage } from '@/mixins/showMessage';
|
import { showMessage } from '@/mixins/showMessage';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUsersStore } from '@/stores/users';
|
import { useUsersStore } from '@/stores/users.store';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useCredentialsStore } from '@/stores/credentials';
|
import { useCredentialsStore } from '@/stores/credentials.store';
|
||||||
import { useUsageStore } from '@/stores/usage';
|
import { useUsageStore } from '@/stores/usage.store';
|
||||||
import { EnterpriseEditionFeature, VIEWS } from '@/constants';
|
import { EnterpriseEditionFeature, VIEWS } from '@/constants';
|
||||||
|
|
||||||
export default mixins(showMessage).extend({
|
export default mixins(showMessage).extend({
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
|
|
||||||
const { baseUrl } = useRootStore();
|
const { baseUrl } = useRootStore();
|
||||||
const googleAuthButtons = {
|
const googleAuthButtons = {
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { useCredentialsStore } from '@/stores/credentials';
|
import { useCredentialsStore } from '@/stores/credentials.store';
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
import type { ICredentialType, INodeTypeDescription } from 'n8n-workflow';
|
import type { ICredentialType, INodeTypeDescription } from 'n8n-workflow';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ import { defineComponent } from 'vue';
|
|||||||
import ScopesNotice from '@/components/ScopesNotice.vue';
|
import ScopesNotice from '@/components/ScopesNotice.vue';
|
||||||
import NodeCredentials from '@/components/NodeCredentials.vue';
|
import NodeCredentials from '@/components/NodeCredentials.vue';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useCredentialsStore } from '@/stores/credentials';
|
import { useCredentialsStore } from '@/stores/credentials.store';
|
||||||
import type { N8nSelect } from 'n8n-design-system';
|
import type { N8nSelect } from 'n8n-design-system';
|
||||||
|
|
||||||
type N8nSelectRef = InstanceType<typeof N8nSelect>;
|
type N8nSelectRef = InstanceType<typeof N8nSelect>;
|
||||||
|
|||||||
@@ -63,9 +63,9 @@ import Modal from './Modal.vue';
|
|||||||
import { CREDENTIAL_SELECT_MODAL_KEY } from '../constants';
|
import { CREDENTIAL_SELECT_MODAL_KEY } from '../constants';
|
||||||
import { externalHooks } from '@/mixins/externalHooks';
|
import { externalHooks } from '@/mixins/externalHooks';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useCredentialsStore } from '@/stores/credentials';
|
import { useCredentialsStore } from '@/stores/credentials.store';
|
||||||
import { createEventBus } from '@/event-bus';
|
import { createEventBus } from '@/event-bus';
|
||||||
|
|
||||||
export default mixins(externalHooks).extend({
|
export default mixins(externalHooks).extend({
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ import { showMessage } from '@/mixins/showMessage';
|
|||||||
import Modal from './Modal.vue';
|
import Modal from './Modal.vue';
|
||||||
import type { IUser } from '../Interface';
|
import type { IUser } from '../Interface';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUsersStore } from '@/stores/users';
|
import { useUsersStore } from '@/stores/users.store';
|
||||||
import { createEventBus } from '@/event-bus';
|
import { createEventBus } from '@/event-bus';
|
||||||
|
|
||||||
export default mixins(showMessage).extend({
|
export default mixins(showMessage).extend({
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { XYPosition } from '@/Interface';
|
import type { XYPosition } from '@/Interface';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import type { PropType } from 'vue';
|
import type { PropType } from 'vue';
|
||||||
|
|||||||
@@ -57,12 +57,12 @@ import { showMessage } from '@/mixins/showMessage';
|
|||||||
import TagsDropdown from '@/components/TagsDropdown.vue';
|
import TagsDropdown from '@/components/TagsDropdown.vue';
|
||||||
import Modal from './Modal.vue';
|
import Modal from './Modal.vue';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import type { IWorkflowDataUpdate } from '@/Interface';
|
import type { IWorkflowDataUpdate } from '@/Interface';
|
||||||
import type { IPermissions } from '@/permissions';
|
import type { IPermissions } from '@/permissions';
|
||||||
import { getWorkflowPermissions } from '@/permissions';
|
import { getWorkflowPermissions } from '@/permissions';
|
||||||
import { useUsersStore } from '@/stores/users';
|
import { useUsersStore } from '@/stores/users.store';
|
||||||
import { createEventBus } from '@/event-bus';
|
import { createEventBus } from '@/event-bus';
|
||||||
import { useCredentialsStore } from '@/stores';
|
import { useCredentialsStore } from '@/stores';
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import type { EnterpriseEditionFeature } from '@/constants';
|
import type { EnterpriseEditionFeature } from '@/constants';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'EnterpriseEdition',
|
name: 'EnterpriseEdition',
|
||||||
|
|||||||
@@ -128,8 +128,8 @@ import { MAX_DISPLAY_DATA_SIZE } from '@/constants';
|
|||||||
import type { INodeProperties, INodePropertyCollection, INodePropertyOptions } from 'n8n-workflow';
|
import type { INodeProperties, INodePropertyCollection, INodePropertyOptions } from 'n8n-workflow';
|
||||||
import { sanitizeHtml } from '@/utils';
|
import { sanitizeHtml } from '@/utils';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
|
|
||||||
export default mixins(copyPaste, showMessage).extend({
|
export default mixins(copyPaste, showMessage).extend({
|
||||||
name: 'NodeErrorView',
|
name: 'NodeErrorView',
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ import { i18n as locale } from '@/plugins/i18n';
|
|||||||
import TagsDropdown from '@/components/TagsDropdown.vue';
|
import TagsDropdown from '@/components/TagsDropdown.vue';
|
||||||
import { getObjectKeys, isEmpty } from '@/utils';
|
import { getObjectKeys, isEmpty } from '@/utils';
|
||||||
import { EnterpriseEditionFeature } from '@/constants';
|
import { EnterpriseEditionFeature } from '@/constants';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import { useUsageStore } from '@/stores/usage';
|
import { useUsageStore } from '@/stores/usage.store';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useTelemetry } from '@/composables';
|
import { useTelemetry } from '@/composables';
|
||||||
|
|
||||||
export type ExecutionFilterProps = {
|
export type ExecutionFilterProps = {
|
||||||
|
|||||||
@@ -286,8 +286,8 @@ import type { IExecutionsSummary, ExecutionStatus } from 'n8n-workflow';
|
|||||||
import { range as _range } from 'lodash-es';
|
import { range as _range } from 'lodash-es';
|
||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { isEmpty, setPageTitle } from '@/utils';
|
import { isEmpty, setPageTitle } from '@/utils';
|
||||||
import { executionFilterToQueryFilter } from '@/utils/executionUtils';
|
import { executionFilterToQueryFilter } from '@/utils/executionUtils';
|
||||||
|
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ import type { IExecutionUIData } from '@/mixins/executionsHelpers';
|
|||||||
import { executionHelpers } from '@/mixins/executionsHelpers';
|
import { executionHelpers } from '@/mixins/executionsHelpers';
|
||||||
import { VIEWS } from '@/constants';
|
import { VIEWS } from '@/constants';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { Dropdown as ElDropdown } from 'element-ui';
|
import { Dropdown as ElDropdown } from 'element-ui';
|
||||||
|
|
||||||
type RetryDropdownRef = InstanceType<typeof ElDropdown> & { hide: () => void };
|
type RetryDropdownRef = InstanceType<typeof ElDropdown> & { hide: () => void };
|
||||||
|
|||||||
@@ -36,10 +36,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { PLACEHOLDER_EMPTY_WORKFLOW_ID, WORKFLOW_SETTINGS_MODAL_KEY } from '@/constants';
|
import { PLACEHOLDER_EMPTY_WORKFLOW_ID, WORKFLOW_SETTINGS_MODAL_KEY } from '@/constants';
|
||||||
import type { IWorkflowSettings } from 'n8n-workflow';
|
import type { IWorkflowSettings } from 'n8n-workflow';
|
||||||
|
|||||||
@@ -24,8 +24,8 @@
|
|||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { PLACEHOLDER_EMPTY_WORKFLOW_ID, VIEWS } from '@/constants';
|
import { PLACEHOLDER_EMPTY_WORKFLOW_ID, VIEWS } from '@/constants';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import ExecutionsInfoAccordion from './ExecutionsInfoAccordion.vue';
|
import ExecutionsInfoAccordion from './ExecutionsInfoAccordion.vue';
|
||||||
|
|||||||
@@ -58,11 +58,11 @@ import { debounceHelper } from '@/mixins/debounce';
|
|||||||
import { getNodeViewTab, NO_NETWORK_ERROR_CODE } from '@/utils';
|
import { getNodeViewTab, NO_NETWORK_ERROR_CODE } from '@/utils';
|
||||||
import { workflowHelpers } from '@/mixins/workflowHelpers';
|
import { workflowHelpers } from '@/mixins/workflowHelpers';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
import { useTagsStore } from '@/stores/tags';
|
import { useTagsStore } from '@/stores/tags.store';
|
||||||
import { executionFilterToQueryFilter } from '@/utils/executionUtils';
|
import { executionFilterToQueryFilter } from '@/utils/executionUtils';
|
||||||
|
|
||||||
// Number of execution pages that are fetched before temporary execution card is shown
|
// Number of execution pages that are fetched before temporary execution card is shown
|
||||||
|
|||||||
@@ -71,8 +71,8 @@ import type { Route } from 'vue-router';
|
|||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import type { PropType } from 'vue';
|
import type { PropType } from 'vue';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import type { ExecutionFilterType } from '@/Interface';
|
import type { ExecutionFilterType } from '@/Interface';
|
||||||
|
|
||||||
type ExecutionCardRef = InstanceType<typeof ExecutionCard>;
|
type ExecutionCardRef = InstanceType<typeof ExecutionCard>;
|
||||||
|
|||||||
@@ -88,8 +88,8 @@ import { EXPRESSIONS_DOCS_URL } from '@/constants';
|
|||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
import { debounceHelper } from '@/mixins/debounce';
|
import { debounceHelper } from '@/mixins/debounce';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { createExpressionTelemetryPayload } from '@/utils/telemetryUtils';
|
import { createExpressionTelemetryPayload } from '@/utils/telemetryUtils';
|
||||||
|
|
||||||
import type { Segment } from '@/types/expressions';
|
import type { Segment } from '@/types/expressions';
|
||||||
|
|||||||
@@ -68,8 +68,8 @@
|
|||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
|
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import InlineExpressionEditorInput from '@/components/InlineExpressionEditor/InlineExpressionEditorInput.vue';
|
import InlineExpressionEditorInput from '@/components/InlineExpressionEditor/InlineExpressionEditorInput.vue';
|
||||||
import InlineExpressionEditorOutput from '@/components/InlineExpressionEditor/InlineExpressionEditorOutput.vue';
|
import InlineExpressionEditorOutput from '@/components/InlineExpressionEditor/InlineExpressionEditorOutput.vue';
|
||||||
import ExpressionFunctionIcon from '@/components/ExpressionFunctionIcon.vue';
|
import ExpressionFunctionIcon from '@/components/ExpressionFunctionIcon.vue';
|
||||||
|
|||||||
@@ -30,10 +30,10 @@
|
|||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { IFakeDoor } from '@/Interface';
|
import type { IFakeDoor } from '@/Interface';
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useUsersStore } from '@/stores/users';
|
import { useUsersStore } from '@/stores/users.store';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ import { defineComponent } from 'vue';
|
|||||||
import type { ITemplatesNode } from '@/Interface';
|
import type { ITemplatesNode } from '@/Interface';
|
||||||
import type { INodeTypeDescription } from 'n8n-workflow';
|
import type { INodeTypeDescription } from 'n8n-workflow';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
|
|
||||||
interface NodeIconData {
|
interface NodeIconData {
|
||||||
type: string;
|
type: string;
|
||||||
|
|||||||
@@ -50,8 +50,8 @@ import { showMessage } from '@/mixins/showMessage';
|
|||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
import type { INodeUi } from '@/Interface';
|
import type { INodeUi } from '@/Interface';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { createEventBus } from '@/event-bus';
|
import { createEventBus } from '@/event-bus';
|
||||||
|
|
||||||
export default mixins(showMessage).extend({
|
export default mixins(showMessage).extend({
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { IMPORT_CURL_MODAL_KEY } from '@/constants';
|
import { IMPORT_CURL_MODAL_KEY } from '@/constants';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
import { showMessage } from '@/mixins/showMessage';
|
import { showMessage } from '@/mixins/showMessage';
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import { EditorState, Prec } from '@codemirror/state';
|
|||||||
import { history, redo } from '@codemirror/commands';
|
import { history, redo } from '@codemirror/commands';
|
||||||
import { acceptCompletion, autocompletion, completionStatus } from '@codemirror/autocomplete';
|
import { acceptCompletion, autocompletion, completionStatus } from '@codemirror/autocomplete';
|
||||||
|
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { workflowHelpers } from '@/mixins/workflowHelpers';
|
import { workflowHelpers } from '@/mixins/workflowHelpers';
|
||||||
import { expressionManager } from '@/mixins/expressionManager';
|
import { expressionManager } from '@/mixins/expressionManager';
|
||||||
import { highlighter } from '@/plugins/codemirror/resolvableHighlighter';
|
import { highlighter } from '@/plugins/codemirror/resolvableHighlighter';
|
||||||
|
|||||||
@@ -145,9 +145,9 @@ import {
|
|||||||
START_NODE_TYPE,
|
START_NODE_TYPE,
|
||||||
} from '@/constants';
|
} from '@/constants';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
|
|
||||||
export default mixins(workflowHelpers).extend({
|
export default mixins(workflowHelpers).extend({
|
||||||
name: 'InputPanel',
|
name: 'InputPanel',
|
||||||
|
|||||||
@@ -73,8 +73,8 @@ import type { IFormInputs, IInviteResponse, IUser } from '@/Interface';
|
|||||||
import { VALID_EMAIL_REGEX, INVITE_USER_MODAL_KEY } from '@/constants';
|
import { VALID_EMAIL_REGEX, INVITE_USER_MODAL_KEY } from '@/constants';
|
||||||
import { ROLE } from '@/utils';
|
import { ROLE } from '@/utils';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUsersStore } from '@/stores/users';
|
import { useUsersStore } from '@/stores/users.store';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import { createEventBus } from '@/event-bus';
|
import { createEventBus } from '@/event-bus';
|
||||||
|
|
||||||
const NAME_EMAIL_FORMAT_REGEX = /^.* <(.*)>$/;
|
const NAME_EMAIL_FORMAT_REGEX = /^.* <(.*)>$/;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -29,8 +29,8 @@ import type { IExecutionsSummary, INodeUi, ITabBarItem } from '@/Interface';
|
|||||||
import { workflowHelpers } from '@/mixins/workflowHelpers';
|
import { workflowHelpers } from '@/mixins/workflowHelpers';
|
||||||
import type { Route } from 'vue-router';
|
import type { Route } from 'vue-router';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
|
|
||||||
export default mixins(pushConnection, workflowHelpers).extend({
|
export default mixins(pushConnection, workflowHelpers).extend({
|
||||||
name: 'MainHeader',
|
name: 'MainHeader',
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import type { PropType } from 'vue';
|
|||||||
import type { ITabBarItem } from '@/Interface';
|
import type { ITabBarItem } from '@/Interface';
|
||||||
import { MAIN_HEADER_TABS } from '@/constants';
|
import { MAIN_HEADER_TABS } from '@/constants';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'tab-bar',
|
name: 'tab-bar',
|
||||||
|
|||||||
@@ -150,15 +150,15 @@ import { saveAs } from 'file-saver';
|
|||||||
import { useTitleChange } from '@/composables/useTitleChange';
|
import { useTitleChange } from '@/composables/useTitleChange';
|
||||||
import type { MessageBoxInputData } from 'element-ui/types/message-box';
|
import type { MessageBoxInputData } from 'element-ui/types/message-box';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import { useTagsStore } from '@/stores/tags';
|
import { useTagsStore } from '@/stores/tags.store';
|
||||||
import type { IPermissions } from '@/permissions';
|
import type { IPermissions } from '@/permissions';
|
||||||
import { getWorkflowPermissions } from '@/permissions';
|
import { getWorkflowPermissions } from '@/permissions';
|
||||||
import { useUsersStore } from '@/stores/users';
|
import { useUsersStore } from '@/stores/users.store';
|
||||||
import { useUsageStore } from '@/stores/usage';
|
import { useUsageStore } from '@/stores/usage.store';
|
||||||
import { createEventBus } from '@/event-bus';
|
import { createEventBus } from '@/event-bus';
|
||||||
|
|
||||||
const hasChanged = (prev: string[], curr: string[]) => {
|
const hasChanged = (prev: string[], curr: string[]) => {
|
||||||
|
|||||||
@@ -126,14 +126,14 @@ import { userHelpers } from '@/mixins/userHelpers';
|
|||||||
import { debounceHelper } from '@/mixins/debounce';
|
import { debounceHelper } from '@/mixins/debounce';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import { useUsersStore } from '@/stores/users';
|
import { useUsersStore } from '@/stores/users.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import { useVersionsStore } from '@/stores/versions';
|
import { useVersionsStore } from '@/stores/versions.store';
|
||||||
import { isNavigationFailure } from 'vue-router';
|
import { isNavigationFailure } from 'vue-router';
|
||||||
import { useVersionControlStore } from '@/stores/versionControl';
|
import { useVersionControlStore } from '@/stores/versionControl.store';
|
||||||
|
|
||||||
export default mixins(
|
export default mixins(
|
||||||
genericHelpers,
|
genericHelpers,
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import type { PropType } from 'vue';
|
import type { PropType } from 'vue';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import type { EventBus } from '@/event-bus';
|
import type { EventBus } from '@/event-bus';
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import type { PropType } from 'vue';
|
import type { PropType } from 'vue';
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ import { LOCAL_STORAGE_MAIN_PANEL_RELATIVE_WIDTH, MAIN_NODE_PANEL_WIDTH } from '
|
|||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
import { debounceHelper } from '@/mixins/debounce';
|
import { debounceHelper } from '@/mixins/debounce';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
|
|
||||||
const SIDE_MARGIN = 24;
|
const SIDE_MARGIN = 24;
|
||||||
const SIDE_PANELS_MARGIN = 80;
|
const SIDE_PANELS_MARGIN = 80;
|
||||||
|
|||||||
@@ -195,10 +195,10 @@ import { getStyleTokenValue, getTriggerNodeServiceName } from '@/utils';
|
|||||||
import type { IExecutionsSummary, INodeUi, XYPosition } from '@/Interface';
|
import type { IExecutionsSummary, INodeUi, XYPosition } from '@/Interface';
|
||||||
import { debounceHelper } from '@/mixins/debounce';
|
import { debounceHelper } from '@/mixins/debounce';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
import { EnableNodeToggleCommand } from '@/models/history';
|
import { EnableNodeToggleCommand } from '@/models/history';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ import {
|
|||||||
STICKY_NODE_TYPE,
|
STICKY_NODE_TYPE,
|
||||||
} from '@/constants';
|
} from '@/constants';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'node-creation',
|
name: 'node-creation',
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ import { COMMUNITY_NODES_INSTALLATION_DOCS_URL, DEFAULT_SUBCATEGORY } from '@/co
|
|||||||
|
|
||||||
import { isCommunityPackageName } from '@/utils';
|
import { isCommunityPackageName } from '@/utils';
|
||||||
import { getNewNodePosition, NODE_SIZE } from '@/utils/nodeViewUtils';
|
import { getNewNodePosition, NODE_SIZE } from '@/utils/nodeViewUtils';
|
||||||
import { useNodeCreatorStore } from '@/stores/nodeCreator';
|
import { useNodeCreatorStore } from '@/stores/nodeCreator.store';
|
||||||
import NodeIcon from '@/components/NodeIcon.vue';
|
import NodeIcon from '@/components/NodeIcon.vue';
|
||||||
|
|
||||||
import { useActions } from '../composables/useActions';
|
import { useActions } from '../composables/useActions';
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ import {
|
|||||||
AUTO_INSERT_ACTION_EXPERIMENT,
|
AUTO_INSERT_ACTION_EXPERIMENT,
|
||||||
} from '@/constants';
|
} from '@/constants';
|
||||||
|
|
||||||
import { usePostHog } from '@/stores/posthog';
|
import { usePostHog } from '@/stores/posthog.store';
|
||||||
import { useUsersStore } from '@/stores/users';
|
import { useUsersStore } from '@/stores/users.store';
|
||||||
import { useWebhooksStore } from '@/stores/webhooks';
|
import { useWebhooksStore } from '@/stores/webhooks.store';
|
||||||
import { runExternalHook } from '@/utils';
|
import { runExternalHook } from '@/utils';
|
||||||
|
|
||||||
import { useActions } from '../composables/useActions';
|
import { useActions } from '../composables/useActions';
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import type { INodeCreateElement, NodeFilterType } from '@/Interface';
|
|||||||
import { TRIGGER_NODE_CREATOR_VIEW, HTTP_REQUEST_NODE_TYPE, WEBHOOK_NODE_TYPE } from '@/constants';
|
import { TRIGGER_NODE_CREATOR_VIEW, HTTP_REQUEST_NODE_TYPE, WEBHOOK_NODE_TYPE } from '@/constants';
|
||||||
|
|
||||||
import type { BaseTextKey } from '@/plugins/i18n';
|
import type { BaseTextKey } from '@/plugins/i18n';
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import { useNodeCreatorStore } from '@/stores/nodeCreator';
|
import { useNodeCreatorStore } from '@/stores/nodeCreator.store';
|
||||||
|
|
||||||
import { TriggerView, RegularView } from '../viewsData';
|
import { TriggerView, RegularView } from '../viewsData';
|
||||||
import { transformNodeType } from '../utils';
|
import { transformNodeType } from '../utils';
|
||||||
|
|||||||
@@ -22,8 +22,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { watch, reactive, toRefs, computed } from 'vue';
|
import { watch, reactive, toRefs, computed } from 'vue';
|
||||||
|
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
import { useNodeCreatorStore } from '@/stores/nodeCreator';
|
import { useNodeCreatorStore } from '@/stores/nodeCreator.store';
|
||||||
import SlideTransition from '@/components/transitions/SlideTransition.vue';
|
import SlideTransition from '@/components/transitions/SlideTransition.vue';
|
||||||
|
|
||||||
import { useViewStacks } from './composables/useViewStacks';
|
import { useViewStacks } from './composables/useViewStacks';
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { getCurrentInstance, computed, onMounted, onUnmounted, watch } from 'vue
|
|||||||
import type { INodeCreateElement } from '@/Interface';
|
import type { INodeCreateElement } from '@/Interface';
|
||||||
import { TRIGGER_NODE_CREATOR_VIEW } from '@/constants';
|
import { TRIGGER_NODE_CREATOR_VIEW } from '@/constants';
|
||||||
|
|
||||||
import { useNodeCreatorStore } from '@/stores/nodeCreator';
|
import { useNodeCreatorStore } from '@/stores/nodeCreator.store';
|
||||||
|
|
||||||
import { TriggerView, RegularView } from '../viewsData';
|
import { TriggerView, RegularView } from '../viewsData';
|
||||||
import { useViewStacks } from '../composables/useViewStacks';
|
import { useViewStacks } from '../composables/useViewStacks';
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onMounted, reactive, toRefs, onBeforeUnmount } from 'vue';
|
import { onMounted, reactive, toRefs, onBeforeUnmount } from 'vue';
|
||||||
import { useWebhooksStore } from '@/stores/webhooks';
|
import { useWebhooksStore } from '@/stores/webhooks.store';
|
||||||
import { runExternalHook } from '@/utils';
|
import { runExternalHook } from '@/utils';
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { computed, watch, ref, getCurrentInstance } from 'vue';
|
import { computed, watch, ref, getCurrentInstance } from 'vue';
|
||||||
import type { INodeCreateElement } from '@/Interface';
|
import type { INodeCreateElement } from '@/Interface';
|
||||||
|
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
|
|
||||||
import { useKeyboardNavigation } from '../composables/useKeyboardNavigation';
|
import { useKeyboardNavigation } from '../composables/useKeyboardNavigation';
|
||||||
import { useViewStacks } from '../composables/useViewStacks';
|
import { useViewStacks } from '../composables/useViewStacks';
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import type { PropType } from 'vue';
|
|||||||
import { PiniaVuePlugin, createPinia } from 'pinia';
|
import { PiniaVuePlugin, createPinia } from 'pinia';
|
||||||
import { render, screen, fireEvent } from '@testing-library/vue';
|
import { render, screen, fireEvent } from '@testing-library/vue';
|
||||||
import type { INodeTypeDescription } from 'n8n-workflow';
|
import type { INodeTypeDescription } from 'n8n-workflow';
|
||||||
import { useNodeCreatorStore } from '@/stores/nodeCreator';
|
import { useNodeCreatorStore } from '@/stores/nodeCreator.store';
|
||||||
import { mockSimplifiedNodeType } from './utils';
|
import { mockSimplifiedNodeType } from './utils';
|
||||||
import NodesListPanel from '../Panel/NodesListPanel.vue';
|
import NodesListPanel from '../Panel/NodesListPanel.vue';
|
||||||
import { REGULAR_NODE_CREATOR_VIEW } from '@/constants';
|
import { REGULAR_NODE_CREATOR_VIEW } from '@/constants';
|
||||||
|
|||||||
@@ -17,11 +17,11 @@ import {
|
|||||||
|
|
||||||
import type { BaseTextKey } from '@/plugins/i18n';
|
import type { BaseTextKey } from '@/plugins/i18n';
|
||||||
import type { Telemetry } from '@/plugins/telemetry';
|
import type { Telemetry } from '@/plugins/telemetry';
|
||||||
import { useNodeCreatorStore } from '@/stores/nodeCreator';
|
import { useNodeCreatorStore } from '@/stores/nodeCreator.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
import { runExternalHook } from '@/utils';
|
import { runExternalHook } from '@/utils';
|
||||||
import { useWebhooksStore } from '@/stores/webhooks';
|
import { useWebhooksStore } from '@/stores/webhooks.store';
|
||||||
|
|
||||||
import { sortNodeCreateElements, transformNodeType } from '../utils';
|
import { sortNodeCreateElements, transformNodeType } from '../utils';
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { v4 as uuid } from 'uuid';
|
|||||||
import type { INodeCreateElement, NodeFilterType, SimplifiedNodeType } from '@/Interface';
|
import type { INodeCreateElement, NodeFilterType, SimplifiedNodeType } from '@/Interface';
|
||||||
import { DEFAULT_SUBCATEGORY, TRIGGER_NODE_CREATOR_VIEW } from '@/constants';
|
import { DEFAULT_SUBCATEGORY, TRIGGER_NODE_CREATOR_VIEW } from '@/constants';
|
||||||
|
|
||||||
import { useNodeCreatorStore } from '@/stores/nodeCreator';
|
import { useNodeCreatorStore } from '@/stores/nodeCreator.store';
|
||||||
|
|
||||||
import { useKeyboardNavigation } from './useKeyboardNavigation';
|
import { useKeyboardNavigation } from './useKeyboardNavigation';
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -121,12 +121,12 @@ import TitledList from '@/components/TitledList.vue';
|
|||||||
|
|
||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useUsersStore } from '@/stores/users';
|
import { useUsersStore } from '@/stores/users.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
import { useCredentialsStore } from '@/stores/credentials';
|
import { useCredentialsStore } from '@/stores/credentials.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { KEEP_AUTH_IN_NDV_FOR_NODES } from '@/constants';
|
import { KEEP_AUTH_IN_NDV_FOR_NODES } from '@/constants';
|
||||||
import {
|
import {
|
||||||
getAuthTypeForNodeCredential,
|
getAuthTypeForNodeCredential,
|
||||||
|
|||||||
@@ -157,11 +157,11 @@ import { workflowActivate } from '@/mixins/workflowActivate';
|
|||||||
import { pinData } from '@/mixins/pinData';
|
import { pinData } from '@/mixins/pinData';
|
||||||
import { createEventBus, dataPinningEventBus } from '@/event-bus';
|
import { createEventBus, dataPinningEventBus } from '@/event-bus';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import useDeviceSupport from '@/composables/useDeviceSupport';
|
import useDeviceSupport from '@/composables/useDeviceSupport';
|
||||||
|
|
||||||
export default mixins(
|
export default mixins(
|
||||||
|
|||||||
@@ -26,9 +26,9 @@ import { workflowRun } from '@/mixins/workflowRun';
|
|||||||
import { pinData } from '@/mixins/pinData';
|
import { pinData } from '@/mixins/pinData';
|
||||||
import { dataPinningEventBus } from '@/event-bus';
|
import { dataPinningEventBus } from '@/event-bus';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
|
|
||||||
export default mixins(workflowRun, pinData).extend({
|
export default mixins(workflowRun, pinData).extend({
|
||||||
props: {
|
props: {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { IVersionNode } from '@/Interface';
|
import type { IVersionNode } from '@/Interface';
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import type { INodeTypeDescription } from 'n8n-workflow';
|
import type { INodeTypeDescription } from 'n8n-workflow';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
|
|||||||
@@ -195,14 +195,14 @@ import mixins from 'vue-typed-mixins';
|
|||||||
import NodeExecuteButton from './NodeExecuteButton.vue';
|
import NodeExecuteButton from './NodeExecuteButton.vue';
|
||||||
import { isCommunityPackageName } from '@/utils';
|
import { isCommunityPackageName } from '@/utils';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
import { useHistoryStore } from '@/stores/history';
|
import { useHistoryStore } from '@/stores/history.store';
|
||||||
import { RenameNodeCommand } from '@/models/history';
|
import { RenameNodeCommand } from '@/models/history';
|
||||||
import useWorkflowsEEStore from '@/stores/workflows.ee';
|
import useWorkflowsEEStore from '@/stores/workflows.ee.store';
|
||||||
import { useCredentialsStore } from '@/stores/credentials';
|
import { useCredentialsStore } from '@/stores/credentials.store';
|
||||||
import type { EventBus } from '@/event-bus';
|
import type { EventBus } from '@/event-bus';
|
||||||
|
|
||||||
export default mixins(externalHooks, nodeHelpers).extend({
|
export default mixins(externalHooks, nodeHelpers).extend({
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ import {
|
|||||||
NPM_PACKAGE_DOCS_BASE_URL,
|
NPM_PACKAGE_DOCS_BASE_URL,
|
||||||
} from '@/constants';
|
} from '@/constants';
|
||||||
import type { INodeUi, ITab } from '@/Interface';
|
import type { INodeUi, ITab } from '@/Interface';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import type { INodeTypeDescription } from 'n8n-workflow';
|
import type { INodeTypeDescription } from 'n8n-workflow';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ import Modal from './Modal.vue';
|
|||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
import { showMessage } from '@/mixins/showMessage';
|
import { showMessage } from '@/mixins/showMessage';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { createEventBus } from '@/event-bus';
|
import { createEventBus } from '@/event-bus';
|
||||||
|
|
||||||
export default mixins(showMessage).extend({
|
export default mixins(showMessage).extend({
|
||||||
|
|||||||
@@ -105,10 +105,10 @@ import RunInfo from './RunInfo.vue';
|
|||||||
import { pinData } from '@/mixins/pinData';
|
import { pinData } from '@/mixins/pinData';
|
||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
|
|
||||||
type RunDataRef = InstanceType<typeof RunData>;
|
type RunDataRef = InstanceType<typeof RunData>;
|
||||||
|
|
||||||
|
|||||||
@@ -388,10 +388,10 @@ import { CODE_NODE_TYPE, CUSTOM_API_CALL_KEY, HTML_NODE_TYPE } from '@/constants
|
|||||||
import type { PropType } from 'vue';
|
import type { PropType } from 'vue';
|
||||||
import { debounceHelper } from '@/mixins/debounce';
|
import { debounceHelper } from '@/mixins/debounce';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
import { useCredentialsStore } from '@/stores/credentials';
|
import { useCredentialsStore } from '@/stores/credentials.store';
|
||||||
import { htmlEditorEventBus } from '@/event-bus';
|
import { htmlEditorEventBus } from '@/event-bus';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ import ParameterInputWrapper from './ParameterInputWrapper.vue';
|
|||||||
import { isValueExpression } from '@/utils';
|
import { isValueExpression } from '@/utils';
|
||||||
import type { INodeParameterResourceLocator, INodeProperties, IParameterLabel } from 'n8n-workflow';
|
import type { INodeParameterResourceLocator, INodeProperties, IParameterLabel } from 'n8n-workflow';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
|
|
||||||
type ParamRef = InstanceType<typeof ParameterInputWrapper>;
|
type ParamRef = InstanceType<typeof ParameterInputWrapper>;
|
||||||
|
|
||||||
|
|||||||
@@ -92,8 +92,8 @@ import type {
|
|||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
import type { BaseTextKey } from '@/plugins/i18n';
|
import type { BaseTextKey } from '@/plugins/i18n';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useSegment } from '@/stores/segment';
|
import { useSegment } from '@/stores/segment.store';
|
||||||
import { externalHooks } from '@/mixins/externalHooks';
|
import { externalHooks } from '@/mixins/externalHooks';
|
||||||
import { getMappedResult } from '../utils/mappingUtils';
|
import { getMappedResult } from '../utils/mappingUtils';
|
||||||
|
|
||||||
|
|||||||
@@ -130,8 +130,8 @@ import { get, set } from 'lodash-es';
|
|||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
import type { Component, PropType } from 'vue';
|
import type { Component, PropType } from 'vue';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
import { isAuthRelatedParameter, getNodeAuthFields, getMainAuthField } from '@/utils';
|
import { isAuthRelatedParameter, getNodeAuthFields, getMainAuthField } from '@/utils';
|
||||||
import { KEEP_AUTH_IN_NDV_FOR_NODES } from '@/constants';
|
import { KEEP_AUTH_IN_NDV_FOR_NODES } from '@/constants';
|
||||||
|
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ import type { INodeUi, IUpdateInformation, TargetItem } from '@/Interface';
|
|||||||
import { workflowHelpers } from '@/mixins/workflowHelpers';
|
import { workflowHelpers } from '@/mixins/workflowHelpers';
|
||||||
import { isValueExpression } from '@/utils';
|
import { isValueExpression } from '@/utils';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
|
|
||||||
type ParamRef = InstanceType<typeof ParameterInput>;
|
type ParamRef = InstanceType<typeof ParameterInput>;
|
||||||
|
|
||||||
|
|||||||
@@ -131,10 +131,10 @@ import type { IFormInputs, IPersonalizationLatestVersion, IUser } from '@/Interf
|
|||||||
import { getAccountAge } from '@/utils';
|
import { getAccountAge } from '@/utils';
|
||||||
import type { GenericValue } from 'n8n-workflow';
|
import type { GenericValue } from 'n8n-workflow';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import { useUsersStore } from '@/stores/users';
|
import { useUsersStore } from '@/stores/users.store';
|
||||||
import { createEventBus } from '@/event-bus';
|
import { createEventBus } from '@/event-bus';
|
||||||
|
|
||||||
export default mixins(showMessage, workflowHelpers).extend({
|
export default mixins(showMessage, workflowHelpers).extend({
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -173,11 +173,11 @@ import {
|
|||||||
getMainAuthField,
|
getMainAuthField,
|
||||||
} from '@/utils';
|
} from '@/utils';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
|
|
||||||
type ResourceLocatorDropdownRef = InstanceType<typeof ResourceLocatorDropdown>;
|
type ResourceLocatorDropdownRef = InstanceType<typeof ResourceLocatorDropdown>;
|
||||||
|
|
||||||
|
|||||||
@@ -510,10 +510,10 @@ import CodeNodeEditor from '@/components/CodeNodeEditor/CodeNodeEditor.vue';
|
|||||||
import { dataPinningEventBus } from '@/event-bus';
|
import { dataPinningEventBus } from '@/event-bus';
|
||||||
import { clearJsonKey, executionDataToJson, stringSizeInBytes } from '@/utils';
|
import { clearJsonKey, executionDataToJson, stringSizeInBytes } from '@/utils';
|
||||||
import { isEmpty } from '@/utils';
|
import { isEmpty } from '@/utils';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
|
|
||||||
const RunDataTable = () => import('@/components/RunDataTable.vue');
|
const RunDataTable = () => import('@/components/RunDataTable.vue');
|
||||||
const RunDataJson = () => import('@/components/RunDataJson.vue');
|
const RunDataJson = () => import('@/components/RunDataJson.vue');
|
||||||
|
|||||||
@@ -79,10 +79,10 @@ import { executionDataToJson, isString, shorten } from '@/utils';
|
|||||||
import type { INodeUi } from '@/Interface';
|
import type { INodeUi } from '@/Interface';
|
||||||
import { externalHooks } from '@/mixins/externalHooks';
|
import { externalHooks } from '@/mixins/externalHooks';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import MappingPill from './MappingPill.vue';
|
import MappingPill from './MappingPill.vue';
|
||||||
import { getMappedExpression } from '@/utils/mappingUtils';
|
import { getMappedExpression } from '@/utils/mappingUtils';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { nonExistingJsonPath } from '@/components/RunDataJsonActions.vue';
|
import { nonExistingJsonPath } from '@/components/RunDataJsonActions.vue';
|
||||||
|
|
||||||
const runDataJsonActions = () => import('@/components/RunDataJsonActions.vue');
|
const runDataJsonActions = () => import('@/components/RunDataJsonActions.vue');
|
||||||
|
|||||||
@@ -46,8 +46,8 @@ import { nodeHelpers } from '@/mixins/nodeHelpers';
|
|||||||
import { genericHelpers } from '@/mixins/genericHelpers';
|
import { genericHelpers } from '@/mixins/genericHelpers';
|
||||||
import { clearJsonKey, convertPath, executionDataToJson } from '@/utils';
|
import { clearJsonKey, convertPath, executionDataToJson } from '@/utils';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
|
|
||||||
type JsonPathData = {
|
type JsonPathData = {
|
||||||
path: string;
|
path: string;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import { merge } from 'lodash-es';
|
|||||||
import type { INodeUi, Schema } from '@/Interface';
|
import type { INodeUi, Schema } from '@/Interface';
|
||||||
import RunDataSchemaItem from '@/components/RunDataSchemaItem.vue';
|
import RunDataSchemaItem from '@/components/RunDataSchemaItem.vue';
|
||||||
import Draggable from '@/components/Draggable.vue';
|
import Draggable from '@/components/Draggable.vue';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useWebhooksStore } from '@/stores/webhooks';
|
import { useWebhooksStore } from '@/stores/webhooks.store';
|
||||||
import { telemetry } from '@/plugins/telemetry';
|
import { telemetry } from '@/plugins/telemetry';
|
||||||
import type { IDataObject } from 'n8n-workflow';
|
import type { IDataObject } from 'n8n-workflow';
|
||||||
import { getSchema, isEmpty, runExternalHook } from '@/utils';
|
import { getSchema, isEmpty, runExternalHook } from '@/utils';
|
||||||
|
|||||||
@@ -171,8 +171,8 @@ import Draggable from './Draggable.vue';
|
|||||||
import { shorten } from '@/utils';
|
import { shorten } from '@/utils';
|
||||||
import { externalHooks } from '@/mixins/externalHooks';
|
import { externalHooks } from '@/mixins/externalHooks';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import MappingPill from './MappingPill.vue';
|
import MappingPill from './MappingPill.vue';
|
||||||
import { getMappedExpression } from '@/utils/mappingUtils';
|
import { getMappedExpression } from '@/utils/mappingUtils';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { Notification } from 'element-ui';
|
import { Notification } from 'element-ui';
|
||||||
import { useSSOStore } from '@/stores/sso';
|
import { useSSOStore } from '@/stores/sso.store';
|
||||||
|
|
||||||
const ssoStore = useSSOStore();
|
const ssoStore = useSSOStore();
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { useCredentialsStore } from '@/stores/credentials';
|
import { useCredentialsStore } from '@/stores/credentials.store';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
import { EnterpriseEditionFeature } from '@/constants';
|
import { EnterpriseEditionFeature } from '@/constants';
|
||||||
import { showMessage } from '@/mixins/showMessage';
|
import { showMessage } from '@/mixins/showMessage';
|
||||||
import { useLogStreamingStore } from '../../stores/logStreamingStore';
|
import { useLogStreamingStore } from '../../stores/logStreaming.store';
|
||||||
import type { PropType } from 'vue';
|
import type { PropType } from 'vue';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import type { MessageEventBusDestinationOptions } from 'n8n-workflow';
|
import type { MessageEventBusDestinationOptions } from 'n8n-workflow';
|
||||||
|
|||||||
@@ -175,9 +175,9 @@
|
|||||||
import { get, set, unset } from 'lodash-es';
|
import { get, set, unset } from 'lodash-es';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
import { useLogStreamingStore } from '../../stores/logStreamingStore';
|
import { useLogStreamingStore } from '../../stores/logStreaming.store';
|
||||||
import { useNDVStore } from '../../stores/ndv';
|
import { useNDVStore } from '../../stores/ndv.store';
|
||||||
import { useWorkflowsStore } from '../../stores/workflows';
|
import { useWorkflowsStore } from '../../stores/workflows.store';
|
||||||
import ParameterInputList from '@/components/ParameterInputList.vue';
|
import ParameterInputList from '@/components/ParameterInputList.vue';
|
||||||
import NodeCredentials from '@/components/NodeCredentials.vue';
|
import NodeCredentials from '@/components/NodeCredentials.vue';
|
||||||
import type { IMenuItem, INodeUi, ITab, IUpdateInformation } from '../../Interface';
|
import type { IMenuItem, INodeUi, ITab, IUpdateInformation } from '../../Interface';
|
||||||
@@ -200,8 +200,8 @@ import Vue from 'vue';
|
|||||||
import { LOG_STREAM_MODAL_KEY } from '../../constants';
|
import { LOG_STREAM_MODAL_KEY } from '../../constants';
|
||||||
import Modal from '@/components/Modal.vue';
|
import Modal from '@/components/Modal.vue';
|
||||||
import { showMessage } from '@/mixins/showMessage';
|
import { showMessage } from '@/mixins/showMessage';
|
||||||
import { useUIStore } from '../../stores/ui';
|
import { useUIStore } from '../../stores/ui.store';
|
||||||
import { useUsersStore } from '../../stores/users';
|
import { useUsersStore } from '../../stores/users.store';
|
||||||
import { destinationToFakeINodeUi } from './Helpers.ee';
|
import { destinationToFakeINodeUi } from './Helpers.ee';
|
||||||
import {
|
import {
|
||||||
webhookModalDescription,
|
webhookModalDescription,
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
import { Checkbox } from 'element-ui';
|
import { Checkbox } from 'element-ui';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import type { BaseTextKey } from '../../plugins/i18n';
|
import type { BaseTextKey } from '../../plugins/i18n';
|
||||||
import { useLogStreamingStore } from '../../stores/logStreamingStore';
|
import { useLogStreamingStore } from '../../stores/logStreaming.store';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'event-selection',
|
name: 'event-selection',
|
||||||
|
|||||||
@@ -28,9 +28,9 @@ import type { IFakeDoor } from '@/Interface';
|
|||||||
import type { IMenuItem } from 'n8n-design-system';
|
import type { IMenuItem } from 'n8n-design-system';
|
||||||
import type { BaseTextKey } from '@/plugins/i18n';
|
import type { BaseTextKey } from '@/plugins/i18n';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
|
|
||||||
export default mixins(userHelpers).extend({
|
export default mixins(userHelpers).extend({
|
||||||
name: 'SettingsSidebar',
|
name: 'SettingsSidebar',
|
||||||
|
|||||||
@@ -74,10 +74,10 @@ import type {
|
|||||||
import type { INodeTypeDescription } from 'n8n-workflow';
|
import type { INodeTypeDescription } from 'n8n-workflow';
|
||||||
import { QUICKSTART_NOTE_NAME } from '@/constants';
|
import { QUICKSTART_NOTE_NAME } from '@/constants';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useWorkflowsStore } from '@/stores/workflows';
|
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { useNDVStore } from '@/stores/ndv';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
|
|
||||||
export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).extend({
|
export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).extend({
|
||||||
name: 'Sticky',
|
name: 'Sticky',
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ import type { ITag } from '@/Interface';
|
|||||||
import IntersectionObserver from './IntersectionObserver.vue';
|
import IntersectionObserver from './IntersectionObserver.vue';
|
||||||
import IntersectionObserved from './IntersectionObserved.vue';
|
import IntersectionObserved from './IntersectionObserved.vue';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useTagsStore } from '@/stores/tags';
|
import { useTagsStore } from '@/stores/tags.store';
|
||||||
|
|
||||||
// random upper limit if none is set to minimize performance impact of observers
|
// random upper limit if none is set to minimize performance impact of observers
|
||||||
const DEFAULT_MAX_TAGS_LIMIT = 20;
|
const DEFAULT_MAX_TAGS_LIMIT = 20;
|
||||||
|
|||||||
@@ -62,8 +62,8 @@ import { MAX_TAG_NAME_LENGTH, TAGS_MANAGER_MODAL_KEY } from '@/constants';
|
|||||||
|
|
||||||
import { showMessage } from '@/mixins/showMessage';
|
import { showMessage } from '@/mixins/showMessage';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUIStore } from '@/stores/ui';
|
import { useUIStore } from '@/stores/ui.store';
|
||||||
import { useTagsStore } from '@/stores/tags';
|
import { useTagsStore } from '@/stores/tags.store';
|
||||||
import type { EventBus } from '@/event-bus';
|
import type { EventBus } from '@/event-bus';
|
||||||
import type { PropType } from 'vue';
|
import type { PropType } from 'vue';
|
||||||
import type { N8nOption, N8nSelect } from 'n8n-design-system';
|
import type { N8nOption, N8nSelect } from 'n8n-design-system';
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ import NoTagsView from '@/components/TagsManager/NoTagsView.vue';
|
|||||||
import Modal from '@/components/Modal.vue';
|
import Modal from '@/components/Modal.vue';
|
||||||
import { TAGS_MANAGER_MODAL_KEY } from '../../constants';
|
import { TAGS_MANAGER_MODAL_KEY } from '../../constants';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useTagsStore } from '@/stores/tags';
|
import { useTagsStore } from '@/stores/tags.store';
|
||||||
import { createEventBus } from '@/event-bus';
|
import { createEventBus } from '@/event-bus';
|
||||||
|
|
||||||
export default mixins(showMessage).extend({
|
export default mixins(showMessage).extend({
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ import type { ITag, ITagRow } from '@/Interface';
|
|||||||
import TagsTableHeader from '@/components/TagsManager/TagsView/TagsTableHeader.vue';
|
import TagsTableHeader from '@/components/TagsManager/TagsView/TagsTableHeader.vue';
|
||||||
import TagsTable from '@/components/TagsManager/TagsView/TagsTable.vue';
|
import TagsTable from '@/components/TagsManager/TagsView/TagsTable.vue';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import { useUsersStore } from '@/stores/users';
|
import { useUsersStore } from '@/stores/users.store';
|
||||||
|
|
||||||
const matches = (name: string, filter: string) =>
|
const matches = (name: string, filter: string) =>
|
||||||
name.toLowerCase().trim().includes(filter.toLowerCase().trim());
|
name.toLowerCase().trim().includes(filter.toLowerCase().trim());
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { useRootStore } from '@/stores/n8nRootStore';
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings.store';
|
||||||
import { useUsersStore } from '@/stores/users';
|
import { useUsersStore } from '@/stores/users.store';
|
||||||
import type { ITelemetrySettings } from 'n8n-workflow';
|
import type { ITelemetrySettings } from 'n8n-workflow';
|
||||||
import { mapStores } from 'pinia';
|
import { mapStores } from 'pinia';
|
||||||
import mixins from 'vue-typed-mixins';
|
import mixins from 'vue-typed-mixins';
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user