@halo-dev/components 0.0.0-alpha.2 → 0.0.0-alpha.3
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/components/alert/Alert.vue.d.ts +59 -0
- package/dist/components/button/Button.vue.d.ts +110 -0
- package/dist/components/card/Card.vue.d.ts +6 -3
- package/dist/components/checkbox/CheckBox.vue.d.ts +56 -0
- package/dist/components/checkbox/CheckBoxGroup.vue.d.ts +125 -0
- package/dist/components/codemirror/Codemirror.vue.d.ts +75 -0
- package/dist/components/codemirror/index.d.ts +1 -0
- package/dist/components/dialog/Dialog.vue.d.ts +143 -0
- package/dist/components/dialog/DialogProvider.vue.d.ts +156 -0
- package/dist/components/dialog/interface.d.ts +2 -0
- package/dist/components/header/PageHeader.vue.d.ts +2 -0
- package/dist/components/input/Input.vue.d.ts +56 -0
- package/dist/components/menu/Menu.vue.d.ts +16 -0
- package/dist/components/menu/MenuItem.vue.d.ts +55 -0
- package/dist/components/menu/MenuLabel.vue.d.ts +2 -0
- package/dist/components/modal/Modal.vue.d.ts +79 -0
- package/dist/components/radio/Radio.vue.d.ts +53 -0
- package/dist/components/radio/RadioGroup.vue.d.ts +112 -0
- package/dist/components/select/Option.vue.d.ts +2 -0
- package/dist/components/select/Select.vue.d.ts +56 -0
- package/dist/components/space/Space.vue.d.ts +47 -0
- package/dist/components/switch/Switch.vue.d.ts +28 -0
- package/dist/components/tabs/TabItem.vue.d.ts +28 -0
- package/dist/components/tabs/Tabbar.vue.d.ts +84 -0
- package/dist/components/tabs/Tabs.vue.d.ts +165 -0
- package/dist/components/tag/Tag.vue.d.ts +36 -0
- package/dist/components/textarea/Textarea.vue.d.ts +9 -1
- package/dist/components.d.ts +1 -0
- package/dist/halo-components.es.js +15709 -4601
- package/dist/halo-components.es.js.map +1 -1
- package/dist/halo-components.iife.js +13 -2
- package/dist/halo-components.iife.js.map +1 -1
- package/dist/icons/icons.d.ts +3 -1
- package/dist/style.css +1 -1
- package/package.json +13 -5
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { Component } from "vue";
|
|
2
|
+
import type { Type } from "./interface";
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
type: {
|
|
5
|
+
type: any;
|
|
6
|
+
required: false;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
required: false;
|
|
12
|
+
};
|
|
13
|
+
description: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
required: false;
|
|
16
|
+
};
|
|
17
|
+
closable: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
required: false;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
TypeIcons: Record<Type, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
|
|
24
|
+
props: {
|
|
25
|
+
type: Type;
|
|
26
|
+
title?: string;
|
|
27
|
+
description?: string;
|
|
28
|
+
closable: boolean;
|
|
29
|
+
};
|
|
30
|
+
emit: (event: "close") => void;
|
|
31
|
+
classes: import("vue").ComputedRef<string[]>;
|
|
32
|
+
handleClose: () => void;
|
|
33
|
+
IconClose: any;
|
|
34
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
type: {
|
|
36
|
+
type: any;
|
|
37
|
+
required: false;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
title: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
required: false;
|
|
43
|
+
};
|
|
44
|
+
description: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
required: false;
|
|
47
|
+
};
|
|
48
|
+
closable: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
required: false;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
}>> & {
|
|
54
|
+
onClose?: (...args: any[]) => any;
|
|
55
|
+
}, {
|
|
56
|
+
type: any;
|
|
57
|
+
closable: boolean;
|
|
58
|
+
}>;
|
|
59
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type { RouteLocationRaw } from "vue-router";
|
|
2
|
+
import type { Size, Type } from "./interface";
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
type: {
|
|
5
|
+
type: any;
|
|
6
|
+
required: false;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
size: {
|
|
10
|
+
type: any;
|
|
11
|
+
required: false;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
circle: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
required: false;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
block: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
required: false;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
disabled: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
required: false;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
loading: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
required: false;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
route: {
|
|
35
|
+
type: any;
|
|
36
|
+
required: false;
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
props: {
|
|
40
|
+
type: Type;
|
|
41
|
+
size: Size;
|
|
42
|
+
circle: boolean;
|
|
43
|
+
block: boolean;
|
|
44
|
+
disabled: boolean;
|
|
45
|
+
loading: boolean;
|
|
46
|
+
route?: RouteLocationRaw;
|
|
47
|
+
};
|
|
48
|
+
router: import("vue-router").Router;
|
|
49
|
+
emit: (event: "click") => void;
|
|
50
|
+
classes: import("vue").ComputedRef<(string | {
|
|
51
|
+
"btn-circle": boolean;
|
|
52
|
+
"btn-block"?: undefined;
|
|
53
|
+
"btn-loading"?: undefined;
|
|
54
|
+
} | {
|
|
55
|
+
"btn-block": boolean;
|
|
56
|
+
"btn-circle"?: undefined;
|
|
57
|
+
"btn-loading"?: undefined;
|
|
58
|
+
} | {
|
|
59
|
+
"btn-loading": boolean;
|
|
60
|
+
"btn-circle"?: undefined;
|
|
61
|
+
"btn-block"?: undefined;
|
|
62
|
+
})[]>;
|
|
63
|
+
handleClick: () => void;
|
|
64
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
65
|
+
type: {
|
|
66
|
+
type: any;
|
|
67
|
+
required: false;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
size: {
|
|
71
|
+
type: any;
|
|
72
|
+
required: false;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
circle: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
required: false;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
block: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
required: false;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
disabled: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
required: false;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
loading: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
required: false;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
route: {
|
|
96
|
+
type: any;
|
|
97
|
+
required: false;
|
|
98
|
+
};
|
|
99
|
+
}>> & {
|
|
100
|
+
onClick?: (...args: any[]) => any;
|
|
101
|
+
}, {
|
|
102
|
+
type: any;
|
|
103
|
+
size: any;
|
|
104
|
+
circle: boolean;
|
|
105
|
+
block: boolean;
|
|
106
|
+
disabled: boolean;
|
|
107
|
+
loading: boolean;
|
|
108
|
+
route: any;
|
|
109
|
+
}>;
|
|
110
|
+
export default _sfc_main;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import type { PropType } from "vue";
|
|
2
1
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
2
|
title: {
|
|
4
3
|
type: StringConstructor;
|
|
4
|
+
required: false;
|
|
5
5
|
};
|
|
6
6
|
bodyClass: {
|
|
7
|
-
type:
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
required: false;
|
|
8
9
|
};
|
|
9
10
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
11
|
title: {
|
|
11
12
|
type: StringConstructor;
|
|
13
|
+
required: false;
|
|
12
14
|
};
|
|
13
15
|
bodyClass: {
|
|
14
|
-
type:
|
|
16
|
+
type: ArrayConstructor;
|
|
17
|
+
required: false;
|
|
15
18
|
};
|
|
16
19
|
}>>, {}>;
|
|
17
20
|
export default _sfc_main;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
checked: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
value: {
|
|
8
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
9
|
+
required: false;
|
|
10
|
+
};
|
|
11
|
+
label: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: false;
|
|
14
|
+
};
|
|
15
|
+
name: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: false;
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
20
|
+
props: {
|
|
21
|
+
checked: boolean;
|
|
22
|
+
value?: string | number | boolean;
|
|
23
|
+
label?: string;
|
|
24
|
+
name?: string;
|
|
25
|
+
};
|
|
26
|
+
id: string;
|
|
27
|
+
emit: {
|
|
28
|
+
(event: "update:checked", value: boolean): void;
|
|
29
|
+
(event: "change", value: Event): void;
|
|
30
|
+
};
|
|
31
|
+
handleChange: (e: Event) => void;
|
|
32
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:checked" | "change")[], "update:checked" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
checked: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
required: false;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
value: {
|
|
39
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
40
|
+
required: false;
|
|
41
|
+
};
|
|
42
|
+
label: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
required: false;
|
|
45
|
+
};
|
|
46
|
+
name: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
required: false;
|
|
49
|
+
};
|
|
50
|
+
}>> & {
|
|
51
|
+
"onUpdate:checked"?: (...args: any[]) => any;
|
|
52
|
+
onChange?: (...args: any[]) => any;
|
|
53
|
+
}, {
|
|
54
|
+
checked: boolean;
|
|
55
|
+
}>;
|
|
56
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
default: () => any[];
|
|
6
|
+
};
|
|
7
|
+
options: {
|
|
8
|
+
type: ArrayConstructor;
|
|
9
|
+
required: false;
|
|
10
|
+
};
|
|
11
|
+
valueKey: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: false;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
labelKey: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
required: false;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
name: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: false;
|
|
24
|
+
};
|
|
25
|
+
}, {
|
|
26
|
+
props: {
|
|
27
|
+
modelValue: string[];
|
|
28
|
+
options?: Array<Record<string, string>>;
|
|
29
|
+
valueKey: string;
|
|
30
|
+
labelKey: string;
|
|
31
|
+
name?: string;
|
|
32
|
+
};
|
|
33
|
+
emit: {
|
|
34
|
+
(event: "update:modelValue", value: string[]): void;
|
|
35
|
+
(event: "change", value: string[]): void;
|
|
36
|
+
};
|
|
37
|
+
handleChange: (e: Event) => void;
|
|
38
|
+
VCheckbox: import("vue").DefineComponent<{
|
|
39
|
+
checked: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
required: false;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
value: {
|
|
45
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
46
|
+
required: false;
|
|
47
|
+
};
|
|
48
|
+
label: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
required: false;
|
|
51
|
+
};
|
|
52
|
+
name: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
required: false;
|
|
55
|
+
};
|
|
56
|
+
}, {
|
|
57
|
+
props: {
|
|
58
|
+
checked: boolean;
|
|
59
|
+
value?: string | number | boolean;
|
|
60
|
+
label?: string;
|
|
61
|
+
name?: string;
|
|
62
|
+
};
|
|
63
|
+
id: string;
|
|
64
|
+
emit: {
|
|
65
|
+
(event: "update:checked", value: boolean): void;
|
|
66
|
+
(event: "change", value: Event): void;
|
|
67
|
+
};
|
|
68
|
+
handleChange: (e: Event) => void;
|
|
69
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:checked" | "change")[], "update:checked" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
checked: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
required: false;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
value: {
|
|
76
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
77
|
+
required: false;
|
|
78
|
+
};
|
|
79
|
+
label: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
required: false;
|
|
82
|
+
};
|
|
83
|
+
name: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
required: false;
|
|
86
|
+
};
|
|
87
|
+
}>> & {
|
|
88
|
+
"onUpdate:checked"?: (...args: any[]) => any;
|
|
89
|
+
onChange?: (...args: any[]) => any;
|
|
90
|
+
}, {
|
|
91
|
+
checked: boolean;
|
|
92
|
+
}>;
|
|
93
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
94
|
+
modelValue: {
|
|
95
|
+
type: ArrayConstructor;
|
|
96
|
+
required: false;
|
|
97
|
+
default: () => any[];
|
|
98
|
+
};
|
|
99
|
+
options: {
|
|
100
|
+
type: ArrayConstructor;
|
|
101
|
+
required: false;
|
|
102
|
+
};
|
|
103
|
+
valueKey: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
required: false;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
labelKey: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
required: false;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
name: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
required: false;
|
|
116
|
+
};
|
|
117
|
+
}>> & {
|
|
118
|
+
onChange?: (...args: any[]) => any;
|
|
119
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
120
|
+
}, {
|
|
121
|
+
modelValue: unknown[];
|
|
122
|
+
valueKey: string;
|
|
123
|
+
labelKey: string;
|
|
124
|
+
}>;
|
|
125
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { EditorStateConfig } from "@codemirror/state";
|
|
2
|
+
import { EditorState } from "@codemirror/state";
|
|
3
|
+
import { EditorView } from "@codemirror/view";
|
|
4
|
+
import { StreamLanguage } from "@codemirror/language";
|
|
5
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: false;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
height: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: false;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
language: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
required: false;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
extensions: {
|
|
22
|
+
type: any;
|
|
23
|
+
required: false;
|
|
24
|
+
default: () => any[];
|
|
25
|
+
};
|
|
26
|
+
}, {
|
|
27
|
+
languages: {
|
|
28
|
+
yaml: StreamLanguage<unknown>;
|
|
29
|
+
};
|
|
30
|
+
props: {
|
|
31
|
+
modelValue: string;
|
|
32
|
+
height: string;
|
|
33
|
+
language: "yaml";
|
|
34
|
+
extensions: EditorStateConfig["extensions"];
|
|
35
|
+
};
|
|
36
|
+
emit: {
|
|
37
|
+
(e: "update:modelValue", value: string): void;
|
|
38
|
+
(e: "change", value: string): void;
|
|
39
|
+
};
|
|
40
|
+
customTheme: import("@codemirror/state").Extension;
|
|
41
|
+
wrapper: import("vue").ShallowRef<HTMLDivElement>;
|
|
42
|
+
cmState: import("vue").ShallowRef<EditorState>;
|
|
43
|
+
cmView: import("vue").ShallowRef<EditorView>;
|
|
44
|
+
createCmEditor: () => void;
|
|
45
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
+
modelValue: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
required: false;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
height: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
required: false;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
language: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
required: false;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
extensions: {
|
|
62
|
+
type: any;
|
|
63
|
+
required: false;
|
|
64
|
+
default: () => any[];
|
|
65
|
+
};
|
|
66
|
+
}>> & {
|
|
67
|
+
onChange?: (...args: any[]) => any;
|
|
68
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
69
|
+
}, {
|
|
70
|
+
modelValue: string;
|
|
71
|
+
height: string;
|
|
72
|
+
language: string;
|
|
73
|
+
extensions: any;
|
|
74
|
+
}>;
|
|
75
|
+
export default _sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as VCodemirror } from "./Codemirror.vue";
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
type: {
|
|
3
|
+
type: any;
|
|
4
|
+
required: false;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
title: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: false;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
description: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
confirmText: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
required: false;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
confirmType: {
|
|
23
|
+
type: any;
|
|
24
|
+
required: false;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
cancelText: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
required: false;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
visible: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
required: false;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
onConfirm: {
|
|
38
|
+
type: FunctionConstructor;
|
|
39
|
+
required: false;
|
|
40
|
+
};
|
|
41
|
+
onCancel: {
|
|
42
|
+
type: FunctionConstructor;
|
|
43
|
+
required: false;
|
|
44
|
+
};
|
|
45
|
+
}, {
|
|
46
|
+
props: {
|
|
47
|
+
type: Type;
|
|
48
|
+
title: string;
|
|
49
|
+
description: string;
|
|
50
|
+
confirmText: string;
|
|
51
|
+
confirmType: ButtonType;
|
|
52
|
+
cancelText: string;
|
|
53
|
+
visible: boolean;
|
|
54
|
+
onConfirm?: () => void;
|
|
55
|
+
onCancel?: () => void;
|
|
56
|
+
};
|
|
57
|
+
emit: {
|
|
58
|
+
(event: "update:visible", visible: boolean): void;
|
|
59
|
+
(event: "close"): void;
|
|
60
|
+
};
|
|
61
|
+
icons: {
|
|
62
|
+
success: {
|
|
63
|
+
icon: any;
|
|
64
|
+
color: string;
|
|
65
|
+
};
|
|
66
|
+
info: {
|
|
67
|
+
icon: any;
|
|
68
|
+
color: string;
|
|
69
|
+
};
|
|
70
|
+
warning: {
|
|
71
|
+
icon: any;
|
|
72
|
+
color: string;
|
|
73
|
+
};
|
|
74
|
+
error: {
|
|
75
|
+
icon: any;
|
|
76
|
+
color: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
icon: import("vue").ComputedRef<any>;
|
|
80
|
+
loading: import("vue").Ref<boolean>;
|
|
81
|
+
handleCancel: () => void;
|
|
82
|
+
handleConfirm: () => Promise<void>;
|
|
83
|
+
handleClose: () => void;
|
|
84
|
+
VModal: any;
|
|
85
|
+
VButton: any;
|
|
86
|
+
IconClose: any;
|
|
87
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:visible")[], "close" | "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
88
|
+
type: {
|
|
89
|
+
type: any;
|
|
90
|
+
required: false;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
title: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
required: false;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
description: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
required: false;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
confirmText: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
required: false;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
confirmType: {
|
|
109
|
+
type: any;
|
|
110
|
+
required: false;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
cancelText: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
required: false;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
visible: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
required: false;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
onConfirm: {
|
|
124
|
+
type: FunctionConstructor;
|
|
125
|
+
required: false;
|
|
126
|
+
};
|
|
127
|
+
onCancel: {
|
|
128
|
+
type: FunctionConstructor;
|
|
129
|
+
required: false;
|
|
130
|
+
};
|
|
131
|
+
}>> & {
|
|
132
|
+
onClose?: (...args: any[]) => any;
|
|
133
|
+
"onUpdate:visible"?: (...args: any[]) => any;
|
|
134
|
+
}, {
|
|
135
|
+
type: any;
|
|
136
|
+
title: string;
|
|
137
|
+
description: string;
|
|
138
|
+
confirmText: string;
|
|
139
|
+
confirmType: any;
|
|
140
|
+
cancelText: string;
|
|
141
|
+
visible: boolean;
|
|
142
|
+
}>;
|
|
143
|
+
export default _sfc_main;
|