UNPKG

@nethesis/vue-components

Version:

This library contains: - a collection of Vue 3 components based on [Flowbite](https://flowbite.com/) - a set of utility functions

57 lines 2.45 kB
export type RadioCardSize = 'md' | 'lg' | 'xl'; import type { IconDefinition } from '@fortawesome/fontawesome-svg-core'; export type RadioOption = { id: string; label: string; description?: string; icon?: IconDefinition; disabled?: boolean; }; declare const _default: <T extends RadioOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{ props: __VLS_PrettifyLocal<Pick<Partial<{ label: string; disabled: boolean; name: string; modelValue: string; invalidMessage: string; description: string; card: boolean; gridStyle: string; cardSize: RadioCardSize; cardSelectionMark: boolean; }> & Omit<{ readonly label: string; readonly disabled: boolean; readonly name: string; readonly modelValue: string; readonly invalidMessage: string; readonly description: string; readonly options: T[]; readonly card: boolean; readonly gridStyle: string; readonly cardSize: RadioCardSize; readonly cardSelectionMark: boolean; readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "name" | "modelValue" | "invalidMessage" | "description" | "card" | "gridStyle" | "cardSize" | "cardSelectionMark">, "onUpdate:modelValue" | "options" | ("label" | "disabled" | "name" | "modelValue" | "invalidMessage" | "description" | "card" | "gridStyle" | "cardSize" | "cardSelectionMark")> & {} & Partial<{}>> & import("vue").PublicProps; expose(exposed: import("vue").ShallowUnwrapRef<{ focus: () => void; }>): void; attrs: any; slots: { label?: (props: {}) => any; } & { tooltip?: (props: {}) => any; } & { option?: (props: { option: T; }) => any; }; emit: (event: "update:modelValue", ...args: any[]) => void; }>) => import("vue").VNode & { __ctx?: Awaited<typeof __VLS_setup>; }; export default _default; type __VLS_PrettifyLocal<T> = { [K in keyof T]: T[K]; } & {}; //# sourceMappingURL=NeRadioSelection.vue.d.ts.map