import { SplitButtonPassThrough, SplitButtonIconPosition } from 'primeng/types/splitbutton'; export * from 'primeng/types/splitbutton'; import * as _angular_core 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 { ButtonSeverity, ButtonSize, ButtonDirectiveOptions } from 'primeng/types/button'; import { CSSProperties, AppendTo } from 'primeng/types/shared'; import { BaseStyle } from 'primeng/base'; 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: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * * SplitButton groups a set of commands in an overlay with a default command. * * [Live Demo](https://www.primeng.org/splitbutton/) * * @module splitbuttonstyle * */ 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 */ declare class SplitButton extends BaseComponent { componentName: string; $pcSplitButton: SplitButton | undefined; bindDirectiveInstance: Bind; /** * MenuModel instance to define the overlay items. * @group Props */ model_: _angular_core.InputSignal; /** * Defines the style of the button. * @group Props */ severity: _angular_core.InputSignal; /** * Add a shadow to indicate elevation. * @group Props */ raised: _angular_core.InputSignalWithTransform; /** * Add a circular border radius to the button. * @group Props */ rounded: _angular_core.InputSignalWithTransform; /** * Add a textual class to the button without a background initially. * @group Props */ text: _angular_core.InputSignalWithTransform; /** * Add a border class without a background initially. * @group Props */ outlined: _angular_core.InputSignalWithTransform; /** * Defines the size of the button. * @group Props */ size: _angular_core.InputSignal; /** * Add a plain textual class to the button without a background initially. * @group Props */ plain: _angular_core.InputSignalWithTransform; /** * Name of the icon. * @group Props */ icon: _angular_core.InputSignal; /** * Position of the icon. * @group Props */ iconPos: _angular_core.InputSignal; /** * Text of the button. * @group Props */ label: _angular_core.InputSignal; /** * Tooltip for the main button. * @group Props */ tooltip: _angular_core.InputSignal; /** * Tooltip options for the main button. * @group Props */ tooltipOptions: _angular_core.InputSignal; /** * Inline style of the overlay menu. * @group Props */ menuStyle: _angular_core.InputSignal; /** * Style class of the overlay menu. * @group Props */ menuStyleClass: _angular_core.InputSignal; /** * Name of the dropdown icon. * @group Props */ dropdownIcon: _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: _angular_core.InputSignal; /** * Indicates the direction of the element. * @group Props */ dir: _angular_core.InputSignal; /** * Defines a string that labels the expand button for accessibility. * @group Props */ expandAriaLabel: _angular_core.InputSignal; /** * The motion options. * @group Props */ motionOptions: _angular_core.InputSignal; computedMotionOptions: _angular_core.Signal; /** * Button Props */ buttonProps: _angular_core.InputSignal; /** * Menu Button Props */ menuButtonProps: _angular_core.InputSignal; /** * When present, it specifies that the component should automatically get focus on load. * @group Props */ autofocus: _angular_core.InputSignalWithTransform; /** * When present, it specifies that the element should be disabled. * @group Props */ disabled: _angular_core.InputSignalWithTransform; /** * Index of the element in tabbing order. * @group Props */ tabindex: _angular_core.InputSignalWithTransform; /** * When present, it specifies that the menu button element should be disabled. * @group Props */ menuButtonDisabled: _angular_core.InputSignalWithTransform; /** * When present, it specifies that the button element should be disabled. * @group Props */ buttonDisabled: _angular_core.InputSignalWithTransform; /** * Callback to invoke when default command button is clicked. * @param {MouseEvent} event - Mouse event. * @group Emits */ onClick: _angular_core.OutputEmitterRef; /** * Callback to invoke when overlay menu is hidden. * @group Emits */ onMenuHide: _angular_core.OutputEmitterRef; /** * Callback to invoke when overlay menu is shown. * @group Emits */ onMenuShow: _angular_core.OutputEmitterRef; /** * Callback to invoke when dropdown button is clicked. * @param {MouseEvent} event - Mouse event. * @group Emits */ onDropdownClick: _angular_core.OutputEmitterRef; buttonViewChild: _angular_core.Signal | undefined>; menu: _angular_core.Signal; /** * Custom content template. * @group Templates */ contentTemplate: _angular_core.Signal | undefined>; /** * Custom dropdown icon template. * @group Templates **/ dropdownIconTemplate: _angular_core.Signal | undefined>; ariaId: string; isExpanded: _angular_core.WritableSignal; _componentStyle: SplitButtonStyle; $appendTo: _angular_core.Signal; $buttonDisabled: _angular_core.Signal; $menuButtonDisabled: _angular_core.Signal; onAfterViewChecked(): void; onDefaultButtonClick(event: MouseEvent): void; onDropdownButtonClick(event?: MouseEvent): void; onDropdownButtonKeydown(event: KeyboardEvent): void; onHide(): void; onShow(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class SplitButtonModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { SplitButton, SplitButtonClasses, SplitButtonModule, SplitButtonStyle };