vxe-pc-ui 4.8.8 → 4.8.10

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 (99) hide show
  1. package/README.md +1 -0
  2. package/es/color-picker/src/color-picker.js +12 -0
  3. package/es/color-picker/style.css +2 -5
  4. package/es/color-picker/style.min.css +1 -1
  5. package/es/components.js +3 -0
  6. package/es/form/src/form.js +16 -10
  7. package/es/gantt/index.js +12 -0
  8. package/es/gantt/src/gantt.js +61 -0
  9. package/es/gantt/style.css +0 -0
  10. package/es/gantt/style.min.css +0 -0
  11. package/es/icon/style.css +1 -1
  12. package/es/list/src/list.js +59 -55
  13. package/es/number-input/src/number-input.js +2 -2
  14. package/es/select/src/select.js +24 -20
  15. package/es/style.css +1 -1
  16. package/es/style.min.css +1 -1
  17. package/es/tree/src/tree.js +44 -31
  18. package/es/tree-select/src/tree-select.js +9 -5
  19. package/es/ui/index.js +4 -2
  20. package/es/ui/src/log.js +1 -1
  21. package/es/vxe-color-picker/style.css +2 -5
  22. package/es/vxe-color-picker/style.min.css +1 -1
  23. package/es/vxe-gantt/index.js +3 -0
  24. package/es/vxe-gantt/style.css +0 -0
  25. package/es/vxe-gantt/style.min.css +0 -0
  26. package/lib/color-picker/src/color-picker.js +12 -0
  27. package/lib/color-picker/src/color-picker.min.js +1 -1
  28. package/lib/color-picker/style/style.css +2 -5
  29. package/lib/color-picker/style/style.min.css +1 -1
  30. package/lib/components.js +13 -1
  31. package/lib/components.min.js +1 -1
  32. package/lib/form/src/form.js +15 -9
  33. package/lib/form/src/form.min.js +1 -1
  34. package/lib/gantt/index.js +19 -0
  35. package/lib/gantt/index.min.js +1 -0
  36. package/lib/gantt/src/gantt.js +72 -0
  37. package/lib/gantt/src/gantt.min.js +1 -0
  38. package/lib/gantt/style/index.js +1 -0
  39. package/lib/gantt/style/style.css +0 -0
  40. package/lib/gantt/style/style.min.css +0 -0
  41. package/lib/icon/style/style.css +1 -1
  42. package/lib/icon/style/style.min.css +1 -1
  43. package/lib/index.umd.js +265 -132
  44. package/lib/index.umd.min.js +1 -1
  45. package/lib/list/src/list.js +66 -62
  46. package/lib/list/src/list.min.js +1 -1
  47. package/lib/number-input/src/number-input.js +2 -2
  48. package/lib/number-input/src/number-input.min.js +1 -1
  49. package/lib/select/src/select.js +24 -20
  50. package/lib/select/src/select.min.js +1 -1
  51. package/lib/style.css +1 -1
  52. package/lib/style.min.css +1 -1
  53. package/lib/tree/src/tree.js +46 -30
  54. package/lib/tree/src/tree.min.js +1 -1
  55. package/lib/tree-select/src/tree-select.js +9 -5
  56. package/lib/tree-select/src/tree-select.min.js +1 -1
  57. package/lib/ui/index.js +4 -2
  58. package/lib/ui/index.min.js +1 -1
  59. package/lib/ui/src/log.js +1 -1
  60. package/lib/ui/src/log.min.js +1 -1
  61. package/lib/vxe-color-picker/style/style.css +2 -5
  62. package/lib/vxe-color-picker/style/style.min.css +1 -1
  63. package/lib/vxe-gantt/index.js +22 -0
  64. package/lib/vxe-gantt/index.min.js +1 -0
  65. package/lib/vxe-gantt/style/index.js +1 -0
  66. package/lib/vxe-gantt/style/style.css +0 -0
  67. package/lib/vxe-gantt/style/style.min.css +0 -0
  68. package/package.json +1 -1
  69. package/packages/color-picker/src/color-picker.ts +12 -0
  70. package/packages/components.ts +3 -0
  71. package/packages/form/src/form.ts +18 -10
  72. package/packages/gantt/index.ts +16 -0
  73. package/packages/gantt/src/gantt.ts +87 -0
  74. package/packages/list/src/list.ts +61 -56
  75. package/packages/number-input/src/number-input.ts +2 -2
  76. package/packages/select/src/select.ts +27 -22
  77. package/packages/tree/src/tree.ts +47 -35
  78. package/packages/tree-select/src/tree-select.ts +10 -5
  79. package/packages/ui/index.ts +3 -1
  80. package/styles/all.scss +1 -0
  81. package/styles/components/color-picker.scss +2 -5
  82. package/styles/components/gantt.scss +0 -0
  83. package/types/all.d.ts +3 -0
  84. package/types/components/gantt.d.ts +77 -0
  85. package/types/components/grid.d.ts +3 -0
  86. package/types/components/number-input.d.ts +4 -0
  87. package/types/ui/global-config.d.ts +2 -0
  88. /package/es/icon/{iconfont.1754439880814.ttf → iconfont.1754474084337.ttf} +0 -0
  89. /package/es/icon/{iconfont.1754439880814.woff → iconfont.1754474084337.woff} +0 -0
  90. /package/es/icon/{iconfont.1754439880814.woff2 → iconfont.1754474084337.woff2} +0 -0
  91. /package/es/{iconfont.1754439880814.ttf → iconfont.1754474084337.ttf} +0 -0
  92. /package/es/{iconfont.1754439880814.woff → iconfont.1754474084337.woff} +0 -0
  93. /package/es/{iconfont.1754439880814.woff2 → iconfont.1754474084337.woff2} +0 -0
  94. /package/lib/icon/style/{iconfont.1754439880814.ttf → iconfont.1754474084337.ttf} +0 -0
  95. /package/lib/icon/style/{iconfont.1754439880814.woff → iconfont.1754474084337.woff} +0 -0
  96. /package/lib/icon/style/{iconfont.1754439880814.woff2 → iconfont.1754474084337.woff2} +0 -0
  97. /package/lib/{iconfont.1754439880814.ttf → iconfont.1754474084337.ttf} +0 -0
  98. /package/lib/{iconfont.1754439880814.woff → iconfont.1754474084337.woff} +0 -0
  99. /package/lib/{iconfont.1754439880814.woff2 → iconfont.1754474084337.woff2} +0 -0
