(function(l,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(l=typeof globalThis<"u"?globalThis:l||self,e(l["p-design-system-library"]={},l.Vue))})(this,function(l,e){"use strict";const s=["disabled","indeterminate","checked"],d=e.defineComponent({__name:"PInputCheck",props:{label:{},modelValue:{type:[Boolean,null]},disabled:{type:Boolean},color:{default:"#2f4fef"}},emits:["update:modelValue"],setup(o,{emit:a}){const n=o,i=a,t=e.ref(!1),m=()=>{t.value===!1?t.value=null:t.value===null?t.value=!0:t.value=!1,i("update:modelValue",t.value)};return e.watch(()=>n.modelValue,c=>t.value=c),(c,_)=>(e.openBlock(),e.createElementBlock("label",null,[e.createElementVNode("input",{type:"checkbox",disabled:c.disabled,indeterminate:t.value===null,checked:t.value===!0,onClick:m},null,8,s),e.createElementVNode("span",null,e.toDisplayString(c.label),1)]))}}),r=(o,a)=>{const n=o.__vccOpts||o;for(const[i,t]of a)n[i]=t;return n},u={};function f(o,a){const n=e.resolveComponent("H3");return e.openBlock(),e.createBlock(n,null,{default:e.withCtx(()=>[e.createTextVNode("the title")]),_:1})}const p=r(u,[["render",f]]);l.PInputCheck=d,l.PTitle=p,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});