import {
  TextField
} from "./chunk-6RDK3FM2.js";

// src/components/MaskedField/index.tsx
import loadable from "@loadable/component";
import { jsx } from "react/jsx-runtime";
var LoadableMaskedField = loadable(() => import("./components/MaskedField/MaskedField.js"), {
  resolveComponent: (mod) => mod.MaskedField
});
function MaskedField(props) {
  const {
    mask: _mask,
    useMaskedValue: _useMaskedValue,
    "data-testid": _dataTestId,
    ref: forwardedRef,
    ...textFieldProps
  } = props;
  return /* @__PURE__ */ jsx(
    LoadableMaskedField,
    {
      ...props,
      fallback: /* @__PURE__ */ jsx(
        TextField,
        {
          ...textFieldProps,
          ref: forwardedRef,
          type: "text",
          isDisabled: true,
          isReadOnly: true
        }
      )
    }
  );
}
MaskedField.displayName = "MaskedField";

export {
  MaskedField
};
//# sourceMappingURL=chunk-R67C5QTH.js.map
