@halo-dev/components 0.0.0-alpha.5 → 0.0.0-alpha.7
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 +1 -1
- package/dist/components/avatar/Avatar.vue.d.ts +1 -1
- package/dist/components/checkbox/CheckBoxGroup.vue.d.ts +1 -1
- package/dist/components/codemirror/Codemirror.vue.d.ts +10 -7
- package/dist/components/dialog/Dialog.vue.d.ts +215 -3
- package/dist/components/empty/Empty.vue.d.ts +1 -1
- package/dist/components/entity/Entity.vue.d.ts +3 -3
- package/dist/components/menu/MenuItem.vue.d.ts +1 -1
- package/dist/components/modal/Modal.vue.d.ts +1 -1
- package/dist/components/pagination/Pagination.vue.d.ts +2 -2
- package/dist/components/radio/RadioGroup.vue.d.ts +1 -1
- package/dist/components/space/Space.vue.d.ts +1 -1
- package/dist/components/tabs/Tabs.vue.d.ts +1 -1
- package/dist/components/toast/Toast.vue.d.ts +1 -1
- package/dist/halo-components.es.js +9846 -6112
- package/dist/halo-components.es.js.map +1 -1
- package/dist/halo-components.iife.js +26 -13
- package/dist/halo-components.iife.js.map +1 -1
- package/dist/icons/icons.d.ts +7 -1
- package/dist/style.css +1 -1
- package/package.json +14 -10
|
@@ -27,7 +27,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
27
27
|
emit: (event: "close") => void;
|
|
28
28
|
classes: import("vue").ComputedRef<string[]>;
|
|
29
29
|
handleClose: () => void;
|
|
30
|
-
IconClose: any;
|
|
30
|
+
readonly IconClose: any;
|
|
31
31
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
32
|
type: {
|
|
33
33
|
type: any;
|
|
@@ -37,7 +37,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
37
37
|
classes: import("vue").ComputedRef<string[]>;
|
|
38
38
|
styles: import("vue").ComputedRef<Record<string, string>>;
|
|
39
39
|
placeholderText: import("vue").ComputedRef<string>;
|
|
40
|
-
IconErrorWarning: any;
|
|
40
|
+
readonly IconErrorWarning: any;
|
|
41
41
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
42
|
src: {
|
|
43
43
|
type: StringConstructor;
|
|
@@ -30,7 +30,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
30
30
|
(event: "change", value: string[]): void;
|
|
31
31
|
};
|
|
32
32
|
handleChange: (e: Event) => void;
|
|
33
|
-
VCheckbox: import("vue").DefineComponent<{
|
|
33
|
+
readonly VCheckbox: import("vue").DefineComponent<{
|
|
34
34
|
checked: {
|
|
35
35
|
type: BooleanConstructor;
|
|
36
36
|
required: false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditorState } from "@codemirror/state";
|
|
2
2
|
import { EditorView } from "@codemirror/view";
|
|
3
|
-
import { StreamLanguage } from "@codemirror/language";
|
|
3
|
+
import { LanguageSupport, StreamLanguage } from "@codemirror/language";
|
|
4
4
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
5
|
modelValue: {
|
|
6
6
|
type: StringConstructor;
|
|
@@ -13,8 +13,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
language: {
|
|
16
|
-
type:
|
|
17
|
-
required:
|
|
16
|
+
type: any;
|
|
17
|
+
required: true;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
20
|
extensions: {
|
|
@@ -23,8 +23,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
23
23
|
default: () => any[];
|
|
24
24
|
};
|
|
25
25
|
}, {
|
|
26
|
-
|
|
26
|
+
presetLanguages: {
|
|
27
27
|
yaml: StreamLanguage<unknown>;
|
|
28
|
+
html: LanguageSupport;
|
|
29
|
+
javascript: LanguageSupport;
|
|
30
|
+
css: LanguageSupport;
|
|
31
|
+
json: LanguageSupport;
|
|
28
32
|
};
|
|
29
33
|
props: any;
|
|
30
34
|
emit: {
|
|
@@ -48,8 +52,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
48
52
|
default: string;
|
|
49
53
|
};
|
|
50
54
|
language: {
|
|
51
|
-
type:
|
|
52
|
-
required:
|
|
55
|
+
type: any;
|
|
56
|
+
required: true;
|
|
53
57
|
default: string;
|
|
54
58
|
};
|
|
55
59
|
extensions: {
|
|
@@ -63,7 +67,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
63
67
|
}, {
|
|
64
68
|
height: string;
|
|
65
69
|
modelValue: string;
|
|
66
|
-
language: string;
|
|
67
70
|
extensions: any;
|
|
68
71
|
}>;
|
|
69
72
|
export default _sfc_main;
|
|
@@ -73,9 +73,221 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
73
73
|
handleCancel: () => void;
|
|
74
74
|
handleConfirm: () => Promise<void>;
|
|
75
75
|
handleClose: () => void;
|
|
76
|
-
VModal:
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
readonly VModal: import("vue").DefineComponent<{
|
|
77
|
+
visible: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
required: false;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
title: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
required: false;
|
|
85
|
+
default: any;
|
|
86
|
+
};
|
|
87
|
+
width: {
|
|
88
|
+
type: NumberConstructor;
|
|
89
|
+
required: false;
|
|
90
|
+
default: number;
|
|
91
|
+
};
|
|
92
|
+
height: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
required: false;
|
|
95
|
+
default: any;
|
|
96
|
+
};
|
|
97
|
+
fullscreen: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
required: false;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
bodyClass: {
|
|
103
|
+
type: ArrayConstructor;
|
|
104
|
+
required: false;
|
|
105
|
+
default: any;
|
|
106
|
+
};
|
|
107
|
+
mountToBody: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
required: false;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
centered: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
required: false;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
}, {
|
|
118
|
+
props: any;
|
|
119
|
+
emit: {
|
|
120
|
+
(event: "update:visible", value: boolean): void;
|
|
121
|
+
(event: "close"): void;
|
|
122
|
+
};
|
|
123
|
+
rootVisible: import("vue").Ref<boolean>;
|
|
124
|
+
modelWrapper: import("vue").Ref<HTMLElement>;
|
|
125
|
+
wrapperClasses: import("vue").ComputedRef<{
|
|
126
|
+
"modal-wrapper-fullscreen": boolean;
|
|
127
|
+
"modal-wrapper-centered": boolean;
|
|
128
|
+
}>;
|
|
129
|
+
contentStyles: import("vue").ComputedRef<{
|
|
130
|
+
maxWidth: string;
|
|
131
|
+
height: string;
|
|
132
|
+
}>;
|
|
133
|
+
handleClose: () => void;
|
|
134
|
+
readonly IconClose: any;
|
|
135
|
+
}, 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<{
|
|
136
|
+
visible: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
required: false;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
title: {
|
|
142
|
+
type: StringConstructor;
|
|
143
|
+
required: false;
|
|
144
|
+
default: any;
|
|
145
|
+
};
|
|
146
|
+
width: {
|
|
147
|
+
type: NumberConstructor;
|
|
148
|
+
required: false;
|
|
149
|
+
default: number;
|
|
150
|
+
};
|
|
151
|
+
height: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
required: false;
|
|
154
|
+
default: any;
|
|
155
|
+
};
|
|
156
|
+
fullscreen: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
required: false;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
bodyClass: {
|
|
162
|
+
type: ArrayConstructor;
|
|
163
|
+
required: false;
|
|
164
|
+
default: any;
|
|
165
|
+
};
|
|
166
|
+
mountToBody: {
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
required: false;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
171
|
+
centered: {
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
required: false;
|
|
174
|
+
default: boolean;
|
|
175
|
+
};
|
|
176
|
+
}>> & {
|
|
177
|
+
onClose?: (...args: any[]) => any;
|
|
178
|
+
"onUpdate:visible"?: (...args: any[]) => any;
|
|
179
|
+
}, {
|
|
180
|
+
title: string;
|
|
181
|
+
width: number;
|
|
182
|
+
height: string;
|
|
183
|
+
bodyClass: unknown[];
|
|
184
|
+
visible: boolean;
|
|
185
|
+
fullscreen: boolean;
|
|
186
|
+
mountToBody: boolean;
|
|
187
|
+
centered: boolean;
|
|
188
|
+
}>;
|
|
189
|
+
readonly VButton: import("vue").DefineComponent<{
|
|
190
|
+
type: {
|
|
191
|
+
type: any;
|
|
192
|
+
required: false;
|
|
193
|
+
default: string;
|
|
194
|
+
};
|
|
195
|
+
size: {
|
|
196
|
+
type: any;
|
|
197
|
+
required: false;
|
|
198
|
+
default: string;
|
|
199
|
+
};
|
|
200
|
+
circle: {
|
|
201
|
+
type: BooleanConstructor;
|
|
202
|
+
required: false;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
205
|
+
block: {
|
|
206
|
+
type: BooleanConstructor;
|
|
207
|
+
required: false;
|
|
208
|
+
default: boolean;
|
|
209
|
+
};
|
|
210
|
+
disabled: {
|
|
211
|
+
type: BooleanConstructor;
|
|
212
|
+
required: false;
|
|
213
|
+
default: boolean;
|
|
214
|
+
};
|
|
215
|
+
loading: {
|
|
216
|
+
type: BooleanConstructor;
|
|
217
|
+
required: false;
|
|
218
|
+
default: boolean;
|
|
219
|
+
};
|
|
220
|
+
route: {
|
|
221
|
+
type: any;
|
|
222
|
+
required: false;
|
|
223
|
+
default: any;
|
|
224
|
+
};
|
|
225
|
+
}, {
|
|
226
|
+
props: any;
|
|
227
|
+
router: import("vue-router").Router;
|
|
228
|
+
emit: (event: "click") => void;
|
|
229
|
+
classes: import("vue").ComputedRef<(string | {
|
|
230
|
+
"btn-circle": boolean;
|
|
231
|
+
"btn-block"?: undefined;
|
|
232
|
+
"btn-loading"?: undefined;
|
|
233
|
+
} | {
|
|
234
|
+
"btn-block": boolean;
|
|
235
|
+
"btn-circle"?: undefined;
|
|
236
|
+
"btn-loading"?: undefined;
|
|
237
|
+
} | {
|
|
238
|
+
"btn-loading": boolean;
|
|
239
|
+
"btn-circle"?: undefined;
|
|
240
|
+
"btn-block"?: undefined;
|
|
241
|
+
})[]>;
|
|
242
|
+
handleClick: () => void;
|
|
243
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
244
|
+
type: {
|
|
245
|
+
type: any;
|
|
246
|
+
required: false;
|
|
247
|
+
default: string;
|
|
248
|
+
};
|
|
249
|
+
size: {
|
|
250
|
+
type: any;
|
|
251
|
+
required: false;
|
|
252
|
+
default: string;
|
|
253
|
+
};
|
|
254
|
+
circle: {
|
|
255
|
+
type: BooleanConstructor;
|
|
256
|
+
required: false;
|
|
257
|
+
default: boolean;
|
|
258
|
+
};
|
|
259
|
+
block: {
|
|
260
|
+
type: BooleanConstructor;
|
|
261
|
+
required: false;
|
|
262
|
+
default: boolean;
|
|
263
|
+
};
|
|
264
|
+
disabled: {
|
|
265
|
+
type: BooleanConstructor;
|
|
266
|
+
required: false;
|
|
267
|
+
default: boolean;
|
|
268
|
+
};
|
|
269
|
+
loading: {
|
|
270
|
+
type: BooleanConstructor;
|
|
271
|
+
required: false;
|
|
272
|
+
default: boolean;
|
|
273
|
+
};
|
|
274
|
+
route: {
|
|
275
|
+
type: any;
|
|
276
|
+
required: false;
|
|
277
|
+
default: any;
|
|
278
|
+
};
|
|
279
|
+
}>> & {
|
|
280
|
+
onClick?: (...args: any[]) => any;
|
|
281
|
+
}, {
|
|
282
|
+
type: any;
|
|
283
|
+
size: any;
|
|
284
|
+
circle: boolean;
|
|
285
|
+
block: boolean;
|
|
286
|
+
disabled: boolean;
|
|
287
|
+
loading: boolean;
|
|
288
|
+
route: any;
|
|
289
|
+
}>;
|
|
290
|
+
readonly IconClose: any;
|
|
79
291
|
}, 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<{
|
|
80
292
|
type: {
|
|
81
293
|
type: any;
|
|
@@ -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;
|
|
@@ -7,7 +7,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
7
7
|
}, {
|
|
8
8
|
props: any;
|
|
9
9
|
classes: import("vue").ComputedRef<any[]>;
|
|
10
|
-
VSpace: import("vue").DefineComponent<{
|
|
10
|
+
readonly VSpace: import("vue").DefineComponent<{
|
|
11
11
|
spacing: {
|
|
12
12
|
type: any;
|
|
13
13
|
required: false;
|
|
@@ -26,7 +26,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
26
26
|
}, {
|
|
27
27
|
props: any;
|
|
28
28
|
wrapperClasses: import("vue").ComputedRef<string[]>;
|
|
29
|
-
SpacingSize: Record<string, number>;
|
|
29
|
+
readonly SpacingSize: Record<string, number>;
|
|
30
30
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
31
|
spacing: {
|
|
32
32
|
type: any;
|
|
@@ -48,7 +48,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
48
48
|
spacing: any;
|
|
49
49
|
direction: any;
|
|
50
50
|
}>;
|
|
51
|
-
IconMore: any;
|
|
51
|
+
readonly IconMore: any;
|
|
52
52
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
53
|
isSelected: {
|
|
54
54
|
type: BooleanConstructor;
|
|
@@ -24,7 +24,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
24
24
|
openIds: string[];
|
|
25
25
|
hasSubmenus: import("vue").ComputedRef<boolean>;
|
|
26
26
|
handleClick: () => void;
|
|
27
|
-
IconArrowRight: any;
|
|
27
|
+
readonly IconArrowRight: any;
|
|
28
28
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
29
|
id: {
|
|
30
30
|
type: StringConstructor;
|
|
@@ -56,7 +56,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
56
56
|
height: string;
|
|
57
57
|
}>;
|
|
58
58
|
handleClose: () => void;
|
|
59
|
-
IconClose: any;
|
|
59
|
+
readonly IconClose: any;
|
|
60
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<{
|
|
61
61
|
visible: {
|
|
62
62
|
type: BooleanConstructor;
|
|
@@ -43,8 +43,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
43
43
|
isLastPage: import("vue").ComputedRef<boolean>;
|
|
44
44
|
prev: () => void;
|
|
45
45
|
next: () => void;
|
|
46
|
-
IconArrowLeft: any;
|
|
47
|
-
IconArrowRight: any;
|
|
46
|
+
readonly IconArrowLeft: any;
|
|
47
|
+
readonly IconArrowRight: any;
|
|
48
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
49
|
page: {
|
|
50
50
|
type: NumberConstructor;
|
|
@@ -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;
|
|
@@ -17,7 +17,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
17
17
|
}, {
|
|
18
18
|
props: any;
|
|
19
19
|
wrapperClasses: import("vue").ComputedRef<string[]>;
|
|
20
|
-
SpacingSize: Record<string, number>;
|
|
20
|
+
readonly SpacingSize: Record<string, number>;
|
|
21
21
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
22
|
spacing: {
|
|
23
23
|
type: any;
|
|
@@ -40,7 +40,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
40
40
|
}[]>;
|
|
41
41
|
classes: ComputedRef<string[]>;
|
|
42
42
|
handleChange: (id: string | number) => void;
|
|
43
|
-
VTabbar: import("vue").DefineComponent<{
|
|
43
|
+
readonly VTabbar: import("vue").DefineComponent<{
|
|
44
44
|
activeId: {
|
|
45
45
|
type: (StringConstructor | NumberConstructor)[];
|
|
46
46
|
required: false;
|
|
@@ -74,7 +74,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
74
74
|
close: () => void;
|
|
75
75
|
handleMouseEnter: () => void;
|
|
76
76
|
handleMouseLeave: () => void;
|
|
77
|
-
IconClose: any;
|
|
77
|
+
readonly IconClose: any;
|
|
78
78
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
79
|
type: {
|
|
80
80
|
type: any;
|