@aplus-frontend/ui
Version:
36 lines (35 loc) • 1.24 kB
TypeScript
import { ApFieldSegmentedProps } from '../interface';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { FieldMode } from '..';
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
label?(_: {
value: string | number;
disabled?: boolean;
payload?: any;
title?: string;
className?: string;
}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<ApFieldSegmentedProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:value": (...args: any[]) => void;
}, string, PublicProps, Readonly<ApFieldSegmentedProps> & Readonly<{
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
}>, {
mode: FieldMode;
block: boolean;
disabled: boolean;
emptyText: string;
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};