vxe-pc-ui 4.6.3 → 4.6.5
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/button/src/button.js +20 -73
- package/es/button/style.css +24 -2
- package/es/button/style.min.css +1 -1
- package/es/color-picker/src/color-picker.js +19 -72
- package/es/color-picker/style.css +15 -0
- package/es/color-picker/style.min.css +1 -1
- package/es/date-picker/src/date-picker.js +19 -74
- package/es/date-picker/style.css +3 -2
- package/es/date-picker/style.min.css +1 -1
- package/es/date-range-picker/src/date-range-picker.js +24 -79
- package/es/date-range-picker/style.css +3 -2
- package/es/date-range-picker/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/print/src/print.js +2 -2
- package/es/print/src/util.js +72 -40
- package/es/pulldown/src/pulldown.js +19 -74
- package/es/pulldown/style.css +0 -4
- package/es/pulldown/style.min.css +1 -1
- package/es/select/src/select.js +19 -72
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table-select/src/table-select.js +19 -72
- package/es/table-select/style.css +0 -1
- package/es/table-select/style.min.css +1 -1
- package/es/tree-select/src/tree-select.js +19 -72
- package/es/tree-select/style.css +0 -1
- package/es/tree-select/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/dom.js +92 -0
- package/es/ui/src/log.js +1 -1
- package/es/vxe-button/style.css +24 -2
- package/es/vxe-button/style.min.css +1 -1
- package/es/vxe-color-picker/style.css +15 -0
- package/es/vxe-color-picker/style.min.css +1 -1
- package/es/vxe-date-picker/style.css +3 -2
- package/es/vxe-date-picker/style.min.css +1 -1
- package/es/vxe-date-range-picker/style.css +3 -2
- package/es/vxe-date-range-picker/style.min.css +1 -1
- package/es/vxe-pulldown/style.css +0 -4
- package/es/vxe-pulldown/style.min.css +1 -1
- package/es/vxe-table-select/style.css +0 -1
- package/es/vxe-table-select/style.min.css +1 -1
- package/es/vxe-tree-select/style.css +0 -1
- package/es/vxe-tree-select/style.min.css +1 -1
- package/lib/button/src/button.js +23 -79
- package/lib/button/src/button.min.js +1 -1
- package/lib/button/style/style.css +24 -2
- package/lib/button/style/style.min.css +1 -1
- package/lib/color-picker/src/color-picker.js +22 -77
- package/lib/color-picker/src/color-picker.min.js +1 -1
- package/lib/color-picker/style/style.css +15 -0
- package/lib/color-picker/style/style.min.css +1 -1
- package/lib/date-picker/src/date-picker.js +22 -79
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/date-picker/style/style.css +3 -2
- package/lib/date-picker/style/style.min.css +1 -1
- package/lib/date-range-picker/src/date-range-picker.js +26 -83
- package/lib/date-range-picker/src/date-range-picker.min.js +1 -1
- package/lib/date-range-picker/style/style.css +3 -2
- package/lib/date-range-picker/style/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +333 -670
- package/lib/index.umd.min.js +1 -1
- package/lib/print/src/print.js +1 -1
- package/lib/print/src/print.min.js +1 -1
- package/lib/print/src/util.js +54 -38
- package/lib/print/src/util.min.js +1 -1
- package/lib/pulldown/src/pulldown.js +22 -80
- package/lib/pulldown/src/pulldown.min.js +1 -1
- package/lib/pulldown/style/style.css +0 -4
- package/lib/pulldown/style/style.min.css +1 -1
- package/lib/select/src/select.js +22 -77
- package/lib/select/src/select.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table-select/src/table-select.js +22 -77
- package/lib/table-select/src/table-select.min.js +1 -1
- package/lib/table-select/style/style.css +0 -1
- package/lib/table-select/style/style.min.css +1 -1
- package/lib/tree-select/src/tree-select.js +22 -77
- package/lib/tree-select/src/tree-select.min.js +1 -1
- package/lib/tree-select/style/style.css +0 -1
- package/lib/tree-select/style/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/dom.js +97 -0
- package/lib/ui/src/dom.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-button/style/style.css +24 -2
- package/lib/vxe-button/style/style.min.css +1 -1
- package/lib/vxe-color-picker/style/style.css +15 -0
- package/lib/vxe-color-picker/style/style.min.css +1 -1
- package/lib/vxe-date-picker/style/style.css +3 -2
- package/lib/vxe-date-picker/style/style.min.css +1 -1
- package/lib/vxe-date-range-picker/style/style.css +3 -2
- package/lib/vxe-date-range-picker/style/style.min.css +1 -1
- package/lib/vxe-pulldown/style/style.css +0 -4
- package/lib/vxe-pulldown/style/style.min.css +1 -1
- package/lib/vxe-table-select/style/style.css +0 -1
- package/lib/vxe-table-select/style/style.min.css +1 -1
- package/lib/vxe-tree-select/style/style.css +0 -1
- package/lib/vxe-tree-select/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/button/src/button.ts +20 -70
- package/packages/color-picker/src/color-picker.ts +19 -69
- package/packages/date-picker/src/date-picker.ts +20 -72
- package/packages/date-range-picker/src/date-range-picker.ts +24 -76
- package/packages/print/src/print.ts +2 -2
- package/packages/print/src/util.ts +73 -39
- package/packages/pulldown/src/pulldown.ts +20 -72
- package/packages/select/src/select.ts +19 -69
- package/packages/table-select/src/table-select.ts +19 -69
- package/packages/tree-select/src/tree-select.ts +19 -69
- package/packages/ui/src/dom.ts +96 -1
- package/styles/components/button.scss +3 -20
- package/styles/components/color-picker.scss +2 -27
- package/styles/components/date-picker.scss +2 -34
- package/styles/components/date-range-picker.scss +2 -34
- package/styles/components/pulldown.scss +2 -41
- package/styles/components/select.scss +2 -35
- package/styles/components/table-select.scss +2 -36
- package/styles/components/tree-select.scss +2 -36
- package/styles/helpers/placement.scss +39 -0
- package/types/components/print.d.ts +21 -0
- package/types/components/table.d.ts +51 -0
- /package/es/icon/{iconfont.1747005800508.ttf → iconfont.1747094595378.ttf} +0 -0
- /package/es/icon/{iconfont.1747005800508.woff → iconfont.1747094595378.woff} +0 -0
- /package/es/icon/{iconfont.1747005800508.woff2 → iconfont.1747094595378.woff2} +0 -0
- /package/es/{iconfont.1747005800508.ttf → iconfont.1747094595378.ttf} +0 -0
- /package/es/{iconfont.1747005800508.woff → iconfont.1747094595378.woff} +0 -0
- /package/es/{iconfont.1747005800508.woff2 → iconfont.1747094595378.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1747005800508.ttf → iconfont.1747094595378.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1747005800508.woff → iconfont.1747094595378.woff} +0 -0
- /package/lib/icon/style/{iconfont.1747005800508.woff2 → iconfont.1747094595378.woff2} +0 -0
- /package/lib/{iconfont.1747005800508.ttf → iconfont.1747094595378.ttf} +0 -0
- /package/lib/{iconfont.1747005800508.woff → iconfont.1747094595378.woff} +0 -0
- /package/lib/{iconfont.1747005800508.woff2 → iconfont.1747094595378.woff2} +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@use './baseMixin.scss';
|
|
2
|
+
|
|
3
|
+
@mixin createPlacementPanel {
|
|
4
|
+
display: none;
|
|
5
|
+
position: absolute;
|
|
6
|
+
left: 0;
|
|
7
|
+
padding: 4px 0;
|
|
8
|
+
color: var(--vxe-ui-font-color);
|
|
9
|
+
text-align: left;
|
|
10
|
+
&:not(.is--transfer) {
|
|
11
|
+
min-width: 100%;
|
|
12
|
+
}
|
|
13
|
+
&.is--transfer {
|
|
14
|
+
position: fixed;
|
|
15
|
+
}
|
|
16
|
+
&.ani--leave {
|
|
17
|
+
display: block;
|
|
18
|
+
opacity: 0;
|
|
19
|
+
transform: scaleY(0.5);
|
|
20
|
+
transition: transform .3s cubic-bezier(.23,1,.32,1), opacity .3s cubic-bezier(.23,1,.32,1);
|
|
21
|
+
transform-origin: center top;
|
|
22
|
+
backface-visibility: hidden;
|
|
23
|
+
&[placement="top"] {
|
|
24
|
+
transform-origin: center bottom;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
&.ani--enter {
|
|
28
|
+
opacity: 1;
|
|
29
|
+
transform: scaleY(1);
|
|
30
|
+
& > div {
|
|
31
|
+
&::after {
|
|
32
|
+
display: none;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
& > div {
|
|
37
|
+
@include baseMixin.createEmptyMask();
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -38,6 +38,27 @@ export namespace VxePrintPropTypes {
|
|
|
38
38
|
marginBottom?: number | string | null
|
|
39
39
|
marginLeft?: number | string | null
|
|
40
40
|
marginRight?: number | string | null
|
|
41
|
+
fontSize?: number | string | null
|
|
42
|
+
color?: string | null
|
|
43
|
+
textAlign?: VxeComponentAlignType
|
|
44
|
+
header?: {
|
|
45
|
+
height?: number | string | null
|
|
46
|
+
textAlign?: VxeComponentAlignType
|
|
47
|
+
}
|
|
48
|
+
title?: {
|
|
49
|
+
fontSize?: number | string | null
|
|
50
|
+
color?: string | null
|
|
51
|
+
textAlign?: VxeComponentAlignType
|
|
52
|
+
}
|
|
53
|
+
footer?: {
|
|
54
|
+
height?: number | string | null
|
|
55
|
+
textAlign?: VxeComponentAlignType
|
|
56
|
+
}
|
|
57
|
+
pageNumber?: {
|
|
58
|
+
fontSize?: number | string | null
|
|
59
|
+
color?: string | null
|
|
60
|
+
textAlign?: VxeComponentAlignType
|
|
61
|
+
}
|
|
41
62
|
}
|
|
42
63
|
export type CustomStyle = string
|
|
43
64
|
export type ShowAllPageTitle = boolean
|
|
@@ -1943,6 +1943,54 @@ export namespace VxeTablePropTypes {
|
|
|
1943
1943
|
replaceValue: string
|
|
1944
1944
|
result: VxeTableExtendCellAreaDefines.FindAndReplaceResult[]
|
|
1945
1945
|
}) => void
|
|
1946
|
+
/**
|
|
1947
|
+
* 匹配选项配置
|
|
1948
|
+
*/
|
|
1949
|
+
matchOptions?: {
|
|
1950
|
+
/**
|
|
1951
|
+
* 是否启用正则表达式
|
|
1952
|
+
*/
|
|
1953
|
+
isRE?: boolean
|
|
1954
|
+
/**
|
|
1955
|
+
* 是否启用全词匹配
|
|
1956
|
+
*/
|
|
1957
|
+
isWhole?: boolean
|
|
1958
|
+
/**
|
|
1959
|
+
* 是否启用区分大小写
|
|
1960
|
+
*/
|
|
1961
|
+
isSensitive?: boolean
|
|
1962
|
+
}
|
|
1963
|
+
/**
|
|
1964
|
+
* 列表配置项
|
|
1965
|
+
*/
|
|
1966
|
+
listOptions?: {
|
|
1967
|
+
/**
|
|
1968
|
+
* 格式化列表的显示值
|
|
1969
|
+
*/
|
|
1970
|
+
formatCellValue?(params: {
|
|
1971
|
+
item: VxeTableExtendCellAreaDefines.FNRSearch
|
|
1972
|
+
cellValue: any
|
|
1973
|
+
}): string | number
|
|
1974
|
+
}
|
|
1975
|
+
/**
|
|
1976
|
+
* 弹窗配置项
|
|
1977
|
+
*/
|
|
1978
|
+
modalOptions?: {
|
|
1979
|
+
title?: VxeModalPropTypes.Title
|
|
1980
|
+
width?: VxeModalPropTypes.Width
|
|
1981
|
+
minWidth?: VxeModalPropTypes.MinWidth
|
|
1982
|
+
height?: VxeModalPropTypes.Height
|
|
1983
|
+
minHeight?: VxeModalPropTypes.MinHeight
|
|
1984
|
+
className?: VxeModalPropTypes.ClassName
|
|
1985
|
+
resize?: VxeModalPropTypes.Resize
|
|
1986
|
+
showMaximize?: VxeModalPropTypes.ShowMaximize
|
|
1987
|
+
showMinimize?: VxeModalPropTypes.ShowMinimize
|
|
1988
|
+
showZoom?: VxeModalPropTypes.ShowZoom
|
|
1989
|
+
lockView?: VxeModalPropTypes.LockView
|
|
1990
|
+
mask?: VxeModalPropTypes.Mask
|
|
1991
|
+
maskClosable?: VxeModalPropTypes.MaskClosable
|
|
1992
|
+
escClosable?: VxeModalPropTypes.EscClosable
|
|
1993
|
+
}
|
|
1946
1994
|
}
|
|
1947
1995
|
export interface FNROpts<DT = any> extends FnrConfig<DT> { }
|
|
1948
1996
|
|
|
@@ -3095,6 +3143,7 @@ export interface VxeTableProps<D = any> {
|
|
|
3095
3143
|
export interface TablePrivateComputed<D = any> {
|
|
3096
3144
|
computeSize: ComputedRef<VxeTablePropTypes.Size>
|
|
3097
3145
|
computeTableId: ComputedRef<string>
|
|
3146
|
+
computeRowField: ComputedRef<string>
|
|
3098
3147
|
computeValidOpts: ComputedRef<VxeTablePropTypes.ValidOpts<D>>
|
|
3099
3148
|
computeVirtualXOpts: ComputedRef<VxeTablePropTypes.VirtualXConfig & { gt: number }>
|
|
3100
3149
|
computeVirtualYOpts: ComputedRef<VxeTablePropTypes.VirtualYConfig & { gt: number }>
|
|
@@ -3426,6 +3475,8 @@ export interface TableReactData<D = any> {
|
|
|
3426
3475
|
|
|
3427
3476
|
export interface TableInternalData<D = any> {
|
|
3428
3477
|
tZindex: number
|
|
3478
|
+
currKeyField: string
|
|
3479
|
+
isCurrDeepKey: boolean
|
|
3429
3480
|
elemStore: {
|
|
3430
3481
|
[key: string]: Ref<HTMLElement> |Ref<ComponentPublicInstance> | null
|
|
3431
3482
|
}
|
|
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
|