@hoci/components 0.2.1

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Chizuki
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/index.cjs ADDED
@@ -0,0 +1,222 @@
1
+ 'use strict';
2
+
3
+ const vue = require('vue');
4
+ const core = require('@hoci/core');
5
+ const tslx = require('tslx');
6
+
7
+ var __defProp$4 = Object.defineProperty;
8
+ var __defProps$4 = Object.defineProperties;
9
+ var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
10
+ var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
11
+ var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
12
+ var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
13
+ var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
14
+ var __spreadValues$4 = (a, b) => {
15
+ for (var prop in b || (b = {}))
16
+ if (__hasOwnProp$4.call(b, prop))
17
+ __defNormalProp$4(a, prop, b[prop]);
18
+ if (__getOwnPropSymbols$4)
19
+ for (var prop of __getOwnPropSymbols$4(b)) {
20
+ if (__propIsEnum$4.call(b, prop))
21
+ __defNormalProp$4(a, prop, b[prop]);
22
+ }
23
+ return a;
24
+ };
25
+ var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
26
+ const HiAffix = vue.defineComponent({
27
+ name: "HiAffix",
28
+ props: __spreadProps$4(__spreadValues$4({}, core.affixProps), {
29
+ as: {
30
+ type: String,
31
+ default: "div"
32
+ },
33
+ wrapperAs: {
34
+ type: String,
35
+ default: "div"
36
+ }
37
+ }),
38
+ setup(props, context) {
39
+ const { classNames, wrapperRef, isFixed, placeholderStyle, fixedStyle } = core.useAffix(props, context);
40
+ return () => vue.h(
41
+ props.as,
42
+ { ref: wrapperRef },
43
+ [
44
+ isFixed.value && vue.h("div", { style: placeholderStyle.value }),
45
+ vue.h("div", { class: classNames.value, style: fixedStyle.value }, vue.renderSlot(context.slots, "default"))
46
+ ]
47
+ );
48
+ }
49
+ });
50
+
51
+ var __defProp$3 = Object.defineProperty;
52
+ var __defProps$3 = Object.defineProperties;
53
+ var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
54
+ var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
55
+ var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
56
+ var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
57
+ var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
58
+ var __spreadValues$3 = (a, b) => {
59
+ for (var prop in b || (b = {}))
60
+ if (__hasOwnProp$3.call(b, prop))
61
+ __defNormalProp$3(a, prop, b[prop]);
62
+ if (__getOwnPropSymbols$3)
63
+ for (var prop of __getOwnPropSymbols$3(b)) {
64
+ if (__propIsEnum$3.call(b, prop))
65
+ __defNormalProp$3(a, prop, b[prop]);
66
+ }
67
+ return a;
68
+ };
69
+ var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
70
+ const HiSelection = vue.defineComponent({
71
+ name: "HiSelection",
72
+ props: __spreadProps$3(__spreadValues$3({}, core.selectionProps), {
73
+ as: {
74
+ type: String,
75
+ default: "div"
76
+ }
77
+ }),
78
+ emits: core.selectionEmits,
79
+ setup(props, context) {
80
+ const { isActive, changeActive, renderItem } = core.useSelectionList(props, context);
81
+ const { slots } = context;
82
+ const slotData = {
83
+ isActive,
84
+ changeActive,
85
+ renderItem
86
+ };
87
+ return () => vue.h(props.as, {}, vue.renderSlot(slots, "default", slotData));
88
+ }
89
+ });
90
+
91
+ var __defProp$2 = Object.defineProperty;
92
+ var __defProps$2 = Object.defineProperties;
93
+ var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
94
+ var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
95
+ var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
96
+ var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
97
+ var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
98
+ var __spreadValues$2 = (a, b) => {
99
+ for (var prop in b || (b = {}))
100
+ if (__hasOwnProp$2.call(b, prop))
101
+ __defNormalProp$2(a, prop, b[prop]);
102
+ if (__getOwnPropSymbols$2)
103
+ for (var prop of __getOwnPropSymbols$2(b)) {
104
+ if (__propIsEnum$2.call(b, prop))
105
+ __defNormalProp$2(a, prop, b[prop]);
106
+ }
107
+ return a;
108
+ };
109
+ var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
110
+ const HiItem = vue.defineComponent({
111
+ name: "HiItem",
112
+ props: __spreadProps$2(__spreadValues$2({}, core.itemProps), {
113
+ as: {
114
+ type: String,
115
+ default: "div"
116
+ }
117
+ }),
118
+ setup(props, context) {
119
+ const { render, activate, className, isDisabled, activateEvent } = core.useSelectionItem(
120
+ props,
121
+ context
122
+ );
123
+ return () => vue.h(
124
+ props.as,
125
+ {
126
+ class: className.value,
127
+ [`on${vue.capitalize(activateEvent.value)}`]: activate,
128
+ disabled: isDisabled.value
129
+ },
130
+ render()
131
+ );
132
+ }
133
+ });
134
+
135
+ var __defProp$1 = Object.defineProperty;
136
+ var __defProps$1 = Object.defineProperties;
137
+ var __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;
138
+ var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
139
+ var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
140
+ var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
141
+ var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
142
+ var __spreadValues$1 = (a, b) => {
143
+ for (var prop in b || (b = {}))
144
+ if (__hasOwnProp$1.call(b, prop))
145
+ __defNormalProp$1(a, prop, b[prop]);
146
+ if (__getOwnPropSymbols$1)
147
+ for (var prop of __getOwnPropSymbols$1(b)) {
148
+ if (__propIsEnum$1.call(b, prop))
149
+ __defNormalProp$1(a, prop, b[prop]);
150
+ }
151
+ return a;
152
+ };
153
+ var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
154
+ const HiIcon = vue.defineComponent({
155
+ props: __spreadProps$1(__spreadValues$1({}, core.iconProps), {
156
+ as: {
157
+ type: String,
158
+ default: "i"
159
+ }
160
+ }),
161
+ setup(props, context) {
162
+ const { style } = core.useIcon(props, context);
163
+ return () => {
164
+ return vue.h(props.as, {
165
+ style: style.value
166
+ });
167
+ };
168
+ }
169
+ });
170
+
171
+ var __defProp = Object.defineProperty;
172
+ var __defProps = Object.defineProperties;
173
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
174
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
175
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
176
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
177
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
178
+ var __spreadValues = (a, b) => {
179
+ for (var prop in b || (b = {}))
180
+ if (__hasOwnProp.call(b, prop))
181
+ __defNormalProp(a, prop, b[prop]);
182
+ if (__getOwnPropSymbols)
183
+ for (var prop of __getOwnPropSymbols(b)) {
184
+ if (__propIsEnum.call(b, prop))
185
+ __defNormalProp(a, prop, b[prop]);
186
+ }
187
+ return a;
188
+ };
189
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
190
+ const HiSwitch = vue.defineComponent({
191
+ name: "HiSwitch",
192
+ props: __spreadProps(__spreadValues({}, core.switchProps), {
193
+ as: {
194
+ type: String,
195
+ default: "div"
196
+ }
197
+ }),
198
+ emits: core.switchEmits,
199
+ setup(props, context) {
200
+ const { slots } = context;
201
+ const { className, toggle, modelValue, isDisabled } = core.useSwitch(props, context);
202
+ return () => {
203
+ return vue.h(
204
+ props.as,
205
+ {
206
+ class: className.value,
207
+ [`on${tslx.capitalize(props.activateEvent)}`]: toggle
208
+ },
209
+ vue.renderSlot(slots, "default", {
210
+ active: modelValue.value,
211
+ isDisabled: isDisabled.value
212
+ })
213
+ );
214
+ };
215
+ }
216
+ });
217
+
218
+ exports.HiAffix = HiAffix;
219
+ exports.HiIcon = HiIcon;
220
+ exports.HiItem = HiItem;
221
+ exports.HiSelection = HiSelection;
222
+ exports.HiSwitch = HiSwitch;
@@ -0,0 +1,379 @@
1
+ import * as vue from 'vue';
2
+ import * as _hoci_core from '@hoci/core';
3
+
4
+ declare const HiAffix: vue.DefineComponent<{
5
+ as: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ wrapperAs: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ fixedClass: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ offset: {
18
+ type: NumberConstructor;
19
+ default: number;
20
+ };
21
+ offsetType: {
22
+ type: vue.PropType<"top" | "bottom">;
23
+ default: string;
24
+ };
25
+ target: {
26
+ type: vue.PropType<string | Window | HTMLElement>;
27
+ };
28
+ zIndex: {
29
+ type: NumberConstructor;
30
+ default: number;
31
+ };
32
+ }, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
33
+ [key: string]: any;
34
+ }>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
35
+ as: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ wrapperAs: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ fixedClass: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ offset: {
48
+ type: NumberConstructor;
49
+ default: number;
50
+ };
51
+ offsetType: {
52
+ type: vue.PropType<"top" | "bottom">;
53
+ default: string;
54
+ };
55
+ target: {
56
+ type: vue.PropType<string | Window | HTMLElement>;
57
+ };
58
+ zIndex: {
59
+ type: NumberConstructor;
60
+ default: number;
61
+ };
62
+ }>>, {
63
+ fixedClass: string;
64
+ offset: number;
65
+ offsetType: "top" | "bottom";
66
+ zIndex: number;
67
+ as: string;
68
+ wrapperAs: string;
69
+ }, {}>;
70
+
71
+ declare const HiSelection: vue.DefineComponent<{
72
+ as: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ };
76
+ modelValue: {
77
+ type: vue.PropType<any>;
78
+ default: () => null;
79
+ };
80
+ activeClass: {
81
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
82
+ default: string;
83
+ };
84
+ itemClass: {
85
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
86
+ default: string;
87
+ };
88
+ disabledClass: {
89
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
90
+ default: string;
91
+ };
92
+ unactiveClass: {
93
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
94
+ default: string;
95
+ };
96
+ label: {
97
+ type: vue.PropType<string | ((val?: any) => string) | null>;
98
+ };
99
+ multiple: {
100
+ type: (NumberConstructor | BooleanConstructor)[];
101
+ default: () => false;
102
+ };
103
+ clearable: {
104
+ type: BooleanConstructor;
105
+ };
106
+ defaultValue: {
107
+ type: vue.PropType<any>;
108
+ default: () => null;
109
+ };
110
+ activateEvent: {
111
+ type: vue.PropType<_hoci_core.ActivateEvent>;
112
+ default: () => "click";
113
+ };
114
+ }, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
115
+ [key: string]: any;
116
+ }>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "load" | "unload" | "update:modelValue")[], "change" | "load" | "unload" | "update:modelValue", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
117
+ as: {
118
+ type: StringConstructor;
119
+ default: string;
120
+ };
121
+ modelValue: {
122
+ type: vue.PropType<any>;
123
+ default: () => null;
124
+ };
125
+ activeClass: {
126
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
127
+ default: string;
128
+ };
129
+ itemClass: {
130
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
131
+ default: string;
132
+ };
133
+ disabledClass: {
134
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
135
+ default: string;
136
+ };
137
+ unactiveClass: {
138
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
139
+ default: string;
140
+ };
141
+ label: {
142
+ type: vue.PropType<string | ((val?: any) => string) | null>;
143
+ };
144
+ multiple: {
145
+ type: (NumberConstructor | BooleanConstructor)[];
146
+ default: () => false;
147
+ };
148
+ clearable: {
149
+ type: BooleanConstructor;
150
+ };
151
+ defaultValue: {
152
+ type: vue.PropType<any>;
153
+ default: () => null;
154
+ };
155
+ activateEvent: {
156
+ type: vue.PropType<_hoci_core.ActivateEvent>;
157
+ default: () => "click";
158
+ };
159
+ }>> & {
160
+ onChange?: ((...args: any[]) => any) | undefined;
161
+ onLoad?: ((...args: any[]) => any) | undefined;
162
+ onUnload?: ((...args: any[]) => any) | undefined;
163
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
164
+ }, {
165
+ multiple: number | boolean;
166
+ modelValue: any;
167
+ activeClass: string | string[] | Record<string, boolean>;
168
+ itemClass: string | string[] | Record<string, boolean>;
169
+ disabledClass: string | string[] | Record<string, boolean>;
170
+ unactiveClass: string | string[] | Record<string, boolean>;
171
+ clearable: boolean;
172
+ defaultValue: any;
173
+ activateEvent: _hoci_core.ActivateEvent;
174
+ as: string;
175
+ }, {}>;
176
+
177
+ declare const HiItem: vue.DefineComponent<{
178
+ as: {
179
+ type: StringConstructor;
180
+ default: string;
181
+ };
182
+ value: {
183
+ type: vue.PropType<any>;
184
+ default(): string;
185
+ };
186
+ label: {
187
+ type: vue.PropType<_hoci_core.ElementLike | ((val: any) => string) | null>;
188
+ };
189
+ keepAlive: {
190
+ type: BooleanConstructor;
191
+ default: () => true;
192
+ };
193
+ key: {
194
+ type: vue.PropType<string | number | symbol>;
195
+ };
196
+ activateEvent: {
197
+ type: vue.PropType<_hoci_core.ActivateEvent>;
198
+ };
199
+ disabled: {
200
+ type: BooleanConstructor;
201
+ default: boolean;
202
+ };
203
+ }, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
204
+ [key: string]: any;
205
+ }>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
206
+ as: {
207
+ type: StringConstructor;
208
+ default: string;
209
+ };
210
+ value: {
211
+ type: vue.PropType<any>;
212
+ default(): string;
213
+ };
214
+ label: {
215
+ type: vue.PropType<_hoci_core.ElementLike | ((val: any) => string) | null>;
216
+ };
217
+ keepAlive: {
218
+ type: BooleanConstructor;
219
+ default: () => true;
220
+ };
221
+ key: {
222
+ type: vue.PropType<string | number | symbol>;
223
+ };
224
+ activateEvent: {
225
+ type: vue.PropType<_hoci_core.ActivateEvent>;
226
+ };
227
+ disabled: {
228
+ type: BooleanConstructor;
229
+ default: boolean;
230
+ };
231
+ }>>, {
232
+ value: any;
233
+ disabled: boolean;
234
+ keepAlive: boolean;
235
+ as: string;
236
+ }, {}>;
237
+
238
+ declare const HiIcon: vue.DefineComponent<{
239
+ as: {
240
+ type: StringConstructor;
241
+ default: string;
242
+ };
243
+ src: {
244
+ type: StringConstructor;
245
+ required: true;
246
+ };
247
+ size: {
248
+ type: (StringConstructor | NumberConstructor)[];
249
+ default: string;
250
+ };
251
+ width: {
252
+ type: (StringConstructor | NumberConstructor)[];
253
+ };
254
+ height: {
255
+ type: (StringConstructor | NumberConstructor)[];
256
+ };
257
+ color: {
258
+ type: StringConstructor;
259
+ };
260
+ mask: {
261
+ type: vue.PropType<boolean | "auto">;
262
+ default: () => "auto";
263
+ };
264
+ }, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
265
+ [key: string]: any;
266
+ }>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
267
+ as: {
268
+ type: StringConstructor;
269
+ default: string;
270
+ };
271
+ src: {
272
+ type: StringConstructor;
273
+ required: true;
274
+ };
275
+ size: {
276
+ type: (StringConstructor | NumberConstructor)[];
277
+ default: string;
278
+ };
279
+ width: {
280
+ type: (StringConstructor | NumberConstructor)[];
281
+ };
282
+ height: {
283
+ type: (StringConstructor | NumberConstructor)[];
284
+ };
285
+ color: {
286
+ type: StringConstructor;
287
+ };
288
+ mask: {
289
+ type: vue.PropType<boolean | "auto">;
290
+ default: () => "auto";
291
+ };
292
+ }>>, {
293
+ mask: boolean | "auto";
294
+ size: string | number;
295
+ as: string;
296
+ }, {}>;
297
+
298
+ declare const HiSwitch: vue.DefineComponent<{
299
+ as: {
300
+ type: StringConstructor;
301
+ default: string;
302
+ };
303
+ modelValue: {
304
+ type: BooleanConstructor;
305
+ default: boolean;
306
+ };
307
+ class: {
308
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
309
+ required: true;
310
+ };
311
+ activeClass: {
312
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
313
+ default: string;
314
+ };
315
+ unactiveClass: {
316
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
317
+ default: string;
318
+ };
319
+ activateEvent: {
320
+ type: vue.PropType<_hoci_core.ActivateEvent>;
321
+ default: string;
322
+ };
323
+ disabled: {
324
+ type: BooleanConstructor;
325
+ default: boolean;
326
+ };
327
+ disabledClass: {
328
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
329
+ default: string;
330
+ };
331
+ }, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
332
+ [key: string]: any;
333
+ }>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
334
+ as: {
335
+ type: StringConstructor;
336
+ default: string;
337
+ };
338
+ modelValue: {
339
+ type: BooleanConstructor;
340
+ default: boolean;
341
+ };
342
+ class: {
343
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
344
+ required: true;
345
+ };
346
+ activeClass: {
347
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
348
+ default: string;
349
+ };
350
+ unactiveClass: {
351
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
352
+ default: string;
353
+ };
354
+ activateEvent: {
355
+ type: vue.PropType<_hoci_core.ActivateEvent>;
356
+ default: string;
357
+ };
358
+ disabled: {
359
+ type: BooleanConstructor;
360
+ default: boolean;
361
+ };
362
+ disabledClass: {
363
+ type: vue.PropType<string | string[] | Record<string, boolean>>;
364
+ default: string;
365
+ };
366
+ }>> & {
367
+ onChange?: ((...args: any[]) => any) | undefined;
368
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
369
+ }, {
370
+ disabled: boolean;
371
+ modelValue: boolean;
372
+ activeClass: string | string[] | Record<string, boolean>;
373
+ disabledClass: string | string[] | Record<string, boolean>;
374
+ unactiveClass: string | string[] | Record<string, boolean>;
375
+ activateEvent: _hoci_core.ActivateEvent;
376
+ as: string;
377
+ }, {}>;
378
+
379
+ export { HiAffix, HiIcon, HiItem, HiSelection, HiSwitch };