@@ -0,0 +1,77 @@
1
+ import { RenderFunction, SetupContext, Ref } from 'vue'
2
+ import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf, VxeComponentSizeType } from '@vxe-ui/core'
3
+ import { VxeTableInstance } from './table'
4
+
5
+ /* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
6
+
7
+ export declare const VxeGantt: DefineVxeComponentApp<VxeGanttProps, VxeGanttEventProps, VxeGanttSlots, VxeGanttMethods>
8
+ export type VxeGanttComponent = DefineVxeComponentOptions<VxeGanttProps, VxeGanttEventProps>
9
+
10
+ export type VxeGanttInstance = DefineVxeComponentInstance<VxeGanttProps, VxeGanttConstructor>
11
+
12
+ export interface VxeGanttConstructor extends VxeComponentBaseOptions, VxeGanttMethods {
13
+ props: VxeGanttProps
14
+ context: SetupContext<VxeGanttEmits>
15
+ reactData: GanttReactData
16
+ internalData: GanttInternalData
17
+ getRefMaps(): GanttPrivateRef
18
+ getComputeMaps(): GanttPrivateComputed
19
+ renderVN: RenderFunction
20
+ }
21
+
22
+ export interface GanttPrivateRef<D = any> {
23
+ refElem: Ref<HTMLDivElement | undefined>
24
+ refTable: Ref<VxeTableInstance<D> | undefined>
25
+ }
26
+ export interface VxeGanttPrivateRef extends GanttPrivateRef { }
27
+
28
+ export namespace VxeGanttPropTypes {
29
+ export type Size = VxeComponentSizeType
30
+ }
31
+
32
+ export type VxeGanttProps = {
33
+ size?: VxeGanttPropTypes.Size
34
+ }
35
+
36
+ export interface GanttPrivateComputed {
37
+ }
38
+ export interface VxeGanttPrivateComputed extends GanttPrivateComputed { }
39
+
40
+ export interface GanttReactData {
41
+ }
42
+
43
+ export interface GanttInternalData {
44
+ }
45
+
46
+ export interface GanttMethods {
47
+ dispatchEvent(type: ValueOf<VxeGanttEmits>, params: Record<string, any>, evnt: Event | null): void
48
+ }
49
+ export interface VxeGanttMethods extends GanttMethods { }
50
+
51
+ export interface GanttPrivateMethods { }
52
+ export interface VxeGanttPrivateMethods extends GanttPrivateMethods { }
53
+
54
+ export type VxeGanttEmits = []
55
+
56
+ export namespace VxeGanttDefines {
57
+ export interface GanttEventParams extends VxeComponentEventParams {
58
+ $gantt: VxeGanttConstructor
59
+ }
60
+ }
61
+
62
+ export type VxeGanttEventProps = {}
63
+
64
+ export interface VxeGanttListeners { }
65
+
66
+ export namespace VxeGanttEvents { }
67
+
68
+ export namespace VxeGanttSlotTypes {
69
+ export interface DefaultSlotParams {}
70
+ }
71
+
72
+ export interface VxeGanttSlots {
73
+ default?: (params: VxeGanttSlotTypes.DefaultSlotParams) => any
74
+ }
75
+
76
+ export const Gantt: typeof VxeGantt
77
+ export default VxeGantt
@@ -18,6 +18,7 @@ export interface VxeGridConstructor<D = any> extends VxeComponentBaseOptions, Vx
18
18
  props: VxeGridProps
19
19
  context: SetupContext<VxeGridEmits>
20
20
  reactData: GridReactData
21
+ internalData: GridInternalData
21
22
  getRefMaps(): GridPrivateRef
22
23
  getComputeMaps(): GridPrivateComputed
23
24
  renderVN: RenderFunction
@@ -292,6 +293,8 @@ export interface GridReactData<D = any> {
292
293
  }
293
294
  }
294
295
 
296
+ export interface GridInternalData {}
297
+
295
298
  export interface GridMethods<D = any> {
296
299
  dispatchEvent(type: ValueOf<VxeGridEmits>, params: Record<string, any>, evnt: Event | null): void
297
300
  /**
@@ -59,6 +59,10 @@ export namespace VxeNumberInputPropTypes {
59
59
  * 只对 enabled 启用后有效,是否启用鼠标滚轮操作
60
60
  */
61
61
  isWheel?: boolean
62
+ /**
63
+ * 只对 enabled 启用后有效,是否启用方向键操作
64
+ */
65
+ isArrow?: boolean
62
66
  /**
63
67
  * 按钮的布局方式
64
68
  */
@@ -31,6 +31,7 @@ import { VxeFormGatherProps } from '../components/form-gather'
31
31
  import { VxeFormGroupProps } from '../components/form-group'
32
32
  import { VxeFormItemProps } from '../components/form-item'
33
33
  import { VxeFormViewProps } from '../components/form-view'
34
+ import { VxeGanttProps } from '../components/gantt'
34
35
  import { VxeIconProps } from '../components/icon'
35
36
  import { VxeIconPickerProps } from '../components/icon-picker'
36
37
  import { VxeImageProps } from '../components/image'
@@ -125,6 +126,7 @@ declare module '@vxe-ui/core' {
125
126
  formGroup?: VxeFormGroupProps
126
127
  formItem?: VxeFormItemProps
127
128
  formView?: VxeFormViewProps
129
+ gantt?: VxeGanttProps
128
130
  icon?: VxeIconProps
129
131
  iconPicker?: VxeIconPickerProps
130
132
  image?: VxeImageProps