import { defineComponent as n, mergeModels as r, useModel as s, computed as m, createBlock as c, openBlock as u, unref as p, mergeProps as g } from "vue";
import { useI18n as f } from "vue-i18n";
import { i as h } from "./start-BYfL32Oe.mjs";
import "pinia";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
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"
    }
  ]
}, _ = /* @__PURE__ */ n({
  __name: "GDMDataTypeMultipleErrorLogValueEditor",
  props: /* @__PURE__ */ r({
    modelValue: {},
    readOnly: { type: Boolean },
    attribute: {},
    massEditing: { type: Boolean },
    label: {},
    fieldName: {},
    dataTypeInstance: {},
    loading: { type: Boolean }
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: /* @__PURE__ */ r(["validated", "update:model-value"], ["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) => (u(), c(p(h), g({
      data: e.value || []
    }, l.value), null, 16, ["data"]));
  }
});
function a(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: "Nachricht" } }
          }
        }
      }
    }
  });
}
typeof a == "function" && a(_);
export {
  _ as default
};
