import { boot } from 'quasar/wrappers'
import pnPageWrapper from 'components/pnPageWrapper.vue'
import pnPageCard from 'components/pnPageCard.vue'
import pnPageTemplate from 'components/pnPageTemplate.vue'
import pnAutoAvatar from 'components/pnAutoAvatar.vue'
import pnOverlay from 'components/pnOverlay.vue'
import pnSmallDialog from 'components/pnSmallDialog.vue'
import pnShadowScroll from 'components/pnShadowScroll.vue'
import pnMagicOverlay from 'components/pnMagicOverlay.vue'
import pnAccountBlockName from 'components/pnAccountBlockName.vue'
import pnOnboardBtn from 'components/pnOnboardBtn.vue'
import pnBottomSheetDialog from 'components/pnBottomSheetDialog.vue'

const components = {
  pnPageWrapper,
  pnPageCard,
  pnPageTemplate,
  pnAutoAvatar,
  pnOverlay,
  pnSmallDialog,
  pnShadowScroll,
  pnMagicOverlay,
  pnAccountBlockName,
  pnOnboardBtn,
  pnBottomSheetDialog
}

export default boot(({ app }) => {
  Object.entries(components).forEach(([name, component]) => {
    app.component(name, component)
  })
})

