@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
29 lines (28 loc) • 1.14 kB
TypeScript
import { IWebComponentInstance } from "@omnia/fx";
import { IconPickerModel } from "../../models";
import { OmniaUxLocalization } from "../UxModels";
import { ITemplatePicker, TemplatePickerModel } from ".";
import { TemplateStyles } from "./TemplatePicker.css";
import { VueComponentBase } from "../VueComponentBase";
export declare class TemplatePicker extends VueComponentBase implements IWebComponentInstance, ITemplatePicker {
valueBind?: TemplatePickerModel;
onValueChanged?: (model: TemplatePickerModel) => void;
templates: Array<TemplatePickerModel>;
colsGrid?: number;
stylesTemplate?: typeof TemplateStyles;
isSort?: boolean;
private omniaContext;
private omniaTheming;
protected omniaUxLoc: OmniaUxLocalization;
private cols;
private cardWidth;
private stylesCard;
created(): void;
mounted(): void;
beforeDestroy(): void;
private getColumnsOfGrid;
renderIcon(icon: IconPickerModel): VueTsxSupport.JSX.Element[];
renderCustomIcon(icon: IconPickerModel): VueTsxSupport.JSX.Element[];
render(): VueTsxSupport.JSX.Element;
private selectTemplate;
}