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