@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
65 lines (64 loc) • 2.68 kB
TypeScript
import { ToolbarExtension } from "../../ToolbarExtension";
import { TableToolbarProperties, TableMenuBar, TipTapEditor } from "../../../../models";
import { ITheming } from "../../../theming";
import "./TableMenu.css";
interface TableStyleSelection {
className: string;
invisible?: boolean;
component: any;
}
export default class TableSubToolbar extends ToolbarExtension implements TableToolbarProperties {
menubar: TableMenuBar;
editor: TipTapEditor;
private loc;
tableMenuClasses: {
thicknessWraper?: any;
thicknessItem?: any;
thicknessSelection?: any;
colorSelection?: any;
tableStyleItemWrapper?: any;
tableStyleItemContent?: any;
tableStyleWrapper?: any;
tableItemSelection?: any;
subToolBar?: any;
cellStyleMenu?: any;
setBlackWhiteIcon?: any;
setThemingPrimaryIcon?: any;
};
iconStyle: string;
borderThickness: number[];
viewGridlinesClass: string;
noneStyleClass: string;
isViewGridlline: boolean;
backgroundColorModel: string;
borderColorModel: string;
defaultBorderThickness: number;
borderThicknessModel: number;
showMenu: boolean;
disableViewGridline: boolean;
tableStylesModel: TableStyleSelection;
tableStyles: Array<TableStyleSelection>;
activeChange(model: any): void;
mounted(): void;
beforeDestroy(): void;
onBackgroundColorChange(value: any): void;
onBorderColorChange(value: any): void;
onBorderThicknessChange(value: any): void;
onTableStyleChange(value: any): void;
onTableViewGridLineChange(): void;
renderEditButtons(): VueTsxSupport.JSX.Element;
render(): VueTsxSupport.JSX.Element;
renderCellStyleMenu(): VueTsxSupport.JSX.Element;
renderSimpleTableStyle(theming: ITheming): VueTsxSupport.JSX.Element;
renderBorderHeaderTableStyle(theming: ITheming): VueTsxSupport.JSX.Element;
renderFilledHeaderTableStyle(theming: ITheming): VueTsxSupport.JSX.Element;
renderBandedRowTableStyle(theming: ITheming): VueTsxSupport.JSX.Element;
renderBandedRowColumnTableStyle(theming: ITheming): VueTsxSupport.JSX.Element;
renderSimpleTableStyleTheme(theming: ITheming): VueTsxSupport.JSX.Element;
renderBorderHeaderTableStyleTheme(theming: ITheming): VueTsxSupport.JSX.Element;
renderFilledHeaderTableStyleTheme(theming: ITheming): VueTsxSupport.JSX.Element;
renderBandedRowTableStyleTheme(theming: ITheming): VueTsxSupport.JSX.Element;
renderBandedRowColumnTableStyleTheme(theming: ITheming): VueTsxSupport.JSX.Element;
renderNoneStyleTable(theming: ITheming): VueTsxSupport.JSX.Element;
}
export {};