@wellesley/apps 1.0.628 → 1.0.630
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import vv,{useCallback as Ji,forwardRef as il,createElement as Ra,useState as Dr,useEffect as sl}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as La}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as yv,useGetApiV1AccountsProfileQuery as xv,UserAvatar as bv}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.
|
|
1
|
+
import vv,{useCallback as Ji,forwardRef as il,createElement as Ra,useState as Dr,useEffect as sl}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as La}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as yv,useGetApiV1AccountsProfileQuery as xv,UserAvatar as bv}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.704";import{getRoute as Sc}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.617";import{cn as hr,Button as za,Dialog as wv,DialogContent as kv,Form as Av,FormField as jc,FormItem as Ic,FormLabel as Ec,FormControl as Cc,Input as Tc,FormMessage as Nc,ButtonLoader as Ua,Avatar as al,AvatarImage as ol,AvatarFallback as ul,Carousel as Sv,CarouselContent as jv,CarouselItem as Iv,CarouselPrevious as Ev,CarouselNext as Cv,AlertDialog as Tv,AlertDialogContent as Nv,AlertDialogHeader as Ov,AlertDialogTitle as Rv,AlertDialogDescription as Lv,AlertDialogFooter as Pv,AlertDialogCancel as Zv,AlertDialogAction as Mv,TooltipWrapper as $v}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.651";import{get as Pa,set as Sa,appendErrors as Dv,useForm as Wv}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{usePostApiV1UsersMutation as zv,useGetApiV1AppsByAppIdQuery as Uv,api as Bv}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.689";import{getStore as Vv}from"https://cdn.jsdelivr.net/npm/@wellesley/store@1.0.688";import{getErrorByStatusCode as Fv}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.540";import{useNavigate as qv,useParams as Gv}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";import{toast as Oc}from"https://cdn.jsdelivr.net/npm/@wellesley/system-toast@1.0.33";import{authSlice as Jv}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.745";import{createAction as cl,createSlice as ll}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";const Qx=()=>{const e=La(yv.selectors.selectCurrentUser),t=`@${null==e?void 0:e.username}`,n={$root:"/","$user-post":Sc("/:username/posts/:postId",{username:t}),$user:Sc("/:username/profile/:tab?",{username:t})};return{getMappedRoute:Ji((({id:e,manifest:{routes:t}})=>{var r;const i=null==(r=t.find((e=>!!e.entryPointFor)))?void 0:r.path,a=`/${e}`;return i&&i.startsWith("$")?n[i]||a:i||a}),[])}};var Rc,Lc,Fi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ja={exports:{}},kn={};
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|