vue-chat-im 1.1.19-rc.1 → 1.1.19-rc.11
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/chatIM.common.1.js +1 -0
- package/lib/chatIM.common.js +1 -72
- package/lib/chatIM.umd.1.js +1 -0
- package/lib/chatIM.umd.js +1 -72
- package/lib/chatIM.umd.min.1.js +1 -0
- package/lib/chatIM.umd.min.js +1 -72
- package/package.json +12 -5
- package/public/index.html +9 -1
- package/unused-files.json +1 -0
- package/.eslintignore +0 -5
- package/.eslintrc.js +0 -277
- package/.prettierrc.json +0 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-chat-im",
|
|
3
|
-
"version": "1.1.19-rc.
|
|
3
|
+
"version": "1.1.19-rc.11",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "lib/chatIM.umd.min.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,12 +9,10 @@
|
|
|
9
9
|
"lint": "vue-cli-service lint",
|
|
10
10
|
"lib": "node --max_old_space_size=8192 node_modules/@vue/cli-service/bin/vue-cli-service.js build --target lib --name chatIM --dest lib src/mains.js"
|
|
11
11
|
},
|
|
12
|
-
"dependencies": {},
|
|
13
12
|
"devDependencies": {
|
|
14
13
|
"@vue/cli-plugin-babel": "~4.5.0",
|
|
15
14
|
"@vue/cli-plugin-eslint": "~4.5.0",
|
|
16
15
|
"@vue/cli-service": "~4.5.0",
|
|
17
|
-
"ali-oss": "^6.16.0",
|
|
18
16
|
"axios": "^0.19.2",
|
|
19
17
|
"babel-eslint": "^10.1.0",
|
|
20
18
|
"babel-plugin-component": "^1.1.1",
|
|
@@ -23,11 +21,15 @@
|
|
|
23
21
|
"element-ui": "^2.14.1",
|
|
24
22
|
"eslint": "^6.7.2",
|
|
25
23
|
"eslint-plugin-vue": "^6.2.2",
|
|
24
|
+
"html-webpack-plugin": "^3.2.0",
|
|
26
25
|
"js-cookie": "^2.2.0",
|
|
27
26
|
"node-sass": "^5.0.0",
|
|
27
|
+
"obs-upload": "^1.0.4-alpha.0",
|
|
28
28
|
"sass-loader": "^10.1.0",
|
|
29
29
|
"snowflake-id": "^1.1.0",
|
|
30
|
+
"uglifyjs-webpack-plugin": "^2.2.0",
|
|
30
31
|
"url-loader": "^4.1.1",
|
|
32
|
+
"useless-files-webpack-plugin": "^1.0.1",
|
|
31
33
|
"v-viewer": "^1.4.2",
|
|
32
34
|
"vue": "^2.6.11",
|
|
33
35
|
"vue-template-compiler": "^2.6.11",
|
|
@@ -52,5 +54,10 @@
|
|
|
52
54
|
"> 1%",
|
|
53
55
|
"last 2 versions",
|
|
54
56
|
"not dead"
|
|
55
|
-
]
|
|
56
|
-
|
|
57
|
+
],
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"image-webpack-loader": "^8.1.0",
|
|
60
|
+
"print-js": "^1.6.0",
|
|
61
|
+
"webpack-bundle-analyzer": "^4.8.0"
|
|
62
|
+
}
|
|
63
|
+
}
|
package/public/index.html
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
* @Author: 高瑞廷 2419056691@qq.com
|
|
3
|
+
* @Date: 2021-07-09 15:52:53
|
|
4
|
+
* @LastEditors: 高瑞廷 2419056691@qq.com
|
|
5
|
+
* @LastEditTime: 2023-03-09 16:01:52
|
|
6
|
+
* @FilePath: \vue-chat-im\public\index.html
|
|
7
|
+
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
+
-->
|
|
1
9
|
<!DOCTYPE html>
|
|
2
10
|
<html lang="">
|
|
3
11
|
<head>
|
|
@@ -15,4 +23,4 @@
|
|
|
15
23
|
<div id="app"></div>
|
|
16
24
|
<!-- built files will be auto injected -->
|
|
17
25
|
</body>
|
|
18
|
-
</html>
|
|
26
|
+
</html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
package/.eslintignore
DELETED
package/.eslintrc.js
DELETED
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
parserOptions: {
|
|
4
|
-
parser: 'babel-eslint',
|
|
5
|
-
sourceType: 'module'
|
|
6
|
-
},
|
|
7
|
-
env: {
|
|
8
|
-
browser: true,
|
|
9
|
-
node: true,
|
|
10
|
-
es6: true
|
|
11
|
-
},
|
|
12
|
-
extends: ['plugin:vue/recommended', 'eslint:recommended'],
|
|
13
|
-
|
|
14
|
-
rules: {
|
|
15
|
-
'vue/max-attributes-per-line': [
|
|
16
|
-
2,
|
|
17
|
-
{
|
|
18
|
-
singleline: 10,
|
|
19
|
-
multiline: {
|
|
20
|
-
max: 1,
|
|
21
|
-
allowFirstLine: false
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
'vue/singleline-html-element-content-newline': 'off',
|
|
26
|
-
'vue/multiline-html-element-content-newline': 'off',
|
|
27
|
-
'vue/name-property-casing': ['error', 'PascalCase'],
|
|
28
|
-
'vue/no-v-html': 'off',
|
|
29
|
-
'vue/html-self-closing': [
|
|
30
|
-
'error',
|
|
31
|
-
{
|
|
32
|
-
html: {
|
|
33
|
-
void: 'always',
|
|
34
|
-
normal: 'any',
|
|
35
|
-
component: 'any'
|
|
36
|
-
},
|
|
37
|
-
svg: 'always',
|
|
38
|
-
math: 'always'
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
'accessor-pairs': 2,
|
|
42
|
-
'arrow-spacing': [
|
|
43
|
-
2,
|
|
44
|
-
{
|
|
45
|
-
before: true,
|
|
46
|
-
after: true
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
'block-spacing': [2, 'always'],
|
|
50
|
-
'brace-style': [
|
|
51
|
-
2,
|
|
52
|
-
'1tbs',
|
|
53
|
-
{
|
|
54
|
-
allowSingleLine: true
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
camelcase: [
|
|
58
|
-
0,
|
|
59
|
-
{
|
|
60
|
-
properties: 'always'
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
'comma-dangle': [2, 'never'],
|
|
64
|
-
'comma-spacing': [
|
|
65
|
-
2,
|
|
66
|
-
{
|
|
67
|
-
before: false,
|
|
68
|
-
after: true
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
'comma-style': [2, 'last'],
|
|
72
|
-
'constructor-super': 2,
|
|
73
|
-
curly: [2, 'multi-line'],
|
|
74
|
-
'dot-location': [2, 'property'],
|
|
75
|
-
'eol-last': 2,
|
|
76
|
-
eqeqeq: ['error', 'always', { null: 'ignore' }],
|
|
77
|
-
'generator-star-spacing': [
|
|
78
|
-
2,
|
|
79
|
-
{
|
|
80
|
-
before: true,
|
|
81
|
-
after: true
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
'handle-callback-err': [2, '^(err|error)$'],
|
|
85
|
-
indent: [
|
|
86
|
-
2,
|
|
87
|
-
2,
|
|
88
|
-
{
|
|
89
|
-
SwitchCase: 1
|
|
90
|
-
}
|
|
91
|
-
],
|
|
92
|
-
'jsx-quotes': [2, 'prefer-single'],
|
|
93
|
-
'key-spacing': [
|
|
94
|
-
2,
|
|
95
|
-
{
|
|
96
|
-
beforeColon: false,
|
|
97
|
-
afterColon: true
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
'keyword-spacing': [
|
|
101
|
-
2,
|
|
102
|
-
{
|
|
103
|
-
before: true,
|
|
104
|
-
after: true
|
|
105
|
-
}
|
|
106
|
-
],
|
|
107
|
-
'new-cap': [
|
|
108
|
-
2,
|
|
109
|
-
{
|
|
110
|
-
newIsCap: true,
|
|
111
|
-
capIsNew: false
|
|
112
|
-
}
|
|
113
|
-
],
|
|
114
|
-
'new-parens': 2,
|
|
115
|
-
'no-array-constructor': 2,
|
|
116
|
-
'no-caller': 2,
|
|
117
|
-
'no-console': 'off',
|
|
118
|
-
'no-class-assign': 2,
|
|
119
|
-
'no-cond-assign': 2,
|
|
120
|
-
'no-const-assign': 2,
|
|
121
|
-
'no-control-regex': 0,
|
|
122
|
-
'no-delete-var': 2,
|
|
123
|
-
'no-dupe-args': 2,
|
|
124
|
-
'no-dupe-class-members': 2,
|
|
125
|
-
'no-dupe-keys': 2,
|
|
126
|
-
'no-duplicate-case': 2,
|
|
127
|
-
'no-empty-character-class': 2,
|
|
128
|
-
'no-empty-pattern': 2,
|
|
129
|
-
'no-eval': 2,
|
|
130
|
-
'no-ex-assign': 2,
|
|
131
|
-
'no-extend-native': 2,
|
|
132
|
-
'no-extra-bind': 2,
|
|
133
|
-
'no-extra-boolean-cast': 2,
|
|
134
|
-
'no-extra-parens': [2, 'functions'],
|
|
135
|
-
'no-fallthrough': 2,
|
|
136
|
-
'no-floating-decimal': 2,
|
|
137
|
-
'no-func-assign': 2,
|
|
138
|
-
'no-implied-eval': 2,
|
|
139
|
-
'no-inner-declarations': [2, 'functions'],
|
|
140
|
-
'no-invalid-regexp': 2,
|
|
141
|
-
'no-irregular-whitespace': 2,
|
|
142
|
-
'no-iterator': 2,
|
|
143
|
-
'no-label-var': 2,
|
|
144
|
-
'no-labels': [
|
|
145
|
-
2,
|
|
146
|
-
{
|
|
147
|
-
allowLoop: false,
|
|
148
|
-
allowSwitch: false
|
|
149
|
-
}
|
|
150
|
-
],
|
|
151
|
-
'no-lone-blocks': 2,
|
|
152
|
-
'no-mixed-spaces-and-tabs': 2,
|
|
153
|
-
'no-multi-spaces': 2,
|
|
154
|
-
'no-multi-str': 2,
|
|
155
|
-
'no-multiple-empty-lines': [
|
|
156
|
-
2,
|
|
157
|
-
{
|
|
158
|
-
max: 1
|
|
159
|
-
}
|
|
160
|
-
],
|
|
161
|
-
'no-native-reassign': 2,
|
|
162
|
-
'no-negated-in-lhs': 2,
|
|
163
|
-
'no-new-object': 2,
|
|
164
|
-
'no-new-require': 2,
|
|
165
|
-
'no-new-symbol': 2,
|
|
166
|
-
'no-new-wrappers': 2,
|
|
167
|
-
'no-obj-calls': 2,
|
|
168
|
-
'no-octal': 2,
|
|
169
|
-
'no-octal-escape': 2,
|
|
170
|
-
'no-path-concat': 2,
|
|
171
|
-
'no-proto': 2,
|
|
172
|
-
'no-redeclare': 2,
|
|
173
|
-
'no-regex-spaces': 2,
|
|
174
|
-
'no-return-assign': [2, 'except-parens'],
|
|
175
|
-
'no-self-assign': 2,
|
|
176
|
-
'no-self-compare': 2,
|
|
177
|
-
'no-sequences': 2,
|
|
178
|
-
'no-shadow-restricted-names': 2,
|
|
179
|
-
'no-spaced-func': 2,
|
|
180
|
-
'no-sparse-arrays': 2,
|
|
181
|
-
'no-this-before-super': 2,
|
|
182
|
-
'no-throw-literal': 2,
|
|
183
|
-
'no-trailing-spaces': 2,
|
|
184
|
-
'no-undef': 2,
|
|
185
|
-
'no-undef-init': 2,
|
|
186
|
-
'no-unexpected-multiline': 2,
|
|
187
|
-
'no-unmodified-loop-condition': 2,
|
|
188
|
-
'no-unneeded-ternary': [
|
|
189
|
-
2,
|
|
190
|
-
{
|
|
191
|
-
defaultAssignment: false
|
|
192
|
-
}
|
|
193
|
-
],
|
|
194
|
-
'no-unreachable': 2,
|
|
195
|
-
'no-unsafe-finally': 2,
|
|
196
|
-
'no-unused-vars': [
|
|
197
|
-
2,
|
|
198
|
-
{
|
|
199
|
-
vars: 'all',
|
|
200
|
-
args: 'none'
|
|
201
|
-
}
|
|
202
|
-
],
|
|
203
|
-
'no-useless-call': 2,
|
|
204
|
-
'no-useless-computed-key': 2,
|
|
205
|
-
'no-useless-constructor': 2,
|
|
206
|
-
'no-useless-escape': 0,
|
|
207
|
-
'no-whitespace-before-property': 2,
|
|
208
|
-
'no-with': 2,
|
|
209
|
-
'one-var': [
|
|
210
|
-
2,
|
|
211
|
-
{
|
|
212
|
-
initialized: 'never'
|
|
213
|
-
}
|
|
214
|
-
],
|
|
215
|
-
'operator-linebreak': [
|
|
216
|
-
2,
|
|
217
|
-
'after',
|
|
218
|
-
{
|
|
219
|
-
overrides: {
|
|
220
|
-
'?': 'before',
|
|
221
|
-
':': 'before'
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
],
|
|
225
|
-
'padded-blocks': [2, 'never'],
|
|
226
|
-
quotes: [
|
|
227
|
-
2,
|
|
228
|
-
'single',
|
|
229
|
-
{
|
|
230
|
-
avoidEscape: true,
|
|
231
|
-
allowTemplateLiterals: true
|
|
232
|
-
}
|
|
233
|
-
],
|
|
234
|
-
semi: [2, 'never'],
|
|
235
|
-
'semi-spacing': [
|
|
236
|
-
2,
|
|
237
|
-
{
|
|
238
|
-
before: false,
|
|
239
|
-
after: true
|
|
240
|
-
}
|
|
241
|
-
],
|
|
242
|
-
'space-before-blocks': [2, 'always'],
|
|
243
|
-
'space-before-function-paren': [2, { anonymous: 'ignore', named: 'never', asyncArrow: 'never' }],
|
|
244
|
-
'space-in-parens': [2, 'never'],
|
|
245
|
-
'space-infix-ops': 2,
|
|
246
|
-
'space-unary-ops': [
|
|
247
|
-
2,
|
|
248
|
-
{
|
|
249
|
-
words: true,
|
|
250
|
-
nonwords: false
|
|
251
|
-
}
|
|
252
|
-
],
|
|
253
|
-
'spaced-comment': [
|
|
254
|
-
2,
|
|
255
|
-
'always',
|
|
256
|
-
{
|
|
257
|
-
markers: ['global', 'globals', 'eslint', 'eslint-disable', '*package', '!', ',']
|
|
258
|
-
}
|
|
259
|
-
],
|
|
260
|
-
'template-curly-spacing': [2, 'never'],
|
|
261
|
-
'use-isnan': 2,
|
|
262
|
-
'valid-typeof': 2,
|
|
263
|
-
'wrap-iife': [2, 'any'],
|
|
264
|
-
'yield-star-spacing': [2, 'both'],
|
|
265
|
-
yoda: [2, 'never'],
|
|
266
|
-
'prefer-const': 2,
|
|
267
|
-
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
|
|
268
|
-
'object-curly-spacing': [
|
|
269
|
-
2,
|
|
270
|
-
'always',
|
|
271
|
-
{
|
|
272
|
-
objectsInObjects: false
|
|
273
|
-
}
|
|
274
|
-
],
|
|
275
|
-
'array-bracket-spacing': [2, 'never']
|
|
276
|
-
}
|
|
277
|
-
}
|
package/.prettierrc.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"printWidth": 150,
|
|
3
|
-
"tabWidth": 2,
|
|
4
|
-
"useTabs": false,
|
|
5
|
-
"semi": false,
|
|
6
|
-
"singleQuote": true,
|
|
7
|
-
"arrowParens": "avoid",
|
|
8
|
-
"bracketSpacing": true,
|
|
9
|
-
"endOfLine": "auto",
|
|
10
|
-
"eslintIntegration": true,
|
|
11
|
-
"htmlWhitespaceSensitivity": "ignore",
|
|
12
|
-
"trailingComma": "none"
|
|
13
|
-
}
|