@wellesley/apps 1.0.544 → 1.0.545
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 lv,{useCallback as Ji,forwardRef as Hc,createElement as Na,useState as Dr,useEffect as Xc}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Ca}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as fv,useGetApiV1AccountsProfileQuery as dv,UserAvatar as hv}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.
|
|
1
|
+
import lv,{useCallback as Ji,forwardRef as Hc,createElement as Na,useState as Dr,useEffect as Xc}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Ca}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as fv,useGetApiV1AccountsProfileQuery as dv,UserAvatar as hv}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.619";import{getRoute as bc}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.532";import{cn as hr,Button as $a,Dialog as pv,DialogContent as gv,Form as mv,FormField as wc,FormItem as kc,FormLabel as Ac,FormControl as Sc,Input as jc,FormMessage as Ic,ButtonLoader as Da,Avatar as el,AvatarImage as tl,AvatarFallback as rl,Carousel as _v,CarouselContent as vv,CarouselItem as yv,CarouselPrevious as xv,CarouselNext as bv,AlertDialog as wv,AlertDialogContent as kv,AlertDialogHeader as Av,AlertDialogTitle as Sv,AlertDialogDescription as jv,AlertDialogFooter as Iv,AlertDialogCancel as Ev,AlertDialogAction as Tv,TooltipWrapper as Nv}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.566";import{get as Oa,set as ka,appendErrors as Cv,useForm as Ov}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{usePostApiV1UsersMutation as Rv,useGetApiV1AppsByAppIdQuery as Lv,api as Pv,handleBasicResponse as vt}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.604";import{getStore as Zv}from"https://cdn.jsdelivr.net/npm/@wellesley/store@1.0.603";import{getErrorByStatusCode as Mv}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.455";import{useNavigate as $v,useParams as Dv}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";import{authSlice as Wv}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.660";import{createAction as nl,createSlice as il}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";const Mx=()=>{const e=Ca(fv.selectors.selectCurrentUser),t=`@${null==e?void 0:e.username}`,n={$root:"/","$user-post":bc("/:username/posts/:postId",{username:t}),$user:bc("/: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 Ec,Tc,Fi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Aa={exports:{}},kn={};
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|