@wellesley/apps 1.0.576 → 1.0.577
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 pv,{useCallback as Ji,forwardRef as il,createElement as Oa,useState as Wr,useEffect as sl}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Ra}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as gv,useGetApiV1AccountsProfileQuery as mv,UserAvatar as _v}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.
|
|
1
|
+
import pv,{useCallback as Ji,forwardRef as il,createElement as Oa,useState as Wr,useEffect as sl}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Ra}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as gv,useGetApiV1AccountsProfileQuery as mv,UserAvatar as _v}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.651";import{getRoute as Sc}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.564";import{cn as hr,Button as Da,Dialog as vv,DialogContent as yv,Form as xv,FormField as jc,FormItem as Ic,FormLabel as Ec,FormControl as Tc,Input as Cc,FormMessage as Nc,ButtonLoader as za,Avatar as al,AvatarImage as ol,AvatarFallback as ul,Carousel as bv,CarouselContent as wv,CarouselItem as kv,CarouselPrevious as Av,CarouselNext as Sv,AlertDialog as jv,AlertDialogContent as Iv,AlertDialogHeader as Ev,AlertDialogTitle as Tv,AlertDialogDescription as Cv,AlertDialogFooter as Nv,AlertDialogCancel as Ov,AlertDialogAction as Rv,TooltipWrapper as Lv}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.598";import{get as La,set as Aa,appendErrors as Pv,useForm as Zv}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{usePostApiV1UsersMutation as Mv,useGetApiV1AppsByAppIdQuery as $v,api as Wv}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.636";import{getStore as Dv}from"https://cdn.jsdelivr.net/npm/@wellesley/store@1.0.635";import{getErrorByStatusCode as zv}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.487";import{useNavigate as Uv,useParams as Bv}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";import{toast as Oc}from"https://cdn.jsdelivr.net/npm/@wellesley/notifications@1.0.535";import{authSlice as Vv}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.692";import{createAction as cl,createSlice as ll}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";const Gx=()=>{const e=Ra(gv.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:{},Sa={exports:{}},kn={};
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|