 import { onMounted } from 'vue'
import { getAppInstance } from '@inside-core/helpers/getAppInstance'

import DashboardImportModal from '../components/modals/DashboardImportModal'
import MultiUploadModal from '../components/ged/modals/MultiUploadModal'

export function useGlobalComponents() {
  const app = getAppInstance()

  onMounted(() => {
    app.component('dashboard-import-modal', DashboardImportModal),
    app.component('multi-upload-modal', MultiUploadModal)
  })
}
