import { FormValidationStatus } from "../../form/src/public-types.js"; import { ThemeCommonVars } from "../../_styles/common/light.js"; import { MaybeArray } from "../../_utils/vue/call.js"; import "../../_utils/index.js"; import { InputTheme } from "../../input/styles/light.js"; import "../../input/styles/index.js"; import { ButtonTheme } from "../../button/styles/light.js"; import "../../button/styles/index.js"; import { TimePickerTheme } from "../../time-picker/styles/light.js"; import "../../time-picker/styles/index.js"; import { TimePickerProps } from "../../time-picker/src/TimePicker.js"; import { DatePickerTheme, DatePickerThemeOverrides, DatePickerThemeVars } from "../styles/light.js"; import { DatePickerType } from "./config.js"; import "../styles/index.js"; import { datePickerProps } from "./props.js"; import { DatePickerSize } from "./public-types.js"; import { DefaultTime, FirstDayOfWeek, FormattedValue, IsDateDisabled, IsTimeDisabled, OnConfirm, OnUpdateFormattedValue, OnUpdateValue, Shortcuts, Value } from "./interface.js"; import "../../index.js"; import { ExtractThemeOverrides } from "../../_mixins/use-theme.js"; import "../../_mixins/index.js"; import { ScrollbarTheme } from "../../_internal/scrollbar/styles/light.js"; import "../../_internal/scrollbar/styles/index.js"; import { CSSProperties, ExtractPropTypes, Ref, SlotsType, VNode } from "vue"; //#region src/date-picker/src/DatePicker.d.ts type DatePickerSetupProps = ExtractPropTypes; interface DatePickerSlots { 'date-icon'?: () => VNode[]; footer?: () => VNode[]; 'next-month'?: () => VNode[]; 'next-year'?: () => VNode[]; 'prev-month'?: () => VNode[]; 'prev-year'?: () => VNode[]; separator?: () => VNode[]; confirm?: (props: { onConfirm: () => void; disabled: boolean; text: string; }) => VNode[]; clear?: (props: { onClear: () => void; text: string; }) => VNode[]; now?: (props: { onNow: () => void; text: string; }) => VNode[]; } declare const _default: import("vue").DefineComponent; default: undefined; }; readonly bordered: { readonly type: import("vue").PropType; readonly default: undefined; }; readonly clearable: BooleanConstructor; readonly fastYearSelect: BooleanConstructor; readonly fastMonthSelect: BooleanConstructor; readonly updateValueOnClose: BooleanConstructor; readonly calendarDayFormat: StringConstructor; readonly calendarHeaderYearFormat: StringConstructor; readonly calendarHeaderMonthFormat: StringConstructor; readonly calendarHeaderMonthYearSeparator: { readonly type: StringConstructor; readonly default: " "; }; readonly calendarHeaderMonthBeforeYear: { readonly type: BooleanConstructor; readonly default: undefined; }; readonly defaultValue: import("vue").PropType; readonly defaultFormattedValue: import("vue").PropType; readonly defaultTime: import("vue").PropType; readonly disabled: { readonly type: import("vue").PropType; readonly default: undefined; }; readonly placement: { readonly type: import("vue").PropType; readonly default: "bottom-start"; }; readonly value: import("vue").PropType; readonly formattedValue: import("vue").PropType; readonly size: import("vue").PropType; readonly type: { readonly type: import("vue").PropType; readonly default: "date"; }; readonly valueFormat: StringConstructor; readonly separator: StringConstructor; readonly placeholder: StringConstructor; readonly startPlaceholder: StringConstructor; readonly endPlaceholder: StringConstructor; readonly format: StringConstructor; readonly dateFormat: StringConstructor; readonly timePickerFormat: StringConstructor; readonly actions: import("vue").PropType | null>; readonly shortcuts: import("vue").PropType; readonly isDateDisabled: import("vue").PropType; readonly isTimeDisabled: import("vue").PropType; readonly show: { readonly type: import("vue").PropType; readonly default: undefined; }; readonly panel: BooleanConstructor; readonly ranges: import("vue").PropType>; readonly firstDayOfWeek: import("vue").PropType; readonly inputReadonly: BooleanConstructor; readonly closeOnSelect: BooleanConstructor; readonly status: import("vue").PropType; readonly timePickerProps: import("vue").PropType; readonly onClear: import("vue").PropType<() => void>; readonly onConfirm: import("vue").PropType; readonly defaultCalendarStartTime: NumberConstructor; readonly defaultCalendarEndTime: NumberConstructor; readonly bindCalendarMonths: BooleanConstructor; readonly monthFormat: { readonly type: StringConstructor; readonly default: "M"; }; readonly yearFormat: { readonly type: StringConstructor; readonly default: "y"; }; readonly quarterFormat: { readonly type: StringConstructor; readonly default: "'Q'Q"; }; readonly yearRange: { readonly type: import("vue").PropType<[number, number]>; readonly default: () => [number, number]; }; readonly 'onUpdate:show': import("vue").PropType void>>; readonly onUpdateShow: import("vue").PropType void>>; readonly 'onUpdate:formattedValue': import("vue").PropType>; readonly onUpdateFormattedValue: import("vue").PropType>; readonly 'onUpdate:value': import("vue").PropType>; readonly onUpdateValue: import("vue").PropType>; readonly onFocus: import("vue").PropType<(e: FocusEvent) => void>; readonly onBlur: import("vue").PropType<(e: FocusEvent) => void>; readonly onNextMonth: import("vue").PropType<() => void>; readonly onPrevMonth: import("vue").PropType<() => void>; readonly onNextYear: import("vue").PropType<() => void>; readonly onPrevYear: import("vue").PropType<() => void>; readonly onChange: import("vue").PropType>; readonly theme: import("vue").PropType; readonly themeOverrides: import("vue").PropType; readonly builtinThemeOverrides: import("vue").PropType; }>, { mergedStatus: import("vue").ComputedRef; mergedClsPrefix: Ref; mergedBordered: import("vue").ComputedRef; namespace: import("vue").ComputedRef; uncontrolledValue: Ref; pendingValue: Ref; panelInstRef: unknown; triggerElRef: Ref; inputInstRef: unknown; isMounted: Readonly>; displayTime: Ref; displayStartTime: Ref; displayEndTime: Ref; mergedShow: import("vue").ComputedRef; adjustedTo: import("vue").ComputedRef; isRange: import("vue").ComputedRef; localizedStartPlaceholder: import("vue").ComputedRef; localizedEndPlaceholder: import("vue").ComputedRef; mergedSize: import("vue").ComputedRef; mergedDisabled: import("vue").ComputedRef; localizedPlacehoder: import("vue").ComputedRef; isValueInvalid: import("vue").ComputedRef; isStartValueInvalid: import("vue").ComputedRef; isEndValueInvalid: import("vue").ComputedRef; handleInputKeydown: (e: KeyboardEvent) => void; handleClickOutside: (e: MouseEvent) => void; handleKeydown: (e: KeyboardEvent) => void; handleClear: () => void; handlePanelClear: () => void; handleTriggerClick: (e: MouseEvent) => void; handleInputActivate: () => void; handleInputDeactivate: () => void; handleInputFocus: (e: FocusEvent) => void; handleInputBlur: (e: FocusEvent) => void; handlePanelTabOut: () => void; handlePanelClose: (disableUpdateOnClose: boolean) => void; handleRangeUpdateValue: (v: [string, string], { source }: { source: 0 | 1 | "clear"; }) => void; handleSingleUpdateValue: (v: string) => void; handlePanelUpdateValue: (value: Value | null, doUpdate: boolean) => void; handlePanelConfirm: () => void; mergedTheme: import("vue").ComputedRef<{ common: ThemeCommonVars; self: DatePickerThemeVars; peers: { Input: InputTheme; Button: ButtonTheme; TimePicker: TimePickerTheme; Scrollbar: ScrollbarTheme; }; peerOverrides: { Input?: { peers?: { Scrollbar?: ExtractThemeOverrides | undefined; } | undefined; } | undefined; Button?: { peers?: { [x: string]: any; } | undefined; } | undefined; TimePicker?: { peers?: { Scrollbar?: ExtractThemeOverrides | undefined; Button?: ExtractThemeOverrides | undefined; Input?: ExtractThemeOverrides | undefined; } | undefined; } | undefined; Scrollbar?: { peers?: { [x: string]: any; } | undefined; } | undefined; }; }>; actions: import("vue").ComputedRef; triggerCssVars: Ref | undefined; triggerThemeClass: Ref | undefined; triggerOnRender: (() => void) | undefined; cssVars: Ref | undefined; themeClass: Ref | undefined; onRender: (() => void) | undefined; onNextMonth: (() => void) | undefined; onPrevMonth: (() => void) | undefined; onNextYear: (() => void) | undefined; onPrevYear: (() => void) | undefined; focus: () => void; blur: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; default: undefined; }; readonly bordered: { readonly type: import("vue").PropType; readonly default: undefined; }; readonly clearable: BooleanConstructor; readonly fastYearSelect: BooleanConstructor; readonly fastMonthSelect: BooleanConstructor; readonly updateValueOnClose: BooleanConstructor; readonly calendarDayFormat: StringConstructor; readonly calendarHeaderYearFormat: StringConstructor; readonly calendarHeaderMonthFormat: StringConstructor; readonly calendarHeaderMonthYearSeparator: { readonly type: StringConstructor; readonly default: " "; }; readonly calendarHeaderMonthBeforeYear: { readonly type: BooleanConstructor; readonly default: undefined; }; readonly defaultValue: import("vue").PropType; readonly defaultFormattedValue: import("vue").PropType; readonly defaultTime: import("vue").PropType; readonly disabled: { readonly type: import("vue").PropType; readonly default: undefined; }; readonly placement: { readonly type: import("vue").PropType; readonly default: "bottom-start"; }; readonly value: import("vue").PropType; readonly formattedValue: import("vue").PropType; readonly size: import("vue").PropType; readonly type: { readonly type: import("vue").PropType; readonly default: "date"; }; readonly valueFormat: StringConstructor; readonly separator: StringConstructor; readonly placeholder: StringConstructor; readonly startPlaceholder: StringConstructor; readonly endPlaceholder: StringConstructor; readonly format: StringConstructor; readonly dateFormat: StringConstructor; readonly timePickerFormat: StringConstructor; readonly actions: import("vue").PropType | null>; readonly shortcuts: import("vue").PropType; readonly isDateDisabled: import("vue").PropType; readonly isTimeDisabled: import("vue").PropType; readonly show: { readonly type: import("vue").PropType; readonly default: undefined; }; readonly panel: BooleanConstructor; readonly ranges: import("vue").PropType>; readonly firstDayOfWeek: import("vue").PropType; readonly inputReadonly: BooleanConstructor; readonly closeOnSelect: BooleanConstructor; readonly status: import("vue").PropType; readonly timePickerProps: import("vue").PropType; readonly onClear: import("vue").PropType<() => void>; readonly onConfirm: import("vue").PropType; readonly defaultCalendarStartTime: NumberConstructor; readonly defaultCalendarEndTime: NumberConstructor; readonly bindCalendarMonths: BooleanConstructor; readonly monthFormat: { readonly type: StringConstructor; readonly default: "M"; }; readonly yearFormat: { readonly type: StringConstructor; readonly default: "y"; }; readonly quarterFormat: { readonly type: StringConstructor; readonly default: "'Q'Q"; }; readonly yearRange: { readonly type: import("vue").PropType<[number, number]>; readonly default: () => [number, number]; }; readonly 'onUpdate:show': import("vue").PropType void>>; readonly onUpdateShow: import("vue").PropType void>>; readonly 'onUpdate:formattedValue': import("vue").PropType>; readonly onUpdateFormattedValue: import("vue").PropType>; readonly 'onUpdate:value': import("vue").PropType>; readonly onUpdateValue: import("vue").PropType>; readonly onFocus: import("vue").PropType<(e: FocusEvent) => void>; readonly onBlur: import("vue").PropType<(e: FocusEvent) => void>; readonly onNextMonth: import("vue").PropType<() => void>; readonly onPrevMonth: import("vue").PropType<() => void>; readonly onNextYear: import("vue").PropType<() => void>; readonly onPrevYear: import("vue").PropType<() => void>; readonly onChange: import("vue").PropType>; readonly theme: import("vue").PropType; readonly themeOverrides: import("vue").PropType; readonly builtinThemeOverrides: import("vue").PropType; }>> & Readonly<{}>, { readonly to: string | boolean | HTMLElement; readonly type: DatePickerType; readonly bordered: boolean | undefined; readonly show: boolean | undefined; readonly disabled: boolean | undefined; readonly clearable: boolean; readonly placement: import("vueuc").FollowerPlacement; readonly inputReadonly: boolean; readonly fastYearSelect: boolean; readonly fastMonthSelect: boolean; readonly updateValueOnClose: boolean; readonly calendarHeaderMonthYearSeparator: string; readonly calendarHeaderMonthBeforeYear: boolean; readonly panel: boolean; readonly closeOnSelect: boolean; readonly bindCalendarMonths: boolean; readonly monthFormat: string; readonly yearFormat: string; readonly quarterFormat: string; readonly yearRange: [number, number]; }, SlotsType, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; //#endregion export { DatePickerSetupProps, DatePickerSlots, _default as default };