UNPKG

@nextcloud/vue

Version:
118 lines (117 loc) 3.02 kB
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>; }, {}, { /** * determines if the action is focusable * * @return {boolean} is the action focusable ? */ isFocusable(): boolean; /** * aria-checked attribute for role="menuitemcheckbox" * * @return {'true'|'false'|undefined} aria-checked value if needed */ ariaChecked(): "true" | "false" | undefined; }, { toggleInput(): void; onChange(event: any): void; }, { 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; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; export default _default;