import { defineComponent as t, computed as c, createElementBlock as o, openBlock as u, toDisplayString as p } from "vue";
const i = /* @__PURE__ */ t({
  __name: "PIMDataTypePriceFieldValueRenderer",
  props: {
    row: {},
    rowIndex: {},
    cell: {},
    cellValue: {},
    dataTypeInstance: {},
    modelValue: {}
  },
  setup(l) {
    const e = l, n = c(() => e.cellValue?.currencies?.length ? e.cellValue.currencies.map(
      ({ basePrice: { price: r }, currency: a }) => `${Number.parseFloat(r).toFixed(2)} ${a}`
    ).join(", ") : "");
    return (r, a) => (u(), o("span", null, p(n.value), 1));
  }
});
export {
  i as default
};
