@zyzgroup/core-vue 0.0.43 → 0.0.45
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/ce/style.css +1 -1
- package/ce/yz_custom_element.iife.js +148 -149
- package/ce/yz_custom_element.iife.js.map +1 -1
- package/ce/yz_custom_element.js +17265 -15234
- package/ce/yz_custom_element.js.map +1 -1
- package/ce/yz_custom_element.umd.cjs +148 -149
- package/ce/yz_custom_element.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/zyzgroup_core_vue.iife.js +17 -10
- package/dist/zyzgroup_core_vue.iife.js.map +1 -1
- package/dist/zyzgroup_core_vue.js +8801 -3726
- package/dist/zyzgroup_core_vue.js.map +1 -1
- package/dist/zyzgroup_core_vue.umd.cjs +17 -10
- package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
- package/package.json +2 -2
- package/types/components/Accordion.ce.vue.d.ts +5 -11
- package/types/components/Accordion.vue.d.ts +5 -11
- package/types/components/Button.ce.vue.d.ts +17 -13
- package/types/components/Button.vue.d.ts +17 -13
- package/types/components/Canvas.ce.vue.d.ts +5 -5
- package/types/components/Canvas.vue.d.ts +5 -5
- package/types/components/Click.ce.vue.d.ts +38 -0
- package/types/components/Click.vue.d.ts +38 -0
- package/types/components/Container.ce.vue.d.ts +166 -12
- package/types/components/Container.vue.d.ts +166 -12
- package/types/components/Dialog.ce.vue.d.ts +31 -10
- package/types/components/Dialog.vue.d.ts +31 -10
- package/types/components/DialogLoading.ce.vue.d.ts +2 -2
- package/types/components/DialogLoading.vue.d.ts +2 -2
- package/types/components/MapTianditu.ce.vue.d.ts +8 -4
- package/types/components/MapTianditu.vue.d.ts +8 -4
- package/types/components/NumberKeyboard.ce.vue.d.ts +22 -0
- package/types/components/NumberKeyboard.vue.d.ts +22 -0
- package/types/components/Overlay.ce.vue.d.ts +3 -3
- package/types/components/Overlay.vue.d.ts +3 -3
- package/types/components/Page.ce.vue.d.ts +2 -3
- package/types/components/Page.vue.d.ts +2 -3
- package/types/components/PlateKeyboard.ce.vue.d.ts +2 -2
- package/types/components/PlateKeyboard.vue.d.ts +2 -2
- package/types/components/Pop.ce.vue.d.ts +12 -11
- package/types/components/Pop.vue.d.ts +12 -11
- package/types/components/Popover.ce.vue.d.ts +12 -12
- package/types/components/Popover.vue.d.ts +12 -12
- package/types/components/SVG.ce.vue.d.ts +5 -5
- package/types/components/SVG.vue.d.ts +5 -5
- package/types/components/chat/HalfRingIndicator.ce.vue.d.ts +15 -0
- package/types/components/chat/HalfRingIndicator.vue.d.ts +15 -0
- package/types/components/effect/BorderFocusText.ce.vue.d.ts +3 -4
- package/types/components/effect/BorderFocusText.vue.d.ts +3 -4
- package/types/components/effect/CSSAnimation.ce.vue.d.ts +3 -4
- package/types/components/effect/CSSAnimation.vue.d.ts +3 -4
- package/types/components/effect/CSSTransition.ce.vue.d.ts +3 -4
- package/types/components/effect/CSSTransition.vue.d.ts +3 -4
- package/types/components/effect/Circle.ce.vue.d.ts +4 -5
- package/types/components/effect/Circle.vue.d.ts +4 -5
- package/types/components/effect/Float.ce.vue.d.ts +1 -2
- package/types/components/effect/Float.vue.d.ts +1 -2
- package/types/components/effect/ImageMask.ce.vue.d.ts +3 -3
- package/types/components/effect/ImageMask.vue.d.ts +3 -3
- package/types/components/effect/LineDouble.ce.vue.d.ts +4 -5
- package/types/components/effect/LineDouble.vue.d.ts +4 -5
- package/types/components/effect/LineSingle.ce.vue.d.ts +4 -5
- package/types/components/effect/LineSingle.vue.d.ts +4 -5
- package/types/components/effect/Slide.ce.vue.d.ts +1 -2
- package/types/components/effect/Slide.vue.d.ts +1 -2
- package/types/components/effect/SlideCorner.ce.vue.d.ts +4 -5
- package/types/components/effect/SlideCorner.vue.d.ts +4 -5
- package/types/components/form/ColorPicker.ce.vue.d.ts +9 -13
- package/types/components/form/ColorPicker.vue.d.ts +9 -13
- package/types/components/form/Input.ce.vue.d.ts +1 -1
- package/types/components/form/Input.vue.d.ts +1 -1
- package/types/components/form/InputRangeBox.ce.vue.d.ts +2 -2
- package/types/components/form/InputRangeBox.vue.d.ts +2 -2
- package/types/components/form/InputRangeCanvas.ce.vue.d.ts +6 -4
- package/types/components/form/InputRangeCanvas.vue.d.ts +6 -4
- package/types/components/form/SlideLeftItem.ce.vue.d.ts +8 -7
- package/types/components/form/SlideLeftItem.vue.d.ts +8 -7
- package/types/components/form/Switch.ce.vue.d.ts +1 -1
- package/types/components/form/Switch.vue.d.ts +1 -1
- package/types/components/svg/SVGAdd.ce.vue.d.ts +7 -0
- package/types/components/svg/SVGAdd.vue.d.ts +7 -0
- package/types/components/svg/SVGCleanLeft.ce.vue.d.ts +7 -0
- package/types/components/svg/SVGCleanLeft.vue.d.ts +7 -0
- package/types/components/svg/SVGClose.ce.vue.d.ts +7 -0
- package/types/components/svg/SVGClose.vue.d.ts +7 -0
- package/types/components/svg/SVGDelete.ce.vue.d.ts +0 -3
- package/types/components/svg/SVGDelete.vue.d.ts +0 -3
- package/types/components/svg/SVGEllipse.ce.vue.d.ts +7 -0
- package/types/components/svg/SVGEllipse.vue.d.ts +7 -0
- package/types/components/svg/SVGWarn.ce.vue.d.ts +4 -4
- package/types/components/svg/SVGWarn.vue.d.ts +4 -4
- package/types/globalTeleport.d.ts +14 -3
- package/types/main.d.ts +1 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export type ContainerType = "block" | "shrink" | "full";
|
|
2
|
+
export type EffectTriggerTiming = "manual" | "mouseMove" | "click" | "immediate";
|
|
3
|
+
export type EffectStatus = "start" | "end";
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
type?: ContainerType;
|
|
5
6
|
effectTriggerTiming?: EffectTriggerTiming;
|
|
@@ -14,17 +15,85 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
14
15
|
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
15
16
|
r: typeof r;
|
|
16
17
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
17
|
-
resize: (width: number, height: number, rect: DOMRect) => any;
|
|
18
18
|
start: () => any;
|
|
19
19
|
end: () => any;
|
|
20
|
-
ready: (
|
|
20
|
+
ready: (controller: {
|
|
21
|
+
el: HTMLElement;
|
|
22
|
+
readonly rect: {
|
|
23
|
+
width: number;
|
|
24
|
+
height: number;
|
|
25
|
+
x: number;
|
|
26
|
+
y: number;
|
|
27
|
+
bottom: number;
|
|
28
|
+
left: number;
|
|
29
|
+
right: number;
|
|
30
|
+
top: number;
|
|
31
|
+
toJSON(): any;
|
|
32
|
+
};
|
|
33
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
34
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
35
|
+
start: () => Promise<void>;
|
|
36
|
+
end: () => void;
|
|
37
|
+
}) => any;
|
|
38
|
+
update: (controller: {
|
|
39
|
+
el: HTMLElement;
|
|
40
|
+
readonly rect: {
|
|
41
|
+
width: number;
|
|
42
|
+
height: number;
|
|
43
|
+
x: number;
|
|
44
|
+
y: number;
|
|
45
|
+
bottom: number;
|
|
46
|
+
left: number;
|
|
47
|
+
right: number;
|
|
48
|
+
top: number;
|
|
49
|
+
toJSON(): any;
|
|
50
|
+
};
|
|
51
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
52
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
53
|
+
start: () => Promise<void>;
|
|
54
|
+
end: () => void;
|
|
55
|
+
}) => any;
|
|
21
56
|
clipboard_success: (text: string) => any;
|
|
22
57
|
clipboard_error: (text: string) => any;
|
|
23
58
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
-
onResize?: (width: number, height: number, rect: DOMRect) => any;
|
|
25
59
|
onStart?: () => any;
|
|
26
60
|
onEnd?: () => any;
|
|
27
|
-
onReady?: (
|
|
61
|
+
onReady?: (controller: {
|
|
62
|
+
el: HTMLElement;
|
|
63
|
+
readonly rect: {
|
|
64
|
+
width: number;
|
|
65
|
+
height: number;
|
|
66
|
+
x: number;
|
|
67
|
+
y: number;
|
|
68
|
+
bottom: number;
|
|
69
|
+
left: number;
|
|
70
|
+
right: number;
|
|
71
|
+
top: number;
|
|
72
|
+
toJSON(): any;
|
|
73
|
+
};
|
|
74
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
75
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
76
|
+
start: () => Promise<void>;
|
|
77
|
+
end: () => void;
|
|
78
|
+
}) => any;
|
|
79
|
+
onUpdate?: (controller: {
|
|
80
|
+
el: HTMLElement;
|
|
81
|
+
readonly rect: {
|
|
82
|
+
width: number;
|
|
83
|
+
height: number;
|
|
84
|
+
x: number;
|
|
85
|
+
y: number;
|
|
86
|
+
bottom: number;
|
|
87
|
+
left: number;
|
|
88
|
+
right: number;
|
|
89
|
+
top: number;
|
|
90
|
+
toJSON(): any;
|
|
91
|
+
};
|
|
92
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
93
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
94
|
+
start: () => Promise<void>;
|
|
95
|
+
end: () => void;
|
|
96
|
+
}) => any;
|
|
28
97
|
onClipboard_success?: (text: string) => any;
|
|
29
98
|
onClipboard_error?: (text: string) => any;
|
|
30
99
|
}>, {
|
|
@@ -33,21 +102,106 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
|
33
102
|
supportCopyText: boolean;
|
|
34
103
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
35
104
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
105
|
+
getController: () => Promise<{
|
|
106
|
+
el: HTMLElement;
|
|
107
|
+
readonly rect: {
|
|
108
|
+
width: number;
|
|
109
|
+
height: number;
|
|
110
|
+
x: number;
|
|
111
|
+
y: number;
|
|
112
|
+
bottom: number;
|
|
113
|
+
left: number;
|
|
114
|
+
right: number;
|
|
115
|
+
top: number;
|
|
116
|
+
toJSON(): any;
|
|
117
|
+
};
|
|
118
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
119
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
120
|
+
start: () => Promise<void>;
|
|
121
|
+
end: () => void;
|
|
122
|
+
}>;
|
|
36
123
|
getElement: () => any;
|
|
37
|
-
|
|
38
|
-
getSize: () => Promise<DOMRect>;
|
|
124
|
+
getRect: () => any;
|
|
39
125
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
40
|
-
resize: (width: number, height: number, rect: DOMRect) => any;
|
|
41
126
|
start: () => any;
|
|
42
127
|
end: () => any;
|
|
43
|
-
ready: (
|
|
128
|
+
ready: (controller: {
|
|
129
|
+
el: HTMLElement;
|
|
130
|
+
readonly rect: {
|
|
131
|
+
width: number;
|
|
132
|
+
height: number;
|
|
133
|
+
x: number;
|
|
134
|
+
y: number;
|
|
135
|
+
bottom: number;
|
|
136
|
+
left: number;
|
|
137
|
+
right: number;
|
|
138
|
+
top: number;
|
|
139
|
+
toJSON(): any;
|
|
140
|
+
};
|
|
141
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
142
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
143
|
+
start: () => Promise<void>;
|
|
144
|
+
end: () => void;
|
|
145
|
+
}) => any;
|
|
146
|
+
update: (controller: {
|
|
147
|
+
el: HTMLElement;
|
|
148
|
+
readonly rect: {
|
|
149
|
+
width: number;
|
|
150
|
+
height: number;
|
|
151
|
+
x: number;
|
|
152
|
+
y: number;
|
|
153
|
+
bottom: number;
|
|
154
|
+
left: number;
|
|
155
|
+
right: number;
|
|
156
|
+
top: number;
|
|
157
|
+
toJSON(): any;
|
|
158
|
+
};
|
|
159
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
160
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
161
|
+
start: () => Promise<void>;
|
|
162
|
+
end: () => void;
|
|
163
|
+
}) => any;
|
|
44
164
|
clipboard_success: (text: string) => any;
|
|
45
165
|
clipboard_error: (text: string) => any;
|
|
46
166
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
47
|
-
onResize?: (width: number, height: number, rect: DOMRect) => any;
|
|
48
167
|
onStart?: () => any;
|
|
49
168
|
onEnd?: () => any;
|
|
50
|
-
onReady?: (
|
|
169
|
+
onReady?: (controller: {
|
|
170
|
+
el: HTMLElement;
|
|
171
|
+
readonly rect: {
|
|
172
|
+
width: number;
|
|
173
|
+
height: number;
|
|
174
|
+
x: number;
|
|
175
|
+
y: number;
|
|
176
|
+
bottom: number;
|
|
177
|
+
left: number;
|
|
178
|
+
right: number;
|
|
179
|
+
top: number;
|
|
180
|
+
toJSON(): any;
|
|
181
|
+
};
|
|
182
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
183
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
184
|
+
start: () => Promise<void>;
|
|
185
|
+
end: () => void;
|
|
186
|
+
}) => any;
|
|
187
|
+
onUpdate?: (controller: {
|
|
188
|
+
el: HTMLElement;
|
|
189
|
+
readonly rect: {
|
|
190
|
+
width: number;
|
|
191
|
+
height: number;
|
|
192
|
+
x: number;
|
|
193
|
+
y: number;
|
|
194
|
+
bottom: number;
|
|
195
|
+
left: number;
|
|
196
|
+
right: number;
|
|
197
|
+
top: number;
|
|
198
|
+
toJSON(): any;
|
|
199
|
+
};
|
|
200
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
201
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
202
|
+
start: () => Promise<void>;
|
|
203
|
+
end: () => void;
|
|
204
|
+
}) => any;
|
|
51
205
|
onClipboard_success?: (text: string) => any;
|
|
52
206
|
onClipboard_error?: (text: string) => any;
|
|
53
207
|
}>, {
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import Pop from "./Pop.vue";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import Button, { ButtonStylePatternType } from "./Button.vue";
|
|
3
|
+
import SVGClose from "./svg/SVGClose.vue";
|
|
4
|
+
import SVGWarn from "./svg/SVGWarn.vue";
|
|
5
|
+
import SVGEllipse from "./svg/SVGEllipse.vue";
|
|
6
|
+
export type DialogStylePatternType = "fullfill" | "transparent" | "icon-warn-red" | "icon-warn-blue";
|
|
5
7
|
type __VLS_Props = {
|
|
6
8
|
closeWhenClickOverlay?: boolean;
|
|
7
9
|
dur?: number;
|
|
8
10
|
minWidth?: string;
|
|
9
11
|
maxWidth?: string;
|
|
10
12
|
overlayBgColor?: string;
|
|
13
|
+
stylePattern?: DialogStylePatternType;
|
|
14
|
+
borderRadius?: string;
|
|
11
15
|
};
|
|
12
16
|
declare const popRef: import("vue").Ref<any, any>;
|
|
13
17
|
declare const title: import("vue").Ref<string, string>;
|
|
@@ -15,6 +19,13 @@ declare const content: import("vue").Ref<string, string>;
|
|
|
15
19
|
declare const showClose: import("vue").Ref<boolean, boolean>;
|
|
16
20
|
declare const cancelText: import("vue").Ref<string, string>;
|
|
17
21
|
declare const confirmText: import("vue").Ref<string, string>;
|
|
22
|
+
declare const stylePattern: import("vue").Ref<DialogStylePatternType, DialogStylePatternType>;
|
|
23
|
+
declare const cancelButtonStylePattern: import("vue").Ref<ButtonStylePatternType, ButtonStylePatternType>;
|
|
24
|
+
declare const confirmButtonStylePattern: import("vue").Ref<ButtonStylePatternType, ButtonStylePatternType>;
|
|
25
|
+
declare const showTopIcon: import("vue").Ref<boolean, boolean>;
|
|
26
|
+
declare const colorStart: import("vue").Ref<string, string>;
|
|
27
|
+
declare const colorEnd: import("vue").Ref<string, string>;
|
|
28
|
+
declare const isBtnsVertical: import("vue").Ref<boolean, boolean>;
|
|
18
29
|
declare const popOpen: () => void;
|
|
19
30
|
declare const popClose: () => void;
|
|
20
31
|
declare function open(options?: {
|
|
@@ -23,33 +34,39 @@ declare function open(options?: {
|
|
|
23
34
|
showClose?: boolean;
|
|
24
35
|
cancelText?: string;
|
|
25
36
|
confirmText?: string;
|
|
26
|
-
|
|
37
|
+
stylePattern?: DialogStylePatternType;
|
|
27
38
|
onCancel?: () => void;
|
|
28
39
|
onConfirm?: () => void;
|
|
29
40
|
}): void;
|
|
30
41
|
declare function close(): void;
|
|
31
|
-
declare function cancel(): void;
|
|
32
42
|
declare function confirm(): void;
|
|
33
43
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
34
|
-
declare var
|
|
44
|
+
declare var __VLS_20: {};
|
|
35
45
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
36
|
-
default?: (props: typeof
|
|
46
|
+
default?: (props: typeof __VLS_20) => any;
|
|
37
47
|
}>;
|
|
38
48
|
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
39
49
|
Pop: typeof Pop;
|
|
40
|
-
Icon: typeof Icon;
|
|
41
50
|
Button: typeof Button;
|
|
42
|
-
|
|
51
|
+
SVGClose: typeof SVGClose;
|
|
52
|
+
SVGWarn: typeof SVGWarn;
|
|
53
|
+
SVGEllipse: typeof SVGEllipse;
|
|
43
54
|
popRef: typeof popRef;
|
|
44
55
|
title: typeof title;
|
|
45
56
|
content: typeof content;
|
|
46
57
|
showClose: typeof showClose;
|
|
47
58
|
cancelText: typeof cancelText;
|
|
48
59
|
confirmText: typeof confirmText;
|
|
60
|
+
stylePattern: typeof stylePattern;
|
|
61
|
+
cancelButtonStylePattern: typeof cancelButtonStylePattern;
|
|
62
|
+
confirmButtonStylePattern: typeof confirmButtonStylePattern;
|
|
63
|
+
showTopIcon: typeof showTopIcon;
|
|
64
|
+
colorStart: typeof colorStart;
|
|
65
|
+
colorEnd: typeof colorEnd;
|
|
66
|
+
isBtnsVertical: typeof isBtnsVertical;
|
|
49
67
|
popOpen: typeof popOpen;
|
|
50
68
|
popClose: typeof popClose;
|
|
51
69
|
close: typeof close;
|
|
52
|
-
cancel: typeof cancel;
|
|
53
70
|
confirm: typeof confirm;
|
|
54
71
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
55
72
|
cancel: () => any;
|
|
@@ -64,6 +81,8 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
|
64
81
|
}>, {
|
|
65
82
|
closeWhenClickOverlay: boolean;
|
|
66
83
|
dur: number;
|
|
84
|
+
borderRadius: string;
|
|
85
|
+
stylePattern: DialogStylePatternType;
|
|
67
86
|
minWidth: string;
|
|
68
87
|
maxWidth: string;
|
|
69
88
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -83,6 +102,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
83
102
|
}>, {
|
|
84
103
|
closeWhenClickOverlay: boolean;
|
|
85
104
|
dur: number;
|
|
105
|
+
borderRadius: string;
|
|
106
|
+
stylePattern: DialogStylePatternType;
|
|
86
107
|
minWidth: string;
|
|
87
108
|
maxWidth: string;
|
|
88
109
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import Pop from "./Pop.vue";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import Button, { ButtonStylePatternType } from "./Button.vue";
|
|
3
|
+
import SVGClose from "./svg/SVGClose.vue";
|
|
4
|
+
import SVGWarn from "./svg/SVGWarn.vue";
|
|
5
|
+
import SVGEllipse from "./svg/SVGEllipse.vue";
|
|
6
|
+
export type DialogStylePatternType = "fullfill" | "transparent" | "icon-warn-red" | "icon-warn-blue";
|
|
5
7
|
type __VLS_Props = {
|
|
6
8
|
closeWhenClickOverlay?: boolean;
|
|
7
9
|
dur?: number;
|
|
8
10
|
minWidth?: string;
|
|
9
11
|
maxWidth?: string;
|
|
10
12
|
overlayBgColor?: string;
|
|
13
|
+
stylePattern?: DialogStylePatternType;
|
|
14
|
+
borderRadius?: string;
|
|
11
15
|
};
|
|
12
16
|
declare const popRef: import("vue").Ref<any, any>;
|
|
13
17
|
declare const title: import("vue").Ref<string, string>;
|
|
@@ -15,6 +19,13 @@ declare const content: import("vue").Ref<string, string>;
|
|
|
15
19
|
declare const showClose: import("vue").Ref<boolean, boolean>;
|
|
16
20
|
declare const cancelText: import("vue").Ref<string, string>;
|
|
17
21
|
declare const confirmText: import("vue").Ref<string, string>;
|
|
22
|
+
declare const stylePattern: import("vue").Ref<DialogStylePatternType, DialogStylePatternType>;
|
|
23
|
+
declare const cancelButtonStylePattern: import("vue").Ref<ButtonStylePatternType, ButtonStylePatternType>;
|
|
24
|
+
declare const confirmButtonStylePattern: import("vue").Ref<ButtonStylePatternType, ButtonStylePatternType>;
|
|
25
|
+
declare const showTopIcon: import("vue").Ref<boolean, boolean>;
|
|
26
|
+
declare const colorStart: import("vue").Ref<string, string>;
|
|
27
|
+
declare const colorEnd: import("vue").Ref<string, string>;
|
|
28
|
+
declare const isBtnsVertical: import("vue").Ref<boolean, boolean>;
|
|
18
29
|
declare const popOpen: () => void;
|
|
19
30
|
declare const popClose: () => void;
|
|
20
31
|
declare function open(options?: {
|
|
@@ -23,33 +34,39 @@ declare function open(options?: {
|
|
|
23
34
|
showClose?: boolean;
|
|
24
35
|
cancelText?: string;
|
|
25
36
|
confirmText?: string;
|
|
26
|
-
|
|
37
|
+
stylePattern?: DialogStylePatternType;
|
|
27
38
|
onCancel?: () => void;
|
|
28
39
|
onConfirm?: () => void;
|
|
29
40
|
}): void;
|
|
30
41
|
declare function close(): void;
|
|
31
|
-
declare function cancel(): void;
|
|
32
42
|
declare function confirm(): void;
|
|
33
43
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
34
|
-
declare var
|
|
44
|
+
declare var __VLS_20: {};
|
|
35
45
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
36
|
-
default?: (props: typeof
|
|
46
|
+
default?: (props: typeof __VLS_20) => any;
|
|
37
47
|
}>;
|
|
38
48
|
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
39
49
|
Pop: typeof Pop;
|
|
40
|
-
Icon: typeof Icon;
|
|
41
50
|
Button: typeof Button;
|
|
42
|
-
|
|
51
|
+
SVGClose: typeof SVGClose;
|
|
52
|
+
SVGWarn: typeof SVGWarn;
|
|
53
|
+
SVGEllipse: typeof SVGEllipse;
|
|
43
54
|
popRef: typeof popRef;
|
|
44
55
|
title: typeof title;
|
|
45
56
|
content: typeof content;
|
|
46
57
|
showClose: typeof showClose;
|
|
47
58
|
cancelText: typeof cancelText;
|
|
48
59
|
confirmText: typeof confirmText;
|
|
60
|
+
stylePattern: typeof stylePattern;
|
|
61
|
+
cancelButtonStylePattern: typeof cancelButtonStylePattern;
|
|
62
|
+
confirmButtonStylePattern: typeof confirmButtonStylePattern;
|
|
63
|
+
showTopIcon: typeof showTopIcon;
|
|
64
|
+
colorStart: typeof colorStart;
|
|
65
|
+
colorEnd: typeof colorEnd;
|
|
66
|
+
isBtnsVertical: typeof isBtnsVertical;
|
|
49
67
|
popOpen: typeof popOpen;
|
|
50
68
|
popClose: typeof popClose;
|
|
51
69
|
close: typeof close;
|
|
52
|
-
cancel: typeof cancel;
|
|
53
70
|
confirm: typeof confirm;
|
|
54
71
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
55
72
|
cancel: () => any;
|
|
@@ -64,6 +81,8 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
|
64
81
|
}>, {
|
|
65
82
|
closeWhenClickOverlay: boolean;
|
|
66
83
|
dur: number;
|
|
84
|
+
borderRadius: string;
|
|
85
|
+
stylePattern: DialogStylePatternType;
|
|
67
86
|
minWidth: string;
|
|
68
87
|
maxWidth: string;
|
|
69
88
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -83,6 +102,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
83
102
|
}>, {
|
|
84
103
|
closeWhenClickOverlay: boolean;
|
|
85
104
|
dur: number;
|
|
105
|
+
borderRadius: string;
|
|
106
|
+
stylePattern: DialogStylePatternType;
|
|
86
107
|
minWidth: string;
|
|
87
108
|
maxWidth: string;
|
|
88
109
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -4,7 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
closeWhenClickOverlay?: boolean;
|
|
5
5
|
dur?: number;
|
|
6
6
|
};
|
|
7
|
-
declare const
|
|
7
|
+
declare const dialog: import("vue").Ref<any, any>;
|
|
8
8
|
declare const content: import("vue").Ref<string, string>;
|
|
9
9
|
declare const popOpen: () => void;
|
|
10
10
|
declare const popClose: () => void;
|
|
@@ -18,7 +18,7 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
18
18
|
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
19
19
|
Dialog: typeof Dialog;
|
|
20
20
|
Loading8: typeof Loading8;
|
|
21
|
-
|
|
21
|
+
dialog: typeof dialog;
|
|
22
22
|
content: typeof content;
|
|
23
23
|
popOpen: typeof popOpen;
|
|
24
24
|
popClose: typeof popClose;
|
|
@@ -4,7 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
closeWhenClickOverlay?: boolean;
|
|
5
5
|
dur?: number;
|
|
6
6
|
};
|
|
7
|
-
declare const
|
|
7
|
+
declare const dialog: import("vue").Ref<any, any>;
|
|
8
8
|
declare const content: import("vue").Ref<string, string>;
|
|
9
9
|
declare const popOpen: () => void;
|
|
10
10
|
declare const popClose: () => void;
|
|
@@ -18,7 +18,7 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
18
18
|
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
19
19
|
Dialog: typeof Dialog;
|
|
20
20
|
Loading8: typeof Loading8;
|
|
21
|
-
|
|
21
|
+
dialog: typeof dialog;
|
|
22
22
|
content: typeof content;
|
|
23
23
|
popOpen: typeof popOpen;
|
|
24
24
|
popClose: typeof popClose;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import Container from "./Container.vue";
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
mapKey?: string;
|
|
3
4
|
mapContainerID?: string;
|
|
@@ -9,19 +10,22 @@ type __VLS_Props = {
|
|
|
9
10
|
};
|
|
10
11
|
declare const mapWidth: import("vue").Ref<string, string>;
|
|
11
12
|
declare const mapHeight: import("vue").Ref<string, string>;
|
|
12
|
-
declare
|
|
13
|
+
declare function ready(controller: any): void;
|
|
14
|
+
declare function update(controller: any): void;
|
|
13
15
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
14
|
-
declare var
|
|
16
|
+
declare var __VLS_10: {
|
|
15
17
|
width: string;
|
|
16
18
|
height: string;
|
|
17
19
|
};
|
|
18
20
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
19
|
-
default?: (props: typeof
|
|
21
|
+
default?: (props: typeof __VLS_10) => any;
|
|
20
22
|
}>;
|
|
21
23
|
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
24
|
+
Container: typeof Container;
|
|
22
25
|
mapWidth: typeof mapWidth;
|
|
23
26
|
mapHeight: typeof mapHeight;
|
|
24
|
-
|
|
27
|
+
ready: typeof ready;
|
|
28
|
+
update: typeof update;
|
|
25
29
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
26
30
|
click: () => any;
|
|
27
31
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import Container from "./Container.vue";
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
mapKey?: string;
|
|
3
4
|
mapContainerID?: string;
|
|
@@ -9,19 +10,22 @@ type __VLS_Props = {
|
|
|
9
10
|
};
|
|
10
11
|
declare const mapWidth: import("vue").Ref<string, string>;
|
|
11
12
|
declare const mapHeight: import("vue").Ref<string, string>;
|
|
12
|
-
declare
|
|
13
|
+
declare function ready(controller: any): void;
|
|
14
|
+
declare function update(controller: any): void;
|
|
13
15
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
14
|
-
declare var
|
|
16
|
+
declare var __VLS_10: {
|
|
15
17
|
width: string;
|
|
16
18
|
height: string;
|
|
17
19
|
};
|
|
18
20
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
19
|
-
default?: (props: typeof
|
|
21
|
+
default?: (props: typeof __VLS_10) => any;
|
|
20
22
|
}>;
|
|
21
23
|
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
24
|
+
Container: typeof Container;
|
|
22
25
|
mapWidth: typeof mapWidth;
|
|
23
26
|
mapHeight: typeof mapHeight;
|
|
24
|
-
|
|
27
|
+
ready: typeof ready;
|
|
28
|
+
update: typeof update;
|
|
25
29
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
26
30
|
click: () => any;
|
|
27
31
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
min?: number;
|
|
3
|
+
max?: number;
|
|
4
|
+
title?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
7
|
+
open: () => void;
|
|
8
|
+
close: () => void;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
number: (n: number) => any;
|
|
11
|
+
close: () => any;
|
|
12
|
+
error: (msg: string) => any;
|
|
13
|
+
open: () => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onNumber?: (n: number) => any;
|
|
16
|
+
onClose?: () => any;
|
|
17
|
+
onError?: (msg: string) => any;
|
|
18
|
+
onOpen?: () => any;
|
|
19
|
+
}>, {
|
|
20
|
+
title: string;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
min?: number;
|
|
3
|
+
max?: number;
|
|
4
|
+
title?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
7
|
+
open: () => void;
|
|
8
|
+
close: () => void;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
number: (n: number) => any;
|
|
11
|
+
close: () => any;
|
|
12
|
+
error: (msg: string) => any;
|
|
13
|
+
open: () => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onNumber?: (n: number) => any;
|
|
16
|
+
onClose?: () => any;
|
|
17
|
+
onError?: (msg: string) => any;
|
|
18
|
+
onOpen?: () => any;
|
|
19
|
+
}>, {
|
|
20
|
+
title: string;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
visible?: boolean;
|
|
3
|
-
|
|
3
|
+
global?: boolean;
|
|
4
4
|
color?: string;
|
|
5
5
|
};
|
|
6
6
|
declare const style: import("vue").ComputedRef<Record<string, string>>;
|
|
@@ -15,12 +15,12 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
|
15
15
|
el: typeof el;
|
|
16
16
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
17
|
visible: boolean;
|
|
18
|
-
|
|
18
|
+
global: boolean;
|
|
19
19
|
color: string;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
21
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
22
|
visible: boolean;
|
|
23
|
-
|
|
23
|
+
global: boolean;
|
|
24
24
|
color: string;
|
|
25
25
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
26
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
visible?: boolean;
|
|
3
|
-
|
|
3
|
+
global?: boolean;
|
|
4
4
|
color?: string;
|
|
5
5
|
};
|
|
6
6
|
declare const style: import("vue").ComputedRef<Record<string, string>>;
|
|
@@ -15,12 +15,12 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
|
15
15
|
el: typeof el;
|
|
16
16
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
17
|
visible: boolean;
|
|
18
|
-
|
|
18
|
+
global: boolean;
|
|
19
19
|
color: string;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
21
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
22
|
visible: boolean;
|
|
23
|
-
|
|
23
|
+
global: boolean;
|
|
24
24
|
color: string;
|
|
25
25
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
26
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -12,7 +12,7 @@ type __VLS_Props = {
|
|
|
12
12
|
declare const pageRef: import("vue").Ref<any, any>;
|
|
13
13
|
declare const style: Record<string, string>;
|
|
14
14
|
declare const ready: () => void;
|
|
15
|
-
declare const
|
|
15
|
+
declare const update: () => void;
|
|
16
16
|
declare const cssAnimationRef: import("vue").Ref<any, any>;
|
|
17
17
|
declare const cssanimationstart: () => void;
|
|
18
18
|
declare const cssanimationend: () => void;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
|
27
27
|
pageRef: typeof pageRef;
|
|
28
28
|
style: typeof style;
|
|
29
29
|
ready: typeof ready;
|
|
30
|
-
|
|
30
|
+
update: typeof update;
|
|
31
31
|
cssAnimationRef: typeof cssAnimationRef;
|
|
32
32
|
cssanimationstart: typeof cssanimationstart;
|
|
33
33
|
cssanimationend: typeof cssanimationend;
|
|
@@ -54,7 +54,6 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
54
54
|
open: (newEffect?: SupportedPageEffect) => void;
|
|
55
55
|
close: (newEffect?: SupportedPageEffect) => void;
|
|
56
56
|
clear: () => void;
|
|
57
|
-
getElement: () => any;
|
|
58
57
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
59
58
|
ready: (open: () => void, close: () => void) => any;
|
|
60
59
|
pageOpenStart: () => any;
|
|
@@ -12,7 +12,7 @@ type __VLS_Props = {
|
|
|
12
12
|
declare const pageRef: import("vue").Ref<any, any>;
|
|
13
13
|
declare const style: Record<string, string>;
|
|
14
14
|
declare const ready: () => void;
|
|
15
|
-
declare const
|
|
15
|
+
declare const update: () => void;
|
|
16
16
|
declare const cssAnimationRef: import("vue").Ref<any, any>;
|
|
17
17
|
declare const cssanimationstart: () => void;
|
|
18
18
|
declare const cssanimationend: () => void;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
|
27
27
|
pageRef: typeof pageRef;
|
|
28
28
|
style: typeof style;
|
|
29
29
|
ready: typeof ready;
|
|
30
|
-
|
|
30
|
+
update: typeof update;
|
|
31
31
|
cssAnimationRef: typeof cssAnimationRef;
|
|
32
32
|
cssanimationstart: typeof cssanimationstart;
|
|
33
33
|
cssanimationend: typeof cssanimationend;
|
|
@@ -54,7 +54,6 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
54
54
|
open: (newEffect?: SupportedPageEffect) => void;
|
|
55
55
|
close: (newEffect?: SupportedPageEffect) => void;
|
|
56
56
|
clear: () => void;
|
|
57
|
-
getElement: () => any;
|
|
58
57
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
59
58
|
ready: (open: () => void, close: () => void) => any;
|
|
60
59
|
pageOpenStart: () => any;
|