| 70051 | u = Object.assign({}, this.state.value) |
| 70052 | ;(a ? (u[a] = i) : (u = i), this.setState({ value: u }, () => o(this.state))) |
| 70053 | } |
| 70054 | render() { |
| 70055 | let { |
| 70056 | schema: s, |
| 70057 | getComponent: o, |
| 70058 | errSelectors: i, |
| 70059 | name: a, |
| 70060 | authSelectors: u, |
| 70061 | } = this.props |
| 70062 | const _ = o('Input'), |
| 70063 | w = o('Row'), |
| 70064 | x = o('Col'), |
| 70065 | C = o('authError'), |
| 70066 | j = o('Markdown', !0), |
| 70067 | L = o('JumpToPath', !0), |
| 70068 | B = (s.get('scheme') || '').toLowerCase(), |
| 70069 | $ = u.selectAuthPath(a) |
| 70070 | let U = this.getValue(), |
| 70071 | V = i.allErrors().filter((s) => s.get('authId') === a) |
| 70072 | if ('basic' === B) { |
| 70073 | let o = U ? U.get('username') : null |
| 70074 | return Re.createElement( |
| 70075 | 'div', |
| 70076 | null, |
| 70077 | Re.createElement( |
| 70078 | 'h4', |
| 70079 | null, |
| 70080 | Re.createElement('code', null, a), |
| 70081 | ' (http, Basic)', |
| 70082 | Re.createElement(L, { path: $ }) |
| 70083 | ), |
| 70084 | o && Re.createElement('h6', null, 'Authorized'), |
| 70085 | Re.createElement(w, null, Re.createElement(j, { source: s.get('description') })), |
| 70086 | Re.createElement( |
| 70087 | w, |
| 70088 | null, |
| 70089 | Re.createElement('label', { htmlFor: 'auth-basic-username' }, 'Username:'), |
| 70090 | o |
| 70091 | ? Re.createElement('code', null, ' ', o, ' ') |
| 70092 | : Re.createElement( |
| 70093 | x, |
| 70094 | null, |
| 70095 | Re.createElement(_, { |
| 70096 | id: 'auth-basic-username', |
| 70097 | type: 'text', |
| 70098 | required: 'required', |
| 70099 | name: 'username', |
| 70100 | 'aria-label': 'auth-basic-username', |
| 70101 | onChange: this.onChange, |
| 70102 | autoFocus: !0, |
| 70103 | }) |
| 70104 | ) |
| 70105 | ), |
| 70106 | Re.createElement( |
| 70107 | w, |
| 70108 | null, |
| 70109 | Re.createElement('label', { htmlFor: 'auth-basic-password' }, 'Password:'), |
| 70110 | o |