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

export const productOperation: AppRouteRecordRaw = {
  path: '/productOperation',
  name: 'ProductOperation',
  redirect: '/productOperation/index',
  component: LAYOUT,
  meta: {
    title: t('routes.dashboard.productOperation'),
    icon: 'carbon:carbon-for-ibm-product',
    orderNo: 102,
    // hideChildrenInMenu: true,
  },
  children: [
    {
      path: 'cameraScene',
      name: 'CameraScene',
      component: () => import('/@/views/productOperation/cameraScene.vue'),
      meta: {
        title: t('routes.dashboard.cameraScene'),
        icon: 'material-symbols:scene-outline',
      },
      // children: [
      //   {
      //     path: 'laserScene',
      //     name: 'LaserScene',
      //     component: () => import('/@/views/productOperation/sceneManager/laserScene.vue'),
      //     meta: {
      //       title: t('routes.dashboard.laserScene'),
      //       // icon: 'la:file-invoice-dollar',
      //     },
      //   },
      //   // {
      //   //   path: 'liteScene',
      //   //   name: 'LiteScene',
      //   //   component: () => import('/@/views/productOperation/sceneManager/liteScene.vue'),
      //   //   meta: {
      //   //     title: t('routes.dashboard.liteScene'),
      //   //     // icon: 'la:file-invoice-dollar',
      //   //   },
      //   // },
      //   {
      //     path: 'kankanScene',
      //     name: 'KankanScene',
      //     component: () => import('/@/views/productOperation/sceneManager/kankanScene.vue'),
      //     meta: {
      //       title: t('routes.dashboard.kankanScene'),
      //       // icon: 'la:file-invoice-dollar',
      //     },
      //   },
      //   {
      //     path: 'minionScene',
      //     name: 'MinionScene',
      //     component: () => import('/@/views/productOperation/sceneManager/minionScene.vue'),
      //     meta: {
      //       title: t('routes.dashboard.MinionScene'),
      //       // icon: 'la:file-invoice-dollar',
      //     },
      //   },
      // ],
    },
    {
      path: 'sxz',
      name: 'Sxz',
      component: () => import('/@/views/productOperation/sxz.vue'),
      meta: {
        title: t('routes.dashboard.sxz'),
        icon: 'icon-park-outline:projector-two',
      },
    },
    {
      path: 'viewKankan',
      name: 'ViewKankan',
      component: () => import('/@/views/productOperation/viewKankan.vue'),
      meta: {
        title: t('routes.dashboard.viewKankan'),
        icon: 'fa6-solid:panorama',
      },
    },
  ],
};
export default productOperation;
