import type { AppRouteRecordRaw } from '/@/router/types';
import { t } from '/@/hooks/web/useI18n';
import { LAYOUT } from '/@/router/constant';

export const Device: AppRouteRecordRaw = {
  path: '/empower',
  name: 'Empower',
  redirect: '/empower/index',
  component: LAYOUT,
  meta: {
    title: t('routes.empower.name'),
    icon: 'material-symbols:motion-sensor-active-rounded',
    orderNo: 20,
    hideChildrenInMenu: true,
  },
  children: [
    {
      path: 'index',
      name: 'EmpowerIndex',
      component: () => import('/@/views/empower/index.vue'),
      meta: {
        title: t('routes.empower.name'),
        hideBreadcrumb: true,
        // icon: 'codicon:device-camera',
      },
    },
  ],
};
export default Device;
