@histoire/controls
Advanced tools
Comparing version 0.17.17 to 1.0.0-alpha.1
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
@@ -1,140 +0,9 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
color?: "default" | "primary" | "flat"; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
color?: "default" | "primary" | "flat"; | ||
}>>>, {}, {}>, { | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
color?: "flat" | "default" | "primary"; | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{ | ||
color?: "flat" | "default" | "primary"; | ||
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLButtonElement>, { | ||
default?(_: {}): any; | ||
}>; | ||
export default _default; | ||
export declare const __VLS_globalTypesStart: {}; | ||
declare global { | ||
type __VLS_IntrinsicElements = __VLS_PickNotAny<import('vue/jsx-runtime').JSX.IntrinsicElements, __VLS_PickNotAny<globalThis.JSX.IntrinsicElements, Record<string, any>>>; | ||
type __VLS_Element = __VLS_PickNotAny<import('vue/jsx-runtime').JSX.Element, globalThis.JSX.Element>; | ||
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'>; | ||
type __VLS_IsAny<T> = 0 extends 1 & T ? true : false; | ||
type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A; | ||
const __VLS_intrinsicElements: __VLS_IntrinsicElements; | ||
function __VLS_getVForSourceType(source: number): [number, number, number][]; | ||
function __VLS_getVForSourceType(source: string): [string, number, number][]; | ||
function __VLS_getVForSourceType<T extends any[]>(source: T): [ | ||
item: T[number], | ||
key: number, | ||
index: number | ||
][]; | ||
function __VLS_getVForSourceType<T extends { | ||
[Symbol.iterator](): Iterator<any>; | ||
}>(source: T): [ | ||
item: T extends { | ||
[Symbol.iterator](): Iterator<infer T1>; | ||
} ? T1 : never, | ||
key: number, | ||
index: undefined | ||
][]; | ||
function __VLS_getVForSourceType<T extends number | { | ||
[Symbol.iterator](): Iterator<any>; | ||
}>(source: T): [ | ||
item: number | (Exclude<T, number> extends { | ||
[Symbol.iterator](): Iterator<infer T1>; | ||
} ? T1 : never), | ||
key: number, | ||
index: undefined | ||
][]; | ||
function __VLS_getVForSourceType<T>(source: T): [ | ||
item: T[keyof T], | ||
key: keyof T, | ||
index: number | ||
][]; | ||
function __VLS_getSlotParams<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>; | ||
function __VLS_getSlotParam<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>[0]; | ||
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; | ||
function __VLS_withScope<T, K>(ctx: T, scope: K): ctx is T & K; | ||
function __VLS_makeOptional<T>(t: T): { | ||
[K in keyof T]?: T[K]; | ||
}; | ||
type __VLS_SelfComponent<N, C> = string extends N ? {} : N extends string ? { | ||
[P in N]: C; | ||
} : {}; | ||
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> : { | ||
[K in N0]: LocalComponents[N1]; | ||
} : N2 extends keyof LocalComponents ? N2 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : { | ||
[K in N0]: LocalComponents[N2]; | ||
} : N3 extends keyof LocalComponents ? N3 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : { | ||
[K in N0]: LocalComponents[N3]; | ||
} : N1 extends keyof __VLS_GlobalComponents ? N1 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : { | ||
[K in N0]: __VLS_GlobalComponents[N1]; | ||
} : N2 extends keyof __VLS_GlobalComponents ? N2 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : { | ||
[K in N0]: __VLS_GlobalComponents[N2]; | ||
} : N3 extends keyof __VLS_GlobalComponents ? N3 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : { | ||
[K in N0]: __VLS_GlobalComponents[N3]; | ||
} : { | ||
[K in N0]: unknown; | ||
}; | ||
type __VLS_FillingEventArg_ParametersLength<E extends (...args: any) => any> = __VLS_IsAny<Parameters<E>> extends true ? -1 : Parameters<E>['length']; | ||
type __VLS_FillingEventArg<E> = E extends (...args: any) => any ? __VLS_FillingEventArg_ParametersLength<E> extends 0 ? ($event?: undefined) => ReturnType<E> : E : E; | ||
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 { | ||
$props: infer Props; | ||
} ? Props : any) & Record<string, unknown>, ctx?: any) => __VLS_Element & { | ||
__ctx?: { | ||
attrs?: any; | ||
slots?: K extends { | ||
$slots: infer Slots; | ||
} ? Slots : any; | ||
emit?: K extends { | ||
$emit: infer Emit; | ||
} ? Emit : any; | ||
} & { | ||
props?: (K extends { | ||
$props: infer Props; | ||
} ? Props : any) & Record<string, unknown>; | ||
expose?(exposed: K): void; | ||
}; | ||
} : T extends () => any ? (props: {}, ctx?: any) => ReturnType<T> : T extends (...args: any) => any ? T : (_: {} & Record<string, unknown>, ctx?: any) => { | ||
__ctx?: { | ||
attrs?: any; | ||
expose?: any; | ||
slots?: any; | ||
emit?: any; | ||
props?: {} & Record<string, unknown>; | ||
}; | ||
}; | ||
function __VLS_elementAsFunctionalComponent<T>(t: T): (_: T & Record<string, unknown>, ctx?: any) => { | ||
__ctx?: { | ||
attrs?: any; | ||
expose?: any; | ||
slots?: any; | ||
emit?: any; | ||
props?: T & Record<string, unknown>; | ||
}; | ||
}; | ||
function __VLS_functionalComponentArgsRest<T extends (...args: any) => any>(t: T): Parameters<T>['length'] extends 2 ? [any] : []; | ||
function __VLS_pickEvent<E1, E2>(emitEvent: E1, propEvent: E2): __VLS_FillingEventArg<__VLS_PickNotAny<__VLS_AsFunctionOrAny<E2>, __VLS_AsFunctionOrAny<E1>>> | undefined; | ||
function __VLS_pickFunctionalComponentCtx<T, K>(comp: T, compInstance: K): __VLS_PickNotAny<'__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends { | ||
__ctx?: infer Ctx; | ||
} ? Ctx : never : any, T extends (props: any, ctx: infer Ctx) => any ? Ctx : any>; | ||
type __VLS_FunctionalComponentProps<T, K> = '__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends { | ||
__ctx?: { | ||
props?: infer P; | ||
}; | ||
} ? NonNullable<P> : never : T extends (props: infer P, ...args: any) => any ? P : {}; | ||
type __VLS_AsFunctionOrAny<F> = unknown extends F ? any : ((...args: any) => any) extends F ? F : any; | ||
function __VLS_normalizeSlot<S>(s: S): S extends () => infer R ? (props: {}) => R : S; | ||
/** | ||
* emit | ||
*/ | ||
type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never; | ||
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; | ||
type __VLS_OverloadUnion<T> = Exclude<__VLS_OverloadUnionInner<(() => never) & T>, T extends () => never ? never : () => never>; | ||
type __VLS_ConstructorOverloads<T> = __VLS_OverloadUnion<T> extends infer F ? F extends (event: infer E, ...args: infer A) => any ? { | ||
[K in E & string]: (...args: A) => void; | ||
} : never : never; | ||
type __VLS_NormalizeEmits<T> = __VLS_PrettifyGlobal<__VLS_UnionToIntersection<__VLS_ConstructorOverloads<T> & { | ||
[K in keyof T]: T[K] extends any[] ? { | ||
(...args: T[K]): void; | ||
} : never; | ||
}>>; | ||
type __VLS_PrettifyGlobal<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
} | ||
export declare const __VLS_globalTypesEnd: {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -145,10 +14,1 @@ new (): { | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
import type { HstControlOption } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
title?: string; | ||
modelValue?: string; | ||
options: string[] | number[] | HstControlOption[] | Record<string, string | number>; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (value: string) => void; | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { | ||
"update:modelValue": (value: string) => any; | ||
}, string, import("vue").PublicProps, Readonly<{ | ||
title?: string; | ||
modelValue?: string; | ||
options: string[] | number[] | HstControlOption[] | Record<string, string | number>; | ||
}>>> & { | ||
}> & Readonly<{ | ||
"onUpdate:modelValue"?: (value: string) => any; | ||
}, {}, {}>, { | ||
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { | ||
actions?(_: {}): any; | ||
@@ -23,10 +23,1 @@ }>; | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
@@ -1,12 +0,12 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
modelValue?: boolean | "true" | "false"; | ||
title?: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (newValue: boolean | "true" | "false") => void; | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, string, import("vue").PublicProps, Readonly<{ | ||
modelValue?: boolean | "true" | "false"; | ||
title?: string; | ||
}>>> & { | ||
}> & Readonly<{ | ||
"onUpdate:modelValue"?: (newValue: boolean | "true" | "false") => any; | ||
}, {}, {}>, { | ||
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { | ||
actions?(_: {}): any; | ||
@@ -20,10 +20,1 @@ }>; | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
import type { HstControlOption } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
title?: string; | ||
modelValue: Array<string>; | ||
options: string[] | HstControlOption[]; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (value: string[]) => void; | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { | ||
"update:modelValue": (value: string[]) => any; | ||
}, string, import("vue").PublicProps, Readonly<{ | ||
title?: string; | ||
modelValue: Array<string>; | ||
options: string[] | HstControlOption[]; | ||
}>>> & { | ||
}> & Readonly<{ | ||
"onUpdate:modelValue"?: (value: string[]) => any; | ||
}, {}, {}>, { | ||
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { | ||
actions?(_: {}): any; | ||
@@ -23,10 +23,1 @@ }>; | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
@@ -1,21 +0,12 @@ | ||
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: import("vue").DefineComponent<{ | ||
modelValue?: boolean; | ||
withToggle?: boolean; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (newValue: boolean) => void; | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, string, import("vue").PublicProps, Readonly<{ | ||
modelValue?: boolean; | ||
withToggle?: boolean; | ||
}>>> & { | ||
}> & Readonly<{ | ||
"onUpdate:modelValue"?: (newValue: boolean) => any; | ||
}, {}, {}>; | ||
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
@@ -1,12 +0,12 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
title?: string; | ||
modelValue?: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (newValue: string) => void; | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, string, import("vue").PublicProps, Readonly<{ | ||
title?: string; | ||
modelValue?: string; | ||
}>>> & { | ||
}> & Readonly<{ | ||
"onUpdate:modelValue"?: (newValue: string) => any; | ||
}, {}, {}>, { | ||
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { | ||
actions?(_: {}): any; | ||
@@ -20,10 +20,1 @@ }>; | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
@@ -1,10 +0,10 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
shades: Record<string, any>; | ||
getName?: (key: string, color: string) => string; | ||
search?: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{ | ||
shades: Record<string, any>; | ||
getName?: (key: string, color: string) => string; | ||
search?: string; | ||
}>>>, {}, {}>, { | ||
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { | ||
default?(_: { | ||
@@ -20,10 +20,1 @@ color: string; | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
@@ -1,19 +0,13 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
tokens: Record<string, string | number | any[] | Record<string, any>>; | ||
colSize?: number; | ||
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string; | ||
}>, { | ||
colSize: number; | ||
getName: any; | ||
}>, {}, 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<{ | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{ | ||
tokens: Record<string, string | number | any[] | Record<string, any>>; | ||
colSize?: number; | ||
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string; | ||
}>, { | ||
colSize: number; | ||
getName: any; | ||
}>>>, { | ||
}> & Readonly<{}>, { | ||
getName: (key: string, value: string | number | any[] | Record<string, any>) => string; | ||
colSize: number; | ||
}, {}>, { | ||
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>, { | ||
default?(_: { | ||
@@ -28,10 +22,2 @@ token: { | ||
export default _default; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -42,10 +28,1 @@ new (): { | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
@@ -1,8 +0,8 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
tokens: Record<string, string | number | any[] | Record<string, any>>; | ||
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{ | ||
tokens: Record<string, string | number | any[] | Record<string, any>>; | ||
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string; | ||
}>>>, {}, {}>, { | ||
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { | ||
default?(_: { | ||
@@ -22,10 +22,1 @@ token: { | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
import type { Awaitable } from '@histoire/shared'; | ||
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: import("vue").DefineComponent<{ | ||
content: string | (() => Awaitable<string>); | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{ | ||
content: string | (() => Awaitable<string>); | ||
}>>>, {}, {}>; | ||
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,17 +0,11 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
title?: string; | ||
tag?: string; | ||
}>, { | ||
title: any; | ||
tag: string; | ||
}>, {}, 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<{ | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{ | ||
title?: string; | ||
tag?: string; | ||
}>, { | ||
title: any; | ||
tag: string; | ||
}>>>, { | ||
}> & Readonly<{}>, { | ||
title: string; | ||
tag: string; | ||
}, {}>, { | ||
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { | ||
default?(_: {}): any; | ||
@@ -21,10 +15,2 @@ actions?(_: {}): any; | ||
export default _default; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -35,10 +21,1 @@ new (): { | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
@@ -1,12 +0,12 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
title?: string; | ||
modelValue: unknown; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (newValue: unknown) => void; | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, string, import("vue").PublicProps, Readonly<{ | ||
title?: string; | ||
modelValue: unknown; | ||
}>>> & { | ||
}> & Readonly<{ | ||
"onUpdate:modelValue"?: (newValue: unknown) => any; | ||
}, {}, {}>, { | ||
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { | ||
actions?(_: {}): any; | ||
@@ -20,10 +20,1 @@ }>; | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
@@ -1,12 +0,12 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
title?: string; | ||
modelValue?: number; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (newValue: number) => void; | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, string, import("vue").PublicProps, Readonly<{ | ||
title?: string; | ||
modelValue?: number; | ||
}>>> & { | ||
}> & Readonly<{ | ||
"onUpdate:modelValue"?: (newValue: number) => any; | ||
}, {}, {}>, { | ||
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { | ||
actions?(_: {}): any; | ||
@@ -20,10 +20,1 @@ }>; | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
import type { HstControlOption } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
title?: string; | ||
modelValue?: string; | ||
options: HstControlOption[]; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (value: string) => void; | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { | ||
"update:modelValue": (value: string) => any; | ||
}, string, import("vue").PublicProps, Readonly<{ | ||
title?: string; | ||
modelValue?: string; | ||
options: HstControlOption[]; | ||
}>>> & { | ||
}> & Readonly<{ | ||
"onUpdate:modelValue"?: (value: string) => any; | ||
}, {}, {}>, { | ||
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { | ||
actions?(_: {}): any; | ||
@@ -23,10 +23,1 @@ }>; | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
import type { HstControlOption } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
modelValue: string; | ||
options: Record<string, any> | string[] | number[] | HstControlOption[]; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (value: string) => void; | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { | ||
"update:modelValue": (value: string) => any; | ||
}, string, import("vue").PublicProps, Readonly<{ | ||
modelValue: string; | ||
options: Record<string, any> | string[] | number[] | HstControlOption[]; | ||
}>>> & { | ||
}> & Readonly<{ | ||
"onUpdate:modelValue"?: (value: string) => any; | ||
}, {}, {}>, { | ||
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { | ||
default?(_: { | ||
@@ -23,10 +23,1 @@ label: string; | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
import type { HstControlOption } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
title?: string; | ||
modelValue?: any; | ||
options: Record<string, any> | string[] | HstControlOption[]; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (value: any) => void; | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { | ||
"update:modelValue": (value: any) => any; | ||
}, string, import("vue").PublicProps, Readonly<{ | ||
title?: string; | ||
modelValue?: any; | ||
options: Record<string, any> | string[] | HstControlOption[]; | ||
}>>> & { | ||
}> & Readonly<{ | ||
"onUpdate:modelValue"?: (value: any) => any; | ||
}, {}, {}>, { | ||
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { | ||
actions?(_: {}): any; | ||
@@ -23,10 +23,1 @@ }>; | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: import("vue").DefineComponent<{ | ||
title?: string; | ||
@@ -6,5 +6,5 @@ modelValue?: number; | ||
max: number; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (newValue: number) => void; | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, string, import("vue").PublicProps, Readonly<{ | ||
title?: string; | ||
@@ -14,14 +14,5 @@ modelValue?: number; | ||
max: number; | ||
}>>> & { | ||
}> & Readonly<{ | ||
"onUpdate:modelValue"?: (newValue: number) => any; | ||
}, {}, {}>; | ||
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
@@ -1,12 +0,12 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
title?: string; | ||
modelValue?: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (newValue: string) => void; | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, string, import("vue").PublicProps, Readonly<{ | ||
title?: string; | ||
modelValue?: string; | ||
}>>> & { | ||
}> & Readonly<{ | ||
"onUpdate:modelValue"?: (newValue: string) => any; | ||
}, {}, {}>, { | ||
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { | ||
actions?(_: {}): any; | ||
@@ -20,10 +20,1 @@ }>; | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>; | ||
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
@@ -1,12 +0,12 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
title?: string; | ||
modelValue?: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (newValue: string) => void; | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{ | ||
}, string, import("vue").PublicProps, Readonly<{ | ||
title?: string; | ||
modelValue?: string; | ||
}>>> & { | ||
}> & Readonly<{ | ||
"onUpdate:modelValue"?: (newValue: string) => any; | ||
}, {}, {}>, { | ||
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { | ||
actions?(_: {}): any; | ||
@@ -20,10 +20,1 @@ }>; | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,1 +0,1 @@ | ||
export declare const isDark: import("vue").Ref<boolean>; | ||
export declare const isDark: import("vue").Ref<boolean, boolean>; |
{ | ||
"name": "@histoire/controls", | ||
"type": "module", | ||
"version": "0.17.17", | ||
"version": "1.0.0-alpha.1", | ||
"description": "Prebuilt controls components", | ||
@@ -34,30 +34,30 @@ "author": { | ||
"dependencies": { | ||
"@codemirror/commands": "^6.3.0", | ||
"@codemirror/commands": "^6.7.1", | ||
"@codemirror/lang-json": "^6.0.1", | ||
"@codemirror/language": "^6.9.2", | ||
"@codemirror/lint": "^6.4.2", | ||
"@codemirror/state": "^6.3.1", | ||
"@codemirror/language": "^6.10.6", | ||
"@codemirror/lint": "^6.8.4", | ||
"@codemirror/state": "^6.4.1", | ||
"@codemirror/theme-one-dark": "^6.1.2", | ||
"@codemirror/view": "^6.22.0", | ||
"@histoire/shared": "^0.17.17", | ||
"@histoire/vendors": "^0.17.17" | ||
"@codemirror/view": "^6.35.0", | ||
"@histoire/shared": "^1.0.0-alpha.1", | ||
"@histoire/vendors": "^1.0.0-alpha.1" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.11.9", | ||
"@vitejs/plugin-vue": "^4.5.0", | ||
"@vue/runtime-dom": "^3.3.8", | ||
"@vue/test-utils": "^2.4.2", | ||
"@vueuse/core": "^9.13.0", | ||
"autoprefixer": "^10.4.16", | ||
"concurrently": "^7.6.0", | ||
"floating-vue": "2.0.0-beta.19", | ||
"jsdom": "^22.1.0", | ||
"postcss": "^8.4.31", | ||
"postcss-import": "^14.1.0", | ||
"tailwindcss": "^3.3.5", | ||
"typescript": "^5.4.4", | ||
"vite": "^5.0.11", | ||
"vitest": "^0.34.6", | ||
"vue": "^3.3.8", | ||
"vue-tsc": "^2.0.11" | ||
"@types/node": "^22.10.1", | ||
"@vitejs/plugin-vue": "^5.2.1", | ||
"@vue/runtime-dom": "^3.5.13", | ||
"@vue/test-utils": "^2.4.6", | ||
"@vueuse/core": "^12.0.0", | ||
"autoprefixer": "^10.4.20", | ||
"concurrently": "^9.1.0", | ||
"floating-vue": "5.2.2", | ||
"jsdom": "^25.0.1", | ||
"postcss": "^8.4.49", | ||
"postcss-import": "^16.1.0", | ||
"tailwindcss": "^3.4.16", | ||
"typescript": "5.6.3", | ||
"vite": "^6.0.5", | ||
"vitest": "0.34.6", | ||
"vue": "^3.5.13", | ||
"vue-tsc": "^2.1.10" | ||
}, | ||
@@ -64,0 +64,0 @@ "scripts": { |
@@ -5,14 +5,14 @@ import HstButtonVue from './components/button/HstButton.vue' | ||
import HstCheckboxListVue from './components/checkbox/HstCheckboxList.vue' | ||
import HstTextVue from './components/text/HstText.vue' | ||
import HstNumberVue from './components/number/HstNumber.vue' | ||
import HstSliderVue from './components/slider/HstSlider.vue' | ||
import HstTextareaVue from './components/textarea/HstTextarea.vue' | ||
import HstSelectVue from './components/select/HstSelect.vue' | ||
import HstColorSelectVue from './components/colorselect/HstColorSelect.vue' | ||
import HstColorShadesVue from './components/design-tokens/HstColorShades.vue' | ||
import HstTokenGridVue from './components/design-tokens/HstTokenGrid.vue' | ||
import HstTokenListVue from './components/design-tokens/HstTokenList.vue' | ||
import HstTokenGridVue from './components/design-tokens/HstTokenGrid.vue' | ||
import HstCopyIconVue from './components/HstCopyIcon.vue' | ||
import HstJsonVue from './components/json/HstJson.vue' | ||
import HstNumberVue from './components/number/HstNumber.vue' | ||
import HstRadioVue from './components/radio/HstRadio.vue' | ||
import HstJsonVue from './components/json/HstJson.vue' | ||
import HstColorSelectVue from './components/colorselect/HstColorSelect.vue' | ||
import HstSelectVue from './components/select/HstSelect.vue' | ||
import HstSliderVue from './components/slider/HstSlider.vue' | ||
import HstTextVue from './components/text/HstText.vue' | ||
import HstTextareaVue from './components/textarea/HstTextarea.vue' | ||
@@ -19,0 +19,0 @@ export const HstButton = HstButtonVue |
@@ -34,2 +34,3 @@ { | ||
"noImplicitThis": true, | ||
// Output | ||
"outDir": "dist", | ||
@@ -36,0 +37,0 @@ "removeComments": false, |
/// <reference types="vitest" /> | ||
import vue from '@vitejs/plugin-vue' | ||
import { defineConfig } from 'vite' | ||
import vue from '@vitejs/plugin-vue' | ||
@@ -6,0 +6,0 @@ export default defineConfig({ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2173961
114
61987
9
13
+ Added@esbuild/aix-ppc64@0.25.0(transitive)
+ Added@esbuild/android-arm@0.25.0(transitive)
+ Added@esbuild/android-arm64@0.25.0(transitive)
+ Added@esbuild/android-x64@0.25.0(transitive)
+ Added@esbuild/darwin-arm64@0.25.0(transitive)
+ Added@esbuild/darwin-x64@0.25.0(transitive)
+ Added@esbuild/freebsd-arm64@0.25.0(transitive)
+ Added@esbuild/freebsd-x64@0.25.0(transitive)
+ Added@esbuild/linux-arm@0.25.0(transitive)
+ Added@esbuild/linux-arm64@0.25.0(transitive)
+ Added@esbuild/linux-ia32@0.25.0(transitive)
+ Added@esbuild/linux-loong64@0.25.0(transitive)
+ Added@esbuild/linux-mips64el@0.25.0(transitive)
+ Added@esbuild/linux-ppc64@0.25.0(transitive)
+ Added@esbuild/linux-riscv64@0.25.0(transitive)
+ Added@esbuild/linux-s390x@0.25.0(transitive)
+ Added@esbuild/linux-x64@0.25.0(transitive)
+ Added@esbuild/netbsd-arm64@0.25.0(transitive)
+ Added@esbuild/netbsd-x64@0.25.0(transitive)
+ Added@esbuild/openbsd-arm64@0.25.0(transitive)
+ Added@esbuild/openbsd-x64@0.25.0(transitive)
+ Added@esbuild/sunos-x64@0.25.0(transitive)
+ Added@esbuild/win32-arm64@0.25.0(transitive)
+ Added@esbuild/win32-ia32@0.25.0(transitive)
+ Added@esbuild/win32-x64@0.25.0(transitive)
+ Added@histoire/shared@1.0.0-alpha.2(transitive)
+ Added@histoire/vendors@1.0.0-alpha.2(transitive)
+ Added@types/fs-extra@11.0.4(transitive)
+ Added@types/jsonfile@6.1.4(transitive)
+ Added@types/markdown-it@14.1.2(transitive)
+ Addedchokidar@4.0.3(transitive)
+ Addedesbuild@0.25.0(transitive)
+ Addedreaddirp@4.1.2(transitive)
+ Addedvite@6.2.0(transitive)
- Removed@esbuild/aix-ppc64@0.21.5(transitive)
- Removed@esbuild/android-arm@0.21.5(transitive)
- Removed@esbuild/android-arm64@0.21.5(transitive)
- Removed@esbuild/android-x64@0.21.5(transitive)
- Removed@esbuild/darwin-arm64@0.21.5(transitive)
- Removed@esbuild/darwin-x64@0.21.5(transitive)
- Removed@esbuild/freebsd-arm64@0.21.5(transitive)
- Removed@esbuild/freebsd-x64@0.21.5(transitive)
- Removed@esbuild/linux-arm@0.21.5(transitive)
- Removed@esbuild/linux-arm64@0.21.5(transitive)
- Removed@esbuild/linux-ia32@0.21.5(transitive)
- Removed@esbuild/linux-loong64@0.21.5(transitive)
- Removed@esbuild/linux-mips64el@0.21.5(transitive)
- Removed@esbuild/linux-ppc64@0.21.5(transitive)
- Removed@esbuild/linux-riscv64@0.21.5(transitive)
- Removed@esbuild/linux-s390x@0.21.5(transitive)
- Removed@esbuild/linux-x64@0.21.5(transitive)
- Removed@esbuild/netbsd-x64@0.21.5(transitive)
- Removed@esbuild/openbsd-x64@0.21.5(transitive)
- Removed@esbuild/sunos-x64@0.21.5(transitive)
- Removed@esbuild/win32-arm64@0.21.5(transitive)
- Removed@esbuild/win32-ia32@0.21.5(transitive)
- Removed@esbuild/win32-x64@0.21.5(transitive)
- Removed@histoire/shared@0.17.17(transitive)
- Removed@histoire/vendors@0.17.17(transitive)
- Removed@types/fs-extra@9.0.13(transitive)
- Removed@types/markdown-it@12.2.3(transitive)
- Removedanymatch@3.1.3(transitive)
- Removedbinary-extensions@2.3.0(transitive)
- Removedbraces@3.0.3(transitive)
- Removedchokidar@3.6.0(transitive)
- Removedesbuild@0.21.5(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedglob-parent@5.1.2(transitive)
- Removedis-binary-path@2.1.0(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-glob@4.0.3(transitive)
- Removedis-number@7.0.0(transitive)
- Removednormalize-path@3.0.0(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedreaddirp@3.6.0(transitive)
- Removedto-regex-range@5.0.1(transitive)
- Removedvite@5.4.14(transitive)
Updated@codemirror/commands@^6.7.1
Updated@codemirror/language@^6.10.6
Updated@codemirror/lint@^6.8.4
Updated@codemirror/state@^6.4.1
Updated@codemirror/view@^6.35.0