refactor(editor): Drop vue-typed-mixins (no-changelog) (#6257)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-05-16 09:43:46 +00:00
committed by GitHub
parent 79d0a0f247
commit ebb3aaf61e
98 changed files with 340 additions and 287 deletions

View File

@@ -123,7 +123,9 @@
</template>
<script lang="ts">
import mixins from 'vue-typed-mixins';
import { defineComponent } from 'vue';
import { mapStores } from 'pinia';
import {
DUPLICATE_MODAL_KEY,
EnterpriseEditionFeature,
@@ -150,7 +152,6 @@ import type { IUser, IWorkflowDataUpdate, IWorkflowDb, IWorkflowToShare } from '
import { saveAs } from 'file-saver';
import { useTitleChange, useToast, useMessage } from '@/composables';
import type { MessageBoxInputData } from 'element-ui/types/message-box';
import { mapStores } from 'pinia';
import { useUIStore } from '@/stores/ui.store';
import { useSettingsStore } from '@/stores/settings.store';
import { useWorkflowsStore } from '@/stores/workflows.store';
@@ -171,8 +172,9 @@ const hasChanged = (prev: string[], curr: string[]) => {
return curr.reduce((accu, val) => accu || !set.has(val), false);
};
export default mixins(workflowHelpers).extend({
export default defineComponent({
name: 'WorkflowDetails',
mixins: [workflowHelpers],
components: {
TagsContainer,
PushConnectionTracker,