UNPKG

t-fighting-design

Version:

Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.

581 lines (580 loc) 21.4 kB
import type { TextType, TextDecorationType } from '../../text'; import type { ButtonSizeType, ButtonTargetType, ButtonType, ButtonNativeType } from '../../button'; import type { InstallType, HandleEventInterface, ClassListInterface } from '../../_interface'; import type { DefineComponent, PropType, VNode, RendererNode, RendererElement, Component, ComputedOptions, MethodOptions, h, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, EmitsOptions, Ref, ComputedRef, CSSProperties } from 'vue'; import type { CalendarMemorandumType, CalendarCallbackInterface, CalendarMowDataClassListInterface as c, CalendarOptionClickInterface as d, CalendarHandleClickInterface as g } from './interface'; declare const _sfc_main: DefineComponent<{ readonly date: { readonly type: DateConstructor; readonly default: () => Date; readonly required: true; }; readonly lunar: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly showHeader: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly border: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly borderColor: { readonly type: StringConstructor; readonly default: () => string; }; readonly dayCellHeight: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly weekCellHeight: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly memorandum: { readonly type: PropType<CalendarMemorandumType>; readonly default: () => null; }; readonly changeDate: { readonly type: PropType<CalendarCallbackInterface>; readonly default: () => null; }; readonly changeSwitch: { readonly type: PropType<CalendarCallbackInterface>; readonly default: () => null; }; }, { prop: { readonly date?: unknown; readonly lunar?: unknown; readonly showHeader?: unknown; readonly border?: unknown; readonly borderColor?: unknown; readonly dayCellHeight?: unknown; readonly weekCellHeight?: unknown; readonly memorandum?: unknown; readonly changeDate?: unknown; readonly changeSwitch?: unknown; } & { date: Date; lunar: boolean; showHeader: boolean; border: boolean; borderColor: string; dayCellHeight: string | number; weekCellHeight: string | number; memorandum: CalendarMemorandumType; changeDate: CalendarCallbackInterface; changeSwitch: CalendarCallbackInterface; } & {}; year: Ref<number>; month: Ref<number>; date: Ref<number>; AllMonthDays: ComputedRef<h[]>; changeLastMonth: () => void; changeNextMonth: () => void; mowDataClassList: c; optionClick: d; nowTime: ComputedRef<string>; handleClick: g; classList: ComputedRef<CSSProperties>; isMemorandum: (date: string) => boolean; FButton: InstallType<DefineComponent<{ readonly bold: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly circle: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly round: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly fontSize: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly fontColor: { readonly type: StringConstructor; readonly default: () => string; }; readonly size: { readonly type: PropType<ButtonSizeType>; readonly default: () => ButtonSizeType; readonly validator: (val: ButtonSizeType) => boolean; }; readonly block: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly href: { readonly type: StringConstructor; readonly default: () => string; }; readonly target: { readonly type: PropType<ButtonTargetType>; readonly default: () => ButtonTargetType; readonly validator: (val: ButtonTargetType) => boolean; }; readonly loading: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly loadingIcon: { readonly type: PropType<VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>>; readonly default: () => null; }; readonly type: { readonly type: PropType<ButtonType>; readonly default: () => ButtonType; readonly validator: (val: ButtonType) => boolean; }; readonly autofocus: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly name: { readonly type: StringConstructor; readonly default: () => string; }; readonly shadow: { readonly type: StringConstructor; readonly default: () => string; }; readonly text: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly nativeType: { readonly type: PropType<ButtonNativeType>; readonly default: () => ButtonNativeType; readonly validator: (val: ButtonNativeType) => boolean; }; readonly simple: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly beforeIcon: { readonly type: PropType<VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>>; readonly default: () => null; }; readonly afterIcon: { readonly type: PropType<VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>>; readonly default: () => null; }; readonly ripples: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly ripplesColor: { readonly type: StringConstructor; readonly default: () => string; }; readonly color: { readonly type: StringConstructor; readonly default: () => string; }; readonly click: { readonly type: PropType<HandleEventInterface>; readonly default: () => null; }; }, { prop: { readonly bold?: unknown; readonly circle?: unknown; readonly round?: unknown; readonly fontSize?: unknown; readonly fontColor?: unknown; readonly size?: unknown; readonly block?: unknown; readonly href?: unknown; readonly target?: unknown; readonly loading?: unknown; readonly disabled?: unknown; readonly loadingIcon?: unknown; readonly type?: unknown; readonly autofocus?: unknown; readonly name?: unknown; readonly shadow?: unknown; readonly text?: unknown; readonly nativeType?: unknown; readonly simple?: unknown; readonly beforeIcon?: unknown; readonly afterIcon?: unknown; readonly ripples?: unknown; readonly ripplesColor?: unknown; readonly color?: unknown; readonly click?: unknown; } & { bold: boolean; type: ButtonType; fontSize: string | number; simple: boolean; round: boolean; color: string; beforeIcon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; size: ButtonSizeType; disabled: boolean; click: HandleEventInterface; fontColor: string; text: boolean; circle: boolean; block: boolean; href: string; target: ButtonTargetType; loading: boolean; loadingIcon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; autofocus: boolean; name: string; shadow: string; nativeType: ButtonNativeType; afterIcon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; ripples: boolean; ripplesColor: string; } & {}; FButton: Ref<HTMLButtonElement>; classList: ComputedRef<ClassListInterface>; handleClick: HandleEventInterface; styleList: ComputedRef<CSSProperties>; h: typeof h; FSvgIcon: InstallType<DefineComponent<{ readonly icon: { readonly type: PropType<VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>>; readonly default: () => null; }; readonly color: { readonly type: StringConstructor; readonly default: () => string; }; readonly size: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly click: { readonly type: PropType<HandleEventInterface>; readonly default: () => null; }; }, { prop: { readonly icon?: unknown; readonly color?: unknown; readonly size?: unknown; readonly click?: unknown; } & { color: string; size: string | number; icon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; click: HandleEventInterface; } & {}; handleClick: HandleEventInterface; styleList: ComputedRef<CSSProperties>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly icon?: unknown; readonly color?: unknown; readonly size?: unknown; readonly click?: unknown; } & { color: string; size: string | number; icon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; click: HandleEventInterface; } & {}>, { color: string; size: string | number; icon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; click: HandleEventInterface; }>>; FIconLoadingAVue: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{} & {} & {}>, {}>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly bold?: unknown; readonly circle?: unknown; readonly round?: unknown; readonly fontSize?: unknown; readonly fontColor?: unknown; readonly size?: unknown; readonly block?: unknown; readonly href?: unknown; readonly target?: unknown; readonly loading?: unknown; readonly disabled?: unknown; readonly loadingIcon?: unknown; readonly type?: unknown; readonly autofocus?: unknown; readonly name?: unknown; readonly shadow?: unknown; readonly text?: unknown; readonly nativeType?: unknown; readonly simple?: unknown; readonly beforeIcon?: unknown; readonly afterIcon?: unknown; readonly ripples?: unknown; readonly ripplesColor?: unknown; readonly color?: unknown; readonly click?: unknown; } & { bold: boolean; type: ButtonType; fontSize: string | number; simple: boolean; round: boolean; color: string; beforeIcon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; size: ButtonSizeType; disabled: boolean; click: HandleEventInterface; fontColor: string; text: boolean; circle: boolean; block: boolean; href: string; target: ButtonTargetType; loading: boolean; loadingIcon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; autofocus: boolean; name: string; shadow: string; nativeType: ButtonNativeType; afterIcon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; ripples: boolean; ripplesColor: string; } & {}>, { bold: boolean; type: ButtonType; fontSize: string | number; simple: boolean; round: boolean; color: string; beforeIcon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; size: ButtonSizeType; disabled: boolean; click: HandleEventInterface; fontColor: string; text: boolean; circle: boolean; block: boolean; href: string; target: ButtonTargetType; loading: boolean; loadingIcon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; autofocus: boolean; name: string; shadow: string; nativeType: ButtonNativeType; afterIcon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; ripples: boolean; ripplesColor: string; }>>; FText: InstallType<DefineComponent<{ readonly type: { readonly type: PropType<TextType>; readonly default: () => TextType; readonly validator: (val: TextType) => boolean; }; readonly size: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly color: { readonly type: StringConstructor; readonly default: () => string; }; readonly background: { readonly type: StringConstructor; readonly default: () => string; }; readonly block: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly spacing: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly lineHeight: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly indent: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly bold: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly decoration: { readonly type: PropType<TextDecorationType>; readonly default: () => string; }; readonly padding: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly width: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly ellipsis: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly center: { readonly type: BooleanConstructor; readonly default: () => boolean; }; }, { prop: { readonly type?: unknown; readonly size?: unknown; readonly color?: unknown; readonly background?: unknown; readonly block?: unknown; readonly spacing?: unknown; readonly lineHeight?: unknown; readonly indent?: unknown; readonly bold?: unknown; readonly decoration?: unknown; readonly padding?: unknown; readonly width?: unknown; readonly ellipsis?: unknown; readonly center?: unknown; } & { bold: boolean; type: TextType; center: boolean; background: string; color: string; size: string | number; width: string | number; padding: string | number; block: boolean; spacing: string | number; lineHeight: string | number; indent: string | number; decoration: TextDecorationType; ellipsis: boolean; } & {}; classList: ComputedRef<ClassListInterface>; styleList: ComputedRef<CSSProperties>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly type?: unknown; readonly size?: unknown; readonly color?: unknown; readonly background?: unknown; readonly block?: unknown; readonly spacing?: unknown; readonly lineHeight?: unknown; readonly indent?: unknown; readonly bold?: unknown; readonly decoration?: unknown; readonly padding?: unknown; readonly width?: unknown; readonly ellipsis?: unknown; readonly center?: unknown; } & { bold: boolean; type: TextType; center: boolean; background: string; color: string; size: string | number; width: string | number; padding: string | number; block: boolean; spacing: string | number; lineHeight: string | number; indent: string | number; decoration: TextDecorationType; ellipsis: boolean; } & {}>, { bold: boolean; type: TextType; center: boolean; background: string; color: string; size: string | number; width: string | number; padding: string | number; block: boolean; spacing: string | number; lineHeight: string | number; indent: string | number; decoration: TextDecorationType; ellipsis: boolean; }>>; WEEK_DATA: readonly ["日", "一", "二", "三", "四", "五", "六"]; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly date?: unknown; readonly lunar?: unknown; readonly showHeader?: unknown; readonly border?: unknown; readonly borderColor?: unknown; readonly dayCellHeight?: unknown; readonly weekCellHeight?: unknown; readonly memorandum?: unknown; readonly changeDate?: unknown; readonly changeSwitch?: unknown; } & { date: Date; lunar: boolean; showHeader: boolean; border: boolean; borderColor: string; dayCellHeight: string | number; weekCellHeight: string | number; memorandum: CalendarMemorandumType; changeDate: CalendarCallbackInterface; changeSwitch: CalendarCallbackInterface; } & {}>, { date: Date; lunar: boolean; showHeader: boolean; border: boolean; borderColor: string; dayCellHeight: string | number; weekCellHeight: string | number; memorandum: CalendarMemorandumType; changeDate: CalendarCallbackInterface; changeSwitch: CalendarCallbackInterface; }>; export default _sfc_main;