MCPcopy Index your code
hub / github.com/dataease/SQLBot / render

Method render

frontend/public/swagger-ui-bundle.js:61361–61591  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61359 i.clearRequest(...o),
61360 i.clearValidateParams(o)))
61361 }
61362 render() {
61363 let {
61364 onTryoutClick: s,
61365 onResetClick: o,
61366 parameters: i,
61367 allowTryItOut: a,
61368 tryItOutEnabled: u,
61369 specPath: _,
61370 fn: w,
61371 getComponent: x,
61372 getConfigs: C,
61373 specSelectors: j,
61374 specActions: L,
61375 pathMethod: B,
61376 oas3Actions: $,
61377 oas3Selectors: U,
61378 operation: V,
61379 } = this.props
61380 const z = x('parameterRow'),
61381 Y = x('TryItOutButton'),
61382 Z = x('contentType'),
61383 ee = x('Callbacks', !0),
61384 ie = x('RequestBody', !0),
61385 ae = u && a,
61386 ce = j.isOAS3(),
61387 le = `${createHtmlReadyId(`${B[1]}${B[0]}_requests`)}_select`,
61388 pe = V.get('requestBody'),
61389 de = Object.values(
61390 i.reduce((s, o) => {
61391 if (ze.Map.isMap(o)) {
61392 const i = o.get('in')
61393 ;((s[i] ??= []), s[i].push(o))
61394 }
61395 return s
61396 }, {})
61397 ).reduce((s, o) => s.concat(o), [])
61398 return Re.createElement(
61399 'div',
61400 { className: 'opblock-section' },
61401 Re.createElement(
61402 'div',
61403 { className: 'opblock-section-header' },
61404 ce
61405 ? Re.createElement(
61406 'div',
61407 { className: 'tab-header' },
61408 Re.createElement(
61409 'div',
61410 {
61411 onClick: () => this.toggleTab('parameters'),
61412 className: `tab-item ${this.state.parametersVisible && 'active'}`,
61413 },
61414 Re.createElement(
61415 'h4',
61416 { className: 'opblock-title' },
61417 Re.createElement('span', null, 'Parameters')
61418 )

Callers

nothing calls this directly

Calls 10

createHtmlReadyIdFunction · 0.85
concatMethod · 0.80
xFunction · 0.70
oFunction · 0.70
getMethod · 0.65
reduceMethod · 0.45
valuesMethod · 0.45
pushMethod · 0.45
mapMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected