@tongfun/tf-widget 0.1.81 → 0.1.84
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/.browserslistrc +3 -3
- package/.editorconfig +5 -5
- package/.env +4 -4
- package/.eslintignore +10 -10
- package/.eslintrc.js +62 -62
- package/README.md +395 -395
- package/lib/tf-widget.common.js +768 -745
- package/lib/tf-widget.css +1 -1
- package/lib/tf-widget.umd.js +768 -745
- package/lib/tf-widget.umd.min.js +52 -52
- package/package.json +49 -49
- package/postinstall.js +10 -10
- package/dist/css/chunk-vendors.75ec1ba3.css +0 -1
- package/dist/css/index.d1a92f6c.css +0 -1
- package/dist/fonts/element-icons.f1a45d74.ttf +0 -0
- package/dist/fonts/element-icons.ff18efd1.woff +0 -0
- package/dist/js/chunk-vendors-legacy.8062375b.js +0 -54
- package/dist/js/chunk-vendors.32ae2509.js +0 -52
- package/dist/js/index-legacy.a20e505f.js +0 -1
- package/dist/js/index.2db423f4.js +0 -1
- package/dist.zip +0 -0
package/.browserslistrc
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
> 1%
|
|
2
|
-
last 2 versions
|
|
3
|
-
not dead
|
|
1
|
+
> 1%
|
|
2
|
+
last 2 versions
|
|
3
|
+
not dead
|
package/.editorconfig
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
[*.{js,jsx,ts,tsx,vue}]
|
|
2
|
-
indent_style = space
|
|
3
|
-
indent_size = 2
|
|
4
|
-
trim_trailing_whitespace = true
|
|
5
|
-
insert_final_newline = true
|
|
1
|
+
[*.{js,jsx,ts,tsx,vue}]
|
|
2
|
+
indent_style = space
|
|
3
|
+
indent_size = 2
|
|
4
|
+
trim_trailing_whitespace = true
|
|
5
|
+
insert_final_newline = true
|
package/.env
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
VUE_APP_BASIC = '/TfWidget'
|
|
2
|
-
|
|
3
|
-
# 需要远程调用组件库时,改为true
|
|
4
|
-
# VUE_APP_ISREMOTE = true
|
|
1
|
+
VUE_APP_BASIC = '/TfWidget'
|
|
2
|
+
|
|
3
|
+
# 需要远程调用组件库时,改为true
|
|
4
|
+
# VUE_APP_ISREMOTE = true
|
|
5
5
|
VUE_APP_ISREMOTE = false
|
package/.eslintignore
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
*.sh
|
|
2
|
-
node_modules
|
|
3
|
-
lib
|
|
4
|
-
*.md
|
|
5
|
-
*.woff
|
|
6
|
-
*.ttf
|
|
7
|
-
dist
|
|
8
|
-
.idea
|
|
9
|
-
.vscode
|
|
10
|
-
package/tf-ag-grid-table/src/index.vue
|
|
1
|
+
*.sh
|
|
2
|
+
node_modules
|
|
3
|
+
lib
|
|
4
|
+
*.md
|
|
5
|
+
*.woff
|
|
6
|
+
*.ttf
|
|
7
|
+
dist
|
|
8
|
+
.idea
|
|
9
|
+
.vscode
|
|
10
|
+
package/tf-ag-grid-table/src/index.vue
|
package/.eslintrc.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
env: {
|
|
4
|
-
browser: true,
|
|
5
|
-
node: true,
|
|
6
|
-
es6: true
|
|
7
|
-
},
|
|
8
|
-
extends: [
|
|
9
|
-
'plugin:vue/recommended',
|
|
10
|
-
'eslint:recommended'
|
|
11
|
-
],
|
|
12
|
-
parserOptions: {
|
|
13
|
-
parser: '@babel/eslint-parser'
|
|
14
|
-
},
|
|
15
|
-
rules: {
|
|
16
|
-
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
17
|
-
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
18
|
-
'no-unused-vars': 'off',
|
|
19
|
-
'no-useless-escape': 'off',
|
|
20
|
-
'vue/no-mutating-props': 'off',
|
|
21
|
-
'vue/attribute-hyphenation': 'error',
|
|
22
|
-
'vue/multi-word-component-names': 'off',
|
|
23
|
-
'vue/no-reserved-component-names': 'off',
|
|
24
|
-
'vue/no-async-in-computed-properties': 'off',
|
|
25
|
-
'vue/singleline-html-element-content-newline': 'off',
|
|
26
|
-
'vue/multiline-html-element-content-newline':'off',
|
|
27
|
-
'vue/max-attributes-per-line': ['error', {
|
|
28
|
-
'singleline': 10,
|
|
29
|
-
'multiline': 1
|
|
30
|
-
}],
|
|
31
|
-
'quotes': [2, 'single', {
|
|
32
|
-
'avoidEscape': true,
|
|
33
|
-
'allowTemplateLiterals': true
|
|
34
|
-
}],
|
|
35
|
-
'semi': [2, 'never'],
|
|
36
|
-
'semi-spacing': [2, {
|
|
37
|
-
'before': false,
|
|
38
|
-
'after': true
|
|
39
|
-
}],
|
|
40
|
-
'comma-dangle': [2, 'never'],
|
|
41
|
-
'arrow-spacing': [2, {
|
|
42
|
-
'before': true,
|
|
43
|
-
'after': true
|
|
44
|
-
}],
|
|
45
|
-
'space-before-blocks': [2, 'always'],
|
|
46
|
-
'space-infix-ops': 2,
|
|
47
|
-
'space-unary-ops': [2, {
|
|
48
|
-
'words': true,
|
|
49
|
-
'nonwords': false
|
|
50
|
-
}],
|
|
51
|
-
'keyword-spacing': [2, {
|
|
52
|
-
'before': true,
|
|
53
|
-
'after': true
|
|
54
|
-
}],
|
|
55
|
-
'indent': [2, 2, {
|
|
56
|
-
'SwitchCase': 1
|
|
57
|
-
}],
|
|
58
|
-
'no-multiple-empty-lines': [2, {
|
|
59
|
-
'max': 1
|
|
60
|
-
}]
|
|
61
|
-
}
|
|
62
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
env: {
|
|
4
|
+
browser: true,
|
|
5
|
+
node: true,
|
|
6
|
+
es6: true
|
|
7
|
+
},
|
|
8
|
+
extends: [
|
|
9
|
+
'plugin:vue/recommended',
|
|
10
|
+
'eslint:recommended'
|
|
11
|
+
],
|
|
12
|
+
parserOptions: {
|
|
13
|
+
parser: '@babel/eslint-parser'
|
|
14
|
+
},
|
|
15
|
+
rules: {
|
|
16
|
+
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
17
|
+
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
18
|
+
'no-unused-vars': 'off',
|
|
19
|
+
'no-useless-escape': 'off',
|
|
20
|
+
'vue/no-mutating-props': 'off',
|
|
21
|
+
'vue/attribute-hyphenation': 'error',
|
|
22
|
+
'vue/multi-word-component-names': 'off',
|
|
23
|
+
'vue/no-reserved-component-names': 'off',
|
|
24
|
+
'vue/no-async-in-computed-properties': 'off',
|
|
25
|
+
'vue/singleline-html-element-content-newline': 'off',
|
|
26
|
+
'vue/multiline-html-element-content-newline':'off',
|
|
27
|
+
'vue/max-attributes-per-line': ['error', {
|
|
28
|
+
'singleline': 10,
|
|
29
|
+
'multiline': 1
|
|
30
|
+
}],
|
|
31
|
+
'quotes': [2, 'single', {
|
|
32
|
+
'avoidEscape': true,
|
|
33
|
+
'allowTemplateLiterals': true
|
|
34
|
+
}],
|
|
35
|
+
'semi': [2, 'never'],
|
|
36
|
+
'semi-spacing': [2, {
|
|
37
|
+
'before': false,
|
|
38
|
+
'after': true
|
|
39
|
+
}],
|
|
40
|
+
'comma-dangle': [2, 'never'],
|
|
41
|
+
'arrow-spacing': [2, {
|
|
42
|
+
'before': true,
|
|
43
|
+
'after': true
|
|
44
|
+
}],
|
|
45
|
+
'space-before-blocks': [2, 'always'],
|
|
46
|
+
'space-infix-ops': 2,
|
|
47
|
+
'space-unary-ops': [2, {
|
|
48
|
+
'words': true,
|
|
49
|
+
'nonwords': false
|
|
50
|
+
}],
|
|
51
|
+
'keyword-spacing': [2, {
|
|
52
|
+
'before': true,
|
|
53
|
+
'after': true
|
|
54
|
+
}],
|
|
55
|
+
'indent': [2, 2, {
|
|
56
|
+
'SwitchCase': 1
|
|
57
|
+
}],
|
|
58
|
+
'no-multiple-empty-lines': [2, {
|
|
59
|
+
'max': 1
|
|
60
|
+
}]
|
|
61
|
+
}
|
|
62
|
+
}
|