(props: OuterProps)
| 130 | }); |
| 131 | |
| 132 | constructor(props: OuterProps) { |
| 133 | super(props); |
| 134 | |
| 135 | const { |
| 136 | formStore: form, |
| 137 | formItem, |
| 138 | rootStore, |
| 139 | store, |
| 140 | onChange, |
| 141 | data, |
| 142 | inputGroupControl, |
| 143 | colIndex, |
| 144 | rowIndex, |
| 145 | $schema: { |
| 146 | id, |
| 147 | type, |
| 148 | required, |
| 149 | validations, |
| 150 | validationErrors, |
| 151 | unique, |
| 152 | value, |
| 153 | extraName, |
| 154 | multiple, |
| 155 | delimiter, |
| 156 | valueField, |
| 157 | labelField, |
| 158 | joinValues, |
| 159 | extractValue, |
| 160 | selectFirst, |
| 161 | autoFill, |
| 162 | clearValueOnHidden, |
| 163 | validateApi, |
| 164 | minLength, |
| 165 | maxLength, |
| 166 | validateOnChange, |
| 167 | label, |
| 168 | pagination |
| 169 | } |
| 170 | } = this.props; |
| 171 | |
| 172 | this.getValue = this.getValue.bind(this); |
| 173 | this.setValue = this.setValue.bind(this); |
| 174 | this.handleChange = this.handleChange.bind(this); |
| 175 | this.setPrinstineValue = this.setPrinstineValue.bind(this); |
| 176 | this.controlRef = this.controlRef.bind(this); |
| 177 | this.handleBlur = this.handleBlur.bind(this); |
| 178 | this.validate = this.validate.bind(this); |
| 179 | this.flushChange = this.flushChange.bind(this); |
| 180 | this.renderChild = this.renderChild.bind(this); |
| 181 | let name = |
| 182 | this.props.$schema.name || |
| 183 | (ComposedComponent.defaultProps as Record<string, unknown>)?.name; |
| 184 | |
| 185 | // 如果 name 是表达式 |
| 186 | // 扩充 each 用法 |
| 187 | if (isExpression(name)) { |
| 188 | name = tokenize(name, data); |
| 189 | } |
nothing calls this directly
no test coverage detected