@halo-dev/components 0.0.0-alpha.4 → 0.0.0-alpha.6
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 +2 -7
- package/dist/components/avatar/Avatar.vue.d.ts +8 -14
- package/dist/components/button/Button.vue.d.ts +1 -11
- package/dist/components/checkbox/CheckBox.vue.d.ts +1 -6
- package/dist/components/checkbox/CheckBoxGroup.vue.d.ts +3 -14
- package/dist/components/codemirror/Codemirror.vue.d.ts +11 -14
- package/dist/components/dialog/Dialog.vue.d.ts +6 -16
- package/dist/components/dialog/dialog-manager.d.ts +12 -0
- package/dist/components/dialog/index.d.ts +1 -2
- package/dist/components/dialog/interface.d.ts +11 -0
- package/dist/components/empty/Empty.vue.d.ts +1 -1
- package/dist/components/entity/Entity.vue.d.ts +6 -12
- package/dist/components/input/Input.vue.d.ts +1 -7
- package/dist/components/menu/Menu.vue.d.ts +1 -3
- package/dist/components/menu/MenuItem.vue.d.ts +2 -6
- package/dist/components/menu/index.d.ts +0 -1
- package/dist/components/modal/Modal.vue.d.ts +14 -10
- package/dist/components/pagination/Pagination.vue.d.ts +79 -0
- package/dist/components/radio/Radio.vue.d.ts +1 -6
- package/dist/components/radio/RadioGroup.vue.d.ts +2 -7
- package/dist/components/select/Select.vue.d.ts +1 -7
- package/dist/components/space/Space.vue.d.ts +3 -8
- package/dist/components/status/StatusDot.vue.d.ts +1 -6
- package/dist/components/switch/Switch.vue.d.ts +1 -3
- package/dist/components/tabs/TabItem.vue.d.ts +1 -4
- package/dist/components/tabs/Tabbar.vue.d.ts +1 -9
- package/dist/components/tabs/Tabs.vue.d.ts +3 -17
- package/dist/components/tag/Tag.vue.d.ts +1 -7
- package/dist/components/toast/Toast.vue.d.ts +125 -0
- package/dist/components/toast/index.d.ts +1 -0
- package/dist/components/toast/interface.d.ts +10 -0
- package/dist/components/toast/toast-manager.d.ts +17 -0
- package/dist/components.d.ts +1 -0
- package/dist/halo-components.es.js +8427 -4467
- package/dist/halo-components.es.js.map +1 -1
- package/dist/halo-components.iife.js +25 -12
- package/dist/halo-components.iife.js.map +1 -1
- package/dist/icons/icons.d.ts +5 -1
- package/dist/style.css +1 -1
- package/package.json +16 -12
- package/dist/components/dialog/DialogProvider.vue.d.ts +0 -162
- package/dist/components/dialog/use-dialog.d.ts +0 -9
- package/dist/components/menu/RoutesMenu.d.ts +0 -16
- package/dist/components/menu/interface.d.ts +0 -12
|
@@ -23,16 +23,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
23
23
|
};
|
|
24
24
|
}, {
|
|
25
25
|
TypeIcons: Record<Type, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
|
|
26
|
-
props:
|
|
27
|
-
type: Type;
|
|
28
|
-
title: string;
|
|
29
|
-
description: string;
|
|
30
|
-
closable: boolean;
|
|
31
|
-
};
|
|
26
|
+
props: any;
|
|
32
27
|
emit: (event: "close") => void;
|
|
33
28
|
classes: import("vue").ComputedRef<string[]>;
|
|
34
29
|
handleClose: () => void;
|
|
35
|
-
IconClose: any;
|
|
30
|
+
readonly IconClose: any;
|
|
36
31
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
32
|
type: {
|
|
38
33
|
type: any;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { Size } from "./interface";
|
|
2
1
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
2
|
src: {
|
|
4
3
|
type: StringConstructor;
|
|
@@ -13,7 +12,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
13
12
|
size: {
|
|
14
13
|
type: any;
|
|
15
14
|
required: false;
|
|
16
|
-
default:
|
|
15
|
+
default: string;
|
|
17
16
|
};
|
|
18
17
|
width: {
|
|
19
18
|
type: StringConstructor;
|
|
@@ -31,19 +30,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
31
30
|
default: boolean;
|
|
32
31
|
};
|
|
33
32
|
}, {
|
|
34
|
-
props:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
width: string;
|
|
39
|
-
height: string;
|
|
40
|
-
circle: boolean;
|
|
41
|
-
};
|
|
33
|
+
props: any;
|
|
34
|
+
isLoading: import("vue").Ref<boolean>;
|
|
35
|
+
error: import("vue").Ref<boolean>;
|
|
36
|
+
loadImage: () => Promise<unknown>;
|
|
42
37
|
classes: import("vue").ComputedRef<string[]>;
|
|
43
38
|
styles: import("vue").ComputedRef<Record<string, string>>;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
IconUserLine: any;
|
|
39
|
+
placeholderText: import("vue").ComputedRef<string>;
|
|
40
|
+
readonly IconErrorWarning: any;
|
|
47
41
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
42
|
src: {
|
|
49
43
|
type: StringConstructor;
|
|
@@ -58,7 +52,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
58
52
|
size: {
|
|
59
53
|
type: any;
|
|
60
54
|
required: false;
|
|
61
|
-
default:
|
|
55
|
+
default: string;
|
|
62
56
|
};
|
|
63
57
|
width: {
|
|
64
58
|
type: StringConstructor;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import type { RouteLocationRaw } from "vue-router";
|
|
2
|
-
import type { Size, Type } from "./interface";
|
|
3
1
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
2
|
type: {
|
|
5
3
|
type: any;
|
|
@@ -37,15 +35,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
37
35
|
default: any;
|
|
38
36
|
};
|
|
39
37
|
}, {
|
|
40
|
-
props:
|
|
41
|
-
type: Type;
|
|
42
|
-
size: Size;
|
|
43
|
-
circle: boolean;
|
|
44
|
-
block: boolean;
|
|
45
|
-
disabled: boolean;
|
|
46
|
-
loading: boolean;
|
|
47
|
-
route: RouteLocationRaw | undefined;
|
|
48
|
-
};
|
|
38
|
+
props: any;
|
|
49
39
|
router: import("vue-router").Router;
|
|
50
40
|
emit: (event: "click") => void;
|
|
51
41
|
classes: import("vue").ComputedRef<(string | {
|
|
@@ -20,12 +20,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
20
20
|
default: any;
|
|
21
21
|
};
|
|
22
22
|
}, {
|
|
23
|
-
props:
|
|
24
|
-
checked: boolean;
|
|
25
|
-
value: string | number | boolean | undefined;
|
|
26
|
-
label: string | undefined;
|
|
27
|
-
name: string | undefined;
|
|
28
|
-
};
|
|
23
|
+
props: any;
|
|
29
24
|
id: string;
|
|
30
25
|
emit: {
|
|
31
26
|
(event: "update:checked", value: boolean): void;
|
|
@@ -24,19 +24,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
24
24
|
default: any;
|
|
25
25
|
};
|
|
26
26
|
}, {
|
|
27
|
-
props:
|
|
28
|
-
modelValue: string[];
|
|
29
|
-
options: Array<Record<string, string>>;
|
|
30
|
-
valueKey: string;
|
|
31
|
-
labelKey: string;
|
|
32
|
-
name: string;
|
|
33
|
-
};
|
|
27
|
+
props: any;
|
|
34
28
|
emit: {
|
|
35
29
|
(event: "update:modelValue", value: string[]): void;
|
|
36
30
|
(event: "change", value: string[]): void;
|
|
37
31
|
};
|
|
38
32
|
handleChange: (e: Event) => void;
|
|
39
|
-
VCheckbox: import("vue").DefineComponent<{
|
|
33
|
+
readonly VCheckbox: import("vue").DefineComponent<{
|
|
40
34
|
checked: {
|
|
41
35
|
type: BooleanConstructor;
|
|
42
36
|
required: false;
|
|
@@ -58,12 +52,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
58
52
|
default: any;
|
|
59
53
|
};
|
|
60
54
|
}, {
|
|
61
|
-
props:
|
|
62
|
-
checked: boolean;
|
|
63
|
-
value: string | number | boolean;
|
|
64
|
-
label: string;
|
|
65
|
-
name: string;
|
|
66
|
-
};
|
|
55
|
+
props: any;
|
|
67
56
|
id: string;
|
|
68
57
|
emit: {
|
|
69
58
|
(event: "update:checked", value: boolean): void;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type { EditorStateConfig } from "@codemirror/state";
|
|
2
1
|
import { EditorState } from "@codemirror/state";
|
|
3
2
|
import { EditorView } from "@codemirror/view";
|
|
4
|
-
import { StreamLanguage } from "@codemirror/language";
|
|
3
|
+
import { LanguageSupport, StreamLanguage } from "@codemirror/language";
|
|
5
4
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
6
5
|
modelValue: {
|
|
7
6
|
type: StringConstructor;
|
|
@@ -14,8 +13,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
14
13
|
default: string;
|
|
15
14
|
};
|
|
16
15
|
language: {
|
|
17
|
-
type:
|
|
18
|
-
required:
|
|
16
|
+
type: any;
|
|
17
|
+
required: true;
|
|
19
18
|
default: string;
|
|
20
19
|
};
|
|
21
20
|
extensions: {
|
|
@@ -24,15 +23,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
24
23
|
default: () => any[];
|
|
25
24
|
};
|
|
26
25
|
}, {
|
|
27
|
-
|
|
26
|
+
presetLanguages: {
|
|
28
27
|
yaml: StreamLanguage<unknown>;
|
|
28
|
+
html: LanguageSupport;
|
|
29
|
+
javascript: LanguageSupport;
|
|
30
|
+
css: LanguageSupport;
|
|
31
|
+
json: LanguageSupport;
|
|
29
32
|
};
|
|
30
|
-
props:
|
|
31
|
-
modelValue: string;
|
|
32
|
-
height: string;
|
|
33
|
-
language: "yaml";
|
|
34
|
-
extensions: EditorStateConfig["extensions"];
|
|
35
|
-
};
|
|
33
|
+
props: any;
|
|
36
34
|
emit: {
|
|
37
35
|
(e: "update:modelValue", value: string): void;
|
|
38
36
|
(e: "change", value: string): void;
|
|
@@ -54,8 +52,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
54
52
|
default: string;
|
|
55
53
|
};
|
|
56
54
|
language: {
|
|
57
|
-
type:
|
|
58
|
-
required:
|
|
55
|
+
type: any;
|
|
56
|
+
required: true;
|
|
59
57
|
default: string;
|
|
60
58
|
};
|
|
61
59
|
extensions: {
|
|
@@ -69,7 +67,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
69
67
|
}, {
|
|
70
68
|
height: string;
|
|
71
69
|
modelValue: string;
|
|
72
|
-
language: string;
|
|
73
70
|
extensions: any;
|
|
74
71
|
}>;
|
|
75
72
|
export default _sfc_main;
|
|
@@ -45,17 +45,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
45
45
|
default: () => void;
|
|
46
46
|
};
|
|
47
47
|
}, {
|
|
48
|
-
props:
|
|
49
|
-
type: Type;
|
|
50
|
-
title: string;
|
|
51
|
-
description: string;
|
|
52
|
-
confirmText: string;
|
|
53
|
-
confirmType: ButtonType;
|
|
54
|
-
cancelText: string;
|
|
55
|
-
visible: boolean;
|
|
56
|
-
onConfirm: () => void;
|
|
57
|
-
onCancel: () => void;
|
|
58
|
-
};
|
|
48
|
+
props: any;
|
|
59
49
|
emit: {
|
|
60
50
|
(event: "update:visible", visible: boolean): void;
|
|
61
51
|
(event: "close"): void;
|
|
@@ -83,9 +73,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
83
73
|
handleCancel: () => void;
|
|
84
74
|
handleConfirm: () => Promise<void>;
|
|
85
75
|
handleClose: () => void;
|
|
86
|
-
VModal: any;
|
|
87
|
-
VButton: any;
|
|
88
|
-
IconClose: any;
|
|
76
|
+
readonly VModal: any;
|
|
77
|
+
readonly VButton: any;
|
|
78
|
+
readonly IconClose: any;
|
|
89
79
|
}, 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<{
|
|
90
80
|
type: {
|
|
91
81
|
type: any;
|
|
@@ -139,10 +129,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
139
129
|
type: any;
|
|
140
130
|
title: string;
|
|
141
131
|
description: string;
|
|
142
|
-
|
|
132
|
+
visible: boolean;
|
|
143
133
|
confirmType: any;
|
|
134
|
+
confirmText: string;
|
|
144
135
|
cancelText: string;
|
|
145
|
-
visible: boolean;
|
|
146
136
|
onConfirm: Function;
|
|
147
137
|
onCancel: Function;
|
|
148
138
|
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { DialogProps } from "./interface";
|
|
2
|
+
export declare type DialogApiProps = Omit<DialogProps, "type" | "visible">;
|
|
3
|
+
export declare type DialogApi = (props?: DialogApiProps) => void;
|
|
4
|
+
export interface DialogEntry {
|
|
5
|
+
(props: DialogProps): void;
|
|
6
|
+
info: DialogApi;
|
|
7
|
+
success: DialogApi;
|
|
8
|
+
error: DialogApi;
|
|
9
|
+
warning: DialogApi;
|
|
10
|
+
}
|
|
11
|
+
declare const dialog: DialogEntry;
|
|
12
|
+
export { dialog as Dialog };
|
|
@@ -12,4 +12,15 @@ export interface useDialogOptions {
|
|
|
12
12
|
onConfirm?: () => void;
|
|
13
13
|
onCancel?: () => void;
|
|
14
14
|
}
|
|
15
|
+
export interface DialogProps {
|
|
16
|
+
type?: Type;
|
|
17
|
+
visible?: boolean;
|
|
18
|
+
title?: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
confirmType?: ButtonType;
|
|
21
|
+
confirmText?: string;
|
|
22
|
+
cancelText?: string;
|
|
23
|
+
onConfirm?: () => void;
|
|
24
|
+
onCancel?: () => void;
|
|
25
|
+
}
|
|
15
26
|
export declare type useDialogUserOptions = Omit<useDialogOptions, "type" | "visible">;
|
|
@@ -12,7 +12,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
12
12
|
required: false;
|
|
13
13
|
};
|
|
14
14
|
}, {
|
|
15
|
-
Empty: string;
|
|
15
|
+
readonly Empty: string;
|
|
16
16
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
title: {
|
|
18
18
|
type: StringConstructor;
|
|
@@ -5,11 +5,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
5
5
|
default: boolean;
|
|
6
6
|
};
|
|
7
7
|
}, {
|
|
8
|
-
props:
|
|
9
|
-
isSelected: boolean;
|
|
10
|
-
};
|
|
8
|
+
props: any;
|
|
11
9
|
classes: import("vue").ComputedRef<any[]>;
|
|
12
|
-
VSpace: import("vue").DefineComponent<{
|
|
10
|
+
readonly VSpace: import("vue").DefineComponent<{
|
|
13
11
|
spacing: {
|
|
14
12
|
type: any;
|
|
15
13
|
required: false;
|
|
@@ -26,13 +24,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
26
24
|
default: string;
|
|
27
25
|
};
|
|
28
26
|
}, {
|
|
29
|
-
props:
|
|
30
|
-
spacing: import("../space/interface").Spacing;
|
|
31
|
-
direction: import("../space/interface").Direction;
|
|
32
|
-
align: import("../space/interface").Align;
|
|
33
|
-
};
|
|
27
|
+
props: any;
|
|
34
28
|
wrapperClasses: import("vue").ComputedRef<string[]>;
|
|
35
|
-
SpacingSize: Record<string, number>;
|
|
29
|
+
readonly SpacingSize: Record<string, number>;
|
|
36
30
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
31
|
spacing: {
|
|
38
32
|
type: any;
|
|
@@ -50,11 +44,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
50
44
|
default: string;
|
|
51
45
|
};
|
|
52
46
|
}>>, {
|
|
47
|
+
align: any;
|
|
53
48
|
spacing: any;
|
|
54
49
|
direction: any;
|
|
55
|
-
align: any;
|
|
56
50
|
}>;
|
|
57
|
-
IconMore: any;
|
|
51
|
+
readonly IconMore: any;
|
|
58
52
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
53
|
isSelected: {
|
|
60
54
|
type: BooleanConstructor;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { Size } from "./interface";
|
|
2
1
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
2
|
modelValue: {
|
|
4
3
|
type: StringConstructor;
|
|
@@ -21,12 +20,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
21
20
|
default: any;
|
|
22
21
|
};
|
|
23
22
|
}, {
|
|
24
|
-
props:
|
|
25
|
-
modelValue: string;
|
|
26
|
-
size: Size;
|
|
27
|
-
disabled: boolean;
|
|
28
|
-
placeholder: string;
|
|
29
|
-
};
|
|
23
|
+
props: any;
|
|
30
24
|
emit: (event: "update:modelValue", value: string) => void;
|
|
31
25
|
classes: import("vue").ComputedRef<string[]>;
|
|
32
26
|
handleInput: (e: Event) => void;
|
|
@@ -4,9 +4,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
4
4
|
required: false;
|
|
5
5
|
};
|
|
6
6
|
}, {
|
|
7
|
-
props:
|
|
8
|
-
openIds?: string[];
|
|
9
|
-
};
|
|
7
|
+
props: any;
|
|
10
8
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
9
|
openIds: {
|
|
12
10
|
type: ArrayConstructor;
|
|
@@ -15,11 +15,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
15
15
|
default: boolean;
|
|
16
16
|
};
|
|
17
17
|
}, {
|
|
18
|
-
props:
|
|
19
|
-
id: string;
|
|
20
|
-
title: string;
|
|
21
|
-
active: boolean;
|
|
22
|
-
};
|
|
18
|
+
props: any;
|
|
23
19
|
emit: (event: "select", id: string) => void;
|
|
24
20
|
slots: Readonly<{
|
|
25
21
|
[name: string]: import("vue").Slot;
|
|
@@ -28,7 +24,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
28
24
|
openIds: string[];
|
|
29
25
|
hasSubmenus: import("vue").ComputedRef<boolean>;
|
|
30
26
|
handleClick: () => void;
|
|
31
|
-
IconArrowRight: any;
|
|
27
|
+
readonly IconArrowRight: any;
|
|
32
28
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
29
|
id: {
|
|
34
30
|
type: StringConstructor;
|
|
@@ -34,16 +34,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
34
34
|
required: false;
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
width: number;
|
|
42
|
-
height: string;
|
|
43
|
-
fullscreen: boolean;
|
|
44
|
-
bodyClass: string[];
|
|
45
|
-
mountToBody: boolean;
|
|
37
|
+
centered: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
required: false;
|
|
40
|
+
default: boolean;
|
|
46
41
|
};
|
|
42
|
+
}, {
|
|
43
|
+
props: any;
|
|
47
44
|
emit: {
|
|
48
45
|
(event: "update:visible", value: boolean): void;
|
|
49
46
|
(event: "close"): void;
|
|
@@ -52,13 +49,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
52
49
|
modelWrapper: import("vue").Ref<HTMLElement>;
|
|
53
50
|
wrapperClasses: import("vue").ComputedRef<{
|
|
54
51
|
"modal-wrapper-fullscreen": boolean;
|
|
52
|
+
"modal-wrapper-centered": boolean;
|
|
55
53
|
}>;
|
|
56
54
|
contentStyles: import("vue").ComputedRef<{
|
|
57
55
|
maxWidth: string;
|
|
58
56
|
height: string;
|
|
59
57
|
}>;
|
|
60
58
|
handleClose: () => void;
|
|
61
|
-
IconClose: any;
|
|
59
|
+
readonly IconClose: any;
|
|
62
60
|
}, 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<{
|
|
63
61
|
visible: {
|
|
64
62
|
type: BooleanConstructor;
|
|
@@ -95,6 +93,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
95
93
|
required: false;
|
|
96
94
|
default: boolean;
|
|
97
95
|
};
|
|
96
|
+
centered: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
required: false;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
98
101
|
}>> & {
|
|
99
102
|
onClose?: (...args: any[]) => any;
|
|
100
103
|
"onUpdate:visible"?: (...args: any[]) => any;
|
|
@@ -106,5 +109,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
106
109
|
visible: boolean;
|
|
107
110
|
fullscreen: boolean;
|
|
108
111
|
mountToBody: boolean;
|
|
112
|
+
centered: boolean;
|
|
109
113
|
}>;
|
|
110
114
|
export default _sfc_main;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
page: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
size: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
required: false;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
total: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
sizeOptions: {
|
|
18
|
+
type: ArrayConstructor;
|
|
19
|
+
required: false;
|
|
20
|
+
default: () => number[];
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
props: any;
|
|
24
|
+
page: import("vue").Ref<number>;
|
|
25
|
+
size: import("vue").Ref<number>;
|
|
26
|
+
total: import("vue").Ref<number>;
|
|
27
|
+
emit: {
|
|
28
|
+
(event: "update:page", page: number): void;
|
|
29
|
+
(event: "update:size", size: number): void;
|
|
30
|
+
(event: "change", value: {
|
|
31
|
+
page: number;
|
|
32
|
+
size: number;
|
|
33
|
+
}): void;
|
|
34
|
+
};
|
|
35
|
+
onPageChange: ({ currentPage, currentPageSize, }: {
|
|
36
|
+
currentPage: number;
|
|
37
|
+
currentPageSize: number;
|
|
38
|
+
}) => void;
|
|
39
|
+
currentPage: import("vue").Ref<number>;
|
|
40
|
+
currentPageSize: import("vue").Ref<number>;
|
|
41
|
+
pageCount: import("vue").ComputedRef<number>;
|
|
42
|
+
isFirstPage: import("vue").ComputedRef<boolean>;
|
|
43
|
+
isLastPage: import("vue").ComputedRef<boolean>;
|
|
44
|
+
prev: () => void;
|
|
45
|
+
next: () => void;
|
|
46
|
+
readonly IconArrowLeft: any;
|
|
47
|
+
readonly IconArrowRight: any;
|
|
48
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:page" | "update:size")[], "change" | "update:page" | "update:size", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
page: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
required: false;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
54
|
+
size: {
|
|
55
|
+
type: NumberConstructor;
|
|
56
|
+
required: false;
|
|
57
|
+
default: number;
|
|
58
|
+
};
|
|
59
|
+
total: {
|
|
60
|
+
type: NumberConstructor;
|
|
61
|
+
required: false;
|
|
62
|
+
default: number;
|
|
63
|
+
};
|
|
64
|
+
sizeOptions: {
|
|
65
|
+
type: ArrayConstructor;
|
|
66
|
+
required: false;
|
|
67
|
+
default: () => number[];
|
|
68
|
+
};
|
|
69
|
+
}>> & {
|
|
70
|
+
onChange?: (...args: any[]) => any;
|
|
71
|
+
"onUpdate:page"?: (...args: any[]) => any;
|
|
72
|
+
"onUpdate:size"?: (...args: any[]) => any;
|
|
73
|
+
}, {
|
|
74
|
+
size: number;
|
|
75
|
+
page: number;
|
|
76
|
+
total: number;
|
|
77
|
+
sizeOptions: unknown[];
|
|
78
|
+
}>;
|
|
79
|
+
export default _sfc_main;
|
|
@@ -16,12 +16,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
16
16
|
required: false;
|
|
17
17
|
};
|
|
18
18
|
}, {
|
|
19
|
-
props:
|
|
20
|
-
modelValue?: string | number | boolean;
|
|
21
|
-
value?: string | number | boolean;
|
|
22
|
-
label?: string;
|
|
23
|
-
name?: string;
|
|
24
|
-
};
|
|
19
|
+
props: any;
|
|
25
20
|
emit: {
|
|
26
21
|
(event: "update:modelValue", value: string | number | boolean): void;
|
|
27
22
|
(event: "change", value: string | number | boolean): void;
|
|
@@ -30,7 +30,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
30
30
|
(event: "change", value: string | number | boolean): void;
|
|
31
31
|
};
|
|
32
32
|
handleChange: (value: string | number | boolean) => void;
|
|
33
|
-
VRadio: import("vue").DefineComponent<{
|
|
33
|
+
readonly VRadio: import("vue").DefineComponent<{
|
|
34
34
|
modelValue: {
|
|
35
35
|
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
36
36
|
required: false;
|
|
@@ -48,12 +48,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
48
48
|
required: false;
|
|
49
49
|
};
|
|
50
50
|
}, {
|
|
51
|
-
props:
|
|
52
|
-
modelValue?: string | number | boolean;
|
|
53
|
-
value?: string | number | boolean;
|
|
54
|
-
label?: string;
|
|
55
|
-
name?: string;
|
|
56
|
-
};
|
|
51
|
+
props: any;
|
|
57
52
|
emit: {
|
|
58
53
|
(event: "update:modelValue", value: string | number | boolean): void;
|
|
59
54
|
(event: "change", value: string | number | boolean): void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { Size } from "./interface";
|
|
2
1
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
2
|
modelValue: {
|
|
4
3
|
type: StringConstructor;
|
|
@@ -21,12 +20,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
21
20
|
default: any;
|
|
22
21
|
};
|
|
23
22
|
}, {
|
|
24
|
-
props:
|
|
25
|
-
modelValue: string;
|
|
26
|
-
size: Size;
|
|
27
|
-
disabled: boolean;
|
|
28
|
-
placeholder: string;
|
|
29
|
-
};
|
|
23
|
+
props: any;
|
|
30
24
|
emit: (event: "update:modelValue", value: string) => void;
|
|
31
25
|
classes: import("vue").ComputedRef<string[]>;
|
|
32
26
|
handleChange: (e: Event) => void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { Align, Direction, Spacing } from "./interface";
|
|
2
1
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
2
|
spacing: {
|
|
4
3
|
type: any;
|
|
@@ -16,13 +15,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
16
15
|
default: string;
|
|
17
16
|
};
|
|
18
17
|
}, {
|
|
19
|
-
props:
|
|
20
|
-
spacing: Spacing;
|
|
21
|
-
direction: Direction;
|
|
22
|
-
align: Align;
|
|
23
|
-
};
|
|
18
|
+
props: any;
|
|
24
19
|
wrapperClasses: import("vue").ComputedRef<string[]>;
|
|
25
|
-
SpacingSize: Record<string, number>;
|
|
20
|
+
readonly SpacingSize: Record<string, number>;
|
|
26
21
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
22
|
spacing: {
|
|
28
23
|
type: any;
|
|
@@ -40,8 +35,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
40
35
|
default: string;
|
|
41
36
|
};
|
|
42
37
|
}>>, {
|
|
38
|
+
align: any;
|
|
43
39
|
spacing: any;
|
|
44
40
|
direction: any;
|
|
45
|
-
align: any;
|
|
46
41
|
}>;
|
|
47
42
|
export default _sfc_main;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { State } from "./interface";
|
|
2
1
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
2
|
state: {
|
|
4
3
|
type: any;
|
|
@@ -16,11 +15,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
16
15
|
default: any;
|
|
17
16
|
};
|
|
18
17
|
}, {
|
|
19
|
-
props:
|
|
20
|
-
state: State;
|
|
21
|
-
animate: boolean;
|
|
22
|
-
text: string;
|
|
23
|
-
};
|
|
18
|
+
props: any;
|
|
24
19
|
classes: import("vue").ComputedRef<(string | {
|
|
25
20
|
"status-dot-animate": boolean;
|
|
26
21
|
})[]>;
|
|
@@ -9,10 +9,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
9
9
|
required: false;
|
|
10
10
|
};
|
|
11
11
|
}, {
|
|
12
|
-
props:
|
|
13
|
-
id?: string;
|
|
14
|
-
label?: string;
|
|
15
|
-
};
|
|
12
|
+
props: any;
|
|
16
13
|
activeId: ComputedRef<string | number>;
|
|
17
14
|
isActive: ComputedRef<boolean>;
|
|
18
15
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|