import * as ko from "knockout" ; import { ImplementorBase } from "survey-knockout-ui" ; import { TabEmbedPlugin } from "@survey/creator" ; const template = require ( "./embed.html" ) ; ko . components . register ( "svc-tab-embed" , { viewModel : { createViewModel : ( params ) => { const plugin = params . data ; new ImplementorBase ( plugin . model ) ; return plugin . model ; } } , template : template } ) ;