System.register(["./utils-lib-legacy.js?v=20260328163632","./naive-ui-legacy.js?v=20260328163632","./base-lib-legacy.js?v=20260328163632"],(function(n,e){"use strict";var l,t,i,r,o,u,c,a;return{setters:[function(n){l=n.f,t=n.aX},function(n){i=n.B,r=n.E},function(n){o=n.N,u=n.r,c=n.O,a=n.s}],execute:function(){n("u",(function(n){var e=o(n.options)?n.options:u(n.options);return{BtOperation:function(n){return c("div",{class:"flex items-center"},[e.value.map((function(n){var e;if(null==n||!n.hide)return"button"!==n.type&&null!=n&&n.type?"link"===n.type?c(i,a({text:!0,tag:"a",class:"mr-[10px]",href:null==n?void 0:n.href},n,{type:"primary",onClick:n.onClick},n.href?{target:"_blank"}:{}),{default:function(){return[n.icon&&c(l,{icon:n.icon},null),n.label&&c("span",null,[n.label])]}}):"dropdown"===n.type?c("div",{class:"flex"},[c(i,{class:"rounded-r-none",onClick:function(){return n.onClick()}},{default:function(){return[n.label&&c("span",{class:"flex items-center",innerHTML:n.label},null)]}}),c(r,{options:null===(e=n.options)||void 0===e?void 0:e.map((function(n){return t(n)?{label:n,key:n}:n})),"show-arrow":!0,onSelect:n.onClick,trigger:"hover"},{default:function(){return[c(i,{class:"rounded-l-none relative -left-1px px-10px"},{default:function(){return[c(l,{icon:"el-arrow-down"},null)]}})]}})]):"divider"===n.type?c("span",{class:"bg-light w-[1px] h-[16px] mx-[16px]"},null):n.render&&n.render():c(i,{title:n.title,icon:n.icon,type:null!=n&&n.active?"primary":"default",onClick:n.onClick},{default:function(){return[n.icon&&c(l,{icon:n.icon,size:n.size||14,class:"mr-2px"},null),n.label&&c("span",{class:"flex items-center",innerHTML:n.label},null)]}})}))])}}}))}}}));
