@wx-design/components 1.2.2 → 1.3.0-alpha.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 (80) hide show
  1. package/es/core/ConfigProvider/index.d.ts +8 -3
  2. package/es/core/ConfigProvider/index.vue.d.ts +12 -16
  3. package/es/core/Modal/index.vue.d.ts +61 -110
  4. package/es/core/Select/index.vue.d.ts +25 -44
  5. package/es/core/Table/components/CellEditors/Boolean.d.ts +133 -33
  6. package/es/core/Table/components/CellEditors/Cascader.d.ts +8 -11
  7. package/es/core/Table/components/CellEditors/Color.d.ts +4 -7
  8. package/es/core/Table/components/CellEditors/DatePicker.d.ts +3 -8
  9. package/es/core/Table/components/CellEditors/DynamicCell.d.ts +1 -4
  10. package/es/core/Table/components/CellEditors/Image.d.ts +5 -8
  11. package/es/core/Table/components/CellEditors/Input.d.ts +3 -6
  12. package/es/core/Table/components/CellEditors/InputNumber.d.ts +3 -8
  13. package/es/core/Table/components/CellEditors/PopOver.d.ts +2 -5
  14. package/es/core/Table/components/CellEditors/Select.d.ts +9 -12
  15. package/es/core/Table/components/CellEditors/utils.d.ts +1 -1
  16. package/es/core/Table/components/CellRender.d.ts +2 -21
  17. package/es/core/Table/components/FilterTagsDisplay/index.vue.d.ts +37 -0
  18. package/es/core/Table/components/HeaderRender/index.d.ts +10 -8
  19. package/es/core/Table/components/TableSet/ColumnSet.vue.d.ts +476 -26
  20. package/es/core/Table/components/TableSet/index.vue.d.ts +6 -15
  21. package/es/core/Table/components/TableSet/utils.d.ts +1 -1
  22. package/es/core/Table/components/Toolbar/index.vue.d.ts +20 -0
  23. package/es/core/Table/configs/column.d.ts +2 -2
  24. package/es/core/Table/configs/table.d.ts +1 -1
  25. package/es/core/Table/hooks/useTableEvents.d.ts +4 -3
  26. package/es/core/Table/index.d.ts +3 -2
  27. package/es/core/Table/index.vue.d.ts +51 -53
  28. package/es/core/Table/renderer/FilterRender/index.vue.d.ts +13 -11
  29. package/es/core/Table/utils/autoColumnWidth.d.ts +1 -1
  30. package/es/core/Table/utils/footer.d.ts +2 -2
  31. package/es/core/Table/utils/tree-helper.d.ts +1 -1
  32. package/es/index.d.ts +7 -7
  33. package/es/index.mjs +13024 -12633
  34. package/es/locales/lang/bn.d.ts +6 -0
  35. package/es/locales/lang/en.d.ts +6 -0
  36. package/es/locales/lang/vi.d.ts +6 -0
  37. package/es/locales/lang/zh-cn.d.ts +6 -0
  38. package/es/locales/useLocale.d.ts +8 -2
  39. package/es/style.css +1 -1
  40. package/lib/core/ConfigProvider/index.d.ts +8 -3
  41. package/lib/core/ConfigProvider/index.vue.d.ts +12 -16
  42. package/lib/core/Modal/index.vue.d.ts +61 -110
  43. package/lib/core/Select/index.vue.d.ts +25 -44
  44. package/lib/core/Table/components/CellEditors/Boolean.d.ts +133 -33
  45. package/lib/core/Table/components/CellEditors/Cascader.d.ts +8 -11
  46. package/lib/core/Table/components/CellEditors/Color.d.ts +4 -7
  47. package/lib/core/Table/components/CellEditors/DatePicker.d.ts +3 -8
  48. package/lib/core/Table/components/CellEditors/DynamicCell.d.ts +1 -4
  49. package/lib/core/Table/components/CellEditors/Image.d.ts +5 -8
  50. package/lib/core/Table/components/CellEditors/Input.d.ts +3 -6
  51. package/lib/core/Table/components/CellEditors/InputNumber.d.ts +3 -8
  52. package/lib/core/Table/components/CellEditors/PopOver.d.ts +2 -5
  53. package/lib/core/Table/components/CellEditors/Select.d.ts +9 -12
  54. package/lib/core/Table/components/CellEditors/utils.d.ts +1 -1
  55. package/lib/core/Table/components/CellRender.d.ts +2 -21
  56. package/lib/core/Table/components/FilterTagsDisplay/index.vue.d.ts +37 -0
  57. package/lib/core/Table/components/HeaderRender/index.d.ts +10 -8
  58. package/lib/core/Table/components/TableSet/ColumnSet.vue.d.ts +476 -26
  59. package/lib/core/Table/components/TableSet/index.vue.d.ts +6 -15
  60. package/lib/core/Table/components/TableSet/utils.d.ts +1 -1
  61. package/lib/core/Table/components/Toolbar/index.vue.d.ts +20 -0
  62. package/lib/core/Table/configs/column.d.ts +2 -2
  63. package/lib/core/Table/configs/table.d.ts +1 -1
  64. package/lib/core/Table/hooks/useTableEvents.d.ts +4 -3
  65. package/lib/core/Table/index.d.ts +3 -2
  66. package/lib/core/Table/index.vue.d.ts +51 -53
  67. package/lib/core/Table/renderer/FilterRender/index.vue.d.ts +13 -11
  68. package/lib/core/Table/utils/autoColumnWidth.d.ts +1 -1
  69. package/lib/core/Table/utils/footer.d.ts +2 -2
  70. package/lib/core/Table/utils/tree-helper.d.ts +1 -1
  71. package/lib/index.d.ts +7 -7
  72. package/lib/index.js +7 -7
  73. package/lib/locales/lang/bn.d.ts +6 -0
  74. package/lib/locales/lang/en.d.ts +6 -0
  75. package/lib/locales/lang/vi.d.ts +6 -0
  76. package/lib/locales/lang/zh-cn.d.ts +6 -0
  77. package/lib/locales/useLocale.d.ts +8 -2
  78. package/lib/style.css +1 -1
  79. package/package.json +2 -2
  80. package/types/table/table.d.ts +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wx-design/components",
3
- "version": "1.2.2",
3
+ "version": "1.3.0-alpha.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -28,7 +28,7 @@
28
28
  "glob": "^10.3.10",
29
29
  "sass": "^1.69.5",
30
30
  "vite": "^4.5.0",
31
- "vite-plugin-dts": "^3.6.3"
31
+ "vite-plugin-dts": "^4.5.4"
32
32
  },
33
33
  "dependencies": {
34
34
  "@vueuse/core": "^10.6.1",
@@ -29,6 +29,12 @@ export type SabHeaderFilterProps<D = VxeTableDataRow> = {
29
29
  enableAllAutoCollect?: boolean
30
30
  // 使用原生 input 组件
31
31
  useNativeInput?: boolean
32
+ // 是否显示筛选标签区域,默认 true
33
+ showFilterTags?: boolean;
34
+ // 筛选标签类型
35
+ tagType?: 'success' | 'info' | 'warning' | 'danger';
36
+ // 筛选标签效果
37
+ tagEffect?: 'light' | 'dark' | 'plain';
32
38
  };
33
39
 
34
40
  export type SabTableProps<D = VxeTableDataRow> = VxeTableProps<D> & {