UNPKG

@aplus-frontend/ui

Version:

68 lines (67 loc) 2.59 kB
import { default as dayjs } from 'dayjs'; import { ApFieldDateProps } from '../interface'; import { ApFormatPresetType } from './interface'; import { DefineComponent, ComponentOptionsMixin, PublicProps, VNode, RendererNode, RendererElement, ComponentProvideOptions } from 'vue'; import { FieldMode } from '..'; import { LiteralUnion } from '../../type'; import { SharedTimeProps } from '@aplus-frontend/antdv/es/vc-picker/panels/TimePanel'; type ApFieldDataSlots = { dateRender: any; suffixIcon?: any; prevIcon?: any; nextIcon?: any; superPrevIcon?: any; superNextIcon?: any; renderExtraFooter?: any; monthCellRender?: any; monthCellContentRender?: any; clearIcon?: any; default?: any; }; declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<ApFieldDataSlots> & ApFieldDataSlots; refs: {}; rootEl: any; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: DefineComponent<ApFieldDateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:value": (...args: any[]) => void; }, string, PublicProps, Readonly<ApFieldDateProps> & Readonly<{ "onUpdate:value"?: ((...args: any[]) => any) | undefined; }>, { mode: FieldMode; open: boolean; disabled: boolean; autofocus: boolean; bordered: boolean; clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, { [key: string]: any; }> | (string | number | boolean | void | VNode<RendererNode, RendererElement, { [key: string]: any; }> | null | undefined)[] | VNode<RendererNode, RendererElement, { [key: string]: any; }> | null; allowClear: boolean; suffixIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, { [key: string]: any; }> | (string | number | boolean | void | VNode<RendererNode, RendererElement, { [key: string]: any; }> | null | undefined)[] | VNode<RendererNode, RendererElement, { [key: string]: any; }> | null; defaultOpen: boolean; emptyText: string; inputReadOnly: boolean; format: LiteralUnion<ApFormatPresetType, string>; showToday: boolean; showTime: boolean | SharedTimeProps<dayjs.Dayjs>; formatBegins: boolean; }, {}, {}, {}, 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; }; };