bkui-vue 0.0.1-beta.60 → 0.0.1-beta.63
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/index.cjs.js +30 -30
- package/dist/index.esm.js +1736 -452
- package/dist/index.umd.js +29 -29
- package/dist/style.css +1 -1
- package/lib/affix/affix.css +3 -0
- package/lib/affix/affix.d.ts +47 -0
- package/lib/affix/affix.less +5 -0
- package/lib/affix/affix.variable.css +102 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.variable.css +5 -0
- package/lib/alert/index.js +1 -1
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.variable.css +5 -0
- package/lib/backtop/index.d.ts +4 -4
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/badge.variable.css +5 -0
- package/lib/badge/index.d.ts +4 -4
- package/lib/breadcrumb/breadcrumb.variable.css +5 -0
- package/lib/button/button.css +2 -1
- package/lib/button/button.less +9 -8
- package/lib/button/button.variable.css +7 -1
- package/lib/button/index.js +1 -1
- package/lib/card/card.variable.css +5 -0
- package/lib/cascader/cascader-panel.d.ts +48 -0
- package/lib/cascader/cascader.css +130 -0
- package/lib/cascader/cascader.d.ts +271 -0
- package/lib/cascader/cascader.less +146 -0
- package/lib/cascader/cascader.variable.css +229 -0
- package/lib/cascader/index.d.ts +721 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +44 -0
- package/lib/cascader/node.d.ts +24 -0
- package/lib/cascader/store.d.ts +15 -0
- package/lib/checkbox/checkbox.css +3 -2
- package/lib/checkbox/checkbox.less +3 -2
- package/lib/checkbox/checkbox.variable.css +8 -2
- package/lib/code-diff/code-diff.variable.css +5 -0
- package/lib/code-diff/index.js +1 -1
- package/lib/collapse/collapse.css +17 -1
- package/lib/collapse/collapse.d.ts +11 -14
- package/lib/collapse/collapse.less +24 -2
- package/lib/collapse/collapse.variable.css +116 -1
- package/lib/collapse/index.d.ts +31 -15
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/components.d.ts +12 -9
- package/lib/components.js +1 -1
- package/lib/container/container.variable.css +5 -0
- package/lib/container/index.js +1 -1
- package/lib/date-picker/date-picker.css +1 -0
- package/lib/date-picker/date-picker.d.ts +20 -3
- package/lib/date-picker/date-picker.less +1 -0
- package/lib/date-picker/date-picker.variable.css +6 -0
- package/lib/date-picker/index.d.ts +47 -10
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/props.d.ts +7 -0
- package/lib/dialog/dialog.css +10 -1
- package/lib/dialog/dialog.d.ts +75 -8
- package/lib/dialog/dialog.variable.css +10 -1
- package/lib/dialog/index.d.ts +166 -25
- package/lib/dialog/index.js +1 -1
- package/lib/divider/divider.d.ts +1 -1
- package/lib/divider/divider.variable.css +5 -0
- package/lib/divider/index.d.ts +4 -4
- package/lib/dropdown/dropdown.css +4 -0
- package/lib/dropdown/dropdown.less +5 -0
- package/lib/dropdown/dropdown.variable.css +9 -0
- package/lib/dropdown/index.js +1 -1
- package/lib/exception/exception.variable.css +5 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +17 -3
- package/lib/fixed-navbar/fixed-navbar.variable.css +5 -0
- package/lib/fixed-navbar/index.d.ts +43 -8
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/form-item.d.ts +1 -1
- package/lib/form/form.css +4 -0
- package/lib/form/form.d.ts +5 -2
- package/lib/form/form.less +4 -0
- package/lib/form/form.variable.css +9 -0
- package/lib/form/index.d.ts +19 -8
- package/lib/form/index.js +1 -1
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/del.d.ts +4 -0
- package/lib/icon/del.js +1 -0
- package/lib/icon/doc-fill.d.ts +4 -0
- package/lib/icon/doc-fill.js +1 -0
- package/lib/icon/excel-fill.d.ts +4 -0
- package/lib/icon/excel-fill.js +1 -0
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/index.d.ts +12 -1
- package/lib/icon/index.js +1 -1
- package/lib/icon/pdf-fill.d.ts +4 -0
- package/lib/icon/pdf-fill.js +1 -0
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/upload.d.ts +4 -0
- package/lib/icon/upload.js +1 -0
- package/lib/icon/video-fill.d.ts +4 -0
- package/lib/icon/video-fill.js +1 -0
- package/lib/input/index.d.ts +8 -8
- package/lib/input/input.css +3 -0
- package/lib/input/input.d.ts +2 -2
- package/lib/input/input.less +3 -0
- package/lib/input/input.variable.css +8 -0
- package/lib/link/index.d.ts +4 -4
- package/lib/link/link.d.ts +1 -1
- package/lib/link/link.variable.css +5 -0
- package/lib/loading/loading.variable.css +5 -0
- package/lib/menu/menu.variable.css +5 -0
- package/lib/menu/submenu.variable.css +5 -0
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +4 -4
- package/lib/message/message.less +4 -4
- package/lib/message/message.variable.css +9 -4
- package/lib/modal/index.d.ts +277 -24
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +10 -1
- package/lib/modal/modal.d.ts +108 -9
- package/lib/modal/modal.less +15 -4
- package/lib/modal/modal.variable.css +10 -1
- package/lib/modal/props.mixin.d.ts +47 -3
- package/lib/navigation/index.d.ts +291 -1
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation.variable.css +5 -0
- package/lib/notify/index.js +1 -1
- package/lib/notify/notify.css +17 -1
- package/lib/notify/notify.less +19 -1
- package/lib/notify/notify.variable.css +22 -1
- package/lib/notify/notifyConstructor.d.ts +49 -5
- package/lib/pagination/index.d.ts +4 -4
- package/lib/pagination/pagination.d.ts +1 -1
- package/lib/pagination/pagination.variable.css +5 -0
- package/lib/popover/index.d.ts +57 -11
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +3 -0
- package/lib/popover/popover.d.ts +26 -4
- package/lib/popover/popover.less +2 -0
- package/lib/popover/popover.variable.css +8 -0
- package/lib/popover/props.d.ts +11 -1
- package/lib/process/process.variable.css +5 -0
- package/lib/progress/index.d.ts +7 -7
- package/lib/progress/progress.d.ts +2 -2
- package/lib/progress/progress.variable.css +5 -0
- package/lib/radio/radio.css +6 -6
- package/lib/radio/radio.less +7 -7
- package/lib/radio/radio.variable.css +12 -7
- package/lib/resize-layout/resize-layout.variable.css +5 -0
- package/lib/select/select.variable.css +5 -0
- package/lib/shared/index.d.ts +18 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/mask-manager.d.ts +3 -2
- package/lib/shared/pop-manager.d.ts +3 -2
- package/lib/shared/popover.d.ts +3 -0
- package/lib/sideslider/index.d.ts +227 -33
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.css +48 -3
- package/lib/sideslider/sideslider.d.ts +103 -12
- package/lib/sideslider/sideslider.less +65 -6
- package/lib/sideslider/sideslider.variable.css +53 -3
- package/lib/slider/index.d.ts +414 -1
- package/lib/slider/index.js +1 -1
- package/lib/slider/slider.variable.css +5 -0
- package/lib/steps/steps.variable.css +5 -0
- package/lib/styles/index.d.ts +3 -0
- package/lib/styles/themes/themes.less +7 -0
- package/lib/switcher/switcher.variable.css +5 -0
- package/lib/tab/index.d.ts +6 -6
- package/lib/tab/tab-panel.d.ts +2 -2
- package/lib/tab/tab.d.ts +1 -1
- package/lib/tab/tab.variable.css +5 -0
- package/lib/table/index.d.ts +4 -4
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.variable.css +5 -0
- package/lib/table/plugins/head-sort.variable.css +5 -0
- package/lib/table/plugins/settings.variable.css +5 -0
- package/lib/table/props.d.ts +4 -0
- package/lib/table/render.d.ts +1 -0
- package/lib/table/table.css +55 -2
- package/lib/table/table.d.ts +1 -1
- package/lib/table/table.less +53 -2
- package/lib/table/table.variable.css +60 -2
- package/lib/table/use-common.d.ts +5 -3
- package/lib/table/utils.d.ts +10 -0
- package/lib/tag/index.d.ts +3 -3
- package/lib/tag/tag.d.ts +1 -1
- package/lib/tag/tag.variable.css +5 -0
- package/lib/tag-input/index.d.ts +893 -1
- package/lib/tag-input/index.js +1 -1
- package/lib/tag-input/tag-input.d.ts +1 -1
- package/lib/tag-input/tag-input.variable.css +5 -0
- package/lib/timeline/timeline.variable.css +5 -0
- package/lib/transfer/transfer.variable.css +5 -0
- package/lib/tree/constant.d.ts +22 -0
- package/lib/tree/index.d.ts +54 -8
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +19 -0
- package/lib/tree/tree.css +4 -1
- package/lib/tree/tree.d.ts +23 -4
- package/lib/tree/tree.less +4 -1
- package/lib/tree/tree.variable.css +9 -1
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +2 -1
- package/lib/tree/use-node-attribute.d.ts +2 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/upload/index.d.ts +2 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +113 -0
- package/lib/upload/upload-list.d.ts +46 -0
- package/lib/upload/upload-trigger.d.ts +54 -0
- package/lib/upload/upload.css +374 -0
- package/lib/upload/upload.d.ts +252 -0
- package/lib/upload/upload.less +455 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +473 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/virtual-render/index.d.ts +27 -4
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/props.d.ts +10 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/virtual-render.d.ts +14 -3
- package/package.json +2 -2
@@ -3,18 +3,26 @@ declare const BkSideslider: {
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
4
4
|
$data: {};
|
5
5
|
$props: Partial<{
|
6
|
-
|
6
|
+
title: string;
|
7
7
|
showMask: boolean;
|
8
|
+
width: string | number;
|
9
|
+
height: string | number;
|
10
|
+
draggable: boolean;
|
8
11
|
size: string;
|
12
|
+
extCls: string;
|
9
13
|
direction: string;
|
10
|
-
|
14
|
+
maxHeight: string;
|
11
15
|
isShow: boolean;
|
16
|
+
transfer: boolean;
|
17
|
+
renderDirective: string;
|
12
18
|
customClass: string | unknown[];
|
13
19
|
scrollable: boolean;
|
14
20
|
closeIcon: boolean;
|
15
21
|
escClose: boolean;
|
16
22
|
maskClose: boolean;
|
17
23
|
fullscreen: boolean;
|
24
|
+
quickClose: boolean;
|
25
|
+
animateType: string;
|
18
26
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
19
27
|
direction: {
|
20
28
|
type: StringConstructor;
|
@@ -26,8 +34,20 @@ declare const BkSideslider: {
|
|
26
34
|
} & {
|
27
35
|
default: boolean;
|
28
36
|
};
|
29
|
-
width: import("vue-types").
|
30
|
-
|
37
|
+
width: (import("vue-types").VueTypeValidableDef<number> & {
|
38
|
+
default: number;
|
39
|
+
}) | (import("vue-types").VueTypeValidableDef<string> & {
|
40
|
+
default: string;
|
41
|
+
} & {
|
42
|
+
default: string;
|
43
|
+
});
|
44
|
+
height: (import("vue-types").VueTypeValidableDef<number> & {
|
45
|
+
default: number;
|
46
|
+
}) | (import("vue-types").VueTypeValidableDef<string> & {
|
47
|
+
default: string;
|
48
|
+
} & {
|
49
|
+
default: string;
|
50
|
+
});
|
31
51
|
customClass: (import("vue-types").VueTypeValidableDef<string> & {
|
32
52
|
default: string;
|
33
53
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
@@ -63,6 +83,11 @@ declare const BkSideslider: {
|
|
63
83
|
} & {
|
64
84
|
default: boolean;
|
65
85
|
};
|
86
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
87
|
+
default: string;
|
88
|
+
} & {
|
89
|
+
default: string;
|
90
|
+
};
|
66
91
|
size: import("vue-types").VueTypeDef<string> & {
|
67
92
|
default: string;
|
68
93
|
};
|
@@ -71,13 +96,40 @@ declare const BkSideslider: {
|
|
71
96
|
} & {
|
72
97
|
default: boolean;
|
73
98
|
};
|
74
|
-
|
99
|
+
quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
100
|
+
default: boolean;
|
101
|
+
} & {
|
102
|
+
default: boolean;
|
103
|
+
};
|
104
|
+
transfer: import("vue-types").VueTypeValidableDef<boolean> & {
|
105
|
+
default: boolean;
|
106
|
+
} & {
|
107
|
+
default: boolean;
|
108
|
+
};
|
109
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
110
|
+
default: string;
|
111
|
+
} & {
|
112
|
+
default: string;
|
113
|
+
};
|
114
|
+
maxHeight: import("vue-types").VueTypeValidableDef<string> & {
|
75
115
|
default: string;
|
76
116
|
};
|
117
|
+
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
118
|
+
default: string;
|
119
|
+
} & {
|
120
|
+
default: string;
|
121
|
+
};
|
122
|
+
renderDirective: import("vue-types").VueTypeDef<string> & {
|
123
|
+
default: string;
|
124
|
+
};
|
125
|
+
beforeClose: import("vue-types").VueTypeDef<unknown>;
|
77
126
|
}>> & {
|
78
|
-
onClosed?: (...args: any[]) => any;
|
79
127
|
"onUpdate:isShow"?: (...args: any[]) => any;
|
80
|
-
|
128
|
+
onClosed?: (...args: any[]) => any;
|
129
|
+
onHidden?: (...args: any[]) => any;
|
130
|
+
onShown?: (...args: any[]) => any;
|
131
|
+
"onAnimation-end"?: (...args: any[]) => any;
|
132
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "showMask" | "width" | "height" | "draggable" | "size" | "extCls" | "direction" | "maxHeight" | "isShow" | "transfer" | "renderDirective" | "customClass" | "scrollable" | "closeIcon" | "escClose" | "maskClose" | "fullscreen" | "quickClose" | "animateType">;
|
81
133
|
$attrs: {
|
82
134
|
[x: string]: unknown;
|
83
135
|
};
|
@@ -89,7 +141,7 @@ declare const BkSideslider: {
|
|
89
141
|
}>;
|
90
142
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
91
143
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
92
|
-
$emit: (event: "
|
144
|
+
$emit: (event: "hidden" | "update:isShow" | "shown" | "closed" | "animation-end", ...args: any[]) => void;
|
93
145
|
$el: any;
|
94
146
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
95
147
|
direction: {
|
@@ -102,8 +154,20 @@ declare const BkSideslider: {
|
|
102
154
|
} & {
|
103
155
|
default: boolean;
|
104
156
|
};
|
105
|
-
width: import("vue-types").
|
106
|
-
|
157
|
+
width: (import("vue-types").VueTypeValidableDef<number> & {
|
158
|
+
default: number;
|
159
|
+
}) | (import("vue-types").VueTypeValidableDef<string> & {
|
160
|
+
default: string;
|
161
|
+
} & {
|
162
|
+
default: string;
|
163
|
+
});
|
164
|
+
height: (import("vue-types").VueTypeValidableDef<number> & {
|
165
|
+
default: number;
|
166
|
+
}) | (import("vue-types").VueTypeValidableDef<string> & {
|
167
|
+
default: string;
|
168
|
+
} & {
|
169
|
+
default: string;
|
170
|
+
});
|
107
171
|
customClass: (import("vue-types").VueTypeValidableDef<string> & {
|
108
172
|
default: string;
|
109
173
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
@@ -139,6 +203,11 @@ declare const BkSideslider: {
|
|
139
203
|
} & {
|
140
204
|
default: boolean;
|
141
205
|
};
|
206
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
207
|
+
default: string;
|
208
|
+
} & {
|
209
|
+
default: string;
|
210
|
+
};
|
142
211
|
size: import("vue-types").VueTypeDef<string> & {
|
143
212
|
default: string;
|
144
213
|
};
|
@@ -147,27 +216,60 @@ declare const BkSideslider: {
|
|
147
216
|
} & {
|
148
217
|
default: boolean;
|
149
218
|
};
|
150
|
-
|
219
|
+
quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
220
|
+
default: boolean;
|
221
|
+
} & {
|
222
|
+
default: boolean;
|
223
|
+
};
|
224
|
+
transfer: import("vue-types").VueTypeValidableDef<boolean> & {
|
225
|
+
default: boolean;
|
226
|
+
} & {
|
227
|
+
default: boolean;
|
228
|
+
};
|
229
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
230
|
+
default: string;
|
231
|
+
} & {
|
232
|
+
default: string;
|
233
|
+
};
|
234
|
+
maxHeight: import("vue-types").VueTypeValidableDef<string> & {
|
235
|
+
default: string;
|
236
|
+
};
|
237
|
+
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
238
|
+
default: string;
|
239
|
+
} & {
|
240
|
+
default: string;
|
241
|
+
};
|
242
|
+
renderDirective: import("vue-types").VueTypeDef<string> & {
|
151
243
|
default: string;
|
152
244
|
};
|
245
|
+
beforeClose: import("vue-types").VueTypeDef<unknown>;
|
153
246
|
}>> & {
|
154
|
-
onClosed?: (...args: any[]) => any;
|
155
247
|
"onUpdate:isShow"?: (...args: any[]) => any;
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
248
|
+
onClosed?: (...args: any[]) => any;
|
249
|
+
onHidden?: (...args: any[]) => any;
|
250
|
+
onShown?: (...args: any[]) => any;
|
251
|
+
"onAnimation-end"?: (...args: any[]) => any;
|
252
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "update:isShow" | "shown" | "closed" | "animation-end")[], string, {
|
253
|
+
title: string;
|
160
254
|
showMask: boolean;
|
255
|
+
width: string | number;
|
256
|
+
height: string | number;
|
257
|
+
draggable: boolean;
|
161
258
|
size: string;
|
259
|
+
extCls: string;
|
162
260
|
direction: string;
|
163
|
-
|
261
|
+
maxHeight: string;
|
164
262
|
isShow: boolean;
|
263
|
+
transfer: boolean;
|
264
|
+
renderDirective: string;
|
165
265
|
customClass: string | unknown[];
|
166
266
|
scrollable: boolean;
|
167
267
|
closeIcon: boolean;
|
168
268
|
escClose: boolean;
|
169
269
|
maskClose: boolean;
|
170
270
|
fullscreen: boolean;
|
271
|
+
quickClose: boolean;
|
272
|
+
animateType: string;
|
171
273
|
}> & {
|
172
274
|
beforeCreate?: (() => void) | (() => void)[];
|
173
275
|
created?: (() => void) | (() => void)[];
|
@@ -199,8 +301,20 @@ declare const BkSideslider: {
|
|
199
301
|
} & {
|
200
302
|
default: boolean;
|
201
303
|
};
|
202
|
-
width: import("vue-types").
|
203
|
-
|
304
|
+
width: (import("vue-types").VueTypeValidableDef<number> & {
|
305
|
+
default: number;
|
306
|
+
}) | (import("vue-types").VueTypeValidableDef<string> & {
|
307
|
+
default: string;
|
308
|
+
} & {
|
309
|
+
default: string;
|
310
|
+
});
|
311
|
+
height: (import("vue-types").VueTypeValidableDef<number> & {
|
312
|
+
default: number;
|
313
|
+
}) | (import("vue-types").VueTypeValidableDef<string> & {
|
314
|
+
default: string;
|
315
|
+
} & {
|
316
|
+
default: string;
|
317
|
+
});
|
204
318
|
customClass: (import("vue-types").VueTypeValidableDef<string> & {
|
205
319
|
default: string;
|
206
320
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
@@ -236,6 +350,11 @@ declare const BkSideslider: {
|
|
236
350
|
} & {
|
237
351
|
default: boolean;
|
238
352
|
};
|
353
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
354
|
+
default: string;
|
355
|
+
} & {
|
356
|
+
default: string;
|
357
|
+
};
|
239
358
|
size: import("vue-types").VueTypeDef<string> & {
|
240
359
|
default: string;
|
241
360
|
};
|
@@ -244,15 +363,40 @@ declare const BkSideslider: {
|
|
244
363
|
} & {
|
245
364
|
default: boolean;
|
246
365
|
};
|
247
|
-
|
366
|
+
quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
367
|
+
default: boolean;
|
368
|
+
} & {
|
369
|
+
default: boolean;
|
370
|
+
};
|
371
|
+
transfer: import("vue-types").VueTypeValidableDef<boolean> & {
|
372
|
+
default: boolean;
|
373
|
+
} & {
|
374
|
+
default: boolean;
|
375
|
+
};
|
376
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
377
|
+
default: string;
|
378
|
+
} & {
|
379
|
+
default: string;
|
380
|
+
};
|
381
|
+
maxHeight: import("vue-types").VueTypeValidableDef<string> & {
|
248
382
|
default: string;
|
249
383
|
};
|
384
|
+
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
385
|
+
default: string;
|
386
|
+
} & {
|
387
|
+
default: string;
|
388
|
+
};
|
389
|
+
renderDirective: import("vue-types").VueTypeDef<string> & {
|
390
|
+
default: string;
|
391
|
+
};
|
392
|
+
beforeClose: import("vue-types").VueTypeDef<unknown>;
|
250
393
|
}>> & {
|
251
|
-
onClosed?: (...args: any[]) => any;
|
252
394
|
"onUpdate:isShow"?: (...args: any[]) => any;
|
253
|
-
|
254
|
-
|
255
|
-
|
395
|
+
onClosed?: (...args: any[]) => any;
|
396
|
+
onHidden?: (...args: any[]) => any;
|
397
|
+
onShown?: (...args: any[]) => any;
|
398
|
+
"onAnimation-end"?: (...args: any[]) => any;
|
399
|
+
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
256
400
|
__isFragment?: never;
|
257
401
|
__isTeleport?: never;
|
258
402
|
__isSuspense?: never;
|
@@ -267,8 +411,20 @@ declare const BkSideslider: {
|
|
267
411
|
} & {
|
268
412
|
default: boolean;
|
269
413
|
};
|
270
|
-
width: import("vue-types").
|
271
|
-
|
414
|
+
width: (import("vue-types").VueTypeValidableDef<number> & {
|
415
|
+
default: number;
|
416
|
+
}) | (import("vue-types").VueTypeValidableDef<string> & {
|
417
|
+
default: string;
|
418
|
+
} & {
|
419
|
+
default: string;
|
420
|
+
});
|
421
|
+
height: (import("vue-types").VueTypeValidableDef<number> & {
|
422
|
+
default: number;
|
423
|
+
}) | (import("vue-types").VueTypeValidableDef<string> & {
|
424
|
+
default: string;
|
425
|
+
} & {
|
426
|
+
default: string;
|
427
|
+
});
|
272
428
|
customClass: (import("vue-types").VueTypeValidableDef<string> & {
|
273
429
|
default: string;
|
274
430
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
@@ -304,6 +460,11 @@ declare const BkSideslider: {
|
|
304
460
|
} & {
|
305
461
|
default: boolean;
|
306
462
|
};
|
463
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
464
|
+
default: string;
|
465
|
+
} & {
|
466
|
+
default: string;
|
467
|
+
};
|
307
468
|
size: import("vue-types").VueTypeDef<string> & {
|
308
469
|
default: string;
|
309
470
|
};
|
@@ -312,26 +473,59 @@ declare const BkSideslider: {
|
|
312
473
|
} & {
|
313
474
|
default: boolean;
|
314
475
|
};
|
315
|
-
|
476
|
+
quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
477
|
+
default: boolean;
|
478
|
+
} & {
|
479
|
+
default: boolean;
|
480
|
+
};
|
481
|
+
transfer: import("vue-types").VueTypeValidableDef<boolean> & {
|
482
|
+
default: boolean;
|
483
|
+
} & {
|
484
|
+
default: boolean;
|
485
|
+
};
|
486
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
487
|
+
default: string;
|
488
|
+
} & {
|
489
|
+
default: string;
|
490
|
+
};
|
491
|
+
maxHeight: import("vue-types").VueTypeValidableDef<string> & {
|
492
|
+
default: string;
|
493
|
+
};
|
494
|
+
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
495
|
+
default: string;
|
496
|
+
} & {
|
497
|
+
default: string;
|
498
|
+
};
|
499
|
+
renderDirective: import("vue-types").VueTypeDef<string> & {
|
316
500
|
default: string;
|
317
501
|
};
|
502
|
+
beforeClose: import("vue-types").VueTypeDef<unknown>;
|
318
503
|
}>> & {
|
319
|
-
onClosed?: (...args: any[]) => any;
|
320
504
|
"onUpdate:isShow"?: (...args: any[]) => any;
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
505
|
+
onClosed?: (...args: any[]) => any;
|
506
|
+
onHidden?: (...args: any[]) => any;
|
507
|
+
onShown?: (...args: any[]) => any;
|
508
|
+
"onAnimation-end"?: (...args: any[]) => any;
|
509
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "update:isShow" | "shown" | "closed" | "animation-end")[], "hidden" | "update:isShow" | "shown" | "closed" | "animation-end", {
|
510
|
+
title: string;
|
325
511
|
showMask: boolean;
|
512
|
+
width: string | number;
|
513
|
+
height: string | number;
|
514
|
+
draggable: boolean;
|
326
515
|
size: string;
|
516
|
+
extCls: string;
|
327
517
|
direction: string;
|
328
|
-
|
518
|
+
maxHeight: string;
|
329
519
|
isShow: boolean;
|
520
|
+
transfer: boolean;
|
521
|
+
renderDirective: string;
|
330
522
|
customClass: string | unknown[];
|
331
523
|
scrollable: boolean;
|
332
524
|
closeIcon: boolean;
|
333
525
|
escClose: boolean;
|
334
526
|
maskClose: boolean;
|
335
527
|
fullscreen: boolean;
|
528
|
+
quickClose: boolean;
|
529
|
+
animateType: string;
|
336
530
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
337
531
|
export default BkSideslider;
|
package/lib/sideslider/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../button"),require("../modal"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../button","../modal"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue"),require("../button"),require("../modal")):t(e["../shared"],e.vue,e["../button"],e["../modal"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o,r)=>(()=>{"use strict";var i={4976:e=>{e.exports=o},8014:e=>{e.exports=r},4212:t=>{t.exports=e},748:e=>{e.exports=t}},n={};function s(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return i[e](o,o.exports,s),o.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var d={};return(()=>{s.r(d),s.d(d,{default:()=>u});var e=s(4212),t=s(748),o=s(4976),r=s.n(o),i=s(8014),n=s.n(i),l=n().propsMixin,a=Object.assign({},l);a.width.default="400",a.height.default="100%";const c=(0,t.defineComponent)({name:"Sideslider",components:{BkModal:n(),BkButton:r()},props:Object.assign(Object.assign({},a),{direction:{type:String,default:"right",validator:function(e){var t=["left","right"];return!(t.indexOf(e)<0&&(console.error("direction property is not valid: '".concat(e,"',【").concat(t.join(" | "),"】")),1))}}}),emits:["closed","update:isShow"],methods:{handleClose:function(){this.$emit("update:isShow",!1),this.$emit("closed")}},render:function(){var e,o=this,r={header:function(){var e,r,i;return[(0,t.createVNode)("div",{class:"bk-sideslider-header"},[(0,t.createVNode)("span",{class:"bk-sideslider-close ".concat(o.direction),onClick:o.handleClose},null),(0,t.createVNode)("span",{class:"bk-sideslider-title ".concat(o.direction)},[null!==(i=null===(r=(e=o.$slots).header)||void 0===r?void 0:r.call(e))&&void 0!==i?i:"Header"])])]},default:function(){var e,t,r;return null!==(r=null===(t=(e=o.$slots).default)||void 0===t?void 0:t.call(e))&&void 0!==r?r:"Content"},footer:function(){return(0,t.createVNode)("div",{class:"bk-sideslider-footer"},null)}},i="bk-sideslider-wrapper ".concat(this.scrollable?"scroll-able":"");return(0,t.createVNode)(n(),(0,t.mergeProps)(this.$props,{class:i,style:"".concat(this.direction,": 0")}),"function"==typeof(e=r)||"[object Object]"===Object.prototype.toString.call(e)&&!(0,t.isVNode)(e)?r:{default:function(){return[r]}})}}),u=(0,e.withInstall)(c)})(),d})()));
|
1
|
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("../shared"),require("vue"),require("../button"),require("../modal"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../button","../modal"],e);else{var r="object"==typeof exports?e(require("../shared"),require("vue"),require("../button"),require("../modal")):e(t["../shared"],t.vue,t["../button"],t["../modal"]);for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(self,((t,e,r,n)=>(()=>{var o={7162:(t,e,r)=>{t.exports=r(5047)},5047:t=>{var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=function(t,e,r){var n=f;return function(o,i){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var u=l(t,e,r);if("normal"===u.type){if(n=r.done?p:h,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={};function y(){}function g(){}function m(){}var b={};u(b,i,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(N([])));x&&x!==r&&n.call(x,i)&&(b=x);var j=m.prototype=y.prototype=Object.create(b);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function E(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function N(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:P}}function P(){return{value:e,done:!0}}return g.prototype=m,u(j,"constructor",m),u(m,"constructor",g),g.displayName=u(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,u(t,c,"GeneratorFunction")),t.prototype=Object.create(j),t},t.awrap=function(t){return{__await:t}},L(O.prototype),u(O.prototype,a,(function(){return this})),t.AsyncIterator=O,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new O(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},L(j),u(j,c,"Generator"),u(j,i,(function(){return this})),u(j,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=N,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},4976:t=>{"use strict";t.exports=r},8014:t=>{"use strict";t.exports=n},4212:e=>{"use strict";e.exports=t},748:t=>{"use strict";t.exports=e}},i={};function a(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={exports:{}};return o[t](r,r.exports,a),r.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var c={};return(()=>{"use strict";a.r(c),a.d(c,{default:()=>d});var t=a(4212),e=a(748),r=a(7162),n=a.n(r);Object.create,Object.create;var o=a(4976),i=a.n(o),u=a(8014),s=a.n(u),l=s().propsMixin,f=Object.assign({},l);f.width.default="400",f.height.default="100%";const h=(0,e.defineComponent)({name:"Sideslider",components:{BkModal:s(),BkButton:i()},props:Object.assign(Object.assign({},f),{direction:{type:String,default:"right",validator:function(t){var e=["left","right"];return!(e.indexOf(t)<0&&(console.error("direction property is not valid: '".concat(t,"',【").concat(e.join(" | "),"】")),1))}}}),emits:["closed","update:isShow","shown","hidden","animation-end"],setup:function(t,r){var o=this,i=r.slots,a=r.emit,c=function(){return e=o,r=void 0,i=void 0,c=n().mark((function e(){var r;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=!0,"function"!=typeof t.beforeClose){e.next=5;break}return e.next=4,t.beforeClose();case 4:r=e.sent;case 5:r&&(a("update:isShow",!1),a("closed"),setTimeout((function(){a("animation-end")}),250));case 6:case"end":return e.stop()}}),e)})),new(i||(i=Promise))((function(t,n){function o(t){try{u(c.next(t))}catch(t){n(t)}}function a(t){try{u(c.throw(t))}catch(t){n(t)}}function u(e){var r;e.done?t(e.value):(r=e.value,r instanceof i?r:new i((function(t){t(r)}))).then(o,a)}u((c=c.apply(e,r||[])).next())}));var e,r,i,c},u=function(){setTimeout((function(){a("shown")}),200)},l=function(){setTimeout((function(){a("hidden")}),200)};return function(){var r,n={header:function(){var r,n;return(0,e.createVNode)(e.Fragment,null,[(0,e.createVNode)("div",{class:"bk-sideslider-header"},[(0,e.createVNode)("div",{class:"bk-sideslider-close ".concat(t.direction),onClick:function(){c()}},null),(0,e.createVNode)("div",{class:"bk-sideslider-title ".concat(t.direction)},[null!==(n=null===(r=i.header)||void 0===r?void 0:r.call(i))&&void 0!==n?n:t.title])])])},default:function(){var t,e;return null!==(e=null===(t=i.default)||void 0===t?void 0:t.call(i))&&void 0!==e?e:"Content"},footer:function(){var t,r;return(0,e.createVNode)("div",{class:"bk-sideslider-footer"},[null!==(r=null===(t=i.footer)||void 0===t?void 0:t.call(i))&&void 0!==r?r:""])}},o="bk-sideslider-wrapper ".concat(t.scrollable?"scroll-able":""," ").concat(t.extCls),a=i.footer?"calc(100vh - 114px)":"calc(100vh - 60px)";return(0,e.createVNode)(s(),(0,e.mergeProps)(t,{maxHeight:a,class:o,style:"".concat(t.direction,": 0;"),onHidden:l,onShown:u,onClose:c}),"function"==typeof(r=n)||"[object Object]"===Object.prototype.toString.call(r)&&!(0,e.isVNode)(r)?n:{default:function(){return[n]}})}}}),d=(0,t.withInstall)(h)})(),c})()));
|
@@ -1,11 +1,48 @@
|
|
1
|
-
.bk-
|
1
|
+
.bk-sideslider {
|
2
2
|
position: fixed;
|
3
3
|
top: 0;
|
4
|
+
right: 0;
|
5
|
+
bottom: 0;
|
6
|
+
left: 0;
|
7
|
+
}
|
8
|
+
/* fade-center */
|
9
|
+
/* slide过渡动画 */
|
10
|
+
.slide-enter-active,
|
11
|
+
.slide-leave-active,
|
12
|
+
.bk-modal-body {
|
13
|
+
transform: translateX(0);
|
14
|
+
transition: transform 0.25s;
|
15
|
+
}
|
16
|
+
.slide-enter-active {
|
17
|
+
animation: slider-fade-in 0.25s;
|
18
|
+
}
|
19
|
+
.slide-leave-active {
|
20
|
+
animation: slider-fade-in 0.25s reverse;
|
21
|
+
}
|
22
|
+
.slide-enter-from.left,
|
23
|
+
.slide-leave-to.left {
|
24
|
+
transform: translateX(-100%);
|
25
|
+
transition: transform 0.25s;
|
26
|
+
}
|
27
|
+
.slide-enter-from.right,
|
28
|
+
.slide-leave-to.right {
|
29
|
+
transform: translateX(100%);
|
30
|
+
transition: transform 0.25s;
|
31
|
+
}
|
32
|
+
@keyframes slider-fade-in {
|
33
|
+
0% {
|
34
|
+
opacity: 0;
|
35
|
+
}
|
36
|
+
100% {
|
37
|
+
opacity: 1;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
.bk-modal-wrapper.bk-sideslider-wrapper {
|
41
|
+
position: absolute;
|
42
|
+
top: 0;
|
4
43
|
bottom: 0;
|
5
44
|
left: auto;
|
6
|
-
background: #fff;
|
7
45
|
transform: initial;
|
8
|
-
box-shadow: -5px 0 8px -5px rgba(0, 0, 0, 0.2);
|
9
46
|
}
|
10
47
|
.bk-modal-wrapper.bk-sideslider-wrapper.scroll-able .bk-modal-content {
|
11
48
|
overflow: auto;
|
@@ -67,3 +104,11 @@
|
|
67
104
|
.bk-modal-wrapper.bk-sideslider-wrapper .bk-sideslider-header .bk-sideslider-title.right {
|
68
105
|
padding: 0px 0px 0px 50px;
|
69
106
|
}
|
107
|
+
.bk-modal-wrapper.bk-sideslider-wrapper .bk-sideslider-footer {
|
108
|
+
display: flex;
|
109
|
+
width: 100%;
|
110
|
+
height: 54px;
|
111
|
+
background: #fff;
|
112
|
+
border-top: 1px solid transparent;
|
113
|
+
align-items: center;
|
114
|
+
}
|
@@ -9,8 +9,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
9
9
|
} & {
|
10
10
|
default: boolean;
|
11
11
|
};
|
12
|
-
width: import("vue-types").
|
13
|
-
|
12
|
+
width: (import("vue-types").VueTypeValidableDef<number> & {
|
13
|
+
default: number;
|
14
|
+
}) | (import("vue-types").VueTypeValidableDef<string> & {
|
15
|
+
default: string;
|
16
|
+
} & {
|
17
|
+
default: string;
|
18
|
+
});
|
19
|
+
height: (import("vue-types").VueTypeValidableDef<number> & {
|
20
|
+
default: number;
|
21
|
+
}) | (import("vue-types").VueTypeValidableDef<string> & {
|
22
|
+
default: string;
|
23
|
+
} & {
|
24
|
+
default: string;
|
25
|
+
});
|
14
26
|
customClass: (import("vue-types").VueTypeValidableDef<string> & {
|
15
27
|
default: string;
|
16
28
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
@@ -46,6 +58,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
46
58
|
} & {
|
47
59
|
default: boolean;
|
48
60
|
};
|
61
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
62
|
+
default: string;
|
63
|
+
} & {
|
64
|
+
default: string;
|
65
|
+
};
|
49
66
|
size: import("vue-types").VueTypeDef<string> & {
|
50
67
|
default: string;
|
51
68
|
};
|
@@ -54,12 +71,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
54
71
|
} & {
|
55
72
|
default: boolean;
|
56
73
|
};
|
57
|
-
|
74
|
+
quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
75
|
+
default: boolean;
|
76
|
+
} & {
|
77
|
+
default: boolean;
|
78
|
+
};
|
79
|
+
transfer: import("vue-types").VueTypeValidableDef<boolean> & {
|
80
|
+
default: boolean;
|
81
|
+
} & {
|
82
|
+
default: boolean;
|
83
|
+
};
|
84
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
85
|
+
default: string;
|
86
|
+
} & {
|
87
|
+
default: string;
|
88
|
+
};
|
89
|
+
maxHeight: import("vue-types").VueTypeValidableDef<string> & {
|
58
90
|
default: string;
|
59
91
|
};
|
60
|
-
|
61
|
-
|
62
|
-
}
|
92
|
+
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
93
|
+
default: string;
|
94
|
+
} & {
|
95
|
+
default: string;
|
96
|
+
};
|
97
|
+
renderDirective: import("vue-types").VueTypeDef<string> & {
|
98
|
+
default: string;
|
99
|
+
};
|
100
|
+
beforeClose: import("vue-types").VueTypeDef<unknown>;
|
101
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "update:isShow" | "shown" | "closed" | "animation-end")[], "hidden" | "update:isShow" | "shown" | "closed" | "animation-end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
63
102
|
direction: {
|
64
103
|
type: StringConstructor;
|
65
104
|
default: string;
|
@@ -70,8 +109,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
70
109
|
} & {
|
71
110
|
default: boolean;
|
72
111
|
};
|
73
|
-
width: import("vue-types").
|
74
|
-
|
112
|
+
width: (import("vue-types").VueTypeValidableDef<number> & {
|
113
|
+
default: number;
|
114
|
+
}) | (import("vue-types").VueTypeValidableDef<string> & {
|
115
|
+
default: string;
|
116
|
+
} & {
|
117
|
+
default: string;
|
118
|
+
});
|
119
|
+
height: (import("vue-types").VueTypeValidableDef<number> & {
|
120
|
+
default: number;
|
121
|
+
}) | (import("vue-types").VueTypeValidableDef<string> & {
|
122
|
+
default: string;
|
123
|
+
} & {
|
124
|
+
default: string;
|
125
|
+
});
|
75
126
|
customClass: (import("vue-types").VueTypeValidableDef<string> & {
|
76
127
|
default: string;
|
77
128
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
@@ -107,6 +158,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
107
158
|
} & {
|
108
159
|
default: boolean;
|
109
160
|
};
|
161
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
162
|
+
default: string;
|
163
|
+
} & {
|
164
|
+
default: string;
|
165
|
+
};
|
110
166
|
size: import("vue-types").VueTypeDef<string> & {
|
111
167
|
default: string;
|
112
168
|
};
|
@@ -115,24 +171,59 @@ declare const _default: import("vue").DefineComponent<{
|
|
115
171
|
} & {
|
116
172
|
default: boolean;
|
117
173
|
};
|
118
|
-
|
174
|
+
quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
175
|
+
default: boolean;
|
176
|
+
} & {
|
177
|
+
default: boolean;
|
178
|
+
};
|
179
|
+
transfer: import("vue-types").VueTypeValidableDef<boolean> & {
|
180
|
+
default: boolean;
|
181
|
+
} & {
|
182
|
+
default: boolean;
|
183
|
+
};
|
184
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
185
|
+
default: string;
|
186
|
+
} & {
|
187
|
+
default: string;
|
188
|
+
};
|
189
|
+
maxHeight: import("vue-types").VueTypeValidableDef<string> & {
|
190
|
+
default: string;
|
191
|
+
};
|
192
|
+
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
193
|
+
default: string;
|
194
|
+
} & {
|
195
|
+
default: string;
|
196
|
+
};
|
197
|
+
renderDirective: import("vue-types").VueTypeDef<string> & {
|
119
198
|
default: string;
|
120
199
|
};
|
200
|
+
beforeClose: import("vue-types").VueTypeDef<unknown>;
|
121
201
|
}>> & {
|
122
|
-
onClosed?: (...args: any[]) => any;
|
123
202
|
"onUpdate:isShow"?: (...args: any[]) => any;
|
203
|
+
onClosed?: (...args: any[]) => any;
|
204
|
+
onHidden?: (...args: any[]) => any;
|
205
|
+
onShown?: (...args: any[]) => any;
|
206
|
+
"onAnimation-end"?: (...args: any[]) => any;
|
124
207
|
}, {
|
125
|
-
|
208
|
+
title: string;
|
126
209
|
showMask: boolean;
|
210
|
+
width: string | number;
|
211
|
+
height: string | number;
|
212
|
+
draggable: boolean;
|
127
213
|
size: string;
|
214
|
+
extCls: string;
|
128
215
|
direction: string;
|
129
|
-
|
216
|
+
maxHeight: string;
|
130
217
|
isShow: boolean;
|
218
|
+
transfer: boolean;
|
219
|
+
renderDirective: string;
|
131
220
|
customClass: string | unknown[];
|
132
221
|
scrollable: boolean;
|
133
222
|
closeIcon: boolean;
|
134
223
|
escClose: boolean;
|
135
224
|
maskClose: boolean;
|
136
225
|
fullscreen: boolean;
|
226
|
+
quickClose: boolean;
|
227
|
+
animateType: string;
|
137
228
|
}>;
|
138
229
|
export default _default;
|