import { defineComponent as d, mergeModels as m, useModel as p, createElementBlock as b, openBlock as c, createVNode as i, unref as o } from "vue";
import { useI18n as f } from "vue-i18n";
import { d as r, o as S } from "./start-CE9SawgU.js";
import "pinia";
import "./header-Bn1EKnBE.js";
const g = { class: "extension-config d-flex flex-wrap" }, s = /* @__PURE__ */ d({
  __name: "NumberToStringExtension",
  props: /* @__PURE__ */ m({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(n) {
    const e = p(n, "modelValue"), { t: l } = f();
    return (_, t) => (c(), b("div", g, [
      i(o(r), {
        modelValue: e.value.precision,
        "onUpdate:modelValue": t[0] || (t[0] = (a) => e.value.precision = a),
        label: o(l)("datahub-plugin.etl.numberToString.Precision"),
        "max-width": "567",
        type: "number"
      }, null, 8, ["modelValue", "label"]),
      i(o(r), {
        modelValue: e.value.thousandSeparator,
        "onUpdate:modelValue": t[1] || (t[1] = (a) => e.value.thousandSeparator = a),
        label: o(l)("datahub-plugin.etl.numberToString.ThousandSep"),
        "max-width": "567"
      }, null, 8, ["modelValue", "label"]),
      i(o(r), {
        modelValue: e.value.decimalSeparator,
        "onUpdate:modelValue": t[2] || (t[2] = (a) => e.value.decimalSeparator = a),
        label: o(l)("datahub-plugin.etl.numberToString.DecimalSep"),
        "max-width": "567"
      }, null, 8, ["modelValue", "label"])
    ]));
  }
});
function u(n) {
  const e = n;
  e.__i18n = e.__i18n || [], e.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        "datahub-plugin": {
          etl: {
            numberToString: {
              Precision: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precision" } },
              ThousandSep: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Thousands separator" } },
              DecimalSep: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Decimal separator" } }
            }
          }
        }
      },
      "de-DE": {
        "datahub-plugin": {
          etl: {
            numberToString: {
              Precision: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Genauigkeit (Nachkommastellen)" } },
              ThousandSep: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Tausendertrennzeichen" } },
              DecimalSep: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dezimaltrennzeichen" } }
            }
          }
        }
      }
    }
  });
}
typeof u == "function" && u(s);
const D = /* @__PURE__ */ S(s, [["__scopeId", "data-v-eb6dcf61"]]);
export {
  D as default
};
