@halo-dev/components 1.0.0 → 1.2.0

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 (30) hide show
  1. package/dist/components/codemirror/Codemirror.vue.d.ts +2 -2
  2. package/dist/components/dialog/Dialog.vue.d.ts +13 -0
  3. package/dist/components/entity/EntityField.vue.d.ts +2 -0
  4. package/dist/components/modal/Modal.vue.d.ts +13 -0
  5. package/dist/components/switch/Switch.vue.d.ts +2 -2
  6. package/dist/components/tabs/Tabbar.vue.d.ts +1 -1
  7. package/dist/components/tabs/Tabs.vue.d.ts +2 -2
  8. package/dist/components.d.ts +0 -5
  9. package/dist/halo-components.es.js +5053 -3062
  10. package/dist/halo-components.es.js.map +1 -1
  11. package/dist/halo-components.iife.js +15 -16
  12. package/dist/halo-components.iife.js.map +1 -1
  13. package/dist/icons/icons.d.ts +3 -1
  14. package/dist/style.css +1 -1
  15. package/package.json +1 -1
  16. package/dist/components/checkbox/CheckBox.vue.d.ts +0 -60
  17. package/dist/components/checkbox/CheckBoxGroup.vue.d.ts +0 -126
  18. package/dist/components/checkbox/index.d.ts +0 -2
  19. package/dist/components/input/Input.vue.d.ts +0 -56
  20. package/dist/components/input/index.d.ts +0 -1
  21. package/dist/components/input/interface.d.ts +0 -1
  22. package/dist/components/radio/Radio.vue.d.ts +0 -48
  23. package/dist/components/radio/RadioGroup.vue.d.ts +0 -116
  24. package/dist/components/radio/index.d.ts +0 -2
  25. package/dist/components/select/Option.vue.d.ts +0 -12
  26. package/dist/components/select/Select.vue.d.ts +0 -56
  27. package/dist/components/select/index.d.ts +0 -2
  28. package/dist/components/select/interface.d.ts +0 -1
  29. package/dist/components/textarea/Textarea.vue.d.ts +0 -54
  30. package/dist/components/textarea/index.d.ts +0 -1
@@ -40,7 +40,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
40
40
  cmState: import("vue").ShallowRef<EditorState>;
41
41
  cmView: import("vue").ShallowRef<EditorView>;
42
42
  createCmEditor: () => void;
43
- }, 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<{
43
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
44
  modelValue: {
45
45
  type: StringConstructor;
46
46
  required: false;
@@ -62,8 +62,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
62
62
  default: () => any[];
63
63
  };
64
64
  }>> & {
65
- onChange?: (...args: any[]) => any;
66
65
  "onUpdate:modelValue"?: (...args: any[]) => any;
66
+ onChange?: (...args: any[]) => any;
67
67
  }, {
68
68
  height: string;
69
69
  modelValue: string;
@@ -114,6 +114,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
114
114
  required: false;
115
115
  default: boolean;
116
116
  };
117
+ layerClosable: {
118
+ type: BooleanConstructor;
119
+ required: false;
120
+ default: boolean;
121
+ };
117
122
  }, {
118
123
  props: any;
119
124
  emit: {
@@ -131,6 +136,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
131
136
  height: string;
132
137
  }>;
133
138
  handleClose: () => void;
139
+ focus: import("vue").Ref<boolean>;
140
+ handleClickLayer: () => void;
134
141
  readonly IconClose: any;
135
142
  }, 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
143
  visible: {
@@ -173,6 +180,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
173
180
  required: false;
174
181
  default: boolean;
175
182
  };
183
+ layerClosable: {
184
+ type: BooleanConstructor;
185
+ required: false;
186
+ default: boolean;
187
+ };
176
188
  }>> & {
177
189
  onClose?: (...args: any[]) => any;
178
190
  "onUpdate:visible"?: (...args: any[]) => any;
@@ -185,6 +197,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
185
197
  fullscreen: boolean;
186
198
  mountToBody: boolean;
187
199
  centered: boolean;
200
+ layerClosable: boolean;
188
201
  }>;
