UNPKG

@progress/kendo-vue-buttons

Version:
131 lines (130 loc) 4.63 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { KendoSmartPaste, SmartPasteField } from '@progress/kendo-smartpaste-common'; import { SmartPasteFormField, SmartPasteClickEvent } from './interfaces'; import { PropType } from 'vue'; /** * @hidden */ declare const SmartPasteButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ disabled: { type: PropType<boolean>; default: any; }; fillMode: { type: PropType<"flat" | "link" | "solid" | "outline">; default: string; }; rounded: { type: PropType<"small" | "medium" | "large" | "full" | "none">; default: string; }; size: { type: PropType<"small" | "medium" | "xs" | "large">; default: string; }; svgIcon: { type: PropType<import('@progress/kendo-vue-common').SVGIcon>; default: () => import('@progress/kendo-svg-icons').SVGIcon; }; themeColor: PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "inverse">; formFields: PropType<SmartPasteFormField[]>; togglable: { type: PropType<boolean>; default: boolean; }; selected: { type: PropType<boolean>; default: any; }; icon: PropType<string>; iconClass: PropType<string>; imageUrl: PropType<string>; imageAlt: PropType<string>; tabIndex: PropType<number>; id: PropType<string>; type: { type: PropType<string>; default: string; }; role: PropType<string>; ariaLabel: PropType<string>; ariaPressed: PropType<boolean>; title: PropType<string>; dir: PropType<string>; iconSize: PropType<string>; }>, {}, {}, {}, { getSmartPasteInstance(): KendoSmartPaste | null; getButtonElement(): HTMLButtonElement | null; extractFormConfig(): SmartPasteFormField[] | SmartPasteField[] | undefined; extractClipboard(): Promise<string>; populateFormFieldsInternal(fieldValues: Record<string, any>, fields?: SmartPasteFormField[] | SmartPasteField[]): void; handleClick(event: Event): Promise<void>; }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { click: (event: SmartPasteClickEvent) => true; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ disabled: { type: PropType<boolean>; default: any; }; fillMode: { type: PropType<"flat" | "link" | "solid" | "outline">; default: string; }; rounded: { type: PropType<"small" | "medium" | "large" | "full" | "none">; default: string; }; size: { type: PropType<"small" | "medium" | "xs" | "large">; default: string; }; svgIcon: { type: PropType<import('@progress/kendo-vue-common').SVGIcon>; default: () => import('@progress/kendo-svg-icons').SVGIcon; }; themeColor: PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "inverse">; formFields: PropType<SmartPasteFormField[]>; togglable: { type: PropType<boolean>; default: boolean; }; selected: { type: PropType<boolean>; default: any; }; icon: PropType<string>; iconClass: PropType<string>; imageUrl: PropType<string>; imageAlt: PropType<string>; tabIndex: PropType<number>; id: PropType<string>; type: { type: PropType<string>; default: string; }; role: PropType<string>; ariaLabel: PropType<string>; ariaPressed: PropType<boolean>; title: PropType<string>; dir: PropType<string>; iconSize: PropType<string>; }>> & Readonly<{ onClick?: (event: SmartPasteClickEvent) => any; }>, { type: string; size: "small" | "medium" | "xs" | "large"; fillMode: "flat" | "link" | "solid" | "outline"; rounded: "small" | "medium" | "large" | "full" | "none"; selected: boolean; disabled: boolean; togglable: boolean; svgIcon: import('@progress/kendo-vue-common').SVGIcon; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; export { SmartPasteButton }; export type { SmartPasteButtonProps, SmartPasteClickEvent, SmartPasteFormField, SmartPasteButtonHandle } from './interfaces';