gant-core 0.1.20 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cli/index.js CHANGED
@@ -5936,36 +5936,63 @@ const defaultConfig = {
5936
5936
  setting: {
5937
5937
  BASE_CONFIG: {
5938
5938
  title: {
5939
- zh_CN: '甘棠软件Core脚手架',
5940
- en: 'Gantsoftwore core framework',
5939
+ zh_CN: "甘棠软件Core脚手架",
5940
+ en: "Gantsoftwore core framework",
5941
5941
  },
5942
5942
  slogan: {
5943
- zh_CN: '欢迎使用甘棠旗下的软件产品',
5944
- en: 'Welcome to using the software products offered by GantSoftware',
5943
+ zh_CN: "欢迎使用甘棠旗下的软件产品",
5944
+ en: "Welcome to using the software products offered by GantSoftware",
5945
5945
  },
5946
- copyright: 'Copyright ©2012-{now} Gant Software All rights reserved.',
5946
+ copyright: "Copyright ©2012-{now} Gant Software All rights reserved.",
5947
5947
  },
5948
5948
  MAIN_CONFIG: {
5949
5949
  //请求超时时间
5950
5950
  requestTimeout: 64 * 1000,
5951
5951
  //登陆配置
5952
5952
  loginConfig: {
5953
- loginPathname: '/login',
5953
+ loginPathname: "/login",
5954
5954
  },
5955
- homePath: '/dashboard',
5955
+ homePath: "/dashboard",
5956
5956
  headerMenu: true,
5957
- navType: 'tabs',
5957
+ navType: "tabs",
5958
+ functionsConfig: {
5959
+ //消息通知
5960
+ notification: true,
5961
+ //开启websocket
5962
+ websocket: true,
5963
+ //全局搜索
5964
+ globalSearch: true,
5965
+ //国际化
5966
+ locale: true,
5967
+ //转化工具
5968
+ transformTool: true,
5969
+ //热键
5970
+ hotKey: true,
5971
+ //全部菜单
5972
+ menuCollection: true,
5973
+ //版本信息
5974
+ version: true,
5975
+ //版本更新自动刷新页面
5976
+ autoDetectVersion: true,
5977
+ //本地数据库加密 暂时未用到
5978
+ indexDbCrypt: true,
5979
+ //显示用户客户端环境提示,如果是IE、或者浏览器宽度小于推荐值1680、或chrome版本低于66则显示
5980
+ agentSuggest: true,
5981
+ //用户代理
5982
+ delegate: true,
5983
+ userCardTypes: {},
5984
+ },
5958
5985
  },
5959
5986
  WATER_MARK_CONFIG: {
5960
5987
  fontSize: 18,
5961
- lightColor: '#666',
5962
- darkColor: '#fefefe',
5988
+ lightColor: "#666",
5989
+ darkColor: "#fefefe",
5963
5990
  alpha: 0.3,
5964
5991
  rotate: 30,
5965
- text: '甘棠软件',
5992
+ text: "甘棠软件",
5966
5993
  padding: 10,
5967
5994
  showTime: false,
5968
- status: 'none',
5995
+ status: "none",
5969
5996
  },
5970
5997
  },
5971
5998
  };
@@ -48685,7 +48712,7 @@ const createCwdConfig = (cwd, name, vue) => {
48685
48712
  };
48686
48713
 
48687
48714
  var name = "gant-core";
48688
- var version = "0.1.20";
48715
+ var version = "0.1.21";
48689
48716
  var description = "";
48690
48717
  var main = "lib/index.js";
48691
48718
  var bin = {