import './pl-checkbox.css';/* empty css            */
import e from "./PlCheckboxBase.js";
import { createBlock as t, createElementBlock as n, createElementVNode as r, createVNode as i, defineComponent as a, mergeProps as o, normalizeClass as s, openBlock as c, renderSlot as l, unref as u, useSlots as d } from "vue";
var f = /* @__PURE__ */ a({
	name: "PlCheckbox",
	props: {
		modelValue: { type: Boolean },
		disabled: { type: Boolean },
		indeterminate: { type: Boolean }
	},
	emits: ["update:modelValue"],
	setup(a) {
		let f = a, p = d();
		return (d, m) => u(p).default ? (c(), n("div", {
			key: 0,
			class: s(["pl-checkbox", { disabled: a.disabled }])
		}, [i(e, o(f, { "onUpdate:modelValue": m[0] ||= (e) => d.$emit("update:modelValue", e) }), null, 16), r("label", { onClick: m[1] ||= (e) => d.$emit("update:modelValue", !d.$props.modelValue) }, [l(d.$slots, "default")])], 2)) : (c(), t(e, o({ key: 1 }, f, { "onUpdate:modelValue": m[2] ||= (e) => d.$emit("update:modelValue", e) }), null, 16));
	}
});
export { f as default };

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