vxe-pc-ui 4.18.11 → 4.18.13
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/dist/all.esm.js +55 -13
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/color-picker/src/color-picker.js +8 -0
- package/es/date-picker/src/date-picker.js +37 -11
- package/es/date-picker/style.css +41 -21
- package/es/date-picker/style.min.css +1 -1
- package/es/date-range-picker/src/date-range-picker.js +8 -0
- package/es/date-range-picker/style.css +41 -21
- package/es/date-range-picker/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/pulldown/style.css +40 -30
- package/es/pulldown/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-date-picker/style.css +41 -21
- package/es/vxe-date-picker/style.min.css +1 -1
- package/es/vxe-date-range-picker/style.css +41 -21
- package/es/vxe-date-range-picker/style.min.css +1 -1
- package/es/vxe-pulldown/style.css +40 -30
- package/es/vxe-pulldown/style.min.css +1 -1
- package/lib/color-picker/src/color-picker.js +8 -0
- package/lib/date-picker/src/date-picker.js +37 -11
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/date-picker/style/style.css +41 -21
- package/lib/date-picker/style/style.min.css +1 -1
- package/lib/date-range-picker/src/date-range-picker.js +8 -0
- package/lib/date-range-picker/style/style.css +41 -21
- 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 +55 -13
- package/lib/index.umd.min.js +1 -1
- package/lib/pulldown/style/style.css +40 -30
- package/lib/pulldown/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +1 -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-date-picker/style/style.css +41 -21
- package/lib/vxe-date-picker/style/style.min.css +1 -1
- package/lib/vxe-date-range-picker/style/style.css +41 -21
- package/lib/vxe-date-range-picker/style/style.min.css +1 -1
- package/lib/vxe-pulldown/style/style.css +40 -30
- package/lib/vxe-pulldown/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/color-picker/src/color-picker.ts +8 -0
- package/packages/date-picker/src/date-picker.ts +36 -11
- package/packages/date-range-picker/src/date-range-picker.ts +8 -0
- package/styles/components/date-picker.scss +36 -21
- package/styles/components/date-range-picker.scss +37 -21
- package/styles/components/pulldown.scss +38 -35
- package/types/components/date-picker.d.ts +10 -0
- package/types/components/table-module/filter.d.ts +3 -3
- package/types/components/table.d.ts +15 -2
- /package/es/icon/{iconfont.1789134960414.ttf → iconfont.1789552820055.ttf} +0 -0
- /package/es/icon/{iconfont.1789134960414.woff → iconfont.1789552820055.woff} +0 -0
- /package/es/icon/{iconfont.1789134960414.woff2 → iconfont.1789552820055.woff2} +0 -0
- /package/es/{iconfont.1789134960414.ttf → iconfont.1789552820055.ttf} +0 -0
- /package/es/{iconfont.1789134960414.woff → iconfont.1789552820055.woff} +0 -0
- /package/es/{iconfont.1789134960414.woff2 → iconfont.1789552820055.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1789134960414.ttf → iconfont.1789552820055.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1789134960414.woff → iconfont.1789552820055.woff} +0 -0
- /package/lib/icon/style/{iconfont.1789134960414.woff2 → iconfont.1789552820055.woff2} +0 -0
- /package/lib/{iconfont.1789134960414.ttf → iconfont.1789552820055.ttf} +0 -0
- /package/lib/{iconfont.1789134960414.woff → iconfont.1789552820055.woff} +0 -0
- /package/lib/{iconfont.1789134960414.woff2 → iconfont.1789552820055.woff2} +0 -0
|
@@ -2,6 +2,43 @@
|
|
|
2
2
|
@use '../helpers/baseMixin.scss';
|
|
3
3
|
@use '../helpers/placement.scss';
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
// 局部变量
|
|
7
|
+
.vxe-date-range-picker,
|
|
8
|
+
.vxe-date-range-picker--panel {
|
|
9
|
+
--vxe-ui-date-range-picker-current-font-size: var(--vxe-ui-font-size-default);
|
|
10
|
+
--vxe-ui-date-range-picker-current-height: var(--vxe-ui-input-height-default);
|
|
11
|
+
&.size--xlarge {
|
|
12
|
+
--vxe-ui-date-range-picker-current-font-size: var(--vxe-ui-font-size-xlarge);
|
|
13
|
+
--vxe-ui-date-range-picker-current-height: var(--vxe-ui-input-height-xlarge);
|
|
14
|
+
}
|
|
15
|
+
&.size--large {
|
|
16
|
+
--vxe-ui-date-range-picker-current-font-size: var(--vxe-ui-font-size-large);
|
|
17
|
+
--vxe-ui-date-range-picker-current-height: var(--vxe-ui-input-height-large);
|
|
18
|
+
}
|
|
19
|
+
&.size--medium {
|
|
20
|
+
--vxe-ui-date-range-picker-current-font-size: var(--vxe-ui-font-size-medium);
|
|
21
|
+
--vxe-ui-date-range-picker-current-height: var(--vxe-ui-input-height-medium);
|
|
22
|
+
}
|
|
23
|
+
&.size--small {
|
|
24
|
+
--vxe-ui-date-range-picker-current-font-size: var(--vxe-ui-font-size-small);
|
|
25
|
+
--vxe-ui-date-range-picker-current-height: var(--vxe-ui-input-height-small);
|
|
26
|
+
}
|
|
27
|
+
&.size--mini {
|
|
28
|
+
--vxe-ui-date-range-picker-current-font-size: var(--vxe-ui-font-size-mini);
|
|
29
|
+
--vxe-ui-date-range-picker-current-height: var(--vxe-ui-input-height-mini);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.vxe-date-range-picker,
|
|
34
|
+
.vxe-date-range-picker--panel {
|
|
35
|
+
font-size: var(--vxe-ui-date-range-picker-current-font-size);
|
|
36
|
+
}
|
|
37
|
+
.vxe-date-range-picker {
|
|
38
|
+
height: var(--vxe-ui-date-range-picker-current-height);
|
|
39
|
+
line-height: var(--vxe-ui-date-range-picker-current-height);
|
|
40
|
+
}
|
|
41
|
+
|
|
5
42
|
.vxe-date-range-picker--readonly {
|
|
6
43
|
color: var(--vxe-ui-font-color);
|
|
7
44
|
display: inline-flex;
|
|
@@ -229,24 +266,3 @@
|
|
|
229
266
|
flex-shrink: 0;
|
|
230
267
|
padding-left: 0.8em;
|
|
231
268
|
}
|
|
232
|
-
|
|
233
|
-
.vxe-date-range-picker {
|
|
234
|
-
font-size: var(--vxe-ui-font-size-default);
|
|
235
|
-
height: var(--vxe-ui-input-height-default);
|
|
236
|
-
line-height: var(--vxe-ui-input-height-default);
|
|
237
|
-
&.size--medium {
|
|
238
|
-
font-size: var(--vxe-ui-font-size-medium);
|
|
239
|
-
height: var(--vxe-ui-input-height-medium);
|
|
240
|
-
line-height: var(--vxe-ui-input-height-medium);
|
|
241
|
-
}
|
|
242
|
-
&.size--small {
|
|
243
|
-
font-size: var(--vxe-ui-font-size-small);
|
|
244
|
-
height: var(--vxe-ui-input-height-small);
|
|
245
|
-
line-height: var(--vxe-ui-input-height-small);
|
|
246
|
-
}
|
|
247
|
-
&.size--mini {
|
|
248
|
-
font-size: var(--vxe-ui-font-size-mini);
|
|
249
|
-
height: var(--vxe-ui-input-height-mini);
|
|
250
|
-
line-height: var(--vxe-ui-input-height-mini);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
@use '../helpers/baseMixin.scss';
|
|
2
2
|
@use '../helpers/placement.scss';
|
|
3
3
|
|
|
4
|
+
// 局部变量
|
|
5
|
+
.vxe-pulldown,
|
|
6
|
+
.vxe-pulldown--panel {
|
|
7
|
+
--vxe-ui-pulldown-current-font-size: var(--vxe-ui-font-size-default);
|
|
8
|
+
--vxe-ui-pulldown-current-option-height: var(--vxe-ui-pulldown-option-height-default);
|
|
9
|
+
&.size--xlarge {
|
|
10
|
+
--vxe-ui-pulldown-current-font-size: var(--vxe-ui-font-size-xlarge);
|
|
11
|
+
--vxe-ui-pulldown-current-option-height: var(--vxe-ui-pulldown-option-height-xlarge);
|
|
12
|
+
}
|
|
13
|
+
&.size--large {
|
|
14
|
+
--vxe-ui-pulldown-current-font-size: var(--vxe-ui-font-size-large);
|
|
15
|
+
--vxe-ui-pulldown-current-option-height: var(--vxe-ui-pulldown-option-height-large);
|
|
16
|
+
}
|
|
17
|
+
&.size--medium {
|
|
18
|
+
--vxe-ui-pulldown-current-font-size: var(--vxe-ui-font-size-medium);
|
|
19
|
+
--vxe-ui-pulldown-current-option-height: var(--vxe-ui-pulldown-option-height-medium);
|
|
20
|
+
}
|
|
21
|
+
&.size--small {
|
|
22
|
+
--vxe-ui-pulldown-current-font-size: var(--vxe-ui-font-size-small);
|
|
23
|
+
--vxe-ui-pulldown-current-option-height: var(--vxe-ui-pulldown-option-height-small);
|
|
24
|
+
}
|
|
25
|
+
&.size--mini {
|
|
26
|
+
--vxe-ui-pulldown-current-font-size: var(--vxe-ui-font-size-mini);
|
|
27
|
+
--vxe-ui-pulldown-current-option-height: var(--vxe-ui-pulldown-option-height-mini);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
4
31
|
.vxe-pulldown {
|
|
5
32
|
position: relative;
|
|
6
33
|
display: inline-block;
|
|
@@ -9,6 +36,17 @@
|
|
|
9
36
|
text-align: left;
|
|
10
37
|
}
|
|
11
38
|
|
|
39
|
+
.vxe-pulldown,
|
|
40
|
+
.vxe-pulldown--panel {
|
|
41
|
+
font-size: var(--vxe-ui-pulldown-current-font-size);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.vxe-pulldown--panel {
|
|
45
|
+
.vxe-pulldown--panel-item {
|
|
46
|
+
height: var(--vxe-ui-pulldown-current-option-height);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
12
50
|
.vxe-pulldown--panel {
|
|
13
51
|
@include placement.createPlacementPanel();
|
|
14
52
|
}
|
|
@@ -38,38 +76,3 @@
|
|
|
38
76
|
}
|
|
39
77
|
}
|
|
40
78
|
}
|
|
41
|
-
|
|
42
|
-
.vxe-pulldown,
|
|
43
|
-
.vxe-pulldown--panel {
|
|
44
|
-
font-size: var(--vxe-ui-font-size-default);
|
|
45
|
-
&.size--medium {
|
|
46
|
-
font-size: var(--vxe-ui-font-size-medium);
|
|
47
|
-
}
|
|
48
|
-
&.size--small {
|
|
49
|
-
font-size: var(--vxe-ui-font-size-small);
|
|
50
|
-
}
|
|
51
|
-
&.size--mini {
|
|
52
|
-
font-size: var(--vxe-ui-font-size-mini);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.vxe-pulldown--panel {
|
|
57
|
-
.vxe-pulldown--panel-item {
|
|
58
|
-
height: var(--vxe-ui-pulldown-option-height-default);
|
|
59
|
-
}
|
|
60
|
-
&.size--medium {
|
|
61
|
-
.vxe-pulldown--panel-item {
|
|
62
|
-
height: var(--vxe-ui-pulldown-option-height-medium);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
&.size--small {
|
|
66
|
-
.vxe-pulldown--panel-item {
|
|
67
|
-
height: var(--vxe-ui-pulldown-option-height-medium);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
&.size--mini {
|
|
71
|
-
.vxe-pulldown--panel-item {
|
|
72
|
-
height: var(--vxe-ui-pulldown-option-height-medium);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
@@ -59,6 +59,12 @@ export namespace VxeDatePickerPropTypes {
|
|
|
59
59
|
export type LabelFormat = string
|
|
60
60
|
export type ValueFormat = string
|
|
61
61
|
export type TimeFormat = string
|
|
62
|
+
export type ParseMethod = (params: {
|
|
63
|
+
$datePicker: VxeDatePickerConstructor
|
|
64
|
+
inputValue: string
|
|
65
|
+
type: VxeDatePanelPropTypes.Type
|
|
66
|
+
valueFormat: string
|
|
67
|
+
}) => Date | null | undefined | void
|
|
62
68
|
export type Editable = boolean
|
|
63
69
|
export type FestivalMethod = VxeDatePanelPropTypes.FestivalMethod
|
|
64
70
|
export type DisabledMethod = VxeDatePanelPropTypes.DisabledMethod
|
|
@@ -179,6 +185,10 @@ export interface VxeDatePickerProps {
|
|
|
179
185
|
labelFormat?: VxeDatePickerPropTypes.LabelFormat
|
|
180
186
|
valueFormat?: VxeDatePickerPropTypes.ValueFormat
|
|
181
187
|
timeFormat?: VxeDatePickerPropTypes.TimeFormat
|
|
188
|
+
/**
|
|
189
|
+
* 自定义解析方法
|
|
190
|
+
*/
|
|
191
|
+
parseMethod?: VxeDatePickerPropTypes.ParseMethod
|
|
182
192
|
editable?: VxeDatePickerPropTypes.Editable
|
|
183
193
|
festivalMethod?: VxeDatePickerPropTypes.FestivalMethod
|
|
184
194
|
disabledMethod?: VxeDatePickerPropTypes.DisabledMethod
|
|
@@ -91,15 +91,15 @@ export interface TableFilterPrivateMethods<D = any> {
|
|
|
91
91
|
/**
|
|
92
92
|
* @private
|
|
93
93
|
*/
|
|
94
|
-
handleClearFilter(column:
|
|
94
|
+
handleClearFilter(column: VxeTableDefines.ColumnInfo): void
|
|
95
95
|
/**
|
|
96
96
|
* @private
|
|
97
97
|
*/
|
|
98
|
-
triggerFilterEvent(evnt:
|
|
98
|
+
triggerFilterEvent(evnt: Event, column: VxeTableDefines.ColumnInfo, params: any): void
|
|
99
99
|
/**
|
|
100
100
|
* @private
|
|
101
101
|
*/
|
|
102
|
-
handleOpenFilterColumn(evnt:
|
|
102
|
+
handleOpenFilterColumn(evnt: Event, btnEl: HTMLElement | null, cellEl: HTMLElement, column: VxeTableDefines.ColumnInfo, params: any): void
|
|
103
103
|
/**
|
|
104
104
|
* @private
|
|
105
105
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RenderFunction, SetupContext, Ref, ComputedRef, ComponentPublicInstance, VNode } from 'vue'
|
|
2
|
-
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, VxeComponentSizeType, ValueOf, VxeGlobalConfig, VxeComponentStyleType, VxeComponentSlotType, VxeComponentAlignType } from '@vxe-ui/core'
|
|
2
|
+
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, VxeComponentSizeType, ValueOf, VxeGlobalConfig, VxeComponentStyleType, VxeComponentSlotType, VxeComponentAlignType, VxeGlobalRendererOptions } from '@vxe-ui/core'
|
|
3
3
|
import { VxeColumnPropTypes, VxeColumnProps, VxeColumnSlotTypes } from './column'
|
|
4
4
|
import { VxeTableExtendCellAreaDefines, VxeTableExtendCellAreaEmits } from './table-plugins'
|
|
5
5
|
import { VxeGridConstructor } from './grid'
|
|
@@ -3008,13 +3008,21 @@ export namespace VxeTablePropTypes {
|
|
|
3008
3008
|
y?: ScrollbarYConfig
|
|
3009
3009
|
}
|
|
3010
3010
|
|
|
3011
|
+
/**
|
|
3012
|
+
* 渲染器配置项
|
|
3013
|
+
*/
|
|
3014
|
+
export type RendererConfig = Record<string, VxeGlobalRendererOptions>
|
|
3015
|
+
|
|
3011
3016
|
export type Params = any
|
|
3012
3017
|
|
|
3013
3018
|
/**
|
|
3014
3019
|
* 导入参数
|
|
3015
3020
|
*/
|
|
3016
3021
|
export interface ImportConfig<D = any> {
|
|
3017
|
-
|
|
3022
|
+
/**
|
|
3023
|
+
* 内置属性
|
|
3024
|
+
* @private
|
|
3025
|
+
*/
|
|
3018
3026
|
_typeMaps?: Record<string, number>
|
|
3019
3027
|
|
|
3020
3028
|
/**
|
|
@@ -3835,6 +3843,10 @@ export interface VxeTableProps<D = any> {
|
|
|
3835
3843
|
* 滚动条配置项
|
|
3836
3844
|
*/
|
|
3837
3845
|
scrollbarConfig?: VxeTablePropTypes.ScrollbarConfig
|
|
3846
|
+
/**
|
|
3847
|
+
* 渲染器配置项
|
|
3848
|
+
*/
|
|
3849
|
+
rendererConfig?: VxeTablePropTypes.RendererConfig
|
|
3838
3850
|
/**
|
|
3839
3851
|
* 自定义参数(可以用来存放一些自定义的数据)
|
|
3840
3852
|
*/
|
|
@@ -3988,6 +4000,7 @@ export interface TablePrivateComputed<D = any> {
|
|
|
3988
4000
|
computeRowGroupColumns: ComputedRef<VxeTableDefines.ColumnInfo[]>
|
|
3989
4001
|
computeAggFuncColumns: ComputedRef<VxeTableDefines.ColumnInfo[]>
|
|
3990
4002
|
computeUndoRedoHistoryOpts: ComputedRef<VxeTablePropTypes.UndoRedoHistoryConfig>
|
|
4003
|
+
computeRendererOpts: ComputedRef<VxeTablePropTypes.RendererConfig>
|
|
3991
4004
|
|
|
3992
4005
|
/**
|
|
3993
4006
|
* @deprecated
|
|
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
|