import { defineComponent as v, mergeModels as c, useModel as g, computed as s, createBlock as f, openBlock as b, unref as L, mergeProps as _ } from "vue";
import { useI18n as V } from "vue-i18n";
import { a as y } from "./start-CE9SawgU.js";
import "pinia";
import "./header-Bn1EKnBE.js";
import { G as o } from "./common-CPZ4z2za.js";
const M = /* @__PURE__ */ v({
  __name: "GDMSettingLogLevel",
  props: /* @__PURE__ */ c({
    modelValue: {},
    data: {},
    options: {},
    settings: {},
    loading: { type: Boolean },
    readonly: { type: Boolean },
    isDefault: { type: Boolean }
  }, {
    modelValue: {},
    modelModifiers: {},
    valid: { type: Boolean },
    validModifiers: {}
  }),
  emits: ["update:modelValue", "update:valid"],
  setup(t) {
    const e = t, n = g(t, "modelValue"), m = g(t, "valid"), { t: i } = V(), d = s(
      () => [
        {
          value: o.WARNING,
          title: "gdm-plugin.setting-log-level.warning"
        },
        {
          value: o.NOTICE,
          title: "gdm-plugin.setting-log-level.notice"
        },
        {
          value: o.INFO,
          title: "gdm-plugin.setting-log-level.info"
        },
        {
          value: o.DEBUG,
          title: "gdm-plugin.setting-log-level.debug"
        }
      ].map(({ value: a, title: l }) => ({ value: a, title: i(l) }))
    );
    m.value = !0;
    const r = s(() => ({
      items: d.value,
      label: i("gdm-plugin.setting-log-level.minLogLevel"),
      readonly: e.readonly,
      loading: e.loading
    }));
    return (a, l) => (b(), f(L(y), _({
      modelValue: n.value,
      "onUpdate:modelValue": l[0] || (l[0] = (p) => n.value = p)
    }, r.value), null, 16, ["modelValue"]));
  }
});
function u(t) {
  const e = t;
  e.__i18n = e.__i18n || [], e.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        "gdm-plugin": {
          "setting-log-level": {
            minLogLevel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Minimal log level" } },
            warning: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Warning" } },
            notice: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Notice" } },
            info: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Info" } },
            debug: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Debug" } }
          }
        }
      },
      "de-DE": {
        "gdm-plugin": {
          "setting-log-level": {
            minLogLevel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Minimales Log-Level" } },
            warning: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Warnung" } },
            notice: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hinweis" } },
            info: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Info" } },
            debug: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Debug" } }
          }
        }
      }
    }
  });
}
typeof u == "function" && u(M);
export {
  M as default
};
