All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.628bc5f1-53.8082683cbeb94d06c5f9.js Maven / Gradle / Ivy

There is a newer version: 6.0.6
Show newest version
(window.webpackJsonp=window.webpackJsonp||[]).push([["628bc5f1-53"],{VErHFKte:function(e,t,n){"use strict";n.r(t);var r=n("4KF7VOU5"),a=n.n(r),i=n("mRXwKqDg"),o=Object(i.b)("Streams",(function(){return a.a.createActions({searchPaginated:{asyncResult:!0},listStreams:{asyncResult:!0},load:{asyncResult:!0},get:{asyncResult:!0},remove:{asyncResult:!0},pause:{asyncResult:!0},resume:{asyncResult:!0},cloneStream:{asyncResult:!0},update:{asyncResult:!0},save:{asyncResult:!0},removeOutput:{asyncResult:!0},addOutput:{asyncResult:!0},testMatch:{asyncResult:!0}})}));t.default=o},hz8arHzl:function(e,t,n){"use strict";var r=n("ii0bleBb"),a=n.n(r),i=n("ivGQtwpr"),o=n.n(i),s=n("8FtKQWAV"),l=n.n(s),c=function(e){var t=e.pipeline,n=e.connections,r=e.streams,a=e.streamsFormatter,i=e.noConnectionsMessage,s=n.filter((function(e){return e.pipeline_ids&&e.pipeline_ids.includes(t.id)})).filter((function(e){return r.some((function(t){return t.id===e.stream_id}))})).map((function(e){return r.find((function(t){return t.id===e.stream_id}))})).sort((function(e,t){return l()(e.title,t.title)}));return o.a.createElement("span",null,0===s.length?i:a(s))};c.propTypes={pipeline:a.a.object.isRequired,connections:a.a.array.isRequired,streams:a.a.array.isRequired,streamsFormatter:a.a.func.isRequired,noConnectionsMessage:a.a.node},c.defaultProps={noConnectionsMessage:"Pipeline not connected to any streams"},t.a=c},keedmmMh:function(e,t,n){"use strict";n.r(t),n.d(t,"StreamsStore",(function(){return h}));var r=n("4KF7VOU5"),a=n.n(r),i=n("nHcjWeCO"),o=n.n(i),s=n("L+5XEiOD"),l=n("QlBQbb2U"),c=n("HbbeyvOy"),u=n("8GJ6oOEd"),m=n("21p8kIWv"),d=n("mR82218M"),p=n("VErHFKte");n.d(t,"StreamsActions",(function(){return p.default}));var f=n("mRXwKqDg"),b=m.a.get("CurrentUser").CurrentUserStore,h=Object(f.c)("Streams",(function(){return a.a.createStore({listenables:[p.default],callbacks:[],searchPaginated:function(e,t,n){var r=Object(d.a)(l.a.StreamsApiController.paginated().url,e,t,n),a=Object(s.b)("GET",Object(c.f)(r)).then((function(e){var t=e.streams,n=e.query,r=e.pagination;return{streams:t,pagination:{count:r.count,total:r.total,page:r.page,perPage:r.per_page,query:n}}})).catch((function(e){u.a.error("Loading streams failed with status: ".concat(e),"Could not load streams")}));return p.default.searchPaginated.promise(a),a},listStreams:function(){var e=Object(s.b)("GET",Object(c.f)("/streams")).then((function(e){return e.streams})).catch((function(e){u.a.error("Loading streams failed with status: ".concat(e),"Could not load streams")}));return p.default.listStreams.promise(e),e},load:function(e){this.listStreams().then((function(t){e(t)}))},get:function(e,t){var n=l.a.StreamsApiController.get(e).url,r=Object(s.b)("GET",Object(c.f)(n)).then(t,(function(e){u.a.error("Loading Stream failed with status: ".concat(e),"Could not retrieve Stream")}));return p.default.get.promise(r),r},remove:function(e,t){var n=this,r=Object(c.f)(l.a.StreamsApiController.delete(e).url),a=Object(s.b)("DELETE",r).then(t,(function(e){u.a.error("Removing Stream failed with status: ".concat(e),"Could not remove Stream")})).then((function(){return b.reload().then(n._emitChange.bind(n))}));return p.default.remove.promise(a),a},pause:function(e,t){var n=this,r=Object(c.f)(l.a.StreamsApiController.pause(e).url),a=Object(s.b)("POST",r).then(t,(function(e){u.a.error("Pausing Stream failed with status: ".concat(e),"Could not pause Stream")})).then((function(e){return n._emitChange(),e}));return p.default.pause.promise(a),a},resume:function(e,t){var n=this,r=Object(c.f)(l.a.StreamsApiController.resume(e).url),a=Object(s.b)("POST",r).then(t,(function(e){u.a.error("Resuming Stream failed with status: ".concat(e),"Could not resume Stream")})).then((function(e){return n._emitChange(),e}));return p.default.resume.promise(a),a},save:function(e,t){var n=this,r=Object(c.f)(l.a.StreamsApiController.create().url),a=Object(s.b)("POST",r,e).then(t,(function(e){u.a.error("Saving Stream failed with status: ".concat(e),"Could not save Stream")})).then((function(){return b.reload().then(n._emitChange.bind(n))}));return p.default.save.promise(a),a},update:function(e,t,n){var r=Object(c.f)(l.a.StreamsApiController.update(e).url),a=Object(s.b)("PUT",r,t).then(n,(function(e){u.a.error("Updating Stream failed with status: ".concat(e),"Could not update Stream")})).then(this._emitChange.bind(this));return p.default.update.promise(a),a},cloneStream:function(e,t,n){var r=this,a=Object(c.f)(l.a.StreamsApiController.cloneStream(e).url),i=Object(s.b)("POST",a,t).then(n,(function(e){u.a.error("Cloning Stream failed with status: ".concat(e),"Could not clone Stream")})).then((function(){return b.reload().then(r._emitChange.bind(r))}));return p.default.cloneStream.promise(i),i},removeOutput:function(e,t,n){var r=Object(c.f)(l.a.StreamOutputsApiController.delete(e,t).url),a=Object(s.b)("DELETE",r).then(n,(function(e){u.a.error("Removing output from stream failed with status: ".concat(e),"Could not remove output from stream")})).then(this._emitChange.bind(this));return p.default.removeOutput.promise(a),a},addOutput:function(e,t,n){var r=Object(c.f)(l.a.StreamOutputsApiController.add(e,t).url),a=Object(s.b)("POST",r,{outputs:[t]}).then(n,(function(e){u.a.error("Adding output to stream failed with status: ".concat(e),"Could not add output to stream")})).then(this._emitChange.bind(this));return p.default.addOutput.promise(a),a},testMatch:function(e,t,n){var r=Object(c.f)(l.a.StreamsApiController.testMatch(e).url),a=Object(s.b)("POST",r,t).then(n,(function(e){u.a.error("Testing stream rules of stream failed with status: ".concat(e.message),"Could not test stream rules of stream")}));return p.default.testMatch.promise(a),a},onChange:function(e){this.callbacks.push(e)},_emitChange:function(){this.callbacks.forEach((function(e){return e()}))},unregister:function(e){o.a.pull(this.callbacks,e)}})}));t.default=h},oqlE5Aas:function(e,t,n){"use strict";n.r(t);var r=n("ivGQtwpr"),a=n.n(r),i=n("X+7LuFrS"),o=n("qoq4u5Uq"),s=n("0tVB/fkh"),l=n("jHp4XH0b"),c=n("CzyxmveH"),u=n("8FtKQWAV"),m=n.n(u),d=n("hX+ZxOpo"),p=n("W+sNG9T1"),f=n("21p8kIWv"),b=n("kcvrazAT"),h=n("keedmmMh"),g=n("hz8arHzl");function S(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||v(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw i}}return n}(e,t)||v(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n




© 2015 - 2024 Weber Informatics LLC | Privacy Policy