vxe-pc-ui 3.14.9 → 3.14.11
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 +1 -1
- package/es/drawer/src/drawer.js +16 -4
- package/es/modal/src/modal.js +17 -4
- package/es/tooltip/src/tooltip.js +15 -7
- package/es/ui/index.js +3 -1
- package/es/ui/src/log.js +1 -1
- package/lib/button/src/button.js +1 -1
- package/lib/button/src/button.min.js +1 -1
- package/lib/drawer/src/drawer.js +15 -2
- package/lib/drawer/src/drawer.min.js +1 -1
- package/lib/index.umd.js +56 -14
- package/lib/index.umd.min.js +1 -1
- package/lib/modal/src/modal.js +16 -2
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/tooltip/src/tooltip.js +20 -7
- package/lib/tooltip/src/tooltip.min.js +1 -1
- package/lib/ui/index.js +3 -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/package.json +1 -1
- package/packages/button/src/button.ts +1 -1
- package/packages/drawer/src/drawer.ts +16 -4
- package/packages/modal/src/modal.ts +17 -4
- package/packages/tooltip/src/tooltip.ts +15 -7
- package/packages/ui/index.ts +2 -0
- package/types/components/drawer.d.ts +2 -0
- package/types/components/gantt.d.ts +6 -1
- package/types/components/modal.d.ts +2 -0
- package/types/components/table.d.ts +11 -1
- package/types/components/tooltip.d.ts +18 -2
- /package/es/icon/{iconfont.1778663897774.ttf → iconfont.1778735749339.ttf} +0 -0
- /package/es/icon/{iconfont.1778663897774.woff → iconfont.1778735749339.woff} +0 -0
- /package/es/icon/{iconfont.1778663897774.woff2 → iconfont.1778735749339.woff2} +0 -0
- /package/es/{iconfont.1778663897774.ttf → iconfont.1778735749339.ttf} +0 -0
- /package/es/{iconfont.1778663897774.woff → iconfont.1778735749339.woff} +0 -0
- /package/es/{iconfont.1778663897774.woff2 → iconfont.1778735749339.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1778663897774.ttf → iconfont.1778735749339.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1778663897774.woff → iconfont.1778735749339.woff} +0 -0
- /package/lib/icon/style/{iconfont.1778663897774.woff2 → iconfont.1778735749339.woff2} +0 -0
- /package/lib/{iconfont.1778663897774.ttf → iconfont.1778735749339.ttf} +0 -0
- /package/lib/{iconfont.1778663897774.woff → iconfont.1778735749339.woff} +0 -0
- /package/lib/{iconfont.1778663897774.woff2 → iconfont.1778735749339.woff2} +0 -0
|
@@ -50,6 +50,7 @@ export namespace VxeModalPropTypes {
|
|
|
50
50
|
export type Title = string | number
|
|
51
51
|
export type Duration = number | string
|
|
52
52
|
export type Content = number | string | null
|
|
53
|
+
export type UseHtml = boolean
|
|
53
54
|
/**
|
|
54
55
|
* 请使用 content
|
|
55
56
|
* @deprecated
|
|
@@ -130,6 +131,7 @@ export interface VxeModalProps {
|
|
|
130
131
|
title?: VxeModalPropTypes.Title
|
|
131
132
|
duration?: VxeModalPropTypes.Duration
|
|
132
133
|
content?: VxeModalPropTypes.Content
|
|
134
|
+
useHtml?: VxeModalPropTypes.UseHtml
|
|
133
135
|
showCancelButton?: VxeModalPropTypes.ShowCancelButton
|
|
134
136
|
cancelButtonText?: VxeModalPropTypes.CancelButtonText
|
|
135
137
|
showConfirmButton?: VxeModalPropTypes.ShowConfirmButton
|
|
@@ -1479,7 +1479,7 @@ export namespace VxeTablePropTypes {
|
|
|
1479
1479
|
minHeight?: VxeTooltipPropTypes.MinHeight
|
|
1480
1480
|
maxWidth?: VxeTooltipPropTypes.MaxWidth
|
|
1481
1481
|
maxHeight?: VxeTooltipPropTypes.MaxHeight
|
|
1482
|
-
|
|
1482
|
+
useHtml?: VxeTooltipPropTypes.UseHtml
|
|
1483
1483
|
placement?: VxeTooltipPropTypes.Placement
|
|
1484
1484
|
defaultPlacement?: VxeTooltipPropTypes.DefaultPlacement
|
|
1485
1485
|
popupClassName?: VxeTooltipPropTypes.PopupClassName
|
|
@@ -1498,6 +1498,11 @@ export namespace VxeTablePropTypes {
|
|
|
1498
1498
|
cell: HTMLElement
|
|
1499
1499
|
$event: any
|
|
1500
1500
|
}): string | null | void
|
|
1501
|
+
/**
|
|
1502
|
+
* 请使用 useHtml
|
|
1503
|
+
* @deprecated
|
|
1504
|
+
*/
|
|
1505
|
+
useHTML?: VxeTooltipPropTypes.UseHTML
|
|
1501
1506
|
}
|
|
1502
1507
|
export interface HeaderTooltipConfig<D = VxeTablePropTypes.Row> extends Omit<TooltipConfig<D>, 'contentMethod'> {
|
|
1503
1508
|
contentMethod?(params: {
|
|
@@ -3974,6 +3979,11 @@ export interface TableReactData<D = any> {
|
|
|
3974
3979
|
visible: boolean,
|
|
3975
3980
|
type: null | 'header' | 'body' | 'footer'
|
|
3976
3981
|
currOpts: {
|
|
3982
|
+
useHtml?: VxeTooltipPropTypes.UseHtml
|
|
3983
|
+
/**
|
|
3984
|
+
* 请使用 useHtml
|
|
3985
|
+
* @deprecated
|
|
3986
|
+
*/
|
|
3977
3987
|
useHTML?: VxeTooltipPropTypes.UseHTML
|
|
3978
3988
|
enterable?: VxeTooltipPropTypes.Enterable
|
|
3979
3989
|
theme?: VxeTooltipPropTypes.Theme
|
|
@@ -23,7 +23,7 @@ export namespace VxeTooltipPropTypes {
|
|
|
23
23
|
export type Trigger = 'hover' | 'click' | 'manual' | '' | null
|
|
24
24
|
export type Theme = '' | 'light' | 'dark'
|
|
25
25
|
export type Content = string | number
|
|
26
|
-
export type
|
|
26
|
+
export type UseHtml = boolean
|
|
27
27
|
export type ZIndex = string | number
|
|
28
28
|
export type PopupClassName = string | ((params: { $tooltip: VxeTooltipConstructor }) => string)
|
|
29
29
|
export type Width = string | number
|
|
@@ -39,6 +39,12 @@ export namespace VxeTooltipPropTypes {
|
|
|
39
39
|
export type EnterDelay = number
|
|
40
40
|
export type LeaveDelay = number
|
|
41
41
|
export type LeaveMethod = (params: { $event: MouseEvent }) => boolean
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* 已废弃,请使用 UseHtml
|
|
45
|
+
* @deprecated
|
|
46
|
+
*/
|
|
47
|
+
export type UseHTML = boolean
|
|
42
48
|
}
|
|
43
49
|
|
|
44
50
|
export interface VxeTooltipProps {
|
|
@@ -48,6 +54,11 @@ export interface VxeTooltipProps {
|
|
|
48
54
|
trigger?: VxeTooltipPropTypes.Trigger
|
|
49
55
|
theme?: VxeTooltipPropTypes.Theme
|
|
50
56
|
content?: VxeTooltipPropTypes.Content
|
|
57
|
+
useHtml?: VxeTooltipPropTypes.UseHtml
|
|
58
|
+
/**
|
|
59
|
+
* 已废弃,请使用 useHtml
|
|
60
|
+
* @deprecated
|
|
61
|
+
*/
|
|
51
62
|
useHTML?: VxeTooltipPropTypes.UseHTML
|
|
52
63
|
popupClassName?: VxeTooltipPropTypes.PopupClassName
|
|
53
64
|
Width?: VxeTooltipPropTypes.Width
|
|
@@ -135,7 +146,7 @@ export namespace VxeTooltipDefines {
|
|
|
135
146
|
}
|
|
136
147
|
|
|
137
148
|
export interface TooltipHelperOption {
|
|
138
|
-
|
|
149
|
+
useHtml?: VxeTooltipPropTypes.UseHtml
|
|
139
150
|
content?: VxeTooltipPropTypes.Content
|
|
140
151
|
enterable?: VxeTooltipPropTypes.Enterable
|
|
141
152
|
theme?: VxeTooltipPropTypes.Theme
|
|
@@ -147,6 +158,11 @@ export namespace VxeTooltipDefines {
|
|
|
147
158
|
* @deprecated
|
|
148
159
|
*/
|
|
149
160
|
message?: string
|
|
161
|
+
/**
|
|
162
|
+
* 已废弃,请使用 useHtml
|
|
163
|
+
* @deprecated
|
|
164
|
+
*/
|
|
165
|
+
useHTML?: VxeTooltipPropTypes.UseHTML
|
|
150
166
|
}
|
|
151
167
|
}
|
|
152
168
|
|
|
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
|