jobsys-explore 4.7.4 → 4.7.5
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/.changeset/.keep +0 -0
- package/.changeset/config.json +11 -11
- package/.changeset/fifty-goats-own.md +5 -0
- package/.changeset/seven-fans-sit.md +5 -0
- package/.eslintignore +3 -3
- package/.eslintrc.cjs +37 -37
- package/.prettierrc.cjs +38 -38
- package/CHANGELOG.md +542 -542
- package/README.md +41 -41
- package/TODOs.md +8 -8
- package/business-components/index.js +1 -1
- package/business-components/survey/ExSurvey.jsx +193 -193
- package/business-components/survey/index.js +5 -5
- package/business-components/survey/index.less +36 -36
- package/components/button/ExButton.jsx +120 -120
- package/components/button/index.js +4 -4
- package/components/button/index.less +7 -7
- package/components/decorator/ExDecorator.jsx +31 -31
- package/components/decorator/index.js +5 -5
- package/components/decorator/index.less +76 -76
- package/components/form/ExAddress.jsx +195 -195
- package/components/form/ExCascader.jsx +171 -171
- package/components/form/ExCheckbox.jsx +59 -59
- package/components/form/ExDate.jsx +143 -143
- package/components/form/ExDatetime.jsx +166 -166
- package/components/form/ExField.jsx +138 -138
- package/components/form/ExFieldUploader.jsx +50 -50
- package/components/form/ExForm.jsx +549 -544
- package/components/form/ExMatrixCheckbox.jsx +99 -99
- package/components/form/ExMatrixRadio.jsx +86 -86
- package/components/form/ExMatrixScale.jsx +97 -97
- package/components/form/ExNumber.jsx +51 -51
- package/components/form/ExRadio.jsx +58 -58
- package/components/form/ExRate.jsx +51 -51
- package/components/form/ExSelect.jsx +251 -251
- package/components/form/ExSlider.jsx +55 -55
- package/components/form/ExSwitch.jsx +51 -51
- package/components/form/ExTime.jsx +99 -99
- package/components/form/FormItem.jsx +307 -307
- package/components/form/PickerWrapper.jsx +120 -120
- package/components/form/index.js +46 -46
- package/components/form/index.less +178 -178
- package/components/form/utils.js +62 -62
- package/components/grid/ExGrid.jsx +53 -53
- package/components/grid/index.js +4 -4
- package/components/grid/index.less +2 -2
- package/components/index.js +12 -12
- package/components/pagination/ExPagination.jsx +457 -457
- package/components/pagination/index.js +5 -5
- package/components/pagination/index.less +3 -3
- package/components/provider/ExProvider.jsx +173 -173
- package/components/provider/index.js +4 -4
- package/components/qrcode/ExQrcode.jsx +86 -86
- package/components/qrcode/index.js +5 -5
- package/components/qrcode/index.less +8 -8
- package/components/result/ExResult.jsx +122 -122
- package/components/result/index.js +5 -5
- package/components/result/index.less +59 -59
- package/components/search/ExSearch.jsx +375 -375
- package/components/search/components/Expand.jsx +77 -77
- package/components/search/components/Field.jsx +27 -27
- package/components/search/components/Quick.jsx +57 -57
- package/components/search/components/index.js +5 -5
- package/components/search/index.js +5 -5
- package/components/search/index.less +118 -118
- package/components/search/utils.js +30 -30
- package/components/sector/ExSector.jsx +52 -52
- package/components/sector/README.md +26 -26
- package/components/sector/index.js +5 -5
- package/components/sector/index.less +122 -122
- package/components/theme/ExTheme.jsx +10 -10
- package/components/theme/index.js +4 -4
- package/components/theme/index.less +98 -98
- package/components/uploader/ExUploader.jsx +295 -295
- package/components/uploader/index.js +5 -5
- package/components/utils.js +187 -187
- package/directives/auth.js +113 -113
- package/directives/index.js +4 -4
- package/dist/cipher-98df1050.cjs.map +1 -1
- package/dist/cipher-f2ed5ee6.js.map +1 -1
- package/dist/directives.cjs.map +1 -1
- package/dist/directives.js.map +1 -1
- package/dist/hooks.cjs.map +1 -1
- package/dist/hooks.js.map +1 -1
- package/dist/jobsys-explore.cjs +6 -6
- package/dist/jobsys-explore.cjs.map +1 -1
- package/dist/jobsys-explore.js +657 -657
- package/dist/jobsys-explore.js.map +1 -1
- package/docgen.config.js +15 -15
- package/docs/.vuepress/config.js +61 -61
- package/docs/.vuepress/styles/index.scss +7 -7
- package/docs/components/sector/ExSector.md +43 -43
- package/docs/index.md +82 -82
- package/hooks/cipher.js +44 -44
- package/hooks/datetime.js +69 -69
- package/hooks/form.js +188 -188
- package/hooks/index.js +5 -5
- package/hooks/network.js +122 -122
- package/hooks/utils.js +282 -282
- package/index.html +17 -17
- package/index.js +31 -31
- package/package.json +1 -1
- package/playground/App.vue +191 -191
- package/playground/TestButton.vue +61 -61
- package/playground/TestCascader.vue +2442 -2442
- package/playground/TestDecorator.vue +14 -14
- package/playground/TestForm.vue +429 -429
- package/playground/TestFormItem.vue +110 -110
- package/playground/TestGrid.vue +22 -22
- package/playground/TestPagination.vue +1250 -1250
- package/playground/TestQrcode.vue +7 -7
- package/playground/TestResult.vue +12 -12
- package/playground/TestSearch.vue +115 -115
- package/playground/TestSector.vue +15 -15
- package/playground/TestSurvey.vue +27 -27
- package/playground/TestUploader.vue +14 -14
- package/playground/http.js +23 -23
- package/playground/main.js +22 -22
- package/postcss.config.cjs +8 -8
- package/utils/style.js +13 -13
- package/utils/withInstall.js +7 -7
- package/vite.config.js +54 -54
package/.changeset/.keep
ADDED
|
File without changes
|
package/.changeset/config.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
|
|
3
|
-
"changelog": "@changesets/cli/changelog",
|
|
4
|
-
"commit": false,
|
|
5
|
-
"fixed": [],
|
|
6
|
-
"linked": [],
|
|
7
|
-
"access": "public",
|
|
8
|
-
"baseBranch": "master",
|
|
9
|
-
"updateInternalDependencies": "patch",
|
|
10
|
-
"ignore": []
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
|
|
3
|
+
"changelog": "@changesets/cli/changelog",
|
|
4
|
+
"commit": false,
|
|
5
|
+
"fixed": [],
|
|
6
|
+
"linked": [],
|
|
7
|
+
"access": "public",
|
|
8
|
+
"baseBranch": "master",
|
|
9
|
+
"updateInternalDependencies": "patch",
|
|
10
|
+
"ignore": []
|
|
11
|
+
}
|
package/.eslintignore
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
dist
|
|
2
|
-
node_modules
|
|
3
|
-
.prettierrc.cjs
|
|
1
|
+
dist
|
|
2
|
+
node_modules
|
|
3
|
+
.prettierrc.cjs
|
|
4
4
|
vite.config.js
|
package/.eslintrc.cjs
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
env: {
|
|
3
|
-
browser: true,
|
|
4
|
-
es2021: true
|
|
5
|
-
},
|
|
6
|
-
globals: {
|
|
7
|
-
defineOptions: true
|
|
8
|
-
},
|
|
9
|
-
extends: ["eslint-config-prettier", "plugin:import/recommended", "eslint:recommended", "plugin:vue/vue3-recommended", "plugin:prettier/recommended"],
|
|
10
|
-
overrides: [],
|
|
11
|
-
parserOptions: {
|
|
12
|
-
ecmaVersion: "latest",
|
|
13
|
-
sourceType: "module",
|
|
14
|
-
ecmaFeatures: {
|
|
15
|
-
jsx: true
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
plugins: ["vue"],
|
|
19
|
-
rules: {
|
|
20
|
-
"import/prefer-default-export": "off",
|
|
21
|
-
"import/no-extraneous-dependencies": "off",
|
|
22
|
-
"import/no-duplicates": "off",
|
|
23
|
-
"import/named": "off",
|
|
24
|
-
"import/order": "off",
|
|
25
|
-
"import/first": "off",
|
|
26
|
-
"vue/attributes-order": "off",
|
|
27
|
-
"vue/no-mutating-props": "off",
|
|
28
|
-
"vue/no-reserved-component-names": "off",
|
|
29
|
-
"vue/no-v-html": "off",
|
|
30
|
-
"no-param-reassign": "off",
|
|
31
|
-
"no-console": "off",
|
|
32
|
-
"no-restricted-globals": "off",
|
|
33
|
-
"no-debugger": "off",
|
|
34
|
-
"no-use-before-define": "off",
|
|
35
|
-
"no-promise-executor-return": "off",
|
|
36
|
-
"spaced-comment": "off"
|
|
37
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
env: {
|
|
3
|
+
browser: true,
|
|
4
|
+
es2021: true
|
|
5
|
+
},
|
|
6
|
+
globals: {
|
|
7
|
+
defineOptions: true
|
|
8
|
+
},
|
|
9
|
+
extends: ["eslint-config-prettier", "plugin:import/recommended", "eslint:recommended", "plugin:vue/vue3-recommended", "plugin:prettier/recommended"],
|
|
10
|
+
overrides: [],
|
|
11
|
+
parserOptions: {
|
|
12
|
+
ecmaVersion: "latest",
|
|
13
|
+
sourceType: "module",
|
|
14
|
+
ecmaFeatures: {
|
|
15
|
+
jsx: true
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
plugins: ["vue"],
|
|
19
|
+
rules: {
|
|
20
|
+
"import/prefer-default-export": "off",
|
|
21
|
+
"import/no-extraneous-dependencies": "off",
|
|
22
|
+
"import/no-duplicates": "off",
|
|
23
|
+
"import/named": "off",
|
|
24
|
+
"import/order": "off",
|
|
25
|
+
"import/first": "off",
|
|
26
|
+
"vue/attributes-order": "off",
|
|
27
|
+
"vue/no-mutating-props": "off",
|
|
28
|
+
"vue/no-reserved-component-names": "off",
|
|
29
|
+
"vue/no-v-html": "off",
|
|
30
|
+
"no-param-reassign": "off",
|
|
31
|
+
"no-console": "off",
|
|
32
|
+
"no-restricted-globals": "off",
|
|
33
|
+
"no-debugger": "off",
|
|
34
|
+
"no-use-before-define": "off",
|
|
35
|
+
"no-promise-executor-return": "off",
|
|
36
|
+
"spaced-comment": "off"
|
|
37
|
+
}
|
|
38
38
|
};
|
package/.prettierrc.cjs
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
// 一行最多多少个字符
|
|
3
|
-
printWidth: 150,
|
|
4
|
-
// 指定每个缩进级别的空格数
|
|
5
|
-
tabWidth: 4,
|
|
6
|
-
// 使用制表符而不是空格缩进行
|
|
7
|
-
useTabs: true,
|
|
8
|
-
// 在语句末尾是否需要分号
|
|
9
|
-
semi: false,
|
|
10
|
-
// 是否使用单引号
|
|
11
|
-
singleQuote: false,
|
|
12
|
-
// 更改引用对象属性的时间 可选值"<as-needed|consistent|preserve>"
|
|
13
|
-
quoteProps: "as-needed",
|
|
14
|
-
// 多行时尽可能打印尾随逗号。(例如,单行数组永远不会出现逗号结尾。) 可选值"<none|es5|all>",默认none
|
|
15
|
-
trailingComma: "all",
|
|
16
|
-
// 在对象文字中的括号之间打印空格
|
|
17
|
-
bracketSpacing: true,
|
|
18
|
-
// 在单独的箭头函数参数周围包括括号 always:(x) => x \ avoid:x => x
|
|
19
|
-
arrowParens: "always",
|
|
20
|
-
// 这两个选项可用于格式化以给定字符偏移量(分别包括和不包括)开始和结束的代码
|
|
21
|
-
rangeStart: 0,
|
|
22
|
-
rangeEnd: Infinity,
|
|
23
|
-
// 指定要使用的解析器,不需要写文件开头的 @prettier
|
|
24
|
-
requirePragma: false,
|
|
25
|
-
// 不需要自动在文件开头插入 @prettier
|
|
26
|
-
insertPragma: false,
|
|
27
|
-
// 使用默认的折行标准 always\never\preserve
|
|
28
|
-
proseWrap: "preserve",
|
|
29
|
-
// 指定HTML文件的全局空格敏感度 css\strict\ignore
|
|
30
|
-
htmlWhitespaceSensitivity: "css",
|
|
31
|
-
// Vue文件脚本和样式标签缩进
|
|
32
|
-
vueIndentScriptAndStyle: false,
|
|
33
|
-
// 在 windows 操作系统中换行符通常是回车 (CR) 加换行分隔符 (LF),也就是回车换行(CRLF),
|
|
34
|
-
// 然而在 Linux 和 Unix 中只使用简单的换行分隔符 (LF)。
|
|
35
|
-
// 对应的控制字符为 "\n" (LF) 和 "\r\n"(CRLF)。auto意为保持现有的行尾
|
|
36
|
-
// 换行符使用 lf 结尾是 可选值"<auto|lf|crlf|cr>"
|
|
37
|
-
endOfLine: "auto"
|
|
38
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
// 一行最多多少个字符
|
|
3
|
+
printWidth: 150,
|
|
4
|
+
// 指定每个缩进级别的空格数
|
|
5
|
+
tabWidth: 4,
|
|
6
|
+
// 使用制表符而不是空格缩进行
|
|
7
|
+
useTabs: true,
|
|
8
|
+
// 在语句末尾是否需要分号
|
|
9
|
+
semi: false,
|
|
10
|
+
// 是否使用单引号
|
|
11
|
+
singleQuote: false,
|
|
12
|
+
// 更改引用对象属性的时间 可选值"<as-needed|consistent|preserve>"
|
|
13
|
+
quoteProps: "as-needed",
|
|
14
|
+
// 多行时尽可能打印尾随逗号。(例如,单行数组永远不会出现逗号结尾。) 可选值"<none|es5|all>",默认none
|
|
15
|
+
trailingComma: "all",
|
|
16
|
+
// 在对象文字中的括号之间打印空格
|
|
17
|
+
bracketSpacing: true,
|
|
18
|
+
// 在单独的箭头函数参数周围包括括号 always:(x) => x \ avoid:x => x
|
|
19
|
+
arrowParens: "always",
|
|
20
|
+
// 这两个选项可用于格式化以给定字符偏移量(分别包括和不包括)开始和结束的代码
|
|
21
|
+
rangeStart: 0,
|
|
22
|
+
rangeEnd: Infinity,
|
|
23
|
+
// 指定要使用的解析器,不需要写文件开头的 @prettier
|
|
24
|
+
requirePragma: false,
|
|
25
|
+
// 不需要自动在文件开头插入 @prettier
|
|
26
|
+
insertPragma: false,
|
|
27
|
+
// 使用默认的折行标准 always\never\preserve
|
|
28
|
+
proseWrap: "preserve",
|
|
29
|
+
// 指定HTML文件的全局空格敏感度 css\strict\ignore
|
|
30
|
+
htmlWhitespaceSensitivity: "css",
|
|
31
|
+
// Vue文件脚本和样式标签缩进
|
|
32
|
+
vueIndentScriptAndStyle: false,
|
|
33
|
+
// 在 windows 操作系统中换行符通常是回车 (CR) 加换行分隔符 (LF),也就是回车换行(CRLF),
|
|
34
|
+
// 然而在 Linux 和 Unix 中只使用简单的换行分隔符 (LF)。
|
|
35
|
+
// 对应的控制字符为 "\n" (LF) 和 "\r\n"(CRLF)。auto意为保持现有的行尾
|
|
36
|
+
// 换行符使用 lf 结尾是 可选值"<auto|lf|crlf|cr>"
|
|
37
|
+
endOfLine: "auto"
|
|
38
|
+
}
|