straw-ui-vue 0.1.20 → 0.1.21
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 +146 -146
- package/dist/{cn-CiflBmGp.js → cn-CThBjlvA.js} +7 -7
- package/dist/components/st-button/types.d.ts +63 -63
- package/dist/components/st-card/types.d.ts +184 -184
- package/dist/components/st-cascade/types.d.ts +156 -156
- package/dist/components/st-checkbox/types.d.ts +120 -120
- package/dist/components/st-color-picker/types.d.ts +160 -160
- package/dist/components/st-date-picker/types.d.ts +157 -157
- package/dist/components/st-datetime-picker/types.d.ts +155 -155
- package/dist/components/st-dialog/types.d.ts +293 -293
- package/dist/components/st-divider/types.d.ts +92 -92
- package/dist/components/st-drawer/types.d.ts +232 -232
- package/dist/components/st-empty/types.d.ts +39 -39
- package/dist/components/st-form-control/types.d.ts +21 -21
- package/dist/components/st-form-description/types.d.ts +21 -21
- package/dist/components/st-form-field/types.d.ts +64 -64
- package/dist/components/st-form-item/types.d.ts +21 -21
- package/dist/components/st-form-label/types.d.ts +19 -19
- package/dist/components/st-form-message/types.d.ts +23 -23
- package/dist/components/st-image/types.d.ts +58 -58
- package/dist/components/st-input/types.d.ts +415 -415
- package/dist/components/st-label/types.d.ts +19 -19
- package/dist/components/st-menu/types.d.ts +262 -262
- package/dist/components/st-pagination/types.d.ts +91 -91
- package/dist/components/st-popover/types.d.ts +202 -202
- package/dist/components/st-progress/types.d.ts +37 -37
- package/dist/components/st-radio/types.d.ts +126 -126
- package/dist/components/st-scrollbar/types.d.ts +62 -62
- package/dist/components/st-segmented/types.d.ts +53 -53
- package/dist/components/st-sidebar/types.d.ts +85 -85
- package/dist/components/st-sidebar-item/types.d.ts +45 -45
- package/dist/components/st-skeleton/types.d.ts +56 -56
- package/dist/components/st-slider/types.d.ts +61 -61
- package/dist/components/st-splitter/types.d.ts +260 -260
- package/dist/components/st-splitter-panel/types.d.ts +63 -63
- package/dist/components/st-switch/types.d.ts +53 -53
- package/dist/components/st-tabs/types.d.ts +151 -151
- package/dist/components/st-tag/types.d.ts +51 -51
- package/dist/components/st-time-picker/types.d.ts +143 -143
- package/dist/components/st-toggle/types.d.ts +58 -58
- package/dist/components/st-tooltip/types.d.ts +172 -172
- package/dist/components/st-tree/types.d.ts +188 -188
- package/dist/straw-ui.js +107 -51
- package/package.json +16 -11
|
@@ -1,293 +1,293 @@
|
|
|
1
|
-
import type { ClassValue, Ref, StyleValue } from 'vue';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* StDialogGroup 注入上下文接口
|
|
5
|
-
* 由 st-dialog.vue 提供,供各 Group 子组件注入获取共享状态和方法
|
|
6
|
-
* */
|
|
7
|
-
export interface StDialogGroupContext {
|
|
8
|
-
/** 可见性引用 */
|
|
9
|
-
readonly visible: Ref<boolean>;
|
|
10
|
-
/** 遮罩层 zIndex 引用 */
|
|
11
|
-
readonly overlayZIndex: Ref<number>;
|
|
12
|
-
/** 内容层 zIndex 引用 */
|
|
13
|
-
readonly contentZIndex: Ref<number>;
|
|
14
|
-
/** 是否全屏引用 */
|
|
15
|
-
readonly isFullscreen: Ref<boolean>;
|
|
16
|
-
/** 拖拽偏移 X */
|
|
17
|
-
readonly dragOffsetX: Ref<number>;
|
|
18
|
-
/** 拖拽偏移 Y */
|
|
19
|
-
readonly dragOffsetY: Ref<number>;
|
|
20
|
-
|
|
21
|
-
/** 是否居中显示 */
|
|
22
|
-
readonly center: boolean;
|
|
23
|
-
/** 是否显示遮罩层 */
|
|
24
|
-
readonly showOverlay: boolean;
|
|
25
|
-
/** 是否显示关闭按钮 */
|
|
26
|
-
readonly closable: boolean;
|
|
27
|
-
/** 是否支持全屏 */
|
|
28
|
-
readonly fullscreen: boolean;
|
|
29
|
-
/** 是否支持拖拽 */
|
|
30
|
-
readonly draggable: boolean;
|
|
31
|
-
/** 点击遮罩层是否关闭 */
|
|
32
|
-
readonly closeByOverlay: boolean;
|
|
33
|
-
|
|
34
|
-
/** 关闭弹窗 */
|
|
35
|
-
readonly handleClose: () => void;
|
|
36
|
-
/** 切换全屏 */
|
|
37
|
-
readonly toggleFullscreen: () => void;
|
|
38
|
-
/** 拖拽开始事件处理 */
|
|
39
|
-
readonly handleDragStart: (event: MouseEvent) => void;
|
|
40
|
-
/** 遮罩层点击事件处理 */
|
|
41
|
-
readonly handleOverlayClick: (event: MouseEvent) => void;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* StDialogGroup 容器组件属性
|
|
46
|
-
* */
|
|
47
|
-
export interface StDialogGroupProps {}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* StDialogGroup 容器组件插槽
|
|
51
|
-
* */
|
|
52
|
-
export interface StDialogGroupSlots {
|
|
53
|
-
/** 默认插槽 */
|
|
54
|
-
default?(): unknown;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* StDialogGroup 容器组件事件
|
|
59
|
-
* */
|
|
60
|
-
export interface StDialogGroupEmits {}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* StDialogGroupOverlay 遮罩组件属性
|
|
64
|
-
* */
|
|
65
|
-
export interface StDialogGroupOverlayProps {}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* StDialogGroupOverlay 遮罩层组件插槽
|
|
69
|
-
* */
|
|
70
|
-
export interface StDialogGroupOverlaySlots {
|
|
71
|
-
/** 默认插槽 */
|
|
72
|
-
default?(): unknown;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* StDialogGroupOverlay 遮罩层组件事件
|
|
77
|
-
* */
|
|
78
|
-
export interface StDialogGroupOverlayEmits {
|
|
79
|
-
/** 点击事件 */
|
|
80
|
-
click: [event: MouseEvent];
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* StDialogGroupBody 主体组件属性
|
|
85
|
-
* */
|
|
86
|
-
export interface StDialogGroupBodyProps {}
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* StDialogGroupBody 主体组件插槽
|
|
90
|
-
* */
|
|
91
|
-
export interface StDialogGroupBodySlots {
|
|
92
|
-
/** 默认插槽 */
|
|
93
|
-
default?(): unknown;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* StDialogGroupBody 主体组件事件
|
|
98
|
-
* */
|
|
99
|
-
export interface StDialogGroupBodyEmits {}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* StDialogGroupHeader 头部组件属性
|
|
103
|
-
* */
|
|
104
|
-
export interface StDialogGroupHeaderProps {}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* StDialogGroupHeader 头部组件插槽
|
|
108
|
-
* */
|
|
109
|
-
export interface StDialogGroupHeaderSlots {
|
|
110
|
-
/** 默认插槽 */
|
|
111
|
-
default?(): unknown;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* StDialogGroupHeader 头部组件事件
|
|
116
|
-
* */
|
|
117
|
-
export interface StDialogGroupHeaderEmits {
|
|
118
|
-
/** 关闭事件 */
|
|
119
|
-
close: [event: MouseEvent];
|
|
120
|
-
/** 拖拽开始事件 */
|
|
121
|
-
dragstart: [event: MouseEvent];
|
|
122
|
-
/** 切换全屏事件 */
|
|
123
|
-
toggleFullscreen: [];
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* StDialogGroupDraggable 拖拽组件属性
|
|
128
|
-
* */
|
|
129
|
-
export interface StDialogGroupDraggableProps {}
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* StDialogGroupDraggable 拖拽组件插槽
|
|
133
|
-
* */
|
|
134
|
-
export interface StDialogGroupDraggableSlots {
|
|
135
|
-
/** 默认插槽 */
|
|
136
|
-
default?(): unknown;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* StDialogGroupDraggable 拖拽组件事件
|
|
141
|
-
* */
|
|
142
|
-
export interface StDialogGroupDraggableEmits {}
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* StDialogGroupTitle 标题组件属性
|
|
146
|
-
* */
|
|
147
|
-
export interface StDialogGroupTitleProps {}
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* StDialogGroupTitle 标题组件插槽
|
|
151
|
-
* */
|
|
152
|
-
export interface StDialogGroupTitleSlots {
|
|
153
|
-
/** 默认插槽 */
|
|
154
|
-
default?(): unknown;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* StDialogGroupTitle 标题组件事件
|
|
159
|
-
* */
|
|
160
|
-
export interface StDialogGroupTitleEmits {}
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* StDialogGroupAction 操作区组件属性
|
|
164
|
-
* */
|
|
165
|
-
export interface StDialogGroupActionProps {}
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* StDialogGroupAction 操作区组件插槽
|
|
169
|
-
* */
|
|
170
|
-
export interface StDialogGroupActionSlots {
|
|
171
|
-
/** 默认插槽 */
|
|
172
|
-
default?(): unknown;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* StDialogGroupAction 操作区组件事件
|
|
177
|
-
* */
|
|
178
|
-
export interface StDialogGroupActionEmits {}
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* StDialogGroupContent 内容区组件属性
|
|
182
|
-
* */
|
|
183
|
-
export interface StDialogGroupContentProps {}
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* StDialogGroupContent 内容区组件插槽
|
|
187
|
-
* */
|
|
188
|
-
export interface StDialogGroupContentSlots {
|
|
189
|
-
/** 默认插槽 */
|
|
190
|
-
default?(): unknown;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* StDialogGroupContent 内容区组件事件
|
|
195
|
-
* */
|
|
196
|
-
export interface StDialogGroupContentEmits {}
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* StDialogGroupFooter 脚部组件属性
|
|
200
|
-
* */
|
|
201
|
-
export interface StDialogGroupFooterProps {}
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* StDialogGroupFooter 脚部组件插槽
|
|
205
|
-
* */
|
|
206
|
-
export interface StDialogGroupFooterSlots {
|
|
207
|
-
/** 默认插槽 */
|
|
208
|
-
default?(): unknown;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* StDialogGroupFooter 脚部组件事件
|
|
213
|
-
* */
|
|
214
|
-
export interface StDialogGroupFooterEmits {}
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* StDialog 封装组件属性
|
|
218
|
-
*/
|
|
219
|
-
export interface StDialogProps {
|
|
220
|
-
/** 弹窗标题 */
|
|
221
|
-
title?: string;
|
|
222
|
-
/** 是否显示关闭按钮 */
|
|
223
|
-
closable?: boolean;
|
|
224
|
-
/** 是否支持拖拽 */
|
|
225
|
-
draggable?: boolean;
|
|
226
|
-
/** 是否支持全屏 */
|
|
227
|
-
fullscreen?: boolean;
|
|
228
|
-
/** 是否显示遮罩层 */
|
|
229
|
-
showOverlay?: boolean;
|
|
230
|
-
/** 点击遮罩层是否关闭弹窗 */
|
|
231
|
-
closeByOverlay?: boolean;
|
|
232
|
-
/** 是否居中显示 */
|
|
233
|
-
center?: boolean;
|
|
234
|
-
|
|
235
|
-
/** 遮罩层自定义类名 */
|
|
236
|
-
overlayClass?: ClassValue;
|
|
237
|
-
/** 遮罩层自定义样式 */
|
|
238
|
-
overlayStyle?: StyleValue;
|
|
239
|
-
/** 内容主体自定义类名 */
|
|
240
|
-
bodyClass?: ClassValue;
|
|
241
|
-
/** 内容主体自定义样式 */
|
|
242
|
-
bodyStyle?: StyleValue;
|
|
243
|
-
/** 头部自定义类名 */
|
|
244
|
-
headerClass?: ClassValue;
|
|
245
|
-
/** 头部自定义样式 */
|
|
246
|
-
headerStyle?: StyleValue;
|
|
247
|
-
/** 拖拽区域自定义类名 */
|
|
248
|
-
draggableClass?: ClassValue;
|
|
249
|
-
/** 拖拽区域自定义样式 */
|
|
250
|
-
draggableStyle?: StyleValue;
|
|
251
|
-
/** 标题自定义类名 */
|
|
252
|
-
titleClass?: ClassValue;
|
|
253
|
-
/** 标题自定义样式 */
|
|
254
|
-
titleStyle?: StyleValue;
|
|
255
|
-
/** 额外按钮自定义类名 */
|
|
256
|
-
actionClass?: ClassValue;
|
|
257
|
-
/** 额外按钮自定义样式 */
|
|
258
|
-
actionStyle?: StyleValue;
|
|
259
|
-
/** 内容区域自定义类名 */
|
|
260
|
-
contentClass?: ClassValue;
|
|
261
|
-
/** 内容区域自定义样式 */
|
|
262
|
-
contentStyle?: StyleValue;
|
|
263
|
-
/** 底部自定义类名 */
|
|
264
|
-
footerClass?: ClassValue;
|
|
265
|
-
/** 底部自定义样式 */
|
|
266
|
-
footerStyle?: StyleValue;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* StDialog 封装组件插槽
|
|
271
|
-
*/
|
|
272
|
-
export interface StDialogSlots {
|
|
273
|
-
/** 默认插槽(弹窗内容) */
|
|
274
|
-
default?(): unknown;
|
|
275
|
-
/** 标题插槽 */
|
|
276
|
-
title?(): unknown;
|
|
277
|
-
/** 额外内容插槽(头部右侧) */
|
|
278
|
-
action?(): unknown;
|
|
279
|
-
/** 底部插槽 */
|
|
280
|
-
footer?(): unknown;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* StDialog 封装组件事件
|
|
285
|
-
*/
|
|
286
|
-
export interface StDialogEmits {
|
|
287
|
-
/** 弹窗打开事件 */
|
|
288
|
-
open: [];
|
|
289
|
-
/** 弹窗关闭事件 */
|
|
290
|
-
close: [];
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
export {};
|
|
1
|
+
import type { ClassValue, Ref, StyleValue } from 'vue';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* StDialogGroup 注入上下文接口
|
|
5
|
+
* 由 st-dialog.vue 提供,供各 Group 子组件注入获取共享状态和方法
|
|
6
|
+
* */
|
|
7
|
+
export interface StDialogGroupContext {
|
|
8
|
+
/** 可见性引用 */
|
|
9
|
+
readonly visible: Ref<boolean>;
|
|
10
|
+
/** 遮罩层 zIndex 引用 */
|
|
11
|
+
readonly overlayZIndex: Ref<number>;
|
|
12
|
+
/** 内容层 zIndex 引用 */
|
|
13
|
+
readonly contentZIndex: Ref<number>;
|
|
14
|
+
/** 是否全屏引用 */
|
|
15
|
+
readonly isFullscreen: Ref<boolean>;
|
|
16
|
+
/** 拖拽偏移 X */
|
|
17
|
+
readonly dragOffsetX: Ref<number>;
|
|
18
|
+
/** 拖拽偏移 Y */
|
|
19
|
+
readonly dragOffsetY: Ref<number>;
|
|
20
|
+
|
|
21
|
+
/** 是否居中显示 */
|
|
22
|
+
readonly center: boolean;
|
|
23
|
+
/** 是否显示遮罩层 */
|
|
24
|
+
readonly showOverlay: boolean;
|
|
25
|
+
/** 是否显示关闭按钮 */
|
|
26
|
+
readonly closable: boolean;
|
|
27
|
+
/** 是否支持全屏 */
|
|
28
|
+
readonly fullscreen: boolean;
|
|
29
|
+
/** 是否支持拖拽 */
|
|
30
|
+
readonly draggable: boolean;
|
|
31
|
+
/** 点击遮罩层是否关闭 */
|
|
32
|
+
readonly closeByOverlay: boolean;
|
|
33
|
+
|
|
34
|
+
/** 关闭弹窗 */
|
|
35
|
+
readonly handleClose: () => void;
|
|
36
|
+
/** 切换全屏 */
|
|
37
|
+
readonly toggleFullscreen: () => void;
|
|
38
|
+
/** 拖拽开始事件处理 */
|
|
39
|
+
readonly handleDragStart: (event: MouseEvent) => void;
|
|
40
|
+
/** 遮罩层点击事件处理 */
|
|
41
|
+
readonly handleOverlayClick: (event: MouseEvent) => void;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* StDialogGroup 容器组件属性
|
|
46
|
+
* */
|
|
47
|
+
export interface StDialogGroupProps {}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* StDialogGroup 容器组件插槽
|
|
51
|
+
* */
|
|
52
|
+
export interface StDialogGroupSlots {
|
|
53
|
+
/** 默认插槽 */
|
|
54
|
+
default?(): unknown;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* StDialogGroup 容器组件事件
|
|
59
|
+
* */
|
|
60
|
+
export interface StDialogGroupEmits {}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* StDialogGroupOverlay 遮罩组件属性
|
|
64
|
+
* */
|
|
65
|
+
export interface StDialogGroupOverlayProps {}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* StDialogGroupOverlay 遮罩层组件插槽
|
|
69
|
+
* */
|
|
70
|
+
export interface StDialogGroupOverlaySlots {
|
|
71
|
+
/** 默认插槽 */
|
|
72
|
+
default?(): unknown;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* StDialogGroupOverlay 遮罩层组件事件
|
|
77
|
+
* */
|
|
78
|
+
export interface StDialogGroupOverlayEmits {
|
|
79
|
+
/** 点击事件 */
|
|
80
|
+
click: [event: MouseEvent];
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* StDialogGroupBody 主体组件属性
|
|
85
|
+
* */
|
|
86
|
+
export interface StDialogGroupBodyProps {}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* StDialogGroupBody 主体组件插槽
|
|
90
|
+
* */
|
|
91
|
+
export interface StDialogGroupBodySlots {
|
|
92
|
+
/** 默认插槽 */
|
|
93
|
+
default?(): unknown;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* StDialogGroupBody 主体组件事件
|
|
98
|
+
* */
|
|
99
|
+
export interface StDialogGroupBodyEmits {}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* StDialogGroupHeader 头部组件属性
|
|
103
|
+
* */
|
|
104
|
+
export interface StDialogGroupHeaderProps {}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* StDialogGroupHeader 头部组件插槽
|
|
108
|
+
* */
|
|
109
|
+
export interface StDialogGroupHeaderSlots {
|
|
110
|
+
/** 默认插槽 */
|
|
111
|
+
default?(): unknown;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* StDialogGroupHeader 头部组件事件
|
|
116
|
+
* */
|
|
117
|
+
export interface StDialogGroupHeaderEmits {
|
|
118
|
+
/** 关闭事件 */
|
|
119
|
+
close: [event: MouseEvent];
|
|
120
|
+
/** 拖拽开始事件 */
|
|
121
|
+
dragstart: [event: MouseEvent];
|
|
122
|
+
/** 切换全屏事件 */
|
|
123
|
+
toggleFullscreen: [];
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* StDialogGroupDraggable 拖拽组件属性
|
|
128
|
+
* */
|
|
129
|
+
export interface StDialogGroupDraggableProps {}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* StDialogGroupDraggable 拖拽组件插槽
|
|
133
|
+
* */
|
|
134
|
+
export interface StDialogGroupDraggableSlots {
|
|
135
|
+
/** 默认插槽 */
|
|
136
|
+
default?(): unknown;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* StDialogGroupDraggable 拖拽组件事件
|
|
141
|
+
* */
|
|
142
|
+
export interface StDialogGroupDraggableEmits {}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* StDialogGroupTitle 标题组件属性
|
|
146
|
+
* */
|
|
147
|
+
export interface StDialogGroupTitleProps {}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* StDialogGroupTitle 标题组件插槽
|
|
151
|
+
* */
|
|
152
|
+
export interface StDialogGroupTitleSlots {
|
|
153
|
+
/** 默认插槽 */
|
|
154
|
+
default?(): unknown;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* StDialogGroupTitle 标题组件事件
|
|
159
|
+
* */
|
|
160
|
+
export interface StDialogGroupTitleEmits {}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* StDialogGroupAction 操作区组件属性
|
|
164
|
+
* */
|
|
165
|
+
export interface StDialogGroupActionProps {}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* StDialogGroupAction 操作区组件插槽
|
|
169
|
+
* */
|
|
170
|
+
export interface StDialogGroupActionSlots {
|
|
171
|
+
/** 默认插槽 */
|
|
172
|
+
default?(): unknown;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* StDialogGroupAction 操作区组件事件
|
|
177
|
+
* */
|
|
178
|
+
export interface StDialogGroupActionEmits {}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* StDialogGroupContent 内容区组件属性
|
|
182
|
+
* */
|
|
183
|
+
export interface StDialogGroupContentProps {}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* StDialogGroupContent 内容区组件插槽
|
|
187
|
+
* */
|
|
188
|
+
export interface StDialogGroupContentSlots {
|
|
189
|
+
/** 默认插槽 */
|
|
190
|
+
default?(): unknown;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* StDialogGroupContent 内容区组件事件
|
|
195
|
+
* */
|
|
196
|
+
export interface StDialogGroupContentEmits {}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* StDialogGroupFooter 脚部组件属性
|
|
200
|
+
* */
|
|
201
|
+
export interface StDialogGroupFooterProps {}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* StDialogGroupFooter 脚部组件插槽
|
|
205
|
+
* */
|
|
206
|
+
export interface StDialogGroupFooterSlots {
|
|
207
|
+
/** 默认插槽 */
|
|
208
|
+
default?(): unknown;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* StDialogGroupFooter 脚部组件事件
|
|
213
|
+
* */
|
|
214
|
+
export interface StDialogGroupFooterEmits {}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* StDialog 封装组件属性
|
|
218
|
+
*/
|
|
219
|
+
export interface StDialogProps {
|
|
220
|
+
/** 弹窗标题 */
|
|
221
|
+
title?: string;
|
|
222
|
+
/** 是否显示关闭按钮 */
|
|
223
|
+
closable?: boolean;
|
|
224
|
+
/** 是否支持拖拽 */
|
|
225
|
+
draggable?: boolean;
|
|
226
|
+
/** 是否支持全屏 */
|
|
227
|
+
fullscreen?: boolean;
|
|
228
|
+
/** 是否显示遮罩层 */
|
|
229
|
+
showOverlay?: boolean;
|
|
230
|
+
/** 点击遮罩层是否关闭弹窗 */
|
|
231
|
+
closeByOverlay?: boolean;
|
|
232
|
+
/** 是否居中显示 */
|
|
233
|
+
center?: boolean;
|
|
234
|
+
|
|
235
|
+
/** 遮罩层自定义类名 */
|
|
236
|
+
overlayClass?: ClassValue;
|
|
237
|
+
/** 遮罩层自定义样式 */
|
|
238
|
+
overlayStyle?: StyleValue;
|
|
239
|
+
/** 内容主体自定义类名 */
|
|
240
|
+
bodyClass?: ClassValue;
|
|
241
|
+
/** 内容主体自定义样式 */
|
|
242
|
+
bodyStyle?: StyleValue;
|
|
243
|
+
/** 头部自定义类名 */
|
|
244
|
+
headerClass?: ClassValue;
|
|
245
|
+
/** 头部自定义样式 */
|
|
246
|
+
headerStyle?: StyleValue;
|
|
247
|
+
/** 拖拽区域自定义类名 */
|
|
248
|
+
draggableClass?: ClassValue;
|
|
249
|
+
/** 拖拽区域自定义样式 */
|
|
250
|
+
draggableStyle?: StyleValue;
|
|
251
|
+
/** 标题自定义类名 */
|
|
252
|
+
titleClass?: ClassValue;
|
|
253
|
+
/** 标题自定义样式 */
|
|
254
|
+
titleStyle?: StyleValue;
|
|
255
|
+
/** 额外按钮自定义类名 */
|
|
256
|
+
actionClass?: ClassValue;
|
|
257
|
+
/** 额外按钮自定义样式 */
|
|
258
|
+
actionStyle?: StyleValue;
|
|
259
|
+
/** 内容区域自定义类名 */
|
|
260
|
+
contentClass?: ClassValue;
|
|
261
|
+
/** 内容区域自定义样式 */
|
|
262
|
+
contentStyle?: StyleValue;
|
|
263
|
+
/** 底部自定义类名 */
|
|
264
|
+
footerClass?: ClassValue;
|
|
265
|
+
/** 底部自定义样式 */
|
|
266
|
+
footerStyle?: StyleValue;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* StDialog 封装组件插槽
|
|
271
|
+
*/
|
|
272
|
+
export interface StDialogSlots {
|
|
273
|
+
/** 默认插槽(弹窗内容) */
|
|
274
|
+
default?(): unknown;
|
|
275
|
+
/** 标题插槽 */
|
|
276
|
+
title?(): unknown;
|
|
277
|
+
/** 额外内容插槽(头部右侧) */
|
|
278
|
+
action?(): unknown;
|
|
279
|
+
/** 底部插槽 */
|
|
280
|
+
footer?(): unknown;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* StDialog 封装组件事件
|
|
285
|
+
*/
|
|
286
|
+
export interface StDialogEmits {
|
|
287
|
+
/** 弹窗打开事件 */
|
|
288
|
+
open: [];
|
|
289
|
+
/** 弹窗关闭事件 */
|
|
290
|
+
close: [];
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export {};
|