feat: 1.3.0 release, fix export error

This commit is contained in:
binaryify
2026-08-07 12:25:28 +08:00
parent c32890fe09
commit e37d865f70
235 changed files with 2823 additions and 2011 deletions
@@ -0,0 +1 @@
System.register(["./vue-legacy-BnJhYd-u.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./index-legacy-Ce-qKpT_.js","./dom-legacy-D-syBzLK.js","./menuExclusive-legacy-CBHfJWDM.js"],function(e,t){var a,i,l,n,o,s,c,u,r,d,m,v,p,g,h,f,x,b,k,y,w,_,F,O,W,$;return{setters:[function(e){a=e.At,i=e.H,l=e.K,n=e.Mt,o=e.Nt,s=e.Tt,c=e.U,u=e.W,r=e.Y,d=e.Z,m=e.bt,v=e.ct,p=e.dt,g=e.kt,h=e.p,f=e.q,x=e.vt},function(e){b=e.t},function(e){k=e.v},function(e){y=e.r},function(e){w=e.i,_=e.n,F=e.r,O=e.t}],execute:function(){(W=document.createElement("style")).textContent=".menu-select[data-v-4c23e34a]{cursor:pointer;user-select:none;border-radius:6px;align-items:center;height:28px;display:inline-flex;position:relative}.menu-select[data-v-4c23e34a]:hover,.menu-select.is-active[data-v-4c23e34a]{background:var(--Fills-F1)}.menu-select.is-active[data-v-4c23e34a]:hover{background:var(--Fills-F1-hover)}.menu-select.is-keep-highlight[data-v-4c23e34a]{background:var(--Fills-F1)}.menu-select.is-keep-highlight[data-v-4c23e34a]:hover,.menu-select.is-keep-highlight.is-active[data-v-4c23e34a]{background:var(--Fills-F1-hover)}.menu-select.is-keep-highlight.is-active[data-v-4c23e34a]:hover{background:var(--Fills-F1-active)}.menu-select.disabled[data-v-4c23e34a]{opacity:.35;cursor:not-allowed}.menu-select.disabled[data-v-4c23e34a]:hover{background:0 0}.menu-select-menu[data-v-4c23e34a]{top:var(--menu-top-margin,28px);bottom:var(--menu-bottom-margin,auto);z-index:1000;white-space:nowrap;min-width:max-content;max-height:172px;position:absolute;left:50%;overflow:auto;transform:translate(-50%,20px)}.menu-select-menu[data-v-4c23e34a]::-webkit-scrollbar-track{margin:8px 0}.menu-select-menu.is-floating[data-v-4c23e34a]{position:static;top:auto;bottom:auto;left:auto;transform:none}.menu-select-title[data-v-4c23e34a]{color:var(--Labels-Primary);align-items:center;padding:4px 6px;font-size:14px;display:flex}.menu-select-title-text.max-width[data-v-4c23e34a]{text-overflow:ellipsis;overflow:hidden}.menu-select-title-icon[data-v-4c23e34a]{margin-right:-10px}.menu-select-title-caret[data-v-4c23e34a]{margin-left:10px}\n/*$vite$:1*/",document.head.appendChild(W),$=d({__name:"SelectMenu",props:{menuList:{},activeMenu:{},tooltip:{},maxWidth:{},keepHighlight:{type:Boolean},scrollIntoView:{type:Boolean},icon:{},floatOptions:{},disabled:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const d=e,b=t,W=s(),$=s(),j=s(!1),{notifyOpen:M}=O(()=>{j.value=!1}),C=e=>{b("click",e),j.value=!1};h(document,"click",e=>{d.floatOptions?.teleport||W.value&&!W.value.contains(e.target)&&(j.value=!1)});const E=i(()=>d.menuList.find(e=>"divider"!==e&&e.value===d.activeMenu));return h(window,"keydown",e=>{j.value&&"Escape"===e.key&&(j.value=!1)}),x(j,e=>{e&&M()}),(t,i)=>(v(),l("div",{ref_key:"menuSelectRef",ref:W,class:a(["menu-select",{"is-active":j.value,"is-keep-highlight":e.keepHighlight,disabled:e.disabled}])},[r(g(y),{content:e.tooltip,placement:"top",disabled:!e.tooltip},{trigger:m(()=>[c("div",{ref_key:"menuTriggerRef",ref:$,class:"menu-select-title",onClick:i[0]||(i[0]=t=>!e.disabled&&(j.value=!j.value))},[p(t.$slots,"label",{},()=>[e.icon?(v(),u(g(k),{key:0,class:"menu-select-title-icon",name:e.icon,width:"20",height:"20"},null,8,["name"])):g(w)(E.value)?(v(),u(g(k),{key:1,class:"menu-select-title-icon",name:E.value.name,width:"20",height:"20"},null,8,["name"])):(v(),l("span",{key:2,class:a(["menu-select-title-text",{"max-width":d.maxWidth}]),style:n({maxWidth:d.maxWidth})},o(E.value?.label),7))],!0),r(g(k),{class:"menu-select-title-caret",name:"Down_b",width:"12",height:"12"})],512)]),_:3},8,["content","disabled"]),r(_,{open:j.value,"onUpdate:open":i[1]||(i[1]=e=>j.value=e),"trigger-el":$.value,options:e.floatOptions},{default:m(()=>[r(F,{class:a(["menu-select-menu auto-rtl",{"is-floating":e.floatOptions?.teleport}]),style:n(e.floatOptions?.matchTriggerWidth?{width:"100%",boxSizing:"border-box"}:void 0),"menu-list":e.menuList,"active-menu":e.activeMenu,"scroll-into-view":e.scrollIntoView,disabled:e.disabled,onClick:C},f({extra:m(()=>[p(t.$slots,"extra",{},void 0,!0)]),_:2},[t.$slots.item?{name:"default",fn:m(({item:e,index:a})=>[p(t.$slots,"item",{item:e,index:a},void 0,!0)]),key:"0"}:void 0]),1032,["class","style","menu-list","active-menu","scroll-into-view","disabled"])]),_:3},8,["open","trigger-el","options"])],2))}}),e("t",b($,[["__scopeId","data-v-4c23e34a"]]))}}});