askbot-dragon 1.7.49-beta → 1.7.52-beta

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 (95) hide show
  1. package/README.md +27 -27
  2. package/babel.config.js +6 -6
  3. package/dragon.iml +7 -7
  4. package/package.json +56 -56
  5. package/public/index.html +73 -75
  6. package/src/App.vue +31 -31
  7. package/src/api/index.js +1 -1
  8. package/src/api/mock.http +2 -2
  9. package/src/api/requestUrl.js +185 -185
  10. package/src/assets/js/AliyunlssUtil.js +141 -117
  11. package/src/assets/js/Base64Util.js +22 -22
  12. package/src/assets/js/common.js +252 -252
  13. package/src/assets/js/hammer.js +100 -89
  14. package/src/assets/js/script.js +36 -36
  15. package/src/assets/less/common.css +6773 -6773
  16. package/src/assets/less/converSationContainer/common.less +199 -192
  17. package/src/assets/less/converSationContainer/converSatonContainer.less +493 -493
  18. package/src/assets/less/iconfont.css +37 -37
  19. package/src/assets/less/ticketMessage.less +294 -294
  20. package/src/components/ActionAlertIframe.vue +177 -154
  21. package/src/components/AiGuide.vue +438 -471
  22. package/src/components/AnswerDocknowledge.vue +1100 -1088
  23. package/src/components/AnswerVoice.vue +285 -285
  24. package/src/components/AskIFrame.vue +15 -15
  25. package/src/components/ConversationContainer.vue +10766 -10873
  26. package/src/components/FileType.vue +86 -86
  27. package/src/components/Message.vue +27 -27
  28. package/src/components/MyEditor.vue +342 -341
  29. package/src/components/QwFeedback.vue +301 -301
  30. package/src/components/actionSatisfaction.vue +107 -107
  31. package/src/components/actionSendToBot.vue +62 -62
  32. package/src/components/answerDissatisfaction.vue +62 -62
  33. package/src/components/answerRadio.vue +211 -213
  34. package/src/components/ask-components/DissatisfactionOptions.vue +57 -57
  35. package/src/components/ask-components/Msgloading.vue +37 -37
  36. package/src/components/ask-components/SatisfactionV2.vue +15 -15
  37. package/src/components/askVideo.vue +162 -139
  38. package/src/components/assetDetails.vue +378 -378
  39. package/src/components/assetMessage.vue +228 -226
  40. package/src/components/associationIntention.vue +378 -374
  41. package/src/components/attachmentPreview.vue +90 -90
  42. package/src/components/botActionSatisfactor.vue +68 -68
  43. package/src/components/chatContent.vue +513 -513
  44. package/src/components/feedBack.vue +136 -136
  45. package/src/components/fielListView.vue +351 -351
  46. package/src/components/file/AliyunOssComponents.vue +108 -108
  47. package/src/components/formTemplate.vue +3501 -3497
  48. package/src/components/imgView.vue +31 -31
  49. package/src/components/intelligentSummary.vue +231 -229
  50. package/src/components/kkview.vue +1138 -1138
  51. package/src/components/loadingProcess.vue +164 -164
  52. package/src/components/markDownText.vue +197 -197
  53. package/src/components/message/ActionAlertIframe.vue +112 -112
  54. package/src/components/message/ShopMessage.vue +164 -164
  55. package/src/components/message/TextMessage.vue +928 -924
  56. package/src/components/message/TicketMessage.vue +201 -201
  57. package/src/components/message/swiper/index.js +4 -4
  58. package/src/components/message/swiper/ticketSwiper.vue +503 -503
  59. package/src/components/message/swiper/ticketSwiperItem.vue +61 -61
  60. package/src/components/msgLoading.vue +231 -231
  61. package/src/components/myPopup.vue +70 -70
  62. package/src/components/newPdfPosition.vue +878 -0
  63. package/src/components/pagination.vue +129 -0
  64. package/src/components/pdfPosition.vue +1514 -1342
  65. package/src/components/popup.vue +227 -227
  66. package/src/components/preview/docView.vue +112 -0
  67. package/src/components/preview/excelView.vue +179 -0
  68. package/src/components/preview/newPositionPreview.vue +370 -0
  69. package/src/components/preview/pdfView.vue +824 -0
  70. package/src/components/previewDoc.vue +251 -247
  71. package/src/components/previewPdf.vue +1093 -774
  72. package/src/components/receiverMessagePlatform.vue +65 -66
  73. package/src/components/recommend.vue +80 -80
  74. package/src/components/selector/hOption.vue +20 -20
  75. package/src/components/selector/hSelector.vue +199 -199
  76. package/src/components/selector/hWrapper.vue +216 -216
  77. package/src/components/senderMessagePlatform.vue +50 -55
  78. package/src/components/source/BotMessage.vue +24 -24
  79. package/src/components/source/CustomMessage.vue +24 -24
  80. package/src/components/test.vue +260 -260
  81. package/src/components/tree.vue +307 -307
  82. package/src/components/utils/AliyunIssUtil.js +103 -103
  83. package/src/components/utils/ckeditor.js +185 -185
  84. package/src/components/utils/format_date.js +25 -25
  85. package/src/components/utils/index.js +6 -6
  86. package/src/components/utils/math_utils.js +29 -29
  87. package/src/components/voiceComponent.vue +119 -119
  88. package/src/components/welcomeKnowledgeFile.vue +344 -340
  89. package/src/components/welcomeLlmCard.vue +144 -140
  90. package/src/components/welcomeSuggest.vue +97 -97
  91. package/src/locales/cn.json +71 -61
  92. package/src/locales/en.json +73 -62
  93. package/src/locales/jp.json +73 -0
  94. package/src/main.js +75 -76
  95. package/vue.config.js +54 -54
