ztxkui 2.8.8 → 2.8.9-2

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 (49) hide show
  1. package/README.md +57 -57
  2. package/dist/App.js +308 -284
  3. package/dist/Demo.js +14 -13
  4. package/dist/DemoCom/BasicDemo.js +39 -38
  5. package/dist/DemoCom/CollapseDemo.js +28 -27
  6. package/dist/DemoCom/DragSort.js +11 -10
  7. package/dist/DemoCom/FormDemo.js +25 -24
  8. package/dist/DemoCom/PrintDemo.js +13 -12
  9. package/dist/DemoCom/TableAnalyse.js +34 -33
  10. package/dist/DemoCom/TableDemo.js +60 -59
  11. package/dist/DemoCom/TableDemo1.js +34 -33
  12. package/dist/DemoCom/TestCom.js +22 -19
  13. package/dist/TreeDemo.js +8 -7
  14. package/dist/TreeSelectDemo.js +7 -6
  15. package/dist/UploadDemo.js +8 -4
  16. package/dist/components/Button/button.js +2 -1
  17. package/dist/components/Collapse/collapse.js +2 -1
  18. package/dist/components/EnhanceSelect/index.js +3 -2
  19. package/dist/components/EnhanceTree/index.js +4 -3
  20. package/dist/components/EnhanceTreeSelect/index.js +4 -3
  21. package/dist/components/InputNumber/input-number.js +3 -2
  22. package/dist/components/RangePicker/range-picker.js +5 -2
  23. package/dist/components/Table/hooks/useColumns.js +2 -1
  24. package/dist/components/Table/hooks/useDropRef.js +2 -1
  25. package/dist/components/Table/table-adddel-column.js +4 -3
  26. package/dist/components/Table/table-dynamic.js +6 -5
  27. package/dist/components/Table/table-enhance-cell.js +15 -2
  28. package/dist/components/Table/utils/getSummaryData.js +3 -2
  29. package/dist/components/Upload/upload-table.js +29 -28
  30. package/dist/components/Upload/upload.js +15 -10
  31. package/dist/components/business/Analyse/index.js +12 -11
  32. package/dist/components/business/Common/UserForgetPassword/index.js +35 -27
  33. package/dist/components/business/Common/UserInfo/component/MakingForm.js +11 -10
  34. package/dist/components/business/Common/UserInfo/index.js +5 -4
  35. package/dist/components/business/Common/UserPassword/index.js +14 -11
  36. package/dist/components/business/DetailCard/index.js +7 -6
  37. package/dist/components/business/DetailHeader/index.js +7 -6
  38. package/dist/components/business/DetailList/index.js +5 -4
  39. package/dist/components/business/ExportButton/index.js +6 -5
  40. package/dist/components/business/Footer/index.js +4 -1
  41. package/dist/components/business/OperationBtnGroup/index.js +17 -16
  42. package/dist/components/business/SearchContainer/search-drawer.js +5 -4
  43. package/dist/components/business/SearchContainer/search-left.js +2 -1
  44. package/dist/components/business/SearchContainer/search-right.js +3 -2
  45. package/dist/components/business/SortList/sort-drawer.js +5 -4
  46. package/dist/index.js +98 -72
  47. package/dist/locales/en-US.json +404 -0
  48. package/dist/locales/zh-CN.json +404 -0
  49. package/package.json +93 -92
