import { defineComponent as m, mergeModels as p, useModel as b, createElementBlock as f, openBlock as c, Fragment as y, createVNode as o, unref as a, withCtx as u } from "vue";
import { useI18n as _ } from "vue-i18n";
import { c as d, d as V, e as g } from "./start-CE9SawgU.js";
import "pinia";
import "./header-Bn1EKnBE.js";
const h = /* @__PURE__ */ m({
  __name: "DatahubDataTypeDoubleFloatValueConfiguration",
  props: /* @__PURE__ */ p({
    attribute: {},
    dataTypeInstance: {},
    remoteScopes: {},
    remoteLanguages: {},
    remoteAttributes: {},
    readonly: { type: Boolean }
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(t) {
    const e = b(t, "modelValue"), { t: s } = _();
    return (n, l) => (c(), f(y, null, [
      o(a(d), null, {
        default: u(() => [
          o(a(V), {
            modelValue: e.value.separator,
            "onUpdate:modelValue": l[0] || (l[0] = (r) => e.value.separator = r),
            label: a(s)("datahub-plugin.doubleFloat.separator"),
            readonly: n.readonly,
            "persistent-placeholder": ""
          }, null, 8, ["modelValue", "label", "readonly"])
        ]),
        _: 1
      }),
      o(a(d), null, {
        default: u(() => [
          o(a(g), {
            modelValue: e.value.readOnly,
            "onUpdate:modelValue": l[1] || (l[1] = (r) => e.value.readOnly = r),
            label: n.$t("datahub-ui.dh-table.readOnly"),
            readonly: n.readonly
          }, null, 8, ["modelValue", "label", "readonly"])
        ]),
        _: 1
      })
    ], 64));
  }
});
function i(t) {
  const e = t;
  e.__i18n = e.__i18n || [], e.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        "datahub-plugin": {
          doubleFloat: {
            separator: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Separator" } }
          }
        }
      },
      "de-DE": {
        "datahub-plugin": {
          doubleFloat: {
            separator: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Trennzeichen" } }
          }
        }
      }
    }
  });
}
typeof i == "function" && i(h);
export {
  h as default
};
