askbot-dragon 0.6.19 → 0.6.23

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 (45) hide show
  1. package/README.md +27 -27
  2. package/babel.config.js +5 -5
  3. package/dragon.iml +7 -7
  4. package/package.json +54 -54
  5. package/public/index.html +27 -26
  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/less/common.css +6760 -6760
  11. package/src/assets/less/converSationContainer/common.less +4751 -4751
  12. package/src/assets/less/converSationContainer/converSatonContainer.less +492 -492
  13. package/src/assets/less/ticketMessage.less +319 -319
  14. package/src/components/ActionAlertIframe.vue +117 -117
  15. package/src/components/AskIFrame.vue +15 -15
  16. package/src/components/ConversationContainer.vue +1388 -1388
  17. package/src/components/FileType.vue +88 -88
  18. package/src/components/Message.vue +27 -27
  19. package/src/components/ask-components/DissatisfactionOptions.vue +57 -57
  20. package/src/components/ask-components/Msgloading.vue +37 -37
  21. package/src/components/ask-components/SatisfactionV2.vue +15 -15
  22. package/src/components/chatContent.vue +512 -512
  23. package/src/components/feedBack.vue +133 -133
  24. package/src/components/file/AliyunOssComponents.vue +109 -109
  25. package/src/components/formTemplate.vue +1901 -1889
  26. package/src/components/message/ActionAlertIframe.vue +116 -116
  27. package/src/components/message/ShopMessage.vue +168 -168
  28. package/src/components/message/TextMessage.vue +895 -895
  29. package/src/components/message/TicketMessage.vue +173 -173
  30. package/src/components/message/swiper/index.js +4 -4
  31. package/src/components/message/swiper/ticketSwiper.vue +530 -530
  32. package/src/components/message/swiper/ticketSwiperItem.vue +61 -61
  33. package/src/components/selector/hOption.vue +20 -20
  34. package/src/components/selector/hSelector.vue +199 -199
  35. package/src/components/selector/hWrapper.vue +216 -216
  36. package/src/components/source/BotMessage.vue +24 -24
  37. package/src/components/source/CustomMessage.vue +24 -24
  38. package/src/components/test.vue +260 -260
  39. package/src/components/utils/AliyunIssUtil.js +72 -72
  40. package/src/components/utils/ckeditor.js +124 -124
  41. package/src/components/utils/format_date.js +18 -18
  42. package/src/components/utils/index.js +6 -6
  43. package/src/components/utils/math_utils.js +15 -15
  44. package/src/main.js +44 -44
  45. package/vue.config.js +34 -28
