import{h as n}from"./p-9f21f85f.js";function t(n,t){return n?(Object.keys(n).forEach((o=>{t[n[o]||o]=function(n,t){if(!n.includes("."))return t[n];let o=t;return n.split(".").forEach((n=>{o&&(o=o[n])})),o}(o,t)})),t):t}const o=(t,o,i,c,r,u)=>{const{data:a,ui:b}=r;return b.componentTag?n(b.componentTag,{index:t,item:i,data:a}):(null==u?void 0:u.simpleLink)?n("a",{href:"#",class:{[b.tint]:!0},onClick:()=>c.emit(e(o,i,a,b.name))},b.label):n("button"===(b.buttonType||"button")?"dvn-button":"dvn-icon-button",{abbrTitle:"icon-button"===b.buttonType?b.label:void 0,key:b.name,scale:b.scale||"medium",shape:b.shape||("icon-button"===b.buttonType?"circle":"rectangular"),tint:b.tint||"primary",view:b.view||"solid",iconName:b.iconName,onClick:()=>c.emit(e(o,i,a,b.name)),leaned:u?u.leaned:void 0},"icon-button"===b.buttonType?void 0:b.label)},e=(n,o,e,i)=>{const c=function(n={}){const{conversionConfig:o}=n;return t(o,function(n,t){var o={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&t.indexOf(e)<0&&(o[e]=n[e]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(e=Object.getOwnPropertySymbols(n);i<e.length;i++)t.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(n,e[i])&&(o[e[i]]=n[e[i]])}return o}(n,["conversionConfig"]))}(Object.assign(Object.assign(Object.assign({},(null==e?void 0:e.params)||{}),n),{item:o}));return Object.assign(Object.assign({},e),{name:i||e.name,params:c})};export{e as a,t as c,o as g}