@das-fed/utils 6.4.0-hot.9.1 → 6.4.0-test.10

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.
Files changed (84) hide show
  1. package/api-services/i18n/index.d.ts +63 -0
  2. package/api-services/i18n/index.js +25 -0
  3. package/api-services/i18n/index.js.gz +0 -0
  4. package/api-services/index.js +1773 -1388
  5. package/api-services/index.js.gz +0 -0
  6. package/api-services/modules/app-manage/index.js +1961 -1606
  7. package/api-services/modules/app-manage/index.js.gz +0 -0
  8. package/api-services/modules/authentication/index.js +1961 -1606
  9. package/api-services/modules/authentication/index.js.gz +0 -0
  10. package/api-services/modules/bems/index.js +1963 -1608
  11. package/api-services/modules/bems/index.js.gz +0 -0
  12. package/api-services/modules/contract/index.js +1961 -1606
  13. package/api-services/modules/contract/index.js.gz +0 -0
  14. package/api-services/modules/duty-manage/index.js +1963 -1608
  15. package/api-services/modules/duty-manage/index.js.gz +0 -0
  16. package/api-services/modules/enterpriseright/index.js +1961 -1606
  17. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  18. package/api-services/modules/file/index.d.ts +1 -0
  19. package/api-services/modules/file/index.js +3292 -154
  20. package/api-services/modules/file/index.js.gz +0 -0
  21. package/api-services/modules/gateway-edge/index.js +1961 -1606
  22. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  23. package/api-services/modules/index.js +1743 -1381
  24. package/api-services/modules/index.js.gz +0 -0
  25. package/api-services/modules/iot/index.d.ts +1 -0
  26. package/api-services/modules/iot/index.js +1974 -1618
  27. package/api-services/modules/iot/index.js.gz +0 -0
  28. package/api-services/modules/justauth/index.js +1961 -1606
  29. package/api-services/modules/justauth/index.js.gz +0 -0
  30. package/api-services/modules/knowledge/index.js +1961 -1606
  31. package/api-services/modules/knowledge/index.js.gz +0 -0
  32. package/api-services/modules/link/index.js +1961 -1606
  33. package/api-services/modules/link/index.js.gz +0 -0
  34. package/api-services/modules/permission/index.js +1961 -1606
  35. package/api-services/modules/permission/index.js.gz +0 -0
  36. package/api-services/modules/platformManage/index.js +1967 -1612
  37. package/api-services/modules/platformManage/index.js.gz +0 -0
  38. package/api-services/modules/portal/index.js +1961 -1606
  39. package/api-services/modules/portal/index.js.gz +0 -0
  40. package/api-services/modules/space-manage/index.js +1961 -1606
  41. package/api-services/modules/space-manage/index.js.gz +0 -0
  42. package/api-services/modules/super-admin/index.js +1974 -1619
  43. package/api-services/modules/super-admin/index.js.gz +0 -0
  44. package/api-services/modules/supplier/index.js +1962 -1607
  45. package/api-services/modules/supplier/index.js.gz +0 -0
  46. package/api-services/modules/supplychain-manage/index.js +1961 -1606
  47. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  48. package/api-services/modules/systemConfiguration/index.js +1961 -1606
  49. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  50. package/api-services/modules/tool/index.js +1961 -1606
  51. package/api-services/modules/tool/index.js.gz +0 -0
  52. package/api-services/src/create-service/index.js +1960 -1605
  53. package/api-services/src/create-service/index.js.gz +0 -0
  54. package/common-info/index.d.ts +9 -3
  55. package/common-info/index.js +110 -55
  56. package/common-info/index.js.gz +0 -0
  57. package/common-info/set-personal-info/index.js +850 -579
  58. package/common-info/set-personal-info/index.js.gz +0 -0
  59. package/common-info/type.d.ts +116 -6
  60. package/common-tools/extract-file-name/index.js +922 -655
  61. package/common-tools/extract-file-name/index.js.gz +0 -0
  62. package/common-tools/index.d.ts +1 -0
  63. package/common-tools/index.js +1 -0
  64. package/common-tools/update-browser-title/index.d.ts +1 -0
  65. package/common-tools/update-browser-title/index.js +12 -0
  66. package/create-api-service/i18n/index.d.ts +33 -0
  67. package/create-api-service/i18n/index.js +15 -0
  68. package/create-api-service/index.js +1960 -1605
  69. package/create-api-service/index.js.gz +0 -0
  70. package/create-api-service/sso/index.d.ts +0 -2
  71. package/create-api-service/sso/index.js +1198 -835
  72. package/create-api-service/sso/index.js.gz +0 -0
  73. package/curring-http/index.js +1364 -1097
  74. package/curring-http/index.js.gz +0 -0
  75. package/dom-check-in/index.js +2 -2
  76. package/esm-map.json +5 -2
  77. package/package.json +4 -3
  78. package/pinyin-first-character/index.js +19799 -20879
  79. package/pinyin-first-character/index.js.gz +0 -0
  80. package/style/index.js +4 -2
  81. package/style/index.js.gz +0 -0
  82. package/token-tools/index.d.ts +6 -6
  83. package/token-tools/index.js +8 -84
  84. package/token-tools/index.js.gz +0 -0
