import { SplitButtonIconPosition, SplitButtonPassThrough } from "primeng/types/splitbutton"; import * as i0 from "@angular/core"; import { ElementRef, TemplateRef } from "@angular/core"; import { MotionOptions } from "@primeuix/motion"; import { MenuItem, TooltipOptions } from "primeng/api"; import { BaseComponent } from "primeng/basecomponent"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { TieredMenu } from "primeng/tieredmenu"; import { ButtonDirectiveOptions, ButtonSeverity, ButtonSize } from "primeng/types/button"; import { AppendTo, CSSProperties } from "primeng/types/shared"; import { BaseStyle } from "primeng/base"; export * from "primeng/types/splitbutton"; export declare class SplitButtonStyle extends BaseStyle { name: string; style: string; classes: { root: ({ instance }: { instance: any; }) => (string | { [x: string]: any; 'p-splitbutton-raised': any; 'p-splitbutton-rounded': any; 'p-splitbutton-outlined': any; 'p-splitbutton-text': any; })[]; pcButton: string; pcDropdown: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * SplitButton groups a set of commands in an overlay with a default command. * * [Live Demo](https://www.primeng.org/splitbutton/) * * @module splitbuttonstyle * */ export declare enum SplitButtonClasses { /** * Class name of the root element */ root = "p-splitbutton", /** * Class name of the button element */ pcButton = "p-splitbutton-button", /** * Class name of the dropdown element */ pcDropdown = "p-splitbutton-dropdown" } /** * SplitButton groups a set of commands in an overlay with a default command. * @group Components */ export declare class SplitButton extends BaseComponent { componentName: string; $pcSplitButton: SplitButton | undefined; bindDirectiveInstance: Bind; /** * MenuModel instance to define the overlay items. * @group Props */ model_: import("@angular/core").InputSignal; /** * Defines the style of the button. * @group Props */ severity: import("@angular/core").InputSignal; /** * Add a shadow to indicate elevation. * @group Props */ raised: import("@angular/core").InputSignalWithTransform; /** * Add a circular border radius to the button. * @group Props */ rounded: import("@angular/core").InputSignalWithTransform; /** * Add a textual class to the button without a background initially. * @group Props */ text: import("@angular/core").InputSignalWithTransform; /** * Add a border class without a background initially. * @group Props */ outlined: import("@angular/core").InputSignalWithTransform; /** * Defines the size of the button. * @group Props */ size: import("@angular/core").InputSignal; /** * Add a plain textual class to the button without a background initially. * @group Props */ plain: import("@angular/core").InputSignalWithTransform; /** * Name of the icon. * @group Props */ icon: import("@angular/core").InputSignal; /** * Position of the icon. * @group Props */ iconPos: import("@angular/core").InputSignal; /** * Text of the button. * @group Props */ label: import("@angular/core").InputSignal; /** * Tooltip for the main button. * @group Props */ tooltip: import("@angular/core").InputSignal; /** * Tooltip options for the main button. * @group Props */ tooltipOptions: import("@angular/core").InputSignal; /** * Inline style of the overlay menu. * @group Props */ menuStyle: import("@angular/core").InputSignal; /** * Style class of the overlay menu. * @group Props */ menuStyleClass: import("@angular/core").InputSignal; /** * Name of the dropdown icon. * @group Props */ dropdownIcon: import("@angular/core").InputSignal; /** * Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name). * @defaultValue 'body' * @group Props */ appendTo: import("@angular/core").InputSignal; /** * Indicates the direction of the element. * @group Props */ dir: import("@angular/core").InputSignal; /** * Defines a string that labels the expand button for accessibility. * @group Props */ expandAriaLabel: import("@angular/core").InputSignal; /** * The motion options. * @group Props */ motionOptions: import("@angular/core").InputSignal; computedMotionOptions: import("@angular/core").Signal; /** * Button Props */ buttonProps: import("@angular/core").InputSignal; /** * Menu Button Props */ menuButtonProps: import("@angular/core").InputSignal; /** * When present, it specifies that the component should automatically get focus on load. * @group Props */ autofocus: import("@angular/core").InputSignalWithTransform; /** * When present, it specifies that the element should be disabled. * @group Props */ disabled: import("@angular/core").InputSignalWithTransform; /** * Index of the element in tabbing order. * @group Props */ tabindex: import("@angular/core").InputSignalWithTransform; /** * When present, it specifies that the menu button element should be disabled. * @group Props */ menuButtonDisabled: import("@angular/core").InputSignalWithTransform; /** * When present, it specifies that the button element should be disabled. * @group Props */ buttonDisabled: import("@angular/core").InputSignalWithTransform; /** * Callback to invoke when default command button is clicked. * @param {MouseEvent} event - Mouse event. * @group Emits */ onClick: import("@angular/core").OutputEmitterRef; /** * Callback to invoke when overlay menu is hidden. * @group Emits */ onMenuHide: import("@angular/core").OutputEmitterRef; /** * Callback to invoke when overlay menu is shown. * @group Emits */ onMenuShow: import("@angular/core").OutputEmitterRef; /** * Callback to invoke when dropdown button is clicked. * @param {MouseEvent} event - Mouse event. * @group Emits */ onDropdownClick: import("@angular/core").OutputEmitterRef; buttonViewChild: import("@angular/core").Signal | undefined>; menu: import("@angular/core").Signal; /** * Custom content template. * @group Templates */ contentTemplate: import("@angular/core").Signal | undefined>; /** * Custom dropdown icon template. * @group Templates **/ dropdownIconTemplate: import("@angular/core").Signal | undefined>; ariaId: string; isExpanded: import("@angular/core").WritableSignal; _componentStyle: SplitButtonStyle; $appendTo: import("@angular/core").Signal; $buttonDisabled: import("@angular/core").Signal; $menuButtonDisabled: import("@angular/core").Signal; onAfterViewChecked(): void; onDefaultButtonClick(event: MouseEvent): void; onDropdownButtonClick(event?: MouseEvent): void; onDropdownButtonKeydown(event: KeyboardEvent): void; onHide(): void; onShow(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class SplitButtonModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }