@nextcloud/vue
Version:
Nextcloud vue components
127 lines (126 loc) • 3.43 kB
TypeScript
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
/**
* id attribute of the radio element
*/
id: {
type: StringConstructor;
default: () => string;
validator: (id: unknown) => boolean;
};
/**
* checked state of the radio element
*/
modelValue: {
type: (StringConstructor | NumberConstructor)[];
default: string;
};
/**
* Define if this radio is part of a set.
* Checking the radio will disable all the
* others with the same name.
*/
name: {
type: StringConstructor;
required: true;
};
/**
* value of the radio input
*/
value: {
type: (StringConstructor | NumberConstructor)[];
default: string;
};
/**
* disabled state of the radio element
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
}>, {
model: import('vue').ModelRef<string | number, PropertyKey, string | number, string | number>;
mdiRadioboxBlank: string;
mdiRadioboxMarked: string;
}, {}, {
checked(): boolean;
}, {}, {
beforeUpdate(): void;
data(): {
text: any;
};
computed: {
isLongText(): any;
};
methods: {
getText(): any;
};
}, import('vue').ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
/**
* id attribute of the radio element
*/
id: {
type: StringConstructor;
default: () => string;
validator: (id: unknown) => boolean;
};
/**
* checked state of the radio element
*/
modelValue: {
type: (StringConstructor | NumberConstructor)[];
default: string;
};
/**
* Define if this radio is part of a set.
* Checking the radio will disable all the
* others with the same name.
*/
name: {
type: StringConstructor;
required: true;
};
/**
* value of the radio input
*/
value: {
type: (StringConstructor | NumberConstructor)[];
default: string;
};
/**
* disabled state of the radio element
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
id: string;
value: string | number;
disabled: boolean;
modelValue: string | number;
}, {}, {
NcIconSvgWrapper: import('vue').DefineComponent<{
directional?: boolean;
inline?: boolean;
svg?: string;
name?: string;
path?: string;
size?: number | "auto";
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
directional?: boolean;
inline?: boolean;
svg?: string;
name?: string;
path?: string;
size?: number | "auto";
}> & Readonly<{}>, {
size: number | "auto";
name: string;
svg: string;
path: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export default _default;