eoss-ui 0.6.40 → 0.6.41

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 (98) hide show
  1. package/lib/button-group.js +5 -0
  2. package/lib/button.js +5 -0
  3. package/lib/checkbox-group.js +5 -0
  4. package/lib/data-table-form.js +5 -0
  5. package/lib/data-table.js +11 -6
  6. package/lib/date-picker.js +5 -0
  7. package/lib/dialog.js +5 -0
  8. package/lib/eoss-ui.common.js +831 -433
  9. package/lib/flow-group.js +5 -0
  10. package/lib/flow-list.js +5 -0
  11. package/lib/flow.js +37 -35
  12. package/lib/form.js +5 -0
  13. package/lib/handle-user.js +5 -0
  14. package/lib/handler.js +152 -76
  15. package/lib/icon.js +5 -0
  16. package/lib/icons.js +1 -1
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +5 -0
  19. package/lib/input.js +5 -0
  20. package/lib/login.js +248 -160
  21. package/lib/main.js +329 -113
  22. package/lib/nav.js +5 -0
  23. package/lib/page.js +5 -0
  24. package/lib/pagination.js +5 -0
  25. package/lib/player.js +5 -0
  26. package/lib/qr-code.js +5 -0
  27. package/lib/radio-group.js +5 -0
  28. package/lib/retrial-auth.js +5 -0
  29. package/lib/select-ganged.js +5 -0
  30. package/lib/select.js +5 -0
  31. package/lib/selector-panel.js +7 -3
  32. package/lib/selector.js +42 -5
  33. package/lib/sizer.js +5 -0
  34. package/lib/steps.js +5 -0
  35. package/lib/switch.js +5 -0
  36. package/lib/table-form.js +5 -0
  37. package/lib/tabs.js +5 -0
  38. package/lib/theme-chalk/base.css +1 -1
  39. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  40. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  41. package/lib/theme-chalk/icon.css +1 -1
  42. package/lib/theme-chalk/index.css +1 -1
  43. package/lib/theme-chalk/login.css +1 -1
  44. package/lib/theme-chalk/main.css +1 -1
  45. package/lib/theme-chalk/menu.css +1 -1
  46. package/lib/theme-chalk/simplicity.css +1 -1
  47. package/lib/theme-chalk/sizer.css +1 -1
  48. package/lib/theme-chalk/upload.css +1 -1
  49. package/lib/tips.js +5 -0
  50. package/lib/tree-group.js +5 -0
  51. package/lib/tree.js +5 -0
  52. package/lib/upload.js +5 -0
  53. package/lib/utils/util.js +5 -0
  54. package/lib/wujie.js +5 -0
  55. package/lib/wxlogin.js +5 -0
  56. package/package.json +1 -1
  57. package/packages/.DS_Store +0 -0
  58. package/packages/data-table/.DS_Store +0 -0
  59. package/packages/data-table/src/main.vue +3 -1
  60. package/packages/flow/.DS_Store +0 -0
  61. package/packages/flow/src/component/taskUnionExamine.vue +34 -26
  62. package/packages/flow/src/main.vue +0 -2
  63. package/packages/flow/src/processForm.vue +29 -18
  64. package/packages/flow/src/reset.vue +0 -2
  65. package/packages/handler/src/main.vue +163 -77
  66. package/packages/icons/src/icon.json +1 -1
  67. package/packages/login/.DS_Store +0 -0
  68. package/packages/login/src/main.vue +61 -18
  69. package/packages/main/.DS_Store +0 -0
  70. package/packages/main/src/.DS_Store +0 -0
  71. package/packages/main/src/default/index.vue +32 -3
  72. package/packages/main/src/public/search.vue +14 -7
  73. package/packages/main/src/simplicity/handler.vue +64 -26
  74. package/packages/main/src/simplicity/index.vue +80 -26
  75. package/packages/selector/.DS_Store +0 -0
  76. package/packages/selector/src/main.vue +17 -5
  77. package/packages/selector-panel/.DS_Store +0 -0
  78. package/packages/selector-panel/src/main.vue +0 -1
  79. package/packages/theme-chalk/lib/base.css +1 -1
  80. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  81. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  82. package/packages/theme-chalk/lib/icon.css +1 -1
  83. package/packages/theme-chalk/lib/index.css +1 -1
  84. package/packages/theme-chalk/lib/login.css +1 -1
  85. package/packages/theme-chalk/lib/main.css +1 -1
  86. package/packages/theme-chalk/lib/menu.css +1 -1
  87. package/packages/theme-chalk/lib/simplicity.css +1 -1
  88. package/packages/theme-chalk/lib/sizer.css +1 -1
  89. package/packages/theme-chalk/lib/upload.css +1 -1
  90. package/packages/theme-chalk/src/.DS_Store +0 -0
  91. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  92. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  93. package/packages/theme-chalk/src/icon.scss +29 -0
  94. package/packages/theme-chalk/src/login.scss +8 -0
  95. package/packages/theme-chalk/src/main.scss +7 -0
  96. package/src/.DS_Store +0 -0
  97. package/src/index.js +1 -1
  98. package/src/utils/util.js +5 -0
@@ -560,6 +560,7 @@ var ajaxStream = function ajaxStream(_ref2) {
560
560
  var lastProcessedIndex = 0;
561
561
  var done = false;
562
562
  var finishThink = false;
563
+ var hasThink = false;
563
564
  ajax(_extends({
564
565
  timeout: 990000,
565
566
  format: false,
@@ -613,8 +614,12 @@ var ajaxStream = function ajaxStream(_ref2) {
613
614
  var start = parsedData.message.match(startRegex);
614
615
  var end = parsedData.message.match(endRegex);
615
616
  if (start) {
617
+ hasThink = true;
616
618
  var _thinkContent = start[1] ? start[1].trim() : ''; // <think> 标签内的数据
617
619
  info.thinkContent += _thinkContent;
620
+ } else if (hasThink === false) {
621
+ info.content += parsedData.message;
622
+ chunks += parsedData.message;
618
623
  } else {
619
624
  if (end) {
620
625
  finishThink = true;
package/lib/input.js CHANGED
@@ -560,6 +560,7 @@ var ajaxStream = function ajaxStream(_ref2) {
560
560
  var lastProcessedIndex = 0;
561
561
  var done = false;
562
562
  var finishThink = false;
563
+ var hasThink = false;
563
564
  ajax(_extends({
564
565
  timeout: 990000,
565
566
  format: false,
@@ -613,8 +614,12 @@ var ajaxStream = function ajaxStream(_ref2) {
613
614
  var start = parsedData.message.match(startRegex);
614
615
  var end = parsedData.message.match(endRegex);
615
616
  if (start) {
617
+ hasThink = true;
616
618
  var _thinkContent = start[1] ? start[1].trim() : ''; // <think> 标签内的数据
617
619
  info.thinkContent += _thinkContent;
620
+ } else if (hasThink === false) {
621
+ info.content += parsedData.message;
622
+ chunks += parsedData.message;
618
623
  } else {
619
624
  if (end) {
620
625
  finishThink = true;