{"version":3,"file":"projectSetting2.mjs","sources":["../../../../../../packages/settings/src/projectSetting.ts"],"sourcesContent":["// import { primaryColor } from \"../../build/config/themeConfig\";\n// import { HEADER_PRESET_BG_COLOR_LIST, SIDE_BAR_BG_COLOR_LIST } from \"./designSetting\";\n// import type { ProjectConfig } from \"/#/config\";\n// import {\n//   ContentEnum,\n//   PermissionModeEnum,\n//   RouterTransitionEnum,\n//   SessionTimeoutProcessingEnum,\n//   SettingButtonPositionEnum,\n//   ThemeEnum\n// } from \"/@/enums/appEnum\";\n// import { CacheTypeEnum } from \"/@/enums/cacheEnum\";\n// import { MenuModeEnum, MenuTypeEnum, MixSidebarTriggerEnum, TriggerEnum } from \"/@/enums/menuEnum\";\n// import { useGlobSetting } from \"/@/hooks/setting\";\n// const { isMock } = useGlobSetting();\n\n// // ! You need to clear the browser cache after the change\n// const setting: ProjectConfig = {\n//   // Whether to show the configuration button\n//   showSettingButton: false,\n\n//   // Whether to show the theme switch button\n//   showDarkModeToggle: false,\n\n//   // `Settings` button position\n//   settingButtonPosition: SettingButtonPositionEnum.AUTO,\n\n//   // Permission mode\n//   permissionMode: isMock ? PermissionModeEnum.ROUTE_MAPPING : PermissionModeEnum.BACK,\n\n//   // Permission-related cache is stored in sessionStorage or localStorage\n//   permissionCacheType: CacheTypeEnum.LOCAL,\n\n//   // Session timeout processing\n//   sessionTimeoutProcessing: SessionTimeoutProcessingEnum.ROUTE_JUMP,\n\n//   // color\n//   themeColor: primaryColor,\n\n//   // Website gray mode, open for possible mourning dates\n//   grayMode: false,\n\n//   // Color Weakness Mode\n//   colorWeak: false,\n\n//   // Whether to cancel the menu, the top, the multi-tab page display, for possible embedded in other systems\n//   fullContent: false,\n\n//   // content mode\n//   contentMode: ContentEnum.FULL,\n\n//   // Whether to display the logo\n//   showLogo: true,\n\n//   // Whether to show footer\n//   showFooter: false,\n\n//   // Header configuration\n//   headerSetting: {\n//     // header bg color\n//     bgColor: HEADER_PRESET_BG_COLOR_LIST[0],\n//     // Fixed at the top\n//     fixed: true,\n//     // Whether to show top\n//     show: true,\n//     // theme\n//     theme: ThemeEnum.LIGHT,\n//     // Whether to enable the lock screen function\n//     useLockPage: false,\n//     // Whether to show the full screen button\n//     showFullScreen: true,\n//     // Whether to show the document button\n//     showDoc: false,\n//     // Whether to show the notification button\n//     showNotice: true,\n//     // Whether to display the menu search\n//     showSearch: true\n//   },\n\n//   // Menu configuration\n//   menuSetting: {\n//     // sidebar menu bg color\n//     bgColor: SIDE_BAR_BG_COLOR_LIST[3],\n//     //  Whether to fix the left menu\n//     fixed: true,\n//     // Menu collapse\n//     collapsed: false,\n//     // Whether to display the menu name when folding the menu\n//     collapsedShowTitle: false,\n//     // Whether it can be dragged\n//     // Only limited to the opening of the left menu, the mouse has a drag bar on the right side of the menu\n//     canDrag: false,\n//     // Whether to show no dom\n//     show: true,\n//     // Whether to show dom\n//     hidden: false,\n//     // Menu width\n//     menuWidth: 260,\n//     // Menu mode\n//     mode: MenuModeEnum.INLINE,\n//     // Menu type\n//     type: MenuTypeEnum.MIX,\n//     // Menu theme\n//     theme: ThemeEnum.LIGHT,\n//     // Split menu\n//     split: false,\n//     // Top menu layout\n//     topMenuAlign: \"center\",\n//     // Fold trigger position\n//     trigger: TriggerEnum.FOOTER,\n//     // Turn on accordion mode, only show a menu\n//     accordion: true,\n//     // Switch page to close menu\n//     closeMixSidebarOnChange: false,\n//     // Module opening method ‘click’ |'hover'\n//     mixSideTrigger: MixSidebarTriggerEnum.CLICK,\n//     // Fixed expanded menu\n//     mixSideFixed: false\n//   },\n\n//   // Multi-label\n//   multiTabsSetting: {\n//     cache: false,\n//     // Turn on\n//     show: true,\n//     // Is it possible to drag and drop sorting tabs\n//     canDrag: true,\n//     // Turn on quick actions\n//     showQuick: true,\n//     // Whether to show the refresh button\n//     showRedo: true,\n//     // Whether to show the collapse button\n//     showFold: true\n//   },\n\n//   // Transition Setting\n//   transitionSetting: {\n//     //  Whether to open the page switching animation\n//     // The disabled state will also disable pageLoadinng\n//     enable: true,\n\n//     // Route basic switching animation\n//     basicTransition: RouterTransitionEnum.FADE_SIDE,\n\n//     // Whether to open page switching loading\n//     // Only open when enable=true\n//     openPageLoading: true,\n\n//     // Whether to open the top progress bar\n//     openNProgress: true\n//   },\n\n//   // Whether to enable KeepAlive cache is best to close during development, otherwise the cache needs to be cleared every time\n//   openKeepAlive: true,\n\n//   // Automatic screen lock time, 0 does not lock the screen. Unit minute default 0\n//   lockTime: 0,\n\n//   // Whether to show breadcrumbs\n//   showBreadCrumb: true,\n\n//   // Whether to show the breadcrumb icon\n//   showBreadCrumbIcon: false,\n\n//   // Use error-handler-plugin\n//   useErrorHandle: false,\n\n//   // Whether to open back to top\n//   useOpenBackTop: true,\n\n//   //  Is it possible to embed iframe pages\n//   canEmbedIFramePage: true,\n\n//   // Whether to delete unclosed messages and notify when switching the interface\n//   closeMessageOnSwitch: true,\n\n//   // Whether to cancel the http request that has been sent but not responded when switching the interface.\n//   // If it is enabled, I want to overwrite a single interface. Can be set in a separate interface\n//   removeAllHttpPending: false\n// };\n\n// export default setting;\n\nexport default {}\n"],"names":[],"mappings":"AAAA,qBAAe,EAAE;;;;"}