import { ProvidersService } from 'fccore2'; import { FCEVENT } from '../fc'; import { Sysappbuttons } from 'fccore2'; import { FcinputComponent } from '../fcinput'; /** * fc-button按钮 * * 按钮用于开始一个即时操作。 * * 标记了一个(或封装一组)操作命令,响应用户点击行为,触发相应的业务逻 辑。 * * 事件: * * 1.点击事件:click * */ export declare class FcbuttonComponent extends FcinputComponent { provider: ProvidersService; /** 内容 */ fcLabel: string; /** 类型 */ fcType: string; /**形状*/ fcShape: string; /**图标*/ fcIcon: string; /**图标位置 */ fcIconPositon: string; /**加载中*/ fcLoading: string; _load: boolean; /**背景透明*/ fcOpacity: string; _opacity: boolean; /**是否为块级*/ fcBlock: string; _block: boolean; /**提示*/ fcToolTip: string; /**显示模式*/ fcMode: string; /**下拉按钮*/ fcDropdown: Fcbtndropdown[]; /**按钮组*/ fcGroup: Sysappbuttons[]; /**图标位置 新增属性 */ fcIconPosition: string; params: any; /**是否禁用*/ _disableds: any; /**是否禁用按钮组*/ fcDisableds: string; /**按钮北京颜色*/ fcStyle: string; /**单个按钮禁用*/ fcDisabled: string; _disabled: boolean; constructor(provider: ProvidersService); ngOnChanges(param: any): void; /** * 处理开发者传入的参数,判断按钮组的每个按钮是否为禁用 */ private processDisableds; _dropdownClick(ev: FCEVENT): void; } /** * 按钮类型 */ export declare const BTNTYPE: { primary: string; default: string; dashed: string; danger: string; }; /** * 按钮形状 */ export declare const BTNSHAPE: { circle: string; }; export declare const BTNPOSITION: { left: string; right: string; }; export interface Fcbtndropdown { icon?: string; label?: string; event?: string; position?: string; }