@@ -29,40 +29,148 @@ export interface TenantInfo {
29
29
  userId: string
30
30
  /** 用户名 */
31
31
  userName: string
32
+ /** 用户名称 */
32
33
  name: string
34
+ /** 昵称 */
35
+ nickName: string
36
+ /** 手机号 */
37
+ phone: string
38
+ /** 邮箱 */
39
+ email: string
40
+ /** 性别 1 男 2 女 */
41
+ gender: number
42
+ /** 用户状态 1 正常 2 锁定 3 禁用*/
43
+ status: number
44
+ /** 状态名称 */
45
+ statusName: string
46
+ /** 用户类型。0:普通 1:管理员 */
47
+ type: number
33
48
  /** 租户信息 */
34
49
  tenant: {
50
+ /** 租户ID */
35
51
  id: string
52
+ /** 租户名 */
36
53
  name: string
54
+ /** 域,如:qq,das */
55
+ domain: string
56
+ /** 管理员用户ID */
37
57
  adminUserId: string
58
+ /** 租户描述 */
38
59
  description: string
39
- domain: string
60
+ /** 是否开通三员权限管理,0表示未开通,1表示已开通。 */
61
+ thirdManaged: number
40
62
  }
41
63
  /** 用户标识 2 - B端身份, 4 - C 端身份, 6 - B+C 端身份 */
42
64
  flag: number
65
+ /** 当前区号 */
43
66
  areaCode: string
44
- /** 手机号 */
45
- phone: string
67
+ /** 地区 */
68
+ region: string
69
+ /** 地址 */
70
+ address: string
71
+ /** 描述 */
72
+ description: string
73
+
74
+ /** 头像 */
75
+ headPicture: string
76
+ /** 用户标签 */
77
+ tags: {
78
+ id: number
79
+ key: string
80
+ value: string
81
+ desc: string
82
+ }[]
46
83
  }
47
84
 
48
85
  export interface HomeInfo {
86
+ /** 应用code */
49
87
  applicationCode: string
88
+ /** 应用path */
50
89
  applicationPath: string
90
+ /** 是否启用 */
51
91
  enable: boolean
52
92
  originalCode: string
53
93
  routeUrl: string
94
+ /** 首页展示位置 1在应用中心左侧 2在应用中心右侧 */
95
+ displayPosition: 1 | 2
54
96
  type: number | null
55
97
  }
56
98
 
99
+ export interface PersonalConfigInfo {
100
+ /** 侧边栏菜单风格(1:弹出式;2:内嵌式 )*/
101
+ style: 1 | 2
102
+ /** 皮肤风格 (default:默认皮肤;kjl:科技蓝;cjb:纯净白;ssl:深邃蓝)*/
103
+ skinStyle: 'default' | 'kjl' | 'cjb' | 'ssl'
104
+ }
105
+
57
106
  export interface ProjectInfo {
58
107
  /** 项目id */
59
- id: string | number
60
- /** 父级id */
61
- parentId?: string
108
+ id: string
109
+ /** 项目编码 */
110
+ code: string
62
111
  /** 项目名称 */
63
112
  name: string
113
+ /** 项目类型: 1: 集团、 2:公司、3: 区域、4: 分公司、 5: 子公司、6: 管理中心、 7: 项目、8: 部门、 9: 组 */
114
+ type: string
115
+ /** 父级id */
116
+ parentId?: string
117
+ /** 父级名称 */
118
+ parentName?: string
119
+ /** 父级项目类型:1: 集团、 2:公司、3: 区域、4: 分公司、 5: 子公司、6: 管理中心、 7: 项目、8: 部门、 9: 组 */
120
+ parentType?: number
64
121
  /** 租户id */
65
122
  tenantId?: string
123
+ /** 是否父级节点 */
124
+ isParent?: boolean
125
+ /** 是否叶子节点 */
126
+ leaf?: boolean
127
+ /** 是否可用 */
128
+ optional?: boolean
129
+ }
130
+
131
+ export interface ProjectMessage {
132
+ /** 主键id */
133
+ id: number | string
134
+ /** 项目名称 */
135
+ projectName: string
136
+ /** 省级(省份、直辖市、自治区)编码 */
137
+ provinceCode: string
138
+ /** 地级(城市)编码 */
139
+ cityCode: string
140
+ /** 县级(区县)编码 */
141
+ areaCode: string
142
+ /** 详细位置 */
143
+ address: string
144
+ /** 项目简介 */
145
+ projectDesc: string
146
+ /** 项目图片路径 */
147
+ logoPath: string
148
+ /** 项目类型 */
149
+ projectType: string
150
+ /** 项目类型code */
151
+ projectTypeCode: string
152
+ /** 经度 */
153
+ longitude: string
154
+ /** 纬度 */
155
+ latitude: string
156
+ /** 项目开始时间 */
157
+ projectStartDate: string
158
+ /** 项目有效期 */
159
+ projectExpiryDate: string
160
+ /** 项目编码 */
161
+ projectCode: string
162
+ /** 地图配置是否开启 */
163
+ mapConfiguration: boolean
164
+ /** 地级(城市)名称 */
165
+ cityName: string
166
+ /** 地级(城市)名称拼音 */
167
+ cityNamePinyin: string
168
+ /** 时区ID */
169
+ timezone: string
170
+ /** 是否自动设定时区 */
171
+ autoTimezone: boolean
172
+ /** 货币信息(currencyCode:ISO 4217货币编码(例:CNY);currencyUnit:货币单位,例:元(中文),CNY(英文);currencySymbol:货币符号,例:¥) */
173
+ currency: Record<'currencyCode' | 'currencyUnit' | 'currencySymbol', string>
66
174
  }
67
175
 
68
176
  export interface SubAppsInfo {
@@ -76,6 +184,8 @@ export interface SubAppsInfo {
76
184
  currentSubAppCode?: string
77
185
  /** 当前打开的应用 */
78
186
  subAppList?: any[]
187
+ /** 当前菜单折叠的应用key集合 */
188
+ menuCollapses?: any[]
79
189
  }
80
190
 
81
191
  interface TabItem {