@wellesley/apps 1.0.534 → 1.0.536
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 nv,{useCallback as Gi,forwardRef as Yc,createElement as Ta,useState as Wr,useEffect as Qc}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Na}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as iv,useGetApiV1AccountsProfileQuery as sv,UserAvatar as av,getUsernameConflictError as ov}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.
|
|
1
|
+
import nv,{useCallback as Gi,forwardRef as Yc,createElement as Ta,useState as Wr,useEffect as Qc}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Na}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as iv,useGetApiV1AccountsProfileQuery as sv,UserAvatar as av,getUsernameConflictError as ov}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.610";import{getRoute as xc}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.523";import{cn as dr,Button as Wa,Dialog as uv,DialogContent as cv,Form as lv,FormField as bc,FormItem as wc,FormLabel as kc,FormControl as Ac,Input as Sc,FormMessage as jc,ButtonLoader as Da,Avatar as Kc,AvatarImage as Hc,AvatarFallback as Xc,Carousel as fv,CarouselContent as dv,CarouselItem as hv,CarouselPrevious as pv,CarouselNext as gv,AlertDialog as mv,AlertDialogContent as _v,AlertDialogHeader as vv,AlertDialogTitle as yv,AlertDialogDescription as xv,AlertDialogFooter as bv,AlertDialogCancel as wv,AlertDialogAction as kv,TooltipWrapper as Av}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.557";import{get as Ca,set as wa,appendErrors as Sv,useForm as jv}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{usePostApiV1UsersMutation as Iv,useGetApiV1AppsByAppIdQuery as Ev,api as Tv,handleBasicResponse as _t}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.595";import{usernameValidator as Nv,usernameMaxLength as Cv,authSlice as Ov}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.651";import{getErrorByStatusCode as Rv}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.446";import{useNavigate as Lv,useParams as Pv}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";import{createAction as el,createSlice as tl}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";import{getStore as Zv}from"https://cdn.jsdelivr.net/npm/@wellesley/store@1.0.594";const Ex=()=>{const e=Na(iv.selectors.selectCurrentUser),t=`@${null==e?void 0:e.username}`,n={$root:"/","$user-post":xc("/:username/posts/:postId",{username:t}),$user:xc("/:username/profile/:tab?",{username:t})};return{getMappedRoute:Gi((({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 Ic,Ec,Vi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ka={exports:{}},wn={};
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|