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

@@ -37,16 +37,16 @@
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import type { PropType } from 'vue';
import { mapStores } from 'pinia';
import { get } from 'lodash-es';
import type { INodeTypeDescription } from 'n8n-workflow';
import PanelDragButton from './PanelDragButton.vue';
import { LOCAL_STORAGE_MAIN_PANEL_RELATIVE_WIDTH, MAIN_NODE_PANEL_WIDTH } from '@/constants';
import mixins from 'vue-typed-mixins';
import { debounceHelper } from '@/mixins/debounce';
import { mapStores } from 'pinia';
import { useNDVStore } from '@/stores/ndv.store';
const SIDE_MARGIN = 24;
@@ -63,8 +63,9 @@ const initialMainPanelWidth: { [key: string]: number } = {
wide: MAIN_NODE_PANEL_WIDTH * 2,
};
export default mixins(debounceHelper).extend({
export default defineComponent({
name: 'NDVDraggablePanels',
mixins: [debounceHelper],
components: {
PanelDragButton,
},