vxe-pc-ui 3.3.40 → 3.3.41
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/color-picker/src/color-picker.js +10 -1
- package/es/form/src/render.js +3 -2
- package/es/icon/style.css +1 -1
- 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/upload/src/upload.js +9 -2
- package/es/upload/style.css +9 -7
- package/es/upload/style.min.css +1 -1
- package/es/vxe-upload/style.css +9 -7
- package/es/vxe-upload/style.min.css +1 -1
- package/lib/color-picker/src/color-picker.js +10 -1
- package/lib/color-picker/src/color-picker.min.js +1 -1
- package/lib/form/src/render.js +2 -1
- package/lib/form/src/render.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 +24 -5
- package/lib/index.umd.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/upload/src/upload.js +9 -1
- package/lib/upload/src/upload.min.js +1 -1
- package/lib/upload/style/style.css +9 -7
- package/lib/upload/style/style.min.css +1 -1
- package/lib/vxe-upload/style/style.css +9 -7
- package/lib/vxe-upload/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/color-picker/src/color-picker.ts +8 -0
- package/packages/form/src/render.ts +3 -2
- package/packages/ui/index.ts +1 -0
- package/packages/upload/src/upload.ts +10 -3
- package/styles/components/upload.scss +12 -11
- package/types/components/color-picker.d.ts +42 -2
- package/types/components/table-module/edit.d.ts +26 -7
- /package/es/icon/{iconfont.1734517198871.ttf → iconfont.1734611289675.ttf} +0 -0
- /package/es/icon/{iconfont.1734517198871.woff → iconfont.1734611289675.woff} +0 -0
- /package/es/icon/{iconfont.1734517198871.woff2 → iconfont.1734611289675.woff2} +0 -0
- /package/es/{iconfont.1734517198871.ttf → iconfont.1734611289675.ttf} +0 -0
- /package/es/{iconfont.1734517198871.woff → iconfont.1734611289675.woff} +0 -0
- /package/es/{iconfont.1734517198871.woff2 → iconfont.1734611289675.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1734517198871.ttf → iconfont.1734611289675.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1734517198871.woff → iconfont.1734611289675.woff} +0 -0
- /package/lib/icon/style/{iconfont.1734517198871.woff2 → iconfont.1734611289675.woff2} +0 -0
- /package/lib/{iconfont.1734517198871.ttf → iconfont.1734611289675.ttf} +0 -0
- /package/lib/{iconfont.1734517198871.woff → iconfont.1734611289675.woff} +0 -0
- /package/lib/{iconfont.1734517198871.woff2 → iconfont.1734611289675.woff2} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams } from '@vxe-ui/core'
|
|
1
|
+
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, VxeComponentStyleType } from '@vxe-ui/core'
|
|
2
2
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
|
|
4
4
|
|
|
@@ -16,9 +16,32 @@ export interface ColorPickerPrivateRef {
|
|
|
16
16
|
export interface VxeColorPickerPrivateRef extends ColorPickerPrivateRef { }
|
|
17
17
|
|
|
18
18
|
export namespace VxeColorPickerPropTypes {
|
|
19
|
+
export type ModelValue = string
|
|
20
|
+
export type Size = VxeComponentSizeType
|
|
21
|
+
export type ClassName = string | ((params: { $colorPicker: VxeColorPickerConstructor }) => string)
|
|
22
|
+
export type PopupClassName = string | ((params: {$colorPicker: VxeColorPickerConstructor }) => string)
|
|
23
|
+
export type Readonly = boolean
|
|
24
|
+
export type Disabled = boolean
|
|
25
|
+
export type Placeholder = string
|
|
26
|
+
export type Clearable = boolean
|
|
27
|
+
export type Placement = 'top' | 'bottom' | '' | null
|
|
28
|
+
export type Transfer = boolean
|
|
19
29
|
}
|
|
20
30
|
|
|
21
31
|
export interface VxeColorPickerProps {
|
|
32
|
+
/**
|
|
33
|
+
* 绑定值
|
|
34
|
+
*/
|
|
35
|
+
modelValue?: VxeColorPickerPropTypes.ModelValue
|
|
36
|
+
size?: VxeColorPickerPropTypes.Size
|
|
37
|
+
className?: VxeColorPickerPropTypes.ClassName
|
|
38
|
+
popupClassName?: VxeColorPickerPropTypes.PopupClassName
|
|
39
|
+
readonly?: VxeColorPickerPropTypes.Readonly
|
|
40
|
+
disabled?: VxeColorPickerPropTypes.Disabled
|
|
41
|
+
placeholder?: VxeColorPickerPropTypes.Placeholder
|
|
42
|
+
clearable?: VxeColorPickerPropTypes.Clearable
|
|
43
|
+
placement?: VxeColorPickerPropTypes.Placement
|
|
44
|
+
transfer?: VxeColorPickerPropTypes.Transfer
|
|
22
45
|
}
|
|
23
46
|
|
|
24
47
|
export interface ColorPickerPrivateComputed {
|
|
@@ -26,6 +49,18 @@ export interface ColorPickerPrivateComputed {
|
|
|
26
49
|
export interface VxeColorPickerPrivateComputed extends ColorPickerPrivateComputed { }
|
|
27
50
|
|
|
28
51
|
export interface ColorPickerReactData {
|
|
52
|
+
initialized: boolean
|
|
53
|
+
selectColor: string
|
|
54
|
+
panelIndex: number
|
|
55
|
+
panelStyle: VxeComponentStyleType
|
|
56
|
+
panelPlacement: any
|
|
57
|
+
visiblePanel: boolean
|
|
58
|
+
isAniVisible: boolean
|
|
59
|
+
isActivated: boolean
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface ColorPickerInternalData {
|
|
63
|
+
hpTimeout?: undefined | number
|
|
29
64
|
}
|
|
30
65
|
|
|
31
66
|
export interface ColorPickerMethods {
|
|
@@ -35,7 +70,12 @@ export interface VxeColorPickerMethods extends ColorPickerMethods { }
|
|
|
35
70
|
export interface ColorPickerPrivateMethods { }
|
|
36
71
|
export interface VxeColorPickerPrivateMethods extends ColorPickerPrivateMethods { }
|
|
37
72
|
|
|
38
|
-
export type VxeColorPickerEmits = [
|
|
73
|
+
export type VxeColorPickerEmits = [
|
|
74
|
+
'update:modelValue',
|
|
75
|
+
'change',
|
|
76
|
+
'clear',
|
|
77
|
+
'click'
|
|
78
|
+
]
|
|
39
79
|
|
|
40
80
|
export namespace VxeColorPickerDefines {
|
|
41
81
|
export interface ColorPickerEventParams extends VxeComponentEventParams {
|
|
@@ -14,18 +14,37 @@ export interface TableEditMethods<D = any> {
|
|
|
14
14
|
* 如果 row 为 -1 则从插入到底部,如果为树结构,则插入到目标节点底部
|
|
15
15
|
* 如果 row 为有效行则插入到该行的位置,如果为树结构,则有插入到效的目标节点该行的位置
|
|
16
16
|
* @param {Object/Array} records 新的数据
|
|
17
|
-
* @param {Row}
|
|
17
|
+
* @param {Row} targetRow 指定行
|
|
18
18
|
*/
|
|
19
|
-
insertAt(records: any,
|
|
19
|
+
insertAt(records: any, targetRow: any | -1 | null): Promise<{ row: D, rows: D[] }>
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* 与 insertAt 行为一致,区别就是会插入指定目标的到下一行
|
|
22
|
+
* @param records records 新的数据
|
|
23
|
+
* @param targetRow row 指定行
|
|
24
|
+
*/
|
|
25
|
+
insertNextAt(records: any, targetRow: any | -1 | null): Promise<{ row: D, rows: D[] }>
|
|
26
|
+
/**
|
|
27
|
+
* 用于树结构,往指定节点插入子级临时数据,从子级的第一行新增一行或多行新数据
|
|
28
|
+
* @param records 新数据
|
|
29
|
+
*/
|
|
30
|
+
insertChild(records: any, parentRow: any): Promise<{ row: D, rows: D[] }>
|
|
31
|
+
/**
|
|
32
|
+
* 用于树结构,往指定节点插入子级临时数据
|
|
22
33
|
* 如果 row 为空则从插入到顶部,如果为树结构,则插入到目标节点顶部
|
|
23
34
|
* 如果 row 为 -1 则从插入到底部,如果为树结构,则插入到目标节点底部
|
|
24
|
-
* 如果 row
|
|
25
|
-
* @param records
|
|
26
|
-
* @param
|
|
35
|
+
* 如果 row 为有效行则插入到该行的位置,如果为树结构,则有插入到效的目标节点该行的位置
|
|
36
|
+
* @param records 新的数据
|
|
37
|
+
* @param parentRow 父节点
|
|
38
|
+
* @param targetRow 指定子节点
|
|
39
|
+
*/
|
|
40
|
+
insertChildAt(records: any, parentRow: any, targetRow: any | -1 | null): Promise<{ row: D, rows: D[] }>
|
|
41
|
+
/**
|
|
42
|
+
* 与 insertChildAt 行为一致,区别就是会插入指定目标子级的到下一行
|
|
43
|
+
* @param records 新的数据
|
|
44
|
+
* @param parentRow 父节点
|
|
45
|
+
* @param targetRow 指定子节点
|
|
27
46
|
*/
|
|
28
|
-
|
|
47
|
+
insertChildNextAt(records: any, parentRow: any, targetRow: any | -1 | null): Promise<{ row: D, rows: D[] }>
|
|
29
48
|
/**
|
|
30
49
|
* 删除指定行数据,指定 row 或 [row, ...] 删除多条数据,如果为空则删除所有数据
|
|
31
50
|
* @param rows 指定行
|
|
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
|