Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
(window.webpackJsonp=window.webpackJsonp||[]).push([["d5f85445-81"],{l3Z1TEpN:function(t,e,a){"use strict";a.r(e);var n=a("ii0bleBb"),r=a.n(n),i=a("ivGQtwpr"),s=a.n(i),o=a("PcYM+wZ7"),l=a.n(o),c=a("4KF7VOU5"),p=a.n(c),u=a("oBIKikY9"),d=a("jHp4XH0b"),m=a("dLdPQ+h2"),g=a("mc0qlNhN"),x=a("+CppQpVm"),h=a("W+sNG9T1"),E=a("JBQWIv26"),v=a("1VnJesae"),f=E.a.getActions("Inputs"),_=E.a.getActions("Extractors"),I=v.a.getStore("Extractors"),S=v.a.getStore("Inputs"),b=v.a.getStore("UniversalSearch"),w=l()({displayName:"EditExtractorsPage",propTypes:{params:r.a.object.isRequired},mixins:[p.a.connect(I),p.a.connect(S)],getInitialState:function(){return{extractor:void 0,exampleMessage:void 0}},componentDidMount:function(){var t=this,e=this.props.params;f.get.triggerPromise(e.inputId),_.get.triggerPromise(e.inputId,e.extractorId),b.search("relative","gl2_source_input:".concat(e.inputId," OR gl2_source_radio_input:").concat(e.inputId),{relative:3600},void 0,1).then((function(e){e.total_results>0?t.setState({exampleMessage:e.messages[0]}):t.setState({exampleMessage:{}})}))},_isLoading:function(){return!(this.state.input&&this.state.extractor&&this.state.exampleMessage)},_extractorSaved:function(){var t,e=this.state.input,a=this.props.params;t=e.global?h.a.global_input_extractors(a.inputId):h.a.local_input_extractors(a.nodeId,a.inputId),x.a.push(t)},render:function(){if(this._isLoading())return s.a.createElement(u.L,null);var t=this.state,e=t.extractor,a=t.exampleMessage,n=t.input;return s.a.createElement(u.i,{title:"Edit extractor ".concat(e.title)},s.a.createElement("div",null,s.a.createElement(u.A,{title:s.a.createElement("span",null,"Edit extractor ",s.a.createElement("em",null,e.title)," for input ",s.a.createElement("em",null,n.title))},s.a.createElement("span",null,"Extractors are applied on every message that is received by an input. Use them to extract and transform"," ","any text data into fields that allow you easy filtering and analysis later on."),s.a.createElement("span",null,"Find more information about extractors in the"," ",s.a.createElement(d.a,{page:g.a.PAGES.EXTRACTORS,text:"documentation"}),".")),s.a.createElement(m.a,{action:"edit",extractor:e,inputId:n.id,exampleMessage:a.fields?a.fields[e.source_field]:void 0,onSave:this._extractorSaved})))}});e.default=w}}]);
//# sourceMappingURL=d5f85445-81.a49ba8ace624afae35ed.js.map