import * as ko from "knockout" ; import "./object-editor-tab.scss" ; import { SurveyElementEditorTabModel } from "../questionEditors/questionEditor" ; import { SurveyObjectProperty } from "../objectProperty" ; const templateHtml = require ( "./object-editor-tab.html" ) ; export class ObjectEditorTabViewModel { constructor ( public name , public editorProperties , public koAfterRenderProperty , public afterRender ) { } } ko . components . register ( "svd-object-editor-tab" , { viewModel : { createViewModel : ( params , componentInfo ) => { const model = params . model ; return new ObjectEditorTabViewModel ( model . name , model . editorProperties , model . koAfterRenderProperty , model . koAfterRender ) ; } , } , template : templateHtml , } ) ;