jobsys-explore 4.0.18 → 4.0.19

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 (124) hide show
  1. package/.changeset/README.md +8 -8
  2. package/.changeset/{hip-spoons-smell.md → blue-bees-fix.md} +1 -1
  3. package/.changeset/config.json +11 -11
  4. package/.changeset/{hip-hounds-drop.md → healthy-candles-wink.md} +1 -1
  5. package/.changeset/itchy-months-grow.md +5 -0
  6. package/.changeset/light-dingos-occur.md +5 -0
  7. package/.changeset/mean-rice-repeat.md +5 -0
  8. package/.changeset/modern-clocks-notice.md +5 -0
  9. package/.changeset/nasty-socks-watch.md +5 -0
  10. package/.changeset/nice-seahorses-visit.md +5 -0
  11. package/.changeset/olive-roses-sing.md +5 -0
  12. package/.changeset/orange-olives-reply.md +5 -0
  13. package/.changeset/perfect-laws-warn.md +5 -0
  14. package/.changeset/quiet-chairs-rhyme.md +5 -0
  15. package/.changeset/rich-points-bake.md +5 -0
  16. package/.changeset/serious-sloths-smoke.md +5 -0
  17. package/.changeset/small-fishes-sparkle.md +5 -0
  18. package/.changeset/tasty-bottles-build.md +5 -0
  19. package/.changeset/twenty-laws-melt.md +5 -0
  20. package/.eslintignore +3 -3
  21. package/.eslintrc.cjs +37 -37
  22. package/.prettierrc.cjs +38 -38
  23. package/CHANGELOG.md +22 -0
  24. package/README.md +41 -41
  25. package/TODOs.md +8 -8
  26. package/components/button/ExButton.jsx +120 -120
  27. package/components/button/index.js +4 -4
  28. package/components/button/index.less +7 -7
  29. package/components/decorator/ExDecorator.jsx +31 -31
  30. package/components/decorator/index.js +5 -5
  31. package/components/decorator/index.less +76 -76
  32. package/components/form/ExAddress.jsx +195 -195
  33. package/components/form/ExCascader.jsx +174 -174
  34. package/components/form/ExCheckbox.jsx +59 -59
  35. package/components/form/ExDate.jsx +133 -129
  36. package/components/form/ExDatetime.jsx +148 -148
  37. package/components/form/ExField.jsx +132 -132
  38. package/components/form/ExFieldUploader.jsx +50 -50
  39. package/components/form/ExForm.jsx +438 -438
  40. package/components/form/ExNumber.jsx +51 -51
  41. package/components/form/ExRadio.jsx +58 -58
  42. package/components/form/ExRate.jsx +51 -51
  43. package/components/form/ExSelect.jsx +164 -146
  44. package/components/form/ExSlider.jsx +55 -55
  45. package/components/form/ExSwitch.jsx +51 -51
  46. package/components/form/ExTime.jsx +99 -99
  47. package/components/form/FormItem.jsx +263 -263
  48. package/components/form/PickerWrapper.jsx +120 -120
  49. package/components/form/index.js +44 -44
  50. package/components/form/index.less +134 -134
  51. package/components/form/utils.js +52 -52
  52. package/components/grid/ExGrid.jsx +53 -53
  53. package/components/grid/index.js +4 -4
  54. package/components/grid/index.less +2 -2
  55. package/components/index.js +12 -12
  56. package/components/pagination/ExPagination.jsx +264 -264
  57. package/components/pagination/index.js +5 -5
  58. package/components/provider/ExProvider.jsx +173 -173
  59. package/components/provider/index.js +4 -4
  60. package/components/qrcode/ExQrcode.jsx +86 -86
  61. package/components/qrcode/index.js +5 -5
  62. package/components/qrcode/index.less +8 -8
  63. package/components/result/ExResult.jsx +122 -122
  64. package/components/result/index.js +5 -5
  65. package/components/result/index.less +59 -59
  66. package/components/search/ExSearch.jsx +290 -290
  67. package/components/search/components/Expand.jsx +77 -77
  68. package/components/search/components/Field.jsx +27 -27
  69. package/components/search/components/Quick.jsx +53 -53
  70. package/components/search/components/index.js +5 -5
  71. package/components/search/index.js +5 -5
  72. package/components/search/index.less +118 -118
  73. package/components/search/utils.js +30 -30
  74. package/components/sector/ExSector.jsx +52 -52
  75. package/components/sector/README.md +26 -26
  76. package/components/sector/index.js +5 -5
  77. package/components/sector/index.less +122 -122
  78. package/components/theme/ExTheme.jsx +10 -10
  79. package/components/theme/index.js +4 -4
  80. package/components/theme/index.less +98 -98
  81. package/components/uploader/ExUploader.jsx +260 -260
  82. package/components/uploader/index.js +5 -5
  83. package/components/utils.js +187 -187
  84. package/dist/hooks.cjs.map +1 -1
  85. package/dist/hooks.js.map +1 -1
  86. package/dist/index-4faac98c.cjs.map +1 -1
  87. package/dist/index-714497da.js.map +1 -1
  88. package/dist/jobsys-explore.cjs +6 -6
  89. package/dist/jobsys-explore.cjs.map +1 -1
  90. package/dist/jobsys-explore.js +355 -347
  91. package/dist/jobsys-explore.js.map +1 -1
  92. package/docgen.config.js +15 -15
  93. package/docs/.vuepress/config.js +61 -61
  94. package/docs/.vuepress/styles/index.scss +7 -7
  95. package/docs/components/sector/ExSector.md +43 -43
  96. package/docs/index.md +82 -82
  97. package/hooks/cipher.js +44 -44
  98. package/hooks/datetime.js +63 -63
  99. package/hooks/form.js +190 -190
  100. package/hooks/index.js +5 -5
  101. package/hooks/network.js +122 -122
  102. package/hooks/utils.js +226 -226
  103. package/index.html +17 -17
  104. package/index.js +26 -26
  105. package/package.json +1 -1
  106. package/playground/App.vue +94 -94
  107. package/playground/TestButton.vue +61 -61
  108. package/playground/TestCascader.vue +2441 -2441
  109. package/playground/TestDecorator.vue +14 -14
  110. package/playground/TestForm.vue +370 -369
  111. package/playground/TestFormItem.vue +110 -110
  112. package/playground/TestGrid.vue +22 -22
  113. package/playground/TestPagination.vue +1211 -1211
  114. package/playground/TestQrcode.vue +7 -7
  115. package/playground/TestResult.vue +12 -12
  116. package/playground/TestSearch.vue +97 -97
  117. package/playground/TestSector.vue +15 -15
  118. package/playground/TestUploader.vue +9 -9
  119. package/playground/http.js +23 -23
  120. package/playground/main.js +22 -22
  121. package/postcss.config.cjs +8 -8
  122. package/utils/style.js +13 -13
  123. package/utils/withInstall.js +7 -7
  124. package/vite.config.js +53 -53
