vxe-pc-ui 3.15.3 → 3.15.4

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 (32) hide show
  1. package/es/cascader/src/cascader.js +72 -30
  2. package/es/tree-select/src/tree-select.js +22 -26
  3. package/es/ui/index.js +4 -1
  4. package/es/ui/src/log.js +10 -6
  5. package/lib/cascader/src/cascader.js +83 -31
  6. package/lib/cascader/src/cascader.min.js +1 -1
  7. package/lib/index.umd.js +158 -43
  8. package/lib/index.umd.min.js +1 -1
  9. package/lib/tree-select/src/tree-select.js +7 -7
  10. package/lib/tree-select/src/tree-select.min.js +1 -1
  11. package/lib/ui/index.js +4 -1
  12. package/lib/ui/index.min.js +1 -1
  13. package/lib/ui/src/log.js +9 -5
  14. package/lib/ui/src/log.min.js +1 -1
  15. package/package.json +1 -1
  16. package/packages/cascader/src/cascader.ts +71 -31
  17. package/packages/tree-select/src/tree-select.ts +22 -26
  18. package/packages/ui/index.ts +3 -0
  19. package/packages/ui/src/log.ts +11 -6
  20. package/types/components/cascader.d.ts +4 -0
  21. /package/es/icon/{iconfont.1781852732213.ttf → iconfont.1781876590487.ttf} +0 -0
  22. /package/es/icon/{iconfont.1781852732213.woff → iconfont.1781876590487.woff} +0 -0
  23. /package/es/icon/{iconfont.1781852732213.woff2 → iconfont.1781876590487.woff2} +0 -0
  24. /package/es/{iconfont.1781852732213.ttf → iconfont.1781876590487.ttf} +0 -0
  25. /package/es/{iconfont.1781852732213.woff → iconfont.1781876590487.woff} +0 -0
  26. /package/es/{iconfont.1781852732213.woff2 → iconfont.1781876590487.woff2} +0 -0
  27. /package/lib/icon/style/{iconfont.1781852732213.ttf → iconfont.1781876590487.ttf} +0 -0
  28. /package/lib/icon/style/{iconfont.1781852732213.woff → iconfont.1781876590487.woff} +0 -0
  29. /package/lib/icon/style/{iconfont.1781852732213.woff2 → iconfont.1781876590487.woff2} +0 -0
  30. /package/lib/{iconfont.1781852732213.ttf → iconfont.1781876590487.ttf} +0 -0
  31. /package/lib/{iconfont.1781852732213.woff → iconfont.1781876590487.woff} +0 -0
  32. /package/lib/{iconfont.1781852732213.woff2 → iconfont.1781876590487.woff2} +0 -0
@@ -1,13 +1,18 @@
1
- import { log } from '@vxe-ui/core'
1
+ import { VxeUI } from '@vxe-ui/core'
2
2
 
3
- const version = `ui v${process.env.VUE_APP_VXE_VERSION}`
3
+ const { log } = VxeUI
4
+
5
+ const uiVersion = `ui v${process.env.VUE_APP_VXE_VERSION}`
4
6
 
5
7
  export function createComponentLog (name: string) {
8
+ const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : ''
9
+ const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : ''
10
+ const designVersion = VxeUI.designVersion ? `design v${VxeUI.designVersion}` : ''
6
11
  return {
7
- warnLog: log.create('warn', `${version} ${name}`),
8
- errLog: log.create('error', `${version} ${name}`)
12
+ warnLog: log.create('warn', uiVersion + tableVersion + ganttVersion + designVersion + '] [' + name),
13
+ errLog: log.create('error', uiVersion + tableVersion + ganttVersion + designVersion + '] [' + name)
9
14
  }
10
15
  }
11
16
 
12
- export const warnLog = log.create('warn', version)
13
- export const errLog = log.create('error', version)
17
+ export const warnLog = log.create('warn', uiVersion)
18
+ export const errLog = log.create('error', uiVersion)
@@ -39,6 +39,10 @@ export namespace VxeCascaderPropTypes {
39
39
  */
40
40
  type FilterValue = string | number | null | undefined
41
41
  export interface FilterConfig<D = any> {
42
+ /**
43
+ * 过滤后是否自动展开第一个节点
44
+ */
45
+ autoExpandMode?: 'first' | 'last' | ''
42
46
  /**
43
47
  * 过滤之前的方法
44
48
  */