(()=>{function e(t){var s=this;s.$onChanges=function(e){e.template&&s.template&&(s.templatesPreviews=t.getPreviews(s.template),t.getCreationCsv(s.template).then(function(e){s.creationCsv=e}))}}e.$inject=["c8ySmartRestTemplates"],angular.module("c8y.smartRestEditor").component("c8ySmartRestCsvPreviewer",{bindings:{template:"<",hideRequestTemplates:"<",hideResponseTemplates:"<"},templateUrl:":::PLUGIN_PATH:::/csvPreviewer/csvPreviewer.html",controller:e,controllerAs:"vm"})})();