| 35489 | { activeTab: x, onTabChange: j, tabs: u } |
| 35490 | ) |
| 35491 | }, |
| 35492 | model_example = ({ |
| 35493 | schema: s, |
| 35494 | example: o, |
| 35495 | isExecute: i = !1, |
| 35496 | specPath: a, |
| 35497 | includeWriteOnly: u = !1, |
| 35498 | includeReadOnly: _ = !1, |
| 35499 | getComponent: w, |
| 35500 | getConfigs: x, |
| 35501 | specSelectors: C, |
| 35502 | }) => { |
| 35503 | const { defaultModelRendering: j, defaultModelExpandDepth: L } = x(), |
| 35504 | B = w('ModelWrapper'), |
| 35505 | $ = w('HighlightCode', !0), |
| 35506 | U = xt()(5).toString('base64'), |
| 35507 | V = xt()(5).toString('base64'), |
| 35508 | z = xt()(5).toString('base64'), |
| 35509 | Y = xt()(5).toString('base64'), |
| 35510 | Z = C.isOAS3(), |
| 35511 | { |
| 35512 | activeTab: ee, |
| 35513 | tabs: ie, |
| 35514 | onTabChange: ae, |
| 35515 | } = useTabs({ initialTab: j, isExecute: i, schema: s, example: o }) |
| 35516 | return Re.createElement( |
| 35517 | 'div', |
| 35518 | { className: 'model-example' }, |
| 35519 | Re.createElement( |
| 35520 | 'ul', |
| 35521 | { className: 'tab', role: 'tablist' }, |
| 35522 | Re.createElement( |
| 35523 | 'li', |
| 35524 | { |
| 35525 | className: Jn()('tabitem', { active: ee === ie.example }), |
| 35526 | role: 'presentation', |
| 35527 | }, |
| 35528 | Re.createElement( |
| 35529 | 'button', |
| 35530 | { |
| 35531 | 'aria-controls': V, |
| 35532 | 'aria-selected': ee === ie.example, |
| 35533 | className: 'tablinks', |
| 35534 | 'data-name': 'example', |
| 35535 | id: U, |
| 35536 | onClick: ae, |
| 35537 | role: 'tab', |
| 35538 | }, |
| 35539 | i ? 'Edit Value' : 'Example Value' |
| 35540 | ) |
| 35541 | ), |
| 35542 | s && |
| 35543 | Re.createElement( |
| 35544 | 'li', |
| 35545 | { |
| 35546 | className: Jn()('tabitem', { active: ee === ie.model }), |
| 35547 | role: 'presentation', |
| 35548 | }, |