import { defineComponent as a, computed as p, createBlock as c, openBlock as m, unref as t } from "vue";
import "./start-BYfL32Oe.mjs";
import "vue-i18n";
import "pinia";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
import "./SettingInput-BF07m4Qz.mjs";
import "./SettingGroupedInputs-CIofWXlX.mjs";
import "./SettingMultiBuilder-AYONCxGQ.mjs";
import "./SettingMultiValue-7YwrHyZR.mjs";
import "./SettingsElement-C1Y9C_Fw.mjs";
import s from "./SettingSettings-BzUhwuZb.mjs";
import { B as d } from "./base-CvcJbdVx.mjs";
const n = `${d}SettingsController.`, I = /* @__PURE__ */ a({
  __name: "GDMSettingConnectionTypeSettings",
  props: {
    baseApi: {},
    connectionTypeClassName: {},
    namespace: { default: "Actindo\\Modules\\Actindo\\GlobalDriverManagement" },
    hierarchy: { default: void 0 },
    connectionId: { default: void 0 }
  },
  setup(i) {
    const e = i, r = p(() => e.hierarchy === "gdm_logger_connection" ? `${e.connectionTypeClassName}-${e.connectionId}` : e.hierarchy === "gdm_logger_connection_type" ? e.connectionTypeClassName : null);
    return (o, l) => (m(), c(t(s), {
      namespace: o.namespace,
      "hierarchy-key": o.hierarchy,
      identifier: r.value,
      "save-endpoint": `${t(n)}setData`,
      "fields-endpoint": `${t(n)}getFields`,
      "get-data-endpoint": `${t(n)}getAllDataForHierarchy`,
      autoload: ""
    }, null, 8, ["namespace", "hierarchy-key", "identifier", "save-endpoint", "fields-endpoint", "get-data-endpoint"]));
  }
});
export {
  I as default
};