package/README.md CHANGED
@@ -1,57 +1,57 @@
1
- # 前端ui库
2
-
3
- ## 关于 typescript 相关配置说明
4
-
5
- _[tsconfig.json](https://www.tslang.cn/docs/handbook/tsconfig-json.html) 如果一个目录下存在一个 tsconfig.json 文件,那么它意味着这个目录是 TypeScript 项目的根目录。tsconfig.json 文件中指定了用来编译这个项目的根文件和编译选现_
6
-
7
- - compilerOptions 可以忽略,如果忽略 会使用默认值
8
- - outDir 指定的目录下的文件永远会被编译器排除,除非使用 files 包含
9
- - typeRoots 默认所有可见的 @types 包会在编译过程中被包含进来,如果指定了这个配置 只有他下面的包才会被包含进来
10
-
11
- * files 指定一个包含相对或绝对文件路径的列表,优先级最高
12
- * include 需要编译的文件 优先级最低
13
- * exclude 不需要编译的文件 优先级中等
14
- * extends 继承配置 继承的文件会覆盖源文件
15
-
16
- _[eslint](https://eslint.bootcss.com/docs/user-guide/getting-started)ESLint 是在 ECMAScript/JavaScript 代码中识别和报告模式匹配的工具,它的目标是保证代码的一致性和避免错误_
17
-
18
- - parser 解析器(eslint 默认使用 Espree 作为其解析器)
19
- - parserOptions 解析器配置选项
20
- - env 和 globals 环境和全局变量
21
-
22
- * rules 规则(off 或 0,关闭规则;warn 或 1,开启规则;error 或 2,开启规则,并会出错阻止代码运行)
23
- - semi 是否使用分号(当前不使用 错误级别 1)
24
- - no-trailing-spaces 禁止行尾空格
25
- - array-bracket-spacing 强制数组括号内的空格一致
26
- - operator-linebreak 强制操作符使用一致的换行符
27
- - function-paren-newline 强制函数括号内使用一致的换行
28
- * no-magic-numbers 禁止使用魔术数字
29
- - ignoreArrayIndexes 数字可否作为数组的索引
30
- - block-spacing 禁止或强制在代码块中开括号前和闭括号后有空格
31
- - brace-style 大括号风格要求
32
- - no-multiple-empty-lines 最大换行数
33
- - object-curly-spacing 强制在花括号中使用一致的空格
34
- * comma-spacing 强制在逗号周围使用空格
35
- - before false 禁止逗号前使用空格
36
- - after true 要求逗号后使用一个或多个空格
37
- * keyword-spacing 强制关键字周围空格的一致性
38
- - before true (默认) 要求在关键字之前至少有一个空格
39
- - after true (默认) 要求在关键字之后至少有一个空格
40
- * comma-style 逗号风格
41
- - last (默认) 要求逗号放在数组元素、对象属性或变量声明之后,且在同一行
42
- - no-multi-spaces 禁止出现多个空格
43
-
44
- - plugins 插件(插件可以提供处理器 配置在 processor 中 通过 pluginName/parserName)
45
- - overrides 为特定类型的文件指定处理器,请使用 overrides 和 processor 的组合
46
- - extends 拓展 一个配置文件可以被基础配置中的已启用的规则继承
47
- - settings 提供给每一个将被执行的规则
48
- - root 如果为 true 则项目中的 eslint 规则 在根目录中找
49
-
50
- ## 本地调试
51
-
52
- ```json
53
- "peerDependencies": {
54
- "react": ">=16.9.0",
55
- "react-dom": ">=16.9.0"
56
- }
57
- ```
1
+ # 前端ui库
2
+
3
+ ## 关于 typescript 相关配置说明
4
+
5
+ _[tsconfig.json](https://www.tslang.cn/docs/handbook/tsconfig-json.html) 如果一个目录下存在一个 tsconfig.json 文件,那么它意味着这个目录是 TypeScript 项目的根目录。tsconfig.json 文件中指定了用来编译这个项目的根文件和编译选现_
6
+
7
+ - compilerOptions 可以忽略,如果忽略 会使用默认值
8
+ - outDir 指定的目录下的文件永远会被编译器排除,除非使用 files 包含
9
+ - typeRoots 默认所有可见的 @types 包会在编译过程中被包含进来,如果指定了这个配置 只有他下面的包才会被包含进来
10
+
11
+ * files 指定一个包含相对或绝对文件路径的列表,优先级最高
12
+ * include 需要编译的文件 优先级最低
13
+ * exclude 不需要编译的文件 优先级中等
14
+ * extends 继承配置 继承的文件会覆盖源文件
15
+
16
+ _[eslint](https://eslint.bootcss.com/docs/user-guide/getting-started)ESLint 是在 ECMAScript/JavaScript 代码中识别和报告模式匹配的工具,它的目标是保证代码的一致性和避免错误_
17
+
18
+ - parser 解析器(eslint 默认使用 Espree 作为其解析器)
19
+ - parserOptions 解析器配置选项
20
+ - env 和 globals 环境和全局变量
21
+
22
+ * rules 规则(off 或 0,关闭规则;warn 或 1,开启规则;error 或 2,开启规则,并会出错阻止代码运行)
23
+ - semi 是否使用分号(当前不使用 错误级别 1)
24
+ - no-trailing-spaces 禁止行尾空格
25
+ - array-bracket-spacing 强制数组括号内的空格一致
26
+ - operator-linebreak 强制操作符使用一致的换行符
27
+ - function-paren-newline 强制函数括号内使用一致的换行
28
+ * no-magic-numbers 禁止使用魔术数字
29
+ - ignoreArrayIndexes 数字可否作为数组的索引
30
+ - block-spacing 禁止或强制在代码块中开括号前和闭括号后有空格
31
+ - brace-style 大括号风格要求
32
+ - no-multiple-empty-lines 最大换行数
33
+ - object-curly-spacing 强制在花括号中使用一致的空格
34
+ * comma-spacing 强制在逗号周围使用空格
35
+ - before false 禁止逗号前使用空格
36
+ - after true 要求逗号后使用一个或多个空格
37
+ * keyword-spacing 强制关键字周围空格的一致性
38
+ - before true (默认) 要求在关键字之前至少有一个空格
39
+ - after true (默认) 要求在关键字之后至少有一个空格
40
+ * comma-style 逗号风格
41
+ - last (默认) 要求逗号放在数组元素、对象属性或变量声明之后,且在同一行
42
+ - no-multi-spaces 禁止出现多个空格
43
+
44
+ - plugins 插件(插件可以提供处理器 配置在 processor 中 通过 pluginName/parserName)
45
+ - overrides 为特定类型的文件指定处理器,请使用 overrides 和 processor 的组合
46
+ - extends 拓展 一个配置文件可以被基础配置中的已启用的规则继承
47
+ - settings 提供给每一个将被执行的规则
48
+ - root 如果为 true 则项目中的 eslint 规则 在根目录中找
49
+
50
+ ## 本地调试
51
+
52
+ ```json
53
+ "peerDependencies": {
54
+ "react": ">=16.9.0",
55
+ "react-dom": ">=16.9.0"
56
+ }
57
+ ```