@progress/kendo-angular-buttons
Version:
Buttons Package for Angular
51 lines (50 loc) • 1.85 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { SmartPasteCustomInput } from "@progress/kendo-smartpaste-common";
import { HttpClient, HttpResponse } from "@angular/common/http";
import { Observable } from "rxjs";
import { SmartPasteAIResponse } from './models';
/**
* Checks if a field should be ignored during Smart Paste.
*
* @hidden
*/
export declare function isFieldIgnored(element: Element | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement): boolean;
/**
* @hidden
*/
export declare const getElementIdentifier: (element: HTMLElement) => string | null;
/**
* Specifies custom inputs (Kendo components) to include in Smart Paste.
* Each custom input has an identifier used to detect the component.
* Defaults to common Kendo UI components (DropDownList, ComboBox, AutoComplete, MultiSelect, DatePicker, etc.).
*
* @hidden
*/
export declare const customInputs: SmartPasteCustomInput[];
/**
* @hidden
*/
export declare const requiresDateValue: (element: HTMLElement) => boolean;
/**
* @hidden
*/
export declare const requiresBooleanValue: (element: HTMLElement) => boolean;
/**
* @hidden
*/
export declare const requiresNumericValue: (element: HTMLElement) => boolean;
/**
* @hidden
*/
export declare const populateCustomInputs: (element: HTMLElement, value: any) => any;
/**
* @hidden
*/
export declare const readClipboard: () => Promise<string>;
/**
* @hidden
*/
export declare const sendSmartPasteRequest: (http: HttpClient, requestData: any) => Observable<HttpResponse<SmartPasteAIResponse>>;