import scopes from '@utils/scopes';
import { USER_SCOPES } from '@constants/entities/Scope';
import { lazyLoadView } from '@utils/lazyloadview';
import Vue from 'vue';

const categories = {
  ukranianRefugeePayment: {
    label: 'registries.ukranianRefugeePayment.title',
    path: '',
    scopes: scopes.registryUkranianRefugeePayment,
  },
};

const routes = [
  {
    children: [
      {
        component: () => import('@/components/registries/ukranian-refugee-payment.vue'),
        meta: {
          icon: 'payment',
          label: categories.ukranianRefugeePayment.label,
          place: 'drawer',
          order: 21,
          showProd: Vue.prototype.$appConfig.isDebugMode === 'true',
        },
        name: 'registry-ukranian-refugee-payment',
        path: '/registries/refugee-payment',
      },
    ],
    component: () =>
      lazyLoadView(import('@router/registry-ukranian-refugee-payment/index.vue')),
    meta: {
      scopes: categories.ukranianRefugeePayment.scopes,
    },
    path: categories.ukranianRefugeePayment.path,
  },
];

export default routes;
