import { defineComponent as i, computed as r, createBlock as a, openBlock as p, unref as c } from "vue";
import "./start-CE9SawgU.js";
import "vue-i18n";
import "pinia";
import "./header-Bn1EKnBE.js";
import "./SettingInput-DIJQqVYx.js";
import "./SettingGroupedInputs-6DpUR1jL.js";
import "./SettingMultiBuilder-CBsgdK-i.js";
import "./SettingMultiValue-i-h7K71Y.js";
import "./SettingsElement-QE_or6_k.js";
import s from "./SettingSettings-jmj7rC_4.js";
import { B as d } from "./base-D-E92me8.js";
const m = `${d}SettingsController.`, D = /* @__PURE__ */ i({
  __name: "GDMSettingConnectionTypeSettings",
  props: {
    baseApi: { default: m },
    connectionTypeClassName: {},
    namespace: { default: "Actindo\\Modules\\Actindo\\GlobalDriverManagement" },
    hierarchy: { default: "gdm_logger_connection_type" },
    connectionId: { default: void 0 }
  },
  setup(o) {
    const e = o, t = r(() => e.hierarchy === "gdm_logger_connection" ? `${e.connectionTypeClassName}-${e.connectionId}` : e.hierarchy === "gdm_logger_connection_type" ? e.connectionTypeClassName : null);
    return (n, l) => (p(), a(c(s), {
      namespace: n.namespace,
      "hierarchy-key": n.hierarchy,
      identifier: t.value,
      "save-endpoint": `${n.baseApi}setDataForConnectionType`,
      "fields-endpoint": `${n.baseApi}getFields`,
      "get-data-endpoint": `${n.baseApi}getAllDataForHierarchy`,
      autoload: "",
      border: ""
    }, null, 8, ["namespace", "hierarchy-key", "identifier", "save-endpoint", "fields-endpoint", "get-data-endpoint"]));
  }
});
export {
  D as default
};
