@wellesley/apps 1.0.591 → 1.0.592
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 Zo,{useCallback as Zd,forwardRef as eg,createElement as Eh,useState as Ws,useEffect as gc,useRef as Ty}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Qd,useDispatch as My}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as zy,useGetApiV1AccountsProfileQuery as Oy,UserAvatar as Ry}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.
|
|
1
|
+
import Zo,{useCallback as Zd,forwardRef as eg,createElement as Eh,useState as Ws,useEffect as gc,useRef as Ty}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Qd,useDispatch as My}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as zy,useGetApiV1AccountsProfileQuery as Oy,UserAvatar as Ry}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.666";import{getRoute as vm}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.579";import{cn as Fs,Button as Oh,Dialog as Ly,DialogContent as Py,Form as Dy,FormField as ym,FormItem as _m,FormLabel as wm,FormControl as xm,Input as km,FormMessage as Sm,ButtonLoader as Rh,Avatar as tg,AvatarImage as ng,AvatarFallback as rg,Carousel as by,CarouselContent as Uy,CarouselItem as Wy,CarouselPrevious as Fy,CarouselNext as By,AlertDialog as Zy,AlertDialogContent as $y,AlertDialogHeader as Vy,AlertDialogTitle as Qy,AlertDialogDescription as Yy,AlertDialogFooter as Hy,AlertDialogCancel as Gy,AlertDialogAction as Jy,TooltipWrapper as Ky}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.613";import{get as Nh,set as dh,appendErrors as qy,useForm as Xy}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{usePostApiV1UsersMutation as e0,useGetApiV1AppsByAppIdQuery as t0,api as n0}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.651";import{rootReducer as r0,getStore as i0}from"https://cdn.jsdelivr.net/npm/@wellesley/store@1.0.650";import{getErrorByStatusCode as s0}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.502";import{useNavigate as o0,useParams as a0}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";import{createSlice as Lh,createAction as ig}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";import{authSlice as u0}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.707";const zw=()=>{const e=Qd(zy.selectors.selectCurrentUser),t=`@${null==e?void 0:e.username}`,n={$root:"/","$user-post":vm("/:username/posts/:postId",{username:t}),$user:vm("/:username/profile/:tab?",{username:t})};return{getMappedRoute:Zd((({id:e,manifest:{routes:t}})=>{var r;const a=null==(r=t.find((e=>!!e.entryPointFor)))?void 0:r.path,i=`/${e}`;return a&&a.startsWith("$")?n[a]||i:a||i}),[])}};var Em,Nm,Wd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ph={exports:{}},dc={};
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|