@opentiny/vue-drawer 3.17.0 → 3.17.1
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/lib/index.js +1 -1
- package/lib/pc.js +1 -1
- package/package.json +1 -1
- package/src/index.d.ts +8 -8
- package/src/mobile-first.vue.d.ts +14 -14
- package/src/pc.vue.d.ts +21 -20
package/lib/index.js
CHANGED
package/lib/pc.js
CHANGED
|
@@ -62,7 +62,7 @@ var _sfc_main = defineComponent({
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
props: [].concat(props, ["visible", "title", "showHeader", "showFooter", "customClass", "placement", "width", "mask", "dragable", "maskClosable", "lockScroll", "flex", "showClose", "zIndex", "beforeClose", "tipsProps", "customSlots"]),
|
|
65
|
-
emits: ["update:visible", "open", "close", "confirm"],
|
|
65
|
+
emits: ["update:visible", "open", "close", "confirm", "drag"],
|
|
66
66
|
setup: function setup$1(props2, context) {
|
|
67
67
|
return setup({
|
|
68
68
|
props: props2,
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const drawerProps: {
|
|
|
14
14
|
type: BooleanConstructor;
|
|
15
15
|
default: boolean;
|
|
16
16
|
};
|
|
17
|
-
customClass: (
|
|
17
|
+
customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
18
18
|
placement: {
|
|
19
19
|
type: StringConstructor;
|
|
20
20
|
default: string;
|
|
@@ -78,7 +78,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
78
78
|
type: BooleanConstructor;
|
|
79
79
|
default: boolean;
|
|
80
80
|
};
|
|
81
|
-
customClass: (
|
|
81
|
+
customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
82
82
|
placement: {
|
|
83
83
|
type: StringConstructor;
|
|
84
84
|
default: string;
|
|
@@ -143,7 +143,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
143
143
|
type: BooleanConstructor;
|
|
144
144
|
default: boolean;
|
|
145
145
|
};
|
|
146
|
-
customClass: (
|
|
146
|
+
customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
147
147
|
placement: {
|
|
148
148
|
type: StringConstructor;
|
|
149
149
|
default: string;
|
|
@@ -195,18 +195,18 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
195
195
|
tiny_theme: StringConstructor;
|
|
196
196
|
tiny_chart_theme: ObjectConstructor;
|
|
197
197
|
}>>, {
|
|
198
|
+
mask: boolean;
|
|
199
|
+
placement: string;
|
|
198
200
|
tiny_mode_root: boolean;
|
|
199
201
|
_constants: Record<string, any>;
|
|
200
|
-
placement: string;
|
|
201
|
-
zIndex: number;
|
|
202
|
-
mask: boolean;
|
|
203
202
|
visible: boolean;
|
|
204
|
-
showClose: boolean;
|
|
205
203
|
showHeader: boolean;
|
|
206
204
|
showFooter: boolean;
|
|
207
|
-
maskClosable: boolean;
|
|
208
205
|
dragable: boolean;
|
|
206
|
+
maskClosable: boolean;
|
|
209
207
|
lockScroll: boolean;
|
|
210
208
|
flex: boolean;
|
|
209
|
+
zIndex: number;
|
|
210
|
+
showClose: boolean;
|
|
211
211
|
}, {}>;
|
|
212
212
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
|
+
mask?: any;
|
|
3
|
+
placement?: any;
|
|
2
4
|
title?: any;
|
|
3
5
|
tiny_mode?: any;
|
|
4
6
|
tiny_mode_root?: any;
|
|
@@ -8,14 +10,12 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
8
10
|
tiny_theme?: any;
|
|
9
11
|
tiny_chart_theme?: any;
|
|
10
12
|
width?: any;
|
|
11
|
-
placement?: any;
|
|
12
|
-
mask?: any;
|
|
13
|
-
visible?: any;
|
|
14
13
|
customClass?: any;
|
|
14
|
+
visible?: any;
|
|
15
15
|
showHeader?: any;
|
|
16
16
|
showFooter?: any;
|
|
17
|
-
maskClosable?: any;
|
|
18
17
|
dragable?: any;
|
|
18
|
+
maskClosable?: any;
|
|
19
19
|
lockScroll?: any;
|
|
20
20
|
flex?: any;
|
|
21
21
|
beforeClose?: any;
|
|
@@ -27,7 +27,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
27
27
|
d: (props: any) => void;
|
|
28
28
|
dp: (props: any) => void;
|
|
29
29
|
gcls: (key: any) => any;
|
|
30
|
-
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "confirm" | "
|
|
30
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "confirm" | "open" | "update:visible")[], "close" | "confirm" | "open" | "update:visible", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
31
|
+
mask?: any;
|
|
32
|
+
placement?: any;
|
|
31
33
|
title?: any;
|
|
32
34
|
tiny_mode?: any;
|
|
33
35
|
tiny_mode_root?: any;
|
|
@@ -37,23 +39,23 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
37
39
|
tiny_theme?: any;
|
|
38
40
|
tiny_chart_theme?: any;
|
|
39
41
|
width?: any;
|
|
40
|
-
placement?: any;
|
|
41
|
-
mask?: any;
|
|
42
|
-
visible?: any;
|
|
43
42
|
customClass?: any;
|
|
43
|
+
visible?: any;
|
|
44
44
|
showHeader?: any;
|
|
45
45
|
showFooter?: any;
|
|
46
|
-
maskClosable?: any;
|
|
47
46
|
dragable?: any;
|
|
47
|
+
maskClosable?: any;
|
|
48
48
|
lockScroll?: any;
|
|
49
49
|
flex?: any;
|
|
50
50
|
beforeClose?: any;
|
|
51
51
|
}>>> & {
|
|
52
52
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
53
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
54
53
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
55
54
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
56
56
|
}, {
|
|
57
|
+
readonly mask?: any;
|
|
58
|
+
readonly placement?: any;
|
|
57
59
|
readonly title?: any;
|
|
58
60
|
readonly tiny_mode?: any;
|
|
59
61
|
readonly tiny_mode_root?: any;
|
|
@@ -63,14 +65,12 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
63
65
|
readonly tiny_theme?: any;
|
|
64
66
|
readonly tiny_chart_theme?: any;
|
|
65
67
|
readonly width?: any;
|
|
66
|
-
readonly placement?: any;
|
|
67
|
-
readonly mask?: any;
|
|
68
|
-
readonly visible?: any;
|
|
69
68
|
readonly customClass?: any;
|
|
69
|
+
readonly visible?: any;
|
|
70
70
|
readonly showHeader?: any;
|
|
71
71
|
readonly showFooter?: any;
|
|
72
|
-
readonly maskClosable?: any;
|
|
73
72
|
readonly dragable?: any;
|
|
73
|
+
readonly maskClosable?: any;
|
|
74
74
|
readonly lockScroll?: any;
|
|
75
75
|
readonly flex?: any;
|
|
76
76
|
readonly beforeClose?: any;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
|
+
mask?: any;
|
|
3
|
+
placement?: any;
|
|
2
4
|
title?: any;
|
|
3
5
|
tiny_mode?: any;
|
|
4
6
|
tiny_mode_root?: any;
|
|
@@ -8,19 +10,17 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
8
10
|
tiny_theme?: any;
|
|
9
11
|
tiny_chart_theme?: any;
|
|
10
12
|
width?: any;
|
|
11
|
-
placement?: any;
|
|
12
|
-
zIndex?: any;
|
|
13
|
-
mask?: any;
|
|
14
|
-
visible?: any;
|
|
15
13
|
customClass?: any;
|
|
16
|
-
|
|
14
|
+
visible?: any;
|
|
17
15
|
showHeader?: any;
|
|
18
16
|
showFooter?: any;
|
|
19
|
-
maskClosable?: any;
|
|
20
17
|
dragable?: any;
|
|
18
|
+
maskClosable?: any;
|
|
21
19
|
lockScroll?: any;
|
|
22
20
|
flex?: any;
|
|
23
21
|
beforeClose?: any;
|
|
22
|
+
zIndex?: any;
|
|
23
|
+
showClose?: any;
|
|
24
24
|
tipsProps?: any;
|
|
25
25
|
customSlots?: any;
|
|
26
26
|
}>, {
|
|
@@ -31,7 +31,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
31
31
|
d: (props: any) => void;
|
|
32
32
|
dp: (props: any) => void;
|
|
33
33
|
gcls: (key: any) => any;
|
|
34
|
-
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "confirm" | "
|
|
34
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "confirm" | "drag" | "open" | "update:visible")[], "close" | "confirm" | "drag" | "open" | "update:visible", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
35
|
+
mask?: any;
|
|
36
|
+
placement?: any;
|
|
35
37
|
title?: any;
|
|
36
38
|
tiny_mode?: any;
|
|
37
39
|
tiny_mode_root?: any;
|
|
@@ -41,27 +43,28 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
41
43
|
tiny_theme?: any;
|
|
42
44
|
tiny_chart_theme?: any;
|
|
43
45
|
width?: any;
|
|
44
|
-
placement?: any;
|
|
45
|
-
zIndex?: any;
|
|
46
|
-
mask?: any;
|
|
47
|
-
visible?: any;
|
|
48
46
|
customClass?: any;
|
|
49
|
-
|
|
47
|
+
visible?: any;
|
|
50
48
|
showHeader?: any;
|
|
51
49
|
showFooter?: any;
|
|
52
|
-
maskClosable?: any;
|
|
53
50
|
dragable?: any;
|
|
51
|
+
maskClosable?: any;
|
|
54
52
|
lockScroll?: any;
|
|
55
53
|
flex?: any;
|
|
56
54
|
beforeClose?: any;
|
|
55
|
+
zIndex?: any;
|
|
56
|
+
showClose?: any;
|
|
57
57
|
tipsProps?: any;
|
|
58
58
|
customSlots?: any;
|
|
59
59
|
}>>> & {
|
|
60
60
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
61
|
-
|
|
61
|
+
onDrag?: ((...args: any[]) => any) | undefined;
|
|
62
62
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
64
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
64
65
|
}, {
|
|
66
|
+
readonly mask?: any;
|
|
67
|
+
readonly placement?: any;
|
|
65
68
|
readonly title?: any;
|
|
66
69
|
readonly tiny_mode?: any;
|
|
67
70
|
readonly tiny_mode_root?: any;
|
|
@@ -71,19 +74,17 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
71
74
|
readonly tiny_theme?: any;
|
|
72
75
|
readonly tiny_chart_theme?: any;
|
|
73
76
|
readonly width?: any;
|
|
74
|
-
readonly placement?: any;
|
|
75
|
-
readonly zIndex?: any;
|
|
76
|
-
readonly mask?: any;
|
|
77
|
-
readonly visible?: any;
|
|
78
77
|
readonly customClass?: any;
|
|
79
|
-
readonly
|
|
78
|
+
readonly visible?: any;
|
|
80
79
|
readonly showHeader?: any;
|
|
81
80
|
readonly showFooter?: any;
|
|
82
|
-
readonly maskClosable?: any;
|
|
83
81
|
readonly dragable?: any;
|
|
82
|
+
readonly maskClosable?: any;
|
|
84
83
|
readonly lockScroll?: any;
|
|
85
84
|
readonly flex?: any;
|
|
86
85
|
readonly beforeClose?: any;
|
|
86
|
+
readonly zIndex?: any;
|
|
87
|
+
readonly showClose?: any;
|
|
87
88
|
readonly tipsProps?: any;
|
|
88
89
|
readonly customSlots?: any;
|
|
89
90
|
}, {}>;
|