import FdToolBarItemComponent from '../../../command/toolbar/component/toolbaritem/component/fd-toolbar-item'; import { FormPropertyChangeObject } from '../../../../entity/property-change-entity'; import { ElementPropertyConfig } from '@farris/ide-property-panel'; export default class FdSectionToolBarItemComponent extends FdToolBarItemComponent { hasDefaultItemCls: boolean; getDefaultSchema(): { id: string; type: string; title: any; disable: boolean; appearance: { class: string; }; visible: boolean; click: any; items: any[]; split: boolean; visibleControlledByRules: boolean; disableControlledByRules: boolean; }; init(): void; appendItem(): void; getPropertyConfig(): ElementPropertyConfig[]; onPropertyChanged(changeObject: FormPropertyChangeObject): void; /** * 设置section按钮的展示名称和路径,用于交互面板已绑定事件的窗口 */ setComponentBasicInfoMap(): void; /** * 首次新增二级按钮时,需要将按钮本身的class中的间距类样式拆分到dropdownClass中 * 目的是为了使按钮与下拉图标之间没有间距,而按钮之间有间距 */ private handleDropdownClass; /** * 删除掉所有二级按钮后,需要将一级按钮上dropdownClass中的间距类样式合并到class中 * 目的是为了使按钮与下拉图标之间没有间距,而按钮之间有间距 */ removeDropDownCls(): void; }