@wellesley/apps 1.0.486 → 1.0.488
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 K_,{useCallback as Gi,forwardRef as qc,createElement as Na,useState as Dr,useEffect as Gc}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 H_,useGetApiV1AccountsProfileQuery as X_,UserAvatar as ev,getUsernameConflictError as tv}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.
|
|
1
|
+
import K_,{useCallback as Gi,forwardRef as qc,createElement as Na,useState as Dr,useEffect as Gc}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 H_,useGetApiV1AccountsProfileQuery as X_,UserAvatar as ev,getUsernameConflictError as tv}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.562";import{getRoute as vc}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.475";import{cn as dr,Button as Da,Dialog as rv,DialogContent as nv,Form as iv,FormField as yc,FormItem as xc,FormLabel as bc,FormControl as wc,Input as kc,FormMessage as Ac,ButtonLoader as Wa,Avatar as Jc,AvatarImage as Yc,AvatarFallback as Qc,Carousel as sv,CarouselContent as av,CarouselItem as ov,CarouselPrevious as uv,CarouselNext as cv,AlertDialog as lv,AlertDialogContent as fv,AlertDialogHeader as dv,AlertDialogTitle as hv,AlertDialogDescription as pv,AlertDialogFooter as mv,AlertDialogCancel as gv,AlertDialogAction as _v,TooltipWrapper as vv}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.509";import{get as Ta,set as wa,appendErrors as yv,useForm as xv}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{usePostApiV1UsersMutation as bv,useGetApiV1AppsByAppIdQuery as wv,api as kv,handleBasicResponse as _t}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.547";import{usernameValidator as Av,usernameMaxLength as Sv,authSlice as jv}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.603";import{getErrorByStatusCode as Iv}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.398";import{useNavigate as Ev,useParams as Nv}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";import{createAction as Kc,createSlice as Cv}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";const _x=()=>{const e=Ca(H_.selectors.selectCurrentUser),t=`@${null==e?void 0:e.username}`,n={$root:"/","$user-post":vc("/:username/posts/:postId",{username:t}),$user:vc("/: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 Sc,jc,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
|