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