@@ -1,8 +1,8 @@
1
- # Changesets
2
-
3
- Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
- with multi-package repos, or single-package repos to help you version and publish your code. You can
5
- find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6
-
7
- We have a quick list of common questions to get you started engaging with this project in
8
- [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
1
+ # Changesets
2
+
3
+ Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
+ with multi-package repos, or single-package repos to help you version and publish your code. You can
5
+ find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6
+
7
+ We have a quick list of common questions to get you started engaging with this project in
8
+ [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
@@ -2,4 +2,4 @@
2
2
  "jobsys-explore": patch
3
3
  ---
4
4
 
5
- Upgrade
5
+ address
@@ -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
+ }
@@ -2,4 +2,4 @@
2
2
  "jobsys-explore": patch
3
3
  ---
4
4
 
5
- Add useFindOptionByValue
5
+ y
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ add exPros parameter
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ select add textInValue
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ option fetch data only once
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ add form reset
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ fixed
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ add sm2 encrypt
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ form expose fetchItem method
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ fixed address modelValue
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ fixed textInValue
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ fixed textInValue
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ add key_cn
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ search watch model value
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ address
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ cascader
@@ -0,0 +1,5 @@
1
+ ---
2
+ "jobsys-explore": patch
3
+ ---
4
+
5
+ e
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
+ }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # jobsys-explore
2
2
 
3
+ ## 4.0.19
4
+
5
+ ### Patch Changes
6
+
7
+ - address
8
+ - y
9
+ - add exPros parameter
10
+ - select add textInValue
11
+ - option fetch data only once
12
+ - add form reset
13
+ - fixed
14
+ - add sm2 encrypt
15
+ - form expose fetchItem method
16
+ - fixed address modelValue
17
+ - fixed textInValue
18
+ - fixed textInValue
19
+ - add key_cn
20
+ - search watch model value
21
+ - address
22
+ - cascader
23
+ - e
24
+
3
25
  ## 4.0.18
4
26
 
5
27
  ### Patch Changes
package/README.md CHANGED
@@ -1,41 +1,41 @@
1
- # TODOs
2
-
3
- ---
4
-
5
- ## 增强
6
-
7
- - [ ] ExploreForm
8
-
9
- - [x] Address
10
- - [x] Cascader
11
- - [x] Checkbox
12
- - [x] Date
13
- - [ ] Group
14
- - [ ] Html
15
- - [x] Input
16
- - [x] Number
17
- - [x] Radio
18
- - [ ] Remote
19
- - [x] Select
20
- - [x] Switch
21
- - [] Tag
22
- - [x] Text
23
- - [x] Time
24
- - [ ] TreeSelect
25
- - [x] Uploader
26
-
27
- - [x] ExploreSearch
28
-
29
- - [x] 同上
30
-
31
- - [x] Field
32
- - [x] Disabled
33
- - [x] Help
34
-
35
- ## 新增
36
-
37
- - [ ] 样式定制
38
- - [ ] 浮动按钮
39
- - [ ] 列表组件
40
- - [ ] 背景生成
41
- - [ ] 简易图表
1
+ # TODOs
2
+
3
+ ---
4
+
5
+ ## 增强
6
+
7
+ - [ ] ExploreForm
8
+
9
+ - [x] Address
10
+ - [x] Cascader
11
+ - [x] Checkbox
12
+ - [x] Date
13
+ - [ ] Group
14
+ - [ ] Html
15
+ - [x] Input
16
+ - [x] Number
17
+ - [x] Radio
18
+ - [ ] Remote
19
+ - [x] Select
20
+ - [x] Switch
21
+ - [] Tag
22
+ - [x] Text
23
+ - [x] Time
24
+ - [ ] TreeSelect
25
+ - [x] Uploader
26
+
27
+ - [x] ExploreSearch
28
+
29
+ - [x] 同上
30
+
31
+ - [x] Field
32
+ - [x] Disabled
33
+ - [x] Help
34
+
35
+ ## 新增
36
+
37
+ - [ ] 样式定制
38
+ - [ ] 浮动按钮
39
+ - [ ] 列表组件
40
+ - [ ] 背景生成
41
+ - [ ] 简易图表
package/TODOs.md CHANGED
@@ -1,8 +1,8 @@
1
- # Bugs
2
-
3
- - [ ] ExPagination 无限加载数据问题
4
-
5
- # Improvements
6
-
7
- # Features
8
-
1
+ # Bugs
2
+
3
+ - [ ] ExPagination 无限加载数据问题
4
+
5
+ # Improvements
6
+
7
+ # Features
8
+