@halo-dev/components 0.0.0-alpha.3 → 0.0.0-alpha.4

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.
Files changed (42) hide show
  1. package/dist/components/alert/Alert.vue.d.ts +8 -2
  2. package/dist/components/avatar/Avatar.vue.d.ts +86 -0
  3. package/dist/components/avatar/index.d.ts +1 -0
  4. package/dist/components/avatar/interface.d.ts +1 -0
  5. package/dist/components/button/Button.vue.d.ts +3 -1
  6. package/dist/components/card/Card.vue.d.ts +1 -1
  7. package/dist/components/checkbox/CheckBox.vue.d.ts +16 -7
  8. package/dist/components/checkbox/CheckBoxGroup.vue.d.ts +23 -11
  9. package/dist/components/codemirror/Codemirror.vue.d.ts +1 -1
  10. package/dist/components/dialog/Dialog.vue.d.ts +8 -2
  11. package/dist/components/dialog/DialogProvider.vue.d.ts +9 -3
  12. package/dist/components/empty/Empty.vue.d.ts +30 -0
  13. package/dist/components/empty/index.d.ts +1 -0
  14. package/dist/components/entity/Entity.vue.d.ts +67 -0
  15. package/dist/components/entity/EntityField.vue.d.ts +42 -0
  16. package/dist/components/entity/index.d.ts +2 -0
  17. package/dist/components/header/PageHeader.vue.d.ts +1 -1
  18. package/dist/components/input/Input.vue.d.ts +8 -2
  19. package/dist/components/menu/Menu.vue.d.ts +1 -1
  20. package/dist/components/menu/MenuLabel.vue.d.ts +1 -1
  21. package/dist/components/menu/RoutesMenu.d.ts +2 -0
  22. package/dist/components/modal/Modal.vue.d.ts +34 -3
  23. package/dist/components/radio/RadioGroup.vue.d.ts +9 -0
  24. package/dist/components/select/Option.vue.d.ts +1 -1
  25. package/dist/components/select/Select.vue.d.ts +8 -2
  26. package/dist/components/space/Space.vue.d.ts +1 -1
  27. package/dist/components/status/StatusDot.vue.d.ts +48 -0
  28. package/dist/components/status/index.d.ts +1 -0
  29. package/dist/components/status/interface.d.ts +1 -0
  30. package/dist/components/tabs/TabItem.vue.d.ts +1 -1
  31. package/dist/components/tabs/Tabbar.vue.d.ts +8 -2
  32. package/dist/components/tabs/Tabs.vue.d.ts +12 -3
  33. package/dist/components/tag/Tag.vue.d.ts +14 -1
  34. package/dist/components/textarea/Textarea.vue.d.ts +6 -0
  35. package/dist/components.d.ts +4 -0
  36. package/dist/halo-components.es.js +7192 -9281
  37. package/dist/halo-components.es.js.map +1 -1
  38. package/dist/halo-components.iife.js +12 -12
  39. package/dist/halo-components.iife.js.map +1 -1
  40. package/dist/icons/icons.d.ts +10 -1
  41. package/dist/style.css +1 -1
  42. package/package.json +8 -9
