import{at as y,au as b}from"./vue-vendor-CxLCUzY4.js";import{as as O}from"./antd-vue-vendor-CahNzUUa.js";const s=Symbol(),d=Symbol();function v(e,t){if(!y(e)||e[d])return e;const{values:o,required:c,default:u,type:r,validator:l}=e,f=o||l?n=>{let a=!1,i=[];if(o&&(i=[...o,u],a||(a=i.includes(n))),l&&(a||(a=l(n))),!a&&i.length>0){const p=[...new Set(i)].map(m=>JSON.stringify(m)).join(", ");b(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${p}], got value ${JSON.stringify(n)}.`)}return a}:void 0;return{type:typeof r=="object"&&Object.getOwnPropertySymbols(r).includes(s)?r[s]:r,required:!!c,default:u,validator:f,[d]:!0}}const j=e=>O(Object.entries(e).map(([t,o])=>[t,v(o,t)])),w=e=>({[s]:e}),P=e=>Object.keys(e),$=e=>e,x=["large","medium","small","mini"];export{v as buildProp,j as buildProps,x as componentSize,w as definePropType,P as keyOf,$ as mutable,d as propKey};
