(window.webpackJsonp=window.webpackJsonp||[]).push([[246],{339:function(e,t,n){"use strict";n.r(t),n.d(t,"ontotext_download_as",(function(){return i}));var E=n(29),o=n(419);n(401);const i=class{constructor(e){Object(E.g)(this,e),this.downloadAs=Object(E.c)(this,"internalDownloadAsEvent",7),this.translationService=void 0,this.nameLabelKey=void 0,this.tooltipLabelKey=void 0,this.items=void 0,this.pluginName=void 0,this.query=void 0,this.infer=void 0,this.sameAs=void 0}onInternalDropdownValueSelected(e){this.downloadAs.emit(new o.a(e.detail.payload.value,this.pluginName,this.query,this.infer,this.sameAs))}render(){return Object(E.e)("ontotext-dropdown",{class:"ontotext-download-as",onValueChanged:e=>this.onInternalDropdownValueSelected(e),translationService:this.translationService,tooltipLabelKey:this.tooltipLabelKey,nameLabelKey:this.nameLabelKey?this.nameLabelKey:i.DEFAULT_NAME_LABEL,iconClass:"icon-download",items:this.items})}};i.DEFAULT_NAME_LABEL="yasr.plugin_control.download_results.btn.label",i.style=""},401:function(e,t,n){"use strict";var E;n.d(t,"a",(function(){return E})),function(e){e.INTERNAL_DOWNLOAD_AS_EVENT="internalDownloadAsEvent",e.INTERNAL_DROPDOWN_VALUE_SELECTED_EVENT="internalDropdownValueSelectedEvent",e.INTERNAL_NOTIFICATION_MESSAGE_EVENT="internalNotificationMessageEvent",e.INTERNAL_SHOW_RESOURCE_COPY_LINK_DIALOG_EVENT="internalShowResourceCopyLinkDialogEvent",e.INTERNAL_SHOW_SAVED_QUERIES_EVENT="internalShowSavedQueriesEvent",e.INTERNAL_SHARE_QUERY_EVENT="internalShareQueryEvent",e.INTERNAL_CREATE_SAVED_QUERY_EVENT="internalCreateSavedQueryEvent",e.INTERNAL_QUERY_EXECUTED="internalQueryExecuted",e.INTERNAL_QUERY_EVENT="internalQueryEvent",e.INTERNAL_COUNT_QUERY_EVENT="internalCountQueryEvent",e.INTERNAL_COUNT_QUERY_RESPONSE_EVENT="internalCountQueryResponseEvent",e.INTERNAL_REQUEST_ABORTED_EVENT="internalRequestAbortedEvent"}(E||(E={}))},419:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return E}));var E,o=n(401);!function(e){e.OUTPUT_COUNT_QUERY_EVENT="countQuery",e.OUTPUT_COUNT_QUERY_RESPONSE_EVENT="countQueryResponse",e.OUTPUT_REQUEST_ABORTED="requestAborted",e.OUTPUT_QUERY_EVENT="query",e.OUTPUT_DOWNLOAD_AS_EVENT="downloadAs",e.OUTPUT_NOTIFICATION_MESSAGE_EVENT="notificationMessage",e.OUTPUT_QUERY_EXECUTED="queryExecuted",e.OUTPUT_SAVED_QUERY_OPENED="saveQueryOpened"}(E||(E={}));class i{constructor(e,t,n,i,a){this.TYPE=o.a.INTERNAL_DOWNLOAD_AS_EVENT,this.OUTPUT_TYPE=E.OUTPUT_DOWNLOAD_AS_EVENT,this.payload={value:e,pluginName:t,query:n,infer:i,sameAs:a}}}}}]);