import { defineComponent as a, createElementBlock as d, openBlock as i, withKeys as m, normalizeClass as s, withModifiers as u } from "vue";
/* empty css                      */
const b = /* @__PURE__ */ a({
  __name: "PlCheckboxBase",
  props: {
    modelValue: { type: Boolean },
    disabled: { type: Boolean },
    indeterminate: { type: Boolean }
  },
  emits: ["update:modelValue"],
  setup(e) {
    const l = e;
    return (o, t) => (i(), d("div", {
      tabindex: "0",
      class: s(["pl-checkbox-base", {
        ...l.indeterminate ? { indeterminate: !0 } : { checked: l.modelValue },
        disabled: e.disabled
      }]),
      onClick: t[0] || (t[0] = (n) => o.$emit("update:modelValue", !e.modelValue)),
      onKeydown: t[1] || (t[1] = m(u((n) => o.$emit("update:modelValue", !e.modelValue), ["prevent"]), ["space"]))
    }, null, 34));
  }
});
export {
  b as default
};
//# sourceMappingURL=PlCheckboxBase.vue.js.map
