zj-plugin-intelligent 1.2.8 → 1.2.9
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/README.md +126 -2
- package/lib/.gz +0 -0
- package/lib/ZjPluginIntelligent.common.js +57 -53
- package/lib/ZjPluginIntelligent.umd.js +57 -53
- package/lib/ZjPluginIntelligent.umd.min.js +57 -53
- package/lib/demo.html +8 -0
- package/package.json +14 -9
- package/.env.development +0 -5
- package/.env.production +0 -5
- package/.env.test +0 -3
- package/.eslintignore +0 -5
- package/.eslintrc.js +0 -277
- package/.prettierrc.json +0 -13
- package/dist/favicon.ico +0 -0
- package/dist/static/fonts/element-icons.535877f5.woff +0 -0
- package/dist/static/fonts/element-icons.732389de.ttf +0 -0
- package/dist/static/fonts/iconfont.190449d0.ttf +0 -0
- package/dist/static/js/.gz +0 -0
- package/dist/static/js/app.359a6d54.js +0 -82
- package/dist/static/js/app.6e67b0f2.js +0 -66
package/lib/demo.html
ADDED
package/package.json
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zj-plugin-intelligent",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9",
|
|
4
4
|
"main": "lib/ZjPluginIntelligent.umd.min.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"scripts": {
|
|
7
|
-
"serve": "vue-cli-service serve",
|
|
8
|
-
"build": "vue-cli-service build",
|
|
9
|
-
"lib": "vue-cli-service build --target lib --name ZjPluginIntelligent --dest lib src/lib/index.js",
|
|
10
|
-
"lib:test": "vue-cli-service build --mode test --target lib --name ZjPluginIntelligent --dest lib src/lib/index.js"
|
|
7
|
+
"serve": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
|
|
8
|
+
"build": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
|
|
9
|
+
"lib": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --target lib --name ZjPluginIntelligent --dest lib src/lib/index.js",
|
|
10
|
+
"lib:test": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --mode test --target lib --name ZjPluginIntelligent --dest lib src/lib/index.js"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
+
"@jboltai/tokui": "^0.1.6",
|
|
14
|
+
"crypto-js": "^4.2.0",
|
|
13
15
|
"html2canvas": "^1.4.1",
|
|
14
16
|
"markdown-it": "^14.1.0"
|
|
15
17
|
},
|
|
@@ -28,15 +30,15 @@
|
|
|
28
30
|
"eslint": "^7.30.0",
|
|
29
31
|
"eslint-plugin-vue": "^7.13.0",
|
|
30
32
|
"js-cookie": "^2.2.1",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
+
"obs-upload": "^1.0.4",
|
|
34
|
+
"pako": "^2.1.0",
|
|
33
35
|
"reconnecting-websocket": "^4.4.0",
|
|
36
|
+
"sass": "^1.71.0",
|
|
34
37
|
"sass-loader": "^8.0.2",
|
|
35
38
|
"snowflake-id": "^1.1.0",
|
|
36
39
|
"vue": "^2.6.11",
|
|
37
40
|
"vue-template-compiler": "^2.6.11",
|
|
38
41
|
"vuex": "^3.4.0",
|
|
39
|
-
"pako": "^2.1.0",
|
|
40
42
|
"webpack-bundle-analyzer": "^4.4.2"
|
|
41
43
|
},
|
|
42
44
|
"browserslist": [
|
|
@@ -48,5 +50,8 @@
|
|
|
48
50
|
"lib": "lib"
|
|
49
51
|
},
|
|
50
52
|
"keywords": [],
|
|
51
|
-
"license": "ISC"
|
|
53
|
+
"license": "ISC",
|
|
54
|
+
"files": [
|
|
55
|
+
"lib"
|
|
56
|
+
]
|
|
52
57
|
}
|
package/.env.development
DELETED
package/.env.production
DELETED
package/.env.test
DELETED
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: 'never',
|
|
35
|
-
component: 'always'
|
|
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: 'always', 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
|
-
}
|
package/dist/favicon.ico
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/static/js/.gz
DELETED
|
Binary file
|