import * as ko from "knockout" ; import "./object-editor.scss" ; const templateHtml = require ( "./object-editor.html" ) ; import { PropertyGridObjectEditorModel , SurveyElementEditorContentModel , } from "../questionEditors/questionEditor" ; export class ObjectEditorViewModel { constructor ( public koIsOldTableAppearance , public koElementEditor , public koHasObject ) { } } ko . components . register ( "svd-object-editor" , { viewModel : { createViewModel : ( params , componentInfo ) => { const model = params . model ; return new ObjectEditorViewModel ( model . koIsOldTableAppearance , model . koElementEditor , model . koHasObject ) ; } , } , template : templateHtml , } ) ;