Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
37 lines
1.6 KiB
TypeScript
37 lines
1.6 KiB
TypeScript
// Module ID: 7074
|
|
// Function ID: 7075
|
|
// Name: SplitTextInput
|
|
// Dependencies: [109, 19, 21, 4357, 6715, 7075, 6716, 2]
|
|
|
|
// Module 7074 (SplitTextInput)
|
|
import useFieldLabelA11yNative from "useFieldLabelA11yNative" /* 4357 */;
|
|
import Input from "Input" /* 6715 */;
|
|
import getRequiredFieldA11yName from "getRequiredFieldA11yName" /* 6716 */;
|
|
import SplitTextField from "SplitTextField" /* 7075 */;
|
|
import _objectWithoutProperties from "_objectWithoutProperties" /* 109 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
let closure_2 = ["labelId", "accessibilityLabel"];
|
|
const jsx = fn(21).jsx;
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("design/components/SplitTextInput/native/SplitTextInput.native.tsx");
|
|
|
|
export const SplitTextInput = noop.forwardRef((required, ref) => {
|
|
const fieldLabelA11yNative = useFieldLabelA11yNative.useFieldLabelA11yNative(required);
|
|
const accessibilityLabel = fieldLabelA11yNative.accessibilityLabel;
|
|
const obj2 = {};
|
|
const merged = Object.assign(required);
|
|
obj2.labelId = fieldLabelA11yNative.labelId;
|
|
const obj3 = { ref };
|
|
const merged1 = Object.assign(required);
|
|
const merged2 = Object.assign(_objectWithoutProperties(fieldLabelA11yNative, closure_2));
|
|
const tmp2 = _objectWithoutProperties(fieldLabelA11yNative, closure_2);
|
|
let requiredFieldA11yName = getRequiredFieldA11yName.getRequiredFieldA11yName(accessibilityLabel, required.required);
|
|
if (requiredFieldA11yName == null) {
|
|
requiredFieldA11yName = accessibilityLabel;
|
|
}
|
|
obj3.accessibilityLabel = requiredFieldA11yName;
|
|
obj2.children = jsx(SplitTextField.SplitTextField, { ref });
|
|
return jsx(Input.Input, {});
|
|
});
|