eoss-ui 0.6.67 → 0.6.69

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 (282) hide show
  1. package/lib/button-group.js +3 -2
  2. package/lib/button.js +3 -2
  3. package/lib/calogin.js +700 -256
  4. package/lib/checkbox-group.js +3 -2
  5. package/lib/data-table-form.js +3 -2
  6. package/lib/data-table.js +3 -2
  7. package/lib/date-picker.js +3 -2
  8. package/lib/dialog.js +3 -2
  9. package/lib/eoss-ui.common.js +1386 -920
  10. package/lib/flow-group.js +3 -2
  11. package/lib/flow-list.js +161 -177
  12. package/lib/flow.js +301 -291
  13. package/lib/form.js +3 -2
  14. package/lib/handle-user.js +3 -2
  15. package/lib/handler.js +3 -2
  16. package/lib/icon.js +3 -2
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +3 -2
  19. package/lib/input.js +3 -2
  20. package/lib/login.js +70 -39
  21. package/lib/main.js +135 -134
  22. package/lib/nav.js +3 -2
  23. package/lib/page.js +3 -2
  24. package/lib/pagination.js +3 -2
  25. package/lib/player.js +3 -2
  26. package/lib/qr-code.js +16 -15
  27. package/lib/radio-group.js +3 -2
  28. package/lib/retrial-auth.js +3 -2
  29. package/lib/select-ganged.js +3 -2
  30. package/lib/select.js +3 -2
  31. package/lib/selector-panel.js +3 -2
  32. package/lib/selector.js +3 -2
  33. package/lib/sizer.js +3 -2
  34. package/lib/steps.js +3 -2
  35. package/lib/switch.js +3 -2
  36. package/lib/table-form.js +3 -2
  37. package/lib/tabs.js +3 -2
  38. package/lib/theme-chalk/index.css +1 -1
  39. package/lib/theme-chalk/login.css +1 -1
  40. package/lib/tips.js +3 -2
  41. package/lib/tree-group.js +3 -2
  42. package/lib/tree.js +3 -2
  43. package/lib/upload.js +3 -2
  44. package/lib/utils/util.js +3 -2
  45. package/lib/wujie.js +3 -2
  46. package/lib/wxlogin.js +3 -2
  47. package/package.json +160 -160
  48. package/packages/.DS_Store +0 -0
  49. package/packages/autocomplete/.DS_Store +0 -0
  50. package/packages/button/index.js +5 -5
  51. package/packages/button/src/main.vue +418 -418
  52. package/packages/button-group/index.js +5 -5
  53. package/packages/button-group/src/main.vue +298 -298
  54. package/packages/calendar/index.js +5 -5
  55. package/packages/calogin/.DS_Store +0 -0
  56. package/packages/calogin/index.js +5 -5
  57. package/packages/calogin/src/main.vue +410 -131
  58. package/packages/calogin/src/plugin.js +915 -748
  59. package/packages/card/index.js +5 -5
  60. package/packages/card/src/main.vue +156 -156
  61. package/packages/cascader/index.js +5 -5
  62. package/packages/cascader/src/main.vue +168 -168
  63. package/packages/checkbox-group/index.js +5 -5
  64. package/packages/checkbox-group/src/main.vue +333 -333
  65. package/packages/clients/index.js +5 -5
  66. package/packages/clients/src/main.vue +151 -151
  67. package/packages/data-table/index.js +5 -5
  68. package/packages/data-table/src/children.vue +39 -39
  69. package/packages/data-table/src/column.vue +989 -989
  70. package/packages/data-table/src/main.vue +1822 -1822
  71. package/packages/data-table/src/sizer.vue +195 -195
  72. package/packages/data-table-form/index.js +5 -5
  73. package/packages/data-table-form/src/checkbox.vue +101 -101
  74. package/packages/data-table-form/src/colgroup.vue +17 -17
  75. package/packages/data-table-form/src/main.vue +181 -181
  76. package/packages/data-table-form/src/radio.vue +65 -65
  77. package/packages/data-table-form/src/table.vue +233 -233
  78. package/packages/data-table-form/src/tbody.vue +336 -336
  79. package/packages/data-table-form/src/thead.vue +68 -68
  80. package/packages/date-picker/.DS_Store +0 -0
  81. package/packages/date-picker/index.js +5 -5
  82. package/packages/date-picker/src/.DS_Store +0 -0
  83. package/packages/date-picker/src/main.vue +236 -236
  84. package/packages/dialog/index.js +5 -5
  85. package/packages/enable-drag/index.js +5 -5
  86. package/packages/enterprise/index.js +5 -5
  87. package/packages/enterprise/src/main.vue +66 -66
  88. package/packages/error-page/index.js +5 -5
  89. package/packages/error-page/src/main.vue +44 -44
  90. package/packages/flow/.DS_Store +0 -0
  91. package/packages/flow/index.js +5 -5
  92. package/packages/flow/src/component/Circulate.vue +351 -351
  93. package/packages/flow/src/component/CommonOpinions.vue +346 -346
  94. package/packages/flow/src/component/CustomPreset.vue +322 -322
  95. package/packages/flow/src/component/FileList.vue +99 -99
  96. package/packages/flow/src/component/Preset.vue +255 -255
  97. package/packages/flow/src/component/SendMsg.vue +241 -241
  98. package/packages/flow/src/component/TimeLimit.vue +190 -190
  99. package/packages/flow/src/component/taskUnionExamine.vue +619 -619
  100. package/packages/flow/src/form.vue +121 -121
  101. package/packages/flow/src/freeStartFlow.vue +2843 -2843
  102. package/packages/flow/src/main.vue +3369 -3367
  103. package/packages/flow/src/processForm.vue +1091 -1091
  104. package/packages/flow/src/processReject.vue +294 -294
  105. package/packages/flow/src/reset.vue +905 -905
  106. package/packages/flow/src/selectUser.vue +6 -0
  107. package/packages/flow/src/startTaskRead.vue +659 -659
  108. package/packages/flow/src/supervise.vue +149 -149
  109. package/packages/flow/src/table.vue +58 -58
  110. package/packages/flow-group/index.js +5 -5
  111. package/packages/flow-group/src/main.vue +688 -688
  112. package/packages/flow-list/.DS_Store +0 -0
  113. package/packages/flow-list/index.js +5 -5
  114. package/packages/flow-list/src/main.vue +1738 -1757
  115. package/packages/form/index.js +5 -5
  116. package/packages/form/src/main.vue +3581 -3581
  117. package/packages/form/src/table.vue +1426 -1426
  118. package/packages/handle-user/index.js +5 -5
  119. package/packages/handle-user/src/main.vue +138 -138
  120. package/packages/handler/index.js +5 -5
  121. package/packages/handler/src/main.vue +493 -493
  122. package/packages/icon/index.js +5 -5
  123. package/packages/icon/src/main.vue +101 -101
  124. package/packages/icons/index.js +5 -5
  125. package/packages/icons/src/main.vue +81 -81
  126. package/packages/input/index.js +5 -5
  127. package/packages/input/src/main.vue +356 -356
  128. package/packages/input-number/index.js +5 -5
  129. package/packages/input-number/src/main.vue +106 -106
  130. package/packages/label/index.js +5 -5
  131. package/packages/label/src/main.vue +457 -457
  132. package/packages/layout/index.js +5 -5
  133. package/packages/layout/src/item.vue +152 -152
  134. package/packages/layout/src/main.vue +31 -31
  135. package/packages/login/.DS_Store +0 -0
  136. package/packages/login/index.js +5 -5
  137. package/packages/login/src/main.vue +2015 -1988
  138. package/packages/login/src/resetPassword.vue +562 -562
  139. package/packages/main/.DS_Store +0 -0
  140. package/packages/main/index.js +5 -5
  141. package/packages/main/src/.DS_Store +0 -0
  142. package/packages/main/src/default/message.vue +249 -249
  143. package/packages/main/src/default/notice.vue +157 -157
  144. package/packages/main/src/default/userinfo.vue +503 -503
  145. package/packages/main/src/public/online.vue +89 -89
  146. package/packages/main/src/public/search.vue +462 -462
  147. package/packages/main/src/public/settings.vue +221 -221
  148. package/packages/main/src/simplicity/apps.vue +388 -388
  149. package/packages/main/src/simplicity/avatar.vue +83 -83
  150. package/packages/main/src/simplicity/handler.vue +259 -259
  151. package/packages/main/src/simplicity/index.vue +2089 -2089
  152. package/packages/main/src/simplicity/lists.vue +84 -84
  153. package/packages/main/src/simplicity/menu-list.vue +135 -135
  154. package/packages/main/src/simplicity/message.vue +259 -259
  155. package/packages/main/src/simplicity/notice.vue +190 -190
  156. package/packages/main/src/simplicity/router-page.vue +45 -45
  157. package/packages/main/src/simplicity/sub-menu.vue +264 -264
  158. package/packages/main/src/simplicity/user.vue +257 -257
  159. package/packages/main/src/simplicity/userinfo.vue +312 -312
  160. package/packages/menu/.DS_Store +0 -0
  161. package/packages/menu/index.js +5 -5
  162. package/packages/menu/src/main.vue +584 -584
  163. package/packages/nav/index.js +5 -5
  164. package/packages/nav/src/main.vue +351 -351
  165. package/packages/notify/index.js +5 -5
  166. package/packages/notify/src/main.vue +538 -538
  167. package/packages/page/index.js +5 -5
  168. package/packages/page/src/main.vue +167 -167
  169. package/packages/pagination/index.js +5 -5
  170. package/packages/pagination/src/main.vue +96 -96
  171. package/packages/player/index.js +5 -5
  172. package/packages/player/src/main.vue +194 -194
  173. package/packages/qr-code/index.js +5 -5
  174. package/packages/qr-code/src/main.vue +170 -170
  175. package/packages/radio-group/index.js +6 -6
  176. package/packages/radio-group/src/main.vue +319 -319
  177. package/packages/retrial-auth/index.js +5 -5
  178. package/packages/retrial-auth/src/main.vue +280 -280
  179. package/packages/scrollbar/.DS_Store +0 -0
  180. package/packages/select/.DS_Store +0 -0
  181. package/packages/select/index.js +5 -5
  182. package/packages/select/src/main.vue +778 -778
  183. package/packages/select-ganged/index.js +5 -5
  184. package/packages/select-ganged/src/main.vue +724 -724
  185. package/packages/selector/index.js +5 -5
  186. package/packages/selector/src/main.vue +687 -687
  187. package/packages/selector-panel/index.js +5 -5
  188. package/packages/selector-panel/src/main.vue +1027 -1027
  189. package/packages/selector-panel/src/selection.vue +177 -177
  190. package/packages/selector-panel/src/tree.vue +129 -129
  191. package/packages/sizer/index.js +5 -5
  192. package/packages/sizer/src/main.vue +254 -254
  193. package/packages/steps/index.js +5 -5
  194. package/packages/steps/src/main.vue +181 -181
  195. package/packages/switch/index.js +5 -5
  196. package/packages/switch/src/main.vue +154 -154
  197. package/packages/table-form/index.js +5 -5
  198. package/packages/tabs/index.js +5 -5
  199. package/packages/tabs/src/main.vue +788 -788
  200. package/packages/tabs-panel/index.js +5 -5
  201. package/packages/tabs-panel/src/main.vue +29 -29
  202. package/packages/theme-chalk/lib/index.css +1 -1
  203. package/packages/theme-chalk/lib/login.css +1 -1
  204. package/packages/theme-chalk/src/.DS_Store +0 -0
  205. package/packages/theme-chalk/src/base.scss +261 -261
  206. package/packages/theme-chalk/src/button-group.scss +176 -176
  207. package/packages/theme-chalk/src/button.scss +24 -24
  208. package/packages/theme-chalk/src/calendar.scss +113 -113
  209. package/packages/theme-chalk/src/card.scss +99 -99
  210. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  211. package/packages/theme-chalk/src/clients.scss +87 -87
  212. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  213. package/packages/theme-chalk/src/data-table.scss +293 -293
  214. package/packages/theme-chalk/src/date-picker.scss +7 -7
  215. package/packages/theme-chalk/src/dialog.scss +77 -77
  216. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  217. package/packages/theme-chalk/src/enterprise.scss +5 -5
  218. package/packages/theme-chalk/src/error-page.scss +18 -18
  219. package/packages/theme-chalk/src/flow-group.scss +110 -110
  220. package/packages/theme-chalk/src/flow-list.scss +39 -39
  221. package/packages/theme-chalk/src/flow.scss +343 -343
  222. package/packages/theme-chalk/src/form.scss +496 -496
  223. package/packages/theme-chalk/src/handle-user.scss +40 -40
  224. package/packages/theme-chalk/src/handler.scss +143 -143
  225. package/packages/theme-chalk/src/icon.scss +1792 -1792
  226. package/packages/theme-chalk/src/icons.scss +99 -99
  227. package/packages/theme-chalk/src/input.scss +9 -9
  228. package/packages/theme-chalk/src/label.scss +24 -24
  229. package/packages/theme-chalk/src/layout.scss +46 -46
  230. package/packages/theme-chalk/src/login.scss +981 -981
  231. package/packages/theme-chalk/src/main.scss +663 -663
  232. package/packages/theme-chalk/src/menu.scss +222 -222
  233. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  234. package/packages/theme-chalk/src/nav.scss +111 -111
  235. package/packages/theme-chalk/src/page.scss +3 -3
  236. package/packages/theme-chalk/src/pagination.scss +29 -29
  237. package/packages/theme-chalk/src/player.scss +9 -9
  238. package/packages/theme-chalk/src/qr-code.scss +17 -17
  239. package/packages/theme-chalk/src/radio-group.scss +9 -9
  240. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  241. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  242. package/packages/theme-chalk/src/select.scss +8 -8
  243. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  244. package/packages/theme-chalk/src/selector.scss +91 -91
  245. package/packages/theme-chalk/src/simplicity.scss +1355 -1355
  246. package/packages/theme-chalk/src/sizer.scss +36 -36
  247. package/packages/theme-chalk/src/steps.scss +88 -88
  248. package/packages/theme-chalk/src/switch.scss +3 -3
  249. package/packages/theme-chalk/src/table-form.scss +1 -1
  250. package/packages/theme-chalk/src/tabs.scss +87 -87
  251. package/packages/theme-chalk/src/tips.scss +7 -7
  252. package/packages/theme-chalk/src/toolbar.scss +179 -179
  253. package/packages/theme-chalk/src/tree-group.scss +72 -72
  254. package/packages/theme-chalk/src/tree.scss +165 -165
  255. package/packages/theme-chalk/src/upload.scss +168 -168
  256. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  257. package/packages/tips/index.js +5 -5
  258. package/packages/tips/src/main.vue +141 -141
  259. package/packages/toolbar/index.js +5 -5
  260. package/packages/toolbar/src/main.vue +430 -430
  261. package/packages/tree/index.js +5 -5
  262. package/packages/tree-group/index.js +5 -5
  263. package/packages/upload/.DS_Store +0 -0
  264. package/packages/upload/index.js +5 -5
  265. package/packages/upload/src/main.vue +1347 -1347
  266. package/packages/upload/src/picture.js +15 -15
  267. package/packages/wujie/index.js +5 -5
  268. package/packages/wujie/src/main.vue +145 -145
  269. package/packages/wxlogin/index.js +5 -5
  270. package/packages/wxlogin/src/main.vue +128 -128
  271. package/src/.DS_Store +0 -0
  272. package/src/config/api.js +291 -291
  273. package/src/config/image.js +2 -2
  274. package/src/index.js +163 -163
  275. package/src/utils/.DS_Store +0 -0
  276. package/src/utils/bus.js +3 -3
  277. package/src/utils/date-util.js +312 -312
  278. package/src/utils/http.js +50 -50
  279. package/src/utils/rules.js +18 -18
  280. package/src/utils/store.js +21 -21
  281. package/src/utils/util.js +3 -2
  282. package/src/utils/webSocket.js +107 -107
