vxe-pc-ui 3.3.45 → 3.3.47
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.
- package/es/calendar/src/calendar.js +44 -1
- package/es/color-picker/src/color-picker.js +1 -1
- package/es/icon/style.css +1 -1
- package/es/menu/src/menu.js +34 -10
- package/es/menu/style.css +6 -2
- package/es/menu/style.min.css +1 -1
- package/es/number-input/src/number-input.js +35 -5
- package/es/rate/src/rate.js +7 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +2 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-menu/style.css +6 -2
- package/es/vxe-menu/style.min.css +1 -1
- package/lib/calendar/src/calendar.js +47 -1
- package/lib/calendar/src/calendar.min.js +1 -1
- package/lib/color-picker/src/color-picker.js +1 -1
- package/lib/color-picker/src/color-picker.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +130 -13
- package/lib/index.umd.min.js +1 -1
- package/lib/menu/src/menu.js +28 -5
- package/lib/menu/src/menu.min.js +1 -1
- package/lib/menu/style/style.css +6 -2
- package/lib/menu/style/style.min.css +1 -1
- package/lib/number-input/src/number-input.js +47 -5
- package/lib/number-input/src/number-input.min.js +1 -1
- package/lib/rate/src/rate.js +6 -0
- package/lib/rate/src/rate.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +2 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-menu/style/style.css +6 -2
- package/lib/vxe-menu/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/calendar/src/calendar.ts +45 -1
- package/packages/color-picker/src/color-picker.ts +1 -1
- package/packages/menu/src/menu.ts +35 -10
- package/packages/number-input/src/number-input.ts +39 -10
- package/packages/rate/src/rate.ts +6 -0
- package/packages/ui/index.ts +1 -0
- package/styles/components/menu.scss +6 -2
- package/types/components/calendar.d.ts +47 -4
- package/types/components/color-picker.d.ts +1 -1
- package/types/components/icon-picker.d.ts +1 -1
- package/types/components/menu.d.ts +16 -12
- package/types/components/number-input.d.ts +2 -0
- package/types/components/option.d.ts +1 -1
- /package/es/icon/{iconfont.1734966316353.ttf → iconfont.1735126894675.ttf} +0 -0
- /package/es/icon/{iconfont.1734966316353.woff → iconfont.1735126894675.woff} +0 -0
- /package/es/icon/{iconfont.1734966316353.woff2 → iconfont.1735126894675.woff2} +0 -0
- /package/es/{iconfont.1734966316353.ttf → iconfont.1735126894675.ttf} +0 -0
- /package/es/{iconfont.1734966316353.woff → iconfont.1735126894675.woff} +0 -0
- /package/es/{iconfont.1734966316353.woff2 → iconfont.1735126894675.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1734966316353.ttf → iconfont.1735126894675.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1734966316353.woff → iconfont.1735126894675.woff} +0 -0
- /package/lib/icon/style/{iconfont.1734966316353.woff2 → iconfont.1735126894675.woff2} +0 -0
- /package/lib/{iconfont.1734966316353.ttf → iconfont.1735126894675.ttf} +0 -0
- /package/lib/{iconfont.1734966316353.woff → iconfont.1735126894675.woff} +0 -0
- /package/lib/{iconfont.1734966316353.woff2 → iconfont.1735126894675.woff2} +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CreateElement } from 'vue'
|
|
1
2
|
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, ValueOf, VxeComponentSizeType, VxeComponentStyleType, VxeComponentPermissionCodeType } from '@vxe-ui/core'
|
|
2
3
|
import { VxeLinkPropTypes } from './link'
|
|
3
4
|
|
|
@@ -21,18 +22,6 @@ export namespace VxeMenuPropTypes {
|
|
|
21
22
|
export type Size = VxeComponentSizeType
|
|
22
23
|
export type Loading = boolean
|
|
23
24
|
|
|
24
|
-
export interface MenuOneOption extends MenuOption {
|
|
25
|
-
children?: MenuTwoOption[]
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface MenuTwoOption extends MenuOption {
|
|
29
|
-
children?: MenuThreeOption[]
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export interface MenuThreeOption extends MenuOption {
|
|
33
|
-
children?: MenuOption[]
|
|
34
|
-
}
|
|
35
|
-
|
|
36
25
|
export interface MenuOption {
|
|
37
26
|
name?: VxeMenuPropTypes.ModelValue
|
|
38
27
|
title?: string | number
|
|
@@ -40,6 +29,13 @@ export namespace VxeMenuPropTypes {
|
|
|
40
29
|
routerLink?: VxeLinkPropTypes.RouterLink
|
|
41
30
|
expanded?: boolean
|
|
42
31
|
permissionCode?: VxeComponentPermissionCodeType
|
|
32
|
+
children?: MenuOption[]
|
|
33
|
+
slots?: {
|
|
34
|
+
default?: string | ((params: {
|
|
35
|
+
option: Required<MenuOption>
|
|
36
|
+
collapsed: boolean
|
|
37
|
+
}, h: CreateElement) => VxeComponentSlotType | VxeComponentSlotType[]) | null
|
|
38
|
+
}
|
|
43
39
|
}
|
|
44
40
|
|
|
45
41
|
export type Collapsed = boolean
|
|
@@ -127,6 +123,14 @@ export namespace VxeMenuSlotTypes {
|
|
|
127
123
|
|
|
128
124
|
export interface VxeMenuSlots {
|
|
129
125
|
default?: (params: VxeMenuSlotTypes.DefaultSlotParams) => any
|
|
126
|
+
/**
|
|
127
|
+
* 自定义弹窗容器选项模板
|
|
128
|
+
*/
|
|
129
|
+
option?: ((params: {
|
|
130
|
+
option: Required<MenuOption>
|
|
131
|
+
collapsed: boolean
|
|
132
|
+
[key: string]: any
|
|
133
|
+
}) => any) | undefined
|
|
130
134
|
}
|
|
131
135
|
|
|
132
136
|
export const Menu: typeof VxeMenu
|
|
@@ -37,6 +37,7 @@ export namespace VxeNumberInputPropTypes {
|
|
|
37
37
|
export type Exponential = boolean
|
|
38
38
|
export type Controls = boolean
|
|
39
39
|
export type Digits = string | number
|
|
40
|
+
export type AutoFill = boolean
|
|
40
41
|
export type PrefixIcon = string
|
|
41
42
|
export type SuffixIcon = string
|
|
42
43
|
|
|
@@ -83,6 +84,7 @@ export interface VxeNumberInputProps {
|
|
|
83
84
|
|
|
84
85
|
// float
|
|
85
86
|
digits?: VxeNumberInputPropTypes.Digits
|
|
87
|
+
autoFill?: VxeNumberInputPropTypes.AutoFill
|
|
86
88
|
|
|
87
89
|
prefixIcon?: VxeNumberInputPropTypes.PrefixIcon
|
|
88
90
|
suffixIcon?: VxeNumberInputPropTypes.SuffixIcon
|
|
@@ -29,7 +29,7 @@ export namespace VxeOptionPropTypes {
|
|
|
29
29
|
default?: string | ((params: {
|
|
30
30
|
option: any
|
|
31
31
|
$select: VxeSelectConstructor
|
|
32
|
-
}) => VxeComponentSlotType | VxeComponentSlotType[]) | null
|
|
32
|
+
}, h: CreateElement) => VxeComponentSlotType | VxeComponentSlotType[]) | null
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|