189
202
  readonly VButton: import("vue").DefineComponent<{
190
203
  type: {
@@ -24,8 +24,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
24
24
  emit: (event: "click") => void;
25
25
  wrapperStyles: import("vue").ComputedRef<{
26
26
  width: string;
27
+ maxWidth: string;
27
28
  } | {
28
29
  width?: undefined;
30
+ maxWidth?: undefined;
29
31
  }>;
30
32
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
31
33
  title: {
@@ -39,6 +39,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
39
39
  required: false;
40
40
  default: boolean;
41
41
  };
42
+ layerClosable: {
43
+ type: BooleanConstructor;
44
+ required: false;
45
+ default: boolean;
46
+ };
42
47
  }, {
43
48
  props: any;
44
49
  emit: {
@@ -56,6 +61,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
56
61
  height: string;
57
62
  }>;
58
63
  handleClose: () => void;
64
+ focus: import("vue").Ref<boolean>;
65
+ handleClickLayer: () => void;
59
66
  readonly IconClose: any;
60
67
  }, 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
68
  visible: {
@@ -98,6 +105,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
98
105
  required: false;
99
106
  default: boolean;
100
107
  };
108
+ layerClosable: {
109
+ type: BooleanConstructor;
110
+ required: false;
111
+ default: boolean;
112
+ };
101
113
  }>> & {
102
114
  onClose?: (...args: any[]) => any;
103
115
  "onUpdate:visible"?: (...args: any[]) => any;
@@ -110,5 +122,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
110
122
  fullscreen: boolean;
111
123
  mountToBody: boolean;
112
124
  centered: boolean;
125
+ layerClosable: boolean;
113
126
  }>;
114
127
  export default _sfc_main;
@@ -11,15 +11,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
11
11
  (event: "change", value: boolean): void;
12
12
  };
13
13
  handleChange: () => void;
14
- }, 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<{
14
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  modelValue: {
16
16
  type: BooleanConstructor;
17
17
  required: false;
18
18
  default: boolean;
19
19
  };
20
20
  }>> & {
21
- onChange?: (...args: any[]) => any;
22
21
  "onUpdate:modelValue"?: (...args: any[]) => any;
22
+ onChange?: (...args: any[]) => any;
23
23
  }, {
24
24
  modelValue: boolean;
25
25
  }>;
@@ -73,10 +73,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
73
73
  "onUpdate:activeId"?: (...args: any[]) => any;
74
74
  }, {
75
75
  type: any;
76
- labelKey: string;
77
76
  direction: any;
78
77
  activeId: string | number;
79
78
  items: unknown[];
80
79
  idKey: string;
80
+ labelKey: string;
81
81
  }>;
82
82
  export default _sfc_main;
@@ -115,11 +115,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
115
115
  "onUpdate:activeId"?: (...args: any[]) => any;
116
116
  }, {
117
117
  type: any;
118
- labelKey: string;
119
118
  direction: any;
120
119
  activeId: string | number;
121
120
  items: unknown[];
122
121
  idKey: string;
122
+ labelKey: string;
123
123
  }>;
124
124
  }, 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<{
125
125
  activeId: {
@@ -152,9 +152,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
152
152
  "onUpdate:activeId"?: (...args: any[]) => any;
153
153
  }, {
154
154
  type: any;
155
- labelKey: string;
156
155
  direction: any;
157
156
  activeId: string | number;
158
157
  idKey: string;
158
+ labelKey: string;
159
159
  }>;
160
160
  export default _sfc_main;
@@ -2,17 +2,12 @@ export * from "./components/avatar";
2
2
  export * from "./components/alert";
3
3
  export * from "./components/button";
4
4
  export * from "./components/card";
5
- export * from "./components/checkbox";
6
5
  export * from "./components/header";
7
- export * from "./components/input";
8
6
  export * from "./components/menu";
9
7
  export * from "./components/modal";
10
- export * from "./components/radio";
11
- export * from "./components/select";
12
8
  export * from "./components/space";
13
9
  export * from "./components/tabs";
14
10
  export * from "./components/tag";
15
- export * from "./components/textarea";
16
11
  export * from "./components/switch";
17
12
  export * from "./components/dialog";
18
13
  export * from "./components/pagination";