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