survey-creator-angular
Version:
A white-label drag-and-drop form builder for Angular that lets you design complex, interactive forms and surveys without writing code. It generates JSON schemas used by the SurveyJS Form Library to render dynamic forms in your Angular app.
28 lines (27 loc) • 1.34 kB
TypeScript
import { AfterViewInit, ElementRef } from "@angular/core";
import { ItemValue, PanelModel, QuestionSelectBase } from "survey-core";
import { ItemValueWrapperViewModel } from "survey-creator-core";
import { CreatorModelComponent } from "../creator-model.component";
import * as i0 from "@angular/core";
export declare class ItemValueDesignerComponent extends CreatorModelComponent<ItemValueWrapperViewModel> implements AfterViewInit {
componentName: string;
componentData: any;
container: ElementRef<HTMLDivElement>;
adorner: ItemValueWrapperViewModel;
private prevItem;
private get creator();
get question(): QuestionSelectBase;
get item(): ItemValue;
onBlur(event: any): void;
getPanelComponentName(panel: PanelModel): string;
getPanelComponentData(panel: PanelModel): any;
private setupContainer;
private cleanContainer;
protected createModel(): void;
protected getPropertiesToTrack(): string[];
protected getModel(): ItemValueWrapperViewModel;
ngOnDestroy(): void;
ngAfterViewInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ItemValueDesignerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ItemValueDesignerComponent, "svc-item-value", never, { "componentName": "componentName"; "componentData": "componentData"; }, {}, never, never>;
}