(function(e,t){typeof exports=="object"&&typeof module<"u"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.VtjUIMaterial=t())})(this,function(){"use strict";/**!
 * Copyright (c) 2024, VTJ.PRO All rights reserved.
 * @name @vtj/materials 
 * @author CHC chenhuachun1549@dingtalk.com 
 * @version 0.7.1
 * @license <a href="https://vtj.pro/license.html">MIT License</a>
 */const e="0.7.1";function t(a="size"){return{name:a,defaultValue:"default",setters:"SelectSetter",options:["default","large","small"]}}function r(a,o){return a.map(l=>({...l,package:o}))}const s={name:"XTest",label:"测试组件",categoryId:"test",props:[{name:"booleanProp",label:"布尔值",setters:"BooleanSetter",title:"提示说明文本",defaultValue:!0},{name:"stringProp",setters:"StringSetter"},{name:"numberProp",setters:"NumberSetter"},{name:"selectProp",setters:"SelectSetter",defaultValue:"default",options:["default","primary","success","warning","danger","info"]},{name:"objectProp",setters:"ObjectSetter"},{name:"arrayProp",setters:"ArraySetter"},{name:"iconProp",setters:"IconSetter"},{name:"colorProp",setters:"ColorSetter"},{name:"modelValue",setters:"StringSetter"},{name:"syncProp",setters:"StringSetter"}],events:[{name:"click",params:["props"]},{name:"submit",params:["props"]},{name:"change",params:["data"]},{name:"update:modelValue",params:["value"]},{name:"update:syncProp",params:["value"]}],slots:[{name:"default",params:["props","data"]},{name:"extra",params:["props","data"]}],snippet:{props:{}}},n={name:"XIcon",label:"图标",categoryId:"base",props:[{name:"icon",label:"图标",setters:"IconSetter"},Object.assign(t("size"),{setters:["SelectSetter","NumberSetter"]}),{name:"color",label:"颜色",setters:"ColorSetter"},{name:"background",label:"背景色",setters:"ColorSetter"},{name:"src",label:"图片Url",setters:"InputSetter"},{name:"radius",label:"圆角值",setters:"NumberSetter"},{name:"padding",label:"内边距",setters:"NumberSetter"}],snippet:{props:{icon:"Star"}}};return{name:"@vtj/ui",version:e,label:"UI",library:"VtjUIMaterial",order:1,categories:[{id:"base",category:"基础元件"},{id:"layout",category:"布局排版"},{id:"form",category:"表单"},{id:"data",category:"数据展示"},{id:"test",category:"测试套件"}],components:r([s,n],"@vtj/ui")}});
