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.
- package/lib/button-group.js +5 -0
- package/lib/button.js +5 -0
- package/lib/checkbox-group.js +5 -0
- package/lib/data-table-form.js +5 -0
- package/lib/data-table.js +11 -6
- package/lib/date-picker.js +5 -0
- package/lib/dialog.js +5 -0
- package/lib/eoss-ui.common.js +831 -433
- package/lib/flow-group.js +5 -0
- package/lib/flow-list.js +5 -0
- package/lib/flow.js +37 -35
- package/lib/form.js +5 -0
- package/lib/handle-user.js +5 -0
- package/lib/handler.js +152 -76
- package/lib/icon.js +5 -0
- package/lib/icons.js +1 -1
- package/lib/index.js +1 -1
- package/lib/input-number.js +5 -0
- package/lib/input.js +5 -0
- package/lib/login.js +248 -160
- package/lib/main.js +329 -113
- package/lib/nav.js +5 -0
- package/lib/page.js +5 -0
- package/lib/pagination.js +5 -0
- package/lib/player.js +5 -0
- package/lib/qr-code.js +5 -0
- package/lib/radio-group.js +5 -0
- package/lib/retrial-auth.js +5 -0
- package/lib/select-ganged.js +5 -0
- package/lib/select.js +5 -0
- package/lib/selector-panel.js +7 -3
- package/lib/selector.js +42 -5
- package/lib/sizer.js +5 -0
- package/lib/steps.js +5 -0
- package/lib/switch.js +5 -0
- package/lib/table-form.js +5 -0
- package/lib/tabs.js +5 -0
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/icon.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/menu.css +1 -1
- package/lib/theme-chalk/simplicity.css +1 -1
- package/lib/theme-chalk/sizer.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/tips.js +5 -0
- package/lib/tree-group.js +5 -0
- package/lib/tree.js +5 -0
- package/lib/upload.js +5 -0
- package/lib/utils/util.js +5 -0
- package/lib/wujie.js +5 -0
- package/lib/wxlogin.js +5 -0
- package/package.json +1 -1
- package/packages/.DS_Store +0 -0
- package/packages/data-table/.DS_Store +0 -0
- package/packages/data-table/src/main.vue +3 -1
- package/packages/flow/.DS_Store +0 -0
- package/packages/flow/src/component/taskUnionExamine.vue +34 -26
- package/packages/flow/src/main.vue +0 -2
- package/packages/flow/src/processForm.vue +29 -18
- package/packages/flow/src/reset.vue +0 -2
- package/packages/handler/src/main.vue +163 -77
- package/packages/icons/src/icon.json +1 -1
- package/packages/login/.DS_Store +0 -0
- package/packages/login/src/main.vue +61 -18
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/index.vue +32 -3
- package/packages/main/src/public/search.vue +14 -7
- package/packages/main/src/simplicity/handler.vue +64 -26
- package/packages/main/src/simplicity/index.vue +80 -26
- package/packages/selector/.DS_Store +0 -0
- package/packages/selector/src/main.vue +17 -5
- package/packages/selector-panel/.DS_Store +0 -0
- package/packages/selector-panel/src/main.vue +0 -1
- package/packages/theme-chalk/lib/base.css +1 -1
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/icon.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/menu.css +1 -1
- package/packages/theme-chalk/lib/simplicity.css +1 -1
- package/packages/theme-chalk/lib/sizer.css +1 -1
- package/packages/theme-chalk/lib/upload.css +1 -1
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/src/icon.scss +29 -0
- package/packages/theme-chalk/src/login.scss +8 -0
- package/packages/theme-chalk/src/main.scss +7 -0
- package/src/.DS_Store +0 -0
- package/src/index.js +1 -1
- package/src/utils/util.js +5 -0
package/lib/input-number.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;
|
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;
|