x-next 0.0.0-alpha.5 → 0.0.0-alpha.51
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/README.md +26 -1
- package/dist/_container/client-only.d.ts +4 -0
- package/dist/_container/parent-scroll-observer.d.ts +6 -0
- package/dist/_container/render-function.d.ts +14 -0
- package/dist/_container/resize-observer-2.d.ts +12 -0
- package/dist/_container/resize-observer.d.ts +6 -0
- package/dist/_container/utils.d.ts +12 -0
- package/dist/_hooks/_types.d.ts +4 -0
- package/dist/_hooks/use-children-components.d.ts +5 -0
- package/dist/_hooks/use-first-element.d.ts +5 -0
- package/dist/_hooks/use-index.d.ts +9 -0
- package/dist/_hooks/use-merge-state.d.ts +4 -0
- package/dist/_hooks/use-pick-slots.d.ts +2 -0
- package/dist/_hooks/use-popup-container.d.ts +6 -0
- package/dist/_hooks/use-popup-overflow-hidden.d.ts +6 -0
- package/dist/_hooks/use-resize-observer.d.ts +8 -0
- package/dist/_hooks/use-size.d.ts +7 -0
- package/dist/_hooks/use-state.d.ts +2 -0
- package/dist/_hooks/use-teleport-container.d.ts +10 -0
- package/dist/_props/constant.d.ts +4 -0
- package/dist/_props/types.d.ts +1 -0
- package/dist/_utils/click.d.ts +13 -0
- package/dist/_utils/config.d.ts +1 -1
- package/dist/_utils/constant.d.ts +17 -0
- package/dist/_utils/dom.d.ts +6 -0
- package/dist/_utils/is.d.ts +3 -0
- package/dist/_utils/omit.d.ts +2 -0
- package/dist/_utils/raf.d.ts +3 -0
- package/dist/_utils/throttle-by-raf.d.ts +4 -0
- package/dist/_utils/types.d.ts +1 -0
- package/dist/_utils/vue-eco.d.ts +14 -1
- package/dist/components/_components/icon-hover.vue.d.ts +38 -0
- package/dist/components/button/Button.d.ts +97 -0
- package/dist/components/button/index.d.ts +181 -0
- package/dist/{componets → components}/button/props.d.ts +4 -4
- package/dist/{componets/dialog/index.vue.d.ts → components/dialog/Dialog.d.ts} +13 -46
- package/dist/components/dialog/index.d.ts +334 -0
- package/dist/{componets → components}/dialog/props.d.ts +5 -5
- package/dist/components/drawer/index.d.ts +1474 -0
- package/dist/components/drawer/src/Drawer.vue.d.ts +744 -0
- package/dist/components/drawer/src/props.d.ts +75 -0
- package/dist/components/drawer/src/types.d.ts +1 -0
- package/dist/components/form/constants.d.ts +4 -0
- package/dist/components/form/form-item.d.ts +31 -0
- package/dist/components/form/form.d.ts +39 -0
- package/dist/components/form/hooks.d.ts +4 -0
- package/dist/components/form/types.d.ts +31 -0
- package/dist/components/image/ImagePreviewAction.d.ts +1354 -0
- package/dist/components/image/context.d.ts +6 -0
- package/dist/components/image/hooks/use-image-drag.d.ts +11 -0
- package/dist/components/image/hooks/use-image-load-status.d.ts +10 -0
- package/dist/components/image/image-footer.vue.d.ts +23 -0
- package/dist/components/image/interface.d.ts +45 -0
- package/dist/components/image/preview-arrow.vue.d.ts +122 -0
- package/dist/components/image/preview-toolbar.vue.d.ts +1388 -0
- package/dist/components/image/utils/get-fix-translate.d.ts +1 -0
- package/dist/components/image/utils/get-scale.d.ts +6 -0
- package/dist/components/image/utils/index.d.ts +1 -0
- package/dist/components/index.d.ts +17 -0
- package/dist/components/input/Input.d.ts +220 -0
- package/dist/components/input/index.d.ts +394 -0
- package/dist/components/input/props.d.ts +95 -0
- package/dist/components/input/utils.d.ts +6 -0
- package/dist/components/message/Message.d.ts +108 -0
- package/dist/{componets/message/index.vue.d.ts → components/message/MessageVue.vue.d.ts} +23 -48
- package/dist/components/message/index.d.ts +193 -0
- package/dist/components/message-box/index.d.ts +4 -0
- package/dist/components/message-box/warp.d.ts +2 -0
- package/dist/components/notification/Notification.d.ts +89 -0
- package/dist/components/notification/index.d.ts +166 -0
- package/dist/components/popconfirm/index.d.ts +193 -0
- package/dist/components/popconfirm/src/Popconfirm.d.ts +104 -0
- package/dist/components/popconfirm/src/popup.vue.d.ts +407 -0
- package/dist/components/popconfirm/src/props.d.ts +45 -0
- package/dist/components/popconfirm/src/types.d.ts +3 -0
- package/dist/components/popup/Popup.d.ts +188 -0
- package/dist/components/popup/index.d.ts +334 -0
- package/dist/components/popup/props.d.ts +83 -0
- package/dist/components/popup/use-props.d.ts +33 -0
- package/dist/components/popup/use.d.ts +3 -0
- package/dist/components/popup/warp.d.ts +2 -0
- package/dist/components/scrollbar/index.d.ts +291 -0
- package/dist/components/scrollbar/src/Scrollbar.vue.d.ts +134 -0
- package/dist/components/scrollbar/src/constant.d.ts +1 -0
- package/dist/components/scrollbar/src/scrollbar.d.ts +24 -0
- package/dist/components/scrollbar/src/thumb.d.ts +20 -0
- package/dist/components/scrollbar/src/thumb.vue.d.ts +47 -0
- package/dist/components/scrollbar/src/types.d.ts +18 -0
- package/dist/{componets/space/index.d.ts → components/space/Space.d.ts} +1 -1
- package/dist/components/space/index.d.ts +82 -0
- package/dist/components/tabs/TabPane.vue.d.ts +78 -0
- package/dist/components/tabs/Tabs.d.ts +349 -0
- package/dist/components/tabs/context.d.ts +11 -0
- package/dist/components/tabs/index.d.ts +400 -0
- package/dist/components/tabs/interface.d.ts +12 -0
- package/dist/components/tabs/tabs-button.d.ts +43 -0
- package/dist/components/tabs/tabs-nav-ink.vue.d.ts +36 -0
- package/dist/components/tabs/tabs-nav.d.ts +110 -0
- package/dist/components/tabs/tabs-tab.vue.d.ts +129 -0
- package/dist/components/tabs/utils.d.ts +13 -0
- package/dist/components/tag/Tag.vue.d.ts +375 -0
- package/dist/components/tag/index.d.ts +519 -0
- package/dist/components/tag/interface.d.ts +49 -0
- package/dist/components/timeline/index.d.ts +58 -0
- package/dist/components/timeline/src/Timeline.d.ts +24 -0
- package/dist/components/timeline/src/TimelineItem.d.ts +12 -0
- package/dist/components/timeline/src/context.d.ts +12 -0
- package/dist/components/timeline/src/props.d.ts +31 -0
- package/dist/components/timeline/src/types.d.ts +9 -0
- package/dist/components/timeline-item/index.d.ts +34 -0
- package/dist/components/tooltip/Tooltip.vue.d.ts +760 -0
- package/dist/components/tooltip/index.d.ts +1317 -0
- package/dist/components/trend-chart/components/TrendChart.d.ts +277 -0
- package/dist/components/trend-chart/components/trend-chart-curve.d.ts +111 -0
- package/dist/components/trend-chart/components/trend-chart-grid.d.ts +55 -0
- package/dist/components/trend-chart/components/trend-chart-labels.d.ts +22 -0
- package/dist/components/trend-chart/helpers/genPath.d.ts +8 -0
- package/dist/components/trend-chart/helpers/genPoints.d.ts +3 -0
- package/dist/components/trend-chart/helpers/getPadding.d.ts +7 -0
- package/dist/components/trend-chart/helpers/validatePadding.d.ts +2 -0
- package/dist/components/trend-chart/index.d.ts +535 -0
- package/dist/components/trend-chart/props.d.ts +203 -0
- package/dist/components/trend-chart/themes.d.ts +128 -0
- package/dist/{componets/trend-chart → components/trend-chart.bak}/components/trend-chart-curve.d.ts +2 -5
- package/dist/{componets/trend-chart → components/trend-chart.bak}/components/trend-chart.d.ts +19 -15
- package/dist/components/trend-chart.bak/index.d.ts +530 -0
- package/dist/{componets/trend-chart → components/trend-chart.bak}/props.d.ts +10 -5
- package/dist/components/trend-chart.bak/themes.d.ts +152 -0
- package/dist/components/trigger/index.d.ts +487 -0
- package/dist/components/trigger/src/_trigger.d.ts +217 -0
- package/dist/components/trigger/src/constant.d.ts +8 -0
- package/dist/components/trigger/src/trigger.d.ts +288 -0
- package/dist/components/trigger/src/utils.d.ts +50 -0
- package/dist/components/trigger-v2/context.d.ts +8 -0
- package/dist/components/trigger-v2/index.d.ts +562 -0
- package/dist/components/trigger-v2/interface.d.ts +40 -0
- package/dist/components/trigger-v2/trigger.d.ts +627 -0
- package/dist/components/trigger-v2/utils.d.ts +51 -0
- package/dist/directives/clipboard/cache.d.ts +8 -0
- package/dist/directives/clipboard/clipboard.d.ts +18 -0
- package/dist/directives/clipboard/convert.d.ts +3 -0
- package/dist/directives/clipboard/index.d.ts +3 -0
- package/dist/directives/clipboard/plugin.d.ts +2 -0
- package/dist/directives/clipboard/textarea.d.ts +3 -0
- package/dist/icons/{default/exclamation-circle-fill.vue.d.ts → _self/down.d.ts} +4 -9
- package/dist/icons/{default/close-circle-fill.vue.d.ts → _self/full-screen.d.ts} +4 -9
- package/dist/icons/{animation/animation-loading.vue.d.ts → _self/left.d.ts} +4 -9
- package/dist/icons/{default/check-circle-fill.vue.d.ts → _self/next.d.ts} +4 -9
- package/dist/icons/_self/original-size.d.ts +50 -0
- package/dist/icons/_self/plus.d.ts +50 -0
- package/dist/icons/_self/prev.d.ts +50 -0
- package/dist/icons/_self/right.d.ts +50 -0
- package/dist/icons/_self/rotate-left.d.ts +50 -0
- package/dist/icons/_self/rotate-right.d.ts +50 -0
- package/dist/icons/_self/up.d.ts +50 -0
- package/dist/icons/_self/zoom-in.d.ts +50 -0
- package/dist/icons/_self/zoom-out.d.ts +50 -0
- package/dist/icons/animation/animation-loading.d.ts +50 -0
- package/dist/icons/default/check-circle-fill.d.ts +50 -0
- package/dist/icons/default/close-circle-fill.d.ts +50 -0
- package/dist/icons/default/close.d.ts +50 -0
- package/dist/icons/default/exclamation-circle-fill.d.ts +50 -0
- package/dist/icons/default/info-circle-fill.d.ts +50 -0
- package/dist/icons/default/left.d.ts +50 -0
- package/dist/icons/default/logo-simple.d.ts +50 -0
- package/dist/icons/default/minus-circle-fill.d.ts +50 -0
- package/dist/icons/default/right.d.ts +50 -0
- package/dist/icons/icon.d.ts +51 -0
- package/dist/icons/index.d.ts +11 -7
- package/dist/index.d.ts +13 -0
- package/dist/index.es.js +7265 -1062
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +26 -0
- package/package.json +25 -11
- package/volar.d.ts +27 -0
- package/dist/_utils/icon.d.ts +0 -59
- package/dist/componets/button/index.vue.d.ts +0 -162
- package/dist/componets/message-box/warp.d.ts +0 -2
- package/dist/componets/notification/index.vue.d.ts +0 -160
- package/dist/componets/trend-chart/index.d.ts +0 -2
- package/dist/icons/default/info-circle-fill.vue.d.ts +0 -55
- package/dist/icons/default/minus-circle-fill.vue.d.ts +0 -55
- package/dist/ui.d.ts +0 -5
- /package/dist/{componets → components}/dialog/use-props.d.ts +0 -0
- /package/dist/{componets → components}/dialog/use.d.ts +0 -0
- /package/dist/{componets → components}/dialog/warp.d.ts +0 -0
- /package/dist/{componets → components}/message/props.d.ts +0 -0
- /package/dist/{componets → components}/message/warp.d.ts +0 -0
- /package/dist/{componets/message-box/index.d.ts → components/message-box/MessageBox.d.ts} +0 -0
- /package/dist/{componets → components}/message-box/props.d.ts +0 -0
- /package/dist/{componets → components}/notification/props.d.ts +0 -0
- /package/dist/{componets → components}/notification/warp.d.ts +0 -0
- /package/dist/{componets → components}/tag-cloud/index.d.ts +0 -0
- /package/dist/{componets/trend-chart → components/trend-chart.bak}/components/trend-chart-grid.d.ts +0 -0
- /package/dist/{componets/trend-chart → components/trend-chart.bak}/components/trend-chart-labels.d.ts +0 -0
- /package/dist/{componets/trend-chart → components/trend-chart.bak}/helpers/genPath.d.ts +0 -0
- /package/dist/{componets/trend-chart → components/trend-chart.bak}/helpers/genPoints.d.ts +0 -0
- /package/dist/{componets/trend-chart → components/trend-chart.bak}/helpers/getPadding.d.ts +0 -0
- /package/dist/{componets/trend-chart → components/trend-chart.bak}/helpers/validatePadding.d.ts +0 -0
@@ -0,0 +1,760 @@
|
|
1
|
+
import { PropType, CSSProperties } from 'vue';
|
2
|
+
import { TriggerPosition } from '../../_props/constant';
|
3
|
+
import { ClassName } from '../../_props/types';
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
5
|
+
/**
|
6
|
+
* @zh 文字气泡是否可见
|
7
|
+
* @en Whether the tooltip is visible
|
8
|
+
* @vModel
|
9
|
+
*/
|
10
|
+
popupVisible: {
|
11
|
+
type: BooleanConstructor;
|
12
|
+
default: undefined;
|
13
|
+
};
|
14
|
+
/**
|
15
|
+
* @zh 文字气泡默认是否可见(非受控模式)
|
16
|
+
* @en Whether the tooltip is visible by default (uncontrolled mode)
|
17
|
+
*/
|
18
|
+
defaultPopupVisible: {
|
19
|
+
type: BooleanConstructor;
|
20
|
+
default: boolean;
|
21
|
+
};
|
22
|
+
/**
|
23
|
+
* @zh 文字气泡内容
|
24
|
+
* @en Tooltip content
|
25
|
+
*/
|
26
|
+
content: StringConstructor;
|
27
|
+
/**
|
28
|
+
* @zh 弹出位置
|
29
|
+
* @en Popup position
|
30
|
+
* @values 'top','tl','tr','bottom','bl','br','left','lt','lb','right','rt','rb'
|
31
|
+
*/
|
32
|
+
position: {
|
33
|
+
type: PropType<TriggerPosition>;
|
34
|
+
default: string;
|
35
|
+
};
|
36
|
+
/**
|
37
|
+
* @zh 是否展示为迷你尺寸
|
38
|
+
* @en Whether to display as a mini size
|
39
|
+
*/
|
40
|
+
mini: {
|
41
|
+
type: BooleanConstructor;
|
42
|
+
default: boolean;
|
43
|
+
};
|
44
|
+
/**
|
45
|
+
* @zh 弹出框的背景颜色
|
46
|
+
* @en Background color of the popover
|
47
|
+
*/
|
48
|
+
backgroundColor: {
|
49
|
+
type: StringConstructor;
|
50
|
+
};
|
51
|
+
/**
|
52
|
+
* @zh 弹出框内容的类名
|
53
|
+
* @en The class name of the popup content
|
54
|
+
*/
|
55
|
+
contentClass: {
|
56
|
+
type: PropType<ClassName>;
|
57
|
+
};
|
58
|
+
/**
|
59
|
+
* @zh 弹出框内容的样式
|
60
|
+
* @en The style of the popup content
|
61
|
+
*/
|
62
|
+
contentStyle: {
|
63
|
+
type: PropType<CSSProperties>;
|
64
|
+
};
|
65
|
+
/**
|
66
|
+
* @zh 弹出框箭头的类名
|
67
|
+
* @en The class name of the popup arrow
|
68
|
+
*/
|
69
|
+
arrowClass: {
|
70
|
+
type: PropType<ClassName>;
|
71
|
+
};
|
72
|
+
/**
|
73
|
+
* @zh 弹出框箭头的样式
|
74
|
+
* @en The style of the popup arrow
|
75
|
+
*/
|
76
|
+
arrowStyle: {
|
77
|
+
type: PropType<CSSProperties>;
|
78
|
+
};
|
79
|
+
/**
|
80
|
+
* @zh 弹出框的挂载容器
|
81
|
+
* @en Mount container for popup
|
82
|
+
*/
|
83
|
+
popupContainer: {
|
84
|
+
type: PropType<string | HTMLElement>;
|
85
|
+
};
|
86
|
+
}>, {
|
87
|
+
className: {
|
88
|
+
block: string;
|
89
|
+
element: (className: string) => string;
|
90
|
+
modifier: (className: string) => string;
|
91
|
+
is: (className: string) => string;
|
92
|
+
};
|
93
|
+
computedPopupVisible: import('vue').ComputedRef<boolean>;
|
94
|
+
contentCls: import('vue').ComputedRef<(ClassName | undefined)[]>;
|
95
|
+
computedContentStyle: import('vue').ComputedRef<CSSProperties | undefined>;
|
96
|
+
arrowCls: import('vue').ComputedRef<(ClassName | undefined)[]>;
|
97
|
+
computedArrowStyle: import('vue').ComputedRef<CSSProperties | undefined>;
|
98
|
+
handlePopupVisibleChange: (visible: boolean) => void;
|
99
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
100
|
+
'update:popupVisible': (visible: boolean) => true;
|
101
|
+
/**
|
102
|
+
* @zh 文字气泡显示状态改变时触发
|
103
|
+
* @en Emitted when the tooltip display status changes
|
104
|
+
* @param {boolean} visible
|
105
|
+
*/
|
106
|
+
popupVisibleChange: (visible: boolean) => true;
|
107
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
108
|
+
/**
|
109
|
+
* @zh 文字气泡是否可见
|
110
|
+
* @en Whether the tooltip is visible
|
111
|
+
* @vModel
|
112
|
+
*/
|
113
|
+
popupVisible: {
|
114
|
+
type: BooleanConstructor;
|
115
|
+
default: undefined;
|
116
|
+
};
|
117
|
+
/**
|
118
|
+
* @zh 文字气泡默认是否可见(非受控模式)
|
119
|
+
* @en Whether the tooltip is visible by default (uncontrolled mode)
|
120
|
+
*/
|
121
|
+
defaultPopupVisible: {
|
122
|
+
type: BooleanConstructor;
|
123
|
+
default: boolean;
|
124
|
+
};
|
125
|
+
/**
|
126
|
+
* @zh 文字气泡内容
|
127
|
+
* @en Tooltip content
|
128
|
+
*/
|
129
|
+
content: StringConstructor;
|
130
|
+
/**
|
131
|
+
* @zh 弹出位置
|
132
|
+
* @en Popup position
|
133
|
+
* @values 'top','tl','tr','bottom','bl','br','left','lt','lb','right','rt','rb'
|
134
|
+
*/
|
135
|
+
position: {
|
136
|
+
type: PropType<TriggerPosition>;
|
137
|
+
default: string;
|
138
|
+
};
|
139
|
+
/**
|
140
|
+
* @zh 是否展示为迷你尺寸
|
141
|
+
* @en Whether to display as a mini size
|
142
|
+
*/
|
143
|
+
mini: {
|
144
|
+
type: BooleanConstructor;
|
145
|
+
default: boolean;
|
146
|
+
};
|
147
|
+
/**
|
148
|
+
* @zh 弹出框的背景颜色
|
149
|
+
* @en Background color of the popover
|
150
|
+
*/
|
151
|
+
backgroundColor: {
|
152
|
+
type: StringConstructor;
|
153
|
+
};
|
154
|
+
/**
|
155
|
+
* @zh 弹出框内容的类名
|
156
|
+
* @en The class name of the popup content
|
157
|
+
*/
|
158
|
+
contentClass: {
|
159
|
+
type: PropType<ClassName>;
|
160
|
+
};
|
161
|
+
/**
|
162
|
+
* @zh 弹出框内容的样式
|
163
|
+
* @en The style of the popup content
|
164
|
+
*/
|
165
|
+
contentStyle: {
|
166
|
+
type: PropType<CSSProperties>;
|
167
|
+
};
|
168
|
+
/**
|
169
|
+
* @zh 弹出框箭头的类名
|
170
|
+
* @en The class name of the popup arrow
|
171
|
+
*/
|
172
|
+
arrowClass: {
|
173
|
+
type: PropType<ClassName>;
|
174
|
+
};
|
175
|
+
/**
|
176
|
+
* @zh 弹出框箭头的样式
|
177
|
+
* @en The style of the popup arrow
|
178
|
+
*/
|
179
|
+
arrowStyle: {
|
180
|
+
type: PropType<CSSProperties>;
|
181
|
+
};
|
182
|
+
/**
|
183
|
+
* @zh 弹出框的挂载容器
|
184
|
+
* @en Mount container for popup
|
185
|
+
*/
|
186
|
+
popupContainer: {
|
187
|
+
type: PropType<string | HTMLElement>;
|
188
|
+
};
|
189
|
+
}>> & Readonly<{
|
190
|
+
"onUpdate:popupVisible"?: ((visible: boolean) => any) | undefined;
|
191
|
+
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
192
|
+
}>, {
|
193
|
+
mini: boolean;
|
194
|
+
position: "br" | "rt" | "tr" | "bottom" | "left" | "right" | "top" | "rb" | "tl" | "bl" | "lt" | "lb";
|
195
|
+
popupVisible: boolean;
|
196
|
+
defaultPopupVisible: boolean;
|
197
|
+
}, {}, {
|
198
|
+
Trigger: {
|
199
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
200
|
+
popupVisible: {
|
201
|
+
type: BooleanConstructor;
|
202
|
+
default: undefined;
|
203
|
+
};
|
204
|
+
defaultPopupVisible: {
|
205
|
+
type: BooleanConstructor;
|
206
|
+
default: boolean;
|
207
|
+
};
|
208
|
+
trigger: {
|
209
|
+
type: PropType<import('../../_props/constant').TriggerEvent | import('../../_props/constant').TriggerEvent[]>;
|
210
|
+
default: string;
|
211
|
+
};
|
212
|
+
position: {
|
213
|
+
type: PropType<TriggerPosition>;
|
214
|
+
default: string;
|
215
|
+
};
|
216
|
+
disabled: {
|
217
|
+
type: BooleanConstructor;
|
218
|
+
default: boolean;
|
219
|
+
};
|
220
|
+
popupOffset: {
|
221
|
+
type: NumberConstructor;
|
222
|
+
default: number;
|
223
|
+
};
|
224
|
+
popupTranslate: {
|
225
|
+
type: PropType<import('../trigger-v2/interface.ts').TriggerPopupTranslate>;
|
226
|
+
};
|
227
|
+
showArrow: {
|
228
|
+
type: BooleanConstructor;
|
229
|
+
default: boolean;
|
230
|
+
};
|
231
|
+
alignPoint: {
|
232
|
+
type: BooleanConstructor;
|
233
|
+
default: boolean;
|
234
|
+
};
|
235
|
+
popupHoverStay: {
|
236
|
+
type: BooleanConstructor;
|
237
|
+
default: boolean;
|
238
|
+
};
|
239
|
+
blurToClose: {
|
240
|
+
type: BooleanConstructor;
|
241
|
+
default: boolean;
|
242
|
+
};
|
243
|
+
clickToClose: {
|
244
|
+
type: BooleanConstructor;
|
245
|
+
default: boolean;
|
246
|
+
};
|
247
|
+
clickOutsideToClose: {
|
248
|
+
type: BooleanConstructor;
|
249
|
+
default: boolean;
|
250
|
+
};
|
251
|
+
unmountOnClose: {
|
252
|
+
type: BooleanConstructor;
|
253
|
+
default: boolean;
|
254
|
+
};
|
255
|
+
contentClass: {
|
256
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
257
|
+
};
|
258
|
+
contentStyle: {
|
259
|
+
type: PropType<CSSProperties>;
|
260
|
+
};
|
261
|
+
arrowClass: {
|
262
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
263
|
+
};
|
264
|
+
arrowStyle: {
|
265
|
+
type: PropType<CSSProperties>;
|
266
|
+
};
|
267
|
+
popupStyle: {
|
268
|
+
type: PropType<CSSProperties>;
|
269
|
+
};
|
270
|
+
animationName: {
|
271
|
+
type: StringConstructor;
|
272
|
+
default: string;
|
273
|
+
};
|
274
|
+
duration: {
|
275
|
+
type: PropType<number | {
|
276
|
+
enter: number;
|
277
|
+
leave: number;
|
278
|
+
}>;
|
279
|
+
};
|
280
|
+
mouseEnterDelay: {
|
281
|
+
type: NumberConstructor;
|
282
|
+
default: number;
|
283
|
+
};
|
284
|
+
mouseLeaveDelay: {
|
285
|
+
type: NumberConstructor;
|
286
|
+
default: number;
|
287
|
+
};
|
288
|
+
focusDelay: {
|
289
|
+
type: NumberConstructor;
|
290
|
+
default: number;
|
291
|
+
};
|
292
|
+
autoFitPopupWidth: {
|
293
|
+
type: BooleanConstructor;
|
294
|
+
default: boolean;
|
295
|
+
};
|
296
|
+
autoFitPopupMinWidth: {
|
297
|
+
type: BooleanConstructor;
|
298
|
+
default: boolean;
|
299
|
+
};
|
300
|
+
autoFixPosition: {
|
301
|
+
type: BooleanConstructor;
|
302
|
+
default: boolean;
|
303
|
+
};
|
304
|
+
popupContainer: {
|
305
|
+
type: PropType<string | HTMLElement>;
|
306
|
+
};
|
307
|
+
updateAtScroll: {
|
308
|
+
type: BooleanConstructor;
|
309
|
+
default: boolean;
|
310
|
+
};
|
311
|
+
autoFitTransformOrigin: {
|
312
|
+
type: BooleanConstructor;
|
313
|
+
default: boolean;
|
314
|
+
};
|
315
|
+
hideEmpty: {
|
316
|
+
type: BooleanConstructor;
|
317
|
+
default: boolean;
|
318
|
+
};
|
319
|
+
openedClass: {
|
320
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
321
|
+
};
|
322
|
+
autoFitPosition: {
|
323
|
+
type: BooleanConstructor;
|
324
|
+
default: boolean;
|
325
|
+
};
|
326
|
+
renderToBody: {
|
327
|
+
type: BooleanConstructor;
|
328
|
+
default: boolean;
|
329
|
+
};
|
330
|
+
preventFocus: {
|
331
|
+
type: BooleanConstructor;
|
332
|
+
default: boolean;
|
333
|
+
};
|
334
|
+
scrollToClose: {
|
335
|
+
type: BooleanConstructor;
|
336
|
+
default: boolean;
|
337
|
+
};
|
338
|
+
scrollToCloseDistance: {
|
339
|
+
type: NumberConstructor;
|
340
|
+
default: number;
|
341
|
+
};
|
342
|
+
}>> & Readonly<{
|
343
|
+
onResize?: (() => any) | undefined;
|
344
|
+
onHide?: (() => any) | undefined;
|
345
|
+
onShow?: (() => any) | undefined;
|
346
|
+
"onUpdate:popupVisible"?: ((visible: boolean) => any) | undefined;
|
347
|
+
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
348
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
349
|
+
'update:popupVisible': (visible: boolean) => true;
|
350
|
+
popupVisibleChange: (visible: boolean) => true;
|
351
|
+
show: () => true;
|
352
|
+
hide: () => true;
|
353
|
+
resize: () => true;
|
354
|
+
}, import('vue').PublicProps, {
|
355
|
+
disabled: boolean;
|
356
|
+
animationName: string;
|
357
|
+
position: "br" | "rt" | "tr" | "bottom" | "left" | "right" | "top" | "rb" | "tl" | "bl" | "lt" | "lb";
|
358
|
+
autoFitPosition: boolean;
|
359
|
+
popupVisible: boolean;
|
360
|
+
defaultPopupVisible: boolean;
|
361
|
+
trigger: "click" | "focus" | "hover" | "contextMenu" | ("click" | "focus" | "hover" | "contextMenu")[];
|
362
|
+
popupOffset: number;
|
363
|
+
showArrow: boolean;
|
364
|
+
alignPoint: boolean;
|
365
|
+
popupHoverStay: boolean;
|
366
|
+
blurToClose: boolean;
|
367
|
+
clickToClose: boolean;
|
368
|
+
clickOutsideToClose: boolean;
|
369
|
+
unmountOnClose: boolean;
|
370
|
+
mouseEnterDelay: number;
|
371
|
+
mouseLeaveDelay: number;
|
372
|
+
focusDelay: number;
|
373
|
+
autoFitPopupWidth: boolean;
|
374
|
+
autoFitPopupMinWidth: boolean;
|
375
|
+
autoFixPosition: boolean;
|
376
|
+
updateAtScroll: boolean;
|
377
|
+
autoFitTransformOrigin: boolean;
|
378
|
+
hideEmpty: boolean;
|
379
|
+
renderToBody: boolean;
|
380
|
+
preventFocus: boolean;
|
381
|
+
scrollToClose: boolean;
|
382
|
+
scrollToCloseDistance: number;
|
383
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
384
|
+
P: {};
|
385
|
+
B: {};
|
386
|
+
D: {};
|
387
|
+
C: {};
|
388
|
+
M: {};
|
389
|
+
Defaults: {};
|
390
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
391
|
+
popupVisible: {
|
392
|
+
type: BooleanConstructor;
|
393
|
+
default: undefined;
|
394
|
+
};
|
395
|
+
defaultPopupVisible: {
|
396
|
+
type: BooleanConstructor;
|
397
|
+
default: boolean;
|
398
|
+
};
|
399
|
+
trigger: {
|
400
|
+
type: PropType<import('../../_props/constant').TriggerEvent | import('../../_props/constant').TriggerEvent[]>;
|
401
|
+
default: string;
|
402
|
+
};
|
403
|
+
position: {
|
404
|
+
type: PropType<TriggerPosition>;
|
405
|
+
default: string;
|
406
|
+
};
|
407
|
+
disabled: {
|
408
|
+
type: BooleanConstructor;
|
409
|
+
default: boolean;
|
410
|
+
};
|
411
|
+
popupOffset: {
|
412
|
+
type: NumberConstructor;
|
413
|
+
default: number;
|
414
|
+
};
|
415
|
+
popupTranslate: {
|
416
|
+
type: PropType<import('../trigger-v2/interface.ts').TriggerPopupTranslate>;
|
417
|
+
};
|
418
|
+
showArrow: {
|
419
|
+
type: BooleanConstructor;
|
420
|
+
default: boolean;
|
421
|
+
};
|
422
|
+
alignPoint: {
|
423
|
+
type: BooleanConstructor;
|
424
|
+
default: boolean;
|
425
|
+
};
|
426
|
+
popupHoverStay: {
|
427
|
+
type: BooleanConstructor;
|
428
|
+
default: boolean;
|
429
|
+
};
|
430
|
+
blurToClose: {
|
431
|
+
type: BooleanConstructor;
|
432
|
+
default: boolean;
|
433
|
+
};
|
434
|
+
clickToClose: {
|
435
|
+
type: BooleanConstructor;
|
436
|
+
default: boolean;
|
437
|
+
};
|
438
|
+
clickOutsideToClose: {
|
439
|
+
type: BooleanConstructor;
|
440
|
+
default: boolean;
|
441
|
+
};
|
442
|
+
unmountOnClose: {
|
443
|
+
type: BooleanConstructor;
|
444
|
+
default: boolean;
|
445
|
+
};
|
446
|
+
contentClass: {
|
447
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
448
|
+
};
|
449
|
+
contentStyle: {
|
450
|
+
type: PropType<CSSProperties>;
|
451
|
+
};
|
452
|
+
arrowClass: {
|
453
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
454
|
+
};
|
455
|
+
arrowStyle: {
|
456
|
+
type: PropType<CSSProperties>;
|
457
|
+
};
|
458
|
+
popupStyle: {
|
459
|
+
type: PropType<CSSProperties>;
|
460
|
+
};
|
461
|
+
animationName: {
|
462
|
+
type: StringConstructor;
|
463
|
+
default: string;
|
464
|
+
};
|
465
|
+
duration: {
|
466
|
+
type: PropType<number | {
|
467
|
+
enter: number;
|
468
|
+
leave: number;
|
469
|
+
}>;
|
470
|
+
};
|
471
|
+
mouseEnterDelay: {
|
472
|
+
type: NumberConstructor;
|
473
|
+
default: number;
|
474
|
+
};
|
475
|
+
mouseLeaveDelay: {
|
476
|
+
type: NumberConstructor;
|
477
|
+
default: number;
|
478
|
+
};
|
479
|
+
focusDelay: {
|
480
|
+
type: NumberConstructor;
|
481
|
+
default: number;
|
482
|
+
};
|
483
|
+
autoFitPopupWidth: {
|
484
|
+
type: BooleanConstructor;
|
485
|
+
default: boolean;
|
486
|
+
};
|
487
|
+
autoFitPopupMinWidth: {
|
488
|
+
type: BooleanConstructor;
|
489
|
+
default: boolean;
|
490
|
+
};
|
491
|
+
autoFixPosition: {
|
492
|
+
type: BooleanConstructor;
|
493
|
+
default: boolean;
|
494
|
+
};
|
495
|
+
popupContainer: {
|
496
|
+
type: PropType<string | HTMLElement>;
|
497
|
+
};
|
498
|
+
updateAtScroll: {
|
499
|
+
type: BooleanConstructor;
|
500
|
+
default: boolean;
|
501
|
+
};
|
502
|
+
autoFitTransformOrigin: {
|
503
|
+
type: BooleanConstructor;
|
504
|
+
default: boolean;
|
505
|
+
};
|
506
|
+
hideEmpty: {
|
507
|
+
type: BooleanConstructor;
|
508
|
+
default: boolean;
|
509
|
+
};
|
510
|
+
openedClass: {
|
511
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
512
|
+
};
|
513
|
+
autoFitPosition: {
|
514
|
+
type: BooleanConstructor;
|
515
|
+
default: boolean;
|
516
|
+
};
|
517
|
+
renderToBody: {
|
518
|
+
type: BooleanConstructor;
|
519
|
+
default: boolean;
|
520
|
+
};
|
521
|
+
preventFocus: {
|
522
|
+
type: BooleanConstructor;
|
523
|
+
default: boolean;
|
524
|
+
};
|
525
|
+
scrollToClose: {
|
526
|
+
type: BooleanConstructor;
|
527
|
+
default: boolean;
|
528
|
+
};
|
529
|
+
scrollToCloseDistance: {
|
530
|
+
type: NumberConstructor;
|
531
|
+
default: number;
|
532
|
+
};
|
533
|
+
}>> & Readonly<{
|
534
|
+
onResize?: (() => any) | undefined;
|
535
|
+
onHide?: (() => any) | undefined;
|
536
|
+
onShow?: (() => any) | undefined;
|
537
|
+
"onUpdate:popupVisible"?: ((visible: boolean) => any) | undefined;
|
538
|
+
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
539
|
+
}>, () => any, {}, {}, {}, {
|
540
|
+
disabled: boolean;
|
541
|
+
animationName: string;
|
542
|
+
position: "br" | "rt" | "tr" | "bottom" | "left" | "right" | "top" | "rb" | "tl" | "bl" | "lt" | "lb";
|
543
|
+
autoFitPosition: boolean;
|
544
|
+
popupVisible: boolean;
|
545
|
+
defaultPopupVisible: boolean;
|
546
|
+
trigger: "click" | "focus" | "hover" | "contextMenu" | ("click" | "focus" | "hover" | "contextMenu")[];
|
547
|
+
popupOffset: number;
|
548
|
+
showArrow: boolean;
|
549
|
+
alignPoint: boolean;
|
550
|
+
popupHoverStay: boolean;
|
551
|
+
blurToClose: boolean;
|
552
|
+
clickToClose: boolean;
|
553
|
+
clickOutsideToClose: boolean;
|
554
|
+
unmountOnClose: boolean;
|
555
|
+
mouseEnterDelay: number;
|
556
|
+
mouseLeaveDelay: number;
|
557
|
+
focusDelay: number;
|
558
|
+
autoFitPopupWidth: boolean;
|
559
|
+
autoFitPopupMinWidth: boolean;
|
560
|
+
autoFixPosition: boolean;
|
561
|
+
updateAtScroll: boolean;
|
562
|
+
autoFitTransformOrigin: boolean;
|
563
|
+
hideEmpty: boolean;
|
564
|
+
renderToBody: boolean;
|
565
|
+
preventFocus: boolean;
|
566
|
+
scrollToClose: boolean;
|
567
|
+
scrollToCloseDistance: number;
|
568
|
+
}>;
|
569
|
+
__isFragment?: never;
|
570
|
+
__isTeleport?: never;
|
571
|
+
__isSuspense?: never;
|
572
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
573
|
+
popupVisible: {
|
574
|
+
type: BooleanConstructor;
|
575
|
+
default: undefined;
|
576
|
+
};
|
577
|
+
defaultPopupVisible: {
|
578
|
+
type: BooleanConstructor;
|
579
|
+
default: boolean;
|
580
|
+
};
|
581
|
+
trigger: {
|
582
|
+
type: PropType<import('../../_props/constant').TriggerEvent | import('../../_props/constant').TriggerEvent[]>;
|
583
|
+
default: string;
|
584
|
+
};
|
585
|
+
position: {
|
586
|
+
type: PropType<TriggerPosition>;
|
587
|
+
default: string;
|
588
|
+
};
|
589
|
+
disabled: {
|
590
|
+
type: BooleanConstructor;
|
591
|
+
default: boolean;
|
592
|
+
};
|
593
|
+
popupOffset: {
|
594
|
+
type: NumberConstructor;
|
595
|
+
default: number;
|
596
|
+
};
|
597
|
+
popupTranslate: {
|
598
|
+
type: PropType<import('../trigger-v2/interface.ts').TriggerPopupTranslate>;
|
599
|
+
};
|
600
|
+
showArrow: {
|
601
|
+
type: BooleanConstructor;
|
602
|
+
default: boolean;
|
603
|
+
};
|
604
|
+
alignPoint: {
|
605
|
+
type: BooleanConstructor;
|
606
|
+
default: boolean;
|
607
|
+
};
|
608
|
+
popupHoverStay: {
|
609
|
+
type: BooleanConstructor;
|
610
|
+
default: boolean;
|
611
|
+
};
|
612
|
+
blurToClose: {
|
613
|
+
type: BooleanConstructor;
|
614
|
+
default: boolean;
|
615
|
+
};
|
616
|
+
clickToClose: {
|
617
|
+
type: BooleanConstructor;
|
618
|
+
default: boolean;
|
619
|
+
};
|
620
|
+
clickOutsideToClose: {
|
621
|
+
type: BooleanConstructor;
|
622
|
+
default: boolean;
|
623
|
+
};
|
624
|
+
unmountOnClose: {
|
625
|
+
type: BooleanConstructor;
|
626
|
+
default: boolean;
|
627
|
+
};
|
628
|
+
contentClass: {
|
629
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
630
|
+
};
|
631
|
+
contentStyle: {
|
632
|
+
type: PropType<CSSProperties>;
|
633
|
+
};
|
634
|
+
arrowClass: {
|
635
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
636
|
+
};
|
637
|
+
arrowStyle: {
|
638
|
+
type: PropType<CSSProperties>;
|
639
|
+
};
|
640
|
+
popupStyle: {
|
641
|
+
type: PropType<CSSProperties>;
|
642
|
+
};
|
643
|
+
animationName: {
|
644
|
+
type: StringConstructor;
|
645
|
+
default: string;
|
646
|
+
};
|
647
|
+
duration: {
|
648
|
+
type: PropType<number | {
|
649
|
+
enter: number;
|
650
|
+
leave: number;
|
651
|
+
}>;
|
652
|
+
};
|
653
|
+
mouseEnterDelay: {
|
654
|
+
type: NumberConstructor;
|
655
|
+
default: number;
|
656
|
+
};
|
657
|
+
mouseLeaveDelay: {
|
658
|
+
type: NumberConstructor;
|
659
|
+
default: number;
|
660
|
+
};
|
661
|
+
focusDelay: {
|
662
|
+
type: NumberConstructor;
|
663
|
+
default: number;
|
664
|
+
};
|
665
|
+
autoFitPopupWidth: {
|
666
|
+
type: BooleanConstructor;
|
667
|
+
default: boolean;
|
668
|
+
};
|
669
|
+
autoFitPopupMinWidth: {
|
670
|
+
type: BooleanConstructor;
|
671
|
+
default: boolean;
|
672
|
+
};
|
673
|
+
autoFixPosition: {
|
674
|
+
type: BooleanConstructor;
|
675
|
+
default: boolean;
|
676
|
+
};
|
677
|
+
popupContainer: {
|
678
|
+
type: PropType<string | HTMLElement>;
|
679
|
+
};
|
680
|
+
updateAtScroll: {
|
681
|
+
type: BooleanConstructor;
|
682
|
+
default: boolean;
|
683
|
+
};
|
684
|
+
autoFitTransformOrigin: {
|
685
|
+
type: BooleanConstructor;
|
686
|
+
default: boolean;
|
687
|
+
};
|
688
|
+
hideEmpty: {
|
689
|
+
type: BooleanConstructor;
|
690
|
+
default: boolean;
|
691
|
+
};
|
692
|
+
openedClass: {
|
693
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
694
|
+
};
|
695
|
+
autoFitPosition: {
|
696
|
+
type: BooleanConstructor;
|
697
|
+
default: boolean;
|
698
|
+
};
|
699
|
+
renderToBody: {
|
700
|
+
type: BooleanConstructor;
|
701
|
+
default: boolean;
|
702
|
+
};
|
703
|
+
preventFocus: {
|
704
|
+
type: BooleanConstructor;
|
705
|
+
default: boolean;
|
706
|
+
};
|
707
|
+
scrollToClose: {
|
708
|
+
type: BooleanConstructor;
|
709
|
+
default: boolean;
|
710
|
+
};
|
711
|
+
scrollToCloseDistance: {
|
712
|
+
type: NumberConstructor;
|
713
|
+
default: number;
|
714
|
+
};
|
715
|
+
}>> & Readonly<{
|
716
|
+
onResize?: (() => any) | undefined;
|
717
|
+
onHide?: (() => any) | undefined;
|
718
|
+
onShow?: (() => any) | undefined;
|
719
|
+
"onUpdate:popupVisible"?: ((visible: boolean) => any) | undefined;
|
720
|
+
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
721
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
722
|
+
'update:popupVisible': (visible: boolean) => true;
|
723
|
+
popupVisibleChange: (visible: boolean) => true;
|
724
|
+
show: () => true;
|
725
|
+
hide: () => true;
|
726
|
+
resize: () => true;
|
727
|
+
}, string, {
|
728
|
+
disabled: boolean;
|
729
|
+
animationName: string;
|
730
|
+
position: "br" | "rt" | "tr" | "bottom" | "left" | "right" | "top" | "rb" | "tl" | "bl" | "lt" | "lb";
|
731
|
+
autoFitPosition: boolean;
|
732
|
+
popupVisible: boolean;
|
733
|
+
defaultPopupVisible: boolean;
|
734
|
+
trigger: "click" | "focus" | "hover" | "contextMenu" | ("click" | "focus" | "hover" | "contextMenu")[];
|
735
|
+
popupOffset: number;
|
736
|
+
showArrow: boolean;
|
737
|
+
alignPoint: boolean;
|
738
|
+
popupHoverStay: boolean;
|
739
|
+
blurToClose: boolean;
|
740
|
+
clickToClose: boolean;
|
741
|
+
clickOutsideToClose: boolean;
|
742
|
+
unmountOnClose: boolean;
|
743
|
+
mouseEnterDelay: number;
|
744
|
+
mouseLeaveDelay: number;
|
745
|
+
focusDelay: number;
|
746
|
+
autoFitPopupWidth: boolean;
|
747
|
+
autoFitPopupMinWidth: boolean;
|
748
|
+
autoFixPosition: boolean;
|
749
|
+
updateAtScroll: boolean;
|
750
|
+
autoFitTransformOrigin: boolean;
|
751
|
+
hideEmpty: boolean;
|
752
|
+
renderToBody: boolean;
|
753
|
+
preventFocus: boolean;
|
754
|
+
scrollToClose: boolean;
|
755
|
+
scrollToCloseDistance: number;
|
756
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
757
|
+
install(app: import('vue').App): void;
|
758
|
+
};
|
759
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
760
|
+
export default _default;
|