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

webroot.openapi-viewer.js.chunk-da3973d8.709e0552.js Maven / Gradle / Ivy

Go to download

Red Hat Global Social Innovation Program is partnering with Boston University and Smarta Byar in order to collaborate on creating a global and open research platform allowing researchers to study what social sustainability means by using a digital twin of Veberöd, Sweden as the test village, supported by Smarta Byar. The goal of this collaboration is to build the open source technological infrastructure so that researchers can collaborate on this platform effectively to study mobility, public health, sustainability among other study areas to ultimately help define better the link between well being and eco-smart cities.

There is a newer version: 2.0.2
Show newest version
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-da3973d8"],{"004a":function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:"sw-tree "+(e.showDescr?"sw-show-descr":"sw-hide-descr")+" sw-format-"+e.displayFormat,style:{"background-color":e.treeContentBackground,position:e.currentDeep>1?"":"relative"},on:{click:function(t){return t.stopPropagation(),e.handleClick(t)}}},[Array.isArray(e.data)||e.isObject(e.data)?[a("bracket-left",{attrs:{visible:e.visible,data:e.data,"show-length":e.showLength,"not-last-key":e.notLastKey},on:{"update:visible":function(t){e.visible=t}}},[e.currentDeep>1&&!Array.isArray(e.parentData)?a("span",[e._v(e._s(e.currentKey)+":")]):e._e()]),e._l(e.data,function(t,s){return a("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],key:s,staticClass:"sw-tree-content"},[a("json-tree",{attrs:{"parent-data":e.data,data:t,deep:e.deep,"show-length":e.showLength,path:e.path+(Array.isArray(e.data)?"["+s+"]":"."+s),"allow-interaction":e.allowInteraction,"current-key":s,"display-format":e.displayFormat,"current-deep":e.currentDeep+1},on:{click:e.handleItemClick}})],1)}),a("bracket-right",{attrs:{visible:e.visible,data:e.data,"not-last-key":e.notLastKey},on:{"update:visible":function(t){e.visible=t}}})]:a("content-block",{attrs:{parentDataType:e.getDataType(e.parentData),dataType:e.getDataType(e.data),text:e.data+"",notLastKey:e.notLastKey,displayFormat:e.displayFormat,currentKey:e.currentKey}})],2)},r=[],n=(a("6b54"),a("ac6a"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"sw-content-block"},["object"===e.parentDataType?a("div",{staticClass:"sw-content-key"},[e._v(e._s(e.currentKey)+":")]):e._e(),a("div",{class:"sw-content sw-datatype-"+("json"===e.displayFormat?e.dataType:e.text.substring(0,4))},[e._v(e._s(e.getText()))]),a("div",{staticStyle:{flex:"1","min-width":"15px"}}),a("div",{ref:"descrDiv",class:"sw-descr "+e.descrClass},[e._v("\n      "+e._s(e.description)+" \n  ")]),e.description?a("span",{staticClass:"sw-descr-expander",on:{click:function(t){return e.handleItemToggleDescr()}}},[e._v(" \n     "+e._s("sw-descr-collapsed"===e.descrClass?"⤵":"⤴")+"\n  ")]):e._e()])}),i=[],l=(a("28a5"),{props:{parentDataType:String,dataType:String,text:String,notLastKey:Boolean,currentKey:[Number,String],displayFormat:{type:String,default:"json"}},data(){return{description:this.getDescription(),descrClass:"sw-descr-collapsed",showDescrExpander:!0}},methods:{getText(){if("text"===this.displayFormat)return this.text.split("~|~")[0];let e=this.text;return"string"===this.dataType&&(e=`"${e}"`),this.notLastKey&&(e+=","),e},getDescription(){if("text"===this.displayFormat){let e=this.text.split("~|~");return e[1]?e[1]:""}return""},handleItemToggleDescr(){"sw-descr-collapsed"===this.descrClass?this.descrClass="sw-descr-expanded":this.descrClass="sw-descr-collapsed",this.$emit("toggleDescription")}}}),o=l,c=a("2877"),p=Object(c["a"])(o,n,i,!1,null,null,null),u=p.exports,m=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e._t("default"),a("span",{directives:[{name:"show",rawName:"v-show",value:e.dataVisiable,expression:"dataVisiable"}],staticClass:"sw-tree-bracket-left",on:{click:function(t){return t.stopPropagation(),e.toggleBrackets(t)}}},[e._v("\n    "+e._s(Array.isArray(e.data)?"[":"{")+"\n  ")]),a("span",{directives:[{name:"show",rawName:"v-show",value:!e.dataVisiable,expression:"!dataVisiable"}],staticClass:"sw-tree-bracket-left",on:{click:function(t){return t.stopPropagation(),e.toggleBrackets(t)}}},[e._v("\n    "+e._s(e.doubleBracketsGenerator(e.data))+"\n  ")])],2)},d=[],h={props:{visible:{required:!0,type:Boolean},data:{required:!0},notLastKey:Boolean},computed:{dataVisiable:{get(){return this.visible},set(e){this.$emit("update:visible",e)}}},methods:{toggleBrackets(){this.dataVisiable=!this.dataVisiable},bracketsFormatter(e){return this.notLastKey?`${e},`:e}}},y={mixins:[h],props:{showLength:Boolean},methods:{doubleBracketsGenerator(e){const t=Array.isArray(e);let a=t?"[...]":"{...}";if(this.showLength){const s=t?`${e.length} items`:`${Object.keys(e).length} keys`;a+=` // ${s}`}return this.bracketsFormatter(a)}}},v=y,b=Object(c["a"])(v,m,d,!1,null,null,null),f=b.exports,w=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.dataVisiable,expression:"dataVisiable"}]},[a("span",{staticClass:"sw-tree-bracket-right",on:{click:function(t){return t.stopPropagation(),e.toggleBrackets(t)}}},[e._v("\n    "+e._s(e.bracketsFormatter(Array.isArray(e.data)?"]":"}"))+"\n  ")])])},g=[],x={mixins:[h]},S=x,_=Object(c["a"])(S,w,g,!1,null,null,null),k=_.exports,C={name:"json-tree",components:{ContentBlock:u,BracketLeft:f,BracketRight:k},props:{data:{},deep:{type:Number,default:1/0},showLength:{type:Boolean,default:!1},path:{type:String,default:"root"},allowInteraction:{type:Boolean,default:!0},parentData:{},currentDeep:{type:Number,default:1},currentKey:[Number,String],displayFormat:{type:String,default:"json"}},data(){return{visible:this.currentDeep<=this.deep,treeContentBackground:"transparent",showDescr:!0}},computed:{lastKey(){if(Array.isArray(this.parentData))return this.parentData.length-1;if(this.isObject(this.parentData)){let e=Object.keys(this.parentData);return e[e.length-1]}},notLastKey(){return this.currentKey!==this.lastKey}},methods:{handleClick(e){this.allowInteraction&&this.$emit("click",this.path,this.data)},handleItemClick(e,t){this.$emit("click",e,t)},isObject(e){return"object"===this.getDataType(e)},getDataType(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}},watch:{deep(e){this.visible=this.currentDeep<=e}}},E=C,F=(a("f1ac"),Object(c["a"])(E,s,r,!1,null,null,null));t["a"]=F.exports},"07a6":function(e,t,a){},"0ccf":function(e,t,a){},"1bbf":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e._m(0),e._l(e.responsesLocalCopy,function(t,s){return a("div",{key:s,staticClass:"sw-response-status"},[a("div",{staticClass:"sw-row"},[a("div",[a("span",{staticClass:"sw-section-heading2"},[e._v(" "+e._s(s)+" ")]),a("span",{staticClass:"sw-small-text"},[e._v(" : "+e._s(t.description)+" ")])]),a("div",{staticStyle:{flex:"1"}}),a("div",{staticStyle:{position:"relative",top:"25px","min-width":"160px","z-index":"1",display:"flex"}},[1==e.mimeRespCountForEachStatus[s]?a("span",{staticClass:"sw-section-heading",staticStyle:{"line-height":"26px"}},[e._v(" \n              "+e._s(e.selectedMimeValueForEachStatus[s])+"\n            ")]):e.mimeRespCountForEachStatus[s]>1?a("el-select",{attrs:{size:"medium","popper-class":"sw-small-height-options"},model:{value:e.selectedMimeValueForEachStatus[s],callback:function(t){e.$set(e.selectedMimeValueForEachStatus,s,t)},expression:"selectedMimeValueForEachStatus[statusRespCode]"}},e._l(e.mimeResponsesForEachStatus[s],function(e,t){return a("el-option",{key:t,attrs:{label:t,value:t}})}),1):e._e()],1)]),t.content?a("div",{staticClass:"sw-row"},[a("el-tabs",{staticStyle:{flex:"1",overflow:"hidden"},model:{value:e.activeTabForEachRespStatus[s],callback:function(t){e.$set(e.activeTabForEachRespStatus,s,t)},expression:"activeTabForEachRespStatus[statusRespCode]"}},[a("el-tab-pane",{staticClass:"sw-tab-pane",attrs:{label:"Example",name:"exampleTab"}},[e.selectedMimeValueForEachStatus[s]&&"json"===e.mimeResponsesForEachStatus[s][e.selectedMimeValueForEachStatus[s]].examples[0].exampleType?a("json-tree",{attrs:{path:"/",data:e.mimeResponsesForEachStatus[s][e.selectedMimeValueForEachStatus[s]].examples[0].exampleValue},on:{click:e.showPath}}):e.selectedMimeValueForEachStatus[s]?a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.mimeResponsesForEachStatus[s][e.selectedMimeValueForEachStatus[s]].examples[0].exampleValue,expression:"mimeResponsesForEachStatus[statusRespCode][selectedMimeValueForEachStatus[statusRespCode]].examples[0].exampleValue"}],staticClass:"sw-mono-font",staticStyle:{"min-height":"150px"},domProps:{value:e.mimeResponsesForEachStatus[s][e.selectedMimeValueForEachStatus[s]].examples[0].exampleValue},on:{input:function(t){t.target.composing||e.$set(e.mimeResponsesForEachStatus[s][e.selectedMimeValueForEachStatus[s]].examples[0],"exampleValue",t.target.value)}}}):e._e()],1),a("el-tab-pane",{staticClass:"sw-tab-pane",attrs:{label:"Model",name:"schemaTab"}},[e.selectedMimeValueForEachStatus[s]&&e.mimeResponsesForEachStatus[s][e.selectedMimeValueForEachStatus[s]].schemaTree?a("json-tree",{attrs:{path:"/",data:e.mimeResponsesForEachStatus[s][e.selectedMimeValueForEachStatus[s]].schemaTree,"display-format":"text"}}):e._e()],1)],1)],1):e._e(),t.headers?a("div",[a("div",{staticClass:"sw-section-heading3 sw-gray-text"},[e._v(" Response Headers")]),a("parameter-inputs",{attrs:{parameters:e.headersForEachRespStatus[s],showInputs:!1}})],1):e._e()])})],2)},r=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"sw-section-heading1",staticStyle:{display:"flex","align-items":"center"}},[a("i",{staticClass:"el-icon-download",staticStyle:{"font-sixe":"16px"}}),a("div",{staticStyle:{"margin-left":"5px"}},[e._v("RESPONSE")])])}];function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e){for(var t=1;t[]},showInputs:{type:Boolean,default:!0}},data(){return{parametersLocal:this.parameters}},methods:{getTypeInfoHtml(e){return Object(n["d"])(e)}}},l=i,o=(a("5d4e"),a("2877")),c=Object(o["a"])(l,s,r,!1,null,"949a757c",null);t["a"]=c.exports},"5d4e":function(e,t,a){"use strict";var s=a("0ccf"),r=a.n(s);r.a},ae54:function(e,t,a){},f1ac:function(e,t,a){"use strict";var s=a("07a6"),r=a.n(s);r.a}}]);
//# sourceMappingURL=chunk-da3973d8.709e0552.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy