import { defineComponent as n, mergeModels as a, useModel as s, computed as m, createBlock as u, openBlock as c, unref as p, mergeProps as g } from "vue";
import { useI18n as f } from "vue-i18n";
import { j as _ } from "./start-CE9SawgU.js";
import "pinia";
import "./header-Bn1EKnBE.js";
const i = {
  hideGlobalSearch: !0,
  hidePagination: !0,
  canReorderHeaders: !1,
  canReorderRows: !1,
  hideNoData: !0,
  hideRemove: !0,
  columns: [
    {
      id: "message",
      header: "gdm-plugin.single-error-editor.message"
    },
    {
      id: "code",
      header: "gdm-plugin.single-error-editor.code"
    },
    {
      id: "message",
      header: "gdm-plugin.single-error-editor.trace"
    },
    {
      id: "fileLine",
      header: "gdm-plugin.single-error-editor.fileLine"
    }
  ]
}, h = /* @__PURE__ */ n({
  __name: "GDMDataTypeMultipleErrorLogValueEditor",
  props: /* @__PURE__ */ a({
    modelValue: {},
    readOnly: { type: Boolean },
    attribute: {},
    massEditing: { type: Boolean },
    label: {},
    fieldName: {},
    dataTypeInstance: {},
    loading: { type: Boolean },
    succeeded: { type: Boolean }
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: /* @__PURE__ */ a(["validated", "update:model-value", "initialized"], ["update:modelValue"]),
  setup(o) {
    const e = s(o, "modelValue"), { t: d } = f(), l = m(() => ({
      ...i,
      columns: i.columns.map((t) => ({
        ...t,
        header: t.header ? d(t.header) : t.header
      }))
    }));
    return (t, b) => (c(), u(p(_), g({
      data: e.value || []
    }, l.value), null, 16, ["data"]));
  }
});
function r(o) {
  const e = o;
  e.__i18n = e.__i18n || [], e.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        "gdm-plugin": {
          "single-error-editor": {
            fileLine: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "File:Line" } },
            trace: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Trace" } },
            code: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Code" } },
            message: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Message" } }
          }
        }
      },
      "de-DE": {
        "gdm-plugin": {
          "single-error-editor": {
            fileLine: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Datei:Zeile" } },
            trace: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Trace" } },
            code: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Code" } },
            message: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Meldung" } }
          }
        }
      }
    }
  });
}
typeof r == "function" && r(h);
export {
  h as default
};
