import "../../../../../../node_modules/.pnpm/vue@3.3.4/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
import { renderIcon } from "../../../../../utils/utils.mjs";
import "../../../../../../node_modules/.pnpm/crypto-js@4.1.1/node_modules/crypto-js/index.mjs";
import { RouterLink } from "../../../../../../node_modules/.pnpm/vue-router@4.0.12_vue@3.3.4/node_modules/vue-router/dist/vue-router.esm-bundler.mjs";
import { PageEnum } from "../../../../../enums/pageEnum.mjs";
import "../../../../../router/index.mjs";
import "../../../../../store/modules/designStore/designStore.mjs";
import "../../../../../../node_modules/.pnpm/vue3-lazyload@0.2.5-beta_a6dezdz3je235ci4e3tu4rayna/node_modules/vue3-lazyload/dist/vue3-lazyload.esm.mjs";
import "../../../../../components/GoSkeleton/index.vue.mjs";
import "../../../../../components/GoLoading/index.mjs";
import { icon } from "../../../../../plugins/icon.mjs";
import "../../../../../settings/designSetting.mjs";
import { reactive } from "../../../../../../node_modules/.pnpm/@vue_reactivity@3.3.4/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
import { h } from "../../../../../../node_modules/.pnpm/@vue_runtime-core@3.3.4/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
const { GridIcon, TvOutlineIcon } = icon.ionicons5;
const { StoreIcon, ObjectStorageIcon, DevicesIcon } = icon.carbon;
const expandedKeys = () => ["all-project"];
const menuOptionsInit = () => {
  return reactive([
    {
      key: "divider-1",
      type: "divider"
    },
    {
      label: () => h("span", null, { default: () => "project.project" }),
      key: "all-project",
      icon: renderIcon(DevicesIcon),
      children: [
        {
          type: "group",
          label: () => h("span", null, { default: () => "project.my" }),
          key: "my-project",
          children: [
            {
              label: () => h(
                RouterLink,
                {
                  to: {
                    name: PageEnum.BASE_HOME_ITEMS_NAME
                  }
                },
                { default: () => "project.all_project" }
              ),
              key: PageEnum.BASE_HOME_ITEMS_NAME,
              icon: renderIcon(TvOutlineIcon)
            },
            {
              label: () => h(
                RouterLink,
                {
                  to: {
                    name: PageEnum.BASE_HOME_TEMPLATE_NAME
                  }
                },
                { default: () => "project.my_templete" }
              ),
              key: PageEnum.BASE_HOME_TEMPLATE_NAME,
              icon: renderIcon(ObjectStorageIcon)
            }
          ]
        }
      ]
    },
    {
      key: "divider-2",
      type: "divider"
    },
    {
      label: () => h(
        RouterLink,
        {
          to: {
            name: PageEnum.BASE_HOME_TEMPLATE_MARKET_NAME
          }
        },
        { default: () => "project.template_market" }
      ),
      key: PageEnum.BASE_HOME_TEMPLATE_MARKET_NAME,
      icon: renderIcon(StoreIcon)
    }
  ]);
};
export {
  expandedKeys,
  menuOptionsInit
};
