@hoci/components 0.5.2 → 0.5.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.
- package/dist/index.d.cts +4 -15
- package/dist/index.d.mts +4 -15
- package/dist/index.d.ts +4 -15
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -293,30 +293,26 @@ declare const HiSwitch: vue.DefineComponent<{
|
|
|
293
293
|
};
|
|
294
294
|
modelValue: {
|
|
295
295
|
type: BooleanConstructor;
|
|
296
|
-
default:
|
|
296
|
+
default: () => false;
|
|
297
297
|
};
|
|
298
298
|
class: {
|
|
299
299
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
300
|
-
required: true;
|
|
301
300
|
};
|
|
302
301
|
activeClass: {
|
|
303
302
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
304
|
-
default: string;
|
|
305
303
|
};
|
|
306
304
|
unactiveClass: {
|
|
307
305
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
308
|
-
default: string;
|
|
309
306
|
};
|
|
310
307
|
activateEvent: {
|
|
311
308
|
type: vue.PropType<_hoci_core.ActivateEvent>;
|
|
312
309
|
};
|
|
313
310
|
disabled: {
|
|
314
311
|
type: BooleanConstructor;
|
|
315
|
-
default:
|
|
312
|
+
default: () => false;
|
|
316
313
|
};
|
|
317
314
|
disabledClass: {
|
|
318
315
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
319
|
-
default: string;
|
|
320
316
|
};
|
|
321
317
|
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
322
318
|
[key: string]: any;
|
|
@@ -327,30 +323,26 @@ declare const HiSwitch: vue.DefineComponent<{
|
|
|
327
323
|
};
|
|
328
324
|
modelValue: {
|
|
329
325
|
type: BooleanConstructor;
|
|
330
|
-
default:
|
|
326
|
+
default: () => false;
|
|
331
327
|
};
|
|
332
328
|
class: {
|
|
333
329
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
334
|
-
required: true;
|
|
335
330
|
};
|
|
336
331
|
activeClass: {
|
|
337
332
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
338
|
-
default: string;
|
|
339
333
|
};
|
|
340
334
|
unactiveClass: {
|
|
341
335
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
342
|
-
default: string;
|
|
343
336
|
};
|
|
344
337
|
activateEvent: {
|
|
345
338
|
type: vue.PropType<_hoci_core.ActivateEvent>;
|
|
346
339
|
};
|
|
347
340
|
disabled: {
|
|
348
341
|
type: BooleanConstructor;
|
|
349
|
-
default:
|
|
342
|
+
default: () => false;
|
|
350
343
|
};
|
|
351
344
|
disabledClass: {
|
|
352
345
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
353
|
-
default: string;
|
|
354
346
|
};
|
|
355
347
|
}>> & {
|
|
356
348
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -358,9 +350,6 @@ declare const HiSwitch: vue.DefineComponent<{
|
|
|
358
350
|
}, {
|
|
359
351
|
disabled: boolean;
|
|
360
352
|
modelValue: boolean;
|
|
361
|
-
activeClass: string | string[] | Record<string, boolean>;
|
|
362
|
-
disabledClass: string | string[] | Record<string, boolean>;
|
|
363
|
-
unactiveClass: string | string[] | Record<string, boolean>;
|
|
364
353
|
as: string;
|
|
365
354
|
}, {}>;
|
|
366
355
|
|
package/dist/index.d.mts
CHANGED
|
@@ -293,30 +293,26 @@ declare const HiSwitch: vue.DefineComponent<{
|
|
|
293
293
|
};
|
|
294
294
|
modelValue: {
|
|
295
295
|
type: BooleanConstructor;
|
|
296
|
-
default:
|
|
296
|
+
default: () => false;
|
|
297
297
|
};
|
|
298
298
|
class: {
|
|
299
299
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
300
|
-
required: true;
|
|
301
300
|
};
|
|
302
301
|
activeClass: {
|
|
303
302
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
304
|
-
default: string;
|
|
305
303
|
};
|
|
306
304
|
unactiveClass: {
|
|
307
305
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
308
|
-
default: string;
|
|
309
306
|
};
|
|
310
307
|
activateEvent: {
|
|
311
308
|
type: vue.PropType<_hoci_core.ActivateEvent>;
|
|
312
309
|
};
|
|
313
310
|
disabled: {
|
|
314
311
|
type: BooleanConstructor;
|
|
315
|
-
default:
|
|
312
|
+
default: () => false;
|
|
316
313
|
};
|
|
317
314
|
disabledClass: {
|
|
318
315
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
319
|
-
default: string;
|
|
320
316
|
};
|
|
321
317
|
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
322
318
|
[key: string]: any;
|
|
@@ -327,30 +323,26 @@ declare const HiSwitch: vue.DefineComponent<{
|
|
|
327
323
|
};
|
|
328
324
|
modelValue: {
|
|
329
325
|
type: BooleanConstructor;
|
|
330
|
-
default:
|
|
326
|
+
default: () => false;
|
|
331
327
|
};
|
|
332
328
|
class: {
|
|
333
329
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
334
|
-
required: true;
|
|
335
330
|
};
|
|
336
331
|
activeClass: {
|
|
337
332
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
338
|
-
default: string;
|
|
339
333
|
};
|
|
340
334
|
unactiveClass: {
|
|
341
335
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
342
|
-
default: string;
|
|
343
336
|
};
|
|
344
337
|
activateEvent: {
|
|
345
338
|
type: vue.PropType<_hoci_core.ActivateEvent>;
|
|
346
339
|
};
|
|
347
340
|
disabled: {
|
|
348
341
|
type: BooleanConstructor;
|
|
349
|
-
default:
|
|
342
|
+
default: () => false;
|
|
350
343
|
};
|
|
351
344
|
disabledClass: {
|
|
352
345
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
353
|
-
default: string;
|
|
354
346
|
};
|
|
355
347
|
}>> & {
|
|
356
348
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -358,9 +350,6 @@ declare const HiSwitch: vue.DefineComponent<{
|
|
|
358
350
|
}, {
|
|
359
351
|
disabled: boolean;
|
|
360
352
|
modelValue: boolean;
|
|
361
|
-
activeClass: string | string[] | Record<string, boolean>;
|
|
362
|
-
disabledClass: string | string[] | Record<string, boolean>;
|
|
363
|
-
unactiveClass: string | string[] | Record<string, boolean>;
|
|
364
353
|
as: string;
|
|
365
354
|
}, {}>;
|
|
366
355
|
|
package/dist/index.d.ts
CHANGED
|
@@ -293,30 +293,26 @@ declare const HiSwitch: vue.DefineComponent<{
|
|
|
293
293
|
};
|
|
294
294
|
modelValue: {
|
|
295
295
|
type: BooleanConstructor;
|
|
296
|
-
default:
|
|
296
|
+
default: () => false;
|
|
297
297
|
};
|
|
298
298
|
class: {
|
|
299
299
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
300
|
-
required: true;
|
|
301
300
|
};
|
|
302
301
|
activeClass: {
|
|
303
302
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
304
|
-
default: string;
|
|
305
303
|
};
|
|
306
304
|
unactiveClass: {
|
|
307
305
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
308
|
-
default: string;
|
|
309
306
|
};
|
|
310
307
|
activateEvent: {
|
|
311
308
|
type: vue.PropType<_hoci_core.ActivateEvent>;
|
|
312
309
|
};
|
|
313
310
|
disabled: {
|
|
314
311
|
type: BooleanConstructor;
|
|
315
|
-
default:
|
|
312
|
+
default: () => false;
|
|
316
313
|
};
|
|
317
314
|
disabledClass: {
|
|
318
315
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
319
|
-
default: string;
|
|
320
316
|
};
|
|
321
317
|
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
322
318
|
[key: string]: any;
|
|
@@ -327,30 +323,26 @@ declare const HiSwitch: vue.DefineComponent<{
|
|
|
327
323
|
};
|
|
328
324
|
modelValue: {
|
|
329
325
|
type: BooleanConstructor;
|
|
330
|
-
default:
|
|
326
|
+
default: () => false;
|
|
331
327
|
};
|
|
332
328
|
class: {
|
|
333
329
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
334
|
-
required: true;
|
|
335
330
|
};
|
|
336
331
|
activeClass: {
|
|
337
332
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
338
|
-
default: string;
|
|
339
333
|
};
|
|
340
334
|
unactiveClass: {
|
|
341
335
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
342
|
-
default: string;
|
|
343
336
|
};
|
|
344
337
|
activateEvent: {
|
|
345
338
|
type: vue.PropType<_hoci_core.ActivateEvent>;
|
|
346
339
|
};
|
|
347
340
|
disabled: {
|
|
348
341
|
type: BooleanConstructor;
|
|
349
|
-
default:
|
|
342
|
+
default: () => false;
|
|
350
343
|
};
|
|
351
344
|
disabledClass: {
|
|
352
345
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
353
|
-
default: string;
|
|
354
346
|
};
|
|
355
347
|
}>> & {
|
|
356
348
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -358,9 +350,6 @@ declare const HiSwitch: vue.DefineComponent<{
|
|
|
358
350
|
}, {
|
|
359
351
|
disabled: boolean;
|
|
360
352
|
modelValue: boolean;
|
|
361
|
-
activeClass: string | string[] | Record<string, boolean>;
|
|
362
|
-
disabledClass: string | string[] | Record<string, boolean>;
|
|
363
|
-
unactiveClass: string | string[] | Record<string, boolean>;
|
|
364
353
|
as: string;
|
|
365
354
|
}, {}>;
|
|
366
355
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hoci/components",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"description": "",
|
|
5
|
-
"author": "
|
|
5
|
+
"author": "Chizuki <chizukicn@outlook.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "
|
|
9
|
+
"url": "https://github.com/chizukicn/hoci",
|
|
10
10
|
"directory": "packages/components"
|
|
11
11
|
},
|
|
12
12
|
"sideEffects": false,
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"@vueuse/core": ">=10.5.0",
|
|
32
32
|
"maybe-types": "^0.1.0",
|
|
33
33
|
"tslx": "^0.1.1",
|
|
34
|
-
"@hoci/core": "0.5.
|
|
35
|
-
"@hoci/shared": "0.5.
|
|
34
|
+
"@hoci/core": "0.5.4",
|
|
35
|
+
"@hoci/shared": "0.5.4"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "unbuild",
|