UNPKG

survey-creator-core

Version:

Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.

35 lines (34 loc) 1.27 kB
import { Base, SurveyModel, Action } from "survey-core"; import { PropertyGridModel } from "./index"; import { SurveyCreatorModel } from "../creator-base"; import { SearchManagerPropertyGrid } from "./search-manager"; import { MenuButton } from "../utils/actions"; export declare class PropertyGridViewModel extends Base { private propertyGridModel; private creator; nextSelectionAction: Action; prevSelectionAction: Action; objectSelectionAction: MenuButton; searchManager: SearchManagerPropertyGrid; onNewSurveyCreatedCallback: () => void; private selectorPopupModel; hasPrev: boolean; hasNext: boolean; selectedElementName: string; searchEnabled: boolean; showPlaceholder: boolean; constructor(propertyGridModel: PropertyGridModel, creator: SurveyCreatorModel); get survey(): SurveyModel; set survey(val: SurveyModel); get rootCss(): string; protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void; private get selectionController(); private onSurveyObjChanged; private onNewSurveyCreated; private updateTitle; private getTitle; private getSelectedObj; private initActions; private createObjectSwitcherAction; dispose(): void; }