/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { ButtonFillMode, ButtonRounded, ButtonSize, ButtonThemeColor } from '@progress/kendo-angular-buttons'; import { FileRestrictions } from '@progress/kendo-angular-upload'; import { SVGIcon } from '@progress/kendo-svg-icons'; /** * Defines the configuration settings for the PromptBox **File Select** button. */ export interface FileSelectButtonSettings { /** * Sets the disabled state of the **File Select** button. * When set to `true`, prevents user interaction. */ disabled?: boolean; /** * Sets the background and border styles of the **File Select** button. */ fillMode?: ButtonFillMode; /** * Sets the name of a font icon from the Kendo UI theme. */ icon?: string; /** * Sets a URL for an `img` element displayed inside the **File Select** button. */ imageUrl?: string; /** * Sets the border radius of the **File Select** button. */ rounded?: ButtonRounded; /** * Sets the padding of the **File Select** button. */ size?: ButtonSize; /** * Sets an SVG icon to display inside the **File Select** button. */ svgIcon?: SVGIcon; /** * Sets a CSS class or multiple classes separated by spaces. * Applied to a `span` element inside the **File Select** button. */ iconClass?: string; /** * Sets the theme color of the **File Select** button. */ themeColor?: ButtonThemeColor; /** * Sets the restrictions for selected files. */ restrictions?: FileRestrictions; /** * Enables selection of multiple files. */ multiple?: boolean; /** * Sets the `accept` attribute of the internal file input element. */ accept?: string; }