package/lib/main.js CHANGED
@@ -586,8 +586,9 @@ var ajaxStream = function ajaxStream(_ref2) {
586
586
  try {
587
587
  // 假设数据是 JSON 格式
588
588
  var parsedData = JSON.parse(data);
589
- info.time = parsedData.time;
590
- info.conversationId = parsedData.conversationId;
589
+ info = _extends({}, info, parsedData);
590
+ // info.time = parsedData.time;
591
+ // info.conversationId = parsedData.conversationId;
591
592
  var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
592
593
  var match = parsedData.message.match(thinkRegex);
593
594
  if (match) {
@@ -7151,10 +7152,10 @@ var external_throttle_debounce_ = __webpack_require__(14);
7151
7152
  this.$emit('click', res);
7152
7153
  },
7153
7154
 
7154
- /**
7155
- * @desc:获取气泡提醒
7156
- * @author huangbo
7157
- * @date 2024年9月7日
7155
+ /**
7156
+ * @desc:获取气泡提醒
7157
+ * @author huangbo
7158
+ * @date 2024年9月7日
7158
7159
  **/
7159
7160
  getBadge: function getBadge(res) {
7160
7161
  var num = res.tips || 0;
@@ -11180,10 +11181,10 @@ var events = [function (tabs, index, that) {
11180
11181
  },
11181
11182
 
11182
11183
  methods: {
11183
- /**
11184
- * @desc:匹配路由
11185
- * @author huangbo
11186
- * @date 2024年9月7日
11184
+ /**
11185
+ * @desc:匹配路由
11186
+ * @author huangbo
11187
+ * @date 2024年9月7日
11187
11188
  **/
11188
11189
  hasRouter: function hasRouter(res, url, code) {
11189
11190
  if (!url) {
@@ -11227,10 +11228,10 @@ var events = [function (tabs, index, that) {
11227
11228
  return false;
11228
11229
  },
11229
11230
 
11230
- /**
11231
- * @desc:获取初始数据
11232
- * @author huangbo
11233
- * @date 2024年9月7日
11231
+ /**
11232
+ * @desc:获取初始数据
11233
+ * @author huangbo
11234
+ * @date 2024年9月7日
11234
11235
  **/
11235
11236
  init: function init(results, first) {
11236
11237
  this.setConfig(results);
@@ -11239,10 +11240,10 @@ var events = [function (tabs, index, that) {
11239
11240
  }
11240
11241
  },
11241
11242
 
11242
- /**
11243
- * @desc:设置用户配置及信息
11244
- * @author huangbo
11245
- * @date 2024年9月7日
11243
+ /**
11244
+ * @desc:设置用户配置及信息
11245
+ * @author huangbo
11246
+ * @date 2024年9月7日
11246
11247
  **/
11247
11248
  setConfig: function setConfig(results) {
11248
11249
  localStorage.setItem('mainConfig', JSON.stringify(results));
@@ -11373,10 +11374,10 @@ var events = [function (tabs, index, that) {
11373
11374
  }
11374
11375
  },
11375
11376
 
11376
- /**
11377
- * @desc:获取所有应用
11378
- * @author huangbo
11379
- * @date 2024年9月7日
11377
+ /**
11378
+ * @desc:获取所有应用
11379
+ * @author huangbo
11380
+ * @date 2024年9月7日
11380
11381
  **/
11381
11382
  getApplications: function getApplications() {
11382
11383
  var _this = this;
@@ -11424,10 +11425,10 @@ var events = [function (tabs, index, that) {
11424
11425
  });
11425
11426
  },
11426
11427
 
11427
- /**
11428
- * @desc:获取菜单列表
11429
- * @author huangbo
11430
- * @date 2024年9月7日
11428
+ /**
11429
+ * @desc:获取菜单列表
11430
+ * @author huangbo
11431
+ * @date 2024年9月7日
11431
11432
  **/
11432
11433
  getMenus: function getMenus(loading) {
11433
11434
  var _this2 = this;
@@ -11460,10 +11461,10 @@ var events = [function (tabs, index, that) {
11460
11461
  });
11461
11462
  },
11462
11463
 
11463
- /**
11464
- * @desc:处理菜单列表
11465
- * @author huangbo
11466
- * @date 2024年9月7日
11464
+ /**
11465
+ * @desc:处理菜单列表
11466
+ * @author huangbo
11467
+ * @date 2024年9月7日
11467
11468
  **/
11468
11469
  renderMenus: function renderMenus(res) {
11469
11470
  this.menus = res;
@@ -11553,10 +11554,10 @@ var events = [function (tabs, index, that) {
11553
11554
  }
11554
11555
  },
11555
11556
 
11556
- /**
11557
- * @desc:设置页面加载类型
11558
- * @author huangbo
11559
- * @date 2024年9月7日
11557
+ /**
11558
+ * @desc:设置页面加载类型
11559
+ * @author huangbo
11560
+ * @date 2024年9月7日
11560
11561
  **/
11561
11562
  setIframeType: function setIframeType(res) {
11562
11563
  var url = res.url;
@@ -11612,10 +11613,10 @@ var events = [function (tabs, index, that) {
11612
11613
  return res;
11613
11614
  },
11614
11615
 
11615
- /**
11616
- * @desc:获取菜单
11617
- * @author huangbo
11618
- * @date 2024年9月7日
11616
+ /**
11617
+ * @desc:获取菜单
11618
+ * @author huangbo
11619
+ * @date 2024年9月7日
11619
11620
  **/
11620
11621
  getMenu: function getMenu(menus, res, key) {
11621
11622
  if (Array.isArray(menus)) {
@@ -11644,10 +11645,10 @@ var events = [function (tabs, index, that) {
11644
11645
  return false;
11645
11646
  },
11646
11647
 
11647
- /**
11648
- * @desc:获取菜单第一条数据
11649
- * @author huangbo
11650
- * @date 2024年9月7日
11648
+ /**
11649
+ * @desc:获取菜单第一条数据
11650
+ * @author huangbo
11651
+ * @date 2024年9月7日
11651
11652
  **/
11652
11653
  getFirst: function getFirst(obj) {
11653
11654
  if (!obj) {
@@ -11666,10 +11667,10 @@ var events = [function (tabs, index, that) {
11666
11667
  }
11667
11668
  },
11668
11669
 
11669
- /**
11670
- * @desc:遍历设置菜单气泡提醒
11671
- * @author huangbo
11672
- * @date 2024年9月7日
11670
+ /**
11671
+ * @desc:遍历设置菜单气泡提醒
11672
+ * @author huangbo
11673
+ * @date 2024年9月7日
11673
11674
  **/
11674
11675
  setTips: function setTips(obj) {
11675
11676
  var _this3 = this;
@@ -11732,10 +11733,10 @@ var events = [function (tabs, index, that) {
11732
11733
  }
11733
11734
  },
11734
11735
 
11735
- /**
11736
- * @desc:获取气泡提醒
11737
- * @author huangbo
11738
- * @date 2024年9月7日
11736
+ /**
11737
+ * @desc:获取气泡提醒
11738
+ * @author huangbo
11739
+ * @date 2024年9月7日
11739
11740
  **/
11740
11741
  getBadge: function getBadge(res) {
11741
11742
  var num = res.tips || 0;
@@ -11749,10 +11750,10 @@ var events = [function (tabs, index, that) {
11749
11750
  };
11750
11751
  },
11751
11752
 
11752
- /**
11753
- * @desc:开启weosocket
11754
- * @author huangbo
11755
- * @date 2024年9月7日
11753
+ /**
11754
+ * @desc:开启weosocket
11755
+ * @author huangbo
11756
+ * @date 2024年9月7日
11756
11757
  **/
11757
11758
  initWebSocket: function initWebSocket() {
11758
11759
  var _this5 = this;
@@ -11800,10 +11801,10 @@ var events = [function (tabs, index, that) {
11800
11801
  });
11801
11802
  },
11802
11803
 
11803
- /**
11804
- * @desc:显示用户信息
11805
- * @author huangbo
11806
- * @date 2024年9月7日
11804
+ /**
11805
+ * @desc:显示用户信息
11806
+ * @author huangbo
11807
+ * @date 2024年9月7日
11807
11808
  **/
11808
11809
  showUserInfo: function showUserInfo() {
11809
11810
  if (this.showUser === false) {
@@ -11811,19 +11812,19 @@ var events = [function (tabs, index, that) {
11811
11812
  }
11812
11813
  },
11813
11814
 
11814
- /**
11815
- * @desc:删除更多应用菜单点击
11816
- * @author huangbo
11817
- * @date 2024年9月7日
11815
+ /**
11816
+ * @desc:删除更多应用菜单点击
11817
+ * @author huangbo
11818
+ * @date 2024年9月7日
11818
11819
  **/
11819
11820
  handleDelete: function handleDelete(index) {
11820
11821
  this.newApps.splice(index, 1);
11821
11822
  },
11822
11823
 
11823
- /**
11824
- * @desc:储存更多应用菜单点击
11825
- * @author huangbo
11826
- * @date 2024年9月7日
11824
+ /**
11825
+ * @desc:储存更多应用菜单点击
11826
+ * @author huangbo
11827
+ * @date 2024年9月7日
11827
11828
  **/
11828
11829
  handlerClickApps: function handlerClickApps(res) {
11829
11830
  if (res.permission === false) {
@@ -11836,10 +11837,10 @@ var events = [function (tabs, index, that) {
11836
11837
  this.handlerClickApp(res);
11837
11838
  },
11838
11839
 
11839
- /**
11840
- * @desc:侧边应用菜单点击
11841
- * @author huangbo
11842
- * @date 2024年9月7日
11840
+ /**
11841
+ * @desc:侧边应用菜单点击
11842
+ * @author huangbo
11843
+ * @date 2024年9月7日
11843
11844
  **/
11844
11845
  handlerClickApp: function handlerClickApp(res) {
11845
11846
  this.showMsg = false;
@@ -11926,10 +11927,10 @@ var events = [function (tabs, index, that) {
11926
11927
  }
11927
11928
  },
11928
11929
 
11929
- /**
11930
- * @desc:显示Drawer界面
11931
- * @author huangbo
11932
- * @date 2024年9月7日
11930
+ /**
11931
+ * @desc:显示Drawer界面
11932
+ * @author huangbo
11933
+ * @date 2024年9月7日
11933
11934
  **/
11934
11935
  handlerSetDrawer: function handlerSetDrawer(res, type) {
11935
11936
  var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr';
@@ -11949,19 +11950,19 @@ var events = [function (tabs, index, that) {
11949
11950
  }
11950
11951
  },
11951
11952
 
11952
- /**
11953
- * @desc:关闭Drawer界面
11954
- * @author huangbo
11955
- * @date 2024年9月7日
11953
+ /**
11954
+ * @desc:关闭Drawer界面
11955
+ * @author huangbo
11956
+ * @date 2024年9月7日
11956
11957
  **/
11957
11958
  handleCloseDrawer: function handleCloseDrawer() {
11958
11959
  this.drawer = { visible: false };
11959
11960
  },
11960
11961
 
11961
- /**
11962
- * @desc:菜单点击
11963
- * @author huangbo
11964
- * @date 2024年9月7日
11962
+ /**
11963
+ * @desc:菜单点击
11964
+ * @author huangbo
11965
+ * @date 2024年9月7日
11965
11966
  **/
11966
11967
  handlerClickMenu: function handlerClickMenu(res) {
11967
11968
  util["a" /* default */].ajax({
@@ -12010,19 +12011,19 @@ var events = [function (tabs, index, that) {
12010
12011
  },
12011
12012
 
12012
12013
 
12013
- /**
12014
- * @desc:用户详情请求成功
12015
- * @author huangbo
12016
- * @date 2024年9月7日
12014
+ /**
12015
+ * @desc:用户详情请求成功
12016
+ * @author huangbo
12017
+ * @date 2024年9月7日
12017
12018
  **/
12018
12019
  handleSuccess: function handleSuccess(res) {
12019
12020
  this.simpleUserInfo = res.simpleUserInfo;
12020
12021
  },
12021
12022
 
12022
- /**
12023
- * @desc:修改用户配置
12024
- * @author huangbo
12025
- * @date 2024年9月7日
12023
+ /**
12024
+ * @desc:修改用户配置
12025
+ * @author huangbo
12026
+ * @date 2024年9月7日
12026
12027
  **/
12027
12028
  handleChangeConfig: function handleChangeConfig(name, res) {
12028
12029
  if (name == 'userHeadUrl') {
@@ -12038,10 +12039,10 @@ var events = [function (tabs, index, that) {
12038
12039
  }
12039
12040
  },
12040
12041
 
12041
- /**
12042
- * @desc:关闭webSocket
12043
- * @author huangbo
12044
- * @date 2024年9月7日
12042
+ /**
12043
+ * @desc:关闭webSocket
12044
+ * @author huangbo
12045
+ * @date 2024年9月7日
12045
12046
  **/
12046
12047
  handlerClose: function handlerClose() {
12047
12048
  if (this.webSocket) {
@@ -12049,10 +12050,10 @@ var events = [function (tabs, index, that) {
12049
12050
  }
12050
12051
  },
12051
12052
 
12052
- /**
12053
- * @desc:刷新选中iframe页签
12054
- * @author huangbo
12055
- * @date 2024年9月7日
12053
+ /**
12054
+ * @desc:刷新选中iframe页签
12055
+ * @author huangbo
12056
+ * @date 2024年9月7日
12056
12057
  **/
12057
12058
  handleRefresh: function handleRefresh() {
12058
12059
  var i = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
@@ -12073,10 +12074,10 @@ var events = [function (tabs, index, that) {
12073
12074
  }
12074
12075
  },
12075
12076
 
12076
- /**
12077
- * @desc:删除iframe
12078
- * @author huangbo
12079
- * @date 2024年9月7日
12077
+ /**
12078
+ * @desc:删除iframe
12079
+ * @author huangbo
12080
+ * @date 2024年9月7日
12080
12081
  **/
12081
12082
  handleRemove: function handleRemove(name) {
12082
12083
  var len = this.tabs.length - 1;
@@ -12093,10 +12094,10 @@ var events = [function (tabs, index, that) {
12093
12094
  }
12094
12095
  },
12095
12096
 
12096
- /**
12097
- * @desc:tabs鼠标右键事件
12098
- * @author huangbo
12099
- * @date 2024年9月7日
12097
+ /**
12098
+ * @desc:tabs鼠标右键事件
12099
+ * @author huangbo
12100
+ * @date 2024年9月7日
12100
12101
  **/
12101
12102
  handleContextmenu: function handleContextmenu(tabs, e) {
12102
12103
  var disabled = {};
@@ -12121,10 +12122,10 @@ var events = [function (tabs, index, that) {
12121
12122
  window.addEventListener('click', this.closeTabsEvents);
12122
12123
  },
12123
12124
 
12124
- /**
12125
- * @desc:tabs页签事件
12126
- * @author huangbo
12127
- * @date 2024年9月7日
12125
+ /**
12126
+ * @desc:tabs页签事件
12127
+ * @author huangbo
12128
+ * @date 2024年9月7日
12128
12129
  **/
12129
12130
  handleTabsEvents: function handleTabsEvents(num) {
12130
12131
  if (this.pane !== null) {
@@ -12142,10 +12143,10 @@ var events = [function (tabs, index, that) {
12142
12143
  window.removeEventListener('click', this.closeTabsEvents);
12143
12144
  },
12144
12145
 
12145
- /**
12146
- * @desc:handler工具栏点击事件
12147
- * @author huangbo
12148
- * @date 2024年9月7日
12146
+ /**
12147
+ * @desc:handler工具栏点击事件
12148
+ * @author huangbo
12149
+ * @date 2024年9月7日
12149
12150
  **/
12150
12151
  handleClick: function handleClick(res) {
12151
12152
  var type = res.type,
@@ -12223,10 +12224,10 @@ var events = [function (tabs, index, that) {
12223
12224
  this.$emit('handler-click', res);
12224
12225
  },
12225
12226
 
12226
- /**
12227
- * @desc:退出登录
12228
- * @author huangbo
12229
- * @date 2024年9月7日
12227
+ /**
12228
+ * @desc:退出登录
12229
+ * @author huangbo
12230
+ * @date 2024年9月7日
12230
12231
  **/
12231
12232
  handleQuit: function handleQuit() {
12232
12233
  var _this6 = this;
@@ -12301,10 +12302,10 @@ var events = [function (tabs, index, that) {
12301
12302
  }).catch(function (e) {});
12302
12303
  },
12303
12304
 
12304
- /**
12305
- * @desc:主题、消息回调
12306
- * @author huangbo
12307
- * @date 2024年9月7日
12305
+ /**
12306
+ * @desc:主题、消息回调
12307
+ * @author huangbo
12308
+ * @date 2024年9月7日
12308
12309
  **/
12309
12310
  handleChange: function handleChange(res) {
12310
12311
  var type = res.type,
@@ -12320,10 +12321,10 @@ var events = [function (tabs, index, that) {
12320
12321
  }
12321
12322
  },
12322
12323
 
12323
- /**
12324
- * @desc:菜单布局样式切换
12325
- * @author huangbo
12326
- * @date 2024年9月7日
12324
+ /**
12325
+ * @desc:菜单布局样式切换
12326
+ * @author huangbo
12327
+ * @date 2024年9月7日
12327
12328
  **/
12328
12329
  handleLayout: function handleLayout(res, active) {
12329
12330
  if (active) {
@@ -12332,10 +12333,10 @@ var events = [function (tabs, index, that) {
12332
12333
  this.$emit('chang-layout', res, active);
12333
12334
  },
12334
12335
 
12335
- /**
12336
- * @desc:消息修改总数
12337
- * @author huangbo
12338
- * @date 2024年9月7日
12336
+ /**
12337
+ * @desc:消息修改总数
12338
+ * @author huangbo
12339
+ * @date 2024年9月7日
12339
12340
  **/
12340
12341
  handleMenuTips: function handleMenuTips(id, num) {
12341
12342
  if (num) {
@@ -12346,10 +12347,10 @@ var events = [function (tabs, index, that) {
12346
12347
  }
12347
12348
  },
12348
12349
 
12349
- /**
12350
- * @desc:处理即时消息
12351
- * @author huangbo
12352
- * @date 2024年9月7日
12350
+ /**
12351
+ * @desc:处理即时消息
12352
+ * @author huangbo
12353
+ * @date 2024年9月7日
12353
12354
  **/
12354
12355
  handleOpened: function handleOpened(res) {
12355
12356
  var _this7 = this;
package/lib/nav.js CHANGED
@@ -587,8 +587,9 @@ var ajaxStream = function ajaxStream(_ref2) {
587
587
  try {
588
588
  // 假设数据是 JSON 格式
589
589
  var parsedData = JSON.parse(data);
590
- info.time = parsedData.time;
591
- info.conversationId = parsedData.conversationId;
590
+ info = _extends({}, info, parsedData);
591
+ // info.time = parsedData.time;
592
+ // info.conversationId = parsedData.conversationId;
592
593
  var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
593
594
  var match = parsedData.message.match(thinkRegex);
594
595
  if (match) {
package/lib/page.js CHANGED
@@ -587,8 +587,9 @@ var ajaxStream = function ajaxStream(_ref2) {
587
587
  try {
588
588
  // 假设数据是 JSON 格式
589
589
  var parsedData = JSON.parse(data);
590
- info.time = parsedData.time;
591
- info.conversationId = parsedData.conversationId;
590
+ info = _extends({}, info, parsedData);
591
+ // info.time = parsedData.time;
592
+ // info.conversationId = parsedData.conversationId;
592
593
  var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
593
594
  var match = parsedData.message.match(thinkRegex);
594
595
  if (match) {
package/lib/pagination.js CHANGED
@@ -587,8 +587,9 @@ var ajaxStream = function ajaxStream(_ref2) {
587
587
  try {
588
588
  // 假设数据是 JSON 格式
589
589
  var parsedData = JSON.parse(data);
590
- info.time = parsedData.time;
591
- info.conversationId = parsedData.conversationId;
590
+ info = _extends({}, info, parsedData);
591
+ // info.time = parsedData.time;
592
+ // info.conversationId = parsedData.conversationId;
592
593
  var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
593
594
  var match = parsedData.message.match(thinkRegex);
594
595
  if (match) {
package/lib/player.js CHANGED
@@ -586,8 +586,9 @@ var ajaxStream = function ajaxStream(_ref2) {
586
586
  try {
587
587
  // 假设数据是 JSON 格式
588
588
  var parsedData = JSON.parse(data);
589
- info.time = parsedData.time;
590
- info.conversationId = parsedData.conversationId;
589
+ info = _extends({}, info, parsedData);
590
+ // info.time = parsedData.time;
591
+ // info.conversationId = parsedData.conversationId;
591
592
  var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
592
593
  var match = parsedData.message.match(thinkRegex);
593
594
  if (match) {
package/lib/qr-code.js CHANGED
@@ -587,8 +587,9 @@ var ajaxStream = function ajaxStream(_ref2) {
587
587
  try {
588
588
  // 假设数据是 JSON 格式
589
589
  var parsedData = JSON.parse(data);
590
- info.time = parsedData.time;
591
- info.conversationId = parsedData.conversationId;
590
+ info = _extends({}, info, parsedData);
591
+ // info.time = parsedData.time;
592
+ // info.conversationId = parsedData.conversationId;
592
593
  var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
593
594
  var match = parsedData.message.match(thinkRegex);
594
595
  if (match) {
@@ -4264,19 +4265,19 @@ var QRCode = __webpack_require__(28);
4264
4265
  //设置logo大小
4265
4266
  var logoPosition = (_this3.mwidth - 46) / 2; //logo相对于canvas居中定位
4266
4267
  //设置获取的logo将其变为圆角以及添加白色背景
4267
- /* ctx.fillStyle = "#fff";
4268
- ctx.beginPath();
4269
- let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
4270
- let w = 46; //圆角宽
4271
- let x = logoPosition - 5;
4272
- let y = logoPosition - 5;
4273
- let r = 5; //圆角半径
4274
- ctx.moveTo(x + r, y);
4275
- ctx.arcTo(x + w, y, x + w, y + h, r);
4276
- ctx.arcTo(x + w, y + h, x, y + h, r);
4277
- ctx.arcTo(x, y + h, x, y, r);
4278
- ctx.arcTo(x, y, x + w, y, r);
4279
- ctx.closePath();
4268
+ /* ctx.fillStyle = "#fff";
4269
+ ctx.beginPath();
4270
+ let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
4271
+ let w = 46; //圆角宽
4272
+ let x = logoPosition - 5;
4273
+ let y = logoPosition - 5;
4274
+ let r = 5; //圆角半径
4275
+ ctx.moveTo(x + r, y);
4276
+ ctx.arcTo(x + w, y, x + w, y + h, r);
4277
+ ctx.arcTo(x + w, y + h, x, y + h, r);
4278
+ ctx.arcTo(x, y + h, x, y, r);
4279
+ ctx.arcTo(x, y, x + w, y, r);
4280
+ ctx.closePath();
4280
4281
  ctx.fill(); */
4281
4282
  logo.onload = function () {
4282
4283
  ctx.drawImage(logo, logoPosition, logoPosition, 46, 46);
@@ -587,8 +587,9 @@ var ajaxStream = function ajaxStream(_ref2) {
587
587
  try {
588
588
  // 假设数据是 JSON 格式
589
589
  var parsedData = JSON.parse(data);
590
- info.time = parsedData.time;
591
- info.conversationId = parsedData.conversationId;
590
+ info = _extends({}, info, parsedData);
591
+ // info.time = parsedData.time;
592
+ // info.conversationId = parsedData.conversationId;
592
593
  var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
593
594
  var match = parsedData.message.match(thinkRegex);
594
595
  if (match) {
@@ -587,8 +587,9 @@ var ajaxStream = function ajaxStream(_ref2) {
587
587
  try {
588
588
  // 假设数据是 JSON 格式
589
589
  var parsedData = JSON.parse(data);
590
- info.time = parsedData.time;
591
- info.conversationId = parsedData.conversationId;
590
+ info = _extends({}, info, parsedData);
591
+ // info.time = parsedData.time;
592
+ // info.conversationId = parsedData.conversationId;
592
593
  var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
593
594
  var match = parsedData.message.match(thinkRegex);
594
595
  if (match) {
@@ -587,8 +587,9 @@ var ajaxStream = function ajaxStream(_ref2) {
587
587
  try {
588
588
  // 假设数据是 JSON 格式
589
589
  var parsedData = JSON.parse(data);
590
- info.time = parsedData.time;
591
- info.conversationId = parsedData.conversationId;
590
+ info = _extends({}, info, parsedData);
591
+ // info.time = parsedData.time;
592
+ // info.conversationId = parsedData.conversationId;
592
593
  var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
593
594
  var match = parsedData.message.match(thinkRegex);
594
595
  if (match) {
package/lib/select.js CHANGED
@@ -587,8 +587,9 @@ var ajaxStream = function ajaxStream(_ref2) {
587
587
  try {
588
588
  // 假设数据是 JSON 格式
589
589
  var parsedData = JSON.parse(data);
590
- info.time = parsedData.time;
591
- info.conversationId = parsedData.conversationId;
590
+ info = _extends({}, info, parsedData);
591
+ // info.time = parsedData.time;
592
+ // info.conversationId = parsedData.conversationId;
592
593
  var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
593
594
  var match = parsedData.message.match(thinkRegex);
594
595
  if (match) {
@@ -586,8 +586,9 @@ var ajaxStream = function ajaxStream(_ref2) {
586
586
  try {
587
587
  // 假设数据是 JSON 格式
588
588
  var parsedData = JSON.parse(data);
589
- info.time = parsedData.time;
590
- info.conversationId = parsedData.conversationId;
589
+ info = _extends({}, info, parsedData);
590
+ // info.time = parsedData.time;
591
+ // info.conversationId = parsedData.conversationId;
591
592
  var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
592
593
  var match = parsedData.message.match(thinkRegex);
593
594
  if (match) {
package/lib/selector.js CHANGED
@@ -587,8 +587,9 @@ var ajaxStream = function ajaxStream(_ref2) {
587
587
  try {
588
588
  // 假设数据是 JSON 格式
589
589
  var parsedData = JSON.parse(data);
590
- info.time = parsedData.time;
591
- info.conversationId = parsedData.conversationId;
590
+ info = _extends({}, info, parsedData);
591
+ // info.time = parsedData.time;
592
+ // info.conversationId = parsedData.conversationId;
592
593
  var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
593
594
  var match = parsedData.message.match(thinkRegex);
594
595
  if (match) {