@halo-dev/components 0.0.0-alpha.3 → 0.0.0-alpha.5
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 +7 -6
- package/dist/components/avatar/Avatar.vue.d.ts +80 -0
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/components/avatar/interface.d.ts +1 -0
- package/dist/components/button/Button.vue.d.ts +3 -11
- package/dist/components/card/Card.vue.d.ts +1 -1
- package/dist/components/checkbox/CheckBox.vue.d.ts +14 -10
- package/dist/components/checkbox/CheckBoxGroup.vue.d.ts +20 -19
- package/dist/components/codemirror/Codemirror.vue.d.ts +2 -8
- package/dist/components/dialog/Dialog.vue.d.ts +9 -13
- 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 +30 -0
- package/dist/components/empty/index.d.ts +1 -0
- package/dist/components/entity/Entity.vue.d.ts +61 -0
- package/dist/components/entity/EntityField.vue.d.ts +42 -0
- package/dist/components/entity/index.d.ts +2 -0
- package/dist/components/header/PageHeader.vue.d.ts +1 -1
- package/dist/components/input/Input.vue.d.ts +7 -7
- package/dist/components/menu/Menu.vue.d.ts +2 -4
- package/dist/components/menu/MenuItem.vue.d.ts +1 -5
- package/dist/components/menu/MenuLabel.vue.d.ts +1 -1
- package/dist/components/menu/index.d.ts +0 -1
- package/dist/components/modal/Modal.vue.d.ts +43 -8
- 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 +10 -6
- package/dist/components/select/Option.vue.d.ts +1 -1
- package/dist/components/select/Select.vue.d.ts +7 -7
- package/dist/components/space/Space.vue.d.ts +3 -8
- package/dist/components/status/StatusDot.vue.d.ts +43 -0
- package/dist/components/status/index.d.ts +1 -0
- package/dist/components/status/interface.d.ts +1 -0
- package/dist/components/switch/Switch.vue.d.ts +1 -3
- package/dist/components/tabs/TabItem.vue.d.ts +2 -5
- package/dist/components/tabs/Tabbar.vue.d.ts +7 -9
- package/dist/components/tabs/Tabs.vue.d.ts +11 -16
- package/dist/components/tag/Tag.vue.d.ts +13 -6
- package/dist/components/textarea/Textarea.vue.d.ts +6 -0
- 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 +5 -0
- package/dist/halo-components.es.js +6253 -8077
- package/dist/halo-components.es.js.map +1 -1
- package/dist/halo-components.iife.js +13 -13
- package/dist/halo-components.iife.js.map +1 -1
- package/dist/icons/icons.d.ts +10 -1
- package/dist/style.css +1 -1
- package/package.json +11 -12
- package/dist/components/dialog/DialogProvider.vue.d.ts +0 -156
- package/dist/components/dialog/use-dialog.d.ts +0 -9
- package/dist/components/menu/RoutesMenu.d.ts +0 -14
- package/dist/components/menu/interface.d.ts +0 -12
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
type: {
|
|
3
|
+
type: any;
|
|
4
|
+
required: false;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
content: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: false;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
duration: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
closable: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
required: false;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
frozenOnHover: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
required: false;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
count: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
required: false;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
onClose: {
|
|
33
|
+
type: FunctionConstructor;
|
|
34
|
+
required: false;
|
|
35
|
+
default: any;
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
props: any;
|
|
39
|
+
timer: import("vue").Ref<any>;
|
|
40
|
+
emit: (event: "close") => void;
|
|
41
|
+
icons: {
|
|
42
|
+
success: {
|
|
43
|
+
icon: any;
|
|
44
|
+
color: string;
|
|
45
|
+
};
|
|
46
|
+
info: {
|
|
47
|
+
icon: any;
|
|
48
|
+
color: string;
|
|
49
|
+
};
|
|
50
|
+
warning: {
|
|
51
|
+
icon: any;
|
|
52
|
+
color: string;
|
|
53
|
+
};
|
|
54
|
+
error: {
|
|
55
|
+
icon: any;
|
|
56
|
+
color: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
icon: import("vue").ComputedRef<{
|
|
60
|
+
icon: any;
|
|
61
|
+
color: string;
|
|
62
|
+
} | {
|
|
63
|
+
icon: any;
|
|
64
|
+
color: string;
|
|
65
|
+
} | {
|
|
66
|
+
icon: any;
|
|
67
|
+
color: string;
|
|
68
|
+
} | {
|
|
69
|
+
icon: any;
|
|
70
|
+
color: string;
|
|
71
|
+
}>;
|
|
72
|
+
createTimer: () => void;
|
|
73
|
+
clearTimer: () => void;
|
|
74
|
+
close: () => void;
|
|
75
|
+
handleMouseEnter: () => void;
|
|
76
|
+
handleMouseLeave: () => void;
|
|
77
|
+
IconClose: any;
|
|
78
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
+
type: {
|
|
80
|
+
type: any;
|
|
81
|
+
required: false;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
content: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
required: false;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
duration: {
|
|
90
|
+
type: NumberConstructor;
|
|
91
|
+
required: false;
|
|
92
|
+
default: number;
|
|
93
|
+
};
|
|
94
|
+
closable: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
required: false;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
frozenOnHover: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
required: false;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
count: {
|
|
105
|
+
type: NumberConstructor;
|
|
106
|
+
required: false;
|
|
107
|
+
default: number;
|
|
108
|
+
};
|
|
109
|
+
onClose: {
|
|
110
|
+
type: FunctionConstructor;
|
|
111
|
+
required: false;
|
|
112
|
+
default: any;
|
|
113
|
+
};
|
|
114
|
+
}>> & {
|
|
115
|
+
onClose?: (...args: any[]) => any;
|
|
116
|
+
}, {
|
|
117
|
+
type: any;
|
|
118
|
+
onClose: Function;
|
|
119
|
+
closable: boolean;
|
|
120
|
+
content: string;
|
|
121
|
+
duration: number;
|
|
122
|
+
frozenOnHover: boolean;
|
|
123
|
+
count: number;
|
|
124
|
+
}>;
|
|
125
|
+
export default _sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Toast } from "./toast-manager";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type VNode } from "vue";
|
|
2
|
+
import type { ToastProps } from "./interface";
|
|
3
|
+
export declare type ToastApiProps = Omit<ToastProps, "type" | "content">;
|
|
4
|
+
export interface ToastInstance {
|
|
5
|
+
id: string;
|
|
6
|
+
vnode: VNode;
|
|
7
|
+
}
|
|
8
|
+
export declare type ToastApi = (content: string, props?: ToastApiProps) => ToastInstance;
|
|
9
|
+
export interface ToastEntry {
|
|
10
|
+
(props: ToastProps): ToastInstance;
|
|
11
|
+
info: ToastApi;
|
|
12
|
+
success: ToastApi;
|
|
13
|
+
error: ToastApi;
|
|
14
|
+
warning: ToastApi;
|
|
15
|
+
}
|
|
16
|
+
declare const toast: ToastEntry;
|
|
17
|
+
export { toast as Toast };
|
package/dist/components.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./components/avatar";
|
|
1
2
|
export * from "./components/alert";
|
|
2
3
|
export * from "./components/button";
|
|
3
4
|
export * from "./components/card";
|
|
@@ -16,3 +17,7 @@ export * from "./components/switch";
|
|
|
16
17
|
export * from "./components/dialog";
|
|
17
18
|
export * from "./components/pagination";
|
|
18
19
|
export * from "./components/codemirror";
|
|
20
|
+
export * from "./components/empty";
|
|
21
|
+
export * from "./components/status";
|
|
22
|
+
export * from "./components/entity";
|
|
23
|
+
export * from "./components/toast";
|