/*!
Copyright (c) 2026 Lenovo SSG BASD. All rights reserved.
@license Proprietary

This software is the confidential and proprietary property of Lenovo SSG BASD.
You shall not disclose such Confidential Information and shall use it only in
accordance with the terms of the license agreement.

--- Build Info ---
Version: 1.1.1
Build Time: 2026/2/26 17:21:00
Build Commit: 81e556ed827e2f043668506dae6fae8dbb9ef395
*/
import{defineComponent as e,createVNode as t,Transition as r,mergeProps as o,TransitionGroup as n}from"vue";import{getSlot as a}from"@gsc-basic/utils";import './style/index.css';/* empty css                */function s(s,u="top center 0",i){/* @__PURE__ */
return e({name:s,props:{group:{type:Boolean,default:!1},mode:{type:String,default:i},origin:{type:String,default:u}},setup(e,{slots:u,attrs:i}){const f=t=>{t.style.transformOrigin=e.origin};return()=>{const p=e.group?n:r;return t(p,o({name:s,mode:e.mode},i,{onBeforeEnter:f}),{default:()=>a(u)})}}})}function u(n,s,u="in-out"){/* @__PURE__ */
return e({name:n,props:{mode:{type:String,default:u}},setup:(e,{attrs:u,slots:i})=>()=>t(r,o({name:n,mode:e.mode},u,{onBeforeEnter:s.beforeEnter,onEnter:s.enter,onLeave:s.leave,onAfterLeave:s.afterLeave,onLeaveCancelled:s.afterLeave}),{default:()=>a(i)})})}export{u as createJavascriptTransition,s as createSimpleTransition};