@nextcloud/vue
Version:
Nextcloud vue components
111 lines (110 loc) • 3.12 kB
TypeScript
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
/**
* id attribute of the checkbox element
*/
id: {
type: StringConstructor;
default: () => string;
validator: (id: unknown) => boolean;
};
/**
* checked state of the the checkbox element
*/
modelValue: {
type: BooleanConstructor;
default: boolean;
};
/**
* value of the checkbox input
*/
value: {
type: (StringConstructor | NumberConstructor)[];
default: string;
};
/**
* disabled state of the checkbox element
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
}>, {
model: import('vue').ModelRef<boolean, PropertyKey, boolean, boolean>;
mdiCheckboxBlankOutline: string;
mdiCheckboxMarked: string;
}, {}, {}, {
onChange(event: any): void;
}, {
beforeUpdate(): void;
data(): {
text: any;
};
computed: {
isLongText(): any;
};
methods: {
getText(): any;
};
}, import('vue').ComponentOptionsMixin, ("change" | "update:modelValue" | "check" | "uncheck")[], "change" | "update:modelValue" | "check" | "uncheck", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
/**
* id attribute of the checkbox element
*/
id: {
type: StringConstructor;
default: () => string;
validator: (id: unknown) => boolean;
};
/**
* checked state of the the checkbox element
*/
modelValue: {
type: BooleanConstructor;
default: boolean;
};
/**
* value of the checkbox input
*/
value: {
type: (StringConstructor | NumberConstructor)[];
default: string;
};
/**
* disabled state of the checkbox element
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onCheck?: ((...args: any[]) => any) | undefined;
onUncheck?: ((...args: any[]) => any) | undefined;
}>, {
id: string;
value: string | number;
disabled: boolean;
modelValue: boolean;
}, {}, {
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;