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.
Files changed (122) hide show
  1. package/.changeset/.keep +0 -0
  2. package/.changeset/config.json +11 -11
  3. package/.changeset/fifty-goats-own.md +5 -0
  4. package/.changeset/seven-fans-sit.md +5 -0
  5. package/.eslintignore +3 -3
  6. package/.eslintrc.cjs +37 -37
  7. package/.prettierrc.cjs +38 -38
  8. package/CHANGELOG.md +542 -542
  9. package/README.md +41 -41
  10. package/TODOs.md +8 -8
  11. package/business-components/index.js +1 -1
  12. package/business-components/survey/ExSurvey.jsx +193 -193
  13. package/business-components/survey/index.js +5 -5
  14. package/business-components/survey/index.less +36 -36
  15. package/components/button/ExButton.jsx +120 -120
  16. package/components/button/index.js +4 -4
  17. package/components/button/index.less +7 -7
  18. package/components/decorator/ExDecorator.jsx +31 -31
  19. package/components/decorator/index.js +5 -5
  20. package/components/decorator/index.less +76 -76
  21. package/components/form/ExAddress.jsx +195 -195
  22. package/components/form/ExCascader.jsx +171 -171
  23. package/components/form/ExCheckbox.jsx +59 -59
  24. package/components/form/ExDate.jsx +143 -143
  25. package/components/form/ExDatetime.jsx +166 -166
  26. package/components/form/ExField.jsx +138 -138
  27. package/components/form/ExFieldUploader.jsx +50 -50
  28. package/components/form/ExForm.jsx +549 -544
  29. package/components/form/ExMatrixCheckbox.jsx +99 -99
  30. package/components/form/ExMatrixRadio.jsx +86 -86
  31. package/components/form/ExMatrixScale.jsx +97 -97
  32. package/components/form/ExNumber.jsx +51 -51
  33. package/components/form/ExRadio.jsx +58 -58
  34. package/components/form/ExRate.jsx +51 -51
  35. package/components/form/ExSelect.jsx +251 -251
  36. package/components/form/ExSlider.jsx +55 -55
  37. package/components/form/ExSwitch.jsx +51 -51
  38. package/components/form/ExTime.jsx +99 -99
  39. package/components/form/FormItem.jsx +307 -307
  40. package/components/form/PickerWrapper.jsx +120 -120
  41. package/components/form/index.js +46 -46
  42. package/components/form/index.less +178 -178
  43. package/components/form/utils.js +62 -62
  44. package/components/grid/ExGrid.jsx +53 -53
  45. package/components/grid/index.js +4 -4
  46. package/components/grid/index.less +2 -2
  47. package/components/index.js +12 -12
  48. package/components/pagination/ExPagination.jsx +457 -457
  49. package/components/pagination/index.js +5 -5
  50. package/components/pagination/index.less +3 -3
  51. package/components/provider/ExProvider.jsx +173 -173
  52. package/components/provider/index.js +4 -4
  53. package/components/qrcode/ExQrcode.jsx +86 -86
  54. package/components/qrcode/index.js +5 -5
  55. package/components/qrcode/index.less +8 -8
  56. package/components/result/ExResult.jsx +122 -122
  57. package/components/result/index.js +5 -5
  58. package/components/result/index.less +59 -59
  59. package/components/search/ExSearch.jsx +375 -375
  60. package/components/search/components/Expand.jsx +77 -77
  61. package/components/search/components/Field.jsx +27 -27
  62. package/components/search/components/Quick.jsx +57 -57
  63. package/components/search/components/index.js +5 -5
  64. package/components/search/index.js +5 -5
  65. package/components/search/index.less +118 -118
  66. package/components/search/utils.js +30 -30
  67. package/components/sector/ExSector.jsx +52 -52
  68. package/components/sector/README.md +26 -26
  69. package/components/sector/index.js +5 -5
  70. package/components/sector/index.less +122 -122
  71. package/components/theme/ExTheme.jsx +10 -10
  72. package/components/theme/index.js +4 -4
  73. package/components/theme/index.less +98 -98
  74. package/components/uploader/ExUploader.jsx +295 -295
  75. package/components/uploader/index.js +5 -5
  76. package/components/utils.js +187 -187
  77. package/directives/auth.js +113 -113
  78. package/directives/index.js +4 -4
  79. package/dist/cipher-98df1050.cjs.map +1 -1
  80. package/dist/cipher-f2ed5ee6.js.map +1 -1
  81. package/dist/directives.cjs.map +1 -1
  82. package/dist/directives.js.map +1 -1
  83. package/dist/hooks.cjs.map +1 -1
  84. package/dist/hooks.js.map +1 -1
  85. package/dist/jobsys-explore.cjs +6 -6
  86. package/dist/jobsys-explore.cjs.map +1 -1
  87. package/dist/jobsys-explore.js +657 -657
  88. package/dist/jobsys-explore.js.map +1 -1
  89. package/docgen.config.js +15 -15
  90. package/docs/.vuepress/config.js +61 -61
  91. package/docs/.vuepress/styles/index.scss +7 -7
  92. package/docs/components/sector/ExSector.md +43 -43
  93. package/docs/index.md +82 -82
  94. package/hooks/cipher.js +44 -44
  95. package/hooks/datetime.js +69 -69
  96. package/hooks/form.js +188 -188
  97. package/hooks/index.js +5 -5
  98. package/hooks/network.js +122 -122
  99. package/hooks/utils.js +282 -282
  100. package/index.html +17 -17
  101. package/index.js +31 -31
  102. package/package.json +1 -1
  103. package/playground/App.vue +191 -191
  104. package/playground/TestButton.vue +61 -61
  105. package/playground/TestCascader.vue +2442 -2442
  106. package/playground/TestDecorator.vue +14 -14
  107. package/playground/TestForm.vue +429 -429
  108. package/playground/TestFormItem.vue +110 -110
  109. package/playground/TestGrid.vue +22 -22
  110. package/playground/TestPagination.vue +1250 -1250
  111. package/playground/TestQrcode.vue +7 -7
  112. package/playground/TestResult.vue +12 -12
  113. package/playground/TestSearch.vue +115 -115
  114. package/playground/TestSector.vue +15 -15
  115. package/playground/TestSurvey.vue +27 -27
  116. package/playground/TestUploader.vue +14 -14
  117. package/playground/http.js +23 -23
  118. package/playground/main.js +22 -22
  119. package/postcss.config.cjs +8 -8
  120. package/utils/style.js +13 -13
  121. package/utils/withInstall.js +7 -7
  122. package/vite.config.js +54 -54
File without changes
@@ -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
+ }
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ add version
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ add search beforeSubmit method
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
+ }