package/README.md CHANGED
@@ -1,27 +1,27 @@
1
- # dragon
2
-
3
- ## Project setup
4
- ```
5
- npm install
6
- ```
7
-
8
- ### Compiles and hot-reloads for development
9
- ```
10
- npm run serve
11
- ```
12
-
13
- ### Compiles and minifies for production
14
- ```
15
- npm run build
16
- ```
17
-
18
- ### Lints and fixes files
19
- ```
20
- npm run lint
21
- ```
22
-
23
- ### Customize configuration
24
- See [Configuration Reference](https://cli.vuejs.org/config/).
25
-
26
-
27
- ### 消息记录格式定义
1
+ # dragon
2
+
3
+ ## Project setup
4
+ ```
5
+ npm install
6
+ ```
7
+
8
+ ### Compiles and hot-reloads for development
9
+ ```
10
+ npm run serve
11
+ ```
12
+
13
+ ### Compiles and minifies for production
14
+ ```
15
+ npm run build
16
+ ```
17
+
18
+ ### Lints and fixes files
19
+ ```
20
+ npm run lint
21
+ ```
22
+
23
+ ### Customize configuration
24
+ See [Configuration Reference](https://cli.vuejs.org/config/).
25
+
26
+
27
+ ### 消息记录格式定义
package/babel.config.js CHANGED
@@ -1,5 +1,5 @@
1
- module.exports = {
2
- presets: [
3
- '@vue/cli-plugin-babel/preset'
4
- ]
5
- }
1
+ module.exports = {
2
+ presets: [
3
+ '@vue/cli-plugin-babel/preset'
4
+ ]
5
+ }
package/dragon.iml CHANGED
@@ -1,8 +1,8 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager" inherit-compiler-output="true">
4
- <exclude-output />
5
- <content url="file://$MODULE_DIR$" />
6
- <orderEntry type="sourceFolder" forTests="false" />
7
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+ <exclude-output />
5
+ <content url="file://$MODULE_DIR$" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
8
  </module>
package/package.json CHANGED
@@ -1,54 +1,54 @@
1
- {
2
- "name": "askbot-dragon",
3
- "version": "0.6.19",
4
- "scripts": {
5
- "serve": "vue-cli-service serve",
6
- "build": "vue-cli-service build",
7
- "lint": "vue-cli-service lint"
8
- },
9
- "dependencies": {
10
- "@ckeditor/ckeditor5-build-classic": "^29.2.0",
11
- "@ckeditor/ckeditor5-vue": "^1.0.3",
12
- "ali-oss": "^6.2.1",
13
- "core-js": "^3.6.5",
14
- "element-ui": "^2.13.2",
15
- "install": "^0.13.0",
16
- "jquery": "^3.5.1",
17
- "uuid": "^8.3.2",
18
- "vant": "^2.10.14",
19
- "vconsole": "^3.9.1",
20
- "vue": "^2.6.11",
21
- "vue-resource": "^1.5.1",
22
- "vue-video-player": "^5.0.2",
23
- "weixin-js-sdk": "^1.6.0"
24
- },
25
- "devDependencies": {
26
- "@vue/cli-plugin-babel": "~4.5.0",
27
- "@vue/cli-plugin-eslint": "~4.5.0",
28
- "@vue/cli-service": "~4.5.0",
29
- "babel-eslint": "^10.1.0",
30
- "eslint": "^6.7.2",
31
- "eslint-plugin-vue": "^6.2.2",
32
- "less": "^3.12.2",
33
- "less-loader": "^7.0.2",
34
- "vue-template-compiler": "^2.6.11"
35
- },
36
- "eslintConfig": {
37
- "root": true,
38
- "env": {
39
- "node": true
40
- },
41
- "extends": [
42
- "plugin:vue/essential",
43
- "eslint:recommended"
44
- ],
45
- "parserOptions": {
46
- "parser": "babel-eslint"
47
- },
48
- "rules": {}
49
- },
50
- "browserslist": [
51
- "> 1%",
52
- "last 2 versions"
53
- ]
54
- }
1
+ {
2
+ "name": "askbot-dragon",
3
+ "version": "0.6.23",
4
+ "scripts": {
5
+ "serve": "vue-cli-service serve",
6
+ "build": "vue-cli-service build",
7
+ "lint": "vue-cli-service lint"
8
+ },
9
+ "dependencies": {
10
+ "@ckeditor/ckeditor5-vue": "^1.0.3",
11
+ "ali-oss": "^6.2.1",
12
+ "ckeditor": "^4.12.1",
13
+ "core-js": "^3.6.5",
14
+ "element-ui": "^2.13.2",
15
+ "install": "^0.13.0",
16
+ "jquery": "^3.5.1",
17
+ "uuid": "^8.3.2",
18
+ "vant": "^2.10.14",
19
+ "vconsole": "^3.9.1",
20
+ "vue": "^2.6.11",
21
+ "vue-resource": "^1.5.1",
22
+ "vue-video-player": "^5.0.2",
23
+ "weixin-js-sdk": "^1.6.0"
24
+ },
25
+ "devDependencies": {
26
+ "@vue/cli-plugin-babel": "~4.5.0",
27
+ "@vue/cli-plugin-eslint": "~4.5.0",
28
+ "@vue/cli-service": "~4.5.0",
29
+ "babel-eslint": "^10.1.0",
30
+ "eslint": "^6.7.2",
31
+ "eslint-plugin-vue": "^6.2.2",
32
+ "less": "^3.12.2",
33
+ "less-loader": "^7.0.2",
34
+ "vue-template-compiler": "^2.6.11"
35
+ },
36
+ "eslintConfig": {
37
+ "root": true,
38
+ "env": {
39
+ "node": true
40
+ },
41
+ "extends": [
42
+ "plugin:vue/essential",
43
+ "eslint:recommended"
44
+ ],
45
+ "parserOptions": {
46
+ "parser": "babel-eslint"
47
+ },
48
+ "rules": {}
49
+ },
50
+ "browserslist": [
51
+ "> 1%",
52
+ "last 2 versions"
53
+ ]
54
+ }
package/public/index.html CHANGED
@@ -1,26 +1,27 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
- <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
8
- <link rel="icon" href="<%= BASE_URL %>favicon.ico">
9
- <title><%= htmlWebpackPlugin.options.title %></title>
10
- <link href="//at.alicdn.com/t/font_1566110_eump2lzv89s.css"/>
11
- <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
12
- <style>
13
- *{
14
- margin: 0;
15
- padding: 0;
16
- }
17
- </style>
18
- </head>
19
- <body>
20
- <noscript>
21
- <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
22
- </noscript>
23
- <div id="app"></div>
24
- <!-- built files will be auto injected -->
25
- </body>
26
- </html>
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
8
+ <link rel="icon" href="<%= BASE_URL %>favicon.ico">
9
+ <title><%= htmlWebpackPlugin.options.title %></title>
10
+ <link href="//at.alicdn.com/t/font_1566110_eump2lzv89s.css"/>
11
+ <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
12
+ <script src="https://static.guoranbot.com/ckeditor5-build-classic/0.3.7/build/ckeditor.js"></script>
13
+ <style>
14
+ *{
15
+ margin: 0;
16
+ padding: 0;
17
+ }
18
+ </style>
19
+ </head>
20
+ <body>
21
+ <noscript>
22
+ <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
23
+ </noscript>
24
+ <div id="app"></div>
25
+ <!-- built files will be auto injected -->
26
+ </body>
27
+ </html>
package/src/App.vue CHANGED
@@ -1,31 +1,31 @@
1
- <template>
2
- <div id="app">
3
- <ConversationContainer msg="Welcome to Your Vue.js App"/>
4
- </div>
5
- </template>
6
-
7
- <script>
8
- import ConversationContainer from './components/ConversationContainer.vue'
9
-
10
- export default {
11
- name: 'App',
12
- components: {
13
- ConversationContainer
14
- }
15
- }
16
- </script>
17
-
18
- <style>
19
- /*#app {
20
- font-family: Avenir, Helvetica, Arial, sans-serif;
21
- -webkit-font-smoothing: antialiased;
22
- -moz-osx-font-smoothing: grayscale;
23
- text-align: center;
24
- color: #2c3e50;
25
- margin-top: 60px;
26
- }*/
27
- *{
28
- margin: 0;
29
- padding: 0;
30
- }
31
- </style>
1
+ <template>
2
+ <div id="app">
3
+ <ConversationContainer msg="Welcome to Your Vue.js App"/>
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ import ConversationContainer from './components/ConversationContainer.vue'
9
+
10
+ export default {
11
+ name: 'App',
12
+ components: {
13
+ ConversationContainer
14
+ }
15
+ }
16
+ </script>
17
+
18
+ <style>
19
+ /*#app {
20
+ font-family: Avenir, Helvetica, Arial, sans-serif;
21
+ -webkit-font-smoothing: antialiased;
22
+ -moz-osx-font-smoothing: grayscale;
23
+ text-align: center;
24
+ color: #2c3e50;
25
+ margin-top: 60px;
26
+ }*/
27
+ *{
28
+ margin: 0;
29
+ padding: 0;
30
+ }
31
+ </style>
package/src/api/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { requestUrl } from './requestUrl.js';
1
+ import { requestUrl } from './requestUrl.js';
2
2
  export { requestUrl }
package/src/api/mock.http CHANGED
@@ -1,3 +1,3 @@
1
- GET http://192.168.60.45:8080/v1/mock/auth/verify
2
- Accept: */*
1
+ GET http://192.168.60.45:8080/v1/mock/auth/verify
2
+ Accept: */*
3
3
  Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJzZXNzaW9uOnd4IiwianRpIjoiX19tb2NrIiwiaWF0IjoxNTc2NDg5NzUyfQ.iuBg8URK9zQmNhAlYDeT0I4d_EWZMz8106fIIThLH1s