import * as _angular_core from '@angular/core';
import { AfterViewInit, AfterContentChecked, OnDestroy, ElementRef } from '@angular/core';
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
import { XType, XDirection, XNumber, XSize, XBoolean } from '@ng-nest/ui/core';
/**
* Button
* @selector x-button
* @decorator component
*/
declare const XButtonPrefix = "x-button";
declare const XButtonProperty_base: new () => {
config: _ng_nest_ui_core.XButtonConfig | undefined;
};
/**
* Button Property
*/
declare class XButtonProperty extends XButtonProperty_base {
/**
* @zh_CN 按钮类型
* @en_US Button type
* @example
*
* ```html
* Initial
* Primary
* Success
* Warning
* Danger
* Info
* Primary
* ```
*
*/
readonly type: _angular_core.InputSignal;
/**
* @zh_CN 图标
* @en_US Icon
* @example
*
* ```html
*
* Edit
* Edit
* ```
*
*/
readonly icon: _angular_core.InputSignal;
/**
* @zh_CN 提示
* @en_US Title
* @example
*
* ```html
*
*
* ```
*
*/
readonly title: _angular_core.InputSignal;
/**
* @zh_CN 按钮中元素的布局方式
* @en_US Button elements in the layout
* @example
*
* ```html
* Button
* Button
* Button
* Button
* Button
* ```
*
*/
readonly direction: _angular_core.InputSignal;
/**
* @zh_CN tab 键控制次序
* @en_US Tab key control order
* @example
*
* ```html
*
*
* ```
*
*/
readonly tabindex: _angular_core.InputSignalWithTransform;
/**
* @zh_CN 尺寸
* @en_US Size
* @example
*
* ```html
* Big
* Large
* Medium
* Small
* Mini
* Medium
* ```
*
*/
readonly size: _angular_core.InputSignal;
/**
* @zh_CN 仅显示图标
* @en_US Icon only
* @example
*
* ```html
*
*
*
* ```
*
*/
readonly onlyIcon: _angular_core.InputSignalWithTransform;
/**
* @zh_CN 激活的按钮(样式差异)
* @en_US Active button (style difference)
* @example
*
* ```html
* Button
* Button
* Button
* ```
*
*/
readonly activated: _angular_core.InputSignalWithTransform;
/**
* @zh_CN 禁用按钮
* @en_US Disable button
* @example
*
* ```html
* Button
* Button
* Button
* ```
*
*/
readonly disabled: _angular_core.InputSignalWithTransform;
/**
* @zh_CN 朴素按钮
* @en_US Plain button
* @example
*
* ```html
* Button
* Button
* Button
* ```
*
*/
readonly plain: _angular_core.InputSignalWithTransform;
/**
* @zh_CN 平铺按钮
* @en_US Flat button
* @example
*
* ```html
* Button
* Button
* Button
* ```
*
*/
readonly flat: _angular_core.InputSignalWithTransform;
/**
* @zh_CN 文字按钮
* @en_US Text button
* @example
*
* ```html
* Button
* Button
* Button
* ```
*
*/
readonly text: _angular_core.InputSignalWithTransform;
/**
* @zh_CN 圆角按钮
* @en_US Round button
* @example
*
* ```html
* Button
* Button
* Button
* ```
*
*/
readonly round: _angular_core.InputSignalWithTransform;
/**
* @zh_CN 圆型按钮(配合图标来使用)
* @en_US Round button (use with icon)
* @example
*
* ```html
* Button
* Button
* Button
* ```
*
*/
readonly circle: _angular_core.InputSignalWithTransform;
/**
* @zh_CN 加载中
* @en_US Loading
* @example
*
* ```html
* Button
* Button
* Button
* ```
*
*/
readonly loading: _angular_core.InputSignalWithTransform;
/**
* @zh_CN 关闭按钮
* @en_US Close button
* @example
*
* ```html
* Button
* Button
* Button
* ```
*
*/
readonly closable: _angular_core.InputSignalWithTransform;
/**
* @zh_CN 按钮类型属性 submit, button, reset
* @en_US Button type attribute. submit, button, reset
* @example
*
* ```html
* Button
* Button
* Button
* ```
*
*/
readonly attrType: _angular_core.InputSignal;
static ɵfac: _angular_core.ɵɵFactoryDeclaration;
static ɵcmp: _angular_core.ɵɵComponentDeclaration;
}
/**
* @zh_CN 按钮类型
* @en_US Button type
*/
type XButtonType = XType;
/**
* @zh_CN 按钮类型属性
* - `'submit'` : 此类型用于提交表单数据
* - `'reset'` : 此类型用于重置表单中的数据
* - `'button'` : 此类型用于自定义按钮行为
* @en_US Button attr type
* - `'submit'` : This type is used to submit the form data
* - `'reset'` : This type is used to reset the form data
* - `'button'` : This type is used to the custom button
*/
type XButtonAttrType = 'submit' | 'button' | 'reset';
/**
* Buttons
* @selector x-buttons
* @decorator component
*/
declare const XButtonsPrefix = "x-buttons";
declare const XButtonsProperty_base: new () => {
config: _ng_nest_ui_core.XButtonsConfig | undefined;
};
/**
* Buttons Property
*/
declare class XButtonsProperty extends XButtonsProperty_base {
/**
* @zh_CN 按钮间距
* @en_US Button spacing
* @example
*
* ```html
* // ex: 10,'10px','1rem'
*
* Button1
* Button2
*
* ```
*
*/
readonly space: _angular_core.InputSignalWithTransform;
/**
* @zh_CN 隐藏边框
* @en_US Hide border
* @example
*
* ```html
*
* Button1
* Button2
*
* ```
*
*/
readonly hiddenBorder: _angular_core.InputSignalWithTransform;
/**
* @zh_CN 显示阴影
* @en_US show box shadow
* @example
*
* ```html
*
* Button1
* Button2
*
* ```
*
*/
readonly boxShadow: _angular_core.InputSignalWithTransform;
/**
* @zh_CN 圆角按钮
* @en_US Round button
* @example
*
* ```html
*
* Button1
* Button2
*
* ```
*
*/
readonly round: _angular_core.InputSignalWithTransform;
static ɵfac: _angular_core.ɵɵFactoryDeclaration;
static ɵcmp: _angular_core.ɵɵComponentDeclaration;
}
declare class XButtonComponent extends XButtonProperty implements AfterViewInit, AfterContentChecked, OnDestroy {
buttonRef: _angular_core.Signal>;
contentRef: _angular_core.Signal>;
private buttons;
private focusMontitor;
contentIsEmpty: _angular_core.WritableSignal;
transition: _angular_core.WritableSignal;
get marginLeft(): string | undefined;
get marginRight(): string | undefined;
get pointerEvents(): "" | "none";
constructor();
classMap: _angular_core.Signal<{
[x: string]: boolean;
}>;
roundSignal: _angular_core.Signal;
disabledComputed: _angular_core.Signal;
ngAfterViewInit(): void;
ngAfterContentChecked(): void;
ngOnDestroy(): void;
static ɵfac: _angular_core.ɵɵFactoryDeclaration;
static ɵcmp: _angular_core.ɵɵComponentDeclaration;
}
declare class XButtonsComponent extends XButtonsProperty {
className: string;
get getSpace(): boolean;
get getHiddenBorder(): boolean;
get getBoxShadow(): boolean;
get getRound(): boolean;
get getMarginLeft(): string;
get getMarginRight(): string;
static ɵfac: _angular_core.ɵɵFactoryDeclaration;
static ɵcmp: _angular_core.ɵɵComponentDeclaration;
}
declare class XButtonModule {
static ɵfac: _angular_core.ɵɵFactoryDeclaration;
static ɵmod: _angular_core.ɵɵNgModuleDeclaration;
static ɵinj: _angular_core.ɵɵInjectorDeclaration;
}
export { XButtonComponent, XButtonModule, XButtonPrefix, XButtonProperty, XButtonsComponent, XButtonsPrefix, XButtonsProperty };
export type { XButtonAttrType, XButtonType };