2026-08-15 05:55:55 +00:00
|
|
|
// Module ID: 7338
|
|
|
|
|
// Function ID: 7339
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: TextField
|
2026-08-15 05:55:55 +00:00
|
|
|
// Dependencies: [19, 21, 7339, 7340, 7344, 7347, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-08-15 05:55:55 +00:00
|
|
|
// Module 7338 (TextField)
|
2026-07-23 10:11:24 +00:00
|
|
|
import { jsx } from "jsxProd";
|
2026-07-29 08:29:29 +00:00
|
|
|
import importAllResult from "noop";
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
const require = arg1;
|
2026-07-29 08:29:29 +00:00
|
|
|
const forwardRefResult = require("noop").forwardRef((onClear, ref) => {
|
2026-07-20 16:05:17 +00:00
|
|
|
let innerRef;
|
2026-07-29 08:29:29 +00:00
|
|
|
let inputProps;
|
2026-07-20 16:05:17 +00:00
|
|
|
let inputStyle;
|
|
|
|
|
let leading;
|
|
|
|
|
let state;
|
|
|
|
|
let trailing;
|
2026-08-15 05:55:55 +00:00
|
|
|
let obj = require(7339) /* useTextFieldState */;
|
2026-07-29 08:29:29 +00:00
|
|
|
const textField = obj.useTextField(onClear, ref);
|
|
|
|
|
({ inputProps, innerRef, state } = textField);
|
2026-08-15 05:55:55 +00:00
|
|
|
const inputClearButtonConfig = require(7340) /* useInputClearButton */.useInputClearButtonConfig(onClear, state);
|
2026-07-29 08:29:29 +00:00
|
|
|
let tmp5;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (null != inputClearButtonConfig) {
|
2026-07-29 08:29:29 +00:00
|
|
|
obj = { trailing: null, trailingPressableProps: null };
|
|
|
|
|
({ content: obj3[0], pressableProps: obj3[1] } = inputClearButtonConfig);
|
|
|
|
|
tmp5 = obj;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-08-15 05:55:55 +00:00
|
|
|
const obj2 = require(7340) /* useInputClearButton */;
|
|
|
|
|
const inputAttachments = require(7344) /* InputAttachmentContainer */.useInputAttachments(onClear, tmp5);
|
2026-07-20 16:05:17 +00:00
|
|
|
({ leading, trailing, inputStyle } = inputAttachments);
|
|
|
|
|
obj = {};
|
2026-07-29 08:29:29 +00:00
|
|
|
const merged = Object.assign(inputProps);
|
|
|
|
|
obj.ref = innerRef;
|
|
|
|
|
obj.leading = leading;
|
|
|
|
|
obj.trailing = trailing;
|
|
|
|
|
obj.inputStyle = inputStyle;
|
2026-08-15 05:55:55 +00:00
|
|
|
return jsx(require(7347) /* BaseTextField */.BaseTextField, {});
|
2026-07-20 16:05:17 +00:00
|
|
|
});
|
2026-07-23 10:11:24 +00:00
|
|
|
const result = require("useTextFieldState").fileFinishedImporting("design/components/TextField/native/TextField.native.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const TextField = forwardRefResult;
|