@processmaker/screen-builder 2.30.1 → 2.50.0
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/.eslintrc.js +36 -57
- package/dist/vue-form-builder.common.js +1136 -1101
- package/dist/vue-form-builder.common.js.map +1 -1
- package/dist/vue-form-builder.umd.js +1136 -1101
- package/dist/vue-form-builder.umd.js.map +1 -1
- package/dist/vue-form-builder.umd.min.js +2 -2
- package/dist/vue-form-builder.umd.min.js.map +1 -1
- package/package.json +10 -5
- package/src/.DS_Store +0 -0
- package/src/App.vue +2 -9
- package/src/components/renderer/file-download.vue +5 -0
- package/src/components/renderer/form-masked-input.vue +1 -1
- package/src/components/task.vue +1 -8
- package/src/mixins/ScreenBase.js +2 -0
- package/src/mixins/computedFields.js +1 -1
package/.eslintrc.js
CHANGED
|
@@ -1,74 +1,53 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
|
|
4
2
|
env: {
|
|
5
|
-
|
|
3
|
+
browser: true,
|
|
4
|
+
es2020: true,
|
|
5
|
+
node: true
|
|
6
6
|
},
|
|
7
7
|
|
|
8
8
|
extends: [
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
"plugin:vue/recommended",
|
|
10
|
+
"airbnb-base",
|
|
11
|
+
"plugin:prettier/recommended"
|
|
11
12
|
],
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
],
|
|
18
|
-
'comma-dangle': [
|
|
19
|
-
'error',
|
|
20
|
-
'always-multiline',
|
|
21
|
-
],
|
|
22
|
-
indent: [
|
|
23
|
-
'error',
|
|
24
|
-
2,
|
|
25
|
-
{
|
|
26
|
-
SwitchCase: 1,
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
quotes: [
|
|
30
|
-
'error',
|
|
31
|
-
'single',
|
|
32
|
-
],
|
|
33
|
-
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
34
|
-
'object-shorthand': 'error',
|
|
35
|
-
'space-before-function-paren': [
|
|
36
|
-
'error',
|
|
37
|
-
'never',
|
|
38
|
-
],
|
|
39
|
-
'keyword-spacing': 'error',
|
|
40
|
-
'vue/html-indent': [
|
|
41
|
-
'error',
|
|
42
|
-
2,
|
|
43
|
-
{
|
|
44
|
-
alignAttributesVertically: false,
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
'vue/html-closing-bracket-newline': [
|
|
48
|
-
'error',
|
|
49
|
-
{
|
|
50
|
-
singleline: 'never',
|
|
51
|
-
multiline: 'always',
|
|
52
|
-
},
|
|
53
|
-
],
|
|
54
|
-
'vue/html-self-closing': 'error',
|
|
55
|
-
'vue/mustache-interpolation-spacing': 'error',
|
|
56
|
-
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
14
|
+
parserOptions: {
|
|
15
|
+
ecmaVersion: 6,
|
|
16
|
+
sourceType: "module",
|
|
17
|
+
parser: "@babel/eslint-parser"
|
|
57
18
|
},
|
|
58
19
|
|
|
59
|
-
|
|
60
|
-
|
|
20
|
+
plugins: ["vue", "prettier"],
|
|
21
|
+
|
|
22
|
+
rules: {
|
|
23
|
+
"prettier/prettier": ["error", { trailingComma: "none" }],
|
|
24
|
+
"no-unexpected-multiline": "error",
|
|
25
|
+
"no-param-reassign": 1,
|
|
26
|
+
eqeqeq: "error",
|
|
27
|
+
"max-len": ["error", { code: 140, ignoreUrls: true }],
|
|
28
|
+
"comma-dangle": ["error", "never"],
|
|
29
|
+
quotes: ["error", "double", { allowTemplateLiterals: true }],
|
|
30
|
+
"import/no-extraneous-dependencies": "warn",
|
|
31
|
+
"consistent-return": "warn",
|
|
32
|
+
"no-plusplus": 0,
|
|
33
|
+
"no-underscore-dangle": 0,
|
|
34
|
+
"no-restricted-syntax": "warn",
|
|
35
|
+
"no-continue": "warn",
|
|
36
|
+
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
|
|
37
|
+
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off"
|
|
61
38
|
},
|
|
62
39
|
|
|
40
|
+
root: true,
|
|
41
|
+
|
|
63
42
|
overrides: [
|
|
64
43
|
{
|
|
65
44
|
files: [
|
|
66
|
-
|
|
67
|
-
|
|
45
|
+
"**/__tests__/*.{j,t}s?(x)",
|
|
46
|
+
"**/tests/unit/**/*.spec.{j,t}s?(x)"
|
|
68
47
|
],
|
|
69
48
|
env: {
|
|
70
|
-
jest: true
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
]
|
|
49
|
+
jest: true
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
]
|
|
74
53
|
};
|