@histoire/controls 0.17.16 → 0.17.17
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/HstCopyIcon.vue.d.ts +3 -3
- package/dist/components/HstWrapper.vue.d.ts +11 -11
- package/dist/components/button/HstButton.vue.d.ts +141 -10
- package/dist/components/button/HstButtonGroup.vue.d.ts +9 -9
- package/dist/components/checkbox/HstCheckbox.vue.d.ts +8 -8
- package/dist/components/checkbox/HstCheckboxList.vue.d.ts +9 -9
- package/dist/components/checkbox/HstSimpleCheckbox.vue.d.ts +3 -3
- package/dist/components/colorselect/HstColorSelect.vue.d.ts +8 -8
- package/dist/components/design-tokens/HstColorShades.vue.d.ts +8 -8
- package/dist/components/design-tokens/HstTokenGrid.vue.d.ts +12 -12
- package/dist/components/design-tokens/HstTokenList.vue.d.ts +9 -9
- package/dist/components/json/HstJson.vue.d.ts +8 -8
- package/dist/components/number/HstNumber.vue.d.ts +8 -8
- package/dist/components/radio/HstRadio.vue.d.ts +9 -9
- package/dist/components/select/CustomSelect.vue.d.ts +9 -9
- package/dist/components/select/HstSelect.vue.d.ts +9 -9
- package/dist/components/slider/HstSlider.vue.d.ts +3 -3
- package/dist/components/text/HstText.vue.d.ts +8 -8
- package/dist/components/textarea/HstTextarea.vue.d.ts +8 -8
- package/dist/index.d.ts +48 -48
- package/dist/index.es.js +69 -67
- package/dist/style.css +1 -1
- package/package.json +12 -12
- package/src/components/HstCopyIcon.vue +1 -1
- package/src/components/HstWrapper.vue +0 -1
- package/src/components/button/HstButton.story.vue +1 -1
- package/src/components/button/HstButtonGroup.story.vue +2 -2
- package/src/components/button/HstButtonGroup.vue +8 -5
- package/src/components/checkbox/HstCheckbox.spec.ts +3 -3
- package/src/components/checkbox/HstCheckbox.story.vue +1 -1
- package/src/components/checkbox/HstCheckbox.vue +2 -2
- package/src/components/checkbox/HstCheckboxList.story.vue +1 -1
- package/src/components/checkbox/HstCheckboxList.vue +9 -6
- package/src/components/checkbox/HstSimpleCheckbox.story.vue +1 -1
- package/src/components/checkbox/HstSimpleCheckbox.vue +2 -2
- package/src/components/checkbox/__snapshots__/HstCheckbox.spec.ts.snap +4 -0
- package/src/components/colorselect/HstColorSelect.vue +1 -4
- package/src/components/design-tokens/HstColorShades.story.vue +2 -2
- package/src/components/design-tokens/HstColorShades.vue +2 -2
- package/src/components/design-tokens/HstTokenGrid.story.vue +6 -6
- package/src/components/design-tokens/HstTokenList.story.vue +23 -23
- package/src/components/json/HstJson.story.vue +1 -1
- package/src/components/json/HstJson.vue +15 -12
- package/src/components/number/HstNumber.story.vue +1 -1
- package/src/components/number/HstNumber.vue +8 -8
- package/src/components/radio/HstRadio.story.vue +1 -1
- package/src/components/radio/HstRadio.vue +7 -5
- package/src/components/select/CustomSelect.vue +9 -7
- package/src/components/select/HstSelect.story.vue +1 -1
- package/src/components/select/HstSelect.vue +1 -1
- package/src/components/slider/HstSlider.vue +3 -3
- package/src/components/text/HstText.story.vue +1 -1
- package/src/components/textarea/HstTextarea.story.vue +1 -1
- package/tailwind.config.cjs +1 -1
- package/tsconfig.json +25 -25
- package/vite.config.ts +8 -8
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Awaitable } from '@histoire/shared';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
3
|
content: string | (() => Awaitable<string>);
|
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
5
5
|
content: string | (() => Awaitable<string>);
|
|
6
6
|
}>>>, {}, {}>;
|
|
7
7
|
export default _default;
|
|
8
8
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type
|
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
10
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
11
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
12
|
} : {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
2
|
title?: string;
|
|
3
3
|
tag?: string;
|
|
4
4
|
}>, {
|
|
5
5
|
title: any;
|
|
6
6
|
tag: string;
|
|
7
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
8
8
|
title?: string;
|
|
9
9
|
tag?: string;
|
|
10
10
|
}>, {
|
|
@@ -18,15 +18,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
18
18
|
actions?(_: {}): any;
|
|
19
19
|
}>;
|
|
20
20
|
export default _default;
|
|
21
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
-
} : {
|
|
26
|
-
type: import('vue').PropType<T[K]>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
21
|
type __VLS_WithDefaults<P, D> = {
|
|
31
22
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
23
|
default: D[K];
|
|
@@ -40,3 +31,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
40
31
|
$slots: S;
|
|
41
32
|
};
|
|
42
33
|
};
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToOption<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: import('vue').PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -1,13 +1,149 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
2
|
-
color?: "
|
|
3
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
4
|
-
color?: "
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
color?: "default" | "primary" | "flat";
|
|
3
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
4
|
+
color?: "default" | "primary" | "flat";
|
|
5
5
|
}>>>, {}, {}>, {
|
|
6
6
|
default?(_: {}): any;
|
|
7
7
|
}>;
|
|
8
8
|
export default _default;
|
|
9
|
+
export declare const __VLS_globalTypesStart: {};
|
|
10
|
+
declare global {
|
|
11
|
+
type __VLS_IntrinsicElements = __VLS_PickNotAny<import('vue/jsx-runtime').JSX.IntrinsicElements, __VLS_PickNotAny<globalThis.JSX.IntrinsicElements, Record<string, any>>>;
|
|
12
|
+
type __VLS_Element = __VLS_PickNotAny<import('vue/jsx-runtime').JSX.Element, globalThis.JSX.Element>;
|
|
13
|
+
type __VLS_GlobalComponents = __VLS_PickNotAny<import('vue').GlobalComponents, {}> & __VLS_PickNotAny<import('@vue/runtime-core').GlobalComponents, {}> & __VLS_PickNotAny<import('@vue/runtime-dom').GlobalComponents, {}> & Pick<typeof import('vue'), 'Transition' | 'TransitionGroup' | 'KeepAlive' | 'Suspense' | 'Teleport'>;
|
|
14
|
+
type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
|
|
15
|
+
type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A;
|
|
16
|
+
const __VLS_intrinsicElements: __VLS_IntrinsicElements;
|
|
17
|
+
function __VLS_getVForSourceType(source: number): [number, number, number][];
|
|
18
|
+
function __VLS_getVForSourceType(source: string): [string, number, number][];
|
|
19
|
+
function __VLS_getVForSourceType<T extends any[]>(source: T): [
|
|
20
|
+
item: T[number],
|
|
21
|
+
key: number,
|
|
22
|
+
index: number
|
|
23
|
+
][];
|
|
24
|
+
function __VLS_getVForSourceType<T extends {
|
|
25
|
+
[Symbol.iterator](): Iterator<any>;
|
|
26
|
+
}>(source: T): [
|
|
27
|
+
item: T extends {
|
|
28
|
+
[Symbol.iterator](): Iterator<infer T1>;
|
|
29
|
+
} ? T1 : never,
|
|
30
|
+
key: number,
|
|
31
|
+
index: undefined
|
|
32
|
+
][];
|
|
33
|
+
function __VLS_getVForSourceType<T extends number | {
|
|
34
|
+
[Symbol.iterator](): Iterator<any>;
|
|
35
|
+
}>(source: T): [
|
|
36
|
+
item: number | (Exclude<T, number> extends {
|
|
37
|
+
[Symbol.iterator](): Iterator<infer T1>;
|
|
38
|
+
} ? T1 : never),
|
|
39
|
+
key: number,
|
|
40
|
+
index: undefined
|
|
41
|
+
][];
|
|
42
|
+
function __VLS_getVForSourceType<T>(source: T): [
|
|
43
|
+
item: T[keyof T],
|
|
44
|
+
key: keyof T,
|
|
45
|
+
index: number
|
|
46
|
+
][];
|
|
47
|
+
function __VLS_getSlotParams<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>;
|
|
48
|
+
function __VLS_getSlotParam<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>[0];
|
|
49
|
+
function __VLS_directiveFunction<T>(dir: T): T extends import('vue').ObjectDirective<infer E, infer V> | import('vue').FunctionDirective<infer E, infer V> ? (value: V) => void : T;
|
|
50
|
+
function __VLS_withScope<T, K>(ctx: T, scope: K): ctx is T & K;
|
|
51
|
+
function __VLS_makeOptional<T>(t: T): {
|
|
52
|
+
[K in keyof T]?: T[K];
|
|
53
|
+
};
|
|
54
|
+
type __VLS_SelfComponent<N, C> = string extends N ? {} : N extends string ? {
|
|
55
|
+
[P in N]: C;
|
|
56
|
+
} : {};
|
|
57
|
+
type __VLS_WithComponent<N0 extends string, LocalComponents, N1 extends string, N2 extends string, N3 extends string> = N1 extends keyof LocalComponents ? N1 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
58
|
+
[K in N0]: LocalComponents[N1];
|
|
59
|
+
} : N2 extends keyof LocalComponents ? N2 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
60
|
+
[K in N0]: LocalComponents[N2];
|
|
61
|
+
} : N3 extends keyof LocalComponents ? N3 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
62
|
+
[K in N0]: LocalComponents[N3];
|
|
63
|
+
} : N1 extends keyof __VLS_GlobalComponents ? N1 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
64
|
+
[K in N0]: __VLS_GlobalComponents[N1];
|
|
65
|
+
} : N2 extends keyof __VLS_GlobalComponents ? N2 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
66
|
+
[K in N0]: __VLS_GlobalComponents[N2];
|
|
67
|
+
} : N3 extends keyof __VLS_GlobalComponents ? N3 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
68
|
+
[K in N0]: __VLS_GlobalComponents[N3];
|
|
69
|
+
} : {
|
|
70
|
+
[K in N0]: unknown;
|
|
71
|
+
};
|
|
72
|
+
type __VLS_FillingEventArg_ParametersLength<E extends (...args: any) => any> = __VLS_IsAny<Parameters<E>> extends true ? -1 : Parameters<E>['length'];
|
|
73
|
+
type __VLS_FillingEventArg<E> = E extends (...args: any) => any ? __VLS_FillingEventArg_ParametersLength<E> extends 0 ? ($event?: undefined) => ReturnType<E> : E : E;
|
|
74
|
+
function __VLS_asFunctionalComponent<T, K = T extends new (...args: any) => any ? InstanceType<T> : unknown>(t: T, instance?: K): T extends new (...args: any) => any ? (props: (K extends {
|
|
75
|
+
$props: infer Props;
|
|
76
|
+
} ? Props : any) & Record<string, unknown>, ctx?: any) => __VLS_Element & {
|
|
77
|
+
__ctx?: {
|
|
78
|
+
attrs?: any;
|
|
79
|
+
slots?: K extends {
|
|
80
|
+
$slots: infer Slots;
|
|
81
|
+
} ? Slots : any;
|
|
82
|
+
emit?: K extends {
|
|
83
|
+
$emit: infer Emit;
|
|
84
|
+
} ? Emit : any;
|
|
85
|
+
} & {
|
|
86
|
+
props?: (K extends {
|
|
87
|
+
$props: infer Props;
|
|
88
|
+
} ? Props : any) & Record<string, unknown>;
|
|
89
|
+
expose?(exposed: K): void;
|
|
90
|
+
};
|
|
91
|
+
} : T extends () => any ? (props: {}, ctx?: any) => ReturnType<T> : T extends (...args: any) => any ? T : (_: {} & Record<string, unknown>, ctx?: any) => {
|
|
92
|
+
__ctx?: {
|
|
93
|
+
attrs?: any;
|
|
94
|
+
expose?: any;
|
|
95
|
+
slots?: any;
|
|
96
|
+
emit?: any;
|
|
97
|
+
props?: {} & Record<string, unknown>;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
function __VLS_elementAsFunctionalComponent<T>(t: T): (_: T & Record<string, unknown>, ctx?: any) => {
|
|
101
|
+
__ctx?: {
|
|
102
|
+
attrs?: any;
|
|
103
|
+
expose?: any;
|
|
104
|
+
slots?: any;
|
|
105
|
+
emit?: any;
|
|
106
|
+
props?: T & Record<string, unknown>;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
function __VLS_functionalComponentArgsRest<T extends (...args: any) => any>(t: T): Parameters<T>['length'] extends 2 ? [any] : [];
|
|
110
|
+
function __VLS_pickEvent<E1, E2>(emitEvent: E1, propEvent: E2): __VLS_FillingEventArg<__VLS_PickNotAny<__VLS_AsFunctionOrAny<E2>, __VLS_AsFunctionOrAny<E1>>> | undefined;
|
|
111
|
+
function __VLS_pickFunctionalComponentCtx<T, K>(comp: T, compInstance: K): __VLS_PickNotAny<'__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
|
|
112
|
+
__ctx?: infer Ctx;
|
|
113
|
+
} ? Ctx : never : any, T extends (props: any, ctx: infer Ctx) => any ? Ctx : any>;
|
|
114
|
+
type __VLS_FunctionalComponentProps<T, K> = '__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
|
|
115
|
+
__ctx?: {
|
|
116
|
+
props?: infer P;
|
|
117
|
+
};
|
|
118
|
+
} ? NonNullable<P> : never : T extends (props: infer P, ...args: any) => any ? P : {};
|
|
119
|
+
type __VLS_AsFunctionOrAny<F> = unknown extends F ? any : ((...args: any) => any) extends F ? F : any;
|
|
120
|
+
function __VLS_normalizeSlot<S>(s: S): S extends () => infer R ? (props: {}) => R : S;
|
|
121
|
+
/**
|
|
122
|
+
* emit
|
|
123
|
+
*/
|
|
124
|
+
type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never;
|
|
125
|
+
type __VLS_OverloadUnionInner<T, U = unknown> = U & T extends (...args: infer A) => infer R ? U extends T ? never : __VLS_OverloadUnionInner<T, Pick<T, keyof T> & U & ((...args: A) => R)> | ((...args: A) => R) : never;
|
|
126
|
+
type __VLS_OverloadUnion<T> = Exclude<__VLS_OverloadUnionInner<(() => never) & T>, T extends () => never ? never : () => never>;
|
|
127
|
+
type __VLS_ConstructorOverloads<T> = __VLS_OverloadUnion<T> extends infer F ? F extends (event: infer E, ...args: infer A) => any ? {
|
|
128
|
+
[K in E & string]: (...args: A) => void;
|
|
129
|
+
} : never : never;
|
|
130
|
+
type __VLS_NormalizeEmits<T> = __VLS_PrettifyGlobal<__VLS_UnionToIntersection<__VLS_ConstructorOverloads<T> & {
|
|
131
|
+
[K in keyof T]: T[K] extends any[] ? {
|
|
132
|
+
(...args: T[K]): void;
|
|
133
|
+
} : never;
|
|
134
|
+
}>>;
|
|
135
|
+
type __VLS_PrettifyGlobal<T> = {
|
|
136
|
+
[K in keyof T]: T[K];
|
|
137
|
+
} & {};
|
|
138
|
+
}
|
|
139
|
+
export declare const __VLS_globalTypesEnd: {};
|
|
140
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
141
|
+
new (): {
|
|
142
|
+
$slots: S;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
9
145
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type
|
|
146
|
+
type __VLS_TypePropsToOption<T> = {
|
|
11
147
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
148
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
149
|
} : {
|
|
@@ -15,8 +151,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
15
151
|
required: true;
|
|
16
152
|
};
|
|
17
153
|
};
|
|
18
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
-
new (): {
|
|
20
|
-
$slots: S;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { HstControlOption } from '../../types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
import type { HstControlOption } from '../../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
3
|
title?: string;
|
|
4
4
|
modelValue?: string;
|
|
5
5
|
options: string[] | number[] | HstControlOption[] | Record<string, string | number>;
|
|
6
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (value: string) => void;
|
|
8
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
9
9
|
title?: string;
|
|
10
10
|
modelValue?: string;
|
|
11
11
|
options: string[] | number[] | HstControlOption[] | Record<string, string | number>;
|
|
@@ -15,8 +15,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
actions?(_: {}): any;
|
|
16
16
|
}>;
|
|
17
17
|
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
18
23
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type
|
|
24
|
+
type __VLS_TypePropsToOption<T> = {
|
|
20
25
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
26
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
27
|
} : {
|
|
@@ -24,8 +29,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
24
29
|
required: true;
|
|
25
30
|
};
|
|
26
31
|
};
|
|
27
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
-
new (): {
|
|
29
|
-
$slots: S;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
2
|
modelValue?: boolean | "true" | "false";
|
|
3
3
|
title?: string;
|
|
4
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:modelValue": (newValue: boolean | "true" | "false") => void;
|
|
6
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
6
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
7
7
|
modelValue?: boolean | "true" | "false";
|
|
8
8
|
title?: string;
|
|
9
9
|
}>>> & {
|
|
@@ -12,8 +12,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
12
|
actions?(_: {}): any;
|
|
13
13
|
}>;
|
|
14
14
|
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
15
20
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type
|
|
21
|
+
type __VLS_TypePropsToOption<T> = {
|
|
17
22
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
23
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
24
|
} : {
|
|
@@ -21,8 +26,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
21
26
|
required: true;
|
|
22
27
|
};
|
|
23
28
|
};
|
|
24
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
-
new (): {
|
|
26
|
-
$slots: S;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { HstControlOption } from '../../types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
import type { HstControlOption } from '../../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
3
|
title?: string;
|
|
4
4
|
modelValue: Array<string>;
|
|
5
5
|
options: string[] | HstControlOption[];
|
|
6
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (value: string[]) => void;
|
|
8
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
9
9
|
title?: string;
|
|
10
10
|
modelValue: Array<string>;
|
|
11
11
|
options: string[] | HstControlOption[];
|
|
@@ -15,8 +15,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
actions?(_: {}): any;
|
|
16
16
|
}>;
|
|
17
17
|
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
18
23
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type
|
|
24
|
+
type __VLS_TypePropsToOption<T> = {
|
|
20
25
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
26
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
27
|
} : {
|
|
@@ -24,8 +29,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
24
29
|
required: true;
|
|
25
30
|
};
|
|
26
31
|
};
|
|
27
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
-
new (): {
|
|
29
|
-
$slots: S;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
2
|
modelValue?: boolean;
|
|
3
3
|
withToggle?: boolean;
|
|
4
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:modelValue": (newValue: boolean) => void;
|
|
6
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
6
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
7
7
|
modelValue?: boolean;
|
|
8
8
|
withToggle?: boolean;
|
|
9
9
|
}>>> & {
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
11
11
|
}, {}, {}>;
|
|
12
12
|
export default _default;
|
|
13
13
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
-
type
|
|
14
|
+
type __VLS_TypePropsToOption<T> = {
|
|
15
15
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
16
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
17
|
} : {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
2
|
title?: string;
|
|
3
3
|
modelValue?: string;
|
|
4
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:modelValue": (newValue: string) => void;
|
|
6
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
6
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
7
7
|
title?: string;
|
|
8
8
|
modelValue?: string;
|
|
9
9
|
}>>> & {
|
|
@@ -12,8 +12,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
12
|
actions?(_: {}): any;
|
|
13
13
|
}>;
|
|
14
14
|
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
15
20
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type
|
|
21
|
+
type __VLS_TypePropsToOption<T> = {
|
|
17
22
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
23
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
24
|
} : {
|
|
@@ -21,8 +26,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
21
26
|
required: true;
|
|
22
27
|
};
|
|
23
28
|
};
|
|
24
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
-
new (): {
|
|
26
|
-
$slots: S;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
2
|
shades: Record<string, any>;
|
|
3
3
|
getName?: (key: string, color: string) => string;
|
|
4
4
|
search?: string;
|
|
5
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
6
6
|
shades: Record<string, any>;
|
|
7
7
|
getName?: (key: string, color: string) => string;
|
|
8
8
|
search?: string;
|
|
@@ -12,8 +12,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
12
|
}): any;
|
|
13
13
|
}>;
|
|
14
14
|
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
15
20
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type
|
|
21
|
+
type __VLS_TypePropsToOption<T> = {
|
|
17
22
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
23
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
24
|
} : {
|
|
@@ -21,8 +26,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
21
26
|
required: true;
|
|
22
27
|
};
|
|
23
28
|
};
|
|
24
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
-
new (): {
|
|
26
|
-
$slots: S;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
2
|
tokens: Record<string, string | number | any[] | Record<string, any>>;
|
|
3
3
|
colSize?: number;
|
|
4
4
|
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
5
5
|
}>, {
|
|
6
6
|
colSize: number;
|
|
7
7
|
getName: any;
|
|
8
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
9
|
tokens: Record<string, string | number | any[] | Record<string, any>>;
|
|
10
10
|
colSize?: number;
|
|
11
11
|
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
@@ -20,20 +20,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
20
|
token: {
|
|
21
21
|
key: string;
|
|
22
22
|
name: string;
|
|
23
|
-
value: string | Record<string, any>;
|
|
23
|
+
value: string | any[] | Record<string, any>;
|
|
24
24
|
};
|
|
25
25
|
}): any;
|
|
26
26
|
}>;
|
|
27
27
|
export default _default;
|
|
28
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
-
} : {
|
|
33
|
-
type: import('vue').PropType<T[K]>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
28
|
type __VLS_WithDefaults<P, D> = {
|
|
38
29
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
39
30
|
default: D[K];
|
|
@@ -47,3 +38,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
47
38
|
$slots: S;
|
|
48
39
|
};
|
|
49
40
|
};
|
|
41
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
+
type __VLS_TypePropsToOption<T> = {
|
|
43
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
+
} : {
|
|
46
|
+
type: import('vue').PropType<T[K]>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
2
|
tokens: Record<string, string | number | any[] | Record<string, any>>;
|
|
3
3
|
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
5
5
|
tokens: Record<string, string | number | any[] | Record<string, any>>;
|
|
6
6
|
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
7
7
|
}>>>, {}, {}>, {
|
|
@@ -9,13 +9,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
9
|
token: {
|
|
10
10
|
key: string;
|
|
11
11
|
name: string;
|
|
12
|
-
value: string | Record<string, any>;
|
|
12
|
+
value: string | any[] | Record<string, any>;
|
|
13
13
|
};
|
|
14
14
|
}): any;
|
|
15
15
|
}>;
|
|
16
16
|
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
17
22
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type
|
|
23
|
+
type __VLS_TypePropsToOption<T> = {
|
|
19
24
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
25
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
26
|
} : {
|
|
@@ -23,8 +28,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
23
28
|
required: true;
|
|
24
29
|
};
|
|
25
30
|
};
|
|
26
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
-
new (): {
|
|
28
|
-
$slots: S;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
2
|
title?: string;
|
|
3
3
|
modelValue: unknown;
|
|
4
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:modelValue": (newValue: unknown) => void;
|
|
6
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
6
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
7
7
|
title?: string;
|
|
8
8
|
modelValue: unknown;
|
|
9
9
|
}>>> & {
|
|
@@ -12,8 +12,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
12
|
actions?(_: {}): any;
|
|
13
13
|
}>;
|
|
14
14
|
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
15
20
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type
|
|
21
|
+
type __VLS_TypePropsToOption<T> = {
|
|
17
22
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
23
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
24
|
} : {
|
|
@@ -21,8 +26,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
21
26
|
required: true;
|
|
22
27
|
};
|
|
23
28
|
};
|
|
24
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
-
new (): {
|
|
26
|
-
$slots: S;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
2
|
title?: string;
|
|
3
3
|
modelValue?: number;
|
|
4
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:modelValue": (newValue: number) => void;
|
|
6
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
6
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
7
7
|
title?: string;
|
|
8
8
|
modelValue?: number;
|
|
9
9
|
}>>> & {
|
|
@@ -12,8 +12,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
12
|
actions?(_: {}): any;
|
|
13
13
|
}>;
|
|
14
14
|
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
15
20
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type
|
|
21
|
+
type __VLS_TypePropsToOption<T> = {
|
|
17
22
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
23
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
24
|
} : {
|
|
@@ -21,8 +26,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
21
26
|
required: true;
|
|
22
27
|
};
|
|
23
28
|
};
|
|
24
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
-
new (): {
|
|
26
|
-
$slots: S;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { HstControlOption } from '../../types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
import type { HstControlOption } from '../../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
3
|
title?: string;
|
|
4
4
|
modelValue?: string;
|
|
5
5
|
options: HstControlOption[];
|
|
6
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (value: string) => void;
|
|
8
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
9
9
|
title?: string;
|
|
10
10
|
modelValue?: string;
|
|
11
11
|
options: HstControlOption[];
|
|
@@ -15,8 +15,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
actions?(_: {}): any;
|
|
16
16
|
}>;
|
|
17
17
|
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
18
23
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type
|
|
24
|
+
type __VLS_TypePropsToOption<T> = {
|
|
20
25
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
26
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
27
|
} : {
|
|
@@ -24,8 +29,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
24
29
|
required: true;
|
|
25
30
|
};
|
|
26
31
|
};
|
|
27
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
-
new (): {
|
|
29
|
-
$slots: S;
|
|
30
|
-
};
|
|
31
|
-
};
|