@omnia/fx-spfx
Version:
Provide Omnia Fx Sharepoint Stuffs.
35 lines (34 loc) • 1.09 kB
TypeScript
import Vue from 'vue';
import { IWebComponentInstance } from '../../../fx';
import { IOmniaWPContainerSettings } from "./IOmniaWPContainerSettings";
export declare type WebComponentDefinition = {
id: string;
name: string;
category: string;
icon?: any;
};
export declare class OmniaWPContainerSettings extends Vue implements IWebComponentInstance, IOmniaWPContainerSettings {
settings: string;
opened: boolean;
onClosed: () => void;
onChange: (value: string) => void;
private omniaCtx;
private localizationService;
private loc;
private omniaFxComponents;
private selectOmniaFxComponent;
private model;
created(): void;
mounted(): void;
private onChangedSelectComponent;
private populateWebComponents;
private renderComponent;
private close;
private save;
onLayoutItemSelected(item: WebComponentDefinition): void;
private createItemMarkup;
private createItemGroups;
private renderDefaultBlocks;
private renderSearchResult;
render(h: any): JSX.Element;
}