import { defineComponent as a, mergeModels as f, useModel as m, computed as r, createBlock as p, openBlock as d, unref as u } from "vue";
import { useI18n as b } from "vue-i18n";
import { a as x } from "./start-CE9SawgU.js";
import "pinia";
import "./header-Bn1EKnBE.js";
const _ = /* @__PURE__ */ a({
  __name: "SalesUnitValueToStringExtension",
  props: /* @__PURE__ */ f({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(i) {
    const t = m(i, "modelValue"), { t: e } = b(), o = r(() => [
      {
        value: "suffix_symbol",
        title: e("datahub-plugin.etl.sales-unit-to-string.suffix_symbol")
      },
      {
        value: "suffix_name",
        title: e("datahub-plugin.etl.sales-unit-to-string.suffix_name")
      },
      {
        value: "suffix_empty",
        title: e("datahub-plugin.etl.sales-unit-to-string.suffix_empty")
      }
    ]);
    return (c, s) => (d(), p(u(x), {
      modelValue: t.value.suffixMode,
      "onUpdate:modelValue": s[0] || (s[0] = (n) => t.value.suffixMode = n),
      items: o.value,
      label: u(e)("datahub-plugin.etl.sales-unit-to-string.SuffixMode"),
      "max-width": "567",
      "persistent-placeholder": ""
    }, null, 8, ["modelValue", "items", "label"]));
  }
});
function l(i) {
  const t = i;
  t.__i18n = t.__i18n || [], t.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        "datahub-plugin": {
          etl: {
            "sales-unit-to-string": {
              SuffixMode: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Choose suffix" } },
              suffix_symbol: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Unit as symbol" } },
              suffix_name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Unit as name" } },
              suffix_empty: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Empty suffix" } }
            }
          }
        }
      },
      "de-DE": {
        "datahub-plugin": {
          etl: {
            "sales-unit-to-string": {
              SuffixMode: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Suffix auswählen" } },
              suffix_symbol: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Einheit als Symbol" } },
              suffix_name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Einheit als Name" } },
              suffix_empty: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Leerer Suffix" } }
            }
          }
        }
      }
    }
  });
}
typeof l == "function" && l(_);
export {
  _ as default
};
