import { defineComponent as n, mergeModels as o, useModel as m, createBlock as i, openBlock as p, unref as r } from "vue";
import { d as u } from "./start-CE9SawgU.js";
import "vue-i18n";
import "pinia";
import "./header-Bn1EKnBE.js";
const b = /* @__PURE__ */ n({
  __name: "GDMDataTypeEncryptedValueEditor",
  props: /* @__PURE__ */ o({
    modelValue: {},
    readOnly: { type: Boolean },
    attribute: {},
    massEditing: { type: Boolean },
    label: {},
    fieldName: {},
    dataTypeInstance: {},
    loading: { type: Boolean },
    succeeded: { type: Boolean }
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: /* @__PURE__ */ o(["validated", "update:model-value", "initialized"], ["update:modelValue"]),
  setup(t) {
    const e = m(t, "modelValue");
    return (a, l) => (p(), i(r(u), {
      modelValue: e.value,
      "onUpdate:modelValue": l[0] || (l[0] = (d) => e.value = d),
      label: a.label || a.attribute?.name,
      type: "password"
    }, null, 8, ["modelValue", "label"]));
  }
});
export {
  b as default
};
