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

web-interface.assets.57e33c6c-46.11b9f72925818240e61d.js Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
(window.webpackJsonp=window.webpackJsonp||[]).push([["57e33c6c-46"],{"+ETkxDhY":function(e,t,n){"use strict";var r=n("ii0bleBb"),a=n.n(r),o=n("ivGQtwpr"),l=n.n(o),i=n("6va0yrcj"),c=n("qoq4u5Uq"),s=n("B4BR5PLd"),u=n("MoBBiZo1"),f=n("be3FFHWQ"),m=n("mvLrBbmL");function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n0)return t;var r=t;return r[n.name]="Needs to be filled.",r}),{});return t.setState({errorMessages:n}),Object.keys(n).length<=0}));var n=e.contentPack.parameters.reduce((function(e,t){if(t.default_value){var n=e;return n[t.name]=f.a.convertToString(t),n}return e}),{});return t.state={parameterInput:n,comment:"",errorMessages:{}},t}return t=o,(n=[{key:"renderParameter",value:function(e){var t=this,n=this.state.errorMessages[e.name];return l.a.createElement(s.d,{name:e.name,id:e.name,key:e.name,type:"text",maxLength:250,value:this.state.parameterInput[e.name]||"",onChange:function(n){t._getValue(e.name,n.target.value)},labelClassName:"col-sm-3",wrapperClassName:"col-sm-7",label:e.title,help:n||e.description,bsStyle:n?"error":void 0,required:!0})}},{key:"render",value:function(){var e=this,t=this.props.contentPack.parameters.map((function(t){return e.renderParameter(t)})),n=i.a.fromJSON(this.props.contentPack);return l.a.createElement("div",null,l.a.createElement(c.L,null,l.a.createElement(c.j,{smOffset:1,sm:10},l.a.createElement("h2",null,"Install comment"),l.a.createElement("br",null),l.a.createElement("br",null),l.a.createElement(s.d,{name:"comment",id:"comment",type:"text",maxLength:512,value:this.state.comment,onChange:this._getComment,labelClassName:"col-sm-3",wrapperClassName:"col-sm-7",label:"Comment"}))),t.length>0&&l.a.createElement(c.L,null,l.a.createElement(c.j,{smOffset:1,sm:10},l.a.createElement("h2",null,"Configure Parameter"),l.a.createElement("br",null),l.a.createElement("br",null),t)),l.a.createElement(c.L,null,l.a.createElement(c.j,{smOffset:1,sm:10},l.a.createElement(m.a,{contentPack:n,readOnly:!0}))))}}])&&d(t.prototype,n),r&&d(t,r),o}(l.a.Component);E(g,"propTypes",{contentPack:a.a.object.isRequired,onInstall:a.a.func}),E(g,"defaultProps",{onInstall:function(){}}),t.a=g},"6va0yrcj":function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n("VPaD/Np4"),a=n("nHcjWeCO"),o=n("x7QKyhPE"),l=n.n(o),i=n("X+Pxykm9");function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:Object(r.Map)();c(this,e),this.value=t}return u(e,[{key:"v",value:function(e){return this.value=this.value.set("v",e),this}},{key:"id",value:function(e){return this.value=this.value.set("id",e),this}},{key:"rev",value:function(e){return this.value=this.value.set("rev",e),this}},{key:"name",value:function(e){return this.value=this.value.set("name",e),this}},{key:"summary",value:function(e){return this.value=this.value.set("summary",e),this}},{key:"description",value:function(e){return this.value=this.value.set("description",e),this}},{key:"vendor",value:function(e){return this.value=this.value.set("vendor",e),this}},{key:"url",value:function(e){return this.value=this.value.set("url",e),this}},{key:"parameters",value:function(e){return this.value=this.value.set("parameters",e),this}},{key:"removeParameter",value:function(e){var t=this.value.get("parameters").slice(0);return Object(a.remove)(t,(function(t){return t.name===e.name})),this.value=this.value.set("parameters",t),this}},{key:"addParameter",value:function(e){var t=this.value.get("parameters"),n=Object(a.concat)(t,e);return this.value=this.value.set("parameters",n),this}},{key:"entities",value:function(e){return this.value=this.value.set("entities",e),this}},{key:"build",value:function(){var e=this.value.toObject(),t=e.v,n=e.id,r=e.rev,a=e.name,o=e.summary,l=e.description,i=e.vendor,c=e.url,s=e.parameters,u=e.entities;return new f(t,n,r,a,o,l,i,c,s,u)}}]),e}()},"7bgWAyDs":function(e,t,n){"use strict";var r=n("dZUWVuuc"),a=n.n(r),o=n("DjJvgDaP"),l=n.n(o)()(a.a);l.push([e.i,".qfdypeu-V0cLZlrml1Vwj {\n    margin-left: 8px;\n    margin-right: 8px;\n    padding-left: 8px;\n    padding-right: 8px;\n}\n","",{version:3,sources:["webpack://./src/pages/ShowContentPackPage.css"],names:[],mappings:"AAAA;IACI,gBAAgB;IAChB,iBAAiB;IACjB,iBAAiB;IACjB,kBAAkB;AACtB",sourcesContent:[":local(.leftRow) {\n    margin-left: 8px;\n    margin-right: 8px;\n    padding-left: 8px;\n    padding-right: 8px;\n}\n"],sourceRoot:""}]),l.locals={leftRow:"qfdypeu-V0cLZlrml1Vwj"},t.a=l},fnjiEuSh:function(e,t,n){"use strict";var r=n("dZUWVuuc"),a=n.n(r),o=n("DjJvgDaP"),l=n.n(o)()(a.a);l.push([e.i,"/* The context menu from the last drop down button in the list\n   was hidden behind the table since the overflow was set to auto\n   and the context menu could not overflow outside. For this\n   table we show the overflow event though it might make problems\n   with responsiveness (but no problems could be found). */\n#content-packs-versions {\n    overflow-x: visible;\n}","",{version:3,sources:["webpack://./src/components/content-packs/ContentPackVersions.css"],names:[],mappings:"AAAA;;;;0DAI0D;AAC1D;IACI,mBAAmB;AACvB",sourcesContent:["/* The context menu from the last drop down button in the list\n   was hidden behind the table since the overflow was set to auto\n   and the context menu could not overflow outside. For this\n   table we show the overflow event though it might make problems\n   with responsiveness (but no problems could be found). */\n#content-packs-versions {\n    overflow-x: visible;\n}"],sourceRoot:""}]),t.a=l},gGKLWq6g:function(e,t,n){"use strict";var r=n("ii0bleBb"),a=n.n(r),o=n("ivGQtwpr"),l=n.n(o),i=n("HbbeyvOy"),c=n("IU8ofT4O"),s=n("qoq4u5Uq"),u=n("0tVB/fkh"),f=n("4ysf/eyx");function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n




© 2015 - 2024 Weber Informatics LLC | Privacy Policy