import { defineComponent as d, mergeModels as p, useModel as a, computed as r, createBlock as s, openBlock as m, unref as u, mergeProps as c } from "vue";
import { e as f } from "./start-CE9SawgU.js";
import "vue-i18n";
import "pinia";
import "./header-Bn1EKnBE.js";
const M = /* @__PURE__ */ d({
  __name: "SettingCheckbox",
  props: /* @__PURE__ */ p({
    modelValue: {},
    data: {},
    options: {},
    settings: {},
    loading: { type: Boolean },
    readonly: { type: Boolean },
    isDefault: { type: Boolean }
  }, {
    modelValue: { type: Boolean },
    modelModifiers: {},
    valid: { type: Boolean, default: !0 },
    validModifiers: {}
  }),
  emits: ["update:modelValue", "update:valid"],
  setup(o) {
    const e = o, l = a(o, "modelValue");
    a(o, "valid");
    const n = r(() => ({
      label: e.options?.label,
      hint: e.options?.helperText,
      persistentHint: !!e.options?.helperText,
      readonly: e.readonly,
      loading: e.loading
    }));
    return (y, t) => (m(), s(u(f), c({
      modelValue: l.value,
      "onUpdate:modelValue": t[0] || (t[0] = (i) => l.value = i)
    }, n.value), null, 16, ["modelValue"]));
  }
});
export {
  M as _
};
