refactor(editor): Drop vue-typed-mixins (no-changelog) (#6257)
This commit is contained in:
committed by
GitHub
parent
79d0a0f247
commit
ebb3aaf61e
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user