@@ -1,193 +1,200 @@
1
- @system_bgc_red: #409EFF;
2
- @system_bgc_black: #333333;
3
- @system_bgc_white: white;
4
-
5
- @system_fontcolor_red: #409EFF;
6
- @system_fontcolor_main: #303133;
7
- @system_fontcolor_general: #606266;
8
- @system_fontcolor_sub: #909399;
9
- @system_fontcolor_placeholder: #C0C4CC;
10
- @system_fontcolor_danger: #F56C6C;
11
-
12
- @system_bordercolor_red: #409EFF;
13
- @system_bordercolor_1: #DCDFE6;
14
- @system_bordercolor_2: #E4E7ED;
15
- @system_bordercolor_3: #EBEEF5;
16
- @system_bordercolor_4: #F2F6FC;
17
- @system_bordercolor_danger:#F56C6C;
18
-
19
- @entity-name-color: #409EFF;
20
- @system_com_width : calc(100vw - 126px);
21
-
22
- // 分页位置
23
- .pagination-position {
24
- text-align: center;
25
- padding: 32px;
26
- }
27
-
28
- // 滚动条样式
29
- ::-webkit-scrollbar {
30
- width: 6px;
31
- height: 10px;
32
- background-color:@system_bordercolor_4;
33
- }
34
- ::-webkit-scrollbar-thumb {
35
- border-radius: 6px;
36
- background-color: #bfceec !important;
37
- }
38
-
39
- // 弹窗body
40
- .el-dialog__body{
41
- padding: 16px !important;
42
- }
43
-
44
- // input placeholder 字体样式规范
45
- input::-webkit-input-placeholder {
46
- color: #ccc !important;
47
- font-family: "微软雅黑";
48
- }
49
- input::-moz-input-placeholder {
50
- color: #ccc !important;
51
- font-family: "微软雅黑";
52
- }
53
- input::-ms-input-placeholder {
54
- color: #ccc !important;
55
- font-family: "微软雅黑";
56
- }
57
- input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
58
- background-color: rgb(250, 255, 189);
59
- background-image: none;
60
- color: rgb(0, 0, 0);
61
- }
62
-
63
- textarea::-webkit-input-placeholder {
64
- color: #ccc !important;
65
- font-size: 14px;
66
- font-family: "微软雅黑";
67
- }
68
- textarea::-moz-input-placeholder {
69
- color: #ccc !important;
70
- font-size: 14px;
71
- font-family: "微软雅黑";
72
- }
73
- textarea::-ms-input-placeholder {
74
- color: #ccc !important;
75
- font-size: 14px;
76
- font-family: "微软雅黑";
77
- }
78
-
79
- textarea {
80
- /* color: @system_fontcolor_general !important;
81
- font-size: 14px;*/
82
- font-family: "微软雅黑";
83
- }
84
-
85
- h1,h2,h3,h4,h5,h6 {
86
- color: @system_fontcolor_general;
87
- text-align: left;
88
- }
89
-
90
- // 内容头部
91
- .content-header{
92
- padding: 8px 16px;
93
- background:#f5f8fb;
94
- box-shadow: 0px 2px 10px -5px #d1dfec;
95
- border-bottom: 1px solid #d1dfec;
96
- .leftInfo {
97
- flex: auto;
98
- height: 38px;
99
- line-height: 38px;
100
- display: flex;
101
- justify-content: flex-start;
102
- .headerName {
103
- font-size: 16px;
104
- color: @system_fontcolor_main;
105
- margin-left: 16px;
106
- }
107
- .gotoPage {
108
- flex: none;
109
- width: 120px;
110
- font-size: 12px;
111
- color: @system_fontcolor_sub;
112
- text-align: left;
113
- }
114
- .header-r-box{
115
- width: 280px;
116
- flex: auto;
117
- text-align: right;
118
- }
119
- }
120
- }
121
-
122
- // 左侧二级导航
123
- #left-sub-nav{
124
- .el-tabs__nav{
125
- width: 150px;
126
- border: none;
127
- .el-tabs__item{
128
- text-align: center !important;
129
- height: 48px;
130
- line-height: 48px;
131
- border: none;
132
- }
133
- }
134
- .el-tabs__nav-scroll{
135
- background-color: @system_bgc_white;
136
- height: calc(~"100vh - 60px");
137
- }
138
- }
139
-
140
- // 简洁类名
141
- .tar{
142
- text-align: right;
143
- }
144
- .tac{
145
- text-align: center;
146
- }
147
- .tal{
148
- text-align: left;
149
- }
150
-
151
- .handle-icon{
152
- display: inline-block;
153
- margin-right: 8px;
154
- color: @system_fontcolor_red;
155
- cursor: pointer;
156
- }
157
- //弹出抽屉Header样式
158
- .el-drawer__header{
159
- font-size: 18px !important;
160
- color: #303133;
161
- }
162
-
163
- .el-form-item__label{
164
- text-align: left !important;
165
- }
166
-
167
- /*.association-intention{
168
- max-width: @system_com_width;
169
- }
170
- .action-satisfaction{
171
- max-width: @system_com_width;
172
- }
173
- .media-body-loading{
174
- max-width: @system_com_width;
175
- }
176
- .bot-action-satisfator{
177
- max-width: @system_com_width;
178
- }
179
- .answer-dissatisfaction{
180
- max-width: @system_com_width;
181
- }
182
- #answer-radio{
183
- max-width: @system_com_width;
184
- }
185
- .action-send-to-bot{
186
- max-width: @system_com_width;
187
- }*/
188
- // .el-drawer:focus {
189
- // border: solid 5px rgba(0,0,0,1) !important;
190
- // }
191
- // .el-drawer__body:focus{
192
- // border: solid 5px rgba(0,0,0,1) !important;
1
+ @system_bgc_red: #409EFF;
2
+ @system_bgc_black: #333333;
3
+ @system_bgc_white: white;
4
+
5
+ @system_fontcolor_red: #409EFF;
6
+ @system_fontcolor_main: #303133;
7
+ @system_fontcolor_general: #606266;
8
+ @system_fontcolor_sub: #909399;
9
+ @system_fontcolor_placeholder: #C0C4CC;
10
+ @system_fontcolor_danger: #F56C6C;
11
+
12
+ @system_bordercolor_red: #409EFF;
13
+ @system_bordercolor_1: #DCDFE6;
14
+ @system_bordercolor_2: #E4E7ED;
15
+ @system_bordercolor_3: #EBEEF5;
16
+ @system_bordercolor_4: #F2F6FC;
17
+ @system_bordercolor_danger:#F56C6C;
18
+
19
+ @entity-name-color: #409EFF;
20
+ @system_com_width : calc(100vw - 126px);
21
+
22
+ // 分页位置
23
+ .pagination-position {
24
+ text-align: center;
25
+ padding: 32px;
26
+ }
27
+
28
+ // 滚动条样式
29
+ ::-webkit-scrollbar {
30
+ width: 6px;
31
+ height: 10px;
32
+ background-color:@system_bordercolor_4;
33
+ }
34
+ ::-webkit-scrollbar-thumb {
35
+ border-radius: 6px;
36
+ background-color: #bfceec !important;
37
+ }
38
+ @media screen and (max-width: 767px){
39
+ ::-webkit-scrollbar {
40
+ width: 0;
41
+ height: 0;
42
+ background-color:@system_bordercolor_4;
43
+ }
44
+ }
45
+
46
+ // 弹窗body
47
+ .el-dialog__body{
48
+ padding: 16px !important;
49
+ }
50
+
51
+ // input placeholder 字体样式规范
52
+ input::-webkit-input-placeholder {
53
+ color: #ccc !important;
54
+ font-family: "微软雅黑";
55
+ }
56
+ input::-moz-input-placeholder {
57
+ color: #ccc !important;
58
+ font-family: "微软雅黑";
59
+ }
60
+ input::-ms-input-placeholder {
61
+ color: #ccc !important;
62
+ font-family: "微软雅黑";
63
+ }
64
+ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
65
+ background-color: rgb(250, 255, 189);
66
+ background-image: none;
67
+ color: rgb(0, 0, 0);
68
+ }
69
+
70
+ textarea::-webkit-input-placeholder {
71
+ color: #ccc !important;
72
+ font-size: 14px;
73
+ font-family: "微软雅黑";
74
+ }
75
+ textarea::-moz-input-placeholder {
76
+ color: #ccc !important;
77
+ font-size: 14px;
78
+ font-family: "微软雅黑";
79
+ }
80
+ textarea::-ms-input-placeholder {
81
+ color: #ccc !important;
82
+ font-size: 14px;
83
+ font-family: "微软雅黑";
84
+ }
85
+
86
+ textarea {
87
+ /* color: @system_fontcolor_general !important;
88
+ font-size: 14px;*/
89
+ font-family: "微软雅黑";
90
+ }
91
+
92
+ h1,h2,h3,h4,h5,h6 {
93
+ color: @system_fontcolor_general;
94
+ text-align: left;
95
+ }
96
+
97
+ // 内容头部
98
+ .content-header{
99
+ padding: 8px 16px;
100
+ background:#f5f8fb;
101
+ box-shadow: 0px 2px 10px -5px #d1dfec;
102
+ border-bottom: 1px solid #d1dfec;
103
+ .leftInfo {
104
+ flex: auto;
105
+ height: 38px;
106
+ line-height: 38px;
107
+ display: flex;
108
+ justify-content: flex-start;
109
+ .headerName {
110
+ font-size: 16px;
111
+ color: @system_fontcolor_main;
112
+ margin-left: 16px;
113
+ }
114
+ .gotoPage {
115
+ flex: none;
116
+ width: 120px;
117
+ font-size: 12px;
118
+ color: @system_fontcolor_sub;
119
+ text-align: left;
120
+ }
121
+ .header-r-box{
122
+ width: 280px;
123
+ flex: auto;
124
+ text-align: right;
125
+ }
126
+ }
127
+ }
128
+
129
+ // 左侧二级导航
130
+ #left-sub-nav{
131
+ .el-tabs__nav{
132
+ width: 150px;
133
+ border: none;
134
+ .el-tabs__item{
135
+ text-align: center !important;
136
+ height: 48px;
137
+ line-height: 48px;
138
+ border: none;
139
+ }
140
+ }
141
+ .el-tabs__nav-scroll{
142
+ background-color: @system_bgc_white;
143
+ height: calc(~"100vh - 60px");
144
+ }
145
+ }
146
+
147
+ // 简洁类名
148
+ .tar{
149
+ text-align: right;
150
+ }
151
+ .tac{
152
+ text-align: center;
153
+ }
154
+ .tal{
155
+ text-align: left;
156
+ }
157
+
158
+ .handle-icon{
159
+ display: inline-block;
160
+ margin-right: 8px;
161
+ color: @system_fontcolor_red;
162
+ cursor: pointer;
163
+ }
164
+ //弹出抽屉Header样式
165
+ .el-drawer__header{
166
+ font-size: 18px !important;
167
+ color: #303133;
168
+ }
169
+
170
+ .el-form-item__label{
171
+ text-align: left !important;
172
+ }
173
+
174
+ /*.association-intention{
175
+ max-width: @system_com_width;
176
+ }
177
+ .action-satisfaction{
178
+ max-width: @system_com_width;
179
+ }
180
+ .media-body-loading{
181
+ max-width: @system_com_width;
182
+ }
183
+ .bot-action-satisfator{
184
+ max-width: @system_com_width;
185
+ }
186
+ .answer-dissatisfaction{
187
+ max-width: @system_com_width;
188
+ }
189
+ #answer-radio{
190
+ max-width: @system_com_width;
191
+ }
192
+ .action-send-to-bot{
193
+ max-width: @system_com_width;
194
+ }*/
195
+ // .el-drawer:focus {
196
+ // border: solid 5px rgba(0,0,0,1) !important;
197
+ // }
198
+ // .el-drawer__body:focus{
199
+ // border: solid 5px rgba(0,0,0,1) !important;
193
200
  // }