@@ -7,12 +7,18 @@ declare const _sfc_main: import("vue").DefineComponent<{
7
7
  title: {
8
8
  type: StringConstructor;
9
9
  required: false;
10
+ default: any;
10
11
  };
11
12
  width: {
12
13
  type: NumberConstructor;
13
14
  required: false;
14
15
  default: number;
15
16
  };
17
+ height: {
18
+ type: StringConstructor;
19
+ required: false;
20
+ default: any;
21
+ };
16
22
  fullscreen: {
17
23
  type: BooleanConstructor;
18
24
  required: false;
@@ -21,14 +27,22 @@ declare const _sfc_main: import("vue").DefineComponent<{
21
27
  bodyClass: {
22
28
  type: ArrayConstructor;
23
29
  required: false;
30
+ default: any;
31
+ };
32
+ mountToBody: {
33
+ type: BooleanConstructor;
34
+ required: false;
35
+ default: boolean;
24
36
  };
25
37
  }, {
26
38
  props: {
27
39
  visible: boolean;
28
- title?: string;
40
+ title: string;
29
41
  width: number;
42
+ height: string;
30
43
  fullscreen: boolean;
31
- bodyClass?: string[];
44
+ bodyClass: string[];
45
+ mountToBody: boolean;
32
46
  };
33
47
  emit: {
34
48
  (event: "update:visible", value: boolean): void;
@@ -41,6 +55,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
41
55
  }>;
42
56
  contentStyles: import("vue").ComputedRef<{
43
57
  maxWidth: string;
58
+ height: string;
44
59
  }>;
45
60
  handleClose: () => void;
46
61
  IconClose: any;
@@ -53,12 +68,18 @@ declare const _sfc_main: import("vue").DefineComponent<{
53
68
  title: {
54
69
  type: StringConstructor;
55
70
  required: false;
71
+ default: any;
56
72
  };
57
73
  width: {
58
74
  type: NumberConstructor;
59
75
  required: false;
60
76
  default: number;
61
77
  };
78
+ height: {
79
+ type: StringConstructor;
80
+ required: false;
81
+ default: any;
82
+ };
62
83
  fullscreen: {
63
84
  type: BooleanConstructor;
64
85
  required: false;
@@ -67,13 +88,23 @@ declare const _sfc_main: import("vue").DefineComponent<{
67
88
  bodyClass: {
68
89
  type: ArrayConstructor;
69
90
  required: false;
91
+ default: any;
92
+ };
93
+ mountToBody: {
94
+ type: BooleanConstructor;
95
+ required: false;
96
+ default: boolean;
70
97
  };
71
98
  }>> & {
72
99
  onClose?: (...args: any[]) => any;
73
100
  "onUpdate:visible"?: (...args: any[]) => any;
74
101
  }, {
75
- visible: boolean;
102
+ title: string;
76
103
  width: number;
104
+ height: string;
105
+ bodyClass: unknown[];
106
+ visible: boolean;
77
107
  fullscreen: boolean;
108
+ mountToBody: boolean;
78
109
  }>;
79
110
  export default _sfc_main;
@@ -2,10 +2,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
2
2
  modelValue: {
3
3
  type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
4
4
  required: false;
5
+ default: any;
5
6
  };
6
7
  options: {
7
8
  type: ArrayConstructor;
8
9
  required: false;
10
+ default: any;
9
11
  };
10
12
  valueKey: {
11
13
  type: StringConstructor;
@@ -20,6 +22,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
20
22
  name: {
21
23
  type: StringConstructor;
22
24
  required: false;
25
+ default: any;
23
26
  };
24
27
  }, {
25
28
  emit: {
@@ -83,10 +86,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
83
86
  modelValue: {
84
87
  type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
85
88
  required: false;
89
+ default: any;
86
90
  };
87
91
  options: {
88
92
  type: ArrayConstructor;
89
93
  required: false;
94
+ default: any;
90
95
  };
91
96
  valueKey: {
92
97
  type: StringConstructor;
@@ -101,11 +106,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
101
106
  name: {
102
107
  type: StringConstructor;
103
108
  required: false;
109
+ default: any;
104
110
  };
105
111
  }>> & {
106
112
  onChange?: (...args: any[]) => any;
107
113
  "onUpdate:modelValue"?: (...args: any[]) => any;
108
114
  }, {
115
+ name: string;
116
+ modelValue: string | number | boolean;
117
+ options: unknown[];
109
118
  valueKey: string;
110
119
  labelKey: string;
111
120
  }>;
@@ -3,7 +3,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
3
3
  type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
4
4
  required: false;
5
5
  };
6
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
7
  value: {
8
8
  type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
9
9
  required: false;
@@ -3,6 +3,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
3
3
  modelValue: {
4
4
  type: StringConstructor;
5
5
  required: false;
6
+ default: any;
6
7
  };
7
8
  size: {
8
9
  type: any;
@@ -17,13 +18,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
17
18
  placeholder: {
18
19
  type: StringConstructor;
19
20
  required: false;
21
+ default: any;
20
22
  };
21
23
  }, {
22
24
  props: {
23
- modelValue?: string;
25
+ modelValue: string;
24
26
  size: Size;
25
27
  disabled: boolean;
26
- placeholder?: string;
28
+ placeholder: string;
27
29
  };
28
30
  emit: (event: "update:modelValue", value: string) => void;
29
31
  classes: import("vue").ComputedRef<string[]>;
@@ -32,6 +34,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
32
34
  modelValue: {
33
35
  type: StringConstructor;
34
36
  required: false;
37
+ default: any;
35
38
  };
36
39
  size: {
37
40
  type: any;
@@ -46,11 +49,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
46
49
  placeholder: {
47
50
  type: StringConstructor;
48
51
  required: false;
52
+ default: any;
49
53
  };
50
54
  }>> & {
51
55
  "onUpdate:modelValue"?: (...args: any[]) => any;
52
56
  }, {
53
57
  size: any;
54
58
  disabled: boolean;
59
+ modelValue: string;
60
+ placeholder: string;
55
61
  }>;
56
62
  export default _sfc_main;
@@ -23,7 +23,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
23
23
  };
24
24
  wrapperClasses: import("vue").ComputedRef<string[]>;
25
25
  SpacingSize: Record<string, number>;
26
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
26
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  spacing: {
28
28
  type: any;
29
29
  required: false;
@@ -0,0 +1,48 @@
1
+ import type { State } from "./interface";
2
+ declare const _sfc_main: import("vue").DefineComponent<{
3
+ state: {
4
+ type: any;
5
+ required: false;
6
+ default: string;
7
+ };
8
+ animate: {
9
+ type: BooleanConstructor;
10
+ required: false;
11
+ default: boolean;
12
+ };
13
+ text: {
14
+ type: StringConstructor;
15
+ required: false;
16
+ default: any;
17
+ };
18
+ }, {
19
+ props: {
20
+ state: State;
21
+ animate: boolean;
22
+ text: string;
23
+ };
24
+ classes: import("vue").ComputedRef<(string | {
25
+ "status-dot-animate": boolean;
26
+ })[]>;
27
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
+ state: {
29
+ type: any;
30
+ required: false;
31
+ default: string;
32
+ };
33
+ animate: {
34
+ type: BooleanConstructor;
35
+ required: false;
36
+ default: boolean;
37
+ };
38
+ text: {
39
+ type: StringConstructor;
40
+ required: false;
41
+ default: any;
42
+ };
43
+ }>>, {
44
+ animate: boolean;
45
+ text: string;
46
+ state: any;
47
+ }>;
48
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ export { default as VStatusDot } from "./StatusDot.vue";
@@ -0,0 +1 @@
1
+ export declare type State = "default" | "success" | "warning" | "error";
@@ -15,7 +15,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
15
15
  };
16
16
  activeId: ComputedRef<string | number>;
17
17
  isActive: ComputedRef<boolean>;
18
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
19
  id: {
20
20
  type: StringConstructor;
21
21
  required: false;
@@ -3,10 +3,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
3
3
  activeId: {
4
4
  type: (StringConstructor | NumberConstructor)[];
5
5
  required: false;
6
+ default: any;
6
7
  };
7
8
  items: {
8
9
  type: ArrayConstructor;
9
10
  required: false;
11
+ default: any;
10
12
  };
11
13
  type: {
12
14
  type: any;
@@ -30,8 +32,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
30
32
  };
31
33
  }, {
32
34
  props: {
33
- activeId?: number | string;
34
- items?: Array<Record<string, string>>;
35
+ activeId: number | string;
36
+ items: Array<Record<string, string>>;
35
37
  type: Type;
36
38
  direction: Direction;
37
39
  idKey: string;
@@ -47,10 +49,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
47
49
  activeId: {
48
50
  type: (StringConstructor | NumberConstructor)[];
49
51
  required: false;
52
+ default: any;
50
53
  };
51
54
  items: {
52
55
  type: ArrayConstructor;
53
56
  required: false;
57
+ default: any;
54
58
  };
55
59
  type: {
56
60
  type: any;
@@ -79,6 +83,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
79
83
  type: any;
80
84
  labelKey: string;
81
85
  direction: any;
86
+ activeId: string | number;
87
+ items: unknown[];
82
88
  idKey: string;
83
89
  }>;
84
90
  export default _sfc_main;
@@ -4,6 +4,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
4
4
  activeId: {
5
5
  type: (StringConstructor | NumberConstructor)[];
6
6
  required: false;
7
+ default: any;
7
8
  };
8
9
  type: {
9
10
  type: any;
@@ -27,7 +28,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
27
28
  };
28
29
  }, {
29
30
  props: {
30
- activeId?: number | string;
31
+ activeId: number | string;
31
32
  type: Type;
32
33
  direction: Direction;
33
34
  idKey: string;
@@ -50,10 +51,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
50
51
  activeId: {
51
52
  type: (StringConstructor | NumberConstructor)[];
52
53
  required: false;
54
+ default: any;
53
55
  };
54
56
  items: {
55
57
  type: ArrayConstructor;
56
58
  required: false;
59
+ default: any;
57
60
  };
58
61
  type: {
59
62
  type: any;
@@ -77,8 +80,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
77
80
  };
78
81
  }, {
79
82
  props: {
80
- activeId?: string | number;
81
- items?: Record<string, string>[];
83
+ activeId: string | number;
84
+ items: Record<string, string>[];
82
85
  type: Type;
83
86
  direction: Direction;
84
87
  idKey: string;
@@ -94,10 +97,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
94
97
  activeId: {
95
98
  type: (StringConstructor | NumberConstructor)[];
96
99
  required: false;
100
+ default: any;
97
101
  };
98
102
  items: {
99
103
  type: ArrayConstructor;
100
104
  required: false;
105
+ default: any;
101
106
  };
102
107
  type: {
103
108
  type: any;
@@ -126,12 +131,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
126
131
  type: any;
127
132
  labelKey: string;
128
133
  direction: any;
134
+ activeId: string | number;
135
+ items: unknown[];
129
136
  idKey: string;
130
137
  }>;
131
138
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:activeId")[], "change" | "update:activeId", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
132
139
  activeId: {
133
140
  type: (StringConstructor | NumberConstructor)[];
134
141
  required: false;
142
+ default: any;
135
143
  };
136
144
  type: {
137
145
  type: any;
@@ -160,6 +168,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
160
168
  type: any;
161
169
  labelKey: string;
162
170
  direction: any;
171
+ activeId: string | number;
163
172
  idKey: string;
164
173
  }>;
165
174
  export default _sfc_main;
@@ -1,3 +1,4 @@
1
+ import type { CSSProperties } from "vue";
1
2
  import type { Theme } from "./interface";
2
3
  declare const _sfc_main: import("vue").DefineComponent<{
3
4
  theme: {
@@ -10,15 +11,21 @@ declare const _sfc_main: import("vue").DefineComponent<{
10
11
  required: false;
11
12
  default: boolean;
12
13
  };
14
+ styles: {
15
+ type: any;
16
+ required: false;
17
+ default: () => {};
18
+ };
13
19
  }, {
14
20
  props: {
15
21
  theme: Theme;
16
22
  rounded: boolean;
23
+ styles: CSSProperties;
17
24
  };
18
25
  classes: import("vue").ComputedRef<(string | {
19
26
  "tag-rounded": boolean;
20
27
  })[]>;
21
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
29
  theme: {
23
30
  type: any;
24
31
  required: false;
@@ -29,8 +36,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
29
36
  required: false;
30
37
  default: boolean;
31
38
  };
39
+ styles: {
40
+ type: any;
41
+ required: false;
42
+ default: () => {};
43
+ };
32
44
  }>>, {
33
45
  theme: any;
34
46
  rounded: boolean;
47
+ styles: any;
35
48
  }>;
36
49
  export default _sfc_main;
@@ -2,6 +2,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
2
2
  modelValue: {
3
3
  type: StringConstructor;
4
4
  required: false;
5
+ default: any;
5
6
  };
6
7
  disabled: {
7
8
  type: BooleanConstructor;
@@ -11,6 +12,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
11
12
  placeholder: {
12
13
  type: StringConstructor;
13
14
  required: false;
15
+ default: any;
14
16
  };
15
17
  rows: {
16
18
  type: NumberConstructor;
@@ -24,6 +26,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
24
26
  modelValue: {
25
27
  type: StringConstructor;
26
28
  required: false;
29
+ default: any;
27
30
  };
28
31
  disabled: {
29
32
  type: BooleanConstructor;
@@ -33,6 +36,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
33
36
  placeholder: {
34
37
  type: StringConstructor;
35
38
  required: false;
39
+ default: any;
36
40
  };
37
41
  rows: {
38
42
  type: NumberConstructor;
@@ -43,6 +47,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
43
47
  "onUpdate:modelValue"?: (...args: any[]) => any;
44
48
  }, {
45
49
  disabled: boolean;
50
+ modelValue: string;
51
+ placeholder: string;
46
52
  rows: number;
47
53
  }>;
48
54
  export default _sfc_main;
@@ -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,6 @@ 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";