UNPKG

@ohu-mobile/core

Version:
71 lines (70 loc) 2.62 kB
import { FabProps, FabEvents } from './types'; import { ButtonTypes } from '../Button'; import { CSSProperties } from 'vue'; type FabInnerProps = { currentPos: [string, string]; actionsDirection: string; fabPosition: DOMRect; internalExpand: boolean; maskPosition: CSSProperties; hasAction: boolean; labelDirection: string; ripple: () => void; maskAnimate: () => void; triggerChange: (expand?: boolean, e?: MouseEvent) => void; handleClick: (e: Event) => void; }; declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>> & FabInnerProps & import("../_utils/defineComponent").OhuComponentInnerProps & { type: ButtonTypes; icon: string | import("@ohu-mobile/icons/lib/types").SVGIconDef; closeIcon: string | import("@ohu-mobile/icons/lib/types").SVGIconDef; round: boolean; inline: boolean; expand: boolean; position: string; direction: string | undefined; mask: boolean; maskClosable: boolean; maskTransition: string; label: string | undefined; text: string | undefined; zIndex: number; shadow: boolean; htmlType: string; plain: boolean; size: import("../Button").ButtonSizes; loading: boolean; disabled: boolean; link: boolean; tabindex: number; to: string | Location | undefined; url: string; replace: boolean; }, {}, {} & { replace?: boolean | undefined; link?: boolean | undefined; icon?: string | import("@ohu-mobile/icons/lib/types").SVGIconDef | undefined; type?: ButtonTypes | undefined; tabindex?: number | undefined; label?: string | undefined; to?: string | Location | undefined; url?: string | undefined; plain?: boolean | undefined; size?: import("../Button").ButtonSizes | undefined; loading?: boolean | undefined; disabled?: boolean | undefined; inline?: boolean | undefined; round?: boolean | undefined; htmlType?: string | undefined; position?: string | undefined; text?: string | undefined; shadow?: boolean | undefined; direction?: string | undefined; mask?: boolean | undefined; maskClosable?: boolean | undefined; zIndex?: number | undefined; closeIcon?: string | import("@ohu-mobile/icons/lib/types").SVGIconDef | undefined; expand?: boolean | undefined; maskTransition?: string | undefined; } & FabProps, FabEvents, {}, {}>; export default _default;