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

//# sourceMappingURL=PlCheckboxBase.vue2.js.map